1 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
4 Add check-exports target and run it as part of 'make check'
5 (see #499140 and #493983).
8 * gst/gstelementfactory.h:
9 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
10 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
11 (_priv_gst_in_valgrind):
12 * gst/gstinfo.h: (GstLogFunction):
13 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
14 (gst_type_find_register):
15 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
16 (gst_type_find_factory_get_type):
17 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
18 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
19 (gst_controller_new_valist), (gst_controller_new_list),
20 (_gst_controller_dispose), (_gst_controller_class_init):
21 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
22 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
23 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
24 (gst_object_get_controller), (gst_object_set_controller),
25 (gst_object_suggest_next_sync), (gst_object_sync_values),
26 (gst_object_set_control_source), (gst_object_get_control_source),
27 (gst_object_get_value_arrays), (gst_object_get_value_array),
28 (gst_object_get_control_rate), (gst_object_set_control_rate):
29 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
30 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
31 Make some functions that should be static static; rename some
32 private symbols so that they don't get exported; add some FIXME
33 comments so we can move accidentally exported functions into
34 our private section in 0.11.
36 * win32/common/libgstreamer.def:
37 Add gst_utils_get_timestamp().
39 2007-12-12 Stefan Kost <ensonic@users.sf.net>
43 Add more missing "Since:" tags to docs.
45 2007-12-12 Stefan Kost <ensonic@users.sf.net>
48 Add mising "Since:" to docs.
50 2007-12-11 Stefan Kost <ensonic@users.sf.net>
53 Include "glib-compat-private.h" to fix the build on system with
54 glib < 2.10. Fixes #503131.
56 2007-12-11 Stefan Kost <ensonic@users.sf.net>
60 Actually its not PURE as it gets the time from elsewhere.
62 2007-12-11 Stefan Kost <ensonic@users.sf.net>
64 * docs/gst/gstreamer-sections.txt:
66 * gst/gstdebugutils.c:
70 * libs/gst/base/gstbasesink.c:
72 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
73 uses as we don't have HAVE_POSIX_TIMERS in public headers.
74 Thanks Tim for spotting.
76 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
79 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
81 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
83 * gst/gststructure.c: (gst_structure_validate_name),
84 (gst_structure_new_valist), (gst_structure_parse_value),
85 (gst_structure_from_string):
86 Don't crash in _from_string() if the structure name is not valid
87 (fixes #501560). Allow structure names to start with a number
88 again (this apparently broke the ubuntu codec installer).
90 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
92 Add unit test for the crash; update unit tests for new behaviour.
94 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
97 Clarify gst_element_get_compatible_pad() documentation.
100 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
102 * tests/check/Makefile.am:
103 Don't forget to dist {gst,libs}/struct_hppa.h.
105 2007-11-28 Stefan Kost <ensonic@users.sf.net>
107 * libs/gst/base/gstbasesink.c:
108 Use new API to get elapsed time.
110 2007-11-28 Stefan Kost <ensonic@users.sf.net>
112 * gst/gstdebugutils.c:
114 Fix wrong order of args in GST_CLOCK_DIFF() usage.
116 * tools/gst-launch.c:
117 Use new API to get elapsed time.
119 2007-11-28 Stefan Kost <ensonic@users.sf.net>
121 * docs/gst/gstreamer-sections.txt:
123 * gst/gstdebugutils.c:
125 Rename new API + ChangeLog surgery to remove old name from last entry..
126 API: GST_GET_TIMESTAMP
128 2007-11-28 Stefan Kost <ensonic@users.sf.net>
130 * docs/gst/gstreamer-sections.txt:
132 * gst/gstdebugutils.c:
134 Now hide the different clock stuff behind a macro.
136 2007-11-28 Stefan Kost <ensonic@users.sf.net>
139 * gst/gstdebugutils.c:
141 Apply the posix-timer check from #361155. Conditionally use the posix
142 timer for logging. This gives better timestamp precission, less
143 overhead and no ntp jitter.
145 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
147 * gst/gstminiobject.c: (gst_mini_object_get_type),
148 (gst_mini_object_class_init), (gst_mini_object_copy_default),
149 (gst_mini_object_finalize), (gst_mini_object_copy),
150 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
151 (gst_mini_object_replace), (param_mini_object_validate),
152 (gst_param_spec_mini_object_get_type):
153 Some cleanup and checking against invalid function parameters.
155 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
157 * docs/gst/gstreamer-sections.txt:
159 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
160 (gst_systemclock_suite):
161 Start merging in the easy bits of #361155, the monotonic clock patch.
162 This one adds a few handy macros with docs and a testsuite.
164 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
166 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
167 Be a bit smarter when seeking, like, don't try to do a seek when it's
168 not needed. This avoids errors when the file is not seekable.
171 2007-11-26 Stefan Kost <ensonic@users.sf.net>
173 * docs/gst/gstreamer-docs.sgml:
174 * docs/gst/gstreamer-sections.txt:
175 * docs/gst/gstreamer.types.in:
180 * plugins/elements/gstqueue.c:
181 Due to popular request remove preset interface again. :-(.
183 2007-11-22 Stefan Kost <ensonic@users.sf.net>
185 * tools/gst-inspect.c:
186 Print 'default value' for enums and flags too.
188 2007-11-22 Stefan Kost <ensonic@users.sf.net>
190 * docs/random/ensonic/profiling.txt:
194 Fix typo and give better log output.
196 * gst/gstdebugutils.c:
197 * gst/gstdebugutils.h:
198 More ideas, make graphs a bit smaller and fix param name in macro.
200 2007-11-22 Stefan Kost <ensonic@users.sf.net>
203 Try harder to use the return value from fgets().
205 2007-11-21 Stefan Kost <ensonic@users.sf.net>
208 For theses two fgets we handle the error below.
210 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
212 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
213 Only send upstream events upstream. Fixes #498746.
215 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
217 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
219 * plugins/elements/gstidentity.c: (gst_identity_class_init),
220 (gst_identity_init), (gst_identity_transform_ip),
221 (gst_identity_set_property), (gst_identity_get_property):
222 * plugins/elements/gstidentity.h:
223 Add property to disable handoff signal emission. Fixes #498694.
224 API: GstIdentity::signal-handoffs
226 2007-11-21 Julien Moutte <julien@fluendo.com>
228 * docs/faq/gst-uninstalled: Yet another missing library for the
229 uninstalled script (fft)
231 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
233 * docs/faq/developing.xml:
234 Add a question about how to submit new translations.
236 * docs/random/release:
237 Update the contact email address for the Translation Project
239 * plugins/elements/gstfdsrc.c:
240 The parent_class for fdsrc is pushsrc, not GstElement.
242 2007-11-20 Stefan Kost <ensonic@users.sf.net>
245 Plug a leak and fix saving.
247 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
249 * docs/gst/gstreamer-sections.txt:
250 Add new gst_preset__get_property_names() function to the docs
253 2007-11-20 Stefan Kost <ensonic@users.sf.net>
257 Change _get_preset_names API to return a strv with copies. Add
258 _get_property_names to allow implementations to filter and provide
259 good default implementation.
261 2007-11-20 Julien MOUTTE <julien@moutte.net>
263 * docs/faq/gst-uninstalled: Add another library to the uninstalled
266 2007-11-19 Stefan Kost <ensonic@users.sf.net>
269 More cleanups, docs, and TODOs from comments that now slowly come in.
271 2007-11-19 Julien MOUTTE <julien@moutte.net>
273 * docs/faq/gst-uninstalled: Add new base libraries in the LD
276 2007-11-19 Stefan Kost <ensonic@users.sf.net>
279 Fix bogus warning and make the property type specific code more
282 2007-11-19 Julien MOUTTE <julien@moutte.net>
284 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
287 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
289 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
290 (gst_bin_add_func), (gst_bin_remove_func),
291 (gst_bin_change_state_func), (gst_bin_continue_func):
292 Change email, cleanups add some more debug and comments.
293 Also set bus and clock on new elements when the pipeline was in error.
295 2007-11-18 Stefan Kost <ensonic@users.sf.net>
298 * gst/gstdebugutils.c:
299 Fix build with --disable-gst-debug. Fixes #497859.
300 Spotted by Sameer Naik.
302 2007-11-17 Stefan Kost <ensonic@users.sf.net>
305 Little documentation improvment.
308 More TODO cleanups. Remove c++ comments.
310 * libs/gst/controller/gstcontroller.c:
311 Add TODO and use quark from static string.
313 * tests/check/gst/gstmessage.c:
314 * tests/check/gst/gststructure.c:
315 Use quark from static string.
317 2007-11-17 Stefan Kost <ensonic@users.sf.net>
320 Add some comments and TODOs.
323 Add padding for future changes.
325 * plugins/elements/gstqueue.c:
328 2007-11-17 Stefan Kost <ensonic@users.sf.net>
330 * docs/gst/gstreamer-docs.sgml:
331 * docs/gst/gstreamer-sections.txt:
332 * docs/gst/gstreamer.types.in:
337 Add the preset interface (Fixes #396779). Do some doc cleanups along.
339 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
345 === release 0.10.15 ===
347 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
350 releasing 0.10.15, "October"
352 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
354 * win32/vs6/libgstreamer.dsp:
355 Convert line endings back to DOS.
357 2007-11-13 Stefan Kost <ensonic@users.sf.net>
359 * docs/design/draft-tagreading.txt:
360 * docs/random/ensonic/profiling.txt:
361 Update fast tagreading draft and performance profiling ideas.
363 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
365 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
366 Don't hold the object lock when unreffing a buffer because it could
367 cause a deadlock when the finalize function wants to grab the object
368 lock too. Fixes #495133.
370 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
372 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
373 (gst_segment_to_stream_time), (gst_segment_to_running_time):
374 Also accumulate time correctly when doing reverse playback. Fixes
376 When converting to running and stream time, use default values for
377 start/stop/time/accum when comparing different formats. Fixes #494245.
379 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
380 Do running/stream time in TIME format.
382 * tests/check/gst/gstsegment.c: (GST_START_TEST),
384 2 new unit tests for segment accumulation.
386 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
388 * gst/gst.c: (init_pre):
389 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
390 (_gst_debug_bin_to_dot_file):
391 Move getenv() back into gst_init, so everyone can live happily
392 ever after. Make sure the symbol isn't exported though.
394 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
396 Patch by: Sebastien Moutte <sebastien moutte net>
398 * win32/common/gstenumtypes.c:
399 * win32/common/gstenumtypes.h:
402 * win32/vs6/libgstreamer.dsp:
403 Update vs6 project files (#494343).
405 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
407 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
408 (gst_base_src_perform_seek), (gst_base_src_default_event),
409 (gst_base_src_set_flushing), (gst_base_src_activate_push),
410 (gst_base_src_activate_pull):
411 Unify flushing code, remove some old unlock code that is no longer used.
412 Take the streaming lock when seeking to avoid races. Fixes #492729.
413 Added some more comments.
415 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
417 * gst/gst.c: (_gst_disable_segtrap):
418 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
419 we can use gst_segtrap_is_enabled() there now that we have that API.
420 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
421 to do the getenv here (and export the variable).
423 * gst/gstdebugutils.c: (debug_dump_element),
424 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
425 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
427 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
428 (gst_debug_log_default):
429 Rename _gst_info_start_time to priv_gst_info_start_time so it
430 doesn't get exported (was never in any header).
432 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
433 (gst_plugin_loading_mutex):
434 Make static mutex gst_plugin_loading_mutex really static (was never
435 in any header), and use gst_segtrap_is_enabled() instead of
436 _gst_disable_segtrap.
438 * gst/gsttrace.c: (_gst_trace_default):
439 Make local _gst_trace_default static (was never in any header).
441 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
443 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
445 * win32/common/libgstbase.def:
446 * win32/common/libgstcontroller.def:
447 * win32/common/libgstdataprotocol.def:
448 * win32/common/libgstnet.def:
449 * win32/common/libgstreamer.def:
450 Add more missing symbols, remove some duplicates, and sort
451 as the 'sort' command sorts it (partially fixes #493983).
453 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
455 * gst/gstelement.c: (gst_element_set_state_func):
456 Only change the state cookie if a different state was set on the
457 element. See #492729.
459 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
462 Remove unused and uninitialised type variables that were still
463 exported for some reason (they were never in any header files
466 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
468 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
469 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
470 (gst_base_sink_event), (gst_base_sink_get_position_last),
471 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
472 (gst_base_sink_change_state):
473 Don't try to report a 0 position when we don't know, return -1 and FALSE
474 instead. This mostly happens when we are prerolling.
475 Make sure we can report the right position before we post the ASYNC_DONE
476 message so that a message handler can query position without races.
478 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
479 (async_done_handoff), (async_done_func), (send_buffer),
480 (async_done_eos_func), (gst_sinks_suite):
481 Add two tests for the above.
483 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
486 Update with new email address.
488 * docs/design/part-TODO.txt:
489 Add some more info about future pad-block and negotiation changes.
491 * docs/design/part-buffering.txt:
492 Add some ideas about buffering reporting.
494 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
496 * tests/check/gst/gstobject.c:
497 Disable silly racy test that always fails on this combination of CPU
500 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
502 Patch by: Murray Cumming <murrayc@murrayc.com>
505 Corrected the registration of the parent-set and parent-unset
506 signals: The parameter is a GstObject, not a GObject (#493134).
508 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
519 Move declaration of private _gst_foo_initialize() functions into
520 our private header file where they should have been all along.
522 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
524 * docs/plugins/gstreamer-plugins-sections.txt:
525 * gst/gstdebugutils.h:
527 * plugins/elements/gstqueue.c:
528 gtk-doc fixes; trailing-comma-in-enum fix.
530 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
532 * gst/gst.c: (gst_deinit):
533 Clean up on deinit (not the external ones though, doesn't seem to be
534 needed for some reason).
536 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
538 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
539 Remove __declspec(dllimport) for MSVC that was copied over into core
540 from a plugin, obviously without ever having been tested (note the
541 single underscore in _declspec in the initial commit), and that doesn't
542 really make sense. See #492077.
544 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
546 * gst/gst.c: (init_post):
547 * gst/gstevent.c: (_gst_event_initialize):
548 * gst/gstquery.c: (_gst_query_initialize):
549 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
550 g_type_class_ref() other types as well, see #349410 and #64764.
552 * gst/gstbuffer.c: (_gst_buffer_initialize):
553 * gst/gstmessage.c: (_gst_message_initialize):
554 Simplify existing g_type_class_ref().
556 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
558 * gst/gstformat.c: (_gst_format_initialize):
559 g_type_class_ref() our GstFormat type to make sure we avoid the
560 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
561 bug #64764. Should fix intermittent tee unit test failures (#474823).
563 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
565 * tests/check/elements/tee.c: (test_num_buffers):
566 Simplify, simplify, simplify - or not. Rewrite unit test
567 not to use gst_parse_launch(); allow N sub-streams. Increasing
568 the number of sub-streams seems to reproduce #474823 more easily.
570 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
572 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
575 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
576 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
577 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
578 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
579 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
580 so use _pipe() directly (#492077).
582 * win32/common/dirent.c: (_treaddir):
583 Add a couple of casts to make it build without warnings with MSVC.
585 * win32/common/libgstreamer.def:
586 Add some more symbols that need to be exported.
588 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
590 * tests/examples/metadata/read-metadata.c: (message_loop):
591 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
592 arriving in a second or third tag message are added to
593 the tag list as well.
595 2007-10-31 Stefan Kost <ensonic@users.sf.net>
597 * libs/gst/base/gstbasesrc.c:
598 Its "Since:" and not "@Since:". And remove an superflous cast.
600 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
602 * docs/libs/gstreamer-libs-sections.txt:
603 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
604 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
605 (gst_base_sink_get_property), (gst_base_sink_render_object),
606 (gst_base_sink_preroll_object),
607 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
608 (gst_base_sink_change_state):
609 * libs/gst/base/gstbasesink.h:
610 Add a new last-buffer property that contains the last buffer used in
611 basesink for preroll or rendering. useful for making snapshots.
612 API: gst_base_sink_get_last_buffer()
613 API: GstBaseSink::last-buffer
615 2007-10-29 Stefan Kost <ensonic@users.sf.net>
617 * docs/gst/running.xml:
619 * gst/gstdebugutils.c:
620 * gst/gstdebugutils.h:
621 * tools/gst-launch.c:
622 Improve bin graph dumping, by using the envvar to specify a path.
623 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
625 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
627 * plugins/elements/gsttypefindelement.c:
628 (gst_type_find_element_handle_event),
629 (gst_type_find_element_activate):
630 Post special error message if we can't determine the type of a stream
633 2007-10-29 Stefan Kost <ensonic@users.sf.net>
635 * docs/gst/running.xml:
636 * gst/gstdebugutils.c:
637 Document new env-var. Add one log-line after dumpng a graph.
639 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
642 Ugly hack to put the (recently removed and non-portable, apparently)
643 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
644 GNU ld, because without that 'make check' fails miserably on my debian
645 stable box. Someone with more knowledge of linker intricacies and
646 portability issues than me fix this properly please.
648 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
650 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
651 Reset last seen position after flushing so that we don't report the old
654 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
656 * gst/gstelementfactory.c: (gst_element_register):
658 Patch from Alessandro Decina adding get_type_full and
659 get_protocols_full private vfuncs to the URIHandler interface
660 to allow bindings to support creating URI handlers.
661 Partially fixes: #339279
662 API: GstURIHandlerInterface::get_type_full
663 API: GstURIHandlerInterface::get_protocols_full
665 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
667 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
668 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
669 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
670 Make it so that pads are considered linked until a buffer is pushed
671 and discovered otherwise. This avoids problems with decodebin2 hanging
672 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
675 Make sure we lock the multiqueue when updating the max-size properties.
677 Fix a crash on Solaris in a debug statement in get_request_pad that
678 passes a NULL string to GST_DEBUG.
680 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
681 (run_output_order_test):
682 Fix the test to allow the first buffer on not-linked pads to come out
683 of sequence while multiqueue discovers that they are not-linked.
685 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
688 * libs/gst/check/Makefile.am:
689 Use a custom export symbol regex for libgstcheck, as it needs
690 to export symbols that don't match the standard GStreamer gst_*
691 pattern, and --export-dynamic is not portable (only works on
694 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
695 (gst_check_setup_sink_pad):
696 Make sure to pass a message parameter to the fail_* macros.
698 * tests/check/gst/gstinfo.c: (GST_START_TEST):
699 Fix some compiler warnings.
701 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
703 * tests/check/gst/gststructure.c: (test_to_string):
704 Disable test that checks that white spaces are not allowed
705 in structure names or field names, since we need to
706 support that for now for backwards compatibility reasons.
708 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
710 * docs/gst/gstreamer-sections.txt:
713 API: add GST_TAG_ARTIST_SORTNAME
714 API: add GST_TAG_ALBUM_SORTNAME
715 API: add GST_TAG_TITLE_SORTNAME
716 Add tag variants for sorting (#414539).
718 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
720 * gst/gststructure.c:
721 Also allow white space for names so we don't break
722 backwards compatibility.
724 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
726 * docs/design/part-TODO.txt:
727 * docs/design/part-segments.txt:
728 * docs/design/part-streams.txt:
731 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
733 * docs/gst/gstreamer-sections.txt:
734 Fixed documentation from my previous commit (added new API add
735 gst_value_set_structure(), add gst_value_get_structure() and
736 GST_VALUE_HOLDS_STRUCTURE).
738 2007-10-22 Stefan Kost <ensonic@users.sf.net>
740 * gst/gstdebugutils.c:
741 Reflow code to fix uninitialized variable warning.
743 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
745 * gst/gstcaps.c: (gst_caps_to_string),
746 (gst_caps_from_string_inplace):
747 * gst/gststructure.c: (gst_structure_get_abbrs),
748 (gst_structure_to_string), (gst_structure_from_string):
749 * gst/gstvalue.c: (gst_value_set_structure),
750 (gst_value_get_structure), (gst_value_serialize_structure),
751 (gst_value_deserialize_structure), (_gst_value_initialize):
753 * tests/check/gst/gststructure.c: (GST_START_TEST),
754 (gst_structure_suite):
755 * tests/check/gst/gstvalue.c: (GST_START_TEST):
756 Added GstStructure to gst_value_table and its related functions.
757 Changed gst_structure_to_string to print ';' in the end.
758 Changed gst_caps_to_string to not print ';' beteween its
759 fields (structures) anymore and remove the lastes ';' from latest
760 structure. Now it is possible to have nested structures.
761 In addition, backward compatibilty is assured by accepting '\0' as
762 end delimiter. Fixes: #487969.
763 API: add gst_value_set_structure()
764 API: add gst_value_get_structure()
765 API: add GST_VALUE_HOLDS_STRUCTURE
767 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
770 When no GSource callback has been set up, tell developer
771 to use a function that actually exists.
773 2007-10-17 Stefan Kost <ensonic@users.sf.net>
775 * docs/gst/gstreamer-sections.txt:
779 * gst/gstdebugutils.c:
780 * gst/gstdebugutils.h:
783 * tools/gst-launch.c:
784 Allow dumping pipelines as dot graphs. Fixes #456573.
786 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
788 * gst/gststructure.c:
789 Allow '+' as well, it can be part of media or mime types
790 such as image/svg+xml.
792 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
794 * docs/gst/gstreamer-sections.txt:
797 API: add gst_bus_pop_filtered
798 API: add gst_bus_timed_pop_filtered
799 Two new functions for waiting for specific message types on the
800 bus for a specified amount of time without iterating any main
801 loops or main contexts.
803 * tests/check/gst/gstbus.c:
804 Some tests for the new functions.
806 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
808 * docs/libs/gstreamer-libs-sections.txt:
809 Make gtk-doc ignore stuff it should ignore.
811 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
813 * libs/gst/check/gstcheck.c:
814 * libs/gst/check/gstcheck.h:
815 Allow runtime selection of unit tests to run via the GST_CHECKS
816 environment variable (test case function names, comma-separated).
818 2007-10-16 Stefan Kost <ensonic@users.sf.net>
820 * gst/gststructure.c:
821 * tests/check/gst/gststructure.c:
822 Revert serialisation change and constrain structure-names after
823 consensus on irc. Update api documentation to reflect the change.
825 2007-10-16 Stefan Kost <ensonic@users.sf.net>
827 * gst/gststructure.c:
828 Improve serialization and fix tests.
830 * tests/check/gst/gststructure.c:
831 Add another test that covers why I actually did the previous structure
834 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
836 * tools/gst-inspect.c: (print_element_info):
837 Don't crash when inspecting an element.
839 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
841 * tests/check/gst/gststructure.c:
842 Add unit test for escaping of structure name when serialising
843 and deserialising to/from strings.
845 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
847 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
848 (gst_single_queue_new):
849 * plugins/elements/gstqueue.c: (gst_queue_init),
850 (gst_queue_push_one):
851 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
852 upstream is tricked into thinking it can suggest a format downstream
853 while downstream does not support that format. The real problem is that
854 core calls acceptcaps when pushing a buffer with new caps, for which we
855 do a little workaround by setting the caps on the srcpad ourselves
856 before pushing the buffer (until this is figured out). Fixes #486758.
858 2007-10-15 Stefan Kost <ensonic@users.sf.net>
860 * gst/gststructure.c:
862 Add some more comments and debug output. Quote structure name to fix
863 deserialisation of some strings.
865 2007-10-15 Stefan Kost <ensonic@users.sf.net>
868 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
869 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
871 2007-10-15 Stefan Kost <ensonic@users.sf.net>
873 * tools/gst-inspect.c:
874 Save approx. 400 1 byte allocs when printing. Use API to acces element
880 * tools/gst-xmlinspect.c:
881 Use API to acces element details.
883 2007-10-15 Stefan Kost <ensonic@users.sf.net>
886 Fix some spelling errors.
888 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
890 * gst/gstbin.c: (bin_handle_async_done):
891 Correctly set the next state if all of our async children commited their
892 state. This makes sure we can actually cancel the state change in
893 progress. Fixes a regression in Rhythmbox when seeking.
895 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
898 Don't shadow local variable.
901 Don't shadow global function name.
903 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
905 * gst/gstelementfactory.c:
906 * gst/gstpluginfeature.c:
907 * gst/gstpluginfeature.h:
908 * gst/gstregistrybinary.c:
909 * gst/gstregistryxml.c:
911 Use already-interned string for the private GstPluginFeature
914 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
916 * docs/libs/gstreamer-libs-sections.txt:
917 Add new API to docs; fixes the build.
919 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
921 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
923 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
924 (gst_base_sink_event):
925 * libs/gst/base/gstbasesink.h:
926 Add function to wait for EOS, subclasses can use this to correctly wait
927 for devices to drain before performing the EOS logic. Fixes #485343.
928 API: gst_base_sink_wait_eos()
930 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
933 Cast description string constants in GST_PLUGIN_DEFINE macros
934 to a (gchar*) to make C++ code using these macros compile
935 without warning with g++-4.2 (see #462737). Even if slightly
936 ugly, this seems preferable to putting the description strings
937 into the GLib quark table or making the structure member a
938 const gchar * and doing casts in core code that allocs and
939 frees these strings, or requiring a cast in the C++ code.
941 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
944 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
945 to print the entire class/function signature into the log
946 file for C++ code. This only affects C++ code, for C code
947 everything remains the same.
949 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
951 * gst/gstbin.c: (remove_from_queue):
952 Work around a problem with pipelines containing (semi)loops until a
953 proper, more complicated solution is ready. See #475455.
955 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
959 * gst/gstregistrybinary.c:
960 * gst/gstregistryxml.c:
961 Put more strings into the GLib quark table. No need to keep
962 a hundred-something copies of identical version strings,
963 license strings, package name strings and package origin
966 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
968 * docs/manual/advanced-dataaccess.xml:
969 Don't imply that it's okay to unconditionally change
970 buffer data or buffer metadata in a pad probe callback,
971 and a bunch of other comments. Fixes #430031.
973 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
975 * win32/common/gstenumtypes.c:
976 * win32/common/gstenumtypes.h:
977 * win32/common/gstversion.h:
978 Update generated files.
980 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
982 * docs/manual/advanced-autoplugging.xml:
983 Prefix section with broken code with a warning (see #342432).
985 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
987 * docs/manual/appendix-integration.xml:
988 * docs/manual/basics-init.xml:
989 Call g_thread_init() before g_option_context_new() to
990 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
992 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
994 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
995 (gst_base_sink_queue_object_unlocked),
996 (gst_base_sink_queue_object), (gst_base_sink_event),
997 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
998 When we received EOS and are waiting for when to post the EOS message,
999 our state is prerolled and we should not return ASYNC.
1000 Reorganize some code paths to implement this behavior.
1002 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1004 Add unit test to verify above EOS fix.
1006 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
1008 * plugins/elements/gsttypefindelement.c:
1009 (gst_type_find_element_have_type), (gst_type_find_element_init),
1010 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
1011 Move detecting the input caps of the sinkpad to the setcaps function.
1012 This allows us to update the output caps when we receive new input caps
1013 instead of always using the first detected caps.
1015 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
1017 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1018 (gst_base_sink_get_position):
1019 Don't try to preroll non-async elements after a flush.
1020 Subtract latency form clock times when reporting position.
1022 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1024 * gst/gstpad.c: (gst_pad_pause_task):
1026 Small comment and documentation update.
1028 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1030 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1031 (gst_base_src_set_live), (gst_base_src_is_live),
1032 (gst_base_src_query_latency), (gst_base_src_perform_seek),
1033 (gst_base_src_default_event), (gst_base_src_wait),
1034 (gst_base_src_do_sync), (gst_base_src_get_range),
1035 (gst_base_src_pad_get_range), (gst_base_src_loop),
1036 (gst_base_src_unlock), (gst_base_src_unlock_stop),
1037 (gst_base_src_set_flushing), (gst_base_src_set_playing),
1038 (gst_base_src_activate_push), (gst_base_src_activate_pull),
1039 (gst_base_src_change_state):
1040 Rework the locking of basesrc in a similar fashion to basesink. We
1041 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
1042 us to handle live sources and semi live ones much better.
1044 Fix unlocking when seeking, shutting down and pausing in live sources.
1046 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1048 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
1049 Fix compilation again.
1051 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1054 Use meaningful categories for the logs to clean the default one.
1056 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1058 * tests/check/pipelines/cleanup.c:
1059 Print message name and not just number.
1061 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1063 * docs/design/draft-tagreading.txt:
1064 Add some more thoughts.
1066 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1068 * tests/check/pipelines/simple-launch-lines.c:
1069 Print message name and not just number.
1071 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1073 * libs/gst/base/gsttypefindhelper.c:
1074 Speedup typefinding. This is work in progress (see #459862).
1076 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1079 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1080 Spotted by Josep Torra Valles <josep@fluendo.com>.
1082 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
1085 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1086 field has moved to GstObject.
1088 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
1090 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1091 (gst_base_src_get_range), (gst_base_src_change_state):
1092 Call unlock for live sources so that they can't get stuck in _create and
1093 produce a buffer before they are set back to PLAYING.
1095 2007-10-02 Edward Hervey <bilboed@bilboed.com>
1097 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1098 (gst_queue_locked_dequeue):
1099 Comment the segment-related code... in the PROPER function.
1100 See #482147 and my commit from yesterday.
1102 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
1104 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1105 Also initialize the counter that calculates the first timestamp on a
1106 buffer correctly for non-live sources.
1108 2007-10-01 Edward Hervey <bilboed@bilboed.com>
1110 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1111 Disable code that's breaking the current-time-level reporting.
1114 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
1116 * docs/gst/gstreamer-sections.txt:
1117 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1118 as they shouldn't show up. Fixes the docs build.
1120 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
1123 Add an explicit variable importation needed on VS6 (only for MSC_VER)
1124 Define M_PI which is used in files which are including gstinfo.h.
1125 VS6 includes doesn't define it.
1126 * win32/common/libgstbase.def:
1127 * win32/common/libgstcontroller.def:
1128 * win32/common/libgstreamer.def:
1129 Add new exported functions and variables.
1130 * win32/vs6/libgstcontroller.dsp:
1131 * win32/vs6/libgstreamer.dsp:
1132 Update the list of files to build.
1134 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
1136 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1138 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1139 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1140 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1141 Improve debugging. Fixes #480858.
1143 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
1145 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1147 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1148 First patch of code cleanups, use the macros and right arguments in the
1149 macros to signal and lock the queue. See #480858.
1151 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
1153 * gst/gstbus.c: (poll_func):
1154 Improve debugging when dealing with _poll().
1156 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
1158 * gst/gstregistryxml.c:
1159 Fix memory leak I introduced a few days ago.
1161 2007-09-26 Michael Smith <msmith@fluendo.com>
1163 * gst/gstbuffer.c: (gst_buffer_finalize):
1164 Make it once again possible to free GstBuffers in the default
1166 The poisoning scribbles on parts of the miniobject we need in
1170 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
1172 * docs/gst/gstreamer-sections.txt:
1175 API: add GST_TAG_COMPOSER, fixes #459809.
1177 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
1181 Add the 3-clause BSD license and the MIT/X11 license to the license
1182 list. Fixes #479784.
1184 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
1186 * docs/faq/getting.xml:
1187 Add Q+A about different GStreamer versions (#364056).
1189 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1191 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1192 (gst_base_sink_event), (gst_base_sink_change_state):
1193 Return correct gboolean from query function.
1195 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1197 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1198 (gst_base_sink_event), (gst_base_sink_query),
1199 (gst_base_sink_change_state):
1200 Simplify latency query.
1201 When not synchronizing, we can report latency without querying the peer
1204 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1208 Fix small typos in the docs.
1210 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1212 * docs/design/draft-latency.txt:
1213 * docs/design/draft-push-pull.txt:
1214 * docs/design/draft-tagreading.txt:
1215 * docs/design/part-MT-refcounting.txt:
1216 * docs/design/part-activation.txt:
1217 * docs/design/part-block.txt:
1218 * docs/design/part-element-source.txt:
1219 * docs/design/part-events.txt:
1220 * docs/design/part-gstbin.txt:
1221 * docs/design/part-gstelement.txt:
1222 * docs/design/part-gstobject.txt:
1223 * docs/design/part-gstpipeline.txt:
1224 * docs/design/part-messages.txt:
1225 * docs/design/part-preroll.txt:
1226 * docs/design/part-push-pull.txt:
1227 * docs/design/part-qos.txt:
1228 * docs/design/part-query.txt:
1229 * docs/design/part-scheduling.txt:
1230 * docs/design/part-seeking.txt:
1231 * docs/design/part-segments.txt:
1232 * docs/design/part-states.txt:
1233 Documentation updates and typo fixes.
1235 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
1237 * plugins/elements/gstfakesink.c:
1238 Add some debug text to error message to indicate that
1239 we errored out on request.
1241 * tools/gst-launch.c:
1242 When the state change to PLAYING fails, check for an
1243 error message on the bus and print it.
1245 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
1247 translated by: Jorge González González <aloriel@gmail.com>
1251 Added Spanish translation.
1253 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
1255 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1256 Fix printf arguments.
1258 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1260 * tests/check/generic/states.c:
1261 Improved state change unit test.
1263 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1266 Move priv to the right place.
1268 * gst/gstsystemclock.c:
1269 Add FIXME: and improve log.
1271 * tests/check/Makefile.am:
1272 * tests/examples/manual/Makefile.am:
1273 Work with all types of registries.
1275 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
1277 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1278 Don't unref the event after pushing it. Fixes #478401.
1280 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1283 * tests/examples/manual/.cvsignore:
1284 Ignore registries in any format.
1286 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
1288 * gst/glib-compat-private.h:
1289 Add compatibility macro for g_intern_string() for
1290 GLib-2.8 (any reason we can't just bump the
1291 requirement to at least 2.10?)
1293 * gst/gstpadtemplate.h:
1294 * gst/gstelementfactory.c:
1295 * gst/gstregistryxml.c:
1296 * gst/gstregistrybinary.c:
1297 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1298 up the internal code accordingly. This shouldn't be a problem, since
1299 there is no reason external code could ever assume the string in such
1300 a structure is dynamically allocated unless it did that itself; the
1301 use of g_strdup() is private to element factories. The new code also
1302 saves some memory by putting pad template name strings into the GLib
1303 quark table instead of allocating them dynamically.
1304 Declaring this field constant fixes warnings with g++-4.2 when using
1305 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1307 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1309 * gst/gstelementfactory.c:
1310 Release static caps. Fixes #475723.
1312 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
1316 Make some internal API take const gchar * instead of just
1317 gchar * to avoid compiler warnings with g++-4.2.2 when
1318 passing string constants (partially fixes #478092).
1320 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1322 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1323 A latency query fails when one of the sinks fail.
1325 * gst/gstelement.c: (gst_element_set_base_time):
1328 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1330 * gst/gstbin.c: (gst_bin_continue_func):
1331 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1332 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1333 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1335 Fix minor compilation warnings shown with Forte.
1337 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1339 * plugins/elements/gstqueue.c: (apply_buffer),
1340 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1341 Measure queue level based on the diff between head and tail timestamps
1342 even when pushing the first buffer.
1344 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1346 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1347 (gst_base_sink_event), (gst_base_sink_change_state):
1348 Sinks that don't preroll can always be queried for the latency.
1349 Don't post ASYNC start when we are not async.
1351 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1353 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1354 (gst_queue_handle_sink_event), (gst_queue_chain),
1355 (gst_queue_push_one), (gst_queue_handle_src_query),
1356 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1357 * plugins/elements/gstqueue.h:
1358 When downstream returns UNEXPECTED from pushing a buffer, don't try to
1359 push more buffers but allow pushing of EOS and NEWSEGMENT.
1360 Add some more debug info here and there. Fixes #476514.
1362 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1364 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1365 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1366 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1367 (gst_base_sink_set_flushing), (gst_base_sink_query),
1368 (gst_base_sink_change_state):
1369 Latency query is allowed after we are prerolled. Introduce a new flag
1370 for this and stop abusing other variables.
1372 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1374 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1375 Push OOB events downstream when we get them in send_event. This allows
1376 the application to insert events in the pipeline.
1377 Add some more comments.
1379 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1381 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1382 (do_bin_latency), (gst_bin_change_state_func):
1383 * gst/gstpipeline.c: (gst_pipeline_change_state):
1384 Move latency query from GstPipeline to GstBin so that we can also
1385 use it when async-handling is enabled on bins.
1387 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1389 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1390 (gst_base_src_do_sync), (gst_base_src_change_state):
1392 Clean up the timestamping and syncing code for pseudo live sources.
1394 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
1396 Patch by: Steve Fink <sphink gmail com>
1398 * docs/manual/appendix-checklist.xml:
1399 Mention less -R switch in the section about debug output (#474055).
1401 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1403 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1404 Queue can latency to the pipeline up to the configured max size in time.
1405 Report this fact in the latency query.
1407 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1409 Patch by: Sebastien Moutte <sebastien at moutte dot net>
1411 * libs/gst/controller/gstinterpolation.c:
1412 * libs/gst/controller/gstlfocontrolsource.c:
1413 Use gst_guint64_to_gdouble() when converting from a uint64 or
1414 GstClockTime to double to fix the build on win32. Fixes #474371.
1416 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1418 * gst/gstbuffer.c: (gst_buffer_finalize):
1419 Implement poisoning for GstBuffer if --enable-poisoning is specified.
1420 When finalizing a buffer the complete struct is filled with 0xff,
1421 thus making a use of the buffer after the final unref impossible.
1423 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1425 * tests/check/libs/controller.c: (GST_START_TEST):
1426 Use fail_unless_equals_int(a, b) instead of
1427 fail_unless_equals (a == b) to get better output on failures.
1429 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1431 * tests/check/gst/gsturi.c:
1432 Also check for the other file URI variant on win32.
1434 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1436 * gst/gsturi.c: (gst_uri_get_location):
1437 If there's no hostname, we want to return 'c:/foo/bar.txt'
1438 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1440 * tests/check/gst/gsturi.c:
1441 Unit test for the above and a few more things.
1443 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1445 * docs/design/part-live-source.txt:
1446 Add docs on how live sources should timestamp.
1448 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1449 Add some more debug info.
1450 For subclasses that are live and like to sync, add aditional startup
1451 latency to sync time and timestamps so that we timstamp according to the
1454 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1457 Also do a g_type_class_ref() for the subbuffer type in
1460 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1462 * docs/gst/gstreamer-sections.txt:
1463 * gst/gstpad.c: (gst_pad_peer_query):
1465 Add function to perform a query on the peer of a pad.
1466 API: gst_pad_peer_query()
1468 2007-09-11 Stefan Kost <ensonic@users.sf.net>
1470 * tests/check/gst/gstsystemclock.c:
1471 Cleanup the test a little (use gst-logging and not g_message). Improve
1472 test to check if a wait reached the target.
1474 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1476 * docs/libs/gstreamer-libs-sections.txt:
1477 Add new API to docs and fix the build.
1479 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
1481 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1482 (gst_base_src_init), (gst_base_src_set_do_timestamp),
1483 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1484 (gst_base_src_get_property), (gst_base_src_do_sync):
1485 * libs/gst/base/gstbasesrc.h:
1486 Add property to make the basesrc timestamp buffers based on the current
1488 API: GstBaseSrc::do-timestamp
1489 API: gst_base_src_set_do_timestamp()
1490 API: gst_base_src_get_do_timestamp()
1492 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
1494 * docs/random/release:
1495 Really make sure translations are up-to-date before
1496 a release (#465010).
1498 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
1500 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1501 Always destroy the timer, also in error cases.
1503 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1505 * docs/manual/highlevel-xml.xml:
1506 Fix XML example code. Fixes #472714.
1508 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1510 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1511 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1512 (gst_base_sink_query):
1513 Protect eos and have_preroll with the OBJECT lock so we don't need to
1514 take the PREROLL lock when querying the latency. Fixes #473846.
1516 2007-09-05 Stefan Kost <ensonic@users.sf.net>
1519 Give some log-messages a category.
1521 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
1523 * gst/gststructure.c:
1524 (gst_structure_fixate_field_nearest_fraction):
1525 Fix fraction list fixation code. Take the fraction with the smallest
1526 difference with the target instead of the first one in the list.
1528 * tests/check/gst/gststructure.c: (GST_START_TEST),
1529 (gst_structure_suite):
1530 Added test to verify correct fraction list fixation behaviour.
1532 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
1534 * win32/common/libgstreamer.def:
1535 Export gst_bus_add_signal_watch too.
1537 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
1539 * docs/libs/gstreamer-libs-sections.txt:
1540 Add new methods to docs.
1542 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1543 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1544 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1545 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1546 * libs/gst/base/gstbasesink.h:
1547 Add ts-offset property to fine-tune the synchronisation.
1548 API: GstBaseSink::ts-offset property
1549 API: gst_base_sink_set_ts_offset()
1550 API: gst_base_sink_get_ts_offset()
1552 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
1554 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1555 (gst_base_sink_init), (gst_base_sink_set_sync),
1556 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1557 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1558 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1559 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1560 (gst_base_sink_get_property), (gst_base_sink_change_state):
1561 * libs/gst/base/gstbasesink.h:
1562 Add async property to instruct the sink never to inform the parent about
1563 ASYNC state changes, update docs.
1564 Check argument with g_return_* for the public functions.
1565 API: GstBaseSink::async property
1566 API: gst_base_sink_set_async_enabled()
1567 API: gst_base_sink_is_async_enabled()
1569 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
1571 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1574 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1575 (gst_base_src_default_query), (gst_base_src_wait),
1576 (gst_base_src_do_sync), (gst_base_src_change_state):
1577 Rearrange some code so that we can add support for measuring the
1580 2007-08-27 Stefan Kost <ensonic@users.sf.net>
1582 * docs/random/ensonic/dynlink.txt:
1583 More thoughs on this.
1585 * plugins/elements/gstcapsfilter.c:
1586 Add bugzilla ticket number to FIXME comment.
1588 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
1590 * docs/design/part-TODO.txt:
1591 * docs/design/part-block.txt:
1594 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1597 Revert patch which uses $(gst_headers) instead of $^ because it
1600 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1602 * tests/check/gst/gstbin.c: (GST_START_TEST):
1603 Fix leaks in the new unit test.
1605 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
1608 Don't use GST_INFO before the debug system is actually initialised
1609 (shouldn't do any harm, but won't print anything either, so we can
1610 just as well remove it).
1613 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1614 compilers that don't support variadic macros (such as MSVC), should
1615 check for debug_level <= __gst_debug_min as well, since that's the
1616 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1617 inline helper functions. Should improve performance a bit, but also
1618 makes sure uses of GST_INFO et.al are ignored if the debugging
1619 system isn't initialised yet (instead of printing an assertion
1622 2007-08-23 Stefan Kost <ensonic@users.sf.net>
1624 patch by: David Nečas <yeti@physics.muni.cz>
1627 Replace some non portable makefile constructs.
1629 2007-08-21 Stefan Kost <ensonic@users.sf.net>
1631 * common/gtk-doc-plugins.mak:
1632 Grrrrr. Don't remove the types file on make clean.
1634 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
1636 * tools/gst-launch.1.in:
1637 Add colorspace to example pipeline. Fixes #458274.
1639 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
1641 * docs/random/release:
1642 The release manager should run 'make download-po' before making a
1643 release to make sure translations are up-to-date.
1649 Add some new translations.
1651 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
1653 * tools/gst-launch.c: (event_loop), (main):
1654 Don´t try to do any state management when a live pipeline posts
1656 Also make the buffering string translatable.
1658 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1660 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1661 (bin_handle_async_start), (gst_bin_handle_message_func):
1663 When adding elements, insert messages into the bus of the newly added
1664 element and make sure the element is the source of the message. This
1665 allows the parent bin to intercept the message and do the
1666 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1667 messages to the app (which is not allowed).
1670 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1671 Fix testsuite so that is does not work around messages that should not
1672 have been posted in the first place.
1674 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1676 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1677 (update_degree), (gst_bin_sort_iterator_next):
1678 Fix annoying bug in the sorted iterator where a sink that is not really
1679 a sink (when it has downstream links) screwed up the iterator.
1681 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1682 Unit test to verify the fix.
1684 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1687 Add some more docs for the messages.
1689 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1690 (gst_base_sink_query):
1691 Add some more debugging.
1693 * tools/gst-launch.c: (event_loop):
1694 When interrupting, don't try to set pipeline to PAUSED twice.
1696 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1699 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1700 (bin_handle_async_start), (gst_bin_handle_message_func):
1701 Move ASYNC_START message posting to where it belongs, similar to
1703 Don't post ASYNC_START when we are in error.
1704 Post ASYNC_START when we added an async element to a bin.
1706 2007-08-14 Julien MOUTTE <julien@moutte.net>
1708 * gst/gstindex.c: (gst_index_add_association): Fix index entry
1709 generation from vargs. Fixes #466595.
1711 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1713 * gst/gstbin.c: (gst_bin_element_set_state):
1714 Always change the state of a NO_PREROLL element even if it has ASYNC
1715 elements inside (in case of a bin).
1717 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1718 Unit test for this case.
1720 2007-08-13 Stefan Kost <ensonic@users.sf.net>
1722 * libs/gst/check/gstbufferstraw.c:
1723 * libs/gst/check/gstcheck.h:
1724 * libs/gst/controller/gstcontroller.c:
1725 * libs/gst/controller/gstcontrolsource.h:
1726 * libs/gst/controller/gstlfocontrolsource.h:
1727 * plugins/elements/gstcapsfilter.h:
1728 * plugins/elements/gstfdsink.h:
1729 * plugins/elements/gstfdsrc.h:
1730 Add more missing docs.
1732 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1734 * gst/gststructure.c:
1735 Add Since tag to docs.
1737 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1739 * docs/gst/gstreamer-sections.txt:
1740 * gst/gststructure.c: (gst_structure_get_uint):
1741 * gst/gststructure.h:
1742 Add function to get uint from a structure.
1743 API: gst_structure_get_uint()
1745 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1747 * gst/gstcaps.c: (gst_caps_set_simple_valist),
1748 (gst_caps_intersect):
1749 Fix proper check for simple caps.
1751 2007-08-10 Stefan Kost <ensonic@users.sf.net>
1753 * docs/gst/Makefile.am:
1754 * docs/libs/Makefile.am:
1755 Remove cruft and do some cleanups.
1757 * docs/gst/gstreamer-docs.sgml:
1758 * docs/libs/gstreamer-libs-docs.sgml:
1759 Prepare for comming gtkdoc features (rebase against online docs).
1761 2007-08-10 Michael Smith <msmith@fluendo.com>
1763 * docs/gst/gstreamer-sections.txt:
1764 Add gst_registry_add_path to docs.
1766 2007-08-10 Michael Smith <msmith@fluendo.com>
1768 * gst/gstregistry.h:
1769 Add gst_registry_add_path, which was missing from this header.
1771 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
1773 * libs/gst/controller/gstlfocontrolsource.c:
1776 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1778 * libs/gst/base/gstbasesink.c:
1779 Don't send an async_start message during downwards state change if
1780 target state is less than READY
1782 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1784 translated by: Gabor Kelemen <kelemeng@gnome.hu>
1788 Added Hungarian translation.
1790 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1797 Updated translations.
1799 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1801 * libs/gst/controller/Makefile.am:
1802 Dist gstlfocontrolsourceprivate.h
1804 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1806 * docs/libs/gstreamer-libs.types:
1807 Don't register the enum type gst_lfo_waveform_get_type() in the
1808 .types file - only GObject derived types belong.
1810 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1812 Patch by: <arenevier at fdn dot fr>
1815 Remove comma from last element in enum to avoid compile errors when
1816 using -pendantic. Fixes #464366.
1818 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1820 * docs/design/part-TODO.txt:
1821 Add some more TODO items
1823 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1826 * gst/gstcaps.c: (gst_caps_intersect):
1827 Optimize trivial intersection case between identical caps pointers.
1829 * gst/gstelement.c: (gst_element_continue_state),
1830 (gst_element_set_state_func):
1832 Fix spelling and grammar mistakes.
1834 2007-08-05 Stefan Kost <ensonic@users.sf.net>
1838 Update POTFILES. Fixes #461599.
1840 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1843 Fix confusing typo in debug output.
1845 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1847 reviewed by: Stefan Kost <ensonic@users.sf.net>
1849 * libs/gst/controller/Makefile.am:
1850 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1851 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1852 (gst_lfo_control_source_new),
1853 (gst_lfo_control_source_set_waveform),
1854 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1855 (gst_lfo_control_source_finalize),
1856 (gst_lfo_control_source_dispose),
1857 (gst_lfo_control_source_set_property),
1858 (gst_lfo_control_source_get_property),
1859 (gst_lfo_control_source_class_init):
1860 * libs/gst/controller/gstlfocontrolsource.h:
1861 * libs/gst/controller/gstlfocontrolsourceprivate.h:
1862 API: Add GstLFOControlSource, a control source that gives values
1863 for specific timestamps based on several periodic waveforms.
1866 * tests/check/libs/controller.c: (GST_START_TEST),
1867 (gst_controller_suite):
1868 * docs/libs/gstreamer-libs-docs.sgml:
1869 * docs/libs/gstreamer-libs-sections.txt:
1870 * docs/libs/gstreamer-libs.types:
1871 Add documentation and unit tests for GstLFOControlSource.
1873 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1878 === release 0.10.14 ===
1880 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1883 releasing 0.10.14, "Breathing Vacuum"
1885 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
1887 * gst/gstelement.c: (gst_element_class_set_details_simple):
1889 Make strings passed to gst_element_class_set_details_simple()
1890 constant, as they should be (#462752).
1892 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
1894 * gst/gstbin.c: (gst_bin_change_state_func),
1895 (bin_handle_async_done), (gst_bin_handle_message_func):
1896 Don't forget about the fact that some element went ASYNC even after a
1897 resync. This makes us post the ASYNC_DONE message correctly.
1900 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1902 * gst/gstregistry.c: (gst_registry_add_feature):
1903 When replacing an existing feature in the registry, make sure to
1904 continue holding a reference until we've replaced the name string
1905 within our feature hash table. Make sure to use g_hash_table_replace
1906 instead of g_hash_table_insert to ensure the new name string is used
1907 as a key instead of the old one that we're about to free.
1910 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1912 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1913 (gst_plugin_feature_set_name):
1914 Revert patch from #459466 until after the release and we can work
1915 out exactly what the problem is (if any).
1917 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1919 * docs/gst/gstreamer-sections.txt:
1922 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1924 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1926 * docs/libs/Makefile.am:
1927 Include our build-prefix libs and includes before the generic ones to
1928 avoid linking against the installed libs when we want the build-tree
1931 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1933 Patch by: Steve Fink <sphink gmail com>
1935 * docs/pwg/building-testapp.xml:
1936 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1937 if people try to build or install the example from the plugin
1938 template against a GStreamer from package using the configure
1941 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
1943 Patch by: Steve Fink <sphink gmail com>
1945 * tools/gst-inspect.1.in:
1946 Document --print-all and --print-plugin-auto-install-info command
1947 line options in man page.
1949 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1951 * docs/gst/gstreamer-sections.txt:
1952 Add docs for new api function.
1954 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1956 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1957 * gst/gstelementfactory.h:
1958 API: gst_element_factory_has_interface()
1959 Added method to check if an element factory implements a named
1962 2007-07-25 Stefan Kost <ensonic@users.sf.net>
1965 * docs/gst/gstreamer.types.in:
1966 Another conditional doc check.
1969 * gst/gstparamspecs.h:
1970 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1975 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1977 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1978 (gst_registry_binary_load_feature),
1979 (gst_registry_binary_load_plugin),
1980 (gst_registry_binary_read_cache):
1981 Print error just once and with additional info.
1983 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1985 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1986 (helper_find_suggest), (helper_find_get_length),
1987 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1988 (gst_type_find_helper_for_buffer):
1989 Cleanup the typefindhelper code and add private doc comments.
1991 2007-07-24 Edward Hervey <bilboed@bilboed.com>
1993 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1994 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1995 Fix capsfilter for cases where the caps set on capsfilter will provide
1996 additional information.
1999 2007-07-24 Stefan Kost <ensonic@users.sf.net>
2001 * gst/gsttypefindfactory.c:
2002 Fix docs that recommened wrong function to use.
2004 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2006 * tools/gst-inspect.c: (print_plugin_features):
2007 Also give media-type for typefinders in element output.
2009 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2011 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
2012 (gst_registry_remove_features_for_plugin_unlocked),
2013 (gst_registry_add_feature), (gst_registry_remove_feature),
2014 (gst_registry_lookup_feature_locked):
2015 * gst/gstregistry.h:
2016 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
2019 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2021 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2022 (gst_plugin_feature_set_name):
2023 Avoid double memory usage for pluginfeature names. Fixes #459466.
2025 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
2028 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
2029 driving the pipeline may need to explicitly check for NOT_LINKED as
2030 well, since IS_FATAL doesn't cover that.
2032 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
2034 * docs/pwg/advanced-types.xml:
2035 Fix typo and duplicate entry in video formats list.
2037 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
2039 * libs/gst/controller/gstinterpolation.c:
2040 Also round to the nearest int when using cubic interpolation.
2042 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
2044 * libs/gst/controller/gstinterpolation.c:
2045 When linearly interpolating integer types, round to the nearest int
2046 by adding 0.5. Don't do it for float/double types.
2047 Fixes the failing controller test on my machine, which is somehow
2048 rounding differently than on the buildbots.
2050 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2052 * tools/gst-plot-timeline.py:
2053 Better log parsing (categories can have -). Adjust text vs. lines, so
2054 that they span the same y-range.
2056 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2058 * docs/random/ensonic/audiobaseclasses.txt:
2059 * docs/random/ensonic/dynlink.txt:
2060 * docs/random/ensonic/profiling.txt:
2063 * docs/random/moving-plugins:
2064 Add note to use g_assert type macros.
2066 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2069 * libs/gst/check/Makefile.am:
2070 Add libm check as we use in for plugins.
2072 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
2074 * gst/gstbin.c: (gst_bin_continue_func):
2075 Check that the state_cookie hasn't changed since the continue_func
2076 was scheduled. Avoids problems where the state changes back to
2077 something it shouldn't be because it was changed in the meantime.
2079 2007-07-17 Stefan Kost <ensonic@users.sf.net>
2081 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2082 (gst_registry_binary_save_string),
2083 (gst_registry_binary_save_pad_template),
2084 (gst_registry_binary_save_feature),
2085 (gst_registry_binary_save_plugin),
2086 (gst_registry_binary_load_feature),
2087 (gst_registry_binary_load_plugin),
2088 (gst_registry_binary_read_cache):
2089 Fix memory leak. Be less verbose in the log.
2091 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2093 * tests/check/elements/.cvsignore:
2094 Add file to cvsignore as commanded.
2096 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2098 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2099 (mq_dummypad_event), (run_output_order_test):
2100 Use a GStaticMutex to protect all cases where libcheck
2101 fail_if/fail_unless macros might be called from multiple threads
2102 simultaneously to avoid errors like:
2103 "check_pack.c:107: :-1081725400:Bad message type arg"
2105 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2107 * tests/check/pipelines/stress.c: (GST_START_TEST):
2108 Make sure we set the pipeline back to the NULL state before
2109 dropping our final reference.
2111 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2113 * tests/check/elements/tee.c: (GST_START_TEST):
2114 Make the tee stress-test a little less stressful so it doesn't just
2115 time out on slow-machines, and remove a small race when it's starting
2116 up by adding a get_state() call.
2118 2007-07-16 Stefan Kost <ensonic@users.sf.net>
2121 Avoid reading registry twice on startup. Fixes #457322.
2123 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2125 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2126 * pkgconfig/gstreamer-check.pc.in:
2127 Substitute the CFLAGS for libcheck into our .pc file too so that
2128 dependent modules will pick it up properly if libcheck is installed
2129 into some other prefix.
2131 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2134 Revert the pkg-config check for libcheck, since it pulls in the
2135 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2136 a proper solution, either from the check project, or something else.
2138 2007-07-12 Stefan Kost <ensonic@users.sf.net>
2141 Use pkg-config to locate check.
2143 2007-07-10 Stefan Kost <ensonic@users.sf.net>
2150 Add deprecation guards.
2152 * libs/gst/base/gstcollectpads.h:
2153 Don't document object (this is implicitly private).
2155 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
2157 * gst/gststructure.c: (gst_structure_parse_value):
2158 When deserialising foo=bar without a type cast, check if it's a
2159 boolean before falling back to a string type, otherwise things like
2160 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2161 because the filtercaps end up having a signed=(string)true field,
2162 which causes problems later when intersection caps.
2164 * tests/check/gst/gststructure.c: (GST_START_TEST):
2165 Add a unit test for this.
2167 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
2169 Reviewed by: Stefan Kost <ensonic@users.sf.net>
2171 * libs/gst/controller/Makefile.am:
2172 * libs/gst/controller/gstcontroller.c:
2173 (gst_controlled_property_add_interpolation_control_source),
2174 (gst_controlled_property_new), (gst_controlled_property_free),
2175 (gst_controller_find_controlled_property),
2176 (gst_controller_new_valist), (gst_controller_new_list),
2177 (gst_controller_new), (gst_controller_remove_properties_valist),
2178 (gst_controller_remove_properties_list),
2179 (gst_controller_remove_properties),
2180 (gst_controller_set_property_disabled),
2181 (gst_controller_set_disabled), (gst_controller_set_control_source),
2182 (gst_controller_get_control_source), (gst_controller_get),
2183 (gst_controller_sync_values), (gst_controller_get_value_array),
2184 (_gst_controller_dispose), (gst_controller_get_type),
2185 (gst_controlled_property_set_interpolation_mode),
2186 (gst_controller_set), (gst_controller_set_from_list),
2187 (gst_controller_unset), (gst_controller_unset_all),
2188 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2189 * libs/gst/controller/gstcontroller.h:
2190 * libs/gst/controller/gstcontrollerprivate.h:
2191 * libs/gst/controller/gstcontrolsource.c:
2192 (gst_control_source_class_init), (gst_control_source_init),
2193 (gst_control_source_get_value),
2194 (gst_control_source_get_value_array), (gst_control_source_bind):
2195 * libs/gst/controller/gstcontrolsource.h:
2196 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2197 (gst_object_get_control_source):
2198 * libs/gst/controller/gstinterpolation.c:
2199 (gst_interpolation_control_source_find_control_point_node),
2200 (gst_interpolation_control_source_get_first_value),
2201 (_interpolate_none_get), (interpolate_none_get),
2202 (interpolate_none_get_boolean_value_array),
2203 (interpolate_none_get_enum_value_array),
2204 (interpolate_none_get_string_value_array),
2205 (_interpolate_trigger_get), (interpolate_trigger_get),
2206 (interpolate_trigger_get_boolean_value_array),
2207 (interpolate_trigger_get_enum_value_array),
2208 (interpolate_trigger_get_string_value_array):
2209 * libs/gst/controller/gstinterpolationcontrolsource.c:
2210 (gst_control_point_free), (gst_interpolation_control_source_reset),
2211 (gst_interpolation_control_source_new),
2212 (gst_interpolation_control_source_set_interpolation_mode),
2213 (gst_interpolation_control_source_bind),
2214 (gst_control_point_compare), (gst_control_point_find),
2215 (gst_interpolation_control_source_set_internal),
2216 (gst_interpolation_control_source_set),
2217 (gst_interpolation_control_source_set_from_list),
2218 (gst_interpolation_control_source_unset),
2219 (gst_interpolation_control_source_unset_all),
2220 (gst_interpolation_control_source_get_all),
2221 (gst_interpolation_control_source_get_count),
2222 (gst_interpolation_control_source_init),
2223 (gst_interpolation_control_source_finalize),
2224 (gst_interpolation_control_source_dispose),
2225 (gst_interpolation_control_source_class_init):
2226 * libs/gst/controller/gstinterpolationcontrolsource.h:
2227 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2228 API: Refactor GstController into the core controller which can take
2229 a GstControlSource for providing actual values for timestamps.
2230 Implement a interpolation control source and use this for backward
2231 compatibility, deprecate a bunch of functions that are now handled
2232 by GstControlSource or GstInterpolationControlSource.
2233 Make it possible to disable the controller completely or only for
2234 specific properties. Fixes #450711.
2235 * docs/libs/gstreamer-libs-docs.sgml:
2236 * docs/libs/gstreamer-libs-sections.txt:
2237 * docs/libs/gstreamer-libs.types:
2238 Add new functions and classes to the docs.
2239 * tests/check/libs/controller.c: (GST_START_TEST),
2240 (gst_controller_suite):
2241 * tests/examples/controller/audio-example.c: (main):
2242 Port unit test and example to the new API and add some new
2245 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
2247 Patch by: Mark Nauwelaerts <manauw at skynet be>
2249 * plugins/elements/gstmultiqueue.c:
2250 (gst_multi_queue_get_internal_links), (apply_buffer),
2251 (single_queue_overrun_cb), (gst_single_queue_new):
2252 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2253 the pipeline layout can be tracked correctly. Fixes #453732.
2255 2007-07-05 Stefan Kost <ensonic@users.sf.net>
2257 * docs/gst/Makefile.am:
2258 * docs/libs/Makefile.am:
2259 * docs/plugins/Makefile.am:
2260 Simplify --extra-dir as gtkdoc scans recursively.
2262 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2264 * tools/gst-launch.c: (main):
2265 When we got an error, there is no point in waiting for preroll when
2268 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2270 * plugins/elements/gsttee.c: (gst_tee_base_init),
2271 (gst_tee_request_new_pad), (gst_tee_release_pad),
2272 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2273 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2275 Be a lot smarter when deciding what srcpad to use for proxying
2276 the buffer_alloc. Also handle pad added/removed when doing so.
2278 Keep track of what pads we already pushed on in case we have pads
2279 added/removed while pushing. Fixes #374639
2281 * tests/check/Makefile.am:
2282 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2284 Added unit test for pad resync.
2286 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2290 Updated translations.
2292 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2294 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2298 Added new Finnish translation.
2300 2007-06-28 Wim Taymans <wim@fluendo.com>
2302 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2303 (single_queue_overrun_cb):
2304 When figuring out when a queue is filled, use our internal time estimate
2305 based on segments, just like check_full does.
2307 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2309 * gst/gstminiobject.c: (gst_mini_object_get_type):
2310 Remove 3 do-nothing methods.
2312 2007-06-27 Wim Taymans <wim@fluendo.com>
2314 Patch by: Tim Angus <tim at ngus dot net>
2316 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2317 (gst_capsfilter_set_property):
2318 Take a reference instead of a copy when setting "caps".
2319 Fix documentation to clarify this behaviour. Fixes #449414.
2321 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2323 * gst/gstindexfactory.c: (gst_index_factory_get_type):
2324 * gst/gstplugin.c: (gst_plugin_init):
2325 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2326 * gst/gstquery.c: (gst_query_get_type):
2327 * gst/gstregistry.c: (gst_registry_init):
2328 * gst/gsturi.c: (gst_uri_handler_base_init):
2329 Remove empty instance_init() functions to save relocs and lessen the
2330 noise. Remove some of the function prototypes that are doubled by
2333 2007-06-27 Wim Taymans <wim@fluendo.com>
2335 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2337 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2338 Add peer and direction in the XML serialisation of ghostpads.
2341 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2344 Preserve useful information, thanks Tim.
2346 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
2348 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2349 (gst_single_queue_flush), (apply_segment), (apply_buffer),
2350 (gst_single_queue_push_one), (gst_multi_queue_loop),
2351 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2352 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2353 (compute_high_id), (gst_single_queue_new):
2354 * plugins/elements/gstmultiqueue.h:
2355 Take the multiqueue lock when updating the fill level so we don't get
2358 After applying a buffer or event on the src pad segment, make sure to
2359 call gst_data_queue_limits_changed() to get the data queue to unblock
2360 and check the filled state again.
2362 Rework the not-linked pad handling so the logic is that not-linked
2363 pads can push as fast as they like, but only so they never get
2364 ahead of any linked pads.
2366 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2367 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2368 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2370 Add a test to check that not-linked pads always stay behind
2375 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
2377 * docs/random/release:
2378 Some updates to the release procedure.
2380 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2382 * gst/gstelementfactory.c: (__gst_element_details_clear):
2383 Microoptimization that saves stunning 80 bytes.
2385 2007-06-25 Stefan Kost <ensonic@users.sf.net>
2387 * docs/plugins/gstreamer-plugins.args:
2388 * docs/plugins/inspect/plugin-coreelements.xml:
2389 * docs/plugins/inspect/plugin-coreindexers.xml:
2390 Update docs with caps info.
2392 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
2395 Updated Italian translation.
2397 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
2401 Update Vietnamese translations.
2403 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2405 * libs/gst/base/gstbasesink.c:
2406 Remove unused signal enum.
2408 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2410 * docs/gst/gstreamer-sections.txt:
2412 * gst/gstutils.c: (gst_type_register_static_full):
2413 Beef up and include the docs for gst_type_register_static_full and
2414 gst_element_class_set_details_simple and add the API keyword
2417 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2419 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2420 (update_time_level), (gst_single_queue_push_one),
2421 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2422 (single_queue_overrun_cb), (single_queue_underrun_cb),
2423 (single_queue_check_full):
2424 Fix setting max-* properties after adding queues.
2425 Use IS_FILLED for checking visible items.
2426 Signal overrun if multiple queues overrun.
2427 Add extra debug output.
2428 Patch by: Wim Taymans <wim@fluendo.com>
2430 2007-06-21 Stefan Kost <ensonic@users.sf.net>
2432 * gst/gstelement.c: (gst_element_class_set_details_simple):
2434 * gst/gstutils.c: (gst_type_register_static_full):
2436 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2437 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2438 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2439 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2440 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2441 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2442 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2443 * plugins/elements/gstidentity.c: (gst_identity_base_init):
2444 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2445 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2446 (apply_buffer), (gst_queue_chain):
2447 * plugins/elements/gsttee.c: (gst_tee_base_init):
2448 * plugins/elements/gsttypefindelement.c:
2449 (gst_type_find_element_base_init),
2450 (gst_type_find_element_class_init):
2451 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2452 API: add gst_type_register_static_full
2453 API: add gst_element_class_set_details_simple
2455 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2457 * docs/pwg/advanced-types.xml:
2458 Fix typo in iana.org URI.
2460 2007-06-19 Andy Wingo <wingo@pobox.com>
2462 * tests/check/pipelines/simple-launch-lines.c
2463 (test_state_change_returns): Enable pull-mode tests now that
2464 basesink has been fixed.
2466 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2467 Changed from gst_base_sink_is_prerolled, reversing the sense of
2468 the return value. Returns FALSE also if the sink is in pull mode,
2469 in which case it needs no preroll.
2470 (gst_base_sink_query, gst_base_sink_change_state): Update for
2471 needs_preroll change.
2472 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2473 chaining up, in which we return SUCCESS directly if we activated
2474 in pull mode instead of ASYNC. Involves countering an async_start
2475 message sent before chaining up; not sure if this is correct, in
2476 an ideal world we only send async-start when activating in push
2479 * tests/check/pipelines/simple-launch-lines.c
2480 (test_state_change_returns): New test, partially disabled until
2483 2007-06-19 Wim Taymans <wim@fluendo.com>
2485 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2486 (gst_multi_queue_sink_event):
2489 2007-06-19 Wim Taymans <wim@fluendo.com>
2491 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2492 (gst_bin_change_state_func), (bin_push_state_continue),
2493 (bin_handle_async_start), (bin_handle_async_done),
2494 (gst_bin_handle_message_func):
2495 Move the common code for posting state-change messages into
2497 Broadcast the state signal after we posted the messages.
2498 Mark the bin as busy when it's doing a state-change.
2499 Make sure async-start/done messages don't interfere with the bin's
2500 state when it's busy.
2501 After the state change, let the bin check which elements completed the
2502 state change while it was busy so that it can update its state.
2504 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
2506 * docs/random/release:
2507 Add a note about updating the doap file to the release checklist
2509 2007-06-18 Wim Taymans <wim@fluendo.com>
2511 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2512 (gst_single_queue_push_one), (gst_multi_queue_chain),
2513 (gst_multi_queue_sink_event):
2514 Make sure we don't reference the buffer/event after we have given away
2515 ownership in the queue.
2517 2007-06-18 Wim Taymans <wim@fluendo.com>
2519 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2520 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2521 Update queue state _after_ adding the item in the queue because else we
2522 could end up being full without the element added yet.
2524 2007-06-18 Wim Taymans <wim@fluendo.com>
2526 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2527 (gst_bin_remove_func), (gst_bin_get_state_func),
2528 (gst_bin_element_set_state), (gst_bin_continue_func),
2529 (bin_push_state_continue), (bin_handle_async_start),
2530 (bin_handle_async_done), (gst_bin_handle_message_func):
2532 Immediatly commit the toplevel bin state when receiving an async-done
2533 message. This enables us to avoid spawning a thread to commit the state
2534 in some common cases and it also avoids some races.
2535 Avoid spawning a state thread when adding/removing async elements to a
2536 toplevel bin. Instead we immediatly update the bin state.
2537 Get rid of iterating all the children when getting the state in the bin
2538 because it is now always up-to-date.
2539 Fix bug where locked elements would always return _SUCCESS even it they
2540 returned NO_PREROLL before being locked.
2541 Fix the order of the state_change, async-start/done messages that was
2542 sometimes incorrect.
2543 Mark the state_dirty field as deprecated, we don't need it anymore as we
2544 are always up-to-date.
2546 * gst/gstelement.c: (gst_element_get_state_func),
2547 (gst_element_continue_state):
2548 Small debug inprovements.
2549 Return the previous element state return when nothing is pending instead
2550 of blindly returning SUCCESS.
2552 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2554 Add a whole bunch of new testcases.
2556 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
2560 Update translations.
2562 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
2565 Fix typo in the docs.
2567 2007-06-15 Wim Taymans <wim@fluendo.com>
2569 * docs/libs/gstreamer-libs-sections.txt:
2570 Add docs for new methods.
2572 2007-06-15 Wim Taymans <wim@fluendo.com>
2574 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2575 (gst_multi_queue_item_new):
2576 Don't use GSlice because we don't depend on >= 2.10 yet.
2578 2007-06-15 Wim Taymans <wim@fluendo.com>
2580 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2581 (update_time_level), (apply_segment), (apply_buffer),
2582 (gst_single_queue_push_one), (gst_multi_queue_item_new),
2583 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2584 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2585 (single_queue_underrun_cb), (single_queue_check_full):
2586 Remove debug printf.
2588 2007-06-15 Wim Taymans <wim@fluendo.com>
2590 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2591 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2592 (gst_data_queue_set_flushing), (gst_data_queue_push),
2593 (gst_data_queue_pop), (gst_data_queue_drop_head),
2594 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2595 * libs/gst/base/gstdataqueue.h:
2597 Added methods to get the current levels and to inform the queue that the
2598 'full' limits changed.
2600 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2601 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2602 (gst_single_queue_flush), (update_time_level), (apply_segment),
2603 (apply_buffer), (gst_single_queue_push_one),
2604 (gst_multi_queue_item_steal_object),
2605 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2606 (gst_multi_queue_loop), (gst_multi_queue_chain),
2607 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2608 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2609 (gst_multi_queue_src_query), (single_queue_overrun_cb),
2610 (single_queue_underrun_cb), (single_queue_check_full),
2611 (gst_single_queue_new):
2612 Keep track of time in the queue by measuring the difference between
2613 running_time on input and output. This gives more accurate results and
2614 can compensate for segments correctly.
2615 Make a queue by default only 5 buffers deep. We will now increase the
2616 buffer size depending on the filledness of the other queues.
2617 Factor out commong flush code.
2618 Make sure we don't add additional refcounts to buffers when we can avoid
2620 Propagate GstFlowReturn differently.
2621 Use GSlice for intermediate GstMultiQueueItems.
2623 Resize queues on over and underruns based on filled level of other
2625 When checking if the queue is filled, prefer to measure in time if we
2626 can and fall back to bytes when no time is known.
2628 * plugins/elements/gstqueue.c:
2631 2007-06-15 Wim Taymans <wim@fluendo.com>
2633 * libs/gst/base/gstbasetransform.c:
2634 (gst_base_transform_sink_event):
2635 Work around the brokenness of the event vmethod in basetransform. Prefer
2636 to return TRUE when the subclass returned FALSE (meaning don't forward
2639 * libs/gst/base/gstbasetransform.h:
2642 2007-06-15 Wim Taymans <wim@fluendo.com>
2644 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2645 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2646 (gst_base_src_default_query), (gst_base_src_get_range),
2647 (gst_base_src_start):
2648 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2651 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2653 * docs/pwg/advanced-types.xml:
2654 Added more formats to caps table.
2656 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2658 * tools/gst-launch.c: (main):
2659 Remove crufy code. GOption does not need this workaround.
2661 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2663 * libs/gst/controller/gstcontroller.c:
2664 (gst_controlled_property_set_interpolation_mode):
2665 Fix wrong getter for enums in controller.
2667 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2669 * libs/gst/check/gstcheck.c: (gst_check_init):
2670 Intercept criticals and warnings in the Gst-Phonon log domain, so
2671 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2674 2007-06-14 Edward Hervey <edward@fluendo.com>
2676 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2677 Since this file doesn't include "gst.h" it will not go through the
2678 macros that disable GST_LOG if debugging was disabled.
2680 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2682 * libs/gst/check/Makefile.am:
2683 * libs/gst/check/gstcheck.h:
2684 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2685 * pkgconfig/gstreamer-check.pc.in:
2686 Ugly 'fix' for the controller unit test on the p5 bot: in
2687 fail_unless_equals_float() check whether the values are 'almost
2688 equal' by allowing a small absolute error, which should be good
2689 enough for our use cases (normal numbers and values close to 0).
2690 Proper fixage left to floating point arithmetic aficionados.
2692 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2694 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2695 (gst_base_sink_render_object), (gst_base_sink_get_position):
2696 Add two breaks thats where missing.
2698 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2700 * docs/libs/gstreamer-libs-sections.txt:
2701 * libs/gst/check/gstcheck.h:
2702 API: add fail_unless_equals_float() and assert_equals_float().
2703 Add documentation for some of the macros.
2705 * tests/check/libs/controller.c: (GST_START_TEST):
2706 Use newly-added asserts.
2708 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2710 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2711 Show the caps change in the log to help spotting the case of not
2712 exactly matching caps.
2714 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2716 * docs/pwg/building-boiler.xml:
2717 Fix typos, spotted by Thijs Vermeir (#447190).
2719 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2721 * docs/plugins/tmpl/.cvsignore:
2722 Ignore file to keep the buildbots happy
2724 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2726 * docs/plugins/Makefile.am:
2727 * docs/plugins/gstreamer-plugins-docs.sgml:
2728 * docs/plugins/gstreamer-plugins-sections.txt:
2729 Pull fdsink into the docs too.
2731 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
2733 * libs/gst/controller/gstinterpolation.c:
2734 Actually use the new functions with min/max checks for the trigger and
2735 none interpolation modes for get() and get_value_array() instead of
2738 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
2740 * libs/gst/controller/gstcontroller.c:
2741 (gst_controlled_property_free):
2742 Unset the minimum and maximum GValues when freeing the corresponding
2743 GstControllerProperty struct.
2745 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
2747 * libs/gst/controller/gstcontroller.c:
2748 (gst_controlled_property_new):
2749 * libs/gst/controller/gstcontrollerprivate.h:
2750 * libs/gst/controller/gstinterpolation.c:
2751 (gst_controlled_property_find_control_point_node),
2752 (interpolate_none_get), (interpolate_none_get_enum_value_array),
2753 (interpolate_none_get_string_value_array),
2754 (interpolate_trigger_get),
2755 (interpolate_trigger_get_enum_value_array),
2756 (interpolate_trigger_get_string_value_array):
2757 Protect against values larger or smaller than the minimum or maximum
2758 allowed value for the property when using values that can be compared.
2760 Optimize trigger interpolator a bit by taking the last requested value
2761 into account instead of always looping through the complete list.
2763 Fix coding style a bit, everywhere else we use "return foo" instead
2766 * tests/check/libs/controller.c: (GST_START_TEST),
2767 (gst_controller_suite):
2768 Add unit test for the protection against too large or too small
2771 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
2773 * docs/random/slomo/controller.txt:
2774 Add some thoughts about the future of the controller.
2776 2007-06-08 Wim Taymans <wim@fluendo.com>
2778 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2779 Don't overflow in retimestamping code.
2781 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
2783 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2784 Use gst_util_guint64_to_gdouble for conversions.
2785 * win32/common/libgstreamer.def:
2786 Add new exported functions.
2788 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
2791 Small docs addition.
2793 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2796 Remove that test line again.
2798 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2801 Test commit mail sending.
2803 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2806 Fix typo and test commit mail sending.
2808 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2810 * tests/examples/controller/audio-example.c:
2811 Improve comment and test commit mail sending.
2813 2007-06-07 Wim Taymans <wim@fluendo.com>
2815 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2816 (gst_bin_remove_func), (gst_bin_element_set_state),
2817 (bin_handle_async_start), (bin_handle_async_done),
2818 (gst_bin_handle_message_func):
2819 Add helper function to find messages.
2820 Generate the async-done messages together with the state change
2822 Small cleanups in handling toplevel bins.
2824 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2826 * libs/gst/base/gstdataqueue.c:
2827 * libs/gst/base/gstdataqueue.h:
2828 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2829 (gst_multi_queue_item_new), (gst_multi_queue_chain),
2830 (gst_multi_queue_sink_event):
2831 * tests/check/elements/multiqueue.c: (multiqueue_suite):
2832 Fix multiqueue leaking buffers and events when downstream or the
2833 queue are flushing. Make refcounting assumptions explicit and
2834 document them (shouldn't break existing code that uses it other than
2835 maybe leak miniobjects, but that already happens anyway). Add unit
2836 test for the most common flushing case. Fixes #423700.
2838 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2840 * libs/gst/controller/gstcontroller.c:
2841 Clarify docs: The get_all, get_value_array(s) functions
2842 don't modify the GObject properties.
2844 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2846 * libs/gst/controller/gstcontroller.c:
2847 (gst_controlled_property_set_interpolation_mode),
2848 (gst_controlled_property_prepend_default),
2849 (gst_controlled_property_new), (gst_controller_set_unlocked),
2850 (gst_controller_set), (gst_controller_set_from_list),
2851 (gst_controller_unset), (gst_controller_unset_all):
2852 * libs/gst/controller/gstcontrollerprivate.h:
2853 * libs/gst/controller/gstinterpolation.c:
2854 Factor out the 'set' logic into gst_controller_set_unlocked for the
2855 gst_controller_set and gst_controller_set_from_list functions.
2857 To make life of the interpolators easier always add a control point
2858 at timestamp zero with the default value.
2860 In the linear interpolator make things more obvious by better variable
2863 Implement cubic interpolation mode (by using a natural cubic spline)
2864 and map the quadratic interpolation mode to this too (as quadratic
2865 doesn't make much sense, see discussion on the list).
2867 * tests/check/libs/controller.c: (GST_START_TEST),
2868 (gst_controller_suite):
2869 Add unit test for the cubic interpolation mode and check everywhere
2870 if the interpolation mode could be set as expected.
2872 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2874 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2875 Don't use GLib-2.10 functions, we still depend on
2876 GLib-how-old-is-it-again-2.8.
2878 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2880 * docs/gst/gstreamer-sections.txt:
2884 * gst/gstparamspecs.c: (_gst_param_fraction_init),
2885 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2886 (_gst_param_fraction_values_cmp),
2887 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2888 * gst/gstparamspecs.h:
2890 * tests/check/Makefile.am:
2891 * tests/check/gst/.cvsignore:
2892 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2893 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2894 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2895 (GST_START_TEST), (gst_param_spec_suite):
2896 API: add GstParamSpecFraction, so elements can have fraction
2897 properties without lots of painful string parsing (#444648).
2899 2007-06-05 Wim Taymans <wim@fluendo.com>
2901 * gst/gstobject.c: (gst_object_class_init):
2902 Fix signal signature.
2905 Add small clarification in the api docs.
2907 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2908 States are protected with object lock.
2910 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2913 I should probably be listed as an author by now.
2915 * docs/random/release:
2916 Update the release doc
2918 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
2921 Make docs for gst_value_compare() mention return enums that
2924 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2929 === release 0.10.13 ===
2931 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2934 releasing 0.10.13, "With or without you"
2936 2007-05-25 Wim Taymans <wim@fluendo.com>
2938 * gst/gstbin.c: (bin_handle_async_done):
2939 Make sure that the child bin stops after completing the async state
2940 change so that the parent can continue the state change to PLAYING.
2943 2007-05-25 Wim Taymans <wim@fluendo.com>
2945 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2946 (unref_data), (gst_collect_pads_remove_pad),
2947 (gst_collect_pads_check_pads):
2948 Use additional refcounting to avoid crashes when dynamically adding and
2949 removing pads. Fixes #420206.
2951 2007-05-24 Wim Taymans <wim@fluendo.com>
2953 * tools/gst-launch.c: (event_loop):
2954 When buffering goes from a two digit to a single digit number, make sure
2955 to remove the old second digit by writing a blank over it.
2957 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2959 * libs/gst/base/gstdataqueue.c:
2960 Eliminate tabs and trailing comma in enum list; fix some typos.
2962 2007-05-24 Wim Taymans <wim@fluendo.com>
2964 * tests/check/gst/gstbin.c: (GST_START_TEST):
2965 Allow refcount of 3 and 4 because some state thread might still be busy
2968 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2970 * plugins/elements/Makefile.am:
2971 * plugins/elements/gstmultiqueue.h:
2972 * plugins/elements/gstqueue.h:
2973 These are not installed headers, no need for padding.
2975 2007-05-24 Wim Taymans <wim@fluendo.com>
2977 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2978 (gst_bin_continue_func):
2979 Enable latency for next release.
2980 Restore STATE_LOCK around recalc_state that was left out during the
2981 rewrite and could result in racy behaviour when _get_state and
2982 recalc_state are run concurrently. See #440463.
2984 2007-05-23 Wim Taymans <wim@fluendo.com>
2986 * tests/check/gst/gstsystemclock.c: (store_callback),
2988 Improve test_async_order to also work when both timers are already
2989 expired when we get scheduled to check it.
2991 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2993 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2994 (gst_bin_set_property), (gst_bin_get_property),
2995 (gst_bin_remove_func), (gst_bin_handle_message_func):
2997 'private' is a c++ keyword, let's not use that in header files,
2998 otherwise c++ compilers will throw a tantrum.
3000 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
3002 * plugins/elements/gstelements.c:
3003 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
3004 (gst_file_sink_get_current_offset):
3005 * plugins/indexers/gstindexers.c: (plugin_init):
3006 Use #ifdef for HAVE_XYZ for consistency.
3008 * tests/check/Makefile.am:
3009 * tests/check/elements/.cvsignore:
3010 * tests/check/elements/filesink.c: (setup_filesink),
3011 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
3012 Add some unit tests for filesink.
3014 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
3016 Patch by: Mark Nauwelaerts <manauw at skynet be>
3018 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3019 (gst_file_sink_query), (gst_file_sink_do_seek),
3020 (gst_file_sink_get_current_offset), (gst_file_sink_render):
3021 * plugins/elements/gstfilesink.h:
3022 Fix position reporting; rename data_written member to current_pos to
3023 reflect its real meaning (fixes #412648).
3025 2007-05-22 Edward Hervey <edward@fluendo.com>
3027 * docs/gst/gstreamer-sections.txt:
3028 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3029 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
3030 (gst_bin_remove_func), (gst_bin_handle_message_func):
3032 Add a property for bins that handle the state change of their childs.
3035 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
3037 * libs/gst/controller/gstinterpolation.c:
3038 Use an array of the correct type when using _get_value_array with
3039 linear interpolation.
3041 2007-05-22 Stefan Kost <ensonic@users.sf.net>
3043 * gst/gstelement.c (gst_element_requires_clock,
3044 gst_element_provides_clock, gst_element_request_pad,
3045 gst_element_class_set_details, gst_element_class_set_details_simple,
3046 gst_element_default_send_event, gst_element_abort_state,
3047 gst_element_continue_state, gst_element_set_state,
3048 gst_element_set_state_func, iterator_activate_fold_with_resync):
3049 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
3050 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
3051 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
3052 gst_pad_get_range, gst_pad_pull_range):
3053 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
3054 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
3055 GstPadActivateModeFunction, GstPadChainFunction,
3056 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
3057 GstPadFixateCapsFunction, GstPadTemplate):
3058 * gst/gstpipeline.c (gst_pipeline_change_state,
3059 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
3060 gst_pipeline_set_clock, gst_pipeline_auto_clock,
3061 gst_pipeline_get_delay):
3062 Whitespace and docs fixes.
3064 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3066 * libs/gst/controller/gstinterpolation.c:
3067 (interpolate_trigger_get_enum_value_array),
3068 (interpolate_trigger_get_string_value_array):
3069 Add support for retrieving value arrays when using the trigger
3072 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3074 * libs/gst/controller/gstcontroller.c:
3075 (gst_controller_get_value_array):
3076 * libs/gst/controller/gstcontroller.h:
3077 Clarify the docs of gst_controller_get_value_array(): The array where
3078 the values should be written to must be allocated as there seems to be
3079 no way to get the size of a random GType. This doesn't change any
3080 behaviour. Also fix some typos all over the place and remove an unused,
3081 commented function that is not necessary as g_object_set() could be
3083 * tests/check/libs/controller.c: (GST_START_TEST),
3084 (gst_controller_suite):
3085 Add unit test for gst_controller_get_value_array().
3087 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
3089 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3091 Disable part of the gst_buffer_try_new_and_alloc test, because
3092 it can happily succeed on 64-bit systems where there's more address
3095 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3097 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3098 Add unit test for the improved caps checking from bug #421543.
3100 2007-05-21 Wim Taymans <wim@fluendo.com>
3102 * docs/design/part-synchronisation.txt:
3105 * gst/gstbin.c: (gst_bin_query):
3106 * plugins/elements/gstqueue.c: (apply_segment):
3112 2007-05-21 Wim Taymans <wim@fluendo.com>
3114 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3115 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3116 (gst_pad_configure_src):
3117 Added simple version of improved caps checking. It was previously
3118 assumed that a setcaps function would check the validity of the caps but
3119 people prefer us to check caps against the template automatically.
3122 2007-05-21 Wim Taymans <wim@fluendo.com>
3124 * libs/gst/base/gstbasetransform.h:
3125 Fix macro for locking/unlocking the transform lock.
3127 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
3129 * docs/plugins/tmpl/.cvsignore:
3132 2007-05-18 Edward Hervey <edward@fluendo.com>
3134 * plugins/elements/gstqueue.c: (gst_queue_loop):
3135 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3136 for the subtle art of warning a potentially blocking thread that it
3137 should check the source pad return value, and relay the information
3140 2007-05-18 Edward Hervey <edward@fluendo.com>
3142 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3143 Release the queue lock !
3145 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3147 * docs/libs/gstreamer-libs-sections.txt:
3148 Add the two new controller functions to the appropiate places.
3150 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3152 reviewed by: Stefan Kost <ensonic@users.sf.net>
3154 * libs/gst/controller/gstcontroller.c:
3155 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3156 (_gst_controller_get_property), (_gst_controller_set_property),
3157 (_gst_controller_init), (_gst_controller_class_init):
3158 * libs/gst/controller/gstcontroller.h:
3159 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3160 (gst_object_get_control_rate), (gst_object_set_control_rate):
3161 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3162 Add API that provides sync suggestion timestamps for elements that
3163 call gst_object_sync_values() from which those elements can subdivide
3164 their processing loop to get the best results for the controlled
3165 properties. For now it just suggests last_sync + control_rate as
3166 new timestamp but this will be improved in the future.
3168 While doing that change the control-rate property to a GstClockTime
3169 from guint and change it's meaning from samples to nanoseconds as
3170 the GstController doesn't know anything about sampling rate. Strictly
3171 speaking this breaks ABI but as the control-rate property didn't do
3172 anything in the past and as such couldn't be used this should be no
3175 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3177 reviewed by: Stefan Kost <ensonic@users.sf.net>
3179 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3180 (gst_controller_unset_all):
3181 * libs/gst/controller/gstcontrollerprivate.h:
3182 * libs/gst/controller/gstinterpolation.c:
3183 (gst_controlled_property_find_control_point_node):
3184 Save last synced value from the list to continue searching from there
3185 in future syncs. This speeds everything up a bit.
3187 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3189 reviewed by: Stefan Kost <ensonic@users.sf.net>
3191 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3192 (gst_control_point_find), (gst_controlled_property_new),
3193 (gst_control_point_free), (gst_controlled_property_free),
3194 (gst_controller_set), (gst_controller_set_from_list),
3195 (gst_controller_unset), (gst_controller_unset_all),
3196 (gst_controller_sync_values):
3197 * libs/gst/controller/gstcontroller.h:
3198 * libs/gst/controller/gstcontrollerprivate.h:
3199 * libs/gst/controller/gstinterpolation.c:
3200 (gst_controlled_property_find_control_point_node),
3201 (interpolate_none_get), (interpolate_trigger_get):
3202 Add a new private GstControlPoint struct which "inherits" from
3203 GstTimedValue to allow different interpolators to store internal
3204 values next to each control point. From the outside everything is
3205 still a GstControlPoint so we don't loose binary compatibility.
3206 Also fixup all the GValue handling to not leak GValues or list nodes.
3207 * tests/check/libs/controller.c: (GST_START_TEST):
3208 Free the list nodes and GValues in the controller_misc test.
3210 2007-05-17 Edward Hervey <edward@fluendo.com>
3215 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
3217 * gst/gstplugin.c: (gst_plugin_load_file):
3218 If we fail to load a plugin because of unresolved symbols or missing
3219 libraries and spew a warning to stderr, we may just as well mention
3220 which plugin it was that failed to load.
3222 2007-05-13 David Schleef <ds@schleef.org>
3224 * docs/Makefile.am: the gtk-doc makefile snippet correctly
3225 handles the case when ENABLE_GTK_DOC is false, and installs
3226 the prebuilt documentation. So gtk-doc subdirs are
3227 unconditionally enabled. Fixes: #349099.
3229 2007-05-13 David Schleef <ds@schleef.org>
3231 * gst/gstutils.h: Reword some documentation.
3233 2007-05-12 David Schleef <ds@schleef.org>
3235 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3236 do anything with the passed "module" parameter, so remove it.
3237 Allows removal of additional vestigal code.
3239 2007-05-12 David Schleef <ds@schleef.org>
3242 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3243 Switch to using g_stat() because it's more portable.
3245 2007-05-12 David Schleef <ds@schleef.org>
3248 Add GST_DISABLE_OPTION_PARSING, in order to disable option
3249 parsing for embedded systems.
3250 * gst/gstelementfactory.c:
3251 Allow gst_element_register() to be called with plugin==NULL.
3252 Did nobody notice that static elements were broken?
3254 2007-05-12 Wim Taymans <wim@fluendo.com>
3256 * tools/gst-launch.c: (event_loop):
3257 Give more interesting info when buffering starts and stops.
3258 Fix case where buffering starts but we fail to update the buffering flag
3259 because the target state is not PLAYING.
3261 2007-05-12 Wim Taymans <wim@fluendo.com>
3263 * plugins/elements/gstqueue.c: (gst_queue_init),
3264 (gst_queue_finalize), (update_time_level), (apply_segment),
3265 (apply_buffer), (gst_queue_locked_flush),
3266 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3267 (gst_queue_handle_sink_event), (gst_queue_chain),
3268 (gst_queue_push_one), (gst_queue_loop):
3269 * plugins/elements/gstqueue.h:
3270 Refactor an cleanup queue a bit.
3271 Do better time level calculations that also work when the srcpad is not
3273 Remove some unneeded debug lines.
3275 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3276 Added testcase for time level measurement.
3277 Try to make some stuff more racefree.
3279 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3281 * gst/gsturi.c: (gst_element_make_from_uri):
3282 Don't leak plugin feature.
3284 * tests/check/Makefile.am:
3285 * tests/check/gst/.cvsignore:
3286 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3287 Add brain-dead unit test.
3289 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3291 Patch by: Jeroen Wouters <woutersj at gmail com>
3293 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3294 Treat protocol strings in a case-insensitive way (#437563).
3296 2007-05-11 Michael Smith <msmith@fluendo.com>
3298 * gst/gstplugin.c: (gst_plugin_load_file):
3299 * gst/gstregistry.c: (gst_registry_scan_path_level):
3300 Don't print a g_warning for any failure to load a shared object.
3301 Instead, push this down into gstplugin.c, and warn _only_ if we
3302 failed to open the module (i.e. failure to link).
3303 Avoids warnings on normal, working, non-plugin .so files.
3305 2007-05-11 Stefan Kost <ensonic@users.sf.net>
3307 * gst/gstplugin.c (gst_plugin_load_file):
3308 * gst/gstregistry.c (GST_CAT_DEFAULT,
3309 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3310 Print a g_warning if there was an error when loading a plugins during
3311 registry scan. The shuld help beginners starting with gst-plugin
3314 2007-05-10 Wim Taymans <wim@fluendo.com>
3316 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3317 (update_time_level), (gst_queue_locked_flush),
3318 (gst_queue_handle_sink_event), (gst_queue_chain),
3319 (gst_queue_push_one), (gst_queue_loop):
3320 * plugins/elements/gstqueue.h:
3321 Be smarter when calculating the current amount of data in the queue by
3322 measuring the difference between start and end timestamps (in running
3323 time) inside the queue. Fixes #432876.
3324 API: GstQueue::pushing to notify elements that we are pushing data again
3325 since the running signal is rather broken for this purpose.
3327 2007-05-10 Stefan Kost <ensonic@users.sf.net>
3329 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3330 gst_queue_base_init, gst_queue_init):
3333 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
3335 * win32/common/libgstreamer.def:
3336 Add new exported functions.
3337 * win32/vs6/grammar.dsp:
3338 Use grammar pre-generated files.
3340 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3342 Based on patch by: Peter Kjellerstedt <pkj at axis com>
3345 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3347 * gst/gstutils.c: (gst_parse_bin_from_description):
3349 Maintain API and ABI when --disable-parse is used. Now that
3350 we have an appropriate error code, we can just return NULL and the
3351 appropriate error when gst_parse_launch() is used despite it having
3352 been disabled (#342564).
3354 * tests/check/Makefile.am:
3355 * tests/check/pipelines/.cvsignore:
3356 * tests/check/pipelines/parse-disabled.c:
3357 Make sure these functions exist and return NULL plus a GError when
3358 --disable-parse is used.
3360 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3362 * tests/benchmarks/complexity.c: (main):
3363 * tests/benchmarks/mass-elements.c: (main):
3364 Set a good example and don't leak messages.
3366 2007-05-06 Stefan Kost <ensonic@users.sf.net>
3368 * docs/gst/Makefile.am:
3369 * docs/libs/Makefile.am:
3370 Correct fixxrefs options.
3372 * docs/plugins/Makefile.am:
3373 * docs/plugins/gstreamer-plugins-docs.sgml:
3374 * docs/plugins/gstreamer-plugins-sections.txt:
3375 * plugins/elements/Makefile.am:
3376 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3377 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3378 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3379 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3380 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3381 _GstCapsFilterClass, trans_class):
3382 * plugins/elements/gstelements.c (name, rank, type, _elements):
3383 * plugins/elements/gstidentity.c
3384 (gst_identity_check_imperfect_timestamp,
3385 gst_identity_check_imperfect_offset):
3386 Document capsfilter and add doc-blurb to identity.
3388 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
3390 * libs/gst/controller/gstcontroller.c:
3391 (gst_controlled_property_set_interpolation_mode):
3392 * libs/gst/controller/gstinterpolation.c:
3393 Don't crash if someone tries to set an interpolation mode that
3394 is invalid or that isn't supported yet. Fixes #422295.
3396 * tests/check/libs/controller.c: (GST_START_TEST),
3397 (gst_controller_suite):
3398 Add a test case for the above.
3400 2007-05-03 Edward Hervey <edward@fluendo.com>
3402 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3403 Properly set the last_stop position on GstSegment. This will only happen
3404 if there is a buffer to push out.
3406 2007-05-03 Wim Taymans <wim@fluendo.com>
3408 * libs/gst/base/gstbasetransform.c:
3409 (gst_base_transform_buffer_alloc):
3410 always_in_place does not mean that the sink and source caps are the
3411 same! Make sure we don't blindly proxy the buffer_alloc in this case.
3413 2007-05-03 Wim Taymans <wim@fluendo.com>
3415 * docs/libs/gstreamer-libs-sections.txt:
3416 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3417 (gst_base_src_default_query), (gst_base_src_get_range):
3418 * libs/gst/base/gstbasesrc.h:
3419 API: gst_base_src_query_latency(). Added method so that subclasses can
3420 easily get the latency values of the base source class.
3422 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
3424 * tools/gst-inspect.c (print_implementation_info):
3427 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
3429 * tools/Makefile.am:
3430 * tools/gst-launch.1.in:
3431 Don't create a customised man page based on the host architecture,
3432 describe the default registry path generically. That way the man
3433 page is the same for all architectures and packagers have one
3434 multilib issue less to deal with. Fixes #434926.
3436 2007-05-02 Wim Taymans <wim@fluendo.com>
3439 Fix documentation as spotted by rg on IRC.
3441 2007-04-29 Stefan Kost <ensonic@users.sf.net>
3444 Improve docs for gst_element_{link,unlink}.
3446 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
3448 * docs/design/part-events.txt:
3449 * docs/design/part-overview.txt:
3453 * libs/gst/base/gstbasesink.c:
3454 Typo fixes; minor docs addition.
3456 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3458 * docs/gst/gstreamer-sections.txt:
3459 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3460 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3462 API: Add gst_uri_protocol_is_supported(), which checks if a sink
3463 or src that supports a given URI protocol exists.
3465 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3467 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3468 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3469 Set the location to NULL if "file://" is set as URI. Otherwise
3470 some random previous URI would still be set if "file://" is
3471 set on an already used filesink/filesrc.
3473 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3475 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3476 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3477 Special case the "file://" URI as as this is used by some
3478 applications to test with gst_element_make_from_uri if there's
3479 an element that supports the URI protocol.
3480 Also move the g_path_is_absolute() check for the location part
3481 of the URI to also check this for "file://localhost/bla" URIs.
3483 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
3485 * docs/gst/gstreamer-sections.txt:
3486 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3488 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3490 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3492 2007-04-26 Stefan Kost <ensonic@users.sf.net>
3494 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3495 (gst_registry_binary_load_pad_template),
3496 (gst_registry_binary_load_plugin),
3497 (gst_registry_binary_read_cache):
3498 * gst/gstregistrybinary.h:
3499 Implement no-mmap alternative for registry reading. Do code cleanups.
3500 Add more comments about avoiding strdups for all text data. Comments
3503 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3505 * gst/gstregistrybinary.h (GstBinaryPluginElement,
3506 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3507 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3508 Comment structs and reformat to fix the build (that stuff should go
3509 into a priv. header).
3511 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3513 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3514 (gst_registry_binary_load_feature):
3515 * gst/gstregistrybinary.h:
3516 Refactor so that we can implement multiple features. Add support for
3517 TypeFindFactory features.
3519 2007-04-24 Stefan Kost <ensonic@users.sf.net>
3521 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3524 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3526 2007-04-23 Stefan Kost <ensonic@users.sf.net>
3528 * gst/gstbin.c: (gst_bin_element_set_state),
3529 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3530 (bin_handle_async_done), (gst_bin_handle_message_func):
3531 Fix build with --gst-disable-gst-debug
3533 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
3535 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3536 Make sure streaming has finished before calling the ::stop() vfunc,
3537 since that vfunc might clear state which is being used in the
3538 streaming thread. This fixes a race that caused crashes in
3539 audioresample when shutting down a pipeline (#420106).
3541 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3543 * docs/gst/gstreamer-sections.txt:
3544 That was one byte missing.
3546 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3549 * docs/gst/gstreamer-sections.txt:
3551 * gst/gstconfig.h.in:
3552 * gst/gstobject.c: (gst_object_class_init),
3553 (gst_signal_object_class_init):
3555 2nd attempt to have a xml-less build as a joined effort of #413123
3558 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3560 * docs/design/draft-tagreading.txt:
3561 Added open issues/thoughts to draft.
3563 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3565 * gst/parse/grammar.tab.pre.c:
3566 * gst/parse/grammar.tab.pre.h:
3567 * gst/parse/lex._gst_parse_yy.pre.c:
3568 Update the prebuild parser sources.
3570 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3572 * gst/parse/Makefile.am:
3573 And now fix the building of the flex sources. Now everything should
3576 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3578 * gst/parse/Makefile.am:
3579 Now hopefully fix the build failures by setting proper rule
3580 dependencies and moving instead of copying.
3582 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3584 * tests/benchmarks/complexity.gnuplot:
3585 * tests/benchmarks/complexity.scm:
3586 * tests/benchmarks/mass-elements.gnuplot:
3587 * tests/benchmarks/mass-elements.scm:
3588 Total licensification.
3590 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3592 * gst/parse/Makefile.am:
3593 Fix the build by correcting the rule that gave wrong files to flex.
3595 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3597 * tests/benchmarks/complexity.c:
3598 * tests/benchmarks/mass-elements.c:
3599 Change licence to LGPL as granted by Benjamin and Andy.
3601 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3603 * gst/parse/Makefile.am:
3604 Add correct grammar.tab.h dependency if compiling without new enough
3605 flex. Fixes #431150.
3607 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3609 * gst/parse/Makefile.am:
3610 Fix typo and use outdated sources if the flex/bison sources are newer
3611 than the pregenerated ones but flex is too old. Print a warning in
3612 that case. This should fix the build on the build bot.
3614 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3616 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3617 * gst/parse/Makefile.am:
3618 * gst/parse/grammar.y:
3619 * gst/parse/parse.l:
3620 Make the parser reentrant and recursively callable. This requires flex
3621 >= 2.5.31, for older versions pregenerated sources are used as we
3622 can't bump the build dependency. Finally fixes #349180.
3624 * gst/gstparse.c: (gst_parse_launch):
3625 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3628 * docs/gst/Makefile.am:
3629 * docs/gst/Makefile.am:
3630 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3631 (__gst_parse_strfree), (__gst_parse_link_new),
3632 (__gst_parse_link_free), (__gst_parse_chain_new),
3633 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3634 (gst_parse_element_set), (gst_parse_free_link),
3635 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3636 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3637 (_gst_parse_launch):
3638 * gst/parse/grammar.tab.pre.h:
3639 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3640 (yy_get_previous_state), (yy_try_NUL_trans), (input),
3641 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3642 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3643 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3644 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3645 (_gst_parse_yypop_buffer_state),
3646 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3647 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3648 (yy_fatal_error), (_gst_parse_yyget_extra),
3649 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3650 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3651 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3652 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3653 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3654 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3655 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3656 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3657 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3658 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3659 (_gst_parse_yyfree):
3660 If the installed flex version is too old use pre-generated parser
3661 sources. These pre-generated parser sources are always updated when
3662 the actual flex/bison sources change but require everybody who wants
3663 to change something in the parser to have flex >= 2.5.31 installed.
3665 2007-04-18 Stefan Kost <ensonic@users.sf.net>
3667 * common/m4/gst-gettext.m4:
3668 * gst/gst-i18n-lib.h:
3669 Make --disable-nls to work
3671 2007-04-17 Wim Taymans <wim@fluendo.com>
3673 * gst/gstconfig.h.in:
3674 Revert previous change that broke the build.
3676 2007-04-17 Stefan Kost <ensonic@users.sf.net>
3680 * gst/gstconfig.h.in:
3681 Drop libxml2 dependency when building with
3682 --enable-binary-registry --disable-loadsave
3684 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
3686 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3687 (gst_registry_binary_read_cache):
3688 * gst/gstregistrybinary.h:
3689 Remove unnecessary <sys/mman.h> include which broke the win32 build
3690 with MingW; move includes from header file to .c file, even if the
3691 header file isn't installed; use g_strerror() where UTF-8 strings
3692 are expected, such as in GST_DEBUG messages.
3694 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3696 * docs/libs/gstreamer-libs-sections.txt:
3697 Remove bogus addition for API I didn't end up keeping.
3699 * libs/gst/base/gstbasesrc.h:
3700 Mention Since: 0.10.13 in the documentation.
3702 Add the API keyword to the previous ChangeLog entry.
3704 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3706 * docs/libs/gstreamer-libs-sections.txt:
3707 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3708 (gst_base_src_default_prepare_seek_segment),
3709 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3710 * libs/gst/base/gstbasesrc.h:
3711 Allow basesrc derived classes to execute seeks in other formats
3712 by providing a prepare_seek_segment vmethod. Sub-classes can choose
3713 to prepare the GstSegment in any format that their perform_seek method
3714 will be able to understand. The default implementation provides the
3715 old behaviour of attempting to convert the seek offsets to the
3716 configured native format.
3718 API: basesrc::prepare_seek_segment vmethod.
3720 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3722 * gst/gstelement.c: (gst_element_get_state_func):
3723 Don't output the same debug statement twice.
3725 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3726 (gst_adapter_peek), (gst_adapter_take_buffer):
3727 Optimise the case where we have buffers at the head of the queue that
3728 can be joined quickly (because they're contiguous sub-buffers) by
3729 merging them together rather than copying data out into new memory.
3731 * gst/parse/grammar.y:
3732 * tests/check/pipelines/parse-launch.c:
3733 Fix a leak in an error path for parse_launch, and add a check
3734 for it to the testsuite.
3736 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3738 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3739 Don't deadlock when releasing a pad - gst_pad_set_active may try
3740 and take the multiqueue lock too.
3742 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
3744 * gst/gsterror.c: (_gst_core_errors_init):
3746 API: add GST_CORE_ERROR_DISABLED (#392804).
3748 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3750 * docs/faq/gst-uninstalled:
3751 don't get empty paths on the PATH variables
3752 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3753 Don't format for the uncommon terminal width of 84 characters.
3755 2007-04-06 Wim Taymans <wim@fluendo.com>
3757 * gst/gstpipeline.c: (reset_stream_time),
3758 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3759 Only try to select a different pipeline clock when we went back to
3760 PAUSED and not when we merely got flushed.
3762 2007-04-05 Michael Smith <msmith@fluendo.com>
3764 * tools/gst-launch.1.in:
3765 fractions are better supported in gstreamer than ractions, so
3766 suggest using those.
3768 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
3770 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3774 Added Danish translation.
3776 2007-04-05 Wim Taymans <wim@fluendo.com>
3778 * libs/gst/base/gstbasesink.c:
3779 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3780 Fix leak caused when refusing newsegment after EOS.
3782 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3783 (gst_fake_sink_init), (gst_fake_sink_set_property),
3784 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3785 (gst_fake_sink_render), (gst_fake_sink_change_state):
3786 * plugins/elements/gstfakesink.h:
3787 Add num-buffers property to make the element generate EOS after a
3788 configurable amount of buffers.
3789 API: fakesink::num-buffers property.
3791 * tests/check/elements/fakesink.c: (GST_START_TEST),
3793 Fix GstBus leak in test.
3794 Test for fakesink num-buffers.
3796 2007-04-05 Wim Taymans <wim@fluendo.com>
3798 * libs/gst/base/gstbasesink.c:
3799 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3800 (gst_base_sink_change_state):
3801 Don't accept anything after an EOS, return UNEXPECTED instead.
3803 * tests/check/elements/fakesink.c: (GST_START_TEST),
3805 Unit test for new EOS behaviour.
3807 2007-04-05 Wim Taymans <wim@fluendo.com>
3809 * gst/gstelement.c: (gst_element_get_request_pad):
3810 Make padtemplates also work when they don't contain %s or %d.
3812 2007-04-05 Wim Taymans <wim@fluendo.com>
3814 * docs/gst/gstreamer-sections.txt:
3815 * gst/gstclock.c: (gst_clock_adjust_unlocked),
3816 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3818 Improve _adjust_unlocked() so that it overflows less.
3819 Add gst_clock_unadjust_unlocked to convert from external time to
3820 internal time based on calibration.
3821 Add some more debug.
3822 API: GstClock::gst_clock_unadjust_unlocked()
3824 2007-04-03 Wim Taymans <wim@fluendo.com>
3826 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3828 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3829 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3830 when releasing sink pad. Fixes #425400.
3832 2007-04-02 Stefan Kost <ensonic@users.sf.net>
3834 * docs/random/ensonic/dynlink.txt:
3835 More work on proposal for new core api.
3837 * docs/libs/gstreamer-libs-sections.txt:
3838 * libs/gst/base/gstbasetransform.h:
3839 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3841 * libs/gst/controller/gstcontroller.c:
3842 (on_object_controlled_property_changed),
3843 (gst_controller_sync_values),
3844 (gst_controller_set_interpolation_mode):
3845 * libs/gst/controller/gstcontroller.h:
3846 Less verbose logging add docs for unimplemented parts and correctly
3847 return when using unavailable parts.
3849 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3851 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3852 Move all the debug to the CLOCK category, and associate it with
3855 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3857 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3858 Make take_buffer a bit quicker by removing redundant checks
3859 caused by calling gst_adapter_take.
3861 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3863 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3866 * tests/check/Makefile.am:
3867 * tests/check/elements/.cvsignore:
3868 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3869 (GST_START_TEST), (multiqueue_suite):
3870 Add some dead simple unit tests for the 'multiqueue' element
3871 (some bits don't work yet and are disabled for now).
3873 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3875 * gst/gstelement.c: (gst_element_get_request_pad),
3876 (gst_element_class_get_request_pad_template):
3877 Make gst_element_get_request_pad() create request pads only for
3878 request pad templates and not for, say, sometimes pad templates.
3880 2007-03-28 Stefan Kost <ensonic@users.sf.net>
3882 * docs/design/draft-klass.txt:
3883 Add example that needs more thinking.
3885 * docs/design/draft-missing-plugins.txt:
3886 More thoughts about wrapper plugins.
3888 * docs/random/ensonic/embedded.txt:
3889 * docs/random/ensonic/profiling.txt:
3892 2007-03-25 Wim Taymans <wim@fluendo.com>
3894 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3895 (gst_base_src_loop):
3896 Only push the segment events in the PLAYING state for live sources.
3898 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
3900 * gst/gstpipeline.c: (gst_pipeline_change_state):
3901 Modify the clock distribution path in PAUSED->PLAYING so that we
3902 never attempt to choose a new clock unless we're actually leaving
3903 the PAUSED state for the first time. This prevents choosing a
3904 different clock when the state_change gets called for a 2nd time due
3905 to some element doing an async state change.
3907 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3909 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3910 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3911 (gst_pad_chain_unchecked), (gst_pad_push):
3912 Revert last commit. This needs some more thoughts.
3914 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3916 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3917 (gst_pad_chain_unchecked), (gst_pad_push):
3918 Check in set_caps if the caps are compatible with the pad and remove
3919 two functions that are redundant now. Fixes #421543.
3921 2007-03-22 Wim Taymans <wim@fluendo.com>
3923 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3924 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3925 Unref some more to make valgrind happy.
3927 2007-03-22 Wim Taymans <wim@fluendo.com>
3929 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3930 (gst_system_clock_id_wait_jitter),
3931 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3932 Fix anoying regression that survived a few releases. When adding an
3933 async entry while blocking on a sync entry, the sync entry will unblock
3934 but still be busy, so it should continue to wait instead of returning
3936 Add some comments here and there.
3938 * tests/check/gst/gstsystemclock.c: (mixed_thread),
3939 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3940 Add testcase for this.
3942 2007-03-22 Wim Taymans <wim@fluendo.com>
3944 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3945 Handle errors from the clock sync better, only UNSCHEDULED indicates a
3946 WRONG_STATE and can silently pause the task. All other cases should
3949 2007-03-22 Wim Taymans <wim@fluendo.com>
3951 Patch by: Ville Syrjala <syrjala at sci dot fi>
3953 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3954 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
3957 2007-03-21 Michael Smith <msmith@fluendo.com>
3959 * docs/pwg/advanced-types.xml:
3960 Fix some errors in the typefinding docs pointed out on irc.
3962 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
3964 * libs/gst/base/gstbasesrc.c:
3965 Clarify FIXME comment in the face of having added unlock_stop()
3967 2007-03-21 Wim Taymans <wim@fluendo.com>
3969 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3970 Prepare for release where we warn against possible app breakage in the
3971 case of live pipelines along with an env var to enable/disable live
3972 preroll mode (GST_COMPAT=[no-]live-preroll).
3974 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3976 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3977 So we should use correct constants for checking for None offset.
3979 2007-03-20 Wim Taymans <wim@fluendo.com>
3981 * docs/design/part-block.txt:
3982 Mention the fact that the newly switched element should be set to at
3985 2007-03-20 Wim Taymans <wim@fluendo.com>
3988 Fix compilation with registry disabled as spotted by Saur.
3990 2007-03-20 Wim Taymans <wim@fluendo.com>
3992 Patch by: Olivier Crete <tester at tester dot ca>
3994 * gst/gstelement.c: (gst_element_sync_state_with_parent):
3995 Look at the pending state too when syncing the element state to the
3996 parent. Fixes #420133.
3998 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
4000 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
4001 (gst_base_sink_change_state):
4002 * libs/gst/base/gstbasesink.h:
4003 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4004 (gst_base_src_default_event), (gst_base_src_unlock_stop),
4005 (gst_base_src_deactivate):
4006 * libs/gst/base/gstbasesrc.h:
4007 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
4008 for sub-classes to correctly clear any state they set trying to
4009 unlock, such as clearing out unlock commands from a command fd.
4010 API: basesrc::unlock_stop
4011 API: basesink::unlock_stop
4013 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
4014 (gst_fd_sink_render), (gst_fd_sink_unlock),
4015 (gst_fd_sink_unlock_stop):
4016 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
4017 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
4018 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
4020 Implement unlock_stop in fdsrc and fdsink.
4021 Implement seeking in fdsrc when a seekable fd is passed, as in
4022 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
4024 2007-03-19 Wim Taymans <wim@fluendo.com>
4026 Patch by: Evan Nemerson <evan at coeus dash group dot com>
4028 * gst/gstelement.c: (gst_element_class_init):
4029 Fix pad-added and pad-removed signal signatures so that the pad type is
4030 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
4032 2007-03-19 Wim Taymans <wim@fluendo.com>
4034 * docs/gst/gstreamer-sections.txt:
4035 Add new element field and method.
4037 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4038 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
4039 (gst_bin_recalc_state), (gst_bin_get_state_func),
4040 (gst_bin_element_set_state), (gst_bin_change_state_func),
4041 (gst_bin_continue_func), (bin_bus_handler),
4042 (bin_push_state_continue), (bin_handle_async_start),
4043 (bin_handle_async_done), (gst_bin_handle_message_func):
4044 Make async state changes a bit smarter by using new ASYNC_START and
4045 ASYNC_DONE messages. This reduces the number of times we run the state
4046 recalculation thread.
4047 Don't change state of element with a pending ASYNC_START message.
4048 Deprecate STATE_DIRTY messages.
4050 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
4051 (gst_element_get_state_func), (gst_element_continue_state),
4052 (gst_element_lost_state), (gst_element_set_state_func),
4053 (gst_element_change_state):
4055 Keep the state that was last set by the app in a new element field.
4056 Don't allow state changes when handling an element event.
4057 Post ASYNC_START and ASYNC_DONE messages.
4058 Change lost_state so that we go to PAUSED and wait for the parent to set
4059 us to PLAYING again (so latency calculation can be performed)
4060 Export gst_element_change_state() method so that subclasses can use it.
4061 API: gst_element_change_state()
4062 API: GST_STATE_TARGET
4064 * gst/gstpipeline.c: (gst_pipeline_class_init),
4065 (reset_stream_time), (gst_pipeline_change_state),
4066 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
4067 Using the new ASYNC_START message we can reset the base_time when
4068 needed. This can then be used to implement base_time redistribution in
4069 flushing seeks so that we can remove the explicit seek handling.
4070 Perform latency query and configuration when going to PLAYING.
4072 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4073 (gst_base_sink_query), (gst_base_sink_change_state):
4074 Post new ASYNC_START/ASYNC_DONE messages.
4076 * tests/check/generic/sinks.c: (GST_START_TEST):
4077 Fix test because the bin will not set the async element to PLAYING right
4080 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4081 Make the message check a little stronger.
4082 Handle ASYNC messages.
4084 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4085 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4086 Expect ASYNC_DONE messages.
4088 2007-03-19 Wim Taymans <wim@fluendo.com>
4090 * docs/gst/gstreamer-sections.txt:
4091 * gst/gstmessage.c: (gst_message_new_async_start),
4092 (gst_message_new_async_done), (gst_message_parse_info),
4093 (gst_message_parse_async_start):
4095 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4098 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
4100 * tools/gst-inspect.c:
4101 (print_plugin_automatic_install_info_codecs):
4102 Now that we don't check for the 'Codec' keyword any longer in the
4103 klass, we shouldn't spew a warning if the klass isn't a decoder or
4104 encoder (since it might be a Source/Network, for example).
4106 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
4108 * tools/gst-inspect.c:
4109 (print_plugin_automatic_install_info_codecs):
4110 Don't require decoder/demuxer/depayloader elements or
4111 encoder/muxer/paylader elements to have 'Codec' as part of their
4112 factory class string when introspecting a plugin's capabilities.
4113 draft-klass.txt mentions that it might be removed in future, and
4114 flump3dec doesn't have it as part of its class string, so chances
4115 are others might also not have it.
4117 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
4139 Update translations from translation project
4141 2007-03-14 Stefan Kost <ensonic@users.sf.net>
4143 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4144 (gst_child_proxy_set_property):
4145 Invert precondition check to be alike the ones in the mimiced gobject
4148 2007-03-13 Stefan Kost <ensonic@users.sf.net>
4150 * docs/design/draft-tagreading.txt:
4151 * docs/random/ensonic/audiobaseclasses.txt:
4152 Do some Architect work.
4154 * gst/gstobject.c: (gst_object_set_name):
4158 Add docs that point from gst_pad_get_range to gst_pad_pull_range
4160 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
4162 * gst/gstsystemclock.c: (gst_system_clock_init),
4163 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4164 Defer starting the async system clock thread until the first async
4165 wait is scheduled. Fixes #414986.
4167 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
4169 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4170 (gst_single_queue_free):
4171 Fix small leak (free GstSingleQueue structure too, not only contents).
4173 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
4175 * gst/gstbin.c:(gst_bin_add):
4176 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4177 * win32/common/libgstbase.def:
4178 * win32/common/libgstreamer.def:
4179 Add new exported functions.
4181 2007-03-09 Wim Taymans <wim@fluendo.com>
4183 * docs/plugins/gstreamer-plugins-sections.txt:
4186 2007-03-09 Wim Taymans <wim@fluendo.com>
4188 * docs/gst/gstreamer-sections.txt:
4189 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4191 Add metadata copy functions. Fixes #393099.
4192 API: gst_buffer_copy_metadata()
4194 * gst/gstutils.c: (gst_buffer_stamp):
4195 * libs/gst/base/gstbasetransform.c:
4196 (gst_base_transform_prepare_output_buffer):
4197 Use new metadata copy functions.
4199 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
4201 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4202 (gst_identity_init), (gst_identity_check_perfect),
4203 (gst_identity_check_imperfect_timestamp),
4204 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4205 (gst_identity_set_property), (gst_identity_get_property):
4206 * plugins/elements/gstidentity.h:
4207 Separate out check-imperfect-timestamp and check-imperfect-offset.
4208 Put back check-perfect as it was to keep compatibility.
4210 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
4212 * gst/gstelement.c: (gst_element_dispose):
4213 There's no need to warn if VOID_PENDING is not NONE here, as
4214 long as the state is NULL it's ok, and that's checked immediately
4217 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4219 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4220 Fix check for perfect stream to ignore buffers with -1
4221 offsets/offset ends when checking data contiguity.
4223 2007-03-08 Wim Taymans <wim@fluendo.com>
4225 * tools/gst-launch.c: (event_loop):
4226 Print INFO messages.
4228 2007-03-08 Wim Taymans <wim@fluendo.com>
4230 * libs/gst/base/gstbasetransform.c:
4231 (gst_base_transform_sink_eventfunc),
4232 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4233 (gst_base_transform_activate):
4234 * libs/gst/base/gstbasetransform.h:
4235 Add support for dropping buffers with custom GstFlowReturn.
4236 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4237 buffers or dropped buffers.
4239 * docs/libs/gstreamer-libs-sections.txt:
4240 docs for new custom return code.
4242 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4243 Use drop support in base class to implement drop-probability.
4245 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
4247 * gst/gst.c: (load_plugin_func):
4248 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4249 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4250 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4251 Remove newlines at end of debug log strings.
4253 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4255 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4256 Only post bus message at max, once per buffer received.
4258 2007-03-07 Wim Taymans <wim@fluendo.com>
4260 * docs/design/Makefile.am:
4261 * docs/design/part-synchronisation.txt:
4262 Add doc about synchronisation
4264 * docs/design/draft-latency.txt:
4265 * docs/design/part-TODO.txt:
4266 * docs/design/part-clocks.txt:
4267 * docs/design/part-events.txt:
4268 * docs/design/part-gstbus.txt:
4269 * docs/design/part-gstpipeline.txt:
4270 * docs/design/part-live-source.txt:
4271 * docs/design/part-messages.txt:
4272 * docs/design/part-overview.txt:
4273 * docs/design/part-streams.txt:
4274 * docs/design/part-trickmodes.txt:
4275 Documentation updates.
4277 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4280 Update the doap file.
4282 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4284 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4285 Rename non-perfect to imperfect for Mike and for the sanctity of the
4287 Also make sure bus message gets emitted for data-incontiguities.
4289 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4291 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4292 (gst_identity_start):
4293 * plugins/elements/gstidentity.h:
4294 Emit bus message if check-perfect is true and we encounter a
4295 non-perfect stream between 2 consecutive buffers.
4298 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4303 === release 0.10.12 ===
4305 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4308 releasing 0.10.12, "Inevitable Demise"
4310 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
4313 Version 0.10.11.2 (0.10.12 pre-release)
4314 Bump libtool versioning.
4316 2007-03-01 Stefan Kost <ensonic@users.sf.net>
4318 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4319 Log flow-names and not numbers.
4321 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4324 Convert to new AG_GST style.
4326 2007-02-28 Wim Taymans <wim@fluendo.com>
4328 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4329 Don't unref query twice.
4331 2007-02-28 Wim Taymans <wim@fluendo.com>
4333 * gst/gstvalue.c: (gst_value_transform_object_string),
4334 (_gst_value_initialize):
4335 Implement GstObject -> string transform so we print object names
4336 when serializing GValues containing GstObjects.
4338 2007-02-28 Wim Taymans <wim@fluendo.com>
4340 * docs/gst/gstreamer-sections.txt:
4341 Add new stuff to docs.
4343 2007-02-28 Wim Taymans <wim@fluendo.com>
4345 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4346 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4347 (gst_base_sink_change_state):
4348 Improve latency query code.
4349 Don't leak latency events.
4351 * tests/check/gst/gstbin.c: (GST_START_TEST):
4354 2007-02-28 Wim Taymans <wim@fluendo.com>
4356 * gst/gstelement.c: (gst_element_message_full),
4357 (gst_element_get_state_func):
4359 Improve docs a little. Added Since: for new macro.
4361 * gst/gstobject.c: (gst_object_sink):
4362 * gst/gstpipeline.c: (gst_pipeline_change_state),
4363 (gst_pipeline_set_new_stream_time):
4364 * gst/gstpipeline.h:
4365 Improve debugging and docs.
4367 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4370 2007-02-28 Wim Taymans <wim@fluendo.com>
4372 * gst/gstelement.c: (gst_element_message_full),
4373 (gst_element_set_locked_state), (gst_element_get_state_func),
4374 (gst_element_change_state):
4375 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4376 Documentation updates.
4377 Small code cleanups.
4379 * gst/gstmessage.c: (gst_message_new_info),
4380 (gst_message_parse_info):
4382 API: gst_message_new_info()
4383 API: gst_message_parse_info()
4384 Add INFO message create and parse code.
4386 2007-02-28 Wim Taymans <wim@fluendo.com>
4388 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4389 (bin_query_latency_done):
4390 Also report the live parameter of a latency query.
4392 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4394 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4395 Copy the current generic/states example from -base and adapt so
4396 we can use the exact same code everywhere.
4397 Check a STATES_IGNORE_ELEMENTS env var which can be used
4398 to ignore certain element factories for this test, which is
4399 what is being done in -base
4400 * tests/check/Makefile.am:
4401 Mention this environment variable.
4403 2007-02-27 Wim Taymans <wim@fluendo.com>
4405 * docs/gst/gstreamer-sections.txt:
4406 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4407 (gst_bus_timed_pop), (gst_bus_pop):
4409 API: gst_bus_timed_pop()
4410 Implement gst_bus_timed_pop() to do a blocking timed wait for a
4411 message to arrive on the bus.
4413 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4415 Two unit tests for new _timed_pop() function.
4417 2007-02-23 Wim Taymans <wim@fluendo.com>
4419 * gst/gstpipeline.c: (gst_pipeline_change_state),
4420 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4421 Don't ref a NULL clock in _provide_clock_func().
4422 Don't allow an INVALID delay.
4423 Don't try to calculate base_time with an invalid start_time.
4424 Also distribute and notify a NULL clock when it was selected.
4426 * tools/gst-launch.c: (event_loop):
4427 Don't crash when a NULL clock was selected in the pipeline.
4429 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
4431 * docs/design/Makefile.am:
4432 * docs/design/draft-missing-plugins.txt:
4433 * docs/random/draft-missing-plugins.txt:
4434 Some small updates: update plugin system identifier prefix
4435 ('gstreamer.net' to 'gstreamer'), mention our new install
4436 API in libgstbaseutils rather than libgimme-codec, add
4437 reference to the online docs.
4439 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4441 * win32/common/config.h:
4442 Pretty sure Bill never made a powerpc version. Powerpc hackers,
4443 use moap cl ci to only check in what is mentioned in the ChangeLog.
4445 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4447 * docs/gst/gstreamer-sections.txt:
4449 Fix up documentation to link to the correct GstGError section.
4450 Add GST_ELEMENT_INFO macro since someone else added a Info message.
4452 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4454 * tools/gst-launch.c: (event_loop):
4455 Make sure that we actually show the important message part of a
4457 No need to check if the gerror is not NULL to free; first of all
4458 g_free accepts NULL; and second the default error handler would
4459 segfault if gerror was NULL.
4461 2007-02-21 Wim Taymans <wim@fluendo.com>
4463 * docs/gst/gstreamer-sections.txt:
4464 Removed docs as well.
4466 2007-02-21 Wim Taymans <wim@fluendo.com>
4468 * gst/gstmessage.c: (gst_message_parse_duration):
4470 Remove new messages for release.
4472 2007-02-20 Wim Taymans <wim@fluendo.com>
4474 * docs/design/part-gstghostpad.txt:
4475 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4476 (gst_ghost_pad_new_full):
4477 Make the ghostpad a parent of the internal pad again for better backward
4478 compatibility. Don't write code that relies on this however.
4480 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4481 (gst_pad_link_check_hierarchy):
4482 Require that parents should be GstElements in the hierarchy check.
4484 2007-02-20 Wim Taymans <wim@fluendo.com>
4486 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4487 (gst_bin_change_state_func), (bin_query_min_max_init),
4488 (bin_query_latency_fold), (bin_query_latency_done),
4491 Implement latency query.
4493 2007-02-20 Wim Taymans <wim@fluendo.com>
4495 * docs/design/part-gstghostpad.txt:
4496 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4497 (gst_ghost_pad_internal_do_activate_push),
4498 (gst_ghost_pad_internal_do_activate_pull),
4499 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4500 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4501 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4502 Do not set the internal pad as a parent anymore so we can avoid
4503 hierarchy linking errors when the ghostpad has no parent yet. This also
4504 fixes failed activation because of unlinked internal pads, which in
4505 turn fixes the impossible case where you have to activate a pad before
4506 you can add it to a running element.
4509 * gst/gstpad.c: (pre_activate), (post_activate),
4510 (gst_pad_set_active), (gst_pad_activate_pull),
4511 (gst_pad_activate_push), (gst_pad_check_pull_range):
4512 Add some more debug info.
4513 Mark activation mode in pre_activate so that we don't try to activate in
4514 endless loops. Fixes #385084.
4516 2007-02-19 Wim Taymans <wim@fluendo.com>
4518 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4519 (gst_base_transform_check_get_range):
4520 Implement a checkgetrange function instead of relying on the default
4521 core behaviour that assumes we can operate in pull mode if we have a
4522 getrange function. First step at fixing #385084.
4524 2007-02-15 Stefan Kost <ensonic@users.sf.net>
4526 * gst/gstchildproxy.h:
4527 * libs/gst/base/gstbasesink.h:
4528 * libs/gst/base/gstbasesrc.h:
4529 * libs/gst/base/gstbasetransform.h:
4530 More docs coverage and some ChangeLog surgery (add missing names)
4532 2007-02-15 Wim Taymans <wim@fluendo.com>
4534 * docs/design/part-TODO.txt:
4535 * docs/design/part-activation.txt:
4536 * docs/design/part-block.txt:
4537 * docs/design/part-buffering.txt:
4538 * docs/design/part-clocks.txt:
4539 * docs/design/part-element-source.txt:
4540 * docs/design/part-events.txt:
4541 * docs/design/part-gstbin.txt:
4542 * docs/design/part-gstbus.txt:
4543 * docs/design/part-gstpipeline.txt:
4544 * docs/design/part-live-source.txt:
4545 * docs/design/part-messages.txt:
4546 * docs/design/part-overview.txt:
4547 * docs/design/part-qos.txt:
4548 * docs/design/part-query.txt:
4549 * docs/design/part-states.txt:
4550 * docs/design/part-trickmodes.txt:
4551 Some doc updates. Start renaming from stream_time to running_time where
4552 it was used wrongly.
4554 2007-02-15 Wim Taymans <wim@fluendo.com>
4556 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4557 Answer LATENCY query.
4559 2007-02-15 Wim Taymans <wim@fluendo.com>
4561 * tests/check/gst/gstevent.c: (event_probe), (test_event),
4565 2007-02-15 Wim Taymans <wim@fluendo.com>
4567 * gst/gstpad.c: (gst_pad_get_internal_links_default),
4568 (gst_pad_dispatcher):
4569 Improve debugging of default pad dispatcher and query functions.
4571 2007-02-15 Wim Taymans <wim@fluendo.com>
4573 * docs/gst/gstreamer-sections.txt:
4574 Remove old unused method.
4576 2007-02-13 Wim Taymans <wim@fluendo.com>
4578 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4581 2007-02-13 Wim Taymans <wim@fluendo.com>
4583 * docs/design/part-seeking.txt:
4586 * gst/gstsegment.c: (gst_segment_set_seek):
4587 Revert old bogus change that should make seeking work again.
4589 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4591 * docs/random/ensonic/dynlink.txt:
4592 * docs/random/ensonic/interfaces.txt:
4593 * docs/random/ensonic/receipies.txt:
4594 Possible dynamic reconnection api, plus some type fixes the other two
4597 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
4599 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4600 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4601 Also check for an absolute path following file:// in the filesrc
4602 element. Remove redundant check and call g_path_is_absolute() on the
4605 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4607 * docs/design/draft-klass.txt:
4608 Add existing category analysis.
4611 Fix doc example, framerate is a fraction.
4613 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4616 * docs/gst/Makefile.am:
4617 * docs/gst/gstreamer-sections.txt:
4618 * docs/libs/Makefile.am:
4619 Erm, forgot a bunch of --extra-dir.
4621 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4624 * docs/gst/Makefile.am:
4625 * docs/libs/Makefile.am:
4626 * docs/plugins/Makefile.am:
4627 Add crossreferences to glib/gobject docs.
4629 2007-02-12 Wim Taymans <wim@fluendo.com>
4631 * docs/design/draft-latency.txt:
4634 * docs/libs/gstreamer-libs-sections.txt:
4635 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4636 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4637 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4638 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4639 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4640 (gst_base_sink_get_position), (gst_base_sink_query),
4641 (gst_base_sink_change_state):
4642 * libs/gst/base/gstbasesink.h:
4643 API: gst_base_sink_query_latency() to let subclasses query the upstream
4645 API: gst_base_sink_get_latency() to let subclasses query the configured
4646 latency in the sink.
4647 Implement query and set latency.
4649 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4650 don't continue preroll when we are flushing. Fixes #405284.
4652 * tests/check/pipelines/stress.c: (change_state_timeout),
4653 (quit_timeout), (GST_START_TEST), (stress_suite):
4656 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
4658 Patch by: René Stadler <mail at renestadler de>
4660 * docs/gst/gstreamer-sections.txt:
4661 * gst/gsttaglist.c: (_gst_tag_initialize):
4663 API: add GST_TAG_REFERENCE_LEVEL (#403597).
4665 2007-02-11 Stefan Kost <ensonic@users.sf.net>
4667 * docs/libs/Makefile.am:
4668 Fix path to core docs.
4670 * gst/gstbin.c: (gst_bin_get_by_interface),
4671 (gst_bin_iterate_all_by_interface):
4672 Refix docs by also renaming 'interface' to 'iface' in implementation.
4674 * docs/gst/gstreamer-sections.txt:
4676 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4677 * gst/gstchildproxy.h:
4678 * gst/gstelementfactory.c:
4679 * gst/gstpadtemplate.h:
4680 * libs/gst/controller/gstcontroller.c:
4681 (gst_controlled_property_new):
4684 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
4686 * gst/gstbin.h:(gst_bin_get_by_interface),
4687 (gst_bin_iterate_all_by_interface):
4688 Replace interface parameter name by iface as interface is
4689 a reserved keyword in Visual Studio for C++ projects so it removes
4690 a build error for application developpers using VS.
4691 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4692 Fix a bug on Windows in uri format check. Now the prefix checked
4693 is file:// and next we check if the path after file:// is absolute.
4694 * win32/common/libgstbase.def:
4695 * win32/common/libgstdataprotocol.def:
4696 * win32/common/libgstgstreamer.def:
4697 Add new exported functions.
4699 2007-02-09 Andy Wingo <wingo@pobox.com>
4701 * tests/check/pipelines/simple-launch-lines.c
4702 (simple_launch_lines_suite, test_tee): Disable tee test until I
4703 have time to fix it :-(
4705 * tests/check/Makefile.am (noinst_HEADERS):
4706 * tests/check/libs/libsabi.c:
4707 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4708 * tests/check/gst/gstabi.c:
4709 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4711 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4712 tests for push and pull tee behavior.
4714 * plugins/elements/gsttee.h:
4715 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4716 mark as deprecated as well as unimplemented. It was a crack idea.
4717 Add support for tee operating in pull mode, off by default.
4719 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4720 normal-case logs down to LOG, raise errors to WARNING.
4721 (gst_registry_xml_read_cache): Don't log before calling a function
4724 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4725 exit (registry finalize).
4726 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4727 DEBUG log when we emit signals that people don't even have the
4728 chance to connect to.
4729 (gst_registry_scan_path_level): Less logging in the normal case.
4731 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4733 Patch by: Michal Benes <michal dot benes at itonis dot tv>
4735 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4736 Correctly generate EOS for non-seekable files. We don't have a total
4737 length for them and would get an unexpected end of file if we only
4738 special-cased for regular files. (Fixes: #404569)
4740 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4742 * tests/check/elements/filesrc.c: (GST_START_TEST),
4744 Add unit test for the GstURIHandler interface in filesrc. This also
4745 tests the newly added file://localhost/foo/bar support.
4747 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
4749 * gst/gstelementfactory.h:
4750 The klass string is not a hierarchy. Add reference to the design doc
4751 for more information and common types.
4753 2007-02-02 Wim Taymans <wim@fluendo.com>
4755 * gst/gstquery.c: (gst_query_new_latency):
4756 Remove old structure field.
4758 2007-02-02 Stefan Kost <ensonic@users.sf.net>
4760 * tools/gst-launch.1.in:
4761 Give example for network streaming (#351998)
4763 2007-02-02 Wim Taymans <wim@fluendo.com>
4765 * docs/gst/gstreamer-sections.txt:
4766 Add docs for new methods.
4768 * gst/gstevent.c: (gst_event_new_latency),
4769 (gst_event_parse_latency):
4771 Add new LATENCY event to configure latency in a pipeline.
4772 API: gst_event_new_latency
4773 API: gst_event_parse_latency
4775 * gst/gstmessage.c: (gst_message_new_buffering),
4776 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4777 (gst_message_new_latency), (gst_message_parse_buffering),
4778 (gst_message_parse_lost_preroll):
4780 Added messages used in draft-latency.
4781 API: gst_message_new_lost_preroll
4782 API: gst_message_parse_lost_preroll
4783 API: gst_message_new_prerolled
4784 API: gst_message_new_latency
4786 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4787 (gst_query_parse_latency):
4789 Implemented new latency query as in design doc.
4790 API: gst_query_new_latency
4791 API: gst_query_set_latency
4792 API: gst_query_parse_latency
4794 2007-02-02 Wim Taymans <wim@fluendo.com>
4796 * docs/design/draft-latency.txt:
4797 Slight redesign to allow for dynamic latency adjustments.
4799 * docs/design/part-negotiation.txt:
4802 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4804 reviewed by: Wim Taymans <wim@fluendo.com>
4806 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4807 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4808 Allow file://localhost/foo/bar URLs and correctly fail for every other
4809 hostname that one sets. This was gnomevfssrc is linked for those if
4810 installed as it can handle it (#403172)
4812 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4814 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4816 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4817 (unref_data), (gst_collect_pads_add_pad_full):
4818 * libs/gst/base/gstcollectpads.h:
4819 Don't put the previously added destroy notify in the GstCollectData
4820 struct as all it's padding is already used and we don't want to break
4821 ABI. Instead put in the pad's GObject data for now. This should be
4822 cleaned up for 0.11 (#402393).
4824 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4826 reviewed by: Wim Taymans <wim@fluendo.com>
4828 * docs/libs/gstreamer-libs-sections.txt:
4829 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4830 (unref_data), (gst_collect_pads_add_pad),
4831 (gst_collect_pads_add_pad_full):
4832 * libs/gst/base/gstcollectpads.h:
4833 API: Add function to specify a destroy notification for custom
4834 GstCollectData when adding new pads in GstCollectPads (#402393).
4836 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
4839 Update Swedish translation (#378255).
4841 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4843 * docs/design/draft-klass.txt:
4844 Fix the previous change, this is a list of categories and not a hierarchy.
4846 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4848 * docs/design/draft-klass.txt:
4849 Add info about how to get a list of used classes.
4851 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
4853 * plugins/elements/gsttypefindelement.c:
4854 (gst_type_find_element_chain_do_typefinding),
4855 (gst_type_find_element_change_state):
4856 Don't leak found caps in chain function (no idea why that never
4857 showed up as a leak anywhere).
4859 2007-01-30 Stefan Kost <ensonic@users.sf.net>
4862 Fix and expand GstPluginDesc API docs.
4864 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4867 * gst/gstelementfactory.c:
4868 * gst/gstpadtemplate.h:
4871 * libs/gst/controller/gstcontroller.c:
4872 (gst_controlled_property_new):
4873 * tests/examples/controller/audio-example.c:
4876 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4879 comment about refining the xml deps
4882 comments about moving away from jade for docs
4885 recommit the ifdefs to use the binary registry
4887 * gst/gstbin.c: (gst_bin_change_state_func):
4888 this break is obsolete
4890 * gst/gstelementfactory.h:
4891 better GST_ELEMENT_DETAILS docs, add comment about translation
4896 * gst/gstobject.c: (gst_signal_object_get_type):
4897 add G_UNLIKELY as usual
4899 * gst/gstpad.c: (gst_pad_event_default):
4900 add fall trhu comment
4902 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4903 (gst_registry_binary_initialize_magic),
4904 (gst_registry_binary_save_string),
4905 (gst_registry_binary_save_pad_template),
4906 (gst_registry_binary_save_feature),
4907 (gst_registry_binary_save_plugin),
4908 (gst_registry_binary_write_cache),
4909 (gst_registry_binary_check_magic),
4910 (gst_registry_binary_load_pad_template),
4911 (gst_registry_binary_load_feature),
4912 (gst_registry_binary_load_plugin),
4913 (gst_registry_binary_read_cache):
4914 comment typo and formatting
4916 * gst/gstutils.c: (gst_element_state_get_name),
4917 (gst_element_state_change_return_get_name):
4918 remove obsolete breaks
4920 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4921 add FIXME 0.11 and remove cpp comment
4923 2007-01-29 Edward Hervey <edward@fluendo.com>
4925 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4926 Fix print statement in an even more portable way.
4928 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
4930 * docs/gst/gstreamer-sections.txt:
4932 API: add GST_ROUND_DOWN_* macros (#401781).
4934 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
4936 * docs/gst/gstreamer.types.in:
4937 * gst/gstregistry.c: (gst_registry_class_init):
4938 Document registry signals and make gtk-doc pick them up (#401381).
4940 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4942 * docs/pwg/building-testapp.xml:
4943 Add some audioconverts and audioresample to the pipeline, and some
4944 more comments and error handling.
4946 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4948 * docs/manual/manual.xml:
4952 2007-01-26 Wim Taymans <wim@fluendo.com>
4954 * gst/gstcaps.c: (gst_static_caps_get):
4955 Init caps flags too.
4957 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
4959 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4961 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4962 If not using mmap'ed files try to seek to the end instead of the
4963 start to determine whether we can seek at all. This fixes the case
4964 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4965 seeks for everything afterwards fail. Fixes #400656
4967 2007-01-25 Wim Taymans <wim@fluendo.com>
4969 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4970 Add some refcount debugging.
4971 Make gst_static_caps_get threadsafe, which is needed when autoplugging
4972 in multiple streaming threads.
4974 2007-01-25 Wim Taymans <wim@fluendo.com>
4976 Patch by: David Schleef <ds at schleef dot org>
4978 * docs/libs/gstreamer-libs-sections.txt:
4979 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4980 * libs/gst/base/gstadapter.h:
4981 API: gst_adapter_copy() that can reduce the amount of memcpy when
4982 getting data from the adapter. Fixes #388201.
4984 2007-01-25 Edward Hervey <edward@fluendo.com>
4986 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4987 In print statements, "%x" is for guint. Fixes build on macosx.
4989 2007-01-24 Edward Hervey <edward@fluendo.com>
4991 * plugins/elements/gstmultiqueue.c:
4992 (gst_multi_queue_loop):
4994 (single_queue_overrun_cb), (single_queue_underrun_cb),
4995 (single_queue_check_full), (gst_single_queue_new):
4996 Implement single queue growth system.
4997 This uses the extra-size properties, and will grow single queues by
4998 that much if one goes full whereas there are others empty. This is
4999 called extra-mode in the code.
5000 When a single queue's levels go back below the initial max-size
5001 limits, it is no longer in extra-mode. This is to ensure we don't
5002 consume too much memory.
5005 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
5007 * gst/gst.c: (gst_init_get_option_group):
5008 Make warning about late g_thread_init() calls a bit more explicit,
5009 so that it's more obvious to application developers what they need
5010 to do if a user files a bug against their application.
5012 2007-01-22 Edward Hervey <edward@fluendo.com>
5014 * plugins/elements/gstmultiqueue.c:
5015 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
5016 Remove previous hack of unsetting the flushing flag for the source pad
5017 instead of activating it. Instead, fix the source pad activate function
5018 so that it no longer depends on having a parent set or not.
5020 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
5022 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
5024 * docs/manual/basics-bus.xml:
5025 Fix example code, gst_element_unref() doesn't exist any longer.
5027 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
5029 Patch by: Mark Nauwelaerts <manauw at skynet be>
5032 Fix two docs typoes (#399094).
5034 2007-01-19 Edward Hervey <edward@fluendo.com>
5036 * docs/faq/gst-uninstalled:
5037 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
5038 depending on libgstbaseutils can work in uninstalled environment.
5040 2007-01-18 Stefan Kost <ensonic@users.sf.net>
5043 * gst/gsttagsetter.c:
5044 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
5045 statement for new tag.
5047 2007-01-17 Edward Hervey <edward@fluendo.com>
5049 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
5050 When dynamically creating single queues, activate sinkpad before adding
5052 We should be doing the same thing for the source pad, but we can't
5053 since it would call a method which needs the parent to be set in order
5054 to work propertly. Instead of activating the source pad, we just unset
5055 the flushing flag, which is the minimal requirement for adding a pad
5056 to an element in a state greater than READY.
5058 2007-01-17 Edward Hervey <edward@fluendo.com>
5060 * docs/faq/gst-uninstalled:
5061 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
5064 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
5066 * tests/check/gst/gstabi.c:
5067 * tests/check/gst/struct_hppa.h:
5068 * tests/check/libs/libsabi.c:
5069 * tests/check/libs/struct_hppa.h:
5070 Add ABI structs for HPPA (see #393796).
5072 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
5074 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5075 Actually write ABI structs to the file specified in the GST_ABI
5076 environment variable, as the message we print claims we would.
5078 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5080 * tests/check/gst/gsttask.c:
5083 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5085 * gst/gsttaglist.c: (_gst_tag_initialize):
5086 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5087 previous two entries.
5089 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5091 * docs/gst/gstreamer-sections.txt:
5092 * gst/gsttaglist.c: (_gst_tag_initialize):
5094 Add tag support for beat-per-minute.
5096 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5098 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5099 (gst_registry_binary_initialize_magic),
5100 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5101 (gst_registry_binary_save_pad_template),
5102 (gst_registry_binary_save_feature),
5103 (gst_registry_binary_save_plugin),
5104 (gst_registry_binary_write_cache),
5105 (gst_registry_binary_check_magic),
5106 (gst_registry_binary_load_pad_template),
5107 (gst_registry_binary_load_feature),
5108 (gst_registry_binary_load_plugin),
5109 (gst_registry_binary_read_cache):
5110 * gst/gstregistrybinary.h:
5111 Use glib types, cleanup comments, impement interfaces and uri-types.
5113 2007-01-13 Andy Wingo <wingo@pobox.com>
5115 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5116 getrange() to return buffers with other caps, while we fix
5117 demuxers and typefind, or otherwise change part-negotiation.txt.
5119 2007-01-12 Andy Wingo <wingo@pobox.com>
5121 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5122 Factor start/stop into this private function instead of partially
5123 in activate functions and partially in the change_state function.
5124 Fixes setup before the element has changed from READY->PAUSED, as
5125 is the case in pull-mode pipelines.
5126 (gst_base_transform_sink_activate_push)
5127 (gst_base_transform_src_activate_pull): Refactor to use
5128 gst_base_transform_activate().
5129 (gst_base_transform_change_state): Removed, not needed any more.
5131 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5132 Truncate before fixating.
5134 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5135 Don't set_caps() if the result of fixating is ANY, as it's not
5136 supported, and not necessary in the case of a link with no
5137 template caps on either side. Fixes tests/check/libs/basesrc in
5138 some pull-mode tests.
5140 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5141 (gst_base_transform_init, gst_base_transform_sink_activate_push)
5142 (gst_base_transform_src_activate_pull):
5143 Track the activation mode.
5144 (gst_base_transform_setcaps): In pull mode, when activating the
5145 src pad, after activating the sink pad, activate the sink pad's
5146 peer, as discussed in part-negotiation.txt.
5148 * libs/gst/base/gstbasesrc.h:
5149 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5150 vmethod, as in basesink.
5152 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5154 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5155 mode, first proxy the setcaps to the peer pad.
5156 (gst_base_sink_pad_fixate): Add a fixate function that calls the
5158 (gst_base_sink_default_activate_pull): Rename from
5159 gst_base_sink_activate_pull.
5160 (gst_base_sink_negotiate_pull): New function, performs negotiation
5161 in pull mode before calling ::activate_pull().
5162 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5163 vmethod instead of the default implementation. I have no idea how
5164 this worked before. Negotiate before calling activate_pull.
5166 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5167 sink pads in pull mode. In addition to being correct, fixes
5168 filesrc ! decodebin ! identity ! fakesink.
5169 (gst_pad_get_range, gst_pad_pull_range): Don't call
5170 gst_pad_set_caps() if the caps changes; instead error out with
5171 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5173 2007-01-12 Andy Wingo <wingo@pobox.com>
5175 * docs/design/part-negotiation.txt: Update with more policy.
5177 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5179 * libs/gst/check/gstbufferstraw.h:
5180 * libs/gst/check/gstcheck.h:
5181 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5184 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5186 * tests/check/Makefile.am:
5187 * tests/check/gst/.cvsignore:
5188 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5189 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5190 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5191 (GST_START_TEST), (gst_tag_setter_suite):
5192 Add minimal unit test for beforementioned GstTagSetter bug.
5194 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5196 Patch by: René Stadler <mail at renestadler dot de>
5198 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5199 gst_tag_list_merge() returns a new list, so it's not the best idea
5200 to ingore its return value. Effectively meant that tags could only
5201 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5202 Also add function guard to require a non-NULL taglist as input (has
5203 always been so due to gst_tag_list_copy(), just making it explicit).
5205 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5207 * docs/random/draft-missing-plugins.txt:
5208 Some additions: mention new API that is supposed to be used at the
5209 various stages; short blob about new gst-inspect introspection
5210 option; mention potential future problem with plugins that have
5211 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5213 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5215 * tools/gst-inspect.c:
5216 (print_plugin_automatic_install_info_codecs),
5217 (print_plugin_automatic_install_info_protocols),
5218 (print_plugin_automatic_install_info), (main):
5219 Add --print-plugin-auto-install-info option to gst-inspect, so we can
5220 introspect plugin files and get machine-parsable output that corresponds
5221 to the last bit of the missing-plugin installer string (small gotcha:
5222 doesn't take into account ranks).
5224 2007-01-11 Stefan Kost <ensonic@users.sf.net>
5227 * docs/gst/gstreamer-sections.txt:
5229 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5230 (gst_registry_lookup_locked):
5231 * gst/gstregistry.h:
5232 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5233 (gst_registry_binary_initialize_magic),
5234 (gst_registry_binary_save_string),
5235 (gst_registry_binary_save_pad_template),
5236 (gst_registry_binary_save_feature),
5237 (gst_registry_binary_save_plugin),
5238 (gst_registry_binary_write_cache),
5239 (gst_registry_binary_check_magic),
5240 (gst_registry_binary_load_pad_template),
5241 (gst_registry_binary_load_feature),
5242 (gst_registry_binary_load_plugin),
5243 (gst_registry_binary_read_cache):
5244 * gst/gstregistrybinary.h:
5245 * gst/gstregistryxml.c: (load_feature),
5246 (gst_registry_xml_read_cache):
5247 commit binary registry (disabled by default, see #359653)
5249 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5251 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5252 Fix 'make check' too.
5254 2007-01-10 Andy Wingo <wingo@pobox.com>
5256 * docs/design/part-negotiation.txt: Fix a typo, add a couple
5259 * docs/design/part-negotiation.txt: Update with, um, one way that
5260 pull-mode negotiation might work?
5263 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5264 that the pad must be a src pad; makes sense to call it the other
5265 way in pull mode, and the logic is symmetric anyway.
5267 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
5269 * plugins/elements/gstfilesink.c:
5270 Include <stdio.h> for fseeko().
5272 2007-01-10 Wim Taymans <wim@fluendo.com>
5276 Reserve LATENCY event.
5278 2007-01-09 Wim Taymans <wim@fluendo.com>
5280 * docs/design/draft-latency.txt:
5283 2007-01-09 Wim Taymans <wim@fluendo.com>
5285 * docs/design/draft-latency.txt:
5289 * gst/gststructure.c:
5293 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
5295 * tests/check/.cvsignore:
5296 Ignore test-registry.xml as well.
5298 2007-01-09 Wim Taymans <wim@fluendo.com>
5300 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5301 unref data at the end when we are done with the pad.
5303 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5305 * docs/gst/gstreamer-sections.txt:
5306 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5307 (init_post), (gst_deinit), (gst_update_registry):
5309 API: add gst_update_registry() (#391296).
5311 * tests/check/Makefile.am:
5312 * tests/check/gst/gstregistry.c:
5313 * tests/check/gst/.cvsignore:
5314 Simple unit test for the above.
5316 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5318 * gst/gstregistry.c: (gst_registry_scan_path_level):
5319 Plugin extension on HP-UX is .sl, add that to the list of approved
5320 plugin extensions (see #393796).
5322 * tests/check/gst/gstpad.c: (GST_START_TEST):
5323 ulong => gulong. Fixes compilation with HP-UX compiler.
5325 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5326 Fix compilation if valgrind headers are not available.
5328 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
5330 * win32/common/libgstreamer.def:
5331 Add new exported function.
5332 * win32/vs6/libgstbase.dsp:
5333 Add gstdataqueue.c to the build.
5334 * win32/vs6/libgstcoreelements.dsp:
5335 Add gstmultiqueue.c to the build.
5337 2007-01-06 Andy Wingo <wingo@pobox.com>
5339 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5340 activate_pull(), providing for a way to specialize the process of
5341 spawning a thread to pull on the sink pad. There is a default
5344 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5345 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5346 (gst_base_sink_init): Renamed pad activation functions (inserting
5347 "_pad" in their names). Refactor to use the new activate_pull
5348 vmethod, as appropriate.
5349 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5350 default activate_pull function to start a task pulling from the
5351 sink pad, as before.
5353 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5354 on the pads if necessary, as in push()/chain(). Update docs.
5355 Shouldn't affect existing pull() usage as it is currently only
5356 being used on buffers without caps.
5358 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5360 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5362 Call g_thread_init() first thing in gst_init() / gst_check_init().
5363 When initialisation is done via gst_init_get_option_group() and
5364 GOption parsing, issue a warning if the GLib thread system has not
5365 been initialised yet by the time gst_init_get_option_group() is
5366 called, as it's quite likely other GLib functions such as
5367 g_option_context_new() have been called already then, and
5368 g_thread_init() must be called before any other GLib function. The
5369 application in question must be fixed in that case, since memory
5370 corruption might happen otherwise.
5371 We issue the warning because even if the GLib folks decide to work
5372 around the problem on their end in future, this is still an issue
5373 with all GLib versions >= 2.10.0, so we should warn until we depend
5374 on a GLib version we know to be safe.
5375 Update documentation as well.
5378 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5380 * tools/gst-inspect.c: (main):
5381 * tools/gst-launch.c: (main):
5382 * tools/gst-typefind.c: (main):
5383 * tools/gst-xmlinspect.c: (main):
5384 Call g_thread_init() really really early, before any other GLib
5385 function (see #342564 and recent discussion on gtk-devel-list).
5387 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5389 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
5391 * gst/gst_private.h:
5392 * gst/gstconfig.h.in:
5394 On win32, all the __declspec stuff for symbol exporting is
5395 apparently only needed with MSVC, but doesn't work with MingW.
5396 Fixes compilation with MingW and #391909.
5398 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5400 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5401 Change some GST_ERROR_OBJECT that aren't really errors to
5402 GST_WARNING_OBJECT in order to reduce terminal spam.
5404 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5406 * tests/check/Makefile.am:
5407 disable test again, as there seem to be still race problems
5409 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5411 * tests/check/Makefile.am:
5412 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5413 (GST_START_TEST), (queue_suite):
5414 enable queue test again, add tests for the leaky behaviour
5416 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
5419 * tests/examples/Makefile.am:
5420 Compile adapter test/example only if the required headers are
5421 available (fixes #391915).
5423 2007-01-01 David Schleef <ds@schleef.org>
5426 Restore the previous signal handler for SIGSEGV instead of
5427 setting to default, since we may have stolen it away from
5428 someone. (i.e., Mono)
5430 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5432 * docs/random/draft-missing-plugins.txt:
5433 Some small additions and clarifications.
5435 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5437 * gst/gstregistryxml.c: (gst_registry_save_escaped):
5438 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5439 since that can lead to random memory corruptions and crashes
5440 (may or may not be related to #383244, #386711, and #386711).
5442 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5444 * tests/check/.cvsignore:
5445 * tests/check/Makefile.am:
5446 sync .cvsignome and CLEANFILES
5448 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5450 * tests/check/Makefile.am:
5453 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5455 * docs/design/part-states.txt:
5456 two tiny additional comments
5458 * gst/gststructure.c:
5461 * tests/check/Makefile.am:
5462 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5464 disable test for now, unless it gets fixed
5466 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5468 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5470 fix race in underrun test
5472 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5474 * tests/check/elements/.cvsignore:
5477 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5479 try to narrow test failure
5481 2006-12-21 David Schleef <ds@schleef.org>
5483 * plugins/elements/gstfakesrc.c:
5484 Use g_random_int_range(), since it produces better random
5485 numbers in a range than almost-correct floating point code.
5487 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5489 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5490 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5491 (gst_check_teardown_sink_pad):
5492 do not automatically (de)activate pads
5494 * tests/check/Makefile.am:
5495 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5496 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5497 add new, yet simple tests for queue
5499 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5500 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5501 * tests/check/elements/filesrc.c: (cleanup_filesrc),
5503 * tests/check/elements/identity.c: (cleanup_identity):
5504 consistent pad (de)activation
5506 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
5508 Patch by: Sebastian Dröge <slomo ubuntu com>
5510 * libs/gst/base/gstcollectpads.c:
5511 Fix two doc typos (#387866).
5513 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5515 * docs/manual/advanced-dparams.xml:
5516 Fix typo (g_object_control_properties() doesn't exist).
5518 2006-12-19 Edward Hervey <edward@fluendo.com>
5520 * gst/gstsegment.c: (gst_segment_set_seek):
5521 Fine tune the cases where the segment start/stop values are really
5523 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5524 Add tests for the return values of gst_segment_set_seek().
5526 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5531 * plugins/elements/gstqueue.c: (gst_queue_class_init),
5533 Fix incorrect documentation and flesh it out a bit more.
5534 Set default values for the max properties on the GParamSpec as well,
5535 so it shows up correctly in gst-inspect.
5537 2006-12-18 Stefan Kost <ensonic@users.sf.net>
5539 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5540 Correct docs of queue, add more detail and crosslink it more.
5542 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5544 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5545 Print additional debug info when the stream isn't perfectly
5546 timestamped; don't try to use invalid durations.
5548 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5550 * docs/design/Makefile.am:
5551 Dist new design docs.
5553 2006-12-16 Wim Taymans <wim@fluendo.com>
5555 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5557 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5558 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5559 (gst_collect_pads_stop), (gst_collect_pads_event),
5560 (gst_collect_pads_chain):
5561 * libs/gst/base/gstcollectpads.h:
5562 Add refcounting to the collectpads data so we can track when it's safe
5563 to free the data. Fixes #383382.
5565 2006-12-15 Wim Taymans <wim@fluendo.com>
5567 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5568 (gst_collect_pads_remove_pad):
5569 Automatically activate/deactivate pads when they are added to a
5570 started/stoped collectpads.
5572 2006-12-15 Wim Taymans <wim@fluendo.com>
5574 * gst/gstelement.c: (gst_element_add_pad):
5575 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5576 * gst/gstpad.c: (gst_pad_init):
5577 Set pads to FLUSHING when they are created. Check, warn and fix when a
5578 demuxer adds an inactive pad to itself when running. Fixes #339326.
5580 2006-12-15 Wim Taymans <wim@fluendo.com>
5582 * gst/gstelement.c: (gst_element_class_init),
5583 (gst_element_default_send_event), (gst_element_send_event),
5584 (gst_element_default_query), (gst_element_query):
5585 Expose default element send_event and query handling as vmethods that
5586 subclasses can chain up to.
5588 2006-12-15 Wim Taymans <wim@fluendo.com>
5590 * gst/gstelement.c: (gst_element_set_state_func):
5591 Small documentation fixes.
5593 2006-12-15 Wim Taymans <wim@fluendo.com>
5595 * docs/design/draft-latency.txt:
5596 Checked in draft for handling latency in pipelines.
5598 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
5602 * gstreamer.spec.in:
5605 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
5607 * gst/gst.c: (init_pre), (init_post):
5608 init_pre() and init_post() might be called via our GOptionGroup or
5609 from gst_init(), and we should skip both of them if we've already
5610 been initialised, otherwise we will init some things twice or add
5611 two default log functions.
5613 2006-12-13 Edward Hervey <edward@fluendo.com>
5615 * docs/manual/basics-bus.xml:
5616 No, gst_main_loop does not exist. Its g_main_loop.
5617 Discovered by somebody who abused the copy-paste technique of coding :)
5619 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
5621 * gst/gstghostpad.c:
5622 Log ghostpad debug stuff to the GST_PADS category as well rather
5623 than just to the default category.
5625 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
5628 * gst/gst.c: (init_pre):
5629 Add some basic system details such as OS and architecture
5630 to the debug output if possible, courtesy of uname().
5632 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
5634 * docs/gst/running.xml:
5635 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5636 environment variables.
5638 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5640 * tests/check/gst/gstbin.c: (GST_START_TEST):
5641 It is acceptable to have a refcount of 2 or 3 at this point in the
5642 test, because the pipeline might be just posting its state_change
5643 message. The next line then waits for that message to appear using
5644 bus_poll, so that should be fine too.
5646 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5648 * gst/gst.c: (ensure_current_registry_forking):
5649 Ignore EINTR when reading from the child registry pipe.
5650 Explicitly ignore the return value from close, since it makes no
5653 * gst/gstminiobject.c: (gst_mini_object_ref),
5654 (gst_mini_object_unref):
5655 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5657 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5658 When removing cached plugins, remove their features too, so they're
5659 not visible after they've disappeared.
5661 * gst/gstutils.c: (prepare_link_maybe_ghosting):
5662 In the unlikely case that we are linking pads with no parents, don't
5663 crash trying to get the non-existent parent bin.
5665 * gst/parse/grammar.y:
5666 Output debug in the PIPELINE category
5668 2005-03-08 Wim Taymans <wim@fluendo.com>
5670 Patch by: René Stadler <mail at renestadler dot de>
5672 * gst/gstclock.c: (gst_clock_new_periodic_id):
5673 Reject invalid clock times for interval of periodic ids.
5676 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5678 * gst/gstelementfactory.c: (gst_element_factory_create):
5679 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5680 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5681 * tools/gst-inspect.c: (print_element_info):
5682 Fix refcounting of gst_plugin_feature_load to match the docs.
5685 2006-12-07 Wim Taymans <wim@fluendo.com>
5687 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5688 (gst_base_sink_get_position):
5689 Improve debugging of events.
5691 2006-12-07 Wim Taymans <wim@fluendo.com>
5693 Patch by: René Stadler <mail at renestadler dot de>
5695 * gst/gstclock.c: (gst_clock_id_wait):
5696 Make period ids add the interval to the origial requested time instead
5697 of the possibly updated time which can be wrong when there are multiple
5698 waiters for the same id. Fixes #382592.
5700 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5701 (gst_system_clock_id_wait_jitter_unlocked),
5702 (gst_system_clock_id_wait_jitter):
5703 Fix restart in the async notify thread when an async entry is added to
5704 the front of the list. Fixes #381492.
5706 * tests/check/gst/gstsystemclock.c: (store_callback),
5707 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5708 Added test for multiple async waits.
5709 Added test for async wait order.
5711 2006-12-07 Wim Taymans <wim@fluendo.com>
5713 * gst/gstbin.c: (gst_bin_query):
5714 Add some more docs about the POSITION query.
5716 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5719 Bump version nano - back to CVS.
5721 === release 0.10.11 ===
5723 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
5726 releasing 0.10.11, "Love never runs on time"
5728 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
5730 * win32/common/libgstbase.def:
5731 * win32/common/libgstreamer.def:
5732 * win32/vs8/libgstbase.vcproj:
5733 * win32/vs8/libgstcoreelements.vcproj:
5734 * win32/vs8/libgstreamer.vcproj:
5735 Fix compilation on win32 under VS8
5736 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5737 Partially fixes #381175
5739 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5741 * gst/gstvalue.c: (gst_value_compare_fraction):
5742 If someone is foolish enough to compare 2 fractions with denominator =
5743 0, return UNORDERED rather than aborting.
5745 2006-11-28 Edward Hervey <edward@fluendo.com>
5747 * libs/gst/base/Makefile.am:
5748 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5749 (gst_data_queue_base_init), (gst_data_queue_class_init),
5750 (gst_data_queue_init), (gst_data_queue_new),
5751 (gst_data_queue_cleanup), (gst_data_queue_finalize),
5752 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5753 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5754 (gst_data_queue_is_empty), (gst_data_queue_is_full),
5755 (gst_data_queue_set_flushing), (gst_data_queue_push),
5756 (gst_data_queue_pop), (gst_data_queue_drop_head),
5757 (gst_data_queue_set_property), (gst_data_queue_get_property):
5758 * libs/gst/base/gstdataqueue.h:
5759 New GstDataQueue object for threadsafe queueing. Most useful for
5760 elements that need some queueing functionnality.
5761 * docs/libs/gstreamer-libs-docs.sgml:
5762 * docs/libs/gstreamer-libs-sections.txt:
5763 Insert documentation for GstDataQueue
5764 * plugins/elements/Makefile.am:
5765 * plugins/elements/gstelements.c:
5766 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5767 (gst_multi_queue_class_init), (gst_multi_queue_init),
5768 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5769 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5770 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5771 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5772 (gst_multi_queue_loop), (gst_multi_queue_chain),
5773 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5774 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5775 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5776 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5777 (wake_up_next_non_linked), (compute_next_non_linked),
5778 (single_queue_overrun_cb), (single_queue_underrun_cb),
5779 (single_queue_check_full), (gst_single_queue_new):
5780 * plugins/elements/gstmultiqueue.h:
5781 New multiqueue element, using GstDataQueue. Used for queuing multiple
5783 Closes #344639 and #347785
5785 2006-11-22 Stefan Kost <ensonic@users.sf.net>
5787 * docs/pwg/advanced-types.xml:
5788 add more missing type details
5790 * tools/gst-run.c: (main):
5791 remove unused variable
5793 2006-11-21 Stefan Kost <ensonic@users.sf.net>
5795 * docs/libs/Makefile.am:
5796 * docs/libs/gstreamer-libs.types:
5797 add types of base classes to enable gobject specific stuff in the docs
5799 * docs/random/ensonic/embedded.txt:
5800 more ideas about isolating platform specific things
5802 2006-11-20 Wim Taymans <wim@fluendo.com>
5804 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5806 * libs/gst/check/gstcheck.h:
5807 Fix compilation and running against 0.9.4. Fixes #377332.
5809 2006-11-20 Wim Taymans <wim@fluendo.com>
5811 * gst/gstsegment.c: (gst_segment_set_seek),
5812 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5813 (gst_segment_to_running_time):
5814 Fix boundary checking in to_running_time() and to_stream_time().
5817 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5818 stream and running time can now be calculated for the complete
5821 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
5823 * gst/gstpad.c: (gst_pad_push_event):
5824 Can't access event structure after giving away ownership of
5827 2006-11-15 Stefan Kost <ensonic@users.sf.net>
5829 * docs/random/ensonic/embedded.txt:
5830 * docs/random/ensonic/profiling.txt:
5831 * docs/random/ensonic/receipies.txt:
5834 2006-11-13 Wim Taymans <wim@fluendo.com>
5836 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5839 Fix documentation for gst_pad_dispatcher. Fixes #374475.
5841 2006-11-13 Wim Taymans <wim@fluendo.com>
5843 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5845 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5846 Store new length in segment duration so we don't keep on calling the
5847 potentially expensize get_size() call. Fixes #370865.
5849 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
5851 Patch by: Sergey Scobich <sergey.scobich at gmail com>
5853 * win32/common/libgstreamer.def:
5854 Add two missing symbols (#366492).
5856 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
5858 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5859 (gst_adapter_take_buffer):
5860 Fix format string to use all its arguments.
5861 Remove useless >= check on a guint
5863 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5865 * tests/examples/adapter/.cvsignore:
5866 Ignore build file as commanded by the build-bot
5868 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5870 * tests/examples/adapter/Makefile.am:
5871 * tests/examples/adapter/adapter_test.c: (run_test_take),
5872 (run_test_take_buffer), (run_tests), (main):
5874 Add new files from the previous commit
5876 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5880 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5881 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5882 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5883 * libs/gst/base/gstadapter.h:
5884 * tests/check/libs/adapter.c: (create_and_fill_adapter),
5885 (GST_START_TEST), (gst_adapter_suite):
5886 * tests/examples/Makefile.am:
5887 Do some optimisation work in GstAdapter to avoid copies in more cases.
5888 It could still do slightly better by merging buffers when
5889 gst_buffer_is_span_fast is true, but is already faster.
5891 Also, avoid traversing a single-linked list to append each incoming
5892 buffer inside the adapter.
5894 Add simple test app that times the adapter behaviour in different
5895 situations, and extend the unit test to check that bytes enter and
5896 exit the adapter in their original order.
5898 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
5900 * docs/random/draft-missing-plugins.txt:
5901 Update: use element message instead of adding a new message
5902 type to the core; don't provide GStreamer API to initiate the
5903 plugin download, just provide API to compose the strings needed
5904 and let an external libgimmestuff handle the rest.
5906 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
5908 * tools/gst-inspect.c: (print_element_properties_info):
5909 Print a string instead of 'unknown type' for GValueArray properties
5911 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
5913 * docs/random/draft-missing-plugins.txt:
5916 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5918 * tests/examples/typefind/typefind.c: (type_found), (main):
5919 Make typefind element example work again (#371894); add a
5922 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5924 * docs/random/draft-missing-plugins.txt:
5925 Commit initial draft about how to deal with missing plugins,
5926 needs work (API too).
5928 2006-11-07 Stefan Kost <ensonic@users.sf.net>
5930 * docs/pwg/advanced-types.xml:
5931 documents the new caps elements (see #363118)
5933 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5935 * gst/gstplugin.c: (gst_plugin_load_file):
5936 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5937 (gst_file_src_map_region), (gst_file_src_start):
5938 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5939 (gst_file_index_commit):
5940 Use g_strerror() instead of strerror() - we want UTF-8.
5942 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5944 Patch by: Peter Kjellerstedt <pkj at axis com>
5946 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5947 Another printf fix (#371493).
5949 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5951 * tests/check/gst/gsttag.c:
5952 relicence (okay with author=company)
5954 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5956 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5957 (gst_pad_push_event):
5958 Enhance debug and improve docs
5963 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5965 * docs/random/ensonic/distributed.txt:
5966 * docs/random/ensonic/profiling.txt:
5969 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5971 * docs/gst/gstreamer-sections.txt:
5972 add new API and fix the build
5974 * gst/gstbin.c: (gst_bin_recalc_state):
5975 * gst/gstelement.c: (gst_element_message_full),
5976 (gst_element_get_state_func), (gst_element_set_state_func):
5977 use new API and improve logging
5979 * gst/gstutils.c: (gst_element_state_change_return_get_name):
5981 API: add function to get StateChangereturn names to improve logs
5983 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
5985 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5986 I'm considering shooting the next person to put strerror stuff
5987 in the translateable part of the message.
5989 2006-11-03 Wim Taymans <wim@fluendo.com>
5991 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5992 Get the type and printf conversion specifiers right.
5994 2006-11-03 Wim Taymans <wim@fluendo.com>
5996 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5998 * gst/gstpad.c: (gst_pad_init), (pre_activate),
5999 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
6000 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
6001 Some small cleanups. Improve debugging.
6003 Signal all waiting threads with a broadcast instead of just one.
6006 2006-11-03 Wim Taymans <wim@fluendo.com>
6008 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
6009 (gst_fd_src_create):
6011 Only update fd when it's different from the old.
6013 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
6015 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
6016 Printf fixes for PPC/OSX, take two (#369366).
6018 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
6020 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
6022 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6023 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6024 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
6025 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
6026 don't cast to long long for portability reasons, but use
6027 GLib's types instead.
6029 2006-10-30 Michael Smith <msmith@fluendo.com>
6031 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6032 Get the arguments to lseek() the right way around.
6035 2006-10-30 Wim Taymans <wim@fluendo.com>
6037 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
6040 _declspec should be __declspec (two underscores, not one). Fixes 366572.
6042 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
6044 Patch by: Kjartan Maraas <kmaraas at gnome org>
6046 * docs/design/part-MT-refcounting.txt:
6047 * docs/random/wtay/capsnego2-docs:
6050 Typo fixes (#366212).
6052 2006-10-28 Wim Taymans <wim@fluendo.com>
6054 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6057 * win32/common/libgstbase.def:
6058 * win32/common/libgstreamer.def:
6059 * win32/vs8/libgstbase.vcproj:
6060 * win32/vs8/libgstcontroller.vcproj:
6061 Add needed entries in .def files.
6063 Rearrange def files in vs8 solutions. Fixes #366286.
6065 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
6067 * win32/common/gstconfig.h:
6068 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
6069 hand-made win32 gstconfig.h. Fixes #366321.
6071 2006-10-27 Wim Taymans <wim@fluendo.com>
6073 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
6074 (gst_ghost_pad_new_full):
6075 Make acceptcaps return TRUE when we don't have a target, just like
6078 2006-10-27 Wim Taymans <wim@fluendo.com>
6080 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6081 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6083 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
6085 * gst/gststructure.c: (gst_structure_id_set_value):
6086 If someone tries to set a non-UTF8 string field on a structure,
6087 don't just print a warning, but also ignore the request and do
6088 not change/add that field to the structure.
6090 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6093 2006-10-25 David Schleef <ds@schleef.org>
6096 g_hash_table_insert() needs a cast to a non-const pointer duh.
6098 2006-10-25 David Schleef <ds@schleef.org>
6102 Change name parameter of _gst_debug_register_funcptr to const
6103 to reflect the constness of its use in the function as well
6104 as to quiet a gcc warning.
6106 2006-10-25 Edward Hervey <edward@fluendo.com>
6108 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6109 Don't push the buffer if it's empty.
6112 2006-10-24 Wim Taymans <wim@fluendo.com>
6117 * libs/gst/base/gstbasetransform.c:
6118 (gst_base_transform_sink_eventfunc):
6119 Debug segment values *after* updating them as this is more
6122 2006-10-23 Wim Taymans <wim@fluendo.com>
6124 * docs/design/part-events.txt:
6127 * docs/design/part-block.txt:
6128 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6129 (gst_pad_push_event):
6130 Revert BLOCKING patch, it tries to be smart without really having a
6131 clear idea what or how. So, now we discard all FLUSHING events again on
6132 a blocking pad. Should fix gnonlin again.
6134 2006-10-23 Wim Taymans <wim@fluendo.com>
6136 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6138 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6139 (gst_base_src_start), (gst_base_src_activate_push):
6140 Make sure size is always initialized. Fixes #364388.
6142 2006-10-20 Stefan Kost <ensonic@users.sf.net>
6144 * docs/random/ensonic/distributed.txt:
6145 add some ideas about doing distributed processing
6147 * docs/random/ensonic/profiling.txt:
6148 get_rusage look promising
6150 2006-10-18 Stefan Kost <ensonic@users.sf.net>
6152 * docs/manual/basics-helloworld.xml:
6153 Add a cast in example to fix compile warning
6155 2006-10-18 Wim Taymans <wim@fluendo.com>
6157 * gst/gstsegment.c: (gst_segment_set_last_stop),
6158 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6159 Relax arg checking again, -1 is allowed.
6161 2006-10-18 Wim Taymans <wim@fluendo.com>
6163 * gst/gstsegment.c: (gst_segment_set_last_stop),
6164 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6165 _set_last_stop() must be with a value != -1
6166 A _TYPE_SET to -1 means seek to 0.
6167 Calc last_stop correctly for negative rates.
6168 Make sure we work with positive durations when updating a segment.
6170 2006-10-18 Wim Taymans <wim@fluendo.com>
6172 * docs/design/part-live-source.txt:
6176 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
6179 Add an explicit cast to GstBuffer** to keep old code that added an
6180 explicit cast to GstMiniObject** for gst_mini_object_replace()
6181 compiling without warning.
6183 2006-10-18 Stefan Kost <ensonic@users.sf.net>
6185 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6186 check for validity of dates
6188 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6190 * docs/gst/gstreamer-sections.txt:
6191 Forgot this one, makes gtk-doc shut up.
6193 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6195 Patch by: Peter Kjellerstedt <pkj at axis com>
6198 Don't define xmlNodePtr to gpointer if the core was built with
6199 --disable-loadsave and --disable-registry, this will break
6200 applications that want to use libxml2 but are buildling against a
6201 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6202 instead so we don't have to mess with the libxml2 namespace
6205 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6208 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6209 type-punned pointer warnings.
6211 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
6214 Add casts to the correct return type to state <=> state transition
6217 2006-10-16 Stefan Kost <ensonic@users.sf.net>
6219 * docs/design/part-live-source.txt:
6220 describe howto handle latency
6222 * docs/random/ensonic/profiling.txt:
6225 * tools/gst-plot-timeline.py:
6226 fix log parsing for solaris, remove unused function
6228 2006-10-16 Wim Taymans <wim@fluendo.com>
6230 * docs/design/part-trickmodes.txt:
6232 Update some docs regarding reverse playback.
6234 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
6236 Patch by: Marcus Granado <mrc dot gran at gmail com>
6238 * win32/vs8/grammar.vcproj:
6239 Error out with a warning if glib-genmarshal.exe is not in path,
6240 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6242 2006-10-13 Wim Taymans <wim@fluendo.com>
6244 * gst/gstsegment.c: (gst_segment_set_seek):
6245 When seeking to stop -1, set last_stop (current position) to the
6246 duration of the segment.
6248 2006-10-13 Wim Taymans <wim@fluendo.com>
6251 Clarify _NO_PREROLL a bit more.
6256 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6257 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6258 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6259 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6260 due to wrong locking order. Fixes #361769.
6261 Remove some redundant/misplaced checks in pad_block.
6263 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6264 For negative rates, count backwards from the duration.
6266 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
6268 * gst/gsterror.c: (_gst_library_errors_init):
6269 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6270 up with something better).
6272 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6274 * win32/vs6/libgstreamer.dsp:
6275 * win32/vs7/libgstreamer.vcproj:
6276 * win32/vs8/libgstreamer.vcproj:
6277 Don't reference glib-compat.c which is currently not used and not
6278 disted; add gstquark.c which was recently added. Fixes #361730.
6280 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6282 * win32/common/libgstbase.def:
6283 * win32/common/libgstcontroller.def:
6284 * win32/common/libgstreamer.def:
6285 Add gst_caps_merge() and a bunch of other recently-added functions.
6288 2006-10-11 Wim Taymans <wim@fluendo.com>
6290 * docs/plugins/gstreamer-plugins.args:
6291 * docs/plugins/inspect/plugin-coreelements.xml:
6292 * docs/plugins/inspect/plugin-coreindexers.xml:
6293 Update element args.
6295 * gst/gstsystemclock.c:
6296 Small comment update.
6298 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6299 (gst_tee_request_new_pad), (gst_tee_release_pad),
6300 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6301 (gst_tee_sink_activate_pull):
6302 * plugins/elements/gsttee.h:
6304 Add default property defines.
6305 Implement release pad function.
6306 Give properties better blubs etc.
6307 Activate pads before adding them to a running tee.
6308 Do simple buffer_alloc on the first requested pad.
6309 Post error when activation fails.
6311 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6313 * gst/gst.c: (ensure_current_registry_forking):
6314 Check return value of write() to make compiler happy.
6316 2006-10-11 Wim Taymans <wim@fluendo.com>
6318 Patch by: Sjoerd Simons <sjoerd at luon dot net>
6320 * plugins/elements/gstqueue.c: (gst_queue_chain):
6321 Recheck queue filledness after signalling the overrun when we're about
6322 to leak downstream because we released the lock when emitting the signal
6323 and the queue could be empty again. Fixes #352345.
6325 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6327 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6328 Fix refcounting here too, just like we did for _new_valist() a few
6329 days ago (#357180) (thanks to René Stadler). Also remove all those
6330 'Since: 0.9' from the gtk-doc blobs.
6332 * tests/check/libs/controller.c: (controller_refcount_new_list),
6333 (gst_controller_suite):
6334 Unit test for the above.
6336 2006-10-10 Wim Taymans <wim@fluendo.com>
6338 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6340 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6341 (gst_pad_save_thyself):
6343 Write pad direction in XML output. Fixes #345496.
6345 2006-10-10 Wim Taymans <wim@fluendo.com>
6347 Patch by: René Stadler <mail at renestadler dot de>
6349 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6350 (gst_controller_new_list), (_gst_controller_dispose),
6351 (_gst_controller_finalize), (_gst_controller_class_init):
6352 Take ref to controlled object so that it cannot disappear.
6355 2006-10-10 Wim Taymans <wim@fluendo.com>
6357 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6358 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6359 (gst_check_teardown_sink_pad):
6360 Activate/deactivate pads in setup/teardown respectively.
6362 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6364 Patch by: Josep Torre Valles <josep@fluendo.com>
6367 Cast values when making gstenumtypes.h. This pacifies Forte
6368 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6371 2006-10-09 Wim Taymans <wim@fluendo.com>
6373 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6374 Rename some more @cur to @start to fix docs.
6376 * gst/gstsegment.c: (gst_segment_set_seek):
6378 time and start must always stay in sync as defined in design doc.
6380 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6381 Rename param to fix docs.
6383 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6384 Check that start and time are in sync.
6386 * tests/check/pipelines/parse-launch.c:
6387 (gst_parse_test_element_change_state):
6388 Activate pad before adding to the element.
6390 2006-10-09 Wim Taymans <wim@fluendo.com>
6392 * docs/design/part-qos.txt:
6397 Update seek event docs regarding negative rates.
6398 Rename @cur to @start.
6400 * gst/gstsegment.c: (gst_segment_set_seek):
6402 Update set_seek docs regarding negative rates.
6403 Correctly update last_stop to @stop when dealing with negative
6405 Rename @cur to @start.
6407 * tests/check/gst/gstpad.c: (GST_START_TEST):
6408 Activate pads before trying to use them.
6410 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6411 (gst_segment_suite):
6412 Add simple check for segments and negative rates.
6414 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
6416 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6418 * docs/gst/gstreamer-sections.txt:
6419 API: add gst_tag_list_is_empty() (#360467).
6421 * tests/check/gst/gsttag.c: (GST_START_TEST):
6424 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6427 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6428 a value that doesn't fit on enumeration.
6430 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6432 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6433 Remove local debugging system and use Gstreamer's instead.
6435 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6437 Patch by: Josep Torre Valles <josep@fluendo.com>
6439 * common/m4/gst-error.m4:
6440 Disable warning of statement not reached on Forte.
6442 Fix warning on Forte (value doesn't fit on enumeration).
6443 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6444 Fix warning on Forte (value doesn't fit on enumeration).
6445 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6446 DEBUG macro says it takes minimum of 2 args and so Forte
6447 complains about the use with just 1 arg.
6448 * plugins/elements/gstfdsink.c:
6449 * plugins/elements/gstfdsrc.c:
6450 * plugins/elements/gstfilesink.c:
6451 * plugins/elements/gstfilesrc.c:
6452 Use correct return type for the uri handler implementations.
6454 All these fix warnings in Forte. Fixes bug #360860.
6456 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
6459 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6460 format string, so don't use G_GNUC_PRINTF for those versions.
6462 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6464 * gst/gsttaglist.c: (gst_is_tag_list):
6466 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6468 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6469 Small test for the above.
6471 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6474 Less tabs, more spaces.
6476 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
6479 Those two function declarations do actually belong there, revert
6480 commit from yesterday that turned them intro macros.
6482 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6484 Patch by: Josep Torre Valles <josep@fluendo.com>
6486 * gst/gst.c: (gst_init_get_option_group):
6487 Fix empty declaration and type mismatch.
6488 * gst/gstbin.c: (gst_bin_change_state_func):
6490 * gst/gstelement.c: (gst_element_continue_state),
6491 (gst_element_set_state_func), (gst_element_change_state),
6492 (gst_element_change_state_func):
6493 Fix type mismatches.
6494 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6495 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6496 Cast as appropriate.
6497 * gst/gstobject.c: (gst_class_signal_connect):
6498 Cast as appropriate. The function pointer parameter really
6499 has the wrong type but would break API if we change it.
6501 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6502 order of including string.h.
6503 * gst/gstutils.c: (gst_element_state_get_name):
6504 Remove unreachable line.
6505 * gst/gstxml.c: (gst_xml_parse_doc):
6507 All these caught by Forte.
6509 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6511 Patch by: Josep Torre Valles <josep@fluendo.com>
6513 * common/m4/gst-error.m4:
6515 We need to disable warnings on Forte for empty declarations
6516 due to gst-indent adding ;s to lines that just use macros
6517 where the macro actually doesn't need a ; at end to end
6520 2006-10-06 Wim Taymans <wim@fluendo.com>
6522 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6523 (gst_file_sink_close_file), (gst_file_sink_event),
6524 (gst_file_sink_render):
6525 Add some FIXME for the NEWSEGMENT handling.
6527 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6529 * gst/parse/grammar.y:
6530 Remove static function gst_parse_element_lock as all it does
6531 is return. Looks like cruft from 0.8.
6533 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6535 Patch by: Josep Torre Valles <josep@fluendo.com>
6537 * common/m4/gst-error.m4:
6539 * libs/gst/net/Makefile.am:
6540 Fix a compilation issue with Forte on Solaris. inet_aton is in
6543 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6545 * gst/gstpad.c: (pre_activate):
6546 * gst/gstregistry.c: (gst_registry_scan_path_level):
6547 * gst/gstregistryxml.c: (load_plugin):
6548 * libs/gst/controller/gstcontroller.c:
6549 (gst_controlled_property_set_interpolation_mode):
6550 * libs/gst/dataprotocol/dataprotocol.c:
6551 (gst_dp_packet_from_event_1_0):
6552 * libs/gst/net/gstnetclientclock.c:
6553 (gst_net_client_clock_observe_times):
6554 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6557 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6560 * docs/gst/gstreamer-sections.txt:
6561 * gst/gstconfig.h.in:
6564 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6565 whether we can use G_GNUC_PRINTF in other header files and at
6566 least check the printf format/arguments of debug messages and
6567 GST_ELEMENT_ERROR messages when the printf extension is not
6569 Replace more tabs with spaces in gstinfo.h and remove two spurious
6570 function declarations in GST_DISABLE_DEBUG part with macros.
6572 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
6574 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6575 More docs for the sync-message signal (mention that it is not
6576 emitted by default); log message structures of messages posted on
6579 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
6581 * gst/gst.c: (ensure_current_registry_forking):
6582 Use a pipe pair to receive status results from the forked child, and
6583 ignore the result from waitpid. Fixes #355499
6585 2006-10-02 Wim Taymans <wim@fluendo.com>
6587 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6588 (gst_ghost_pad_suite):
6591 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6594 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6596 2006-10-02 Edward Hervey <edward@fluendo.com>
6598 * docs/design/part-block.txt:
6599 Further explain the use of flushing on blocked pads.
6600 * docs/gst/gstreamer-sections.txt:
6601 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6602 (gst_pad_push_event):
6604 Added new GstPadFlag : GST_PAD_BLOCKING.
6605 Adds the notion of pads really blocking, which enables to properly
6606 handle FLUSH_START/FLUSH_STOP events on blocked pads.
6608 API: gst_pad_is_blocking()
6609 API: GST_PAD_IS_BLOCKING() macro
6610 API: GST_PAD_BLOCKING GstPadFlag
6612 2006-10-02 Wim Taymans <wim@fluendo.com>
6614 Patch by: mrcgran <mrc.gran at gmail dot com>
6616 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6617 Filter the proxied caps against the padtemplate if we have one.
6619 * gst/gstquery.c: (gst_query_new_segment):
6620 Add include for gstinfo.h so that compilation with
6621 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6623 2006-10-02 Wim Taymans <wim@fluendo.com>
6625 Patch by: Alessandro Decina <alessandro at nnva org>
6627 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6628 (gst_file_sink_set_location), (gst_file_sink_open_file),
6629 (gst_file_sink_close_file), (gst_file_sink_event),
6630 (gst_file_sink_render):
6631 Set file to NULL when closing filesink so that we can set a new filename
6632 in READY. Fixes #358613.
6634 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6636 Patch by: Alessandro Decina <alessandro at nnva org>
6638 * gst/gstevent.c: (_gst_event_copy):
6639 Fix gst_mini_object_make_writable() and gst_event_copy() for events
6640 with event structures by setting the parent refcount address of the
6641 copied structure to the address of the refcount member of the newly
6642 copied event rather than the address of the refcount member of the
6643 original event. Fixes #358737.
6645 * tests/check/gst/gstevent.c: (GST_START_TEST):
6646 Unit test for the above.
6648 2006-09-29 Stefan Kost <ensonic@users.sf.net>
6650 * docs/design/Makefile.am:
6651 Dist some more files.
6653 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6655 * tests/check/libs/controller.c: (GST_START_TEST),
6656 (gst_controller_suite):
6657 Add test for the previous fix; add some more tests
6658 for correct refcounting behaviour; fix a few leaks
6659 in test cases; call gst_controller_init() at start
6662 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6664 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6665 (gst_controller_set_from_list):
6666 Don't g_return_val_if_fail() on timed values with invalid timestamps
6667 inside a critical section without unlocking the mutex. Spotted by
6668 René Stadler. (#357617)
6669 Also, fix up refcounting properly: when returning an existing
6670 controller, we should increase the reference only once and not
6671 once per property and when trying to control a property again
6672 we should also increase the refcount.
6674 2006-09-29 Wim Taymans <wim@fluendo.com>
6676 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6677 * libs/gst/net/gstnettimeprovider.c:
6678 (gst_net_time_provider_thread):
6679 Stop reading commands when EOF as well.
6681 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6682 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6683 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6684 Unify description of the dump property.
6686 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6688 * tests/examples/manual/.cvsignore:
6689 OK, so it's actually cvsignore that needs changing. Stop laughing.
6691 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6693 * tests/examples/manual/Makefile.am:
6694 Gah, declare vars *before* using them
6696 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6698 * gst/gst.c: (init_pre), (scan_and_update_registry),
6699 (ensure_current_registry_nonforking),
6700 (ensure_current_registry_forking), (ensure_current_registry),
6701 (init_post), (gst_debug_help), (gst_deinit):
6702 * gst/gst_private.h:
6703 * gst/gstregistry.c: (gst_registry_finalize),
6704 (gst_registry_remove_features_for_plugin_unlocked),
6705 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6706 (gst_registry_scan_path),
6707 (_priv_gst_registry_remove_cache_plugins),
6708 (_priv_gst_registry_cleanup):
6709 * gst/gstregistry.h:
6710 Re-commit the registry changes, along with an extra fix:
6711 When a cached plugin is encountered at a different file path,
6712 update the stored path in the registry cache so that the parent
6713 process knows where it actually is now when it re-reads the registry
6714 cache. Fixes the thing that broke distcheck with the previous commit.
6716 * tests/check/Makefile.am:
6717 Clean up files named 'core' too when running make clean.
6719 * tests/examples/manual/Makefile.am:
6720 Set up a registry path for running these tests, and clean it properly
6723 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6726 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6727 want gmodule-no-export-2.0.pc instead so that we don't drag in
6728 --export-dynamic on every project that links to GStreamer.
6730 Also, make our export regex only match the start of symbols, rather
6731 than any symbol that contains '_gst' somewhere.
6733 * libs/gst/check/Makefile.am:
6734 The libgstcheck we build does however need export-dynamic, as it
6735 produces some symbols that don't match our _gst... style regex.
6738 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6740 * gst/gst.c: (init_pre), (scan_and_update_registry),
6741 (ensure_current_registry_nonforking),
6742 (ensure_current_registry_forking), (ensure_current_registry),
6743 (init_post), (gst_debug_help), (gst_deinit):
6744 * gst/gst_private.h:
6745 * gst/gstregistry.c: (gst_registry_finalize),
6746 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6747 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6748 (_gst_registry_cleanup):
6749 * gst/gstregistry.h:
6750 Revert previous change until I figure out why it breaks distcheck.
6752 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6754 * gst/gst.c: (init_pre), (scan_and_update_registry),
6755 (ensure_current_registry_nonforking),
6756 (ensure_current_registry_forking), (ensure_current_registry),
6757 (init_post), (gst_debug_help), (gst_deinit):
6759 Make init_pre and init_post take the full complement of GOptionFunc
6760 args so they can return useful GErrors. Make the registry updating
6763 Call _priv_gst_registry_remove_cache_plugins after scanning files to
6764 ensure that the registry we're about to write out doesn't contain
6765 stale information about old-deleted plugin files.
6767 Make _priv_gst_registry_remove_cache_plugins return a boolean so
6768 that deletion of plugin files is considered a registry change.
6770 * gst/gst_private.h:
6771 * gst/gstregistry.c: (gst_registry_finalize),
6772 (gst_registry_remove_features_for_plugin_unlocked),
6773 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6774 (gst_registry_scan_path),
6775 (_priv_gst_registry_remove_cache_plugins),
6776 (_priv_gst_registry_cleanup):
6777 * gst/gstregistry.h:
6778 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6779 by adding _priv prefix, so that they won't appear in the global
6780 symbol table. They still do atm though because of #318031. Move the
6781 prototypes to gst_private.h
6783 When removing a plugin, remove all features for that plugin too.
6786 2006-09-27 Wim Taymans <wim@fluendo.com>
6788 * docs/random/moving-plugins:
6789 Make it clear that the "compiled-in descriptions" really mean
6790 the element details.
6792 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6793 (gst_base_sink_wait_preroll):
6796 * docs/libs/gstreamer-libs-sections.txt:
6797 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6798 (gst_base_src_get_range), (gst_base_src_activate_push):
6799 * libs/gst/base/gstbasesrc.h:
6800 Added function to block while waiting for PLAYING, this function
6801 is used by live sources that block on the clock.
6802 API: gst_base_src_wait_playing()
6804 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6806 Patch by: Peter Kjellerstedt <pkj at axis com>
6809 gst-element-check.m4 is generated and should therefore be
6810 copied from the build dir rather than the source dir (#357593).
6811 'make distcheck' hasn't noticed this because we were disting
6812 the file as well, so stop doing that.
6814 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6816 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6817 Add some tests for gst_caps_intersect().
6819 * tools/gst-launch.c: (event_loop):
6820 Print all buffering percentages we get, even the 100% one.
6822 2006-09-26 Wim Taymans <wim@fluendo.com>
6824 * tools/gst-inspect.c: (print_element_properties_info),
6825 (print_signal_info):
6826 Fix printing of flags to match the look of enums.
6828 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6830 * gst/gstelementfactory.c:
6831 Fix typo in docs blurb.
6833 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6835 * gst/gsturi.c: (search_by_entry):
6836 Don't assert/crash here if a uri handler doesn't return any
6837 supported protocols. The list of protocols could be generated
6838 dynamically at runtime or at plugin registration, and an error
6839 in the underlying library shouldn't be fatal (#353301).
6841 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6844 Fix warning if HAVE_PRINTF_EXTENSION is undefined
6845 (spotted by Peter Kjellerstedt).
6847 2006-09-23 Wim Taymans <wim@fluendo.com>
6849 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6851 * libs/gst/base/gstbasesrc.c:
6852 (gst_base_src_default_check_get_range), (gst_base_src_start),
6853 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6854 (gst_base_src_change_state):
6855 Match _start/_stop calls in the activate functions. Remove redundant
6856 _stop call from the state change function. Fixes #356910.
6857 Turn failure DEBUG into ERROR.
6859 2006-09-22 Wim Taymans <wim@fluendo.com>
6861 * docs/design/part-buffering.txt:
6862 * gst/gstmessage.c: (gst_message_new_buffering),
6863 (gst_message_parse_buffering):
6864 Update docs about buffering.
6866 * docs/design/part-trickmodes.txt:
6869 2006-09-22 Stefan Kost <ensonic@users.sf.net>
6871 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6872 (gst_controller_new_list):
6873 Ref instances when returning them again (fixes #357180)
6875 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
6877 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6878 Don't forget to release proxy lock when there's an error.
6880 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
6883 Add extra initialisers for Caps things, to fix some plugin warnings
6886 2006-09-18 Wim Taymans <wim@fluendo.com>
6888 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6889 Also set template on the internal pad so that a getcaps from the
6890 target pad returns the template caps.
6892 2006-09-18 Wim Taymans <wim@fluendo.com>
6894 * gst/gstelement.c: (gst_element_post_message),
6895 (gst_element_dispose):
6896 Use _DEBUG_OBJECT some more.
6898 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6901 * tools/gst-launch.c: (main):
6902 If the toplevel element is not a GstPipeline, it must be put in a
6903 pipeline so that a bus and clock is selected.
6905 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6907 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6908 JITTER, RATE, and LATENCY query should be handled by the
6909 default case and not by the CONVERT query code.
6911 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6913 * gst/gstformat.c: (gst_format_register):
6914 Fix locking order (must take lock before using n_values).
6916 * gst/gstvalue.c: (gst_value_serialize_enum),
6917 (gst_value_deserialize_enum_iter_cmp),
6918 (gst_value_deserialize_enum):
6919 Fix serialisation/deserialisation of custom registered GstFormats.
6921 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6922 Unit test for custom format serialisation/deserialisation.
6924 2006-09-17 Stefan Kost <ensonic@users.sf.net>
6926 * docs/pwg/building-boiler.xml:
6927 * plugins/elements/gstcapsfilter.c:
6928 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6931 2006-09-16 Edward Hervey <edward@fluendo.com>
6933 * libs/gst/base/gstbasetransform.c:
6934 (gst_base_transform_buffer_alloc):
6935 Check if requested caps are the same as the sinks caps IF
6936 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6938 This fixes the renegotiation issues stated in #352827.
6940 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6943 * docs/manual/advanced-autoplugging.xml:
6944 * tests/examples/Makefile.am:
6945 * tests/examples/manual/.cvsignore:
6946 * tests/examples/manual/Makefile.am:
6947 * tests/examples/manual/extract.pl:
6948 Extract the manual examples again like we used to do.
6951 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6953 * win32/common/config.h:
6956 2006-09-16 Stefan Kost <ensonic@users.sf.net>
6959 Documents how to receive errors.
6961 2006-09-15 Wim Taymans <wim@fluendo.com>
6963 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6964 (event_loop), (main):
6965 Added some comments here and there.
6966 Post an application message when an interrupt is caught instead of doing
6967 an uncontrolled state change.
6968 Clean up the event loop.
6969 Handle buffering messages, pause/resume the pipeline.
6970 Make shutdown because of an interrupt more reliable.
6972 2006-09-15 Wim Taymans <wim@fluendo.com>
6974 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6975 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6976 (gst_base_sink_preroll_object):
6977 Make sure that our internal state is correct when we commit our state
6978 asynchronously. This solves a race where a state change to PLAYING
6979 could cause the sink to remain blocked in preroll in some situations.
6981 2006-09-15 Wim Taymans <wim@fluendo.com>
6983 * tools/gst-inspect.c: (print_element_properties_info),
6984 (print_signal_info):
6985 List flags as hex so it's easier to deal with.
6987 2006-09-15 Wim Taymans <wim@fluendo.com>
6989 * docs/libs/gstreamer-libs-sections.txt:
6990 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6991 (gst_base_sink_do_sync):
6992 * libs/gst/base/gstbasesink.h:
6993 Expose logic to wait for preroll so that subclasses such as audiosink
6994 can also use this method.
6995 API: gst_base_sink_wait_preroll()
6997 2006-09-15 Wim Taymans <wim@fluendo.com>
6999 * gst/gstobject.c: (gst_object_set_parent):
7000 * gst/gstpipeline.c: (do_pipeline_seek):
7001 Small cleanups in docs and code.
7003 * gst/gstsegment.c: (gst_segment_clip):
7004 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7005 if stop == start and start is in the segment, no clipping should be
7006 done. Also add a test for this.
7008 2006-09-15 Wim Taymans <wim@fluendo.com>
7010 * docs/design/part-buffering.txt:
7011 * docs/gst/gstreamer-sections.txt:
7012 * gst/gstmessage.c: (gst_message_new_buffering),
7013 (gst_message_parse_buffering):
7015 Added methods to create and parse BUFFERING messages.
7016 Added preliminary docs about buffering.
7017 API: gst_message_new_buffering
7018 API: gst_message_parse_buffering
7020 2006-09-06 Wim Taymans <wim@fluendo.com>
7023 Update documentation.
7025 * gst/gstelement.c: (gst_element_class_init),
7026 (gst_element_release_request_pad), (gst_element_set_clock),
7027 (gst_element_get_index), (gst_element_add_pad),
7028 (gst_element_remove_pad), (gst_element_get_random_pad),
7029 (gst_element_send_event), (gst_element_get_query_types),
7030 (gst_element_query), (gst_element_post_message),
7031 (gst_element_message_full), (gst_element_continue_state),
7032 (gst_element_lost_state), (gst_element_save_thyself),
7033 (gst_element_restore_thyself):
7034 Documentation updates.
7035 Rename last bit of the new-pad -> pad-added signal rename.
7036 Fix the case where an element query would only work if the source
7038 Avoid some useless type checking in message handling.
7043 Documentation updates.
7045 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7047 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7048 add an INFO line for when we actually update the fd
7050 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7055 === release 0.10.10 ===
7057 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7060 releasing 0.10.10, "Pais"
7062 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
7064 * docs/manual/advanced-position.xml:
7065 Fix typo in sample code.
7067 2006-09-05 Wim Taymans <wim@fluendo.com>
7069 * libs/gst/net/gstnetclientclock.c: (inet_aton),
7070 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7071 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
7072 * libs/gst/net/gstnetclientclock.h:
7073 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7074 * libs/gst/net/gstnettimepacket.h:
7075 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7076 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7077 (gst_net_time_provider_thread), (gst_net_time_provider_new):
7078 * libs/gst/net/gstnettimeprovider.h:
7079 Make stuff compile on windows. Fixes #345295.
7081 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
7083 * gst/gst.c: (ensure_current_registry_forking):
7084 Print better details when child was terminated by signal.
7086 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
7088 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7089 Print a warning rather than g_assert() if a plugin feature
7090 is a URI handler but returns no protocols (#353976).
7092 2006-09-02 Stefan Kost <ensonic@users.sf.net>
7094 * docs/random/moving-plugins:
7097 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
7099 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7100 Fix locking order, handle NULL function values properly.
7105 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7106 Initialise variable before using it and fix debug statement to
7107 print the address of the function rather than the address of the
7108 variable on the stack holding the address of the function.
7110 2006-09-01 Wim Taymans <wim@fluendo.com>
7112 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7113 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7114 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7115 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7116 (gst_ghost_pad_parent_unset),
7117 (gst_ghost_pad_internal_do_activate_push),
7118 (gst_ghost_pad_internal_do_activate_pull),
7119 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7120 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7121 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7122 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7123 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7124 (gst_ghost_pad_new_no_target_from_template),
7125 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7127 Avoid needless typechecking in macros.
7128 Since the internal pad is always present and never changes, there is
7129 no need to locking or ref when retrieving it.
7130 Improve debugging a bit.
7131 Handle link errors when setting the target. Fixes #341029.
7133 2006-09-01 Wim Taymans <wim@fluendo.com>
7135 * docs/libs/gstreamer-libs-sections.txt:
7136 * docs/plugins/gstreamer-plugins-sections.txt:
7139 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7140 (gst_collect_pads_event):
7141 * libs/gst/base/gstcollectpads.h:
7142 Documentation updates.
7143 Free queued buffer when removing a pad.
7145 2006-08-31 Michael Smith <msmith@fluendo.com>
7147 * gst/gstutils.c: (gst_element_link_pads),
7148 (gst_element_link_pads_filtered):
7149 Ensure that we set a capsfilter to NULL if we failed to link it
7150 when doing filtered linking, to avoid criticals.
7152 No need to check for unreffing srcpad, which is explicly NULLed
7153 above (a trivial code cleanup).
7155 2006-08-31 Wim Taymans <wim@fluendo.com>
7157 * docs/design/part-gstghostpad.txt:
7158 Update ascii art in documentation.
7160 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7161 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7162 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7163 (gst_ghost_pad_internal_do_activate_push),
7164 (gst_ghost_pad_internal_do_activate_pull),
7165 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7166 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7167 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7168 (gst_ghost_pad_set_target):
7169 Small cleanups and leak fixes.
7170 Remove some checks now that the internal pad is never NULL.
7171 Fix the case where linking pads without a target would create nasty
7172 criticals. Fixes #341029.
7173 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7174 value of _set_target().
7176 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7177 (gst_ghost_pad_suite):
7178 Some more tests for creating and linking untargeted ghostpads.
7180 2006-08-31 Edward Hervey <edward@fluendo.com>
7182 * docs/gst/gstreamer-sections.txt:
7183 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7184 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7185 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7186 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7187 (gst_ghost_pad_new_from_template),
7188 (gst_ghost_pad_new_no_target_from_template):
7189 * gst/gstghostpad.h:
7190 Refactored *_new() functions.
7191 Templates are now used as a g_object_new() parameter.
7192 Use template in _do_getcaps() if we don't have a target.
7193 Small documentation cleanups.
7194 Added two new constructors:
7195 gst_ghost_pad_new_from_template()
7196 gst_ghost_pad_new_no_target_from_template()
7197 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7198 (gst_ghost_pad_suite):
7199 Added tests for new ghostpad instanciation functions.
7201 API additions: gst_ghost_pad_new_from_template,
7202 gst_ghost_pad_new_no_target_from_template
7204 2006-08-30 Stefan Kost <ensonic@users.sf.net>
7206 * docs/random/ensonic/profiling.txt:
7207 Ideas about qos profiling.
7209 2006-08-29 Wim Taymans <wim@fluendo.com>
7211 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7215 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
7218 Improve and detypofy docs.
7220 * tests/check/Makefile.am:
7221 * tests/check/gst/.cvsignore:
7222 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7223 Add a basic test suite for GstXML.
7225 2006-08-29 Wim Taymans <wim@fluendo.com>
7227 * gst/gstelement.c: (activate_pads), (clear_caps),
7228 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7229 Clear the pad caps when the element shut down all of the pads and
7230 is not streaming data that could modify the caps.
7233 2006-08-28 Michael Smith <msmith@fluendo.com>
7235 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7236 Revert previous change; I misunderstood single-segment mode.
7238 2006-08-28 Michael Smith <msmith@fluendo.com>
7240 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7241 Unset DISCONT on buffers when using single-segment mode.
7243 2006-08-28 Wim Taymans <wim@fluendo.com>
7245 * gst/gstcaps.c: (gst_caps_merge_structure):
7247 Fix docs and indentation again.
7249 * tests/check/gst/gstquery.c: (GST_START_TEST):
7250 Fix leak in tests and add some more tests.
7252 2006-08-28 Edward Hervey <edward@fluendo.com>
7254 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7255 Inform GstSegment of the last stop position in order for the current
7256 segment to have a proper duration if it doesn't have a specific stop
7257 position from which a duration could be calculated.
7258 This bug was noticeable when a non-flushing, non-update new segment was
7259 followed by another segment (all buffers from the new segment were being
7262 2006-08-28 Wim Taymans <wim@fluendo.com>
7264 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7265 Small comment update.
7267 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7268 (gst_identity_transform_ip):
7269 Drop-probability is broken, mention this in the code with a
7270 FIXME and also in the property description.
7271 Make silent also be silent about the drop messages.
7273 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
7275 * docs/manual/appendix-win32.xml:
7276 Remove mention of popt, we don't depend on that any
7277 longer (#353136). Add some comments pointing out that
7278 this section is slightly outdated.
7280 2006-08-28 Wim Taymans <wim@fluendo.com>
7282 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7284 * gst/gstquery.c: (gst_query_new_segment):
7285 * tests/check/gst/gstquery.c: (GST_START_TEST):
7286 Initialize variables when creating a new segment query.
7289 2006-08-28 Wim Taymans <wim@fluendo.com>
7291 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7293 * gst/gstelement.c: (gst_element_get_bus):
7294 * tests/check/gst/gstelement.c: (GST_START_TEST):
7295 Check for NULL before _reffing the bus. Fixes #353122.
7297 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
7299 * docs/manual/basics-bus.xml:
7300 Docs update: fix wrong callback return value explanation; add
7301 some lines about the implicit relationship between main loop
7302 and main context; remove duplicate main loop variable declaration.
7304 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
7306 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7307 Don't leak caps in unit test; add a few more simple
7310 2006-08-24 Stefan Kost <ensonic@users.sf.net>
7312 * docs/gst/gstreamer-sections.txt:
7313 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7314 (gst_caps_structure_is_subset), (gst_caps_merge),
7315 (gst_caps_merge_structure):
7317 * libs/gst/base/gstbasetransform.c:
7318 (gst_base_transform_transform_caps):
7319 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7320 implement caps merging (fixes #352580)
7322 2006-08-23 Stefan Kost <ensonic@users.sf.net>
7324 * tools/Makefile.am:
7325 * tools/gst-plot-timeline.py:
7326 add debug-log plotting developer tool (#340674)
7328 2006-08-23 Wim Taymans <wim@fluendo.com>
7330 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7331 (gst_pad_stop_task):
7332 Improve debugging for task functions.
7334 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7335 (gst_task_start), (gst_task_pause), (gst_task_join):
7336 Make sure that the task function started and finished after a
7338 Don't try to push the task function on the threadpool multiple
7340 Improve the g_warning message with some useful suggestions
7341 about how to fix the problem.
7343 2006-08-23 Wim Taymans <wim@fluendo.com>
7345 * gst/gstutils.c: (gst_pad_proxy_getcaps):
7346 Handle RESYNC correctly in _proxy_getcaps.
7348 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
7350 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7351 (gst_xml_parse_memory), (gst_xml_get_element):
7352 Chain up to parent class in dispose function and also
7353 unref the elements in the toplevel_elements GList.
7354 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7355 Always return a reference in gst_xml_get_element() rather
7356 than only sometimes.
7358 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7359 Don't leak GstXml object.
7361 2006-08-21 Stefan Kost <ensonic@users.sf.net>
7363 * docs/gst/gstreamer-sections.txt:
7364 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7367 * libs/gst/base/gstbasetransform.c:
7368 (gst_base_transform_transform_caps):
7369 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7372 2006-08-21 Edward Hervey <edward@fluendo.com>
7374 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7375 Implement GObject::dispose virtual method in GstXML so we can free the
7378 2006-08-21 Wim Taymans <wim@fluendo.com>
7380 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7381 (gst_buffer_create_sub):
7382 Copy duration/offset_end/caps when creating a subbuffer of the
7384 Make the subbuffer read-only when we make the metadata writable for
7387 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7388 Added check for metadata copy when creating subbuffers.
7390 2006-08-21 Edward Hervey <edward@fluendo.com>
7392 * libs/gst/base/gstbasetransform.c:
7393 (gst_base_transform_buffer_alloc):
7394 Only call downstream buffer_alloc if transform element is passthrough
7395 or always_in_place. Closes #350449.
7397 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7400 ChangeLog surgery to add comments to previous changes
7402 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7407 * gst/gstpad.c: (gst_pad_set_active):
7408 Be more verbose in the log
7410 * libs/gst/base/gstbasetransform.c:
7411 (gst_base_transform_transform_caps):
7412 Simplify caps to get rid of duplicates, fixes #345444
7414 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7418 Use these optimizations only internally.
7420 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7422 * gst/gstvalue.c: (gst_value_compare_list),
7423 (gst_value_compare_fraction_range),
7424 (gst_value_intersect_fraction_fraction_range),
7425 (gst_value_intersect_fraction_range_fraction_range),
7426 (gst_value_subtract_fraction_fraction_range),
7427 (gst_value_subtract_fraction_range_fraction_range),
7428 (gst_value_get_compare_func), (gst_value_compare),
7429 (gst_value_compare_with_func):
7431 Saves the expensive lookup of the compare function in many cases
7434 2006-08-18 Edward Hervey <edward@fluendo.com>
7436 * tests/check/gst/gstinfo.c: (gst_info_suite):
7437 Disable test that require gstdebug if it wasn't built in core.
7439 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7441 * docs/random/ensonic/logging.txt:
7444 * gst/gstinfo.c: (gst_debug_log_default):
7445 reorder fields, save some columns, add optional color codes for log
7448 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7450 * docs/random/ensonic/logging.txt:
7451 add ideas about making the logs a bit more useful
7453 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7455 * docs/pwg/advanced-events.xml:
7456 * docs/pwg/titlepage.xml:
7457 Update for 0.10 API (#340627). Add myself
7460 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7462 * docs/libs/gstreamer-libs-docs.sgml:
7463 * docs/libs/gstreamer-libs-sections.txt:
7464 * libs/gst/check/gstbufferstraw.c:
7465 Make gstcheck stuff show up in docs (still needs to
7466 be documented properly though).
7468 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
7470 * docs/gst/gstreamer-sections.txt:
7472 * gst/gst.c: (init_post):
7473 * gst/gst_private.h:
7474 * gst/gstquark.c: (_priv_gst_quarks_initialize):
7476 * gst/gstquery.c: (gst_query_new_position),
7477 (gst_query_set_position), (gst_query_parse_position),
7478 (gst_query_new_duration), (gst_query_set_duration),
7479 (gst_query_parse_duration), (gst_query_new_convert),
7480 (gst_query_set_convert), (gst_query_parse_convert),
7481 (gst_query_new_segment), (gst_query_set_segment),
7482 (gst_query_parse_segment), (gst_query_new_seeking),
7483 (gst_query_set_seeking), (gst_query_parse_seeking):
7484 Add internal helpers for pre-registering quarks from static strings
7485 and using the quark values directly instead of looking them up when
7486 creating and parsing queries. Can be used for event construction too.
7489 2006-08-16 Wim Taymans <wim@fluendo.com>
7494 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7496 * gst/gstutils.c: (gst_util_set_value_from_string):
7497 Fix memleak (#351502).
7499 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7500 Add unit test for most of gst_util_set_value_from_string()
7501 (not that one would want to encourage use of this function).
7503 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7505 * libs/gst/check/gstcheck.h:
7506 Use const gchar * variables in fail_unless_equals_string
7507 macro to avoid compiler warnings (and don't use tabs for
7510 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7512 * tools/gst-launch.c: (print_tag):
7513 More space on the left for the tag names, to cater
7514 for the 'extended comment' tag (not touching the
7515 string for the first line since it's translated).
7517 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7519 * libs/gst/check/gstcheck.h:
7520 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7521 print something when they fail.
7523 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7525 * docs/gst/gstreamer-sections.txt:
7526 * gst/gsttaglist.c: (_gst_tag_initialize):
7528 API: add GST_TAG_EXTENDED_COMMENT (#350935).
7529 Also change merge function for GST_TAG_COMMENT to
7532 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7534 * gst/gstinfo.c: (gst_debug_print_object):
7535 Make GST_PTR_FORMAT print messages as well.
7537 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7538 (GST_START_TEST), (gst_info_suite):
7541 2006-08-14 Edward Hervey <edward@fluendo.com>
7543 * gst/gstelementfactory.c: (gst_element_register):
7544 If the GstElementClass doesn't have a GstElementDetails with all fields
7545 filled up correctly (longname, description AND author), then error out
7546 nicely instead of crashing.
7548 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7550 * gst/gststructure.c:
7551 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7554 Expand on the difference between arrays and lists as we use them.
7556 2006-08-14 Wim Taymans <wim@fluendo.com>
7558 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7559 If the parent state change function failed, don't assume we can safely
7560 stop the source, this will be done when the pads are deactivated.
7562 2006-08-14 Wim Taymans <wim@fluendo.com>
7565 * gst/gsttask.c: (gst_task_join):
7568 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7569 (gst_pad_stop_task):
7570 When pad (de)activation failed for some reason, restore the old
7571 activation mode and set the pad to flushing instead of assuming the
7573 If the _task_join() failed, reinstall the task on the pad so that it can
7574 be stopped later and return an error.
7576 2006-08-11 Andy Wingo <wingo@pobox.com>
7579 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7580 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7581 is only for users of API that don't want to see deprecated
7582 functions in the headers; people that want to compile out
7583 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7584 CFLAGS. Fixes the build of multifdsink, or will soon..
7586 2006-08-11 Wim Taymans <wim@fluendo.com>
7588 * docs/gst/gstreamer-sections.txt:
7589 Add GstClockClass vmethod docs.
7592 Mark #endif with comment for associated #if
7594 * gst/gstclock.c: (gst_clock_id_wait):
7596 Add vmethod wait_jitter to avoid an unneeded _get_time() for
7597 most clock implementations.
7599 Flesh out docs about resolution methods.
7600 API: GstClockClass::wait_jitter
7602 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7603 (gst_system_clock_async_thread),
7604 (gst_system_clock_id_wait_jitter_unlocked),
7605 (gst_system_clock_id_wait_jitter):
7606 Use base class wait_jitter variant for improved performance
7607 due to less clock polling.
7609 2006-08-11 Edward Hervey <edward@fluendo.com>
7611 * gst/gst.c: (gst_init_check), (init_post):
7612 Set gst as being initialized before scanning/updating the registry,
7613 since there might be my python plugin loader that calls gst_init() and
7614 we don't want to loop back in.
7617 2006-08-11 Wim Taymans <wim@fluendo.com>
7619 * docs/design/part-qos.txt:
7620 Bring docs in line with the code. Mostly the sign of the jitter was
7621 wrong in the docs. Fixes #349943.
7624 Fix the docs for the jitter.
7626 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7627 (gst_event_parse_tag), (gst_event_new_buffer_size),
7628 (gst_event_parse_buffer_size), (gst_event_parse_qos),
7629 (gst_event_new_seek), (gst_event_parse_seek),
7630 (gst_event_new_navigation):
7631 Make sure the GstStructure has no parent when creating custom
7633 Add some more argument checking so that we avoid 0.0 rates.
7634 Flesh out the docs for the QoS event some more.
7636 2006-08-11 Wim Taymans <wim@fluendo.com>
7638 * docs/gst/gstreamer-sections.txt:
7639 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7640 (ensure_current_registry_forking), (ensure_current_registry),
7641 (parse_one_option), (parse_goption_arg), (gst_deinit),
7642 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7645 Added API and command line option to disable registry forking in
7646 addition to the environment variable.
7647 Constify some static arrays.
7648 Added some more debug.
7650 API: gst_registry_fork_is_enabled()
7651 API: gst_registry_fork_set_enabled()
7652 API: --gst-disable-registry-fork command line option
7655 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
7657 * gst/gst.c: (gst_init):
7658 Fix typo in error message.
7660 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7662 * libs/gst/controller/gstcontroller.h:
7663 fix ABI size-correction
7665 * tests/check/libs/gdp.c: (gst_dp_suite):
7666 make tests that use deprecated API conditional
7668 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7670 * docs/libs/gstreamer-libs-sections.txt:
7671 * libs/gst/controller/gstcontroller.c:
7672 (_gst_controller_get_property), (_gst_controller_set_property),
7673 (_gst_controller_init), (_gst_controller_class_init):
7674 * libs/gst/controller/gstcontroller.h:
7675 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7676 (gst_object_set_control_rate):
7677 API: add gst_object_{s,g}et_control_rate(), add private data section,
7680 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7681 * libs/gst/dataprotocol/dataprotocol.h:
7682 add deprecation guards to make gtk-doc happy and allow disabling cruft
7684 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
7686 * tests/check/Makefile.am:
7687 * tests/check/gst/.cvsignore:
7688 Let's enable the new unit test as well.
7690 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
7693 * docs/gst/gstreamer-sections.txt:
7694 * gst/gstconfig.h.in:
7695 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7696 (_gst_info_printf_extension_ptr),
7697 (_gst_info_printf_extension_segment):
7698 API: add GST_SEGMENT_FORMAT, which is a printf extension we
7699 register that lets us easily dump GstSegments into debug
7702 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7703 (info_segment_format_printf_extension), (gst_info_suite):
7704 Add simple unit test that logs a bunch of different segments (not
7705 valgrinded at the moment because of leaks in
7706 gst_debug_add_log_function).
7708 2006-08-09 Edward Hervey <edward@fluendo.com>
7710 * libs/gst/base/gstbasetransform.c:
7711 (gst_base_transform_buffer_alloc):
7712 Even if we can't figure out the proper format to request downstream,
7713 call buffer_alloc() downstream with the input parameters without setting
7714 the caps on the srcpad. This will force negotiation in the chain
7718 2006-08-08 Edward Hervey <edward@fluendo.com>
7720 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7721 Unlinking from a pad without a target is now a perfectly valid case
7722 which should NOT raise an assertion.
7723 This case would happen if a linked ghostpad its target set to NULL after
7724 it was previously linked.
7726 2006-08-08 Edward Hervey <edward@fluendo.com>
7728 * tests/check/libs/gdp.c:
7729 Also comment out the test (see below).
7731 2006-08-08 Edward Hervey <edward@fluendo.com>
7733 * tests/check/libs/gdp.c: (gst_dp_suite):
7734 Use the architecture information from config.h and not gcc macros
7735 in order to properly disable a test that fails on PPC64.
7737 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
7739 * gst/gstelement.c: (gst_element_remove_pad):
7740 Don't crash printing the warning if the pad has no parent.
7742 2006-08-02 Wim Taymans <wim@fluendo.com>
7744 * libs/gst/dataprotocol/dataprotocol.c:
7745 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7746 (gst_dp_crc), (gst_dp_header_payload_length),
7747 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7748 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7749 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7750 (gst_dp_event_from_packet), (gst_dp_validate_header),
7751 (gst_dp_validate_payload):
7752 Make debug category static
7753 Constify the crc table.
7754 Do some more arg checking in public functions.
7755 Fix some docs and do some small cleanups.
7757 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7758 Add some more checks to see if GDP deals with bogus input.
7760 2006-07-31 Wim Taymans <wim@fluendo.com>
7762 * gst/gstvalue.c: (gst_value_compare_list):
7763 Fix GstValueList comparison code. Fixes #347293.
7765 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7766 Check to test GstValueList comparison.
7768 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7770 * gst/gstelementfactory.c: (gst_element_factory_create):
7771 Remove unnecessary ref/unref pair
7773 * gst/parse/grammar.y:
7774 Make sure to free the parse buffer on all code paths.
7775 Move a g_free up to the error handler where it's easier to see.
7777 * tests/check/gst/gstevent.c: (test_event):
7778 Extending timeout for downstream travelling events to 10 seconds to
7779 hopefully avoid intermittent failure on the buildbots.
7781 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7782 Don't manually set the state of the src element - it will happen as a
7783 natural consequence of the pipeline changing state, and that way it
7784 will do it in the right order too.
7786 2006-07-31 Wim Taymans <wim@fluendo.com>
7788 * libs/gst/base/gstbasetransform.c:
7789 (gst_base_transform_buffer_alloc):
7790 Use OBJECT_LOCK and refcounting to get the pad caps in the
7791 buffer_alloc function because the caps could change while we are
7792 busy with them. Fixes #349105
7794 2006-07-31 Wim Taymans <wim@fluendo.com>
7796 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7797 Protect _PAD_CAPS with OBJECT_LOCK.
7799 2006-07-31 Wim Taymans <wim@fluendo.com>
7801 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7802 (gst_pad_get_property), (gst_pad_activate_pull),
7803 (gst_pad_activate_push), (gst_pad_set_blocked_async),
7804 (gst_pad_set_activate_function),
7805 (gst_pad_set_activatepull_function),
7806 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7807 (gst_pad_set_getrange_function),
7808 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7809 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7810 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7811 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7812 (gst_pad_set_acceptcaps_function),
7813 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7814 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7815 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7816 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7817 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7818 (gst_pad_configure_sink), (gst_pad_configure_src),
7819 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7820 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7821 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7822 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7823 (gst_pad_send_event):
7824 Use _DEBUG_OBJECT when it makes sense.
7825 Protect GST_PAD_CAPS with the OBJECT_LOCK.
7826 Small cleanups and code reflows.
7827 Avoid caps refcounting in _accept_caps.
7828 Refactor alloc_buffer so that the code performed on the peer is in a
7829 separate function. Also if the pad does not implement a buffer alloc
7830 function, we should still check if the pad is flushing before falling
7831 back to the default allocator.
7833 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7835 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7836 Make all uses of identity and fakesink have silent=true to avoid
7837 serialising every passing data structure, which is breaking tests
7838 on FC4 for some unknown reason.
7840 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7842 * gst/parse/Makefile.am:
7843 * gst/parse/grammar.y:
7844 * gst/parse/parse.l:
7845 Reverted previous patch as it required to bump the flex dependency to
7846 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7848 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7850 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7852 * gst/parse/Makefile.am:
7853 * gst/parse/grammar.y:
7854 * gst/parse/parse.l:
7855 push & pop the state of the lexer for reentrant use case
7858 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
7860 * libs/gst/base/gstbasesrc.h:
7861 Note in the docs that the ::newsegment vfunc is not actually used by
7864 2006-07-28 Wim Taymans <wim@fluendo.com>
7866 * libs/gst/base/gstcollectpads.c:
7867 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7868 (gst_collect_pads_clear), (gst_collect_pads_flush),
7869 (gst_collect_pads_event), (gst_collect_pads_chain):
7870 When flushing a pad, also clear the queued buffer so that we don't
7871 accidentally use it when we shouldn't.
7872 Fix leaks by inreffing incomming buffer.
7873 Flush out queued buffers in case of errors.
7876 2006-07-28 Wim Taymans <wim@fluendo.com>
7878 * docs/random/phonon-gst:
7879 Random notes about a Phonon backend.
7881 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7883 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7885 * tests/check/libs/gdp.c: (gst_dp_suite):
7886 Take a whack at fixing the ppc compile using a different define to
7887 disable the broken test.
7889 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7890 Remove excess g_print()
7892 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7894 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7895 Oops, meant to uncomment this line too to dampen the noise a bit.
7897 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7899 * gst/parse/grammar.y:
7900 * gst/parse/parse.l:
7901 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7902 (GST_START_TEST), (parse_suite):
7903 Fix some of the leaks exposed by extending the parse-launch testsuite,
7904 and move the 3 I can't figure out into a separate test that won't run
7905 the pipelines unless the appropriate line is uncommented.
7907 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7909 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7910 Requesting 0 bytes before the end of the file should result in
7911 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7914 2006-07-27 Wim Taymans <wim@fluendo.com>
7916 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7917 Fix useless assert, a uint is always positive.
7919 * gst/gststructure.c: (gst_structure_nth_field_name),
7920 (gst_structure_foreach), (gst_structure_map_in_place):
7921 Check input arguments for public functions to avoid obvious crashes.
7923 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7924 * plugins/elements/gstfakesink.h:
7925 Do less useless typechecking.
7927 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7929 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7930 Do not use mmap() by default since there are a number of error
7931 conditions that we would like to handle in a non-fatal way that
7932 will result in a SIGBUS if we use mmap(). Examples: external
7933 devices (USB harddrive, portable music player) being unplugged
7934 while in use; file on mounted CD/DVD that can't be read because
7935 the medium is partly damaged. Fixes #348455 and #348475.
7937 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7940 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7943 2006-07-26 Stefan Kost <ensonic@users.sf.net>
7945 * gst/gstregistry.c:
7946 Move big documentation comment into class section header, so that it
7947 appears in the API docs.
7949 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7951 * docs/gst/gstreamer-sections.txt:
7952 Oops. Commit the docs additions too for new API.
7953 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7955 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7957 * gst/gststructure.c: (gst_structure_id_set),
7958 (gst_structure_id_set_valist):
7959 * gst/gststructure.h:
7960 Add API for setting values into structures without performing
7961 a quark lookup, if the appropriate quark is already known.
7963 API: gst_structure_id_set
7964 API: gst_structure_id_set_valist
7966 * gst/parse/grammar.y:
7967 * gst/parse/parse.l:
7968 Remove some dead code shown by the coverage information.
7969 Don't throw a critical g_warning when encountering a syntax error,
7970 just warn and let the normal error path handle it.
7972 * plugins/elements/gstelements.c:
7973 Bump the rank of filesink up to PRIMARY so that it is preferred over
7974 gnomevfssink for file:// sink uri's
7976 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7977 (GST_START_TEST), (run_delayed_test),
7978 (gst_parse_test_element_base_init),
7979 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7980 (gst_parse_test_element_change_state),
7981 (gst_register_parse_element), (parse_suite):
7982 Beef up the tests for parse syntax to check that more error cases
7983 fail as they are supposed to. Increases the test coverage a bit.
7985 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
7987 * docs/manual/basics-elements.xml:
7988 Fix gst_element_link() example.
7991 Mention in API docs that one should usually gst_bin_add()
7992 elements to a bin or pipeline before doing the linking.
7994 2006-07-26 Wim Taymans <wim@fluendo.com>
7996 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7997 (gst_subbuffer_get_type), (gst_buffer_create_sub):
7998 Avoid function call for known types by keeping the buffer and
7999 subbuffer GType global.
8001 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8002 Random silly optimisations in read() path.
8004 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
8006 * tools/gst-launch.c: (main):
8007 If the top-level of the parse is a normal bin, it doesn't do the
8008 right logic to run as a top-level element, so place it inside a
8011 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
8013 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
8014 Remove superfluous g_object_notify() calls, GObject does
8015 that for us automatically.
8017 2006-07-25 Stefan Kost <ensonic@users.sf.net>
8020 on Win32, use dllspec to export the debug category symbols
8022 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
8024 * gst/gsttaglist.c: (_gst_tag_initialize):
8025 Allow more than one GST_TAG_IMAGE per taglist.
8027 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
8029 * gst/gstminiobject.c:
8031 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
8032 (gst_fd_src_create):
8033 log recurring events at LOG level
8034 add more debug for when the fd gets set
8036 2006-07-21 Stefan Kost <ensonic@users.sf.net>
8038 * gst/gstparse.c: (gst_parse_launch):
8039 Also remove reentrance checks if flex is MT safe (#348179)
8040 Fix my empty ChangeLog entry below
8042 2006-07-21 Andy Wingo <wingo@pobox.com>
8044 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
8046 * libs/gst/check/Makefile.am
8047 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
8048 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
8049 * libs/gst/check/gstbufferstraw.h:
8050 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
8051 functions, thus proving I am still a GStreamer haxor. OK I wrote
8052 them a long time ago, but anyways.
8054 2006-07-21 Stefan Kost <ensonic@users.sf.net>
8057 * gst/gstparse.c: (gst_parse_launch):
8058 Check for flex version and omit mutex if we have a MT save flex
8061 2006-07-21 Wim Taymans <wim@fluendo.com>
8063 * gst/gstparse.c: (gst_parse_launch):
8064 Protect recursive calls to _parse with a recursive mutex
8067 2006-07-21 Wim Taymans <wim@fluendo.com>
8069 * tests/check/gst/gstpad.c: (GST_START_TEST):
8072 2006-07-20 Stefan Kost <ensonic@users.sf.net>
8074 * gst/gstparse.c: (gst_parse_launch):
8075 Do not hang on recursive usage of gst_parse_launch()
8077 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
8080 Add some more docs, comments and FIXME 0.11s here and there
8081 and also fix some typos.
8083 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
8086 Convert tabs to spaces for better readability.
8088 2006-07-20 Edward Hervey <edward@fluendo.com>
8090 * tests/check/libs/gdp.c: (gst_dp_suite):
8091 the test_buffer test fails at line 140 on ppc64 at the following
8093 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8094 GST_BUFFER_FLAG_IN_CAPS),
8095 "GST_BUFFER_IN_CAPS flag should have been copied !");
8096 See bug #348114 for more details.
8098 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
8100 * docs/pwg/advanced-scheduling.xml:
8102 Fix typos (#348000).
8104 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
8106 * docs/pwg/intro-basics.xml:
8107 Fix wrong links (#347927).
8109 2006-07-18 Stefan Kost <ensonic@users.sf.net>
8111 * gst/gstregistry.h:
8112 * gst/gstregistryxml.c: (load_feature),
8113 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8114 * win32/common/config.h:
8115 make --disable-index work (#342564)
8117 2006-07-18 Wim Taymans <wim@fluendo.com>
8119 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8123 The attached patch adds two missing defines to gsttrace.h when tracing
8124 is disabled. It also corrects one existing define.
8127 2006-07-17 Wim Taymans <wim@fluendo.com>
8129 * docs/gst/gstreamer-sections.txt:
8130 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8132 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8133 Add two functions to check and change the SIGSEGV behaviour
8134 when loading plugins.
8135 Don't mess with the SIGSEGV handler when we were told not to.
8137 API: gst_segtrap_is_enabled
8138 API: gst_segtrap_set_enabled
8140 2006-07-14 Wim Taymans <wim@fluendo.com>
8142 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8143 * tests/check/elements/filesrc.c: (GST_START_TEST):
8144 Revert fix for regression in #347408 after release.
8146 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
8148 Patch by: Antoine Tremblay <hexa00 at gmail com>
8150 * gst/gstutils.c: (gst_element_unlink):
8151 Free iterator when done (#347311).
8153 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8154 And add a test case for this.
8156 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
8159 Bump nano back to CVS
8161 === release 0.10.9 ===
8163 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
8166 releasing 0.10.9, "On the road again"
8168 2006-07-13 Wim Taymans <wim@fluendo.com>
8170 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8171 * tests/check/elements/filesrc.c: (GST_START_TEST):
8172 Revert pull-0 fix for release. Disable check. Fixes #347408.
8174 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8176 * libs/gst/dataprotocol/dataprotocol.c:
8177 (gst_dp_event_from_packet_1_0):
8178 Fixes #347337: failure to deserialize event packets with
8179 empty payload (only event type)
8181 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8184 do not install a .c file in the header directory
8186 2006-07-13 Edward Hervey <edward@fluendo.com>
8188 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8189 GhostPad no longer implicitely use the padtemplates of the targets.
8192 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
8194 * gst/gstvalue.c: (gst_value_compare_list),
8195 (gst_value_compare_array), (_gst_value_initialize):
8196 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8197 Make GstValueArray comparison be order dependent as designed.
8198 Add checks for value lists and value array comparisons.
8201 2006-07-11 Edward Hervey <edward@fluendo.com>
8203 * gst/gstbin.c: (activate_pads),
8204 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8205 (gst_bin_change_state_func):
8206 (de)activate src pads before calling state_change on the childs.
8207 This is to avoid the case where a src ghostpad is blocked (holding the
8208 stream lock), which would block the deactivation of the ghostpad's
8210 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8211 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8212 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8213 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8214 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8215 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8216 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8217 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8218 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8219 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8220 (gst_ghost_pad_class_init),
8221 (gst_ghost_pad_internal_do_activate_push),
8222 (gst_ghost_pad_internal_do_activate_pull),
8223 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8224 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8225 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8226 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8227 GhostPads now create their internal GstProxyPad at creation (and not
8228 when they're linked, as it was being done previously).
8229 The internal and target pads are linked straight away.
8230 The data will also travel through the other pad in order to make
8231 pad blocking and probes non-hackish (the probe/block now really happens
8232 on the GhostPad and not on the target).
8233 * gst/gstpad.c: (gst_pad_set_blocked_async),
8234 (gst_pad_link_prepare), (gst_pad_push_event):
8235 Remove previous ghostpad cruft.
8236 * gst/gstutils.c: (gst_pad_add_data_probe),
8237 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8238 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8239 (gst_pad_remove_buffer_probe):
8240 Remove previous ghost pad cruft.
8241 Added more detailed debug statements.
8242 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8243 Fix the testsuite for refcounting changes.
8244 The comments about who has references were correct, but the refcount
8245 being checked wasn't the same (!?!).
8249 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8251 * docs/gst/gstreamer-sections.txt:
8252 * gst/gstconfig.h.in:
8253 More docs for configuration options, add docs to gtk-doc.
8255 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8258 * gst/gstconfig.h.in:
8259 * win32/common/config.h:
8260 Fix build when disabling tracing (fixes #344016). Also start to document
8261 the defines that disable the sub-systems.
8263 2006-07-10 Edward Hervey <edward@fluendo.com>
8265 * gst/gst.c: (ensure_current_registry_forking):
8266 let's make valgrind happy...
8268 2006-07-09 Wim Taymans <wim@fluendo.com>
8270 * gst/gstelement.c: (activate_pads),
8271 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8272 Better pad activation code: Reset the collect value too on resync.
8275 2006-07-09 Wim Taymans <wim@fluendo.com>
8277 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8278 (gst_pad_activate_push):
8279 Use some more macros where it makes sense.
8280 Allow pad mode switching instead of asserting. When a pad
8281 is activated in one mode and we activate it in another,
8282 deactivate it first before activating it in a different mode.
8285 2006-07-08 Andy Wingo <wingo@pobox.com>
8287 * tools/gst-launch.c (main): Handle err == NULL.
8289 * gst/gst.c (init_post, ensure_current_registry)
8290 (ensure_current_registry_forking)
8291 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8292 factoring out the registry scanning into separate functions. Don't
8293 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8294 Better environment var name/interface suggestions accepted.
8296 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8298 * gst/gstobject.c: (gst_object_set_name_default),
8299 (gst_object_set_name):
8300 Random micro-optimisation: don't use a hash table
8301 with strings as keys and the usual strdup/strcmp
8302 involved, but rather just use the GQuark of the
8303 type name as key, since it needs to be looked up
8304 anyway to get the type name string.
8306 * tests/check/gst/gstobject.c: (GST_START_TEST):
8309 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8311 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8312 (gst_bin_iterate_all_by_interface):
8313 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8314 GTypes are gulongs and thus the top 4 bytes might be cut
8315 off on some platforms when doing GPOINTER_TO_INT, leading
8316 to invalid GTypes and bad things happening (see RH bug #179654).
8317 Also add a check to make sure the type passed in is really
8320 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8325 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8329 * gst-element-check.m4:
8330 * gst-element-check.m4.in:
8331 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8332 instead of the unversioned gst-inspect (#324176, #168659).
8334 2006-07-06 Wim Taymans <wim@fluendo.com>
8337 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8340 2006-07-06 Wim Taymans <wim@fluendo.com>
8342 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8343 (gst_base_src_wait), (gst_base_src_update_length),
8344 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8345 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8346 (gst_base_src_loop), (gst_base_src_start),
8347 (gst_base_src_activate_pull):
8349 blocksize == 0 now means the default blocksize when working in push
8351 Remove some pointless asserts in _wait function.
8352 Fix offset/length calculations and EOS handling. We can now pull 0
8353 bytes as well, which is allowed.
8354 use _check_get_range() to decide if we can operate in _pull based
8356 Fix refcounting leak when check_get_range function was not
8358 API GstBaseSrc::blocksize range can be 0 too now (default)
8360 * tests/check/elements/filesrc.c: (GST_START_TEST),
8362 Added check to test _get_range() behaviour.
8364 2006-07-06 Wim Taymans <wim@fluendo.com>
8366 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8367 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8368 (gst_pad_pull_range):
8370 Lots of comments and docs added to the pad functions.
8371 Flesh out the expected behaviour of the get_range() functions.
8373 2006-07-06 Wim Taymans <wim@fluendo.com>
8378 * gst/gstiterator.h:
8382 Remove comma at end of enumerator list.
8384 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
8386 * win32/common/libgstbase.def:
8387 * win32/common/libgstdataprotocol.def:
8388 * win32/common/libsgtreamer.def:
8389 Add new exported functions.
8391 2006-07-05 Wim Taymans <wim@fluendo.com>
8393 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8394 Add some more docs here and there.
8396 2006-07-05 Wim Taymans <wim@fluendo.com>
8398 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8399 (gst_base_sink_loop), (gst_base_sink_get_position):
8400 When operating in pull mode update the offset so that we
8403 2006-07-05 Wim Taymans <wim@fluendo.com>
8405 * gst/gstregistryxml.c: (read_string):
8406 Avoid strdup. (will happen in libxml, but hey!)
8411 2006-07-05 Wim Taymans <wim@fluendo.com>
8413 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8414 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8416 No point in checking if the size of the subbuffer > 0, the
8417 code handles it correclty as demonstrated by unit test.
8418 Also add a unit test for the zero sized _new_and_alloc and
8419 _copy. Fixes #346663.
8421 2006-07-05 Wim Taymans <wim@fluendo.com>
8423 * libs/gst/base/gstbasetransform.c:
8424 (gst_base_transform_prepare_output_buffer),
8425 (gst_base_transform_buffer_alloc),
8426 (gst_base_transform_handle_buffer):
8427 Make sure the buffer we pass to transform_ip has a refcount of
8428 1 and thus is writable. Fixes #343196
8430 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
8432 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8433 (gst_file_src_init), (gst_file_src_set_property),
8434 (gst_file_src_get_property), (gst_file_src_map_region):
8435 * plugins/elements/gstfilesrc.h:
8436 Add "sequential" property, off by default, to use madvise and hint
8437 to the kernel that sequential access is desired.
8438 Touch all retrieved pages by default to ensure they are pulled
8439 into memory. (Closes #345720)
8441 2006-07-03 Wim Taymans <wim@fluendo.com>
8443 * docs/design/part-block.txt:
8444 * docs/design/part-dynamic.txt:
8447 2006-07-03 Wim Taymans <wim@fluendo.com>
8449 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8450 (gst_caps_unref), (gst_static_caps_get),
8451 (gst_caps_append_structure):
8452 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8453 Use GSlice when the glib we build against is >= 2.10
8455 2006-07-03 Wim Taymans <wim@fluendo.com>
8457 * gst/gstelement.c: (gst_element_pads_activate):
8458 Small cleanup in pad activation code.
8460 2006-07-03 Wim Taymans <wim@fluendo.com>
8462 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8464 * gst/gst-i18n-app.h:
8465 * gst/gst-i18n-lib.h:
8466 * tools/gst-inspect.c: (print_signal_info):
8467 The attached patch will make the inclusion of gettext.h unconditional in
8468 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8469 libintl.h in tools/gst-inspect.c.
8470 This allows use of --disable-nls again and fixes #344642.
8472 2006-07-03 Edward Hervey <edward@fluendo.com>
8474 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8475 Implement pad blocking on events according to part-block.txt.
8476 More comments on behaviour.
8477 * tests/check/gst/gstevent.c: (test_event):
8478 Send event to peer pad of blocked pad (else it will block).
8480 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8482 * libs/gst/check/gstcheck.c: (gst_check_message_error),
8483 (gst_check_run_suite):
8484 if we get the wrong message, give us the types as string
8485 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8487 * tests/check/elements/filesrc.c: (GST_START_TEST):
8488 add a test for trying to open a non-existing file
8490 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8492 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8493 add a test for adding self
8495 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8497 * libs/gst/check/gstcheck.h:
8498 add some assert_ as alias for fail_unless_*
8499 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8500 increase test coverage
8502 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8505 include lcov.mak for lcov coverage generation
8506 * tools/Makefile.am:
8509 2006-07-02 Edward Hervey <edward@fluendo.com>
8511 * tests/check/elements/.cvsignore:
8514 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8517 don't set CFLAGS and friends for gcov, done from GST_GCOV now
8518 * tests/check/Makefile.am:
8521 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8523 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8524 remove gst_caps_simplify; it was not declared and not used
8525 and deprecated in 0.8
8527 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8529 * docs/faq/gst-uninstalled:
8530 don't put empty paths on PYTHONPATH
8531 * docs/gst/gstreamer-sections.txt:
8532 remove some symbols that are not there
8534 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8536 * gst/gstcaps.c: (gst_caps_compare_structures):
8538 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8539 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8542 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8544 * libs/gst/dataprotocol/Makefile.am:
8545 build dataprotocol test by linking to the lib, instead of
8546 compiling the source, so we get coverage
8547 * tests/check/Makefile.am:
8548 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8549 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8550 add a test for filesrc
8552 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8554 * tests/check/gst/gststructure.c: (GST_START_TEST),
8555 (gst_structure_suite):
8556 Push coverage from 59.04% to 70.00%
8558 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8560 * tests/check/Makefile.am:
8561 gst-inspect every element; this makes sure that we also get
8562 coverage on element's get/set functions
8564 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8567 set CFLAGS and friends to -O0 if gcov is being used
8570 * libs/gst/base/Makefile.am:
8571 * libs/gst/check/Makefile.am:
8572 * libs/gst/controller/Makefile.am:
8573 * libs/gst/dataprotocol/Makefile.am:
8574 * libs/gst/net/Makefile.am:
8575 * plugins/elements/Makefile.am:
8576 * plugins/indexers/Makefile.am:
8577 add makefile rules to generate gcov data and clean up
8578 * tests/check/Makefile.am:
8579 add a coverage target that generates an html overview
8582 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8584 * tests/check/elements/fakesink.c:
8585 * tests/check/elements/fakesrc.c:
8586 * tests/check/elements/fdsrc.c:
8587 * tests/check/elements/identity.c:
8588 * tests/check/generic/sinks.c: (gst_sinks_suite):
8589 * tests/check/generic/states.c:
8590 * tests/check/gst/gst.c:
8591 * tests/check/gst/gstabi.c:
8592 * tests/check/gst/gstbin.c:
8593 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8594 * tests/check/gst/gstbus.c: (gst_bus_suite):
8595 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8596 * tests/check/gst/gstelement.c:
8597 * tests/check/gst/gstevent.c: (gst_event_suite):
8598 * tests/check/gst/gstghostpad.c:
8599 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8600 * tests/check/gst/gstmessage.c: (gst_message_suite):
8601 * tests/check/gst/gstminiobject.c:
8602 * tests/check/gst/gstobject.c:
8603 * tests/check/gst/gstpad.c:
8604 * tests/check/gst/gstpipeline.c:
8605 * tests/check/gst/gstplugin.c:
8606 * tests/check/gst/gstquery.c: (gst_query_suite):
8607 * tests/check/gst/gstsegment.c: (gst_segment_suite):
8608 * tests/check/gst/gststructure.c:
8609 * tests/check/gst/gstsystemclock.c:
8610 * tests/check/gst/gsttag.c:
8611 * tests/check/gst/gsttask.c: (gst_task_suite):
8612 * tests/check/gst/gstutils.c:
8613 * tests/check/gst/gstvalue.c:
8614 * tests/check/libs/adapter.c:
8615 * tests/check/libs/basesrc.c:
8616 * tests/check/libs/collectpads.c:
8617 * tests/check/libs/controller.c:
8618 * tests/check/libs/gdp.c: (gst_dp_suite):
8619 * tests/check/libs/gstnetclientclock.c:
8620 * tests/check/libs/gstnettimeprovider.c:
8621 * tests/check/libs/libsabi.c: (libsabi_suite):
8622 * tests/check/libs/typefindhelper.c:
8623 * tests/check/pipelines/cleanup.c:
8624 * tests/check/pipelines/parse-launch.c:
8625 * tests/check/pipelines/simple-launch-lines.c:
8626 * tests/check/pipelines/stress.c: (stress_suite):
8629 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8631 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8632 * libs/gst/check/gstcheck.h:
8633 create a macro and function so that the simple unit test
8634 case can be just one macro to create main()
8636 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
8638 * gst/gstbin.c: (gst_bin_restore_thyself):
8639 * gst/gstxml.c: (gst_xml_make_element):
8640 Fix deserialisation from XML. Set parent manually
8641 instead of using gst_bin_add(), since gst_bin_add()
8642 will unlink all pads of the element being added.
8645 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
8647 Patch by: Peter Kjellerstedt <pkj at axis com>
8649 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8650 Fix missing g_strdup() and double free when using the
8651 --gst-plugin-load command line option (#346097).
8653 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8656 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8658 * libs/gst/net/gstnetclientclock.c:
8659 * libs/gst/net/gstnettimeprovider.c:
8660 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8662 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8664 * docs/manual/advanced-dataaccess.xml:
8665 Fix buffer probe example compilation in
8668 2006-06-22 Edward Hervey <edward@fluendo.com>
8670 * gst/gstelement.c: (gst_element_pads_activate):
8671 We need to deactivate src pads first and then sink pads.
8672 The reason is the src pads might be blocking while holding the streaming
8673 lock, so we need to deactivate them first so that deactivating the sink
8674 pads doesn't block (since it will require the streaming lock).
8676 2006-06-22 Wim Taymans <wim@fluendo.com>
8678 * libs/gst/base/gstbasetransform.c:
8679 (gst_base_transform_buffer_alloc):
8680 Forgot to remove two unneeded unrefs.
8681 Simplify a check _is_equal allready checks the obvious case.
8683 2006-06-22 Wim Taymans <wim@fluendo.com>
8685 * docs/design/part-block.txt:
8686 Some docs about what pad_block should do.
8688 2006-06-22 Wim Taymans <wim@fluendo.com>
8690 * gst/gstcaps.c: (gst_caps_replace):
8691 Fix crasher when passed NULL. Doc clarification.
8692 Optimize for the trivial case.
8694 * gst/gstpipeline.c: (gst_pipeline_change_state):
8697 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8698 Small documentation cleanup.
8700 * libs/gst/base/gstbasetransform.c:
8701 (gst_base_transform_buffer_alloc):
8702 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8703 is what we need and it avoids a whole lot of redundant
8704 refcount operations.
8706 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
8708 Patch by: Philip Jägenstedt <philip at lysator liu se>
8710 * docs/manual/advanced-dataaccess.xml:
8711 Fix 'Embedding static elements' section to use
8712 GST_PLUGIN_DEFINE_STATIC (#345607).
8714 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8716 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8717 Attempt to 'fix' spuriously failing test case: it seems like the
8718 timeout of half a second is simply too small when the system is under
8719 load otherwise, and the timeout doesn't really seem to serve any
8720 particular purpose here. Give the pipeline a few seconds to preroll
8721 first, and then give it another half a second to go from PAUSED to
8722 PLAYING and marshal the message into the main thread.
8724 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8726 * tools/gst-feedback-m.m:
8727 Don't only use unversioned tools, try versioned tools as well
8730 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8732 * gst/gstbus.c: (gst_bus_class_init):
8733 Fix some typos, make docs more explicit.
8735 2006-06-20 Wim Taymans <wim@fluendo.com>
8737 * tests/check/gst/gstghostpad.c: (block_callback),
8738 (GST_START_TEST), (gst_ghost_pad_suite):
8739 Added some more ghostpad tests, mainly blocking
8742 2006-06-16 Wim Taymans <wim@fluendo.com>
8744 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8745 (gst_file_sink_close_file), (gst_file_sink_do_seek),
8746 (gst_file_sink_event), (gst_file_sink_render):
8747 * plugins/elements/gstfilesink.h:
8748 Check if we can seek in the file instead of assuming
8749 we always can. Post an error when we are asked to seek in a
8750 non-seekable file (like a fifo). Fixes #343312.
8753 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8755 * tools/gst-launch.1.in:
8756 Un-garble (fourcc) bit in filtered caps section.
8758 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8760 * docs/manual/advanced-autoplugging.xml:
8761 * docs/manual/basics-helloworld.xml:
8762 * docs/manual/highlevel-components.xml:
8763 Don't leak bus reference in sample code.
8765 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
8768 Add default for new --enable-plugin-docs switch.
8771 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8775 Use new ENABLE_PLUGIN_DOCS conditional.
8777 2006-06-14 Wim Taymans <wim@fluendo.com>
8779 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8780 Make it clear with a FIXME and a real define what the #if 0
8781 previously disabled.
8783 2006-06-14 Wim Taymans <wim@fluendo.com>
8785 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8786 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8787 * libs/gst/base/gstbasetransform.c:
8788 (gst_base_transform_sink_eventfunc):
8789 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8790 Don't randomly and silently reset a segment when the format
8791 changes as this is a bug somewhere upstream. Fixes #330379.
8793 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
8795 Patch by: Wouter Paesen <wouter at kangaroot net>
8797 * libs/gst/controller/gstcontroller.c:
8798 (gst_controlled_property_new):
8799 Fix controlling of float properties (#344849).
8801 * tests/check/libs/controller.c:
8802 (gst_test_mono_source_get_property),
8803 (gst_test_mono_source_set_property),
8804 (gst_test_mono_source_class_init), (GST_START_TEST):
8805 While we're at it, add some float stuff to unit test.
8807 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8810 * docs/images/gdp-header.svg:
8812 * docs/libs/Makefile.am:
8813 * docs/libs/gdp-header.png:
8814 * libs/gst/dataprotocol/dataprotocol.c:
8815 add it to the API docs
8816 * docs/manual/intro-motivation.xml:
8819 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8821 * gst/gst.c: (scan_and_update_registry), (init_post):
8822 If the fork()'ed child process can't write the updated registry cache
8823 file to disk for some reason, make it exit with a failure exit code,
8824 so that the parent can then re-scan the plugins itself and update the
8825 registry structures in memory and work with that (rather than failing
8826 when creating elements because seemingly no plugins are available).
8827 Refactor registry scanning code into separate function for this and
8828 also separate fork() and non-fork() code paths. Fixes #344748.
8830 2006-06-13 Wim Taymans <wim@fluendo.com>
8832 * docs/manual/advanced-dataaccess.xml:
8833 Fix wrong PluginDesc. Fixes #344755.
8835 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8837 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8838 Fix silly bug that prevented us from creating
8839 ~/.gstreamer-0.10 and writing the registry in one
8840 go (the first call to g_mkstemp() would overwrite the
8841 placeholder in the template string, so the second call
8842 to g_mkstemp() after creating the missing directory
8843 would then error out with 'invalid argument').
8845 2006-06-13 Edward Hervey <edward@fluendo.com>
8847 * gst/gst.c: (init_post):
8850 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8852 * gst/glib-compat-private.h:
8853 * gst/glib-compat.c:
8854 * gst/glib-compat.h:
8855 * gst/gstvalue.c: (gst_value_serialize_flags):
8856 remove GLib 2.6 compatibility code
8858 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
8860 * gst/parse/Makefile.am:
8861 Fix build with 'make -j N' even more (#340016).
8863 2006-06-12 Wim Taymans <wim@fluendo.com>
8865 * docs/gst/gstreamer-sections.txt:
8868 2006-06-12 Wim Taymans <wim@fluendo.com>
8870 * gst/gstsegment.c: (gst_segment_set_duration),
8871 (gst_segment_set_last_stop), (gst_segment_set_seek),
8872 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8873 (gst_segment_to_running_time), (gst_segment_clip):
8874 Use G_UNLIKELY to help the compiler a bit.
8876 2006-06-12 Wim Taymans <wim@fluendo.com>
8878 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8880 * gst/gstevent.c: (gst_event_get_type):
8882 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8884 constify quark registration strings. Fixes #344115
8885 Avoid unneeded type checking is _pad_push() by internally
8886 calling gst_pad_chain_unchecked().
8888 2006-06-12 Wim Taymans <wim@fluendo.com>
8890 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8891 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8892 (gst_subbuffer_finalize), (gst_buffer_create_sub),
8893 (gst_buffer_is_span_fast), (gst_buffer_span):
8894 Init _type for consistency.
8895 Use _FLAGS macro to avoid type check.
8896 Avoid unneeded type checks in subbufer code.
8898 2006-06-12 Wim Taymans <wim@fluendo.com>
8900 * gst/gst.c: (gst_debug_help):
8901 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8902 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8903 (gst_plugin_feature_list_free):
8904 * gst/gstregistry.c: (gst_registry_add_plugin),
8905 (gst_registry_add_feature), (gst_registry_plugin_filter),
8906 (gst_registry_feature_filter), (gst_registry_find_plugin),
8907 (gst_registry_find_feature), (gst_registry_get_plugin_list),
8908 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8909 * gst/gstregistryxml.c: (load_feature),
8910 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8911 * gst/gstminiobject.c: (gst_mini_object_unref),
8912 (gst_mini_object_replace), (gst_value_mini_object_free),
8913 (gst_value_mini_object_copy):
8914 Use _CAST macros to avoid unneeded type checking.
8915 Added some more G_UNLIKELY.
8917 2006-06-12 Wim Taymans <wim@fluendo.com>
8920 Avoid unneeded type checking.
8921 API: GST_BUFFER_IS_DISCONT
8923 * gst/gstminiobject.h:
8924 Avoid type check in flag accessor.
8926 * gst/gstelementfactory.h:
8928 * gst/gstpluginfeature.h:
8930 API: GST_ELEMENT_FACTORY_CAST
8931 API: GST_PLUGIN_CAST
8932 API: GST_PLUGIN_FEATURE_CAST
8934 2006-06-12 Wim Taymans <wim@fluendo.com>
8936 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8938 Add G_UNLIKELY in type registration.
8939 Avoid type check in _ref/_unref since that is also
8942 2006-06-12 Wim Taymans <wim@fluendo.com>
8944 * gst/gsterror.c: (gst_g_error_get_type):
8945 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8946 (gst_static_pad_template_get_type):
8947 * gst/gsttaglist.c: (gst_tag_list_get_type):
8948 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8949 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8950 * gst/gsturi.c: (gst_uri_handler_get_type):
8951 * gst/gstvalue.c: (gst_date_get_type):
8952 * gst/gstxml.c: (gst_xml_get_type):
8953 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8954 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8955 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8956 Add G_UNLIKELY in type registration.
8958 2006-06-12 Wim Taymans <wim@fluendo.com>
8960 * tools/gst-inspect.c: (print_signal_info):
8961 Properly print enum values.
8963 2006-06-12 Wim Taymans <wim@fluendo.com>
8965 * gst/gstinfo.c: (gst_debug_set_active),
8966 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8968 Add some G_[UN]LIKELY.
8969 Maintain __gst_debug_min to avoid formatting the arguments of
8970 debug messages that will be dropped anyway to avoid a lot of
8971 overhead from the debugging system.
8973 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8977 add missing files containing translatable strings, tell intltool about
8980 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8982 * tests/check/libs/.cvsignore:
8983 add test-binary to ignore list
8985 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8987 * docs/libs/gstreamer-libs-docs.sgml:
8988 reorder (put dp into a chapter) and indent
8990 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8995 === release 0.10.8 ===
8997 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9000 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
9002 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9004 * gst/gst.c: (init_post):
9005 move pid declaration to declaration block
9007 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9009 * gst/gst.c: (init_post):
9010 use _exit() instead of exit() in our forked child; this ensures
9011 that none of the registered exit handlers from whatever is using
9012 GStreamer get executed. This fixes gnome-mixer-applet failing
9013 to load, because ORBit would shut down.
9014 Spotted by: Edward Hervey <edward@fluendo.com>
9015 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
9018 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9023 === release 0.10.7 ===
9025 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9028 releasing 0.10.7, "Soepeke, ik zie ou"
9030 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
9053 * win32/common/config.h:
9056 2006-06-07 Wim Taymans <wim@fluendo.com>
9058 * gst/gstindex.c: (gst_index_gtype_resolver):
9059 * tools/gst-xmlinspect.c: (print_plugin_info):
9060 Fix leak spotted by coverity checker. Fixes #343827
9061 Fix another other leak found by paolo borelli.
9063 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9065 * libs/gst/dataprotocol/dataprotocol.c:
9066 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9067 (gst_dp_version_get_type), (gst_dp_init),
9068 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
9069 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
9070 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
9071 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
9072 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
9073 (gst_dp_packetizer_free):
9074 * libs/gst/dataprotocol/dataprotocol.h:
9075 API: add a GstDPPacketizer object, and create/free functions
9076 API: add GstDPVersion enum
9077 Add 1.0 event function that uses the string serialization
9078 Serialize more useful buffer flags
9081 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9083 * tests/check/Makefile.am:
9084 * tests/check/gst/gstabi.c:
9085 * tests/check/gst/struct_ppc64.h:
9086 * tests/check/libs/libsabi.c:
9087 * tests/check/libs/struct_ppc64.h:
9088 add ppc64 structure sizes
9090 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9092 * tests/check/Makefile.am:
9093 * tests/check/gst/gstabi.c:
9094 * tests/check/gst/struct_x86_64.h:
9095 * tests/check/libs/libsabi.c:
9096 * tests/check/libs/struct_x86_64.h:
9097 generate and add structure size lists for x86_64
9099 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9101 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9102 * libs/gst/check/gstcheck.h:
9103 factor out the method from tests that checks size of structures,
9104 and add code to generate the header containing these sizes
9105 * tests/check/gst/gstabi.c: (GST_START_TEST):
9106 * tests/check/gst/struct_i386.h:
9107 * tests/check/libs/libsabi.c: (GST_START_TEST):
9108 * tests/check/libs/struct_i386.h:
9111 2006-06-06 Michael Smith <msmith@fluendo.com>
9114 Don't use c++-style comments, fixes #343929
9116 2006-06-05 Edward Hervey <edward@fluendo.com>
9119 plugin_paths is not used if we build without registry support.
9121 * gst/gstsegment.c: (gst_segment_copy):
9122 _copy() was always returning NULL...
9124 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9126 * libs/gst/dataprotocol/dataprotocol.c:
9127 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9128 (gst_dp_packet_from_event):
9131 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9133 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9134 make sure we unset caps
9136 2006-06-02 Michael Smith <msmith@fluendo.com>
9138 * libs/gst/check/gstcheck.c: (gst_check_init),
9139 (gst_check_chain_func):
9140 * libs/gst/check/gstcheck.h:
9141 Add a cond/mutex to the check support lib, signal this whenever we
9142 add to the buffers list. This will allow tests to not busy-wait on
9145 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9147 * libs/gst/dataprotocol/dataprotocol.c:
9148 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9149 (gst_dp_packet_from_event):
9150 factor out some common header init code
9152 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9154 * docs/libs/gstreamer-libs-sections.txt:
9155 * docs/libs/tmpl/gstdataprotocol.sgml:
9156 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9157 * libs/gst/dataprotocol/dataprotocol.h:
9158 API: make gst_dp_crc() public
9160 2006-06-01 Stefan Kost <ensonic@users.sf.net>
9162 * plugins/indexers/gstindexers.c: (plugin_init):
9163 conditionally register fileindexer (fixes #343598)
9165 2006-06-01 Stefan Kost <ensonic@users.sf.net>
9167 * gst/gsttagsetter.h:
9168 Can't cast ifaces to a class
9170 * libs/gst/net/gstnetclientclock.h:
9171 * libs/gst/net/gstnettimeprovider.h:
9172 * plugins/elements/gstfakesink.h:
9173 * plugins/elements/gstfakesrc.h:
9174 * plugins/elements/gstfdsink.h:
9175 * plugins/elements/gstfdsrc.h:
9176 * plugins/elements/gstfilesink.h:
9177 * plugins/elements/gstfilesrc.h:
9178 * plugins/elements/gstidentity.h:
9179 * plugins/elements/gstqueue.h:
9180 * plugins/elements/gsttee.h:
9181 * plugins/indexers/gstfileindex.c:
9182 * plugins/indexers/gstmemindex.c:
9183 * tests/old/examples/plugins/example.h:
9184 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9186 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
9188 * libs/gst/dataprotocol/dataprotocol.c:
9189 (gst_dp_header_from_buffer):
9190 make sure we zero the whole ABI-compatible area
9192 2006-06-01 Wim Taymans <wim@fluendo.com>
9194 Patch by: Alessandro Decina <alessandro at nnva dot org>
9196 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9197 Make sure the EOS flag is cleared from pads after a flush
9198 or stop. Fixes #343538.
9200 * tests/check/libs/collectpads.c: (GST_START_TEST),
9201 (gst_collect_pads_suite):
9202 Added test for collectpads reusage after EOS.
9204 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
9207 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9208 * win32/common/libgstbase.def:
9209 export gst_collect_pads_set_flushing
9210 * win32/common/libgstreamer.def:
9211 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9212 gst_value_fraction_multiply
9213 * win32/vs6/gst_inspect.dsp:
9214 add a link to intl.lib
9216 2006-05-30 Wim Taymans <wim@fluendo.com>
9218 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9219 (gst_collect_pads_chain):
9220 Handle the case where a pad is removed from the collection
9221 that could cause the other pads to become collectable.
9223 2006-05-30 Wim Taymans <wim@fluendo.com>
9226 Clarify the use of _release_request_pad() and
9227 _get_request_pad() a bit better.
9229 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9230 (gst_adapter_take_buffer):
9231 Fix some doc and comment typos.
9233 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9235 * docs/gst/gstreamer-sections.txt:
9236 * docs/libs/gstreamer-libs-sections.txt:
9237 add declared symbols
9239 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
9241 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9242 Add debug that can be enabled using a #define at the top of the file,
9243 for dumping stats about how late/early we were when waking up from
9244 waiting on the clock.
9246 2006-05-30 Wim Taymans <wim@fluendo.com>
9248 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9249 When rebuilding the pad list, don't leak the previous list.
9251 2006-05-30 Wim Taymans <wim@fluendo.com>
9253 Patch by: Lutz Mueller <lutz at topfrose dot de>
9255 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9256 (gst_base_src_get_query_types), (gst_base_src_update_length):
9257 Publish supported query types.
9258 Update last_stop field in get_range mode so the position
9259 query works. Fixes #342321.
9261 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
9263 * docs/gst/gstreamer-sections.txt:
9264 * gst/gsttaglist.c: (_gst_tag_initialize):
9266 API: add GST_TAG_PREVIEW_IMAGE (#343341).
9268 2006-05-30 Wim Taymans <wim@fluendo.com>
9270 Patch by: Alessandro Decina <alessandro at nnva dot org>
9272 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9273 Unlock mutex when removing an unknown pad.
9276 * tests/check/Makefile.am:
9277 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9278 (push_event), (setup), (teardown), (GST_START_TEST),
9279 (gst_collect_pads_suite), (main):
9280 Added collecpads check, disabled for now as check crashes for
9283 2006-05-29 Wim Taymans <wim@fluendo.com>
9285 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9286 Don't leak pads lists.
9288 2006-05-29 Wim Taymans <wim@fluendo.com>
9290 * docs/libs/gstreamer-libs-sections.txt:
9291 * libs/gst/base/gstcollectpads.c:
9292 (gst_collect_pads_set_flushing_unlocked),
9293 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9294 (gst_collect_pads_stop):
9295 * libs/gst/base/gstcollectpads.h:
9296 API: gst_collect_pads_set_flushing()
9297 Added api to set the pads to flushing, useful for seeking
9298 code in elements using collectpads.
9299 Clear segment when receiving a flush.
9301 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
9303 * gst/gst.c: (add_path_func), (init_post):
9304 Don't scan registry paths passed via --gst-plugin-path immediately
9305 (will crash, because absolutely nothing is set up and no types are
9306 registered etc.); do this later in init_post(). Fixes #343057.
9308 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
9310 * gst/gst.c: (init_post):
9311 if we have fork, fork while reading/rebuilding the registry
9312 so the parent doesn't take the hit of having all plugins loaded
9313 in memory. Fixes #342777.
9315 Check if we have fork()
9316 * win32/common/config.h.in:
9319 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9321 * plugins/elements/gstelements.c:
9322 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9323 (gst_file_src_init), (gst_file_src_set_property),
9324 (gst_file_src_get_property), (gst_file_src_start):
9325 * plugins/elements/gstfilesrc.h:
9326 API: GstFileSrc::use-mmap
9328 Add a use-mmap property to enable easier testing of all code paths.
9329 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9330 in the absence of gnomevfssrc. (Closes #340501)
9332 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9334 * tools/gst-inspect.c:
9335 Add missing include, removes warning of ngettext not being defined on
9338 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9340 * gst/gstvalue.c: (gst_value_deserialize_fraction):
9341 Handle NULL input and output pointers silently as a failed conversion,
9342 rather than g_warnings.
9344 2006-05-25 Wim Taymans <wim@fluendo.com>
9346 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9347 Initialize variable before using. Fixes #342820.
9349 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
9351 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9352 Fix off-by-one bug that would only allow peeks of N-1 bytes
9353 from the start even if the buffer to typefind on contains
9354 in fact N bytes of data (makes vorbis typefinding from a
9355 vorbis identification header buffer work).
9357 * tests/check/Makefile.am:
9358 * tests/check/libs/.cvsignore:
9359 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9360 (gst_typefindhelper_suite), (main), (foobar_typefind),
9362 Add very basic unit test for gst_type_find_helper_for_buffer()
9363 that checks for the problem fixed above.
9365 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
9367 * tools/gst-inspect.c: (print_interfaces),
9368 (print_element_properties_info), (print_element_list), (main):
9369 add more translatable strings
9371 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
9373 Patch by: Julien Moutte <julien at moutte net>
9375 * docs/gst/gstreamer-sections.txt:
9376 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9378 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9379 (gst_fake_sink_preroll):
9380 * plugins/elements/gstfakesink.h:
9381 API: Add new GstFakeSink::preroll-handoff signal (#337100).
9383 2006-05-23 Wim Taymans <wim@fluendo.com>
9385 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9387 Added _CUSTOM error and success GstFlowReturn that can be
9388 used be elements internally.
9389 Added macro to check for SUCCESS flowreturns.
9390 API: GST_FLOW_CUSTOM_SUCCESS
9391 API: GST_FLOW_CUSTOM_ERROR
9392 API: GST_FLOW_IS_SUCCESS
9394 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9395 Added check for GstFlowReturn sanity.
9397 2006-05-23 Wim Taymans <wim@fluendo.com>
9399 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9401 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9402 (gst_collect_pads_event):
9403 clear/reset segment info in FLUSH_STOP.
9406 2006-05-22 Stefan Kost <ensonic@users.sf.net>
9408 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9409 (gst_collect_pads_check_collected):
9410 Flush queued buffer on _stop(), fixes playing again (#342454)
9412 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
9414 * tests/check/gst/gststructure.c: (GST_START_TEST),
9415 (gst_structure_suite):
9416 add a test for a complete structure
9418 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9420 * docs/faq/developing.xml:
9422 * docs/faq/troubleshooting.xml:
9423 * docs/faq/using.xml:
9424 Some minor FAQ updates that won't change the fact that
9425 our FAQ is badly structured, full of information hardly
9426 anyone new to GStreamer needs to know and lacking lots
9427 of information people constantly ask for.
9429 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
9431 * gst/gstpad.c: (gst_pad_set_caps):
9432 Short-circuit gst_pad_set_caps if setting the existing
9433 caps pointer again, and avoid printing debug and
9434 reffing/unreffing the caps.
9436 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9437 There's actually no need to set the caps before pushing -
9438 the acceptcaps method will handle it anyway.
9440 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9442 * docs/gst/gstreamer-sections.txt:
9443 * win32/common/libgstreamer.def:
9444 * gst/gstutils.c: (gst_element_seek_simple):
9446 API: add gst_element_seek_simple() (#342238).
9448 2006-05-18 Edward Hervey <edward@fluendo.com>
9450 * gst/gsttypefind.c: (gst_type_find_get_type):
9451 * gst/gsttypefind.h:
9452 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9453 registered for GstTypeFind pointers. This allows wrapping the structure
9454 in bindings (i.e. gst-python).
9456 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9458 * gst/gsttagsetter.c:
9459 Docs additions and fixes (see #339918).
9461 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9463 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9464 The caps intersection algorithm can produce multiple copies of the
9465 caps. Until that is fixed, we need to simplify the result to be
9466 sure whether the allowed caps are fixed or not.
9468 * plugins/elements/gstqueue.c: (gst_queue_init),
9469 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9470 (gst_queue_push_one):
9471 Proxied buffer alloc should not set the caps on the source pad.
9472 When pushing buffers, we always accept the caps change that triggers.
9473 This prevents negotiation errors caused by caps changing mid-stream
9474 and then being refused on our source pad (because upstream is now
9475 refusing those caps).
9477 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9479 * tests/examples/helloworld/helloworld.c: (main):
9480 Must plug audioconvert and audioresample between decoder
9483 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
9485 * gst/gstregistryxml.c: (read_string), (load_pad_template),
9486 (load_feature), (load_plugin):
9487 Allow empty strings for some of the plugin fields so we don't
9488 drop valid plugin entries that were written out correctly
9491 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
9493 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9494 Use g_remove and g_rename instead of remove and rename that don't
9495 handle utf8 characters. rename was failing for users who had specific
9496 characters in their name then the registry was built at each
9498 * win32/vs6/gst_inspect.dsp:
9499 * win32/vs6/gst_launch.dsp:
9500 * win32/vs6/libgstbase.dsp:
9501 * win32/vs6/libgstcoreelements.dsp:
9502 * win32/vs6/libgstreamer.dsp:
9503 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
9504 build of libgstreamer and clean unused libraries in projects link
9507 2006-05-17 Edward Hervey <edward@fluendo.com>
9509 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9510 The queue is not responsible for pushing an EOS when receiving a fatal
9511 flow error. It's up to the real element driving the pipeline to do that.
9513 2006-05-16 Edward Hervey <edward@fluendo.com>
9515 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9516 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9517 buffer returned a fatal error. It should just send an EOS and stop
9519 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9520 when pushing buffers on the queue and will be able to handle the event.
9522 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
9524 * docs/manual/basics-bins.xml:
9525 * docs/manual/basics-init.xml:
9526 Fix typos and minor errors in sample code (#341856).
9528 2006-05-16 Wim Taymans <wim@fluendo.com>
9530 * docs/design/part-qos.txt:
9531 Fix indexes in formulas to make more sense.
9533 2006-05-15 Wim Taymans <wim@fluendo.com>
9535 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9536 Don't report POSITION based on clock time if sync is
9539 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
9542 Add cast to make compiler happy - refcount variable was a gint
9543 in GstObject but is a guint in GObject and g_atomic_int_get()
9546 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
9548 * gst/parse/Makefile.am:
9549 chain commands using &&, which also makes parallel make work
9551 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
9553 * docs/gst/gstreamer-sections.txt:
9559 === release 0.10.6 ===
9561 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
9564 releasing 0.10.6, "Take the cannoli"
9566 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
9568 * tools/gst-launch.c: (print_tag):
9569 Fix use of uninitialized variable in the hypothetical
9570 case that some broken plugin creates a GST_TAG_IMAGE
9571 tag containing a NULL buffer (#341667).
9573 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
9575 * tools/gst-launch.c: (print_tag):
9576 Print something more intelligible for image tags when
9577 using the -t switch (#341556).
9579 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
9584 define GST_MAJORMINOR so we have it available in win32/common/config.h
9585 Possibly remove it from our Makefile.am files later
9586 * win32/common/config.h:
9587 * win32/common/config.h.in:
9588 added GST_MAJORMINOR
9589 * win32/common/gstenumtypes.c: (register_gst_resource_error):
9590 * win32/common/gstversion.h:
9593 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
9596 Update win32 files listing.
9597 * win32/common/gstversion.h:
9598 Add GST_MAJORMINOR definition.
9599 * win32/common/libgstreamer.def:
9600 Add new exported functions.
9602 2006-05-12 Michael Smith <msmith@fluendo.com>
9604 * gst/gstplugin.c: (gst_plugin_load_file):
9605 If an so file has no plugin entry point, unload the module.
9607 2006-05-11 Wim Taymans <wim@fluendo.com>
9609 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9610 (gst_queue_set_property):
9611 Don't forget to signal the _chain or _loop function
9612 when the queue size or thresholds change since that might
9613 cause them to make progres again.
9615 2006-05-11 Stefan Kost <ensonic@users.sf.net>
9617 * gst/gstclock.c: (gst_clock_class_init):
9618 * gst/gstindex.c: (gst_index_class_init):
9619 * gst/gstobject.c: (gst_object_class_init):
9620 * gst/gstpad.c: (gst_pad_class_init):
9621 * gst/gstpipeline.c: (gst_pipeline_class_init):
9622 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9623 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9624 * libs/gst/base/gstbasetransform.c:
9625 (gst_base_transform_class_init):
9626 * libs/gst/net/gstnetclientclock.c:
9627 (gst_net_client_clock_class_init):
9628 * libs/gst/net/gstnettimeprovider.c:
9629 (gst_net_time_provider_class_init):
9630 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9631 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9632 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9633 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9634 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9635 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9636 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9637 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9638 * plugins/elements/gsttee.c: (gst_tee_class_init):
9639 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9640 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9641 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9643 2006-05-11 Wim Taymans <wim@fluendo.com>
9645 * gst/gstbuffer.c: (_gst_buffer_initialize):
9646 Register subbufer along with the buffer type so that
9647 it does not accidentally gets registered from N
9648 different streaming threads in a non threadsafe way.
9650 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9655 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9656 gst_event_ref() and gst_message_ref() functions again
9657 (ugly hack, please do fix if there's a better way besides
9658 overrides.txt, which doesn't seem to work).
9660 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9662 * libs/gst/check/gstcheck.h:
9663 add an assert for setting state to avoid lots of repetitive code
9666 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9668 * gst/gstvalue.c: (gst_value_serialize_flags):
9669 fix a leak if no flags are set
9670 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9673 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9675 * docs/manual/basics-pads.xml:
9676 Expand a bit on caps and filtered links and update
9677 examples that were still using the no longer existing
9678 gst_pad_link_filtered() (#338206).
9680 2006-05-10 Wim Taymans <wim@fluendo.com>
9682 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9683 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9684 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9685 (gst_collect_pads_stop):
9686 * libs/gst/base/gstcollectpads.h:
9687 No need to call _stop in _finalize.
9688 Iterate the main pad list in _finalize.
9689 Added some more debug.
9690 Free lists and data in the right order.
9691 Also free data whem doing _remove_pad when stopped for
9692 backward compatibility protect ::started with PAD_LOCK as
9695 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9697 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9698 (gst_structure_parse_value):
9700 rename a method so that it actually says what it does better
9702 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9704 * gst/gstevent.c: (_gst_event_initialize):
9705 * gst/gstformat.c: (_gst_format_initialize):
9706 make sure some essential types used by events are registered
9707 as part of gst_init()
9708 * gst/gstvalue.c: (gst_value_serialize_flags):
9709 if no flags are set, serialize them to a value that represents NONE
9710 so that deserializing them works
9711 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9712 add tests for serialization and deserialization of flags
9714 2006-05-10 Wim Taymans <wim@fluendo.com>
9716 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9717 (gst_collect_pads_collect_range), (gst_collect_pads_available),
9718 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9719 (gst_collect_pads_event), (gst_collect_pads_chain):
9722 Catch and return errors from the collect function
9723 Refuse data on eos pads.
9725 2006-05-10 Edward Hervey <edward@fluendo.com>
9727 * gst/gstinterface.h:
9728 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9729 GInterface type checking.
9730 They were previously using non-defined macros.
9732 2006-05-09 Wim Taymans <wim@fluendo.com>
9734 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9735 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9736 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9737 (gst_collect_pads_start), (gst_collect_pads_stop),
9738 (gst_collect_pads_peek), (gst_collect_pads_pop),
9739 (gst_collect_pads_available), (gst_collect_pads_read),
9740 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9741 (gst_collect_pads_is_collected), (gst_collect_pads_event),
9742 (gst_collect_pads_chain):
9743 * libs/gst/base/gstcollectpads.h:
9744 Clean up the mess that is collectpads, add comments and
9745 FIXMEs where needed.
9746 Maintain a separate pad list so we can add pads while
9747 collecting the other ones. For this we need a new separate
9749 Fix memory leak in finalize.
9750 Refactor some weird code to set/unset pad flushing flags, mark
9752 Don't crash in _available, _read, _flush when we're EOS.
9754 * tests/check/libs/.cvsignore:
9755 Ignore adapter check binary.
9757 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9759 * gst/gstindex.c: (gst_index_resolver_get_type):
9760 * plugins/elements/gstfakesink.c:
9761 (gst_fake_sink_state_error_get_type):
9762 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9763 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9764 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9765 Const-ify GEnumValue arrays.
9767 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9769 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9770 Add test case for flags + gst_buffer_make_metadata_writable().
9772 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9774 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9775 gst_buffer_make_metadata_writable() should maintain the
9776 buffer flags (those that make sense at least) (see #340859).
9778 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9780 * tools/gst-inspect.c:
9781 * tools/gst-launch.c:
9782 * tools/gst-typefind.c:
9783 * tools/gst-xmlinspect.c:
9785 Fix up includes: need to include stdlib.h in tools.h for exit().
9787 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9789 * gst/gsttaglist.c: (_gst_tag_initialize):
9791 API: add GST_TAG_IMAGE tag (#340721).
9793 2006-05-08 Wim Taymans <wim@fluendo.com>
9796 Added some docs for the segment query.
9798 2006-05-08 Wim Taymans <wim@fluendo.com>
9800 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9801 (gst_base_src_loop), (gst_base_src_change_state):
9802 Always push non-flushing serialized events in the streaming
9805 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
9807 * gst/gsterror.c: (_gst_stream_errors_init):
9808 Add a missing error string.
9810 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
9812 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9813 Add applied_rate to the debug
9815 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9816 Copy applied_rate into the outgoing NEWSEGMENT event
9818 2006-05-08 Wim Taymans <wim@fluendo.com>
9820 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9822 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9823 (gst_base_sink_change_state):
9824 call ::unlock before taking the PREROLL_LOCK so we can safely
9825 handle elements that lock in ::render.
9828 2006-05-08 Edward Hervey <edward@fluendo.com>
9830 * autogen.sh: (CONFIGURE_DEF_OPT):
9831 Darwin's libtoolize is in fact called glibtoolize.
9832 Adding glibtoolize to the list of accepted names for libtoolize.
9834 2006-05-08 Wim Taymans <wim@fluendo.com>
9836 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9837 Unify error handling, don't post an error message
9838 when a push() returns EOS but perform our normal EOS
9839 handling code. Fixes #340772.
9841 2006-05-08 Wim Taymans <wim@fluendo.com>
9843 * docs/design/part-overview.txt:
9844 Make upsteam/downstream concepts more clear.
9845 Give an example of serialized/non-serialized events.
9847 * docs/design/part-events.txt:
9848 * docs/design/part-streams.txt:
9849 Mention applied_rate.
9851 * docs/design/part-trickmodes.txt:
9852 Mention applied rate, flesh out some more use cases.
9854 * gst/gstevent.c: (gst_event_new_new_segment),
9855 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9856 (gst_event_parse_new_segment_full), (gst_event_new_tag),
9857 (gst_event_parse_tag), (gst_event_new_buffer_size),
9858 (gst_event_parse_buffer_size), (gst_event_new_qos),
9859 (gst_event_parse_qos), (gst_event_parse_seek),
9860 (gst_event_new_navigation):
9862 Add applied_rate field to NEWSEGMENT event.
9863 API: gst_event_new_new_segment_full()
9864 API: gst_event_parse_new_segment_full()
9866 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9867 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9868 (gst_segment_to_stream_time), (gst_segment_to_running_time):
9870 Add applied_rate to GstSegment structure.
9871 Make calculation of stream_time and running_time more correct
9872 wrt rate/applied_rate.
9874 API: GstSegment::applied_rate field
9875 API: gst_segment_set_newsegment_full();
9877 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9878 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9879 * libs/gst/base/gstbasetransform.c:
9880 (gst_base_transform_sink_eventfunc),
9881 (gst_base_transform_handle_buffer):
9882 Parse and use applied_rate in the GstSegment field.
9884 * tests/check/gst/gstevent.c: (GST_START_TEST):
9885 Add check for applied_rate field.
9887 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9888 (gstsegments_suite):
9889 Add more checks for various GstSegment operations.
9891 2006-05-08 Wim Taymans <wim@fluendo.com>
9893 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9894 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9895 (gst_base_sink_get_position), (gst_base_sink_change_state):
9896 Store the sync time of the buffer end position separatly in a
9897 new variable eos_rtime so we can properly sync the EOS event.
9899 Fix the docs for gst_base_sink_set_qos_enabled().
9900 Don't set segment start to invalid value when we receive a
9901 non TIME newsegment.
9902 get closer to handling position reporting for negative rates
9905 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9908 Docs about how to print caps for debug purposes.
9910 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9911 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9913 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9916 use full enum names and preprend a '%' in docs strings to make recent
9917 gtk-doc turn that into a link
9919 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9921 * docs/manual/basics-bins.xml:
9922 * docs/manual/basics-bus.xml:
9923 * docs/manual/basics-pads.xml:
9924 Some typo fixes, some additions, some clarifications.
9926 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9928 * tools/gst-inspect.c: (main):
9929 * tools/gst-launch.c: (main):
9930 * tools/gst-run.c: (main):
9931 * tools/gst-typefind.c: (main):
9932 * tools/gst-xmlinspect.c: (main):
9933 Use the string passed to g_option_context_new() for
9934 what it's intended for - the program name is already
9937 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9939 * tools/Makefile.am:
9940 * tools/gst-inspect.c: (main):
9941 * tools/gst-launch.c: (main):
9942 * tools/gst-xmlinspect.c: (main):
9944 Add back --version command line option (#340460).
9946 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9947 Add --version option and use GOption for argument parsing; refactor a
9948 bit; accept directories as arguments and recurse into them; lastly,
9949 print a decent error message when things go wrong.
9951 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9953 * docs/manual/basics-bins.xml:
9954 Don't mention GstThread (#340611)
9955 * docs/manual/basics-elements.xml:
9956 Update link to GObject tutorial (#340607)
9958 2006-05-05 Wim Taymans <wim@fluendo.com>
9961 * gst/gstminiobject.c:
9962 Add note about refcounting and miniobject/buffer writeability
9963 to docs. Fixes #340604
9965 * gst/gstelementfactory.h:
9966 Added some explanation about @klass.
9968 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9970 * docs/manual/intro-motivation.xml:
9971 * docs/manual/manual.xml:
9972 Avoid CORBA & Bonobo references (#340598)
9974 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9976 * docs/manual/basics-bus.xml:
9977 * docs/manual/basics-pads.xml:
9978 Fix up some inaccuracies and omissions (#340609)
9980 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9982 * gst/gstghostpad.c:
9983 Small typo in docs (#340625)
9985 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9987 * gst/parse/Makefile.am:
9988 Make 'make -j' proof (see #340698).
9990 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9993 Require GLib-2.8 here as well.
9995 2006-05-05 Wim Taymans <wim@fluendo.com>
9997 * gst/glib-compat.c:
9998 * gst/gst.c: (init_pre):
9999 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10000 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
10001 (gst_object_dispatch_properties_changed):
10003 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10004 * gst/gststructure.c: (gst_structure_set_valist):
10005 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10006 Remove pre glib2.8 compatibility, fixes #340508
10008 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
10010 * gst/gsttaglist.h:
10011 Mention type of tags in doc blurbs.
10013 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
10015 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10016 (gst_pad_configure_src), (gst_pad_push):
10017 Restore acceptcaps checking behaviour now that good plugins have
10020 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
10022 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
10029 * gst/gstmessage.c:
10033 * gst/parse/Makefile.am:
10034 * libs/gst/base/gstadapter.c:
10035 * libs/gst/base/gstbasesrc.c:
10036 * libs/gst/base/gstpushsrc.c:
10037 * libs/gst/base/gsttypefindhelper.c:
10038 * plugins/elements/gstfakesrc.c:
10039 * plugins/elements/gstidentity.c:
10040 Make sure gstprivate.h and/or config.h are
10041 always included first, otherwise some of our
10042 defines (like _FILE_OFFSET_BITS) might be
10043 redefined in the system headers. Fixes build
10044 on opensolaris (#340016).
10046 2006-05-04 Wim Taymans <wim@fluendo.com>
10048 * docs/libs/gstreamer-libs-sections.txt:
10049 API: addition: gst_adapter_take_buffer()
10051 * libs/gst/base/gstadapter.c: (gst_adapter_push),
10052 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
10053 (gst_adapter_available_fast):
10054 * libs/gst/base/gstadapter.h:
10055 Prepare for optimizing the hell out of this hugely inefficient
10057 Added gst_adapter_take_buffer() so we can at least start thinking
10058 about subbuffering and merging.
10059 Added some comments.
10061 * tests/check/Makefile.am:
10062 * tests/check/libs/adapter.c: (GST_START_TEST),
10063 (gst_adapter_suite), (main):
10064 Added GstAdapter check.
10066 2006-05-04 Wim Taymans <wim@fluendo.com>
10068 * docs/design/part-overview.txt:
10069 Fix some typos, add blurb about buffer flags.
10071 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
10073 * docs/libs/gstreamer-libs-sections.txt:
10074 make sure GstBaseTransformClass shows up in the docs
10075 * libs/gst/base/gstbasetransform.c:
10076 * libs/gst/base/gstbasetransform.h:
10077 move docs so gtk-doc picks it up now
10079 2006-05-02 Stefan Kost <ensonic@users.sf.net>
10081 * docs/libs/gstreamer-libs-sections.txt:
10082 add missing symbols to docs
10084 2006-05-02 Stefan Kost <ensonic@users.sf.net>
10086 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10087 back out the newsegment handling change, see #340060 for ongoing
10090 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
10092 * tools/gst-run.c: (get_candidates), (main):
10093 Fix wrong g_file_test() usage (see glib docs for why it doesn't
10094 work); fix typo in error message. Fixes #340079.
10096 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
10098 * common/Makefile.am:
10099 * docs/Makefile.am:
10100 * docs/faq/Makefile.am:
10101 * docs/gst/Makefile.am:
10102 * docs/libs/Makefile.am:
10103 * docs/manual/Makefile.am:
10104 * docs/plugins/Makefile.am:
10105 * docs/pwg/Makefile.am:
10106 * docs/slides/Makefile.am:
10108 * common/upload.mak:
10109 move upload.mak to common
10111 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
10113 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10114 add more asserts on refcounts
10115 do more cleanup at end of tests
10116 fix test leaks showing in FC5
10118 2006-04-29 Stefan Kost <ensonic@users.sf.net>
10120 * plugins/elements/gsttypefindelement.c:
10121 (gst_type_find_element_handle_event):
10122 reverted wrong change and reflowed code to avoid others falling into
10125 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10127 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10128 fix changelog entry about last collectpads change,
10129 add notes about proper fix
10131 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10134 * gst/gstregistry.c: (gst_registry_scan_path_level),
10135 (gst_registry_scan_path):
10136 * gst/gstregistry.h:
10137 only write out registry if it has changed, fixes #338339
10139 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10142 * gst/gstpipeline.c:
10143 * plugins/elements/gstcapsfilter.c:
10144 * plugins/elements/gstfakesink.c:
10145 * plugins/elements/gstfakesrc.c:
10146 * plugins/elements/gstfdsink.c:
10147 * plugins/elements/gstfdsrc.c:
10148 * plugins/elements/gstfilesink.c:
10149 * plugins/elements/gstfilesrc.c:
10150 * plugins/elements/gstidentity.c:
10151 * plugins/elements/gstqueue.c:
10152 * plugins/elements/gsttee.c:
10153 * plugins/elements/gsttypefindelement.c:
10154 (gst_type_find_element_handle_event):
10155 make GstElementDetails const
10157 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10159 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10160 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10161 (gst_collect_pads_is_collected), (gst_collect_pads_event):
10162 more detailed debug and formatting cleanup,
10163 forward newsegments to src-pad (so that e.g. adder not eats them)
10165 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10167 * gst/gstutils.c: (gst_element_link_pads):
10168 cleanup double code
10170 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10172 * libs/gst/controller/gstcontroller.c:
10173 (gst_controller_sync_values):
10175 * tests/check/libs/controller.c: (GST_START_TEST),
10176 (gst_controller_suite):
10177 a new test for live value handling
10179 2006-04-28 Wim Taymans <wim@fluendo.com>
10181 * gst/gstutils.c: (push_and_ref):
10182 Added some more docs.
10183 Fix refcount issue whith gst_element_found_tags() helper
10184 function. Fixes #338335
10186 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10187 Added testsuite for gst_element_found_tags().
10189 2006-04-28 Michael Smith <msmith@fluendo.com>
10191 * gst/gstvalue.c: (gst_value_serialize_flags):
10192 Avoid NULL dereference when trying to serialize flags containing
10195 2006-04-28 Michael Smith <msmith@fluendo.com>
10197 * plugins/elements/gsttypefindelement.c:
10198 (gst_type_find_element_handle_event):
10199 If we get EOS before any data is accumulated, don't use
10200 uninitialised local variables.
10202 2006-04-28 Michael Smith <msmith@fluendo.com>
10204 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10205 (gst_dp_event_from_packet):
10206 Fixes in reading/writing events over GDP (not currently used?) -
10207 dereferencing NULL events for unknown/invalid event types, memory
10208 leak, and change g_warning to GST_WARNING.
10210 2006-04-28 Wim Taymans <wim@fluendo.com>
10212 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10213 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10214 (gst_base_sink_get_position), (gst_base_sink_change_state):
10215 When frame dropping is enabled, we should not ignore frames
10216 without a duration.
10217 Update some documentation.
10219 2006-04-28 Wim Taymans <wim@fluendo.com>
10221 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10222 (gst_base_src_send_event), (gst_base_src_change_state):
10223 Documentation updates.
10225 2006-04-28 Wim Taymans <wim@fluendo.com>
10227 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10228 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10229 handle EAGAIN, EINTR and short writes correctly. Also clean
10230 up some error cases, avoid a deadlock on bad file descriptors and
10231 use GST_DEBUG_OBJECT.
10234 2006-04-28 Wim Taymans <wim@fluendo.com>
10236 * gst/gstvalue.c: (gst_value_serialize_buffer),
10237 (gst_value_deserialize_buffer):
10238 Don't try to serialize a GValue with a NULL buffer.
10241 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10242 Added check for serialisation of NULL buffers.
10244 2006-04-28 Wim Taymans <wim@fluendo.com>
10246 * gst/gstminiobject.c: (gst_value_take_mini_object):
10247 Taking a NULL miniobject is valid, fix the case where
10248 we try to unref the NULL miniobject.
10250 2006-04-28 Wim Taymans <wim@fluendo.com>
10252 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10254 * gst/gstbin.c: (gst_bin_handle_message_func):
10256 Don't leak bin refcount when a state recalc is
10257 in progress and we delay another one #339808.
10259 2006-04-28 Wim Taymans <wim@fluendo.com>
10261 * docs/design/part-TODO.txt:
10262 Mention QoS as an ongoing work item.
10264 * docs/design/part-buffering.txt:
10265 New doc about buffering that needs to be fleshed out
10268 * docs/design/part-qos.txt:
10269 More QoS policy for decoders/demuxers/transforms
10271 * docs/design/part-trickmodes.txt:
10274 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10279 === release 0.10.5 ===
10281 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10284 releasing 0.10.5, "Fogo"
10286 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
10288 patch by: Wim Taymans
10290 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10291 (gst_pad_configure_src), (gst_pad_push):
10292 * gst/gstpipeline.c: (gst_pipeline_init):
10293 Fix internal data flow errors. Fixes #338711.
10295 2006-04-12 Wim Taymans <wim@fluendo.com>
10297 * tests/check/gst/gstelement.c: (GST_START_TEST):
10298 Don't leak the factory.
10300 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
10303 * win32/common/config.h:
10306 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
10308 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10309 (gst_controller_unset_all):
10310 Free allocated GstTimedValues when freeing list nodes.
10311 Should fix leaks 'make check-valgrind' complains about.
10313 * win32/common/libgstcontroller.def:
10314 Add gst_controller_unset_all.
10316 2006-04-11 Stefan Kost <ensonic@users.sf.net>
10318 * docs/libs/gstreamer-libs-sections.txt:
10319 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10320 (gst_controller_unset_all):
10321 * libs/gst/controller/gstcontroller.h:
10322 API: Added new method gst_controller_unset_all()
10323 fixed gst_controller_unset()
10324 * tests/check/libs/controller.c: (GST_START_TEST),
10325 (gst_controller_suite):
10326 Added two testcases for new and fixed method
10328 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
10330 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10331 MSG_DONTWAIT is not defined on Cygwin, so work
10332 around that (fixes #317048).
10334 2006-04-11 Wim Taymans <wim@fluendo.com>
10336 * gst/gstelementfactory.c: (gst_element_register),
10337 (gst_element_factory_create), (gst_element_factory_make):
10340 Updated docs (Fixes #131079)
10342 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10345 * tests/check/gst/gstelement.c: (GST_START_TEST),
10346 (gst_element_suite):
10347 Added testcase for elementfactory class field.
10349 2006-04-10 Wim Taymans <wim@fluendo.com>
10351 * gst/gstsegment.c:
10352 Added some more docs.
10354 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10355 (gst_base_sink_reset_qos):
10356 Calculate more accurate rate values.
10358 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
10360 * gst/gst_private.h:
10361 add a new #ifdef to use __declspec(dllimport) only for
10362 other modules and not for gstreamer core
10363 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10364 use gst_guint64_to_gdouble for conversion
10365 * win32/common/libgstreamer.def:
10366 add new exported functions
10367 * win32/vs6/gst_inspect.dsp:
10368 * win32/vs6/gst_launch.dsp:
10369 * win32/vs6/libgstbase.dsp:
10370 * win32/vs6/libgstcontroller.dsp:
10371 * win32/vs6/libgstcoreelements.dsp:
10372 * win32/vs6/libgstdataprotocol.dsp:
10373 * win32/vs6/libgstnet.dsp:
10374 update project files
10376 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10378 * gst/gstbuffer.c: (gst_subbuffer_class_init):
10379 * gst/gstclock.c: (gst_clock_class_init):
10380 * gst/gstelement.c: (gst_element_class_init):
10381 * gst/gstindex.c: (gst_index_class_init):
10382 * gst/gstindexfactory.c: (gst_index_factory_class_init):
10383 * gst/gstobject.c: (gst_object_class_init),
10384 (gst_signal_object_class_init):
10385 * gst/gstpad.c: (gst_pad_class_init):
10386 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10387 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10388 * gst/gstregistry.c: (gst_registry_class_init):
10389 * gst/gstsystemclock.c: (gst_system_clock_class_init):
10390 * gst/gsttask.c: (gst_task_class_init):
10391 * gst/gstxml.c: (gst_xml_class_init):
10392 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10393 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10394 (gst_base_src_loop):
10395 * libs/gst/controller/gstcontroller.c:/
10396 (_gst_controller_class_init):
10397 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10398 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10399 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10400 * tests/old/examples/plugins/example.c: (gst_example_class_init):
10401 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10402 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10404 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
10406 * gst/gstpad.c: (gst_pad_link):
10407 Must set peer pads before calling the link function, otherwise
10408 a task started from a link function might get a flow-not-linked
10409 result when trying to push because the other thread where the
10410 linking happens hasn't had a chance to set the peers yet. This
10411 might happen for example when a queue gets linked to a downstream
10412 element, as queue starts a streaming task when its source pad
10413 gets linked. Happens in real life when playing back flac/musepack
10414 files in playbin (#332390).
10416 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10420 * libs/gst/base/gstadapter.h:
10421 * libs/gst/base/gstbasesink.h:
10422 * libs/gst/base/gstbasesrc.h:
10423 * libs/gst/base/gstbasetransform.h:
10424 * libs/gst/base/gstcollectpads.h:
10425 * libs/gst/base/gstpushsrc.h:
10426 Fix broken GObject macros
10428 2006-04-07 Wim Taymans <wim@fluendo.com>
10430 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10431 Initialize start and stop times, thanks valgrind.
10433 2006-04-07 Wim Taymans <wim@fluendo.com>
10435 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10436 Be a bit nicer to badly behaving upstream elements that expect
10437 us to deal with non TIME segments and timestamps (such as fakesrc
10440 2006-04-07 Wim Taymans <wim@fluendo.com>
10443 Small documentation clarification about the signal watch.
10445 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10446 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10447 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10448 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10449 (gst_base_sink_get_position_last),
10450 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10451 Convert and store timestamps in stream time and running time, the
10452 raw timestamps are not useful, also document this better.
10453 Use different window sizes for good and bad QoS observations so
10454 we react to badness a little quicker.
10455 Keep track of the amount of rendered and dropped buffers.
10456 Send QoS timestamps in running time.
10458 * libs/gst/base/gstbasetransform.c:
10459 (gst_base_transform_sink_eventfunc),
10460 (gst_base_transform_handle_buffer):
10461 Compare QoS timestamps against running time.
10463 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10466 Typo fixes in docs.
10468 2006-04-06 Michael Smith <msmith@fluendo.com>
10470 * gst/gstpad.c: (gst_pad_set_property):
10471 Use g_value_get_object() instead of g_value_dup_gst_object(),
10472 to avoid double-reffing the pad template (which we then sink,
10473 so this worked previously if (and only if) the pad template
10476 * gst/gstpadtemplate.c: (gst_pad_template_init),
10477 (gst_pad_template_pad_created):
10478 Never return floating references to pad templates, create
10479 them as initially-sunken.
10481 Document an extra function (and make this stop sinking our
10482 pad template, since that is now guaranteed to do nothing,
10483 since we created it sunken).
10485 * gst/gstghostpad.c:
10488 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10490 * gst/gstinfo.c: (__gst_in_valgrind):
10493 * plugins/elements/gsttypefindelement.c:
10494 (gst_type_find_element_chain):
10495 Don't leak buffer caps.
10497 2006-04-06 Michael Smith <msmith@fluendo.com>
10499 * gst/parse/grammar.y:
10500 Fix a leak in parse-launch for any source-or-sink named element
10503 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10504 Unref the pipeline if it exists after we've failed parsing.
10506 2006-04-05 Michael Smith <msmith@fluendo.com>
10508 * gst/gstpipeline.c: (gst_pipeline_init):
10509 When we create a pipeline bus, initially create it in flushing mode.
10510 Fixes leaks in at least one test, and makes a new pipeline work the
10511 same as one that has gone to READY and then back to NULL.
10513 * gst/gstelement.c:
10516 2006-04-05 Michael Smith <msmith@fluendo.com>
10518 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10519 Unref a pad we reffed.
10520 * tests/check/gst/gstutils.c: (GST_START_TEST):
10523 2006-04-05 Michael Smith <msmith@fluendo.com>
10525 * gst/gstquery.c: (gst_query_set_formats),
10526 (gst_query_set_formatsv):
10527 Fix leaking GValues in queries, as shown by valgrind/testsuite.
10529 2006-04-05 Michael Smith <msmith@fluendo.com>
10531 * tests/check/generic/sinks.c: (GST_START_TEST):
10532 Fix a variety of memleaks in sinks check, which are only sometimes
10533 shown by running the tests under valgrind (weird?).
10535 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
10537 * docs/version.entities.in:
10538 Fix the substituted entity name after thomas' changes on the
10541 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10543 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10546 2006-04-05 Andy Wingo <wingo@pobox.com>
10548 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10550 * libs/gst/base/gstbasetransform.c
10551 (gst_base_transform_sink_eventfunc): When resetting our segment on
10552 FLUSH_STOP, also update the flag saying we haven't seen a
10555 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10557 Patch by: Paolo Borelli <pborelli at katamail dot com>
10559 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10560 (gst_plugin_check_license):
10561 minor clean-ups: G_DEFINE_TYPE already takes care of the
10562 parent_class stuff, no need to do it twice. Mark array of
10563 license strings as constant. (#337103)
10565 2006-04-04 Michael Smith <msmith@fluendo.com>
10567 * tools/gst-inspect.c: (print_element_list):
10568 Free the right plugin list; fixes a memory leak.
10570 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10572 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10574 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10575 Don't error out on empty buffers (#336945).
10577 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
10579 * docs/libs/gstreamer-libs-sections.txt:
10580 * gst/gsttaglist.c:
10581 * libs/gst/base/gstbasesink.c:
10582 * libs/gst/base/gstbasesink.h:
10583 * libs/gst/base/gstbasesrc.c:
10584 * libs/gst/base/gstbasesrc.h:
10585 Documentation updates. Make BaseSink and BaseSrc docs contain the
10586 class structure so that people can actually see the prototypes for
10587 virtual functions they're supposed to be overriding.
10589 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10591 * plugins/elements/gsttypefindelement.c:
10592 (gst_type_find_element_chain):
10593 More debug info; when skipping typefinding, send cached
10594 events in all cases.
10596 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
10599 use new AS_VERSION and AS_NANO macros
10600 * gst/gst-i18n-lib.h:
10603 * gst/gstversion.h.in:
10604 * win32/common/config.h:
10605 * win32/common/config.h.in:
10608 2006-03-31 Michael Smith <msmith@fluendo.com>
10610 * plugins/elements/gsttypefindelement.c:
10611 (gst_type_find_element_chain):
10612 Do not typefind content if the buffers already have caps.
10613 Neccesary for icydemux (#333657), and the right thing to do anyway.
10615 2006-03-30 Wim Taymans <wim@fluendo.com>
10617 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10618 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10619 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10620 (gst_base_sink_record_qos_observation),
10621 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10622 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10623 (gst_base_sink_change_state):
10624 More QoS measurements as described in the design doc.
10625 Get rid of ringbuffer with observations, running average is
10626 more simple and equally good.
10627 Calculates valid proportion now.
10628 Added beginning of flood measurement.
10630 2006-03-29 Wim Taymans <wim@fluendo.com>
10632 * docs/design/part-qos.txt:
10634 Small documentation updates and additions.
10636 2006-03-29 Wim Taymans <wim@fluendo.com>
10638 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10639 (gst_base_src_send_event), (gst_base_src_loop),
10640 (gst_base_src_change_state):
10641 Perform the EOS logic when we reach the segment stop position.
10642 Fix compilation on gcc4.1
10644 2006-03-29 Wim Taymans <wim@fluendo.com>
10646 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10648 * plugins/elements/gstqueue.c: (gst_queue_init),
10649 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10650 (gst_queue_set_property):
10651 * plugins/elements/gstqueue.h:
10652 In queue, when EOS is received, if minimum threshold > max_size -
10653 current_level, there is chance that queue blocks forever in conditional
10654 item del wait. This is because the queue is not emptied completely due
10655 to minimum threshold. Here is another approach. Instead of setting
10656 cur_levels to max in EOS, just zero all minimum threshold levels. This
10657 should make sure that queue gives out all data. When going to READY
10658 (stop) state, just reset the original minimum threshold levels.
10661 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
10663 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10664 (gst_type_find_element_handle_event),
10665 (gst_type_find_element_send_cached_events),
10666 (gst_type_find_element_change_state):
10667 * plugins/elements/gsttypefindelement.h:
10668 When typefinding is done in push mode, we should cache
10669 events we receive during typefinding instead of just
10670 dropping them (e.g. newsegment, custom events from
10671 dvdreadsrc etc.) and then send them out once we've
10672 determined the type of the stream (and decodebin
10673 has had a chance to plug in a decoder/demuxer).
10675 2006-03-27 Wim Taymans <wim@fluendo.com>
10677 * docs/design/part-qos.txt:
10680 2006-03-27 Wim Taymans <wim@fluendo.com>
10682 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10684 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10685 (gst_base_src_send_event), (gst_base_src_change_state):
10686 Handle element seek correctly when we are streaming.
10689 2006-03-24 Michael Smith <msmith@fluendo.com>
10691 * docs/faq/gst-uninstalled:
10692 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10693 allow you to correctly run intalled applications built against old
10694 core, using plugins that require updated core (e.g. running
10695 installed totem against a full uninstalled gstreamer stack)
10697 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10699 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10702 2006-03-24 Wim Taymans <wim@fluendo.com>
10704 * docs/gst/gstreamer-sections.txt:
10705 Rearrange the order of the methods so that related methods
10706 are grouped together in sections.
10708 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10710 * gst/gstelement.c:
10711 Little clarification in the docs
10713 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10717 * plugins/elements/gstidentity.c:
10718 * plugins/elements/gstqueue.c:
10719 * plugins/elements/gsttee.c:
10720 * plugins/elements/gsttypefindelement.c:
10721 GST_ELEMENT_DETAILS formatting
10723 2006-03-24 Wim Taymans <wim@fluendo.com>
10725 * libs/gst/base/gstbasesink.h:
10726 Only add fields, not insert or we break ABI.
10728 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10730 * win32/common/libgstbase.def:
10731 * win32/common/libgstreamer.def:
10732 Update, add recently added functions.
10734 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10736 * docs/gst/gstreamer-sections.txt:
10737 * gst/gstutils.c: (gst_pad_query_peer_position),
10738 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10740 API: add some new utility functions:
10741 - gst_pad_query_peer_position()
10742 - gst_pad_query_peer_duration()
10743 - gst_pad_query_peer_convert()
10745 2006-03-23 Wim Taymans <wim@fluendo.com>
10747 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10748 (gst_base_sink_init), (gst_base_sink_finalize),
10749 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10750 (gst_base_sink_set_property), (gst_base_sink_get_property),
10751 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10752 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10753 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10754 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10755 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10756 (gst_base_sink_preroll_object), (gst_base_sink_event),
10757 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10758 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10759 (gst_base_sink_query), (gst_base_sink_change_state):
10760 Decouple max-lateness and the fact that QoS messages are generated
10761 with a new property (qos).
10762 added API: GstBaseSink::async_play()
10763 Add vmethod so subclasses can be notified of ASYNC playing
10765 Collect timestamp start and stop to report better current
10766 position in EOS/PLAYING/PAUSED/READY/NULL.
10767 Refactor QoS/frame dropping and other measurements.
10768 API: GstBaseSrc::qos
10771 * libs/gst/base/gstbasesink.h:
10772 Added Private struct.
10773 API: gst_base_sink_set_qos_enabled()
10774 API: gst_base_sink_is_qos_enabled()
10776 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10778 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10779 If compiling against GLib-2.8 or newer, try to read the
10780 registry file using GMappedFile first before falling back
10781 to fopen() + fread() (#332151).
10783 2006-03-22 Wim Taymans <wim@fluendo.com>
10785 * gst/gstinfo.c: (gst_debug_set_active),
10786 (gst_debug_category_set_threshold):
10787 Disable debugging unless explicitly activated.
10790 2006-03-22 Wim Taymans <wim@fluendo.com>
10792 * gst/gstelement.c: (gst_element_set_locked_state),
10793 (gst_element_dispose):
10794 Cleanup the error case.
10796 * gst/gstobject.c: (gst_object_dispose):
10797 print a critical when some object was disposed with
10798 a parent, also revive the object since it might
10801 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
10803 * tools/gst-launch.1.in:
10806 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10809 * tests/check/Makefile.am:
10810 disable some tests when we don't have a registry
10811 * tests/check/gst/gstutils.c: (gst_utils_suite):
10812 don't build the part that needs parsing
10814 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10817 * tests/examples/Makefile.am:
10818 fix --disable-parse build
10820 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10822 * tools/gst-feedback.1.in:
10823 Fix typo: s/feeback/feedback/ (#133494).
10825 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10827 * tools/Makefile.am:
10828 * tools/gst-launch.1.in:
10829 Add FILES section and correct entry about GST_REGISTRY_PATH
10830 environment variable (#133495; #133494).
10832 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10834 * tools/Makefile.am:
10835 * tools/gst-md5sum.1.in:
10836 * tools/gst-md5sum.c:
10837 Remove gst-md5sum and man page (the md5sink element
10838 required was removed ages ago)
10840 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10842 * gst/gststructure.c: (gst_structure_id_set_value):
10843 Make sure that string fields in structures/taglists
10844 contain valid UTF-8 - we don't want to pass rubbish to
10845 applications because of a buggy plugin (cp. #334167).
10847 2006-03-21 Edward Hervey <edward@fluendo.com>
10849 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10850 (gst_bin_handle_message_func):
10851 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10852 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10853 (gst_element_set_bus_func):
10854 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10855 * gst/gstminiobject.c: (gst_value_set_mini_object),
10856 (gst_value_take_mini_object):
10857 * gst/gstpad.c: (gst_pad_set_pad_template):
10858 * gst/gstpipeline.c: (gst_pipeline_dispose),
10859 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10860 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10861 (gst_collect_pads_chain):
10862 * libs/gst/net/gstnettimeprovider.c:
10863 (gst_net_time_provider_set_property):
10864 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10865 It's in fact all issues with gst_*object_replace().
10867 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10869 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
10871 * pkgconfig/gstreamer-check-uninstalled.pc.in:
10872 * pkgconfig/gstreamer-check.pc.in:
10873 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10875 2006-03-21 Edward Hervey <edward@fluendo.com>
10879 * gst/gstmessage.h:
10880 gst_[buffer|event|message]_ref() macros are replaced by a static
10881 inline functions because gcc-4.1 will about if the return value
10883 * tests/check/gst/gstevent.c: (event_probe):
10884 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10886 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
10889 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10890 the type' case. (Closes: #335195 for now). In the future, when we
10891 depend on GLib 2.10, we could also intern the type name using
10892 g_intern_static_string()
10894 2006-03-20 Wim Taymans <wim@fluendo.com>
10896 * gst/gstbin.c: (gst_bin_handle_message_func),
10897 (bin_query_max_init), (bin_query_position_fold),
10898 (bin_query_position_done), (gst_bin_query):
10899 Position query should also take max of all streams.
10901 2006-03-20 Wim Taymans <wim@fluendo.com>
10903 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10904 (gst_fake_src_finalize):
10905 Fix leaks in fakesrc.
10907 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10908 Fix leaks in the testcase.
10910 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
10912 * gst/gst_private.h:
10913 add win32 specific import decoration(__declspec(dllimport))
10914 for all extern GstDebugCategory * variables
10915 * win32/common/libgstbase.def:
10916 * win32/common/libgstcontroller.def:
10917 * win32/common/libgstreamer.def:
10918 Add some exports, remove empty lines
10919 * win32/common/libgstdataprotocol.def:
10920 * win32/common/libgstdataprotocol.dsp:
10921 * win32/common/libgstnet.def:
10922 * win32/common/libgstnet.dsp:
10923 new project files and exportation files added
10925 2006-03-19 Wim Taymans <wim@fluendo.com>
10927 * tests/check/libs/basesrc.c: (eos_event_counter):
10928 Use proper return value for probe.
10930 2006-03-17 Wim Taymans <wim@fluendo.com>
10932 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10934 Don't leak buffers, caps and pads on negotiation errors.
10936 2006-03-16 Stefan Kost <ensonic@users.sf.net>
10938 * docs/faq/cvs.xml:
10939 * docs/faq/dependencies.xml:
10940 * docs/faq/developing.xml:
10941 * docs/faq/faq.xml:
10942 * docs/faq/general.xml:
10943 * docs/faq/getting.xml:
10944 * docs/faq/legal.xml:
10945 * docs/faq/troubleshooting.xml:
10946 * docs/faq/using.xml:
10947 Faq review and update.
10949 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
10951 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10953 Don't pound the cpu to pieces by checking get_caps when accept_caps
10954 is called with the same caps as the pad already has.
10955 Use GST_DEBUG_OBJECT when outputting caps change information.
10957 2006-03-15 Wim Taymans <wim@fluendo.com>
10959 * gst/gstclock.c: (gst_clock_class_init):
10962 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
10967 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10968 (gst_pad_accept_caps), (gst_pad_configure_sink),
10969 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10970 Make the default acceptcaps behaviour be to check the requested
10971 caps against the gst_pad_get_caps output.
10973 Ensure that gst_pad_accept_caps is used to check caps when a pad
10974 doesn't have a setcaps function, so that pads automatically refuse
10975 caps that they don't allow in their pad template. (Fixes #332986)
10977 When a buffer with attached caps is pushed, ensure that the source
10978 pad receives those caps even if the element didn't call
10979 gst_pad_set_caps first.
10981 2006-03-15 Wim Taymans <wim@fluendo.com>
10983 * libs/gst/base/gstadapter.c:
10986 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
10988 * win32/common/libgstbase.def:
10989 * win32/common/libgstcontroller.def:
10990 * win32/common/libgstreamer.def:
10991 Add a whole bunch of missing functions (#334434).
10993 2006-03-14 Wim Taymans <wim@fluendo.com>
10995 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10996 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10997 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10998 Better debug info when we receive a segment event.
10999 Reorganize a bit so we can pass the get_times() results around.
11000 Use the segment format when calculating the running time.
11001 Don't do QoS is sync is disabled or we have no clock or the
11002 element does not want us to sync to the clock.
11003 Don't drop buffers if QoS is disabled for now.
11005 2006-03-14 Wim Taymans <wim@fluendo.com>
11007 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
11008 Marked the stats property as unimplemented so people don't get
11010 Add debug message when regression goes wrong.
11011 Added some more docs.
11013 2006-03-14 Wim Taymans <wim@fluendo.com>
11015 * gst/gstsegment.c: (gst_segment_to_stream_time):
11016 Return correct return type in case of errors.
11018 2006-03-14 Wim Taymans <wim@fluendo.com>
11020 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
11021 Don't segfault on invalid formats.
11023 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
11025 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11026 Can't use gst_segment_to_running_time() when the segment
11027 is not in GST_TIME_FORMAT (like with filesink, for example).
11028 Stops flac encoding pipelines from spewing critical warnings
11031 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
11033 * gst/gstpipeline.c: (gst_pipeline_class_init):
11034 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
11036 * plugins/elements/gsttypefindelement.c:
11037 (gst_type_find_element_handle_event):
11038 Don't try to typefind empty streams.
11040 2006-03-14 Wim Taymans <wim@fluendo.com>
11042 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11043 (gst_base_sink_do_qos):
11044 Separate QoS calculation.
11045 Only drop buffers when lateness is bigger than the
11046 duration of the buffer.
11048 2006-03-13 Wim Taymans <wim@fluendo.com>
11050 * gst/gstpipeline.c: (gst_pipeline_set_property),
11051 (gst_pipeline_get_property), (do_pipeline_seek),
11052 (gst_pipeline_change_state), (gst_pipeline_set_delay),
11053 (gst_pipeline_get_delay):
11054 Don't deadlock when reading properties.
11056 2006-03-13 Wim Taymans <wim@fluendo.com>
11058 * libs/gst/base/gstbasetransform.c:
11059 (gst_base_transform_class_init), (gst_base_transform_init),
11060 (gst_base_transform_sink_event),
11061 (gst_base_transform_sink_eventfunc),
11062 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
11063 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11064 (gst_base_transform_set_property),
11065 (gst_base_transform_get_property),
11066 (gst_base_transform_change_state), (gst_base_transform_update_qos),
11067 (gst_base_transform_set_qos_enabled),
11068 (gst_base_transform_is_qos_enabled):
11069 * libs/gst/base/gstbasetransform.h:
11070 Make basetransform virtual method for src events too.
11071 Handle QOS in basetransform.
11072 API: gst_base_transform_update_qos()
11073 API: gst_base_transform_set_qos_enabled()
11074 API: gst_base_transform_is_qos_enabled()
11076 2006-03-13 Wim Taymans <wim@fluendo.com>
11078 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11079 (gst_base_sink_do_sync):
11081 Use QOS debug category.
11083 2006-03-13 Wim Taymans <wim@fluendo.com>
11085 * plugins/elements/gstqueue.c:
11086 Very small doc update.
11088 2006-03-13 Wim Taymans <wim@fluendo.com>
11090 * gst/gst_private.h:
11091 * gst/gstinfo.c: (_gst_debug_init):
11092 Added QOS debug category
11094 2006-03-13 Wim Taymans <wim@fluendo.com>
11096 * docs/gst/gstreamer-sections.txt:
11097 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11099 * gst/gstbus.c: (gst_bus_class_init):
11102 * gst/gstelement.c: (gst_element_set_locked_state):
11103 * gst/gstsegment.c:
11104 Documentation updates.
11106 * gst/gstpipeline.c: (gst_pipeline_get_type),
11107 (gst_pipeline_class_init), (gst_pipeline_init),
11108 (gst_pipeline_dispose), (gst_pipeline_set_property),
11109 (gst_pipeline_get_property), (do_pipeline_seek),
11110 (gst_pipeline_send_event), (gst_pipeline_change_state),
11111 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11112 (gst_pipeline_get_delay):
11113 * gst/gstpipeline.h:
11114 Added methods for setting the delay.
11115 API: gst_pipeline_set_delay()
11116 API: gst_pipeline_get_delay()
11117 Add pipeline debug category
11120 Don't reset stream time when seek failed.
11122 2006-03-13 Wim Taymans <wim@fluendo.com>
11124 * docs/design/draft-klass.txt:
11125 * docs/design/part-clocks.txt:
11126 * docs/design/part-events.txt:
11127 * docs/design/part-gstbin.txt:
11128 * docs/design/part-gstpipeline.txt:
11129 * docs/design/part-messages.txt:
11130 * docs/design/part-negotiation.txt:
11131 * docs/design/part-overview.txt:
11132 * docs/design/part-preroll.txt:
11133 * docs/design/part-seeking.txt:
11134 * docs/design/part-states.txt:
11135 * docs/design/part-streams.txt:
11136 Documentation updates.
11138 2006-03-12 Julien MOUTTE <julien@moutte.net>
11140 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11141 us to leak strings...
11143 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
11145 * libs/gst/net/gstnettimeprovider.c:
11147 * win32/common/config.h:
11150 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
11152 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11155 Don't check for libgnomeui (leftover from old examples
11156 that aren't built or disted any longer) (#334303).
11158 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
11160 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11161 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11162 Emit RESOURCE_NO_SPACE_LEFT error here as well when
11163 there's no space left on the device.
11165 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
11168 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11169 to cast the input to GstClockTime before comparing with
11170 another GstClockTime value.
11172 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
11177 === release 0.10.4 ===
11179 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
11182 releasing 0.10.4, "Light"
11184 2006-03-10 Michael Smith <msmith@fluendo.com>
11186 * libs/gst/dataprotocol/dataprotocol.c:
11187 Fix docs for dataprocotol to not get the return types completely
11188 wrong for a few functions.
11190 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11192 * docs/gst/gstreamer-sections.txt:
11193 * gst/gstpipeline.c: (gst_pipeline_class_init),
11194 (gst_pipeline_init), (gst_pipeline_set_property),
11195 (gst_pipeline_get_property), (gst_pipeline_change_state),
11196 (gst_pipeline_set_auto_flush_bus),
11197 (gst_pipeline_get_auto_flush_bus):
11198 * gst/gstpipeline.h:
11199 Add new API: gst_pipeline_set_auto_flush_bus() and
11200 gst_pipeline_get_auto_flush_bus() to disable automatic
11201 flushing of the pipeline's GstBus when going from READY
11202 to NULL state (#332045).
11204 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11206 * docs/gst/gstreamer-sections.txt:
11207 * gst/gsturi.c: (gst_uri_has_protocol):
11209 Add new API: gst_uri_has_protocol() (#333779).
11211 2006-03-09 Wim Taymans <wim@fluendo.com>
11213 * gst/gstclock.c: (gst_clock_entry_new),
11214 (gst_clock_id_compare_func), (gst_clock_id_wait),
11215 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11216 (gst_clock_init), (gst_clock_get_internal_time),
11217 (gst_clock_set_master), (do_linear_regression),
11218 (gst_clock_add_observation), (gst_clock_set_property):
11222 Fix a possible segfault when the window-size is made smaller.
11223 Calculate jitter before performing the clock wait. Ideally
11224 the clock implementation should calculate jitter but we need
11225 API breakage for that.
11227 * gst/gstsystemclock.c: (gst_system_clock_init):
11230 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11231 Remove leftover else
11233 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11234 (gst_systemclock_suite):
11235 Added check to test GST_CLOCK_DIFF.
11237 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11239 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11240 (gst_type_find_helper_get_range):
11241 If we are provided with the size, we should implement
11242 GstTypeFind::get_length, so that typefind functions who
11243 want to can actually peek at the middle of a file.
11245 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
11247 * docs/manual/advanced-dataaccess.xml:
11248 Add some very very basic error checking.
11250 * docs/pwg/appendix-checklist.xml:
11251 Some updates to the list of things to check when writing an element.
11253 2006-03-08 Wim Taymans <wim@fluendo.com>
11255 * docs/design/part-element-transform.txt:
11256 Added some docs about the design of tranform elements.
11258 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11259 (gst_base_src_loop), (gst_base_src_change_state):
11260 Mark buffers with the DISCONT flag.
11262 2006-03-08 Michael Smith <msmith@fluendo.com>
11264 * gst/gstregistry.h:
11265 * gst/gstregistryxml.c: (gst_registry_save),
11266 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11267 (gst_registry_xml_save_pad_template),
11268 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11269 (gst_registry_xml_write_cache):
11270 Rewrite registry-saving to avoid race conditions and check for
11273 2006-03-08 Wim Taymans <wim@fluendo.com>
11275 * libs/gst/base/gstbasetransform.c:
11276 (gst_base_transform_transform_caps),
11277 (gst_base_transform_transform_size),
11278 (gst_base_transform_prepare_output_buffer),
11279 (gst_base_transform_get_unit_size),
11280 (gst_base_transform_buffer_alloc),
11281 (gst_base_transform_handle_buffer),
11282 (gst_base_transform_change_state):
11283 Cleanups, separate normal flow from errors, add sensible
11285 Don't try to renegotiate when allocating an output buffer.
11286 Also copy DISCONT buffer flag when copying a buffer.
11287 Reset the transform after we finish streaming, not during.
11289 2006-03-08 Wim Taymans <wim@fluendo.com>
11291 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11292 Use last buffer timestamp in qos message.
11294 2006-03-07 Wim Taymans <wim@fluendo.com>
11296 Patch by: Christophe Fergeau
11298 * docs/pwg/advanced-tagging.xml:
11299 * docs/pwg/building-pads.xml:
11302 2006-03-07 Wim Taymans <wim@fluendo.com>
11304 * docs/libs/gstreamer-libs-sections.txt:
11305 Added basesink new methods.
11309 Docs updates. Flesh out the QoS docs.
11311 * libs/gst/base/gstadapter.c:
11312 Small doc clarification about ownership and flushing.
11314 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11315 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11316 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11317 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11318 * libs/gst/base/gstbasesink.h:
11320 Added new methods to allow subclass to control max-lateness
11322 Generate very basic QoS events based on last sync observation.
11323 Updated docs, fix typo, added some QoS blurb.
11325 * libs/gst/base/gstbasesrc.c:
11326 Remove obsolete _get_state() calls from docs.
11328 2006-03-07 Wim Taymans <wim@fluendo.com>
11330 * docs/libs/gstreamer-libs-sections.txt:
11331 * libs/gst/base/gstbasetransform.h:
11332 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11333 Fix docs for GstBaseSrc.
11335 2006-03-07 Wim Taymans <wim@fluendo.com>
11337 * docs/gst/gstreamer-sections.txt:
11340 * libs/gst/base/gstbasetransform.h:
11341 Small documentation fixes.
11343 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11346 Document thread-unsafety of gst_value_register_foo_func()
11347 when used at the same time as gst_value_foo() (#322628).
11349 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11351 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11352 (gst_push_src_check_get_range):
11353 Push sources don't support pull mode by default.
11355 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11357 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11358 (gst_base_src_init), (gst_base_src_pad_check_get_range),
11359 (gst_base_src_default_check_get_range):
11360 * libs/gst/base/gstbasesrc.h:
11361 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11362 provide default implementation, and rename
11363 gst_base_src_check_get_range() to
11364 gst_base_src_pad_check_get_range() for clarity.
11366 2006-03-06 Wim Taymans <wim@fluendo.com>
11368 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11369 Make property overridable.
11371 2006-03-06 Wim Taymans <wim@fluendo.com>
11373 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11374 (gst_base_sink_init), (gst_base_sink_set_property),
11375 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11376 * libs/gst/base/gstbasesink.h:
11377 API addition: Make max-lateness a property.
11379 2006-03-06 Wim Taymans <wim@fluendo.com>
11381 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11382 (gst_base_sink_do_sync), (gst_base_sink_render_object):
11383 Don't ever draw a frame that is >10ms late.
11385 2006-03-06 Michael Smith <msmith@fluendo.com>
11387 * gst/gstmessage.c: (_gst_message_copy):
11388 When copying a message, set the parent_refcount of the enclosed
11389 structure to point at the copy, not the original message.
11391 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11393 Patch by: Christophe Fergeau
11396 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11397 usable in c++ code (#333417)
11399 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
11402 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11404 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
11406 * libs/gst/base/gstbasetransform.c:
11407 (gst_base_transform_transform_caps):
11408 Make sure caps are writable before passing them to
11411 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11414 Fix some minor docs errors.
11416 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11418 Patch by: Ross Burton <ross at burtonini dot com>
11420 * gst/gsterror.c: (_gst_resource_errors_init):
11422 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11424 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11427 Add a check and output a g_warning when GStreamer is built
11428 against GLib 2.6 but running against 2.8 or higher, and vice
11429 versa. (Closes: #323542)
11431 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11433 * gst/parse/parse.l:
11434 Commit patch for parse_launch syntax from #331255. Removes
11435 support for quoted strings and mimetypes when writing filtered
11436 caps. See the bug report for more details - I'm pretty sure this
11437 obscure feature is not in use by _anyone_ anywhere.
11439 With this simple change, the size of the gstreamer.so here
11440 drops from 2193KB to 1565KB.
11442 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11444 * plugins/elements/gsttypefindelement.h:
11445 * plugins/elements/gsttypefindelement.c:
11446 (gst_type_find_element_src_event), (start_typefinding),
11447 (stop_typefinding), (gst_type_find_element_handle_event),
11448 (gst_type_find_element_chain),
11449 (gst_type_find_element_chain_do_typefinding):
11450 Use gst_type_find_helper_for_buffer() for chain-based
11453 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11455 * plugins/elements/gsttypefindelement.c:
11456 (gst_type_find_element_class_init),
11457 (gst_type_find_element_set_property),
11458 (gst_type_find_element_get_property):
11459 Deprecate "maximum" property (not only was it only taken into
11460 account for typefinding in push-mode anyway, it also was never
11461 actually possible to set it in the first place because the
11462 property was registered with the numeric property ID for the
11463 "minimum" property). Register "maximum" property correctly,
11464 for the sake of future copy'n'pasters. Remove some cruft
11465 from property get/set functions.
11467 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11469 * plugins/elements/gsttypefindelement.c:
11470 (gst_type_find_element_activate):
11471 Use gst_type_find_helper_get_range() here, so we
11472 can honour the "minimum" property and also emit
11473 the signal with the correct probability of the found caps.
11475 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
11477 * docs/libs/gstreamer-libs-sections.txt:
11478 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11479 (helper_find_suggest), (gst_type_find_helper_get_range),
11480 (gst_type_find_helper):
11481 * libs/gst/base/gsttypefindhelper.h:
11482 New API: gst_type_find_helper_get_range() (#333042).
11484 2006-03-02 Michael Smith <msmith@fluendo.com>
11486 * gst/gstregistryxml.c: (load_feature):
11487 Asserting on a failure to read part of the registry is Not Cool.
11488 Just log a warning and return NULL (which is already handled)
11490 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
11492 * win32/common/libgstbase.def:
11493 added export of gst_type_find_helper_for_buffer
11494 * win32/common/libgstbase.def:
11495 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11496 gst_ghost_pad_get_target
11498 2006-02-28 Wim Taymans <wim@fluendo.com>
11500 * docs/design/draft-klass.txt:
11502 Added Connector to mark elements that are only used to
11503 allow pipeline connections.
11504 Moved Debug to extra feature since most of them are
11505 functionally something else.
11507 2006-02-28 Wim Taymans <wim@fluendo.com>
11509 * docs/design/draft-klass.txt:
11510 Some updates and clarifications.
11512 2006-02-28 Wim Taymans <wim@fluendo.com>
11514 * docs/design/draft-klass.txt:
11515 Proposal for klass field values.
11517 * docs/design/part-streams.txt:
11518 Start of a doc describing stream anatomy.
11520 2006-02-28 Wim Taymans <wim@fluendo.com>
11522 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11523 Help the compiler a bit with type registration.
11524 Use existing forward cod path instead of duplicating it when
11525 handling a message.
11527 * gst/gstbus.c: (gst_bus_get_type):
11528 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11529 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11530 * gst/gstclock.c: (gst_clock_get_type):
11531 * gst/gstelement.c: (gst_element_get_type),
11532 * gst/gstelementfactory.c: (gst_element_factory_get_type):
11533 * gst/gstindexfactory.c: (gst_index_factory_get_type):
11534 * gst/gstminiobject.c: (gst_mini_object_get_type):
11535 * gst/gstpad.c: (gst_pad_get_type):
11536 * gst/gstsegment.c: (gst_segment_get_type):
11537 * gst/gststructure.c: (gst_structure_get_type):
11538 * gst/gstsystemclock.c: (gst_system_clock_get_type):
11539 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11541 Help compiler with type registration.
11543 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11546 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11548 * plugins/elements/gsttypefindelement.c:
11549 (gst_type_find_element_handle_event):
11550 When we get an EOS event and have not found a type yet
11551 (most likely because we had not yet accumulated
11552 TYPE_FIND_MIN_SIZE of data yet), try to determine the
11553 type given the data we have so far. Fixes typefinding
11554 for very short streams again, most notably quicktime
11555 redirections as used on Apple's trailer site (#331701).
11557 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11559 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11560 (gst_type_find_helper):
11561 Try typefinding factories with the highest rank first.
11563 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11565 * docs/libs/gstreamer-libs-docs.sgml:
11566 * docs/libs/gstreamer-libs-sections.txt:
11567 * libs/gst/base/gsttypefindhelper.c:
11568 Add section for typefind helper and add documentation
11569 for the old and the new function.
11571 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11573 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11574 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11575 (gst_type_find_helper_for_buffer):
11576 * libs/gst/base/gsttypefindhelper.h:
11577 New API: gst_type_find_helper_for_buffer() (#332723).
11579 2006-02-27 Michael Smith <msmith@fluendo.com>
11581 Patch by: Loïc Minier
11584 * docs/Makefile.am:
11585 * docs/slides/Makefile.am:
11586 prevent CVS directories getting disted.
11588 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11590 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11591 Use the REFCOUNTING category for caps refcounting.
11593 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11595 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11596 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11598 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11600 * plugins/elements/gsttypefindelement.c:
11601 (gst_type_find_element_activate):
11602 Use gst_pad_check_pull_range() before _activate_pull()
11603 to avoid unnecessary open/close (see #331690).
11605 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11608 Docs enhancement: make it crystal clear what the
11609 gst_pad_add_*_probe() callbacks should look like.
11611 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11613 * libs/gst/base/gstbasesrc.c:
11614 Document how applications can stop recording from
11615 live sources (see #330996).
11617 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11619 * tests/check/Makefile.am:
11620 * tests/check/libs/basesrc.c: (eos_event_counter),
11621 (basesrc_eos_events_pull), (basesrc_eos_events_push),
11622 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11623 (gst_basesrc_suite), (main):
11624 ... and add some tests for the base source EOS stuff.
11626 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11628 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11629 Test case originally showed the problem fixed below,
11630 but was then amended. Add checks back at the place
11631 where they used to be.
11633 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11635 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11636 (gst_base_src_init), (gst_base_src_loop),
11637 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11638 (gst_base_src_change_state):
11639 * libs/gst/base/gstbasesrc.h:
11640 Don't unconditionally send EOS when going from PAUSED to
11641 READY state, esp. make sure we don't send two EOS events
11642 in some cases (e.g. one when reaching EOS and one when
11643 going from PAUSED to READY). Also, we don't want to send
11644 EOS events when operating in pull mode. However, we do
11645 want to send an EOS event when shutting down a live
11646 source explicitly, for example (fixes #330996).
11648 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11650 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11651 Update src->read_position after a seek when not using mmap.
11652 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11654 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
11660 Make things work with --disable-parse as they do with
11661 --disable-load-save - the symbols involved disappear, but the
11662 header is still installed and GST_DISABLE_PARSE is included via
11665 2006-02-20 Julien MOUTTE <julien@moutte.net>
11667 * libs/gst/base/gstbasetransform.c:
11668 (gst_base_transform_change_state): Fix a stupid bug. I was
11669 sure I compiled that.
11671 2006-02-20 Julien MOUTTE <julien@moutte.net>
11673 * gst/gstpad.c: (gst_pad_set_blocked_async):
11674 * gst/gstutils.c: (gst_pad_add_data_probe),
11675 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11676 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11677 (gst_pad_remove_buffer_probe): Make those function act on the
11678 ghostpad target when it's a ghostpad. (Closes #331727)
11680 2006-02-20 Julien MOUTTE <julien@moutte.net>
11682 * libs/gst/base/gstbasetransform.c:
11683 (gst_base_transform_change_state): Make basetransform reusable.
11686 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
11688 * docs/random/release:
11689 Move the current documentation of how to do a release to the top
11692 * gst/gstbin.c: (gst_bin_class_init),
11693 (gst_bin_handle_message_func):
11694 Allow multiple state-recalculation threads. (Closes #328873)
11696 2006-02-19 Julien MOUTTE <julien@moutte.net>
11698 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11699 * gst/gstpad.c: (gst_pad_set_event_function),
11700 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11701 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11702 2 strings. You can't use the STR_NULL macro on that.
11704 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
11706 * gst/gstpad.c: (gst_pad_set_event_function),
11707 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11708 (gst_pad_set_getcaps_function)
11709 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11710 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11711 So now, we can use --gst-debug-level=5 on Windows
11712 * win32/common/libgstcontroller.def:
11713 Added export of gst_controller_init
11714 * win32/vs6/libgstcontroller.dsp:
11715 Fixed Release post build configuration
11717 2006-02-17 Wim Taymans <wim@fluendo.com>
11719 * tests/check/gst/gstquery.c: (GST_START_TEST):
11720 Added another check.
11722 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
11724 * plugins/elements/gsttypefindelement.c: (find_peek):
11725 We can do peeks at non-zero offsets, as long as they
11726 fall within the buffer we have.
11728 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
11730 * tests/check/Makefile.am:
11731 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11732 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11733 (parse_suite), (main):
11734 Add testsuite for parse launch syntax
11736 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
11738 * plugins/elements/gsttypefindelement.c:
11739 (gst_type_find_element_chain):
11740 When typefinding is unsuccessful in the chain function, don't
11741 error out immediately. Only error out with NO_CAPS_FOUND if
11742 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11743 otherwise simply wait for more data so we can try typefinding
11744 again with more data later. Also, don't attempt to typefind
11745 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11746 this should improve typefinding from network sources where the
11747 size of the first buffer can be somewhat random.
11749 2006-02-14 Wim Taymans <wim@fluendo.com>
11751 * docs/gst/gstreamer-sections.txt:
11752 * gst/gstpadtemplate.c:
11753 * gst/gstpadtemplate.h:
11754 Fix padtemplate docs, fixes #328805.
11756 2006-02-14 Wim Taymans <wim@fluendo.com>
11758 * tools/gst-launch.c: (main):
11759 NO_PREROLL is not an ERROR so don't send confusing messages
11762 2006-02-14 Wim Taymans <wim@fluendo.com>
11764 Patch by: Torsten Schoenfeld
11766 * gst/gstregistry.c: (gst_registry_get_default),
11767 (_gst_registry_cleanup):
11768 Protect default registry with lock and ref/sink it.
11771 2006-02-14 Wim Taymans <wim@fluendo.com>
11774 * gst/gstquery.c: (gst_query_list_add_format),
11775 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11776 (gst_query_parse_formats_nth):
11777 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11780 2006-02-14 Wim Taymans <wim@fluendo.com>
11782 * docs/gst/gstreamer-sections.txt:
11783 Reworked query docs.
11785 * gst/gstquery.c: (gst_query_new_formats),
11786 (gst_query_list_add_format), (gst_query_set_formats),
11787 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11788 (gst_query_parse_formats_nth):
11790 Flesh out formats query, added some new methods.
11791 Fix part of #324398.
11793 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11794 Added query creation tests.
11796 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
11798 * gst/gstpad.c: (fixate_value):
11799 Add a default fixation for fraction lists.
11801 2006-02-13 Wim Taymans <wim@fluendo.com>
11803 * gst/gsttask.c: (gst_task_init), (gst_task_func),
11804 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11807 Detect and warn for obvious deadlocks. fixes #320340
11808 Fix error case where lock was not released.
11810 * tests/check/Makefile.am:
11811 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11812 (task_func), (gst_element_suite), (main):
11815 2006-02-13 Wim Taymans <wim@fluendo.com>
11817 * docs/gst/gstreamer-sections.txt:
11819 Add new functions to docs.
11821 2006-02-13 Wim Taymans <wim@fluendo.com>
11823 * docs/design/part-TODO.txt:
11824 Updated TODO list, basesrc supports seeking to non-bytes
11827 * docs/design/part-element-sink.txt:
11830 * gst/gstbin.c: (bin_replace_message),
11831 (gst_bin_handle_message_func):
11832 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11833 * gst/gstevent.c: (gst_event_finalize):
11834 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11835 (gst_pad_send_event):
11836 Use shiny new _TYPE_NAME macros.
11838 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11839 Move debug statement up.
11841 * gst/gstelement.c: (gst_element_set_locked_state):
11842 Add some debugging.
11844 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
11846 * docs/gst/gstreamer-sections.txt:
11847 * gst/gstmessage.h:
11849 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11850 macros (#330906). Also, document the already existing
11851 GST_QUERY_TYPE macro.
11853 2006-02-13 Wim Taymans <wim@fluendo.com>
11855 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11856 (event_probe), (GST_START_TEST):
11857 Only events up to the pipeline EOS are counted, there are
11858 some more when going to NULL currently which we don't care
11861 2006-02-13 Wim Taymans <wim@fluendo.com>
11863 * gst/gstpad.c: (gst_pad_send_event):
11864 Correctly check flushing and emit probes. fixes #330125
11866 2006-02-10 Andy Wingo <wingo@pobox.com>
11868 * gst/gstbus.c (gst_bus_class_init): Declare our private data
11870 (gst_bus_init): Cache the location of the private data in the
11871 instance structure.
11872 (gst_bus_enable_sync_message_emission)
11873 (gst_bus_disable_sync_message_emission): Implement new public
11875 (gst_bus_post): Emit the sync-message signal if the user asked for
11878 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11879 location of the bus-private structure.
11880 (gst_bus_enable_sync_message_emission)
11881 (gst_bus_disable_sync_message_emission): API addition
11883 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
11885 Patch by: Vincent Torri
11887 * docs/pwg/building-boiler.xml:
11888 PWG patch from #326800
11890 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
11893 * docs/Makefile.am:
11894 * docs/design/Makefile.am:
11897 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11902 === release 0.10.3 ===
11904 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11907 releasing 0.10.3, "Like a virgin"
11909 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11912 2nd prerelease of 0.10.3
11913 Bump libtool versioning.
11915 2006-02-07 Andy Wingo <wingo@pobox.com>
11917 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11918 update last_stop if we're in TIME format and the timestamp is
11921 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
11922 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
11923 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11924 If we get a new newsegment with a different format, adapt
11927 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11928 of 0. Not a problem, really.
11930 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11933 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
11938 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
11941 project files updated to the default vs7 configuration
11942 * win32/common/libgstbase.def:
11943 * win32/common/libgstreamer.def:
11945 removed empty lines,
11946 sorted all exported symbols alphabetically
11947 * win32/common/dirent.c:
11948 * win32/common/dirent.h:
11949 * win32/common/gchar.h:
11950 use windows line end.
11952 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11954 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11955 Send EOS event when stopping.
11957 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11960 Tell folks what to do if the plugin-foobar.xml file
11961 hasn't been generated for a newly-added plugin.
11963 2006-02-05 Julien MOUTTE <julien@moutte.net>
11965 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11966 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11967 (gst_collect_pads_start), (gst_collect_pads_stop),
11968 (gst_collect_pads_event): Collectpads now holds a reference
11969 to the GstPad that was added. Indeed we don't want to look
11970 at pads that might just go away with no warning...
11972 2006-02-05 Julien MOUTTE <julien@moutte.net>
11974 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11975 (gst_collect_pads_start), (gst_collect_pads_stop),
11976 (gst_collect_pads_event), (gst_collect_pads_chain):
11977 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11978 Mark Nauwelaerts's patch on bug #328491.
11980 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11982 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11984 Add some simple tests for gst_parse_bin_from_description() and
11985 gst_bin_find_unconnected_pad() (#329069).
11987 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11989 * tools/gst-launch.c: (event_loop), (main):
11990 Catch errors during preroll (#320084).
11992 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
11994 * plugins/elements/gsttypefindelement.c:
11995 (gst_type_find_element_activate):
11996 Post TYPE_NOT_FOUND error message when typefinding
11997 is unsuccessful in the activate function as well.
11999 2006-02-02 Wim Taymans <wim@fluendo.com>
12001 * docs/design/part-element-sink.txt:
12004 2006-02-02 Wim Taymans <wim@fluendo.com>
12006 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12007 (gst_base_sink_render_object),
12008 (gst_base_sink_queue_object_unlocked):
12009 Only keep track of prerollable items when we are
12011 Before rendering after preroll, always check if we
12013 Added some more debugging.
12015 2006-02-02 Wim Taymans <wim@fluendo.com>
12017 * gst/gstelement.c: (gst_element_continue_state),
12018 (gst_element_set_state_func), (gst_element_change_state):
12019 Fixed #326576, been running this for quite some time with
12020 no regressions at all.
12022 2006-02-02 Wim Taymans <wim@fluendo.com>
12025 Added more suppressions
12027 2006-02-02 Wim Taymans <wim@fluendo.com>
12029 * docs/design/part-element-sink.txt:
12032 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12033 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
12034 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
12035 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12036 (gst_base_sink_do_sync), (gst_base_sink_render_object),
12037 (gst_base_sink_preroll_object),
12038 (gst_base_sink_queue_object_unlocked),
12039 (gst_base_sink_queue_object), (gst_base_sink_event),
12040 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
12041 (gst_base_sink_loop), (gst_base_sink_activate_pull),
12042 (gst_base_sink_get_position), (gst_base_sink_change_state):
12043 * libs/gst/base/gstbasesink.h:
12044 Totally refactored matching the design doc.
12045 Use two segments, one to clip incomming buffers and another to
12047 Handle queueing correctly, bypass the queue when playing.
12048 Make EOS cancelable.
12049 Handle errors correctly when operating in pull based mode.
12051 * tests/check/elements/fakesink.c: (GST_START_TEST),
12053 Added new check for sinks.
12055 2006-02-02 Wim Taymans <wim@fluendo.com>
12057 * gst/gstsegment.c: (gst_segment_clip):
12058 No reason to refuse to clip when start == -1
12060 2006-02-02 Stefan Kost <ensonic@users.sf.net>
12063 * docs/manual/intro-basics.xml:
12064 * docs/manual/intro-preface.xml:
12065 * docs/manual/manual.xml:
12066 * docs/pwg/advanced-dparams.xml:
12067 * docs/pwg/intro-basics.xml:
12068 * docs/pwg/intro-preface.xml:
12069 * docs/pwg/pwg.xml:
12070 describe dparams (controller) for plugins
12071 unify docs a little more
12073 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
12075 * docs/gst/gstreamer-sections.txt:
12076 * gst/gstutils.c: (element_find_unconnected_pad),
12077 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12079 Add new API: gst_parse_bin_from_description() and
12080 gst_bin_find_unconnected_pad() (#329069).
12082 2006-02-01 Stefan Kost <ensonic@users.sf.net>
12084 * docs/manual/README:
12085 uncover a nasty detail of the docs build
12087 2006-01-31 Wim Taymans <wim@fluendo.com>
12089 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12090 Don't cache duration messages if we're not going to use or
12093 2006-01-31 Stefan Kost <ensonic@users.sf.net>
12095 * docs/manual/advanced-dparams.xml:
12096 * docs/pwg/advanced-dparams.xml:
12100 * libs/gst/controller/lib.c: (gst_controller_init):
12103 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
12105 * gst/gstelement.c: (gst_element_message_full):
12106 also show file/line/func if no additional debug was given
12108 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
12110 * win32/vs7/grammar.vcproj:
12111 activate copy of autogenerated files for Release mode
12113 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
12115 * win32/common/libgstreamer.def:
12116 export gst_value_compare
12118 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
12120 * plugins/elements/Makefile.am:
12121 * plugins/elements/gstelements.c:
12122 * plugins/elements/gstfdsink.c: (_do_init),
12123 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12124 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12125 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12126 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12127 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12128 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12129 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12130 * plugins/elements/gstfdsink.h:
12131 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12133 2006-01-30 Stefan Kost <ensonic@users.sf.net>
12135 * docs/manual/advanced-dparams.xml:
12136 describe controller
12137 * docs/manual/advanced-position.xml:
12138 * docs/manual/basics-init.xml:
12139 * docs/manual/manual.xml:
12140 * docs/manual/titlepage.xml:
12141 * docs/pwg/pwg.xml:
12142 * docs/pwg/titlepage.xml:
12143 cleanup xml (more to come)
12144 * libs/gst/controller/gstcontroller.c:
12147 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
12149 * win32/vs6/grammar.dsp:
12150 add autogen of gstmarshal.c,h for Release mode
12152 2006-01-30 Wim Taymans <wim@fluendo.com>
12154 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12155 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12156 (gst_base_sink_handle_object), (gst_base_sink_event),
12157 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12158 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12159 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12160 (gst_base_sink_deactivate), (gst_base_sink_activate),
12161 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12162 (gst_base_sink_query), (gst_base_sink_change_state):
12163 Basesink cleanups, remove some old code.
12164 Handle the case where a subclass can preroll in the render
12165 method (mostly audiosinks).
12166 Handle more events.
12167 Remove some locks around variables that are now protected
12168 with the PREROLL_LOCK (clock_id, flushing, ..).
12169 Optimize position query some more, do correct locking.
12170 Remove old code to push queue in state change, this is not
12171 needed anymore since preroll blocks on all prerollable items
12173 Almost implemented as described in design doc.
12175 2006-01-30 Wim Taymans <wim@fluendo.com>
12177 * tests/check/gst/gstbin.c: (GST_START_TEST):
12178 Wait for refcount to settle down before checking.
12180 2006-01-30 Wim Taymans <wim@fluendo.com>
12182 * docs/design/part-element-sink.txt:
12183 Pseudo code overview of desired sink behaviour regarding
12186 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12187 * win32/vs6/grammar.dsp:
12188 fix some bugs in Release mode for autogenerated files
12190 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12191 * win32/common/libgstbase.def:
12192 * win32/common/libgstreamer.def:
12193 export some new symbols: gst_base_src_set_format,
12194 gst_iterator_next, gst_structure_set_valist
12196 2006-01-29 Julien MOUTTE <julien@moutte.net>
12198 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12199 Set pad functions unconditionally. Fixes #329105.
12201 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12203 add vs8 project files created by Sergey Scobich
12205 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
12207 * gst/gstutils.c: (gst_element_unlink_pads):
12208 Don't leak pad references.
12210 * tests/check/elements/fakesink.c: (GST_START_TEST):
12211 * tests/check/generic/sinks.c: (GST_START_TEST):
12212 * tests/check/generic/states.c: (GST_START_TEST):
12213 * tests/check/gst/gstbin.c: (GST_START_TEST):
12214 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12215 * tests/check/gst/gstelement.c: (GST_START_TEST):
12216 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12217 * tests/check/gst/gstiterator.c: (GST_START_TEST):
12218 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12219 Fix a bunch of leaks. Make generic/sinks.c
12220 use a bit less cpu by slowing the buffer rate
12221 between fakesrc and fakesink.
12223 2006-01-27 Stefan Kost <ensonic@users.sf.net>
12225 * gst/gstelement.c: (gst_element_send_event):
12228 * gst/gstiterator.c:
12229 * gst/gstiterator.h:
12230 * gst/gstpad.c: (gst_pad_send_event):
12231 * gst/gststructure.c:
12235 * libs/gst/base/gstadapter.c:
12236 doc fixes, to link to function, just write gst_cool_function(), don't
12239 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12241 * plugins/elements/gsttee.c: (gst_tee_do_push),
12242 (gst_tee_handle_buffer):
12243 Always prefer an actual return value from a src
12244 pad in place of NOT_LINKED. This means we return
12245 WRONG_STATE when all src pads are WRONG_STATE
12246 instead of NOT_LINKED.
12248 Lock when replacing the last message to prevent
12249 racing with the get_property method.
12253 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12255 * tests/check/Makefile.am:
12256 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12258 Add a very simple check that should have caught the memleak I fixed
12259 last night (if not for the slice allocator hiding it)
12261 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12263 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12264 (gst_bin_remove_func), (gst_bin_handle_message_func),
12265 (bin_query_duration_fold), (bin_query_generic_fold):
12266 Clean up references to the clock provider when disposed or when
12267 handling a clock-lost message from it.
12269 Unref sinks when performing a query via gst_iterator_fold, as the
12270 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12272 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12273 (gst_clock_set_master):
12274 Drop our reference to the master clock, if any, when we are disposed.
12276 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12277 Chain up in dispose.
12279 2006-01-26 Wim Taymans <wim@fluendo.com>
12281 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12282 Add some debugging.
12284 2006-01-26 Julien MOUTTE <julien@moutte.net>
12286 * plugins/elements/gsttee.c: (gst_tee_do_push),
12287 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12288 handles pad being NOT_LINKED or in WRONG_STATE.
12290 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12295 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12298 remove obsolete entry
12300 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12302 * docs/gst/gstreamer-sections.txt:
12303 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12304 (gst_bin_iterate_sources), (gst_bin_send_event):
12306 * gst/gstelement.c: (gst_element_send_event):
12308 * gst/gstpad.c: (gst_pad_send_event):
12309 added code for downstream events, reviewed docs in gstevent.c
12311 2006-01-25 Julien MOUTTE <julien@moutte.net>
12313 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12314 We only query position using the clock in the playing state.
12315 Query peer in the other cases.
12316 * win32/common/config.h: Updates.
12318 2006-01-24 Wim Taymans <wim@fluendo.com>
12320 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12321 A clock entry that is scheduled for the exact time of the
12322 clock is still in time.
12324 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12325 (gst_base_sink_do_sync):
12326 Add some more debug info.
12328 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12331 Add new vs7 project files and solution.
12333 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12336 all files removed as they were out-dated.
12338 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12340 * docs/random/release:
12342 * gst/gstbin.c: (gst_bin_init):
12343 * gst/gstbus.c: (gst_bus_new):
12345 * gst/gstpipeline.c: (gst_pipeline_init):
12346 use gst_bus_new(), improve logging, fix docs
12347 * win32/common/config.h:
12348 update for cvs build
12350 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12353 up required version of automake to 1.7
12355 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
12357 * win32/common/libgstreamer.def:
12358 export gst_buffer_is_metadata_writable
12360 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
12362 * docs/gst/gstreamer-sections.txt:
12364 Add gst_event_replace() (#327001)
12366 2006-01-20 Wim Taymans <wim@fluendo.com>
12368 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12369 Make it actually compile too..
12371 2006-01-20 Wim Taymans <wim@fluendo.com>
12374 Clarify behaviour of _is_equal() when passing NULL parameters.
12376 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12377 (gst_pad_set_caps):
12378 Cleanups. Don't unref NULL caps.
12379 When setting the same caps, protect caps of the pad with
12381 Use full functionality of _is_equal() when comparing caps.
12383 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12385 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12386 Don't loop infinitely if there are no buffers to present. Partially
12387 fixes #327197, but collectpads is just broken for reusing elements
12388 to do multiple encodes atm.
12390 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12392 * tools/gst-inspect.c: (print_element_features):
12393 * tools/gst-xmlinspect.c: (main):
12394 URL_HANDLER is not a plugin feature we can search for in
12397 2006-01-19 Edward Hervey <edward@fluendo.com>
12399 * gst/gstelement.c: (gst_element_pads_activate):
12400 When activating, do src pads first, then sink pads.
12401 When de-activating, do sink pads first, then src pads.
12403 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12405 * docs/gst/gstreamer-sections.txt:
12406 Add gst_index_add_associationv to the docs
12408 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12413 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12414 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12415 Do some refactoring. Doesn't actually change functionality,
12416 but makes landing the DRAIN event easier later.
12418 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
12420 * docs/pwg/advanced-scheduling.xml:
12421 Update from 0.9.x to 0.10 API and make example a bit
12424 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12426 * docs/gst/gstreamer-sections.txt:
12427 Add gst_buffer_(is|make)_metadata_writable methods.
12429 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12431 * docs/design/part-sparsestreams.txt:
12432 Update sparse streams doc, hopefully for greater clarity
12434 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
12436 * docs/design/part-events.txt:
12437 Remove mention of FILLER events.
12440 * docs/design/part-sparsestreams.txt:
12441 Write some things about using NEWSEGMENT to keep sparse streams
12444 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12446 * gst/gstbin.c: (gst_bin_dispose):
12447 Guard gst_object_unref call against a NULL object (dispose
12448 can theoretically be called multiple times).
12450 2006-01-18 Wim Taymans <wim@fluendo.com>
12452 * gst/gstbin.c: (gst_bin_element_set_state):
12453 * gst/gstclock.c: (gst_clock_id_wait):
12454 Added some more debug info.
12456 * libs/gst/base/gstadapter.c:
12459 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12460 (gst_base_sink_do_sync), (gst_base_sink_chain):
12461 Added some comments.
12463 2006-01-18 Wim Taymans <wim@fluendo.com>
12465 * tests/check/Makefile.am:
12466 * tests/check/elements/fakesink.c: (chain_async_buffer),
12467 (chain_async), (chain_async_return), (GST_START_TEST),
12468 (fakesink_suite), (main):
12469 Added fakesink test that checks prerolling and clipping
12472 * tests/check/gst/gstutils.c: (GST_START_TEST):
12473 Make check run faster so that buildbots don't timeout.
12475 2006-01-18 Wim Taymans <wim@fluendo.com>
12477 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12478 (gst_base_sink_do_sync):
12480 When the sink finishes blocking on the preroll buffer, it can
12481 immediatly render it instead of rendering when the next buffer
12484 2006-01-18 Wim Taymans <wim@fluendo.com>
12486 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12487 (gst_base_sink_get_property), (gst_base_sink_do_sync),
12488 (gst_base_sink_chain):
12490 GST_ELEMENT_CLOCK and sync are protected with LOCK.
12491 Don't store _last_stop if the buffer is dropped.
12493 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12495 * plugins/elements/gsttypefindelement.c:
12496 (gst_type_find_element_class_init):
12497 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12498 object method handler that sets the caps on the pad and we want
12499 that to happen before we emit the signal (fixes e.g. feeding a
12500 plain text file to decodebin).
12502 2006-01-18 Christian Schaller <Christian@fluendo.com>
12504 * gst/gstplugin.c: Add MPL and Proprietary as license options
12506 2006-01-18 Andy Wingo <wingo@pobox.com>
12508 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12509 symbol was exported before, it appears this was just an oversight.
12511 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12513 * gst/gstindex.c (gst_index_add_associationv): Changed int in
12514 prototype to gint. OK since this prototype was not in the header.
12516 2006-01-17 Andy Wingo <wingo@pobox.com>
12518 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12519 registry while we remove plugins.
12521 * tools/gst-inspect.c (print_element_info): Don't unref the
12522 factory arg, that should be the responsibility of whatever code
12523 received the ref. Fixes a double-free when called from
12524 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12525 (main): Unref the factory if we have one.
12526 (print_element_list): No change -- relies on the
12527 plugin_feature_list_free to free the list of features.
12529 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
12531 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12532 (gst_buffer_make_metadata_writable):
12534 * libs/gst/base/gstbasetransform.c:
12535 (gst_base_transform_prepare_output_buf):
12536 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12537 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12538 Replace gst_buffer_(make|is)_metadata_writable patch now
12539 that the release is out.
12541 2006-01-17 Andy Wingo <wingo@pobox.com>
12543 * gst/gstregistry.c: Reflow design comment. Update so as to speak
12544 in the present tense without reference to versions.
12546 * gst/gstregistry.c (gst_registry_add_plugin)
12547 (gst_registry_remove_plugin, gst_registry_remove_feature)
12548 (gst_registry_find_feature, gst_registry_get_feature_list)
12549 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12550 (gst_registry_lookup, gst_registry_scan_path)
12551 (_gst_registry_remove_cache_plugins)
12552 (gst_registry_get_feature_list_by_plugin): Add argument
12555 === release 0.10.2 ===
12557 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
12560 releasing 0.10.2, "If man is five"
12562 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12566 * libs/gst/base/gstbasetransform.c:
12567 (gst_base_transform_prepare_output_buf):
12568 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12569 * tests/check/gst/gstbuffer.c: (gst_test_suite):
12570 Back out patch until after the release.
12572 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12574 * gst/gstminiobject.c:
12575 Spelling fix in docs.
12576 * ChangeLog - remove conflict indicator
12578 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12580 Reviewed By: Andy Wingo
12582 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12583 (gst_buffer_make_metadata_writable):
12585 Add gst_buffer_(is|make)_metadata_writable as analogues of
12586 gst_buffer_(is|make)_writable.
12588 * libs/gst/base/gstbasetransform.c:
12589 (gst_base_transform_prepare_output_buf):
12590 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12591 Use name gst_buffer_(is|make)_metadata_writable functions.
12593 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12594 Test gst_buffer_(is|make)_metadata_writable
12598 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
12600 * docs/manual/Makefile.am:
12601 don't do parallel make
12604 * win32/common/config.h.in:
12605 add generations for HOST_CPU and GST_MAJORMINOR
12606 * win32/common/config.h:
12607 commit generated result
12609 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
12611 * docs/manual/appendix-integration.xml:
12612 Update GNOME integration section to use gst_init_get_option_group()
12613 instead of the old popt stuff (#322911). Also, GNOME applications
12614 should now use gconf*sink and gconf*src instead of the old gconf
12617 2006-01-13 Stefan Kost <ensonic@users.sf.net>
12620 * docs/gst/gstreamer-docs.sgml:
12621 * docs/gst/gstreamer-sections.txt:
12622 * docs/libs/gstreamer-libs-sections.txt:
12623 add new API entries to the docs
12624 * libs/gst/controller/Makefile.am:
12625 * libs/gst/controller/gstcontroller.c:
12626 * libs/gst/controller/gstcontroller.h:
12627 * libs/gst/controller/gstcontrollerprivate.h:
12628 * libs/gst/controller/gsthelper.c:
12629 * libs/gst/controller/gstinterpolation.c:
12630 move private structs to private header
12632 gstreamer-0.7 -> gstreamer-0.10
12633 * tests/check/libs/struct_i386.h:
12634 remove private structs
12636 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12638 * plugins/indexers/Makefile.am:
12639 Fixes as part of #317048
12641 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12643 * plugins/indexers/Makefile.am:
12644 fix #316086 - compilation when mmap is missing
12646 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
12648 * libs/gst/base/gstbasesink.c:
12649 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
12650 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12651 * win32/common/config.h:
12652 added some defines GST_MAJORMINOR and HOST_CPU
12653 * win32/common/libgstbase.def:
12654 * win32/common/libgstreamer.def:
12655 added some exported functions.
12657 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12659 * libs/gst/controller/gstcontroller.c:
12660 (gst_controlled_property_set_interpolation_mode),
12661 (gst_controlled_property_new):
12662 * libs/gst/controller/gstcontroller.h:
12663 * libs/gst/controller/gstinterpolation.c:
12664 (interpolate_none_get_string_value_array):
12665 make G_TYPE_STRING controlable
12667 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12670 * tools/gst-feedback.1.in:
12671 * tools/gst-inspect.1.in:
12672 * tools/gst-launch.1.in:
12673 * tools/gst-md5sum.1.in:
12674 * tools/gst-typefind.1.in:
12675 * tools/gst-xmlinspect.1.in:
12676 * tools/gst-xmllaunch.1.in:
12677 cleanup man-pages, remove reference to gst-register, document env-vars
12679 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
12681 * gst/gstbuffer.c: (gst_buffer_span):
12682 gst_buffer_span should copy the timestamp of the first buffer
12683 if they were both originally overlapping subbuffers of the
12684 same parent, using the same logic as the 'slow copy' case.
12686 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
12688 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12689 Need to awaken ALL the pads when we pop a buffer, otherwise
12690 collectpads only works when there is 2 input streams.
12692 2006-01-11 Stefan Kost <ensonic@users.sf.net>
12694 * docs/random/ensonic/media-device-daemon.txt:
12697 fix doc example, add clarification
12698 * tools/gst-launch.1.in:
12699 add initial info about GST_PLUGIN_PATH, needs more work
12701 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
12703 * docs/manual/basics-bins.xml:
12704 * docs/manual/basics-elements.xml:
12705 * docs/manual/intro-basics.xml:
12706 Some more minor docs additions and updates.
12708 2006-01-11 Wim Taymans <wim@fluendo.com>
12710 * docs/manual/basics-bins.xml:
12711 * docs/manual/basics-elements.xml:
12712 Some small fixes as pointed out by Ser-ver on IRC.
12714 2006-01-10 Edward Hervey <edward@fluendo.com>
12716 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12717 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12718 the single-segment mode.
12720 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
12722 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12724 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12725 (gst_base_src_perform_seek), (gst_base_src_send_event),
12726 (gst_base_src_set_property), (gst_base_src_get_property),
12727 (gst_base_src_loop), (gst_base_src_start),
12728 (gst_base_src_activate_push):
12729 * libs/gst/base/gstbasesrc.h:
12730 Name (private) union; makes Sun's Forte compiler happy (#324900).
12732 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
12735 gst-register is gone.
12737 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
12739 * gst/gstvalue.c: (_gst_value_initialize):
12740 make the G_TYPE_DATE instantiation work if debug is disabled
12742 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
12744 * gst/gstmessage.c: (gst_message_parse_tag),
12745 (gst_message_parse_error), (gst_message_parse_warning):
12746 Don't crash when return location for error/warning debug
12747 string is NULL; add fact that return locations can be
12748 NULL to docs where appropriate.
12750 2006-01-05 Wim Taymans <wim@fluendo.com>
12752 * gst/gstplugin.c: (gst_plugin_load_file):
12753 Replace strdup by g_strdup.
12755 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12757 * docs/pwg/advanced-types.xml:
12760 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12762 submitted by: Abel Cheung
12766 Added Chinese (traditional) translation
12768 2006-01-04 Wim Taymans <wim@fluendo.com>
12770 * docs/manual/basics-pads.xml:
12771 * docs/plugins/Makefile.am:
12772 * docs/plugins/gstreamer-plugins-docs.sgml:
12773 * docs/plugins/gstreamer-plugins-sections.txt:
12774 * docs/pwg/advanced-clock.xml:
12775 * docs/pwg/advanced-scheduling.xml:
12776 * docs/pwg/advanced-types.xml:
12777 * plugins/elements/gstfdsink.c:
12778 * plugins/elements/gstfdsrc.c:
12779 * plugins/elements/gstfdsrc.h:
12780 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12781 * plugins/elements/gstidentity.h:
12782 * plugins/elements/gstqueue.h:
12783 * plugins/elements/gsttee.c:
12784 * plugins/elements/gsttee.h:
12785 * plugins/elements/gsttypefindelement.c:
12786 (gst_type_find_element_class_init):
12787 * plugins/elements/gsttypefindelement.h:
12788 Small updates to various docs.
12789 Added core plugins to docs.
12791 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12794 add a suppression for liboil's uninitialized variable
12796 2006-01-02 James Livingston <jrl at ids dot org dot au>
12798 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12801 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12802 macro, so that gcc doesn't complain if the -Wmissing-prototypes
12803 compiler switch is being used (#325429).
12805 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
12807 * gst/gstbin.c: (gst_bin_query):
12808 Disable duration query caching in bins until it gets
12809 fixed (see #324807).
12811 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12813 * tools/gst-inspect.c: (print_element_properties_info):
12814 Handle properties of POINTER and BOXED type.
12816 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12818 * gst/gst.c: (init_post):
12819 Init tags stuff and some other things before loading
12820 any static plugins (there may be other static plugins
12821 than just the GStreamer ones, and they may want to
12822 register their own tags or formats or whatever, and
12823 preferably without segfaulting).
12825 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12826 Print at least a warning in the debug logs if we drop a
12827 query just because we don't know how to adjust the value
12828 in the particular format.
12830 2005-12-24 David Schleef <ds@schleef.org>
12832 * tools/gstreamer-completion:
12833 Replacement for gst-complete written in sh and sed. Only
12834 completes names of features, but that's 90% of what I want
12835 it for. Properties are not available in registry.xml. (Maybe
12838 === release 0.10.1 ===
12840 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
12843 releasing 0.10.1, "Nollaig chridheil"
12845 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
12847 * docs/faq/cvs.xml:
12848 Add missing quote, should be make ERROR_CFLAGS="".
12850 2005-12-20 Wim Taymans <wim@fluendo.com>
12852 * docs/design/part-trickmodes.txt:
12853 More documentation on trickmodes.
12855 2005-12-20 Edward Hervey <edward@fluendo.com>
12857 * gst/gstcaps.c: (gst_static_caps_get_type):
12859 API addition: GST_TYPE_STATIC_CAPS
12860 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12861 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12862 * gst/gstpadtemplate.h:
12863 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12864 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12867 2005-12-18 Wim Taymans <wim@fluendo.com>
12869 * libs/gst/base/gstadapter.c:
12870 * libs/gst/base/gstadapter.h:
12871 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12872 (gst_base_sink_get_position):
12873 * libs/gst/base/gstbasesink.h:
12874 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12875 (gst_base_src_default_query), (gst_base_src_default_do_seek),
12876 (gst_base_src_do_seek), (gst_base_src_perform_seek),
12877 (gst_base_src_send_event), (gst_base_src_update_length),
12878 (gst_base_src_get_range), (gst_base_src_loop),
12879 (gst_base_src_start):
12880 * libs/gst/base/gstbasesrc.h:
12881 * libs/gst/base/gstbasetransform.h:
12882 * libs/gst/base/gstcollectpads.h:
12883 * libs/gst/base/gstpushsrc.c:
12884 * libs/gst/base/gstpushsrc.h:
12885 * libs/gst/dataprotocol/dataprotocol.c:
12886 * libs/gst/dataprotocol/dataprotocol.h:
12887 * libs/gst/net/gstnetclientclock.h:
12888 * libs/gst/net/gstnettimeprovider.h:
12889 Documentation updates.
12891 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
12893 * docs/manual/basics-helloworld.xml:
12894 Remove superfluous closing bracket in helloworld example.
12896 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
12898 * tools/gst-launch.1.in:
12899 Update gst-launch man page; add a section with useful
12900 environment variables. Fixes #323882.
12902 2005-12-16 Stefan Kost <ensonic@users.sf.net>
12905 * gst/gst_private.h:
12906 change some char* into char[]
12908 2005-12-16 Wim Taymans <wim@fluendo.com>
12910 * gst/gstregistryxml.c: (load_feature):
12912 Don't use g_object_unref on GstObjects so that we avoid
12913 leaks on unsafe glibs.
12915 2005-12-16 Wim Taymans <wim@fluendo.com>
12917 * gst/gstbin.c: (gst_bin_recalc_state):
12920 2005-12-16 Wim Taymans <wim@fluendo.com>
12922 * common/check.mak:
12923 Added make forever target for check.
12925 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
12927 * gst/gst.c: (init_post):
12928 make the registry cache file HOST_CPU-dependent
12930 2005-12-16 Andy Wingo <wingo@pobox.com>
12932 * plugins/elements/gstbufferstore.c
12933 (gst_buffer_store_cleared_func): Pay attention to g_list_append
12936 * tests/check/gst/gstobject.c
12937 (test_fake_object_name_threaded_unique): Pay attention to
12938 g_list_sort return value.
12940 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
12942 * tools/gst-feedback-m.m:
12943 Update for 0.9/0.10 (fixes #323870).
12945 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
12947 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12948 Fix lcopy for mini objects, the mini object needs to be ref'ed.
12950 * tests/check/gst/gstminiobject.c: (my_foo_init),
12951 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12952 (test_value_collection), (gst_mini_object_suite):
12953 Add test to ensure refcounts end up as expected when passing
12954 GstMiniObjects through g_object_get() and g_object_set().
12956 2005-12-14 Julien MOUTTE <julien@moutte.net>
12958 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12959 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12960 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12961 of collectpads. This version removes a lot of races without
12962 touching API/ABI. Yay !
12964 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
12966 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12967 Don't allow activation of a srcpad in pull_range if it has no
12969 Change some debug statements to be a little clearer
12971 * plugins/elements/gsttypefindelement.c:
12972 (gst_type_find_handle_src_query):
12973 Check that we have a peer before executing queries thereupon.
12975 * tests/examples/metadata/read-metadata.c: (message_loop):
12976 Use gst_bus_pop instead of gst_bus_poll when we just want it to
12977 immediately return us any available message with 0 timeout.
12979 2005-12-12 Michael Smith <msmith@fluendo.com>
12981 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12982 Don't unref factories after calling them.
12983 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12984 * plugins/elements/gsttypefindelement.c:
12985 (gst_type_find_element_chain):
12986 Free lists of factories after using them. Fixing typefinding memory
12989 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12991 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12992 (gst_plugin_feature_load):
12993 more meaningful debug output
12995 * tests/Makefile.am:
12996 * tests/old/examples/Makefile.am:
12997 make make distcheck happy again
12999 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
13001 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13002 Catch the special case where we are operating chain-based,
13003 but the downstream peer pad has no chain function. Emit a
13004 custom error message in this case instead of letting the
13005 core generate one implying that this is some sort of core
13006 bug. It's not, it just means that whatever got plugged
13007 into the pipeline downstream when we announced the type
13008 can only operate pull-based, while our source can only
13009 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
13010 Error string has not been marked for translation yet, as
13011 it probably needs some more work first.
13013 (gst_type_find_element_get_best_possibility):
13014 Add helper function to find the best of all available
13015 found possibilities that qualify given the min. threshold.
13017 (gst_type_find_element_handle_event):
13018 Fix the case where we get an EOS while still in TYPEFIND
13019 mode (we want to chose the best of all possible types,
13020 not just the first type that happens to be in our unsorted
13021 list of possible types).
13023 (gst_type_find_element_chain):
13024 Make sure we return GST_FLOW_ERROR when we errored out
13025 in stop_typefinding(); also, don't just find the best of
13026 all found type entries and then use the last examined
13027 type entry, but actually use the best entry.
13029 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
13031 * tests/examples/typefind/typefind.c: (type_found):
13032 * tests/examples/xml/runxml.c: (xml_loaded):
13033 More gcc4 fixes and a mem leak fix.
13035 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13037 * tests/examples/xml/createxml.c: (object_saved):
13040 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13042 * tests/Makefile.am:
13043 enable the examples even more
13045 2005-12-12 Andy Wingo <wingo@pobox.com>
13047 * libs/gst/net/gstnettimeprovider.c
13048 (gst_net_time_provider_class_init, gst_net_time_provider_init)
13049 (gst_net_time_provider_set_property)
13050 (gst_net_time_provider_get_property):
13051 API addition: Export "active" as a GObject property.
13052 (gst_net_time_provider_thread): Only respond to time queries if
13053 the time provider is active.
13055 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
13056 NetTimeProvider, preserving binary compat.
13058 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13060 * tests/examples/controller/audio-example.c: (main):
13061 * tests/examples/launch/Makefile.am:
13062 convert comments again
13064 2005-12-12 Wim Taymans <wim@fluendo.com>
13066 * libs/gst/base/gstpushsrc.c:
13069 2005-12-12 Wim Taymans <wim@fluendo.com>
13071 * docs/libs/gstreamer-libs-sections.txt:
13072 Added new symbol to docs.
13074 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13075 (gst_base_src_init), (gst_base_src_set_format),
13076 (gst_base_src_default_query), (gst_base_src_query),
13077 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13078 (gst_base_src_perform_seek), (gst_base_src_send_event),
13079 (gst_base_src_default_event), (gst_base_src_event_handler),
13080 (gst_base_src_set_property), (gst_base_src_get_property),
13081 (gst_base_src_wait), (gst_base_src_do_sync),
13082 (gst_base_src_update_length), (gst_base_src_get_range),
13083 (gst_base_src_check_get_range), (gst_base_src_loop),
13084 (gst_base_src_default_negotiate), (gst_base_src_start),
13085 (gst_base_src_activate_push), (gst_base_src_activate_pull),
13086 (gst_base_src_change_state):
13087 * libs/gst/base/gstbasesrc.h:
13088 Implement seeking to other formats than _BYTES.
13089 Implement more seeking methods correctly.
13091 Added query vmethod.
13092 Added do_seek vmethod to make life easier for subclasses
13094 API addition: gst_base_src_set_format()
13096 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13098 * tests/examples/Makefile.am:
13101 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13104 * docs/random/ensonic/media-device-daemon.txt:
13105 * tests/examples/controller/.cvsignore:
13106 * tests/examples/controller/Makefile.am:
13107 * tests/examples/controller/audio-example.c: (main):
13108 * tests/examples/helloworld/.cvsignore:
13109 * tests/examples/helloworld/Makefile.am:
13110 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13111 * tests/examples/launch/.cvsignore:
13112 * tests/examples/launch/Makefile.am:
13113 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13114 * tests/examples/metadata/.cvsignore:
13115 * tests/examples/metadata/Makefile.am:
13116 * tests/examples/metadata/read-metadata.c: (message_loop),
13117 (make_pipeline), (print_tag), (main):
13118 * tests/examples/queue/.cvsignore:
13119 * tests/examples/queue/Makefile.am:
13120 * tests/examples/queue/queue.c: (event_loop), (main):
13121 * tests/examples/typefind/.cvsignore:
13122 * tests/examples/typefind/Makefile.am:
13123 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13125 * tests/examples/xml/.cvsignore:
13126 * tests/examples/xml/Makefile.am:
13127 * tests/examples/xml/createxml.c: (object_saved), (main):
13128 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13129 * tests/old/examples/Makefile.am:
13130 * tests/old/examples/TODO:
13131 * tests/old/examples/controller/.cvsignore:
13132 * tests/old/examples/controller/Makefile.am:
13133 * tests/old/examples/controller/audio-example.c:
13134 * tests/old/examples/helloworld/.cvsignore:
13135 * tests/old/examples/helloworld/Makefile.am:
13136 * tests/old/examples/helloworld/helloworld.c:
13137 * tests/old/examples/launch/.cvsignore:
13138 * tests/old/examples/launch/Makefile.am:
13139 * tests/old/examples/launch/mp3parselaunch.c:
13140 * tests/old/examples/launch/mp3play:
13141 * tests/old/examples/manual/Makefile.am:
13142 * tests/old/examples/metadata/Makefile.am:
13143 * tests/old/examples/metadata/read-metadata.c:
13144 * tests/old/examples/queue/.cvsignore:
13145 * tests/old/examples/queue/Makefile.am:
13146 * tests/old/examples/queue/queue.c:
13147 * tests/old/examples/typefind/.cvsignore:
13148 * tests/old/examples/typefind/Makefile.am:
13149 * tests/old/examples/typefind/typefind.c:
13150 * tests/old/examples/xml/.cvsignore:
13151 * tests/old/examples/xml/Makefile.am:
13152 * tests/old/examples/xml/createxml.c:
13153 * tests/old/examples/xml/runxml.c:
13154 applied some simple fixing to some examples
13155 re-enabled the working examples
13157 2005-12-12 Wim Taymans <wim@fluendo.com>
13159 * gst/gstsegment.c: (gst_segment_init),
13160 (gst_segment_set_last_stop), (gst_segment_set_seek),
13161 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13162 (gst_segment_to_running_time):
13163 Added more documentation.
13164 Make sure the last_pos value is updated properly.
13165 Make sure to_stream_time and to_running_time don't
13166 operate on wrong values.
13168 * tests/check/gst/gstsegment.c: (GST_START_TEST):
13171 2005-12-12 Michael Smith <msmith@fluendo.com>
13173 * plugins/elements/gsttypefindelement.c: (free_entry),
13174 (gst_type_find_element_chain):
13175 Now that we're not leaking factories, make sure we keep references
13176 to them while we need them.
13178 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
13180 * tests/check/gst/struct_i386.h:
13181 ifdef out the XML structs
13183 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
13185 * gst/gstvalue.c: (gst_value_transform_double_fraction):
13186 floor is not needed, F is always positive; this obviates the
13187 need for adding -lm when building without libxml
13189 2005-12-12 Wim Taymans <wim@fluendo.com>
13191 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13192 Take current playback rate into account when reporting
13195 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13197 * docs/manual/mime-world.fig:
13198 Let's try this again, this time with a file that is
13199 actually in XFig format.
13201 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13203 * docs/manual/mime-world.fig:
13204 Add audioconvert element to diagram so that it
13205 matches the text and the code (fixes #319526).
13207 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13209 * docs/pwg/building-chainfn.xml:
13210 * docs/pwg/building-pads.xml:
13211 * docs/pwg/building-state.xml:
13212 * docs/pwg/other-source.xml:
13213 Update state change stuff for 0.10 (fixes #322969).
13215 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13217 * docs/manual/advanced-dataaccess.xml:
13218 * docs/manual/appendix-checklist.xml:
13219 * docs/manual/appendix-programs.xml:
13220 * docs/manual/basics-pads.xml:
13221 * docs/manual/highlevel-components.xml:
13222 * docs/manual/manual.xml:
13223 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13224 add converters in front of pipelines; remove curly
13225 brackets for threads stuff, they no longer exist; use
13226 GST_TYPE_FRACTION for framerates; update some pieces of
13227 code to 0.10, but there's plenty more to do.
13229 * docs/manual/appendix-porting.xml:
13230 Expand on asynchroneous state changes; s/0.9/0.10/;
13231 mention disappearance of gst_init_get_popt_table()
13234 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13236 * docs/faq/using.xml:
13237 Spider no longer exists, and neither does gst-launch-ext.
13238 Update examples to use decodebin and playbin and put
13239 converters in front of sinks (fixes #323726).
13241 2005-12-09 Michael Smith <msmith@fluendo.com>
13243 * plugins/elements/gsttypefindelement.c: (find_peek),
13244 (gst_type_find_element_chain):
13245 Fix leaking element factories in typefinding.
13246 Fix problem where we forgot about a probable type on non-seekable
13247 files, and thus later mis-typefound it.
13249 2005-12-09 Michael Smith <msmith@fluendo.com>
13251 * common/m4/gst-makecontext.m4:
13252 * common/m4/gst-mcsc.m4:
13254 * win32/common/config.h:
13255 * win32/common/config.h.in:
13256 Remove makecontext stuff; not used in 0.10 and causes problems on
13257 HPUX according to bug #322441
13259 2005-12-07 Wim Taymans <wim@fluendo.com>
13261 * tests/check/Makefile.am:
13262 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13264 * tests/check/libs/struct_i386.h:
13265 Added ABI check for libs
13267 2005-12-07 Wim Taymans <wim@fluendo.com>
13269 * tests/check/Makefile.am:
13270 And add the struct_i386.h to dist.
13272 2005-12-07 Wim Taymans <wim@fluendo.com>
13274 * tests/check/Makefile.am:
13275 * tests/check/gst/.cvsignore:
13276 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13278 * tests/check/gst/struct_i386.h:
13279 Added check for ABI compatibility.
13281 2005-12-07 Wim Taymans <wim@fluendo.com>
13283 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13284 (gst_fake_src_get_times), (gst_fake_src_create):
13285 Fix broken sync option, fixes #323259
13287 2005-12-07 Wim Taymans <wim@fluendo.com>
13292 * gst/gstcaps.c: (gst_caps_is_equal):
13293 Don't assert on NULL <--> X. Fixes #323260
13295 * gst/gstminiobject.c: (gst_mini_object_replace):
13296 If we're doing atomic operations, we might just as well use
13297 the proper way to get an atomic pointer.
13299 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13300 Clean up debugging.
13302 2005-12-07 Michael Smith <msmith@fluendo.com>
13304 * gst/parse/grammar.y:
13305 Remove handling of { } for threads.
13307 2005-12-06 David Schleef <ds@schleef.org>
13309 * libs/gst/base/gstbasetransform.c: speling fix.
13311 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
13313 * docs/libs/tmpl/gstdataprotocol.sgml:
13314 * docs/random/omega/testing/gstobject.c:
13317 * gst/gstelement.c:
13318 * gst/gstelementfactory.c:
13321 * gst/gstghostpad.c:
13323 * gst/gstpadtemplate.c:
13324 * gst/gstregistryxml.c:
13325 * gst/gsttaglist.c:
13326 * gst/gsttagsetter.c:
13327 * gst/gsttypefind.c:
13329 * libs/gst/base/gstbasesrc.c:
13330 * libs/gst/net/gstnetclientclock.c:
13331 * libs/gst/net/gstnettimeprovider.c:
13332 * plugins/elements/gstfakesrc.c:
13333 * plugins/elements/gstfdsrc.c:
13334 * plugins/elements/gstfilesrc.c:
13335 * plugins/elements/gstidentity.c:
13336 * plugins/elements/gstqueue.c:
13337 * plugins/elements/gsttypefindelement.c:
13338 * plugins/indexers/gstfileindex.c:
13339 * plugins/indexers/gstmemindex.c:
13340 * tests/check/gst/gsttag.c:
13341 * tests/old/examples/cutter/cutter.c:
13342 * tests/old/examples/mixer/mixer.c:
13343 * tests/old/examples/xml/runxml.c: (main):
13344 * tests/old/testsuite/caps/normalisation.c:
13345 * tests/old/testsuite/debug/global.c:
13346 * tests/old/testsuite/parse/parse1.c:
13347 * tools/gst-xmlinspect.c:
13348 * win32/common/dirent.c:
13351 === release 0.10.0 ===
13353 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13356 releasing 0.10.0, "Maroilles"
13358 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13360 submitted by: Funda Wang <fundawang@linux.net.cn>
13364 added Chinese (Traditional) translation
13366 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13368 * docs/gst/gstreamer-sections.txt:
13369 * docs/libs/tmpl/gstdataprotocol.sgml:
13370 * docs/random/thomasvs/TODO:
13375 2005-12-05 Andy Wingo <wingo@pobox.com>
13377 patch by: Wim Taymans <wim@fluendo.com>
13379 * libs/gst/base/gstbasetransform.c
13380 (gst_base_transform_prepare_output_buf)
13381 (gst_base_transform_buffer_alloc):
13382 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13383 alloc_buffer_and_set_caps.
13385 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13386 set_caps on the source pad.
13387 (gst_pad_alloc_buffer_and_set_caps): New function, does what
13388 alloc_buffer used to do. Fixes #322874.
13390 * docs/gst/gstreamer-sections.txt:
13391 * docs/design/part-negotiation.txt:
13392 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13395 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13397 patch by: Sebastien Moutte
13400 * win32/common/config.h.in:
13401 * win32/vs6/libgstcontroller.dsp:
13404 2005-12-05 Wim Taymans <wim@fluendo.com>
13406 * gst/gstcaps.c: (gst_caps_is_equal):
13407 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13408 (gst_fake_src_create):
13409 Back out previous code changes, leave doc updates, file bugs
13412 2005-12-05 Wim Taymans <wim@fluendo.com>
13414 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13415 (gst_fake_src_get_times), (gst_fake_src_create):
13416 * plugins/elements/gstfakesrc.h:
13417 Fix broken sync code.
13419 2005-12-05 Wim Taymans <wim@fluendo.com>
13421 * gst/gstcaps.c: (gst_caps_is_equal):
13422 Comparing NULL against !NULL yields different caps, not a
13425 2005-12-05 Wim Taymans <wim@fluendo.com>
13427 * gst/gstpipeline.c:
13428 Fix small typo in docs.
13430 2005-12-05 Andy Wingo <wingo@pobox.com>
13432 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
13434 * gst/gst.c (init_post): remove hard-coded 0.9 location for
13435 registries/plugins with a MAJORMINOR one.
13436 (plugin_desc): Rename library from gstcoreleements to
13437 staticelements. Fixes #323222.
13439 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
13441 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13442 Change debug category to 'collectpads' from 'collect_pads'
13445 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13447 patch by: Sebastien Moutte
13449 * libs/gst/controller/gstinterpolation.c:
13450 use convert function for uint64/double
13451 * win32/vs6/libgstcontroller.dsp:
13454 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13456 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13457 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13459 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13460 add tests that seem to show that the guint64/gdouble conversions
13463 2005-12-02 Wim Taymans <wim@fluendo.com>
13465 * gst/gstregistry.c: (gst_registry_add_path):
13466 * gst/gstregistry.h:
13467 * gst/gstregistryxml.c:
13470 2005-12-02 Wim Taymans <wim@fluendo.com>
13472 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13473 (gst_util_uint64_scale_int):
13476 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13477 Add debug log line.
13479 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13482 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13485 * win32/common/config.h:
13486 * win32/vs6/gstreamer.dsw:
13487 * win32/vs6/libgstcoreelements.dsp:
13488 * win32/vs6/libgstelements.dsp:
13489 renamed core elements plugin
13491 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13493 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13495 do piece-wise major/minor comparison so 0.9 < 0.10
13496 also allow .exe extensions for tools
13498 2005-12-02 Michael Smith <msmith@fluendo.com>
13501 Escape a % to make gtkdoc happier; bug 322958.
13503 === release 0.9.7 ===
13505 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13508 releasing 0.9.7, "My Dog Has No Nose"
13510 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13512 * common/gst-xmlinspect.py:
13514 * docs/libs/tmpl/gstdataprotocol.sgml:
13515 * docs/random/release:
13534 * win32/common/config.h:
13535 * win32/common/config.h.in:
13536 * win32/vs6/gst_inspect.dsp:
13537 * win32/vs6/gst_launch.dsp:
13538 * win32/vs6/libgstbase.dsp:
13539 * win32/vs6/libgstelements.dsp:
13540 * win32/vs6/libgstreamer.dsp:
13541 * win32/vs7/GStreamer.vcproj:
13542 * win32/vs7/gst-inspect.vcproj:
13543 * win32/vs7/gst-launch.vcproj:
13544 * win32/vs7/libgstbase.vcproj:
13545 bump GST_MAJORMINOR to 0.10
13546 reset libtool version
13548 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13552 Added Bulgarian translation by (Alexander Shopov)
13554 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13556 * tests/check/gst/gstplugin.c:
13559 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13561 * common/gst-xmlinspect.py:
13562 * common/gtk-doc-plugins.mak:
13564 * docs/Makefile.am:
13565 * docs/gst/Makefile.am:
13566 * docs/gst/gstreamer-docs.sgml:
13567 * docs/gst/gstreamer-sections.txt:
13568 * docs/gst/gstreamer.types:
13569 * docs/gst/gstreamer.types.in:
13570 * docs/plugins/Makefile.am:
13571 * docs/plugins/gstreamer-plugins-docs.sgml:
13572 * docs/plugins/gstreamer-plugins-sections.txt:
13573 * docs/plugins/gstreamer-plugins.types:
13574 * docs/plugins/inspect.stamp:
13575 * docs/plugins/inspect/plugin-coreelements.xml:
13576 * docs/plugins/inspect/plugin-coreindexers.xml:
13577 * docs/plugins/scanobj-build.stamp:
13578 * gstreamer.spec.in:
13579 * plugins/elements/Makefile.am:
13580 * plugins/elements/gstelements.c:
13581 * plugins/elements/gstfakesink.c:
13582 * plugins/elements/gstfakesrc.c:
13583 * plugins/elements/gstfilesink.c:
13584 * plugins/elements/gstfilesrc.c:
13585 * plugins/elements/gstqueue.c:
13586 * plugins/indexers/Makefile.am:
13587 * plugins/indexers/gstindexers.c:
13588 document core plugins in a separate document just like all the
13590 rename these plugins to something starting with core
13592 2005-12-01 Andy Wingo <wingo@pobox.com>
13594 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13595 padding here before, but it missed the commit.
13597 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13599 * libs/gst/controller/gstinterpolation.c:
13600 whitespace prices have crashed, we should feel free to use some now
13601 use gst_guint64_to_gdouble
13603 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13605 * libs/gst/controller/gstcontroller.c:
13606 * libs/gst/controller/gsthelper.c:
13607 * libs/gst/controller/gstinterpolation.c:
13608 * libs/gst/controller/lib.c:
13609 wrap config.h include
13611 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13613 * docs/gst/gstreamer-sections.txt:
13616 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13618 * plugins/elements/gstelements.c:
13619 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13620 (gst_fd_sink__class_init), (gst_fd_sink__init),
13621 (gst_fd_sink__chain), (gst_fd_sink__set_property),
13622 (gst_fd_sink__get_property):
13623 * plugins/elements/gstfdsink.h:
13624 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13625 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13626 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13627 (gst_fd_src_unlock), (gst_fd_src_set_property),
13628 (gst_fd_src_get_property), (gst_fd_src_create),
13629 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13630 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13631 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13632 (gst_fd_src_uri_handler_init):
13633 * plugins/elements/gstfdsrc.h:
13634 * plugins/elements/gstqueue.c: (gst_queue_get_type):
13637 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13639 * docs/gst/Makefile.am:
13640 * docs/gst/gstreamer.types.in:
13644 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13650 * gst/gstregistry.h:
13651 * tests/benchmarks/complexity.c:
13652 * tests/benchmarks/mass-elements.c:
13653 * tests/check/Makefile.am:
13654 * tools/Makefile.am:
13655 * tools/gst-inspect.c:
13656 * tools/gst-xmlinspect.c:
13657 various fixes to make
13658 --disable-nls --disable-registry --disable-loadsave
13659 --disable-parse --disable-gst-debug
13660 work and get the core .so down to 360444 bytes after stripping
13662 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13667 * docs/random/thomasvs/TODO:
13668 * tests/Makefile.am:
13672 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13674 * win32/GStreamer.vcproj:
13677 * win32/Makefile.inspect:
13678 * win32/Makefile.launch:
13679 * win32/Makefile.register:
13680 * win32/README.txt:
13681 * win32/gst-inspect.vcproj:
13682 * win32/gst-launch.vcproj:
13683 * win32/gst-register.vcproj:
13684 * win32/gstelements.vcproj:
13685 * win32/gstgetbits.def:
13686 * win32/gstgetbits.vcproj:
13687 * win32/gstreamer-dbg.def:
13688 * win32/gstreamer.def:
13689 * win32/libgstbase.def:
13690 * win32/libgstbase.vcproj:
13691 * win32/link_oldruntime.c:
13695 * win32/msvc71.sln:
13696 move even more stuff, win32/ is nice and clean now
13698 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13700 * libs/gst/control/.cvsignore:
13705 * win32/gstbytestream.def:
13706 * win32/gstbytestream.vcproj:
13707 * win32/gstconfig.h:
13708 * win32/gstenumtypes.c:
13709 * win32/gstenumtypes.h:
13710 * win32/gstoptimalscheduler.vcproj:
13711 * win32/gstversion.h:
13713 * win32/testsuite/bins.vcproj:
13714 * win32/testsuite/bytestream.vcproj:
13715 * win32/testsuite/caps.vcproj:
13716 * win32/testsuite/cleanup.vcproj:
13717 * win32/testsuite/clock.vcproj:
13718 * win32/testsuite/debug.vcproj:
13719 * win32/testsuite/dlopen.vcproj:
13720 * win32/testsuite/dynparams.vcproj:
13721 * win32/testsuite/elements.vcproj:
13722 * win32/testsuite/ghostpads.vcproj:
13723 * win32/testsuite/indexers.vcproj:
13724 * win32/testsuite/negotiation.vcproj:
13725 * win32/testsuite/parse.vcproj:
13726 * win32/testsuite/plugin.vcproj:
13727 * win32/testsuite/refcounting.vcproj:
13728 * win32/testsuite/schedulers.vcproj:
13729 * win32/testsuite/states.vcproj:
13730 * win32/testsuite/tags.vcproj:
13731 * win32/testsuite/threads.vcproj:
13732 remove old win32 stuff that isn't maintained and should be
13735 2005-11-30 Andy Wingo <wingo@pobox.com>
13737 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13738 loading the gst.interfaces python module bork.
13740 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13741 available since GLib 2.2. Fixes #318031.
13743 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13746 * check/.cvsignore:
13747 * check/Makefile.am:
13748 * check/elements/.cvsignore:
13749 * check/elements/fakesrc.c:
13750 * check/elements/fdsrc.c:
13751 * check/elements/identity.c:
13752 * check/generic/.cvsignore:
13753 * check/generic/states.c:
13754 * check/gst-libs/.cvsignore:
13755 * check/gst-libs/controller.c:
13756 * check/gst-libs/gdp.c:
13757 * check/gst/.cvsignore:
13758 * check/gst/capslist.h:
13760 * check/gst/gstbin.c:
13761 * check/gst/gstbuffer.c:
13762 * check/gst/gstbus.c:
13763 * check/gst/gstcaps.c:
13764 * check/gst/gstelement.c:
13765 * check/gst/gstevent.c:
13766 * check/gst/gstghostpad.c:
13767 * check/gst/gstiterator.c:
13768 * check/gst/gstmessage.c:
13769 * check/gst/gstminiobject.c:
13770 * check/gst/gstobject.c:
13771 * check/gst/gstpad.c:
13772 * check/gst/gstpipeline.c:
13773 * check/gst/gstplugin.c:
13774 * check/gst/gstsegment.c:
13775 * check/gst/gststructure.c:
13776 * check/gst/gstsystemclock.c:
13777 * check/gst/gsttag.c:
13778 * check/gst/gstutils.c:
13779 * check/gst/gstvalue.c:
13780 * check/net/.cvsignore:
13781 * check/net/gstnetclientclock.c:
13782 * check/net/gstnettimeprovider.c:
13783 * check/pipelines/.cvsignore:
13784 * check/pipelines/cleanup.c:
13785 * check/pipelines/simple_launch_lines.c:
13786 * check/pipelines/stress.c:
13787 * check/states/.cvsignore:
13788 * check/states/sinks.c:
13790 * examples/Makefile.am:
13791 * examples/appreader/.cvsignore:
13792 * examples/appreader/Makefile.am:
13793 * examples/appreader/appreader.c:
13794 * examples/controller/.cvsignore:
13795 * examples/controller/Makefile.am:
13796 * examples/controller/audio-example.c:
13797 * examples/cutter/.cvsignore:
13798 * examples/cutter/Makefile.am:
13799 * examples/cutter/cutter.c:
13800 * examples/cutter/cutter.h:
13801 * examples/events/Makefile.am:
13802 * examples/events/seek.c:
13803 * examples/helloworld/.cvsignore:
13804 * examples/helloworld/Makefile.am:
13805 * examples/helloworld/helloworld.c:
13806 * examples/helloworld2/.cvsignore:
13807 * examples/helloworld2/Makefile.am:
13808 * examples/helloworld2/helloworld2.c:
13809 * examples/launch/.cvsignore:
13810 * examples/launch/Makefile.am:
13811 * examples/launch/mp3parselaunch.c:
13812 * examples/launch/mp3play:
13813 * examples/manual/.cvsignore:
13814 * examples/manual/Makefile.am:
13815 * examples/manual/extract.pl:
13816 * examples/metadata/Makefile.am:
13817 * examples/metadata/read-metadata.c:
13818 * examples/mixer/.cvsignore:
13819 * examples/mixer/Makefile.am:
13820 * examples/mixer/mixer.c:
13821 * examples/mixer/mixer.h:
13822 * examples/pingpong/.cvsignore:
13823 * examples/pingpong/Makefile.am:
13824 * examples/pingpong/pingpong.c:
13825 * examples/plugins/.cvsignore:
13826 * examples/plugins/Makefile.am:
13827 * examples/plugins/example.c:
13828 * examples/plugins/example.h:
13829 * examples/pwg/.cvsignore:
13830 * examples/pwg/Makefile.am:
13831 * examples/pwg/extract.pl:
13832 * examples/queue/.cvsignore:
13833 * examples/queue/Makefile.am:
13834 * examples/queue/queue.c:
13835 * examples/queue2/.cvsignore:
13836 * examples/queue2/Makefile.am:
13837 * examples/queue2/queue2.c:
13838 * examples/queue3/.cvsignore:
13839 * examples/queue3/Makefile.am:
13840 * examples/queue3/queue3.c:
13841 * examples/queue4/.cvsignore:
13842 * examples/queue4/Makefile.am:
13843 * examples/queue4/queue4.c:
13844 * examples/retag/.cvsignore:
13845 * examples/retag/Makefile.am:
13846 * examples/retag/retag.c:
13847 * examples/retag/transcode.c:
13848 * examples/thread/.cvsignore:
13849 * examples/thread/Makefile.am:
13850 * examples/thread/thread.c:
13851 * examples/typefind/.cvsignore:
13852 * examples/typefind/Makefile.am:
13853 * examples/typefind/typefind.c:
13854 * examples/xml/.cvsignore:
13855 * examples/xml/Makefile.am:
13856 * examples/xml/createxml.c:
13857 * examples/xml/runxml.c:
13858 * tests/Makefile.am:
13859 * tests/check/Makefile.am:
13860 * testsuite/.cvsignore:
13861 * testsuite/Makefile.am:
13863 * testsuite/caps/.cvsignore:
13864 * testsuite/caps/Makefile.am:
13865 * testsuite/caps/app_fixate.c:
13866 * testsuite/caps/audioscale.c:
13867 * testsuite/caps/caps.c:
13868 * testsuite/caps/caps.h:
13869 * testsuite/caps/caps_strings:
13870 * testsuite/caps/compatibility.c:
13871 * testsuite/caps/deserialize.c:
13872 * testsuite/caps/enumcaps.c:
13873 * testsuite/caps/eratosthenes.c:
13874 * testsuite/caps/filtercaps.c:
13875 * testsuite/caps/fixed.c:
13876 * testsuite/caps/fraction-convert.c:
13877 * testsuite/caps/fraction-multiply-and-zero.c:
13878 * testsuite/caps/intersect2.c:
13879 * testsuite/caps/intersection.c:
13880 * testsuite/caps/normalisation.c:
13881 * testsuite/caps/random.c:
13882 * testsuite/caps/renegotiate.c:
13883 * testsuite/caps/sets.c:
13884 * testsuite/caps/simplify.c:
13885 * testsuite/caps/string-conversions.c:
13886 * testsuite/caps/structure.c:
13887 * testsuite/caps/subtract.c:
13888 * testsuite/caps/union.c:
13889 * testsuite/debug/.cvsignore:
13890 * testsuite/debug/Makefile.am:
13891 * testsuite/debug/category.c:
13892 * testsuite/debug/commandline.c:
13893 * testsuite/debug/global.c:
13894 * testsuite/debug/output.c:
13895 * testsuite/debug/printf_extension.c:
13896 * testsuite/dlopen/.cvsignore:
13897 * testsuite/dlopen/Makefile.am:
13898 * testsuite/dlopen/dlopen_gst.c:
13899 * testsuite/dlopen/loadgst.c:
13900 * testsuite/elements/.cvsignore:
13901 * testsuite/elements/Makefile.am:
13902 * testsuite/elements/gst-inspect-check.in:
13903 * testsuite/elements/struct_i386.h:
13904 * testsuite/elements/struct_size.c:
13905 * testsuite/indexers/.cvsignore:
13906 * testsuite/indexers/Makefile.am:
13907 * testsuite/indexers/cache1.c:
13908 * testsuite/indexers/indexdump.c:
13909 * testsuite/parse/.cvsignore:
13910 * testsuite/parse/Makefile.am:
13911 * testsuite/parse/parse1.c:
13912 * testsuite/parse/parse2.c:
13913 * testsuite/plugin/.cvsignore:
13914 * testsuite/plugin/Makefile.am:
13915 * testsuite/plugin/README:
13916 * testsuite/plugin/dynamic.c:
13917 * testsuite/plugin/linked.c:
13918 * testsuite/plugin/loading.c:
13919 * testsuite/plugin/registry.c:
13920 * testsuite/plugin/static.c:
13921 * testsuite/plugin/static2.c:
13922 * testsuite/plugin/testplugin.c:
13923 * testsuite/plugin/testplugin2.c:
13924 * testsuite/plugin/testplugin2_s.c:
13925 * testsuite/plugin/testplugin_s.c:
13926 * testsuite/refcounting/.cvsignore:
13927 * testsuite/refcounting/Makefile.am:
13928 * testsuite/refcounting/bin.c:
13929 * testsuite/refcounting/element.c:
13930 * testsuite/refcounting/element_pad.c:
13931 * testsuite/refcounting/mainloop.c:
13932 * testsuite/refcounting/mem.c:
13933 * testsuite/refcounting/mem.h:
13934 * testsuite/refcounting/object.c:
13935 * testsuite/refcounting/pad.c:
13936 * testsuite/refcounting/sched.c:
13937 * testsuite/refcounting/thread.c:
13938 * testsuite/states/.cvsignore:
13939 * testsuite/states/Makefile.am:
13940 * testsuite/states/bin.c:
13941 * testsuite/states/locked.c:
13942 * testsuite/states/parent.c:
13943 * testsuite/threads/.cvsignore:
13944 * testsuite/threads/159566.c:
13945 * testsuite/threads/159852.c:
13946 * testsuite/threads/Makefile.am:
13947 * testsuite/threads/queue.c:
13948 * testsuite/threads/signals.c:
13949 * testsuite/threads/staticrec.c:
13950 * testsuite/threads/thread.c:
13951 * testsuite/threads/threadb.c:
13952 * testsuite/threads/threadc.c:
13953 * testsuite/threads/threadd.c:
13954 * testsuite/threads/threade.c:
13955 * testsuite/threads/threadf.c:
13956 * testsuite/threads/threadg.c:
13957 * testsuite/threads/threadh.c:
13958 * testsuite/threads/threadi.c:
13959 move all of these under tests
13961 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13964 * tests/Makefile.am:
13967 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13969 * docs/gst/gstreamer-sections.txt:
13970 * tests/sched/.cvsignore:
13971 * tests/sched/Makefile.am:
13972 * tests/sched/cases/(fs-fs).xml:
13973 * tests/sched/cases/(fs-i-fs).xml:
13974 * tests/sched/cases/(fs-i-i-fs).xml:
13975 * tests/sched/cases/(fs-i-q[i-fs]).xml:
13976 * tests/sched/dynamic-pipeline.c:
13977 * tests/sched/interrupt1.c:
13978 * tests/sched/interrupt2.c:
13979 * tests/sched/interrupt3.c:
13980 * tests/sched/runtestcases:
13981 * tests/sched/runxml.c:
13982 * tests/sched/sched-stress.c:
13983 * tests/sched/sort.c:
13984 * tests/sched/testcases:
13985 * tests/sched/testcases1.tc:
13986 * tests/seeking/.cvsignore:
13987 * tests/seeking/Makefile.am:
13988 * tests/seeking/seeking1.c:
13989 * tests/threadstate/.cvsignore:
13990 * tests/threadstate/Makefile.am:
13991 * tests/threadstate/test1.c:
13992 * tests/threadstate/test2.c:
13993 * tests/threadstate/threadstate1.c:
13994 * tests/threadstate/threadstate2.c:
13995 * tests/threadstate/threadstate3.c:
13996 * tests/threadstate/threadstate4.c:
13997 * tests/threadstate/threadstate5.c:
13998 remove obsolete tests
14000 * tests/bench-complexity.scm:
14001 * tests/bench-mass_elements.scm:
14002 * tests/complexity.c:
14003 * tests/complexity.gnuplot:
14004 * tests/instantiate/.cvsignore:
14005 * tests/instantiate/Makefile.am:
14006 * tests/instantiate/caps.c:
14007 * tests/mass_elements.c:
14008 * tests/network-clock-utils.scm:
14009 * tests/network-clock.scm:
14011 First pass at cleaning up tests/ dir before moving the rest
14012 Combined with CVS surgery
14014 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14017 queue has moved, update
14019 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14021 * docs/gst/gstreamer-sections.txt:
14022 remove double entries from the docs
14023 * gst/gst_private.h:
14024 * gst/gstinfo.c: (_gst_debug_init):
14025 remove the THREAD debug category
14029 * docs/gst/gstreamer.types:
14030 * plugins/elements/gstqueue.c: (gst_queue_get_type),
14031 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
14032 completely move queue and fix up debugging categories
14034 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14036 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14037 make initialization portable, using LL is not
14039 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14041 * win32/common/gstconfig.h:
14044 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14046 * win32/common/libgstreamer.def:
14047 rename symbols; sort base section
14049 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14051 * gst/gstclock.c: (do_linear_regression):
14052 remove crack non-portable handrolled DEBUG macro
14054 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14056 * docs/random/release:
14058 * win32/common/gstenumtypes.c: (register_gst_object_flags),
14059 (gst_object_flags_get_type), (register_gst_bin_flags),
14060 (gst_bin_flags_get_type), (register_gst_buffer_flag),
14061 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14062 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14063 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
14064 (gst_caps_flags_get_type), (register_gst_clock_return),
14065 (gst_clock_return_get_type), (register_gst_clock_entry_type),
14066 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14067 (gst_clock_flags_get_type), (register_gst_state),
14068 (gst_state_get_type), (register_gst_state_change_return),
14069 (gst_state_change_return_get_type), (register_gst_state_change),
14070 (gst_state_change_get_type), (register_gst_element_flags),
14071 (gst_element_flags_get_type), (register_gst_core_error),
14072 (gst_core_error_get_type), (register_gst_library_error),
14073 (gst_library_error_get_type), (register_gst_resource_error),
14074 (gst_resource_error_get_type), (register_gst_stream_error),
14075 (gst_stream_error_get_type), (register_gst_event_type_flags),
14076 (gst_event_type_flags_get_type), (register_gst_event_type),
14077 (gst_event_type_get_type), (register_gst_seek_type),
14078 (gst_seek_type_get_type), (register_gst_seek_flags),
14079 (gst_seek_flags_get_type), (register_gst_format),
14080 (gst_format_get_type), (register_gst_index_certainty),
14081 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14082 (gst_index_entry_type_get_type),
14083 (register_gst_index_lookup_method),
14084 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14085 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14086 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14087 (gst_index_flags_get_type), (register_gst_debug_level),
14088 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14089 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14090 (gst_iterator_result_get_type), (register_gst_iterator_item),
14091 (gst_iterator_item_get_type), (register_gst_message_type),
14092 (gst_message_type_get_type), (register_gst_mini_object_flags),
14093 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14094 (gst_pad_link_return_get_type), (register_gst_flow_return),
14095 (gst_flow_return_get_type), (register_gst_activate_mode),
14096 (gst_activate_mode_get_type), (register_gst_pad_direction),
14097 (gst_pad_direction_get_type), (register_gst_pad_flags),
14098 (gst_pad_flags_get_type), (register_gst_pad_presence),
14099 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14100 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14101 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14102 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14103 (gst_plugin_flags_get_type), (register_gst_rank),
14104 (gst_rank_get_type), (register_gst_query_type),
14105 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14106 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14107 (gst_tag_flag_get_type), (register_gst_task_state),
14108 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14109 (gst_alloc_trace_flags_get_type),
14110 (register_gst_type_find_probability),
14111 (gst_type_find_probability_get_type), (register_gst_uri_type),
14112 (gst_uri_type_get_type), (register_gst_parse_error),
14113 (gst_parse_error_get_type):
14114 * win32/common/gstenumtypes.h:
14115 * win32/common/gstversion.h:
14116 update visual studio generated files
14118 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14120 * win32/vs6/libgstbase.dsp:
14121 * win32/vs6/libgstelements.dsp:
14122 update project files for new locations
14124 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14129 reinstate and update
14134 * docs/random/LICENSE:
14137 2005-11-30 Edward Hervey <edward@fluendo.com>
14139 * gst/gsttypefind.c: (gst_type_find_register):
14140 * gst/gsttypefind.h:
14141 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14142 (gst_type_find_factory_dispose):
14143 * gst/gsttypefindfactory.h:
14144 Fix memory leak in GstTypeFindFactory.
14146 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14149 * plugins/elements/Makefile.am:
14150 * plugins/elements/gstelements.c:
14151 * plugins/elements/gstqueue.c:
14152 move queue from core to the elements plugin
14154 2005-11-29 Andy Wingo <wingo@pobox.com>
14156 * libs/gst/base/gstbasetransform.h:
14157 * libs/gst/base/gstbasesrc.h:
14158 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14160 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14161 of pointers by which to pad very extensible base classes (like the
14162 ones in libs/gst/base).
14164 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14166 * docs/gst/gstreamer-docs.sgml:
14167 * docs/gst/gstreamer-sections.txt:
14168 * docs/libs/gstreamer-libs-docs.sgml:
14169 * docs/libs/gstreamer-libs-sections.txt:
14170 moving documentation from core to lib
14172 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14174 * check/Makefile.am:
14176 * docs/gst/Makefile.am:
14178 * gst/base/.cvsignore:
14179 * gst/base/Makefile.am:
14181 * gst/base/gstadapter.c:
14182 * gst/base/gstadapter.h:
14183 * gst/base/gstbasesink.c:
14184 * gst/base/gstbasesink.h:
14185 * gst/base/gstbasesrc.c:
14186 * gst/base/gstbasesrc.h:
14187 * gst/base/gstbasetransform.c:
14188 * gst/base/gstbasetransform.h:
14189 * gst/base/gstcollectpads.c:
14190 * gst/base/gstcollectpads.h:
14191 * gst/base/gstpushsrc.c:
14192 * gst/base/gstpushsrc.h:
14193 * gst/base/gsttypefindhelper.c:
14194 * gst/base/gsttypefindhelper.h:
14195 * gst/check/Makefile.am:
14196 * gst/check/gstcheck.c:
14197 * gst/check/gstcheck.h:
14198 * gst/net/Makefile.am:
14199 * gst/net/gstnet.h:
14200 * gst/net/gstnetclientclock.c:
14201 * gst/net/gstnetclientclock.h:
14202 * gst/net/gstnettimepacket.c:
14203 * gst/net/gstnettimepacket.h:
14204 * gst/net/gstnettimeprovider.c:
14205 * gst/net/gstnettimeprovider.h:
14206 * libs/gst/Makefile.am:
14207 * libs/gst/base/Makefile.am:
14208 * libs/gst/base/gstbasetransform.c:
14209 * libs/gst/check/Makefile.am:
14210 * plugins/elements/Makefile.am:
14212 CVS surgery + support to move base, check, and net out of gst
14215 2005-11-29 Andy Wingo <wingo@pobox.com>
14217 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14219 * gst/gststructure.h (struct _GstStructure): Only one pointer of
14222 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14224 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14226 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14228 * gst/gstobject.h: (struct _GstObject): Only one pointer of
14229 padding; reduces object size by about 30%. We don't expect
14230 anything else to go into gstobject.
14232 * gst/gstminiobject.h (struct _GstMiniObject)
14233 (struct _GstMiniObjectClass): Only one pointer of padding; the
14234 payload is only a pointer and two ints anyway. For the class there
14235 are only two methods as well.
14237 * gst/gstelement.h (struct _GstElementClass): Removed
14238 the state_changed signal callback, it is not used.
14240 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14242 * docs/gst/gstreamer.types:
14243 fix includes, though they are a little dinky
14245 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14247 * check/Makefile.am:
14248 look in the right place for elements, a lot more chance of
14251 remove indexers and elements subdirs
14252 * plugins/Makefile.am:
14253 make indexers conditional
14255 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14259 * plugins/elements/Makefile.am:
14260 * plugins/elements/gstcapsfilter.c:
14261 * plugins/elements/gstfilesink.c:
14262 * plugins/elements/gstfilesrc.c:
14263 * plugins/elements/gstidentity.c:
14264 * plugins/indexers/Makefile.am:
14265 do CVS surgery and related build fixery to move elements
14266 and indexers in a new gstreamer/plugins directory, out of the
14269 2005-11-29 Andy Wingo <wingo@pobox.com>
14271 * check/Makefile.am:
14272 * pkgconfig/gstreamer-net-uninstalled.pc.in:
14273 * pkgconfig/gstreamer-net.pc.in:
14274 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14277 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14279 * tools/Makefile.am:
14280 * tools/gst-complete.1.in:
14281 * tools/gst-complete.c:
14282 * tools/gst-compprep.1.in:
14283 * tools/gst-compprep.c:
14284 removing -compprep and -complete
14286 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14288 * gst/gstevent.c: (gst_event_new_new_segment),
14289 (gst_event_parse_new_segment):
14291 fix #320529 - clean up new_segment API and structure.
14292 Let's hope everyone was using the methods, and not the structure.
14294 2005-11-29 Edward Hervey <edward@fluendo.com>
14296 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14297 (gst_base_sink_event), (gst_base_sink_do_sync),
14298 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14299 Properly handle non GST_FORMAT_TIME segment
14300 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14301 Properly handle non GST_FORMAT_TIME segment
14302 * gst/gstsegment.c:
14303 This function is valid if the accumulator is 0 and the format
14304 is different from the requested format.
14306 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14308 * docs/gst/gstreamer-sections.txt:
14309 Add gst_query_new_seeking and gst_query_parse_seeking to the
14312 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14314 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14315 Treat a pad alloc with new caps the same as if we were not
14316 negotiated, in order to allow a changing upstream output
14317 to produce a new format of data.
14319 2005-11-29 Edward Hervey <edward@fluendo.com>
14321 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14322 (gst_base_transform_event), (gst_base_transform_eventfunc):
14323 The event virtual method is now properly implemented, with a default
14325 Sub classes should call the parent_class event method. They should
14326 return FALSE if they had a problem handling the given event, or don't
14327 want GstBaseTransform to send that even downstream
14328 * gst/elements/gstidentity.c: (gst_identity_class_init),
14329 (gst_identity_init), (gst_identity_event),
14330 (gst_identity_transform_ip), (gst_identity_set_property),
14331 (gst_identity_get_property):
14332 * gst/elements/gstidentity.h:
14333 Added the single-segment boolean property.
14334 If set to TRUE, it will output a single segment of data, starting from
14335 0, will eat up all incoming newsegment, and modify the timestamp of the
14336 buffers accordingly
14338 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
14340 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14341 Don't ref NULL target pad (#322751). Improve docs.
14343 2005-11-29 Michael Smith <msmith@fluendo.com>
14345 * gst/gstregistryxml.c: (load_plugin):
14346 Don't crash if we failed to load a feature from a plugin.
14348 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14350 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14352 use more check API and less GLib API
14354 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14357 don't run checks if we don't have check
14358 * common/check.mak:
14359 remove the registry when running make torture
14360 * docs/gst/gstreamer-sections.txt:
14361 remove second multiply
14362 * gst/gstqueue.c: (gst_queue_loop):
14363 fix a compile warning when disabling debug
14365 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14368 Hey! Let's print the pad name if the pointer != NULL instead
14369 of when it == NULL :-)
14371 2005-11-28 Wim Taymans <wim@fluendo.com>
14373 * check/gst/gstutils.c: (GST_START_TEST):
14374 Updated check, add some scaling accuracy checking code.
14376 * gst/gstutils.c: (gst_util_div128_64),
14377 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14378 (gst_util_uint64_scale_int):
14379 Fix 6 times faster division code. Optimize for common
14380 1/1 and less common X/1 cases.
14382 2005-11-28 Wim Taymans <wim@fluendo.com>
14384 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14387 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14388 (do_linear_regression), (gst_clock_add_observation):
14390 Release lock when the clock cannot be slaved.
14391 Catch the case where the regression returned an invalid denominator.
14393 * gst/gstutils.c: (gst_util_div128_64_iterate),
14394 (gst_util_div128_64), (gst_util_uint64_scale_int64),
14395 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14396 Add protentially more performant non-iterative 128/64 divide function
14397 that unfortunatly does not work yet.
14398 Shortcut the trivial 0/X = 0 case.
14399 Remove the warnings on overflow.
14401 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14403 * gst/gstplugin.c: (gst_plugin_register_func):
14404 everything causing a plugin not to load should be at least a WARNING
14406 2005-11-28 Stefan Kost <ensonic@users.sf.net>
14408 * docs/random/ensonic/dparams.txt:
14409 some TODOs for the next dev cycle
14410 * libs/gst/controller/gstcontroller.c:
14411 (gst_controlled_property_set_interpolation_mode),
14412 (gst_controlled_property_new):
14413 * libs/gst/controller/gstcontroller.h:
14414 use base type to assign acccessor functions
14416 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14418 * check/Makefile.am:
14419 Oops, that should have been top_srcdir
14421 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14423 * check/Makefile.am:
14424 * check/elements/fdsrc.c: (GST_START_TEST):
14425 Use a cmdline define to specify the location of a file to use for
14426 testing, to avoid breaking distcheck.
14428 2005-11-28 Andy Wingo <wingo@pobox.com>
14430 * gst/gstpad.c (fixate_value): Use array functions for arrays.
14432 2005-11-28 Edward Hervey <edward@fluendo.com>
14434 * tools/gst-launch.c: (main):
14435 Clarify the output strings, makes it easier to translate.
14438 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14441 don't try and build net if we don't even have <sys/socket.h>
14443 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
14445 * check/Makefile.am:
14446 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14447 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14448 Add tests for fdsrc seekability
14450 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14451 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14452 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14453 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14454 * gst/elements/gstfdsrc.h:
14455 fdsrc should not be a 'live' source.
14456 Implement seeking on seekable fd's.
14458 * gst/gstquery.c: (gst_query_new_seeking),
14459 (gst_query_parse_seeking):
14461 Implement SEEKING query functions:
14462 *_new_seeking and *_parse_seeking
14464 2005-11-27 Stefan Kost <ensonic@users.sf.net>
14466 * gst/gstelement.c: (gst_element_dispose):
14469 * gst/gstiterator.c:
14470 * gst/gststructure.c:
14473 * libs/gst/controller/gstcontroller.c:
14474 (gst_controlled_property_set_interpolation_mode):
14475 * libs/gst/controller/gstcontroller.h:
14476 * libs/gst/controller/gstinterpolation.c:
14477 (interpolate_none_get_enum_value_array):
14478 support controlling enums
14480 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14483 Improve documentation for gst_value_union().
14486 Change return value for union, intersect and subtract functions
14487 from gint to gboolean.
14489 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14491 * gst/gstvalue.c: (gst_value_serialize_any_list),
14492 (gst_value_transform_any_list_string),
14493 (gst_value_deserialize_list), (gst_value_deserialize_array),
14494 (gst_value_set_int_range), (gst_value_deserialize_int_range),
14495 (gst_value_set_double_range), (gst_value_deserialize_double_range),
14496 (gst_value_set_fraction_range_full),
14497 (gst_value_deserialize_fraction_range),
14498 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14499 (gst_value_deserialize_boolean),
14500 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14501 (gst_value_serialize_float), (gst_value_deserialize_float),
14502 (gst_string_wrap), (gst_value_deserialize_string),
14503 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14504 (gst_value_union_int_range_int_range),
14505 (gst_value_intersect_int_range_int_range),
14506 (gst_value_intersect_double_range_double_range),
14507 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14508 (gst_value_subtract_int_range_int_range),
14509 (gst_value_subtract_double_double_range),
14510 (gst_value_subtract_double_range_double_range),
14511 (gst_value_deserialize_fraction):
14513 Use gint, gdouble and gchar in our API instead of int, double and
14514 char (and make usage in gstvalue.c more consistent).
14516 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14518 * check/Makefile.am:
14519 * libs/gst/controller/Makefile.am:
14520 * libs/gst/dataprotocol/Makefile.am:
14521 fix up Makefile.am and remove GST_ENABLE_NEW
14523 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14527 * gst/base/Makefile.am:
14528 * gst/check/Makefile.am:
14529 * gst/elements/Makefile.am:
14530 * gst/net/Makefile.am:
14531 update LDFLAGS use some more
14533 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14535 * common/m4/gst-doc.m4:
14538 2005-11-26 Edward Hervey <edward@fluendo.com>
14540 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14541 This shouldn't issue a g_warning since it returns NULL if it
14542 couldn't find the plugin, and all functions using this behave
14543 properly on a NULL return. Switching to a GST_WARNING.
14545 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
14547 * gst/gstbin.c: (gst_bin_handle_message_func):
14548 Don't leak clock messages.
14550 2005-11-25 Wim Taymans <wim@fluendo.com>
14552 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14553 (gst_util_uint64_scale_int):
14554 Optimisations, remove unneeded vars.
14556 2005-11-25 Wim Taymans <wim@fluendo.com>
14558 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14559 Added more checks for the high precision uint64 cases.
14561 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14562 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14563 Implement high precision (guint64 * guint64) / guint64.
14565 2005-11-24 Wim Taymans <wim@fluendo.com>
14567 * gst/base/gstbasesrc.c: (gst_base_src_query):
14568 Fix wrong percentage query.
14570 * gst/gstutils.c: (gst_util_uint64_scale),
14571 (gst_util_uint64_scale_int):
14572 Add some more common cases that can be handled
14573 efficiently to _scale.
14575 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14577 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14578 (gst_mini_object_suite):
14579 don't use check calls from threads; check probably isn't
14580 threadsafe and using a lock to make it threadsafe would
14581 defeat the purpose of this check
14582 * gst/check/gstcheck.c:
14583 * gst/check/gstcheck.h:
14584 use GST_DEBUG some more
14586 2005-11-24 Wim Taymans <wim@fluendo.com>
14588 * gst/gstutils.c: (gst_util_uint64_scale),
14589 (gst_util_uint64_scale_int):
14590 Chain trivial case to _scale_int.
14592 2005-11-24 Wim Taymans <wim@fluendo.com>
14594 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14595 Added test for scaling.
14600 * gst/gstutils.c: (gst_util_uint64_scale_int):
14601 Implemented high precision scaling code.
14603 2005-11-24 Stefan Kost <ensonic@users.sf.net>
14606 do not crash on pad==NULL
14608 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14610 Patch by: Stefan Kost
14612 * common/gtk-doc.mak:
14613 * docs/gst/Makefile.am:
14614 * docs/libs/Makefile.am:
14615 Fix distcheck issues for the libraries docs build
14618 2005-11-24 Michael Smith <msmith@fluendo.com>
14620 * docs/manual/basics-helloworld.xml:
14621 Fix bug #315027: memory leak in example code in docs.
14623 2005-11-24 Michael Smith <msmith@fluendo.com>
14625 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14626 Unlock the PREROLL_LOCK in a failure case.
14628 2005-11-24 Wim Taymans <wim@fluendo.com>
14630 * docs/gst/gstreamer-sections.txt:
14631 * gst/base/gstadapter.h:
14632 * gst/base/gstbasesink.h:
14633 * gst/base/gstbasesrc.h:
14634 * gst/base/gstbasetransform.h:
14635 * gst/base/gstpushsrc.h:
14636 * gst/elements/gstfakesink.h:
14637 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14638 * gst/elements/gstfakesrc.h:
14639 * gst/elements/gstfilesink.h:
14640 * gst/elements/gstfilesrc.h:
14643 * gst/gstbuffer.c: (_gst_buffer_copy):
14646 * gst/gstchildproxy.c:
14648 * gst/gstelement.c:
14649 * gst/gstelementfactory.c:
14650 * gst/gstelementfactory.h:
14652 * gst/gstghostpad.h:
14654 * gst/gstinterface.h:
14655 * gst/gstminiobject.c:
14656 * gst/gstminiobject.h:
14659 * gst/gstpadtemplate.h:
14660 * gst/gstpipeline.h:
14661 * gst/gstpluginfeature.h:
14664 * gst/gsttaglist.c:
14665 * gst/gsttaglist.h:
14666 * gst/gsttagsetter.c:
14667 * gst/gsttagsetter.h:
14670 * gst/gsttypefind.h:
14673 * gst/net/gstnetclientclock.c:
14674 * gst/net/gstnetclientclock.h:
14675 * gst/net/gstnettimepacket.c:
14676 * gst/net/gstnettimeprovider.c:
14677 * gst/net/gstnettimeprovider.h:
14680 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14682 * configure.ac: back to HEAD
14684 === release 0.9.6 ===
14686 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14689 releasing 0.9.6, "Always On Time"
14691 2005-11-23 Wim Taymans <wim@fluendo.com>
14693 * docs/gst/gstreamer-sections.txt:
14694 * gst/glib-compat.c:
14695 * gst/gsttagsetter.c:
14697 * gst/net/gstnetclientclock.c:
14698 * gst/net/gstnettimepacket.h:
14701 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14703 * docs/faq/using.xml:
14704 * docs/libs/tmpl/gstcontrol.sgml:
14705 * docs/manual/advanced-dparams.xml:
14706 * docs/manual/appendix-checklist.xml:
14707 * docs/manual/basics-elements.xml:
14708 * docs/pwg/other-source.xml:
14709 * docs/random/moving-plugins:
14711 * tools/gst-launch.1.in:
14712 remove mentions of sinesrc
14714 2005-11-23 Michael Smith <msmith@fluendo.com>
14716 * docs/gst/gstreamer-sections.txt:
14717 Update for new API and API changes.
14719 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14721 Documentation typo fix.
14722 * gst/net/gstnettimepacket.c:
14723 Documentation fixes for arguments.
14725 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
14727 * gst/gststructure.c: (gst_structure_get_fraction),
14728 (gst_structure_parse_value),
14729 (gst_structure_fixate_field_nearest_fraction):
14730 * gst/gststructure.h:
14731 * gst/gstutils.c: (gst_util_uint64_scale_int):
14733 * scripts/update-funcnames:
14735 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14736 Make gst_structure_fixate_field_nearest_fraction take a numerator
14737 and denominator argument instead of a GValue
14738 add gst_structure_get_fraction helper function.
14740 2005-11-23 Wim Taymans <wim@fluendo.com>
14742 * docs/design/part-TODO.txt:
14745 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14746 * gst/net/gstnetclientclock.h:
14747 Use parent fields for timeout and window_size.
14749 2005-11-23 Andy Wingo <wingo@pobox.com>
14751 * check/net/gstnetclientclock.c (test_functioning): Adjust to
14752 rate_num/rate_denom change.
14754 * gst/net/gstnetclientclock.c
14755 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14756 OBJECT_LOCK. Don't call add_observation with the lock.
14758 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14760 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14762 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14763 deal with rate as a fraction whose numerator and denominator are
14764 GstClockTime values.
14765 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14766 master; the other fields are protected by the SLAVE_LOCK.
14767 (do_linear_regression): Note that this must be called with the
14769 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14770 OBJECT_LOCK. Call set_calibration instead of touching the
14771 variables directly.
14772 (gst_clock_set_property, gst_clock_get_property): Protect
14773 master/slave parameters with the SLAVE_LOCK.
14775 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14776 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14777 note that all of the instance variables that add_observation and
14778 the set_master functions use are protected by that lock and not
14780 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14782 * gst/gstclock.c (gst_clock_add_observation): No longer requires
14783 the caller to take the object lock.
14785 2005-11-23 Wim Taymans <wim@fluendo.com>
14787 * gst/gsterror.c: (_gst_core_errors_init):
14789 Add error for clock stuff.
14791 * gst/gstpipeline.c: (gst_pipeline_change_state),
14792 (gst_pipeline_set_clock):
14793 Post clock error when clock cannot be used in a pipeline.
14795 2005-11-23 Stefan Kost <ensonic@users.sf.net>
14797 * docs/gst/gstreamer-sections.txt:
14798 make two symbols from gstinfo private for the docs
14799 * gst/base/gstcollectpads.h:
14801 fix doc typos, update docs
14803 2005-11-22 Wim Taymans <wim@fluendo.com>
14805 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14806 (gst_base_sink_wait), (gst_base_sink_do_sync),
14807 (gst_base_sink_handle_event):
14808 * gst/base/gstbasesink.h:
14809 No need to store the clock, the parent element class already
14812 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14813 Updates for clock_set returning a gboolean
14815 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14816 (gst_clock_id_wait_async), (gst_clock_class_init),
14817 (gst_clock_init), (gst_clock_finalize),
14818 (gst_clock_get_internal_time), (gst_clock_get_time),
14819 (gst_clock_slave_callback), (gst_clock_set_master),
14820 (gst_clock_get_master), (do_linear_regression),
14821 (gst_clock_add_observation), (gst_clock_set_property),
14822 (gst_clock_get_property):
14824 Implement master/slave. When setting a clock as a slave, a
14825 periodic timeout is scheduled to sample master and slave times.
14826 Then the slave clock is recalibrated to match offset and rate
14827 of the master clock.
14828 Update logging a bit.
14829 Add flag so that a clock can state that is cannot be slaved to
14832 * gst/gstelement.c: (gst_element_set_clock):
14833 * gst/gstelement.h:
14834 The set clock returns a gboolean for when an element cannot
14835 deal with the selected clock in the pipeline.
14837 * gst/gstpipeline.c: (gst_pipeline_change_state),
14838 (gst_pipeline_set_clock):
14839 * gst/gstpipeline.h:
14840 Handle the case where the selected clock cannot be set on
14843 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14844 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14845 (gst_net_client_clock_set_property),
14846 (gst_net_client_clock_get_property),
14847 (gst_net_client_clock_observe_times):
14848 * gst/net/gstnetclientclock.h:
14849 Use regression code in GstClock parent, remove duplicated
14852 2005-11-22 Michael Smith <msmith@fluendo.com>
14854 * gst/gstutils.c: (gst_util_clock_time_scale):
14856 * docs/gst/gstreamer-sections.txt:
14857 Rename method to have extra underscore.
14859 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
14861 * gst/elements/Makefile.am:
14862 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14863 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14864 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14865 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14866 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14867 * gst/elements/gstfakesrc.h:
14868 * gst/gstqueue.c: (queue_leaky_get_type):
14869 correctly fix GEnumValues so that nick is the short lowercase
14871 * tools/gst-inspect.c: (print_element_properties_info):
14872 also show the nick, since it's useful to use from parse_launch
14876 2005-11-22 Michael Smith <msmith@fluendo.com>
14878 * gst/gstutils.c: (gst_util_clocktime_scale):
14880 * docs/gst/gstreamer-sections.txt:
14881 Add util method for scaling a clocktime by a fraction. Useful
14882 implementation is left as an exercise for the reader.
14884 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14886 * gst/gstvalue.c: (gst_value_collect_fraction_range):
14887 If needed, allocate storage in the destination value during
14890 2005-11-22 Edward Hervey <edward@fluendo.com>
14892 * docs/gst/gstreamer-sections.txt:
14895 * gst/gsturitype.c:
14896 * gst/gsturitype.h:
14897 * gst/gstutils.c: (gst_util_set_object_arg):
14898 * tools/gst-compprep.c: (main):
14899 * tools/gst-inspect.c: (print_element_properties_info):
14900 Removed GstURI, closes bug #321061
14902 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14904 * check/gst/gststructure.c: (GST_START_TEST):
14905 * gst/gststructure.c: (gst_structure_parse_value):
14906 Oops, broke automatic string type parsing.
14907 Add a test to catch it in future.
14909 2005-11-22 Andy Wingo <wingo@pobox.com>
14911 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
14912 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14913 Actually rename the function implementations. Grr.
14915 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14917 * check/gst/capslist.h:
14919 * check/gst/gststructure.c: (GST_START_TEST),
14920 (gst_structure_suite):
14921 Test automatic value type detection in gst_structure_from_string.
14922 * gst/gststructure.c: (gst_structure_parse_value):
14923 Add fraction as a type we try and guess automatically in
14924 caps/structure strings.
14926 2005-11-22 Andy Wingo <wingo@pobox.com>
14928 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14930 * gst/gsttagsetter.h:
14931 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14932 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14933 (gst_tag_setter_add_tag_valist)
14934 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14935 _add_values, _add_valist, and _add_valist_values. Since this is an
14936 interface the function suffixes should be more explicit so
14937 language binding don't end up with element.add_valist ->
14938 gst_tag_setter_add_valist, for example. Fixes #322069.
14940 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14942 * check/gst/gstcaps.c: (GST_START_TEST):
14943 Extend caps string tests to check that a caps to string
14944 conversion is reversible and produces the same caps.
14946 * gst/gststructure.c: (gst_structure_value_get_generic_type):
14947 Output "fraction" as the generic type fraction range, so caps
14948 serialisation and deserialisation works.
14949 * check/gst/capslist.h:
14950 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14951 Support 'MIN' and 'MAX' for deserialising fractions.
14953 2005-11-22 Andy Wingo <wingo@pobox.com>
14955 * gst/gstevent.h (gst_event_new_new_segment)
14956 (gst_event_parse_new_segment, gst_event_new_buffer_size)
14957 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14958 Renamed from *_newsegment, *_buffersize, *_notarget.
14960 * scripts/update-funcnames: New script, performs the changes
14963 2005-11-22 Wim Taymans <wim@fluendo.com>
14965 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14966 Make sure the GstFlowReturn is returned.
14968 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14969 (gst_bus_add_signal_watch):
14971 add gst_bus_add_signal_watch_full.
14973 * gst/gstplugin.c: (gst_plugin_load_file):
14974 Small style cleanup.
14976 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14978 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14979 Block the fakesrc srcpad when we send an event, to avoid
14980 contention on the stream_lock causing random test failures.
14982 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14984 * check/gst/gstvalue.c: (GST_START_TEST):
14985 * gst/gstvalue.c: (gst_value_fraction_subtract):
14988 2005-11-22 Stefan Kost <ensonic@users.sf.net>
14991 include "gstchildproxy.h"
14992 * gst/gstchildproxy.h:
14993 * libs/gst/controller/gstcontroller.h:
14994 use G_GNUC_NULL_TERMINATED
14996 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14998 * check/gst/capslist.h:
14999 * check/gst/gstcaps.c: (GST_START_TEST):
15000 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15001 * gst/gststructure.c: (gst_structure_parse_range),
15002 (gst_structure_fixate_field_nearest_fraction):
15003 * gst/gststructure.h:
15004 * gst/gstvalue.c: (gst_value_init_fraction_range),
15005 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
15006 (gst_value_collect_fraction_range),
15007 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
15008 (gst_value_set_fraction_range_full),
15009 (gst_value_get_fraction_range_min),
15010 (gst_value_get_fraction_range_max),
15011 (gst_value_serialize_fraction_range),
15012 (gst_value_transform_fraction_range_string),
15013 (gst_value_compare_fraction_range),
15014 (gst_value_deserialize_fraction_range),
15015 (gst_value_intersect_fraction_fraction_range),
15016 (gst_value_intersect_fraction_range_fraction_range),
15017 (gst_value_subtract_fraction_fraction_range),
15018 (gst_value_subtract_fraction_range_fraction),
15019 (gst_value_subtract_fraction_range_fraction_range),
15020 (gst_value_collect_fraction), (gst_value_fraction_multiply),
15021 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
15022 (gst_value_transform_string_fraction), (_gst_value_initialize):
15024 Implement fraction ranges and extend GstFraction to support
15025 arithmetic subtraction, as well as deserialization from integer
15026 strings such as "100"
15027 Add a testsuite as for int and double range set operations
15029 2005-11-21 Andy Wingo <wingo@pobox.com>
15031 * gst/gsttaglist.h:
15033 * gst/gststructure.h: Add glib-compat.h.
15035 2005-11-21 Wim Taymans <wim@fluendo.com>
15037 * gst/gstbin.c: (gst_bin_change_state_func):
15040 2005-11-21 Wim Taymans <wim@fluendo.com>
15042 * gst/gstsegment.h:
15043 And add a nice define too.
15045 2005-11-21 Wim Taymans <wim@fluendo.com>
15047 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
15048 (gst_segment_new), (gst_segment_free), (gst_segment_init),
15049 (gst_segment_set_duration), (gst_segment_set_last_stop),
15050 (gst_segment_set_seek), (gst_segment_set_newsegment),
15051 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15052 (gst_segment_clip):
15053 * gst/gstsegment.h:
15054 Make binding friendly.
15056 2005-11-21 Andy Wingo <wingo@pobox.com>
15058 * gst/gsttagsetter.h:
15059 * gst/gsttaglist.h:
15060 * gst/gststructure.h:
15062 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
15065 * gst/gsterror.c (_gst_core_errors_init):
15066 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
15069 * gst/Makefile.am (gst_headers): Add glib-compat.h.
15070 (noinst_HEADERS): noinst the -private.
15072 2005-11-21 Michael Smith <msmith@fluendo.com>
15075 * gst/gstregistry.h:
15076 Remove unimplemented declarations for which we can see no sensible
15079 2005-11-21 Andy Wingo <wingo@pobox.com>
15081 * gst/gst.h: Include glib-compat.h.
15083 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15085 * gst/glib-compat.c: Include the public and the private header.
15087 * gst/glib-compat-private.h: Copied here from glib-compat.h.
15091 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15093 * check/gst/gstevent.c (create_custom_events): Check that
15094 FLUSH_STOP is serialized.
15096 * check/elements/identity.c (event_func):
15097 * check/elements/fakesrc.c (event_func): No stream lock, the core
15100 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15101 stream lock taking, yay.
15103 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15104 ensure that core takes the stream lock.
15106 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15109 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15110 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15111 it already. For the flush start we do take it though so we get the
15112 right preroll state change messages.
15114 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15115 the stream lock here, the core does it for us.
15117 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15118 GST_STREAM_GET_LOCK.
15119 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
15120 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
15121 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15122 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15123 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
15124 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15126 * gst/gstpad.c: Update for stream lock name change.
15128 * gst/base/gstbasesink.c: Update for preroll lock name change.
15130 2005-11-21 Wim Taymans <wim@fluendo.com>
15132 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15133 (gst_clock_get_master):
15135 * gst/gstsystemclock.c: (gst_system_clock_init):
15136 Convert Clock flags to object flags.
15137 Added methods to manage master/slave clocks.
15139 2005-11-21 Wim Taymans <wim@fluendo.com>
15141 * check/gst/gstsegment.c: (GST_START_TEST):
15142 * docs/design/part-TODO.txt:
15143 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15144 (gst_base_sink_event), (gst_base_sink_do_sync),
15145 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15146 (gst_base_sink_query), (gst_base_sink_change_state):
15147 * gst/base/gstbasesink.h:
15148 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15149 (gst_base_src_default_newsegment),
15150 (gst_base_src_configure_segment), (gst_base_src_do_seek),
15151 (gst_base_src_get_range), (gst_base_src_loop),
15152 (gst_base_src_change_state):
15153 * gst/base/gstbasesrc.h:
15154 * gst/base/gstbasetransform.c:
15155 (gst_base_transform_prepare_output_buf),
15156 (gst_base_transform_event), (gst_base_transform_change_state):
15157 * gst/base/gstbasetransform.h:
15158 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15159 (gst_collect_pads_event):
15160 * gst/base/gstcollectpads.h:
15161 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15162 (gst_fake_src_create):
15163 * gst/elements/gstfakesrc.h:
15164 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15165 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15166 (gst_segment_set_last_stop), (gst_segment_set_seek),
15167 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15168 (gst_segment_to_running_time), (gst_segment_clip):
15169 * gst/gstsegment.h:
15170 More segment updates, replace code in plugins with segment
15173 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15175 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15176 Don't ignore sscanf results
15178 2005-11-21 Andy Wingo <wingo@pobox.com>
15180 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15183 * *.c: Ran scripts/update-macros. Oh yes.
15185 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15186 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15189 * scripts/update-macros: New script. Run it on your files to
15190 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15193 2005-11-21 Stefan Kost <ensonic@users.sf.net>
15195 * docs/gst/Makefile.am:
15196 * docs/gst/gstreamer-docs.sgml:
15197 * docs/gst/gstreamer-sections.txt:
15198 * docs/gst/gstreamer.types:
15200 more docs fixes, add new api to the docs
15202 2005-11-21 Andy Wingo <wingo@pobox.com>
15204 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15205 state_broadcast call.
15207 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15209 2005-11-21 Julien MOUTTE <julien@moutte.net>
15211 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15212 function calls for arrays.
15214 2005-11-21 Stefan Kost <ensonic@users.sf.net>
15216 * docs/random/ensonic/media-device-daemon.txt:
15217 wild idea, can this be done?
15218 * docs/gst/gstreamer-sections.txt:
15223 * gst/gstpluginfeature.c:
15227 doc fixes and additions
15229 2005-11-21 Andy Wingo <wingo@pobox.com>
15231 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
15232 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
15233 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
15234 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15235 private to the basesrc implementation.
15237 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15238 behalf of event function if necessary. It should no longer be
15239 necessary to take the stream lock in pad's event functions. Fixes
15242 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15243 * docs/gst/gstreamer-sections.txt:
15244 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15245 (gst_structure_fixate_field_nearest_double),
15246 (gst_structure_fixate_field_boolean):
15247 * gst/gststructure.h:
15248 * win32/common/libgstreamer.def:
15249 * win32/gstreamer.def:
15251 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15254 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15256 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15257 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15258 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15259 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15260 (gst_fdsrc_uri_handler_init):
15261 * gst/elements/gstfdsrc.h:
15262 Port fd:// URI handler from 0.8 to fdsrc
15264 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15266 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15267 (gst_value_serialize_fourcc):
15269 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15270 consistent with our other format defines (#320324).
15272 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15274 * gst/gstvalue.c: (gst_value_is_fixed):
15275 Revert previous commit. Value lists are by definition
15276 not fixed, as they are a list of possible values.
15278 2005-11-21 Andy Wingo <wingo@pobox.com>
15280 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15281 during the stable series if we need it. Fixes #319178.
15283 * gst/gstevent.c (gst_event_new_filler): Removed.
15285 * check/gst/gstevent.c: Update comment about filler events.
15287 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15289 * gst/gstvalue.c: (gst_value_is_fixed):
15290 Should handle both value arrays and value lists.
15292 2005-11-21 Andy Wingo <wingo@pobox.com>
15294 patch by: Alessandro Dessina <alessandro nnva org>
15296 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15297 functions to access arrays. Fixes #321962.
15299 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15301 * docs/gst/gstreamer.types:
15302 gst_collectpads_get_type => gst_collect_pads_get_type.
15304 * gst/base/gstbasetransform.c:
15305 Remove unused SIGNAL_HANDOFF enum.
15307 2005-11-21 Andy Wingo <wingo@pobox.com>
15309 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15310 the event type (upstream, downstream, serialized). Renamed
15311 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15312 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15313 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15315 * gst/gstevent.c: Update for new CUSTOM event names.
15317 * check/gst/gstevent.c: Update check for new CUSTOM event names.
15320 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15323 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15325 * docs/gst/gstreamer-sections.txt:
15326 * win32/common/libgstbase.def:
15327 * win32/libgstbase.def:
15328 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15329 (gst_collect_pads_class_init), (gst_collect_pads_init),
15330 (gst_collect_pads_finalize), (gst_collect_pads_new),
15331 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15332 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15333 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15334 (gst_collect_pads_start), (gst_collect_pads_stop),
15335 (gst_collect_pads_peek), (gst_collect_pads_pop),
15336 (gst_collect_pads_available), (gst_collect_pads_read),
15337 (gst_collect_pads_flush), (gst_collect_pads_event),
15338 (gst_collect_pads_chain):
15339 * gst/base/gstcollectpads.h:
15340 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15341 unimplemented functions as unimplemented. Add padding to
15342 GstCollectData. (#320766, #320423)
15344 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15346 * gst/gstmessage.c:
15347 Improve docs for DURATION message (usage of duration parameter)
15350 2005-11-20 Wim Taymans <wim@fluendo.com>
15352 * check/Makefile.am:
15353 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15357 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15358 (gst_segment_set_seek), (gst_segment_set_newsegment),
15359 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15360 (gst_segment_clip):
15361 * gst/gstsegment.h:
15362 Added segment helper structure and methods. Not fully implemented
15364 Added segment check.
15366 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
15368 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15369 Add a deserialisation test for fractions
15370 * examples/metadata/read-metadata.c: (message_loop),
15371 (make_pipeline), (main):
15372 Fix up metadata reading sample.
15373 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15375 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15376 Don't try and fixate empty caps
15377 * gst/gst_private.h:
15378 Wrap in G_BEGIN_DECLS/G_END_DECLS
15379 * gst/gstvalue.c: (gst_value_collect_fraction),
15380 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15381 (gst_value_transform_string_fraction),
15382 (gst_value_compare_fraction):
15383 Add some extra guards to ensure that we don't end up
15384 with an invalid denominator of 0 in a gstfraction and
15385 that fractions always get reduced.
15387 2005-11-20 Wim Taymans <wim@fluendo.com>
15389 * docs/gst/gstreamer-sections.txt:
15391 * gst/gstelement.c:
15400 2005-11-20 Wim Taymans <wim@fluendo.com>
15402 * docs/design/part-TODO.txt:
15404 Make a proper enum of the flag.
15406 2005-11-19 Wim Taymans <wim@fluendo.com>
15408 * docs/design/part-TODO.txt:
15409 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15410 (gst_format_to_quark), (gst_format_register):
15412 * gst/gstquery.c: (_gst_query_initialize),
15413 (gst_query_type_get_name), (gst_query_type_to_quark),
15414 (gst_query_type_register):
15416 Add type to quark and type to string conversions.
15418 2005-11-19 Andy Wingo <wingo@pobox.com>
15420 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15423 2005-11-19 Wim Taymans <wim@fluendo.com>
15425 * docs/design/part-TODO.txt:
15426 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15427 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15428 (gst_bin_handle_message_func):
15430 Make message handling overridable.
15432 2005-11-19 Andy Wingo <wingo@pobox.com>
15434 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15437 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15439 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15440 is a GstClockTime. Fixes #321710.
15442 * gst/gstclock.h (GstClock): Remove offset property. Add
15443 internal_calibration and external_calibration. Fix padding. Pad
15444 also by GstClockTime so we don't run into problems.
15446 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15447 (gst_clock_get_rate_offset): Remove.
15448 (gst_clock_set_time_adjust): Remove. Fixes #321712.
15451 * gst/gstutils.c (g_static_rec_cond_wait)
15452 (g_static_rec_cond_timed_wait): Removed, no longer needed.
15454 * gst/gstbin.c: Remove terrible continue_state prototype.
15456 * gst/gstelement.h (gst_element_continue_state): Make public.
15458 * gst/gstelement.h:
15459 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15460 by continue_state. Fixes #319389.
15462 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15463 Really fixes #168438. However I don't see anywhere where the
15464 filter function is called... stupid GStreamer...
15466 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15467 don't have a dispose function, so it won't get called when the
15468 object is unreffed, but oh well!
15470 * gst/gstindex.c (gst_index_set_filter_full): New API function,
15471 allows a destroy function to be set so user_data can be freed.
15473 (gst_index_set_filter): Call gst_index_set_filter_full.
15475 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15477 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15478 string should produce an error, given the lack of a way to
15479 represent NULL strings. Fixes #165650.
15482 * gst/gstvalue.c (gst_value_array_append_value)
15483 (gst_value_array_prepend_value, gst_value_array_get_size)
15484 (gst_value_array_get_value): New API, copied from
15485 gst_value_list_*, only operates on arrays.
15486 (gst_value_list_append_value, gst_value_list_prepend_value)
15487 (gst_value_list_concat, gst_value_list_get_size)
15488 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15490 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15491 init_list, because it works on both.
15492 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15493 (gst_value_copy_list_or_array): Renamed from copy_list.
15494 (gst_value_free_list_or_array): Renamed from free_list.
15495 (gst_value_collect_list_or_array): Renamed from collect_list.
15496 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15497 (gst_value_list_or_array_peek_pointer): Renamed from
15499 (_gst_value_array_value_table, _gst_value_list_value_table):
15500 Update value table functions.
15501 (gst_value_compare_list_or_array): Renamed from compare_list.
15503 * gsttaglist.h: Whoops, foreach function returns void. Also fix
15506 * gst/gsttaglist.c:
15507 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15508 GstTagList*. Fixes #143472.
15510 * gst/gststructure.h: Clarify what the foreach/map functions can
15511 or can't do to their arguments.
15513 2005-11-18 Wim Taymans <wim@fluendo.com>
15515 * gst/gstclock.c: (gst_clock_set_calibration),
15516 (gst_clock_get_calibration):
15518 Calibration can be set with internal time equal to current
15521 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
15527 2005-11-18 Andy Wingo <wingo@pobox.com>
15530 * pkgconfig/gstreamer-net.pc.in:
15531 * pkgconfig/gstreamer-net-uninstalled.pc.in:
15532 * pkgconfig/Makefile.am: Add net pkgconfig files.
15534 2005-11-18 Stefan Kost <ensonic@users.sf.net>
15537 * gst/gstghostpad.c:
15543 2005-11-18 Andy Wingo <wingo@pobox.com>
15545 * gst/net/gstnetclientclock.c: Turn off debugging.
15547 * check/net/gstnetclientclock.c (test_functioning): Assert that the
15548 times connverge somewhat. Can't make a real test.
15550 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15551 integer arithmetic. Return the minimum of the domain, which can be
15552 set as "internal" for gst_clock_set_calibration.
15553 (gst_net_client_clock_observe_times): Call _set_calibration.
15554 (gst_net_client_clock_new): Call _set_calibration instead of
15557 * check/net/gstnetclientclock.c (test_functioning): Use the right
15561 * gst/gstclock.c (gst_clock_get_calibration)
15562 (gst_clock_set_calibration): New functions, obsolete the ones I
15563 added yesterday. Doh. Precision issues mean we have to extrapolate
15564 from a point in the more recent past than 1970.
15565 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15567 (gst_clock_adjust_unlocked): Use the right calibration data.
15569 2005-11-18 Edward Hervey <edward@fluendo.com>
15571 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15572 Also reset the ->current_* values in READY->PAUSED
15574 2005-11-18 Andy Wingo <wingo@pobox.com>
15576 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15577 Whoops, check the right fd. Also add some debugging.
15578 (gst_net_client_clock_observe_times): Adjust for int64 offset.
15579 (do_linear_regression): Add a crapload of debugging. Subtract off
15580 the minimum values from the input series to discard unneeded bits.
15581 Use only int arithmetic. There is still double arithmetic when
15582 calculating the intercept that needs fixing. Return boolean to
15583 indicate success; FALSE would mean the domain or range is too
15584 great. Still needs fixes.
15586 2005-11-18 Wim Taymans <wim@fluendo.com>
15588 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15589 For the current position in stream time, we need to subtract
15592 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15593 Release lock before calling the callback function of async
15596 2005-11-18 Andy Wingo <wingo@pobox.com>
15598 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15599 Port goes all the way to MAXUINT16.
15601 * gst/net/gstnettimeprovider.c: Make the port range the same as
15602 for the kernel: 0 assigns, otherwise ports are less than
15605 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15608 * check/net/gstnetclientclock.c (test_functioning): Add the start
15611 2005-11-18 Wim Taymans <wim@fluendo.com>
15613 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15614 (gst_bin_remove_func), (bin_bus_handler):
15616 Removing a clock provider from a bin, triggers a clock lost message
15617 so that a new clock will be selected.
15618 Adding a clock to a bin triggers a clock provider message.
15619 Make sure we reselect a clock when we received a clock lost message.
15620 Keep a reference to the element that provided the clock.
15622 2005-11-18 Andy Wingo <wingo@pobox.com>
15624 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15625 the clock initially so it produces values around the base time.
15626 (gst_net_client_clock_class_init): Typo fix.
15627 (gst_net_client_clock_thread): Add note on when the socket gets
15630 2005-11-17 Wim Taymans <wim@fluendo.com>
15632 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15633 Free remote and local time arrays.
15635 2005-11-17 Wim Taymans <wim@fluendo.com>
15637 * gst/net/gstnetclientclock.c: (do_linear_regression),
15638 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15639 Fix compilation, uninitialized vars and a forgotten continue.
15641 2005-11-17 Andy Wingo <wingo@pobox.com>
15643 * check/Makefile.am (check_PROGRAMS):
15644 * check/net/gstnetclientclock.c: Add a most minimal test for the
15645 net client clock. More to come later.
15647 * gst/net/gstnet.h:
15648 * gst/net/Makefile.am: Add netclientclock.
15650 * gst/net/gstnetclientclock.h:
15651 * gst/net/gstnetclientclock.c: New files, implement an untested
15652 GstClock that takes its time from a network time provider.
15653 Implements the algorithm in network-clock.scm.
15655 * tests/network-clock.scm (*window-size*): Rename from
15657 * tests/network-clock.scm (network-time):
15658 * tests/network-clock-utils.scm (q-push): Update callers.
15660 2005-11-17 Wim Taymans <wim@fluendo.com>
15662 * gst/gstbin.c: (gst_bin_provide_clock_func),
15663 (gst_bin_sort_iterator_new):
15664 And unref the child too..
15666 2005-11-17 Wim Taymans <wim@fluendo.com>
15668 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15669 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15670 Refactor the sort iterator so it can be used while holding the
15672 Make clock selection select a clock closest to the source.
15674 2005-11-17 Michael Smith <msmith@fluendo.com>
15676 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15677 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15679 Anonymous structs are a gcc (and some other compilers) extension, so
15680 don't use them. Since this is only for ABI-compatibility, and our
15681 API/ABI freeze is over in a few days, this whole thing will only
15682 last a few days, so don't bother trying to think up a meaningful
15683 name for the struct.
15685 2005-11-17 Andy Wingo <wingo@pobox.com>
15687 * gst/gstclock.h (GstClock): Add rate and offset properties,
15688 preserving ABI stability. Add rate/offset accessors. Will file bug
15689 for the freeze break.
15691 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15692 and offset, trying to keep precision and avoiding
15693 underflow/overflow.
15694 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15695 functions. Make gst_clock_set_time_adjust obsolete.
15696 (gst_clock_set_time_adjust): Note that this function is obsolete.
15697 Will file bug soon.
15699 * gst/base/gstbasetransform.h: Make the ABI-stability hack
15700 greppable by using GST_PADDING-1+1.
15702 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
15704 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15706 * gst/gstmessage.c: (gst_message_parse_clock_lost):
15707 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15709 * gst/gstpadtemplate.h:
15710 * gst/gstpluginfeature.h:
15711 Don't use c++ style comments in headers (#321638).
15713 2005-11-16 Andy Wingo <wingo@pobox.com>
15715 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15718 * check/net/gstnettimeprovider.c: Check to see that the time
15719 provider actually provides times. Works, yo!
15721 2005-11-16 Wim Taymans <wim@fluendo.com>
15723 * check/Makefile.am:
15726 * check/elements/fakesrc.c: (GST_START_TEST):
15727 Set element to NULL before disposing it.
15729 2005-11-16 Andy Wingo <wingo@pobox.com>
15731 * gst/net/Makefile.am:
15732 * gst/net/gstnet.h:
15733 * gst/net/gstnettimeprovider.c:
15734 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15735 provider, include it from gstnet.h, and add it to the build.
15737 * gst/net/gstnettimepacket.h:
15738 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15739 sending and receiving.
15741 2005-11-16 Wim Taymans <wim@fluendo.com>
15743 * check/Makefile.am:
15744 Enable valgrind check.
15746 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15747 (gst_fake_src_alloc_buffer):
15750 2005-11-16 Wim Taymans <wim@fluendo.com>
15752 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15753 Call parent finalize too.
15755 2005-11-16 Wim Taymans <wim@fluendo.com>
15757 * check/Makefile.am:
15758 Enable valgrind check that should work fine now.
15760 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15761 * gst/gstqueue.c: (gst_queue_init):
15762 Fix memleaks in pad allocation.
15764 2005-11-16 Andy Wingo <wingo@pobox.com>
15766 * gst/net/Makefile.am:
15767 * gst/net/gstnet.h: New part of core to hold network elements and
15768 objects. Put in core because it exposes API that applications want
15769 to use. The library is named libgstnet-tempname right now because
15770 of the existing libgstnet in gst-plugins-base. Solution is
15771 probably to rename the one in plugins-base; will file a bug for
15774 * gst/net/gstnettimeprovider.c:
15775 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15776 get_time call over the network.
15779 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15781 * check/Makefile.am:
15782 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15783 get additions shortly.
15785 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15787 * gst/gstpad.c: (gst_pad_new_from_static_template):
15789 add gst_pad_new_from_static_template functions
15790 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15791 (gst_check_setup_sink_pad):
15792 * gst/elements/gsttee.c: (gst_tee_init):
15795 2005-11-16 Wim Taymans <wim@fluendo.com>
15797 * gst/gstpad.c: (gst_pad_pause_task):
15798 Removed warning, it's not really an error either.
15800 2005-11-16 Wim Taymans <wim@fluendo.com>
15802 * gst/base/gstbasetransform.c:
15803 (gst_base_transform_prepare_output_buf),
15804 (gst_base_transform_event):
15805 Check if the caps are NULL, this can happen if the element
15806 is shutting down and the pad caps are set to NULL.
15808 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15810 * gst/elements/gsttee.c: (gst_tee_init):
15811 fix pad template leak in tee
15813 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15815 * gst/glib-compat.c: (g_value_dup_gst_object):
15816 * gst/glib-compat.h:
15817 * gst/gstpad.c: (gst_pad_set_property):
15818 use gst_object_ref when setting the pad template; this will
15819 trigger the pad template leaks on GLib 2.6 and the slaves
15821 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15823 * gst/glib-compat.c: (gst_flags_get_first_value):
15824 * gst/glib-compat.h:
15825 * gst/gstregistryxml.c:
15826 remove functions copied from GLib 2.6
15828 2005-11-16 Michael Smith <msmith@fluendo.com>
15831 Don't link against VALGRIND_LIBS. That was always the wrong thing to
15832 do, but only breaks with newer valgrind versions. We're not a
15833 valgrind tool, we have no link-time dependencies on libcoregrind.
15835 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15837 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15839 * gst/gstmessage.h:
15842 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15844 * gst/base/gstbasesrc.c: (gst_base_src_init):
15845 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15846 * gst/gstqueue.c: (gst_queue_init):
15847 * gst/gstregistryxml.c: (load_feature):
15848 Revert all these unrefs, they don't even pass make check !
15850 2005-11-15 Johan Dahlin <johan@gnome.org>
15852 * gst/base/gstbasesrc.c: (gst_base_src_init):
15853 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15854 * gst/gstqueue.c: (gst_queue_init):
15855 Free pad templates, fixes a couple of leaks.
15857 2005-11-15 Daniel Fischer <dan at f3c dot com>
15859 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15861 * gst/gstpad.c: (gst_pad_get_property):
15862 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15863 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15866 2005-11-15 Wim Taymans <wim@fluendo.com>
15871 2005-11-15 Andy Wingo <wingo@pobox.com>
15873 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15875 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15876 using GST_CLOCK_TIME_NONE to disable base time management.
15877 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15878 time if it was NONE before.
15879 (gst_pipeline_change_state): Only munge the base time if
15880 stream_time != GST_CLOCK_TIME_NONE.
15882 * check/gst/gstpipeline.c (test_base_time): Punt around the
15883 problem of the probe not being called, because that's not the
15884 issue I'm looking at. Add a check that setting stream_time to NONE
15885 disables base time management.
15887 2005-11-15 Wim Taymans <wim@fluendo.com>
15889 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15890 segment_stop == -1 at startup.
15892 * gst/base/gstbasetransform.c: (gst_base_transform_event),
15893 (gst_base_transform_change_state):
15894 Init segment values at start.
15896 2005-11-15 Wim Taymans <wim@fluendo.com>
15898 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15899 0 segment values are 0 in any format.
15901 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15902 * gst/base/gstbasetransform.h:
15903 Parse newsegment correctly in basetransform
15905 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15906 Sync to clock using updated segment values.
15908 2005-11-15 Andy Wingo <wingo@pobox.com>
15910 * check/gst/gstpipeline.c (test_base_time): Add check that the
15911 base time and stream time are reset correctly.
15913 2005-11-15 Wim Taymans <wim@fluendo.com>
15915 * docs/design/part-TODO.txt:
15916 Some more TODO items.
15918 2005-11-15 Andy Wingo <wingo@pobox.com>
15920 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15921 error if the user selected "no clock" as the clocking method.
15923 * check/gst/gstpipeline.c (test_base_time): New test for buffer
15924 timestamps with live capture.
15926 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15927 is 0 but we are a live source, timestamp the buffers using the
15930 2005-11-14 Stefan Kost <ensonic@users.sf.net>
15932 * docs/gst/gstreamer-sections.txt:
15934 * gst/gstghostpad.c:
15939 2005-11-14 Wim Taymans <wim@fluendo.com>
15942 add suppressions from Wim's Debian machine
15944 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
15947 add suppressions from Andy's AMD64 Ubuntu machine
15949 2005-11-14 Andy Wingo <wingo@pobox.com>
15951 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15952 STATE_LOCK not necessary. Fixes #311489.
15954 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15957 * gst/gstindex.c (gst_index_add_object): Note in the docs that
15958 this function is not implemented.
15960 2005-11-14 Julien MOUTTE <julien@moutte.net>
15962 * gst/base/gstbasetransform.c:
15963 (gst_base_transform_prepare_output_buf):
15964 Ref the source pad caps while we need them.
15967 2005-11-11 Wim Taymans <wim@fluendo.com>
15969 * docs/gst/gstreamer-sections.txt:
15970 Added some docs for GstCollectData.
15972 * gst/base/gstadapter.c:
15973 Some small code example fix.
15975 * gst/base/gstcollectpads.c:
15976 * gst/base/gstcollectpads.h:
15977 Document some more.
15979 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15981 * configure.ac: back to HEAD
15983 === release 0.9.5 ===
15985 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15988 releasing 0.9.5, "Bike Lunch Day"
15990 2005-11-11 Wim Taymans <wim@fluendo.com>
15992 * gst/gstbuffer.c: (_gst_buffer_copy):
15995 * gst/gstcaps.c: (gst_caps_is_equal):
15997 Make _is_equal fast in the trivial cases.
15999 * gst/gstminiobject.c:
16000 * gst/gstminiobject.h:
16001 More docs. Spifify .h file.
16006 2005-11-11 Wim Taymans <wim@fluendo.com>
16008 * gst/base/gstbasetransform.c:
16009 (gst_base_transform_prepare_output_buf),
16010 (gst_base_transform_handle_buffer):
16012 If we're processing a buffer and need to allocate an output
16013 buffer, we cannot accept a format change. If we did get a
16014 format change, we have to alloc a buffer ourselves of the
16017 2005-11-11 Wim Taymans <wim@fluendo.com>
16019 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
16020 While checking the flag for reentrancy in the gstcaps function
16021 is nice to detect recursive invocations, it also makes it
16022 impossible to call getcaps from multiple threads, which must be
16023 possible. So, checking for recursive calls has to go.
16025 2005-11-11 Michael Smith <msmith@fluendo.com>
16027 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16028 Don't sync on buffers that fall partially outside our current
16029 segment. Prevents an assertion failure/abort playing some files.
16031 2005-11-10 Andy Wingo <wingo@pobox.com>
16033 * check/gst/gstbin.c (test_message_state_changed_children): Style
16036 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
16037 gst_bus_poll with the signal watch. Ensures that poll and a signal
16038 watch see the same messages.
16040 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
16041 a poll and a watch at the same time get the same messages.
16043 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
16045 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
16046 * gst/gstcaps.c: (gst_caps_intersect):
16047 Don't call gst_caps_do_simplify - it doesn't respect order of caps
16048 and it's not needed.
16050 2005-11-10 Wim Taymans <wim@fluendo.com>
16052 * docs/design/part-TODO.txt:
16055 2005-11-10 Wim Taymans <wim@fluendo.com>
16057 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16058 * gst/base/gstbasesrc.c: (gst_base_src_wait),
16059 (gst_base_src_do_sync), (gst_base_src_get_range):
16060 Implement clock sync in base class.
16062 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
16064 patch by: Tim-Philipp Müller <tim at centricular dot net>
16066 * gst/gststructure.c: (gst_structure_parse_field),
16067 (gst_structure_from_string):
16068 Forward-port a 0.8 patch to handle escaped spaces in structure string,
16069 so that gst_parse_launch() can deal with spaces in filtered link
16070 caps (fixes #164479)
16071 * check/gst/capslist.h:
16072 * check/gst/gststructure.c: (GST_START_TEST):
16073 add unit tests for this change
16075 2005-11-10 Wim Taymans <wim@fluendo.com>
16077 * docs/gst/gstreamer-sections.txt:
16078 * gst/gstelement.c:
16079 * gst/gstelement.h:
16080 Fix docs, move some STATE macros to private.
16082 2005-11-10 Wim Taymans <wim@fluendo.com>
16084 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16085 Added check for bug #317341
16089 Some more spiffifying.
16091 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16092 Call peer linkfunction if we are a source pad. Totally fixes
16096 Update docs, source pads should call the peer linkfunction
16097 so they can atomically perform the pad link.
16099 2005-11-09 Wim Taymans <wim@fluendo.com>
16103 Uber-spiffy-spiffify some more.
16105 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
16107 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16108 * gst/elements/gstfilesink.c: (gst_file_sink_init):
16109 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16110 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16111 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16112 * gst/gstpad.c: (gst_pad_init):
16113 Use GST_DEBUG_FUNCPTR() more extensively.
16115 2005-11-09 Wim Taymans <wim@fluendo.com>
16117 * gst/gstobject.c: (gst_object_class_init):
16119 Documentation fixes.
16121 2005-11-09 Edward Hervey <edward@fluendo.com>
16123 * gst/gsttypefindfactory.c:
16126 2005-11-09 Edward Hervey <edward@fluendo.com>
16128 * gst/base/gsttypefindhelper.c:
16129 * gst/gsttypefind.c:
16130 * gst/gsttypefind.h:
16133 2005-11-09 Wim Taymans <wim@fluendo.com>
16135 * gst/gstiterator.c:
16142 2005-11-09 Wim Taymans <wim@fluendo.com>
16148 2005-11-09 Wim Taymans <wim@fluendo.com>
16150 * docs/gst/gstreamer-sections.txt:
16151 Moved the message async delivery private lock and cond
16152 to the private section.
16154 * gst/gstmessage.c:
16155 * gst/gstmessage.h:
16158 2005-11-09 Edward Hervey <edward@fluendo.com>
16160 * docs/gst/gstreamer-sections.txt:
16163 Document GstURIHandler
16165 2005-11-09 Wim Taymans <wim@fluendo.com>
16167 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16168 (gst_iterator_find_custom):
16169 * gst/gstiterator.h:
16172 2005-11-09 Wim Taymans <wim@fluendo.com>
16175 Document another field.
16177 * gst/gststructure.c:
16178 * gst/gststructure.h:
16181 2005-11-09 Wim Taymans <wim@fluendo.com>
16184 Documented structs.
16186 2005-11-09 Wim Taymans <wim@fluendo.com>
16188 * docs/gst/gstreamer-sections.txt:
16189 Added some new macros.
16196 2005-11-09 Wim Taymans <wim@fluendo.com>
16198 * docs/design/part-TODO.txt:
16199 Some more items for the TODO
16205 2005-11-09 Andy Wingo <wingo@pobox.com>
16207 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16208 to work on something else now tho...
16210 * gst/base/gstadapter.c: More adapter docs.
16212 * gst/elements/gstfilesink.c (gst_file_sink_start)
16213 (gst_file_sink_stop): New functions, replace the state change
16215 (gst_file_sink_class_init): Hook up the start and stop functions.
16216 (gst_file_sink_base_init): Don't set the state change handler any
16217 more. It was a bit ugly too, being set from here...
16218 (gst_file_sink_get_property, gst_file_sink_set_property):
16220 (gst_file_sink_set_location): More robust check that doesn't call
16221 GST_STATE. Ugggggg.
16223 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
16225 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16226 Hold STREAM_LOCK while pushing newsegment or tag events as well.
16228 2005-11-08 Wim Taymans <wim@fluendo.com>
16230 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16231 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16232 (gst_base_sink_chain), (gst_base_sink_change_state):
16233 * gst/base/gstbasesink.h:
16234 * gst/base/gstbasesrc.h:
16235 * gst/gstelement.h:
16237 Avoid excessive typechecking in macros.
16239 * gst/gstminiobject.c: (gst_mini_object_get_type),
16240 (gst_mini_object_init), (gst_mini_object_new),
16241 (gst_mini_object_free):
16242 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16243 (gst_object_finalize):
16244 Remove cruft code, optimize alloc_trace.
16246 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
16248 * docs/faq/gst-uninstalled:
16249 fix up PS1 for systems that try to reset it
16251 2005-11-07 Wim Taymans <wim@fluendo.com>
16253 * gst/base/gstbasesrc.c: (gst_base_src_init),
16254 (gst_base_src_get_range):
16255 Set the segment_end to -1 initially. Fixed typefind.
16257 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
16259 * gst/base/gstadapter.c:
16260 Debug category should be 'adapter', not 'GstAdapter'.
16262 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16263 (gst_collectpads_class_init), (gst_collectpads_init),
16264 (gst_collectpads_peek), (gst_collectpads_pop),
16265 (gst_collectpads_event), (gst_collectpads_chain):
16266 Add debug category and some debugging output. Use boilerplate
16267 macros. Remove some extraneous words from docs.
16269 2005-11-05 Andy Wingo <wingo@pobox.com>
16271 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16274 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16276 * docs/gst/gstreamer-sections.txt:
16279 * gst/gstminiobject.h:
16284 2005-11-04 Wim Taymans <wim@fluendo.com>
16286 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16287 Small update to stop at the configured segment_end
16290 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16292 * gst/gstregistry.c:
16293 * gst/gstregistry.h:
16296 2005-11-04 Edward Hervey <edward@fluendo.com>
16298 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16299 Check if we are doing a segment seek and have arrived at the
16300 end of that segment.
16302 2005-11-04 Wim Taymans <wim@fluendo.com>
16304 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16305 Don't leak a mutex unlock in case of an error.
16310 2005-11-04 Wim Taymans <wim@fluendo.com>
16312 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16314 Get the context to wake up only once.
16316 2005-11-03 Wim Taymans <wim@fluendo.com>
16318 * check/states/sinks.c: (GST_START_TEST):
16319 Uncomment fixed check.
16321 * docs/design/part-TODO.txt:
16324 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16325 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16326 (gst_base_sink_get_position):
16327 If we are going to PLAYING, post the right pending state
16328 when we post the intermediate paused message.
16330 * gst/gstelement.c: (gst_element_continue_state),
16331 (gst_element_set_state_func), (gst_element_change_state):
16332 Don't post state changes that were between the same state
16333 and were not ASYNC.
16335 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16337 * docs/gst/gstreamer-sections.txt:
16340 * gst/gstminiobject.h:
16343 more docs and doc style fixes
16345 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16347 * docs/gst/gstreamer-sections.txt:
16348 * gst/gstelement.c:
16349 * gst/gstminiobject.c:
16352 2005-11-03 Andy Wingo <wingo@pobox.com>
16354 * check/states/sinks.c (test_livesrc_sink): Add checks that the
16355 state-changed messages actually have the right order and the right
16358 2005-11-03 Wim Taymans <wim@fluendo.com>
16360 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16361 Added some more checks. Specifically the case where NO_PREROLL
16362 elements are in the pipeline.
16364 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16365 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16366 (gst_base_sink_get_position):
16367 Post READY->PAUSED state change messages too.
16368 Fix bug where VOID was posted as pending state...
16370 * gst/gstbin.c: (gst_bin_recalc_state):
16371 use _element_continue_state() to continue the state change.
16373 * gst/gstelement.c: (gst_element_continue_state),
16374 (gst_element_commit_state), (gst_element_set_state_func),
16375 (gst_element_change_state), (gst_element_change_state_func):
16376 Lots of state change cleanups, assign the STATE_RETURN in
16377 a new continue_state() function that also propagates the
16378 last return value from a state change to the app.
16379 Update some debug statements with proper category.
16381 2005-11-03 Wim Taymans <wim@fluendo.com>
16383 * docs/design/part-events.txt:
16384 * docs/design/part-gstpipeline.txt:
16385 * docs/design/part-messages.txt:
16386 * docs/design/part-overview.txt:
16387 * docs/design/part-seeking.txt:
16388 * docs/design/part-states.txt:
16389 * docs/design/part-trickmodes.txt:
16390 * docs/manual/advanced-position.xml:
16391 Small docs updates.
16394 People think !! is ugly, this looks better.
16396 * gst/gstpad.c: (gst_pad_set_blocked_async):
16397 Remove !! since it's fixed elsewhere now.
16399 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16401 * gst/gstminiobject.h:
16403 Add !! to _FLAG_IS_SET macros to make the result boolean.
16405 2005-11-03 Edward Hervey <edward@fluendo.com>
16407 * gst/gstpad.c: (gst_pad_set_blocked_async):
16408 comparing a flag and a gboolean rarely returns coherent results...
16409 Added two characters (!!) to make that work correctly.
16411 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16413 * gst/gstbus.c: (gst_bus_class_init):
16416 * gst/gstqueue.c: (gst_queue_loop):
16417 Don't assume a miniobject that isn't a buffer is an
16418 event (it could be that there is a refcounting
16419 problem somewhere and the pointer is stale and
16420 refers to an already destroyed miniobject).
16422 2005-11-03 Julien MOUTTE <julien@moutte.net>
16424 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16426 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16428 * docs/manual/advanced-position.xml:
16429 Update seek example and explanations to current 0.9 API.
16431 * gst/elements/gsttypefindelement.c:
16432 (gst_type_find_element_activate):
16433 Remove FIXME comment now that the found caps
16436 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
16438 * gst/gstregistryxml.c: (load_feature):
16439 Add another GST_STR_NULL instance
16441 2005-11-02 Edward Hervey <edward@fluendo.com>
16443 * gst/gstpad.c: (handle_pad_block):
16444 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16446 2005-11-02 Wim Taymans <wim@fluendo.com>
16451 * gst/gstelement.c: (gst_element_commit_state):
16452 Remove unused value.
16454 * gst/gstiterator.c:
16455 Mention that the returned element is reffed in the docs.
16457 2005-11-02 Wim Taymans <wim@fluendo.com>
16459 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16460 (gst_pad_push), (gst_pad_push_event):
16461 Unlock blocked pads when they are flushed.
16463 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16466 * docs/gst/gstreamer-sections.txt:
16469 * gst/gstregistry.c: (gst_registry_scan_path_level):
16470 fix for a nasty little missed situation where an installed plug-in
16471 which was in the cache did not get overridden by an uninstalled one
16472 which was earlier in the plugin path because the newly created plugin
16473 for the uninstalled one (not in the registry) didn't get its
16474 ->registered set to TRUE
16476 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16478 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16479 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16480 (gst_collectpads_is_active), (gst_collectpads_collect),
16481 (gst_collectpads_collect_range), (gst_collectpads_start),
16482 (gst_collectpads_stop), (gst_collectpads_peek),
16483 (gst_collectpads_pop), (gst_collectpads_available),
16484 (gst_collectpads_read), (gst_collectpads_flush):
16485 Guard public API with assertions.
16488 Fix docs for gst_pad_set_link_function().
16490 2005-11-02 Johan Dahlin <johan@gnome.org>
16492 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
16493 Unref found_caps after we used it.
16495 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16497 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16498 Don't try to ref NULL.
16500 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16502 * win32/common/config.h.in:
16503 provide a GST_FUNCTION that just gives a string for now
16505 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16507 * win32/common/gstenumtypes.c: (register_gst_object_flags),
16508 (gst_object_flags_get_type), (register_gst_bin_flags),
16509 (gst_bin_flags_get_type), (register_gst_buffer_flag),
16510 (gst_buffer_flag_get_type), (register_gst_bus_flags),
16511 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16512 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16513 (gst_clock_return_get_type), (register_gst_clock_entry_type),
16514 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16515 (gst_clock_flags_get_type), (register_gst_state),
16516 (gst_state_get_type), (register_gst_state_change_return),
16517 (gst_state_change_return_get_type), (register_gst_state_change),
16518 (gst_state_change_get_type), (register_gst_element_flags),
16519 (gst_element_flags_get_type), (register_gst_core_error),
16520 (gst_core_error_get_type), (register_gst_library_error),
16521 (gst_library_error_get_type), (register_gst_resource_error),
16522 (gst_resource_error_get_type), (register_gst_stream_error),
16523 (gst_stream_error_get_type), (register_gst_event_type),
16524 (gst_event_type_get_type), (register_gst_seek_type),
16525 (gst_seek_type_get_type), (register_gst_seek_flags),
16526 (gst_seek_flags_get_type), (register_gst_format),
16527 (gst_format_get_type), (register_gst_index_certainty),
16528 (gst_index_certainty_get_type), (register_gst_index_entry_type),
16529 (gst_index_entry_type_get_type),
16530 (register_gst_index_lookup_method),
16531 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16532 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16533 (gst_index_resolver_method_get_type), (register_gst_index_flags),
16534 (gst_index_flags_get_type), (register_gst_debug_level),
16535 (gst_debug_level_get_type), (register_gst_debug_color_flags),
16536 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16537 (gst_iterator_result_get_type), (register_gst_iterator_item),
16538 (gst_iterator_item_get_type), (register_gst_message_type),
16539 (gst_message_type_get_type), (register_gst_mini_object_flags),
16540 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16541 (gst_pad_link_return_get_type), (register_gst_flow_return),
16542 (gst_flow_return_get_type), (register_gst_activate_mode),
16543 (gst_activate_mode_get_type), (register_gst_pad_direction),
16544 (gst_pad_direction_get_type), (register_gst_pad_flags),
16545 (gst_pad_flags_get_type), (register_gst_pad_presence),
16546 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16547 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16548 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16549 (gst_plugin_error_get_type), (register_gst_plugin_flags),
16550 (gst_plugin_flags_get_type), (register_gst_rank),
16551 (gst_rank_get_type), (register_gst_query_type),
16552 (gst_query_type_get_type), (register_gst_tag_merge_mode),
16553 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16554 (gst_tag_flag_get_type), (register_gst_task_state),
16555 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16556 (gst_alloc_trace_flags_get_type),
16557 (register_gst_type_find_probability),
16558 (gst_type_find_probability_get_type), (register_gst_uri_type),
16559 (gst_uri_type_get_type), (register_gst_parse_error),
16560 (gst_parse_error_get_type):
16561 * win32/common/gstversion.h:
16562 update win32 copies
16564 2005-11-01 Luca Ognibene <luogni@tin.it>
16567 fix docs. popt is dead, long live GOption.
16569 2005-10-31 Wim Taymans <wim@fluendo.com>
16574 2005-10-31 Andy Wingo <wingo@pobox.com>
16578 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16580 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16581 need to serialize property notifications on GLib 2.8. GLib 2.6 has
16582 the possibility of deadlocks here if code calling notify() or
16583 set() has a lock that can be taken in another notify handler (ABBA
16584 with class lock and e.g. python GIL state lock).
16586 2005-10-28 Julien MOUTTE <julien@moutte.net>
16588 * gst/gstbus.c: Doc updates.
16590 2005-10-28 Wim Taymans <wim@fluendo.com>
16592 * docs/design/part-TODO.txt:
16593 * gst/gstiterator.c:
16594 * gst/gstsystemclock.c:
16595 * gst/gstsystemclock.h:
16598 2005-10-28 Edward Hervey <edward@fluendo.com>
16600 * docs/gst/gstreamer-docs.sgml:
16601 * docs/gst/gstreamer-sections.txt:
16602 the GstURIType documentation page is private, it only defines GstURIType
16603 which should be defined in the GstURIHandler page
16605 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
16607 * gst/gstbin.c: (gst_bin_class_init):
16610 Documentation updates.
16612 2005-10-28 Wim Taymans <wim@fluendo.com>
16614 * docs/gst/gstreamer-sections.txt:
16617 Documented the clocks.
16619 2005-10-28 Stefan Kost <ensonic@users.sf.net>
16621 * docs/gst/gstreamer-sections.txt:
16622 move some macros to private sections
16623 * gst/gstminiobject.c:
16624 * gst/gstminiobject.h:
16625 add descriptions provided by ds and some more
16627 mark macro as to be removed
16629 2005-10-28 Wim Taymans <wim@fluendo.com>
16631 * docs/design/part-TODO.txt:
16632 Add an item to TODO.
16634 * gst/gstiterator.c: (gst_iterator_fold),
16635 (gst_iterator_find_custom):
16636 * gst/gstiterator.h:
16639 2005-10-28 Wim Taymans <wim@fluendo.com>
16641 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16642 (gst_base_transform_init):
16645 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16646 An EOS event marks the queue as completely filled.
16648 2005-10-27 Wim Taymans <wim@fluendo.com>
16650 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16651 (gst_base_sink_do_sync), (gst_base_sink_get_position):
16652 Some more debugging.
16654 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16655 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16656 (gst_base_transform_event), (gst_base_transform_getrange),
16657 (gst_base_transform_chain):
16658 * gst/base/gstbasetransform.h:
16660 Protect transform and concurrent buffer alloc with a new lock.
16661 Try not to break ABI/API.
16663 2005-10-27 Wim Taymans <wim@fluendo.com>
16665 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16666 (gst_base_src_init), (gst_base_src_query),
16667 (gst_base_src_default_newsegment),
16668 (gst_base_src_configure_segment), (gst_base_src_do_seek),
16669 (gst_base_src_send_event), (gst_base_src_event_handler),
16670 (gst_base_src_pad_get_range), (gst_base_src_loop),
16671 (gst_base_src_unlock), (gst_base_src_default_negotiate),
16672 (gst_base_src_start), (gst_base_src_deactivate),
16673 (gst_base_src_activate_push), (gst_base_src_change_state):
16674 Move some stuff around and cleanup things.
16676 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
16678 * gst/base/gstbasesrc.c: (gst_base_src_query):
16679 Add missing break statements.
16681 2005-10-27 Wim Taymans <wim@fluendo.com>
16683 * check/gst/gstbin.c: (GST_START_TEST):
16684 An extra refcount is taken in basesrc.
16686 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16687 (gst_base_src_get_range), (gst_base_src_pad_get_range),
16688 (gst_base_src_loop):
16689 Small cleanups, check for flushing after being unlocked from the
16690 LIVE_LOCK. take refcounts correctly (not yet everywhere).
16691 Don't send out EOS when going to READY.
16693 2005-10-27 Wim Taymans <wim@fluendo.com>
16695 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16696 (gst_base_sink_get_position):
16699 * gst/gstbin.c: (message_check), (bin_replace_message),
16700 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16701 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16702 (bin_query_duration_init), (bin_query_duration_fold),
16703 (bin_query_duration_done), (bin_query_generic_fold),
16705 * tools/gst-launch.c: (main):
16708 2005-10-26 Stefan Kost <ensonic@users.sf.net>
16710 * examples/controller/audio-example.c: (main):
16711 * examples/queue/queue.c: (event_loop):
16712 * gst/base/gstbasetransform.h:
16713 * gst/gstelement.c: (gst_element_send_event):
16715 * gst/gstpad.c: (gst_pad_send_event):
16718 changing log priority in error situations
16720 2005-10-25 Wim Taymans <wim@fluendo.com>
16722 * gst/gstbin.c: (message_check), (bin_replace_message),
16723 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16724 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16725 (bin_query_duration_init), (bin_query_duration_fold),
16726 (bin_query_duration_done), (bin_query_generic_fold),
16728 Some doc and debug updates.
16729 Cache previously requested query DURATION for speed. invalidate
16730 cached duration if element posts a DURATION message.
16732 2005-10-25 Wim Taymans <wim@fluendo.com>
16734 * docs/design/part-TODO.txt:
16737 * gst/gstbin.c: (message_check), (bin_replace_message),
16738 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16739 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16740 (bin_query_duration_init), (bin_query_duration_fold),
16741 (bin_query_duration_done), (bin_query_generic_fold),
16743 Handle SEGMENT_START/DONE messages correctly.
16744 More evolved query algorithm that handles duration queries
16747 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16748 (gst_element_get_state_func), (gst_element_abort_state),
16749 (gst_element_commit_state), (gst_element_lost_state):
16750 Some more debugging.
16752 * gst/gstmessage.h:
16755 2005-10-25 Wim Taymans <wim@fluendo.com>
16757 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16758 Don't use invalid stream_time.
16760 * gst/gstevent.c: (gst_event_new_newsegment):
16761 stream_time in newsegment cannot be undefined.
16763 2005-10-24 Wim Taymans <wim@fluendo.com>
16768 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16770 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16772 2005-10-24 Stefan Kost <ensonic@users.sf.net>
16774 * docs/libs/tmpl/gstdparam.sgml:
16775 * docs/libs/tmpl/gstdplinint.sgml:
16776 * docs/libs/tmpl/gstdpman.sgml:
16777 * docs/libs/tmpl/gstdpsmooth.sgml:
16778 * docs/libs/tmpl/gstunitconvert.sgml:
16781 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
16786 === release 0.9.4 ===
16788 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16791 releasing 0.9.4, "Tyrannosaurus Rex"
16793 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
16795 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16796 (gst_file_sink_get_current_offset):
16797 Use fseeko() and ftello() if available. When falling back on
16798 lseek() to get the current offset, fflush() first to make sure
16799 everything is up-to-date and we get the right offset.
16801 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16803 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16804 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16805 * gst/gsterror.c: (_gst_stream_errors_init):
16807 * gst/gstqueue.c: (gst_queue_loop):
16809 remove prematurely added error category and clean up the instances
16811 2005-10-21 Wim Taymans <wim@fluendo.com>
16813 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16814 (gst_base_sink_get_position), (gst_base_sink_query),
16815 (gst_base_sink_change_state):
16816 Simply set the right flag when going to playing, that's all
16817 we need to do instead of calling a function inside the object
16818 lock (that could take the lock as well and deadlock)
16820 2005-10-21 Wim Taymans <wim@fluendo.com>
16822 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16823 (gst_base_src_loop):
16824 Don't warn, the peer element knows what to do best when
16825 the seek failed, it might try something else.
16827 2005-10-21 Wim Taymans <wim@fluendo.com>
16829 * gst/base/gstbasesrc.c: (gst_base_src_init),
16830 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16833 2005-10-21 Wim Taymans <wim@fluendo.com>
16835 * docs/design/part-segments.txt:
16838 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16839 Correctly set caps, even on the subbufer.
16841 2005-10-21 Wim Taymans <wim@fluendo.com>
16843 * docs/gst/gstreamer-docs.sgml:
16844 * docs/gst/gstreamer-sections.txt:
16845 * gst/gstelement.h:
16848 * gst/gstmessage.h:
16851 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16855 And 2% more doc coverage.
16857 2005-10-21 Andy Wingo <wingo@pobox.com>
16859 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16860 position reporting.
16862 2005-10-20 Wim Taymans <wim@fluendo.com>
16864 * gst/gsterror.c: (gst_error_get_message):
16867 * gst/gststructure.c:
16872 2005-10-20 Wim Taymans <wim@fluendo.com>
16877 Another 1% more coverage.
16879 2005-10-20 Wim Taymans <wim@fluendo.com>
16881 * docs/gst/gstreamer-sections.txt:
16882 * gst/gstelement.c: (gst_element_get_state_func),
16883 (gst_element_abort_state), (gst_element_commit_state),
16884 (gst_element_lost_state):
16886 * gst/gstquery.c: (gst_query_set_position),
16887 (gst_query_parse_position), (gst_query_set_duration),
16888 (gst_query_parse_duration), (gst_query_new_convert):
16890 Yay! 1% more docs coverage.
16892 2005-10-20 Wim Taymans <wim@fluendo.com>
16895 * gst/gstquery.c: (gst_query_set_position),
16896 (gst_query_parse_position), (gst_query_set_duration),
16897 (gst_query_parse_duration), (gst_query_new_convert):
16899 * gst/gstutils.c: (gst_element_query_convert):
16901 Docs and consistency fixes.
16903 2005-10-20 Wim Taymans <wim@fluendo.com>
16909 2005-10-20 Wim Taymans <wim@fluendo.com>
16911 * gst/gstbin.c: (message_check), (bin_replace_message),
16912 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16913 (update_degree), (gst_bin_sort_iterator_next),
16914 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16915 Reworked the message handling a bit, cache the messages instead of
16916 only the senders. alows us to do more in the future.
16918 2005-10-20 Wim Taymans <wim@fluendo.com>
16920 * docs/design/part-TODO.txt:
16923 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16924 (gst_base_sink_query):
16925 Don't use clock time to report position when in EOS.
16927 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
16929 * tools/gst-inspect.c: (print_interfaces),
16930 (print_element_properties_info), (print_element_info):
16931 Fix interface output with gst-inspect -a; don't print
16932 newlines after double/float properties.
16934 2005-10-20 Wim Taymans <wim@fluendo.com>
16936 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16937 (gst_base_sink_query):
16938 Speed up current position calculation.
16940 * gst/base/gstbasesrc.c: (gst_base_src_query),
16941 (gst_base_src_default_newsegment):
16942 Correctly set stream position in newsegment.
16944 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16945 (update_degree), (gst_bin_sort_iterator_next),
16946 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16947 * gst/gstmessage.c: (gst_message_new_custom):
16948 Clean up debugging info
16950 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16951 (gst_queue_loop), (gst_queue_handle_src_query):
16954 2005-10-19 Wim Taymans <wim@fluendo.com>
16956 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16957 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16958 Fix query handling again.
16960 2005-10-19 Wim Taymans <wim@fluendo.com>
16962 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16963 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16964 * gst/base/gstbasesrc.c: (gst_base_src_query):
16965 * gst/elements/gstfilesink.c: (gst_file_sink_query):
16966 * gst/elements/gsttypefindelement.c:
16967 (gst_type_find_handle_src_query), (find_element_get_length),
16968 (gst_type_find_element_activate):
16971 * gst/gstquery.c: (gst_query_new_position),
16972 (gst_query_set_position), (gst_query_parse_position),
16973 (gst_query_new_duration), (gst_query_set_duration),
16974 (gst_query_parse_duration), (gst_query_set_segment),
16975 (gst_query_parse_segment):
16977 Bundling query position/duration is not a good idea since duration
16978 does not change much and we don't want to recalculate it for every
16979 position query, so they are separated again..
16980 Base value in segment query is not needed.
16982 * gst/gstqueue.c: (gst_queue_handle_src_query):
16983 * gst/gstutils.c: (gst_element_query_position),
16984 (gst_element_query_duration), (gst_pad_query_position),
16985 (gst_pad_query_duration):
16987 Updates for query API change.
16988 Added some docs here and there.
16990 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
16992 * check/gst/gstbin.c: (GST_START_TEST):
16993 * check/gst/gstghostpad.c: (GST_START_TEST):
16994 * check/pipelines/cleanup.c: (GST_START_TEST):
16995 wait on thread to die so we can check refcount correctly
16997 2005-10-18 Wim Taymans <wim@fluendo.com>
16999 * check/pipelines/stress.c: (GST_START_TEST):
17000 Make check a little more time consuming.
17002 2005-10-18 Wim Taymans <wim@fluendo.com>
17004 * check/Makefile.am:
17005 * check/pipelines/stress.c: (GST_START_TEST),
17006 (simple_launch_lines_suite), (main):
17007 Small state change torture test.
17009 * docs/design/part-states.txt:
17010 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17011 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
17012 (gst_base_sink_change_state):
17013 Never take state lock from streaming thread, clean up ugly
17014 hacks. Unfortunatly core does not yet support nice ways to
17015 async commit state.
17017 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
17019 Start state recalc if a STATE_DIRTY message is posted, but only
17020 on the toplevel bin.
17022 * gst/gstelement.c: (gst_element_sync_state_with_parent),
17023 (gst_element_get_state_func), (gst_element_abort_state),
17024 (gst_element_commit_state), (gst_element_lost_state),
17025 (gst_element_set_state_func), (gst_element_change_state):
17026 * gst/gstelement.h:
17027 State variables are now protected with the LOCK, the state
17028 lock is only used to serialize _set_state().
17030 2005-10-18 Wim Taymans <wim@fluendo.com>
17032 * check/gst/gstbin.c: (GST_START_TEST):
17033 * check/gst/gstmessage.c: (GST_START_TEST):
17034 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17035 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
17037 * gst/gstelement.c: (gst_element_abort_state),
17038 (gst_element_commit_state), (gst_element_lost_state):
17039 * gst/gstmessage.c: (gst_message_new_state_changed),
17040 (gst_message_new_state_dirty), (gst_message_new_segment_start),
17041 (gst_message_new_segment_done), (gst_message_new_duration),
17042 (gst_message_parse_state_changed),
17043 (gst_message_parse_segment_start),
17044 (gst_message_parse_segment_done), (gst_message_parse_duration):
17045 * gst/gstmessage.h:
17046 * tools/gst-launch.c: (event_loop):
17047 Seriously, this is better than a previous commit as we only need
17048 to notify the fact that an element changed state in a streaming
17049 thread, marking the state of the parents dirty, hence the
17050 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
17053 2005-10-18 Wim Taymans <wim@fluendo.com>
17055 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
17056 (gst_bin_recalc_func):
17057 * gst/gstelement.c: (gst_element_set_clock),
17058 (gst_element_abort_state), (gst_element_lost_state):
17059 Cleanups, prepare for state change fixes.
17061 2005-10-18 Wim Taymans <wim@fluendo.com>
17064 * gst/gstelement.c: (gst_element_class_init),
17065 (gst_element_set_state), (gst_element_set_state_func):
17066 * gst/gstelement.h:
17067 Pending ABI changes.
17068 GThreadPool in GstBinClass to monitor async state changes.
17069 state_cookie in GstElement to detect concurrent gst/set state.
17070 set_state is now virtual too in case a very complicated element
17071 has to be constructed.
17073 2005-10-18 Wim Taymans <wim@fluendo.com>
17075 * check/gst/gstbin.c: (GST_START_TEST):
17076 * check/gst/gstmessage.c: (GST_START_TEST):
17077 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17078 * gst/gstbin.c: (bin_bus_handler):
17079 * gst/gstelement.c: (gst_element_commit_state),
17080 (gst_element_lost_state):
17081 * gst/gstmessage.c: (gst_message_new_state_changed),
17082 (gst_message_new_segment_start), (gst_message_new_segment_done),
17083 (gst_message_new_duration), (gst_message_parse_state_changed),
17084 (gst_message_parse_segment_start),
17085 (gst_message_parse_segment_done), (gst_message_parse_duration):
17086 * gst/gstmessage.h:
17087 * tools/gst-launch.c: (event_loop):
17088 Make messages future proof.
17089 state-change gets a flag if it was a message comming from the
17091 segment-start/stop can also be specified in other formats.
17092 A message to notify an app that a pipeline changed playback
17094 Also fix a GstMessage leak in -launch
17096 2005-10-18 Andy Wingo <wingo@pobox.com>
17098 * gst/gstelement.c (gst_element_dispose): More helpful message.
17100 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
17102 reviewed by: <delete if not using a buddy>
17104 * common/gtk-doc.mak:
17106 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
17108 * gst/gstregistry.c: (gst_registry_scan_path_level):
17109 unref a plug-in we get that was already initialized
17111 2005-10-18 Stefan Kost <ensonic@users.sf.net>
17113 * docs/gst/gstreamer-sections.txt:
17114 * docs/libs/gstreamer-libs-sections.txt:
17115 * gst/gstelement.h:
17116 add new api entries
17117 hide internal macro
17119 2005-10-17 Andy Wingo <wingo@pobox.com>
17121 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17124 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17126 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17128 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17129 (gst_element_get_state_func): Better debug message.
17130 (gst_element_commit_state): s/INFO/DEBUG/.
17131 (gst_element_lost_state, gst_element_change_state):
17133 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17134 (gst_message_new_custom): s/INFO/LOG/.
17136 2005-10-17 Michael Smith <msmith@fluendo.com>
17138 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17139 Check if end time is valid using end time, not start time.
17141 2005-10-17 Stefan Kost <ensonic@users.sf.net>
17143 * check/gst-libs/controller.c: (GST_START_TEST),
17144 (gst_controller_suite):
17145 * libs/gst/controller/gstcontroller.c:
17146 (gst_controlled_property_set_interpolation_mode):
17147 * libs/gst/controller/gstcontroller.h:
17148 * libs/gst/controller/gstinterpolation.c:
17149 * testsuite/controller/.cvsignore:
17150 * testsuite/controller/Makefile.am:
17151 * testsuite/controller/interpolator.c:
17152 merge controller testsuites
17154 remove mem-chunk from docs
17156 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
17158 * gst/gstmemchunk.c:
17159 * gst/gstmemchunk.h:
17160 * gst/gsttrashstack.c:
17161 * gst/gsttrashstack.h:
17162 out. get out. you're fired. to the Attic !
17164 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
17166 * gst/gstcaps.c: (gst_caps_intersect):
17167 fix signedness issues in a (hopefully) correct way
17168 * gst/gstelement.c: (gst_element_pads_activate):
17170 * gst/gstobject.c: (gst_object_set_parent):
17173 2005-10-17 Julien MOUTTE <julien@moutte.net>
17175 * gst/gstvalue.h: Fix prototypes.
17177 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17179 * docs/gst/gstreamer-sections.txt:
17180 * gst/gst.c: (gst_version_string):
17182 * gst/gstversion.h.in:
17183 * win32/common/libgstreamer.def:
17184 add gst_version_string ()
17186 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17190 * gst/gst.c: (init_post):
17191 * win32/common/config.h.in:
17193 * gst/gstcaps.c: (gst_caps_intersect):
17194 use gint64, the range could be bigger than a guint
17196 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17199 document potential problem in 2038
17201 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17203 * gst/gstcaps.c: (gst_caps_intersect):
17204 Fix guint j diving under 0
17206 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17209 * win32/common/config.h:
17210 * win32/common/config.h.in:
17211 check for process.h, declares getpid() on Windows
17213 include process.h if we have it
17214 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17215 * gst/gstmemchunk.h:
17216 fix signedness issues
17217 * win32/common/libgstreamer.def:
17220 2005-10-16 Julien MOUTTE <julien@moutte.net>
17222 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17223 fix. Because of unsigned ints, caps intersection was going nuts and
17224 trying to access structures with G_MAXUINT index. That fixes
17225 videotestsrc ! ffmpegcolorspace ! fakesink
17226 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17229 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17232 use the gettext macro
17233 * gst/elements/gstelements.c:
17235 * gst/indexers/gstindexers.c:
17236 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17237 * win32/common/config.h:
17239 * win32/common/config.h.in:
17240 add the template to generate config.h
17241 * win32/common/gstenumtypes.c:
17242 * win32/common/gstversion.h:
17245 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17247 * gst/gst.c: (gst_version):
17248 * gst/gstversion.h.in:
17251 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17254 Oops, add missing closing bracket.
17256 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17259 use common m4's for argument checking
17261 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17263 * docs/gst/gstreamer-sections.txt:
17265 Add GST_EVENT_TYPE_NAME() macro.
17267 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17270 * gst/gstpluginfeature.c:
17272 privatize more symbols
17274 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17277 add srcdir, builddir includes to GST_ALL_CFLAGS, since
17278 everything that uses GStreamer API should have the includes
17280 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17282 * docs/gst/gstreamer-sections.txt:
17283 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17285 give each value a _get_type, removes the DATA exports
17287 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17291 remove _gst_registry_auto_load, not used anymore
17292 * gst/gstbin.c: (gst_bin_get_type):
17294 * gst/gstelement.c: (gst_element_get_type):
17295 * gst/gstelement.h:
17296 * gst/gstobject.c: (gst_object_get_type):
17298 * gst/gstpad.c: (gst_pad_get_type):
17300 make _get_type functions similar, fixes data export from library
17302 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17305 correctly make conditionals
17306 * gst/elements/Makefile.am:
17307 * gst/elements/gstelements.c:
17308 fix typo causing fdsrc not to build
17310 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17312 * testsuite/Makefile.am:
17313 * testsuite/bytestream/.cvsignore:
17314 * testsuite/bytestream/Makefile.am:
17315 * testsuite/bytestream/filepadsink.c:
17316 * testsuite/bytestream/gstbstest.c:
17317 * testsuite/bytestream/test1.c:
17318 * testsuite/bytestream/testfile1:
17319 * testsuite/caps/normalisation.c:
17320 * testsuite/caps/random.c: (main):
17321 * testsuite/cleanup/.cvsignore:
17322 * testsuite/cleanup/Makefile.am:
17323 * testsuite/cleanup/cleanup1.c:
17324 * testsuite/cleanup/cleanup2.c:
17325 * testsuite/cleanup/cleanup3.c:
17326 * testsuite/cleanup/cleanup4.c:
17327 * testsuite/cleanup/cleanup5.c:
17328 * testsuite/controller/interpolator.c:
17329 * testsuite/debug/printf_extension.c: (main):
17330 * testsuite/elements/tee.c:
17331 * testsuite/negotiation/.cvsignore:
17332 * testsuite/negotiation/Makefile.am:
17333 * testsuite/negotiation/pad_link.c:
17334 * testsuite/pad/Makefile.am:
17335 * testsuite/pad/chainnopull.c:
17336 * testsuite/pad/getnopush.c:
17337 * testsuite/pad/link.c:
17338 * testsuite/refcounting/sched.c: (create_pipeline):
17339 * testsuite/registry/Makefile.am:
17340 * testsuite/registry/gst-print-formats.c:
17341 * testsuite/schedulers/.cvsignore:
17342 * testsuite/schedulers/142183-2.c:
17343 * testsuite/schedulers/142183.c:
17344 * testsuite/schedulers/143777-2.c:
17345 * testsuite/schedulers/143777.c:
17346 * testsuite/schedulers/147713.c:
17347 * testsuite/schedulers/147819.c:
17348 * testsuite/schedulers/147894-2.c:
17349 * testsuite/schedulers/147894.c:
17350 * testsuite/schedulers/Makefile.am:
17351 * testsuite/schedulers/group_link.c:
17352 * testsuite/schedulers/queue_link.c:
17353 * testsuite/schedulers/relink.c:
17354 * testsuite/schedulers/unlink.c:
17355 * testsuite/schedulers/unref.c:
17356 * testsuite/schedulers/useless_iteration.c:
17357 * testsuite/states/bin.c:
17358 clean out/remove some stuff from the testsuite directories
17360 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17363 check for some headers
17364 * gst/elements/Makefile.am:
17365 * gst/elements/gstelements.c:
17366 don't compile fdsrc without sys/socket.h
17367 * gst/indexers/Makefile.am:
17368 * gst/indexers/gstindexers.c: (plugin_init):
17369 don't compile fileindex without mmap
17371 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17378 * check/Makefile.am:
17379 * docs/gst/Makefile.am:
17380 * examples/helloworld/Makefile.am:
17382 * gst/base/Makefile.am:
17383 * gst/check/Makefile.am:
17384 * gst/elements/Makefile.am:
17385 * gst/indexers/Makefile.am:
17386 * gst/parse/Makefile.am:
17387 * libs/gst/controller/Makefile.am:
17388 * libs/gst/dataprotocol/Makefile.am:
17389 * examples/helloworld/helloworld.c: (event_loop):
17390 compile fixes, though it's not being compiled currently
17392 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17394 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17395 Add some simple tests for the new taglist date API.
17397 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17399 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17400 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17401 Beautify 'last-message' output: print 'none' for buffer timestamps
17402 and durations if none is set; improve alignment with next messages.
17404 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17406 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17407 * gst/gstpluginfeature.h:
17408 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17409 * gst/gstregistry.h:
17410 * docs/gst/gstreamer-sections.txt:
17411 Add new API to check plugin feature version requirements.
17413 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17414 Some basic tests for the above.
17416 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17418 * gst/gststructure.c: (gst_structure_to_string):
17419 guard against NULL printf - happens when for example
17420 a message structure with GstClock gets serialized
17422 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17424 * gst/base/gstcollectpads.c: (gst_collectpads_event):
17425 Fix presumable copy'n'pasto.
17427 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17429 * gst/elements/gstfakesrc.h:
17430 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17431 * gst/elements/gsttypefindelement.c:
17432 fix some signedness
17433 * gst/elements/gstfilesink.c: (gst_file_sink_render):
17434 I wonder if this could actually write +2GB files before
17436 2005-10-13 Andy Wingo <wingo@pobox.com>
17438 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17439 Fix Timmeke Waymans bug.
17440 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17441 string of the proper length to gst_caps_from_string. There's a
17442 potential for, before this fix, that this could cause someone
17443 connecting over the network to cause a segfault if the payload is
17444 not NUL-terminated.
17446 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17448 * docs/design/draft-push-pull.txt:
17449 * docs/design/part-overview.txt:
17450 * docs/random/TODO-pre-0.9:
17451 * docs/random/old/ChangeLog.gstreamer:
17452 * gst/base/gstpushsrc.c:
17456 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17458 * gst/glib-compat.c: (gst_flags_get_first_value):
17459 * gst/glib-compat.h:
17460 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17461 (gst_value_compare_double), (gst_value_serialize_flags):
17462 GLib 2.6 g_flags_get_first_value has a bug that triggers an
17465 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17467 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17468 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17470 * tools/gst-launch.c: (event_loop):
17471 print out clock nicely
17473 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17475 * docs/gst/gstreamer-sections.txt:
17476 * gst/gsttaglist.h:
17477 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17478 (gst_tag_list_get_date_index):
17479 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17480 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17482 2005-10-13 Julien MOUTTE <julien@moutte.net>
17484 * gst/base/gstcollectpads.c: (gst_collectpads_event),
17485 (gst_collectpads_chain):
17486 * gst/base/gstcollectpads.h: Handle newsegment and store informations
17489 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17491 * docs/gst/gstreamer-sections.txt:
17494 * tools/gst-inspect.c: (main):
17495 * tools/gst-launch.c: (main):
17496 * tools/gst-run.c: (main):
17497 * tools/gst-xmlinspect.c: (main):
17498 fix GOption context leaks
17501 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17505 * win32/common/config.h:
17507 * win32/vs6/grammar.dsp:
17508 * win32/vs6/libgstelements.dsp:
17509 * win32/vs6/libgstreamer.dsp:
17512 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17514 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17515 * gst/base/gstbasesrc.c: (gst_base_src_query):
17516 fix more guint64<->gdouble conversions
17518 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17521 add win32-update target
17522 * win32/common/gstconfig.h:
17523 * win32/common/gstenumtypes.c:
17524 * win32/common/gstenumtypes.h:
17525 * win32/common/gstversion.h:
17526 add files that visual studio can't generate
17528 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17531 add a win32-update target
17534 2005-10-12 Wim Taymans <wim@fluendo.com>
17536 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17537 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17538 * gst/gstelement.c: (gst_element_commit_state),
17539 (gst_element_set_state):
17540 Protect flags with proper lock.
17541 unref provided cached clock in dispose.
17543 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17546 * gst/gstminiobject.h:
17548 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17549 removed unused flags from miniobject
17552 2005-10-12 Wim Taymans <wim@fluendo.com>
17554 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17555 (gst_file_sink_event), (gst_file_sink_render):
17556 Flush before seeking.
17558 2005-10-12 Andy Wingo <wingo@pobox.com>
17560 * gst/gst.c (gst_init_check): Ignore unknown options, as has
17561 always been the case.
17563 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17565 * check/gst/gstbin.c: (GST_START_TEST):
17566 * docs/gst/gstreamer-sections.txt:
17567 * gst/base/gstbasesink.c: (gst_base_sink_init):
17568 * gst/base/gstbasesrc.c: (gst_base_src_init),
17569 (gst_base_src_get_range), (gst_base_src_check_get_range),
17570 (gst_base_src_start), (gst_base_src_stop):
17571 * gst/base/gstbasesrc.h:
17572 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17573 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17574 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17578 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17580 * gst/gstelement.c: (gst_element_is_locked_state),
17581 (gst_element_set_locked_state), (gst_element_commit_state),
17582 (gst_element_set_state):
17583 * gst/gstelement.h:
17584 * gst/gstindex.c: (gst_index_init):
17586 * gst/gstminiobject.h:
17587 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17588 (gst_object_set_parent):
17590 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17591 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17593 * gst/gstpadtemplate.h:
17594 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17595 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17596 * gst/gstpipeline.h:
17597 * gst/indexers/gstfileindex.c: (gst_file_index_load),
17598 (gst_file_index_commit):
17599 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17600 * testsuite/pad/link.c: (gst_test_src_init),
17601 (gst_test_filter_init), (gst_test_sink_init):
17602 * testsuite/states/locked.c: (main):
17603 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17604 moved bitshift from macro to enum definition
17606 2005-10-12 Wim Taymans <wim@fluendo.com>
17608 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17609 * gst/elements/gstfilesink.c: (gst_file_sink_event),
17610 (gst_file_sink_render):
17611 Some more debugging info.
17613 2005-10-12 Wim Taymans <wim@fluendo.com>
17615 * docs/design/part-states.txt:
17616 * tools/gst-launch.c: (main):
17618 Revert non-intentional change.
17620 2005-10-12 Wim Taymans <wim@fluendo.com>
17622 * check/gst/gstbin.c: (GST_START_TEST):
17623 * check/gst/gstelement.c: (GST_START_TEST):
17624 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17625 * check/gst/gstghostpad.c: (GST_START_TEST):
17626 * check/gst/gstpipeline.c: (GST_START_TEST):
17627 * check/pipelines/simple_launch_lines.c: (run_pipeline):
17628 * check/states/sinks.c: (GST_START_TEST):
17629 * gst/elements/gsttypefindelement.c: (stop_typefinding):
17630 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17631 (gst_bin_remove_func), (gst_bin_get_state_func),
17632 (gst_bin_recalc_state), (gst_bin_change_state_func),
17634 * gst/gstelement.c: (gst_element_get_state_func),
17635 (gst_element_get_state), (gst_element_abort_state),
17636 (gst_element_commit_state), (gst_element_set_state),
17637 (gst_element_change_state), (gst_element_change_state_func):
17638 * gst/gstelement.h:
17639 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17640 (gst_pipeline_provide_clock_func):
17641 * gst/gstutils.c: (gst_element_link_pads_filtered):
17642 * tools/gst-launch.c: (main):
17643 * tools/gst-typefind.c: (main):
17644 Use GstClockTime in _get_state() instead of GTimeVal.
17645 Remove old code in gstutils.c
17647 2005-10-12 Andy Wingo <wingo@pobox.com>
17649 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17652 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17653 there is no task. Shouldn't affect any code, as nothing in our
17654 plugins checks this return value.
17655 (gst_pad_stop_task): Also take the stream lock if the pad has no
17656 task. Docs updated.
17658 2005-10-12 Wim Taymans <wim@fluendo.com>
17660 * gst/gstpad.c: (pre_activate), (post_activate),
17661 (gst_pad_activate_pull), (gst_pad_activate_push):
17662 Cleanup activation code. Reset old state if
17665 2005-10-12 Wim Taymans <wim@fluendo.com>
17667 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17668 (gst_base_sink_change_state):
17669 No need to prerol after receiving EOS.
17671 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17672 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17673 * gst/elements/gstidentity.c: (gst_identity_event):
17674 Print events more verbosely.
17676 2005-10-12 Wim Taymans <wim@fluendo.com>
17678 * check/Makefile.am:
17679 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17680 * check/states/sinks2.c:
17681 Moved sinks2 testcode in sinks check.
17683 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17684 (gst_bin_remove_func), (gst_bin_recalc_state),
17685 (gst_bin_change_state_func), (bin_bus_handler):
17686 Fix potential race condition when _get_state() iterated over an
17687 ASYNC element right before it posted a state completion.
17690 Do proper cast here.
17692 * gst/gstevent.c: (gst_event_new_newsegment),
17693 (gst_event_parse_newsegment):
17694 A playback rate of 0.0 is not allowed.
17696 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17698 * win32/common/config.h:
17699 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17700 (_trewinddir), (_ttelldir), (_tseekdir):
17701 * win32/common/dirent.h:
17702 * win32/common/gtchar.h:
17703 * win32/common/libgstbase.def:
17704 * win32/common/libgstreamer.def:
17705 * win32/vs6/grammar.dsp:
17706 * win32/vs6/gst_inspect.dsp:
17707 * win32/vs6/gst_launch.dsp:
17708 * win32/vs6/gstreamer.dsw:
17709 * win32/vs6/libgstbase.dsp:
17710 * win32/vs6/libgstelements.dsp:
17711 * win32/vs6/libgstreamer.dsp:
17712 Visual Studio 6 project files, and a new common directory.
17715 2005-10-11 Wim Taymans <wim@fluendo.com>
17717 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17718 (gst_base_sink_do_sync), (gst_base_sink_query),
17719 (gst_base_sink_change_state):
17720 * gst/base/gstbasesink.h:
17721 Correctly parse newsegment info.
17723 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17725 * gst/gst.c: (init_post):
17726 split plugin paths correctly
17728 2005-10-11 Wim Taymans <wim@fluendo.com>
17730 * check/gst/gstevent.c: (GST_START_TEST):
17731 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17732 (gst_base_sink_change_state):
17733 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17734 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17735 * gst/elements/gstfilesink.c: (gst_file_sink_event):
17736 * gst/gstevent.c: (gst_event_new_newsegment),
17737 (gst_event_parse_newsegment):
17739 Added extra flag to newsegment for future API freeze.
17740 Updated check and base elements.
17742 2005-10-11 Julien MOUTTE <julien@moutte.net>
17744 * gst/base/gstcollectpads.c: (gst_collectpads_init),
17745 (gst_collectpads_add_pad), (gst_collectpads_pop),
17746 (gst_collectpads_event), (gst_collectpads_chain):
17747 * gst/base/gstcollectpads.h: Handle EOS correctly.
17749 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17751 * tools/gst-launch.c: (main):
17752 more null protecting
17754 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17756 * gst/gst-i18n-lib.h:
17757 check for ENABLE_NLS, not GETTEXT_PACKAGE
17758 * gst/gstregistry.c: (gst_registry_add_plugin),
17759 (gst_registry_scan_path_level),
17760 (_gst_registry_remove_cache_plugins):
17761 protect possibly NULL strings
17762 * gst/parse/types.h:
17763 config.h already included before
17764 * tools/gst-inspect.c: (main):
17765 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17766 check for ENABLE_NLS, not GETTEXT_PACKAGE
17767 * tools/gst-launch.c: (main):
17768 check for ENABLE_NLS, not GETTEXT_PACKAGE
17770 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17773 if we don't have glib, fail before testing 2.8
17774 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17775 fix a leak, should fix plugins-base testsuite
17777 2005-10-11 Andy Wingo <wingo@pobox.com>
17779 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17780 take the mode we're going to as an arg. Go head and set the mode
17781 and flushing flags now, so that if the activate function starts a
17782 thread all the flags will be in the right state.
17783 (post_activate): Renamed also. Just handle making sure streaming
17784 finishes for the deactivation case, and setting the deactivated
17786 (gst_pad_set_active): Complain loudly if deactivation fails.
17787 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17788 (gst_pad_activate_push): Adapt to pre/post_activate changes,
17789 remove the terrible hack.
17791 2005-10-11 Wim Taymans <wim@fluendo.com>
17793 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17794 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17795 (gst_bin_recalc_state), (gst_bin_change_state_func),
17796 (gst_bin_dispose), (bin_bus_handler):
17798 Prepare to make current EOS message queue more generic.
17801 * gst/gstevent.c: (gst_event_new_newsegment),
17802 (gst_event_parse_newsegment):
17804 Rename base to stream_time.
17806 * gst/gstmessage.h:
17809 2005-10-11 Wim Taymans <wim@fluendo.com>
17811 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17812 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17813 (gst_bin_change_state_func), (bin_bus_handler):
17815 Work on proper clock selection.
17817 2005-10-11 Edward Hervey <edward@fluendo.com>
17819 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
17820 * libs/gst/controller/gstcontroller.h:
17821 Added GList* version of _remove_properties() in order to be able to wrap
17824 2005-10-11 Wim Taymans <wim@fluendo.com>
17826 * docs/design/part-states.txt:
17829 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17830 (gst_bin_change_state_func), (bin_bus_handler):
17831 Doc updates. Don't distribute the same clock over and over again.
17837 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17838 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17839 (gst_pad_send_event):
17841 Make probe emission threadsafe again.
17842 Register quarks and move _get_name() from utils.
17845 * gst/gstpipeline.c: (gst_pipeline_class_init),
17846 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17847 Only redistribute the clock of it changed.
17849 * gst/gstsystemclock.h:
17854 Moved the _flow_get_name() to GstPad.
17856 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17858 * check/gst-libs/gdp.c: (GST_START_TEST):
17859 * check/gst/gstcaps.c: (GST_START_TEST):
17860 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17861 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17862 (gst_dp_packet_from_caps):
17863 fix more valgrind warnings before turning up the heat
17865 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17867 * gst/parse/grammar.y:
17868 some cleanup before the hacking
17870 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17872 * gst/base/gstbasesrc.c: (gst_base_src_query):
17874 * gst/gstutils.c: (gst_guint64_to_gdouble),
17875 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17877 externalize, basesrc uses it
17878 obviously the implementation needs testing
17880 2005-10-10 Wim Taymans <wim@fluendo.com>
17882 * tests/sched/Makefile.am:
17883 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17884 (make_pipeline3), (make_pipeline4), (print_elem), (main):
17886 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17888 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17889 apparently converting from guint64 to double is not implemented
17892 2005-10-10 Wim Taymans <wim@fluendo.com>
17894 * check/Makefile.am:
17895 * check/generic/states.c: (GST_START_TEST):
17896 * check/gst/gstbin.c: (GST_START_TEST):
17897 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17898 * check/states/sinks.c: (GST_START_TEST):
17899 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17901 Check fixes, use API as stated in design docs, remove hacks.
17903 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17904 (gst_base_sink_change_state):
17905 Catch stopping our task while we're shutting down.
17907 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17908 (gst_bin_remove_func), (gst_bin_get_state_func),
17909 (gst_bin_recalc_state), (gst_bin_change_state_func),
17912 * gst/gstelement.c: (gst_element_init),
17913 (gst_element_get_state_func), (gst_element_abort_state),
17914 (gst_element_commit_state), (gst_element_lost_state),
17915 (gst_element_set_state), (gst_element_change_state),
17916 (gst_element_change_state_func):
17917 * gst/gstelement.h:
17918 New state change algorithm (see #318116)
17920 * gst/gstpipeline.c: (gst_pipeline_class_init),
17921 (gst_pipeline_init), (gst_pipeline_set_property),
17922 (gst_pipeline_get_property), (do_pipeline_seek),
17923 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17924 * gst/gstpipeline.h:
17925 Remove crude state change hacks.
17928 Remove crude hacks.
17930 * tools/gst-launch.c: (main):
17931 Fixes for state change. Needs some more work to fully use the
17934 2005-10-10 Andy Wingo <wingo@pobox.com>
17936 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17938 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17939 this flag, but it's not even in GLib 2.6. Odd. Hack around the
17942 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17944 * gst/gstiterator.c: (gst_iterator_new):
17945 Fix my previous commit: GTypes passed to gst_iterator_new()
17946 can be fundamental types.
17948 2005-10-10 Wim Taymans <wim@fluendo.com>
17950 * gst/gstelement.c: (gst_element_iterate_pad_list),
17951 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17952 (gst_element_iterate_sink_pads):
17953 Use src/sink pads lists for the respective iterators instead
17956 2005-10-10 Andy Wingo <wingo@pobox.com>
17958 Merged in popt removal + GOption addition patch from Ronald, bug
17961 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17962 GstElement macros around, remove popt-related symbols, add goption
17965 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17967 * docs/gst/Makefile.am:
17968 * docs/libs/Makefile.am: No POPT_CFLAGS.
17970 * examples/manual/Makefile.am:
17971 * docs/manual/basics-init.xml: Doc updates with an example.
17973 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17974 (gst_init), (parse_one_option), (parse_goption_arg):
17975 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17976 bit of hand merging and debugging to get the GOption stuff working
17979 * tests/Makefile.am:
17980 * tools/Makefile.am:
17981 * tools/gst-inspect.c: (main):
17982 * tools/gst-launch.c: (main):
17983 * tools/gst-run.c: (main):
17984 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17986 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17988 * gst/gstiterator.c: (gst_iterator_new):
17989 Add assertions to make sure passed GType is likely to really
17990 be a GType (as the compiler won't catch it if the size and
17991 GType arguments get mixed up, see #318447).
17993 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
17995 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17997 * gst/gstbin.c: (gst_bin_iterate_sorted):
17998 Pass GType and size arguments to gst_iterator_new() in the right
17999 order (maybe we should make _new() take the GType as first argument
18000 just like _new_list()?) (#318447).
18003 2005-10-10 Wim Taymans <wim@fluendo.com>
18005 * gst/gstelement.c: (gst_element_finalize):
18006 And free the GStaticRecMutex too
18008 2005-10-10 Andy Wingo <wingo@pobox.com>
18010 * gst/gstelement.c (gst_element_init, gst_element_finalize):
18011 Allocate and free the mutex properly.
18013 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
18015 (GstElement): The state_lock is now recursive. Rebuild your
18016 plugins, suckers. Old macros adapted.
18018 * docs/gst/gstreamer-sections.txt: Doc updates.
18021 * gst/gstutils.c (g_static_rec_cond_timed_wait)
18022 (g_static_rec_cond_wait): Ported from state changes patch, while
18023 we wait on bug #317802 to be solved in a well-distributed GLib.
18025 * gst/gstelement.c (gst_element_change_state_func): Renamed from
18026 gst_element_change_state, variable name changes.
18027 (gst_element_change_state): Split out of gst_element_set_state in
18028 preparation for the state change merge. Doesn't pay attention to
18029 the 'transition' argument.
18030 (gst_element_set_state): Updates, hopefully purely cosmetic.
18031 (gst_element_sync_state_with_parent): MT-safety. Ported from the
18032 state change patch.
18033 (gst_element_get_state_func): Renamed from get_state, cosmetic
18036 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18038 * gst/elements/gstelements.c:
18039 * win32/GStreamer.vcproj:
18041 * win32/dirent.c: (_tseekdir):
18042 * win32/gst-inspect.vcproj:
18043 * win32/gst-launch.vcproj:
18044 * win32/gstconfig.h:
18045 * win32/gstelements.vcproj:
18046 * win32/gstenumtypes.c: (gst_object_flags_get_type):
18047 * win32/gstreamer.def:
18048 * win32/msvc71.sln:
18049 updates for the win32 build (patch from Sebastien Moutte)
18051 2005-10-10 Andy Wingo <wingo@pobox.com>
18053 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
18054 gst_bin_get_state, cleaned up (but no logic changes).
18055 (bin_element_is_sink): Comment updates.
18056 (sink_iterator_filter): Remove needless cast.
18057 (gst_bin_iterate_sinks): Doc update.
18058 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
18059 cleaned up (but no logic changes).
18061 * check/states/sinks.c (test_src_sink): Cleanups from the state
18063 (test_livesrc_sink): Sync on the state.
18065 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
18066 the state change patch.
18068 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
18071 * check/gst/gstbin.c: Merge in some style fixes and additional
18072 checks from Wim's state change patch.
18074 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
18076 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18077 (gst_type_find_helper):
18078 Check whether we have the requested data already in our list of
18079 cached buffers before pulling a new buffer; also make the buffer
18080 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18082 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18087 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18088 don't use long long, it's not portable. Replacing with
18089 gint64 seems to work; let's hope no skeletons fall out of the closet.
18091 2005-10-10 Andy Wingo <wingo@pobox.com>
18093 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18095 2005-10-09 Stefan Kost <ensonic@users.sf.net>
18097 * docs/gst/gstreamer-sections.txt:
18102 * gst/gstmessage.c: (gst_message_parse_state_changed):
18105 more docs, fix compilation
18107 2005-10-09 Philippe Khalaf <burger@speedy.org>
18108 * gst/gstmessage.c:
18109 Fixed a few forgotten variables on previous commit
18111 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
18113 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18114 Fix evil typefind crasher: getrange() might return a short
18115 buffer at the end of a file, but gst_type_find_peek() must
18116 either return the full data as requested or NULL, but
18117 never a short buffer.
18119 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
18121 * gst/gstmessage.c: (gst_message_new_state_changed),
18122 (gst_message_parse_state_changed):
18123 * gst/gstmessage.h:
18124 don't use "new", it's a C++ keyword
18126 2005-10-08 Wim Taymans <wim@fluendo.com>
18128 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18129 * gst/gstelement.c: (gst_element_post_message):
18130 * gst/gstpipeline.c: (gst_pipeline_change_state):
18131 Small docs and debug updates.
18133 2005-10-08 Stefan Kost <ensonic@users.sf.net>
18135 * docs/gst/gstreamer-sections.txt:
18136 * gst/gstelementfactory.c:
18138 * gst/gsttaglist.c:
18141 2005-10-08 Wim Taymans <wim@fluendo.com>
18143 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18144 (gst_bin_dispose), (bin_bus_handler):
18145 Fix typos, add comments.
18146 Clear EOS list when going to PAUSED from any direction and do it
18147 in a threadsafe way.
18148 Get base time in a threadsafe way too.
18149 Fix confusing debug in the change_state function.
18150 Various other small cleanups.
18152 * gst/gstelement.c: (gst_element_post_message):
18153 Fix very verbose bus posting code.
18155 * gst/gstpipeline.c: (gst_pipeline_class_init),
18156 (gst_pipeline_set_property), (gst_pipeline_get_property),
18157 (gst_pipeline_change_state):
18158 Small ARG_ -> PROP_ cleanup
18160 2005-10-08 Wim Taymans <wim@fluendo.com>
18162 * gst/gstbin.c: (is_eos), (bin_bus_handler):
18163 Do a less CPU demanding EOS check because we can.
18165 2005-10-08 Wim Taymans <wim@fluendo.com>
18167 * libs/gst/dataprotocol/dataprotocol.c:
18168 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18169 (gst_dp_packet_from_event):
18170 * libs/gst/dataprotocol/dataprotocol.h:
18171 * libs/gst/dataprotocol/dp-private.h:
18172 It's about time we bump the version number.
18173 Since event types don't fit in the guint8 anymore describing
18174 the payload type, make payload type 16 bits wide.
18176 2005-10-08 Wim Taymans <wim@fluendo.com>
18178 * docs/design/part-TODO.txt:
18179 * docs/design/part-clocks.txt:
18180 * docs/design/part-events.txt:
18181 * docs/design/part-gstbin.txt:
18182 * docs/design/part-gstelement.txt:
18183 * docs/design/part-gstpipeline.txt:
18184 * docs/design/part-live-source.txt:
18185 * docs/design/part-messages.txt:
18186 * docs/design/part-overview.txt:
18187 * docs/design/part-states.txt:
18190 2005-10-08 Wim Taymans <wim@fluendo.com>
18194 Fix event quark registration.
18195 Add some space between events so we can insert them in the
18198 2005-10-08 Wim Taymans <wim@fluendo.com>
18200 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18201 (gst_base_sink_handle_buffer):
18202 Better log message.
18205 * gst/gstelement.h:
18208 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18209 (gst_queue_set_property), (gst_queue_get_property):
18211 Remove old unused properties.
18213 2005-10-08 Stefan Kost <ensonic@users.sf.net>
18214 * docs/gst/gstreamer-sections.txt:
18215 * gst/gstmessage.c:
18216 * gst/gstmessage.h:
18217 * gst/gstminiobject.c:
18218 * gst/gstminiobject.h:
18222 lots of new docs and doc fixes
18224 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18226 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18228 * gst/gstregistry.c: (gst_registry_lookup_locked),
18229 (gst_registry_scan_path_level):
18230 * gst/gstregistryxml.c: (load_plugin):
18231 Only ever load one plugin for a given plugin basename.
18232 This ensures correct overriding of GST_PLUGIN_PATH over
18233 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18234 system installed plugins.
18236 2005-10-08 Wim Taymans <wim@fluendo.com>
18238 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18239 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18240 Prepare for doing QOS.
18242 2005-10-08 Wim Taymans <wim@fluendo.com>
18244 * check/gst/gstbin.c: (GST_START_TEST):
18245 * check/pipelines/cleanup.c: (GST_START_TEST):
18246 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18247 Allow new clock message too.
18249 2005-10-08 Wim Taymans <wim@fluendo.com>
18251 * gst/gstmessage.c: (gst_message_new_error),
18252 (gst_message_new_warning), (gst_message_new_tag),
18253 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18254 (gst_message_new_clock_lost), (gst_message_new_new_clock),
18255 (gst_message_new_segment_start), (gst_message_new_segment_done),
18256 (gst_message_parse_state_changed),
18257 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18258 (gst_message_parse_new_clock):
18259 * gst/gstmessage.h:
18260 Also carry the clock in question.
18262 2005-10-08 Wim Taymans <wim@fluendo.com>
18264 * gst/gstmessage.c: (gst_message_new_custom),
18265 (gst_message_new_eos), (gst_message_new_error),
18266 (gst_message_new_warning), (gst_message_new_tag),
18267 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18268 (gst_message_new_new_clock), (gst_message_new_segment_start),
18269 (gst_message_new_segment_done), (gst_message_parse_state_changed),
18270 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18271 * gst/gstmessage.h:
18273 Added clock related messages.
18275 * gst/gstpipeline.c: (gst_pipeline_change_state):
18276 Post message when the clock changed.
18278 * tools/gst-launch.c: (event_loop):
18281 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
18283 * tools/gst-inspect.c: (print_element_properties_info):
18284 Can't pass NULL strings to g_print() on windows.
18286 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18288 * docs/Makefile.am:
18289 * docs/gst/Makefile.am:
18290 * docs/gst/gstreamer-docs.sgml:
18291 * docs/gst/running.xml:
18292 * docs/version.entities.in:
18293 add a chapter on running GStreamer.
18294 document GST_DEBUG and GST_PLUGIN* env vars
18296 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18301 remove PLUGINS_BUILDDIR stuff
18302 * gst/gst.c: (init_post):
18303 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18305 remove, it was condescending and not needed
18307 2005-10-08 Wim Taymans <wim@fluendo.com>
18309 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18310 (gst_base_sink_handle_object), (gst_base_sink_event),
18311 (gst_base_sink_wait), (gst_base_sink_handle_event),
18312 (gst_base_sink_change_state):
18313 * gst/base/gstbasesink.h:
18314 Repost EOS message while going to PLAYING if still EOS.
18315 Make sure that when receiving a FLUSH_START we don't attempt
18316 to sync on the clock anymore.
18318 2005-10-08 Wim Taymans <wim@fluendo.com>
18320 * tools/gst-launch.c: (event_loop):
18321 Better message printout.
18323 2005-10-08 Wim Taymans <wim@fluendo.com>
18325 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18326 (gst_bin_child_proxy_get_children_count):
18327 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18328 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18329 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18330 (gst_child_proxy_set_valist):
18331 * gst/parse/grammar.y:
18332 Make ChildProxy threadsafe and fix mem leaks.
18334 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18336 * gst/gst.c: (init_post):
18337 debug the GST_PLUGIN_ env vars
18339 2005-10-08 Wim Taymans <wim@fluendo.com>
18341 * check/gst/gstbin.c: (GST_START_TEST):
18342 * check/gst/gstmessage.c: (GST_START_TEST):
18343 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18344 * gst/gstelement.c: (gst_element_commit_state),
18345 (gst_element_lost_state):
18346 * gst/gstmessage.c: (gst_message_new_state_changed),
18347 (gst_message_parse_state_changed):
18348 * gst/gstmessage.h:
18349 * tools/gst-launch.c: (event_loop):
18350 Added extra field to STATE_CHANGE message with the pending
18351 state, which will be different from the new state soon.
18353 2005-10-08 Wim Taymans <wim@fluendo.com>
18355 * gst/gstbus.c: (gst_bus_pop):
18357 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18358 Small cleanups and doc updates.
18360 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18362 * gst/gst.c: (init_pre):
18363 * gst/gstbin.c: (gst_bin_add_func):
18364 log distributing clocks and base time
18365 * gst/gstregistry.c: (gst_registry_add_plugin),
18366 (gst_registry_scan_path_level), (gst_registry_scan_path):
18367 clean up the debugging output a little
18368 * gst/gstutils.c: (gst_element_state_get_name):
18369 warn about a memleak (I've actually seen this be used, though
18370 it was probably a bug)
18372 2005-10-07 Wim Taymans <wim@fluendo.com>
18374 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18375 (gst_base_src_init), (gst_base_src_default_newsegment),
18376 (gst_base_src_newsegment), (gst_base_src_do_seek),
18377 (gst_base_src_loop), (gst_base_src_start):
18378 * gst/base/gstbasesrc.h:
18379 Make the newsegment event customizable by subclasses.
18381 2005-10-07 Wim Taymans <wim@fluendo.com>
18383 * gst/gstevent.c: (gst_event_new_buffersize),
18384 (gst_event_parse_buffersize):
18386 New event for future idea.
18388 2005-10-07 Andy Wingo <wingo@pobox.com>
18390 * gst/gstelement.c (gst_element_post_message): Doc update.
18392 * docs/gst/gstreamer-sections.txt: Update.
18394 * gst/gstmessage.c (gst_message_new_application): Made into a
18395 function like honest API calls.
18396 (gst_message_new_element): New message type.
18398 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18400 * check/elements/fakesrc.c (test_no_preroll): New check, checks
18401 that setting a live fakesrc to PAUSED returns NO_PREROLL both
18404 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18405 NO_PREROLL from gst_element_change_state to fall through.
18407 2005-10-07 Wim Taymans <wim@fluendo.com>
18409 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18410 (gst_ghost_pad_do_activate_push):
18411 Activating a ghostpad with no internal pad in push mode
18414 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
18417 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18418 Fixes compilation on Windows.
18420 2005-10-07 Michael Smith <msmith@fluendo.com>
18422 * tools/gst-inspect.c:
18423 Print out feature and plugin count at the end when printing out
18426 2005-10-04 Michael Smith <msmith@fluendo.com>
18428 * gst/gsterror.c: (_gst_stream_errors_init):
18429 Add another error string used in a few existing plugins.
18432 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18433 * tools/gst-inspect.c: (print_element_info):
18434 When a feature disappears from a plugin (and the feature exists in
18435 the cached registry file), things went horribly wrong. This isn't a
18436 complete fix, we should actually be removing the 'missing' features
18437 from the features list when we load the actual plugin. That's not
18440 2005-10-04 Johan Dahlin <johan@gnome.org>
18442 * check/gst/gstiterator.c: (GST_START_TEST):
18443 * gst/gstbin.c: (gst_bin_iterate_elements),
18444 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18445 * gst/gstelement.c: (gst_element_iterate_pads):
18446 * gst/gstformat.c: (gst_format_iterate_definitions):
18447 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18448 (gst_iterator_new_list), (gst_iterator_filter):
18449 * gst/gstiterator.h:
18450 * gst/gstquery.c: (gst_query_type_iterate_definitions):
18451 Add a GType to GstIterator, update callsites and tests.
18453 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18455 * gst/gstpad.c: (gst_pad_event_default_dispatch):
18456 give events a chance to be handled by event probes when the pad
18459 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18461 * gst/gstevent.c: (gst_event_type_get_name),
18462 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18464 add string representations for event types
18466 2005-10-06 Wim Taymans <wim@fluendo.com>
18468 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18469 Don't use NULL pointers.
18471 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18473 * gst/gst_private.h:
18475 * gst/gstelement.c:
18477 * gst/gstpluginfeature.c:
18478 widen the debug category in output to fit the biggest one we have
18479 add a bus category and use it
18480 play with the colors
18481 fix up some categories
18483 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18485 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18486 add push activation of sink ghost pads.
18487 Andye, please verify
18489 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18491 * gst/gstutils.c: (gst_element_link_pads):
18492 fix a bug in the case where neither element has a pad
18493 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18494 add a test for that case
18496 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18498 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18499 emit have-data before checking for peers. This allows
18500 for probe handlers to connect elements. This helps autopluggers.
18501 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18503 add six checks, linked/unlinked with no/true/false probe
18505 2005-10-04 Wim Taymans <wim@fluendo.com>
18507 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18508 (gst_fake_sink_event), (gst_fake_sink_preroll),
18509 (gst_fake_sink_render), (gst_fake_sink_change_state):
18510 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18511 (gst_fake_src_get_property), (gst_fake_src_create),
18512 (gst_fake_src_stop):
18513 * gst/elements/gstidentity.c: (gst_identity_stop):
18514 Protect last_message with lock.
18516 2005-10-04 Edward Hervey <edward@fluendo.com>
18519 Added precision in the comments for GST_FORMAT_DEFAULT
18521 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
18523 * tools/gst-launch.c: (main):
18524 Don't try to run erroneous pipelines.
18526 2005-10-04 Julien MOUTTE <julien@moutte.net>
18528 * gst/gstbus.c: We don't need this header.
18530 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18533 back to development
18535 === release 0.9.3 ===
18537 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18541 Releasing 0.9.3, "Unregistered"
18543 2005-10-03 Andy Wingo <wingo@pobox.com>
18545 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18546 whereby calling a pad's activatepush() function can start a thread
18547 that starts to push or pull before the pad gets the FLUSHING flag
18548 unset. Hack around it by holding the stream lock until the flag is
18549 set. Need to replace this with a proper solution. Together with
18550 the ghost pad fixes, this fixes mp3 playing/tagreading.
18552 * docs/design/part-gstghostpad.txt: Add a note about activation of
18553 proxy pads outside of ghost pads.
18555 * gst/gstghostpad.c: Implement the ghost pad activation design.
18557 2005-10-02 Andy Wingo <wingo@pobox.com>
18559 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18560 It is volatile, after all.
18562 * docs/design/part-gstghostpad.txt: Flesh out activation with
18565 * gst/base/gstbasesrc.c (gst_base_src_init): Use
18568 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
18571 Fix (unused) AM_CONDITIONAL tests.
18573 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
18575 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18577 * gst/gstutils.c: (gst_pad_query_convert):
18578 Add assertion that makes sure src_val is >=0, just like
18579 gst_query_new_convert() has. (#315895)
18581 2005-09-30 Edward Hervey <edward@fluendo.com>
18583 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18584 Let's not iterate pads we're not interested in, it avoids getting
18585 sky-high refcounts on sinkpad.
18587 2005-09-30 Wim Taymans <wim@fluendo.com>
18589 * gst/gstelement.c: (gst_element_set_state),
18590 (gst_element_change_state):
18591 Small tweak, element in ASYNC remains ASYNC.
18593 2005-09-30 Wim Taymans <wim@fluendo.com>
18595 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18596 Only error is an error.
18598 * gst/gstbin.c: (gst_bin_change_state):
18601 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18602 Also call pad_block in pad alloc.
18604 * gst/gstutils.c: (gst_flow_get_name):
18607 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18609 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18610 (gst_base_src_get_range):
18611 Fix documentation typos. Add some more debug info.
18613 2005-09-29 David Schleef <ds@schleef.org>
18615 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18616 more end-user friendly.
18617 * tools/gst-inspect.c: (main): Check if command-line argument is
18618 a file and attempt to load that file as a plugin.
18620 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18622 * check/gst/gstbin.c:
18623 * check/states/sinks.c:
18624 fix tests for the new warning
18625 * check/gst/gstpipeline.c:
18626 add a test for pipeline and bus interaction
18627 * gst/gstelement.c:
18628 elements should be NULL if they get disposed; add a warning if not
18630 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18633 for 2.6 refcounting, make debug log more correct by printing
18634 the actual refcounts at the time of swap (Wim)
18636 2005-09-29 Andy Wingo <wingo@pobox.com>
18638 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18639 removes signal watches previously added via
18640 gst_bus_add_signal_watch.
18641 (gst_bus_add_signal_watch): Don't return the source id, just store
18642 it on the bus if there wasn't an id already.
18644 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18645 add_signal_watch and remove_signal_watch.
18647 2005-09-29 Edward Hervey <edward@fluendo.com>
18649 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
18650 Better if we actually iterate the list :)
18652 2005-09-29 Wim Taymans <wim@fluendo.com>
18654 * check/gst/gstbin.c: (GST_START_TEST):
18655 Change for new bus API.
18657 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18658 (send_messages), (GST_START_TEST), (gstbus_suite):
18659 Change for new bus signal API.
18661 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18662 (gst_bus_source_prepare), (gst_bus_source_check),
18663 (gst_bus_create_watch), (gst_bus_add_watch_full),
18664 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18665 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18667 Remove support for multiple GSources operating on different
18668 message types as it is too complex and unneeded when using
18670 Added support for receiving signals from the bus.
18672 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18674 * docs/libs/tmpl/gstdataprotocol.sgml:
18675 * docs/manual/advanced-dataaccess.xml:
18676 * gst/elements/gstcapsfilter.c:
18678 rename filter-caps to caps property
18680 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18682 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18683 More robust fraction string parsing.
18685 * docs/pwg/appendix-porting.xml:
18686 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18688 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18690 * gst/gstcaps.c: (gst_caps_do_simplify):
18691 Thou shalt not free a structure and then continue using it
18692 in the next loop iteration.
18694 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18696 Add test case for caps simplification.
18698 2005-09-29 Wim Taymans <wim@fluendo.com>
18700 * check/gst/gstbin.c: (GST_START_TEST):
18703 2005-09-29 Wim Taymans <wim@fluendo.com>
18705 * check/gst/gstbin.c: (GST_START_TEST):
18708 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18709 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18710 (find_element), (gst_bin_sort_iterator_next),
18711 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18712 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18713 (gst_bin_change_state), (gst_bin_dispose):
18714 A bin does not have a bus, it gets the bus from the parent.
18716 * gst/gstelement.c: (gst_element_requires_clock),
18717 (gst_element_provides_clock), (gst_element_is_indexable),
18718 (gst_element_is_locked_state), (gst_element_change_state),
18719 (gst_element_set_bus_func):
18722 * gst/gstpipeline.c: (gst_pipeline_class_init),
18723 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18724 The pipeline provides a bus.
18726 2005-09-28 Johan Dahlin <johan@gnome.org>
18728 * gst/gstmessage.c (gst_message_parse_state_changed): Use
18729 gst_structure_get_enum instead of gst_structure_get_int
18731 * gst/gststructure.c (gst_structure_get_enum): Impl.
18733 * gst/gststructure.h (gst_structure_get_enum): Add
18735 * docs/gst/gstreamer-sections.txt: Ditto
18737 * gst/gstmessage.c (gst_message_new_state_changed): Use
18738 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18739 which does introspection.
18740 Reviewed by Christian Schaller
18742 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18744 * gst/gstinfo.c: (gst_debug_log_default):
18745 don't do dummy g_strdup()s
18746 * libs/gst/controller/gstcontroller.c:
18747 (on_object_controlled_property_changed),
18748 (gst_controlled_property_new), (gst_controller_new_valist),
18749 (gst_controller_new_list),
18750 (gst_controller_remove_properties_valist), (gst_controller_set),
18751 (gst_controller_get), (gst_controller_sync_values),
18752 (gst_controller_get_value_array), (_gst_controller_class_init),
18753 (gst_controller_get_type):
18754 * libs/gst/controller/gstcontroller.h:
18755 * libs/gst/controller/gstinterpolation.c:
18756 (gst_controlled_property_find_timed_value_node):
18757 convert // to /**/ comments
18759 2005-09-28 Wim Taymans <wim@fluendo.com>
18761 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18762 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18763 (gst_bus_sync_signal_handler):
18765 Added async-message and sync-message signals to the bus.
18766 Added helper BusFunc to emit signals for all posted messages.
18768 * gst/gstmessage.c: (gst_message_type_get_name),
18769 (gst_message_type_to_quark), (gst_message_get_type):
18770 * gst/gstmessage.h:
18771 Register quarks for message names.
18773 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18775 * docs/libs/gstreamer-libs-sections.txt:
18776 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18777 (gst_controller_new_list):
18778 * libs/gst/controller/gstcontroller.h:
18779 added another constructor for language bindings
18781 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
18783 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18787 * gst/gstinfo.c: (_gst_debug_init):
18788 slightly more readable color for refcount debugging
18790 2005-09-28 Wim Taymans <wim@fluendo.com>
18792 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18793 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18794 (find_element), (gst_bin_sort_iterator_next),
18795 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18796 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18797 (gst_bin_change_state), (gst_bin_dispose):
18798 Small doc fixes. get_clock -> provide_clock.
18800 * gst/gstelement.c: (gst_element_class_init),
18801 (gst_element_provides_clock), (gst_element_provide_clock),
18802 (gst_element_get_clock), (gst_element_commit_state),
18803 (gst_element_lost_state):
18804 * gst/gstelement.h:
18805 Make get/set_clock() symetric. Add provide_clock vmethod since
18806 that is actually what this function does.
18808 * gst/gstpipeline.c: (gst_pipeline_class_init),
18809 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18810 (gst_pipeline_get_clock):
18811 get_clock -> provide_clock.
18813 2005-09-28 Andy Wingo <wingo@pobox.com>
18815 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18816 lieu of real docs...
18818 * gst/elements/gstfdsrc.c: Cleaned up a bit.
18820 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
18822 * gst/elements/gstcapsfilter.c:
18823 * gst/elements/gstfakesink.c:
18824 * gst/elements/gstfakesrc.c:
18825 * gst/elements/gstfdsink.c:
18826 * gst/elements/gstfdsrc.c:
18827 * gst/elements/gstfilesink.c:
18828 * gst/elements/gstfilesrc.c:
18829 * gst/elements/gstidentity.c:
18830 * gst/elements/gsttee.c:
18831 * gst/elements/gsttypefindelement.c:
18832 Make element details static.
18834 2005-09-28 Wim Taymans <wim@fluendo.com>
18836 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18837 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18838 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18839 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18840 (gst_bin_change_state), (gst_bin_dispose):
18841 Some documentation updates.
18842 Clean up dispose handlers.
18844 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18845 * gst/gstpad.c: (gst_pad_dispose):
18846 Clean up dispose handler.
18848 * gst/gstpipeline.c: (gst_pipeline_change_state):
18849 Removed spurious UNLOCK.
18851 2005-09-27 Stefan Kost <ensonic@users.sf.net>
18853 * docs/gst/gstreamer-sections.txt:
18854 * gst/base/gstbasesrc.h:
18855 * gst/gstelement.h:
18859 * gst/gstpipeline.c:
18860 * gst/gstpipeline.h:
18863 added two new functions to the docs
18864 documents all undocumented GstXXXFlags
18865 completed some incomplete docs
18867 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
18869 * gst/gstbin.c: (gst_bin_dispose):
18870 * gst/gstelement.c: (gst_element_dispose):
18871 remove now useless and leaky resurrection code in dispose
18872 * gst/base/gstbasesrc.c: (gst_base_src_init):
18873 * gst/gstelementfactory.c: (gst_element_factory_create):
18874 * gst/gstobject.c: (gst_object_set_parent):
18877 2005-09-27 Wim Taymans <wim@fluendo.com>
18879 * docs/design/part-TODO.txt:
18882 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18883 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18884 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18885 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18886 (gst_bin_change_state):
18887 * gst/gstelement.h:
18888 Remove element variable, we keep element info in the iterator now.
18890 2005-09-27 Andy Wingo <wingo@pobox.com>
18892 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18895 2005-09-27 Wim Taymans <wim@fluendo.com>
18897 * check/gst/gstbin.c: (GST_START_TEST):
18898 Enable check that works now.
18900 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18901 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18902 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18903 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18904 (gst_bin_change_state):
18906 Redid the state change algorithm using a topological sort algo.
18907 Handles all cases correctly.
18908 Exposed iterator for state change order.
18910 * gst/gstelement.h:
18911 Temp storage for state changes. Need to get rid of this soon.
18913 2005-09-27 Wim Taymans <wim@fluendo.com>
18915 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18916 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18917 (link_fold_func), (gst_pad_proxy_setcaps):
18918 Leak fixes, the fold functions need to unref the passed object and
18919 _get_parent_*() returns ref to parent.
18921 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18923 * check/gst/gstbuffer.c: (test_make_writable):
18924 Plug leak in test case and fix 'make check-valgrind'
18926 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18928 * gst/gstbuffer.c: (gst_subbuffer_init):
18929 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18930 works correctly in all circumstances (we could have just copied
18931 the parent buffer's readonly flag, but conceptually it seems
18932 cleaner to mark all subbuffers as read-only). (based on patch
18933 by Alessandro Decina, #314710).
18935 * check/gst/gstbuffer.c: (create_read_only_buffer),
18936 (test_make_writable), (test_subbuffer_make_writable),
18938 Add some tests for gst_buffer_make_writable().
18940 2005-09-27 Wim Taymans <wim@fluendo.com>
18942 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18943 use gst_object_has_ancestor().
18945 * gst/gstobject.c: (gst_object_has_ancestor):
18947 gst_object_has_ancestor() copied from gstbin.c as it is a
18950 * tests/instantiate/create.c: (create_all_elements):
18951 * tests/lat.c: (handoff_src), (handoff_sink):
18952 * tests/sched/runxml.c: (main):
18953 * tests/seeking/seeking1.c: (main):
18954 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18956 Fix compilation of some tests.
18958 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18961 Remove comment. GST_TYPE_G_ERROR is here to stay,
18962 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18963 (#316961, #300610).
18965 2005-09-26 Wim Taymans <wim@fluendo.com>
18967 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18968 Added check that shows error in state change order.
18970 2005-09-26 Wim Taymans <wim@fluendo.com>
18972 * gst/gstbin.c: (gst_bin_change_state):
18973 Make state change function use 3 queues again, we were
18974 adding elements in the wrong order.
18976 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18979 * gst/gstpad.c: (gst_pad_dispose):
18980 Added some debug info first.
18982 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
18984 * docs/design/draft-push-pull.txt:
18985 * docs/design/part-events.txt:
18986 * docs/design/part-overview.txt:
18987 * docs/design/part-scheduling.txt:
18988 Replace all _pull_region() with _pull_range()
18990 2005-09-26 Andy Wingo <wingo@pobox.com>
18992 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18994 * check/gst-libs/controller.c: Update for controller api change.
18997 * tests/Makefile.am:
18998 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18999 over by GLib bug 118439.
19001 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
19002 routines to a function.
19004 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
19006 * libs/gst/controller/gsthelper.c:
19007 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
19008 (gst_object_sync_values): Renamed from sink_values. Ugh.
19010 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
19012 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
19013 Renamed from controller_key, as it is exported.
19015 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
19017 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
19022 * gst/gstpadtemplate.h:
19025 * gst/gstqueryutils.c:
19026 * gst/gstqueryutils.h:
19027 remove queryutils headers after moving the two used functions
19028 to gstquery. also fixes build problem for gstsiddec
19030 2005-09-26 Michael Smith <msmith@fluendo.com>
19032 * tools/gst-launch.1.in:
19033 Correct documentation in manpage of debug syntax
19035 2005-09-26 Wim Taymans <wim@fluendo.com>
19037 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19038 (gst_base_src_is_seekable), (gst_base_src_change_state):
19039 Some more debugging info.
19041 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19043 * docs/gst/gstreamer-sections.txt:
19044 * gst/base/gstbasetransform.h:
19048 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19050 * docs/gst/.cvsignore:
19051 * docs/gst/tmpl/.cvsignore:
19052 * docs/gst/tmpl/gstpipeline.sgml:
19053 * docs/gst/tmpl/gstplugin.sgml:
19054 * gst/gstpipeline.c:
19057 inlined the last two docs files
19058 removed the tmpl directory from cvs (no more conflicts here!)
19060 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19062 * docs/gst/gstreamer-sections.txt:
19063 * docs/gst/tmpl/.cvsignore:
19064 * docs/gst/tmpl/gstpad.sgml:
19065 * docs/gst/tmpl/gstpadtemplate.sgml:
19067 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
19068 (gst_pad_finalize), (gst_pad_set_pad_template):
19070 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
19071 (gst_pad_template_class_init), (gst_pad_template_init),
19072 (gst_pad_template_dispose), (name_is_valid),
19073 (gst_static_pad_template_get), (gst_pad_template_new),
19074 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19075 (gst_pad_template_pad_created):
19076 * gst/gstpadtemplate.h:
19077 inlined two more docs
19078 factored gstpadtemplate out of gstpad
19080 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
19082 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19083 (test_children_state_change_order_semi_sink):
19084 Fix test case: we can't rely on a fixed state change order when
19085 going from READY => PAUSED because the sink might commit its
19086 new state first when the first buffer created by the source
19087 reaches the sink before the source has finished its change state.
19088 (Test case still fails at times, see #316856, comment 5 onwards)
19090 2005-09-24 Wim Taymans <wim@fluendo.com>
19092 * docs/design/part-events.txt:
19093 * docs/design/part-gstbus.txt:
19094 * docs/design/part-gstpipeline.txt:
19095 * docs/design/part-messages.txt:
19096 * docs/design/part-overview.txt:
19097 * docs/design/part-segments.txt:
19101 * gst/gstelement.c:
19104 * gst/gstiterator.c:
19105 Various documentation updates.
19107 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
19110 Well, that's embarassing. Luckily we weren't using
19111 GST_CLOCK_DIFF anywhere.
19113 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19115 * common/gtk-doc.mak:
19116 don't fail on building XML, FC4 slave shows a bunch of doc
19117 missing bits that I don't get
19119 * gst/gstpipeline.c:
19120 * gst/gststructure.c:
19123 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
19125 * docs/design/part-gstbin.txt:
19126 * docs/design/part-gstbus.txt:
19128 Add blurb about how the bus goes into flushing mode and
19129 drops all messages when its bin goes from READY into NULL
19132 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19134 * docs/gst/gstreamer-sections.txt:
19135 * gst/gststructure.c: (gst_structure_get_clock_time):
19136 * gst/gststructure.h:
19137 add a method to get a GstClockTime out of a structure
19139 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
19141 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19142 (test_children_state_change_order_semi_sink), (gst_bin_suite):
19143 Added test to check state change order in bins (can still be made
19144 to fail here under heavy disk load; bails out with 'Push on pad
19145 fakesink:sink0, but it was not activated in push mode').
19147 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19148 Fix state change order when there is only a semi sink (#316856)
19150 * gst/gstbus.c: (gst_bus_class_init):
19151 Use _class_peek_parent(), not _class_ref(); fix docs to say
19152 'default main context' instead of 'mainloop' where that is
19155 * gst/gstelement.c: (gst_element_commit_state),
19156 (gst_element_set_state):
19157 Fix typos in debug messages
19159 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19162 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19163 * gst/gstpluginfeature.c:
19165 various doc updates
19166 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19167 change an assert into an error until it gets fixed properly
19169 2005-09-23 Stefan Kost <ensonic@users.sf.net>
19171 * docs/gst/gstreamer-sections.txt:
19172 * docs/gst/tmpl/.cvsignore:
19173 * docs/gst/tmpl/gstelement.sgml:
19174 * docs/gst/tmpl/gstinfo.sgml:
19175 * docs/gst/tmpl/gstobject.sgml:
19176 * gst/gstelement.c:
19177 * gst/gstelement.h:
19180 * gst/gstobject.c: (gst_object_class_init):
19182 inlined 3 more biiiig doc files and added some missing docs on the fly
19184 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19186 * check/gst/.cvsignore:
19187 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19188 * gst/gstregistryxml.c: (load_plugin),
19189 (gst_registry_xml_save_plugin):
19190 put back source in registry. add checks for find_plugin.
19191 * testsuite/states/bin.c: (assert_state), (empty_bin),
19192 (test_adding_one_element), (main):
19193 * testsuite/states/locked.c: (main):
19194 some compile/run fixes
19196 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
19198 * check/gst/gstvalue.c: (GST_START_TEST):
19199 fix leaks in the test itself
19201 2005-09-22 Wim Taymans <wim@fluendo.com>
19203 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19204 (gst_base_sink_send_event), (gst_base_sink_peer_query),
19205 (gst_base_sink_query):
19206 Prepare for more accurate position reporting and query
19209 * gst/gstelement.c: (gst_element_send_event),
19210 (gst_element_set_state):
19213 2005-09-22 Wim Taymans <wim@fluendo.com>
19215 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19216 (gst_query_parse_segment):
19218 More documentation.
19219 Add segment query for future use.
19221 2005-09-22 Wim Taymans <wim@fluendo.com>
19223 * gst/gstbin.c: (gst_bin_add_func):
19224 Some more debug info.
19226 * gst/gstelement.c: (gst_element_send_event):
19227 Simplify send_event
19229 * gst/gstelement.h:
19230 Don't know how flags got broken.
19235 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19237 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19238 Add simplistic test suite for GST_TYPE_DATE serialisation and
19241 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19243 * docs/gst/gstreamer-sections.txt:
19244 * gst/gststructure.c: (gst_structure_set_valist),
19245 (gst_structure_get_date):
19246 * gst/gststructure.h:
19247 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19248 (gst_date_copy), (gst_value_compare_date),
19249 (gst_value_serialize_date), (gst_value_deserialize_date),
19250 (gst_value_transform_date_string),
19251 (gst_value_transform_string_date), (_gst_value_initialize):
19253 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19254 bunch of utility functions along with a hack that checks that
19255 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19256 is required. Part of the grand scheme in #170777.
19258 2005-09-22 Andy Wingo <wingo@pobox.com>
19260 * gst/gstconfig.h.in: Psych out gtk-doc.
19262 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19264 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19266 * tools/gst-inspect.c (print_element_list): Plug some
19267 inconsequential leaks.
19269 * gst/gstregistry.c (gst_registry_get_default): Doc.
19271 * check/gst/gstplugin.c:
19272 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19273 * gst/gstelementfactory.c (gst_element_factory_create):
19274 * gst/gstindexfactory.c (gst_index_factory_create): Update for
19277 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19278 (gst_plugin_feature_load): Doc, don't eat refs.
19280 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19281 (gst_plugin_list_free): Doc.
19282 (gst_plugin_load_file): Doc updates.
19284 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19285 accessors returning refcounted objects, return a ref.
19287 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19288 accessor for caps. IDEMPOTENCE. Oh yes.
19290 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
19292 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19294 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19295 (_gst_debug_register_funcptr):
19296 Add mutex to serialise access to the hash table with
19297 the function pointer => function name string mapping;
19298 make that hash table static scope (#316809).
19300 * gst/registries/.cvsignore:
19301 Remove left-over file.
19303 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19305 * docs/pwg/appendix-porting.xml:
19306 And something about newsegment events and caps-on-buffers to
19307 the porting guide (feel free to improve).
19309 2005-09-21 Andy Wingo <wingo@pobox.com>
19311 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19312 data and event probes on the same pad.
19313 (test_buffer_probe_once): Test that removing probes from within
19314 the probe functions works.
19316 2005-09-21 Andy Wingo <wingo@pobox.com>
19318 * check/gst/gstutils.c: New file.
19319 (test_buffer_probe_n_times): A simple buffer probe test. More to
19322 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19323 have-data::buffer, not have-data.
19324 (gst_pad_add_event_probe): Likewise for have-data::event.
19325 (gst_pad_add_data_probe): More docs. The part about 'resolving the
19326 peer' isn't quite right yet though.
19327 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
19328 (gst_pad_remove_data_probe): Change to take the guint handler_id
19329 as their arg, not the function+data, which is more glib-like.
19331 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19332 the signal emission to indicate if the data is a buffer or an
19334 (gst_pad_get_type): Initialize buffer and event quarks.
19335 (gst_pad_class_init): have-data is now a detailed signal, yes it
19338 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19340 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19341 * gst/gstutils.c: (gst_util_set_value_from_string),
19342 (gst_util_set_object_arg):
19343 Don't put functional code in g_return_if_fail() or
19344 g_return_val_if_fail() statements, otherwise things will
19345 break when G_DISABLE_CHECKS is defined during compilation.
19347 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19349 * docs/gst/tmpl/.cvsignore:
19350 * docs/gst/tmpl/gstvalue.sgml:
19353 inlied another one and added some obvious docs
19355 2005-09-21 Wim Taymans <wim@fluendo.com>
19357 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19358 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19359 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19360 (gst_fdsrc_get_property), (gst_fdsrc_create):
19361 * gst/elements/gstfdsrc.h:
19362 Properly implement fdsrc. Removed signal and timeout,
19363 better implemented somewhere else.
19365 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19367 * docs/gst/tmpl/.cvsignore:
19368 * docs/gst/tmpl/gstimplementsinterface.sgml:
19369 * gst/gstinterface.c:
19372 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19374 * docs/gst/gstreamer-sections.txt:
19375 * docs/gst/tmpl/.cvsignore:
19376 * docs/gst/tmpl/gstenumtypes.sgml:
19377 remove obsolete doc file
19379 2005-09-21 David Schleef <ds@schleef.org>
19381 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19382 little beer, fix a little leak.
19384 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19386 * docs/gst/gstreamer-docs.sgml:
19387 * docs/gst/gstreamer-sections.txt:
19388 * docs/gst/tmpl/.cvsignore:
19392 * gst/gstelement.h:
19393 * gst/gstindex.c: (gst_index_class_init):
19395 * gst/gstindexfactory.c: (gst_index_factory_get_type),
19396 (gst_index_factory_class_init), (gst_index_factory_init),
19397 (gst_index_factory_finalize), (gst_index_factory_new),
19398 (gst_index_factory_destroy), (gst_index_factory_find),
19399 (gst_index_factory_create), (gst_index_factory_make):
19400 * gst/gstindexfactory.h:
19401 * gst/gstpluginfeature.c:
19402 * gst/gstpluginfeature.h:
19403 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19404 more docs inlined, splitted gstindex.{c,h}
19406 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19408 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19411 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19413 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19414 Set sync to FALSE by default.
19416 2005-09-20 Wim Taymans <wim@fluendo.com>
19418 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19419 (gst_base_sink_init):
19420 Make sync property settable from subclass.
19422 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19423 (gst_fake_sink_change_state):
19424 Set sync to FALSE by default.
19426 2005-09-20 Wim Taymans <wim@fluendo.com>
19428 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19429 * tools/gst-launch.c: (main):
19430 The timeout handler should have lower priority than the source
19431 so we don't timeout before popping a message with 0 timeout.
19432 Dump error messages after failed state change.
19434 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19436 * tools/gst-inspect.c: (print_element_properties_info):
19439 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19441 * check/gst/gstevent.c:
19442 * gst/elements/gstfakesink.c:
19443 * gst/elements/gstfakesink.h:
19444 remove the sync property from fakesink.
19445 has the side effect of setting sync TRUE
19446 for fakesink, which is a change. Anyone who knows how
19447 to fix this nicely in a GObject-y way, feel free.
19449 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19451 * docs/gst/gstreamer-docs.sgml:
19452 remove probe refsection
19454 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19456 * check/Makefile.am:
19457 disable valgrinding the controller test again
19458 * docs/gst/gstreamer-sections.txt:
19459 update for api-changes
19461 2005-09-20 Wim Taymans <wim@fluendo.com>
19463 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19464 (gst_base_sink_set_property), (gst_base_sink_get_property),
19465 (gst_base_sink_do_sync):
19466 * gst/base/gstbasesink.h:
19467 Added sync property to basesink to disable clock sync.
19469 2005-09-20 Andy Wingo <wingo@pobox.com>
19471 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19472 eating the caller's refcount.
19474 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
19475 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19478 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19479 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19480 of GLib 2.8 public, so we can know which refcount to check in
19483 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19484 (gst_object_init): Only set the gst refcount if we're going ahead
19485 with the refcount hack.
19487 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19489 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19490 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19491 more leaks plumbed, added more debug-logging
19495 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19497 * gst/gstmessage.c:
19498 remove include of gstmemchunk.h
19500 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19502 * gst/gstclock.c: (_gst_clock_id_free):
19503 Commit from the Political Party For More Atomic CVS Commits,
19504 so that people don't waste too much of their day fishing
19505 out obvious leaks out of massive commits.
19506 Oh, and fix a pretty damn obvious leak in the memchunk
19509 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19511 * check/Makefile.am:
19512 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19513 plug mem-leak, re-add to valgrindable tests
19515 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19518 unbreak the build for those who have chronic arthritis
19519 and typing "make check" is just too taxing on the hands
19521 2005-09-20 Andy Wingo <wingo@pobox.com>
19523 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19524 really want it out, you should fix plugins at the same time.
19526 2005-09-19 Stefan Kost <ensonic@users.sf.net>
19529 * docs/gst/gstreamer-sections.txt:
19531 added missing symbols to api docs
19532 disable ref-count hack if we have glib >= 2.8
19534 2005-09-19 David Schleef <ds@schleef.org>
19536 * docs/gst/Makefile.am: Ignore a few more internal headers
19537 * docs/gst/gstreamer-docs.sgml: Remove old sections
19538 * docs/gst/gstreamer-sections.txt: Remove old sections
19539 * docs/gst/tmpl/gstobject.sgml: update
19540 * docs/gst/tmpl/gstplugin.sgml: update
19541 * docs/gst/tmpl/gstpluginfeature.sgml: update
19542 * docs/random/ds/0.9-suggested-changes: update.
19543 * gst/Makefile.am: remove memchunk and trashstack, since they're
19545 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19546 * gst/gst.h: don't include some headers
19547 * gst/gstchildproxy.c: add gstmarshal.h
19548 * gst/gstclock.c: Don't use memchunks
19549 * gst/gstminiobject.c: Add some docs
19550 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19551 * gst/gstobject.h: same
19552 * gst/gstplugin.c: include gstmacros.h
19553 * gst/gstplugin.h: don't include gstmacros.h, since it's private
19554 * gst/gstquery.c: don't use memchunks
19555 * gst/gstregistry.c: rename gst_registry_deinit()
19556 * gst/gstregistry.h: same
19558 2005-09-19 David Schleef <ds@schleef.org>
19560 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19561 * docs/libs/gstreamer-libs-sections.txt:
19562 * docs/libs/tmpl/gstgetbits.sgml:
19563 * docs/libs/tmpl/gstputbits.sgml:
19565 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
19567 * win32/gstenumtypes.c:
19568 * win32/gstenumtypes.h:
19571 2005-09-19 Wim Taymans <wim@fluendo.com>
19573 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19574 Automatically PAUSE and RESUME a pipeline when a flushing seek
19577 2005-09-19 Andy Wingo <wingo@pobox.com>
19579 * gst/gstregistry.h: Spacing fixen.
19581 2005-09-19 Wim Taymans <wim@fluendo.com>
19583 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19584 Handle state change failure more correctly.
19586 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19588 * check/Makefile.am:
19589 * check/pipelines/cleanup.c: (run_pipeline):
19590 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19592 enable cleanup again after fixing the leak
19594 some more info on docs
19596 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19598 * check/Makefile.am:
19599 re-enable tests now that leaks are plugged
19601 * check/gst/gstbin.c:
19602 * check/gst/gstpipeline.c:
19603 add some more tests while fixing leaks
19604 * common/check.mak:
19605 make sure binaries are uptodate when valgrinding/gdbing
19607 * gst/gstelementfactory.c:
19608 remove a ref too many, and add a FIXME for when we get
19609 round to disposing of classes
19611 fix the refcounting when loading a plugin from a file and
19612 the code pretends that the pointer is the same even though
19613 of course it can change
19614 * gst/gstpluginfeature.c:
19615 unref plugins marked cached (a bit confusing as a name)
19616 as the docs state should be done
19617 various doc additions to explain refcounting
19618 * gst/gstregistry.c:
19619 * gst/gstregistryxml.c:
19622 2005-09-19 Wim Taymans <wim@fluendo.com>
19624 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19625 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19626 (send_messages), (GST_START_TEST), (gstbus_suite):
19627 * check/gst/gstpipeline.c: (GST_START_TEST):
19628 * check/pipelines/cleanup.c: (run_pipeline):
19629 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19631 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19632 (gst_bus_source_check), (gst_bus_source_dispatch),
19633 (gst_bus_create_watch), (gst_bus_add_watch_full),
19634 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19636 * tools/gst-launch.c: (event_loop):
19637 * tools/gst-md5sum.c: (event_loop):
19638 GstBusHandler -> GstBusFunc, return value has the same meaning as
19639 any other GSource (FALSE == remove source).
19640 _add_watch() and _add_watch_full() now take a MessageType mask to
19641 only handle specific types of messages.
19642 _poll() returns the GstMessage instead of the message type to avoid
19644 _have_pending() takes a MessageType mask now too.
19645 Added testsuite for multiple bus watches.
19646 Fix testsuites and applications for new bus API.
19648 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19650 * check/Makefile.am:
19651 mark a bunch of the tests as to fix until we fix them
19653 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19655 * common/check.mak:
19656 use GST_PLUGIN settings for valgrind tests as well, so we're
19657 valgrinding the correct thing
19658 * gst/gst.c: (init_post):
19661 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19663 * gst/gst.c: (init_post), (gst_deinit):
19664 * gst/gstelementfactory.c: (gst_element_factory_class_init),
19665 (gst_element_factory_finalize), (gst_element_factory_cleanup):
19666 * gst/gstindex.c: (gst_index_factory_class_init),
19667 (gst_index_factory_finalize):
19668 * gst/gstobject.c: (gst_object_dispose):
19669 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19670 (gst_plugin_load_file), (gst_plugin_desc_free):
19671 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19672 (gst_plugin_feature_finalize):
19673 * gst/gstregistry.c: (gst_registry_class_init),
19674 (gst_registry_init), (gst_registry_finalize),
19675 (gst_registry_get_default), (gst_registry_deinit):
19676 * gst/gstregistry.h:
19677 * gst/gstregistryxml.c: (load_feature), (load_plugin):
19678 various cleanups and memleak plugging. make valgrind is happy now.
19680 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19682 * common/check.mak:
19683 add a check-valgrind target
19685 2005-09-18 David Schleef <ds@schleef.org>
19687 * tools/gst-inspect.c: Revert the GOption code.
19689 2005-09-17 David Schleef <ds@schleef.org>
19691 * check/Makefile.am: Fix environment variables.
19692 * check/gst/gstplugin.c: Fix for API changes.
19693 * tools/gst-inspect.c: Fix for API changes.
19694 * tools/gst-xmlinspect.c: Fix for API changes.
19695 * gst/gstelementfactory.c:
19698 * gst/gstpluginfeature.c:
19699 * gst/gstpluginfeature.h:
19700 * gst/gstregistry.c:
19701 * gst/gstregistry.h:
19702 * gst/gstregistryxml.c:
19703 * gst/gsttypefind.c:
19704 * gst/gsttypefindfactory.c:
19705 * gst/indexers/gstfileindex.c:
19706 * gst/indexers/gstmemindex.c:
19707 * gst/schedulers/Makefile.am:
19708 Change registry to keep track of both plugins and features,
19709 removing the feature tracking from plugins themselves.
19711 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
19713 * check/Makefile.am:
19714 * tools/gst-register.1.in:
19715 remove gst-register
19717 2005-09-15 David Schleef <ds@schleef.org>
19719 * check/gst/gstplugin.c:
19720 * gst/gstelementfactory.c:
19722 * gst/gstpluginfeature.c:
19723 * gst/gstregistry.c:
19724 Getting tired of debugging. Disabled all the unreffing of
19725 plugins and features, which fixes the segfaults, but of
19726 course leaks like crazy. At least playbin works.
19728 2005-09-15 David Schleef <ds@schleef.org>
19730 * check/gst/gstplugin.c: (register_check_elements),
19731 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19733 * gst/elements/gsttypefindelement.c: Fix refcounting.
19734 * gst/gsttypefind.c:
19735 * gst/gsttypefindfactory.c:
19736 * gst/gsttypefindfactory.h:
19738 2005-09-15 David Schleef <ds@schleef.org>
19740 * gst/gstindex.c: get refcounting correct.
19741 * gst/gstregistry.c: Handle the case where a feature/plugin is
19744 2005-09-15 David Schleef <ds@schleef.org>
19746 * check/Makefile.am:
19747 * check/gst/gstplugin.c: Add test
19748 * gst/gstplugin.c: Fix problems noticed by testsuite
19750 * gst/gstregistry.c:
19751 * gst/gstregistry.h:
19753 2005-09-15 David Schleef <ds@schleef.org>
19755 * gst/gstplugin.c: Implement semi-decent recounting and locking
19756 in plugins and plugin features.
19758 * gst/gstpluginfeature.c:
19759 * gst/gstpluginfeature.h:
19760 * gst/gstregistry.c:
19762 2005-09-15 Michael Smith <msmith@fluendo.com>
19764 * gst/gstregistry.c: (gst_registry_get_feature_list):
19765 Implement this. Makes oggdemux work; decodebin still broken.
19767 2005-09-14 David Schleef <ds@schleef.org>
19769 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19771 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19772 * gst/check/Makefile.am:
19773 * libs/gst/controller/Makefile.am:
19774 * libs/gst/dataprotocol/Makefile.am:
19776 2005-09-14 David Schleef <ds@schleef.org>
19778 * configure.ac: Remove getbits library. Nothing uses it, and
19779 it should be in something like liboil if someone did want
19781 * libs/gst/Makefile.am:
19782 * libs/gst/getbits/Makefile.am:
19783 * libs/gst/getbits/gbtest.c:
19784 * libs/gst/getbits/getbits.c:
19785 * libs/gst/getbits/getbits.h:
19786 * libs/gst/getbits/gstgetbits_generic.c:
19787 * libs/gst/getbits/gstgetbits_i386.s:
19788 * libs/gst/getbits/gstgetbits_inl.h:
19790 2005-09-14 David Schleef <ds@schleef.org>
19792 * gst/Makefile.am: Dist glib-compat.h
19794 2005-09-14 David Schleef <ds@schleef.org>
19796 * configure.ac: Remove gst/registries, since it's no longer used.
19797 * gst/registries/Makefile.am:
19798 * gst/registries/gstlibxmlregistry.c:
19799 * gst/registries/gstlibxmlregistry.h:
19800 * gst/registries/gstxmlregistry.c:
19801 * gst/registries/gstxmlregistry.h:
19802 * gst/registries/registrytest.c:
19804 2005-09-14 David Schleef <ds@schleef.org>
19806 * gst/glib-compat.h:
19807 * gst/gstregistryxml.c:
19808 Convergence is near. Seriously.
19810 2005-09-14 David Schleef <ds@schleef.org>
19812 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19813 * gst/glib-compat.h:
19814 Attempt #4 to appease the buildbots.
19816 2005-09-14 David Schleef <ds@schleef.org>
19818 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19821 2005-09-14 David Schleef <ds@schleef.org>
19823 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19826 2005-09-14 David Schleef <ds@schleef.org>
19828 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19831 2005-09-14 David Schleef <ds@schleef.org>
19833 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19834 * gst/glib-compat.h: Add some functions that are in newer versions
19835 of glib than we care to require.
19836 * gst/gstregistryxml.c: Use them.
19838 2005-09-14 David Schleef <ds@schleef.org>
19840 * po/POTFILES.in: remove gst-register.c
19842 2005-09-14 David Schleef <ds@schleef.org>
19844 * docs/gst/gstreamer-docs.sgml:
19845 * docs/gst/gstreamer-sections.txt:
19846 * docs/gst/gstreamer.types:
19847 * docs/gst/tmpl/gstelement.sgml:
19848 * docs/gst/tmpl/gstplugin.sgml:
19849 * docs/gst/tmpl/gstpluginfeature.sgml:
19850 Documentation updates for registry changes.
19852 2005-09-14 David Schleef <ds@schleef.org>
19854 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19855 because we don't require glib-2.8.
19857 2005-09-14 David Schleef <ds@schleef.org>
19859 * gst/gstregistryxml.c: Added. Essentially moved out of the
19860 registries directory.
19862 2005-09-14 David Schleef <ds@schleef.org>
19864 * check/Makefile.am:
19865 * check/generic/states.c:
19869 * gst/gst_private.h:
19870 * gst/gstelementfactory.c:
19875 * gst/gstpluginfeature.c:
19876 * gst/gstpluginfeature.h:
19877 * gst/gstregistry.c:
19878 * gst/gstregistry.h:
19879 * gst/gstregistrypool.c: remove
19880 * gst/gstregistrypool.h: remove
19881 * gst/gsttypefind.c:
19882 * gst/gsttypefindfactory.c:
19884 * tools/Makefile.am:
19885 * tools/gst-compprep.c:
19886 * tools/gst-inspect.c:
19887 * tools/gst-register.c: remove
19888 * tools/gst-xmlinspect.c:
19889 Registry rewrite. Changes registry from being a file created
19890 by a tool into a simple cache file created automatically by
19891 libgstreamer. Removed gst-register (because it's no longer
19892 needed). Remove registry pools, because we only have one
19893 registry implementation (XML). Fix up other subsystems as
19896 2005-09-13 Michael Smith <msmith@fluendo.com>
19898 * gst/gstconfig.h.in:
19899 Don't Use windows linking attributes for MinGW. Fixes #316157
19901 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
19903 * gst/gstutils.c: (set_state_async_thread_func),
19904 (gst_element_set_state_async):
19905 Apparently people think it's better if this function doesn't
19906 try to set the state to whatever state was asked for on the first
19907 call to this function for any object. Seriously.
19909 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19911 * check/gst/gstpipeline.c: (GST_START_TEST):
19912 * docs/gst/gstreamer-sections.txt:
19913 * gst/gstutils.c: (set_state_async_thread_func),
19914 (gst_element_set_state_async):
19916 add a "gst_element_set_state_async" method that
19917 sets the state and starts a thread to make sure the state
19918 change completes as best as it can
19920 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19922 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19923 codify design+behaviour in testsuite after discussion
19925 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19927 * docs/gst/tmpl/gstelement.sgml:
19928 * docs/manual/appendix-quotes.xml:
19930 * gst/gstelement.c: (gst_element_set_state):
19933 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
19935 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19936 (gst_base_transform_prepare_output_buf),
19937 (gst_base_transform_handle_buffer):
19938 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19939 (gst_capsfilter_prepare_buf):
19940 Remove the requirement for sub-classes to call the parent
19941 implementation of prepare_output_buffer with a wrapper function.
19943 * gst/gsttaglist.h:
19944 * gst/gsttagsetter.h:
19945 Fix #define wrapper
19947 2005-09-11 Stefan Kost <ensonic@users.sf.net>
19949 * docs/gst/gstreamer-sections.txt:
19952 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19954 * docs/gst/gstreamer-sections.txt:
19955 * docs/gst/tmpl/gstelement.sgml:
19956 * docs/gst/tmpl/gstplugin.sgml:
19957 * gst/gstminiobject.c:
19959 docs now stop throwing warnings
19961 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19963 * docs/gst/gstreamer-sections.txt:
19964 * docs/gst/gstreamer.types:
19965 * docs/gst/tmpl/gstpad.sgml:
19966 * docs/gst/tmpl/gsttypes.sgml:
19967 * gst/base/gstadapter.h:
19968 * gst/base/gstbasesink.h:
19969 * gst/base/gstbasesrc.h:
19975 * gst/gstelement.h:
19977 * gst/gstmessage.h:
19979 * gst/gststructure.c:
19980 * gst/registries/gstlibxmlregistry.h:
19981 various documentation fixes
19983 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19985 * docs/gst/gstreamer-sections.txt:
19986 * docs/gst/tmpl/gstvalue.sgml:
19987 rearrange gstvalue section
19988 * gst/gstutils.c: (gst_element_state_get_name):
19990 * gst/gstvalue.c: (_gst_value_initialize):
19994 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
19996 * check/gst-libs/controller.c:
19997 Header include fix.
19998 * gst/base/gstbasetransform.c:
19999 (gst_base_transform_default_prepare_buf),
20000 (gst_base_transform_handle_buffer):
20001 * gst/base/gstbasetransform.h:
20002 Some more basetransform changes and fixes to enable sub-classes
20003 that modify buffer metadata only.
20004 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20005 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
20006 (gst_capsfilter_prepare_buf):
20007 If the output pad has fixed allowed caps and input buffers
20008 don't have any, set the fixed caps on outgoing buffers.
20010 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
20011 * check/elements/identity.c: (GST_START_TEST):
20012 Make the error a little clearer when the test fails because
20013 identity made a copy of the buffer.
20014 * docs/gst/gstreamer-sections.txt:
20015 New symbols in gstbasetransform.h
20016 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20017 (gst_base_transform_init), (gst_base_transform_transform_size),
20018 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20019 (gst_base_transform_default_prepare_buf),
20020 (gst_base_transform_get_unit_size),
20021 (gst_base_transform_buffer_alloc),
20022 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
20023 (gst_base_transform_change_state),
20024 (gst_base_transform_set_passthrough),
20025 (gst_base_transform_set_in_place),
20026 (gst_base_transform_is_in_place):
20027 * gst/base/gstbasetransform.h:
20028 Change BaseTransform to separate in_place operate from same_caps
20029 output. in_place implies that the element can perform the transform
20030 on incoming buffers in-place, even if the caps on the output are
20032 Sub-class elements can now implement special buffer allocation
20033 methods for outgoing buffers if they wish to.
20034 Big documentation addition.
20035 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
20036 * gst/elements/gstelements.c:
20037 Changes for basetransform modifications.
20038 * gst/elements/Makefile.am:
20039 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
20040 Compile fix. Extra debug output.
20042 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20044 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
20046 add tests for valid pad naming
20047 * gst/check/gstcheck.c: (gst_check_log_message_func),
20048 (gst_check_log_critical_func):
20050 remove printing of code, it is fragile when the code contains
20051 % and the line number is enough info
20052 * gst/check/gstcheck.h:
20053 * gst/gstpad.c: (gst_pad_template_new):
20056 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20059 say what CHECK flags we use
20060 * docs/libs/gstreamer-libs.types:
20061 * libs/gst/controller/Makefile.am:
20062 * libs/gst/controller/gst-controller.c:
20063 * libs/gst/controller/gst-controller.h:
20064 * libs/gst/controller/gst-helper.c:
20065 * libs/gst/controller/gst-interpolation.c:
20066 * libs/gst/controller/gstcontroller.c:
20067 * libs/gst/controller/gsthelper.c:
20068 * libs/gst/controller/gstinterpolation.c:
20069 * tools/gst-inspect.c: (print_plugin_info):
20070 we don't use dashes in header names
20072 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20074 * check/Makefile.am:
20075 * check/gst/.cvsignore:
20076 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20077 (gst_pipeline_suite), (main):
20078 adding a test for pipelines and state changes
20079 * gst/gstutils.c: (get_state_func):
20081 * gstreamer.spec.in:
20084 2005-09-08 Michael Smith <msmith@fluendo.com>
20086 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20087 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20088 (gst_file_src_is_seekable), (gst_file_src_get_size),
20089 (gst_file_src_start):
20090 * gst/elements/gstfilesrc.h:
20091 Various fixes for unseekable, unmmapable, and non-normal files, so
20092 that fallback to read() rather than mmap() works.
20093 * gst/gstevent.c: (gst_event_new_newsegment):
20094 Allow newsegment events with segment_start == segment_end, as will
20095 correctly happen if you use filesrc on a zero-size file, for
20098 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
20100 * gst/gstplugin.c: (gst_plugin_load_file):
20101 Call g_module_close when we don't load the module
20103 * gst/registries/gstlibxmlregistry.c:
20104 (gst_xml_registry_get_property):
20105 Port leak fix from 0.8
20107 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20109 * docs/gst/gstreamer-docs.sgml:
20110 * docs/gst/tmpl/.cvsignore:
20111 * docs/gst/tmpl/gsttrace.sgml:
20112 * docs/gst/tmpl/gsttrashstack.sgml:
20115 * gst/gstelement.h:
20117 * gst/gstmessage.c:
20118 * gst/gstmessage.h:
20121 * gst/gsttaginterface.c:
20122 * gst/gsttaginterface.h:
20123 * gst/gsttaglist.c:
20124 * gst/gsttaglist.h:
20125 * gst/gsttagsetter.c:
20126 * gst/gsttagsetter.h:
20129 * gst/gsttrashstack.c:
20130 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20131 inlined docs for gsttrace, gsttrashstack
20133 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20136 * gst/elements/gstbufferstore.h:
20137 * gst/elements/gsttypefindelement.c:
20138 * gst/elements/gsttypefindelement.h:
20140 * gst/gsttypefind.c:
20141 * gst/gsttypefind.h:
20142 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20143 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20144 (gst_type_find_factory_dispose),
20145 (gst_type_find_factory_unload_thyself),
20146 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20147 (gst_type_find_factory_get_caps),
20148 (gst_type_find_factory_get_extensions),
20149 (gst_type_find_factory_call_function):
20150 * gst/gsttypefindfactory.h:
20151 * gst/registries/gstlibxmlregistry.c:
20152 * gst/registries/gstxmlregistry.c:
20153 splitted gsttypefind into gsttypefind, gsttypefindfactory
20155 2005-09-07 Andy Wingo <wingo@pobox.com>
20157 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20158 condition whereby the pad's task function is entered before the
20159 pad_mode variable was set.
20161 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
20163 * gst/gstpad.c: (gst_pad_alloc_buffer):
20164 Catch misbehaving pad_alloc functions that don't
20165 set up caps and do it for them.
20167 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20169 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20170 test for pipe!=NULL
20171 * docs/gst/tmpl/.cvsignore:
20172 * docs/gst/tmpl/gstmemchunk.sgml:
20173 * docs/gst/tmpl/gstparse.sgml:
20174 * docs/gst/tmpl/gsttaglist.sgml:
20175 * docs/gst/tmpl/gsttagsetter.sgml:
20176 * docs/gst/tmpl/gsttypefind.sgml:
20177 * docs/gst/tmpl/gsttypefindfactory.sgml:
20178 * gst/gstmemchunk.c:
20181 * gst/gsttaginterface.c:
20182 * gst/gsttypefind.c:
20183 * gst/gsttypefind.h:
20186 === release 0.9.2 ===
20188 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
20193 releasing 0.9.2, "South"
20195 2005-09-05 Andy Wingo <wingo@pobox.com>
20197 * gst/registries/gstxmlregistry.h:
20198 * gst/registries/gstxmlregistry.c: Um... resurrect...
20200 * gst/registries/gstxmlregistry.h:
20201 * gst/registries/gstxmlregistry.c: and update to newer API.
20202 Incidentally they should be a bit faster now that they don't have
20205 2005-09-05 Andy Wingo <wingo@pobox.com>
20207 * gst/registries/gstxmlregistry.h:
20208 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20209 replaced by the libxml registry a while back
20211 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
20213 * docs/gst/tmpl/gstplugin.sgml:
20214 * gst/elements/gstelements.c:
20216 * gst/gstplugin.c: (gst_plugin_register_func),
20217 (gst_plugin_desc_copy), (gst_plugin_desc_free),
20218 (gst_plugin_get_source):
20220 * gst/registries/gstlibxmlregistry.c: (load_plugin),
20221 (gst_xml_registry_save_plugin):
20222 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20223 (gst_xml_registry_save_plugin):
20224 * tools/gst-inspect.c: (print_plugin_info):
20225 add a "source" plugin description field, to represent the source
20226 module this plugin is a part of. By default GST_PLUGIN_DEFINE
20227 will set it to PACKAGE, which is automake's idea of the name of
20228 the source project.
20230 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
20235 * docs/Makefile.am:
20236 * docs/faq/Makefile.am:
20237 * docs/gst/tmpl/gstelement.sgml:
20238 * docs/gst/tmpl/gsttypes.sgml:
20239 * docs/htmlinstall.mak:
20240 * docs/manual/Makefile.am:
20241 * docs/pwg/Makefile.am:
20242 reorganize doc build a little
20243 split out docbook and gtk-doc stuff
20244 have two separate --enable's and enable them through autogen
20245 but disable by default in configure (to be similar to other
20247 * gstreamer.spec.in:
20248 clean up docs install
20266 translation updates
20268 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
20270 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20273 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20274 (gst_fake_sink_change_state):
20275 Make state change function thread-safe.
20277 * gst/gstpad.c: (gst_pad_alloc_buffer):
20278 Set offset on generic buffer allocated by fallback.
20280 2005-09-03 Stefan Kost <ensonic@users.sf.net>
20282 * docs/gst/gstreamer-sections.txt:
20283 * docs/gst/tmpl/gstelement.sgml:
20285 * libs/gst/controller/gst-controller.c:
20286 (gst_controlled_property_set_interpolation_mode),
20287 (gst_controlled_property_new),
20288 (gst_controller_find_controlled_property):
20289 run the wingo-magic script against the docs
20291 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20293 * docs/gst/gstreamer-docs.sgml:
20294 * docs/gst/gstreamer-sections.txt:
20295 * docs/gst/tmpl/.cvsignore:
20296 * docs/gst/tmpl/gstelementdetails.sgml:
20297 * docs/gst/tmpl/gstelementfactory.sgml:
20300 * gst/gstelementfactory.c:
20301 * gst/gstelementfactory.h:
20302 merged elementdetails docs into elementfactory docs
20305 2005-09-02 Andy Wingo <wingo@pobox.com>
20307 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20308 consider this enum an enum and not a flags.
20310 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20312 * docs/gst/gstreamer-docs.sgml:
20313 * docs/gst/tmpl/.cvsignore:
20314 * docs/gst/tmpl/gstghostpad.sgml:
20315 * docs/gst/tmpl/gstiterator.sgml:
20316 * docs/gst/tmpl/gstmacros.sgml:
20317 * docs/gst/tmpl/gstrealpad.sgml:
20318 * docs/gst/tmpl/gstregistry.sgml:
20319 * docs/gst/tmpl/gstregistrypool.sgml:
20320 * docs/gst/tmpl/gststructure.sgml:
20321 * docs/gst/tmpl/gstsystemclock.sgml:
20322 * docs/gst/tmpl/gsttrace.sgml:
20323 * gst/gstghostpad.c:
20325 * gst/gstmemchunk.c:
20326 * gst/gstmemchunk.h:
20328 * gst/gstregistry.c:
20329 * gst/gstregistrypool.c:
20330 * gst/gststructure.c:
20331 * gst/gstsystemclock.c:
20334 2005-09-02 Andy Wingo <wingo@pobox.com>
20336 * gst/gstelement.h (GstState): Renamed from GstElementState,
20337 changed to be a normal enum instead of flags.
20338 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20339 munged to be GST_STATE_CHANGE_*.
20340 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20341 work with the new state representation.
20342 (GstStateChange): New enumeration of possible state transitions.
20343 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20344 (GstElementClass::change_state): Pass the GstStateChange along as
20345 an argument. Helps language bindings, so they don't have to use
20346 tricky lock-needing macros like GST_STATE_CHANGE ().
20348 * scripts/update-states (file): New script. Run it on a file to
20349 update it for state naming and API changes. Updates files in
20352 * All files updated for the new API.
20354 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
20356 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20357 * gst/gstutils.c: (gst_util_set_value_from_string),
20358 (gst_util_set_object_arg):
20359 fix a bunch of unchecked return values
20360 * tools/gst-complete.c: (main):
20361 * gstreamer.spec.in:
20364 2005-09-01 Wim Taymans <wim@fluendo.com>
20366 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20367 (gst_base_sink_event), (gst_base_sink_do_sync),
20368 (gst_base_sink_handle_event):
20369 * gst/base/gstbasesink.h:
20370 Handle newsegments more correctly.
20375 * gst/gstevent.c: (gst_event_new_newsegment):
20376 A newsegment cannot have a start_time of -1
20378 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
20380 * win32/gstenumtypes.c:
20381 * win32/gstenumtypes.h:
20384 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20386 * libs/gst/controller/gst-controller.c:
20387 (gst_controlled_property_set_interpolation_mode),
20388 (gst_controlled_property_new):
20389 fixed boolean again
20391 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
20393 * docs/faq/gst-uninstalled:
20398 * gst/gstutils.c: (gst_element_link_filtered):
20400 add gst_element_link_filtered
20402 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20404 * docs/gst/gstreamer-docs.sgml:
20405 * docs/gst/gstreamer-sections.txt:
20406 * docs/gst/tmpl/.cvsignore:
20407 * docs/gst/tmpl/gsterror.sgml:
20408 * docs/gst/tmpl/gstfilter.sgml:
20409 * docs/gst/tmpl/gsturihandler.sgml:
20410 * docs/gst/tmpl/gsturitype.sgml:
20411 * docs/gst/tmpl/gstutils.sgml:
20412 * docs/gst/tmpl/gstxml.sgml:
20417 * gst/gsturitype.c:
20420 inlined more docs, fixed double id-ref
20422 2005-08-31 Wim Taymans <wim@fluendo.com>
20424 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20425 (gst_base_transform_handle_buffer):
20426 Passthrough elements don't need the caps as they don't care.
20428 2005-08-31 Wim Taymans <wim@fluendo.com>
20430 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20431 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20432 Don't leak refcounts on buffers.
20434 2005-08-31 Wim Taymans <wim@fluendo.com>
20436 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20437 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20438 (gst_base_transform_chain), (gst_base_transform_change_state):
20439 * gst/base/gstbasetransform.h:
20440 Handle the case where we are not negotiated more gracefully.
20442 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
20444 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20445 (gst_file_src_map_region):
20446 Set READONLY flag on mmap'ed buffers, otherwise
20447 gst_buffer_make_writable() won't work properly (#314708).
20449 2005-08-31 Wim Taymans <wim@fluendo.com>
20451 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20452 passthrough elements can even do inplace on non writable
20453 buffers (as they don't touch them).
20455 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20457 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20458 (gst_test_mono_source_set_property),
20459 (gst_test_mono_source_class_init), (GST_START_TEST),
20460 (gst_controller_suite):
20461 more tests (hehe I have the most)
20463 describe popping messages whenusing mulltiple sources
20464 * libs/gst/controller/gst-controller.c:
20465 (gst_controlled_property_set_interpolation_mode),
20466 (gst_controlled_property_new):
20467 * libs/gst/controller/gst-controller.h:
20468 * libs/gst/controller/gst-interpolation.c:
20469 implement boolean properties
20471 2005-08-31 Wim Taymans <wim@fluendo.com>
20473 * gst/gstminiobject.c: (gst_mini_object_ref):
20474 Cannot assert that the refcount has to be positive
20475 since a disposed object can be resurrected.
20477 2005-08-31 Wim Taymans <wim@fluendo.com>
20479 * gst/gstpad.c: (gst_pad_init):
20480 Revert change, need to first fix badly behaving
20483 2005-08-30 Wim Taymans <wim@fluendo.com>
20485 * check/elements/fakesrc.c: (setup_fakesrc):
20486 * check/elements/identity.c: (setup_identity):
20487 Activate pads before using them.
20489 2005-08-30 Wim Taymans <wim@fluendo.com>
20491 * gst/base/gstadapter.c: (gst_adapter_flush):
20492 Flushing out 0 bytes is ok for this function.
20494 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20495 no newsegment gives a warning and sets the start/stop to
20498 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20499 (gst_base_transform_set_passthrough):
20502 * gst/gstminiobject.c: (gst_mini_object_ref):
20503 Check refcount here too.
20505 * gst/gstpad.c: (gst_pad_init):
20506 Pads are initially flushing and refusing data.
20508 * gst/gstutils.c: (gst_element_link_pads_filtered):
20509 When adding a capsfilter element make sure it has the
20510 same state as the parent bin.
20512 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20514 * docs/gst/tmpl/.cvsignore:
20515 * docs/gst/tmpl/gstformat.sgml:
20516 * docs/gst/tmpl/gstversion.sgml:
20520 * gst/gstversion.h.in:
20521 more docs and two more inlined
20523 2005-08-30 Wim Taymans <wim@fluendo.com>
20525 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20526 Don't sync to clock.
20528 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20530 * docs/gst/gstreamer-sections.txt:
20531 ultral33t func10ns deserve to appear in the docs actually
20532 * docs/gst/tmpl/.cvsignore:
20533 * docs/gst/tmpl/gstcompat.sgml:
20534 * docs/gst/tmpl/gstconfig.sgml:
20535 * gst/check/gstcheck.c:
20537 * gst/gstconfig.h.in:
20540 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20542 * docs/gst/tmpl/.cvsignore:
20543 * docs/gst/tmpl/gstquery.sgml:
20544 * docs/gst/tmpl/gstutils.sgml:
20547 inlined and extended docs
20549 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20551 * check/gst-libs/controller.c: (GST_START_TEST),
20552 (gst_controller_suite):
20554 * docs/gst/tmpl/gstutils.sgml:
20555 * docs/libs/gstreamer-libs-sections.txt:
20556 * docs/libs/tmpl/gstdataprotocol.sgml:
20558 * examples/controller/audio-example.c: (main):
20559 controller example works now
20562 * tools/gst-inspect.c: (print_element_properties_info):
20563 show param spec flags
20565 2005-08-29 Andy Wingo <wingo@pobox.com>
20567 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20569 2005-08-28 Andy Wingo <wingo@pobox.com>
20571 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20572 as having two arguments instead of just one. Allows superclasses
20573 to access information on subclasses -- see the terrible for() loop
20574 in gtype.c:g_type_create_instance for the reason why. All callers
20577 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20579 * docs/design/part-messages.txt:
20581 * docs/gst/tmpl/.cvsignore:
20582 * docs/gst/tmpl/gstcaps.sgml:
20583 * docs/gst/tmpl/gstclock.sgml:
20589 * gst/gstmessage.c:
20590 added descriptions for bus and message
20591 inline caps and clock docs
20593 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20595 * gst/gstmessage.c:
20596 * gst/gstmessage.h:
20599 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20601 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20604 2005-08-26 Andy Wingo <wingo@pobox.com>
20606 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20607 element_set_state's return val.
20608 (test_2_elements): Add test that's been disabled for months.
20610 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20611 can-activate-pull properties.
20613 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20614 can-activate-pull properties. Implement is_seekable so fakesrc can
20615 operate in pull mode.
20617 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20619 (gst_base_sink_activate, gst_base_sink_activate_pull)
20620 (gst_base_sink_activate_push): Make activation mode choosing work.
20622 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20623 is right. Make pull mode work. Post an eos before pausing in pull
20625 (gst_base_sink_change_state): Pay attention to the core's
20626 change_state() return val.
20628 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20629 has-getrange properties. Cleanups.
20631 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20632 has_getrange and replace with can_activate_pull and
20635 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20636 locking comments. Remove has_loop, has_chain and replace with
20637 can_activate_pull and can_activate_push.
20639 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
20642 * examples/Makefile.am:
20643 * examples/metadata/Makefile.am:
20644 * examples/metadata/read-metadata.c: (message_loop),
20645 (have_pad_handler), (make_pipeline), (print_tag), (main):
20646 Add metadata reading example that loops over a list of filenames,
20647 dumping any tags found.
20649 * gst/gstbus.c: (gst_bus_dispose):
20650 * gst/gstelement.c: (gst_element_dispose):
20651 Release a few potentially-held references in dispose.
20653 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20655 * docs/gst/tmpl/gstminiobject.sgml:
20656 do *not* add tmpl/*.sgml files to CVS!
20658 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20660 * libs/gst/bytestream/.cvsignore:
20661 * libs/gst/bytestream/Makefile.am:
20662 * libs/gst/bytestream/adapter.c:
20663 * libs/gst/bytestream/adapter.h:
20664 * libs/gst/bytestream/bytestream.c:
20665 * libs/gst/bytestream/bytestream.h:
20666 * libs/gst/bytestream/filepad.c:
20667 * libs/gst/bytestream/filepad.h:
20668 removing obsolete files
20670 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20672 * docs/gst/gstreamer-docs.sgml:
20673 * docs/libs/gstreamer-libs-docs.sgml:
20674 disabed additional index entries again, as this makes docs-gen just
20675 slow and they aren't useful yet
20676 * docs/libs/gstreamer-libs-sections.txt:
20677 little -section.txt cleanup for libs
20679 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
20681 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20682 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20683 fix up some debugging
20684 (gst_base_transform_get_unit_size),
20685 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20686 (gst_base_transform_handle_buffer):
20687 * gst/base/gstbasetransform.h:
20688 handle and store timed NEWSEGMENT events so that subclasses that
20689 calculate time by counting samples have a segment_start time they
20690 need to add to their timestamps - see audioresample
20692 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20695 removed ';' from the end of macro defs
20696 * docs/gst/gstreamer-docs.sgml:
20697 * docs/gst/gstreamer-sections.txt:
20698 * docs/gst/tmpl/.cvsignore:
20700 * gst/gstelement.c: (gst_element_class_init),
20701 (gst_element_set_state), (activate_pads),
20702 (gst_element_save_thyself):
20703 * gst/gstevent.c: (gst_event_new_newsegment):
20705 * gst/gstiterator.c:
20706 * gst/gstiterator.h:
20709 * gst/gstutils.c: (gst_pad_query_convert):
20711 fixed parameter name mismatches between source, header and docs
20712 added some more docs, resolved the last batch of unused elements in
20713 docs (now someone needs to doc them)
20715 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20717 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20718 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20719 don't walk through the plugins backwards. Where is all this
20720 reversed logic coming from ?
20722 2005-08-25 Wim Taymans <wim@fluendo.com>
20724 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20725 (gst_base_transform_transform_size),
20726 (gst_base_transform_configure_caps),
20727 (gst_base_transform_get_unit_size),
20728 (gst_base_transform_buffer_alloc),
20729 (gst_base_transform_change_state):
20730 * gst/base/gstbasetransform.h:
20731 Cache caps unit_size.
20732 Make sure we cannot negotiate up and downstream at the
20735 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20737 * gst/gst.c: (init_pre), (init_post):
20738 register the installed plugin path after the env var
20739 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20740 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20741 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20742 directories, so the tests can prefer uninstalled over installed
20744 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20746 * gst/base/gstbasetransform.h:
20751 2005-08-25 Wim Taymans <wim@fluendo.com>
20753 * gst/gstbin.c: (bin_bus_handler):
20754 Be a bit more conservative about the posted message.
20756 * gst/gstbus.c: (gst_bus_post):
20757 Some cleanups, warn wrong return values.
20759 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
20761 * check/gst/gstbin.c: (GST_START_TEST):
20762 * gst/gstbin.c: (bin_bus_handler):
20763 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20764 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20765 (gst_message_new_warning), (gst_message_new_tag),
20766 (gst_message_new_state_changed), (gst_message_new_segment_start),
20767 (gst_message_new_segment_done), (gst_message_new_custom):
20768 * gst/gstmessage.h:
20769 * tools/gst-launch.c: (event_loop):
20770 * tools/gst-md5sum.c: (event_loop):
20771 Revert unpopular change for GST_MESSAGE_SRC to GObject.
20773 2005-08-25 Wim Taymans <wim@fluendo.com>
20775 * check/generic/states.c: (GST_START_TEST):
20776 Cleanup can be done at the end.
20778 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20779 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20780 (gst_task_get_state), (gst_task_start), (gst_task_pause):
20781 Oh boy.. Thanks for finding this, Thomas.
20783 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20785 * docs/gst/gstreamer.types:
20786 added missing types
20788 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20790 * docs/gst/gstreamer-docs.sgml:
20791 * docs/gst/gstreamer-sections.txt:
20792 * docs/gst/tmpl/.cvsignore:
20794 * gst/gstiterator.c:
20796 * gst/registries/gstxmlregistry.h:
20797 added missing classes and symbols (123 more to go)
20798 removed removed symbols from section file
20799 fixed many doc-comments
20801 2005-08-24 Wim Taymans <wim@fluendo.com>
20803 * check/generic/states.c: (GST_START_TEST):
20804 Make sure all tasks are stopped.
20806 * check/gst/gstbin.c: (GST_START_TEST):
20807 Unref after usage for proper valgrinding.
20809 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20810 Really wait for the task to stop before destroying the
20813 * gst/gstqueue.c: (gst_queue_sink_activate_push),
20814 (gst_queue_src_activate_push):
20815 Small cleanups. Don't stop the task when we did not start
20818 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20819 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20820 (gst_task_get_state), (gst_task_start), (gst_task_pause),
20823 Protect the stream lock with the object lock.
20824 Disallow setting the stream lock when running.
20825 Add cleanup_all to wait for the threadpool to finish.
20826 Remove code to autoallocate a mutex if none was provided.
20827 Add _join() to wait for a task to stop.
20828 Protect the thread pool with a global lock.
20830 2005-08-24 Wim Taymans <wim@fluendo.com>
20832 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20833 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20834 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20835 * gst/base/gstbasesink.h:
20836 Handle newsegment events correctly.
20837 Drop buffers out of the segment range.
20839 2005-08-22 Andy Wingo <wingo@pobox.com>
20841 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20842 macro, implements an interface and gstimplementsinterface for a
20845 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20847 * check/Makefile.am:
20848 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20849 add a test that does a bunch of state changes on elements
20850 needs some fixing for valgrind
20851 * check/states/sinks.c: (gst_object_suite):
20854 add prototype for gst_caps_is_equal_fixed
20856 * gst/gstregistrypool.c:
20859 2005-08-24 Andy Wingo <wingo@pobox.com>
20861 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20862 convert a negative value. Doesn't make much sense. Mostly this is
20863 here to force callers to ensure -1 maps to -1.
20865 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20867 * docs/pwg/advanced-types.xml:
20868 Well done to Michael for catching my deliberate introduction
20869 of this spelling mistake.
20870 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20871 * gst/gstelement.h:
20872 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20873 unlink pads before removing the element from the bin.
20875 2005-08-24 Andy Wingo <wingo@pobox.com>
20877 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20878 the same thing as GST_DEBUG=*:4.
20879 (parse_debug_level, parse_debug_category): New helper parsers.
20881 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20883 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20884 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20885 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20886 (gst_base_transform_buffer_alloc),
20887 (gst_base_transform_handle_buffer):
20888 use gboolean return values and pointers to size so we can use the
20889 full GST_BUFFER_SIZE range (guint) for buffer sizes
20890 use GstPadDirection for transform_caps
20891 * gst/base/gstbasetransform.h:
20892 rename get_size to get_unit_size since that's what it is
20893 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20894 use GstPadDirection for transform_caps
20895 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20897 cleanup and debugging
20899 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20901 * gst/gstelement.c: (gst_element_class_init),
20902 (gst_element_set_state), (activate_pads),
20903 (gst_element_save_thyself):
20904 * tools/gst-compprep.c: (main):
20905 * tools/gst-inspect.c: (print_element_properties_info):
20906 * tools/gst-xmlinspect.c: (print_element_properties):
20907 Fixed long standing mem-leak
20909 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20911 * check/gst/gstbin.c: (GST_START_TEST):
20912 * gst/gstbin.c: (bin_bus_handler):
20913 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20914 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20915 (gst_message_new_warning), (gst_message_new_tag),
20916 (gst_message_new_state_changed), (gst_message_new_segment_start),
20917 (gst_message_new_segment_done), (gst_message_new_custom):
20918 * gst/gstmessage.h:
20919 * tools/gst-launch.c: (event_loop):
20920 * tools/gst-md5sum.c: (event_loop):
20921 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20922 that applications can sensibly post custom messages with references
20923 to their own objects.
20925 2005-08-24 Andy Wingo <wingo@pobox.com>
20927 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20930 2005-08-24 Wim Taymans <wim@fluendo.com>
20932 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20933 (gst_base_transform_transform_caps),
20934 (gst_base_transform_transform_size),
20935 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20936 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20937 (gst_base_transform_handle_buffer):
20938 * gst/base/gstbasetransform.h:
20939 Many fixes and new features added by Thomas. Can now also do
20940 transforms with variable sizes and a custom fixate_caps function.
20942 2005-08-24 Wim Taymans <wim@fluendo.com>
20944 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20948 Cast to ClockTime before formatting to time.
20953 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20955 * check/gst-libs/controller.c: (GST_START_TEST),
20956 (gst_controller_suite):
20957 * docs/gst/tmpl/gstcaps.sgml:
20958 * docs/gst/tmpl/gstghostpad.sgml:
20959 * docs/gst/tmpl/gstquery.sgml:
20960 * docs/gst/tmpl/gstutils.sgml:
20961 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20962 (gst_object_sink_values), (gst_object_get_value_arrays),
20963 (gst_object_get_value_array):
20964 gracefully handle helper method calls to objects that are not beeing
20965 controlled, added test case for that
20967 2005-08-23 Wim Taymans <wim@fluendo.com>
20969 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20970 (gst_event_new_newsegment), (gst_event_parse_newsegment),
20971 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20972 (gst_event_parse_qos), (gst_event_new_seek),
20973 (gst_event_parse_seek):
20975 Some more debugging output and doc cleanups.
20977 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20978 Fix possible deadlock.
20980 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20982 * docs/gst/gstreamer-docs.sgml:
20983 * docs/gst/gstreamer-sections.txt:
20984 * docs/gst/gstreamer.types:
20985 * docs/gst/tmpl/.cvsignore:
20988 * gst/gstelement.c:
20990 added 100 symbols from gstreamer-unused.txt to the right sections
20991 fixed more broken comments
20992 added GstBus to docs
20994 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20996 * docs/gst/gstreamer-sections.txt:
20997 * docs/gst/tmpl/.cvsignore:
20998 * docs/gst/tmpl/gstbin.sgml:
20999 * docs/gst/tmpl/gstbuffer.sgml:
21000 * gst/base/gstbasesrc.c:
21001 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
21004 * tools/gst-launch.1.in:
21005 inlined more doc comments, added missing comments and fixed comments
21008 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
21010 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21014 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
21016 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
21017 * gst/gststructure.h:
21018 add a fixate function for booleans; add a FIXME that these func
21019 names should probably be gst_structure_fixate_*
21021 2005-08-23 Stefan Kost <ensonic@users.sf.net>
21023 * docs/gst/gstreamer-docs.sgml:
21024 * docs/gst/gstreamer-sections.txt:
21026 * gst/gstbin.c: (gst_bin_get_type),
21027 (gst_bin_child_proxy_get_child_by_index),
21028 (gst_bin_child_proxy_get_children_count),
21029 (gst_bin_child_proxy_init):
21030 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21031 (gst_child_proxy_get_child_by_index),
21032 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
21033 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
21034 (gst_child_proxy_get), (gst_child_proxy_set_property),
21035 (gst_child_proxy_set_valist), (gst_child_proxy_set),
21036 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
21037 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
21038 * gst/gstchildproxy.h:
21039 * gst/parse/grammar.y:
21040 * tools/gst-inspect.c: (print_interfaces),
21041 (print_element_properties_info), (print_element_info):
21042 ported gstchildproxy over from 0.8
21043 ported gst-inspect fixes and enhancements over from 0.8
21045 2005-08-22 Wim Taymans <wim@fluendo.com>
21047 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21048 (gst_base_transform_handle_buffer):
21049 Also call the transform function if we have ANY caps.
21051 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
21054 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
21056 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
21057 Don't pretend to handle seek events if the source is not seekable
21059 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
21061 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21062 Remove extra parameter to debug output
21064 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21065 (gst_base_src_do_seek), (gst_base_src_activate_push):
21066 Fix seek event handling.
21068 * gst/gstpipeline.c: (gst_pipeline_change_state):
21069 * gst/gstqueue.c: (gst_queue_handle_sink_event),
21070 (gst_queue_src_activate_push):
21071 Don't start the src pad task on FLUSH_STOP if the pad
21075 2005-08-22 Wim Taymans <wim@fluendo.com>
21077 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21078 Added check for gst_static_caps_get() refcounting.
21080 2005-08-22 Wim Taymans <wim@fluendo.com>
21082 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21083 Make _static_caps_get() refcounting sane.
21085 * gst/gstelement.c: (gst_element_set_state):
21086 Add g_return_val_if_fail() to protect against segfaults.
21088 2005-08-22 Stefan Kost <ensonic@users.sf.net>
21090 * docs/gst/tmpl/gstevent.sgml:
21093 inlined remaining docs, added missing doc comments
21095 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
21097 * check/gst/gstbin.c: (GST_START_TEST):
21098 since we don't know when preroll is done, use refcount range
21100 * gst/check/gstcheck.h:
21101 add macro for checking refcount range
21103 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
21105 * check/Makefile.am:
21106 clean up environment for when registry gets built versus
21107 when actual tests are run; valgrind seems to not report
21108 leaks if GST_PLUGIN_PATH is set to some specific values
21109 * check/gst/gstbin.c: (GST_START_TEST):
21110 add more refcounting checks; maybe this exposes a
21112 * common/check.mak:
21113 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21114 * gst/check/gstcheck.h:
21115 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21116 (gst_bin_change_state):
21117 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21118 add/fix debugging/whitespace
21120 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
21122 * check/gst/gstevent.c: (event_probe), (test_event),
21124 Er, don't call gst_bin_watch_for_state_change you idiot.
21126 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
21128 * check/Makefile.am:
21129 Use CHECK_CFLAGS and CHECK_LIBS
21130 * check/gst/gstevent.c: (event_probe), (test_event),
21133 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21134 (gst_base_src_start), (gst_base_src_stop),
21135 (gst_base_src_activate_push), (gst_base_src_activate_pull),
21136 (gst_base_src_change_state):
21137 Sprinkle gst_base_src_stop liberally around error paths to fix
21138 problems reusing a source after failed state changes.
21139 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21140 (helper_find_suggest), (gst_type_find_helper):
21141 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21143 * docs/gst/tmpl/gstevent.sgml:
21144 Migrate part of the docs from the SGML file. Wait for ensonic to
21145 tell me how I did it wrong ;)
21146 * tools/gst-typefind.c: (main):
21147 Extra robustness to state changes between files.
21149 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
21151 * check/Makefile.am:
21152 don't valgrind the controller test - it's leaking - Stefan, HELP
21153 * gst/check/gstcheck.c: (gst_check_message_error),
21154 (gst_check_chain_func), (gst_check_setup_element),
21155 (gst_check_teardown_element), (gst_check_setup_src_pad),
21156 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21157 (gst_check_teardown_sink_pad):
21158 * gst/check/gstcheck.h:
21159 add a bunch of methods to set up elements, and src and sink pads
21160 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21161 * check/elements/identity.c: (setup_identity), (cleanup_identity),
21164 * gst/gstmessage.c:
21166 whitespace/doc fixes
21168 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21170 * gst/gstelement.h:
21171 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21172 be handled by the application and not always printed as well
21174 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21176 * check/Makefile.am:
21178 * gst/check/gstcheck.c: (gst_check_message_error):
21179 * gst/check/gstcheck.h:
21180 add a fail_unless_equals_int
21181 add fail_unless for error messages
21183 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21185 * check/Makefile.am:
21187 * common/Makefile.am:
21188 * common/check.mak:
21190 factor out some of the common stuff so we can use it
21192 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21194 * check/Makefile.am:
21195 * check/gst/gstiterator.c: (GST_START_TEST):
21196 * check/gst/gstsystemclock.c: (GST_START_TEST),
21197 (gst_systemclock_suite):
21198 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21200 valgrind more tests
21202 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21204 * check/elements/.cvsignore:
21205 * check/elements/gstfakesrc.c:
21206 rename to name of element
21207 * check/elements/identity.c: (chain_func), (event_func),
21208 (setup_identity), (cleanup_identity), (GST_START_TEST),
21209 (identity_suite), (main):
21210 add a test for identity
21211 * check/Makefile.am:
21212 * pkgconfig/Makefile.am:
21213 * pkgconfig/gstreamer-check.pc.in:
21214 * pkgconfig/gstreamer-check-uninstalled.pc.in:
21218 move the check stuff to a library that gets installed
21219 * check/gst-libs/controller.c: (GST_START_TEST):
21220 * check/gst-libs/gdp.c:
21221 * check/gst/gst.c: (GST_START_TEST):
21222 * check/gst/gstbin.c:
21223 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21224 * check/gst/gstbus.c:
21225 * check/gst/gstcaps.c: (GST_START_TEST):
21226 * check/gst/gstelement.c:
21227 * check/gst/gstghostpad.c:
21228 * check/gst/gstiterator.c:
21229 * check/gst/gstmessage.c:
21230 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21231 * check/gst/gstobject.c:
21232 * check/gst/gstpad.c: (GST_START_TEST):
21233 * check/gst/gststructure.c: (GST_START_TEST):
21234 * check/gst/gstsystemclock.c: (GST_START_TEST),
21235 (gst_systemclock_suite):
21236 * check/gst/gsttag.c: (gst_tag_suite):
21237 * check/gst/gstvalue.c:
21238 * check/pipelines/cleanup.c:
21239 * check/pipelines/simple_launch_lines.c:
21240 * check/states/sinks.c:
21241 change include statement
21243 * docs/gst/gstreamer-sections.txt:
21244 * docs/gst/tmpl/gstpad.sgml:
21245 document more pad stuff
21246 * gst/gstminiobject.c: (gst_mini_object_ref),
21247 (gst_mini_object_unref):
21250 2005-08-19 Stefan Kost <ensonic@users.sf.net>
21252 * docs/gst/tmpl/gst.sgml:
21254 eliminate another tmpl file, fix spelling in the long-description
21256 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21258 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21259 (test_event), (timediff), (gstevents_suite):
21260 Should fix build on 64-bit arch's
21262 2005-08-18 Andy Wingo <wingo@pobox.com>
21264 Make sure that when a pipeline goes to PLAYING, that data has
21265 actually hit the sink.
21267 * check/states/sinks.c (test_sink): A sink that doesn't get any
21268 data shouldn't return SUCCESS for going to either PLAYING or
21269 PAUSED. Test also the return values on the way back down.
21271 * gst/gstelement.c (gst_element_set_state): When changing the
21272 state of an element currently changing state asynchronously, go to
21273 lost-state after commiting the pending state. Makes future calls
21274 to get_state continue to return ASYNC.
21276 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21277 ASYNC when going to PLAYING if we still don't have preroll, as can
21278 happen with live sources.
21280 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21282 * docs/pwg/advanced-types.xml:
21283 Hack long paragraph into 2 chunks as a workaround for buggy
21284 jadetex version in sid and breezy that loops infinitely and
21287 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21289 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21290 (test_event), (timediff), (gstevents_suite):
21291 Provide more error margin in clock measurements to allow for
21292 g_get_current_time inaccuracies.
21294 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21296 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21297 (test_event), (timediff), (gstevents_suite):
21298 Fix error message output so I might be able to tell why the
21299 test works here but fails on the build farm.
21301 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21303 * check/Makefile.am:
21304 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21305 (test_event), (timediff), (gstevents_suite), (main):
21308 * docs/design/part-seeking.txt:
21309 Spelling correction
21311 * docs/gst/tmpl/gstevent.sgml:
21312 * docs/gst/tmpl/gstfakesrc.sgml:
21315 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21316 Treat a buffer-without-newsegment the same as a receiving
21317 a newsegment not in time format, and disable syncing to the clock
21320 * gst/gstbus.c: (gst_bus_set_sync_handler):
21321 Assert if anyone tries to replace the existing sync_handler for bus,
21322 as only the owner should be setting it.
21325 Have a fixed set of custom event enums with events identified by
21326 their structure name (as in 0.8), rather than a free-for-all
21327 allowing collisions between enum values from different plugins.
21329 * gst/gstpad.c: (gst_pad_class_init):
21332 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21333 Handle out-of-band downstream events from the sending thread.
21335 2005-08-17 Andy Wingo <wingo@pobox.com>
21337 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21338 play-timeout==0 to mean no timeout at all. In that case, don't
21339 bother with a get_state or a warning, just return directly, even
21342 * gst/base/gstbasetransform.c: Debug changes.
21345 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21346 ensure bins post state change messages. A bit of a hack but I can't
21347 think of a way to avoid it.
21349 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21351 2005-08-16 Andy Wingo <wingo@pobox.com>
21353 * gst/base/gstadapter.h:
21354 * gst/base/gstadapter.c (gst_adapter_take): New function, like
21355 peek() but you own the data. Not terribly efficient atm.
21357 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21359 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21360 (gst_element_found_tags):
21362 Add two utility functions for tag handling.
21364 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21366 * docs/manual/advanced-dataaccess.xml:
21367 * docs/manual/basics-helloworld.xml:
21368 Fix docs to use _bin_add() before _link(), which fixes the examples
21369 with recent core versions (reported by Madhan Raj M
21370 <raj_madan@rediffmail.com>, #313199).
21372 2005-08-16 Wim Taymans <wim@fluendo.com>
21374 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21375 Added subtract checks.
21377 * docs/design/part-events.txt:
21378 Some more docs about newsegment
21380 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21383 * gst/gstcaps.c: (gst_caps_to_string):
21384 Add comments, cleanups.
21386 * gst/gstelement.c: (gst_element_save_thyself):
21389 * gst/gstvalue.c: (gst_value_collect_int_range),
21390 (gst_string_unwrap), (gst_value_union_int_int_range),
21391 (gst_value_union_int_range_int_range),
21392 (gst_value_intersect_int_int_range),
21393 (gst_value_intersect_int_range_int_range),
21394 (gst_value_intersect_double_double_range),
21395 (gst_value_intersect_double_range_double_range),
21396 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21397 (gst_value_subtract_int_range_int),
21398 (gst_value_subtract_double_range_double),
21399 (gst_value_subtract_double_range_double_range),
21400 (gst_value_subtract_from_list), (gst_value_subtract_list),
21401 (gst_value_can_compare), (gst_value_compare_fraction):
21402 Cleanups, add comments, remove unneeded asserts.
21404 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21406 * tools/gst-launch.c: (event_loop):
21407 don't convert NULL structures to strings
21409 2005-08-15 Stefan Kost <ensonic@users.sf.net>
21411 * docs/gst/gstreamer-sections.txt:
21412 made some defines private
21413 * docs/gst/tmpl/gstconfig.sgml:
21414 * docs/gst/tmpl/gstqueue.sgml:
21415 * docs/gst/tmpl/gsttaglist.sgml:
21416 * docs/gst/tmpl/gsttypes.sgml:
21417 * docs/gst/tmpl/gstutils.sgml:
21418 * docs/pwg/appendix-porting.xml:
21419 * gst/base/gstbasesink.h:
21420 * gst/base/gstbasesrc.c:
21421 * gst/base/gstbasesrc.h:
21422 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21423 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21424 * gst/gstelement.c: (gst_element_class_init):
21425 * gst/gstpad.c: (gst_pad_class_init):
21426 * gst/gstqueue.c: (gst_queue_class_init):
21427 * gst/gstxml.c: (gst_xml_class_init):
21428 documented all undocumented signal inline
21429 * libs/gst/controller/gst-controller.h:
21432 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21434 * docs/pwg/appendix-porting.xml:
21435 Document _set_link_function -> _set_setcaps_function.
21437 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21439 * check/Makefile.am:
21440 add a .check target for running the check
21441 * check/gst-libs/controller.c: (GST_START_TEST):
21443 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21444 complete checks for gstbuffer; would be nice if I could get the
21445 gcov stuff to work so I can see if I actually completed gstbuffer.c
21446 * check/gstcheck.h:
21447 add ASSERT_BUFFER_REFCOUNT
21449 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
21451 * docs/gst/gstreamer-sections.txt:
21452 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21454 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21455 spew out a warning if a tag that is already registered
21456 is re-registered, unless it is re-registered with a
21457 different type (#308438).
21459 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
21461 * docs/pwg/appendix-porting.xml:
21462 * docs/pwg/building-state.xml:
21463 Add some paragraphs about state changes in 0.9 to the PWG
21464 and the porting guide, in particular about the new meaning
21465 of GST_STATE_PAUSED and how to write state change functions
21466 with concurrent access by multiple threads in mind.
21468 2005-08-11 Stefan Kost <ensonic@users.sf.net>
21470 * docs/gst/gstreamer-docs.sgml:
21471 * docs/libs/gstreamer-libs-docs.sgml:
21472 added deprecation and since indexes
21473 * libs/gst/controller/gst-controller.c:
21474 * libs/gst/controller/gst-helper.c:
21478 2005-08-11 Wim Taymans <wim@fluendo.com>
21480 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21481 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21482 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21483 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21484 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21485 (gst_ghost_pad_set_target):
21486 Actually implement (re)setting the target on a ghostpad
21487 as described in the docs.
21489 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21491 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21492 Check whether GST_DEBUG_NO_COLOR environment variable is
21493 set and disable coloured debug output if that is the case.
21495 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21497 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21498 (gst_type_find_helper):
21499 The memory returned by gst_type_find_peek() needs to
21500 stay valid until the end of a typefind function, and
21501 typefind functions may keep results from different
21502 offsets around, so we can't just unref the buffer from
21503 the previous _peek(), but have to save all buffers
21504 returned by _peek() until typefinding is done and only
21507 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
21509 * docs/gst/gstreamer-sections.txt:
21511 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21513 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21515 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21516 Fix a pretty good memleak.
21518 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21520 * gst/gstiterator.h:
21521 Fix wrong include and 'make distcheck'.
21523 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21525 * gst/gstbin.c: (bin_bus_handler):
21526 Use gst_element_post_message() instead.
21528 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21530 * gst/base/gstadapter.h:
21531 * gst/base/gstbasesink.h:
21532 * gst/base/gstbasesrc.h:
21533 * gst/base/gstbasetransform.h:
21534 * gst/base/gstcollectpads.h:
21535 * gst/base/gstpushsrc.h:
21536 * gst/gstiterator.h:
21537 Add padding to our base elements' class and instance structs and
21538 to GstIterator (you will need to rebuild all plugins and apps!)
21540 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21542 * gst/gstbin.c: (bin_bus_handler):
21543 Make default message forwarding from child->bus to bin->bus
21544 threadsafe and make it not emit warnings if the parent has no bus.
21546 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21548 * gst/gstelement.c: (activate_pads):
21549 On paused->ready, set pad->caps to NULL, as is the documented
21550 behaviour in this state change. Fixes playback of series of
21551 media files when visualization is enabled in Totem.
21553 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21555 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21556 Allow NULL as filter-caps (which means "any").
21558 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21560 * docs/libs/gstreamer-libs-sections.txt:
21561 * libs/gst/controller/gst-controller.c:
21562 * libs/gst/controller/gst-controller.h:
21563 * libs/gst/controller/gst-helper.c:
21564 adding more entries to the docs and fix small doc-bugs
21566 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21568 * docs/gst/gstreamer-docs.sgml:
21569 * docs/gst/gstreamer-sections.txt:
21570 * docs/gst/gstreamer.types:
21571 * docs/gst/tmpl/gstbasesink.sgml:
21572 * docs/gst/tmpl/gstbasesrc.sgml:
21573 * docs/gst/tmpl/gstbasetransform.sgml:
21574 * docs/gst/tmpl/gstfakesrc.sgml:
21575 * gst/base/gstcollectpads.c:
21576 * gst/base/gstcollectpads.h:
21577 * libs/gst/controller/gst-controller.c:
21578 * libs/gst/controller/gst-controller.h:
21579 * libs/gst/controller/gst-helper.c:
21580 * libs/gst/controller/gst-interpolation.c:
21581 * libs/gst/controller/lib.c:
21582 added long/short desc for controller docs
21583 added collectpads base class docs
21584 added correct includes to base-class docs
21586 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21588 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21589 (gst_test_mono_source_set_property),
21590 (gst_test_mono_source_class_init), (GST_START_TEST),
21591 (gst_controller_suite):
21592 * docs/gst/gstreamer-docs.sgml:
21593 * docs/gst/gstreamer-sections.txt:
21594 * docs/gst/gstreamer.types:
21595 * docs/libs/gstreamer-libs-docs.sgml:
21596 * docs/libs/gstreamer-libs-sections.txt:
21597 * gst/base/gstadapter.c:
21598 * libs/gst/controller/gst-controller.c:
21599 (gst_controlled_property_new), (gst_controlled_property_free),
21600 (gst_controller_new_valist),
21601 (gst_controller_remove_properties_valist),
21602 (gst_controller_sink_values), (_gst_controller_finalize):
21603 * libs/gst/controller/gst-controller.h:
21604 * libs/gst/controller/gst-helper.c:
21605 (gst_object_control_properties), (gst_object_uncontrol_properties),
21606 (gst_object_get_controller), (gst_object_set_controller),
21607 (gst_object_sink_values), (gst_object_get_value_arrays),
21608 (gst_object_get_value_array):
21609 more tests (and fixes) for the controller
21610 more docs for the controller
21611 integrated companies docs for the adapter
21613 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
21615 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21616 (GST_START_TEST), (fakesrc_suite):
21617 add tests for sizetype
21619 2005-08-04 Andy Wingo <wingo@pobox.com>
21621 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21622 fixes buffer_alloc proxying among other things.
21624 * gst/base/gstbasetransform.c:
21625 * gst/base/gstbasetransform.h:
21626 Revert patch to gstbasetransform from 7-28 removing
21629 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21630 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21631 Semantics changed, should return not the size of the output buffer
21632 but the byte size of a buffer with a given caps.
21634 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21636 (gst_base_transform_configure_caps): Don't set out_size here: (in,
21637 out) are not the pad caps until setcaps finishes.
21638 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21639 not-in-place case as well. Deal with changing from in-place to
21640 not-in-place within calling pad_alloc_buffer. Still a bit
21641 concerned about the overhead here...
21643 2005-08-03 Andy Wingo <wingo@pobox.com>
21645 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21646 fixating is an error.
21648 2005-08-04 Edward Hervey <edward@fluendo.com>
21650 * gst/base/gstadapter.h:
21651 Added gst_adapter_get_type() to the header
21653 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21655 * check/Makefile.am:
21656 * check/gst-libs/controller.c:
21657 * libs/gst/controller/gst-controller.c:
21658 (gst_controller_new_valist):
21659 added check test suite for the controller
21660 * gst/base/gstpushsrc.c:
21663 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21665 * docs/gst/Makefile.am:
21666 * docs/gst/gstreamer-docs.sgml:
21667 * docs/gst/gstreamer-sections.txt:
21668 * docs/gst/gstreamer.types:
21669 * docs/gst/tmpl/gstfakesrc.sgml:
21671 * gst/base/gstbasesink.c:
21672 * gst/base/gstbasesink.h:
21673 * gst/base/gstbasesrc.c:
21674 * gst/base/gstbasesrc.h:
21675 * gst/base/gstbasetransform.c:
21676 * gst/base/gstpushsrc.c:
21677 * gst/base/gstpushsrc.h:
21678 add short/long description docs to base classes
21679 add pushsrc to the docs
21680 remove consolidated doc fragments
21682 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21685 * docs/libs/Makefile.am:
21686 * docs/libs/gstreamer-libs-docs.sgml:
21687 * docs/libs/gstreamer-libs-sections.txt:
21688 * docs/libs/gstreamer-libs.types:
21689 * examples/Makefile.am:
21690 * examples/controller/.cvsignore:
21691 * examples/controller/Makefile.am:
21692 * examples/controller/audio-example.c: (main):
21693 * libs/gst/Makefile.am:
21694 * libs/gst/controller/.cvsignore:
21695 * libs/gst/controller/Makefile.am:
21696 * libs/gst/controller/gst-controller.c:
21697 (on_object_controlled_property_changed), (gst_timed_value_compare),
21698 (gst_timed_value_find),
21699 (gst_controlled_property_set_interpolation_mode),
21700 (gst_controlled_property_new), (gst_controlled_property_free),
21701 (gst_controller_find_controlled_property),
21702 (gst_controller_new_valist), (gst_controller_new),
21703 (gst_controller_remove_properties_valist),
21704 (gst_controller_remove_properties), (gst_controller_set),
21705 (gst_controller_set_from_list), (gst_controller_unset),
21706 (gst_controller_get), (gst_controller_get_all),
21707 (gst_controller_sink_values), (gst_controller_get_value_arrays),
21708 (gst_controller_get_value_array),
21709 (gst_controller_set_interpolation_mode),
21710 (_gst_controller_finalize), (_gst_controller_init),
21711 (_gst_controller_class_init), (gst_controller_get_type):
21712 * libs/gst/controller/gst-controller.h:
21713 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21714 (g_object_uncontrol_properties), (g_object_get_controller),
21715 (g_object_set_controller), (g_object_sink_values),
21716 (g_object_get_value_arrays), (g_object_get_value_array):
21717 * libs/gst/controller/gst-interpolation.c:
21718 (gst_controlled_property_find_timed_value_node),
21719 (interpolate_none_get), (interpolate_trigger_get),
21720 (interpolate_trigger_get_value_array):
21721 * libs/gst/controller/lib.c: (gst_controller_init):
21722 * pkgconfig/Makefile.am:
21723 * pkgconfig/gstreamer-control-uninstalled.pc.in:
21724 * pkgconfig/gstreamer-control.pc.in:
21725 * testsuite/Makefile.am:
21726 * testsuite/controller/.cvsignore:
21727 * testsuite/controller/Makefile.am:
21728 * testsuite/controller/interpolator.c: (main):
21729 added controller code
21730 removed dparam pc files
21732 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21733 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21734 (gst_collectpads_stop):
21735 Broadcast the condition when shutting down, to make sure we wake all
21736 threads up. Shut down pads on finalize, for safety.
21738 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21739 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21740 (gst_base_transform_handle_buffer),
21741 (gst_base_transform_change_state):
21742 Handle PAUSED->READY->PAUSED transition after negotiation
21744 * gst/gstmessage.c: (gst_message_init):
21745 Extra piece of debug for new messages.
21747 2005-08-01 Stefan Kost <ensonic@users.sf.net>
21750 * docs/gst/tmpl/gstbasesrc.sgml:
21751 * docs/gst/tmpl/gstelement.sgml:
21752 * docs/gst/tmpl/gstevent.sgml:
21753 * docs/gst/tmpl/gstfakesrc.sgml:
21754 * docs/gst/tmpl/gstformat.sgml:
21755 * docs/gst/tmpl/gstghostpad.sgml:
21756 * docs/gst/tmpl/gstpad.sgml:
21757 * docs/gst/tmpl/gstquery.sgml:
21758 * docs/gst/tmpl/gststructure.sgml:
21759 * docs/gst/tmpl/gsttaglist.sgml:
21760 * docs/gst/tmpl/gstvalue.sgml:
21761 * docs/libs/gstreamer-libs-docs.sgml:
21762 * docs/libs/gstreamer-libs-sections.txt:
21763 * docs/libs/gstreamer-libs.types:
21764 * libs/gst/Makefile.am:
21765 * libs/gst/control/.cvsignore:
21766 * libs/gst/control/Makefile.am:
21767 * libs/gst/control/control.c:
21768 * libs/gst/control/control.h:
21769 * libs/gst/control/dparam.c:
21770 * libs/gst/control/dparam.h:
21771 * libs/gst/control/dparam_smooth.c:
21772 * libs/gst/control/dparam_smooth.h:
21773 * libs/gst/control/dparamcommon.h:
21774 * libs/gst/control/dparammanager.c:
21775 * libs/gst/control/dparammanager.h:
21776 * libs/gst/control/dplinearinterp.c:
21777 * libs/gst/control/dplinearinterp.h:
21778 * libs/gst/control/unitconvert.c:
21779 * libs/gst/control/unitconvert.h:
21780 * testsuite/Makefile.am:
21781 * testsuite/dynparams/.cvsignore:
21782 * testsuite/dynparams/Makefile.am:
21783 * testsuite/dynparams/dparamstest.c:
21784 * tools/Makefile.am:
21785 * tools/gst-inspect.c: (print_element_info), (main):
21786 * tools/gst-xmlinspect.c: (print_element_info), (main):
21787 deactivate and remove dparams (libgstcontrol)
21789 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21791 * gst/elements/gsttypefindelement.c:
21792 (gst_type_find_element_have_type), (gst_type_find_element_init),
21793 (stop_typefinding), (gst_type_find_element_handle_event),
21794 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21795 * gst/elements/gsttypefindelement.h:
21796 Set caps on all outgoing buffers, not just the first one.
21798 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21800 * gst/elements/gsttypefindelement.c:
21801 (gst_type_find_element_have_type),
21802 (gst_type_find_element_check_set_buffer_caps),
21803 (gst_type_find_element_init), (stop_typefinding),
21804 (gst_type_find_element_handle_event),
21805 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21806 * gst/elements/gsttypefindelement.h:
21807 Set caps on first outgoing buffer when we've found the type.
21809 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21811 * docs/gst/gstreamer-docs.sgml:
21812 * docs/gst/gstreamer-sections.txt:
21813 * docs/gst/tmpl/gstscheduler.sgml:
21814 * docs/gst/tmpl/gstschedulerfactory.sgml:
21815 Remove some old cruft from docs.
21817 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
21820 Fix inline docs for GstPadLinkReturn.
21822 * gst/gststructure.c: (gst_structure_has_name):
21823 * gst/gststructure.h:
21824 * docs/gst/gstreamer-sections.txt:
21825 New API: gst_structure_has_name().
21827 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
21830 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21831 and _LARGEFILE_SOURCE in config.h as required. Do not
21832 export those flags in our .pc files any longer (#142209).
21834 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21836 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21837 (gst_file_sink_do_seek), (gst_file_sink_event),
21838 (gst_file_sink_get_current_offset), (gst_file_sink_render):
21839 Redo seek/tell calls with large file support in mind; add some
21840 debugging messages; add log message that tells us when large
21841 file support is unavailable or not enabled for some reason.
21843 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21844 Add log message that tells us when large file support
21845 is unavailable or not enabled for some reason.
21847 2005-07-29 Wim Taymans <wim@fluendo.com>
21849 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21850 Added test for removing an element with ghostpad from a bin.
21851 Fixed test as current implementation does the right thing.
21853 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21854 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21855 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21856 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21857 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21858 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21859 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21860 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21861 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21862 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21863 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21864 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21865 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21866 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21867 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21868 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21869 * gst/gstghostpad.h:
21870 Clean up ghostpads, remove properties for internal stuff.
21873 Prepare for switching targets, not all use cases work yet.
21875 2005-07-29 Wim Taymans <wim@fluendo.com>
21877 * docs/design/part-gstghostpad.txt:
21880 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21881 (gst_bin_remove_func):
21882 Unlinking pads while holding the bin LOCK is not a good
21885 * gst/gstpad.c: (gst_pad_class_init),
21886 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21887 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21888 No prob setting template after creating the pad.
21890 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
21892 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21893 (gst_bus_peek), (gst_bus_source_dispatch),
21894 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21895 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21896 gst_bus_poll may be called from other threads. Handle
21897 this nicely by not making poll_data disappear off the
21898 stack once gst_bus_poll returns.
21899 gst_bus_peek now increments the refcount on the returned
21902 2005-07-29 Wim Taymans <wim@fluendo.com>
21904 * docs/design/part-gstghostpad.txt:
21905 Overview of current GhostPad datastructures and use
21906 cases for changing the target.
21908 2005-07-28 Wim Taymans <wim@fluendo.com>
21910 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21911 Added checks for hierarchy consistency whan adding linked
21914 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21915 Added check to test element scheduling without bin/pipeline.
21917 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21918 First add elements to bin, then link.
21920 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21921 (gst_bin_remove_func):
21922 Unlink pads from elements added/removed from bin to maintain
21923 hierarchy consistency.
21925 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21927 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21928 (gst_base_transform_handle_buffer):
21929 * gst/base/gstbasetransform.h:
21930 Remove broken delay_configure (fixes renegotiation of software
21931 scaling pipelines); remove some leftover printf()s.
21933 2005-07-28 Wim Taymans <wim@fluendo.com>
21935 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21936 Added some more tests for wrong hierarchy
21938 * docs/design/part-overview.txt:
21941 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21944 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21945 (gst_element_dispose):
21946 Some more cleanups.
21948 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21949 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21950 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21951 (gst_pad_set_caps), (gst_pad_send_event):
21952 Check for correct hierarchy when linking pads. Moving to
21953 strict requirement for ghostpads when linking elements in
21957 Clean ups. Added WRONG_HIERARCHY return value.
21959 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21961 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21962 Better debug if no transform is possible.
21964 2005-07-27 Wim Taymans <wim@fluendo.com>
21966 * docs/random/wtay/network-transp:
21967 Some old doc I had.
21969 2005-07-27 Wim Taymans <wim@fluendo.com>
21971 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21972 (gst_dp_event_from_packet):
21973 Fix serialization of seek events.
21975 2005-07-27 Wim Taymans <wim@fluendo.com>
21977 * check/gst-libs/gdp.c: (GST_START_TEST):
21978 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21979 Fix compilation and fix event serialization.
21981 2005-07-27 Wim Taymans <wim@fluendo.com>
21984 * docs/design/part-TODO.txt:
21985 * docs/design/part-events.txt:
21988 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21989 (gst_base_sink_event), (gst_base_sink_do_sync),
21990 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21991 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21992 (gst_base_src_do_seek), (gst_base_src_event_handler),
21993 (gst_base_src_loop):
21994 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21995 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21996 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21997 (gst_base_transform_event), (gst_base_transform_handle_buffer),
21998 (gst_base_transform_set_passthrough),
21999 (gst_base_transform_is_passthrough):
22000 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22001 * gst/elements/gstfilesink.c: (gst_file_sink_event):
22007 * gst/gstelement.c: (gst_element_seek):
22008 * gst/gstelement.h:
22009 Update gst_element_seek.
22011 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
22012 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
22013 (gst_event_new_flush_start), (gst_event_new_flush_stop),
22014 (gst_event_new_eos), (gst_event_new_newsegment),
22015 (gst_event_parse_newsegment), (gst_event_new_tag),
22016 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
22017 (gst_event_parse_qos), (gst_event_new_seek),
22018 (gst_event_parse_seek), (gst_event_new_navigation):
22020 Make GstEvent use GstStructure. Add parsing code, make sure the
22021 API is sufficiently generic.
22022 Mark possible directions of events and serialization.
22024 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
22025 (_gst_message_copy), (gst_message_new_segment_start),
22026 (gst_message_new_segment_done), (gst_message_new_custom),
22027 (gst_message_parse_segment_start),
22028 (gst_message_parse_segment_done):
22031 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22032 (gst_pad_set_caps), (gst_pad_send_event):
22033 Update for new events.
22034 Catch events sent in wrong directions.
22036 * gst/gstqueue.c: (gst_queue_link_src),
22037 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22038 (gst_queue_handle_src_query):
22043 Remove event code from this file.
22045 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22046 (gst_dp_event_from_packet):
22049 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22051 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
22052 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22053 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
22054 Make debugging actually useful.
22056 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22058 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
22059 (gst_pad_fixate_caps):
22060 Implement default fixation once again, so that gst_pad_fixate()
22061 actually does anything at all. This probably needs to be some
22062 sort of a last resort, and use profile-based fixation first, but
22063 since that doesn't exist yet, this is the best we have. Fixes
22064 visualization in Totem.
22066 2005-07-22 Wim Taymans <wim@fluendo.com>
22068 * docs/design/part-events.txt:
22071 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22072 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
22073 (gst_base_sink_activate_pull):
22074 Some more comments.
22076 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22077 (gst_fake_src_create):
22078 Fix handoff marshall.
22080 * gst/elements/gstidentity.c: (gst_identity_class_init),
22081 (gst_identity_transform_ip):
22082 We're a real inplace element.
22084 * gst/gstbus.c: (gst_bus_post):
22085 Added some comments.
22087 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22088 * tests/muxing/case1.c: (main):
22089 * tests/sched/dynamic-pipeline.c: (main):
22090 * tests/sched/interrupt1.c: (main):
22091 * tests/sched/interrupt2.c: (main):
22092 * tests/sched/interrupt3.c: (main):
22093 * tests/sched/runxml.c: (main):
22094 * tests/sched/sched-stress.c: (main):
22095 * tests/seeking/seeking1.c: (event_received), (main):
22096 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22098 * tests/threadstate/threadstate3.c: (main):
22099 * tests/threadstate/threadstate4.c: (main):
22100 * tests/threadstate/threadstate5.c: (main):
22103 2005-07-21 Wim Taymans <wim@fluendo.com>
22105 * docs/design/part-seeking.txt:
22106 Some small additions.
22108 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22109 (gst_base_sink_get_times), (gst_base_sink_do_sync),
22110 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22111 * gst/base/gstbasesink.h:
22112 discont values are gint64, handle the math correctly.
22114 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22115 Make the basesrc report error if the source pad is not linked.
22117 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22118 (gst_queue_loop), (gst_queue_handle_src_query),
22119 (gst_queue_src_activate_push):
22120 Make queue collect data even if the srcpad is not linked.
22121 Start pushing out data as soon as it is linked.
22123 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22125 Added gst_flow_get_name() to ease error reporting.
22127 2005-07-20 Wim Taymans <wim@fluendo.com>
22129 * gst/gstmessage.c: (gst_message_new_segment_start),
22130 (gst_message_new_segment_done), (gst_message_parse_segment_start),
22131 (gst_message_parse_segment_done):
22132 * gst/gstmessage.h:
22133 Added a bunch of messages for advanced seeking.
22135 * gst/parse/grammar.y:
22136 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22137 (gst_dpman_state_changed):
22138 Fix some new-pad -> pad-added signals
22140 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22142 * docs/manual/appendix-porting.xml:
22143 * docs/pwg/appendix-porting.xml:
22144 Document new-pad/state-change signal renames and the FixedList
22147 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22149 * docs/manual/advanced-autoplugging.xml:
22150 * docs/manual/basics-helloworld.xml:
22151 * docs/manual/basics-pads.xml:
22152 * docs/random/ds/0.9-suggested-changes:
22153 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22154 * gst/gstelement.h:
22158 * gst/gststructure.c: (gst_structure_value_get_generic_type),
22159 (gst_structure_parse_array), (gst_structure_parse_value):
22160 * gst/gstvalue.c: (gst_type_is_fixed),
22161 (gst_value_list_prepend_value), (gst_value_list_append_value),
22162 (gst_value_list_get_size), (gst_value_list_get_value),
22163 (gst_value_transform_array_string), (gst_value_serialize_array),
22164 (gst_value_deserialize_array), (gst_value_intersect_array),
22165 (gst_value_is_fixed), (_gst_value_initialize):
22167 GstElement::new-pad -> pad-added, GstElement::state-change ->
22168 state-changed, GstValueFixedList -> GstValueArray, add format and
22169 flags as their own arguments in gst_element_seek() (should improve
22170 "bindeability"), remove function generators since they don't work
22171 under a whole bunch of compilers (they were deprecated already
22174 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22176 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22177 (_gst_debug_register_funcptr):
22179 Fix illegal cast on some platforms (#309253).
22181 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22183 * gst/gstmessage.c: (gst_message_new_custom):
22184 * gst/gstmessage.h:
22185 Add _new_custom, make _new_application a macro to _new_custom.
22187 2005-07-20 Wim Taymans <wim@fluendo.com>
22189 * gst/base/gstbasesrc.c: (gst_base_src_init),
22190 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22191 * gst/base/gstbasesrc.h:
22192 Add a gboolean to decide when to push out a discont.
22194 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22195 (gst_queue_loop), (gst_queue_handle_src_query),
22196 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22197 (gst_queue_set_property), (gst_queue_get_property):
22200 * tests/threadstate/threadstate1.c: (main):
22201 Make a thread test compile and run... very silly..
22204 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22206 * docs/manual/appendix-porting.xml:
22207 Mention removal of libgstgconf-0.9.la and existence of gconf
22210 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22212 * docs/pwg/advanced-clock.xml:
22213 * docs/pwg/appendix-porting.xml:
22214 * docs/pwg/intro-preface.xml:
22215 * docs/pwg/other-base.xml:
22216 * docs/pwg/other-manager.xml:
22217 * docs/pwg/other-nton.xml:
22218 * docs/pwg/other-ntoone.xml:
22219 * docs/pwg/other-oneton.xml:
22220 * docs/pwg/pwg.xml:
22221 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22222 demuxer), remove n-to-n (was never written), fix some code examples
22223 and links and update the porting section to include all this.
22225 2005-07-19 Wim Taymans <wim@fluendo.com>
22227 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22228 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22229 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22230 (gst_queue_src_activate_push), (gst_queue_change_state),
22231 (gst_queue_get_property):
22233 Propagate GstFlowReturn more intelligently upstream and output
22234 an ERROR/EOS when streaming stopped due to fatal error.
22236 2005-07-19 Wim Taymans <wim@fluendo.com>
22238 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22239 Don't block forever for the state change to complete, the
22240 pipeline already did with a sensible timeout.
22242 2005-07-19 Wim Taymans <wim@fluendo.com>
22244 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22245 Make sure we never call the create function is we
22248 2005-07-19 Andy Wingo <wingo@pobox.com>
22250 * gst/parse/parse.l: Attempt to solve bug #172815.
22252 2005-07-19 Wim Taymans <wim@fluendo.com>
22254 * docs/design/part-clocks.txt:
22255 * docs/design/part-events.txt:
22256 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22257 Small docs updates.
22258 Only update the seeking values when we are not
22261 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22263 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22264 Oops, ignore the result of gst_pad_push_event here.
22266 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22268 * gst/base/gstbasesrc.c: (gst_base_src_loop),
22269 (gst_base_src_activate_push):
22270 Send discont event from the loop function, as pads
22271 aren't activated yet in the activate_push handler.
22273 * gst/gstbin.c: (bin_bus_handler):
22274 Don't leak element name.
22276 2005-07-18 Andy Wingo <wingo@pobox.com>
22278 * configure.ac: Use AS_LIBTOOL_TAGS.
22280 2005-07-18 Wim Taymans <wim@fluendo.com>
22282 * docs/gst/gstreamer.types:
22283 Remove deleted types.
22285 2005-07-18 Wim Taymans <wim@fluendo.com>
22287 * check/elements/gstfakesrc.c: (GST_START_TEST):
22290 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22291 (init_popt_callback):
22293 * gst/gst_private.h:
22294 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22295 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22298 * gst/gstconfig.h.in:
22299 * gst/gstelement.c: (gst_element_class_init),
22300 (gst_element_set_base_time), (gst_element_get_base_time),
22301 (iterator_fold_with_resync), (gst_element_change_state),
22302 (gst_element_dispose), (gst_element_get_bus):
22303 * gst/gstelement.h:
22304 * gst/gstelementfactory.h:
22305 * gst/gsterror.c: (_gst_core_errors_init):
22308 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22310 * gst/gstinfo.c: (_gst_debug_init):
22311 * gst/gstmessage.c: (_gst_message_copy):
22312 * gst/gstmessage.h:
22313 * gst/gstminiobject.h:
22316 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22317 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22320 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22321 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22322 (gst_pipeline_get_last_stream_time):
22323 * gst/gstpipeline.h:
22324 * gst/gstpluginfeature.h:
22326 * gst/gstscheduler.c:
22327 * gst/gstscheduler.h:
22328 * gst/gststructure.h:
22329 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22330 (gst_task_finalize), (gst_task_func), (gst_task_create),
22331 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22332 (gst_task_stop), (gst_task_pause):
22334 * gst/gsttypefind.h:
22336 * gst/registries/gstlibxmlregistry.c: (load_feature),
22337 (gst_xml_registry_load), (gst_xml_registry_save_feature):
22338 * gst/registries/gstxmlregistry.c:
22339 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22340 * gst/schedulers/threadscheduler.c:
22341 * libs/gst/control/dparammanager.h:
22342 * tools/gst-inspect.c: (print_element_list),
22343 (print_plugin_features), (print_element_features):
22344 * tools/gst-xmlinspect.c: (print_element_list),
22345 (print_plugin_info), (main):
22346 Removed plugable schedulers.
22347 Removed Scheduler/Manager from elements.
22348 Removed gsttypes.h, rearranged includes.
22349 Removed dependency pad<->element, element<>pipeline, and
22350 various others, fix includes.
22351 implement gst_pad_get_parent() with gst_object_get_parent()
22352 Make GstTask sefcontained.
22353 Fix _get_state() on GstBin, it did not return ASYNC with a 0
22355 Fix endless loop in iterator_fold_with_resync.
22358 2005-07-18 Wim Taymans <wim@fluendo.com>
22364 2005-07-18 Wim Taymans <wim@fluendo.com>
22367 No more cothreads.h
22369 2005-07-18 Wim Taymans <wim@fluendo.com>
22373 Let's remove these.
22375 2005-07-18 Wim Taymans <wim@fluendo.com>
22377 * docs/design/part-dynamic.txt:
22378 * docs/design/part-events.txt:
22379 * docs/design/part-seeking.txt:
22380 Some more docs in the works.
22382 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22383 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22384 (gst_base_transform_setcaps), (gst_base_transform_get_size),
22385 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22386 (gst_base_transform_handle_buffer),
22387 (gst_base_transform_sink_activate_push),
22388 (gst_base_transform_src_activate_pull),
22389 (gst_base_transform_set_passthrough),
22390 (gst_base_transform_is_passthrough):
22393 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22396 * gst/gstevent.c: (gst_event_finalize):
22399 * gst/gstutils.c: (gst_element_unlink),
22400 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22401 (gst_pad_proxy_setcaps):
22403 Add _get_parent_element() to get a pads parent as an element.
22405 2005-07-18 Wim Taymans <wim@fluendo.com>
22407 * check/gst/gstbin.c: (GST_START_TEST):
22410 2005-07-18 Wim Taymans <wim@fluendo.com>
22412 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22413 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22414 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22415 (gst_base_sink_event), (gst_base_sink_do_sync),
22416 (gst_base_sink_chain), (gst_base_sink_loop),
22417 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22418 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22420 Fix logic for returning ASYNC when not prerolled.
22422 2005-07-18 Wim Taymans <wim@fluendo.com>
22424 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22425 Fix nasty refcount bug.
22427 2005-07-16 Philippe Khalaf <burger@speedy.org>
22429 * gst/elements/gstfdsrc.c:
22430 * gst/elements/gstfdsrc.h:
22431 * gst/elements/gstelements.c:
22432 * gst/elements/Makefile.am:
22433 Ported fdsrc to 0.9.
22435 2005-07-16 Wim Taymans <wim@fluendo.com>
22437 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22438 (gst_base_sink_do_sync):
22441 2005-07-16 Wim Taymans <wim@fluendo.com>
22443 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22444 (gst_base_sink_event), (gst_base_sink_get_times),
22445 (gst_base_sink_do_sync), (gst_base_sink_change_state):
22446 * gst/base/gstbasesink.h:
22447 Store and use discont values when syncing buffers as described
22450 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22451 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22452 (gst_base_src_activate_push):
22453 Push discont event when starting.
22455 * gst/elements/gstidentity.c: (gst_identity_transform):
22458 * gst/gstbin.c: (gst_bin_change_state):
22459 Small cleanups in base_time distribution.
22461 * gst/gstelement.c: (gst_element_set_base_time),
22462 (gst_element_get_base_time), (gst_element_change_state):
22463 * gst/gstelement.h:
22464 Added methods for the base_time of the element.
22467 * gst/gstpipeline.c: (gst_pipeline_send_event),
22468 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22469 (gst_pipeline_get_last_stream_time):
22470 * gst/gstpipeline.h:
22472 Handle seeking as described in design doc, remove stream_time
22474 Cleanups clock and stream_time selection code. Added accessors
22475 for the stream_time.
22478 2005-07-16 Andy Wingo <wingo@pobox.com>
22480 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22483 2005-07-16 Wim Taymans <wim@fluendo.com>
22485 * check/gst/gstbin.c: (GST_START_TEST):
22486 Make elements silent as the deep_notify refs the
22487 parent, which might make the test fail.
22489 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22490 Don't hold the lock for too long.
22492 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
22494 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22495 Don't unref the caps we passed to gst_caps_make_writable() after
22496 passing them. gst_caps_make_writable() will do that for us.
22498 2005-07-15 Andy Wingo <wingo@pobox.com>
22500 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22503 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22504 own marshalling function for the handoff signal. Properly type the
22505 buffer as a buffer. Fixes some warnings. Should do a more general
22507 (gst_identity_class_init): Plug into the right marshaller.
22509 2005-07-15 Wim Taymans <wim@fluendo.com>
22511 * docs/design/part-TODO.txt:
22512 * docs/design/part-clocks.txt:
22513 * docs/design/part-element-sink.txt:
22514 * docs/design/part-events.txt:
22515 * docs/design/part-gstpipeline.txt:
22516 Updated docs, mostly DISCONT related.
22518 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
22520 * docs/pwg/building-pads.xml:
22521 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22523 2005-07-15 Andy Wingo <wingo@pobox.com>
22525 * tools/gst-typefind.c: Update, add copyright block.
22527 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22528 Normalize and truncate caps before fixation.
22531 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22532 discards all but the first structure from its argument.
22534 2005-07-15 Wim Taymans <wim@fluendo.com>
22536 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22537 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22538 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22539 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22540 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22541 (gst_base_transform_chain), (gst_base_transform_change_state),
22542 (gst_base_transform_set_passthrough),
22543 (gst_base_transform_is_passthrough):
22544 * gst/base/gstbasetransform.h:
22545 Make passthrough work using the bufferpools.
22546 Changed API a bit, subclasses have to write into a buffer
22547 provided by the base class.
22548 More debug info in nego functions.
22550 * gst/elements/gstidentity.c: (gst_identity_init),
22551 (gst_identity_transform):
22552 Port to new base class.
22554 2005-07-15 Wim Taymans <wim@fluendo.com>
22556 * gst/gstmessage.c: (gst_message_new_state_changed):
22557 * tools/gst-launch.c: (event_loop), (main):
22558 Totally dump messages in -launch with the -m option.
22559 Fix message name for State messages,
22561 2005-07-14 Wim Taymans <wim@fluendo.com>
22563 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22564 Post error messages on errors.
22566 2005-07-14 Wim Taymans <wim@fluendo.com>
22568 * gst/gstcaps.c: (gst_caps_do_simplify):
22572 Define error for stream stopped.
22574 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22575 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22576 Do proper return values.
22578 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22579 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22580 (gst_pad_get_range):
22581 Better return values.
22584 Reorganise return values, add macro to check for fatal errors.
22586 * gst/gstqueue.c: (gst_queue_chain):
22587 Return proper GstFlowReturn values,
22589 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
22591 * docs/gst/gstreamer-sections.txt:
22592 * docs/gst/gstreamer.types:
22593 * docs/gst/tmpl/gst.sgml:
22594 * docs/gst/tmpl/gstbasesink.sgml:
22595 * docs/gst/tmpl/gstbasesrc.sgml:
22596 * docs/gst/tmpl/gstbasetransform.sgml:
22597 * docs/gst/tmpl/gstbin.sgml:
22598 * docs/gst/tmpl/gstbuffer.sgml:
22599 * docs/gst/tmpl/gstcaps.sgml:
22600 * docs/gst/tmpl/gstclock.sgml:
22601 * docs/gst/tmpl/gstcompat.sgml:
22602 * docs/gst/tmpl/gstconfig.sgml:
22603 * docs/gst/tmpl/gstelement.sgml:
22604 * docs/gst/tmpl/gstelementdetails.sgml:
22605 * docs/gst/tmpl/gstelementfactory.sgml:
22606 * docs/gst/tmpl/gstenumtypes.sgml:
22607 * docs/gst/tmpl/gsterror.sgml:
22608 * docs/gst/tmpl/gstevent.sgml:
22609 * docs/gst/tmpl/gstfakesink.sgml:
22610 * docs/gst/tmpl/gstfakesrc.sgml:
22611 * docs/gst/tmpl/gstfilesink.sgml:
22612 * docs/gst/tmpl/gstfilesrc.sgml:
22613 * docs/gst/tmpl/gstfilter.sgml:
22614 * docs/gst/tmpl/gstformat.sgml:
22615 * docs/gst/tmpl/gstghostpad.sgml:
22616 * docs/gst/tmpl/gstimplementsinterface.sgml:
22617 * docs/gst/tmpl/gstindex.sgml:
22618 * docs/gst/tmpl/gstindexfactory.sgml:
22619 * docs/gst/tmpl/gstinfo.sgml:
22620 * docs/gst/tmpl/gstiterator.sgml:
22621 * docs/gst/tmpl/gstmacros.sgml:
22622 * docs/gst/tmpl/gstmemchunk.sgml:
22623 * docs/gst/tmpl/gstminiobject.sgml:
22624 * docs/gst/tmpl/gstobject.sgml:
22625 * docs/gst/tmpl/gstpad.sgml:
22626 * docs/gst/tmpl/gstpadtemplate.sgml:
22627 * docs/gst/tmpl/gstparse.sgml:
22628 * docs/gst/tmpl/gstpipeline.sgml:
22629 * docs/gst/tmpl/gstplugin.sgml:
22630 * docs/gst/tmpl/gstpluginfeature.sgml:
22631 * docs/gst/tmpl/gstquery.sgml:
22632 * docs/gst/tmpl/gstqueue.sgml:
22633 * docs/gst/tmpl/gstregistry.sgml:
22634 * docs/gst/tmpl/gstregistrypool.sgml:
22635 * docs/gst/tmpl/gstscheduler.sgml:
22636 * docs/gst/tmpl/gstschedulerfactory.sgml:
22637 * docs/gst/tmpl/gststructure.sgml:
22638 * docs/gst/tmpl/gstsystemclock.sgml:
22639 * docs/gst/tmpl/gsttaglist.sgml:
22640 * docs/gst/tmpl/gsttagsetter.sgml:
22641 * docs/gst/tmpl/gsttrace.sgml:
22642 * docs/gst/tmpl/gsttrashstack.sgml:
22643 * docs/gst/tmpl/gsttypefind.sgml:
22644 * docs/gst/tmpl/gsttypefindfactory.sgml:
22645 * docs/gst/tmpl/gsttypes.sgml:
22646 * docs/gst/tmpl/gsturihandler.sgml:
22647 * docs/gst/tmpl/gsturitype.sgml:
22648 * docs/gst/tmpl/gstutils.sgml:
22649 * docs/gst/tmpl/gstvalue.sgml:
22650 * docs/gst/tmpl/gstversion.sgml:
22651 * docs/gst/tmpl/gstxml.sgml:
22652 * docs/libs/tmpl/gstcontrol.sgml:
22653 * docs/libs/tmpl/gstdataprotocol.sgml:
22654 * docs/libs/tmpl/gstdparam.sgml:
22655 * docs/libs/tmpl/gstdplinint.sgml:
22656 * docs/libs/tmpl/gstdpman.sgml:
22657 * docs/libs/tmpl/gstdpsmooth.sgml:
22658 * docs/libs/tmpl/gstgetbits.sgml:
22659 * docs/libs/tmpl/gstunitconvert.sgml:
22660 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22661 (gst_push_src_base_init), (gst_push_src_class_init),
22662 (gst_push_src_init), (gst_push_src_create):
22663 * gst/base/gstpushsrc.h:
22664 * gst/elements/gstelements.c:
22665 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22666 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22667 (gst_fake_sink_init), (gst_fake_sink_set_property),
22668 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22669 (gst_fake_sink_event), (gst_fake_sink_preroll),
22670 (gst_fake_sink_render), (gst_fake_sink_change_state):
22671 * gst/elements/gstfakesink.h:
22672 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22673 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22674 (gst_fake_src_base_init), (gst_fake_src_class_init),
22675 (gst_fake_src_init), (gst_fake_src_event_handler),
22676 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22677 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22678 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22679 (gst_fake_src_create_buffer), (gst_fake_src_create),
22680 (gst_fake_src_start), (gst_fake_src_stop):
22681 * gst/elements/gstfakesrc.h:
22682 * gst/elements/gstfilesink.c: (_do_init),
22683 (gst_file_sink_base_init), (gst_file_sink_class_init),
22684 (gst_file_sink_init), (gst_file_sink_dispose),
22685 (gst_file_sink_set_location), (gst_file_sink_set_property),
22686 (gst_file_sink_get_property), (gst_file_sink_open_file),
22687 (gst_file_sink_close_file), (gst_file_sink_query),
22688 (gst_file_sink_event), (gst_file_sink_render),
22689 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22690 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22691 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22692 * gst/elements/gstfilesink.h:
22693 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22694 (gst_file_src_class_init), (gst_file_src_init),
22695 (gst_file_src_finalize), (gst_file_src_set_location),
22696 (gst_file_src_set_property), (gst_file_src_get_property),
22697 (gst_file_src_map_region), (gst_file_src_map_small_region),
22698 (gst_file_src_create_mmap), (gst_file_src_create_read),
22699 (gst_file_src_create), (gst_file_src_is_seekable),
22700 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22701 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22702 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22703 (gst_file_src_uri_handler_init):
22704 * gst/elements/gstfilesrc.h:
22705 more autistic cleanliness in functions/names/defines
22707 2005-07-13 Andy Wingo <wingo@pobox.com>
22709 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22710 source couldn't negotiate.
22712 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22716 * gst/gstutils.c (gst_element_link_pads_filtered): New old
22717 function. I am channeling Hades. Put your boots on suckers!!!
22719 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
22721 * testsuite/caps/Makefile.am:
22722 * testsuite/caps/value_compare.c:
22723 * testsuite/caps/value_intersect.c:
22724 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22725 move two testsuite apps over to the check dir
22727 2005-07-12 Wim Taymans <wim@fluendo.com>
22729 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22730 Added more debug info in the negotiate process.
22732 * gst/gstmessage.h:
22733 Prepare for segment playback.
22735 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22741 * tools/gst-launch.c: (main):
22742 NULL pipeline on errors.
22744 2005-07-12 Andy Wingo <wingo@pobox.com>
22746 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22747 not it comes from a malloc region. Make sure our copy gets freed.
22749 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22751 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22752 * check/gst/gstmessage.c: (GST_START_TEST):
22753 * check/gst/gststructure.c: (GST_START_TEST),
22754 (gst_structure_suite), (main):
22756 * gst/gstelement.c: (gst_element_message_full):
22757 clean up GError and debug string now that they get copied
22758 * gst/gstmessage.c: (gst_message_new_error),
22759 (gst_message_new_warning), (gst_message_parse_error),
22760 (gst_message_parse_warning):
22761 use GST_TYPE_G_ERROR for structure_new, and take copies of
22762 arguments, so that we don't mess up refcounting
22764 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22766 * check/Makefile.am:
22767 add per-test valgrind targets
22768 * check/gst-libs/gdp.c: (GST_START_TEST),
22769 (gst_data_protocol_suite), (main):
22772 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22774 * check/Makefile.am:
22775 instate more valgrindable tests
22776 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22777 (GST_START_TEST), (fakesrc_suite):
22778 * check/gst/gstpad.c: (GST_START_TEST):
22779 * check/gst/gststructure.c: (GST_START_TEST):
22781 * docs/gst/tmpl/gstminiobject.sgml:
22782 * gst/gstpad.c: (gst_pad_finalize):
22783 fix the static mutex leak
22785 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22787 * check/Makefile.am:
22788 add two more tests for valgrinding
22789 * check/gst/gstvalue.c: (GST_START_TEST):
22790 test refcount of deserialized buffer, found a leak
22791 * docs/gst/gstreamer-docs.sgml:
22792 * docs/gst/gstreamer-sections.txt:
22793 * docs/gst/gstreamer.types:
22794 * docs/gst/tmpl/gstminiobject.sgml:
22795 add miniobject to docs
22796 * gst/gstminiobject.c:
22798 * gst/gstvalue.c: (gst_value_deserialize_buffer),
22799 (gst_string_unwrap):
22800 fix a hard-to-find invalid write for one of the tests
22801 fix a leak for deserialized buffers
22803 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22805 * docs/pwg/advanced-events.xml:
22806 * docs/pwg/advanced-request.xml:
22807 * docs/pwg/advanced-scheduling.xml:
22808 * docs/pwg/appendix-porting.xml:
22809 * docs/pwg/building-boiler.xml:
22810 * docs/pwg/intro-preface.xml:
22811 * docs/pwg/other-ntoone.xml:
22812 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22813 of example code and explanation for pad activation, loop() and
22814 getrange() functions and a bit more. Remove old comments pointing
22816 * examples/pwg/Makefile.am:
22817 Add loop/getrange examples.
22819 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22822 check for valgrind binary + some fixes
22824 valgrind suppressions for the tests
22825 * check/Makefile.am:
22826 add a valgrind: target that valgrinds the unit tests
22827 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22828 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22829 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22830 * check/gst/gstghostpad.c:
22832 * check/gst/gstdata.c:
22834 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22835 (thread_unref), (gst_mini_object_suite), (main):
22837 * gst/gst.c: (gst_deinit):
22839 add a method to clean up.
22840 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22841 (gst_system_clock_obtain):
22842 allow for disposing the system clock.
22843 * tools/gst-launch.c: (main):
22846 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22848 * docs/gst/tmpl/gstbasesrc.sgml:
22849 * docs/gst/tmpl/gstfakesrc.sgml:
22850 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22851 (gst_base_src_init), (gst_base_src_set_property),
22852 (gst_base_src_get_property), (gst_base_src_get_range),
22853 (gst_base_src_start):
22854 * gst/base/gstbasesrc.h:
22855 add num-buffers property
22856 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22857 (gst_fakesrc_init), (gst_fakesrc_set_property),
22858 (gst_fakesrc_get_property), (gst_fakesrc_create),
22859 (gst_fakesrc_start):
22860 remove num-buffers property
22862 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22864 * docs/gst/gstreamer-sections.txt:
22865 * docs/gst/tmpl/gstbasesink.sgml:
22866 * docs/gst/tmpl/gstbasesrc.sgml:
22867 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22868 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22869 (gst_base_sink_finalize), (gst_base_sink_set_clock),
22870 (gst_base_sink_set_property), (gst_base_sink_get_property),
22871 (gst_base_sink_handle_object), (gst_base_sink_event),
22872 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22873 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22874 (gst_base_sink_loop), (gst_base_sink_deactivate),
22875 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22876 (gst_base_sink_change_state):
22877 * gst/base/gstbasesink.h:
22878 * gst/base/gstbasesrc.h:
22879 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22880 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22881 (gst_filesink_init):
22882 more macro splitting
22884 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22886 * gst/gstelement.c: (gst_element_get_bus):
22888 * tools/gst-launch.c: (check_intr), (event_loop):
22891 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22893 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22896 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22898 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22899 (gst_base_src_finalize):
22900 add finalize method and clean up properly
22901 * gst/gstpipeline.c: (gst_pipeline_dispose):
22904 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22906 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22908 add more things to check
22909 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22910 * gst/gstelement.c:
22913 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22915 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22916 (GST_START_TEST), (fakesrc_suite):
22917 * check/gst-libs/gdp.c: (GST_START_TEST):
22918 * check/gst/gst.c: (GST_START_TEST):
22919 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22920 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22921 * check/gst/gstbus.c: (GST_START_TEST):
22922 * check/gst/gstcaps.c: (GST_START_TEST):
22923 * check/gst/gstdata.c: (GST_START_TEST):
22924 * check/gst/gstelement.c: (GST_START_TEST):
22925 * check/gst/gstghostpad.c: (GST_START_TEST):
22926 * check/gst/gstiterator.c: (GST_START_TEST):
22927 * check/gst/gstmessage.c: (GST_START_TEST):
22928 * check/gst/gstobject.c: (GST_START_TEST):
22929 * check/gst/gstpad.c: (GST_START_TEST):
22930 * check/gst/gststructure.c: (GST_START_TEST):
22931 * check/gst/gstsystemclock.c: (GST_START_TEST),
22932 (gst_systemclock_suite):
22933 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22934 * check/gst/gstvalue.c: (GST_START_TEST):
22935 * check/pipelines/cleanup.c: (GST_START_TEST):
22936 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22937 * check/states/sinks.c: (GST_START_TEST):
22938 * check/gstcheck.c: (gst_check_init):
22939 * check/gstcheck.h:
22940 add debugging category
22941 use GST_START_TEST now, so we add a debug line
22943 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22945 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22946 add test for state change message on a bin
22947 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22949 * gst/gstbin.c: (gst_bin_init):
22950 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22951 * gst/gstelement.c: (gst_element_post_message),
22952 (gst_element_set_state):
22953 * gst/gstelementfactory.c: (gst_element_factory_create):
22954 * gst/gstmessage.c: (gst_message_new):
22955 * gst/gstscheduler.c:
22956 various debugging additions and cleanups
22958 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22960 * check/Makefile.am:
22961 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22963 adding tests for elements
22964 * gst/gstelement.c: (gst_element_dispose):
22966 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22968 * gst/registries/gstlibxmlregistry.c: (load_feature):
22969 plug more leaks. A simple gst_init() now is leakfree, yay.
22971 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22973 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22974 (gst_xml_registry_load):
22975 plug another memleak
22977 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22980 use GST_SET_ERROR_CFLAGS
22981 * docs/faq/cvs.xml:
22982 change to ERROR_CFLAGS
22984 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22987 make GST_ERROR_CFLAGS overridable and re-enable Werror
22988 * docs/faq/cvs.xml:
22989 add a note about error CFLAGS
22990 * docs/gst/tmpl/gstfakesrc.sgml:
22991 * gst/elements/gstfakesrc.c:
22992 comment out some unused code
22993 * gst/gst.c: (split_and_iterate):
22994 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22998 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
23000 * common/Makefile.am:
23001 * common/gtk-doc.mak:
23002 * docs/gst/Makefile.am:
23003 factor out gtk-doc.mak
23005 2005-07-07 Wim Taymans <wim@fluendo.com>
23007 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
23008 (gst_thread_scheduler_dispose):
23009 Unlock the STREAM_LOCK completely.
23011 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
23013 * check/Makefile.am:
23014 * check/elements/.cvsignore:
23015 * check/elements/gstfakesrc.c: (chain_func), (event_func),
23016 (START_TEST), (fakesrc_suite), (main):
23017 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23018 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23019 (gst_fakesrc_create), (gst_fakesrc_start):
23020 * gst/elements/gstfakesrc.h:
23021 adding a first element test
23023 2005-07-07 Andy Wingo <wingo@pobox.com>
23025 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
23028 2005-07-07 Wim Taymans <wim@fluendo.com>
23034 2005-07-07 Wim Taymans <wim@fluendo.com>
23036 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23037 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
23038 Allow subclasses to implement their own negotiation.
23040 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23042 * docs/design/part-gstbin.txt:
23043 * docs/design/part-gstpipeline.txt:
23044 Update design notes to reflect the movement of
23045 responsibility for bus handling from GstPipeline to
23048 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23051 Remove unnecessary queue2/3/4 examples.
23053 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23055 * examples/Makefile.am:
23056 * examples/helloworld/helloworld.c: (event_loop), (main):
23057 * examples/queue/queue.c: (event_loop), (main):
23058 * examples/queue2/queue2.c: (main):
23059 Update a couple of the examples to work again.
23061 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23062 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
23063 Spelling corrections and extra debug.
23065 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
23066 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
23067 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
23069 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23070 (gst_pipeline_change_state):
23071 * gst/gstpipeline.h:
23072 Move the bus handler for children to the GstBin, and create a
23073 separate bus for receiving messages from children to the one the
23074 bus sends 'upwards' on.
23076 2005-07-06 Wim Taymans <wim@fluendo.com>
23079 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23080 (gst_base_sink_handle_object), (gst_base_sink_loop),
23081 (gst_base_sink_change_state):
23082 * gst/base/gstbasesink.h:
23083 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23084 (gst_base_src_init), (gst_base_src_setcaps),
23085 (gst_base_src_getcaps), (gst_base_src_loop),
23086 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23087 (gst_base_src_start), (gst_base_src_change_state):
23088 * gst/base/gstbasesrc.h:
23089 Make basesrc negotiate.
23090 Handle the case where preroll fails in basesink.
23093 2005-07-06 Wim Taymans <wim@fluendo.com>
23095 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23096 Implement the fixate function.
23097 Clean up acceptcaps.
23099 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23101 * docs/pwg/building-filterfactory.xml:
23102 * docs/pwg/pwg.xml:
23103 Remove never-written filter-factory chapter; I'll add the various
23104 base classes to part 4 ("other element types") later on.
23106 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23108 * docs/pwg/advanced-negotiation.xml:
23109 * docs/pwg/building-boiler.xml:
23110 * docs/pwg/building-pads.xml:
23111 * docs/pwg/pwg.xml:
23112 * examples/pwg/Makefile.am:
23113 Add a chapter on caps negotiation, simplify the original code
23114 samples a bit w.r.t. caps negotiation, add link to the advanced
23115 section. Add a bunch of examples showing different use cases of
23116 different types of caps negotiation. Upstream renegotiation isn't
23117 fully documented yet since nobody knows how that works.
23119 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
23121 * check/gst/gstpad.c:
23122 * check/gstcheck.c:
23123 * gst/gstpad.c: (gst_pad_get_internal_links_default):
23124 if pad has no parent, return NULL as list of internal links
23126 2005-07-05 Andy Wingo <wingo@pobox.com>
23128 * gst/elements/gstfilesrc.c:
23129 * gst/elements/gstfakesrc.c:
23130 * gst/base/gstpushsrc.c:
23131 * gst/base/gstbasesrc.h:
23132 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23134 2005-07-05 Stefan Kost <ensonic@users.sf.net>
23137 better report generation target (lcov needs a patch)
23139 2005-07-05 Andy Wingo <wingo@pobox.com>
23141 * gst/elements, testsuite: Null if we got it...
23143 2005-07-05 Wim Taymans <wim@fluendo.com>
23146 * libs/gst/dataprotocol/Makefile.am:
23147 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23148 * libs/gst/dataprotocol/dataprotocol.h:
23149 * pkgconfig/Makefile.am:
23150 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23151 * pkgconfig/gstreamer-dataprotocol.pc.in:
23152 Ported dataprotol to 0.9.
23153 Added pkgconfig files.
23155 2005-07-05 Andy Wingo <wingo@pobox.com>
23157 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23158 Default to returning TRUE for the case when tranform_caps returns
23159 a fixed caps, like for identity or volume.
23161 * check/gst/gstbus.c (pound_bus_with_messages):
23162 * check/gst/gstmessage.c (START_TEST):
23163 * check/pipelines/simple_launch_lines.c (got_handoff): Application
23164 message API change.
23166 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23167 logic weaks here: always run transform_caps, trying passthrough
23168 operation only if the original caps intersects with the transform.
23170 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23171 source and sink caps.
23173 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23174 Intersect the peer caps with the pad template before going into
23176 (gst_base_transform_transform_caps): More debugging.
23178 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23181 2005-07-04 Edward Hervey <edward@fluendo.com>
23185 (gst_pad_add_*_probe): now returns the signal id for better wrapping
23188 2005-07-04 Andy Wingo <wingo@pobox.com>
23190 * check/gst/gstpad.c: Only set explicit caps on pads.
23192 2005-07-01 Andy Wingo <wingo@pobox.com>
23194 * tests/network-clock.scm: Commentary update.
23196 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23197 Didn't really make sense, not implementable with basetransform,
23199 (gst_identity_transform): Unref inbuf via make_writable. Feeble
23200 attempt at implementing the sync property, needs an unlock method.
23202 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23203 New func, by default returns the same caps (the identity
23205 (gst_base_transform_getcaps): Uses transform_caps to return
23206 something sensible.
23207 (gst_base_transform_setcaps): Complicated logic to get caps on
23208 both pads, even if they are different, and to call set_caps once
23209 for every time both pads get their caps set.
23210 (gst_base_transform_handle_buffer): Give the ref to the transform
23211 function. Allows in-place modification of the buffer.
23213 * gst/base/gstbasetransform.h (transform_caps): New class method.
23214 Given caps on one side, what can I do on the other.
23215 (set_caps): Take two caps, one for each side of the element.
23218 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23219 caps in place. This is safe because we can check the mutability of
23220 the caps, and a good idea because fixate functions are just called
23221 as a matter of last resort. (Not actually implemented.)
23222 (gst_pad_set_caps): If the caps we're setting is actually the same
23223 as the existing pad caps, just update the pointer without calling
23224 setcaps. Assert that caps is either NULL or fixed, as per the
23227 * gst/gstghostpad.c: Update for fixate changes.
23229 2005-07-02 Andy Wingo <wingo@pobox.com>
23232 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23233 two refcounts makes it immutable, which is enough. Doc more.
23235 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
23237 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23238 Put the mini_object into GValue as a mini_object,
23239 not a gpointer, since that's how we declared
23242 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23244 * examples/pwg/Makefile.am:
23245 Fix buildbot again.
23247 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23249 * docs/pwg/building-testapp.xml:
23251 * examples/pwg/Makefile.am:
23254 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23257 * examples/Makefile.am:
23258 * examples/pwg/Makefile.am:
23259 * examples/pwg/extract.pl:
23260 Enable building the PWG examples.
23261 * docs/pwg/advanced-interfaces.xml:
23262 Add URI interface stub.
23263 * docs/pwg/advanced-types.xml:
23264 * docs/pwg/other-autoplugger.xml:
23265 * docs/pwg/appendix-porting.xml:
23266 * docs/pwg/pwg.xml:
23267 Add porting guide (mostly stubs), remove autoplugging (see ADM).
23268 * docs/pwg/building-boiler.xml:
23269 * docs/pwg/building-chainfn.xml:
23270 * docs/pwg/building-pads.xml:
23271 * docs/pwg/building-props.xml:
23272 * docs/pwg/building-state.xml:
23273 * docs/pwg/building-testapp.xml:
23274 Update the building-*.xml parts for 0.9 changes. All examples
23275 code blocks compile in examples/pwg/*.
23277 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23279 * docs/manual/advanced-autoplugging.xml:
23280 * docs/manual/appendix-checklist.xml:
23281 * docs/manual/appendix-integration.xml:
23282 * docs/manual/highlevel-components.xml:
23283 Fix playbin/decodebin examples, update docs a bit, mention bus
23284 instead of signals in various places, mention kmplayer and
23285 kaffeine since they have a working GStreamer backend in the KDE
23288 2005-06-30 Wim Taymans <wim@fluendo.com>
23291 * docs/design/draft-ghostpads.txt:
23292 * docs/design/draft-push-pull.txt:
23293 * docs/design/draft-query.txt:
23294 * docs/design/part-TODO.txt:
23295 * docs/design/part-query.txt:
23296 Added CHANGES-0.9 doc, updated status of other docs.
23301 2005-06-30 Wim Taymans <wim@fluendo.com>
23303 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23304 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23305 (gst_base_sink_change_state):
23306 * gst/base/gstbasesink.h:
23307 Some tweaks, only EOS and a buffer complete a preroll.
23309 2005-06-30 Andy Wingo <wingo@pobox.com>
23311 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23312 activate_push down to the internal pad as well.
23314 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
23316 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23318 * gst/gsttaginterface.c:
23319 Some documentation fixes (#307394 and #307397).
23321 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
23323 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23325 * gst/gstvalue.c: (gst_value_intersect_list):
23326 Fix memleak (#309125).
23328 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23330 * docs/manual/advanced-dataaccess.xml:
23331 Fix fakesrc example to compile; doesn't work, bug somewhere...?
23332 * docs/manual/basics-pads.xml:
23333 Add reference for filtered caps to above chapter.
23335 2005-06-30 Wim Taymans <wim@fluendo.com>
23337 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23338 (gst_bin_change_state):
23340 Lame attempt at making the state change function a bit
23343 2005-06-30 Wim Taymans <wim@fluendo.com>
23345 * docs/design/part-clocks.txt:
23346 * docs/design/part-element-sink.txt:
23347 * docs/design/part-events.txt:
23348 * docs/design/part-preroll.txt:
23349 * docs/design/part-states.txt:
23350 Some more tweeks and additions to the docs.
23352 2005-06-30 Wim Taymans <wim@fluendo.com>
23354 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23355 (default_have_data), (gst_pad_class_init), (gst_pad_init),
23356 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23357 (gst_pad_check_pull_range), (gst_pad_get_range),
23358 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23360 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23361 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23362 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23363 (gst_pad_remove_buffer_probe):
23364 Removed atomic operations, use existing LOCK.
23365 Move exception handling out of main code path.
23367 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23369 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23370 (silly_return_true_function), (gst_pad_class_init),
23371 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23372 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23373 (gst_pad_send_event):
23374 Fix accumulator, add default value by using _emitv() instead
23375 of _emit() for signal emission.
23377 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23379 * docs/manual/advanced-dataaccess.xml:
23380 * examples/manual/Makefile.am:
23382 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23385 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
23387 * gst/elements/gstfilesink.c: (gst_filesink_render):
23388 Simplify code so that we don't have to handle short
23389 writes and return GST_FLOW_ERROR if an error occured.
23391 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23393 * docs/gst/gstreamer-docs.sgml:
23394 Remove probes more.
23396 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23398 * docs/gst/gstreamer-sections.txt:
23399 * docs/gst/tmpl/gstpad.sgml:
23400 * docs/gst/tmpl/gstprobe.sgml:
23402 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23403 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23404 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23405 (gst_pad_push_event), (gst_pad_send_event):
23407 * gst/gstutils.c: (gst_pad_add_data_probe),
23408 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23409 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23410 (gst_pad_remove_buffer_probe):
23412 Remove old probes, add new g-signal-based probes and some utility
23415 2005-06-29 Edward Hervey <edward@fluendo.com>
23417 * gst/gstelementfactory.c:
23420 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23421 the definition to the header file.
23423 2005-06-29 Andy Wingo <wingo@pobox.com>
23425 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23426 plugins from the source directory.
23428 2005-06-29 Wim Taymans <wim@fluendo.com>
23430 * docs/gst/tmpl/gstbuffer.sgml:
23431 * docs/gst/tmpl/gstclock.sgml:
23432 Some fixings for blantently wrong text.
23434 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23436 * check/Makefile.am:
23437 * gst/gst.c: (add_path_func), (init_pre):
23438 * gst/gstregistry.c: (gst_registry_add_path):
23439 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23440 only scan the GST_PLUGIN_PATH locations, and not add
23443 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23445 * docs/gst/gstreamer-sections.txt:
23446 * docs/gst/tmpl/gstbasesrc.sgml:
23447 * gst/gstelement.c:
23448 * gst/gstelement.h:
23453 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23455 * docs/manual/advanced-autoplugging.xml:
23456 Fix autoplugging example.
23458 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23460 * docs/manual/advanced-autoplugging.xml:
23461 * docs/manual/mime-world.fig:
23462 Try to get autoplugging working, fix type detection. Fix text
23463 in hello-world image.
23465 2005-06-29 Wim Taymans <wim@fluendo.com>
23467 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23468 (gst_base_sink_change_state):
23472 map SIGNAL and BROADCAST to the right function.
23475 Remove redundant braces.
23477 * gst/gstpad.c: (gst_pad_set_caps):
23478 Don't call setcaps function when reseting caps to NULL.
23480 * gst/gstsystemclock.c: (gst_system_clock_dispose),
23481 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23482 (gst_system_clock_id_unschedule):
23483 Use BROADCAST as this is what we do.
23485 2005-06-29 Wim Taymans <wim@fluendo.com>
23487 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23488 We are actually prerolling before commiting the state
23491 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23493 * docs/manual/advanced-clocks.xml:
23494 * docs/manual/advanced-interfaces.xml:
23495 * docs/manual/advanced-metadata.xml:
23496 * docs/manual/advanced-position.xml:
23497 * docs/manual/advanced-schedulers.xml:
23498 * docs/manual/advanced-threads.xml:
23499 * docs/manual/appendix-porting.xml:
23500 * docs/manual/basics-bins.xml:
23501 * docs/manual/basics-bus.xml:
23502 * docs/manual/basics-elements.xml:
23503 * docs/manual/basics-helloworld.xml:
23504 * docs/manual/basics-pads.xml:
23505 * docs/manual/highlevel-components.xml:
23506 * docs/manual/manual.xml:
23507 * docs/manual/thread.fig:
23508 Update (until threads/scheduling) Application Development Manual;
23509 remove GstThread, add GstBus, add simple porting checklist, add
23510 documentation for tag writing, clocks, make all examples until this
23511 part compile and run.
23512 * examples/manual/Makefile.am:
23513 Update from changes to Application Development Manual; add bus
23514 example, remove thread example.
23516 2005-06-28 Wim Taymans <wim@fluendo.com>
23518 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23519 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23520 (gst_bus_source_dispatch):
23521 Add debugging messages.
23522 Make internal methods static.
23523 Handle the case where the bus is flushed in the handler.
23525 * gst/gstelement.c: (gst_element_get_bus):
23526 Fix refcount in _get_bus();
23528 * gst/gstpipeline.c: (gst_pipeline_change_state),
23529 (gst_pipeline_get_clock_func):
23530 Clock refcounting fixes.
23531 Handle the case where preroll timed out more gracefully.
23533 * gst/gstsystemclock.c: (gst_system_clock_dispose):
23534 Clean up the internal thread in dispose. This is needed
23535 for subclasses that actually get disposed.
23537 * gst/schedulers/threadscheduler.c:
23538 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23539 (gst_thread_scheduler_dispose):
23540 Free thread pool in dispose.
23542 2005-06-28 Andy Wingo <wingo@pobox.com>
23544 * tests/network-clock-utils.scm (debug, print-event): New utils.
23546 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23547 (*packet-loss*): Unified loss probability.
23548 (network-time): Report out-of-band events.
23550 * tests/plot-data: Add support for out-of-band events. Hack it
23551 into this script instead of passing it down the pipe; should fix
23554 2005-06-28 Wim Taymans <wim@fluendo.com>
23556 * docs/gst/gstreamer.types:
23557 * docs/gst/tmpl/gstbasesrc.sgml:
23558 * docs/gst/tmpl/gstpad.sgml:
23561 2005-06-28 Wim Taymans <wim@fluendo.com>
23563 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23564 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23565 (gst_proxy_pad_do_fixatecaps):
23566 Correctly proxy the check_pull_range function.
23568 2005-06-28 Andy Wingo <wingo@pobox.com>
23570 * tests/network-clock.scm: Removed need for slib.
23572 2005-06-28 Wim Taymans <wim@fluendo.com>
23574 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23575 (gst_basesink_preroll_queue_flush):
23576 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23577 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23578 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23579 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23580 (gst_proxy_pad_set_property):
23583 * gst/gstqueue.c: (gst_queue_init):
23584 The deprecated pad loop function is removed now.
23586 2005-06-28 Andy Wingo <wingo@pobox.com>
23588 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23589 New parameters, simulate network packet loss.
23591 * tests/network-clock-utils.scm: Initialize the RNG.
23593 2005-06-28 Wim Taymans <wim@fluendo.com>
23595 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23596 (gst_basesink_event), (gst_basesink_deactivate):
23597 Flushing the preroll queue always needs to unlock the waiters.
23599 2005-06-28 Edward Hervey <edward@fluendo.com>
23601 * gst/gstpipeline.c: (gst_pipeline_send_event):
23602 Wheen a seek was successful on a pipeline, set the stream_time to the
23603 seek offset in order to have a synchronized stream_time.
23605 2005-06-28 Wim Taymans <wim@fluendo.com>
23607 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23608 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23609 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23610 (gst_proxy_pad_do_fixatecaps):
23611 Call wrapper function instead of just calling the function
23612 pointers. This takes care of any locking and whatmore.
23614 2005-06-28 Wim Taymans <wim@fluendo.com>
23616 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23617 (gst_pad_pull_range):
23619 CONNECTED -> LINKED.
23621 2005-06-28 Andy Wingo <wingo@pobox.com>
23623 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23624 source-munging commit!!!
23626 * gst/gstobject.c (gst_object_unref, gst_object_ref)
23627 (gst_object_sink): Take gpointer arguments, not GstObject --
23628 avoids casts. Like GLib.
23630 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23633 2005-06-27 Andy Wingo <wingo@pobox.com>
23635 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23638 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23639 returns a sorted copy of the trace list.
23640 (gst_alloc_trace_print_live): New API, only prints traces with
23641 live objects. Sort the list.
23642 (gst_alloc_trace_print_all): Sort the list.
23643 (gst_alloc_trace_print): Align columns.
23645 * gst/elements/gstttypefindelement.c:
23646 * gst/elements/gsttee.c:
23647 * gst/base/gstbasesrc.c:
23648 * gst/base/gstbasesink.c:
23649 * gst/base/gstbasetransform.c:
23650 * gst/gstqueue.c: Adapt for pad activation changes.
23652 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23654 (gst_pipeline_dispose): Drop ref on sched.
23656 * gst/gstpad.c (gst_pad_init): Set the default activate func.
23657 (gst_pad_activate_default): Push mode by default.
23658 (pre_activate_switch, post_activate_switch): New stubs, things to
23659 do before and after switching activation modes on pads.
23660 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23661 the pad's activate function to choose which mode to activate.
23662 Shortcut on deactivation and call the right function directly.
23663 (gst_pad_activate_pull): New API, (de)activates a pad in pull
23665 (gst_pad_activate_push): New API, same for push mode.
23666 (gst_pad_set_activate_function)
23667 (gst_pad_set_activatepull_function)
23668 (gst_pad_set_activatepush_function): Setters for new API.
23670 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23671 Trace all miniobjects.
23672 (gst_mini_object_make_writable): Unref the arg if we copy, like
23673 gst_caps_make_writable.
23675 * gst/gstmessage.c (_gst_message_initialize): No trace init.
23677 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
23678 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23679 Adapt for new pad API.
23681 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23683 * gst/gstelement.h:
23684 * gst/gstelement.c (gst_element_iterate_src_pads)
23685 (gst_element_iterate_sink_pads): New API functions.
23687 * gst/gstelement.c (iterator_fold_with_resync): New utility,
23688 should fold into gstiterator.c in some form.
23689 (gst_element_pads_activate): Simplified via use of fold and
23690 delegation of decisions to gstpad->activate.
23692 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23695 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23696 class once in init, like gstmessage. Didn't run into this issue
23697 but it seems correct. Don't initialize a trace, gstminiobject does
23700 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23701 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23703 (assert_live_count): New util function, uses alloc traces to check
23706 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23707 To be modified when unlink drops the internal pad.
23709 2005-06-27 Wim Taymans <wim@fluendo.com>
23711 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23712 (gst_bin_change_state):
23713 Cleanup the get_state() function a little, make sure it
23714 iterates the same set of elements.
23715 Added stub iterate_state_order().
23717 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
23719 * docs/gst/gstreamer-docs.sgml:
23720 * docs/gst/gstreamer-sections.txt:
23721 * docs/gst/gstreamer.types:
23722 * docs/gst/tmpl/gstbasesink.sgml:
23723 * docs/gst/tmpl/gstbasesrc.sgml:
23724 * docs/gst/tmpl/gstbasetransform.sgml:
23725 * docs/gst/tmpl/gstelement.sgml:
23726 * docs/gst/tmpl/gstiterator.sgml:
23727 * gst/base/gstbasesrc.c:
23728 * gst/base/gstbasesrc.h:
23729 * gst/base/gstbasetransform.h:
23730 * gst/gstelement.c:
23731 * gst/gstiterator.h:
23732 adding basetransform and iterator docs
23734 2005-06-27 Andy Wingo <wingo@pobox.com>
23736 * docs/design/part-activation.txt: Notes on how activation should
23737 work -- not quite implemented yet.
23739 2005-06-25 Wim Taymans <wim@fluendo.com>
23741 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23742 At least get the chain function correct, needs more
23745 2005-06-25 Wim Taymans <wim@fluendo.com>
23747 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23748 (gst_basesink_handle_object), (gst_basesink_event),
23749 (gst_basesink_do_sync), (gst_basesink_handle_event),
23750 (gst_basesink_change_state):
23752 Right, two problems here: ghostpads don't take locks and
23753 glib _rec_mutex_lock_full() with depth==0 still locks.
23754 Catch illegal locking and g_warn them.
23756 2005-06-25 Wim Taymans <wim@fluendo.com>
23758 * check/states/sinks.c: (START_TEST), (gst_object_suite):
23759 Have to check for completion now...
23761 2005-06-25 Wim Taymans <wim@fluendo.com>
23763 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23764 (gst_basesink_handle_object), (gst_basesink_event),
23765 (gst_basesink_do_sync), (gst_basesink_handle_event),
23766 (gst_basesink_change_state):
23768 Unlock STREAM_LOCK whatever the recursion was.
23770 2005-06-25 Wim Taymans <wim@fluendo.com>
23772 * gst/base/gstbasesink.c: (gst_basesink_set_property),
23773 (gst_basesink_preroll_queue_empty),
23774 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23775 (gst_basesink_event), (gst_basesink_do_sync),
23776 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23777 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23778 (gst_basesink_change_state):
23779 Reworked the base sink, handle event and buffer serialisation
23780 correctly and removed possible deadlock.
23781 Handle EOS correctly.
23783 2005-06-25 Wim Taymans <wim@fluendo.com>
23785 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23786 (gst_pipeline_change_state):
23787 * tools/gst-launch.c: (check_intr), (event_loop), (main):
23788 Allow elements to post EOS in the state change function.
23789 Fix up -launch, make it exit the poll loop when the
23790 pipeline actually changed state.
23791 Fix up warning parsing in -launch.
23793 2005-06-25 Wim Taymans <wim@fluendo.com>
23795 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23796 (gst_tee_sink_activate):
23797 Core takes STREAM_LOCK for us now.
23799 2005-06-25 Wim Taymans <wim@fluendo.com>
23801 * gst/gstelement.c: (gst_element_get_state_func),
23802 (gst_element_set_state):
23803 * gst/gstelement.h:
23804 * gst/gstmessage.c: (gst_message_parse_error),
23805 (gst_message_parse_warning):
23806 Keep track of current target state while performing a state
23807 change so that subclasses can do something interesting.
23808 Fix parsing of warning/error messages when GError is NULL.
23810 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
23812 * docs/gst/Makefile.am:
23813 * docs/gst/gstreamer-docs.sgml:
23814 * docs/gst/gstreamer-sections.txt:
23815 * docs/gst/gstreamer.types:
23816 * docs/gst/tmpl/gstbasesink.sgml:
23817 * docs/gst/tmpl/gstbasesrc.sgml:
23818 * docs/gst/tmpl/gstbin.sgml:
23819 * docs/gst/tmpl/gstcompat.sgml:
23820 * docs/gst/tmpl/gstfakesink.sgml:
23821 * docs/gst/tmpl/gstfakesrc.sgml:
23822 * docs/gst/tmpl/gstfilesink.sgml:
23823 * docs/gst/tmpl/gstfilesrc.sgml:
23824 * docs/gst/tmpl/gstindex.sgml:
23825 * docs/manual/appendix-quotes.xml:
23826 * gst/base/gstbasesrc.h:
23827 * gst/elements/gstfakesrc.h:
23828 * gst/gstmessage.h:
23829 start pulling in base classes and elements in our docs
23831 2005-06-24 Stefan Kost <ensonic@users.sf.net>
23833 * docs/gst/Makefile.am:
23834 * docs/libs/Makefile.am:
23835 fixed make distcheck with gtk-doc 1.3
23837 2005-06-23 Wim Taymans <wim@fluendo.com>
23839 * gst/gstelement.c: (gst_element_get_state_func),
23840 (gst_element_set_state), (gst_element_change_state):
23841 When the state did not change, also report NO_PREROLL
23844 2005-06-23 Wim Taymans <wim@fluendo.com>
23846 * gst/gstpad.c: (gst_pad_event_default):
23847 * gst/gstqueue.c: (gst_queue_loop):
23848 No unsafe task pausing please.
23850 2005-06-23 Wim Taymans <wim@fluendo.com>
23852 * gst/schedulers/threadscheduler.c:
23853 (gst_thread_scheduler_task_start),
23854 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23855 Ref the task before pushing it on the threadpool. This
23856 makes sure that we have a ref when the threadfunction is
23859 2005-06-23 Andy Wingo <wingo@pobox.com>
23861 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23862 offset is greater than the file's size.
23864 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
23865 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23866 * gst/gstobject.c (gst_object_class_init): Make the class lock
23867 recursive. Wim won't let me drop deep_notify. Decodebin works
23868 again, whoopdy doo.
23870 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23871 internal pad, and hacks accordingly. Doesn't do it on the target
23872 pad because we change its caps. Probably catches all cases of
23874 (gst_ghost_pad_set_property): Connect to notify::caps as
23877 * tests/network-clock.scm (plot-simulation): Pipe data to the
23878 elite python skript.
23880 * tests/network-clock-utils.scm (define-parameter): New macro,
23881 defines a parameter that can be set via the command line.
23882 (set-parameter!, parse-parameter-arguments): Command line args
23885 * tests/plot-data: Simple matplotlib-based plotter, takes input on
23888 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
23890 * gst/elements/gsttypefindelement.c:
23891 (gst_type_find_element_handle_event):
23892 Don't restart typefinding on a discont.
23893 * gst/gstelement.c: (gst_element_set_state):
23894 Debug spelling fix.
23895 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23896 Allow changing mode of an active pad.
23897 Debug output fixes.
23898 * gst/registries/gstlibxmlregistry.c: (load_feature):
23899 Don't cast a static pad template to a normal pad template.
23901 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
23903 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23904 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23905 remove gst_strtoll completely, since it didn't actually do
23906 anything more than what g_ascii_strtoull already does.
23907 check for range errors when deserializing
23908 do a cast for the unsigned cases; but further fixing needs
23909 a decision on what the interpretation of "(int)" and
23910 deserialization should be for values that fall outside the
23911 type's boundaries (ie, refuse, or interpret as casting)
23913 2005-06-23 Wim Taymans <wim@fluendo.com>
23915 * check/Makefile.am:
23916 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23917 * docs/design/part-live-source.txt:
23918 * docs/design/part-states.txt:
23919 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23920 (gst_basesrc_set_live), (gst_basesrc_is_live),
23921 (gst_basesrc_get_range), (gst_basesrc_activate),
23922 (gst_basesrc_change_state):
23923 * gst/base/gstbasesrc.h:
23924 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23925 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23926 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23927 * gst/gstelement.c: (gst_element_get_state_func),
23928 (gst_element_set_state):
23929 * gst/gstelement.h:
23931 * tools/gst-launch.c: (event_loop), (main):
23932 Added support for live sources and other elements that
23934 Updated design docs, added live-source design doc.
23935 Implemented live source functionality in basesrc
23936 Fix error condition in _bin_get_state()
23937 Implement live source handling in -launch.
23938 Added check for live sources.
23939 Fixed case in GstBin where elements were changed state
23943 2005-06-23 Andy Wingo <wingo@pobox.com>
23945 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23946 borken refcounting.
23948 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23949 gst_caps_replace takes care of this for us.
23951 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23952 gst_pad_set_caps on the target, not just its setcaps() function.
23954 * tests/network-clock.scm:
23955 * tests/network-clock-utils.scm: A network clock simulator.
23956 Something of an algorithmic testbed before doing something in C.
23958 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23960 * check/Makefile.am:
23961 * check/gst/capslist.h:
23962 copy over from 0.8, and add two with bitmasks specified with
23964 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23965 add test to parse everything from capslist.h
23966 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23968 add test for structure deserialization
23969 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23970 add tests for deserialization of strings to int types
23971 * gst/gststructure.c: (gst_structure_nth_field_name):
23972 * gst/gststructure.h:
23973 add a way to get the name of a field referenced by index
23974 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23975 instead of checking if the resulting long long lies between
23976 min and max, we check if the long long would fit into
23977 a number of bytes for the final type.
23978 This fixes cases where a string represents 2^32 - 1, which
23979 when cast to int would be the (valid) -1, but is bigger than
23982 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23984 * gst/parse/grammar.y:
23985 add a log line for type deserialization
23987 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23989 * check/gst/gstvalue.c: (START_TEST):
23990 * gst/gstvalue.c: (gst_value_deserialize):
23991 return long long, not int, so gint64 deserialization actually
23992 works. Is there any flag that makes the compiler check this ?
23995 2005-06-22 Wim Taymans <wim@fluendo.com>
23998 Added convenience macros for setting buffers in GValue.
24000 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
24002 * check/gst/.cvsignore:
24003 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24004 add a test deserializing int64, and comment part out because
24007 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
24009 * check/Makefile.am:
24010 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
24011 * testsuite/Makefile.am:
24012 * testsuite/caps/Makefile.am:
24013 * testsuite/caps/value_serialize.c:
24014 * testsuite/test_gst_init.c:
24015 move a value_serialize test over
24017 2005-06-20 Wim Taymans <wim@fluendo.com>
24022 * gst/gstvalue.c: (gst_value_compare_buffer),
24023 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
24024 (gst_value_compare_flags), (gst_value_serialize_flags),
24025 (gst_value_deserialize_flags), (_gst_value_initialize):
24026 Fix serialisation of buffers, they are not boxed types anymore
24028 2005-06-20 Wim Taymans <wim@fluendo.com>
24030 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24031 Testcase to show error in buffer-on-caps serialisation.
24033 2005-06-20 Andy Wingo <wingo@pobox.com>
24035 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
24036 will be adding to later.
24038 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
24039 if its socks fill with rocks.
24040 (gst_system_clock_obtain): Set the name on object construction.
24041 Avoid double-checked locking.
24043 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
24045 * gst/gsturi.c: (gst_element_make_from_uri):
24046 Fix potential endless loop.
24048 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24050 * check/Makefile.am:
24052 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
24054 move over from testsuite dir and clean up
24057 * testsuite/Makefile.am:
24058 * testsuite/tags/.cvsignore:
24059 * testsuite/tags/Makefile.am:
24060 * testsuite/tags/merge.c:
24061 remove testsuite/tags
24063 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24065 * docs/gst/gstreamer-sections.txt:
24066 * docs/gst/tmpl/gstenumtypes.sgml:
24067 * win32/gstenumtypes.c:
24068 clean up documentation build a little
24070 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24072 * check/gstcheck.h:
24073 add macros for checking refcounts on objects and caps
24074 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24075 add some more unit tests
24076 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24077 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24078 fix leaked refcounts (I hope :)) so unittest works
24082 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24084 * configure.ac: back to HEAD
24086 === release 0.9.1 ===
24088 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
24094 2005-06-17 Andy Wingo <wingo@pobox.com>
24096 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24097 assert; it's always possible that the pad gets deactivated in
24098 between the checks in gstpad.c and the implementation. Rely on
24099 finish_preroll() to return a FLUSHING or similar instead of on the
24102 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24103 clock and post an EOS message if we come out of finish_preroll in
24106 2005-06-16 David Schleef <ds@schleef.org>
24108 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24109 (gst_capsfilter_set_property): Allow NULL as possible value
24110 for filter_caps property, indicating GST_CAPS_ANY.
24112 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
24114 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24116 * gst/schedulers/Makefile.am:
24118 * gstreamer.spec.in:
24121 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
24123 * gstreamer.spec.in:
24126 2005-06-08 Andy Wingo <wingo@pobox.com>
24128 * gst/gstutils.c: RPAD fixes all around.
24129 (gst_element_link_pads): Refcounting fixes.
24131 * tools/gst-inspect.c:
24132 * tools/gst-xmlinspect.c:
24134 * gst/base/gsttypefindhelper.c:
24135 * gst/base/gstbasesink.c:
24136 * gst/gstqueue.c: RPAD fixes.
24138 * gst/gstghostpad.h:
24139 * gst/gstghostpad.c: New ghost pad implementation as full proxy
24140 pads. The tricky thing is they provide both source and sink
24141 interfaces, since they proxy the internal pad for the external
24142 pad, and vice versa. Implement with lower-level ProxyPad objects,
24143 with the interior proxy pad as a child of the exterior ghost pad.
24144 Should write a doc on this.
24146 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24147 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24150 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24151 pads are real pads. No ghost pads in this file. Not documenting
24152 the myriad s/RPAD/PAD/ and REALIZE fixes.
24153 (gst_pad_class_init): Add properties for "direction" and
24154 "template". Both are construct-only, so they can't change during
24155 the life of the pad. Fixes properly deriving from GstPad.
24156 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24157 derived objects, just set properties when creating the objects via
24159 (gst_pad_get_parent): Implement as a function, return NULL if the
24160 parent is not an element.
24161 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24162 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24164 * gst/gstobject.c (gst_object_class_init): Make name a construct
24165 property. Don't set it in the object init.
24167 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24168 with UNKNOWN direction.
24169 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24170 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24171 (gst_element_remove_pad): Remove ghost-pad special cases.
24172 (gst_element_pads_activate): Remove rpad cruft.
24174 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24175 catch the pad's-parent-not-an-element case.
24177 * gst/gst.h: Include gstghostpad.h.
24179 * gst/gst.c (init_post): No more real, ghost pads.
24181 * gst/Makefile.am: Add gstghostpad.[ch].
24183 * check/Makefile.am:
24184 * check/gst/gstbin.c:
24185 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24186 into a bin creates ghost pads, and that the refcounts are right.
24187 Partly moved from gstbin.c.
24189 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24191 * check/gst-libs/.cvsignore:
24192 * check/gst/.cvsignore:
24193 * check/pipelines/.cvsignore:
24195 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24196 (START_TEST), (cleanup_suite), (main):
24197 add some tests related to cleanup after running pipelines
24199 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24201 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24202 add a testsuite for GstBuffer
24204 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24206 * gst/gstminiobject.h:
24207 add defines for accessing the refcount
24209 2005-06-03 Stefan Kost <ensonic@users.sf.net>
24211 * Makefile.am: added support for html unit test coverage reports
24213 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
24215 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24216 Free existing caps if the capsfilter changes. Add a FIXME about
24217 setting those caps on the pads.
24219 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24220 Before adding a ghost pad to a parent bin, check that there isn't
24221 already one for the element on the bin. Prevents infinite recursion
24222 when using decodebin in parse pipelines. Andy says he'll rewrite the
24223 way this works anyway, so ignore the hack.
24225 2005-06-02 Andy Wingo <wingo@pobox.com>
24227 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24228 file size, pass it on to the type find helper.
24230 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24231 segment_start and segment_end properly according to the seek
24232 method. Segment_end is still a bit flaky because offset can be
24233 negative for CUR and END cases, but it takes -1 as an "unset"
24236 2005-06-02 Wim Taymans <wim@fluendo.com>
24238 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24239 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24240 (gst_basesink_activate):
24241 * gst/base/gstbasesink.h:
24242 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24243 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24244 (gst_pad_query), (gst_pad_start_task):
24246 * gst/gstqueue.c: (gst_queue_bufferalloc),
24247 (gst_queue_handle_sink_event), (gst_queue_chain):
24248 Bufferalloc: return GstFlowReturn to more accuratly report
24249 why allocation failed.
24251 2005-06-02 Wim Taymans <wim@fluendo.com>
24253 * gst/gstpipeline.c: (gst_pipeline_send_event):
24254 Take snapshot of state without blocking.
24256 2005-06-02 Wim Taymans <wim@fluendo.com>
24258 * docs/design/part-TODO.txt:
24259 * docs/design/part-caps.txt:
24260 * docs/design/part-clocks.txt:
24261 * docs/design/part-negotiation.txt:
24262 * docs/design/part-preroll.txt:
24265 2005-05-30 Wim Taymans <wim@fluendo.com>
24267 * gst/elements/gstidentity.c: (gst_identity_event),
24268 (gst_identity_transform), (gst_identity_get_property):
24269 Protect last_message property as it is accessed from
24272 2005-05-30 Wim Taymans <wim@fluendo.com>
24274 * gst/gstelement.c: (gst_element_init),
24275 (gst_element_pads_activate), (gst_element_change_state):
24276 Slicker pad activation code.
24278 2005-05-30 Wim Taymans <wim@fluendo.com>
24281 * gst/gstelement.h:
24282 * gst/gstelementfactory.h:
24284 Move elementfactory methods to separate .h file.
24286 2005-05-30 Wim Taymans <wim@fluendo.com>
24288 * docs/design/part-overview.txt:
24289 * gst/gstsystemclock.h:
24290 Small typo fixes, doc updates.
24292 2005-05-30 Wim Taymans <wim@fluendo.com>
24294 * gst/gst.c: (gst_init_get_popt_table), (init_post),
24295 (init_popt_callback):
24296 Remove cpu-opt flag.
24298 2005-05-30 Wim Taymans <wim@fluendo.com>
24300 * gst/gstbuffer.c: (gst_subbuffer_finalize),
24301 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24303 Avoid typechecking in places where not needed.
24304 Added accessor for malloc_data.
24306 2005-05-30 Wim Taymans <wim@fluendo.com>
24308 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24309 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24310 (gst_pad_configure_sink), (gst_pad_configure_src),
24311 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24312 (gst_pad_start_task):
24313 Propagate errors from _set_caps() in configure_src/sink
24314 functions instead of returning TRUE.
24315 FLUSH events can travel up and downstream
24318 2005-05-30 Wim Taymans <wim@fluendo.com>
24320 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24321 (gst_basesink_activate):
24322 Handle EOS in preroll.
24324 2005-05-30 Wim Taymans <wim@fluendo.com>
24326 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24327 (gst_queue_loop), (gst_queue_handle_src_event):
24328 Remove old pieces of code
24329 Flushing the queue in an upstream event is a very bad idea.
24331 2005-05-26 Andy Wingo <wingo@pobox.com>
24333 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24334 gst_value_set_mini_object so as to add a ref on the object (which
24335 will be removed when the value is unset).
24337 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24338 arg type in ::handoff.
24340 * gst/gstelement.c (gst_element_change_state): Also deactivate
24341 pads in READY->NULL, just in case the element didn't make it to
24342 PAUSED. Wingo tested, Wim approved.
24344 2005-05-26 Wim Taymans <wim@fluendo.com>
24346 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24347 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24348 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24349 A flushing pad cannot be used to alloc_buffer from.
24351 2005-05-26 Wim Taymans <wim@fluendo.com>
24353 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24354 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24355 (gst_bus_source_dispatch), (gst_bus_source_finalize),
24356 (gst_bus_create_watch), (gst_bus_add_watch_full):
24358 Implement a real GSource and use g_main_context_wakeup() to
24359 signal new messages instead of the socketpair.
24361 2005-05-25 Wim Taymans <wim@fluendo.com>
24363 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24364 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24365 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24366 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24367 (gst_pad_send_event), (gst_pad_start_task):
24368 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24369 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24370 (gst_queue_sink_activate), (gst_queue_src_activate),
24371 (gst_queue_change_state):
24373 Fix state changes for non sinks. We now change sinks, then elements
24374 with unconnected srcpads, then the rest.
24375 More efficient queue unlocking in flush and state changes.
24376 Set the pad activate mode even if it does not have an activate
24379 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24381 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24382 Don't go in pull mode for non-seekable sources.
24383 * gst/elements/gsttypefindelement.h:
24384 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24385 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24386 (free_entry), (stop_typefinding),
24387 (gst_type_find_element_handle_event), (find_peek),
24388 (gst_type_find_element_chain), (do_pull_typefind),
24389 (gst_type_find_element_change_state):
24390 Allow typefinding (w/o seeking) in push-mode, simplified version
24391 of what was in 0.8.
24392 * gst/gstutils.c: (gst_buffer_join):
24394 gst_buffer_join() from 0.8.
24396 2005-05-25 Wim Taymans <wim@fluendo.com>
24398 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24399 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24400 (gst_pad_send_event), (gst_pad_start_task):
24401 Disable attempt at mode switching until it is figured out.
24403 2005-05-25 Wim Taymans <wim@fluendo.com>
24405 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24406 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24407 (gst_basesink_finish_preroll), (gst_basesink_chain),
24408 (gst_basesink_loop), (gst_basesink_activate),
24409 (gst_basesink_change_state):
24410 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24411 (gst_basesrc_get_range), (gst_basesrc_loop),
24412 (gst_basesrc_activate):
24413 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24414 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24415 (gst_real_pad_init), (gst_real_pad_set_property),
24416 (gst_real_pad_get_property), (gst_pad_set_active),
24417 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24418 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24419 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24420 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24421 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24422 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24423 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24424 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24425 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24426 (gst_pad_stop_task):
24428 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24429 (gst_queue_loop), (gst_queue_src_activate):
24430 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24431 (gst_task_get_state):
24433 * gst/schedulers/threadscheduler.c:
24434 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24435 Implement gst_pad_pause/start/stop_task(), take STREAM lock
24437 Remove ACTIVE pad flag, use FLUSHING everywhere
24438 Added _pad_chain(), _pad_get_range() to call chain/getrange
24440 Add locks around IS_FLUSHING when reading.
24441 Take STREAM lock in chain(), get_range() functions so plugins
24442 don't need to take it anymore.
24446 2005-05-25 Wim Taymans <wim@fluendo.com>
24448 * tools/gst-launch.c: (event_loop):
24449 Unref message after using its contents instead of
24452 2005-05-24 Wim Taymans <wim@fluendo.com>
24454 * docs/design/draft-ghostpads.txt:
24455 * docs/design/draft-push-pull.txt:
24456 * docs/design/draft-query.txt:
24457 * docs/design/part-overview.txt:
24458 Docs updates, added general overview doc.
24460 2005-05-21 David Schleef <ds@schleef.org>
24462 * docs/gst/tmpl/old/GstBin.sgml:
24463 * docs/gst/tmpl/old/GstBuffer.sgml:
24464 * docs/gst/tmpl/old/GstCaps.sgml:
24465 * docs/gst/tmpl/old/GstClock.sgml:
24466 * docs/gst/tmpl/old/GstCompat.sgml:
24467 * docs/gst/tmpl/old/GstData.sgml:
24468 * docs/gst/tmpl/old/GstElement.sgml:
24469 * docs/gst/tmpl/old/GstEvent.sgml:
24470 * docs/gst/tmpl/old/GstIndex.sgml:
24471 * docs/gst/tmpl/old/GstStructure.sgml:
24472 * docs/gst/tmpl/old/GstTag.sgml:
24473 * docs/gst/tmpl/old/cothreads.sgml:
24474 * docs/gst/tmpl/old/cothreads_compat.sgml:
24475 * docs/gst/tmpl/old/gettext.sgml:
24476 * docs/gst/tmpl/old/gobject2gtk.sgml:
24477 * docs/gst/tmpl/old/grammar.tab.sgml:
24478 * docs/gst/tmpl/old/gst-i18n-app.sgml:
24479 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24480 * docs/gst/tmpl/old/gst_private.sgml:
24481 * docs/gst/tmpl/old/gstaggregator.sgml:
24482 * docs/gst/tmpl/old/gstarch.sgml:
24483 * docs/gst/tmpl/old/gstatomic_impl.sgml:
24484 * docs/gst/tmpl/old/gstbufferstore.sgml:
24485 * docs/gst/tmpl/old/gstdata_private.sgml:
24486 * docs/gst/tmpl/old/gstdisksink.sgml:
24487 * docs/gst/tmpl/old/gstdisksrc.sgml:
24488 * docs/gst/tmpl/old/gstelementfactory.sgml:
24489 * docs/gst/tmpl/old/gstextratypes.sgml:
24490 * docs/gst/tmpl/old/gstfakesink.sgml:
24491 * docs/gst/tmpl/old/gstfakesrc.sgml:
24492 * docs/gst/tmpl/old/gstfdsink.sgml:
24493 * docs/gst/tmpl/old/gstfdsrc.sgml:
24494 * docs/gst/tmpl/old/gstfilesink.sgml:
24495 * docs/gst/tmpl/old/gstfilesrc.sgml:
24496 * docs/gst/tmpl/old/gsthttpsrc.sgml:
24497 * docs/gst/tmpl/old/gstidentity.sgml:
24498 * docs/gst/tmpl/old/gstindexfactory.sgml:
24499 * docs/gst/tmpl/old/gstmarshal.sgml:
24500 * docs/gst/tmpl/old/gstmd5sink.sgml:
24501 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24502 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24503 * docs/gst/tmpl/old/gstpadtemplate.sgml:
24504 * docs/gst/tmpl/old/gstpipefilter.sgml:
24505 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24506 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24507 * docs/gst/tmpl/old/gstshaper.sgml:
24508 * docs/gst/tmpl/old/gstspider.sgml:
24509 * docs/gst/tmpl/old/gstspideridentity.sgml:
24510 * docs/gst/tmpl/old/gststatistics.sgml:
24511 * docs/gst/tmpl/old/gsttee.sgml:
24512 * docs/gst/tmpl/old/gsttimecache.sgml:
24513 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24514 * docs/gst/tmpl/old/gstxmlregistry.sgml:
24515 * docs/gst/tmpl/old/gthread-cothreads.sgml:
24516 * docs/gst/tmpl/old/types.sgml:
24517 I didn't intend to add these or check them in.
24519 2005-05-19 David Schleef <ds@schleef.org>
24521 * configure.ac: Use -no-common everywhere. In a sane world, it
24522 would be the default in libtool, because without it, you can't
24523 build DLLs on Windows.
24524 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24525 * docs/gst/gstreamer-sections.txt:
24526 * docs/gst/tmpl/gstcpu.sgml:
24527 * docs/gst/tmpl/gstdata.sgml:
24528 * docs/gst/tmpl/gstthread.sgml:
24530 2005-05-19 David Schleef <ds@schleef.org>
24532 * gst/gstminiobject.c: (gst_value_set_mini_object),
24533 (gst_value_take_mini_object), (gst_value_get_mini_object):
24534 * gst/gstminiobject.h: Add GValue set/get functions.
24536 2005-05-19 Wim Taymans <wim@fluendo.com>
24538 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24539 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24540 (gst_subbuffer_init), (gst_buffer_is_span_fast):
24542 * gst/gstbus.c: (gst_bus_post):
24543 * gst/gstelement.c: (gst_element_get_random_pad):
24544 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24545 Make subbufer unref the parent in finalize.
24546 some more debugging info.
24549 2005-05-19 Wim Taymans <wim@fluendo.com>
24551 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24552 (gst_basesink_init), (gst_basesink_finalize),
24553 (gst_basesink_activate), (gst_basesink_change_state):
24554 Don't free preroll queue too early.
24556 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24560 Hi, I'm outdated. Please shoot me.
24562 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24564 * gst/gstpipeline.c: (gst_pipeline_send_event):
24565 Do not access variables after they have been deleted.
24567 2005-05-19 Wim Taymans <wim@fluendo.com>
24569 * tools/gst-inspect.c: (print_plugin_features):
24570 A plugin feature does unfortunatly not use the
24573 2005-05-18 Wim Taymans <wim@fluendo.com>
24575 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24576 Port _span() functions to new subbuffers.
24578 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24580 * gst/gstbin.c: (gst_bin_add_func):
24581 Fix clock settery in bins when adding kids after the clock has
24584 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24586 * gst/elements/gstidentity.c: (gst_identity_class_init):
24587 Workaround until signals support GstMiniObject.
24589 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
24592 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24594 2005-05-18 Wim Taymans <wim@fluendo.com>
24596 * gst/base/Makefile.am:
24597 * gst/base/gstadapter.c: (gst_adapter_base_init),
24598 (gst_adapter_class_init), (gst_adapter_init),
24599 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24600 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24601 (gst_adapter_flush), (gst_adapter_available),
24602 (gst_adapter_available_fast):
24603 * gst/base/gstadapter.h:
24604 Ported and added adapter to the base classes.
24606 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24609 * gst/gstmessage.c:
24610 Make sure the class is reffed/unreffed once before threads can be
24611 used. Fixes #304551.
24613 2005-05-17 Wim Taymans <wim@fluendo.com>
24615 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24616 (gst_basesink_chain_unlocked), (gst_basesink_activate):
24617 * gst/gstminiobject.c: (gst_mini_object_get_type),
24618 (gst_mini_object_free):
24619 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24620 (gst_pad_push), (gst_pad_push_event):
24621 * gst/gstqueue.c: (gst_queue_change_state):
24622 Don't queue buffers in basesink when we are flushing.
24623 Unref buffer when flushing in basesink.
24624 Flush queue when going to READY
24625 Unref buffer when _push() returns an error.
24626 Don't free MiniObject instance when refcount is incremented
24627 in _finalize() so that we can recover objects.
24629 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
24631 * docs/manual/advanced-schedulers.xml:
24632 * docs/manual/appendix-checklist.xml:
24633 * docs/pwg/advanced-clock.xml:
24634 * docs/pwg/advanced-interfaces.xml:
24635 * docs/pwg/advanced-request.xml:
24636 * docs/pwg/advanced-types.xml:
24637 * docs/pwg/intro-preface.xml:
24638 * examples/plugins/example.c: (gst_example_get_type),
24639 (gst_example_class_init), (gst_example_chain),
24640 (gst_example_set_property), (gst_example_get_property),
24641 (gst_example_change_state), (plugin_init):
24642 * examples/plugins/example.h:
24645 2005-05-17 Wim Taymans <wim@fluendo.com>
24647 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24648 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24649 * gst/gstqueue.c: (gst_queue_change_state):
24650 Clear queue when going to READY.
24651 Remove IN_SETCAPS flag too.
24653 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
24655 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24656 Remove implicit cast from gboolean to GstElementStateReturn;
24657 make sure we still return failure in paused => ready case if
24658 the parent class fails to change state and our own stop
24661 2005-05-17 Wim Taymans <wim@fluendo.com>
24663 * tools/gst-launch.c: (event_loop):
24664 Message was unreffed too soon.
24666 2005-05-16 Andy Wingo <wingo@pobox.com>
24668 * gst/gstbin.c (sink_iterator_filter): Err... um...
24670 * check/gst/gstbin.c (test_ghost_pads): New test for the
24671 ghosting-if-elements-not-in-same-bin behavior.
24673 2005-05-16 David Schleef <ds@schleef.org>
24675 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24676 accessing refcount directly.
24678 2005-05-15 David Schleef <ds@schleef.org>
24680 * check/Makefile.am: remove GstData checks
24681 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24682 * gst/Makefile.am: add miniobject, remove data
24683 * gst/gst.h: add miniobject, remove data
24684 * gst/gstdata.c: remove
24685 * gst/gstdata.h: remove
24686 * gst/gstdata_private.h: remove
24687 * gst/gsttypes.h: remove GstEvent and GstMessage
24688 * gst/gstelement.c: (gst_element_post_message): fix for API changes
24689 * gst/gstmarshal.list: change BOXED -> OBJECT
24691 Implement GstMiniObject.
24692 * gst/gstminiobject.c:
24693 * gst/gstminiobject.h:
24695 Modify to be subclasses of GstMiniObject.
24696 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24697 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24698 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24699 (gst_subbuffer_get_type), (gst_subbuffer_init),
24700 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24703 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24704 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24705 (_gst_event_copy), (gst_event_new):
24707 * gst/gstmessage.c: (_gst_message_initialize),
24708 (gst_message_get_type), (gst_message_class_init),
24709 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24710 (gst_message_new), (gst_message_new_error),
24711 (gst_message_new_warning), (gst_message_new_tag),
24712 (gst_message_new_state_changed), (gst_message_new_application):
24713 * gst/gstmessage.h:
24714 * gst/gstprobe.c: (gst_probe_perform),
24715 (gst_probe_dispatcher_dispatch):
24717 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24718 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24719 (_gst_query_copy), (gst_query_new):
24721 Update elements for GstData -> GstMiniObject changes
24723 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24724 (gst_queue_chain), (gst_queue_loop):
24725 * gst/elements/gstbufferstore.c:
24726 (gst_buffer_store_add_buffer_func),
24727 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24728 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24729 (gst_fakesink_render):
24730 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24731 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24732 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24733 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24734 (gst_filesrc_create_read):
24735 * gst/elements/gstidentity.c: (gst_identity_class_init):
24736 * gst/elements/gsttypefindelement.c:
24737 (gst_type_find_element_src_event), (free_entry_buffers),
24738 (gst_type_find_element_handle_event):
24739 * libs/gst/dataprotocol/dataprotocol.c:
24740 (gst_dp_header_from_buffer):
24741 * libs/gst/dataprotocol/dataprotocol.h:
24742 * libs/gst/dataprotocol/dp-private.h:
24744 2005-05-15 David Schleef <ds@schleef.org>
24746 * gst/elements/gstelements.c: Don't include headers that were
24749 2005-05-15 David Schleef <ds@schleef.org>
24751 * gst/elements/Makefile.am: Remove some elements that don't
24752 need to be in the core (or even exist at all).
24753 * gst/elements/gstaggregator.c:
24754 * gst/elements/gstaggregator.h:
24755 * gst/elements/gstmd5sink.c:
24756 * gst/elements/gstmd5sink.h:
24757 * gst/elements/gstmultifilesrc.c:
24758 * gst/elements/gstmultifilesrc.h:
24759 * gst/elements/gstpipefilter.c:
24760 * gst/elements/gstpipefilter.h:
24761 * gst/elements/gstshaper.c:
24762 * gst/elements/gstshaper.h:
24763 * gst/elements/gststatistics.c:
24764 * gst/elements/gststatistics.h:
24765 * po/POTFILES.in: Remove above files.
24767 2005-05-14 Andy Wingo <wingo@pobox.com>
24769 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24770 so as to get the refs right.
24771 (sink_iterator_filter): New function, wraps bin_element_is_sink,
24772 unreffing objects that don't pass the filter.
24774 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24775 gst_element_set_bus.
24776 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24777 normal cases, this will destroy the bus.
24779 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24782 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24785 2005-05-13 Andy Wingo <wingo@pobox.com>
24787 * gst/gstutils.c (gst_element_link_pads): Instead of calling
24788 gst_pad_link, call pad_link_maybe_ghosting,
24789 (pad_link_maybe_ghosting): Links pads, making sure that the
24790 elements being linked are in the same bin.
24791 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24792 Helpers for pad_link_maybe_ghosting.
24794 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24797 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24799 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24801 * docs/design/part-element-source.txt:
24804 2005-05-12 Wim Taymans <wim@fluendo.com>
24806 * gst/base/gstbasesink.c: (gst_basesink_init),
24807 (gst_basesink_activate):
24808 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24809 (gst_basesrc_is_seekable):
24810 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24811 (bin_element_is_sink), (gst_bin_change_state):
24812 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24813 * gst/gstelement.h:
24814 Identify sinks by their flag to avoid overly complicated
24816 Do state changes even for elements not reachable from the
24818 BaseSink is a sink now :)
24819 Some more debugging info in the basesrc.
24822 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24824 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24825 Implement _query on a bin, similar to _send_event.
24827 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
24829 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24830 Discont event offset format should be GST_FORMAT_BYTES,
24831 not GST_FORMAT_TIME.
24833 2005-05-12 Wim Taymans <wim@fluendo.com>
24835 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24836 Same fix as Ronald's but without the signal.
24838 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24840 * gst/gstutils.c: (gst_element_query_position):
24841 No, an element is not a pad.
24843 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24845 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24846 (gst_bin_get_state):
24847 If a child is removed from a bin while we remove the child from
24848 the bin and while we're retrieving its state, signal this to the
24849 get_state function so we abort the wait (instead of waiting for
24850 a timeout) and can immediately re-iterate over all other elements.
24852 2005-05-12 Wim Taymans <wim@fluendo.com>
24854 * gst/base/Makefile.am:
24855 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24856 (gst_basesrc_start):
24857 * gst/base/gstbasesrc.h:
24858 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24859 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24860 (gst_pushsrc_init), (gst_pushsrc_create):
24861 * gst/base/gstpushsrc.h:
24862 Added is_seekable to BaseSrc
24863 Added simple PushSrc.
24865 2005-05-11 Wim Taymans <wim@fluendo.com>
24867 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24868 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24869 (gst_element_link_pads), (gst_element_query_position),
24870 (gst_element_query_convert), (intersect_caps_func),
24871 (gst_pad_query_position), (gst_pad_query_convert):
24872 Fix refcounting in utils function.
24873 No point in trying to activate a pad when it's added, it could
24874 be added from the state change function and then we deadlock, the
24875 element has to decide what to do.
24877 2005-05-10 Andy Wingo <wingo@pobox.com>
24879 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24880 *all* the arguments.
24882 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24883 stream lock if it's a FLUSH_DONE; normal flushes don't get the
24884 lock (according to the docs -- if this is wrong change the docs).
24886 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24887 flush messages in the NULL state.
24889 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24890 message immediately and return.
24891 (gst_bus_set_flushing): New function. If a bus is flushing, it
24892 flushes out any queued messages and immediately unrefs new
24893 messages. This is so when an element goes to NULL, all of the
24894 unhandled messages coming from it can be freed, and their
24895 references to the element dropped. In other words: message source
24896 ref considered harmful :P
24898 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24899 we're finished with it.
24901 * gst/gstmessage.c (gst_message_new_state_changed):
24903 2005-05-10 Wim Taymans <wim@fluendo.com>
24905 * gst/gstvalue.c: (gst_value_compare_flags),
24906 (gst_value_serialize_flags), (gst_value_deserialize_flags),
24907 (_gst_value_initialize):
24908 Added flags serialize/deserialize/compare code.
24910 2005-05-09 Andy Wingo <wingo@pobox.com>
24912 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24913 Intersect the peer's caps with our caps.
24915 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24917 * gst/base/gsttypefindhelper.c: (helper_find_peek):
24918 * gst/elements/gsttypefindelement.c: (find_peek):
24919 Handle negative offsets better. Fixes decodebin.
24921 2005-05-09 Wim Taymans <wim@fluendo.com>
24923 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24924 (gst_base_transform_event):
24925 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24926 Implement accept_caps.
24927 Fix silly lock/unlock mismatch in base class.
24929 2005-05-09 Wim Taymans <wim@fluendo.com>
24931 * docs/design/draft-push-pull.txt:
24932 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24933 * gst/elements/gstfilesink.c: (gst_filesink_init),
24934 (gst_filesink_query):
24935 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24936 (gst_type_find_handle_src_query), (find_element_get_length):
24937 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24938 * gst/gstelement.h:
24939 * gst/gstmessage.c:
24940 * gst/gstmessage.h:
24941 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24942 (gst_real_pad_get_caps_unlocked),
24943 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24944 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24945 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24946 (gst_real_pad_dispose), (gst_real_pad_finalize),
24947 (gst_pad_load_and_link), (gst_pad_save_thyself),
24948 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24949 (gst_pad_check_pull_range), (gst_pad_pull_range),
24950 (gst_pad_template_get_type), (gst_pad_template_class_init),
24951 (gst_pad_template_init), (gst_pad_template_dispose),
24952 (name_is_valid), (gst_static_pad_template_get),
24953 (gst_pad_template_new), (gst_static_pad_template_get_caps),
24954 (gst_pad_template_get_caps), (gst_pad_set_element_private),
24955 (gst_pad_get_element_private), (gst_pad_start_task),
24956 (gst_pad_pause_task), (gst_pad_stop_task),
24957 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24958 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24959 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24960 (gst_ghost_pad_new):
24962 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24963 (gst_query_new_position), (gst_query_set_position),
24964 (gst_query_parse_position), (gst_query_new_convert),
24965 (gst_query_set_convert), (gst_query_parse_convert):
24967 * gst/gstqueryutils.c:
24968 * gst/gstqueryutils.h:
24969 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24970 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24971 (gst_queue_handle_src_query):
24972 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24973 (gst_element_query_position), (gst_element_query_convert),
24974 (intersect_caps_func), (gst_pad_query_position),
24975 (gst_pad_query_convert):
24977 * tools/gst-inspect.c: (print_pad_info):
24978 * tools/gst-xmlinspect.c: (print_element_info):
24979 Remove old query functions. Ported old code.
24980 Added position/convert helper functions to gstutils.
24981 Reordered gstpad.c code, grouping relevant things.
24982 Remove gst_message_new(), always need to speficy a specific
24986 2005-05-09 Andy Wingo <wingo@pobox.com>
24988 * gst/gstiterator.h: Add some includes.
24990 * gst/gstqueryutils.h: Include more headers.
24993 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24994 some uses of gst_pad_query.
24996 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24997 NULL out parameters.
24998 (gst_query_new_position): New proc, allocates a new position
25001 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
25002 gstqueryutils.c to the build.
25004 * gst/gststructure.c (gst_structure_set_valist): Implement with
25005 the generic G_VALUE_COLLECT.
25007 2005-05-08 Edward Hervey <bilboed@bilboed.com>
25009 * gst/Makefile.am: (gst_headers):
25010 Added gstqueryutils.h to the list of headers to install, that was
25011 a 'nachty' move wingo :)
25013 2005-05-06 Andy Wingo <wingo@pobox.com>
25016 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
25017 GstData, init a memchunk.
25018 (standard_definitions): Add a few query types, deprecate a few.
25019 (gst_query_get_type): New proc.
25020 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
25022 (gst_query_new_application, gst_query_get_structure): New public
25025 * docs/design/draft-query.txt: Removed LINKS from the query types,
25026 because all the rest can be dispatched to other pads -- seemed
25027 ugly to have a query that couldn't be dispatched. internal_links
25028 is fine as a pad method.
25030 * gst/gstpad.h: Add query2 as a pad method, add the new functions
25031 in gstpad.c, but maintain binary compatibility for the moment.
25032 Will fix before 0.9 is out.
25034 * gst/gstqueryutils.c:
25035 * gst/gstqueryutils.h: New files, implement 3 methods for each
25036 query type: parse_query, parse_response, and set. Probably need an
25039 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
25041 * gst/elements/gstfilesink.c (gst_filesink_query2):
25042 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
25043 query_types, and formats methods.
25045 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
25046 (gst_pad_set_query2_function): New functions.
25047 (gst_real_pad_init): Set query2_default as the default query2
25048 function. Basically just dispatches to internally linked pads.
25052 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
25053 without using the atomic operations. Only one thread can possibly
25054 be accessing the data at this point. Changed so as to avoid
25055 gst_atomic operations.
25057 2005-05-06 Wim Taymans <wim@fluendo.com>
25059 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
25060 Also set caps if we use the fallback buffer alloc.
25062 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
25064 * docs/gst/Makefile.am:
25065 * docs/gst/gstreamer-docs.sgml:
25066 * docs/gst/gstreamer-sections.txt:
25067 * docs/gst/tmpl/gstatomic.sgml:
25068 * docs/gst/tmpl/gstmemchunk.sgml:
25069 * testsuite/elements/struct_i386.h:
25070 * win32/GStreamer.vcproj:
25072 Purge GstAtomic stuff from docs and win32 makefiles as well
25074 2005-05-06 Wim Taymans <wim@fluendo.com>
25076 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25077 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25078 * gst/gstpad.c: (gst_pad_peer_get_caps):
25079 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25080 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25081 (gst_queue_src_activate), (gst_queue_change_state):
25083 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25084 (intersect_caps_func):
25085 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25086 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25087 Some fixes for the peer_get_caps() change.
25089 2005-05-06 Wim Taymans <wim@fluendo.com>
25091 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25092 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25093 (gst_basesink_activate):
25094 Actually do something with error codes returned from the push
25097 2005-05-06 Wim Taymans <wim@fluendo.com>
25099 * docs/design/part-element-sink.txt:
25100 * docs/design/part-element-source.txt:
25101 * gst/base/gstbasesink.c: (gst_basesink_class_init),
25102 (gst_basesink_event), (gst_basesink_activate):
25103 * gst/base/gstbasesink.h:
25104 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25105 (gst_basesrc_activate):
25106 * gst/base/gstbasesrc.h:
25107 * gst/gstelement.c: (gst_element_pads_activate):
25108 Some more documentation.
25109 Fixed scheduling decision in _pads_activate().
25111 2005-05-05 Andy Wingo <wingo@pobox.com>
25113 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25116 2005-05-05 Wim Taymans <wim@fluendo.com>
25118 * gst/base/Makefile.am:
25119 * gst/base/gstbasesink.h:
25120 * gst/base/gstbasesrc.c: (gst_basesrc_init),
25121 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25122 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25123 (gst_collectpads_class_init), (gst_collectpads_init),
25124 (gst_collectpads_finalize), (gst_collectpads_new),
25125 (gst_collectpads_set_function), (gst_collectpads_add_pad),
25126 (find_pad), (gst_collectpads_remove_pad),
25127 (gst_collectpads_is_active), (gst_collectpads_collect),
25128 (gst_collectpads_collect_range), (gst_collectpads_start),
25129 (gst_collectpads_stop), (gst_collectpads_peek),
25130 (gst_collectpads_pop), (gst_collectpads_available),
25131 (gst_collectpads_read), (gst_collectpads_flush),
25132 (gst_collectpads_chain):
25133 * gst/base/gstcollectpads.h:
25134 * gst/elements/Makefile.am:
25135 * gst/elements/gstelements.c:
25136 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25137 (gst_fakesink_get_times), (gst_fakesink_event),
25138 (gst_fakesink_preroll), (gst_fakesink_render):
25139 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25140 (gst_filesink_init), (gst_filesink_set_location),
25141 (gst_filesink_open_file), (gst_filesink_close_file),
25142 (gst_filesink_pad_query), (gst_filesink_event),
25143 (gst_filesink_render), (gst_filesink_change_state):
25144 * gst/elements/gstfilesink.h:
25145 Added object to help in making collect pad based elements.
25147 Make event function in sink baseclass return gboolean.
25149 2005-05-05 Wim Taymans <wim@fluendo.com>
25151 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25152 (gst_bin_get_by_name):
25154 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25155 (gst_clock_finalize):
25156 * gst/gstdata.c: (gst_data_replace):
25158 * gst/gstelement.c: (gst_element_request_pad),
25159 (gst_element_pads_activate):
25160 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25161 (gst_object_unref):
25162 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25163 (gst_pad_set_checkgetrange_function),
25164 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25165 (gst_pad_check_pull_range), (gst_pad_pull_range),
25166 (gst_static_pad_template_get_caps), (gst_pad_start_task),
25167 (gst_pad_pause_task), (gst_pad_stop_task):
25168 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25169 (gst_element_request_pad), (gst_pad_proxy_getcaps):
25170 Fix name lookup in GstBin.
25171 Added _data_replace() function and _buffer_replace()
25172 Use finalize method to clean up clock.
25173 Fix refcounting on request pads.
25174 Fix pad schedule mode error.
25175 Some more object refcounting debug info,
25178 2005-05-04 Andy Wingo <wingo@pobox.com>
25180 * check/Makefile.am:
25181 * docs/gst/tmpl/gstatomic.sgml:
25182 * docs/gst/tmpl/gstplugin.sgml:
25183 * gst/base/gstbasesink.c: (gst_basesink_activate):
25184 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25185 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25186 (gst_basesrc_query), (gst_basesrc_set_property),
25187 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25188 (gst_basesrc_activate):
25189 * gst/base/gstbasesrc.h:
25190 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25191 (gst_base_transform_src_activate):
25192 * gst/elements/gstelements.c:
25193 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25194 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25195 * gst/elements/gsttee.c: (gst_tee_sink_activate):
25196 * gst/elements/gsttypefindelement.c: (find_element_get_length),
25197 (gst_type_find_element_checkgetrange),
25198 (gst_type_find_element_activate):
25199 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25200 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25201 (gst_caps_load_thyself):
25202 * gst/gstelement.c: (gst_element_pads_activate),
25203 (gst_element_save_thyself), (gst_element_restore_thyself):
25204 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25205 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25207 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25208 (gst_xml_parse_file), (gst_xml_parse_memory),
25209 (gst_xml_get_element), (gst_xml_make_element):
25210 * gst/indexers/gstfileindex.c: (gst_file_index_load),
25211 (_file_index_id_save_xml), (gst_file_index_commit):
25212 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25213 (read_enum), (load_pad_template), (load_feature), (load_plugin),
25215 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25216 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25217 * tools/gst-complete.c: (main):
25218 * tools/gst-compprep.c: (main):
25219 * tools/gst-inspect.c: (print_element_properties_info):
25220 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25221 * tools/gst-xmlinspect.c: (print_element_properties):
25224 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
25226 * gst/gstplugin.c: (gst_plugin_check_module),
25227 (gst_plugin_check_file), (gst_plugin_load_file):
25228 apply patch from #172526 to make register work on MacOSX
25230 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25232 * docs/gst/tmpl/gstconfig.sgml:
25233 * gst/gstconfig.h.in:
25234 move documentation for some symbols. Add doc for GST_PTR_FORMAT
25235 * testsuite/debug/printf_extension.c: (main):
25236 Do not use GST_PTR_FORMAT on pointers to types with
25237 sizeof < sizeof(gpointer). Fixes test on 64-bit
25238 * testsuite/elements/property.h:
25239 use correct printf format
25241 2005-05-02 Wim Taymans <wim@fluendo.com>
25243 * docs/design/draft-push-pull.txt:
25244 * docs/design/draft-query.txt:
25245 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25246 (gst_basesrc_start):
25247 Added draft for new query API.
25248 Added draft for better selecting scheduling methods.
25249 Make basesrc ignore length if the subclass does not support
25252 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25255 possible fixes for automake-1.5 - _LIBADD is reserved
25257 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25259 * docs/faq/Makefile.am:
25260 * docs/manual/Makefile.am:
25261 * docs/manuals.mak:
25262 * docs/pwg/Makefile.am:
25264 possible fixes for automake-1.5
25266 2005-04-28 Wim Taymans <wim@fluendo.com>
25268 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25269 (gst_basesink_pad_getcaps), (gst_basesink_init),
25270 (gst_basesink_do_sync):
25271 * gst/gstclock.c: (gst_clock_entry_new):
25272 * gst/gstevent.c: (gst_event_discont_get_value):
25273 * gst/gstpipeline.c: (pipeline_bus_handler),
25274 (gst_pipeline_change_state):
25275 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25276 Better debugging of clocking info.
25277 Allow NULL values when getting discont values.
25279 2005-04-27 Wim Taymans <wim@fluendo.com>
25281 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25282 * check/gst/gstpad.c: (gst_pad_suite):
25283 Increase timeout for checks.
25285 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
25287 * check/Makefile.am:
25288 fix the broken rule for cleanup. Apparently this rule is
25289 only needed on FC2, so maybe this warrants further autotool
25292 2005-04-26 Wim Taymans <wim@fluendo.com>
25294 * gst/gsttrashstack.h:
25295 Ooohh. a nasty one! After having a failed pop() from the stack,
25296 it's possible that the stack is empty. In that case, don't
25297 follow the NULL pointer.
25299 2005-04-25 Wim Taymans <wim@fluendo.com>
25301 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25302 (gst_pad_set_checkgetrange_function),
25303 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25304 (gst_pad_check_pull_range), (gst_pad_pull_range),
25305 (gst_static_pad_template_get_caps), (gst_pad_start_task),
25306 (gst_pad_pause_task), (gst_pad_stop_task):
25307 * gst/gstplugin.c: (gst_plugin_load):
25309 Remove gst_library_load as it does more harm than good with
25310 the new g_module flags.
25311 Revert bogus caps template check in pad linking, pad caps
25312 are important when linking not the template, which is more
25313 general than the current caps.
25315 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25317 * gst/autoplug/.cvsignore:
25318 * gst/autoplug/Makefile.am:
25319 * gst/autoplug/gstsearchfuncs.c:
25320 * gst/autoplug/gstsearchfuncs.h:
25321 * gst/autoplug/gstspider.c:
25322 * gst/autoplug/gstspider.h:
25323 * gst/autoplug/gstspideridentity.c:
25324 * gst/autoplug/gstspideridentity.h:
25325 * gst/autoplug/spidertest.c:
25328 2005-04-25 Wim Taymans <wim@fluendo.com>
25330 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25331 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25332 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25333 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25335 Added stubs for unimplemented functions.
25337 2005-04-24 David Schleef <ds@schleef.org>
25339 * gst/gstpad.h: Disable some unimplemented functions. Wim,
25342 2005-04-24 David Schleef <ds@schleef.org>
25344 Convert everything from GstAtomicInt to g_atomic_int_*, and
25349 * gst/gstatomic_impl.h:
25357 * gst/gstdata_private.h:
25361 * gst/gstmessage.c:
25364 * gst/gststructure.c:
25365 * gst/gststructure.h:
25366 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25369 2005-04-24 David Schleef <ds@schleef.org>
25371 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25372 make the regressions tests work. Remove some code that is no
25374 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25375 Disable warning for pads without templates.
25377 2005-04-24 David Schleef <ds@schleef.org>
25379 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
25380 functions that handle filtered links.
25381 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25383 * gst/gstutils.c: Fix/remove utility functions that handle
25386 * gst/gstvalue.c: Add serialization/deserialization of caps
25387 * gst/parse/grammar.y: Ignore filtered caps when linking. This
25388 requires fixing so that the filter caps notation creates
25389 a capsfilter element and sets the filter_caps property. I
25390 think everyone probably wants to keep the shorthand notation.
25391 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25392 * docs/gst/tmpl/gstpad.sgml:
25394 * gst/elements/gstelements.c: Register capsfilter element.
25395 * gst/Makefile.am: fix spacing
25396 * docs/random/ds/0.9-suggested-changes: random
25398 2005-04-23 David Schleef <ds@schleef.org>
25400 * gst/elements/Makefile.am:
25401 * gst/elements/gstcapsfilter.c: New element that acts like an
25402 identity, but filters caps. Will eventually replace filtered
25403 caps in pad linking.
25404 * gst/gstutils.c: (gst_element_create_all_pads): New function
25405 to create all the ALWAYS pads that are registered with an
25406 element class. This functionality should eventually be
25407 merged in with GstElement initialization.
25409 * testsuite/trigger/README: part of trigger test code that should
25410 have been checked in a long time ago.
25412 2005-04-23 David Schleef <ds@schleef.org>
25414 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
25415 needed with new versions of libtool (nobody will confirm this),
25416 and hard to carry around.
25417 * gst/autoplug/Makefile.am:
25418 * gst/base/Makefile.am:
25419 * gst/elements/Makefile.am:
25420 * gst/indexers/Makefile.am:
25421 * gst/schedulers/Makefile.am:
25422 * libs/gst/bytestream/Makefile.am:
25423 * libs/gst/control/Makefile.am:
25424 * libs/gst/dataprotocol/Makefile.am:
25425 * libs/gst/getbits/Makefile.am:
25427 2005-04-21 Wim Taymans <wim@fluendo.com>
25429 * docs/design/draft-push-pull.txt:
25430 * docs/design/part-MT-refcounting.txt:
25431 * docs/design/part-TODO.txt:
25432 * docs/design/part-caps.txt:
25433 * docs/design/part-events.txt:
25434 * docs/design/part-gstbus.txt:
25435 * docs/design/part-gstpipeline.txt:
25436 * docs/design/part-messages.txt:
25437 * docs/design/part-push-pull.txt:
25438 * docs/design/part-query.txt:
25441 2005-04-21 Wim Taymans <wim@fluendo.com>
25443 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25444 (gst_message_new), (gst_message_new_error),
25445 (gst_message_new_warning), (gst_message_new_tag),
25446 (gst_message_new_state_changed), (gst_message_new_application),
25447 (gst_message_get_structure):
25448 * gst/gstmessage.h:
25449 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25450 (gst_structure_copy_conditional):
25451 Use parent refcount in GstMessage to ensure GstStructure
25453 Cleaned up headers a bit.
25456 2005-04-20 Wim Taymans <wim@fluendo.com>
25458 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25459 (gst_basesink_pad_getcaps), (gst_basesink_init),
25460 (gst_basesink_chain_unlocked):
25461 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25462 (gst_type_find_helper):
25463 * gst/elements/gsttypefindelement.c:
25464 (gst_type_find_element_have_type), (gst_type_find_element_init),
25465 (stop_typefinding), (gst_type_find_element_handle_event),
25466 (find_suggest), (gst_type_find_element_chain),
25467 (gst_type_find_element_checkgetrange),
25468 (gst_type_find_element_getrange), (do_typefind),
25469 (gst_type_find_element_activate):
25470 * gst/gstbuffer.c: (_gst_buffer_sub_free),
25471 (gst_buffer_default_free), (gst_buffer_default_copy),
25472 (gst_buffer_set_caps):
25473 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25474 (gst_caps_replace):
25475 * gst/gstmessage.c: (gst_message_new),
25476 (gst_message_new_state_changed):
25477 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25478 (gst_pad_set_checkgetrange_function),
25479 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25480 (gst_pad_set_caps), (gst_pad_check_pull_range),
25481 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25483 * gst/gsttypefind.c: (gst_type_find_register):
25484 Make gst_caps_replace() work like other _replace() functions.
25485 Use _caps_replace() where possible.
25486 Make sure _message_new() initialises its field.
25487 Add gst_static_pad_template_get_caps()
25490 2005-04-18 Andy Wingo <wingo@pobox.com>
25492 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25493 on the peer, not the pad. I think that was a typo. Pass an extra
25494 arg to see if random access is possible. Activate the pads as
25495 PULL_RANGE if possible.
25497 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25499 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
25500 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25503 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25505 * docs/faq/using.xml:
25506 Add note on gstreamer-properties (#154996).
25508 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25510 * docs/random/bbb/optional-properties:
25511 Some analysis on optional properties.
25513 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25515 * docs/gst/tmpl/gstelementfactory.sgml:
25516 * gst/gstelement.h:
25517 * gst/gstelementfactory.c: (gst_element_factory_init),
25518 (gst_element_factory_cleanup), (gst_element_register),
25519 (__gst_element_factory_add_static_pad_template),
25520 (gst_element_factory_get_static_pad_templates),
25521 (gst_element_factory_can_src_caps),
25522 (gst_element_factory_can_sink_caps):
25523 * gst/registries/Makefile.am:
25524 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25525 (gst_xml_registry_class_init), (gst_xml_registry_init),
25526 (gst_xml_registry_new), (gst_xml_registry_set_property),
25527 (gst_xml_registry_get_property), (get_time), (make_dir),
25528 (gst_xml_registry_get_perms_func),
25529 (plugin_times_older_than_recurse), (plugin_times_older_than),
25530 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25531 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25532 (add_to_char_array), (read_string), (read_uint), (read_enum),
25533 (load_pad_template), (load_feature), (load_plugin), (load_paths),
25534 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25535 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25536 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25537 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25538 (gst_xml_registry_rebuild):
25539 * gst/registries/gstlibxmlregistry.h:
25540 * tools/gst-compprep.c: (main):
25541 * tools/gst-inspect.c: (print_pad_templates_info):
25542 * tools/gst-xmlinspect.c: (print_element_info):
25543 Use libxml2 for registry parsing, use staticpadtemplates in
25544 elementfactories. Makes gst_init() +/- 10x faster.
25546 2005-04-12 Wim Taymans <wim@fluendo.com>
25548 * gst/base/Makefile.am:
25549 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25550 (gst_basesink_pad_getcaps), (gst_basesink_init),
25551 (gst_basesink_event), (gst_basesink_change_state):
25552 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25553 (gst_basesrc_init), (gst_basesrc_query),
25554 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25555 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25556 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25557 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25558 (gst_basesrc_stop), (gst_basesrc_activate),
25559 (gst_basesrc_change_state):
25560 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25561 (helper_find_suggest), (gst_type_find_helper):
25562 * gst/base/gsttypefindhelper.h:
25563 * gst/elements/Makefile.am:
25564 * gst/elements/gstelements.c:
25565 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25566 (gst_fakesink_get_times), (gst_fakesink_event),
25567 (gst_fakesink_preroll), (gst_fakesink_render):
25568 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25569 (gst_fakesrc_init), (gst_fakesrc_event_handler),
25570 (gst_fakesrc_get_property), (gst_fakesrc_create),
25571 (gst_fakesrc_start), (gst_fakesrc_stop):
25572 * gst/elements/gstfakesrc.h:
25573 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25574 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25575 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25576 (gst_filesrc_create_read), (gst_filesrc_create),
25577 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25578 (gst_filesrc_start):
25579 * gst/elements/gsttypefindelement.c:
25580 (gst_type_find_element_have_type), (gst_type_find_element_init),
25581 (start_typefinding), (stop_typefinding), (push_buffer_store),
25582 (gst_type_find_element_handle_event),
25583 (gst_type_find_element_chain),
25584 (gst_type_find_element_checkgetrange),
25585 (gst_type_find_element_getrange), (do_typefind),
25586 (gst_type_find_element_activate),
25587 (gst_type_find_element_change_state):
25588 * gst/elements/gsttypefindelement.h:
25589 * gst/gstpipeline.c: (pipeline_bus_handler):
25590 Added typefind helper.
25591 Small preroll fix in the base sink.
25592 Disable typefind code in basesrc.
25593 Crude port of typefindelement.
25597 2005-04-11 Wim Taymans <wim@fluendo.com>
25599 * check/gst/gstbus.c: (gstbus_suite):
25600 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25601 * check/gstcheck.h:
25602 Fix up the timeout so that the test does not fail.
25604 2005-04-06 Wim Taymans <wim@fluendo.com>
25607 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25608 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25609 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25610 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25611 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25612 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25613 (gst_basesrc_stop), (gst_basesrc_activate),
25614 (gst_basesrc_change_state), (basesrc_find_peek),
25615 (basesrc_find_suggest), (gst_basesrc_type_find):
25616 * gst/base/gstbasesrc.h:
25617 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25618 (gst_filesrc_class_init), (gst_filesrc_init),
25619 (gst_filesrc_finalize), (gst_filesrc_set_location),
25620 (gst_filesrc_set_property), (gst_filesrc_get_property),
25621 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25622 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25623 (gst_filesrc_create_read), (gst_filesrc_create),
25624 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25625 * gst/elements/gstfilesrc.h:
25626 * gst/gstelement.c: (gst_element_get_state_func),
25627 (gst_element_lost_state), (gst_element_pads_activate):
25628 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25629 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25630 (gst_pad_pull_range):
25632 More work on the generic source base class, implement seeking,
25634 Make filesrc extend the base source class.
25635 Added gst_pad_set_checkgetrange_function to GstPad.
25637 2005-04-06 Andy Wingo <wingo@pobox.com>
25639 * pkgconfig/gstreamer-base.pc.in:
25640 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25642 * pkgconfig/Makefile.am:
25643 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25645 2005-04-04 Wim Taymans <wim@fluendo.com>
25647 * gst/base/Makefile.am:
25649 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25650 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25651 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25652 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25653 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25654 (gst_basesrc_base_init), (gst_basesrc_class_init),
25655 (gst_basesrc_init), (gst_basesrc_get_formats),
25656 (gst_basesrc_get_query_types), (gst_basesrc_query),
25657 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25658 (gst_basesrc_set_property), (gst_basesrc_get_property),
25659 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25660 (gst_basesrc_loop), (gst_basesrc_activate),
25661 (gst_basesrc_change_state):
25662 * gst/base/gstbasesrc.h:
25663 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25664 (gst_fakesrc_class_init), (gst_fakesrc_init),
25665 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25666 (gst_fakesrc_get_property), (gst_fakesrc_create):
25667 * gst/elements/gstfakesrc.h:
25668 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25669 (gst_filesrc_open_file), (gst_filesrc_loop),
25670 (gst_filesrc_activate), (filesrc_find_peek),
25671 (gst_filesrc_type_find):
25672 Made base source class, make fakesrc extend it.
25673 Add comments to basesink class.
25674 Some filesrc cleanup.
25676 2005-03-31 David Schleef <ds@schleef.org>
25678 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25679 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25680 expected to link against libgstreamer.
25681 * gst/base/Makefile.am: link against libgstreamer
25682 * gst/elements/Makefile.am: same
25684 2005-03-31 Andy Wingo <wingo@pobox.com>
25686 * tests/instantiate/Makefile.am:
25687 * tests/instantiate/caps.c: Add test to test speed of caps copy
25690 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25691 GMemChunk to be fair.
25693 * gst/gsttrashstack.h: Remove warning about using the fallback
25694 trash stack implementation, it's still faster than malloc.
25696 2005-03-30 Andy Wingo <wingo@pobox.com>
25698 * tests/complexity.c: Add a copyright.
25700 2005-03-31 Wim Taymans <wim@fluendo.com>
25702 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25703 (gst_base_transform_class_init), (gst_base_transform_init),
25704 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25705 (gst_base_transform_get_property),
25706 (gst_base_transform_sink_activate),
25707 (gst_base_transform_src_activate),
25708 (gst_base_transform_change_state):
25709 * gst/base/gstbasetransform.h:
25710 * gst/elements/gstidentity.c: (gst_identity_class_init),
25711 (gst_identity_event), (gst_identity_check_perfect),
25712 (gst_identity_transform), (gst_identity_start),
25713 (gst_identity_stop):
25714 Added start/stop methods to transform base class so subclasses
25715 don't need to deal with state changes even.
25717 2005-03-31 Wim Taymans <wim@fluendo.com>
25719 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25720 (gst_event_new_discontinuous), (gst_event_discont_get_value):
25722 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25723 (gst_pad_pull_range):
25724 Added rate to the discont event to prepare for variable speed
25725 and reverse playback.
25727 2005-03-29 David Schleef <ds@schleef.org>
25730 * testsuite/trigger/Makefile.am:
25731 * testsuite/trigger/trigger.c: A little example program to show
25732 how trigger-based elements can work.
25734 2005-03-29 Wim Taymans <wim@fluendo.com>
25736 * gst/base/Makefile.am:
25738 * gst/base/gstbasesink.c: (gst_basesink_get_type),
25739 (gst_basesink_base_init), (gst_basesink_class_init),
25740 (gst_basesink_pad_getcaps), (gst_basesink_init),
25741 (gst_basesink_activate), (gst_basesink_change_state):
25742 * gst/base/gstbasesink.h:
25743 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25744 (gst_base_transform_base_init), (gst_base_transform_finalize),
25745 (gst_base_transform_class_init), (gst_base_transform_init),
25746 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25747 (gst_base_transform_event), (gst_base_transform_getrange),
25748 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25749 (gst_base_transform_set_property),
25750 (gst_base_transform_get_property),
25751 (gst_base_transform_sink_activate),
25752 (gst_base_transform_src_activate),
25753 (gst_base_transform_change_state):
25754 * gst/base/gstbasetransform.h:
25755 * gst/elements/gstidentity.c: (gst_identity_finalize),
25756 (gst_identity_class_init), (gst_identity_init),
25757 (gst_identity_event), (gst_identity_check_perfect),
25758 (gst_identity_transform), (gst_identity_set_property),
25759 (gst_identity_get_property), (gst_identity_change_state):
25760 * gst/elements/gstidentity.h:
25761 * gst/gstelement.c: (gst_element_get_state_func),
25762 (gst_element_lost_state), (gst_element_pads_activate):
25763 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25764 (gst_pad_check_pull_range), (gst_pad_pull_range):
25766 Simplify pad activation.
25767 Added function to check if pull_range can be performed.
25768 Error out when pulling inactive or flushing pads.
25769 Removed const from refcounted types as it does not make sense.
25770 Simplify pad templates in basesink
25771 Added base class for simple 1-to-1 transforms.
25772 Make identity subclass the base transform.
25774 2005-03-29 Andy Wingo <wingo@pobox.com>
25776 * docs/libs/gstreamer-libs-overrides.txt:
25777 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25778 really don't understand what's going on, but like whatever. I want
25781 * docs/gst/Makefile.am:
25782 * docs/libs/Makefile.am: Dist the overrides files.
25784 * check/Makefile.am (clean-local): Remove .libs directories.
25786 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25787 elements to EXTRA_DIST, so po/ files are happy.
25789 * po/POTFILES.in: Er, remove it here.
25791 * po/POTFILES: Remove gstspider.c.
25793 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25795 * docs/libs/gstreamer-libs-docs.sgml:
25796 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25799 * tests/complexity.c (main): Set the length of the preroll queue
25800 on the sinks to prevent a lockup.
25802 * libs/gst/dataprotocol/Makefile.am:
25803 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25804 the same as the one in check/gst-libs/gdp.c.
25806 * po/, docs/gst/: Commit automatic changes to docs and po files.
25808 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25809 the versioned libgstbase.
25811 * check/Makefile.am: Depend on an unversioned gst-register, seems
25812 to make autoconf happier.
25814 * gst/base/Makefile.am: Make libgstbase a versioned lib.
25816 2005-03-28 Wim Taymans <wim@fluendo.com>
25819 * docs/design/part-gstelement.txt:
25820 * docs/design/part-negotiation.txt:
25821 * docs/design/part-preroll.txt:
25822 * docs/design/part-scheduling.txt:
25823 * docs/design/part-states.txt:
25825 * gst/base/Makefile.am:
25827 * gst/base/gstbasesink.c: (gst_basesink_get_template),
25828 (gst_basesink_base_init), (gst_basesink_class_init),
25829 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25830 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25831 (gst_basesink_set_pad_functions),
25832 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25833 (gst_basesink_set_property), (gst_basesink_get_property),
25834 (gst_base_sink_get_template), (gst_base_sink_get_caps),
25835 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25836 (gst_basesink_preroll_queue_push),
25837 (gst_basesink_preroll_queue_empty),
25838 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25839 (gst_basesink_event), (gst_basesink_get_times),
25840 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25841 (gst_basesink_chain_unlocked), (gst_basesink_chain),
25842 (gst_basesink_loop), (gst_basesink_activate),
25843 (gst_basesink_change_state):
25844 * gst/base/gstbasesink.h:
25845 * gst/elements/Makefile.am:
25846 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25847 (gst_fakesink_class_init), (gst_fakesink_init),
25848 (gst_fakesink_set_property), (gst_fakesink_get_property),
25849 (gst_fakesink_get_times), (gst_fakesink_event),
25850 (gst_fakesink_preroll), (gst_fakesink_render),
25851 (gst_fakesink_change_state):
25852 * gst/elements/gstfakesink.h:
25853 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25854 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25855 * gst/gstelement.c: (gst_element_add_pad),
25856 (gst_element_get_state_func), (gst_element_abort_state),
25857 (gst_element_commit_state), (gst_element_lost_state),
25858 (gst_element_set_state), (gst_element_pads_activate):
25859 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25860 * gst/gstpipeline.c: (gst_pipeline_send_event),
25861 (gst_pipeline_change_state):
25862 Added state change code.
25863 Added/updated docs.
25864 Added sink base class, make fakesink extend the base class.
25865 Small cleanups in GstPipeline.
25867 2005-03-26 David Schleef <ds@schleef.org>
25869 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
25870 is broken and should be implemented in a different library.
25871 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25872 * gst/gst.h: remove gstcpu.h
25873 * gst/gstcpu.c: remove
25874 * gst/gstcpu.h: remove
25875 * gst/Makefile.am.future: Remove this file. It's ancient.
25877 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25879 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25880 (gst_bin_send_event):
25881 Add default event/set_manager handlers. The set_manager handler
25882 takes care that the manager is distributed over kids that were
25883 already in the bin before the manager was set. The event handler
25884 is a utility virtual function that sends the event over all sinks,
25885 so that gst_element_send_event (bin, event); has the expected
25887 * gst/gstpad.c: (gst_pad_event_default):
25888 Re-install default event handling for discontinuities, so that
25889 seeking works without requiring hacks in applications or extra
25891 * gst/gstpipeline.c: (gst_pipeline_class_init),
25892 (gst_pipeline_send_event):
25893 Half hack, half utility: set a pipeline to PAUSED for seek events,
25894 since that is the only way we can guarantee a/v sync. Means that
25895 you can do gst_element_seek (pipeline, method, pos); on a pipeline
25896 and it "just works".
25898 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25900 * gst/gstpipeline.c: (gst_pipeline_use_clock):
25901 Lock/unlock mismatch.
25903 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
25905 * docs/faq/gst-uninstalled:
25906 add gst-plugins-base
25907 * docs/gst/Makefile.am:
25908 don't error out until docs are fixed
25909 * docs/gst/gstreamer.types:
25912 2005-03-22 Wim Taymans <wim@fluendo.com>
25914 * check/Makefile.am:
25915 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25916 * gst/gststructure.c: (gst_structure_set_valist),
25917 (gst_structure_copy_conditional):
25918 Activated more tests.
25919 Added message test.
25920 Added G_TYPE_POINTER to GstStructure.
25923 2005-03-22 Wim Taymans <wim@fluendo.com>
25925 * docs/design/part-TODO.txt:
25926 * docs/design/part-events.txt:
25927 * docs/design/part-gstbin.txt:
25928 * docs/design/part-gstbus.txt:
25929 * docs/design/part-gstpipeline.txt:
25930 * docs/design/part-messages.txt:
25932 * gst/gstmessage.c:
25935 2005-03-21 Wim Taymans <wim@fluendo.com>
25937 * gst/gstbus.c: (gst_bus_post):
25938 Fix copy-and-paste error.
25940 2005-03-21 Wim Taymans <wim@fluendo.com>
25942 * check/Makefile.am:
25944 * gst/elements/Makefile.am:
25945 * gst/elements/gstelements.c:
25946 * gst/elements/gstfakesink.c: (gst_fakesink_init),
25947 (gst_fakesink_event), (gst_fakesink_chain):
25948 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25949 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25950 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25951 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25952 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25953 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25954 (gst_fakesrc_loop), (gst_fakesrc_activate),
25955 (gst_fakesrc_change_state):
25956 * gst/elements/gstfakesrc.h:
25957 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25958 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25959 (gst_filesrc_open_file), (gst_filesrc_loop),
25960 (gst_filesrc_activate), (gst_filesrc_change_state),
25961 (filesrc_find_peek), (filesrc_find_suggest),
25962 (gst_filesrc_type_find):
25963 * gst/elements/gstidentity.c: (gst_identity_finalize),
25964 (gst_identity_class_init), (gst_identity_init),
25965 (gst_identity_proxy_getcaps), (identity_queue_push),
25966 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25967 (gst_identity_getrange), (gst_identity_chain),
25968 (gst_identity_sink_loop), (gst_identity_src_loop),
25969 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25970 (gst_identity_set_property), (gst_identity_get_property),
25971 (gst_identity_change_state):
25972 * gst/elements/gstidentity.h:
25973 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25974 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25975 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25976 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25977 (gst_tee_sink_activate):
25978 * gst/elements/gsttee.h:
25979 * gst/gst.c: (gst_register_core_elements), (init_post):
25981 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25982 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25983 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25984 (gst_bin_change_state):
25986 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25987 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25988 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25989 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25990 (gst_bus_set_sync_handler), (gst_bus_create_watch),
25991 (bus_watch_callback), (bus_watch_destroy),
25992 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25993 (poll_timeout), (gst_bus_poll):
25997 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25998 (gst_element_post_message), (gst_element_message_full),
25999 (gst_element_get_state_func), (gst_element_get_state),
26000 (gst_element_abort_state), (gst_element_commit_state),
26001 (gst_element_lost_state), (gst_element_set_state),
26002 (gst_element_pads_activate), (gst_element_change_state),
26003 (gst_element_dispose), (gst_element_set_manager_func),
26004 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
26005 (gst_element_set_manager), (gst_element_get_manager),
26006 (gst_element_set_bus), (gst_element_get_bus),
26007 (gst_element_set_scheduler), (gst_element_get_scheduler):
26008 * gst/gstelement.h:
26009 * gst/gstevent.c: (gst_event_new_segment_seek),
26010 (gst_event_new_flush):
26012 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
26013 (_gst_message_free), (gst_message_get_type), (gst_message_new),
26014 (gst_message_new_eos), (gst_message_new_error),
26015 (gst_message_new_warning), (gst_message_new_tag),
26016 (gst_message_new_state_changed), (gst_message_new_application),
26017 (gst_message_get_structure), (gst_message_parse_tag),
26018 (gst_message_parse_state_changed), (gst_message_parse_error),
26019 (gst_message_parse_warning):
26020 * gst/gstmessage.h:
26021 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
26022 (gst_real_pad_set_property), (gst_pad_set_active),
26023 (gst_pad_is_active), (gst_pad_set_blocked_async),
26024 (gst_pad_set_blocked), (gst_pad_is_blocked),
26025 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
26026 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
26027 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
26028 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
26029 (gst_pad_link_filtered), (gst_pad_relink_filtered),
26030 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
26031 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
26032 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
26033 (gst_pad_set_caps), (gst_pad_configure_sink),
26034 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
26035 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
26036 (gst_real_pad_dispose), (gst_real_pad_finalize),
26037 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
26038 (gst_pad_event_default_dispatch), (gst_pad_event_default),
26039 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
26041 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
26042 (pipeline_bus_handler), (gst_pipeline_change_state),
26043 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
26044 * gst/gstpipeline.h:
26046 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
26047 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
26048 (gst_queue_link_src), (gst_queue_bufferalloc),
26049 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
26050 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
26051 (gst_queue_loop), (gst_queue_handle_src_event),
26052 (gst_queue_handle_src_query), (gst_queue_src_activate),
26053 (gst_queue_change_state):
26055 * gst/gstscheduler.c: (gst_scheduler_init),
26056 (gst_scheduler_dispose), (gst_scheduler_create_task),
26057 (gst_scheduler_factory_create):
26058 * gst/gstscheduler.h:
26059 * gst/gststructure.c: (gst_structure_get_type),
26060 (gst_structure_copy_conditional):
26061 * gst/gststructure.h:
26062 * gst/gsttaginterface.h:
26063 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26064 (gst_task_init), (gst_task_dispose), (gst_task_create),
26065 (gst_task_get_state), (gst_task_start), (gst_task_stop),
26071 * gst/schedulers/Makefile.am:
26072 * gst/schedulers/cothreads_compat.h:
26073 * gst/schedulers/entryscheduler.c:
26074 * gst/schedulers/faircothreads.c:
26075 * gst/schedulers/faircothreads.h:
26076 * gst/schedulers/fairscheduler.c:
26077 * gst/schedulers/gstbasicscheduler.c:
26078 * gst/schedulers/gstoptimalscheduler.c:
26079 * gst/schedulers/gthread-cothreads.h:
26080 * gst/schedulers/threadscheduler.c:
26081 (gst_thread_scheduler_task_get_type),
26082 (gst_thread_scheduler_task_class_init),
26083 (gst_thread_scheduler_task_init),
26084 (gst_thread_scheduler_task_start),
26085 (gst_thread_scheduler_task_stop),
26086 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26087 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26088 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26089 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26091 * libs/gst/Makefile.am:
26092 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26093 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26094 (gst_file_pad_parent_set):
26095 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26096 (gst_dp_event_from_packet):
26097 * tests/complexity.c: (main):
26098 * tests/mass_elements.c: (main):
26099 * testsuite/states/locked.c: (message_received), (main):
26100 * testsuite/states/parent.c: (main):
26101 * tools/gst-inspect.c: (print_element_flag_info),
26102 (print_implementation_info), (print_pad_info):
26103 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26105 * tools/gst-md5sum.c: (event_loop), (main):
26106 * tools/gst-typefind.c: (main):
26107 * tools/gst-xmlinspect.c: (print_element_info):
26109 Added GstBus for mainloop integration.
26110 Added GstMessage for sending notifications on the bus.
26111 Added GstTask as an abstraction for pipeline entry points.
26113 Removed Schedulers.
26114 Simplified GstQueue for multithreaded core.
26115 Made _link threadsafe, removed old capsnego.
26116 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26117 Added pad blocking functions.
26118 Reworked scheduling functions in GstPad to prepare for
26119 scheduling updates soon.
26120 Moved events out of data stream.
26121 Simplified GstEvent types.
26122 Added return values to push/pull.
26123 Removed clocking from GstElement.
26124 Added prototypes for state change function for next merge.
26125 Removed iterate from bins and state change management.
26126 Fixed some elements, disabled others for now.
26127 Fixed -inspect and -launch.
26128 Added check for GstBus.
26130 2005-03-10 Wim Taymans <wim@fluendo.com>
26132 * docs/design/part-MT-refcounting.txt:
26133 * docs/design/part-clocks.txt:
26134 * docs/design/part-gstelement.txt:
26135 * docs/design/part-gstobject.txt:
26136 * docs/design/part-standards.txt:
26137 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26138 (gst_bin_remove_func), (gst_bin_remove):
26142 * testsuite/clock/clock1.c: (main):
26143 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26145 * testsuite/dlopen/loadgst.c: (do_test):
26146 * testsuite/refcounting/bin.c: (add_remove_test1),
26147 (add_remove_test2), (main):
26148 * testsuite/refcounting/element.c: (main):
26149 * testsuite/refcounting/element_pad.c: (main):
26150 * testsuite/refcounting/pad.c: (main):
26151 * tools/gst-launch.c: (sigint_handler_sighandler):
26152 * tools/gst-typefind.c: (main):
26154 Added doc about clock.
26155 removed gst_bin_iterate_recurse_up(), marked methods
26157 Fix more testsuites.
26159 2005-03-09 Wim Taymans <wim@fluendo.com>
26161 * gst/gstpad.c: (gst_pad_get_direction),
26162 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26163 (gst_pad_collect_valist):
26164 * testsuite/bins/interface.c: (main):
26165 * testsuite/caps/audioscale.c: (test_caps):
26166 * testsuite/caps/caps.c: (test1), (test2), (test3):
26167 * testsuite/caps/deserialize.c: (main):
26168 * testsuite/caps/enumcaps.c: (main):
26169 * testsuite/caps/filtercaps.c: (main):
26170 * testsuite/caps/intersect2.c: (main):
26171 * testsuite/caps/random.c: (main):
26172 * testsuite/caps/renegotiate.c: (my_fixate), (main):
26173 * testsuite/caps/sets.c: (check_caps):
26174 * testsuite/caps/simplify.c: (check_caps), (main):
26175 * testsuite/caps/subtract.c: (check_caps):
26176 Fix _pad_get_direction wrt ghostpads.
26177 Fix caps testsuite.
26179 2005-03-09 Wim Taymans <wim@fluendo.com>
26181 * check/Makefile.am:
26182 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26183 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26184 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26185 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26186 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26187 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26188 (gst_bin_remove), (gst_bin_iterate_recurse_up),
26189 (bin_element_is_sink), (gst_bin_iterate_sinks),
26190 (gst_bin_iterate_all_by_interface):
26192 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26193 (gst_element_change_state), (gst_element_dispose),
26194 (gst_element_finalize), (gst_element_set_loop_function):
26195 * gst/gstelement.h:
26196 * gst/gstiterator.c: (find_custom_fold_func):
26197 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26198 (gst_pad_collectv), (gst_pad_collect_valist),
26199 (gst_pad_template_new):
26200 * gst/gstpipeline.c: (gst_pipeline_class_init),
26201 (gst_pipeline_dispose), (gst_pipeline_set_property),
26202 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26203 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26204 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26206 * gst/schedulers/entryscheduler.c:
26207 * gst/schedulers/gstbasicscheduler.c:
26208 (gst_basic_scheduler_cothreaded_chain),
26209 (gst_basic_scheduler_chain_add_element):
26210 * testsuite/bins/interface.c: (main):
26212 Added GstSystemClock test.
26213 Implemented clock distribution code in GstBin.
26214 Implemented iterate sinks method for future use.
26215 Rearranged gstelement.h
26216 Fix GstIterator comparison bug.
26217 Moved some code to GstPipeline, mostly clocking related.
26219 2005-03-09 Wim Taymans <wim@fluendo.com>
26222 * gst/gst_private.h:
26223 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26224 (gst_bin_remove_func), (gst_bin_remove),
26225 (gst_bin_get_by_name_recurse_up):
26226 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26227 (gst_clock_id_compare_func), (gst_clock_id_wait),
26228 (gst_clock_id_wait_async), (gst_clock_init),
26229 (gst_clock_adjust_unlocked), (gst_clock_get_time):
26230 * gst/gstelement.h:
26231 * gst/gstinfo.c: (_gst_debug_init):
26233 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26234 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26236 Bump version number, we're now 0.9.0
26237 Add future debugging category.
26238 Fix NULL _unref() in _get_by_name_recurse_up
26239 Rearrange gstpad.h.
26242 2005-03-08 Wim Taymans <wim@fluendo.com>
26244 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26245 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26246 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26247 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26248 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26249 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26250 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26251 * gst/elements/gstidentity.c: (gst_identity_class_init):
26252 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26253 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26254 * gst/elements/gstshaper.c: (gst_shaper_class_init):
26255 * gst/elements/gststatistics.c: (gst_statistics_class_init):
26256 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26258 * gst/gstelement.c: (gst_element_class_init),
26259 (gst_element_base_class_init), (gst_element_init),
26260 (gst_element_get_random_pad), (gst_element_wait_state_change),
26261 (gst_element_change_state), (gst_element_dispose),
26262 (gst_element_finalize), (gst_element_set_loop_function):
26263 * gst/gstelement.h:
26264 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26265 * gst/gstthread.c: (gst_thread_class_init),
26266 (gst_thread_release_children_locks), (gst_thread_change_state):
26267 * gst/schedulers/gstbasicscheduler.c:
26268 (gst_basic_scheduler_loopfunc_wrapper),
26269 (gst_basic_scheduler_chain_wrapper),
26270 (gst_basic_scheduler_src_wrapper),
26271 (gst_basic_scheduler_remove_element):
26272 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26273 Remove threadsafe properties. Fix elements because GObject
26274 complains when installing a property before declaring a
26275 set/get_property handler.
26276 Rearrange gstelement.h file, use STATE macros for state locks.
26277 Free mutexes in the finalize method instead of dispose.
26279 2005-03-08 Wim Taymans <wim@fluendo.com>
26281 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26282 * gst/gstthread.c: (gst_thread_release_children_locks):
26283 Added parentage check.
26284 Fix build og GstThread again.
26286 2005-03-08 Wim Taymans <wim@fluendo.com>
26288 * docs/design/part-MT-refcounting.txt:
26289 * docs/design/part-conventions.txt:
26290 * docs/design/part-gstobject.txt:
26291 * docs/design/part-relations.txt:
26292 * docs/design/part-standards.txt:
26293 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26294 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26295 (gst_bin_get_by_name), (gst_bin_get_by_interface),
26296 (gst_bin_iterate_all_by_interface):
26299 * gst/gstelement.c: (gst_element_class_init),
26300 (gst_element_change_state), (gst_element_set_loop_function):
26301 * gst/gstelement.h:
26302 * gst/gstiterator.c:
26303 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26304 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26305 (gst_object_dispatch_properties_changed), (gst_object_set_name),
26306 (gst_object_set_parent), (gst_object_unparent),
26307 (gst_object_check_uniqueness):
26309 Docs updates, clean up some headers.
26311 2005-03-07 Wim Taymans <wim@fluendo.com>
26313 * check/.cvsignore:
26314 * check/Makefile.am:
26315 * check/gst-libs/.cvsignore:
26316 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26317 * check/gst/.cvsignore:
26318 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26319 (START_TEST), (gstbus_suite), (main):
26320 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26321 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26322 (gst_data_suite), (main):
26323 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26324 (add_fold_func), (gstiterator_suite), (main):
26325 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26326 (thread_name_object), (thread_name_object_default),
26327 (gst_object_name_compare), (gst_object_suite), (main):
26328 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26329 (gst_pad_suite), (main):
26330 * check/gstcheck.c: (gst_check_log_message_func),
26331 (gst_check_log_critical_func), (gst_check_init):
26332 * check/gstcheck.h:
26333 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26334 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26337 2005-03-07 Wim Taymans <wim@fluendo.com>
26339 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26340 (gst_list_iterator_next), (gst_list_iterator_resync),
26341 (gst_list_iterator_free), (gst_iterator_new_list),
26342 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26343 (gst_iterator_free), (gst_iterator_push), (filter_next),
26344 (filter_resync), (filter_uninit), (filter_free),
26345 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26346 (gst_iterator_foreach), (find_custom_fold_func),
26347 (gst_iterator_find_custom):
26348 * gst/gstiterator.h:
26349 Added missing files.
26351 2005-03-07 Wim Taymans <wim@fluendo.com>
26355 * docs/design/part-MT-refcounting.txt:
26356 * docs/design/part-conventions.txt:
26357 * docs/design/part-gstobject.txt:
26358 * docs/design/part-relations.txt:
26359 * examples/mixer/mixer.c: (main):
26360 * examples/thread/thread.c: (eos), (main):
26362 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26363 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26364 (gst_spider_plug_from_srcpad):
26365 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26366 (gst_spider_identity_change_state),
26367 (gst_spider_identity_sink_loop_type_finding):
26368 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26369 * gst/elements/gstidentity.c: (gst_identity_init):
26370 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26371 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26372 * gst/elements/gsttypefindelement.c: (free_entry):
26375 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26376 (gst_bin_set_clock_func), (gst_bin_auto_clock),
26377 (gst_bin_set_index), (gst_bin_set_element_sched),
26378 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26379 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26380 (gst_bin_iterate_elements), (iterate_child_recurse),
26381 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26382 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26383 (compare_interface), (gst_bin_get_by_interface),
26384 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26386 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26387 (gst_buffer_default_free), (gst_buffer_default_copy),
26388 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26389 (gst_buffer_create_sub):
26391 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26392 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26393 (gst_caps_unref), (gst_static_caps_get),
26394 (gst_caps_remove_and_get_structure), (gst_caps_append),
26395 (gst_caps_append_structure), (gst_caps_remove_structure),
26396 (gst_caps_copy_nth), (gst_caps_set_simple),
26397 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26398 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26399 (gst_caps_structure_intersect_field), (gst_caps_intersect),
26400 (gst_caps_structure_subtract_field), (gst_caps_subtract),
26401 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26402 (gst_caps_structure_figure_out_union),
26403 (gst_caps_switch_structures), (gst_caps_do_simplify),
26404 (gst_caps_replace), (gst_caps_from_string),
26405 (gst_caps_copy_conditional):
26407 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26408 (_gst_clock_id_free), (gst_clock_id_unref),
26409 (gst_clock_id_compare_func), (gst_clock_id_wait),
26410 (gst_clock_id_wait_async), (gst_clock_class_init),
26411 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26412 (gst_clock_get_time), (gst_clock_set_time_adjust),
26413 (gst_clock_set_property), (gst_clock_get_property):
26416 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26417 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26419 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26420 (gst_element_requires_clock), (gst_element_provides_clock),
26421 (gst_element_set_clock), (gst_element_clock_wait),
26422 (gst_element_wait), (gst_element_set_time_delay),
26423 (gst_element_is_indexable), (gst_element_add_pad),
26424 (gst_element_add_ghost_pad), (gst_element_remove_pad),
26425 (pad_compare_name), (gst_element_get_static_pad),
26426 (gst_element_request_pad), (gst_element_get_request_pad),
26427 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26428 (gst_element_class_get_pad_template_list),
26429 (gst_element_class_get_pad_template), (gst_element_error_func),
26430 (gst_element_get_random_pad), (gst_element_get_event_masks),
26431 (gst_element_send_event), (gst_element_seek),
26432 (gst_element_get_query_types), (gst_element_query),
26433 (gst_element_get_formats), (gst_element_convert),
26434 (gst_element_is_locked_state), (gst_element_set_locked_state),
26435 (gst_element_sync_state_with_parent), (gst_element_change_state),
26436 (gst_element_finalize), (gst_element_yield),
26437 (gst_element_interrupt), (gst_element_set_scheduler),
26438 (gst_element_get_scheduler), (gst_element_set_loop_function):
26439 * gst/gstelement.h:
26441 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26442 (gst_format_get_by_nick), (gst_format_get_details),
26443 (gst_format_iterate_definitions):
26445 * gst/gstindex.c: (gst_index_gtype_resolver):
26448 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26449 (gst_mem_chunk_free):
26450 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26451 (gst_object_ref), (gst_object_unref), (gst_object_sink),
26452 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26453 (gst_object_dispatch_properties_changed),
26454 (gst_object_set_name_default), (gst_object_set_name),
26455 (gst_object_get_name), (gst_object_set_name_prefix),
26456 (gst_object_get_name_prefix), (gst_object_set_parent),
26457 (gst_object_get_parent), (gst_object_unparent),
26458 (gst_object_check_uniqueness), (gst_object_save_thyself),
26459 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26460 (gst_object_set_property), (gst_object_get_property),
26461 (gst_object_get_path_string):
26463 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26464 (gst_real_pad_init), (gst_real_pad_get_property),
26465 (gst_pad_custom_new), (gst_pad_get_direction),
26466 (gst_pad_set_active), (gst_pad_is_active),
26467 (gst_pad_set_event_function), (gst_pad_is_linked),
26468 (gst_pad_link_free), (gst_pad_link_intersect),
26469 (gst_pad_link_fixate), (gst_pad_set_caps),
26470 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26471 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26472 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26473 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26474 (gst_pad_get_caps), (gst_pad_peer_get_caps),
26475 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26476 (gst_pad_realize), (gst_pad_get_allowed_caps),
26477 (gst_real_pad_dispose), (gst_real_pad_finalize),
26478 (gst_pad_collectv), (gst_pad_collect_valist),
26479 (gst_pad_template_dispose), (gst_pad_template_new),
26480 (gst_pad_get_internal_links):
26482 * gst/gstpipeline.c: (gst_pipeline_dispose),
26483 (gst_pipeline_change_state):
26484 * gst/gstpipeline.h:
26486 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26487 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26488 * gst/gstpluginfeature.h:
26489 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26490 * gst/gstquery.c: (_gst_query_type_initialize),
26491 (gst_query_type_register), (gst_query_type_get_by_nick),
26492 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26494 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26495 * gst/gstscheduler.c: (gst_scheduler_add_element),
26496 (gst_scheduler_factory_create):
26497 * gst/gststructure.c: (gst_structure_set_parent_refcount),
26498 (gst_structure_free), (gst_structure_set_name),
26499 (gst_structure_id_set_value), (gst_structure_set_value),
26500 (gst_structure_set_valist), (gst_structure_remove_field),
26501 (gst_structure_remove_fields),
26502 (gst_structure_remove_fields_valist),
26503 (gst_structure_remove_all_fields), (gst_structure_foreach),
26504 (gst_structure_map_in_place),
26505 (gst_caps_structure_fixate_field_nearest_int),
26506 (gst_caps_structure_fixate_field_nearest_double):
26507 * gst/gststructure.h:
26508 * gst/gstsystemclock.c: (gst_system_clock_class_init),
26509 (gst_system_clock_init), (gst_system_clock_dispose),
26510 (gst_system_clock_async_thread),
26511 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26512 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26513 * gst/gstsystemclock.h:
26514 * gst/gsttag.c: (gst_tag_list_add_value_internal),
26515 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26516 * gst/gsttaginterface.c:
26517 * gst/gstthread.c: (gst_thread_dispose),
26518 (gst_thread_release_children_locks), (gst_thread_change_state),
26519 (gst_thread_main_loop):
26520 * gst/gsttrashstack.h:
26521 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26523 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26524 (gst_element_request_pad), (gst_element_get_pad_from_template),
26525 (gst_element_request_compatible_pad),
26526 (gst_element_get_compatible_pad_filtered),
26527 (gst_element_get_compatible_pad), (gst_element_state_get_name),
26528 (gst_element_link_pads_filtered), (gst_element_link_filtered),
26529 (gst_element_link_many), (gst_element_link),
26530 (gst_element_link_pads), (gst_element_unlink_pads),
26531 (gst_element_unlink_many), (gst_element_unlink),
26532 (gst_pad_can_link_filtered), (gst_pad_can_link),
26533 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26534 (gst_object_default_error), (gst_bin_add_many),
26535 (gst_bin_remove_many), (gst_element_populate_std_props),
26536 (gst_element_class_install_std_props), (gst_buffer_merge),
26537 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26538 (link_fold_func), (gst_pad_proxy_setcaps):
26540 * gst/gstvalue.c: (gst_value_deserialize_string):
26541 * gst/parse/grammar.y:
26542 * gst/schedulers/gstbasicscheduler.c:
26543 (gst_basic_scheduler_cothreaded_chain),
26544 (gst_basic_scheduler_chain_recursive_add),
26545 (gst_basic_scheduler_pad_link):
26546 * gst/schedulers/gstoptimalscheduler.c:
26547 (get_group_schedule_function),
26548 (gst_opt_scheduler_state_transition),
26549 (gst_opt_scheduler_add_element), (element_get_reachables_func):
26550 * libs/gst/bytestream/bytestream.c:
26551 * libs/gst/dataprotocol/dataprotocol.c:
26552 (gst_dp_header_from_buffer):
26555 * tests/threadstate/threadstate2.c: (eos):
26556 * tools/gst-compprep.c: (main):
26557 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26558 (print_pad_info), (print_children_info):
26559 * tools/gst-launch.c: (idle_func), (main):
26560 * tools/gst-md5sum.c: (idle_func), (main):
26561 * tools/gst-xmlinspect.c: (print_element_info):
26562 First THREADED backport attempt, focusing on adding locks and
26563 making sure the API is threadsafe. Needs more work. More docs
26566 2005-02-24 Andy Wingo <wingo@pobox.com>
26568 * tests/bench-complexity.scm:
26569 * tests/complexity.gnuplot: New files, good for running complexity
26572 * tests/Makefile.am:
26573 * tests/complexity.c: New test, sets up N elements, at each level
26574 teeing into M streams per element. Eeeenteresting.
26576 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26577 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26578 running bench-mass_elements.scm.
26580 * tests/bench-mass_elements.scm: New script, runs mass_elements
26581 for various numbers of identities, outputting the results to a
26582 file. Requires guile 1.6. Just for testing.
26584 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
26586 * gst/schedulers/fairscheduler.c:
26587 compile with debug disabled
26589 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
26592 hunting season on 0.9 is now OPEN