1 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3 * win32/common/gstenumtypes.c: (register_gst_buffer_flag),
4 (register_gst_buffer_copy_flags), (register_gst_clock_flags),
5 (register_gst_debug_graph_details),
6 (register_gst_state_change_return), (register_gst_state_change),
7 (register_gst_element_flags), (register_gst_core_error),
8 (register_gst_library_error), (register_gst_resource_error),
9 (register_gst_stream_error), (register_gst_event_type_flags),
10 (register_gst_event_type), (register_gst_index_entry_type),
11 (register_gst_assoc_flags), (register_gst_message_type),
12 (register_gst_mini_object_flags), (register_gst_pad_link_return),
13 (register_gst_flow_return), (register_gst_pad_template_flags),
14 (register_gst_pipeline_flags), (register_gst_plugin_error),
15 (register_gst_tag_merge_mode), (register_gst_alloc_trace_flags),
16 (register_gst_type_find_probability), (register_gst_parse_error):
17 Some indention fixes by gst-indent.
20 Patch by: Matthias Bolte <photon at mail dot upb dot de>
22 * win32/vs8/grammar.vcproj:
23 * win32/vs8/libgstcontroller.vcproj:
24 * win32/vs8/libgstreamer.vcproj:
25 Fix compilation with VS8 and include some missing files.
27 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
30 Small docs addition: mention that the strings returned by
31 gst_tag_list_get_string*() are in UTF-8 encoding.
33 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
36 The check-exports stuff moved to common/win32.mak, so include that.
38 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
40 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
41 (gst_base_src_perform_seek), (gst_base_src_get_range),
42 (gst_base_src_set_playing), (gst_base_src_change_state):
43 Make _wait_playing() not check any variables so that we can call this
44 function from subclasses. Move the checks elsewhere similar to
45 _wait_preroll() in basesink.
47 Only signal the LIVE cond when we are going back to PLAYING.
49 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
51 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
52 Use g_remove() and g_rename(). Check result of g_rename(), and
53 don't leak the open file descriptor if we error out when writing.
55 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
56 Must check the return value of close() after writing out the new
57 registry file. Sometimes write problems such as out-of-diskspace
58 are only reported when the file is closed and not already during
59 the write. This may have caused partial/broken registry files in
60 some rare circumstances. Should fix #503675.
62 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
64 * docs/gst/.cvsignore:
65 * docs/libs/.cvsignore:
66 * docs/plugins/.cvsignore:
67 Ignore files generated by new common/* modifications
69 2007-12-15 Stefan Kost <ensonic@users.sf.net>
71 * win32/common/libgstbase.def:
72 Yes, you can also have a <TAB> if you want.
74 2007-12-15 Stefan Kost <ensonic@users.sf.net>
76 * win32/common/libgstbase.def:
77 Add new basetransform API to win export file.
79 2007-12-15 Stefan Kost <ensonic@users.sf.net>
81 * tests/check/gst/gstbin.c:
82 Adjust the test to the refcount change two days ago.
84 2007-12-14 David Schleef <ds@schleef.org>
86 * docs/faq/getting.xml: Fix typo.
88 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
90 * docs/libs/gstreamer-libs-sections.txt:
91 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
92 (gst_base_transform_prepare_output_buffer),
93 (gst_base_transform_set_gap_aware):
94 * libs/gst/base/gstbasetransform.h:
95 API: Add gst_base_transform_set_gap_aware() to control whether
96 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
97 get buffers with this flag at all. Fixes #503231.
99 2007-12-13 Stefan Kost <ensonic@users.sf.net>
101 * libs/gst/base/gstbasesink.c:
102 * libs/gst/base/gstbasesrc.c:
103 * libs/gst/base/gstbasetransform.c:
104 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
105 thread. Correct log message in gstbasesrc.c.
107 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
109 * gst/gstutils.c: (element_find_unconnected_pad):
110 Fix possible compiler warning (#503417).
112 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
114 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
115 Don't use GST_CAT_EVENT here for logging, it makes no sense.
117 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
119 * tools/gst-inspect.c: (print_element_properties_info):
120 Add support for GstFraction properties.
122 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
125 Add check-exports target and run it as part of 'make check'
126 (see #499140 and #493983).
129 * gst/gstelementfactory.h:
130 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
131 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
132 (_priv_gst_in_valgrind):
133 * gst/gstinfo.h: (GstLogFunction):
134 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
135 (gst_type_find_register):
136 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
137 (gst_type_find_factory_get_type):
138 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
139 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
140 (gst_controller_new_valist), (gst_controller_new_list),
141 (_gst_controller_dispose), (_gst_controller_class_init):
142 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
143 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
144 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
145 (gst_object_get_controller), (gst_object_set_controller),
146 (gst_object_suggest_next_sync), (gst_object_sync_values),
147 (gst_object_set_control_source), (gst_object_get_control_source),
148 (gst_object_get_value_arrays), (gst_object_get_value_array),
149 (gst_object_get_control_rate), (gst_object_set_control_rate):
150 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
151 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
152 Make some functions that should be static static; rename some
153 private symbols so that they don't get exported; add some FIXME
154 comments so we can move accidentally exported functions into
155 our private section in 0.11.
157 * win32/common/libgstreamer.def:
158 Add gst_utils_get_timestamp().
160 2007-12-12 Stefan Kost <ensonic@users.sf.net>
164 Add more missing "Since:" tags to docs.
166 2007-12-12 Stefan Kost <ensonic@users.sf.net>
169 Add mising "Since:" to docs.
171 2007-12-11 Stefan Kost <ensonic@users.sf.net>
174 Include "glib-compat-private.h" to fix the build on system with
175 glib < 2.10. Fixes #503131.
177 2007-12-11 Stefan Kost <ensonic@users.sf.net>
181 Actually its not PURE as it gets the time from elsewhere.
183 2007-12-11 Stefan Kost <ensonic@users.sf.net>
185 * docs/gst/gstreamer-sections.txt:
187 * gst/gstdebugutils.c:
191 * libs/gst/base/gstbasesink.c:
192 * tools/gst-launch.c:
193 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
194 uses as we don't have HAVE_POSIX_TIMERS in public headers.
195 Thanks Tim for spotting.
197 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
200 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
202 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
204 * gst/gststructure.c: (gst_structure_validate_name),
205 (gst_structure_new_valist), (gst_structure_parse_value),
206 (gst_structure_from_string):
207 Don't crash in _from_string() if the structure name is not valid
208 (fixes #501560). Allow structure names to start with a number
209 again (this apparently broke the ubuntu codec installer).
211 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
213 Add unit test for the crash; update unit tests for new behaviour.
215 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
218 Clarify gst_element_get_compatible_pad() documentation.
221 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
223 * tests/check/Makefile.am:
224 Don't forget to dist {gst,libs}/struct_hppa.h.
226 2007-11-28 Stefan Kost <ensonic@users.sf.net>
228 * libs/gst/base/gstbasesink.c:
229 Use new API to get elapsed time.
231 2007-11-28 Stefan Kost <ensonic@users.sf.net>
233 * gst/gstdebugutils.c:
235 Fix wrong order of args in GST_CLOCK_DIFF() usage.
237 * tools/gst-launch.c:
238 Use new API to get elapsed time.
240 2007-11-28 Stefan Kost <ensonic@users.sf.net>
242 * docs/gst/gstreamer-sections.txt:
244 * gst/gstdebugutils.c:
246 Rename new API + ChangeLog surgery to remove old name from last entry..
247 API: GST_GET_TIMESTAMP
249 2007-11-28 Stefan Kost <ensonic@users.sf.net>
251 * docs/gst/gstreamer-sections.txt:
253 * gst/gstdebugutils.c:
255 Now hide the different clock stuff behind a macro.
257 2007-11-28 Stefan Kost <ensonic@users.sf.net>
260 * gst/gstdebugutils.c:
262 Apply the posix-timer check from #361155. Conditionally use the posix
263 timer for logging. This gives better timestamp precission, less
264 overhead and no ntp jitter.
266 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
268 * gst/gstminiobject.c: (gst_mini_object_get_type),
269 (gst_mini_object_class_init), (gst_mini_object_copy_default),
270 (gst_mini_object_finalize), (gst_mini_object_copy),
271 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
272 (gst_mini_object_replace), (param_mini_object_validate),
273 (gst_param_spec_mini_object_get_type):
274 Some cleanup and checking against invalid function parameters.
276 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
278 * docs/gst/gstreamer-sections.txt:
280 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
281 (gst_systemclock_suite):
282 Start merging in the easy bits of #361155, the monotonic clock patch.
283 This one adds a few handy macros with docs and a testsuite.
285 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
287 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
288 Be a bit smarter when seeking, like, don't try to do a seek when it's
289 not needed. This avoids errors when the file is not seekable.
292 2007-11-26 Stefan Kost <ensonic@users.sf.net>
294 * docs/gst/gstreamer-docs.sgml:
295 * docs/gst/gstreamer-sections.txt:
296 * docs/gst/gstreamer.types.in:
301 * plugins/elements/gstqueue.c:
302 Due to popular request remove preset interface again. :-(.
304 2007-11-22 Stefan Kost <ensonic@users.sf.net>
306 * tools/gst-inspect.c:
307 Print 'default value' for enums and flags too.
309 2007-11-22 Stefan Kost <ensonic@users.sf.net>
311 * docs/random/ensonic/profiling.txt:
315 Fix typo and give better log output.
317 * gst/gstdebugutils.c:
318 * gst/gstdebugutils.h:
319 More ideas, make graphs a bit smaller and fix param name in macro.
321 2007-11-22 Stefan Kost <ensonic@users.sf.net>
324 Try harder to use the return value from fgets().
326 2007-11-21 Stefan Kost <ensonic@users.sf.net>
329 For theses two fgets we handle the error below.
331 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
333 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
334 Only send upstream events upstream. Fixes #498746.
336 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
338 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
340 * plugins/elements/gstidentity.c: (gst_identity_class_init),
341 (gst_identity_init), (gst_identity_transform_ip),
342 (gst_identity_set_property), (gst_identity_get_property):
343 * plugins/elements/gstidentity.h:
344 Add property to disable handoff signal emission. Fixes #498694.
345 API: GstIdentity::signal-handoffs
347 2007-11-21 Julien Moutte <julien@fluendo.com>
349 * docs/faq/gst-uninstalled: Yet another missing library for the
350 uninstalled script (fft)
352 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
354 * docs/faq/developing.xml:
355 Add a question about how to submit new translations.
357 * docs/random/release:
358 Update the contact email address for the Translation Project
360 * plugins/elements/gstfdsrc.c:
361 The parent_class for fdsrc is pushsrc, not GstElement.
363 2007-11-20 Stefan Kost <ensonic@users.sf.net>
366 Plug a leak and fix saving.
368 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
370 * docs/gst/gstreamer-sections.txt:
371 Add new gst_preset__get_property_names() function to the docs
374 2007-11-20 Stefan Kost <ensonic@users.sf.net>
378 Change _get_preset_names API to return a strv with copies. Add
379 _get_property_names to allow implementations to filter and provide
380 good default implementation.
382 2007-11-20 Julien MOUTTE <julien@moutte.net>
384 * docs/faq/gst-uninstalled: Add another library to the uninstalled
387 2007-11-19 Stefan Kost <ensonic@users.sf.net>
390 More cleanups, docs, and TODOs from comments that now slowly come in.
392 2007-11-19 Julien MOUTTE <julien@moutte.net>
394 * docs/faq/gst-uninstalled: Add new base libraries in the LD
397 2007-11-19 Stefan Kost <ensonic@users.sf.net>
400 Fix bogus warning and make the property type specific code more
403 2007-11-19 Julien MOUTTE <julien@moutte.net>
405 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
408 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
410 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
411 (gst_bin_add_func), (gst_bin_remove_func),
412 (gst_bin_change_state_func), (gst_bin_continue_func):
413 Change email, cleanups add some more debug and comments.
414 Also set bus and clock on new elements when the pipeline was in error.
416 2007-11-18 Stefan Kost <ensonic@users.sf.net>
419 * gst/gstdebugutils.c:
420 Fix build with --disable-gst-debug. Fixes #497859.
421 Spotted by Sameer Naik.
423 2007-11-17 Stefan Kost <ensonic@users.sf.net>
426 Little documentation improvment.
429 More TODO cleanups. Remove c++ comments.
431 * libs/gst/controller/gstcontroller.c:
432 Add TODO and use quark from static string.
434 * tests/check/gst/gstmessage.c:
435 * tests/check/gst/gststructure.c:
436 Use quark from static string.
438 2007-11-17 Stefan Kost <ensonic@users.sf.net>
441 Add some comments and TODOs.
444 Add padding for future changes.
446 * plugins/elements/gstqueue.c:
449 2007-11-17 Stefan Kost <ensonic@users.sf.net>
451 * docs/gst/gstreamer-docs.sgml:
452 * docs/gst/gstreamer-sections.txt:
453 * docs/gst/gstreamer.types.in:
458 Add the preset interface (Fixes #396779). Do some doc cleanups along.
460 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
466 === release 0.10.15 ===
468 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
471 releasing 0.10.15, "October"
473 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
475 * win32/vs6/libgstreamer.dsp:
476 Convert line endings back to DOS.
478 2007-11-13 Stefan Kost <ensonic@users.sf.net>
480 * docs/design/draft-tagreading.txt:
481 * docs/random/ensonic/profiling.txt:
482 Update fast tagreading draft and performance profiling ideas.
484 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
486 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
487 Don't hold the object lock when unreffing a buffer because it could
488 cause a deadlock when the finalize function wants to grab the object
489 lock too. Fixes #495133.
491 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
493 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
494 (gst_segment_to_stream_time), (gst_segment_to_running_time):
495 Also accumulate time correctly when doing reverse playback. Fixes
497 When converting to running and stream time, use default values for
498 start/stop/time/accum when comparing different formats. Fixes #494245.
500 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
501 Do running/stream time in TIME format.
503 * tests/check/gst/gstsegment.c: (GST_START_TEST),
505 2 new unit tests for segment accumulation.
507 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
509 * gst/gst.c: (init_pre):
510 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
511 (_gst_debug_bin_to_dot_file):
512 Move getenv() back into gst_init, so everyone can live happily
513 ever after. Make sure the symbol isn't exported though.
515 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
517 Patch by: Sebastien Moutte <sebastien moutte net>
519 * win32/common/gstenumtypes.c:
520 * win32/common/gstenumtypes.h:
523 * win32/vs6/libgstreamer.dsp:
524 Update vs6 project files (#494343).
526 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
528 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
529 (gst_base_src_perform_seek), (gst_base_src_default_event),
530 (gst_base_src_set_flushing), (gst_base_src_activate_push),
531 (gst_base_src_activate_pull):
532 Unify flushing code, remove some old unlock code that is no longer used.
533 Take the streaming lock when seeking to avoid races. Fixes #492729.
534 Added some more comments.
536 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
538 * gst/gst.c: (_gst_disable_segtrap):
539 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
540 we can use gst_segtrap_is_enabled() there now that we have that API.
541 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
542 to do the getenv here (and export the variable).
544 * gst/gstdebugutils.c: (debug_dump_element),
545 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
546 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
548 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
549 (gst_debug_log_default):
550 Rename _gst_info_start_time to priv_gst_info_start_time so it
551 doesn't get exported (was never in any header).
553 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
554 (gst_plugin_loading_mutex):
555 Make static mutex gst_plugin_loading_mutex really static (was never
556 in any header), and use gst_segtrap_is_enabled() instead of
557 _gst_disable_segtrap.
559 * gst/gsttrace.c: (_gst_trace_default):
560 Make local _gst_trace_default static (was never in any header).
562 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
564 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
566 * win32/common/libgstbase.def:
567 * win32/common/libgstcontroller.def:
568 * win32/common/libgstdataprotocol.def:
569 * win32/common/libgstnet.def:
570 * win32/common/libgstreamer.def:
571 Add more missing symbols, remove some duplicates, and sort
572 as the 'sort' command sorts it (partially fixes #493983).
574 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
576 * gst/gstelement.c: (gst_element_set_state_func):
577 Only change the state cookie if a different state was set on the
578 element. See #492729.
580 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
583 Remove unused and uninitialised type variables that were still
584 exported for some reason (they were never in any header files
587 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
589 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
590 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
591 (gst_base_sink_event), (gst_base_sink_get_position_last),
592 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
593 (gst_base_sink_change_state):
594 Don't try to report a 0 position when we don't know, return -1 and FALSE
595 instead. This mostly happens when we are prerolling.
596 Make sure we can report the right position before we post the ASYNC_DONE
597 message so that a message handler can query position without races.
599 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
600 (async_done_handoff), (async_done_func), (send_buffer),
601 (async_done_eos_func), (gst_sinks_suite):
602 Add two tests for the above.
604 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
607 Update with new email address.
609 * docs/design/part-TODO.txt:
610 Add some more info about future pad-block and negotiation changes.
612 * docs/design/part-buffering.txt:
613 Add some ideas about buffering reporting.
615 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
617 * tests/check/gst/gstobject.c:
618 Disable silly racy test that always fails on this combination of CPU
621 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
623 Patch by: Murray Cumming <murrayc@murrayc.com>
626 Corrected the registration of the parent-set and parent-unset
627 signals: The parameter is a GstObject, not a GObject (#493134).
629 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
640 Move declaration of private _gst_foo_initialize() functions into
641 our private header file where they should have been all along.
643 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
645 * docs/plugins/gstreamer-plugins-sections.txt:
646 * gst/gstdebugutils.h:
648 * plugins/elements/gstqueue.c:
649 gtk-doc fixes; trailing-comma-in-enum fix.
651 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
653 * gst/gst.c: (gst_deinit):
654 Clean up on deinit (not the external ones though, doesn't seem to be
655 needed for some reason).
657 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
659 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
660 Remove __declspec(dllimport) for MSVC that was copied over into core
661 from a plugin, obviously without ever having been tested (note the
662 single underscore in _declspec in the initial commit), and that doesn't
663 really make sense. See #492077.
665 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
667 * gst/gst.c: (init_post):
668 * gst/gstevent.c: (_gst_event_initialize):
669 * gst/gstquery.c: (_gst_query_initialize):
670 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
671 g_type_class_ref() other types as well, see #349410 and #64764.
673 * gst/gstbuffer.c: (_gst_buffer_initialize):
674 * gst/gstmessage.c: (_gst_message_initialize):
675 Simplify existing g_type_class_ref().
677 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
679 * gst/gstformat.c: (_gst_format_initialize):
680 g_type_class_ref() our GstFormat type to make sure we avoid the
681 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
682 bug #64764. Should fix intermittent tee unit test failures (#474823).
684 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
686 * tests/check/elements/tee.c: (test_num_buffers):
687 Simplify, simplify, simplify - or not. Rewrite unit test
688 not to use gst_parse_launch(); allow N sub-streams. Increasing
689 the number of sub-streams seems to reproduce #474823 more easily.
691 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
693 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
696 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
697 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
698 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
699 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
700 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
701 so use _pipe() directly (#492077).
703 * win32/common/dirent.c: (_treaddir):
704 Add a couple of casts to make it build without warnings with MSVC.
706 * win32/common/libgstreamer.def:
707 Add some more symbols that need to be exported.
709 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
711 * tests/examples/metadata/read-metadata.c: (message_loop):
712 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
713 arriving in a second or third tag message are added to
714 the tag list as well.
716 2007-10-31 Stefan Kost <ensonic@users.sf.net>
718 * libs/gst/base/gstbasesrc.c:
719 Its "Since:" and not "@Since:". And remove an superflous cast.
721 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
723 * docs/libs/gstreamer-libs-sections.txt:
724 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
725 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
726 (gst_base_sink_get_property), (gst_base_sink_render_object),
727 (gst_base_sink_preroll_object),
728 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
729 (gst_base_sink_change_state):
730 * libs/gst/base/gstbasesink.h:
731 Add a new last-buffer property that contains the last buffer used in
732 basesink for preroll or rendering. useful for making snapshots.
733 API: gst_base_sink_get_last_buffer()
734 API: GstBaseSink::last-buffer
736 2007-10-29 Stefan Kost <ensonic@users.sf.net>
738 * docs/gst/running.xml:
740 * gst/gstdebugutils.c:
741 * gst/gstdebugutils.h:
742 * tools/gst-launch.c:
743 Improve bin graph dumping, by using the envvar to specify a path.
744 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
746 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
748 * plugins/elements/gsttypefindelement.c:
749 (gst_type_find_element_handle_event),
750 (gst_type_find_element_activate):
751 Post special error message if we can't determine the type of a stream
754 2007-10-29 Stefan Kost <ensonic@users.sf.net>
756 * docs/gst/running.xml:
757 * gst/gstdebugutils.c:
758 Document new env-var. Add one log-line after dumpng a graph.
760 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
763 Ugly hack to put the (recently removed and non-portable, apparently)
764 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
765 GNU ld, because without that 'make check' fails miserably on my debian
766 stable box. Someone with more knowledge of linker intricacies and
767 portability issues than me fix this properly please.
769 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
771 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
772 Reset last seen position after flushing so that we don't report the old
775 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
777 * gst/gstelementfactory.c: (gst_element_register):
779 Patch from Alessandro Decina adding get_type_full and
780 get_protocols_full private vfuncs to the URIHandler interface
781 to allow bindings to support creating URI handlers.
782 Partially fixes: #339279
783 API: GstURIHandlerInterface::get_type_full
784 API: GstURIHandlerInterface::get_protocols_full
786 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
788 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
789 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
790 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
791 Make it so that pads are considered linked until a buffer is pushed
792 and discovered otherwise. This avoids problems with decodebin2 hanging
793 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
796 Make sure we lock the multiqueue when updating the max-size properties.
798 Fix a crash on Solaris in a debug statement in get_request_pad that
799 passes a NULL string to GST_DEBUG.
801 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
802 (run_output_order_test):
803 Fix the test to allow the first buffer on not-linked pads to come out
804 of sequence while multiqueue discovers that they are not-linked.
806 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
809 * libs/gst/check/Makefile.am:
810 Use a custom export symbol regex for libgstcheck, as it needs
811 to export symbols that don't match the standard GStreamer gst_*
812 pattern, and --export-dynamic is not portable (only works on
815 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
816 (gst_check_setup_sink_pad):
817 Make sure to pass a message parameter to the fail_* macros.
819 * tests/check/gst/gstinfo.c: (GST_START_TEST):
820 Fix some compiler warnings.
822 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
824 * tests/check/gst/gststructure.c: (test_to_string):
825 Disable test that checks that white spaces are not allowed
826 in structure names or field names, since we need to
827 support that for now for backwards compatibility reasons.
829 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
831 * docs/gst/gstreamer-sections.txt:
834 API: add GST_TAG_ARTIST_SORTNAME
835 API: add GST_TAG_ALBUM_SORTNAME
836 API: add GST_TAG_TITLE_SORTNAME
837 Add tag variants for sorting (#414539).
839 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
841 * gst/gststructure.c:
842 Also allow white space for names so we don't break
843 backwards compatibility.
845 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
847 * docs/design/part-TODO.txt:
848 * docs/design/part-segments.txt:
849 * docs/design/part-streams.txt:
852 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
854 * docs/gst/gstreamer-sections.txt:
855 Fixed documentation from my previous commit (added new API add
856 gst_value_set_structure(), add gst_value_get_structure() and
857 GST_VALUE_HOLDS_STRUCTURE).
859 2007-10-22 Stefan Kost <ensonic@users.sf.net>
861 * gst/gstdebugutils.c:
862 Reflow code to fix uninitialized variable warning.
864 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
866 * gst/gstcaps.c: (gst_caps_to_string),
867 (gst_caps_from_string_inplace):
868 * gst/gststructure.c: (gst_structure_get_abbrs),
869 (gst_structure_to_string), (gst_structure_from_string):
870 * gst/gstvalue.c: (gst_value_set_structure),
871 (gst_value_get_structure), (gst_value_serialize_structure),
872 (gst_value_deserialize_structure), (_gst_value_initialize):
874 * tests/check/gst/gststructure.c: (GST_START_TEST),
875 (gst_structure_suite):
876 * tests/check/gst/gstvalue.c: (GST_START_TEST):
877 Added GstStructure to gst_value_table and its related functions.
878 Changed gst_structure_to_string to print ';' in the end.
879 Changed gst_caps_to_string to not print ';' beteween its
880 fields (structures) anymore and remove the lastes ';' from latest
881 structure. Now it is possible to have nested structures.
882 In addition, backward compatibilty is assured by accepting '\0' as
883 end delimiter. Fixes: #487969.
884 API: add gst_value_set_structure()
885 API: add gst_value_get_structure()
886 API: add GST_VALUE_HOLDS_STRUCTURE
888 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
891 When no GSource callback has been set up, tell developer
892 to use a function that actually exists.
894 2007-10-17 Stefan Kost <ensonic@users.sf.net>
896 * docs/gst/gstreamer-sections.txt:
900 * gst/gstdebugutils.c:
901 * gst/gstdebugutils.h:
904 * tools/gst-launch.c:
905 Allow dumping pipelines as dot graphs. Fixes #456573.
907 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
909 * gst/gststructure.c:
910 Allow '+' as well, it can be part of media or mime types
911 such as image/svg+xml.
913 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
915 * docs/gst/gstreamer-sections.txt:
918 API: add gst_bus_pop_filtered
919 API: add gst_bus_timed_pop_filtered
920 Two new functions for waiting for specific message types on the
921 bus for a specified amount of time without iterating any main
922 loops or main contexts.
924 * tests/check/gst/gstbus.c:
925 Some tests for the new functions.
927 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
929 * docs/libs/gstreamer-libs-sections.txt:
930 Make gtk-doc ignore stuff it should ignore.
932 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
934 * libs/gst/check/gstcheck.c:
935 * libs/gst/check/gstcheck.h:
936 Allow runtime selection of unit tests to run via the GST_CHECKS
937 environment variable (test case function names, comma-separated).
939 2007-10-16 Stefan Kost <ensonic@users.sf.net>
941 * gst/gststructure.c:
942 * tests/check/gst/gststructure.c:
943 Revert serialisation change and constrain structure-names after
944 consensus on irc. Update api documentation to reflect the change.
946 2007-10-16 Stefan Kost <ensonic@users.sf.net>
948 * gst/gststructure.c:
949 Improve serialization and fix tests.
951 * tests/check/gst/gststructure.c:
952 Add another test that covers why I actually did the previous structure
955 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
957 * tools/gst-inspect.c: (print_element_info):
958 Don't crash when inspecting an element.
960 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
962 * tests/check/gst/gststructure.c:
963 Add unit test for escaping of structure name when serialising
964 and deserialising to/from strings.
966 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
968 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
969 (gst_single_queue_new):
970 * plugins/elements/gstqueue.c: (gst_queue_init),
971 (gst_queue_push_one):
972 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
973 upstream is tricked into thinking it can suggest a format downstream
974 while downstream does not support that format. The real problem is that
975 core calls acceptcaps when pushing a buffer with new caps, for which we
976 do a little workaround by setting the caps on the srcpad ourselves
977 before pushing the buffer (until this is figured out). Fixes #486758.
979 2007-10-15 Stefan Kost <ensonic@users.sf.net>
981 * gst/gststructure.c:
983 Add some more comments and debug output. Quote structure name to fix
984 deserialisation of some strings.
986 2007-10-15 Stefan Kost <ensonic@users.sf.net>
989 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
990 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
992 2007-10-15 Stefan Kost <ensonic@users.sf.net>
994 * tools/gst-inspect.c:
995 Save approx. 400 1 byte allocs when printing. Use API to acces element
1001 * tools/gst-xmlinspect.c:
1002 Use API to acces element details.
1004 2007-10-15 Stefan Kost <ensonic@users.sf.net>
1007 Fix some spelling errors.
1009 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
1011 * gst/gstbin.c: (bin_handle_async_done):
1012 Correctly set the next state if all of our async children commited their
1013 state. This makes sure we can actually cancel the state change in
1014 progress. Fixes a regression in Rhythmbox when seeking.
1016 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
1019 Don't shadow local variable.
1022 Don't shadow global function name.
1024 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
1026 * gst/gstelementfactory.c:
1027 * gst/gstpluginfeature.c:
1028 * gst/gstpluginfeature.h:
1029 * gst/gstregistrybinary.c:
1030 * gst/gstregistryxml.c:
1031 * gst/gsttypefind.c:
1032 Use already-interned string for the private GstPluginFeature
1035 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
1037 * docs/libs/gstreamer-libs-sections.txt:
1038 Add new API to docs; fixes the build.
1040 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
1042 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
1044 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
1045 (gst_base_sink_event):
1046 * libs/gst/base/gstbasesink.h:
1047 Add function to wait for EOS, subclasses can use this to correctly wait
1048 for devices to drain before performing the EOS logic. Fixes #485343.
1049 API: gst_base_sink_wait_eos()
1051 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
1054 Cast description string constants in GST_PLUGIN_DEFINE macros
1055 to a (gchar*) to make C++ code using these macros compile
1056 without warning with g++-4.2 (see #462737). Even if slightly
1057 ugly, this seems preferable to putting the description strings
1058 into the GLib quark table or making the structure member a
1059 const gchar * and doing casts in core code that allocs and
1060 frees these strings, or requiring a cast in the C++ code.
1062 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
1065 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
1066 to print the entire class/function signature into the log
1067 file for C++ code. This only affects C++ code, for C code
1068 everything remains the same.
1070 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
1072 * gst/gstbin.c: (remove_from_queue):
1073 Work around a problem with pipelines containing (semi)loops until a
1074 proper, more complicated solution is ready. See #475455.
1076 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
1080 * gst/gstregistrybinary.c:
1081 * gst/gstregistryxml.c:
1082 Put more strings into the GLib quark table. No need to keep
1083 a hundred-something copies of identical version strings,
1084 license strings, package name strings and package origin
1087 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
1089 * docs/manual/advanced-dataaccess.xml:
1090 Don't imply that it's okay to unconditionally change
1091 buffer data or buffer metadata in a pad probe callback,
1092 and a bunch of other comments. Fixes #430031.
1094 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
1096 * win32/common/gstenumtypes.c:
1097 * win32/common/gstenumtypes.h:
1098 * win32/common/gstversion.h:
1099 Update generated files.
1101 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
1103 * docs/manual/advanced-autoplugging.xml:
1104 Prefix section with broken code with a warning (see #342432).
1106 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
1108 * docs/manual/appendix-integration.xml:
1109 * docs/manual/basics-init.xml:
1110 Call g_thread_init() before g_option_context_new() to
1111 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
1113 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
1115 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1116 (gst_base_sink_queue_object_unlocked),
1117 (gst_base_sink_queue_object), (gst_base_sink_event),
1118 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
1119 When we received EOS and are waiting for when to post the EOS message,
1120 our state is prerolled and we should not return ASYNC.
1121 Reorganize some code paths to implement this behavior.
1123 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1125 Add unit test to verify above EOS fix.
1127 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
1129 * plugins/elements/gsttypefindelement.c:
1130 (gst_type_find_element_have_type), (gst_type_find_element_init),
1131 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
1132 Move detecting the input caps of the sinkpad to the setcaps function.
1133 This allows us to update the output caps when we receive new input caps
1134 instead of always using the first detected caps.
1136 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
1138 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1139 (gst_base_sink_get_position):
1140 Don't try to preroll non-async elements after a flush.
1141 Subtract latency form clock times when reporting position.
1143 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1145 * gst/gstpad.c: (gst_pad_pause_task):
1147 Small comment and documentation update.
1149 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1151 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1152 (gst_base_src_set_live), (gst_base_src_is_live),
1153 (gst_base_src_query_latency), (gst_base_src_perform_seek),
1154 (gst_base_src_default_event), (gst_base_src_wait),
1155 (gst_base_src_do_sync), (gst_base_src_get_range),
1156 (gst_base_src_pad_get_range), (gst_base_src_loop),
1157 (gst_base_src_unlock), (gst_base_src_unlock_stop),
1158 (gst_base_src_set_flushing), (gst_base_src_set_playing),
1159 (gst_base_src_activate_push), (gst_base_src_activate_pull),
1160 (gst_base_src_change_state):
1161 Rework the locking of basesrc in a similar fashion to basesink. We
1162 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
1163 us to handle live sources and semi live ones much better.
1165 Fix unlocking when seeking, shutting down and pausing in live sources.
1167 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1169 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
1170 Fix compilation again.
1172 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1175 Use meaningful categories for the logs to clean the default one.
1177 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1179 * tests/check/pipelines/cleanup.c:
1180 Print message name and not just number.
1182 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1184 * docs/design/draft-tagreading.txt:
1185 Add some more thoughts.
1187 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1189 * tests/check/pipelines/simple-launch-lines.c:
1190 Print message name and not just number.
1192 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1194 * libs/gst/base/gsttypefindhelper.c:
1195 Speedup typefinding. This is work in progress (see #459862).
1197 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1200 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1201 Spotted by Josep Torra Valles <josep@fluendo.com>.
1203 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
1206 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1207 field has moved to GstObject.
1209 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
1211 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1212 (gst_base_src_get_range), (gst_base_src_change_state):
1213 Call unlock for live sources so that they can't get stuck in _create and
1214 produce a buffer before they are set back to PLAYING.
1216 2007-10-02 Edward Hervey <bilboed@bilboed.com>
1218 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1219 (gst_queue_locked_dequeue):
1220 Comment the segment-related code... in the PROPER function.
1221 See #482147 and my commit from yesterday.
1223 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
1225 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1226 Also initialize the counter that calculates the first timestamp on a
1227 buffer correctly for non-live sources.
1229 2007-10-01 Edward Hervey <bilboed@bilboed.com>
1231 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1232 Disable code that's breaking the current-time-level reporting.
1235 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
1237 * docs/gst/gstreamer-sections.txt:
1238 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1239 as they shouldn't show up. Fixes the docs build.
1241 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
1244 Add an explicit variable importation needed on VS6 (only for MSC_VER)
1245 Define M_PI which is used in files which are including gstinfo.h.
1246 VS6 includes doesn't define it.
1247 * win32/common/libgstbase.def:
1248 * win32/common/libgstcontroller.def:
1249 * win32/common/libgstreamer.def:
1250 Add new exported functions and variables.
1251 * win32/vs6/libgstcontroller.dsp:
1252 * win32/vs6/libgstreamer.dsp:
1253 Update the list of files to build.
1255 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
1257 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1259 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1260 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1261 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1262 Improve debugging. Fixes #480858.
1264 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
1266 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1268 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1269 First patch of code cleanups, use the macros and right arguments in the
1270 macros to signal and lock the queue. See #480858.
1272 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
1274 * gst/gstbus.c: (poll_func):
1275 Improve debugging when dealing with _poll().
1277 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
1279 * gst/gstregistryxml.c:
1280 Fix memory leak I introduced a few days ago.
1282 2007-09-26 Michael Smith <msmith@fluendo.com>
1284 * gst/gstbuffer.c: (gst_buffer_finalize):
1285 Make it once again possible to free GstBuffers in the default
1287 The poisoning scribbles on parts of the miniobject we need in
1291 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
1293 * docs/gst/gstreamer-sections.txt:
1296 API: add GST_TAG_COMPOSER, fixes #459809.
1298 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
1302 Add the 3-clause BSD license and the MIT/X11 license to the license
1303 list. Fixes #479784.
1305 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
1307 * docs/faq/getting.xml:
1308 Add Q+A about different GStreamer versions (#364056).
1310 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1312 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1313 (gst_base_sink_event), (gst_base_sink_change_state):
1314 Return correct gboolean from query function.
1316 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1318 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1319 (gst_base_sink_event), (gst_base_sink_query),
1320 (gst_base_sink_change_state):
1321 Simplify latency query.
1322 When not synchronizing, we can report latency without querying the peer
1325 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1329 Fix small typos in the docs.
1331 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1333 * docs/design/draft-latency.txt:
1334 * docs/design/draft-push-pull.txt:
1335 * docs/design/draft-tagreading.txt:
1336 * docs/design/part-MT-refcounting.txt:
1337 * docs/design/part-activation.txt:
1338 * docs/design/part-block.txt:
1339 * docs/design/part-element-source.txt:
1340 * docs/design/part-events.txt:
1341 * docs/design/part-gstbin.txt:
1342 * docs/design/part-gstelement.txt:
1343 * docs/design/part-gstobject.txt:
1344 * docs/design/part-gstpipeline.txt:
1345 * docs/design/part-messages.txt:
1346 * docs/design/part-preroll.txt:
1347 * docs/design/part-push-pull.txt:
1348 * docs/design/part-qos.txt:
1349 * docs/design/part-query.txt:
1350 * docs/design/part-scheduling.txt:
1351 * docs/design/part-seeking.txt:
1352 * docs/design/part-segments.txt:
1353 * docs/design/part-states.txt:
1354 Documentation updates and typo fixes.
1356 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
1358 * plugins/elements/gstfakesink.c:
1359 Add some debug text to error message to indicate that
1360 we errored out on request.
1362 * tools/gst-launch.c:
1363 When the state change to PLAYING fails, check for an
1364 error message on the bus and print it.
1366 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
1368 translated by: Jorge González González <aloriel@gmail.com>
1372 Added Spanish translation.
1374 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
1376 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1377 Fix printf arguments.
1379 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1381 * tests/check/generic/states.c:
1382 Improved state change unit test.
1384 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1387 Move priv to the right place.
1389 * gst/gstsystemclock.c:
1390 Add FIXME: and improve log.
1392 * tests/check/Makefile.am:
1393 * tests/examples/manual/Makefile.am:
1394 Work with all types of registries.
1396 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
1398 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1399 Don't unref the event after pushing it. Fixes #478401.
1401 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1404 * tests/examples/manual/.cvsignore:
1405 Ignore registries in any format.
1407 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
1409 * gst/glib-compat-private.h:
1410 Add compatibility macro for g_intern_string() for
1411 GLib-2.8 (any reason we can't just bump the
1412 requirement to at least 2.10?)
1414 * gst/gstpadtemplate.h:
1415 * gst/gstelementfactory.c:
1416 * gst/gstregistryxml.c:
1417 * gst/gstregistrybinary.c:
1418 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1419 up the internal code accordingly. This shouldn't be a problem, since
1420 there is no reason external code could ever assume the string in such
1421 a structure is dynamically allocated unless it did that itself; the
1422 use of g_strdup() is private to element factories. The new code also
1423 saves some memory by putting pad template name strings into the GLib
1424 quark table instead of allocating them dynamically.
1425 Declaring this field constant fixes warnings with g++-4.2 when using
1426 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1428 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1430 * gst/gstelementfactory.c:
1431 Release static caps. Fixes #475723.
1433 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
1437 Make some internal API take const gchar * instead of just
1438 gchar * to avoid compiler warnings with g++-4.2.2 when
1439 passing string constants (partially fixes #478092).
1441 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1443 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1444 A latency query fails when one of the sinks fail.
1446 * gst/gstelement.c: (gst_element_set_base_time):
1449 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1451 * gst/gstbin.c: (gst_bin_continue_func):
1452 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1453 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1454 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1456 Fix minor compilation warnings shown with Forte.
1458 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1460 * plugins/elements/gstqueue.c: (apply_buffer),
1461 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1462 Measure queue level based on the diff between head and tail timestamps
1463 even when pushing the first buffer.
1465 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1467 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1468 (gst_base_sink_event), (gst_base_sink_change_state):
1469 Sinks that don't preroll can always be queried for the latency.
1470 Don't post ASYNC start when we are not async.
1472 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1474 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1475 (gst_queue_handle_sink_event), (gst_queue_chain),
1476 (gst_queue_push_one), (gst_queue_handle_src_query),
1477 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1478 * plugins/elements/gstqueue.h:
1479 When downstream returns UNEXPECTED from pushing a buffer, don't try to
1480 push more buffers but allow pushing of EOS and NEWSEGMENT.
1481 Add some more debug info here and there. Fixes #476514.
1483 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1485 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1486 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1487 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1488 (gst_base_sink_set_flushing), (gst_base_sink_query),
1489 (gst_base_sink_change_state):
1490 Latency query is allowed after we are prerolled. Introduce a new flag
1491 for this and stop abusing other variables.
1493 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1495 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1496 Push OOB events downstream when we get them in send_event. This allows
1497 the application to insert events in the pipeline.
1498 Add some more comments.
1500 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1502 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1503 (do_bin_latency), (gst_bin_change_state_func):
1504 * gst/gstpipeline.c: (gst_pipeline_change_state):
1505 Move latency query from GstPipeline to GstBin so that we can also
1506 use it when async-handling is enabled on bins.
1508 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1510 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1511 (gst_base_src_do_sync), (gst_base_src_change_state):
1513 Clean up the timestamping and syncing code for pseudo live sources.
1515 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
1517 Patch by: Steve Fink <sphink gmail com>
1519 * docs/manual/appendix-checklist.xml:
1520 Mention less -R switch in the section about debug output (#474055).
1522 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1524 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1525 Queue can latency to the pipeline up to the configured max size in time.
1526 Report this fact in the latency query.
1528 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1530 Patch by: Sebastien Moutte <sebastien at moutte dot net>
1532 * libs/gst/controller/gstinterpolation.c:
1533 * libs/gst/controller/gstlfocontrolsource.c:
1534 Use gst_guint64_to_gdouble() when converting from a uint64 or
1535 GstClockTime to double to fix the build on win32. Fixes #474371.
1537 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1539 * gst/gstbuffer.c: (gst_buffer_finalize):
1540 Implement poisoning for GstBuffer if --enable-poisoning is specified.
1541 When finalizing a buffer the complete struct is filled with 0xff,
1542 thus making a use of the buffer after the final unref impossible.
1544 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1546 * tests/check/libs/controller.c: (GST_START_TEST):
1547 Use fail_unless_equals_int(a, b) instead of
1548 fail_unless_equals (a == b) to get better output on failures.
1550 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1552 * tests/check/gst/gsturi.c:
1553 Also check for the other file URI variant on win32.
1555 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1557 * gst/gsturi.c: (gst_uri_get_location):
1558 If there's no hostname, we want to return 'c:/foo/bar.txt'
1559 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1561 * tests/check/gst/gsturi.c:
1562 Unit test for the above and a few more things.
1564 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1566 * docs/design/part-live-source.txt:
1567 Add docs on how live sources should timestamp.
1569 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1570 Add some more debug info.
1571 For subclasses that are live and like to sync, add aditional startup
1572 latency to sync time and timestamps so that we timstamp according to the
1575 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1578 Also do a g_type_class_ref() for the subbuffer type in
1581 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1583 * docs/gst/gstreamer-sections.txt:
1584 * gst/gstpad.c: (gst_pad_peer_query):
1586 Add function to perform a query on the peer of a pad.
1587 API: gst_pad_peer_query()
1589 2007-09-11 Stefan Kost <ensonic@users.sf.net>
1591 * tests/check/gst/gstsystemclock.c:
1592 Cleanup the test a little (use gst-logging and not g_message). Improve
1593 test to check if a wait reached the target.
1595 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1597 * docs/libs/gstreamer-libs-sections.txt:
1598 Add new API to docs and fix the build.
1600 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
1602 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1603 (gst_base_src_init), (gst_base_src_set_do_timestamp),
1604 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1605 (gst_base_src_get_property), (gst_base_src_do_sync):
1606 * libs/gst/base/gstbasesrc.h:
1607 Add property to make the basesrc timestamp buffers based on the current
1609 API: GstBaseSrc::do-timestamp
1610 API: gst_base_src_set_do_timestamp()
1611 API: gst_base_src_get_do_timestamp()
1613 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
1615 * docs/random/release:
1616 Really make sure translations are up-to-date before
1617 a release (#465010).
1619 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
1621 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1622 Always destroy the timer, also in error cases.
1624 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1626 * docs/manual/highlevel-xml.xml:
1627 Fix XML example code. Fixes #472714.
1629 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1631 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1632 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1633 (gst_base_sink_query):
1634 Protect eos and have_preroll with the OBJECT lock so we don't need to
1635 take the PREROLL lock when querying the latency. Fixes #473846.
1637 2007-09-05 Stefan Kost <ensonic@users.sf.net>
1640 Give some log-messages a category.
1642 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
1644 * gst/gststructure.c:
1645 (gst_structure_fixate_field_nearest_fraction):
1646 Fix fraction list fixation code. Take the fraction with the smallest
1647 difference with the target instead of the first one in the list.
1649 * tests/check/gst/gststructure.c: (GST_START_TEST),
1650 (gst_structure_suite):
1651 Added test to verify correct fraction list fixation behaviour.
1653 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
1655 * win32/common/libgstreamer.def:
1656 Export gst_bus_add_signal_watch too.
1658 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
1660 * docs/libs/gstreamer-libs-sections.txt:
1661 Add new methods to docs.
1663 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1664 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1665 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1666 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1667 * libs/gst/base/gstbasesink.h:
1668 Add ts-offset property to fine-tune the synchronisation.
1669 API: GstBaseSink::ts-offset property
1670 API: gst_base_sink_set_ts_offset()
1671 API: gst_base_sink_get_ts_offset()
1673 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
1675 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1676 (gst_base_sink_init), (gst_base_sink_set_sync),
1677 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1678 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1679 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1680 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1681 (gst_base_sink_get_property), (gst_base_sink_change_state):
1682 * libs/gst/base/gstbasesink.h:
1683 Add async property to instruct the sink never to inform the parent about
1684 ASYNC state changes, update docs.
1685 Check argument with g_return_* for the public functions.
1686 API: GstBaseSink::async property
1687 API: gst_base_sink_set_async_enabled()
1688 API: gst_base_sink_is_async_enabled()
1690 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
1692 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1695 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1696 (gst_base_src_default_query), (gst_base_src_wait),
1697 (gst_base_src_do_sync), (gst_base_src_change_state):
1698 Rearrange some code so that we can add support for measuring the
1701 2007-08-27 Stefan Kost <ensonic@users.sf.net>
1703 * docs/random/ensonic/dynlink.txt:
1704 More thoughs on this.
1706 * plugins/elements/gstcapsfilter.c:
1707 Add bugzilla ticket number to FIXME comment.
1709 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
1711 * docs/design/part-TODO.txt:
1712 * docs/design/part-block.txt:
1715 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1718 Revert patch which uses $(gst_headers) instead of $^ because it
1721 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1723 * tests/check/gst/gstbin.c: (GST_START_TEST):
1724 Fix leaks in the new unit test.
1726 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
1729 Don't use GST_INFO before the debug system is actually initialised
1730 (shouldn't do any harm, but won't print anything either, so we can
1731 just as well remove it).
1734 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1735 compilers that don't support variadic macros (such as MSVC), should
1736 check for debug_level <= __gst_debug_min as well, since that's the
1737 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1738 inline helper functions. Should improve performance a bit, but also
1739 makes sure uses of GST_INFO et.al are ignored if the debugging
1740 system isn't initialised yet (instead of printing an assertion
1743 2007-08-23 Stefan Kost <ensonic@users.sf.net>
1745 patch by: David Nečas <yeti@physics.muni.cz>
1748 Replace some non portable makefile constructs.
1750 2007-08-21 Stefan Kost <ensonic@users.sf.net>
1752 * common/gtk-doc-plugins.mak:
1753 Grrrrr. Don't remove the types file on make clean.
1755 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
1757 * tools/gst-launch.1.in:
1758 Add colorspace to example pipeline. Fixes #458274.
1760 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
1762 * docs/random/release:
1763 The release manager should run 'make download-po' before making a
1764 release to make sure translations are up-to-date.
1770 Add some new translations.
1772 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
1774 * tools/gst-launch.c: (event_loop), (main):
1775 Don´t try to do any state management when a live pipeline posts
1777 Also make the buffering string translatable.
1779 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1781 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1782 (bin_handle_async_start), (gst_bin_handle_message_func):
1784 When adding elements, insert messages into the bus of the newly added
1785 element and make sure the element is the source of the message. This
1786 allows the parent bin to intercept the message and do the
1787 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1788 messages to the app (which is not allowed).
1791 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1792 Fix testsuite so that is does not work around messages that should not
1793 have been posted in the first place.
1795 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1797 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1798 (update_degree), (gst_bin_sort_iterator_next):
1799 Fix annoying bug in the sorted iterator where a sink that is not really
1800 a sink (when it has downstream links) screwed up the iterator.
1802 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1803 Unit test to verify the fix.
1805 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1808 Add some more docs for the messages.
1810 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1811 (gst_base_sink_query):
1812 Add some more debugging.
1814 * tools/gst-launch.c: (event_loop):
1815 When interrupting, don't try to set pipeline to PAUSED twice.
1817 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1820 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1821 (bin_handle_async_start), (gst_bin_handle_message_func):
1822 Move ASYNC_START message posting to where it belongs, similar to
1824 Don't post ASYNC_START when we are in error.
1825 Post ASYNC_START when we added an async element to a bin.
1827 2007-08-14 Julien MOUTTE <julien@moutte.net>
1829 * gst/gstindex.c: (gst_index_add_association): Fix index entry
1830 generation from vargs. Fixes #466595.
1832 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1834 * gst/gstbin.c: (gst_bin_element_set_state):
1835 Always change the state of a NO_PREROLL element even if it has ASYNC
1836 elements inside (in case of a bin).
1838 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1839 Unit test for this case.
1841 2007-08-13 Stefan Kost <ensonic@users.sf.net>
1843 * libs/gst/check/gstbufferstraw.c:
1844 * libs/gst/check/gstcheck.h:
1845 * libs/gst/controller/gstcontroller.c:
1846 * libs/gst/controller/gstcontrolsource.h:
1847 * libs/gst/controller/gstlfocontrolsource.h:
1848 * plugins/elements/gstcapsfilter.h:
1849 * plugins/elements/gstfdsink.h:
1850 * plugins/elements/gstfdsrc.h:
1851 Add more missing docs.
1853 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1855 * gst/gststructure.c:
1856 Add Since tag to docs.
1858 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1860 * docs/gst/gstreamer-sections.txt:
1861 * gst/gststructure.c: (gst_structure_get_uint):
1862 * gst/gststructure.h:
1863 Add function to get uint from a structure.
1864 API: gst_structure_get_uint()
1866 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1868 * gst/gstcaps.c: (gst_caps_set_simple_valist),
1869 (gst_caps_intersect):
1870 Fix proper check for simple caps.
1872 2007-08-10 Stefan Kost <ensonic@users.sf.net>
1874 * docs/gst/Makefile.am:
1875 * docs/libs/Makefile.am:
1876 Remove cruft and do some cleanups.
1878 * docs/gst/gstreamer-docs.sgml:
1879 * docs/libs/gstreamer-libs-docs.sgml:
1880 Prepare for comming gtkdoc features (rebase against online docs).
1882 2007-08-10 Michael Smith <msmith@fluendo.com>
1884 * docs/gst/gstreamer-sections.txt:
1885 Add gst_registry_add_path to docs.
1887 2007-08-10 Michael Smith <msmith@fluendo.com>
1889 * gst/gstregistry.h:
1890 Add gst_registry_add_path, which was missing from this header.
1892 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
1894 * libs/gst/controller/gstlfocontrolsource.c:
1897 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1899 * libs/gst/base/gstbasesink.c:
1900 Don't send an async_start message during downwards state change if
1901 target state is less than READY
1903 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1905 translated by: Gabor Kelemen <kelemeng@gnome.hu>
1909 Added Hungarian translation.
1911 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1918 Updated translations.
1920 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1922 * libs/gst/controller/Makefile.am:
1923 Dist gstlfocontrolsourceprivate.h
1925 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1927 * docs/libs/gstreamer-libs.types:
1928 Don't register the enum type gst_lfo_waveform_get_type() in the
1929 .types file - only GObject derived types belong.
1931 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1933 Patch by: <arenevier at fdn dot fr>
1936 Remove comma from last element in enum to avoid compile errors when
1937 using -pendantic. Fixes #464366.
1939 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1941 * docs/design/part-TODO.txt:
1942 Add some more TODO items
1944 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1947 * gst/gstcaps.c: (gst_caps_intersect):
1948 Optimize trivial intersection case between identical caps pointers.
1950 * gst/gstelement.c: (gst_element_continue_state),
1951 (gst_element_set_state_func):
1953 Fix spelling and grammar mistakes.
1955 2007-08-05 Stefan Kost <ensonic@users.sf.net>
1959 Update POTFILES. Fixes #461599.
1961 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1964 Fix confusing typo in debug output.
1966 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1968 reviewed by: Stefan Kost <ensonic@users.sf.net>
1970 * libs/gst/controller/Makefile.am:
1971 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1972 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1973 (gst_lfo_control_source_new),
1974 (gst_lfo_control_source_set_waveform),
1975 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1976 (gst_lfo_control_source_finalize),
1977 (gst_lfo_control_source_dispose),
1978 (gst_lfo_control_source_set_property),
1979 (gst_lfo_control_source_get_property),
1980 (gst_lfo_control_source_class_init):
1981 * libs/gst/controller/gstlfocontrolsource.h:
1982 * libs/gst/controller/gstlfocontrolsourceprivate.h:
1983 API: Add GstLFOControlSource, a control source that gives values
1984 for specific timestamps based on several periodic waveforms.
1987 * tests/check/libs/controller.c: (GST_START_TEST),
1988 (gst_controller_suite):
1989 * docs/libs/gstreamer-libs-docs.sgml:
1990 * docs/libs/gstreamer-libs-sections.txt:
1991 * docs/libs/gstreamer-libs.types:
1992 Add documentation and unit tests for GstLFOControlSource.
1994 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1999 === release 0.10.14 ===
2001 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
2004 releasing 0.10.14, "Breathing Vacuum"
2006 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
2008 * gst/gstelement.c: (gst_element_class_set_details_simple):
2010 Make strings passed to gst_element_class_set_details_simple()
2011 constant, as they should be (#462752).
2013 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
2015 * gst/gstbin.c: (gst_bin_change_state_func),
2016 (bin_handle_async_done), (gst_bin_handle_message_func):
2017 Don't forget about the fact that some element went ASYNC even after a
2018 resync. This makes us post the ASYNC_DONE message correctly.
2021 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
2023 * gst/gstregistry.c: (gst_registry_add_feature):
2024 When replacing an existing feature in the registry, make sure to
2025 continue holding a reference until we've replaced the name string
2026 within our feature hash table. Make sure to use g_hash_table_replace
2027 instead of g_hash_table_insert to ensure the new name string is used
2028 as a key instead of the old one that we're about to free.
2031 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
2033 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2034 (gst_plugin_feature_set_name):
2035 Revert patch from #459466 until after the release and we can work
2036 out exactly what the problem is (if any).
2038 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
2040 * docs/gst/gstreamer-sections.txt:
2043 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
2045 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
2047 * docs/libs/Makefile.am:
2048 Include our build-prefix libs and includes before the generic ones to
2049 avoid linking against the installed libs when we want the build-tree
2052 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
2054 Patch by: Steve Fink <sphink gmail com>
2056 * docs/pwg/building-testapp.xml:
2057 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
2058 if people try to build or install the example from the plugin
2059 template against a GStreamer from package using the configure
2062 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
2064 Patch by: Steve Fink <sphink gmail com>
2066 * tools/gst-inspect.1.in:
2067 Document --print-all and --print-plugin-auto-install-info command
2068 line options in man page.
2070 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
2072 * docs/gst/gstreamer-sections.txt:
2073 Add docs for new api function.
2075 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
2077 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
2078 * gst/gstelementfactory.h:
2079 API: gst_element_factory_has_interface()
2080 Added method to check if an element factory implements a named
2083 2007-07-25 Stefan Kost <ensonic@users.sf.net>
2086 * docs/gst/gstreamer.types.in:
2087 Another conditional doc check.
2090 * gst/gstparamspecs.h:
2091 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2096 2007-07-24 Stefan Kost <ensonic@users.sf.net>
2098 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
2099 (gst_registry_binary_load_feature),
2100 (gst_registry_binary_load_plugin),
2101 (gst_registry_binary_read_cache):
2102 Print error just once and with additional info.
2104 2007-07-24 Stefan Kost <ensonic@users.sf.net>
2106 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2107 (helper_find_suggest), (helper_find_get_length),
2108 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
2109 (gst_type_find_helper_for_buffer):
2110 Cleanup the typefindhelper code and add private doc comments.
2112 2007-07-24 Edward Hervey <bilboed@bilboed.com>
2114 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2115 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
2116 Fix capsfilter for cases where the caps set on capsfilter will provide
2117 additional information.
2120 2007-07-24 Stefan Kost <ensonic@users.sf.net>
2122 * gst/gsttypefindfactory.c:
2123 Fix docs that recommened wrong function to use.
2125 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2127 * tools/gst-inspect.c: (print_plugin_features):
2128 Also give media-type for typefinders in element output.
2130 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2132 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
2133 (gst_registry_remove_features_for_plugin_unlocked),
2134 (gst_registry_add_feature), (gst_registry_remove_feature),
2135 (gst_registry_lookup_feature_locked):
2136 * gst/gstregistry.h:
2137 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
2140 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2142 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2143 (gst_plugin_feature_set_name):
2144 Avoid double memory usage for pluginfeature names. Fixes #459466.
2146 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
2149 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
2150 driving the pipeline may need to explicitly check for NOT_LINKED as
2151 well, since IS_FATAL doesn't cover that.
2153 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
2155 * docs/pwg/advanced-types.xml:
2156 Fix typo and duplicate entry in video formats list.
2158 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
2160 * libs/gst/controller/gstinterpolation.c:
2161 Also round to the nearest int when using cubic interpolation.
2163 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
2165 * libs/gst/controller/gstinterpolation.c:
2166 When linearly interpolating integer types, round to the nearest int
2167 by adding 0.5. Don't do it for float/double types.
2168 Fixes the failing controller test on my machine, which is somehow
2169 rounding differently than on the buildbots.
2171 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2173 * tools/gst-plot-timeline.py:
2174 Better log parsing (categories can have -). Adjust text vs. lines, so
2175 that they span the same y-range.
2177 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2179 * docs/random/ensonic/audiobaseclasses.txt:
2180 * docs/random/ensonic/dynlink.txt:
2181 * docs/random/ensonic/profiling.txt:
2184 * docs/random/moving-plugins:
2185 Add note to use g_assert type macros.
2187 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2190 * libs/gst/check/Makefile.am:
2191 Add libm check as we use in for plugins.
2193 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
2195 * gst/gstbin.c: (gst_bin_continue_func):
2196 Check that the state_cookie hasn't changed since the continue_func
2197 was scheduled. Avoids problems where the state changes back to
2198 something it shouldn't be because it was changed in the meantime.
2200 2007-07-17 Stefan Kost <ensonic@users.sf.net>
2202 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2203 (gst_registry_binary_save_string),
2204 (gst_registry_binary_save_pad_template),
2205 (gst_registry_binary_save_feature),
2206 (gst_registry_binary_save_plugin),
2207 (gst_registry_binary_load_feature),
2208 (gst_registry_binary_load_plugin),
2209 (gst_registry_binary_read_cache):
2210 Fix memory leak. Be less verbose in the log.
2212 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2214 * tests/check/elements/.cvsignore:
2215 Add file to cvsignore as commanded.
2217 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2219 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2220 (mq_dummypad_event), (run_output_order_test):
2221 Use a GStaticMutex to protect all cases where libcheck
2222 fail_if/fail_unless macros might be called from multiple threads
2223 simultaneously to avoid errors like:
2224 "check_pack.c:107: :-1081725400:Bad message type arg"
2226 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2228 * tests/check/pipelines/stress.c: (GST_START_TEST):
2229 Make sure we set the pipeline back to the NULL state before
2230 dropping our final reference.
2232 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2234 * tests/check/elements/tee.c: (GST_START_TEST):
2235 Make the tee stress-test a little less stressful so it doesn't just
2236 time out on slow-machines, and remove a small race when it's starting
2237 up by adding a get_state() call.
2239 2007-07-16 Stefan Kost <ensonic@users.sf.net>
2242 Avoid reading registry twice on startup. Fixes #457322.
2244 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2246 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2247 * pkgconfig/gstreamer-check.pc.in:
2248 Substitute the CFLAGS for libcheck into our .pc file too so that
2249 dependent modules will pick it up properly if libcheck is installed
2250 into some other prefix.
2252 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2255 Revert the pkg-config check for libcheck, since it pulls in the
2256 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2257 a proper solution, either from the check project, or something else.
2259 2007-07-12 Stefan Kost <ensonic@users.sf.net>
2262 Use pkg-config to locate check.
2264 2007-07-10 Stefan Kost <ensonic@users.sf.net>
2271 Add deprecation guards.
2273 * libs/gst/base/gstcollectpads.h:
2274 Don't document object (this is implicitly private).
2276 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
2278 * gst/gststructure.c: (gst_structure_parse_value):
2279 When deserialising foo=bar without a type cast, check if it's a
2280 boolean before falling back to a string type, otherwise things like
2281 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2282 because the filtercaps end up having a signed=(string)true field,
2283 which causes problems later when intersection caps.
2285 * tests/check/gst/gststructure.c: (GST_START_TEST):
2286 Add a unit test for this.
2288 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
2290 Reviewed by: Stefan Kost <ensonic@users.sf.net>
2292 * libs/gst/controller/Makefile.am:
2293 * libs/gst/controller/gstcontroller.c:
2294 (gst_controlled_property_add_interpolation_control_source),
2295 (gst_controlled_property_new), (gst_controlled_property_free),
2296 (gst_controller_find_controlled_property),
2297 (gst_controller_new_valist), (gst_controller_new_list),
2298 (gst_controller_new), (gst_controller_remove_properties_valist),
2299 (gst_controller_remove_properties_list),
2300 (gst_controller_remove_properties),
2301 (gst_controller_set_property_disabled),
2302 (gst_controller_set_disabled), (gst_controller_set_control_source),
2303 (gst_controller_get_control_source), (gst_controller_get),
2304 (gst_controller_sync_values), (gst_controller_get_value_array),
2305 (_gst_controller_dispose), (gst_controller_get_type),
2306 (gst_controlled_property_set_interpolation_mode),
2307 (gst_controller_set), (gst_controller_set_from_list),
2308 (gst_controller_unset), (gst_controller_unset_all),
2309 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2310 * libs/gst/controller/gstcontroller.h:
2311 * libs/gst/controller/gstcontrollerprivate.h:
2312 * libs/gst/controller/gstcontrolsource.c:
2313 (gst_control_source_class_init), (gst_control_source_init),
2314 (gst_control_source_get_value),
2315 (gst_control_source_get_value_array), (gst_control_source_bind):
2316 * libs/gst/controller/gstcontrolsource.h:
2317 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2318 (gst_object_get_control_source):
2319 * libs/gst/controller/gstinterpolation.c:
2320 (gst_interpolation_control_source_find_control_point_node),
2321 (gst_interpolation_control_source_get_first_value),
2322 (_interpolate_none_get), (interpolate_none_get),
2323 (interpolate_none_get_boolean_value_array),
2324 (interpolate_none_get_enum_value_array),
2325 (interpolate_none_get_string_value_array),
2326 (_interpolate_trigger_get), (interpolate_trigger_get),
2327 (interpolate_trigger_get_boolean_value_array),
2328 (interpolate_trigger_get_enum_value_array),
2329 (interpolate_trigger_get_string_value_array):
2330 * libs/gst/controller/gstinterpolationcontrolsource.c:
2331 (gst_control_point_free), (gst_interpolation_control_source_reset),
2332 (gst_interpolation_control_source_new),
2333 (gst_interpolation_control_source_set_interpolation_mode),
2334 (gst_interpolation_control_source_bind),
2335 (gst_control_point_compare), (gst_control_point_find),
2336 (gst_interpolation_control_source_set_internal),
2337 (gst_interpolation_control_source_set),
2338 (gst_interpolation_control_source_set_from_list),
2339 (gst_interpolation_control_source_unset),
2340 (gst_interpolation_control_source_unset_all),
2341 (gst_interpolation_control_source_get_all),
2342 (gst_interpolation_control_source_get_count),
2343 (gst_interpolation_control_source_init),
2344 (gst_interpolation_control_source_finalize),
2345 (gst_interpolation_control_source_dispose),
2346 (gst_interpolation_control_source_class_init):
2347 * libs/gst/controller/gstinterpolationcontrolsource.h:
2348 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2349 API: Refactor GstController into the core controller which can take
2350 a GstControlSource for providing actual values for timestamps.
2351 Implement a interpolation control source and use this for backward
2352 compatibility, deprecate a bunch of functions that are now handled
2353 by GstControlSource or GstInterpolationControlSource.
2354 Make it possible to disable the controller completely or only for
2355 specific properties. Fixes #450711.
2356 * docs/libs/gstreamer-libs-docs.sgml:
2357 * docs/libs/gstreamer-libs-sections.txt:
2358 * docs/libs/gstreamer-libs.types:
2359 Add new functions and classes to the docs.
2360 * tests/check/libs/controller.c: (GST_START_TEST),
2361 (gst_controller_suite):
2362 * tests/examples/controller/audio-example.c: (main):
2363 Port unit test and example to the new API and add some new
2366 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
2368 Patch by: Mark Nauwelaerts <manauw at skynet be>
2370 * plugins/elements/gstmultiqueue.c:
2371 (gst_multi_queue_get_internal_links), (apply_buffer),
2372 (single_queue_overrun_cb), (gst_single_queue_new):
2373 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2374 the pipeline layout can be tracked correctly. Fixes #453732.
2376 2007-07-05 Stefan Kost <ensonic@users.sf.net>
2378 * docs/gst/Makefile.am:
2379 * docs/libs/Makefile.am:
2380 * docs/plugins/Makefile.am:
2381 Simplify --extra-dir as gtkdoc scans recursively.
2383 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2385 * tools/gst-launch.c: (main):
2386 When we got an error, there is no point in waiting for preroll when
2389 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2391 * plugins/elements/gsttee.c: (gst_tee_base_init),
2392 (gst_tee_request_new_pad), (gst_tee_release_pad),
2393 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2394 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2396 Be a lot smarter when deciding what srcpad to use for proxying
2397 the buffer_alloc. Also handle pad added/removed when doing so.
2399 Keep track of what pads we already pushed on in case we have pads
2400 added/removed while pushing. Fixes #374639
2402 * tests/check/Makefile.am:
2403 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2405 Added unit test for pad resync.
2407 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2411 Updated translations.
2413 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2415 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2419 Added new Finnish translation.
2421 2007-06-28 Wim Taymans <wim@fluendo.com>
2423 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2424 (single_queue_overrun_cb):
2425 When figuring out when a queue is filled, use our internal time estimate
2426 based on segments, just like check_full does.
2428 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2430 * gst/gstminiobject.c: (gst_mini_object_get_type):
2431 Remove 3 do-nothing methods.
2433 2007-06-27 Wim Taymans <wim@fluendo.com>
2435 Patch by: Tim Angus <tim at ngus dot net>
2437 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2438 (gst_capsfilter_set_property):
2439 Take a reference instead of a copy when setting "caps".
2440 Fix documentation to clarify this behaviour. Fixes #449414.
2442 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2444 * gst/gstindexfactory.c: (gst_index_factory_get_type):
2445 * gst/gstplugin.c: (gst_plugin_init):
2446 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2447 * gst/gstquery.c: (gst_query_get_type):
2448 * gst/gstregistry.c: (gst_registry_init):
2449 * gst/gsturi.c: (gst_uri_handler_base_init):
2450 Remove empty instance_init() functions to save relocs and lessen the
2451 noise. Remove some of the function prototypes that are doubled by
2454 2007-06-27 Wim Taymans <wim@fluendo.com>
2456 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2458 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2459 Add peer and direction in the XML serialisation of ghostpads.
2462 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2465 Preserve useful information, thanks Tim.
2467 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
2469 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2470 (gst_single_queue_flush), (apply_segment), (apply_buffer),
2471 (gst_single_queue_push_one), (gst_multi_queue_loop),
2472 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2473 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2474 (compute_high_id), (gst_single_queue_new):
2475 * plugins/elements/gstmultiqueue.h:
2476 Take the multiqueue lock when updating the fill level so we don't get
2479 After applying a buffer or event on the src pad segment, make sure to
2480 call gst_data_queue_limits_changed() to get the data queue to unblock
2481 and check the filled state again.
2483 Rework the not-linked pad handling so the logic is that not-linked
2484 pads can push as fast as they like, but only so they never get
2485 ahead of any linked pads.
2487 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2488 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2489 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2491 Add a test to check that not-linked pads always stay behind
2496 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
2498 * docs/random/release:
2499 Some updates to the release procedure.
2501 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2503 * gst/gstelementfactory.c: (__gst_element_details_clear):
2504 Microoptimization that saves stunning 80 bytes.
2506 2007-06-25 Stefan Kost <ensonic@users.sf.net>
2508 * docs/plugins/gstreamer-plugins.args:
2509 * docs/plugins/inspect/plugin-coreelements.xml:
2510 * docs/plugins/inspect/plugin-coreindexers.xml:
2511 Update docs with caps info.
2513 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
2516 Updated Italian translation.
2518 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
2522 Update Vietnamese translations.
2524 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2526 * libs/gst/base/gstbasesink.c:
2527 Remove unused signal enum.
2529 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2531 * docs/gst/gstreamer-sections.txt:
2533 * gst/gstutils.c: (gst_type_register_static_full):
2534 Beef up and include the docs for gst_type_register_static_full and
2535 gst_element_class_set_details_simple and add the API keyword
2538 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2540 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2541 (update_time_level), (gst_single_queue_push_one),
2542 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2543 (single_queue_overrun_cb), (single_queue_underrun_cb),
2544 (single_queue_check_full):
2545 Fix setting max-* properties after adding queues.
2546 Use IS_FILLED for checking visible items.
2547 Signal overrun if multiple queues overrun.
2548 Add extra debug output.
2549 Patch by: Wim Taymans <wim@fluendo.com>
2551 2007-06-21 Stefan Kost <ensonic@users.sf.net>
2553 * gst/gstelement.c: (gst_element_class_set_details_simple):
2555 * gst/gstutils.c: (gst_type_register_static_full):
2557 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2558 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2559 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2560 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2561 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2562 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2563 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2564 * plugins/elements/gstidentity.c: (gst_identity_base_init):
2565 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2566 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2567 (apply_buffer), (gst_queue_chain):
2568 * plugins/elements/gsttee.c: (gst_tee_base_init):
2569 * plugins/elements/gsttypefindelement.c:
2570 (gst_type_find_element_base_init),
2571 (gst_type_find_element_class_init):
2572 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2573 API: add gst_type_register_static_full
2574 API: add gst_element_class_set_details_simple
2576 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2578 * docs/pwg/advanced-types.xml:
2579 Fix typo in iana.org URI.
2581 2007-06-19 Andy Wingo <wingo@pobox.com>
2583 * tests/check/pipelines/simple-launch-lines.c
2584 (test_state_change_returns): Enable pull-mode tests now that
2585 basesink has been fixed.
2587 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2588 Changed from gst_base_sink_is_prerolled, reversing the sense of
2589 the return value. Returns FALSE also if the sink is in pull mode,
2590 in which case it needs no preroll.
2591 (gst_base_sink_query, gst_base_sink_change_state): Update for
2592 needs_preroll change.
2593 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2594 chaining up, in which we return SUCCESS directly if we activated
2595 in pull mode instead of ASYNC. Involves countering an async_start
2596 message sent before chaining up; not sure if this is correct, in
2597 an ideal world we only send async-start when activating in push
2600 * tests/check/pipelines/simple-launch-lines.c
2601 (test_state_change_returns): New test, partially disabled until
2604 2007-06-19 Wim Taymans <wim@fluendo.com>
2606 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2607 (gst_multi_queue_sink_event):
2610 2007-06-19 Wim Taymans <wim@fluendo.com>
2612 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2613 (gst_bin_change_state_func), (bin_push_state_continue),
2614 (bin_handle_async_start), (bin_handle_async_done),
2615 (gst_bin_handle_message_func):
2616 Move the common code for posting state-change messages into
2618 Broadcast the state signal after we posted the messages.
2619 Mark the bin as busy when it's doing a state-change.
2620 Make sure async-start/done messages don't interfere with the bin's
2621 state when it's busy.
2622 After the state change, let the bin check which elements completed the
2623 state change while it was busy so that it can update its state.
2625 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
2627 * docs/random/release:
2628 Add a note about updating the doap file to the release checklist
2630 2007-06-18 Wim Taymans <wim@fluendo.com>
2632 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2633 (gst_single_queue_push_one), (gst_multi_queue_chain),
2634 (gst_multi_queue_sink_event):
2635 Make sure we don't reference the buffer/event after we have given away
2636 ownership in the queue.
2638 2007-06-18 Wim Taymans <wim@fluendo.com>
2640 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2641 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2642 Update queue state _after_ adding the item in the queue because else we
2643 could end up being full without the element added yet.
2645 2007-06-18 Wim Taymans <wim@fluendo.com>
2647 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2648 (gst_bin_remove_func), (gst_bin_get_state_func),
2649 (gst_bin_element_set_state), (gst_bin_continue_func),
2650 (bin_push_state_continue), (bin_handle_async_start),
2651 (bin_handle_async_done), (gst_bin_handle_message_func):
2653 Immediatly commit the toplevel bin state when receiving an async-done
2654 message. This enables us to avoid spawning a thread to commit the state
2655 in some common cases and it also avoids some races.
2656 Avoid spawning a state thread when adding/removing async elements to a
2657 toplevel bin. Instead we immediatly update the bin state.
2658 Get rid of iterating all the children when getting the state in the bin
2659 because it is now always up-to-date.
2660 Fix bug where locked elements would always return _SUCCESS even it they
2661 returned NO_PREROLL before being locked.
2662 Fix the order of the state_change, async-start/done messages that was
2663 sometimes incorrect.
2664 Mark the state_dirty field as deprecated, we don't need it anymore as we
2665 are always up-to-date.
2667 * gst/gstelement.c: (gst_element_get_state_func),
2668 (gst_element_continue_state):
2669 Small debug inprovements.
2670 Return the previous element state return when nothing is pending instead
2671 of blindly returning SUCCESS.
2673 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2675 Add a whole bunch of new testcases.
2677 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
2681 Update translations.
2683 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
2686 Fix typo in the docs.
2688 2007-06-15 Wim Taymans <wim@fluendo.com>
2690 * docs/libs/gstreamer-libs-sections.txt:
2691 Add docs for new methods.
2693 2007-06-15 Wim Taymans <wim@fluendo.com>
2695 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2696 (gst_multi_queue_item_new):
2697 Don't use GSlice because we don't depend on >= 2.10 yet.
2699 2007-06-15 Wim Taymans <wim@fluendo.com>
2701 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2702 (update_time_level), (apply_segment), (apply_buffer),
2703 (gst_single_queue_push_one), (gst_multi_queue_item_new),
2704 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2705 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2706 (single_queue_underrun_cb), (single_queue_check_full):
2707 Remove debug printf.
2709 2007-06-15 Wim Taymans <wim@fluendo.com>
2711 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2712 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2713 (gst_data_queue_set_flushing), (gst_data_queue_push),
2714 (gst_data_queue_pop), (gst_data_queue_drop_head),
2715 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2716 * libs/gst/base/gstdataqueue.h:
2718 Added methods to get the current levels and to inform the queue that the
2719 'full' limits changed.
2721 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2722 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2723 (gst_single_queue_flush), (update_time_level), (apply_segment),
2724 (apply_buffer), (gst_single_queue_push_one),
2725 (gst_multi_queue_item_steal_object),
2726 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2727 (gst_multi_queue_loop), (gst_multi_queue_chain),
2728 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2729 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2730 (gst_multi_queue_src_query), (single_queue_overrun_cb),
2731 (single_queue_underrun_cb), (single_queue_check_full),
2732 (gst_single_queue_new):
2733 Keep track of time in the queue by measuring the difference between
2734 running_time on input and output. This gives more accurate results and
2735 can compensate for segments correctly.
2736 Make a queue by default only 5 buffers deep. We will now increase the
2737 buffer size depending on the filledness of the other queues.
2738 Factor out commong flush code.
2739 Make sure we don't add additional refcounts to buffers when we can avoid
2741 Propagate GstFlowReturn differently.
2742 Use GSlice for intermediate GstMultiQueueItems.
2744 Resize queues on over and underruns based on filled level of other
2746 When checking if the queue is filled, prefer to measure in time if we
2747 can and fall back to bytes when no time is known.
2749 * plugins/elements/gstqueue.c:
2752 2007-06-15 Wim Taymans <wim@fluendo.com>
2754 * libs/gst/base/gstbasetransform.c:
2755 (gst_base_transform_sink_event):
2756 Work around the brokenness of the event vmethod in basetransform. Prefer
2757 to return TRUE when the subclass returned FALSE (meaning don't forward
2760 * libs/gst/base/gstbasetransform.h:
2763 2007-06-15 Wim Taymans <wim@fluendo.com>
2765 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2766 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2767 (gst_base_src_default_query), (gst_base_src_get_range),
2768 (gst_base_src_start):
2769 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2772 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2774 * docs/pwg/advanced-types.xml:
2775 Added more formats to caps table.
2777 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2779 * tools/gst-launch.c: (main):
2780 Remove crufy code. GOption does not need this workaround.
2782 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2784 * libs/gst/controller/gstcontroller.c:
2785 (gst_controlled_property_set_interpolation_mode):
2786 Fix wrong getter for enums in controller.
2788 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2790 * libs/gst/check/gstcheck.c: (gst_check_init):
2791 Intercept criticals and warnings in the Gst-Phonon log domain, so
2792 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2795 2007-06-14 Edward Hervey <edward@fluendo.com>
2797 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2798 Since this file doesn't include "gst.h" it will not go through the
2799 macros that disable GST_LOG if debugging was disabled.
2801 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2803 * libs/gst/check/Makefile.am:
2804 * libs/gst/check/gstcheck.h:
2805 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2806 * pkgconfig/gstreamer-check.pc.in:
2807 Ugly 'fix' for the controller unit test on the p5 bot: in
2808 fail_unless_equals_float() check whether the values are 'almost
2809 equal' by allowing a small absolute error, which should be good
2810 enough for our use cases (normal numbers and values close to 0).
2811 Proper fixage left to floating point arithmetic aficionados.
2813 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2815 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2816 (gst_base_sink_render_object), (gst_base_sink_get_position):
2817 Add two breaks thats where missing.
2819 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2821 * docs/libs/gstreamer-libs-sections.txt:
2822 * libs/gst/check/gstcheck.h:
2823 API: add fail_unless_equals_float() and assert_equals_float().
2824 Add documentation for some of the macros.
2826 * tests/check/libs/controller.c: (GST_START_TEST):
2827 Use newly-added asserts.
2829 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2831 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2832 Show the caps change in the log to help spotting the case of not
2833 exactly matching caps.
2835 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2837 * docs/pwg/building-boiler.xml:
2838 Fix typos, spotted by Thijs Vermeir (#447190).
2840 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2842 * docs/plugins/tmpl/.cvsignore:
2843 Ignore file to keep the buildbots happy
2845 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2847 * docs/plugins/Makefile.am:
2848 * docs/plugins/gstreamer-plugins-docs.sgml:
2849 * docs/plugins/gstreamer-plugins-sections.txt:
2850 Pull fdsink into the docs too.
2852 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
2854 * libs/gst/controller/gstinterpolation.c:
2855 Actually use the new functions with min/max checks for the trigger and
2856 none interpolation modes for get() and get_value_array() instead of
2859 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
2861 * libs/gst/controller/gstcontroller.c:
2862 (gst_controlled_property_free):
2863 Unset the minimum and maximum GValues when freeing the corresponding
2864 GstControllerProperty struct.
2866 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
2868 * libs/gst/controller/gstcontroller.c:
2869 (gst_controlled_property_new):
2870 * libs/gst/controller/gstcontrollerprivate.h:
2871 * libs/gst/controller/gstinterpolation.c:
2872 (gst_controlled_property_find_control_point_node),
2873 (interpolate_none_get), (interpolate_none_get_enum_value_array),
2874 (interpolate_none_get_string_value_array),
2875 (interpolate_trigger_get),
2876 (interpolate_trigger_get_enum_value_array),
2877 (interpolate_trigger_get_string_value_array):
2878 Protect against values larger or smaller than the minimum or maximum
2879 allowed value for the property when using values that can be compared.
2881 Optimize trigger interpolator a bit by taking the last requested value
2882 into account instead of always looping through the complete list.
2884 Fix coding style a bit, everywhere else we use "return foo" instead
2887 * tests/check/libs/controller.c: (GST_START_TEST),
2888 (gst_controller_suite):
2889 Add unit test for the protection against too large or too small
2892 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
2894 * docs/random/slomo/controller.txt:
2895 Add some thoughts about the future of the controller.
2897 2007-06-08 Wim Taymans <wim@fluendo.com>
2899 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2900 Don't overflow in retimestamping code.
2902 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
2904 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2905 Use gst_util_guint64_to_gdouble for conversions.
2906 * win32/common/libgstreamer.def:
2907 Add new exported functions.
2909 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
2912 Small docs addition.
2914 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2917 Remove that test line again.
2919 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2922 Test commit mail sending.
2924 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2927 Fix typo and test commit mail sending.
2929 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2931 * tests/examples/controller/audio-example.c:
2932 Improve comment and test commit mail sending.
2934 2007-06-07 Wim Taymans <wim@fluendo.com>
2936 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2937 (gst_bin_remove_func), (gst_bin_element_set_state),
2938 (bin_handle_async_start), (bin_handle_async_done),
2939 (gst_bin_handle_message_func):
2940 Add helper function to find messages.
2941 Generate the async-done messages together with the state change
2943 Small cleanups in handling toplevel bins.
2945 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2947 * libs/gst/base/gstdataqueue.c:
2948 * libs/gst/base/gstdataqueue.h:
2949 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2950 (gst_multi_queue_item_new), (gst_multi_queue_chain),
2951 (gst_multi_queue_sink_event):
2952 * tests/check/elements/multiqueue.c: (multiqueue_suite):
2953 Fix multiqueue leaking buffers and events when downstream or the
2954 queue are flushing. Make refcounting assumptions explicit and
2955 document them (shouldn't break existing code that uses it other than
2956 maybe leak miniobjects, but that already happens anyway). Add unit
2957 test for the most common flushing case. Fixes #423700.
2959 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2961 * libs/gst/controller/gstcontroller.c:
2962 Clarify docs: The get_all, get_value_array(s) functions
2963 don't modify the GObject properties.
2965 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2967 * libs/gst/controller/gstcontroller.c:
2968 (gst_controlled_property_set_interpolation_mode),
2969 (gst_controlled_property_prepend_default),
2970 (gst_controlled_property_new), (gst_controller_set_unlocked),
2971 (gst_controller_set), (gst_controller_set_from_list),
2972 (gst_controller_unset), (gst_controller_unset_all):
2973 * libs/gst/controller/gstcontrollerprivate.h:
2974 * libs/gst/controller/gstinterpolation.c:
2975 Factor out the 'set' logic into gst_controller_set_unlocked for the
2976 gst_controller_set and gst_controller_set_from_list functions.
2978 To make life of the interpolators easier always add a control point
2979 at timestamp zero with the default value.
2981 In the linear interpolator make things more obvious by better variable
2984 Implement cubic interpolation mode (by using a natural cubic spline)
2985 and map the quadratic interpolation mode to this too (as quadratic
2986 doesn't make much sense, see discussion on the list).
2988 * tests/check/libs/controller.c: (GST_START_TEST),
2989 (gst_controller_suite):
2990 Add unit test for the cubic interpolation mode and check everywhere
2991 if the interpolation mode could be set as expected.
2993 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2995 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2996 Don't use GLib-2.10 functions, we still depend on
2997 GLib-how-old-is-it-again-2.8.
2999 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
3001 * docs/gst/gstreamer-sections.txt:
3005 * gst/gstparamspecs.c: (_gst_param_fraction_init),
3006 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
3007 (_gst_param_fraction_values_cmp),
3008 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
3009 * gst/gstparamspecs.h:
3011 * tests/check/Makefile.am:
3012 * tests/check/gst/.cvsignore:
3013 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
3014 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
3015 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
3016 (GST_START_TEST), (gst_param_spec_suite):
3017 API: add GstParamSpecFraction, so elements can have fraction
3018 properties without lots of painful string parsing (#444648).
3020 2007-06-05 Wim Taymans <wim@fluendo.com>
3022 * gst/gstobject.c: (gst_object_class_init):
3023 Fix signal signature.
3026 Add small clarification in the api docs.
3028 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
3029 States are protected with object lock.
3031 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
3034 I should probably be listed as an author by now.
3036 * docs/random/release:
3037 Update the release doc
3039 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
3042 Make docs for gst_value_compare() mention return enums that
3045 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
3050 === release 0.10.13 ===
3052 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
3055 releasing 0.10.13, "With or without you"
3057 2007-05-25 Wim Taymans <wim@fluendo.com>
3059 * gst/gstbin.c: (bin_handle_async_done):
3060 Make sure that the child bin stops after completing the async state
3061 change so that the parent can continue the state change to PLAYING.
3064 2007-05-25 Wim Taymans <wim@fluendo.com>
3066 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3067 (unref_data), (gst_collect_pads_remove_pad),
3068 (gst_collect_pads_check_pads):
3069 Use additional refcounting to avoid crashes when dynamically adding and
3070 removing pads. Fixes #420206.
3072 2007-05-24 Wim Taymans <wim@fluendo.com>
3074 * tools/gst-launch.c: (event_loop):
3075 When buffering goes from a two digit to a single digit number, make sure
3076 to remove the old second digit by writing a blank over it.
3078 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
3080 * libs/gst/base/gstdataqueue.c:
3081 Eliminate tabs and trailing comma in enum list; fix some typos.
3083 2007-05-24 Wim Taymans <wim@fluendo.com>
3085 * tests/check/gst/gstbin.c: (GST_START_TEST):
3086 Allow refcount of 3 and 4 because some state thread might still be busy
3089 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
3091 * plugins/elements/Makefile.am:
3092 * plugins/elements/gstmultiqueue.h:
3093 * plugins/elements/gstqueue.h:
3094 These are not installed headers, no need for padding.
3096 2007-05-24 Wim Taymans <wim@fluendo.com>
3098 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3099 (gst_bin_continue_func):
3100 Enable latency for next release.
3101 Restore STATE_LOCK around recalc_state that was left out during the
3102 rewrite and could result in racy behaviour when _get_state and
3103 recalc_state are run concurrently. See #440463.
3105 2007-05-23 Wim Taymans <wim@fluendo.com>
3107 * tests/check/gst/gstsystemclock.c: (store_callback),
3109 Improve test_async_order to also work when both timers are already
3110 expired when we get scheduled to check it.
3112 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
3114 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
3115 (gst_bin_set_property), (gst_bin_get_property),
3116 (gst_bin_remove_func), (gst_bin_handle_message_func):
3118 'private' is a c++ keyword, let's not use that in header files,
3119 otherwise c++ compilers will throw a tantrum.
3121 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
3123 * plugins/elements/gstelements.c:
3124 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
3125 (gst_file_sink_get_current_offset):
3126 * plugins/indexers/gstindexers.c: (plugin_init):
3127 Use #ifdef for HAVE_XYZ for consistency.
3129 * tests/check/Makefile.am:
3130 * tests/check/elements/.cvsignore:
3131 * tests/check/elements/filesink.c: (setup_filesink),
3132 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
3133 Add some unit tests for filesink.
3135 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
3137 Patch by: Mark Nauwelaerts <manauw at skynet be>
3139 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3140 (gst_file_sink_query), (gst_file_sink_do_seek),
3141 (gst_file_sink_get_current_offset), (gst_file_sink_render):
3142 * plugins/elements/gstfilesink.h:
3143 Fix position reporting; rename data_written member to current_pos to
3144 reflect its real meaning (fixes #412648).
3146 2007-05-22 Edward Hervey <edward@fluendo.com>
3148 * docs/gst/gstreamer-sections.txt:
3149 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3150 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
3151 (gst_bin_remove_func), (gst_bin_handle_message_func):
3153 Add a property for bins that handle the state change of their childs.
3156 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
3158 * libs/gst/controller/gstinterpolation.c:
3159 Use an array of the correct type when using _get_value_array with
3160 linear interpolation.
3162 2007-05-22 Stefan Kost <ensonic@users.sf.net>
3164 * gst/gstelement.c (gst_element_requires_clock,
3165 gst_element_provides_clock, gst_element_request_pad,
3166 gst_element_class_set_details, gst_element_class_set_details_simple,
3167 gst_element_default_send_event, gst_element_abort_state,
3168 gst_element_continue_state, gst_element_set_state,
3169 gst_element_set_state_func, iterator_activate_fold_with_resync):
3170 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
3171 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
3172 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
3173 gst_pad_get_range, gst_pad_pull_range):
3174 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
3175 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
3176 GstPadActivateModeFunction, GstPadChainFunction,
3177 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
3178 GstPadFixateCapsFunction, GstPadTemplate):
3179 * gst/gstpipeline.c (gst_pipeline_change_state,
3180 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
3181 gst_pipeline_set_clock, gst_pipeline_auto_clock,
3182 gst_pipeline_get_delay):
3183 Whitespace and docs fixes.
3185 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3187 * libs/gst/controller/gstinterpolation.c:
3188 (interpolate_trigger_get_enum_value_array),
3189 (interpolate_trigger_get_string_value_array):
3190 Add support for retrieving value arrays when using the trigger
3193 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3195 * libs/gst/controller/gstcontroller.c:
3196 (gst_controller_get_value_array):
3197 * libs/gst/controller/gstcontroller.h:
3198 Clarify the docs of gst_controller_get_value_array(): The array where
3199 the values should be written to must be allocated as there seems to be
3200 no way to get the size of a random GType. This doesn't change any
3201 behaviour. Also fix some typos all over the place and remove an unused,
3202 commented function that is not necessary as g_object_set() could be
3204 * tests/check/libs/controller.c: (GST_START_TEST),
3205 (gst_controller_suite):
3206 Add unit test for gst_controller_get_value_array().
3208 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
3210 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3212 Disable part of the gst_buffer_try_new_and_alloc test, because
3213 it can happily succeed on 64-bit systems where there's more address
3216 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3218 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3219 Add unit test for the improved caps checking from bug #421543.
3221 2007-05-21 Wim Taymans <wim@fluendo.com>
3223 * docs/design/part-synchronisation.txt:
3226 * gst/gstbin.c: (gst_bin_query):
3227 * plugins/elements/gstqueue.c: (apply_segment):
3233 2007-05-21 Wim Taymans <wim@fluendo.com>
3235 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3236 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3237 (gst_pad_configure_src):
3238 Added simple version of improved caps checking. It was previously
3239 assumed that a setcaps function would check the validity of the caps but
3240 people prefer us to check caps against the template automatically.
3243 2007-05-21 Wim Taymans <wim@fluendo.com>
3245 * libs/gst/base/gstbasetransform.h:
3246 Fix macro for locking/unlocking the transform lock.
3248 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
3250 * docs/plugins/tmpl/.cvsignore:
3253 2007-05-18 Edward Hervey <edward@fluendo.com>
3255 * plugins/elements/gstqueue.c: (gst_queue_loop):
3256 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3257 for the subtle art of warning a potentially blocking thread that it
3258 should check the source pad return value, and relay the information
3261 2007-05-18 Edward Hervey <edward@fluendo.com>
3263 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3264 Release the queue lock !
3266 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3268 * docs/libs/gstreamer-libs-sections.txt:
3269 Add the two new controller functions to the appropiate places.
3271 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3273 reviewed by: Stefan Kost <ensonic@users.sf.net>
3275 * libs/gst/controller/gstcontroller.c:
3276 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3277 (_gst_controller_get_property), (_gst_controller_set_property),
3278 (_gst_controller_init), (_gst_controller_class_init):
3279 * libs/gst/controller/gstcontroller.h:
3280 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3281 (gst_object_get_control_rate), (gst_object_set_control_rate):
3282 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3283 Add API that provides sync suggestion timestamps for elements that
3284 call gst_object_sync_values() from which those elements can subdivide
3285 their processing loop to get the best results for the controlled
3286 properties. For now it just suggests last_sync + control_rate as
3287 new timestamp but this will be improved in the future.
3289 While doing that change the control-rate property to a GstClockTime
3290 from guint and change it's meaning from samples to nanoseconds as
3291 the GstController doesn't know anything about sampling rate. Strictly
3292 speaking this breaks ABI but as the control-rate property didn't do
3293 anything in the past and as such couldn't be used this should be no
3296 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3298 reviewed by: Stefan Kost <ensonic@users.sf.net>
3300 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3301 (gst_controller_unset_all):
3302 * libs/gst/controller/gstcontrollerprivate.h:
3303 * libs/gst/controller/gstinterpolation.c:
3304 (gst_controlled_property_find_control_point_node):
3305 Save last synced value from the list to continue searching from there
3306 in future syncs. This speeds everything up a bit.
3308 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3310 reviewed by: Stefan Kost <ensonic@users.sf.net>
3312 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3313 (gst_control_point_find), (gst_controlled_property_new),
3314 (gst_control_point_free), (gst_controlled_property_free),
3315 (gst_controller_set), (gst_controller_set_from_list),
3316 (gst_controller_unset), (gst_controller_unset_all),
3317 (gst_controller_sync_values):
3318 * libs/gst/controller/gstcontroller.h:
3319 * libs/gst/controller/gstcontrollerprivate.h:
3320 * libs/gst/controller/gstinterpolation.c:
3321 (gst_controlled_property_find_control_point_node),
3322 (interpolate_none_get), (interpolate_trigger_get):
3323 Add a new private GstControlPoint struct which "inherits" from
3324 GstTimedValue to allow different interpolators to store internal
3325 values next to each control point. From the outside everything is
3326 still a GstControlPoint so we don't loose binary compatibility.
3327 Also fixup all the GValue handling to not leak GValues or list nodes.
3328 * tests/check/libs/controller.c: (GST_START_TEST):
3329 Free the list nodes and GValues in the controller_misc test.
3331 2007-05-17 Edward Hervey <edward@fluendo.com>
3336 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
3338 * gst/gstplugin.c: (gst_plugin_load_file):
3339 If we fail to load a plugin because of unresolved symbols or missing
3340 libraries and spew a warning to stderr, we may just as well mention
3341 which plugin it was that failed to load.
3343 2007-05-13 David Schleef <ds@schleef.org>
3345 * docs/Makefile.am: the gtk-doc makefile snippet correctly
3346 handles the case when ENABLE_GTK_DOC is false, and installs
3347 the prebuilt documentation. So gtk-doc subdirs are
3348 unconditionally enabled. Fixes: #349099.
3350 2007-05-13 David Schleef <ds@schleef.org>
3352 * gst/gstutils.h: Reword some documentation.
3354 2007-05-12 David Schleef <ds@schleef.org>
3356 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3357 do anything with the passed "module" parameter, so remove it.
3358 Allows removal of additional vestigal code.
3360 2007-05-12 David Schleef <ds@schleef.org>
3363 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3364 Switch to using g_stat() because it's more portable.
3366 2007-05-12 David Schleef <ds@schleef.org>
3369 Add GST_DISABLE_OPTION_PARSING, in order to disable option
3370 parsing for embedded systems.
3371 * gst/gstelementfactory.c:
3372 Allow gst_element_register() to be called with plugin==NULL.
3373 Did nobody notice that static elements were broken?
3375 2007-05-12 Wim Taymans <wim@fluendo.com>
3377 * tools/gst-launch.c: (event_loop):
3378 Give more interesting info when buffering starts and stops.
3379 Fix case where buffering starts but we fail to update the buffering flag
3380 because the target state is not PLAYING.
3382 2007-05-12 Wim Taymans <wim@fluendo.com>
3384 * plugins/elements/gstqueue.c: (gst_queue_init),
3385 (gst_queue_finalize), (update_time_level), (apply_segment),
3386 (apply_buffer), (gst_queue_locked_flush),
3387 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3388 (gst_queue_handle_sink_event), (gst_queue_chain),
3389 (gst_queue_push_one), (gst_queue_loop):
3390 * plugins/elements/gstqueue.h:
3391 Refactor an cleanup queue a bit.
3392 Do better time level calculations that also work when the srcpad is not
3394 Remove some unneeded debug lines.
3396 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3397 Added testcase for time level measurement.
3398 Try to make some stuff more racefree.
3400 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3402 * gst/gsturi.c: (gst_element_make_from_uri):
3403 Don't leak plugin feature.
3405 * tests/check/Makefile.am:
3406 * tests/check/gst/.cvsignore:
3407 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3408 Add brain-dead unit test.
3410 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3412 Patch by: Jeroen Wouters <woutersj at gmail com>
3414 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3415 Treat protocol strings in a case-insensitive way (#437563).
3417 2007-05-11 Michael Smith <msmith@fluendo.com>
3419 * gst/gstplugin.c: (gst_plugin_load_file):
3420 * gst/gstregistry.c: (gst_registry_scan_path_level):
3421 Don't print a g_warning for any failure to load a shared object.
3422 Instead, push this down into gstplugin.c, and warn _only_ if we
3423 failed to open the module (i.e. failure to link).
3424 Avoids warnings on normal, working, non-plugin .so files.
3426 2007-05-11 Stefan Kost <ensonic@users.sf.net>
3428 * gst/gstplugin.c (gst_plugin_load_file):
3429 * gst/gstregistry.c (GST_CAT_DEFAULT,
3430 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3431 Print a g_warning if there was an error when loading a plugins during
3432 registry scan. The shuld help beginners starting with gst-plugin
3435 2007-05-10 Wim Taymans <wim@fluendo.com>
3437 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3438 (update_time_level), (gst_queue_locked_flush),
3439 (gst_queue_handle_sink_event), (gst_queue_chain),
3440 (gst_queue_push_one), (gst_queue_loop):
3441 * plugins/elements/gstqueue.h:
3442 Be smarter when calculating the current amount of data in the queue by
3443 measuring the difference between start and end timestamps (in running
3444 time) inside the queue. Fixes #432876.
3445 API: GstQueue::pushing to notify elements that we are pushing data again
3446 since the running signal is rather broken for this purpose.
3448 2007-05-10 Stefan Kost <ensonic@users.sf.net>
3450 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3451 gst_queue_base_init, gst_queue_init):
3454 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
3456 * win32/common/libgstreamer.def:
3457 Add new exported functions.
3458 * win32/vs6/grammar.dsp:
3459 Use grammar pre-generated files.
3461 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3463 Based on patch by: Peter Kjellerstedt <pkj at axis com>
3466 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3468 * gst/gstutils.c: (gst_parse_bin_from_description):
3470 Maintain API and ABI when --disable-parse is used. Now that
3471 we have an appropriate error code, we can just return NULL and the
3472 appropriate error when gst_parse_launch() is used despite it having
3473 been disabled (#342564).
3475 * tests/check/Makefile.am:
3476 * tests/check/pipelines/.cvsignore:
3477 * tests/check/pipelines/parse-disabled.c:
3478 Make sure these functions exist and return NULL plus a GError when
3479 --disable-parse is used.
3481 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3483 * tests/benchmarks/complexity.c: (main):
3484 * tests/benchmarks/mass-elements.c: (main):
3485 Set a good example and don't leak messages.
3487 2007-05-06 Stefan Kost <ensonic@users.sf.net>
3489 * docs/gst/Makefile.am:
3490 * docs/libs/Makefile.am:
3491 Correct fixxrefs options.
3493 * docs/plugins/Makefile.am:
3494 * docs/plugins/gstreamer-plugins-docs.sgml:
3495 * docs/plugins/gstreamer-plugins-sections.txt:
3496 * plugins/elements/Makefile.am:
3497 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3498 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3499 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3500 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3501 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3502 _GstCapsFilterClass, trans_class):
3503 * plugins/elements/gstelements.c (name, rank, type, _elements):
3504 * plugins/elements/gstidentity.c
3505 (gst_identity_check_imperfect_timestamp,
3506 gst_identity_check_imperfect_offset):
3507 Document capsfilter and add doc-blurb to identity.
3509 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
3511 * libs/gst/controller/gstcontroller.c:
3512 (gst_controlled_property_set_interpolation_mode):
3513 * libs/gst/controller/gstinterpolation.c:
3514 Don't crash if someone tries to set an interpolation mode that
3515 is invalid or that isn't supported yet. Fixes #422295.
3517 * tests/check/libs/controller.c: (GST_START_TEST),
3518 (gst_controller_suite):
3519 Add a test case for the above.
3521 2007-05-03 Edward Hervey <edward@fluendo.com>
3523 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3524 Properly set the last_stop position on GstSegment. This will only happen
3525 if there is a buffer to push out.
3527 2007-05-03 Wim Taymans <wim@fluendo.com>
3529 * libs/gst/base/gstbasetransform.c:
3530 (gst_base_transform_buffer_alloc):
3531 always_in_place does not mean that the sink and source caps are the
3532 same! Make sure we don't blindly proxy the buffer_alloc in this case.
3534 2007-05-03 Wim Taymans <wim@fluendo.com>
3536 * docs/libs/gstreamer-libs-sections.txt:
3537 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3538 (gst_base_src_default_query), (gst_base_src_get_range):
3539 * libs/gst/base/gstbasesrc.h:
3540 API: gst_base_src_query_latency(). Added method so that subclasses can
3541 easily get the latency values of the base source class.
3543 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
3545 * tools/gst-inspect.c (print_implementation_info):
3548 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
3550 * tools/Makefile.am:
3551 * tools/gst-launch.1.in:
3552 Don't create a customised man page based on the host architecture,
3553 describe the default registry path generically. That way the man
3554 page is the same for all architectures and packagers have one
3555 multilib issue less to deal with. Fixes #434926.
3557 2007-05-02 Wim Taymans <wim@fluendo.com>
3560 Fix documentation as spotted by rg on IRC.
3562 2007-04-29 Stefan Kost <ensonic@users.sf.net>
3565 Improve docs for gst_element_{link,unlink}.
3567 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
3569 * docs/design/part-events.txt:
3570 * docs/design/part-overview.txt:
3574 * libs/gst/base/gstbasesink.c:
3575 Typo fixes; minor docs addition.
3577 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3579 * docs/gst/gstreamer-sections.txt:
3580 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3581 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3583 API: Add gst_uri_protocol_is_supported(), which checks if a sink
3584 or src that supports a given URI protocol exists.
3586 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3588 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3589 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3590 Set the location to NULL if "file://" is set as URI. Otherwise
3591 some random previous URI would still be set if "file://" is
3592 set on an already used filesink/filesrc.
3594 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3596 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3597 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3598 Special case the "file://" URI as as this is used by some
3599 applications to test with gst_element_make_from_uri if there's
3600 an element that supports the URI protocol.
3601 Also move the g_path_is_absolute() check for the location part
3602 of the URI to also check this for "file://localhost/bla" URIs.
3604 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
3606 * docs/gst/gstreamer-sections.txt:
3607 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3609 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3611 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3613 2007-04-26 Stefan Kost <ensonic@users.sf.net>
3615 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3616 (gst_registry_binary_load_pad_template),
3617 (gst_registry_binary_load_plugin),
3618 (gst_registry_binary_read_cache):
3619 * gst/gstregistrybinary.h:
3620 Implement no-mmap alternative for registry reading. Do code cleanups.
3621 Add more comments about avoiding strdups for all text data. Comments
3624 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3626 * gst/gstregistrybinary.h (GstBinaryPluginElement,
3627 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3628 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3629 Comment structs and reformat to fix the build (that stuff should go
3630 into a priv. header).
3632 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3634 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3635 (gst_registry_binary_load_feature):
3636 * gst/gstregistrybinary.h:
3637 Refactor so that we can implement multiple features. Add support for
3638 TypeFindFactory features.
3640 2007-04-24 Stefan Kost <ensonic@users.sf.net>
3642 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3645 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3647 2007-04-23 Stefan Kost <ensonic@users.sf.net>
3649 * gst/gstbin.c: (gst_bin_element_set_state),
3650 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3651 (bin_handle_async_done), (gst_bin_handle_message_func):
3652 Fix build with --gst-disable-gst-debug
3654 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
3656 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3657 Make sure streaming has finished before calling the ::stop() vfunc,
3658 since that vfunc might clear state which is being used in the
3659 streaming thread. This fixes a race that caused crashes in
3660 audioresample when shutting down a pipeline (#420106).
3662 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3664 * docs/gst/gstreamer-sections.txt:
3665 That was one byte missing.
3667 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3670 * docs/gst/gstreamer-sections.txt:
3672 * gst/gstconfig.h.in:
3673 * gst/gstobject.c: (gst_object_class_init),
3674 (gst_signal_object_class_init):
3676 2nd attempt to have a xml-less build as a joined effort of #413123
3679 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3681 * docs/design/draft-tagreading.txt:
3682 Added open issues/thoughts to draft.
3684 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3686 * gst/parse/grammar.tab.pre.c:
3687 * gst/parse/grammar.tab.pre.h:
3688 * gst/parse/lex._gst_parse_yy.pre.c:
3689 Update the prebuild parser sources.
3691 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3693 * gst/parse/Makefile.am:
3694 And now fix the building of the flex sources. Now everything should
3697 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3699 * gst/parse/Makefile.am:
3700 Now hopefully fix the build failures by setting proper rule
3701 dependencies and moving instead of copying.
3703 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3705 * tests/benchmarks/complexity.gnuplot:
3706 * tests/benchmarks/complexity.scm:
3707 * tests/benchmarks/mass-elements.gnuplot:
3708 * tests/benchmarks/mass-elements.scm:
3709 Total licensification.
3711 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3713 * gst/parse/Makefile.am:
3714 Fix the build by correcting the rule that gave wrong files to flex.
3716 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3718 * tests/benchmarks/complexity.c:
3719 * tests/benchmarks/mass-elements.c:
3720 Change licence to LGPL as granted by Benjamin and Andy.
3722 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3724 * gst/parse/Makefile.am:
3725 Add correct grammar.tab.h dependency if compiling without new enough
3726 flex. Fixes #431150.
3728 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3730 * gst/parse/Makefile.am:
3731 Fix typo and use outdated sources if the flex/bison sources are newer
3732 than the pregenerated ones but flex is too old. Print a warning in
3733 that case. This should fix the build on the build bot.
3735 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3737 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3738 * gst/parse/Makefile.am:
3739 * gst/parse/grammar.y:
3740 * gst/parse/parse.l:
3741 Make the parser reentrant and recursively callable. This requires flex
3742 >= 2.5.31, for older versions pregenerated sources are used as we
3743 can't bump the build dependency. Finally fixes #349180.
3745 * gst/gstparse.c: (gst_parse_launch):
3746 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3749 * docs/gst/Makefile.am:
3750 * docs/gst/Makefile.am:
3751 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3752 (__gst_parse_strfree), (__gst_parse_link_new),
3753 (__gst_parse_link_free), (__gst_parse_chain_new),
3754 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3755 (gst_parse_element_set), (gst_parse_free_link),
3756 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3757 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3758 (_gst_parse_launch):
3759 * gst/parse/grammar.tab.pre.h:
3760 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3761 (yy_get_previous_state), (yy_try_NUL_trans), (input),
3762 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3763 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3764 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3765 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3766 (_gst_parse_yypop_buffer_state),
3767 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3768 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3769 (yy_fatal_error), (_gst_parse_yyget_extra),
3770 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3771 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3772 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3773 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3774 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3775 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3776 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3777 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3778 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3779 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3780 (_gst_parse_yyfree):
3781 If the installed flex version is too old use pre-generated parser
3782 sources. These pre-generated parser sources are always updated when
3783 the actual flex/bison sources change but require everybody who wants
3784 to change something in the parser to have flex >= 2.5.31 installed.
3786 2007-04-18 Stefan Kost <ensonic@users.sf.net>
3788 * common/m4/gst-gettext.m4:
3789 * gst/gst-i18n-lib.h:
3790 Make --disable-nls to work
3792 2007-04-17 Wim Taymans <wim@fluendo.com>
3794 * gst/gstconfig.h.in:
3795 Revert previous change that broke the build.
3797 2007-04-17 Stefan Kost <ensonic@users.sf.net>
3801 * gst/gstconfig.h.in:
3802 Drop libxml2 dependency when building with
3803 --enable-binary-registry --disable-loadsave
3805 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
3807 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3808 (gst_registry_binary_read_cache):
3809 * gst/gstregistrybinary.h:
3810 Remove unnecessary <sys/mman.h> include which broke the win32 build
3811 with MingW; move includes from header file to .c file, even if the
3812 header file isn't installed; use g_strerror() where UTF-8 strings
3813 are expected, such as in GST_DEBUG messages.
3815 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3817 * docs/libs/gstreamer-libs-sections.txt:
3818 Remove bogus addition for API I didn't end up keeping.
3820 * libs/gst/base/gstbasesrc.h:
3821 Mention Since: 0.10.13 in the documentation.
3823 Add the API keyword to the previous ChangeLog entry.
3825 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3827 * docs/libs/gstreamer-libs-sections.txt:
3828 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3829 (gst_base_src_default_prepare_seek_segment),
3830 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3831 * libs/gst/base/gstbasesrc.h:
3832 Allow basesrc derived classes to execute seeks in other formats
3833 by providing a prepare_seek_segment vmethod. Sub-classes can choose
3834 to prepare the GstSegment in any format that their perform_seek method
3835 will be able to understand. The default implementation provides the
3836 old behaviour of attempting to convert the seek offsets to the
3837 configured native format.
3839 API: basesrc::prepare_seek_segment vmethod.
3841 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3843 * gst/gstelement.c: (gst_element_get_state_func):
3844 Don't output the same debug statement twice.
3846 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3847 (gst_adapter_peek), (gst_adapter_take_buffer):
3848 Optimise the case where we have buffers at the head of the queue that
3849 can be joined quickly (because they're contiguous sub-buffers) by
3850 merging them together rather than copying data out into new memory.
3852 * gst/parse/grammar.y:
3853 * tests/check/pipelines/parse-launch.c:
3854 Fix a leak in an error path for parse_launch, and add a check
3855 for it to the testsuite.
3857 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3859 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3860 Don't deadlock when releasing a pad - gst_pad_set_active may try
3861 and take the multiqueue lock too.
3863 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
3865 * gst/gsterror.c: (_gst_core_errors_init):
3867 API: add GST_CORE_ERROR_DISABLED (#392804).
3869 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3871 * docs/faq/gst-uninstalled:
3872 don't get empty paths on the PATH variables
3873 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3874 Don't format for the uncommon terminal width of 84 characters.
3876 2007-04-06 Wim Taymans <wim@fluendo.com>
3878 * gst/gstpipeline.c: (reset_stream_time),
3879 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3880 Only try to select a different pipeline clock when we went back to
3881 PAUSED and not when we merely got flushed.
3883 2007-04-05 Michael Smith <msmith@fluendo.com>
3885 * tools/gst-launch.1.in:
3886 fractions are better supported in gstreamer than ractions, so
3887 suggest using those.
3889 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
3891 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3895 Added Danish translation.
3897 2007-04-05 Wim Taymans <wim@fluendo.com>
3899 * libs/gst/base/gstbasesink.c:
3900 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3901 Fix leak caused when refusing newsegment after EOS.
3903 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3904 (gst_fake_sink_init), (gst_fake_sink_set_property),
3905 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3906 (gst_fake_sink_render), (gst_fake_sink_change_state):
3907 * plugins/elements/gstfakesink.h:
3908 Add num-buffers property to make the element generate EOS after a
3909 configurable amount of buffers.
3910 API: fakesink::num-buffers property.
3912 * tests/check/elements/fakesink.c: (GST_START_TEST),
3914 Fix GstBus leak in test.
3915 Test for fakesink num-buffers.
3917 2007-04-05 Wim Taymans <wim@fluendo.com>
3919 * libs/gst/base/gstbasesink.c:
3920 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3921 (gst_base_sink_change_state):
3922 Don't accept anything after an EOS, return UNEXPECTED instead.
3924 * tests/check/elements/fakesink.c: (GST_START_TEST),
3926 Unit test for new EOS behaviour.
3928 2007-04-05 Wim Taymans <wim@fluendo.com>
3930 * gst/gstelement.c: (gst_element_get_request_pad):
3931 Make padtemplates also work when they don't contain %s or %d.
3933 2007-04-05 Wim Taymans <wim@fluendo.com>
3935 * docs/gst/gstreamer-sections.txt:
3936 * gst/gstclock.c: (gst_clock_adjust_unlocked),
3937 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3939 Improve _adjust_unlocked() so that it overflows less.
3940 Add gst_clock_unadjust_unlocked to convert from external time to
3941 internal time based on calibration.
3942 Add some more debug.
3943 API: GstClock::gst_clock_unadjust_unlocked()
3945 2007-04-03 Wim Taymans <wim@fluendo.com>
3947 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3949 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3950 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3951 when releasing sink pad. Fixes #425400.
3953 2007-04-02 Stefan Kost <ensonic@users.sf.net>
3955 * docs/random/ensonic/dynlink.txt:
3956 More work on proposal for new core api.
3958 * docs/libs/gstreamer-libs-sections.txt:
3959 * libs/gst/base/gstbasetransform.h:
3960 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3962 * libs/gst/controller/gstcontroller.c:
3963 (on_object_controlled_property_changed),
3964 (gst_controller_sync_values),
3965 (gst_controller_set_interpolation_mode):
3966 * libs/gst/controller/gstcontroller.h:
3967 Less verbose logging add docs for unimplemented parts and correctly
3968 return when using unavailable parts.
3970 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3972 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3973 Move all the debug to the CLOCK category, and associate it with
3976 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3978 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3979 Make take_buffer a bit quicker by removing redundant checks
3980 caused by calling gst_adapter_take.
3982 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3984 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3987 * tests/check/Makefile.am:
3988 * tests/check/elements/.cvsignore:
3989 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3990 (GST_START_TEST), (multiqueue_suite):
3991 Add some dead simple unit tests for the 'multiqueue' element
3992 (some bits don't work yet and are disabled for now).
3994 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3996 * gst/gstelement.c: (gst_element_get_request_pad),
3997 (gst_element_class_get_request_pad_template):
3998 Make gst_element_get_request_pad() create request pads only for
3999 request pad templates and not for, say, sometimes pad templates.
4001 2007-03-28 Stefan Kost <ensonic@users.sf.net>
4003 * docs/design/draft-klass.txt:
4004 Add example that needs more thinking.
4006 * docs/design/draft-missing-plugins.txt:
4007 More thoughts about wrapper plugins.
4009 * docs/random/ensonic/embedded.txt:
4010 * docs/random/ensonic/profiling.txt:
4013 2007-03-25 Wim Taymans <wim@fluendo.com>
4015 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
4016 (gst_base_src_loop):
4017 Only push the segment events in the PLAYING state for live sources.
4019 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
4021 * gst/gstpipeline.c: (gst_pipeline_change_state):
4022 Modify the clock distribution path in PAUSED->PLAYING so that we
4023 never attempt to choose a new clock unless we're actually leaving
4024 the PAUSED state for the first time. This prevents choosing a
4025 different clock when the state_change gets called for a 2nd time due
4026 to some element doing an async state change.
4028 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4030 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
4031 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
4032 (gst_pad_chain_unchecked), (gst_pad_push):
4033 Revert last commit. This needs some more thoughts.
4035 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4037 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
4038 (gst_pad_chain_unchecked), (gst_pad_push):
4039 Check in set_caps if the caps are compatible with the pad and remove
4040 two functions that are redundant now. Fixes #421543.
4042 2007-03-22 Wim Taymans <wim@fluendo.com>
4044 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4045 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
4046 Unref some more to make valgrind happy.
4048 2007-03-22 Wim Taymans <wim@fluendo.com>
4050 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
4051 (gst_system_clock_id_wait_jitter),
4052 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
4053 Fix anoying regression that survived a few releases. When adding an
4054 async entry while blocking on a sync entry, the sync entry will unblock
4055 but still be busy, so it should continue to wait instead of returning
4057 Add some comments here and there.
4059 * tests/check/gst/gstsystemclock.c: (mixed_thread),
4060 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
4061 Add testcase for this.
4063 2007-03-22 Wim Taymans <wim@fluendo.com>
4065 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4066 Handle errors from the clock sync better, only UNSCHEDULED indicates a
4067 WRONG_STATE and can silently pause the task. All other cases should
4070 2007-03-22 Wim Taymans <wim@fluendo.com>
4072 Patch by: Ville Syrjala <syrjala at sci dot fi>
4074 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
4075 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
4078 2007-03-21 Michael Smith <msmith@fluendo.com>
4080 * docs/pwg/advanced-types.xml:
4081 Fix some errors in the typefinding docs pointed out on irc.
4083 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
4085 * libs/gst/base/gstbasesrc.c:
4086 Clarify FIXME comment in the face of having added unlock_stop()
4088 2007-03-21 Wim Taymans <wim@fluendo.com>
4090 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
4091 Prepare for release where we warn against possible app breakage in the
4092 case of live pipelines along with an env var to enable/disable live
4093 preroll mode (GST_COMPAT=[no-]live-preroll).
4095 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4097 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
4098 So we should use correct constants for checking for None offset.
4100 2007-03-20 Wim Taymans <wim@fluendo.com>
4102 * docs/design/part-block.txt:
4103 Mention the fact that the newly switched element should be set to at
4106 2007-03-20 Wim Taymans <wim@fluendo.com>
4109 Fix compilation with registry disabled as spotted by Saur.
4111 2007-03-20 Wim Taymans <wim@fluendo.com>
4113 Patch by: Olivier Crete <tester at tester dot ca>
4115 * gst/gstelement.c: (gst_element_sync_state_with_parent):
4116 Look at the pending state too when syncing the element state to the
4117 parent. Fixes #420133.
4119 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
4121 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
4122 (gst_base_sink_change_state):
4123 * libs/gst/base/gstbasesink.h:
4124 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4125 (gst_base_src_default_event), (gst_base_src_unlock_stop),
4126 (gst_base_src_deactivate):
4127 * libs/gst/base/gstbasesrc.h:
4128 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
4129 for sub-classes to correctly clear any state they set trying to
4130 unlock, such as clearing out unlock commands from a command fd.
4131 API: basesrc::unlock_stop
4132 API: basesink::unlock_stop
4134 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
4135 (gst_fd_sink_render), (gst_fd_sink_unlock),
4136 (gst_fd_sink_unlock_stop):
4137 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
4138 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
4139 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
4141 Implement unlock_stop in fdsrc and fdsink.
4142 Implement seeking in fdsrc when a seekable fd is passed, as in
4143 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
4145 2007-03-19 Wim Taymans <wim@fluendo.com>
4147 Patch by: Evan Nemerson <evan at coeus dash group dot com>
4149 * gst/gstelement.c: (gst_element_class_init):
4150 Fix pad-added and pad-removed signal signatures so that the pad type is
4151 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
4153 2007-03-19 Wim Taymans <wim@fluendo.com>
4155 * docs/gst/gstreamer-sections.txt:
4156 Add new element field and method.
4158 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4159 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
4160 (gst_bin_recalc_state), (gst_bin_get_state_func),
4161 (gst_bin_element_set_state), (gst_bin_change_state_func),
4162 (gst_bin_continue_func), (bin_bus_handler),
4163 (bin_push_state_continue), (bin_handle_async_start),
4164 (bin_handle_async_done), (gst_bin_handle_message_func):
4165 Make async state changes a bit smarter by using new ASYNC_START and
4166 ASYNC_DONE messages. This reduces the number of times we run the state
4167 recalculation thread.
4168 Don't change state of element with a pending ASYNC_START message.
4169 Deprecate STATE_DIRTY messages.
4171 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
4172 (gst_element_get_state_func), (gst_element_continue_state),
4173 (gst_element_lost_state), (gst_element_set_state_func),
4174 (gst_element_change_state):
4176 Keep the state that was last set by the app in a new element field.
4177 Don't allow state changes when handling an element event.
4178 Post ASYNC_START and ASYNC_DONE messages.
4179 Change lost_state so that we go to PAUSED and wait for the parent to set
4180 us to PLAYING again (so latency calculation can be performed)
4181 Export gst_element_change_state() method so that subclasses can use it.
4182 API: gst_element_change_state()
4183 API: GST_STATE_TARGET
4185 * gst/gstpipeline.c: (gst_pipeline_class_init),
4186 (reset_stream_time), (gst_pipeline_change_state),
4187 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
4188 Using the new ASYNC_START message we can reset the base_time when
4189 needed. This can then be used to implement base_time redistribution in
4190 flushing seeks so that we can remove the explicit seek handling.
4191 Perform latency query and configuration when going to PLAYING.
4193 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4194 (gst_base_sink_query), (gst_base_sink_change_state):
4195 Post new ASYNC_START/ASYNC_DONE messages.
4197 * tests/check/generic/sinks.c: (GST_START_TEST):
4198 Fix test because the bin will not set the async element to PLAYING right
4201 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4202 Make the message check a little stronger.
4203 Handle ASYNC messages.
4205 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4206 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4207 Expect ASYNC_DONE messages.
4209 2007-03-19 Wim Taymans <wim@fluendo.com>
4211 * docs/gst/gstreamer-sections.txt:
4212 * gst/gstmessage.c: (gst_message_new_async_start),
4213 (gst_message_new_async_done), (gst_message_parse_info),
4214 (gst_message_parse_async_start):
4216 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4219 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
4221 * tools/gst-inspect.c:
4222 (print_plugin_automatic_install_info_codecs):
4223 Now that we don't check for the 'Codec' keyword any longer in the
4224 klass, we shouldn't spew a warning if the klass isn't a decoder or
4225 encoder (since it might be a Source/Network, for example).
4227 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
4229 * tools/gst-inspect.c:
4230 (print_plugin_automatic_install_info_codecs):
4231 Don't require decoder/demuxer/depayloader elements or
4232 encoder/muxer/paylader elements to have 'Codec' as part of their
4233 factory class string when introspecting a plugin's capabilities.
4234 draft-klass.txt mentions that it might be removed in future, and
4235 flump3dec doesn't have it as part of its class string, so chances
4236 are others might also not have it.
4238 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
4260 Update translations from translation project
4262 2007-03-14 Stefan Kost <ensonic@users.sf.net>
4264 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4265 (gst_child_proxy_set_property):
4266 Invert precondition check to be alike the ones in the mimiced gobject
4269 2007-03-13 Stefan Kost <ensonic@users.sf.net>
4271 * docs/design/draft-tagreading.txt:
4272 * docs/random/ensonic/audiobaseclasses.txt:
4273 Do some Architect work.
4275 * gst/gstobject.c: (gst_object_set_name):
4279 Add docs that point from gst_pad_get_range to gst_pad_pull_range
4281 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
4283 * gst/gstsystemclock.c: (gst_system_clock_init),
4284 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4285 Defer starting the async system clock thread until the first async
4286 wait is scheduled. Fixes #414986.
4288 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
4290 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4291 (gst_single_queue_free):
4292 Fix small leak (free GstSingleQueue structure too, not only contents).
4294 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
4296 * gst/gstbin.c:(gst_bin_add):
4297 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4298 * win32/common/libgstbase.def:
4299 * win32/common/libgstreamer.def:
4300 Add new exported functions.
4302 2007-03-09 Wim Taymans <wim@fluendo.com>
4304 * docs/plugins/gstreamer-plugins-sections.txt:
4307 2007-03-09 Wim Taymans <wim@fluendo.com>
4309 * docs/gst/gstreamer-sections.txt:
4310 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4312 Add metadata copy functions. Fixes #393099.
4313 API: gst_buffer_copy_metadata()
4315 * gst/gstutils.c: (gst_buffer_stamp):
4316 * libs/gst/base/gstbasetransform.c:
4317 (gst_base_transform_prepare_output_buffer):
4318 Use new metadata copy functions.
4320 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
4322 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4323 (gst_identity_init), (gst_identity_check_perfect),
4324 (gst_identity_check_imperfect_timestamp),
4325 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4326 (gst_identity_set_property), (gst_identity_get_property):
4327 * plugins/elements/gstidentity.h:
4328 Separate out check-imperfect-timestamp and check-imperfect-offset.
4329 Put back check-perfect as it was to keep compatibility.
4331 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
4333 * gst/gstelement.c: (gst_element_dispose):
4334 There's no need to warn if VOID_PENDING is not NONE here, as
4335 long as the state is NULL it's ok, and that's checked immediately
4338 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4340 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4341 Fix check for perfect stream to ignore buffers with -1
4342 offsets/offset ends when checking data contiguity.
4344 2007-03-08 Wim Taymans <wim@fluendo.com>
4346 * tools/gst-launch.c: (event_loop):
4347 Print INFO messages.
4349 2007-03-08 Wim Taymans <wim@fluendo.com>
4351 * libs/gst/base/gstbasetransform.c:
4352 (gst_base_transform_sink_eventfunc),
4353 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4354 (gst_base_transform_activate):
4355 * libs/gst/base/gstbasetransform.h:
4356 Add support for dropping buffers with custom GstFlowReturn.
4357 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4358 buffers or dropped buffers.
4360 * docs/libs/gstreamer-libs-sections.txt:
4361 docs for new custom return code.
4363 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4364 Use drop support in base class to implement drop-probability.
4366 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
4368 * gst/gst.c: (load_plugin_func):
4369 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4370 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4371 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4372 Remove newlines at end of debug log strings.
4374 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4376 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4377 Only post bus message at max, once per buffer received.
4379 2007-03-07 Wim Taymans <wim@fluendo.com>
4381 * docs/design/Makefile.am:
4382 * docs/design/part-synchronisation.txt:
4383 Add doc about synchronisation
4385 * docs/design/draft-latency.txt:
4386 * docs/design/part-TODO.txt:
4387 * docs/design/part-clocks.txt:
4388 * docs/design/part-events.txt:
4389 * docs/design/part-gstbus.txt:
4390 * docs/design/part-gstpipeline.txt:
4391 * docs/design/part-live-source.txt:
4392 * docs/design/part-messages.txt:
4393 * docs/design/part-overview.txt:
4394 * docs/design/part-streams.txt:
4395 * docs/design/part-trickmodes.txt:
4396 Documentation updates.
4398 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4401 Update the doap file.
4403 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4405 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4406 Rename non-perfect to imperfect for Mike and for the sanctity of the
4408 Also make sure bus message gets emitted for data-incontiguities.
4410 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4412 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4413 (gst_identity_start):
4414 * plugins/elements/gstidentity.h:
4415 Emit bus message if check-perfect is true and we encounter a
4416 non-perfect stream between 2 consecutive buffers.
4419 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4424 === release 0.10.12 ===
4426 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4429 releasing 0.10.12, "Inevitable Demise"
4431 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
4434 Version 0.10.11.2 (0.10.12 pre-release)
4435 Bump libtool versioning.
4437 2007-03-01 Stefan Kost <ensonic@users.sf.net>
4439 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4440 Log flow-names and not numbers.
4442 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4445 Convert to new AG_GST style.
4447 2007-02-28 Wim Taymans <wim@fluendo.com>
4449 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4450 Don't unref query twice.
4452 2007-02-28 Wim Taymans <wim@fluendo.com>
4454 * gst/gstvalue.c: (gst_value_transform_object_string),
4455 (_gst_value_initialize):
4456 Implement GstObject -> string transform so we print object names
4457 when serializing GValues containing GstObjects.
4459 2007-02-28 Wim Taymans <wim@fluendo.com>
4461 * docs/gst/gstreamer-sections.txt:
4462 Add new stuff to docs.
4464 2007-02-28 Wim Taymans <wim@fluendo.com>
4466 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4467 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4468 (gst_base_sink_change_state):
4469 Improve latency query code.
4470 Don't leak latency events.
4472 * tests/check/gst/gstbin.c: (GST_START_TEST):
4475 2007-02-28 Wim Taymans <wim@fluendo.com>
4477 * gst/gstelement.c: (gst_element_message_full),
4478 (gst_element_get_state_func):
4480 Improve docs a little. Added Since: for new macro.
4482 * gst/gstobject.c: (gst_object_sink):
4483 * gst/gstpipeline.c: (gst_pipeline_change_state),
4484 (gst_pipeline_set_new_stream_time):
4485 * gst/gstpipeline.h:
4486 Improve debugging and docs.
4488 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4491 2007-02-28 Wim Taymans <wim@fluendo.com>
4493 * gst/gstelement.c: (gst_element_message_full),
4494 (gst_element_set_locked_state), (gst_element_get_state_func),
4495 (gst_element_change_state):
4496 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4497 Documentation updates.
4498 Small code cleanups.
4500 * gst/gstmessage.c: (gst_message_new_info),
4501 (gst_message_parse_info):
4503 API: gst_message_new_info()
4504 API: gst_message_parse_info()
4505 Add INFO message create and parse code.
4507 2007-02-28 Wim Taymans <wim@fluendo.com>
4509 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4510 (bin_query_latency_done):
4511 Also report the live parameter of a latency query.
4513 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4515 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4516 Copy the current generic/states example from -base and adapt so
4517 we can use the exact same code everywhere.
4518 Check a STATES_IGNORE_ELEMENTS env var which can be used
4519 to ignore certain element factories for this test, which is
4520 what is being done in -base
4521 * tests/check/Makefile.am:
4522 Mention this environment variable.
4524 2007-02-27 Wim Taymans <wim@fluendo.com>
4526 * docs/gst/gstreamer-sections.txt:
4527 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4528 (gst_bus_timed_pop), (gst_bus_pop):
4530 API: gst_bus_timed_pop()
4531 Implement gst_bus_timed_pop() to do a blocking timed wait for a
4532 message to arrive on the bus.
4534 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4536 Two unit tests for new _timed_pop() function.
4538 2007-02-23 Wim Taymans <wim@fluendo.com>
4540 * gst/gstpipeline.c: (gst_pipeline_change_state),
4541 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4542 Don't ref a NULL clock in _provide_clock_func().
4543 Don't allow an INVALID delay.
4544 Don't try to calculate base_time with an invalid start_time.
4545 Also distribute and notify a NULL clock when it was selected.
4547 * tools/gst-launch.c: (event_loop):
4548 Don't crash when a NULL clock was selected in the pipeline.
4550 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
4552 * docs/design/Makefile.am:
4553 * docs/design/draft-missing-plugins.txt:
4554 * docs/random/draft-missing-plugins.txt:
4555 Some small updates: update plugin system identifier prefix
4556 ('gstreamer.net' to 'gstreamer'), mention our new install
4557 API in libgstbaseutils rather than libgimme-codec, add
4558 reference to the online docs.
4560 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4562 * win32/common/config.h:
4563 Pretty sure Bill never made a powerpc version. Powerpc hackers,
4564 use moap cl ci to only check in what is mentioned in the ChangeLog.
4566 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4568 * docs/gst/gstreamer-sections.txt:
4570 Fix up documentation to link to the correct GstGError section.
4571 Add GST_ELEMENT_INFO macro since someone else added a Info message.
4573 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4575 * tools/gst-launch.c: (event_loop):
4576 Make sure that we actually show the important message part of a
4578 No need to check if the gerror is not NULL to free; first of all
4579 g_free accepts NULL; and second the default error handler would
4580 segfault if gerror was NULL.
4582 2007-02-21 Wim Taymans <wim@fluendo.com>
4584 * docs/gst/gstreamer-sections.txt:
4585 Removed docs as well.
4587 2007-02-21 Wim Taymans <wim@fluendo.com>
4589 * gst/gstmessage.c: (gst_message_parse_duration):
4591 Remove new messages for release.
4593 2007-02-20 Wim Taymans <wim@fluendo.com>
4595 * docs/design/part-gstghostpad.txt:
4596 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4597 (gst_ghost_pad_new_full):
4598 Make the ghostpad a parent of the internal pad again for better backward
4599 compatibility. Don't write code that relies on this however.
4601 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4602 (gst_pad_link_check_hierarchy):
4603 Require that parents should be GstElements in the hierarchy check.
4605 2007-02-20 Wim Taymans <wim@fluendo.com>
4607 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4608 (gst_bin_change_state_func), (bin_query_min_max_init),
4609 (bin_query_latency_fold), (bin_query_latency_done),
4612 Implement latency query.
4614 2007-02-20 Wim Taymans <wim@fluendo.com>
4616 * docs/design/part-gstghostpad.txt:
4617 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4618 (gst_ghost_pad_internal_do_activate_push),
4619 (gst_ghost_pad_internal_do_activate_pull),
4620 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4621 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4622 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4623 Do not set the internal pad as a parent anymore so we can avoid
4624 hierarchy linking errors when the ghostpad has no parent yet. This also
4625 fixes failed activation because of unlinked internal pads, which in
4626 turn fixes the impossible case where you have to activate a pad before
4627 you can add it to a running element.
4630 * gst/gstpad.c: (pre_activate), (post_activate),
4631 (gst_pad_set_active), (gst_pad_activate_pull),
4632 (gst_pad_activate_push), (gst_pad_check_pull_range):
4633 Add some more debug info.
4634 Mark activation mode in pre_activate so that we don't try to activate in
4635 endless loops. Fixes #385084.
4637 2007-02-19 Wim Taymans <wim@fluendo.com>
4639 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4640 (gst_base_transform_check_get_range):
4641 Implement a checkgetrange function instead of relying on the default
4642 core behaviour that assumes we can operate in pull mode if we have a
4643 getrange function. First step at fixing #385084.
4645 2007-02-15 Stefan Kost <ensonic@users.sf.net>
4647 * gst/gstchildproxy.h:
4648 * libs/gst/base/gstbasesink.h:
4649 * libs/gst/base/gstbasesrc.h:
4650 * libs/gst/base/gstbasetransform.h:
4651 More docs coverage and some ChangeLog surgery (add missing names)
4653 2007-02-15 Wim Taymans <wim@fluendo.com>
4655 * docs/design/part-TODO.txt:
4656 * docs/design/part-activation.txt:
4657 * docs/design/part-block.txt:
4658 * docs/design/part-buffering.txt:
4659 * docs/design/part-clocks.txt:
4660 * docs/design/part-element-source.txt:
4661 * docs/design/part-events.txt:
4662 * docs/design/part-gstbin.txt:
4663 * docs/design/part-gstbus.txt:
4664 * docs/design/part-gstpipeline.txt:
4665 * docs/design/part-live-source.txt:
4666 * docs/design/part-messages.txt:
4667 * docs/design/part-overview.txt:
4668 * docs/design/part-qos.txt:
4669 * docs/design/part-query.txt:
4670 * docs/design/part-states.txt:
4671 * docs/design/part-trickmodes.txt:
4672 Some doc updates. Start renaming from stream_time to running_time where
4673 it was used wrongly.
4675 2007-02-15 Wim Taymans <wim@fluendo.com>
4677 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4678 Answer LATENCY query.
4680 2007-02-15 Wim Taymans <wim@fluendo.com>
4682 * tests/check/gst/gstevent.c: (event_probe), (test_event),
4686 2007-02-15 Wim Taymans <wim@fluendo.com>
4688 * gst/gstpad.c: (gst_pad_get_internal_links_default),
4689 (gst_pad_dispatcher):
4690 Improve debugging of default pad dispatcher and query functions.
4692 2007-02-15 Wim Taymans <wim@fluendo.com>
4694 * docs/gst/gstreamer-sections.txt:
4695 Remove old unused method.
4697 2007-02-13 Wim Taymans <wim@fluendo.com>
4699 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4702 2007-02-13 Wim Taymans <wim@fluendo.com>
4704 * docs/design/part-seeking.txt:
4707 * gst/gstsegment.c: (gst_segment_set_seek):
4708 Revert old bogus change that should make seeking work again.
4710 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4712 * docs/random/ensonic/dynlink.txt:
4713 * docs/random/ensonic/interfaces.txt:
4714 * docs/random/ensonic/receipies.txt:
4715 Possible dynamic reconnection api, plus some type fixes the other two
4718 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
4720 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4721 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4722 Also check for an absolute path following file:// in the filesrc
4723 element. Remove redundant check and call g_path_is_absolute() on the
4726 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4728 * docs/design/draft-klass.txt:
4729 Add existing category analysis.
4732 Fix doc example, framerate is a fraction.
4734 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4737 * docs/gst/Makefile.am:
4738 * docs/gst/gstreamer-sections.txt:
4739 * docs/libs/Makefile.am:
4740 Erm, forgot a bunch of --extra-dir.
4742 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4745 * docs/gst/Makefile.am:
4746 * docs/libs/Makefile.am:
4747 * docs/plugins/Makefile.am:
4748 Add crossreferences to glib/gobject docs.
4750 2007-02-12 Wim Taymans <wim@fluendo.com>
4752 * docs/design/draft-latency.txt:
4755 * docs/libs/gstreamer-libs-sections.txt:
4756 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4757 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4758 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4759 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4760 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4761 (gst_base_sink_get_position), (gst_base_sink_query),
4762 (gst_base_sink_change_state):
4763 * libs/gst/base/gstbasesink.h:
4764 API: gst_base_sink_query_latency() to let subclasses query the upstream
4766 API: gst_base_sink_get_latency() to let subclasses query the configured
4767 latency in the sink.
4768 Implement query and set latency.
4770 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4771 don't continue preroll when we are flushing. Fixes #405284.
4773 * tests/check/pipelines/stress.c: (change_state_timeout),
4774 (quit_timeout), (GST_START_TEST), (stress_suite):
4777 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
4779 Patch by: René Stadler <mail at renestadler de>
4781 * docs/gst/gstreamer-sections.txt:
4782 * gst/gsttaglist.c: (_gst_tag_initialize):
4784 API: add GST_TAG_REFERENCE_LEVEL (#403597).
4786 2007-02-11 Stefan Kost <ensonic@users.sf.net>
4788 * docs/libs/Makefile.am:
4789 Fix path to core docs.
4791 * gst/gstbin.c: (gst_bin_get_by_interface),
4792 (gst_bin_iterate_all_by_interface):
4793 Refix docs by also renaming 'interface' to 'iface' in implementation.
4795 * docs/gst/gstreamer-sections.txt:
4797 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4798 * gst/gstchildproxy.h:
4799 * gst/gstelementfactory.c:
4800 * gst/gstpadtemplate.h:
4801 * libs/gst/controller/gstcontroller.c:
4802 (gst_controlled_property_new):
4805 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
4807 * gst/gstbin.h:(gst_bin_get_by_interface),
4808 (gst_bin_iterate_all_by_interface):
4809 Replace interface parameter name by iface as interface is
4810 a reserved keyword in Visual Studio for C++ projects so it removes
4811 a build error for application developpers using VS.
4812 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4813 Fix a bug on Windows in uri format check. Now the prefix checked
4814 is file:// and next we check if the path after file:// is absolute.
4815 * win32/common/libgstbase.def:
4816 * win32/common/libgstdataprotocol.def:
4817 * win32/common/libgstgstreamer.def:
4818 Add new exported functions.
4820 2007-02-09 Andy Wingo <wingo@pobox.com>
4822 * tests/check/pipelines/simple-launch-lines.c
4823 (simple_launch_lines_suite, test_tee): Disable tee test until I
4824 have time to fix it :-(
4826 * tests/check/Makefile.am (noinst_HEADERS):
4827 * tests/check/libs/libsabi.c:
4828 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4829 * tests/check/gst/gstabi.c:
4830 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4832 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4833 tests for push and pull tee behavior.
4835 * plugins/elements/gsttee.h:
4836 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4837 mark as deprecated as well as unimplemented. It was a crack idea.
4838 Add support for tee operating in pull mode, off by default.
4840 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4841 normal-case logs down to LOG, raise errors to WARNING.
4842 (gst_registry_xml_read_cache): Don't log before calling a function
4845 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4846 exit (registry finalize).
4847 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4848 DEBUG log when we emit signals that people don't even have the
4849 chance to connect to.
4850 (gst_registry_scan_path_level): Less logging in the normal case.
4852 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4854 Patch by: Michal Benes <michal dot benes at itonis dot tv>
4856 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4857 Correctly generate EOS for non-seekable files. We don't have a total
4858 length for them and would get an unexpected end of file if we only
4859 special-cased for regular files. (Fixes: #404569)
4861 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4863 * tests/check/elements/filesrc.c: (GST_START_TEST),
4865 Add unit test for the GstURIHandler interface in filesrc. This also
4866 tests the newly added file://localhost/foo/bar support.
4868 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
4870 * gst/gstelementfactory.h:
4871 The klass string is not a hierarchy. Add reference to the design doc
4872 for more information and common types.
4874 2007-02-02 Wim Taymans <wim@fluendo.com>
4876 * gst/gstquery.c: (gst_query_new_latency):
4877 Remove old structure field.
4879 2007-02-02 Stefan Kost <ensonic@users.sf.net>
4881 * tools/gst-launch.1.in:
4882 Give example for network streaming (#351998)
4884 2007-02-02 Wim Taymans <wim@fluendo.com>
4886 * docs/gst/gstreamer-sections.txt:
4887 Add docs for new methods.
4889 * gst/gstevent.c: (gst_event_new_latency),
4890 (gst_event_parse_latency):
4892 Add new LATENCY event to configure latency in a pipeline.
4893 API: gst_event_new_latency
4894 API: gst_event_parse_latency
4896 * gst/gstmessage.c: (gst_message_new_buffering),
4897 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4898 (gst_message_new_latency), (gst_message_parse_buffering),
4899 (gst_message_parse_lost_preroll):
4901 Added messages used in draft-latency.
4902 API: gst_message_new_lost_preroll
4903 API: gst_message_parse_lost_preroll
4904 API: gst_message_new_prerolled
4905 API: gst_message_new_latency
4907 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4908 (gst_query_parse_latency):
4910 Implemented new latency query as in design doc.
4911 API: gst_query_new_latency
4912 API: gst_query_set_latency
4913 API: gst_query_parse_latency
4915 2007-02-02 Wim Taymans <wim@fluendo.com>
4917 * docs/design/draft-latency.txt:
4918 Slight redesign to allow for dynamic latency adjustments.
4920 * docs/design/part-negotiation.txt:
4923 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4925 reviewed by: Wim Taymans <wim@fluendo.com>
4927 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4928 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4929 Allow file://localhost/foo/bar URLs and correctly fail for every other
4930 hostname that one sets. This was gnomevfssrc is linked for those if
4931 installed as it can handle it (#403172)
4933 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4935 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4937 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4938 (unref_data), (gst_collect_pads_add_pad_full):
4939 * libs/gst/base/gstcollectpads.h:
4940 Don't put the previously added destroy notify in the GstCollectData
4941 struct as all it's padding is already used and we don't want to break
4942 ABI. Instead put in the pad's GObject data for now. This should be
4943 cleaned up for 0.11 (#402393).
4945 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4947 reviewed by: Wim Taymans <wim@fluendo.com>
4949 * docs/libs/gstreamer-libs-sections.txt:
4950 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4951 (unref_data), (gst_collect_pads_add_pad),
4952 (gst_collect_pads_add_pad_full):
4953 * libs/gst/base/gstcollectpads.h:
4954 API: Add function to specify a destroy notification for custom
4955 GstCollectData when adding new pads in GstCollectPads (#402393).
4957 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
4960 Update Swedish translation (#378255).
4962 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4964 * docs/design/draft-klass.txt:
4965 Fix the previous change, this is a list of categories and not a hierarchy.
4967 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4969 * docs/design/draft-klass.txt:
4970 Add info about how to get a list of used classes.
4972 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
4974 * plugins/elements/gsttypefindelement.c:
4975 (gst_type_find_element_chain_do_typefinding),
4976 (gst_type_find_element_change_state):
4977 Don't leak found caps in chain function (no idea why that never
4978 showed up as a leak anywhere).
4980 2007-01-30 Stefan Kost <ensonic@users.sf.net>
4983 Fix and expand GstPluginDesc API docs.
4985 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4988 * gst/gstelementfactory.c:
4989 * gst/gstpadtemplate.h:
4992 * libs/gst/controller/gstcontroller.c:
4993 (gst_controlled_property_new):
4994 * tests/examples/controller/audio-example.c:
4997 2007-01-29 Stefan Kost <ensonic@users.sf.net>
5000 comment about refining the xml deps
5003 comments about moving away from jade for docs
5006 recommit the ifdefs to use the binary registry
5008 * gst/gstbin.c: (gst_bin_change_state_func):
5009 this break is obsolete
5011 * gst/gstelementfactory.h:
5012 better GST_ELEMENT_DETAILS docs, add comment about translation
5017 * gst/gstobject.c: (gst_signal_object_get_type):
5018 add G_UNLIKELY as usual
5020 * gst/gstpad.c: (gst_pad_event_default):
5021 add fall trhu comment
5023 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5024 (gst_registry_binary_initialize_magic),
5025 (gst_registry_binary_save_string),
5026 (gst_registry_binary_save_pad_template),
5027 (gst_registry_binary_save_feature),
5028 (gst_registry_binary_save_plugin),
5029 (gst_registry_binary_write_cache),
5030 (gst_registry_binary_check_magic),
5031 (gst_registry_binary_load_pad_template),
5032 (gst_registry_binary_load_feature),
5033 (gst_registry_binary_load_plugin),
5034 (gst_registry_binary_read_cache):
5035 comment typo and formatting
5037 * gst/gstutils.c: (gst_element_state_get_name),
5038 (gst_element_state_change_return_get_name):
5039 remove obsolete breaks
5041 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
5042 add FIXME 0.11 and remove cpp comment
5044 2007-01-29 Edward Hervey <edward@fluendo.com>
5046 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5047 Fix print statement in an even more portable way.
5049 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
5051 * docs/gst/gstreamer-sections.txt:
5053 API: add GST_ROUND_DOWN_* macros (#401781).
5055 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
5057 * docs/gst/gstreamer.types.in:
5058 * gst/gstregistry.c: (gst_registry_class_init):
5059 Document registry signals and make gtk-doc pick them up (#401381).
5061 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
5063 * docs/pwg/building-testapp.xml:
5064 Add some audioconverts and audioresample to the pipeline, and some
5065 more comments and error handling.
5067 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
5069 * docs/manual/manual.xml:
5073 2007-01-26 Wim Taymans <wim@fluendo.com>
5075 * gst/gstcaps.c: (gst_static_caps_get):
5076 Init caps flags too.
5078 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
5080 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
5082 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5083 If not using mmap'ed files try to seek to the end instead of the
5084 start to determine whether we can seek at all. This fixes the case
5085 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
5086 seeks for everything afterwards fail. Fixes #400656
5088 2007-01-25 Wim Taymans <wim@fluendo.com>
5090 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
5091 Add some refcount debugging.
5092 Make gst_static_caps_get threadsafe, which is needed when autoplugging
5093 in multiple streaming threads.
5095 2007-01-25 Wim Taymans <wim@fluendo.com>
5097 Patch by: David Schleef <ds at schleef dot org>
5099 * docs/libs/gstreamer-libs-sections.txt:
5100 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
5101 * libs/gst/base/gstadapter.h:
5102 API: gst_adapter_copy() that can reduce the amount of memcpy when
5103 getting data from the adapter. Fixes #388201.
5105 2007-01-25 Edward Hervey <edward@fluendo.com>
5107 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5108 In print statements, "%x" is for guint. Fixes build on macosx.
5110 2007-01-24 Edward Hervey <edward@fluendo.com>
5112 * plugins/elements/gstmultiqueue.c:
5113 (gst_multi_queue_loop):
5115 (single_queue_overrun_cb), (single_queue_underrun_cb),
5116 (single_queue_check_full), (gst_single_queue_new):
5117 Implement single queue growth system.
5118 This uses the extra-size properties, and will grow single queues by
5119 that much if one goes full whereas there are others empty. This is
5120 called extra-mode in the code.
5121 When a single queue's levels go back below the initial max-size
5122 limits, it is no longer in extra-mode. This is to ensure we don't
5123 consume too much memory.
5126 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
5128 * gst/gst.c: (gst_init_get_option_group):
5129 Make warning about late g_thread_init() calls a bit more explicit,
5130 so that it's more obvious to application developers what they need
5131 to do if a user files a bug against their application.
5133 2007-01-22 Edward Hervey <edward@fluendo.com>
5135 * plugins/elements/gstmultiqueue.c:
5136 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
5137 Remove previous hack of unsetting the flushing flag for the source pad
5138 instead of activating it. Instead, fix the source pad activate function
5139 so that it no longer depends on having a parent set or not.
5141 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
5143 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
5145 * docs/manual/basics-bus.xml:
5146 Fix example code, gst_element_unref() doesn't exist any longer.
5148 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
5150 Patch by: Mark Nauwelaerts <manauw at skynet be>
5153 Fix two docs typoes (#399094).
5155 2007-01-19 Edward Hervey <edward@fluendo.com>
5157 * docs/faq/gst-uninstalled:
5158 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
5159 depending on libgstbaseutils can work in uninstalled environment.
5161 2007-01-18 Stefan Kost <ensonic@users.sf.net>
5164 * gst/gsttagsetter.c:
5165 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
5166 statement for new tag.
5168 2007-01-17 Edward Hervey <edward@fluendo.com>
5170 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
5171 When dynamically creating single queues, activate sinkpad before adding
5173 We should be doing the same thing for the source pad, but we can't
5174 since it would call a method which needs the parent to be set in order
5175 to work propertly. Instead of activating the source pad, we just unset
5176 the flushing flag, which is the minimal requirement for adding a pad
5177 to an element in a state greater than READY.
5179 2007-01-17 Edward Hervey <edward@fluendo.com>
5181 * docs/faq/gst-uninstalled:
5182 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
5185 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
5187 * tests/check/gst/gstabi.c:
5188 * tests/check/gst/struct_hppa.h:
5189 * tests/check/libs/libsabi.c:
5190 * tests/check/libs/struct_hppa.h:
5191 Add ABI structs for HPPA (see #393796).
5193 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
5195 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5196 Actually write ABI structs to the file specified in the GST_ABI
5197 environment variable, as the message we print claims we would.
5199 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5201 * tests/check/gst/gsttask.c:
5204 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5206 * gst/gsttaglist.c: (_gst_tag_initialize):
5207 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5208 previous two entries.
5210 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5212 * docs/gst/gstreamer-sections.txt:
5213 * gst/gsttaglist.c: (_gst_tag_initialize):
5215 Add tag support for beat-per-minute.
5217 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5219 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5220 (gst_registry_binary_initialize_magic),
5221 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5222 (gst_registry_binary_save_pad_template),
5223 (gst_registry_binary_save_feature),
5224 (gst_registry_binary_save_plugin),
5225 (gst_registry_binary_write_cache),
5226 (gst_registry_binary_check_magic),
5227 (gst_registry_binary_load_pad_template),
5228 (gst_registry_binary_load_feature),
5229 (gst_registry_binary_load_plugin),
5230 (gst_registry_binary_read_cache):
5231 * gst/gstregistrybinary.h:
5232 Use glib types, cleanup comments, impement interfaces and uri-types.
5234 2007-01-13 Andy Wingo <wingo@pobox.com>
5236 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5237 getrange() to return buffers with other caps, while we fix
5238 demuxers and typefind, or otherwise change part-negotiation.txt.
5240 2007-01-12 Andy Wingo <wingo@pobox.com>
5242 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5243 Factor start/stop into this private function instead of partially
5244 in activate functions and partially in the change_state function.
5245 Fixes setup before the element has changed from READY->PAUSED, as
5246 is the case in pull-mode pipelines.
5247 (gst_base_transform_sink_activate_push)
5248 (gst_base_transform_src_activate_pull): Refactor to use
5249 gst_base_transform_activate().
5250 (gst_base_transform_change_state): Removed, not needed any more.
5252 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5253 Truncate before fixating.
5255 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5256 Don't set_caps() if the result of fixating is ANY, as it's not
5257 supported, and not necessary in the case of a link with no
5258 template caps on either side. Fixes tests/check/libs/basesrc in
5259 some pull-mode tests.
5261 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5262 (gst_base_transform_init, gst_base_transform_sink_activate_push)
5263 (gst_base_transform_src_activate_pull):
5264 Track the activation mode.
5265 (gst_base_transform_setcaps): In pull mode, when activating the
5266 src pad, after activating the sink pad, activate the sink pad's
5267 peer, as discussed in part-negotiation.txt.
5269 * libs/gst/base/gstbasesrc.h:
5270 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5271 vmethod, as in basesink.
5273 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5275 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5276 mode, first proxy the setcaps to the peer pad.
5277 (gst_base_sink_pad_fixate): Add a fixate function that calls the
5279 (gst_base_sink_default_activate_pull): Rename from
5280 gst_base_sink_activate_pull.
5281 (gst_base_sink_negotiate_pull): New function, performs negotiation
5282 in pull mode before calling ::activate_pull().
5283 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5284 vmethod instead of the default implementation. I have no idea how
5285 this worked before. Negotiate before calling activate_pull.
5287 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5288 sink pads in pull mode. In addition to being correct, fixes
5289 filesrc ! decodebin ! identity ! fakesink.
5290 (gst_pad_get_range, gst_pad_pull_range): Don't call
5291 gst_pad_set_caps() if the caps changes; instead error out with
5292 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5294 2007-01-12 Andy Wingo <wingo@pobox.com>
5296 * docs/design/part-negotiation.txt: Update with more policy.
5298 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5300 * libs/gst/check/gstbufferstraw.h:
5301 * libs/gst/check/gstcheck.h:
5302 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5305 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5307 * tests/check/Makefile.am:
5308 * tests/check/gst/.cvsignore:
5309 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5310 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5311 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5312 (GST_START_TEST), (gst_tag_setter_suite):
5313 Add minimal unit test for beforementioned GstTagSetter bug.
5315 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5317 Patch by: René Stadler <mail at renestadler dot de>
5319 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5320 gst_tag_list_merge() returns a new list, so it's not the best idea
5321 to ingore its return value. Effectively meant that tags could only
5322 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5323 Also add function guard to require a non-NULL taglist as input (has
5324 always been so due to gst_tag_list_copy(), just making it explicit).
5326 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5328 * docs/random/draft-missing-plugins.txt:
5329 Some additions: mention new API that is supposed to be used at the
5330 various stages; short blob about new gst-inspect introspection
5331 option; mention potential future problem with plugins that have
5332 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5334 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5336 * tools/gst-inspect.c:
5337 (print_plugin_automatic_install_info_codecs),
5338 (print_plugin_automatic_install_info_protocols),
5339 (print_plugin_automatic_install_info), (main):
5340 Add --print-plugin-auto-install-info option to gst-inspect, so we can
5341 introspect plugin files and get machine-parsable output that corresponds
5342 to the last bit of the missing-plugin installer string (small gotcha:
5343 doesn't take into account ranks).
5345 2007-01-11 Stefan Kost <ensonic@users.sf.net>
5348 * docs/gst/gstreamer-sections.txt:
5350 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5351 (gst_registry_lookup_locked):
5352 * gst/gstregistry.h:
5353 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5354 (gst_registry_binary_initialize_magic),
5355 (gst_registry_binary_save_string),
5356 (gst_registry_binary_save_pad_template),
5357 (gst_registry_binary_save_feature),
5358 (gst_registry_binary_save_plugin),
5359 (gst_registry_binary_write_cache),
5360 (gst_registry_binary_check_magic),
5361 (gst_registry_binary_load_pad_template),
5362 (gst_registry_binary_load_feature),
5363 (gst_registry_binary_load_plugin),
5364 (gst_registry_binary_read_cache):
5365 * gst/gstregistrybinary.h:
5366 * gst/gstregistryxml.c: (load_feature),
5367 (gst_registry_xml_read_cache):
5368 commit binary registry (disabled by default, see #359653)
5370 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5372 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5373 Fix 'make check' too.
5375 2007-01-10 Andy Wingo <wingo@pobox.com>
5377 * docs/design/part-negotiation.txt: Fix a typo, add a couple
5380 * docs/design/part-negotiation.txt: Update with, um, one way that
5381 pull-mode negotiation might work?
5384 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5385 that the pad must be a src pad; makes sense to call it the other
5386 way in pull mode, and the logic is symmetric anyway.
5388 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
5390 * plugins/elements/gstfilesink.c:
5391 Include <stdio.h> for fseeko().
5393 2007-01-10 Wim Taymans <wim@fluendo.com>
5397 Reserve LATENCY event.
5399 2007-01-09 Wim Taymans <wim@fluendo.com>
5401 * docs/design/draft-latency.txt:
5404 2007-01-09 Wim Taymans <wim@fluendo.com>
5406 * docs/design/draft-latency.txt:
5410 * gst/gststructure.c:
5414 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
5416 * tests/check/.cvsignore:
5417 Ignore test-registry.xml as well.
5419 2007-01-09 Wim Taymans <wim@fluendo.com>
5421 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5422 unref data at the end when we are done with the pad.
5424 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5426 * docs/gst/gstreamer-sections.txt:
5427 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5428 (init_post), (gst_deinit), (gst_update_registry):
5430 API: add gst_update_registry() (#391296).
5432 * tests/check/Makefile.am:
5433 * tests/check/gst/gstregistry.c:
5434 * tests/check/gst/.cvsignore:
5435 Simple unit test for the above.
5437 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5439 * gst/gstregistry.c: (gst_registry_scan_path_level):
5440 Plugin extension on HP-UX is .sl, add that to the list of approved
5441 plugin extensions (see #393796).
5443 * tests/check/gst/gstpad.c: (GST_START_TEST):
5444 ulong => gulong. Fixes compilation with HP-UX compiler.
5446 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5447 Fix compilation if valgrind headers are not available.
5449 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
5451 * win32/common/libgstreamer.def:
5452 Add new exported function.
5453 * win32/vs6/libgstbase.dsp:
5454 Add gstdataqueue.c to the build.
5455 * win32/vs6/libgstcoreelements.dsp:
5456 Add gstmultiqueue.c to the build.
5458 2007-01-06 Andy Wingo <wingo@pobox.com>
5460 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5461 activate_pull(), providing for a way to specialize the process of
5462 spawning a thread to pull on the sink pad. There is a default
5465 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5466 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5467 (gst_base_sink_init): Renamed pad activation functions (inserting
5468 "_pad" in their names). Refactor to use the new activate_pull
5469 vmethod, as appropriate.
5470 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5471 default activate_pull function to start a task pulling from the
5472 sink pad, as before.
5474 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5475 on the pads if necessary, as in push()/chain(). Update docs.
5476 Shouldn't affect existing pull() usage as it is currently only
5477 being used on buffers without caps.
5479 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5481 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5483 Call g_thread_init() first thing in gst_init() / gst_check_init().
5484 When initialisation is done via gst_init_get_option_group() and
5485 GOption parsing, issue a warning if the GLib thread system has not
5486 been initialised yet by the time gst_init_get_option_group() is
5487 called, as it's quite likely other GLib functions such as
5488 g_option_context_new() have been called already then, and
5489 g_thread_init() must be called before any other GLib function. The
5490 application in question must be fixed in that case, since memory
5491 corruption might happen otherwise.
5492 We issue the warning because even if the GLib folks decide to work
5493 around the problem on their end in future, this is still an issue
5494 with all GLib versions >= 2.10.0, so we should warn until we depend
5495 on a GLib version we know to be safe.
5496 Update documentation as well.
5499 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5501 * tools/gst-inspect.c: (main):
5502 * tools/gst-launch.c: (main):
5503 * tools/gst-typefind.c: (main):
5504 * tools/gst-xmlinspect.c: (main):
5505 Call g_thread_init() really really early, before any other GLib
5506 function (see #342564 and recent discussion on gtk-devel-list).
5508 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5510 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
5512 * gst/gst_private.h:
5513 * gst/gstconfig.h.in:
5515 On win32, all the __declspec stuff for symbol exporting is
5516 apparently only needed with MSVC, but doesn't work with MingW.
5517 Fixes compilation with MingW and #391909.
5519 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5521 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5522 Change some GST_ERROR_OBJECT that aren't really errors to
5523 GST_WARNING_OBJECT in order to reduce terminal spam.
5525 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5527 * tests/check/Makefile.am:
5528 disable test again, as there seem to be still race problems
5530 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5532 * tests/check/Makefile.am:
5533 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5534 (GST_START_TEST), (queue_suite):
5535 enable queue test again, add tests for the leaky behaviour
5537 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
5540 * tests/examples/Makefile.am:
5541 Compile adapter test/example only if the required headers are
5542 available (fixes #391915).
5544 2007-01-01 David Schleef <ds@schleef.org>
5547 Restore the previous signal handler for SIGSEGV instead of
5548 setting to default, since we may have stolen it away from
5549 someone. (i.e., Mono)
5551 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5553 * docs/random/draft-missing-plugins.txt:
5554 Some small additions and clarifications.
5556 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5558 * gst/gstregistryxml.c: (gst_registry_save_escaped):
5559 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5560 since that can lead to random memory corruptions and crashes
5561 (may or may not be related to #383244, #386711, and #386711).
5563 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5565 * tests/check/.cvsignore:
5566 * tests/check/Makefile.am:
5567 sync .cvsignome and CLEANFILES
5569 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5571 * tests/check/Makefile.am:
5574 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5576 * docs/design/part-states.txt:
5577 two tiny additional comments
5579 * gst/gststructure.c:
5582 * tests/check/Makefile.am:
5583 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5585 disable test for now, unless it gets fixed
5587 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5589 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5591 fix race in underrun test
5593 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5595 * tests/check/elements/.cvsignore:
5598 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5600 try to narrow test failure
5602 2006-12-21 David Schleef <ds@schleef.org>
5604 * plugins/elements/gstfakesrc.c:
5605 Use g_random_int_range(), since it produces better random
5606 numbers in a range than almost-correct floating point code.
5608 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5610 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5611 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5612 (gst_check_teardown_sink_pad):
5613 do not automatically (de)activate pads
5615 * tests/check/Makefile.am:
5616 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5617 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5618 add new, yet simple tests for queue
5620 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5621 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5622 * tests/check/elements/filesrc.c: (cleanup_filesrc),
5624 * tests/check/elements/identity.c: (cleanup_identity):
5625 consistent pad (de)activation
5627 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
5629 Patch by: Sebastian Dröge <slomo ubuntu com>
5631 * libs/gst/base/gstcollectpads.c:
5632 Fix two doc typos (#387866).
5634 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5636 * docs/manual/advanced-dparams.xml:
5637 Fix typo (g_object_control_properties() doesn't exist).
5639 2006-12-19 Edward Hervey <edward@fluendo.com>
5641 * gst/gstsegment.c: (gst_segment_set_seek):
5642 Fine tune the cases where the segment start/stop values are really
5644 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5645 Add tests for the return values of gst_segment_set_seek().
5647 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5652 * plugins/elements/gstqueue.c: (gst_queue_class_init),
5654 Fix incorrect documentation and flesh it out a bit more.
5655 Set default values for the max properties on the GParamSpec as well,
5656 so it shows up correctly in gst-inspect.
5658 2006-12-18 Stefan Kost <ensonic@users.sf.net>
5660 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5661 Correct docs of queue, add more detail and crosslink it more.
5663 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5665 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5666 Print additional debug info when the stream isn't perfectly
5667 timestamped; don't try to use invalid durations.
5669 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5671 * docs/design/Makefile.am:
5672 Dist new design docs.
5674 2006-12-16 Wim Taymans <wim@fluendo.com>
5676 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5678 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5679 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5680 (gst_collect_pads_stop), (gst_collect_pads_event),
5681 (gst_collect_pads_chain):
5682 * libs/gst/base/gstcollectpads.h:
5683 Add refcounting to the collectpads data so we can track when it's safe
5684 to free the data. Fixes #383382.
5686 2006-12-15 Wim Taymans <wim@fluendo.com>
5688 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5689 (gst_collect_pads_remove_pad):
5690 Automatically activate/deactivate pads when they are added to a
5691 started/stoped collectpads.
5693 2006-12-15 Wim Taymans <wim@fluendo.com>
5695 * gst/gstelement.c: (gst_element_add_pad):
5696 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5697 * gst/gstpad.c: (gst_pad_init):
5698 Set pads to FLUSHING when they are created. Check, warn and fix when a
5699 demuxer adds an inactive pad to itself when running. Fixes #339326.
5701 2006-12-15 Wim Taymans <wim@fluendo.com>
5703 * gst/gstelement.c: (gst_element_class_init),
5704 (gst_element_default_send_event), (gst_element_send_event),
5705 (gst_element_default_query), (gst_element_query):
5706 Expose default element send_event and query handling as vmethods that
5707 subclasses can chain up to.
5709 2006-12-15 Wim Taymans <wim@fluendo.com>
5711 * gst/gstelement.c: (gst_element_set_state_func):
5712 Small documentation fixes.
5714 2006-12-15 Wim Taymans <wim@fluendo.com>
5716 * docs/design/draft-latency.txt:
5717 Checked in draft for handling latency in pipelines.
5719 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
5723 * gstreamer.spec.in:
5726 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
5728 * gst/gst.c: (init_pre), (init_post):
5729 init_pre() and init_post() might be called via our GOptionGroup or
5730 from gst_init(), and we should skip both of them if we've already
5731 been initialised, otherwise we will init some things twice or add
5732 two default log functions.
5734 2006-12-13 Edward Hervey <edward@fluendo.com>
5736 * docs/manual/basics-bus.xml:
5737 No, gst_main_loop does not exist. Its g_main_loop.
5738 Discovered by somebody who abused the copy-paste technique of coding :)
5740 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
5742 * gst/gstghostpad.c:
5743 Log ghostpad debug stuff to the GST_PADS category as well rather
5744 than just to the default category.
5746 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
5749 * gst/gst.c: (init_pre):
5750 Add some basic system details such as OS and architecture
5751 to the debug output if possible, courtesy of uname().
5753 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
5755 * docs/gst/running.xml:
5756 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5757 environment variables.
5759 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5761 * tests/check/gst/gstbin.c: (GST_START_TEST):
5762 It is acceptable to have a refcount of 2 or 3 at this point in the
5763 test, because the pipeline might be just posting its state_change
5764 message. The next line then waits for that message to appear using
5765 bus_poll, so that should be fine too.
5767 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5769 * gst/gst.c: (ensure_current_registry_forking):
5770 Ignore EINTR when reading from the child registry pipe.
5771 Explicitly ignore the return value from close, since it makes no
5774 * gst/gstminiobject.c: (gst_mini_object_ref),
5775 (gst_mini_object_unref):
5776 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5778 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5779 When removing cached plugins, remove their features too, so they're
5780 not visible after they've disappeared.
5782 * gst/gstutils.c: (prepare_link_maybe_ghosting):
5783 In the unlikely case that we are linking pads with no parents, don't
5784 crash trying to get the non-existent parent bin.
5786 * gst/parse/grammar.y:
5787 Output debug in the PIPELINE category
5789 2005-03-08 Wim Taymans <wim@fluendo.com>
5791 Patch by: René Stadler <mail at renestadler dot de>
5793 * gst/gstclock.c: (gst_clock_new_periodic_id):
5794 Reject invalid clock times for interval of periodic ids.
5797 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5799 * gst/gstelementfactory.c: (gst_element_factory_create):
5800 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5801 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5802 * tools/gst-inspect.c: (print_element_info):
5803 Fix refcounting of gst_plugin_feature_load to match the docs.
5806 2006-12-07 Wim Taymans <wim@fluendo.com>
5808 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5809 (gst_base_sink_get_position):
5810 Improve debugging of events.
5812 2006-12-07 Wim Taymans <wim@fluendo.com>
5814 Patch by: René Stadler <mail at renestadler dot de>
5816 * gst/gstclock.c: (gst_clock_id_wait):
5817 Make period ids add the interval to the origial requested time instead
5818 of the possibly updated time which can be wrong when there are multiple
5819 waiters for the same id. Fixes #382592.
5821 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5822 (gst_system_clock_id_wait_jitter_unlocked),
5823 (gst_system_clock_id_wait_jitter):
5824 Fix restart in the async notify thread when an async entry is added to
5825 the front of the list. Fixes #381492.
5827 * tests/check/gst/gstsystemclock.c: (store_callback),
5828 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5829 Added test for multiple async waits.
5830 Added test for async wait order.
5832 2006-12-07 Wim Taymans <wim@fluendo.com>
5834 * gst/gstbin.c: (gst_bin_query):
5835 Add some more docs about the POSITION query.
5837 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5840 Bump version nano - back to CVS.
5842 === release 0.10.11 ===
5844 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
5847 releasing 0.10.11, "Love never runs on time"
5849 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
5851 * win32/common/libgstbase.def:
5852 * win32/common/libgstreamer.def:
5853 * win32/vs8/libgstbase.vcproj:
5854 * win32/vs8/libgstcoreelements.vcproj:
5855 * win32/vs8/libgstreamer.vcproj:
5856 Fix compilation on win32 under VS8
5857 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5858 Partially fixes #381175
5860 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5862 * gst/gstvalue.c: (gst_value_compare_fraction):
5863 If someone is foolish enough to compare 2 fractions with denominator =
5864 0, return UNORDERED rather than aborting.
5866 2006-11-28 Edward Hervey <edward@fluendo.com>
5868 * libs/gst/base/Makefile.am:
5869 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5870 (gst_data_queue_base_init), (gst_data_queue_class_init),
5871 (gst_data_queue_init), (gst_data_queue_new),
5872 (gst_data_queue_cleanup), (gst_data_queue_finalize),
5873 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5874 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5875 (gst_data_queue_is_empty), (gst_data_queue_is_full),
5876 (gst_data_queue_set_flushing), (gst_data_queue_push),
5877 (gst_data_queue_pop), (gst_data_queue_drop_head),
5878 (gst_data_queue_set_property), (gst_data_queue_get_property):
5879 * libs/gst/base/gstdataqueue.h:
5880 New GstDataQueue object for threadsafe queueing. Most useful for
5881 elements that need some queueing functionnality.
5882 * docs/libs/gstreamer-libs-docs.sgml:
5883 * docs/libs/gstreamer-libs-sections.txt:
5884 Insert documentation for GstDataQueue
5885 * plugins/elements/Makefile.am:
5886 * plugins/elements/gstelements.c:
5887 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5888 (gst_multi_queue_class_init), (gst_multi_queue_init),
5889 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5890 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5891 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5892 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5893 (gst_multi_queue_loop), (gst_multi_queue_chain),
5894 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5895 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5896 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5897 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5898 (wake_up_next_non_linked), (compute_next_non_linked),
5899 (single_queue_overrun_cb), (single_queue_underrun_cb),
5900 (single_queue_check_full), (gst_single_queue_new):
5901 * plugins/elements/gstmultiqueue.h:
5902 New multiqueue element, using GstDataQueue. Used for queuing multiple
5904 Closes #344639 and #347785
5906 2006-11-22 Stefan Kost <ensonic@users.sf.net>
5908 * docs/pwg/advanced-types.xml:
5909 add more missing type details
5911 * tools/gst-run.c: (main):
5912 remove unused variable
5914 2006-11-21 Stefan Kost <ensonic@users.sf.net>
5916 * docs/libs/Makefile.am:
5917 * docs/libs/gstreamer-libs.types:
5918 add types of base classes to enable gobject specific stuff in the docs
5920 * docs/random/ensonic/embedded.txt:
5921 more ideas about isolating platform specific things
5923 2006-11-20 Wim Taymans <wim@fluendo.com>
5925 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5927 * libs/gst/check/gstcheck.h:
5928 Fix compilation and running against 0.9.4. Fixes #377332.
5930 2006-11-20 Wim Taymans <wim@fluendo.com>
5932 * gst/gstsegment.c: (gst_segment_set_seek),
5933 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5934 (gst_segment_to_running_time):
5935 Fix boundary checking in to_running_time() and to_stream_time().
5938 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5939 stream and running time can now be calculated for the complete
5942 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
5944 * gst/gstpad.c: (gst_pad_push_event):
5945 Can't access event structure after giving away ownership of
5948 2006-11-15 Stefan Kost <ensonic@users.sf.net>
5950 * docs/random/ensonic/embedded.txt:
5951 * docs/random/ensonic/profiling.txt:
5952 * docs/random/ensonic/receipies.txt:
5955 2006-11-13 Wim Taymans <wim@fluendo.com>
5957 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5960 Fix documentation for gst_pad_dispatcher. Fixes #374475.
5962 2006-11-13 Wim Taymans <wim@fluendo.com>
5964 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5966 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5967 Store new length in segment duration so we don't keep on calling the
5968 potentially expensize get_size() call. Fixes #370865.
5970 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
5972 Patch by: Sergey Scobich <sergey.scobich at gmail com>
5974 * win32/common/libgstreamer.def:
5975 Add two missing symbols (#366492).
5977 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
5979 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5980 (gst_adapter_take_buffer):
5981 Fix format string to use all its arguments.
5982 Remove useless >= check on a guint
5984 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5986 * tests/examples/adapter/.cvsignore:
5987 Ignore build file as commanded by the build-bot
5989 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5991 * tests/examples/adapter/Makefile.am:
5992 * tests/examples/adapter/adapter_test.c: (run_test_take),
5993 (run_test_take_buffer), (run_tests), (main):
5995 Add new files from the previous commit
5997 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
6001 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
6002 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
6003 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
6004 * libs/gst/base/gstadapter.h:
6005 * tests/check/libs/adapter.c: (create_and_fill_adapter),
6006 (GST_START_TEST), (gst_adapter_suite):
6007 * tests/examples/Makefile.am:
6008 Do some optimisation work in GstAdapter to avoid copies in more cases.
6009 It could still do slightly better by merging buffers when
6010 gst_buffer_is_span_fast is true, but is already faster.
6012 Also, avoid traversing a single-linked list to append each incoming
6013 buffer inside the adapter.
6015 Add simple test app that times the adapter behaviour in different
6016 situations, and extend the unit test to check that bytes enter and
6017 exit the adapter in their original order.
6019 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
6021 * docs/random/draft-missing-plugins.txt:
6022 Update: use element message instead of adding a new message
6023 type to the core; don't provide GStreamer API to initiate the
6024 plugin download, just provide API to compose the strings needed
6025 and let an external libgimmestuff handle the rest.
6027 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
6029 * tools/gst-inspect.c: (print_element_properties_info):
6030 Print a string instead of 'unknown type' for GValueArray properties
6032 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
6034 * docs/random/draft-missing-plugins.txt:
6037 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
6039 * tests/examples/typefind/typefind.c: (type_found), (main):
6040 Make typefind element example work again (#371894); add a
6043 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
6045 * docs/random/draft-missing-plugins.txt:
6046 Commit initial draft about how to deal with missing plugins,
6047 needs work (API too).
6049 2006-11-07 Stefan Kost <ensonic@users.sf.net>
6051 * docs/pwg/advanced-types.xml:
6052 documents the new caps elements (see #363118)
6054 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
6056 * gst/gstplugin.c: (gst_plugin_load_file):
6057 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
6058 (gst_file_src_map_region), (gst_file_src_start):
6059 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
6060 (gst_file_index_commit):
6061 Use g_strerror() instead of strerror() - we want UTF-8.
6063 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
6065 Patch by: Peter Kjellerstedt <pkj at axis com>
6067 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6068 Another printf fix (#371493).
6070 2006-11-06 Stefan Kost <ensonic@users.sf.net>
6072 * tests/check/gst/gsttag.c:
6073 relicence (okay with author=company)
6075 2006-11-06 Stefan Kost <ensonic@users.sf.net>
6077 * gst/gstpad.c: (gst_pad_event_default_dispatch),
6078 (gst_pad_push_event):
6079 Enhance debug and improve docs
6084 2006-11-06 Stefan Kost <ensonic@users.sf.net>
6086 * docs/random/ensonic/distributed.txt:
6087 * docs/random/ensonic/profiling.txt:
6090 2006-11-06 Stefan Kost <ensonic@users.sf.net>
6092 * docs/gst/gstreamer-sections.txt:
6093 add new API and fix the build
6095 * gst/gstbin.c: (gst_bin_recalc_state):
6096 * gst/gstelement.c: (gst_element_message_full),
6097 (gst_element_get_state_func), (gst_element_set_state_func):
6098 use new API and improve logging
6100 * gst/gstutils.c: (gst_element_state_change_return_get_name):
6102 API: add function to get StateChangereturn names to improve logs
6104 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
6106 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6107 I'm considering shooting the next person to put strerror stuff
6108 in the translateable part of the message.
6110 2006-11-03 Wim Taymans <wim@fluendo.com>
6112 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6113 Get the type and printf conversion specifiers right.
6115 2006-11-03 Wim Taymans <wim@fluendo.com>
6117 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6119 * gst/gstpad.c: (gst_pad_init), (pre_activate),
6120 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
6121 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
6122 Some small cleanups. Improve debugging.
6124 Signal all waiting threads with a broadcast instead of just one.
6127 2006-11-03 Wim Taymans <wim@fluendo.com>
6129 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
6130 (gst_fd_src_create):
6132 Only update fd when it's different from the old.
6134 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
6136 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
6137 Printf fixes for PPC/OSX, take two (#369366).
6139 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
6141 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
6143 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6144 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6145 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
6146 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
6147 don't cast to long long for portability reasons, but use
6148 GLib's types instead.
6150 2006-10-30 Michael Smith <msmith@fluendo.com>
6152 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6153 Get the arguments to lseek() the right way around.
6156 2006-10-30 Wim Taymans <wim@fluendo.com>
6158 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
6161 _declspec should be __declspec (two underscores, not one). Fixes 366572.
6163 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
6165 Patch by: Kjartan Maraas <kmaraas at gnome org>
6167 * docs/design/part-MT-refcounting.txt:
6168 * docs/random/wtay/capsnego2-docs:
6171 Typo fixes (#366212).
6173 2006-10-28 Wim Taymans <wim@fluendo.com>
6175 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6178 * win32/common/libgstbase.def:
6179 * win32/common/libgstreamer.def:
6180 * win32/vs8/libgstbase.vcproj:
6181 * win32/vs8/libgstcontroller.vcproj:
6182 Add needed entries in .def files.
6184 Rearrange def files in vs8 solutions. Fixes #366286.
6186 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
6188 * win32/common/gstconfig.h:
6189 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
6190 hand-made win32 gstconfig.h. Fixes #366321.
6192 2006-10-27 Wim Taymans <wim@fluendo.com>
6194 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
6195 (gst_ghost_pad_new_full):
6196 Make acceptcaps return TRUE when we don't have a target, just like
6199 2006-10-27 Wim Taymans <wim@fluendo.com>
6201 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6202 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6204 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
6206 * gst/gststructure.c: (gst_structure_id_set_value):
6207 If someone tries to set a non-UTF8 string field on a structure,
6208 don't just print a warning, but also ignore the request and do
6209 not change/add that field to the structure.
6211 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6214 2006-10-25 David Schleef <ds@schleef.org>
6217 g_hash_table_insert() needs a cast to a non-const pointer duh.
6219 2006-10-25 David Schleef <ds@schleef.org>
6223 Change name parameter of _gst_debug_register_funcptr to const
6224 to reflect the constness of its use in the function as well
6225 as to quiet a gcc warning.
6227 2006-10-25 Edward Hervey <edward@fluendo.com>
6229 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6230 Don't push the buffer if it's empty.
6233 2006-10-24 Wim Taymans <wim@fluendo.com>
6238 * libs/gst/base/gstbasetransform.c:
6239 (gst_base_transform_sink_eventfunc):
6240 Debug segment values *after* updating them as this is more
6243 2006-10-23 Wim Taymans <wim@fluendo.com>
6245 * docs/design/part-events.txt:
6248 * docs/design/part-block.txt:
6249 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6250 (gst_pad_push_event):
6251 Revert BLOCKING patch, it tries to be smart without really having a
6252 clear idea what or how. So, now we discard all FLUSHING events again on
6253 a blocking pad. Should fix gnonlin again.
6255 2006-10-23 Wim Taymans <wim@fluendo.com>
6257 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6259 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6260 (gst_base_src_start), (gst_base_src_activate_push):
6261 Make sure size is always initialized. Fixes #364388.
6263 2006-10-20 Stefan Kost <ensonic@users.sf.net>
6265 * docs/random/ensonic/distributed.txt:
6266 add some ideas about doing distributed processing
6268 * docs/random/ensonic/profiling.txt:
6269 get_rusage look promising
6271 2006-10-18 Stefan Kost <ensonic@users.sf.net>
6273 * docs/manual/basics-helloworld.xml:
6274 Add a cast in example to fix compile warning
6276 2006-10-18 Wim Taymans <wim@fluendo.com>
6278 * gst/gstsegment.c: (gst_segment_set_last_stop),
6279 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6280 Relax arg checking again, -1 is allowed.
6282 2006-10-18 Wim Taymans <wim@fluendo.com>
6284 * gst/gstsegment.c: (gst_segment_set_last_stop),
6285 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6286 _set_last_stop() must be with a value != -1
6287 A _TYPE_SET to -1 means seek to 0.
6288 Calc last_stop correctly for negative rates.
6289 Make sure we work with positive durations when updating a segment.
6291 2006-10-18 Wim Taymans <wim@fluendo.com>
6293 * docs/design/part-live-source.txt:
6297 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
6300 Add an explicit cast to GstBuffer** to keep old code that added an
6301 explicit cast to GstMiniObject** for gst_mini_object_replace()
6302 compiling without warning.
6304 2006-10-18 Stefan Kost <ensonic@users.sf.net>
6306 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6307 check for validity of dates
6309 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6311 * docs/gst/gstreamer-sections.txt:
6312 Forgot this one, makes gtk-doc shut up.
6314 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6316 Patch by: Peter Kjellerstedt <pkj at axis com>
6319 Don't define xmlNodePtr to gpointer if the core was built with
6320 --disable-loadsave and --disable-registry, this will break
6321 applications that want to use libxml2 but are buildling against a
6322 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6323 instead so we don't have to mess with the libxml2 namespace
6326 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6329 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6330 type-punned pointer warnings.
6332 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
6335 Add casts to the correct return type to state <=> state transition
6338 2006-10-16 Stefan Kost <ensonic@users.sf.net>
6340 * docs/design/part-live-source.txt:
6341 describe howto handle latency
6343 * docs/random/ensonic/profiling.txt:
6346 * tools/gst-plot-timeline.py:
6347 fix log parsing for solaris, remove unused function
6349 2006-10-16 Wim Taymans <wim@fluendo.com>
6351 * docs/design/part-trickmodes.txt:
6353 Update some docs regarding reverse playback.
6355 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
6357 Patch by: Marcus Granado <mrc dot gran at gmail com>
6359 * win32/vs8/grammar.vcproj:
6360 Error out with a warning if glib-genmarshal.exe is not in path,
6361 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6363 2006-10-13 Wim Taymans <wim@fluendo.com>
6365 * gst/gstsegment.c: (gst_segment_set_seek):
6366 When seeking to stop -1, set last_stop (current position) to the
6367 duration of the segment.
6369 2006-10-13 Wim Taymans <wim@fluendo.com>
6372 Clarify _NO_PREROLL a bit more.
6377 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6378 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6379 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6380 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6381 due to wrong locking order. Fixes #361769.
6382 Remove some redundant/misplaced checks in pad_block.
6384 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6385 For negative rates, count backwards from the duration.
6387 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
6389 * gst/gsterror.c: (_gst_library_errors_init):
6390 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6391 up with something better).
6393 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6395 * win32/vs6/libgstreamer.dsp:
6396 * win32/vs7/libgstreamer.vcproj:
6397 * win32/vs8/libgstreamer.vcproj:
6398 Don't reference glib-compat.c which is currently not used and not
6399 disted; add gstquark.c which was recently added. Fixes #361730.
6401 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6403 * win32/common/libgstbase.def:
6404 * win32/common/libgstcontroller.def:
6405 * win32/common/libgstreamer.def:
6406 Add gst_caps_merge() and a bunch of other recently-added functions.
6409 2006-10-11 Wim Taymans <wim@fluendo.com>
6411 * docs/plugins/gstreamer-plugins.args:
6412 * docs/plugins/inspect/plugin-coreelements.xml:
6413 * docs/plugins/inspect/plugin-coreindexers.xml:
6414 Update element args.
6416 * gst/gstsystemclock.c:
6417 Small comment update.
6419 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6420 (gst_tee_request_new_pad), (gst_tee_release_pad),
6421 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6422 (gst_tee_sink_activate_pull):
6423 * plugins/elements/gsttee.h:
6425 Add default property defines.
6426 Implement release pad function.
6427 Give properties better blubs etc.
6428 Activate pads before adding them to a running tee.
6429 Do simple buffer_alloc on the first requested pad.
6430 Post error when activation fails.
6432 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6434 * gst/gst.c: (ensure_current_registry_forking):
6435 Check return value of write() to make compiler happy.
6437 2006-10-11 Wim Taymans <wim@fluendo.com>
6439 Patch by: Sjoerd Simons <sjoerd at luon dot net>
6441 * plugins/elements/gstqueue.c: (gst_queue_chain):
6442 Recheck queue filledness after signalling the overrun when we're about
6443 to leak downstream because we released the lock when emitting the signal
6444 and the queue could be empty again. Fixes #352345.
6446 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6448 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6449 Fix refcounting here too, just like we did for _new_valist() a few
6450 days ago (#357180) (thanks to René Stadler). Also remove all those
6451 'Since: 0.9' from the gtk-doc blobs.
6453 * tests/check/libs/controller.c: (controller_refcount_new_list),
6454 (gst_controller_suite):
6455 Unit test for the above.
6457 2006-10-10 Wim Taymans <wim@fluendo.com>
6459 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6461 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6462 (gst_pad_save_thyself):
6464 Write pad direction in XML output. Fixes #345496.
6466 2006-10-10 Wim Taymans <wim@fluendo.com>
6468 Patch by: René Stadler <mail at renestadler dot de>
6470 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6471 (gst_controller_new_list), (_gst_controller_dispose),
6472 (_gst_controller_finalize), (_gst_controller_class_init):
6473 Take ref to controlled object so that it cannot disappear.
6476 2006-10-10 Wim Taymans <wim@fluendo.com>
6478 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6479 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6480 (gst_check_teardown_sink_pad):
6481 Activate/deactivate pads in setup/teardown respectively.
6483 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6485 Patch by: Josep Torre Valles <josep@fluendo.com>
6488 Cast values when making gstenumtypes.h. This pacifies Forte
6489 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6492 2006-10-09 Wim Taymans <wim@fluendo.com>
6494 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6495 Rename some more @cur to @start to fix docs.
6497 * gst/gstsegment.c: (gst_segment_set_seek):
6499 time and start must always stay in sync as defined in design doc.
6501 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6502 Rename param to fix docs.
6504 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6505 Check that start and time are in sync.
6507 * tests/check/pipelines/parse-launch.c:
6508 (gst_parse_test_element_change_state):
6509 Activate pad before adding to the element.
6511 2006-10-09 Wim Taymans <wim@fluendo.com>
6513 * docs/design/part-qos.txt:
6518 Update seek event docs regarding negative rates.
6519 Rename @cur to @start.
6521 * gst/gstsegment.c: (gst_segment_set_seek):
6523 Update set_seek docs regarding negative rates.
6524 Correctly update last_stop to @stop when dealing with negative
6526 Rename @cur to @start.
6528 * tests/check/gst/gstpad.c: (GST_START_TEST):
6529 Activate pads before trying to use them.
6531 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6532 (gst_segment_suite):
6533 Add simple check for segments and negative rates.
6535 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
6537 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6539 * docs/gst/gstreamer-sections.txt:
6540 API: add gst_tag_list_is_empty() (#360467).
6542 * tests/check/gst/gsttag.c: (GST_START_TEST):
6545 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6548 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6549 a value that doesn't fit on enumeration.
6551 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6553 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6554 Remove local debugging system and use Gstreamer's instead.
6556 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6558 Patch by: Josep Torre Valles <josep@fluendo.com>
6560 * common/m4/gst-error.m4:
6561 Disable warning of statement not reached on Forte.
6563 Fix warning on Forte (value doesn't fit on enumeration).
6564 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6565 Fix warning on Forte (value doesn't fit on enumeration).
6566 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6567 DEBUG macro says it takes minimum of 2 args and so Forte
6568 complains about the use with just 1 arg.
6569 * plugins/elements/gstfdsink.c:
6570 * plugins/elements/gstfdsrc.c:
6571 * plugins/elements/gstfilesink.c:
6572 * plugins/elements/gstfilesrc.c:
6573 Use correct return type for the uri handler implementations.
6575 All these fix warnings in Forte. Fixes bug #360860.
6577 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
6580 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6581 format string, so don't use G_GNUC_PRINTF for those versions.
6583 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6585 * gst/gsttaglist.c: (gst_is_tag_list):
6587 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6589 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6590 Small test for the above.
6592 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6595 Less tabs, more spaces.
6597 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
6600 Those two function declarations do actually belong there, revert
6601 commit from yesterday that turned them intro macros.
6603 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6605 Patch by: Josep Torre Valles <josep@fluendo.com>
6607 * gst/gst.c: (gst_init_get_option_group):
6608 Fix empty declaration and type mismatch.
6609 * gst/gstbin.c: (gst_bin_change_state_func):
6611 * gst/gstelement.c: (gst_element_continue_state),
6612 (gst_element_set_state_func), (gst_element_change_state),
6613 (gst_element_change_state_func):
6614 Fix type mismatches.
6615 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6616 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6617 Cast as appropriate.
6618 * gst/gstobject.c: (gst_class_signal_connect):
6619 Cast as appropriate. The function pointer parameter really
6620 has the wrong type but would break API if we change it.
6622 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6623 order of including string.h.
6624 * gst/gstutils.c: (gst_element_state_get_name):
6625 Remove unreachable line.
6626 * gst/gstxml.c: (gst_xml_parse_doc):
6628 All these caught by Forte.
6630 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6632 Patch by: Josep Torre Valles <josep@fluendo.com>
6634 * common/m4/gst-error.m4:
6636 We need to disable warnings on Forte for empty declarations
6637 due to gst-indent adding ;s to lines that just use macros
6638 where the macro actually doesn't need a ; at end to end
6641 2006-10-06 Wim Taymans <wim@fluendo.com>
6643 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6644 (gst_file_sink_close_file), (gst_file_sink_event),
6645 (gst_file_sink_render):
6646 Add some FIXME for the NEWSEGMENT handling.
6648 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6650 * gst/parse/grammar.y:
6651 Remove static function gst_parse_element_lock as all it does
6652 is return. Looks like cruft from 0.8.
6654 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6656 Patch by: Josep Torre Valles <josep@fluendo.com>
6658 * common/m4/gst-error.m4:
6660 * libs/gst/net/Makefile.am:
6661 Fix a compilation issue with Forte on Solaris. inet_aton is in
6664 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6666 * gst/gstpad.c: (pre_activate):
6667 * gst/gstregistry.c: (gst_registry_scan_path_level):
6668 * gst/gstregistryxml.c: (load_plugin):
6669 * libs/gst/controller/gstcontroller.c:
6670 (gst_controlled_property_set_interpolation_mode):
6671 * libs/gst/dataprotocol/dataprotocol.c:
6672 (gst_dp_packet_from_event_1_0):
6673 * libs/gst/net/gstnetclientclock.c:
6674 (gst_net_client_clock_observe_times):
6675 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6678 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6681 * docs/gst/gstreamer-sections.txt:
6682 * gst/gstconfig.h.in:
6685 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6686 whether we can use G_GNUC_PRINTF in other header files and at
6687 least check the printf format/arguments of debug messages and
6688 GST_ELEMENT_ERROR messages when the printf extension is not
6690 Replace more tabs with spaces in gstinfo.h and remove two spurious
6691 function declarations in GST_DISABLE_DEBUG part with macros.
6693 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
6695 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6696 More docs for the sync-message signal (mention that it is not
6697 emitted by default); log message structures of messages posted on
6700 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
6702 * gst/gst.c: (ensure_current_registry_forking):
6703 Use a pipe pair to receive status results from the forked child, and
6704 ignore the result from waitpid. Fixes #355499
6706 2006-10-02 Wim Taymans <wim@fluendo.com>
6708 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6709 (gst_ghost_pad_suite):
6712 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6715 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6717 2006-10-02 Edward Hervey <edward@fluendo.com>
6719 * docs/design/part-block.txt:
6720 Further explain the use of flushing on blocked pads.
6721 * docs/gst/gstreamer-sections.txt:
6722 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6723 (gst_pad_push_event):
6725 Added new GstPadFlag : GST_PAD_BLOCKING.
6726 Adds the notion of pads really blocking, which enables to properly
6727 handle FLUSH_START/FLUSH_STOP events on blocked pads.
6729 API: gst_pad_is_blocking()
6730 API: GST_PAD_IS_BLOCKING() macro
6731 API: GST_PAD_BLOCKING GstPadFlag
6733 2006-10-02 Wim Taymans <wim@fluendo.com>
6735 Patch by: mrcgran <mrc.gran at gmail dot com>
6737 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6738 Filter the proxied caps against the padtemplate if we have one.
6740 * gst/gstquery.c: (gst_query_new_segment):
6741 Add include for gstinfo.h so that compilation with
6742 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6744 2006-10-02 Wim Taymans <wim@fluendo.com>
6746 Patch by: Alessandro Decina <alessandro at nnva org>
6748 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6749 (gst_file_sink_set_location), (gst_file_sink_open_file),
6750 (gst_file_sink_close_file), (gst_file_sink_event),
6751 (gst_file_sink_render):
6752 Set file to NULL when closing filesink so that we can set a new filename
6753 in READY. Fixes #358613.
6755 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6757 Patch by: Alessandro Decina <alessandro at nnva org>
6759 * gst/gstevent.c: (_gst_event_copy):
6760 Fix gst_mini_object_make_writable() and gst_event_copy() for events
6761 with event structures by setting the parent refcount address of the
6762 copied structure to the address of the refcount member of the newly
6763 copied event rather than the address of the refcount member of the
6764 original event. Fixes #358737.
6766 * tests/check/gst/gstevent.c: (GST_START_TEST):
6767 Unit test for the above.
6769 2006-09-29 Stefan Kost <ensonic@users.sf.net>
6771 * docs/design/Makefile.am:
6772 Dist some more files.
6774 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6776 * tests/check/libs/controller.c: (GST_START_TEST),
6777 (gst_controller_suite):
6778 Add test for the previous fix; add some more tests
6779 for correct refcounting behaviour; fix a few leaks
6780 in test cases; call gst_controller_init() at start
6783 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6785 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6786 (gst_controller_set_from_list):
6787 Don't g_return_val_if_fail() on timed values with invalid timestamps
6788 inside a critical section without unlocking the mutex. Spotted by
6789 René Stadler. (#357617)
6790 Also, fix up refcounting properly: when returning an existing
6791 controller, we should increase the reference only once and not
6792 once per property and when trying to control a property again
6793 we should also increase the refcount.
6795 2006-09-29 Wim Taymans <wim@fluendo.com>
6797 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6798 * libs/gst/net/gstnettimeprovider.c:
6799 (gst_net_time_provider_thread):
6800 Stop reading commands when EOF as well.
6802 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6803 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6804 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6805 Unify description of the dump property.
6807 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6809 * tests/examples/manual/.cvsignore:
6810 OK, so it's actually cvsignore that needs changing. Stop laughing.
6812 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6814 * tests/examples/manual/Makefile.am:
6815 Gah, declare vars *before* using them
6817 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6819 * gst/gst.c: (init_pre), (scan_and_update_registry),
6820 (ensure_current_registry_nonforking),
6821 (ensure_current_registry_forking), (ensure_current_registry),
6822 (init_post), (gst_debug_help), (gst_deinit):
6823 * gst/gst_private.h:
6824 * gst/gstregistry.c: (gst_registry_finalize),
6825 (gst_registry_remove_features_for_plugin_unlocked),
6826 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6827 (gst_registry_scan_path),
6828 (_priv_gst_registry_remove_cache_plugins),
6829 (_priv_gst_registry_cleanup):
6830 * gst/gstregistry.h:
6831 Re-commit the registry changes, along with an extra fix:
6832 When a cached plugin is encountered at a different file path,
6833 update the stored path in the registry cache so that the parent
6834 process knows where it actually is now when it re-reads the registry
6835 cache. Fixes the thing that broke distcheck with the previous commit.
6837 * tests/check/Makefile.am:
6838 Clean up files named 'core' too when running make clean.
6840 * tests/examples/manual/Makefile.am:
6841 Set up a registry path for running these tests, and clean it properly
6844 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6847 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6848 want gmodule-no-export-2.0.pc instead so that we don't drag in
6849 --export-dynamic on every project that links to GStreamer.
6851 Also, make our export regex only match the start of symbols, rather
6852 than any symbol that contains '_gst' somewhere.
6854 * libs/gst/check/Makefile.am:
6855 The libgstcheck we build does however need export-dynamic, as it
6856 produces some symbols that don't match our _gst... style regex.
6859 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6861 * gst/gst.c: (init_pre), (scan_and_update_registry),
6862 (ensure_current_registry_nonforking),
6863 (ensure_current_registry_forking), (ensure_current_registry),
6864 (init_post), (gst_debug_help), (gst_deinit):
6865 * gst/gst_private.h:
6866 * gst/gstregistry.c: (gst_registry_finalize),
6867 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6868 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6869 (_gst_registry_cleanup):
6870 * gst/gstregistry.h:
6871 Revert previous change until I figure out why it breaks distcheck.
6873 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6875 * gst/gst.c: (init_pre), (scan_and_update_registry),
6876 (ensure_current_registry_nonforking),
6877 (ensure_current_registry_forking), (ensure_current_registry),
6878 (init_post), (gst_debug_help), (gst_deinit):
6880 Make init_pre and init_post take the full complement of GOptionFunc
6881 args so they can return useful GErrors. Make the registry updating
6884 Call _priv_gst_registry_remove_cache_plugins after scanning files to
6885 ensure that the registry we're about to write out doesn't contain
6886 stale information about old-deleted plugin files.
6888 Make _priv_gst_registry_remove_cache_plugins return a boolean so
6889 that deletion of plugin files is considered a registry change.
6891 * gst/gst_private.h:
6892 * gst/gstregistry.c: (gst_registry_finalize),
6893 (gst_registry_remove_features_for_plugin_unlocked),
6894 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6895 (gst_registry_scan_path),
6896 (_priv_gst_registry_remove_cache_plugins),
6897 (_priv_gst_registry_cleanup):
6898 * gst/gstregistry.h:
6899 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6900 by adding _priv prefix, so that they won't appear in the global
6901 symbol table. They still do atm though because of #318031. Move the
6902 prototypes to gst_private.h
6904 When removing a plugin, remove all features for that plugin too.
6907 2006-09-27 Wim Taymans <wim@fluendo.com>
6909 * docs/random/moving-plugins:
6910 Make it clear that the "compiled-in descriptions" really mean
6911 the element details.
6913 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6914 (gst_base_sink_wait_preroll):
6917 * docs/libs/gstreamer-libs-sections.txt:
6918 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6919 (gst_base_src_get_range), (gst_base_src_activate_push):
6920 * libs/gst/base/gstbasesrc.h:
6921 Added function to block while waiting for PLAYING, this function
6922 is used by live sources that block on the clock.
6923 API: gst_base_src_wait_playing()
6925 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6927 Patch by: Peter Kjellerstedt <pkj at axis com>
6930 gst-element-check.m4 is generated and should therefore be
6931 copied from the build dir rather than the source dir (#357593).
6932 'make distcheck' hasn't noticed this because we were disting
6933 the file as well, so stop doing that.
6935 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6937 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6938 Add some tests for gst_caps_intersect().
6940 * tools/gst-launch.c: (event_loop):
6941 Print all buffering percentages we get, even the 100% one.
6943 2006-09-26 Wim Taymans <wim@fluendo.com>
6945 * tools/gst-inspect.c: (print_element_properties_info),
6946 (print_signal_info):
6947 Fix printing of flags to match the look of enums.
6949 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6951 * gst/gstelementfactory.c:
6952 Fix typo in docs blurb.
6954 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6956 * gst/gsturi.c: (search_by_entry):
6957 Don't assert/crash here if a uri handler doesn't return any
6958 supported protocols. The list of protocols could be generated
6959 dynamically at runtime or at plugin registration, and an error
6960 in the underlying library shouldn't be fatal (#353301).
6962 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6965 Fix warning if HAVE_PRINTF_EXTENSION is undefined
6966 (spotted by Peter Kjellerstedt).
6968 2006-09-23 Wim Taymans <wim@fluendo.com>
6970 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6972 * libs/gst/base/gstbasesrc.c:
6973 (gst_base_src_default_check_get_range), (gst_base_src_start),
6974 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6975 (gst_base_src_change_state):
6976 Match _start/_stop calls in the activate functions. Remove redundant
6977 _stop call from the state change function. Fixes #356910.
6978 Turn failure DEBUG into ERROR.
6980 2006-09-22 Wim Taymans <wim@fluendo.com>
6982 * docs/design/part-buffering.txt:
6983 * gst/gstmessage.c: (gst_message_new_buffering),
6984 (gst_message_parse_buffering):
6985 Update docs about buffering.
6987 * docs/design/part-trickmodes.txt:
6990 2006-09-22 Stefan Kost <ensonic@users.sf.net>
6992 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6993 (gst_controller_new_list):
6994 Ref instances when returning them again (fixes #357180)
6996 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
6998 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6999 Don't forget to release proxy lock when there's an error.
7001 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
7004 Add extra initialisers for Caps things, to fix some plugin warnings
7007 2006-09-18 Wim Taymans <wim@fluendo.com>
7009 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7010 Also set template on the internal pad so that a getcaps from the
7011 target pad returns the template caps.
7013 2006-09-18 Wim Taymans <wim@fluendo.com>
7015 * gst/gstelement.c: (gst_element_post_message),
7016 (gst_element_dispose):
7017 Use _DEBUG_OBJECT some more.
7019 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7022 * tools/gst-launch.c: (main):
7023 If the toplevel element is not a GstPipeline, it must be put in a
7024 pipeline so that a bus and clock is selected.
7026 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
7028 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7029 JITTER, RATE, and LATENCY query should be handled by the
7030 default case and not by the CONVERT query code.
7032 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
7034 * gst/gstformat.c: (gst_format_register):
7035 Fix locking order (must take lock before using n_values).
7037 * gst/gstvalue.c: (gst_value_serialize_enum),
7038 (gst_value_deserialize_enum_iter_cmp),
7039 (gst_value_deserialize_enum):
7040 Fix serialisation/deserialisation of custom registered GstFormats.
7042 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7043 Unit test for custom format serialisation/deserialisation.
7045 2006-09-17 Stefan Kost <ensonic@users.sf.net>
7047 * docs/pwg/building-boiler.xml:
7048 * plugins/elements/gstcapsfilter.c:
7049 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
7052 2006-09-16 Edward Hervey <edward@fluendo.com>
7054 * libs/gst/base/gstbasetransform.c:
7055 (gst_base_transform_buffer_alloc):
7056 Check if requested caps are the same as the sinks caps IF
7057 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
7059 This fixes the renegotiation issues stated in #352827.
7061 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
7064 * docs/manual/advanced-autoplugging.xml:
7065 * tests/examples/Makefile.am:
7066 * tests/examples/manual/.cvsignore:
7067 * tests/examples/manual/Makefile.am:
7068 * tests/examples/manual/extract.pl:
7069 Extract the manual examples again like we used to do.
7072 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
7074 * win32/common/config.h:
7077 2006-09-16 Stefan Kost <ensonic@users.sf.net>
7080 Documents how to receive errors.
7082 2006-09-15 Wim Taymans <wim@fluendo.com>
7084 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
7085 (event_loop), (main):
7086 Added some comments here and there.
7087 Post an application message when an interrupt is caught instead of doing
7088 an uncontrolled state change.
7089 Clean up the event loop.
7090 Handle buffering messages, pause/resume the pipeline.
7091 Make shutdown because of an interrupt more reliable.
7093 2006-09-15 Wim Taymans <wim@fluendo.com>
7095 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7096 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
7097 (gst_base_sink_preroll_object):
7098 Make sure that our internal state is correct when we commit our state
7099 asynchronously. This solves a race where a state change to PLAYING
7100 could cause the sink to remain blocked in preroll in some situations.
7102 2006-09-15 Wim Taymans <wim@fluendo.com>
7104 * tools/gst-inspect.c: (print_element_properties_info),
7105 (print_signal_info):
7106 List flags as hex so it's easier to deal with.
7108 2006-09-15 Wim Taymans <wim@fluendo.com>
7110 * docs/libs/gstreamer-libs-sections.txt:
7111 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
7112 (gst_base_sink_do_sync):
7113 * libs/gst/base/gstbasesink.h:
7114 Expose logic to wait for preroll so that subclasses such as audiosink
7115 can also use this method.
7116 API: gst_base_sink_wait_preroll()
7118 2006-09-15 Wim Taymans <wim@fluendo.com>
7120 * gst/gstobject.c: (gst_object_set_parent):
7121 * gst/gstpipeline.c: (do_pipeline_seek):
7122 Small cleanups in docs and code.
7124 * gst/gstsegment.c: (gst_segment_clip):
7125 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7126 if stop == start and start is in the segment, no clipping should be
7127 done. Also add a test for this.
7129 2006-09-15 Wim Taymans <wim@fluendo.com>
7131 * docs/design/part-buffering.txt:
7132 * docs/gst/gstreamer-sections.txt:
7133 * gst/gstmessage.c: (gst_message_new_buffering),
7134 (gst_message_parse_buffering):
7136 Added methods to create and parse BUFFERING messages.
7137 Added preliminary docs about buffering.
7138 API: gst_message_new_buffering
7139 API: gst_message_parse_buffering
7141 2006-09-06 Wim Taymans <wim@fluendo.com>
7144 Update documentation.
7146 * gst/gstelement.c: (gst_element_class_init),
7147 (gst_element_release_request_pad), (gst_element_set_clock),
7148 (gst_element_get_index), (gst_element_add_pad),
7149 (gst_element_remove_pad), (gst_element_get_random_pad),
7150 (gst_element_send_event), (gst_element_get_query_types),
7151 (gst_element_query), (gst_element_post_message),
7152 (gst_element_message_full), (gst_element_continue_state),
7153 (gst_element_lost_state), (gst_element_save_thyself),
7154 (gst_element_restore_thyself):
7155 Documentation updates.
7156 Rename last bit of the new-pad -> pad-added signal rename.
7157 Fix the case where an element query would only work if the source
7159 Avoid some useless type checking in message handling.
7164 Documentation updates.
7166 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7168 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7169 add an INFO line for when we actually update the fd
7171 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7176 === release 0.10.10 ===
7178 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7181 releasing 0.10.10, "Pais"
7183 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
7185 * docs/manual/advanced-position.xml:
7186 Fix typo in sample code.
7188 2006-09-05 Wim Taymans <wim@fluendo.com>
7190 * libs/gst/net/gstnetclientclock.c: (inet_aton),
7191 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7192 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
7193 * libs/gst/net/gstnetclientclock.h:
7194 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7195 * libs/gst/net/gstnettimepacket.h:
7196 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7197 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7198 (gst_net_time_provider_thread), (gst_net_time_provider_new):
7199 * libs/gst/net/gstnettimeprovider.h:
7200 Make stuff compile on windows. Fixes #345295.
7202 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
7204 * gst/gst.c: (ensure_current_registry_forking):
7205 Print better details when child was terminated by signal.
7207 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
7209 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7210 Print a warning rather than g_assert() if a plugin feature
7211 is a URI handler but returns no protocols (#353976).
7213 2006-09-02 Stefan Kost <ensonic@users.sf.net>
7215 * docs/random/moving-plugins:
7218 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
7220 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7221 Fix locking order, handle NULL function values properly.
7226 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7227 Initialise variable before using it and fix debug statement to
7228 print the address of the function rather than the address of the
7229 variable on the stack holding the address of the function.
7231 2006-09-01 Wim Taymans <wim@fluendo.com>
7233 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7234 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7235 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7236 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7237 (gst_ghost_pad_parent_unset),
7238 (gst_ghost_pad_internal_do_activate_push),
7239 (gst_ghost_pad_internal_do_activate_pull),
7240 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7241 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7242 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7243 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7244 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7245 (gst_ghost_pad_new_no_target_from_template),
7246 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7248 Avoid needless typechecking in macros.
7249 Since the internal pad is always present and never changes, there is
7250 no need to locking or ref when retrieving it.
7251 Improve debugging a bit.
7252 Handle link errors when setting the target. Fixes #341029.
7254 2006-09-01 Wim Taymans <wim@fluendo.com>
7256 * docs/libs/gstreamer-libs-sections.txt:
7257 * docs/plugins/gstreamer-plugins-sections.txt:
7260 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7261 (gst_collect_pads_event):
7262 * libs/gst/base/gstcollectpads.h:
7263 Documentation updates.
7264 Free queued buffer when removing a pad.
7266 2006-08-31 Michael Smith <msmith@fluendo.com>
7268 * gst/gstutils.c: (gst_element_link_pads),
7269 (gst_element_link_pads_filtered):
7270 Ensure that we set a capsfilter to NULL if we failed to link it
7271 when doing filtered linking, to avoid criticals.
7273 No need to check for unreffing srcpad, which is explicly NULLed
7274 above (a trivial code cleanup).
7276 2006-08-31 Wim Taymans <wim@fluendo.com>
7278 * docs/design/part-gstghostpad.txt:
7279 Update ascii art in documentation.
7281 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7282 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7283 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7284 (gst_ghost_pad_internal_do_activate_push),
7285 (gst_ghost_pad_internal_do_activate_pull),
7286 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7287 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7288 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7289 (gst_ghost_pad_set_target):
7290 Small cleanups and leak fixes.
7291 Remove some checks now that the internal pad is never NULL.
7292 Fix the case where linking pads without a target would create nasty
7293 criticals. Fixes #341029.
7294 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7295 value of _set_target().
7297 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7298 (gst_ghost_pad_suite):
7299 Some more tests for creating and linking untargeted ghostpads.
7301 2006-08-31 Edward Hervey <edward@fluendo.com>
7303 * docs/gst/gstreamer-sections.txt:
7304 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7305 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7306 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7307 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7308 (gst_ghost_pad_new_from_template),
7309 (gst_ghost_pad_new_no_target_from_template):
7310 * gst/gstghostpad.h:
7311 Refactored *_new() functions.
7312 Templates are now used as a g_object_new() parameter.
7313 Use template in _do_getcaps() if we don't have a target.
7314 Small documentation cleanups.
7315 Added two new constructors:
7316 gst_ghost_pad_new_from_template()
7317 gst_ghost_pad_new_no_target_from_template()
7318 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7319 (gst_ghost_pad_suite):
7320 Added tests for new ghostpad instanciation functions.
7322 API additions: gst_ghost_pad_new_from_template,
7323 gst_ghost_pad_new_no_target_from_template
7325 2006-08-30 Stefan Kost <ensonic@users.sf.net>
7327 * docs/random/ensonic/profiling.txt:
7328 Ideas about qos profiling.
7330 2006-08-29 Wim Taymans <wim@fluendo.com>
7332 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7336 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
7339 Improve and detypofy docs.
7341 * tests/check/Makefile.am:
7342 * tests/check/gst/.cvsignore:
7343 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7344 Add a basic test suite for GstXML.
7346 2006-08-29 Wim Taymans <wim@fluendo.com>
7348 * gst/gstelement.c: (activate_pads), (clear_caps),
7349 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7350 Clear the pad caps when the element shut down all of the pads and
7351 is not streaming data that could modify the caps.
7354 2006-08-28 Michael Smith <msmith@fluendo.com>
7356 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7357 Revert previous change; I misunderstood single-segment mode.
7359 2006-08-28 Michael Smith <msmith@fluendo.com>
7361 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7362 Unset DISCONT on buffers when using single-segment mode.
7364 2006-08-28 Wim Taymans <wim@fluendo.com>
7366 * gst/gstcaps.c: (gst_caps_merge_structure):
7368 Fix docs and indentation again.
7370 * tests/check/gst/gstquery.c: (GST_START_TEST):
7371 Fix leak in tests and add some more tests.
7373 2006-08-28 Edward Hervey <edward@fluendo.com>
7375 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7376 Inform GstSegment of the last stop position in order for the current
7377 segment to have a proper duration if it doesn't have a specific stop
7378 position from which a duration could be calculated.
7379 This bug was noticeable when a non-flushing, non-update new segment was
7380 followed by another segment (all buffers from the new segment were being
7383 2006-08-28 Wim Taymans <wim@fluendo.com>
7385 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7386 Small comment update.
7388 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7389 (gst_identity_transform_ip):
7390 Drop-probability is broken, mention this in the code with a
7391 FIXME and also in the property description.
7392 Make silent also be silent about the drop messages.
7394 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
7396 * docs/manual/appendix-win32.xml:
7397 Remove mention of popt, we don't depend on that any
7398 longer (#353136). Add some comments pointing out that
7399 this section is slightly outdated.
7401 2006-08-28 Wim Taymans <wim@fluendo.com>
7403 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7405 * gst/gstquery.c: (gst_query_new_segment):
7406 * tests/check/gst/gstquery.c: (GST_START_TEST):
7407 Initialize variables when creating a new segment query.
7410 2006-08-28 Wim Taymans <wim@fluendo.com>
7412 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7414 * gst/gstelement.c: (gst_element_get_bus):
7415 * tests/check/gst/gstelement.c: (GST_START_TEST):
7416 Check for NULL before _reffing the bus. Fixes #353122.
7418 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
7420 * docs/manual/basics-bus.xml:
7421 Docs update: fix wrong callback return value explanation; add
7422 some lines about the implicit relationship between main loop
7423 and main context; remove duplicate main loop variable declaration.
7425 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
7427 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7428 Don't leak caps in unit test; add a few more simple
7431 2006-08-24 Stefan Kost <ensonic@users.sf.net>
7433 * docs/gst/gstreamer-sections.txt:
7434 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7435 (gst_caps_structure_is_subset), (gst_caps_merge),
7436 (gst_caps_merge_structure):
7438 * libs/gst/base/gstbasetransform.c:
7439 (gst_base_transform_transform_caps):
7440 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7441 implement caps merging (fixes #352580)
7443 2006-08-23 Stefan Kost <ensonic@users.sf.net>
7445 * tools/Makefile.am:
7446 * tools/gst-plot-timeline.py:
7447 add debug-log plotting developer tool (#340674)
7449 2006-08-23 Wim Taymans <wim@fluendo.com>
7451 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7452 (gst_pad_stop_task):
7453 Improve debugging for task functions.
7455 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7456 (gst_task_start), (gst_task_pause), (gst_task_join):
7457 Make sure that the task function started and finished after a
7459 Don't try to push the task function on the threadpool multiple
7461 Improve the g_warning message with some useful suggestions
7462 about how to fix the problem.
7464 2006-08-23 Wim Taymans <wim@fluendo.com>
7466 * gst/gstutils.c: (gst_pad_proxy_getcaps):
7467 Handle RESYNC correctly in _proxy_getcaps.
7469 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
7471 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7472 (gst_xml_parse_memory), (gst_xml_get_element):
7473 Chain up to parent class in dispose function and also
7474 unref the elements in the toplevel_elements GList.
7475 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7476 Always return a reference in gst_xml_get_element() rather
7477 than only sometimes.
7479 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7480 Don't leak GstXml object.
7482 2006-08-21 Stefan Kost <ensonic@users.sf.net>
7484 * docs/gst/gstreamer-sections.txt:
7485 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7488 * libs/gst/base/gstbasetransform.c:
7489 (gst_base_transform_transform_caps):
7490 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7493 2006-08-21 Edward Hervey <edward@fluendo.com>
7495 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7496 Implement GObject::dispose virtual method in GstXML so we can free the
7499 2006-08-21 Wim Taymans <wim@fluendo.com>
7501 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7502 (gst_buffer_create_sub):
7503 Copy duration/offset_end/caps when creating a subbuffer of the
7505 Make the subbuffer read-only when we make the metadata writable for
7508 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7509 Added check for metadata copy when creating subbuffers.
7511 2006-08-21 Edward Hervey <edward@fluendo.com>
7513 * libs/gst/base/gstbasetransform.c:
7514 (gst_base_transform_buffer_alloc):
7515 Only call downstream buffer_alloc if transform element is passthrough
7516 or always_in_place. Closes #350449.
7518 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7521 ChangeLog surgery to add comments to previous changes
7523 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7528 * gst/gstpad.c: (gst_pad_set_active):
7529 Be more verbose in the log
7531 * libs/gst/base/gstbasetransform.c:
7532 (gst_base_transform_transform_caps):
7533 Simplify caps to get rid of duplicates, fixes #345444
7535 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7539 Use these optimizations only internally.
7541 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7543 * gst/gstvalue.c: (gst_value_compare_list),
7544 (gst_value_compare_fraction_range),
7545 (gst_value_intersect_fraction_fraction_range),
7546 (gst_value_intersect_fraction_range_fraction_range),
7547 (gst_value_subtract_fraction_fraction_range),
7548 (gst_value_subtract_fraction_range_fraction_range),
7549 (gst_value_get_compare_func), (gst_value_compare),
7550 (gst_value_compare_with_func):
7552 Saves the expensive lookup of the compare function in many cases
7555 2006-08-18 Edward Hervey <edward@fluendo.com>
7557 * tests/check/gst/gstinfo.c: (gst_info_suite):
7558 Disable test that require gstdebug if it wasn't built in core.
7560 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7562 * docs/random/ensonic/logging.txt:
7565 * gst/gstinfo.c: (gst_debug_log_default):
7566 reorder fields, save some columns, add optional color codes for log
7569 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7571 * docs/random/ensonic/logging.txt:
7572 add ideas about making the logs a bit more useful
7574 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7576 * docs/pwg/advanced-events.xml:
7577 * docs/pwg/titlepage.xml:
7578 Update for 0.10 API (#340627). Add myself
7581 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7583 * docs/libs/gstreamer-libs-docs.sgml:
7584 * docs/libs/gstreamer-libs-sections.txt:
7585 * libs/gst/check/gstbufferstraw.c:
7586 Make gstcheck stuff show up in docs (still needs to
7587 be documented properly though).
7589 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
7591 * docs/gst/gstreamer-sections.txt:
7593 * gst/gst.c: (init_post):
7594 * gst/gst_private.h:
7595 * gst/gstquark.c: (_priv_gst_quarks_initialize):
7597 * gst/gstquery.c: (gst_query_new_position),
7598 (gst_query_set_position), (gst_query_parse_position),
7599 (gst_query_new_duration), (gst_query_set_duration),
7600 (gst_query_parse_duration), (gst_query_new_convert),
7601 (gst_query_set_convert), (gst_query_parse_convert),
7602 (gst_query_new_segment), (gst_query_set_segment),
7603 (gst_query_parse_segment), (gst_query_new_seeking),
7604 (gst_query_set_seeking), (gst_query_parse_seeking):
7605 Add internal helpers for pre-registering quarks from static strings
7606 and using the quark values directly instead of looking them up when
7607 creating and parsing queries. Can be used for event construction too.
7610 2006-08-16 Wim Taymans <wim@fluendo.com>
7615 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7617 * gst/gstutils.c: (gst_util_set_value_from_string):
7618 Fix memleak (#351502).
7620 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7621 Add unit test for most of gst_util_set_value_from_string()
7622 (not that one would want to encourage use of this function).
7624 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7626 * libs/gst/check/gstcheck.h:
7627 Use const gchar * variables in fail_unless_equals_string
7628 macro to avoid compiler warnings (and don't use tabs for
7631 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7633 * tools/gst-launch.c: (print_tag):
7634 More space on the left for the tag names, to cater
7635 for the 'extended comment' tag (not touching the
7636 string for the first line since it's translated).
7638 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7640 * libs/gst/check/gstcheck.h:
7641 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7642 print something when they fail.
7644 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7646 * docs/gst/gstreamer-sections.txt:
7647 * gst/gsttaglist.c: (_gst_tag_initialize):
7649 API: add GST_TAG_EXTENDED_COMMENT (#350935).
7650 Also change merge function for GST_TAG_COMMENT to
7653 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7655 * gst/gstinfo.c: (gst_debug_print_object):
7656 Make GST_PTR_FORMAT print messages as well.
7658 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7659 (GST_START_TEST), (gst_info_suite):
7662 2006-08-14 Edward Hervey <edward@fluendo.com>
7664 * gst/gstelementfactory.c: (gst_element_register):
7665 If the GstElementClass doesn't have a GstElementDetails with all fields
7666 filled up correctly (longname, description AND author), then error out
7667 nicely instead of crashing.
7669 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7671 * gst/gststructure.c:
7672 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7675 Expand on the difference between arrays and lists as we use them.
7677 2006-08-14 Wim Taymans <wim@fluendo.com>
7679 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7680 If the parent state change function failed, don't assume we can safely
7681 stop the source, this will be done when the pads are deactivated.
7683 2006-08-14 Wim Taymans <wim@fluendo.com>
7686 * gst/gsttask.c: (gst_task_join):
7689 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7690 (gst_pad_stop_task):
7691 When pad (de)activation failed for some reason, restore the old
7692 activation mode and set the pad to flushing instead of assuming the
7694 If the _task_join() failed, reinstall the task on the pad so that it can
7695 be stopped later and return an error.
7697 2006-08-11 Andy Wingo <wingo@pobox.com>
7700 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7701 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7702 is only for users of API that don't want to see deprecated
7703 functions in the headers; people that want to compile out
7704 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7705 CFLAGS. Fixes the build of multifdsink, or will soon..
7707 2006-08-11 Wim Taymans <wim@fluendo.com>
7709 * docs/gst/gstreamer-sections.txt:
7710 Add GstClockClass vmethod docs.
7713 Mark #endif with comment for associated #if
7715 * gst/gstclock.c: (gst_clock_id_wait):
7717 Add vmethod wait_jitter to avoid an unneeded _get_time() for
7718 most clock implementations.
7720 Flesh out docs about resolution methods.
7721 API: GstClockClass::wait_jitter
7723 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7724 (gst_system_clock_async_thread),
7725 (gst_system_clock_id_wait_jitter_unlocked),
7726 (gst_system_clock_id_wait_jitter):
7727 Use base class wait_jitter variant for improved performance
7728 due to less clock polling.
7730 2006-08-11 Edward Hervey <edward@fluendo.com>
7732 * gst/gst.c: (gst_init_check), (init_post):
7733 Set gst as being initialized before scanning/updating the registry,
7734 since there might be my python plugin loader that calls gst_init() and
7735 we don't want to loop back in.
7738 2006-08-11 Wim Taymans <wim@fluendo.com>
7740 * docs/design/part-qos.txt:
7741 Bring docs in line with the code. Mostly the sign of the jitter was
7742 wrong in the docs. Fixes #349943.
7745 Fix the docs for the jitter.
7747 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7748 (gst_event_parse_tag), (gst_event_new_buffer_size),
7749 (gst_event_parse_buffer_size), (gst_event_parse_qos),
7750 (gst_event_new_seek), (gst_event_parse_seek),
7751 (gst_event_new_navigation):
7752 Make sure the GstStructure has no parent when creating custom
7754 Add some more argument checking so that we avoid 0.0 rates.
7755 Flesh out the docs for the QoS event some more.
7757 2006-08-11 Wim Taymans <wim@fluendo.com>
7759 * docs/gst/gstreamer-sections.txt:
7760 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7761 (ensure_current_registry_forking), (ensure_current_registry),
7762 (parse_one_option), (parse_goption_arg), (gst_deinit),
7763 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7766 Added API and command line option to disable registry forking in
7767 addition to the environment variable.
7768 Constify some static arrays.
7769 Added some more debug.
7771 API: gst_registry_fork_is_enabled()
7772 API: gst_registry_fork_set_enabled()
7773 API: --gst-disable-registry-fork command line option
7776 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
7778 * gst/gst.c: (gst_init):
7779 Fix typo in error message.
7781 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7783 * libs/gst/controller/gstcontroller.h:
7784 fix ABI size-correction
7786 * tests/check/libs/gdp.c: (gst_dp_suite):
7787 make tests that use deprecated API conditional
7789 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7791 * docs/libs/gstreamer-libs-sections.txt:
7792 * libs/gst/controller/gstcontroller.c:
7793 (_gst_controller_get_property), (_gst_controller_set_property),
7794 (_gst_controller_init), (_gst_controller_class_init):
7795 * libs/gst/controller/gstcontroller.h:
7796 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7797 (gst_object_set_control_rate):
7798 API: add gst_object_{s,g}et_control_rate(), add private data section,
7801 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7802 * libs/gst/dataprotocol/dataprotocol.h:
7803 add deprecation guards to make gtk-doc happy and allow disabling cruft
7805 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
7807 * tests/check/Makefile.am:
7808 * tests/check/gst/.cvsignore:
7809 Let's enable the new unit test as well.
7811 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
7814 * docs/gst/gstreamer-sections.txt:
7815 * gst/gstconfig.h.in:
7816 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7817 (_gst_info_printf_extension_ptr),
7818 (_gst_info_printf_extension_segment):
7819 API: add GST_SEGMENT_FORMAT, which is a printf extension we
7820 register that lets us easily dump GstSegments into debug
7823 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7824 (info_segment_format_printf_extension), (gst_info_suite):
7825 Add simple unit test that logs a bunch of different segments (not
7826 valgrinded at the moment because of leaks in
7827 gst_debug_add_log_function).
7829 2006-08-09 Edward Hervey <edward@fluendo.com>
7831 * libs/gst/base/gstbasetransform.c:
7832 (gst_base_transform_buffer_alloc):
7833 Even if we can't figure out the proper format to request downstream,
7834 call buffer_alloc() downstream with the input parameters without setting
7835 the caps on the srcpad. This will force negotiation in the chain
7839 2006-08-08 Edward Hervey <edward@fluendo.com>
7841 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7842 Unlinking from a pad without a target is now a perfectly valid case
7843 which should NOT raise an assertion.
7844 This case would happen if a linked ghostpad its target set to NULL after
7845 it was previously linked.
7847 2006-08-08 Edward Hervey <edward@fluendo.com>
7849 * tests/check/libs/gdp.c:
7850 Also comment out the test (see below).
7852 2006-08-08 Edward Hervey <edward@fluendo.com>
7854 * tests/check/libs/gdp.c: (gst_dp_suite):
7855 Use the architecture information from config.h and not gcc macros
7856 in order to properly disable a test that fails on PPC64.
7858 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
7860 * gst/gstelement.c: (gst_element_remove_pad):
7861 Don't crash printing the warning if the pad has no parent.
7863 2006-08-02 Wim Taymans <wim@fluendo.com>
7865 * libs/gst/dataprotocol/dataprotocol.c:
7866 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7867 (gst_dp_crc), (gst_dp_header_payload_length),
7868 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7869 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7870 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7871 (gst_dp_event_from_packet), (gst_dp_validate_header),
7872 (gst_dp_validate_payload):
7873 Make debug category static
7874 Constify the crc table.
7875 Do some more arg checking in public functions.
7876 Fix some docs and do some small cleanups.
7878 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7879 Add some more checks to see if GDP deals with bogus input.
7881 2006-07-31 Wim Taymans <wim@fluendo.com>
7883 * gst/gstvalue.c: (gst_value_compare_list):
7884 Fix GstValueList comparison code. Fixes #347293.
7886 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7887 Check to test GstValueList comparison.
7889 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7891 * gst/gstelementfactory.c: (gst_element_factory_create):
7892 Remove unnecessary ref/unref pair
7894 * gst/parse/grammar.y:
7895 Make sure to free the parse buffer on all code paths.
7896 Move a g_free up to the error handler where it's easier to see.
7898 * tests/check/gst/gstevent.c: (test_event):
7899 Extending timeout for downstream travelling events to 10 seconds to
7900 hopefully avoid intermittent failure on the buildbots.
7902 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7903 Don't manually set the state of the src element - it will happen as a
7904 natural consequence of the pipeline changing state, and that way it
7905 will do it in the right order too.
7907 2006-07-31 Wim Taymans <wim@fluendo.com>
7909 * libs/gst/base/gstbasetransform.c:
7910 (gst_base_transform_buffer_alloc):
7911 Use OBJECT_LOCK and refcounting to get the pad caps in the
7912 buffer_alloc function because the caps could change while we are
7913 busy with them. Fixes #349105
7915 2006-07-31 Wim Taymans <wim@fluendo.com>
7917 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7918 Protect _PAD_CAPS with OBJECT_LOCK.
7920 2006-07-31 Wim Taymans <wim@fluendo.com>
7922 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7923 (gst_pad_get_property), (gst_pad_activate_pull),
7924 (gst_pad_activate_push), (gst_pad_set_blocked_async),
7925 (gst_pad_set_activate_function),
7926 (gst_pad_set_activatepull_function),
7927 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7928 (gst_pad_set_getrange_function),
7929 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7930 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7931 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7932 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7933 (gst_pad_set_acceptcaps_function),
7934 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7935 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7936 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7937 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7938 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7939 (gst_pad_configure_sink), (gst_pad_configure_src),
7940 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7941 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7942 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7943 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7944 (gst_pad_send_event):
7945 Use _DEBUG_OBJECT when it makes sense.
7946 Protect GST_PAD_CAPS with the OBJECT_LOCK.
7947 Small cleanups and code reflows.
7948 Avoid caps refcounting in _accept_caps.
7949 Refactor alloc_buffer so that the code performed on the peer is in a
7950 separate function. Also if the pad does not implement a buffer alloc
7951 function, we should still check if the pad is flushing before falling
7952 back to the default allocator.
7954 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7956 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7957 Make all uses of identity and fakesink have silent=true to avoid
7958 serialising every passing data structure, which is breaking tests
7959 on FC4 for some unknown reason.
7961 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7963 * gst/parse/Makefile.am:
7964 * gst/parse/grammar.y:
7965 * gst/parse/parse.l:
7966 Reverted previous patch as it required to bump the flex dependency to
7967 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7969 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7971 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7973 * gst/parse/Makefile.am:
7974 * gst/parse/grammar.y:
7975 * gst/parse/parse.l:
7976 push & pop the state of the lexer for reentrant use case
7979 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
7981 * libs/gst/base/gstbasesrc.h:
7982 Note in the docs that the ::newsegment vfunc is not actually used by
7985 2006-07-28 Wim Taymans <wim@fluendo.com>
7987 * libs/gst/base/gstcollectpads.c:
7988 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7989 (gst_collect_pads_clear), (gst_collect_pads_flush),
7990 (gst_collect_pads_event), (gst_collect_pads_chain):
7991 When flushing a pad, also clear the queued buffer so that we don't
7992 accidentally use it when we shouldn't.
7993 Fix leaks by inreffing incomming buffer.
7994 Flush out queued buffers in case of errors.
7997 2006-07-28 Wim Taymans <wim@fluendo.com>
7999 * docs/random/phonon-gst:
8000 Random notes about a Phonon backend.
8002 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
8004 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8006 * tests/check/libs/gdp.c: (gst_dp_suite):
8007 Take a whack at fixing the ppc compile using a different define to
8008 disable the broken test.
8010 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8011 Remove excess g_print()
8013 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
8015 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8016 Oops, meant to uncomment this line too to dampen the noise a bit.
8018 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
8020 * gst/parse/grammar.y:
8021 * gst/parse/parse.l:
8022 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8023 (GST_START_TEST), (parse_suite):
8024 Fix some of the leaks exposed by extending the parse-launch testsuite,
8025 and move the 3 I can't figure out into a separate test that won't run
8026 the pipelines unless the appropriate line is uncommented.
8028 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
8030 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8031 Requesting 0 bytes before the end of the file should result in
8032 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
8035 2006-07-27 Wim Taymans <wim@fluendo.com>
8037 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
8038 Fix useless assert, a uint is always positive.
8040 * gst/gststructure.c: (gst_structure_nth_field_name),
8041 (gst_structure_foreach), (gst_structure_map_in_place):
8042 Check input arguments for public functions to avoid obvious crashes.
8044 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
8045 * plugins/elements/gstfakesink.h:
8046 Do less useless typechecking.
8048 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
8050 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8051 Do not use mmap() by default since there are a number of error
8052 conditions that we would like to handle in a non-fatal way that
8053 will result in a SIGBUS if we use mmap(). Examples: external
8054 devices (USB harddrive, portable music player) being unplugged
8055 while in use; file on mounted CD/DVD that can't be read because
8056 the medium is partly damaged. Fixes #348455 and #348475.
8058 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
8061 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
8064 2006-07-26 Stefan Kost <ensonic@users.sf.net>
8066 * gst/gstregistry.c:
8067 Move big documentation comment into class section header, so that it
8068 appears in the API docs.
8070 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
8072 * docs/gst/gstreamer-sections.txt:
8073 Oops. Commit the docs additions too for new API.
8074 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
8076 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
8078 * gst/gststructure.c: (gst_structure_id_set),
8079 (gst_structure_id_set_valist):
8080 * gst/gststructure.h:
8081 Add API for setting values into structures without performing
8082 a quark lookup, if the appropriate quark is already known.
8084 API: gst_structure_id_set
8085 API: gst_structure_id_set_valist
8087 * gst/parse/grammar.y:
8088 * gst/parse/parse.l:
8089 Remove some dead code shown by the coverage information.
8090 Don't throw a critical g_warning when encountering a syntax error,
8091 just warn and let the normal error path handle it.
8093 * plugins/elements/gstelements.c:
8094 Bump the rank of filesink up to PRIMARY so that it is preferred over
8095 gnomevfssink for file:// sink uri's
8097 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8098 (GST_START_TEST), (run_delayed_test),
8099 (gst_parse_test_element_base_init),
8100 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
8101 (gst_parse_test_element_change_state),
8102 (gst_register_parse_element), (parse_suite):
8103 Beef up the tests for parse syntax to check that more error cases
8104 fail as they are supposed to. Increases the test coverage a bit.
8106 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
8108 * docs/manual/basics-elements.xml:
8109 Fix gst_element_link() example.
8112 Mention in API docs that one should usually gst_bin_add()
8113 elements to a bin or pipeline before doing the linking.
8115 2006-07-26 Wim Taymans <wim@fluendo.com>
8117 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
8118 (gst_subbuffer_get_type), (gst_buffer_create_sub):
8119 Avoid function call for known types by keeping the buffer and
8120 subbuffer GType global.
8122 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8123 Random silly optimisations in read() path.
8125 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
8127 * tools/gst-launch.c: (main):
8128 If the top-level of the parse is a normal bin, it doesn't do the
8129 right logic to run as a top-level element, so place it inside a
8132 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
8134 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
8135 Remove superfluous g_object_notify() calls, GObject does
8136 that for us automatically.
8138 2006-07-25 Stefan Kost <ensonic@users.sf.net>
8141 on Win32, use dllspec to export the debug category symbols
8143 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
8145 * gst/gsttaglist.c: (_gst_tag_initialize):
8146 Allow more than one GST_TAG_IMAGE per taglist.
8148 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
8150 * gst/gstminiobject.c:
8152 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
8153 (gst_fd_src_create):
8154 log recurring events at LOG level
8155 add more debug for when the fd gets set
8157 2006-07-21 Stefan Kost <ensonic@users.sf.net>
8159 * gst/gstparse.c: (gst_parse_launch):
8160 Also remove reentrance checks if flex is MT safe (#348179)
8161 Fix my empty ChangeLog entry below
8163 2006-07-21 Andy Wingo <wingo@pobox.com>
8165 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
8167 * libs/gst/check/Makefile.am
8168 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
8169 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
8170 * libs/gst/check/gstbufferstraw.h:
8171 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
8172 functions, thus proving I am still a GStreamer haxor. OK I wrote
8173 them a long time ago, but anyways.
8175 2006-07-21 Stefan Kost <ensonic@users.sf.net>
8178 * gst/gstparse.c: (gst_parse_launch):
8179 Check for flex version and omit mutex if we have a MT save flex
8182 2006-07-21 Wim Taymans <wim@fluendo.com>
8184 * gst/gstparse.c: (gst_parse_launch):
8185 Protect recursive calls to _parse with a recursive mutex
8188 2006-07-21 Wim Taymans <wim@fluendo.com>
8190 * tests/check/gst/gstpad.c: (GST_START_TEST):
8193 2006-07-20 Stefan Kost <ensonic@users.sf.net>
8195 * gst/gstparse.c: (gst_parse_launch):
8196 Do not hang on recursive usage of gst_parse_launch()
8198 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
8201 Add some more docs, comments and FIXME 0.11s here and there
8202 and also fix some typos.
8204 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
8207 Convert tabs to spaces for better readability.
8209 2006-07-20 Edward Hervey <edward@fluendo.com>
8211 * tests/check/libs/gdp.c: (gst_dp_suite):
8212 the test_buffer test fails at line 140 on ppc64 at the following
8214 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8215 GST_BUFFER_FLAG_IN_CAPS),
8216 "GST_BUFFER_IN_CAPS flag should have been copied !");
8217 See bug #348114 for more details.
8219 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
8221 * docs/pwg/advanced-scheduling.xml:
8223 Fix typos (#348000).
8225 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
8227 * docs/pwg/intro-basics.xml:
8228 Fix wrong links (#347927).
8230 2006-07-18 Stefan Kost <ensonic@users.sf.net>
8232 * gst/gstregistry.h:
8233 * gst/gstregistryxml.c: (load_feature),
8234 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8235 * win32/common/config.h:
8236 make --disable-index work (#342564)
8238 2006-07-18 Wim Taymans <wim@fluendo.com>
8240 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8244 The attached patch adds two missing defines to gsttrace.h when tracing
8245 is disabled. It also corrects one existing define.
8248 2006-07-17 Wim Taymans <wim@fluendo.com>
8250 * docs/gst/gstreamer-sections.txt:
8251 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8253 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8254 Add two functions to check and change the SIGSEGV behaviour
8255 when loading plugins.
8256 Don't mess with the SIGSEGV handler when we were told not to.
8258 API: gst_segtrap_is_enabled
8259 API: gst_segtrap_set_enabled
8261 2006-07-14 Wim Taymans <wim@fluendo.com>
8263 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8264 * tests/check/elements/filesrc.c: (GST_START_TEST):
8265 Revert fix for regression in #347408 after release.
8267 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
8269 Patch by: Antoine Tremblay <hexa00 at gmail com>
8271 * gst/gstutils.c: (gst_element_unlink):
8272 Free iterator when done (#347311).
8274 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8275 And add a test case for this.
8277 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
8280 Bump nano back to CVS
8282 === release 0.10.9 ===
8284 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
8287 releasing 0.10.9, "On the road again"
8289 2006-07-13 Wim Taymans <wim@fluendo.com>
8291 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8292 * tests/check/elements/filesrc.c: (GST_START_TEST):
8293 Revert pull-0 fix for release. Disable check. Fixes #347408.
8295 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8297 * libs/gst/dataprotocol/dataprotocol.c:
8298 (gst_dp_event_from_packet_1_0):
8299 Fixes #347337: failure to deserialize event packets with
8300 empty payload (only event type)
8302 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8305 do not install a .c file in the header directory
8307 2006-07-13 Edward Hervey <edward@fluendo.com>
8309 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8310 GhostPad no longer implicitely use the padtemplates of the targets.
8313 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
8315 * gst/gstvalue.c: (gst_value_compare_list),
8316 (gst_value_compare_array), (_gst_value_initialize):
8317 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8318 Make GstValueArray comparison be order dependent as designed.
8319 Add checks for value lists and value array comparisons.
8322 2006-07-11 Edward Hervey <edward@fluendo.com>
8324 * gst/gstbin.c: (activate_pads),
8325 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8326 (gst_bin_change_state_func):
8327 (de)activate src pads before calling state_change on the childs.
8328 This is to avoid the case where a src ghostpad is blocked (holding the
8329 stream lock), which would block the deactivation of the ghostpad's
8331 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8332 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8333 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8334 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8335 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8336 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8337 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8338 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8339 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8340 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8341 (gst_ghost_pad_class_init),
8342 (gst_ghost_pad_internal_do_activate_push),
8343 (gst_ghost_pad_internal_do_activate_pull),
8344 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8345 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8346 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8347 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8348 GhostPads now create their internal GstProxyPad at creation (and not
8349 when they're linked, as it was being done previously).
8350 The internal and target pads are linked straight away.
8351 The data will also travel through the other pad in order to make
8352 pad blocking and probes non-hackish (the probe/block now really happens
8353 on the GhostPad and not on the target).
8354 * gst/gstpad.c: (gst_pad_set_blocked_async),
8355 (gst_pad_link_prepare), (gst_pad_push_event):
8356 Remove previous ghostpad cruft.
8357 * gst/gstutils.c: (gst_pad_add_data_probe),
8358 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8359 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8360 (gst_pad_remove_buffer_probe):
8361 Remove previous ghost pad cruft.
8362 Added more detailed debug statements.
8363 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8364 Fix the testsuite for refcounting changes.
8365 The comments about who has references were correct, but the refcount
8366 being checked wasn't the same (!?!).
8370 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8372 * docs/gst/gstreamer-sections.txt:
8373 * gst/gstconfig.h.in:
8374 More docs for configuration options, add docs to gtk-doc.
8376 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8379 * gst/gstconfig.h.in:
8380 * win32/common/config.h:
8381 Fix build when disabling tracing (fixes #344016). Also start to document
8382 the defines that disable the sub-systems.
8384 2006-07-10 Edward Hervey <edward@fluendo.com>
8386 * gst/gst.c: (ensure_current_registry_forking):
8387 let's make valgrind happy...
8389 2006-07-09 Wim Taymans <wim@fluendo.com>
8391 * gst/gstelement.c: (activate_pads),
8392 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8393 Better pad activation code: Reset the collect value too on resync.
8396 2006-07-09 Wim Taymans <wim@fluendo.com>
8398 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8399 (gst_pad_activate_push):
8400 Use some more macros where it makes sense.
8401 Allow pad mode switching instead of asserting. When a pad
8402 is activated in one mode and we activate it in another,
8403 deactivate it first before activating it in a different mode.
8406 2006-07-08 Andy Wingo <wingo@pobox.com>
8408 * tools/gst-launch.c (main): Handle err == NULL.
8410 * gst/gst.c (init_post, ensure_current_registry)
8411 (ensure_current_registry_forking)
8412 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8413 factoring out the registry scanning into separate functions. Don't
8414 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8415 Better environment var name/interface suggestions accepted.
8417 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8419 * gst/gstobject.c: (gst_object_set_name_default),
8420 (gst_object_set_name):
8421 Random micro-optimisation: don't use a hash table
8422 with strings as keys and the usual strdup/strcmp
8423 involved, but rather just use the GQuark of the
8424 type name as key, since it needs to be looked up
8425 anyway to get the type name string.
8427 * tests/check/gst/gstobject.c: (GST_START_TEST):
8430 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8432 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8433 (gst_bin_iterate_all_by_interface):
8434 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8435 GTypes are gulongs and thus the top 4 bytes might be cut
8436 off on some platforms when doing GPOINTER_TO_INT, leading
8437 to invalid GTypes and bad things happening (see RH bug #179654).
8438 Also add a check to make sure the type passed in is really
8441 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8446 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8450 * gst-element-check.m4:
8451 * gst-element-check.m4.in:
8452 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8453 instead of the unversioned gst-inspect (#324176, #168659).
8455 2006-07-06 Wim Taymans <wim@fluendo.com>
8458 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8461 2006-07-06 Wim Taymans <wim@fluendo.com>
8463 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8464 (gst_base_src_wait), (gst_base_src_update_length),
8465 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8466 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8467 (gst_base_src_loop), (gst_base_src_start),
8468 (gst_base_src_activate_pull):
8470 blocksize == 0 now means the default blocksize when working in push
8472 Remove some pointless asserts in _wait function.
8473 Fix offset/length calculations and EOS handling. We can now pull 0
8474 bytes as well, which is allowed.
8475 use _check_get_range() to decide if we can operate in _pull based
8477 Fix refcounting leak when check_get_range function was not
8479 API GstBaseSrc::blocksize range can be 0 too now (default)
8481 * tests/check/elements/filesrc.c: (GST_START_TEST),
8483 Added check to test _get_range() behaviour.
8485 2006-07-06 Wim Taymans <wim@fluendo.com>
8487 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8488 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8489 (gst_pad_pull_range):
8491 Lots of comments and docs added to the pad functions.
8492 Flesh out the expected behaviour of the get_range() functions.
8494 2006-07-06 Wim Taymans <wim@fluendo.com>
8499 * gst/gstiterator.h:
8503 Remove comma at end of enumerator list.
8505 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
8507 * win32/common/libgstbase.def:
8508 * win32/common/libgstdataprotocol.def:
8509 * win32/common/libsgtreamer.def:
8510 Add new exported functions.
8512 2006-07-05 Wim Taymans <wim@fluendo.com>
8514 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8515 Add some more docs here and there.
8517 2006-07-05 Wim Taymans <wim@fluendo.com>
8519 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8520 (gst_base_sink_loop), (gst_base_sink_get_position):
8521 When operating in pull mode update the offset so that we
8524 2006-07-05 Wim Taymans <wim@fluendo.com>
8526 * gst/gstregistryxml.c: (read_string):
8527 Avoid strdup. (will happen in libxml, but hey!)
8532 2006-07-05 Wim Taymans <wim@fluendo.com>
8534 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8535 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8537 No point in checking if the size of the subbuffer > 0, the
8538 code handles it correclty as demonstrated by unit test.
8539 Also add a unit test for the zero sized _new_and_alloc and
8540 _copy. Fixes #346663.
8542 2006-07-05 Wim Taymans <wim@fluendo.com>
8544 * libs/gst/base/gstbasetransform.c:
8545 (gst_base_transform_prepare_output_buffer),
8546 (gst_base_transform_buffer_alloc),
8547 (gst_base_transform_handle_buffer):
8548 Make sure the buffer we pass to transform_ip has a refcount of
8549 1 and thus is writable. Fixes #343196
8551 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
8553 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8554 (gst_file_src_init), (gst_file_src_set_property),
8555 (gst_file_src_get_property), (gst_file_src_map_region):
8556 * plugins/elements/gstfilesrc.h:
8557 Add "sequential" property, off by default, to use madvise and hint
8558 to the kernel that sequential access is desired.
8559 Touch all retrieved pages by default to ensure they are pulled
8560 into memory. (Closes #345720)
8562 2006-07-03 Wim Taymans <wim@fluendo.com>
8564 * docs/design/part-block.txt:
8565 * docs/design/part-dynamic.txt:
8568 2006-07-03 Wim Taymans <wim@fluendo.com>
8570 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8571 (gst_caps_unref), (gst_static_caps_get),
8572 (gst_caps_append_structure):
8573 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8574 Use GSlice when the glib we build against is >= 2.10
8576 2006-07-03 Wim Taymans <wim@fluendo.com>
8578 * gst/gstelement.c: (gst_element_pads_activate):
8579 Small cleanup in pad activation code.
8581 2006-07-03 Wim Taymans <wim@fluendo.com>
8583 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8585 * gst/gst-i18n-app.h:
8586 * gst/gst-i18n-lib.h:
8587 * tools/gst-inspect.c: (print_signal_info):
8588 The attached patch will make the inclusion of gettext.h unconditional in
8589 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8590 libintl.h in tools/gst-inspect.c.
8591 This allows use of --disable-nls again and fixes #344642.
8593 2006-07-03 Edward Hervey <edward@fluendo.com>
8595 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8596 Implement pad blocking on events according to part-block.txt.
8597 More comments on behaviour.
8598 * tests/check/gst/gstevent.c: (test_event):
8599 Send event to peer pad of blocked pad (else it will block).
8601 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8603 * libs/gst/check/gstcheck.c: (gst_check_message_error),
8604 (gst_check_run_suite):
8605 if we get the wrong message, give us the types as string
8606 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8608 * tests/check/elements/filesrc.c: (GST_START_TEST):
8609 add a test for trying to open a non-existing file
8611 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8613 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8614 add a test for adding self
8616 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8618 * libs/gst/check/gstcheck.h:
8619 add some assert_ as alias for fail_unless_*
8620 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8621 increase test coverage
8623 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8626 include lcov.mak for lcov coverage generation
8627 * tools/Makefile.am:
8630 2006-07-02 Edward Hervey <edward@fluendo.com>
8632 * tests/check/elements/.cvsignore:
8635 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8638 don't set CFLAGS and friends for gcov, done from GST_GCOV now
8639 * tests/check/Makefile.am:
8642 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8644 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8645 remove gst_caps_simplify; it was not declared and not used
8646 and deprecated in 0.8
8648 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8650 * docs/faq/gst-uninstalled:
8651 don't put empty paths on PYTHONPATH
8652 * docs/gst/gstreamer-sections.txt:
8653 remove some symbols that are not there
8655 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8657 * gst/gstcaps.c: (gst_caps_compare_structures):
8659 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8660 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8663 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8665 * libs/gst/dataprotocol/Makefile.am:
8666 build dataprotocol test by linking to the lib, instead of
8667 compiling the source, so we get coverage
8668 * tests/check/Makefile.am:
8669 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8670 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8671 add a test for filesrc
8673 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8675 * tests/check/gst/gststructure.c: (GST_START_TEST),
8676 (gst_structure_suite):
8677 Push coverage from 59.04% to 70.00%
8679 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8681 * tests/check/Makefile.am:
8682 gst-inspect every element; this makes sure that we also get
8683 coverage on element's get/set functions
8685 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8688 set CFLAGS and friends to -O0 if gcov is being used
8691 * libs/gst/base/Makefile.am:
8692 * libs/gst/check/Makefile.am:
8693 * libs/gst/controller/Makefile.am:
8694 * libs/gst/dataprotocol/Makefile.am:
8695 * libs/gst/net/Makefile.am:
8696 * plugins/elements/Makefile.am:
8697 * plugins/indexers/Makefile.am:
8698 add makefile rules to generate gcov data and clean up
8699 * tests/check/Makefile.am:
8700 add a coverage target that generates an html overview
8703 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8705 * tests/check/elements/fakesink.c:
8706 * tests/check/elements/fakesrc.c:
8707 * tests/check/elements/fdsrc.c:
8708 * tests/check/elements/identity.c:
8709 * tests/check/generic/sinks.c: (gst_sinks_suite):
8710 * tests/check/generic/states.c:
8711 * tests/check/gst/gst.c:
8712 * tests/check/gst/gstabi.c:
8713 * tests/check/gst/gstbin.c:
8714 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8715 * tests/check/gst/gstbus.c: (gst_bus_suite):
8716 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8717 * tests/check/gst/gstelement.c:
8718 * tests/check/gst/gstevent.c: (gst_event_suite):
8719 * tests/check/gst/gstghostpad.c:
8720 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8721 * tests/check/gst/gstmessage.c: (gst_message_suite):
8722 * tests/check/gst/gstminiobject.c:
8723 * tests/check/gst/gstobject.c:
8724 * tests/check/gst/gstpad.c:
8725 * tests/check/gst/gstpipeline.c:
8726 * tests/check/gst/gstplugin.c:
8727 * tests/check/gst/gstquery.c: (gst_query_suite):
8728 * tests/check/gst/gstsegment.c: (gst_segment_suite):
8729 * tests/check/gst/gststructure.c:
8730 * tests/check/gst/gstsystemclock.c:
8731 * tests/check/gst/gsttag.c:
8732 * tests/check/gst/gsttask.c: (gst_task_suite):
8733 * tests/check/gst/gstutils.c:
8734 * tests/check/gst/gstvalue.c:
8735 * tests/check/libs/adapter.c:
8736 * tests/check/libs/basesrc.c:
8737 * tests/check/libs/collectpads.c:
8738 * tests/check/libs/controller.c:
8739 * tests/check/libs/gdp.c: (gst_dp_suite):
8740 * tests/check/libs/gstnetclientclock.c:
8741 * tests/check/libs/gstnettimeprovider.c:
8742 * tests/check/libs/libsabi.c: (libsabi_suite):
8743 * tests/check/libs/typefindhelper.c:
8744 * tests/check/pipelines/cleanup.c:
8745 * tests/check/pipelines/parse-launch.c:
8746 * tests/check/pipelines/simple-launch-lines.c:
8747 * tests/check/pipelines/stress.c: (stress_suite):
8750 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8752 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8753 * libs/gst/check/gstcheck.h:
8754 create a macro and function so that the simple unit test
8755 case can be just one macro to create main()
8757 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
8759 * gst/gstbin.c: (gst_bin_restore_thyself):
8760 * gst/gstxml.c: (gst_xml_make_element):
8761 Fix deserialisation from XML. Set parent manually
8762 instead of using gst_bin_add(), since gst_bin_add()
8763 will unlink all pads of the element being added.
8766 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
8768 Patch by: Peter Kjellerstedt <pkj at axis com>
8770 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8771 Fix missing g_strdup() and double free when using the
8772 --gst-plugin-load command line option (#346097).
8774 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8777 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8779 * libs/gst/net/gstnetclientclock.c:
8780 * libs/gst/net/gstnettimeprovider.c:
8781 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8783 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8785 * docs/manual/advanced-dataaccess.xml:
8786 Fix buffer probe example compilation in
8789 2006-06-22 Edward Hervey <edward@fluendo.com>
8791 * gst/gstelement.c: (gst_element_pads_activate):
8792 We need to deactivate src pads first and then sink pads.
8793 The reason is the src pads might be blocking while holding the streaming
8794 lock, so we need to deactivate them first so that deactivating the sink
8795 pads doesn't block (since it will require the streaming lock).
8797 2006-06-22 Wim Taymans <wim@fluendo.com>
8799 * libs/gst/base/gstbasetransform.c:
8800 (gst_base_transform_buffer_alloc):
8801 Forgot to remove two unneeded unrefs.
8802 Simplify a check _is_equal allready checks the obvious case.
8804 2006-06-22 Wim Taymans <wim@fluendo.com>
8806 * docs/design/part-block.txt:
8807 Some docs about what pad_block should do.
8809 2006-06-22 Wim Taymans <wim@fluendo.com>
8811 * gst/gstcaps.c: (gst_caps_replace):
8812 Fix crasher when passed NULL. Doc clarification.
8813 Optimize for the trivial case.
8815 * gst/gstpipeline.c: (gst_pipeline_change_state):
8818 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8819 Small documentation cleanup.
8821 * libs/gst/base/gstbasetransform.c:
8822 (gst_base_transform_buffer_alloc):
8823 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8824 is what we need and it avoids a whole lot of redundant
8825 refcount operations.
8827 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
8829 Patch by: Philip Jägenstedt <philip at lysator liu se>
8831 * docs/manual/advanced-dataaccess.xml:
8832 Fix 'Embedding static elements' section to use
8833 GST_PLUGIN_DEFINE_STATIC (#345607).
8835 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8837 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8838 Attempt to 'fix' spuriously failing test case: it seems like the
8839 timeout of half a second is simply too small when the system is under
8840 load otherwise, and the timeout doesn't really seem to serve any
8841 particular purpose here. Give the pipeline a few seconds to preroll
8842 first, and then give it another half a second to go from PAUSED to
8843 PLAYING and marshal the message into the main thread.
8845 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8847 * tools/gst-feedback-m.m:
8848 Don't only use unversioned tools, try versioned tools as well
8851 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8853 * gst/gstbus.c: (gst_bus_class_init):
8854 Fix some typos, make docs more explicit.
8856 2006-06-20 Wim Taymans <wim@fluendo.com>
8858 * tests/check/gst/gstghostpad.c: (block_callback),
8859 (GST_START_TEST), (gst_ghost_pad_suite):
8860 Added some more ghostpad tests, mainly blocking
8863 2006-06-16 Wim Taymans <wim@fluendo.com>
8865 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8866 (gst_file_sink_close_file), (gst_file_sink_do_seek),
8867 (gst_file_sink_event), (gst_file_sink_render):
8868 * plugins/elements/gstfilesink.h:
8869 Check if we can seek in the file instead of assuming
8870 we always can. Post an error when we are asked to seek in a
8871 non-seekable file (like a fifo). Fixes #343312.
8874 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8876 * tools/gst-launch.1.in:
8877 Un-garble (fourcc) bit in filtered caps section.
8879 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8881 * docs/manual/advanced-autoplugging.xml:
8882 * docs/manual/basics-helloworld.xml:
8883 * docs/manual/highlevel-components.xml:
8884 Don't leak bus reference in sample code.
8886 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
8889 Add default for new --enable-plugin-docs switch.
8892 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8896 Use new ENABLE_PLUGIN_DOCS conditional.
8898 2006-06-14 Wim Taymans <wim@fluendo.com>
8900 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8901 Make it clear with a FIXME and a real define what the #if 0
8902 previously disabled.
8904 2006-06-14 Wim Taymans <wim@fluendo.com>
8906 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8907 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8908 * libs/gst/base/gstbasetransform.c:
8909 (gst_base_transform_sink_eventfunc):
8910 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8911 Don't randomly and silently reset a segment when the format
8912 changes as this is a bug somewhere upstream. Fixes #330379.
8914 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
8916 Patch by: Wouter Paesen <wouter at kangaroot net>
8918 * libs/gst/controller/gstcontroller.c:
8919 (gst_controlled_property_new):
8920 Fix controlling of float properties (#344849).
8922 * tests/check/libs/controller.c:
8923 (gst_test_mono_source_get_property),
8924 (gst_test_mono_source_set_property),
8925 (gst_test_mono_source_class_init), (GST_START_TEST):
8926 While we're at it, add some float stuff to unit test.
8928 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8931 * docs/images/gdp-header.svg:
8933 * docs/libs/Makefile.am:
8934 * docs/libs/gdp-header.png:
8935 * libs/gst/dataprotocol/dataprotocol.c:
8936 add it to the API docs
8937 * docs/manual/intro-motivation.xml:
8940 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8942 * gst/gst.c: (scan_and_update_registry), (init_post):
8943 If the fork()'ed child process can't write the updated registry cache
8944 file to disk for some reason, make it exit with a failure exit code,
8945 so that the parent can then re-scan the plugins itself and update the
8946 registry structures in memory and work with that (rather than failing
8947 when creating elements because seemingly no plugins are available).
8948 Refactor registry scanning code into separate function for this and
8949 also separate fork() and non-fork() code paths. Fixes #344748.
8951 2006-06-13 Wim Taymans <wim@fluendo.com>
8953 * docs/manual/advanced-dataaccess.xml:
8954 Fix wrong PluginDesc. Fixes #344755.
8956 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8958 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8959 Fix silly bug that prevented us from creating
8960 ~/.gstreamer-0.10 and writing the registry in one
8961 go (the first call to g_mkstemp() would overwrite the
8962 placeholder in the template string, so the second call
8963 to g_mkstemp() after creating the missing directory
8964 would then error out with 'invalid argument').
8966 2006-06-13 Edward Hervey <edward@fluendo.com>
8968 * gst/gst.c: (init_post):
8971 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8973 * gst/glib-compat-private.h:
8974 * gst/glib-compat.c:
8975 * gst/glib-compat.h:
8976 * gst/gstvalue.c: (gst_value_serialize_flags):
8977 remove GLib 2.6 compatibility code
8979 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
8981 * gst/parse/Makefile.am:
8982 Fix build with 'make -j N' even more (#340016).
8984 2006-06-12 Wim Taymans <wim@fluendo.com>
8986 * docs/gst/gstreamer-sections.txt:
8989 2006-06-12 Wim Taymans <wim@fluendo.com>
8991 * gst/gstsegment.c: (gst_segment_set_duration),
8992 (gst_segment_set_last_stop), (gst_segment_set_seek),
8993 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8994 (gst_segment_to_running_time), (gst_segment_clip):
8995 Use G_UNLIKELY to help the compiler a bit.
8997 2006-06-12 Wim Taymans <wim@fluendo.com>
8999 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9001 * gst/gstevent.c: (gst_event_get_type):
9003 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9005 constify quark registration strings. Fixes #344115
9006 Avoid unneeded type checking is _pad_push() by internally
9007 calling gst_pad_chain_unchecked().
9009 2006-06-12 Wim Taymans <wim@fluendo.com>
9011 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
9012 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
9013 (gst_subbuffer_finalize), (gst_buffer_create_sub),
9014 (gst_buffer_is_span_fast), (gst_buffer_span):
9015 Init _type for consistency.
9016 Use _FLAGS macro to avoid type check.
9017 Avoid unneeded type checks in subbufer code.
9019 2006-06-12 Wim Taymans <wim@fluendo.com>
9021 * gst/gst.c: (gst_debug_help):
9022 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
9023 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9024 (gst_plugin_feature_list_free):
9025 * gst/gstregistry.c: (gst_registry_add_plugin),
9026 (gst_registry_add_feature), (gst_registry_plugin_filter),
9027 (gst_registry_feature_filter), (gst_registry_find_plugin),
9028 (gst_registry_find_feature), (gst_registry_get_plugin_list),
9029 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
9030 * gst/gstregistryxml.c: (load_feature),
9031 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
9032 * gst/gstminiobject.c: (gst_mini_object_unref),
9033 (gst_mini_object_replace), (gst_value_mini_object_free),
9034 (gst_value_mini_object_copy):
9035 Use _CAST macros to avoid unneeded type checking.
9036 Added some more G_UNLIKELY.
9038 2006-06-12 Wim Taymans <wim@fluendo.com>
9041 Avoid unneeded type checking.
9042 API: GST_BUFFER_IS_DISCONT
9044 * gst/gstminiobject.h:
9045 Avoid type check in flag accessor.
9047 * gst/gstelementfactory.h:
9049 * gst/gstpluginfeature.h:
9051 API: GST_ELEMENT_FACTORY_CAST
9052 API: GST_PLUGIN_CAST
9053 API: GST_PLUGIN_FEATURE_CAST
9055 2006-06-12 Wim Taymans <wim@fluendo.com>
9057 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
9059 Add G_UNLIKELY in type registration.
9060 Avoid type check in _ref/_unref since that is also
9063 2006-06-12 Wim Taymans <wim@fluendo.com>
9065 * gst/gsterror.c: (gst_g_error_get_type):
9066 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
9067 (gst_static_pad_template_get_type):
9068 * gst/gsttaglist.c: (gst_tag_list_get_type):
9069 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
9070 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
9071 * gst/gsturi.c: (gst_uri_handler_get_type):
9072 * gst/gstvalue.c: (gst_date_get_type):
9073 * gst/gstxml.c: (gst_xml_get_type):
9074 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
9075 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
9076 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
9077 Add G_UNLIKELY in type registration.
9079 2006-06-12 Wim Taymans <wim@fluendo.com>
9081 * tools/gst-inspect.c: (print_signal_info):
9082 Properly print enum values.
9084 2006-06-12 Wim Taymans <wim@fluendo.com>
9086 * gst/gstinfo.c: (gst_debug_set_active),
9087 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
9089 Add some G_[UN]LIKELY.
9090 Maintain __gst_debug_min to avoid formatting the arguments of
9091 debug messages that will be dropped anyway to avoid a lot of
9092 overhead from the debugging system.
9094 2006-06-11 Stefan Kost <ensonic@users.sf.net>
9098 add missing files containing translatable strings, tell intltool about
9101 2006-06-11 Stefan Kost <ensonic@users.sf.net>
9103 * tests/check/libs/.cvsignore:
9104 add test-binary to ignore list
9106 2006-06-11 Stefan Kost <ensonic@users.sf.net>
9108 * docs/libs/gstreamer-libs-docs.sgml:
9109 reorder (put dp into a chapter) and indent
9111 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9116 === release 0.10.8 ===
9118 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9121 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
9123 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9125 * gst/gst.c: (init_post):
9126 move pid declaration to declaration block
9128 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9130 * gst/gst.c: (init_post):
9131 use _exit() instead of exit() in our forked child; this ensures
9132 that none of the registered exit handlers from whatever is using
9133 GStreamer get executed. This fixes gnome-mixer-applet failing
9134 to load, because ORBit would shut down.
9135 Spotted by: Edward Hervey <edward@fluendo.com>
9136 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
9139 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9144 === release 0.10.7 ===
9146 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9149 releasing 0.10.7, "Soepeke, ik zie ou"
9151 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
9174 * win32/common/config.h:
9177 2006-06-07 Wim Taymans <wim@fluendo.com>
9179 * gst/gstindex.c: (gst_index_gtype_resolver):
9180 * tools/gst-xmlinspect.c: (print_plugin_info):
9181 Fix leak spotted by coverity checker. Fixes #343827
9182 Fix another other leak found by paolo borelli.
9184 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9186 * libs/gst/dataprotocol/dataprotocol.c:
9187 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9188 (gst_dp_version_get_type), (gst_dp_init),
9189 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
9190 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
9191 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
9192 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
9193 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
9194 (gst_dp_packetizer_free):
9195 * libs/gst/dataprotocol/dataprotocol.h:
9196 API: add a GstDPPacketizer object, and create/free functions
9197 API: add GstDPVersion enum
9198 Add 1.0 event function that uses the string serialization
9199 Serialize more useful buffer flags
9202 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9204 * tests/check/Makefile.am:
9205 * tests/check/gst/gstabi.c:
9206 * tests/check/gst/struct_ppc64.h:
9207 * tests/check/libs/libsabi.c:
9208 * tests/check/libs/struct_ppc64.h:
9209 add ppc64 structure sizes
9211 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9213 * tests/check/Makefile.am:
9214 * tests/check/gst/gstabi.c:
9215 * tests/check/gst/struct_x86_64.h:
9216 * tests/check/libs/libsabi.c:
9217 * tests/check/libs/struct_x86_64.h:
9218 generate and add structure size lists for x86_64
9220 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9222 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9223 * libs/gst/check/gstcheck.h:
9224 factor out the method from tests that checks size of structures,
9225 and add code to generate the header containing these sizes
9226 * tests/check/gst/gstabi.c: (GST_START_TEST):
9227 * tests/check/gst/struct_i386.h:
9228 * tests/check/libs/libsabi.c: (GST_START_TEST):
9229 * tests/check/libs/struct_i386.h:
9232 2006-06-06 Michael Smith <msmith@fluendo.com>
9235 Don't use c++-style comments, fixes #343929
9237 2006-06-05 Edward Hervey <edward@fluendo.com>
9240 plugin_paths is not used if we build without registry support.
9242 * gst/gstsegment.c: (gst_segment_copy):
9243 _copy() was always returning NULL...
9245 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9247 * libs/gst/dataprotocol/dataprotocol.c:
9248 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9249 (gst_dp_packet_from_event):
9252 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9254 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9255 make sure we unset caps
9257 2006-06-02 Michael Smith <msmith@fluendo.com>
9259 * libs/gst/check/gstcheck.c: (gst_check_init),
9260 (gst_check_chain_func):
9261 * libs/gst/check/gstcheck.h:
9262 Add a cond/mutex to the check support lib, signal this whenever we
9263 add to the buffers list. This will allow tests to not busy-wait on
9266 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9268 * libs/gst/dataprotocol/dataprotocol.c:
9269 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9270 (gst_dp_packet_from_event):
9271 factor out some common header init code
9273 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9275 * docs/libs/gstreamer-libs-sections.txt:
9276 * docs/libs/tmpl/gstdataprotocol.sgml:
9277 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9278 * libs/gst/dataprotocol/dataprotocol.h:
9279 API: make gst_dp_crc() public
9281 2006-06-01 Stefan Kost <ensonic@users.sf.net>
9283 * plugins/indexers/gstindexers.c: (plugin_init):
9284 conditionally register fileindexer (fixes #343598)
9286 2006-06-01 Stefan Kost <ensonic@users.sf.net>
9288 * gst/gsttagsetter.h:
9289 Can't cast ifaces to a class
9291 * libs/gst/net/gstnetclientclock.h:
9292 * libs/gst/net/gstnettimeprovider.h:
9293 * plugins/elements/gstfakesink.h:
9294 * plugins/elements/gstfakesrc.h:
9295 * plugins/elements/gstfdsink.h:
9296 * plugins/elements/gstfdsrc.h:
9297 * plugins/elements/gstfilesink.h:
9298 * plugins/elements/gstfilesrc.h:
9299 * plugins/elements/gstidentity.h:
9300 * plugins/elements/gstqueue.h:
9301 * plugins/elements/gsttee.h:
9302 * plugins/indexers/gstfileindex.c:
9303 * plugins/indexers/gstmemindex.c:
9304 * tests/old/examples/plugins/example.h:
9305 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9307 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
9309 * libs/gst/dataprotocol/dataprotocol.c:
9310 (gst_dp_header_from_buffer):
9311 make sure we zero the whole ABI-compatible area
9313 2006-06-01 Wim Taymans <wim@fluendo.com>
9315 Patch by: Alessandro Decina <alessandro at nnva dot org>
9317 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9318 Make sure the EOS flag is cleared from pads after a flush
9319 or stop. Fixes #343538.
9321 * tests/check/libs/collectpads.c: (GST_START_TEST),
9322 (gst_collect_pads_suite):
9323 Added test for collectpads reusage after EOS.
9325 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
9328 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9329 * win32/common/libgstbase.def:
9330 export gst_collect_pads_set_flushing
9331 * win32/common/libgstreamer.def:
9332 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9333 gst_value_fraction_multiply
9334 * win32/vs6/gst_inspect.dsp:
9335 add a link to intl.lib
9337 2006-05-30 Wim Taymans <wim@fluendo.com>
9339 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9340 (gst_collect_pads_chain):
9341 Handle the case where a pad is removed from the collection
9342 that could cause the other pads to become collectable.
9344 2006-05-30 Wim Taymans <wim@fluendo.com>
9347 Clarify the use of _release_request_pad() and
9348 _get_request_pad() a bit better.
9350 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9351 (gst_adapter_take_buffer):
9352 Fix some doc and comment typos.
9354 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9356 * docs/gst/gstreamer-sections.txt:
9357 * docs/libs/gstreamer-libs-sections.txt:
9358 add declared symbols
9360 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
9362 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9363 Add debug that can be enabled using a #define at the top of the file,
9364 for dumping stats about how late/early we were when waking up from
9365 waiting on the clock.
9367 2006-05-30 Wim Taymans <wim@fluendo.com>
9369 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9370 When rebuilding the pad list, don't leak the previous list.
9372 2006-05-30 Wim Taymans <wim@fluendo.com>
9374 Patch by: Lutz Mueller <lutz at topfrose dot de>
9376 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9377 (gst_base_src_get_query_types), (gst_base_src_update_length):
9378 Publish supported query types.
9379 Update last_stop field in get_range mode so the position
9380 query works. Fixes #342321.
9382 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
9384 * docs/gst/gstreamer-sections.txt:
9385 * gst/gsttaglist.c: (_gst_tag_initialize):
9387 API: add GST_TAG_PREVIEW_IMAGE (#343341).
9389 2006-05-30 Wim Taymans <wim@fluendo.com>
9391 Patch by: Alessandro Decina <alessandro at nnva dot org>
9393 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9394 Unlock mutex when removing an unknown pad.
9397 * tests/check/Makefile.am:
9398 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9399 (push_event), (setup), (teardown), (GST_START_TEST),
9400 (gst_collect_pads_suite), (main):
9401 Added collecpads check, disabled for now as check crashes for
9404 2006-05-29 Wim Taymans <wim@fluendo.com>
9406 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9407 Don't leak pads lists.
9409 2006-05-29 Wim Taymans <wim@fluendo.com>
9411 * docs/libs/gstreamer-libs-sections.txt:
9412 * libs/gst/base/gstcollectpads.c:
9413 (gst_collect_pads_set_flushing_unlocked),
9414 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9415 (gst_collect_pads_stop):
9416 * libs/gst/base/gstcollectpads.h:
9417 API: gst_collect_pads_set_flushing()
9418 Added api to set the pads to flushing, useful for seeking
9419 code in elements using collectpads.
9420 Clear segment when receiving a flush.
9422 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
9424 * gst/gst.c: (add_path_func), (init_post):
9425 Don't scan registry paths passed via --gst-plugin-path immediately
9426 (will crash, because absolutely nothing is set up and no types are
9427 registered etc.); do this later in init_post(). Fixes #343057.
9429 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
9431 * gst/gst.c: (init_post):
9432 if we have fork, fork while reading/rebuilding the registry
9433 so the parent doesn't take the hit of having all plugins loaded
9434 in memory. Fixes #342777.
9436 Check if we have fork()
9437 * win32/common/config.h.in:
9440 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9442 * plugins/elements/gstelements.c:
9443 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9444 (gst_file_src_init), (gst_file_src_set_property),
9445 (gst_file_src_get_property), (gst_file_src_start):
9446 * plugins/elements/gstfilesrc.h:
9447 API: GstFileSrc::use-mmap
9449 Add a use-mmap property to enable easier testing of all code paths.
9450 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9451 in the absence of gnomevfssrc. (Closes #340501)
9453 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9455 * tools/gst-inspect.c:
9456 Add missing include, removes warning of ngettext not being defined on
9459 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9461 * gst/gstvalue.c: (gst_value_deserialize_fraction):
9462 Handle NULL input and output pointers silently as a failed conversion,
9463 rather than g_warnings.
9465 2006-05-25 Wim Taymans <wim@fluendo.com>
9467 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9468 Initialize variable before using. Fixes #342820.
9470 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
9472 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9473 Fix off-by-one bug that would only allow peeks of N-1 bytes
9474 from the start even if the buffer to typefind on contains
9475 in fact N bytes of data (makes vorbis typefinding from a
9476 vorbis identification header buffer work).
9478 * tests/check/Makefile.am:
9479 * tests/check/libs/.cvsignore:
9480 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9481 (gst_typefindhelper_suite), (main), (foobar_typefind),
9483 Add very basic unit test for gst_type_find_helper_for_buffer()
9484 that checks for the problem fixed above.
9486 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
9488 * tools/gst-inspect.c: (print_interfaces),
9489 (print_element_properties_info), (print_element_list), (main):
9490 add more translatable strings
9492 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
9494 Patch by: Julien Moutte <julien at moutte net>
9496 * docs/gst/gstreamer-sections.txt:
9497 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9499 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9500 (gst_fake_sink_preroll):
9501 * plugins/elements/gstfakesink.h:
9502 API: Add new GstFakeSink::preroll-handoff signal (#337100).
9504 2006-05-23 Wim Taymans <wim@fluendo.com>
9506 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9508 Added _CUSTOM error and success GstFlowReturn that can be
9509 used be elements internally.
9510 Added macro to check for SUCCESS flowreturns.
9511 API: GST_FLOW_CUSTOM_SUCCESS
9512 API: GST_FLOW_CUSTOM_ERROR
9513 API: GST_FLOW_IS_SUCCESS
9515 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9516 Added check for GstFlowReturn sanity.
9518 2006-05-23 Wim Taymans <wim@fluendo.com>
9520 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9522 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9523 (gst_collect_pads_event):
9524 clear/reset segment info in FLUSH_STOP.
9527 2006-05-22 Stefan Kost <ensonic@users.sf.net>
9529 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9530 (gst_collect_pads_check_collected):
9531 Flush queued buffer on _stop(), fixes playing again (#342454)
9533 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
9535 * tests/check/gst/gststructure.c: (GST_START_TEST),
9536 (gst_structure_suite):
9537 add a test for a complete structure
9539 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9541 * docs/faq/developing.xml:
9543 * docs/faq/troubleshooting.xml:
9544 * docs/faq/using.xml:
9545 Some minor FAQ updates that won't change the fact that
9546 our FAQ is badly structured, full of information hardly
9547 anyone new to GStreamer needs to know and lacking lots
9548 of information people constantly ask for.
9550 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
9552 * gst/gstpad.c: (gst_pad_set_caps):
9553 Short-circuit gst_pad_set_caps if setting the existing
9554 caps pointer again, and avoid printing debug and
9555 reffing/unreffing the caps.
9557 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9558 There's actually no need to set the caps before pushing -
9559 the acceptcaps method will handle it anyway.
9561 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9563 * docs/gst/gstreamer-sections.txt:
9564 * win32/common/libgstreamer.def:
9565 * gst/gstutils.c: (gst_element_seek_simple):
9567 API: add gst_element_seek_simple() (#342238).
9569 2006-05-18 Edward Hervey <edward@fluendo.com>
9571 * gst/gsttypefind.c: (gst_type_find_get_type):
9572 * gst/gsttypefind.h:
9573 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9574 registered for GstTypeFind pointers. This allows wrapping the structure
9575 in bindings (i.e. gst-python).
9577 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9579 * gst/gsttagsetter.c:
9580 Docs additions and fixes (see #339918).
9582 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9584 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9585 The caps intersection algorithm can produce multiple copies of the
9586 caps. Until that is fixed, we need to simplify the result to be
9587 sure whether the allowed caps are fixed or not.
9589 * plugins/elements/gstqueue.c: (gst_queue_init),
9590 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9591 (gst_queue_push_one):
9592 Proxied buffer alloc should not set the caps on the source pad.
9593 When pushing buffers, we always accept the caps change that triggers.
9594 This prevents negotiation errors caused by caps changing mid-stream
9595 and then being refused on our source pad (because upstream is now
9596 refusing those caps).
9598 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9600 * tests/examples/helloworld/helloworld.c: (main):
9601 Must plug audioconvert and audioresample between decoder
9604 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
9606 * gst/gstregistryxml.c: (read_string), (load_pad_template),
9607 (load_feature), (load_plugin):
9608 Allow empty strings for some of the plugin fields so we don't
9609 drop valid plugin entries that were written out correctly
9612 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
9614 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9615 Use g_remove and g_rename instead of remove and rename that don't
9616 handle utf8 characters. rename was failing for users who had specific
9617 characters in their name then the registry was built at each
9619 * win32/vs6/gst_inspect.dsp:
9620 * win32/vs6/gst_launch.dsp:
9621 * win32/vs6/libgstbase.dsp:
9622 * win32/vs6/libgstcoreelements.dsp:
9623 * win32/vs6/libgstreamer.dsp:
9624 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
9625 build of libgstreamer and clean unused libraries in projects link
9628 2006-05-17 Edward Hervey <edward@fluendo.com>
9630 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9631 The queue is not responsible for pushing an EOS when receiving a fatal
9632 flow error. It's up to the real element driving the pipeline to do that.
9634 2006-05-16 Edward Hervey <edward@fluendo.com>
9636 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9637 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9638 buffer returned a fatal error. It should just send an EOS and stop
9640 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9641 when pushing buffers on the queue and will be able to handle the event.
9643 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
9645 * docs/manual/basics-bins.xml:
9646 * docs/manual/basics-init.xml:
9647 Fix typos and minor errors in sample code (#341856).
9649 2006-05-16 Wim Taymans <wim@fluendo.com>
9651 * docs/design/part-qos.txt:
9652 Fix indexes in formulas to make more sense.
9654 2006-05-15 Wim Taymans <wim@fluendo.com>
9656 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9657 Don't report POSITION based on clock time if sync is
9660 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
9663 Add cast to make compiler happy - refcount variable was a gint
9664 in GstObject but is a guint in GObject and g_atomic_int_get()
9667 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
9669 * gst/parse/Makefile.am:
9670 chain commands using &&, which also makes parallel make work
9672 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
9674 * docs/gst/gstreamer-sections.txt:
9680 === release 0.10.6 ===
9682 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
9685 releasing 0.10.6, "Take the cannoli"
9687 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
9689 * tools/gst-launch.c: (print_tag):
9690 Fix use of uninitialized variable in the hypothetical
9691 case that some broken plugin creates a GST_TAG_IMAGE
9692 tag containing a NULL buffer (#341667).
9694 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
9696 * tools/gst-launch.c: (print_tag):
9697 Print something more intelligible for image tags when
9698 using the -t switch (#341556).
9700 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
9705 define GST_MAJORMINOR so we have it available in win32/common/config.h
9706 Possibly remove it from our Makefile.am files later
9707 * win32/common/config.h:
9708 * win32/common/config.h.in:
9709 added GST_MAJORMINOR
9710 * win32/common/gstenumtypes.c: (register_gst_resource_error):
9711 * win32/common/gstversion.h:
9714 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
9717 Update win32 files listing.
9718 * win32/common/gstversion.h:
9719 Add GST_MAJORMINOR definition.
9720 * win32/common/libgstreamer.def:
9721 Add new exported functions.
9723 2006-05-12 Michael Smith <msmith@fluendo.com>
9725 * gst/gstplugin.c: (gst_plugin_load_file):
9726 If an so file has no plugin entry point, unload the module.
9728 2006-05-11 Wim Taymans <wim@fluendo.com>
9730 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9731 (gst_queue_set_property):
9732 Don't forget to signal the _chain or _loop function
9733 when the queue size or thresholds change since that might
9734 cause them to make progres again.
9736 2006-05-11 Stefan Kost <ensonic@users.sf.net>
9738 * gst/gstclock.c: (gst_clock_class_init):
9739 * gst/gstindex.c: (gst_index_class_init):
9740 * gst/gstobject.c: (gst_object_class_init):
9741 * gst/gstpad.c: (gst_pad_class_init):
9742 * gst/gstpipeline.c: (gst_pipeline_class_init):
9743 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9744 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9745 * libs/gst/base/gstbasetransform.c:
9746 (gst_base_transform_class_init):
9747 * libs/gst/net/gstnetclientclock.c:
9748 (gst_net_client_clock_class_init):
9749 * libs/gst/net/gstnettimeprovider.c:
9750 (gst_net_time_provider_class_init):
9751 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9752 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9753 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9754 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9755 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9756 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9757 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9758 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9759 * plugins/elements/gsttee.c: (gst_tee_class_init):
9760 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9761 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9762 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9764 2006-05-11 Wim Taymans <wim@fluendo.com>
9766 * gst/gstbuffer.c: (_gst_buffer_initialize):
9767 Register subbufer along with the buffer type so that
9768 it does not accidentally gets registered from N
9769 different streaming threads in a non threadsafe way.
9771 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9776 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9777 gst_event_ref() and gst_message_ref() functions again
9778 (ugly hack, please do fix if there's a better way besides
9779 overrides.txt, which doesn't seem to work).
9781 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9783 * libs/gst/check/gstcheck.h:
9784 add an assert for setting state to avoid lots of repetitive code
9787 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9789 * gst/gstvalue.c: (gst_value_serialize_flags):
9790 fix a leak if no flags are set
9791 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9794 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9796 * docs/manual/basics-pads.xml:
9797 Expand a bit on caps and filtered links and update
9798 examples that were still using the no longer existing
9799 gst_pad_link_filtered() (#338206).
9801 2006-05-10 Wim Taymans <wim@fluendo.com>
9803 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9804 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9805 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9806 (gst_collect_pads_stop):
9807 * libs/gst/base/gstcollectpads.h:
9808 No need to call _stop in _finalize.
9809 Iterate the main pad list in _finalize.
9810 Added some more debug.
9811 Free lists and data in the right order.
9812 Also free data whem doing _remove_pad when stopped for
9813 backward compatibility protect ::started with PAD_LOCK as
9816 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9818 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9819 (gst_structure_parse_value):
9821 rename a method so that it actually says what it does better
9823 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9825 * gst/gstevent.c: (_gst_event_initialize):
9826 * gst/gstformat.c: (_gst_format_initialize):
9827 make sure some essential types used by events are registered
9828 as part of gst_init()
9829 * gst/gstvalue.c: (gst_value_serialize_flags):
9830 if no flags are set, serialize them to a value that represents NONE
9831 so that deserializing them works
9832 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9833 add tests for serialization and deserialization of flags
9835 2006-05-10 Wim Taymans <wim@fluendo.com>
9837 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9838 (gst_collect_pads_collect_range), (gst_collect_pads_available),
9839 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9840 (gst_collect_pads_event), (gst_collect_pads_chain):
9843 Catch and return errors from the collect function
9844 Refuse data on eos pads.
9846 2006-05-10 Edward Hervey <edward@fluendo.com>
9848 * gst/gstinterface.h:
9849 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9850 GInterface type checking.
9851 They were previously using non-defined macros.
9853 2006-05-09 Wim Taymans <wim@fluendo.com>
9855 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9856 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9857 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9858 (gst_collect_pads_start), (gst_collect_pads_stop),
9859 (gst_collect_pads_peek), (gst_collect_pads_pop),
9860 (gst_collect_pads_available), (gst_collect_pads_read),
9861 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9862 (gst_collect_pads_is_collected), (gst_collect_pads_event),
9863 (gst_collect_pads_chain):
9864 * libs/gst/base/gstcollectpads.h:
9865 Clean up the mess that is collectpads, add comments and
9866 FIXMEs where needed.
9867 Maintain a separate pad list so we can add pads while
9868 collecting the other ones. For this we need a new separate
9870 Fix memory leak in finalize.
9871 Refactor some weird code to set/unset pad flushing flags, mark
9873 Don't crash in _available, _read, _flush when we're EOS.
9875 * tests/check/libs/.cvsignore:
9876 Ignore adapter check binary.
9878 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9880 * gst/gstindex.c: (gst_index_resolver_get_type):
9881 * plugins/elements/gstfakesink.c:
9882 (gst_fake_sink_state_error_get_type):
9883 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9884 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9885 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9886 Const-ify GEnumValue arrays.
9888 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9890 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9891 Add test case for flags + gst_buffer_make_metadata_writable().
9893 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9895 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9896 gst_buffer_make_metadata_writable() should maintain the
9897 buffer flags (those that make sense at least) (see #340859).
9899 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9901 * tools/gst-inspect.c:
9902 * tools/gst-launch.c:
9903 * tools/gst-typefind.c:
9904 * tools/gst-xmlinspect.c:
9906 Fix up includes: need to include stdlib.h in tools.h for exit().
9908 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9910 * gst/gsttaglist.c: (_gst_tag_initialize):
9912 API: add GST_TAG_IMAGE tag (#340721).
9914 2006-05-08 Wim Taymans <wim@fluendo.com>
9917 Added some docs for the segment query.
9919 2006-05-08 Wim Taymans <wim@fluendo.com>
9921 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9922 (gst_base_src_loop), (gst_base_src_change_state):
9923 Always push non-flushing serialized events in the streaming
9926 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
9928 * gst/gsterror.c: (_gst_stream_errors_init):
9929 Add a missing error string.
9931 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
9933 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9934 Add applied_rate to the debug
9936 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9937 Copy applied_rate into the outgoing NEWSEGMENT event
9939 2006-05-08 Wim Taymans <wim@fluendo.com>
9941 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9943 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9944 (gst_base_sink_change_state):
9945 call ::unlock before taking the PREROLL_LOCK so we can safely
9946 handle elements that lock in ::render.
9949 2006-05-08 Edward Hervey <edward@fluendo.com>
9951 * autogen.sh: (CONFIGURE_DEF_OPT):
9952 Darwin's libtoolize is in fact called glibtoolize.
9953 Adding glibtoolize to the list of accepted names for libtoolize.
9955 2006-05-08 Wim Taymans <wim@fluendo.com>
9957 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9958 Unify error handling, don't post an error message
9959 when a push() returns EOS but perform our normal EOS
9960 handling code. Fixes #340772.
9962 2006-05-08 Wim Taymans <wim@fluendo.com>
9964 * docs/design/part-overview.txt:
9965 Make upsteam/downstream concepts more clear.
9966 Give an example of serialized/non-serialized events.
9968 * docs/design/part-events.txt:
9969 * docs/design/part-streams.txt:
9970 Mention applied_rate.
9972 * docs/design/part-trickmodes.txt:
9973 Mention applied rate, flesh out some more use cases.
9975 * gst/gstevent.c: (gst_event_new_new_segment),
9976 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9977 (gst_event_parse_new_segment_full), (gst_event_new_tag),
9978 (gst_event_parse_tag), (gst_event_new_buffer_size),
9979 (gst_event_parse_buffer_size), (gst_event_new_qos),
9980 (gst_event_parse_qos), (gst_event_parse_seek),
9981 (gst_event_new_navigation):
9983 Add applied_rate field to NEWSEGMENT event.
9984 API: gst_event_new_new_segment_full()
9985 API: gst_event_parse_new_segment_full()
9987 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9988 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9989 (gst_segment_to_stream_time), (gst_segment_to_running_time):
9991 Add applied_rate to GstSegment structure.
9992 Make calculation of stream_time and running_time more correct
9993 wrt rate/applied_rate.
9995 API: GstSegment::applied_rate field
9996 API: gst_segment_set_newsegment_full();
9998 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9999 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
10000 * libs/gst/base/gstbasetransform.c:
10001 (gst_base_transform_sink_eventfunc),
10002 (gst_base_transform_handle_buffer):
10003 Parse and use applied_rate in the GstSegment field.
10005 * tests/check/gst/gstevent.c: (GST_START_TEST):
10006 Add check for applied_rate field.
10008 * tests/check/gst/gstsegment.c: (GST_START_TEST),
10009 (gstsegments_suite):
10010 Add more checks for various GstSegment operations.
10012 2006-05-08 Wim Taymans <wim@fluendo.com>
10014 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10015 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
10016 (gst_base_sink_get_position), (gst_base_sink_change_state):
10017 Store the sync time of the buffer end position separatly in a
10018 new variable eos_rtime so we can properly sync the EOS event.
10020 Fix the docs for gst_base_sink_set_qos_enabled().
10021 Don't set segment start to invalid value when we receive a
10022 non TIME newsegment.
10023 get closer to handling position reporting for negative rates
10026 2006-05-07 Stefan Kost <ensonic@users.sf.net>
10029 Docs about how to print caps for debug purposes.
10031 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
10032 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
10034 2006-05-07 Stefan Kost <ensonic@users.sf.net>
10036 * gst/gstelement.c:
10037 use full enum names and preprend a '%' in docs strings to make recent
10038 gtk-doc turn that into a link
10040 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10042 * docs/manual/basics-bins.xml:
10043 * docs/manual/basics-bus.xml:
10044 * docs/manual/basics-pads.xml:
10045 Some typo fixes, some additions, some clarifications.
10047 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10049 * tools/gst-inspect.c: (main):
10050 * tools/gst-launch.c: (main):
10051 * tools/gst-run.c: (main):
10052 * tools/gst-typefind.c: (main):
10053 * tools/gst-xmlinspect.c: (main):
10054 Use the string passed to g_option_context_new() for
10055 what it's intended for - the program name is already
10058 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10060 * tools/Makefile.am:
10061 * tools/gst-inspect.c: (main):
10062 * tools/gst-launch.c: (main):
10063 * tools/gst-xmlinspect.c: (main):
10065 Add back --version command line option (#340460).
10067 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
10068 Add --version option and use GOption for argument parsing; refactor a
10069 bit; accept directories as arguments and recurse into them; lastly,
10070 print a decent error message when things go wrong.
10072 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10074 * docs/manual/basics-bins.xml:
10075 Don't mention GstThread (#340611)
10076 * docs/manual/basics-elements.xml:
10077 Update link to GObject tutorial (#340607)
10079 2006-05-05 Wim Taymans <wim@fluendo.com>
10082 * gst/gstminiobject.c:
10083 Add note about refcounting and miniobject/buffer writeability
10084 to docs. Fixes #340604
10086 * gst/gstelementfactory.h:
10087 Added some explanation about @klass.
10089 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10091 * docs/manual/intro-motivation.xml:
10092 * docs/manual/manual.xml:
10093 Avoid CORBA & Bonobo references (#340598)
10095 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10097 * docs/manual/basics-bus.xml:
10098 * docs/manual/basics-pads.xml:
10099 Fix up some inaccuracies and omissions (#340609)
10101 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10103 * gst/gstghostpad.c:
10104 Small typo in docs (#340625)
10106 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10108 * gst/parse/Makefile.am:
10109 Make 'make -j' proof (see #340698).
10111 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10114 Require GLib-2.8 here as well.
10116 2006-05-05 Wim Taymans <wim@fluendo.com>
10118 * gst/glib-compat.c:
10119 * gst/gst.c: (init_pre):
10120 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10121 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
10122 (gst_object_dispatch_properties_changed):
10124 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10125 * gst/gststructure.c: (gst_structure_set_valist):
10126 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10127 Remove pre glib2.8 compatibility, fixes #340508
10129 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
10131 * gst/gsttaglist.h:
10132 Mention type of tags in doc blurbs.
10134 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
10136 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10137 (gst_pad_configure_src), (gst_pad_push):
10138 Restore acceptcaps checking behaviour now that good plugins have
10141 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
10143 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
10150 * gst/gstmessage.c:
10154 * gst/parse/Makefile.am:
10155 * libs/gst/base/gstadapter.c:
10156 * libs/gst/base/gstbasesrc.c:
10157 * libs/gst/base/gstpushsrc.c:
10158 * libs/gst/base/gsttypefindhelper.c:
10159 * plugins/elements/gstfakesrc.c:
10160 * plugins/elements/gstidentity.c:
10161 Make sure gstprivate.h and/or config.h are
10162 always included first, otherwise some of our
10163 defines (like _FILE_OFFSET_BITS) might be
10164 redefined in the system headers. Fixes build
10165 on opensolaris (#340016).
10167 2006-05-04 Wim Taymans <wim@fluendo.com>
10169 * docs/libs/gstreamer-libs-sections.txt:
10170 API: addition: gst_adapter_take_buffer()
10172 * libs/gst/base/gstadapter.c: (gst_adapter_push),
10173 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
10174 (gst_adapter_available_fast):
10175 * libs/gst/base/gstadapter.h:
10176 Prepare for optimizing the hell out of this hugely inefficient
10178 Added gst_adapter_take_buffer() so we can at least start thinking
10179 about subbuffering and merging.
10180 Added some comments.
10182 * tests/check/Makefile.am:
10183 * tests/check/libs/adapter.c: (GST_START_TEST),
10184 (gst_adapter_suite), (main):
10185 Added GstAdapter check.
10187 2006-05-04 Wim Taymans <wim@fluendo.com>
10189 * docs/design/part-overview.txt:
10190 Fix some typos, add blurb about buffer flags.
10192 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
10194 * docs/libs/gstreamer-libs-sections.txt:
10195 make sure GstBaseTransformClass shows up in the docs
10196 * libs/gst/base/gstbasetransform.c:
10197 * libs/gst/base/gstbasetransform.h:
10198 move docs so gtk-doc picks it up now
10200 2006-05-02 Stefan Kost <ensonic@users.sf.net>
10202 * docs/libs/gstreamer-libs-sections.txt:
10203 add missing symbols to docs
10205 2006-05-02 Stefan Kost <ensonic@users.sf.net>
10207 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10208 back out the newsegment handling change, see #340060 for ongoing
10211 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
10213 * tools/gst-run.c: (get_candidates), (main):
10214 Fix wrong g_file_test() usage (see glib docs for why it doesn't
10215 work); fix typo in error message. Fixes #340079.
10217 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
10219 * common/Makefile.am:
10220 * docs/Makefile.am:
10221 * docs/faq/Makefile.am:
10222 * docs/gst/Makefile.am:
10223 * docs/libs/Makefile.am:
10224 * docs/manual/Makefile.am:
10225 * docs/plugins/Makefile.am:
10226 * docs/pwg/Makefile.am:
10227 * docs/slides/Makefile.am:
10229 * common/upload.mak:
10230 move upload.mak to common
10232 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
10234 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10235 add more asserts on refcounts
10236 do more cleanup at end of tests
10237 fix test leaks showing in FC5
10239 2006-04-29 Stefan Kost <ensonic@users.sf.net>
10241 * plugins/elements/gsttypefindelement.c:
10242 (gst_type_find_element_handle_event):
10243 reverted wrong change and reflowed code to avoid others falling into
10246 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10248 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10249 fix changelog entry about last collectpads change,
10250 add notes about proper fix
10252 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10255 * gst/gstregistry.c: (gst_registry_scan_path_level),
10256 (gst_registry_scan_path):
10257 * gst/gstregistry.h:
10258 only write out registry if it has changed, fixes #338339
10260 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10263 * gst/gstpipeline.c:
10264 * plugins/elements/gstcapsfilter.c:
10265 * plugins/elements/gstfakesink.c:
10266 * plugins/elements/gstfakesrc.c:
10267 * plugins/elements/gstfdsink.c:
10268 * plugins/elements/gstfdsrc.c:
10269 * plugins/elements/gstfilesink.c:
10270 * plugins/elements/gstfilesrc.c:
10271 * plugins/elements/gstidentity.c:
10272 * plugins/elements/gstqueue.c:
10273 * plugins/elements/gsttee.c:
10274 * plugins/elements/gsttypefindelement.c:
10275 (gst_type_find_element_handle_event):
10276 make GstElementDetails const
10278 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10280 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10281 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10282 (gst_collect_pads_is_collected), (gst_collect_pads_event):
10283 more detailed debug and formatting cleanup,
10284 forward newsegments to src-pad (so that e.g. adder not eats them)
10286 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10288 * gst/gstutils.c: (gst_element_link_pads):
10289 cleanup double code
10291 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10293 * libs/gst/controller/gstcontroller.c:
10294 (gst_controller_sync_values):
10296 * tests/check/libs/controller.c: (GST_START_TEST),
10297 (gst_controller_suite):
10298 a new test for live value handling
10300 2006-04-28 Wim Taymans <wim@fluendo.com>
10302 * gst/gstutils.c: (push_and_ref):
10303 Added some more docs.
10304 Fix refcount issue whith gst_element_found_tags() helper
10305 function. Fixes #338335
10307 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10308 Added testsuite for gst_element_found_tags().
10310 2006-04-28 Michael Smith <msmith@fluendo.com>
10312 * gst/gstvalue.c: (gst_value_serialize_flags):
10313 Avoid NULL dereference when trying to serialize flags containing
10316 2006-04-28 Michael Smith <msmith@fluendo.com>
10318 * plugins/elements/gsttypefindelement.c:
10319 (gst_type_find_element_handle_event):
10320 If we get EOS before any data is accumulated, don't use
10321 uninitialised local variables.
10323 2006-04-28 Michael Smith <msmith@fluendo.com>
10325 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10326 (gst_dp_event_from_packet):
10327 Fixes in reading/writing events over GDP (not currently used?) -
10328 dereferencing NULL events for unknown/invalid event types, memory
10329 leak, and change g_warning to GST_WARNING.
10331 2006-04-28 Wim Taymans <wim@fluendo.com>
10333 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10334 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10335 (gst_base_sink_get_position), (gst_base_sink_change_state):
10336 When frame dropping is enabled, we should not ignore frames
10337 without a duration.
10338 Update some documentation.
10340 2006-04-28 Wim Taymans <wim@fluendo.com>
10342 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10343 (gst_base_src_send_event), (gst_base_src_change_state):
10344 Documentation updates.
10346 2006-04-28 Wim Taymans <wim@fluendo.com>
10348 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10349 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10350 handle EAGAIN, EINTR and short writes correctly. Also clean
10351 up some error cases, avoid a deadlock on bad file descriptors and
10352 use GST_DEBUG_OBJECT.
10355 2006-04-28 Wim Taymans <wim@fluendo.com>
10357 * gst/gstvalue.c: (gst_value_serialize_buffer),
10358 (gst_value_deserialize_buffer):
10359 Don't try to serialize a GValue with a NULL buffer.
10362 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10363 Added check for serialisation of NULL buffers.
10365 2006-04-28 Wim Taymans <wim@fluendo.com>
10367 * gst/gstminiobject.c: (gst_value_take_mini_object):
10368 Taking a NULL miniobject is valid, fix the case where
10369 we try to unref the NULL miniobject.
10371 2006-04-28 Wim Taymans <wim@fluendo.com>
10373 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10375 * gst/gstbin.c: (gst_bin_handle_message_func):
10377 Don't leak bin refcount when a state recalc is
10378 in progress and we delay another one #339808.
10380 2006-04-28 Wim Taymans <wim@fluendo.com>
10382 * docs/design/part-TODO.txt:
10383 Mention QoS as an ongoing work item.
10385 * docs/design/part-buffering.txt:
10386 New doc about buffering that needs to be fleshed out
10389 * docs/design/part-qos.txt:
10390 More QoS policy for decoders/demuxers/transforms
10392 * docs/design/part-trickmodes.txt:
10395 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10400 === release 0.10.5 ===
10402 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10405 releasing 0.10.5, "Fogo"
10407 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
10409 patch by: Wim Taymans
10411 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10412 (gst_pad_configure_src), (gst_pad_push):
10413 * gst/gstpipeline.c: (gst_pipeline_init):
10414 Fix internal data flow errors. Fixes #338711.
10416 2006-04-12 Wim Taymans <wim@fluendo.com>
10418 * tests/check/gst/gstelement.c: (GST_START_TEST):
10419 Don't leak the factory.
10421 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
10424 * win32/common/config.h:
10427 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
10429 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10430 (gst_controller_unset_all):
10431 Free allocated GstTimedValues when freeing list nodes.
10432 Should fix leaks 'make check-valgrind' complains about.
10434 * win32/common/libgstcontroller.def:
10435 Add gst_controller_unset_all.
10437 2006-04-11 Stefan Kost <ensonic@users.sf.net>
10439 * docs/libs/gstreamer-libs-sections.txt:
10440 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10441 (gst_controller_unset_all):
10442 * libs/gst/controller/gstcontroller.h:
10443 API: Added new method gst_controller_unset_all()
10444 fixed gst_controller_unset()
10445 * tests/check/libs/controller.c: (GST_START_TEST),
10446 (gst_controller_suite):
10447 Added two testcases for new and fixed method
10449 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
10451 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10452 MSG_DONTWAIT is not defined on Cygwin, so work
10453 around that (fixes #317048).
10455 2006-04-11 Wim Taymans <wim@fluendo.com>
10457 * gst/gstelementfactory.c: (gst_element_register),
10458 (gst_element_factory_create), (gst_element_factory_make):
10461 Updated docs (Fixes #131079)
10463 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10466 * tests/check/gst/gstelement.c: (GST_START_TEST),
10467 (gst_element_suite):
10468 Added testcase for elementfactory class field.
10470 2006-04-10 Wim Taymans <wim@fluendo.com>
10472 * gst/gstsegment.c:
10473 Added some more docs.
10475 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10476 (gst_base_sink_reset_qos):
10477 Calculate more accurate rate values.
10479 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
10481 * gst/gst_private.h:
10482 add a new #ifdef to use __declspec(dllimport) only for
10483 other modules and not for gstreamer core
10484 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10485 use gst_guint64_to_gdouble for conversion
10486 * win32/common/libgstreamer.def:
10487 add new exported functions
10488 * win32/vs6/gst_inspect.dsp:
10489 * win32/vs6/gst_launch.dsp:
10490 * win32/vs6/libgstbase.dsp:
10491 * win32/vs6/libgstcontroller.dsp:
10492 * win32/vs6/libgstcoreelements.dsp:
10493 * win32/vs6/libgstdataprotocol.dsp:
10494 * win32/vs6/libgstnet.dsp:
10495 update project files
10497 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10499 * gst/gstbuffer.c: (gst_subbuffer_class_init):
10500 * gst/gstclock.c: (gst_clock_class_init):
10501 * gst/gstelement.c: (gst_element_class_init):
10502 * gst/gstindex.c: (gst_index_class_init):
10503 * gst/gstindexfactory.c: (gst_index_factory_class_init):
10504 * gst/gstobject.c: (gst_object_class_init),
10505 (gst_signal_object_class_init):
10506 * gst/gstpad.c: (gst_pad_class_init):
10507 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10508 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10509 * gst/gstregistry.c: (gst_registry_class_init):
10510 * gst/gstsystemclock.c: (gst_system_clock_class_init):
10511 * gst/gsttask.c: (gst_task_class_init):
10512 * gst/gstxml.c: (gst_xml_class_init):
10513 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10514 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10515 (gst_base_src_loop):
10516 * libs/gst/controller/gstcontroller.c:/
10517 (_gst_controller_class_init):
10518 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10519 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10520 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10521 * tests/old/examples/plugins/example.c: (gst_example_class_init):
10522 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10523 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10525 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
10527 * gst/gstpad.c: (gst_pad_link):
10528 Must set peer pads before calling the link function, otherwise
10529 a task started from a link function might get a flow-not-linked
10530 result when trying to push because the other thread where the
10531 linking happens hasn't had a chance to set the peers yet. This
10532 might happen for example when a queue gets linked to a downstream
10533 element, as queue starts a streaming task when its source pad
10534 gets linked. Happens in real life when playing back flac/musepack
10535 files in playbin (#332390).
10537 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10541 * libs/gst/base/gstadapter.h:
10542 * libs/gst/base/gstbasesink.h:
10543 * libs/gst/base/gstbasesrc.h:
10544 * libs/gst/base/gstbasetransform.h:
10545 * libs/gst/base/gstcollectpads.h:
10546 * libs/gst/base/gstpushsrc.h:
10547 Fix broken GObject macros
10549 2006-04-07 Wim Taymans <wim@fluendo.com>
10551 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10552 Initialize start and stop times, thanks valgrind.
10554 2006-04-07 Wim Taymans <wim@fluendo.com>
10556 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10557 Be a bit nicer to badly behaving upstream elements that expect
10558 us to deal with non TIME segments and timestamps (such as fakesrc
10561 2006-04-07 Wim Taymans <wim@fluendo.com>
10564 Small documentation clarification about the signal watch.
10566 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10567 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10568 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10569 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10570 (gst_base_sink_get_position_last),
10571 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10572 Convert and store timestamps in stream time and running time, the
10573 raw timestamps are not useful, also document this better.
10574 Use different window sizes for good and bad QoS observations so
10575 we react to badness a little quicker.
10576 Keep track of the amount of rendered and dropped buffers.
10577 Send QoS timestamps in running time.
10579 * libs/gst/base/gstbasetransform.c:
10580 (gst_base_transform_sink_eventfunc),
10581 (gst_base_transform_handle_buffer):
10582 Compare QoS timestamps against running time.
10584 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10587 Typo fixes in docs.
10589 2006-04-06 Michael Smith <msmith@fluendo.com>
10591 * gst/gstpad.c: (gst_pad_set_property):
10592 Use g_value_get_object() instead of g_value_dup_gst_object(),
10593 to avoid double-reffing the pad template (which we then sink,
10594 so this worked previously if (and only if) the pad template
10597 * gst/gstpadtemplate.c: (gst_pad_template_init),
10598 (gst_pad_template_pad_created):
10599 Never return floating references to pad templates, create
10600 them as initially-sunken.
10602 Document an extra function (and make this stop sinking our
10603 pad template, since that is now guaranteed to do nothing,
10604 since we created it sunken).
10606 * gst/gstghostpad.c:
10609 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10611 * gst/gstinfo.c: (__gst_in_valgrind):
10614 * plugins/elements/gsttypefindelement.c:
10615 (gst_type_find_element_chain):
10616 Don't leak buffer caps.
10618 2006-04-06 Michael Smith <msmith@fluendo.com>
10620 * gst/parse/grammar.y:
10621 Fix a leak in parse-launch for any source-or-sink named element
10624 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10625 Unref the pipeline if it exists after we've failed parsing.
10627 2006-04-05 Michael Smith <msmith@fluendo.com>
10629 * gst/gstpipeline.c: (gst_pipeline_init):
10630 When we create a pipeline bus, initially create it in flushing mode.
10631 Fixes leaks in at least one test, and makes a new pipeline work the
10632 same as one that has gone to READY and then back to NULL.
10634 * gst/gstelement.c:
10637 2006-04-05 Michael Smith <msmith@fluendo.com>
10639 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10640 Unref a pad we reffed.
10641 * tests/check/gst/gstutils.c: (GST_START_TEST):
10644 2006-04-05 Michael Smith <msmith@fluendo.com>
10646 * gst/gstquery.c: (gst_query_set_formats),
10647 (gst_query_set_formatsv):
10648 Fix leaking GValues in queries, as shown by valgrind/testsuite.
10650 2006-04-05 Michael Smith <msmith@fluendo.com>
10652 * tests/check/generic/sinks.c: (GST_START_TEST):
10653 Fix a variety of memleaks in sinks check, which are only sometimes
10654 shown by running the tests under valgrind (weird?).
10656 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
10658 * docs/version.entities.in:
10659 Fix the substituted entity name after thomas' changes on the
10662 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10664 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10667 2006-04-05 Andy Wingo <wingo@pobox.com>
10669 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10671 * libs/gst/base/gstbasetransform.c
10672 (gst_base_transform_sink_eventfunc): When resetting our segment on
10673 FLUSH_STOP, also update the flag saying we haven't seen a
10676 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10678 Patch by: Paolo Borelli <pborelli at katamail dot com>
10680 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10681 (gst_plugin_check_license):
10682 minor clean-ups: G_DEFINE_TYPE already takes care of the
10683 parent_class stuff, no need to do it twice. Mark array of
10684 license strings as constant. (#337103)
10686 2006-04-04 Michael Smith <msmith@fluendo.com>
10688 * tools/gst-inspect.c: (print_element_list):
10689 Free the right plugin list; fixes a memory leak.
10691 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10693 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10695 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10696 Don't error out on empty buffers (#336945).
10698 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
10700 * docs/libs/gstreamer-libs-sections.txt:
10701 * gst/gsttaglist.c:
10702 * libs/gst/base/gstbasesink.c:
10703 * libs/gst/base/gstbasesink.h:
10704 * libs/gst/base/gstbasesrc.c:
10705 * libs/gst/base/gstbasesrc.h:
10706 Documentation updates. Make BaseSink and BaseSrc docs contain the
10707 class structure so that people can actually see the prototypes for
10708 virtual functions they're supposed to be overriding.
10710 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10712 * plugins/elements/gsttypefindelement.c:
10713 (gst_type_find_element_chain):
10714 More debug info; when skipping typefinding, send cached
10715 events in all cases.
10717 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
10720 use new AS_VERSION and AS_NANO macros
10721 * gst/gst-i18n-lib.h:
10724 * gst/gstversion.h.in:
10725 * win32/common/config.h:
10726 * win32/common/config.h.in:
10729 2006-03-31 Michael Smith <msmith@fluendo.com>
10731 * plugins/elements/gsttypefindelement.c:
10732 (gst_type_find_element_chain):
10733 Do not typefind content if the buffers already have caps.
10734 Neccesary for icydemux (#333657), and the right thing to do anyway.
10736 2006-03-30 Wim Taymans <wim@fluendo.com>
10738 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10739 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10740 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10741 (gst_base_sink_record_qos_observation),
10742 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10743 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10744 (gst_base_sink_change_state):
10745 More QoS measurements as described in the design doc.
10746 Get rid of ringbuffer with observations, running average is
10747 more simple and equally good.
10748 Calculates valid proportion now.
10749 Added beginning of flood measurement.
10751 2006-03-29 Wim Taymans <wim@fluendo.com>
10753 * docs/design/part-qos.txt:
10755 Small documentation updates and additions.
10757 2006-03-29 Wim Taymans <wim@fluendo.com>
10759 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10760 (gst_base_src_send_event), (gst_base_src_loop),
10761 (gst_base_src_change_state):
10762 Perform the EOS logic when we reach the segment stop position.
10763 Fix compilation on gcc4.1
10765 2006-03-29 Wim Taymans <wim@fluendo.com>
10767 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10769 * plugins/elements/gstqueue.c: (gst_queue_init),
10770 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10771 (gst_queue_set_property):
10772 * plugins/elements/gstqueue.h:
10773 In queue, when EOS is received, if minimum threshold > max_size -
10774 current_level, there is chance that queue blocks forever in conditional
10775 item del wait. This is because the queue is not emptied completely due
10776 to minimum threshold. Here is another approach. Instead of setting
10777 cur_levels to max in EOS, just zero all minimum threshold levels. This
10778 should make sure that queue gives out all data. When going to READY
10779 (stop) state, just reset the original minimum threshold levels.
10782 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
10784 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10785 (gst_type_find_element_handle_event),
10786 (gst_type_find_element_send_cached_events),
10787 (gst_type_find_element_change_state):
10788 * plugins/elements/gsttypefindelement.h:
10789 When typefinding is done in push mode, we should cache
10790 events we receive during typefinding instead of just
10791 dropping them (e.g. newsegment, custom events from
10792 dvdreadsrc etc.) and then send them out once we've
10793 determined the type of the stream (and decodebin
10794 has had a chance to plug in a decoder/demuxer).
10796 2006-03-27 Wim Taymans <wim@fluendo.com>
10798 * docs/design/part-qos.txt:
10801 2006-03-27 Wim Taymans <wim@fluendo.com>
10803 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10805 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10806 (gst_base_src_send_event), (gst_base_src_change_state):
10807 Handle element seek correctly when we are streaming.
10810 2006-03-24 Michael Smith <msmith@fluendo.com>
10812 * docs/faq/gst-uninstalled:
10813 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10814 allow you to correctly run intalled applications built against old
10815 core, using plugins that require updated core (e.g. running
10816 installed totem against a full uninstalled gstreamer stack)
10818 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10820 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10823 2006-03-24 Wim Taymans <wim@fluendo.com>
10825 * docs/gst/gstreamer-sections.txt:
10826 Rearrange the order of the methods so that related methods
10827 are grouped together in sections.
10829 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10831 * gst/gstelement.c:
10832 Little clarification in the docs
10834 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10838 * plugins/elements/gstidentity.c:
10839 * plugins/elements/gstqueue.c:
10840 * plugins/elements/gsttee.c:
10841 * plugins/elements/gsttypefindelement.c:
10842 GST_ELEMENT_DETAILS formatting
10844 2006-03-24 Wim Taymans <wim@fluendo.com>
10846 * libs/gst/base/gstbasesink.h:
10847 Only add fields, not insert or we break ABI.
10849 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10851 * win32/common/libgstbase.def:
10852 * win32/common/libgstreamer.def:
10853 Update, add recently added functions.
10855 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10857 * docs/gst/gstreamer-sections.txt:
10858 * gst/gstutils.c: (gst_pad_query_peer_position),
10859 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10861 API: add some new utility functions:
10862 - gst_pad_query_peer_position()
10863 - gst_pad_query_peer_duration()
10864 - gst_pad_query_peer_convert()
10866 2006-03-23 Wim Taymans <wim@fluendo.com>
10868 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10869 (gst_base_sink_init), (gst_base_sink_finalize),
10870 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10871 (gst_base_sink_set_property), (gst_base_sink_get_property),
10872 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10873 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10874 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10875 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10876 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10877 (gst_base_sink_preroll_object), (gst_base_sink_event),
10878 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10879 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10880 (gst_base_sink_query), (gst_base_sink_change_state):
10881 Decouple max-lateness and the fact that QoS messages are generated
10882 with a new property (qos).
10883 added API: GstBaseSink::async_play()
10884 Add vmethod so subclasses can be notified of ASYNC playing
10886 Collect timestamp start and stop to report better current
10887 position in EOS/PLAYING/PAUSED/READY/NULL.
10888 Refactor QoS/frame dropping and other measurements.
10889 API: GstBaseSrc::qos
10892 * libs/gst/base/gstbasesink.h:
10893 Added Private struct.
10894 API: gst_base_sink_set_qos_enabled()
10895 API: gst_base_sink_is_qos_enabled()
10897 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10899 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10900 If compiling against GLib-2.8 or newer, try to read the
10901 registry file using GMappedFile first before falling back
10902 to fopen() + fread() (#332151).
10904 2006-03-22 Wim Taymans <wim@fluendo.com>
10906 * gst/gstinfo.c: (gst_debug_set_active),
10907 (gst_debug_category_set_threshold):
10908 Disable debugging unless explicitly activated.
10911 2006-03-22 Wim Taymans <wim@fluendo.com>
10913 * gst/gstelement.c: (gst_element_set_locked_state),
10914 (gst_element_dispose):
10915 Cleanup the error case.
10917 * gst/gstobject.c: (gst_object_dispose):
10918 print a critical when some object was disposed with
10919 a parent, also revive the object since it might
10922 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
10924 * tools/gst-launch.1.in:
10927 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10930 * tests/check/Makefile.am:
10931 disable some tests when we don't have a registry
10932 * tests/check/gst/gstutils.c: (gst_utils_suite):
10933 don't build the part that needs parsing
10935 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10938 * tests/examples/Makefile.am:
10939 fix --disable-parse build
10941 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10943 * tools/gst-feedback.1.in:
10944 Fix typo: s/feeback/feedback/ (#133494).
10946 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10948 * tools/Makefile.am:
10949 * tools/gst-launch.1.in:
10950 Add FILES section and correct entry about GST_REGISTRY_PATH
10951 environment variable (#133495; #133494).
10953 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10955 * tools/Makefile.am:
10956 * tools/gst-md5sum.1.in:
10957 * tools/gst-md5sum.c:
10958 Remove gst-md5sum and man page (the md5sink element
10959 required was removed ages ago)
10961 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10963 * gst/gststructure.c: (gst_structure_id_set_value):
10964 Make sure that string fields in structures/taglists
10965 contain valid UTF-8 - we don't want to pass rubbish to
10966 applications because of a buggy plugin (cp. #334167).
10968 2006-03-21 Edward Hervey <edward@fluendo.com>
10970 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10971 (gst_bin_handle_message_func):
10972 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10973 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10974 (gst_element_set_bus_func):
10975 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10976 * gst/gstminiobject.c: (gst_value_set_mini_object),
10977 (gst_value_take_mini_object):
10978 * gst/gstpad.c: (gst_pad_set_pad_template):
10979 * gst/gstpipeline.c: (gst_pipeline_dispose),
10980 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10981 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10982 (gst_collect_pads_chain):
10983 * libs/gst/net/gstnettimeprovider.c:
10984 (gst_net_time_provider_set_property):
10985 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10986 It's in fact all issues with gst_*object_replace().
10988 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10990 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
10992 * pkgconfig/gstreamer-check-uninstalled.pc.in:
10993 * pkgconfig/gstreamer-check.pc.in:
10994 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10996 2006-03-21 Edward Hervey <edward@fluendo.com>
11000 * gst/gstmessage.h:
11001 gst_[buffer|event|message]_ref() macros are replaced by a static
11002 inline functions because gcc-4.1 will about if the return value
11004 * tests/check/gst/gstevent.c: (event_probe):
11005 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
11007 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
11010 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
11011 the type' case. (Closes: #335195 for now). In the future, when we
11012 depend on GLib 2.10, we could also intern the type name using
11013 g_intern_static_string()
11015 2006-03-20 Wim Taymans <wim@fluendo.com>
11017 * gst/gstbin.c: (gst_bin_handle_message_func),
11018 (bin_query_max_init), (bin_query_position_fold),
11019 (bin_query_position_done), (gst_bin_query):
11020 Position query should also take max of all streams.
11022 2006-03-20 Wim Taymans <wim@fluendo.com>
11024 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11025 (gst_fake_src_finalize):
11026 Fix leaks in fakesrc.
11028 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11029 Fix leaks in the testcase.
11031 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
11033 * gst/gst_private.h:
11034 add win32 specific import decoration(__declspec(dllimport))
11035 for all extern GstDebugCategory * variables
11036 * win32/common/libgstbase.def:
11037 * win32/common/libgstcontroller.def:
11038 * win32/common/libgstreamer.def:
11039 Add some exports, remove empty lines
11040 * win32/common/libgstdataprotocol.def:
11041 * win32/common/libgstdataprotocol.dsp:
11042 * win32/common/libgstnet.def:
11043 * win32/common/libgstnet.dsp:
11044 new project files and exportation files added
11046 2006-03-19 Wim Taymans <wim@fluendo.com>
11048 * tests/check/libs/basesrc.c: (eos_event_counter):
11049 Use proper return value for probe.
11051 2006-03-17 Wim Taymans <wim@fluendo.com>
11053 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11055 Don't leak buffers, caps and pads on negotiation errors.
11057 2006-03-16 Stefan Kost <ensonic@users.sf.net>
11059 * docs/faq/cvs.xml:
11060 * docs/faq/dependencies.xml:
11061 * docs/faq/developing.xml:
11062 * docs/faq/faq.xml:
11063 * docs/faq/general.xml:
11064 * docs/faq/getting.xml:
11065 * docs/faq/legal.xml:
11066 * docs/faq/troubleshooting.xml:
11067 * docs/faq/using.xml:
11068 Faq review and update.
11070 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
11072 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11074 Don't pound the cpu to pieces by checking get_caps when accept_caps
11075 is called with the same caps as the pad already has.
11076 Use GST_DEBUG_OBJECT when outputting caps change information.
11078 2006-03-15 Wim Taymans <wim@fluendo.com>
11080 * gst/gstclock.c: (gst_clock_class_init):
11083 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
11088 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
11089 (gst_pad_accept_caps), (gst_pad_configure_sink),
11090 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
11091 Make the default acceptcaps behaviour be to check the requested
11092 caps against the gst_pad_get_caps output.
11094 Ensure that gst_pad_accept_caps is used to check caps when a pad
11095 doesn't have a setcaps function, so that pads automatically refuse
11096 caps that they don't allow in their pad template. (Fixes #332986)
11098 When a buffer with attached caps is pushed, ensure that the source
11099 pad receives those caps even if the element didn't call
11100 gst_pad_set_caps first.
11102 2006-03-15 Wim Taymans <wim@fluendo.com>
11104 * libs/gst/base/gstadapter.c:
11107 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
11109 * win32/common/libgstbase.def:
11110 * win32/common/libgstcontroller.def:
11111 * win32/common/libgstreamer.def:
11112 Add a whole bunch of missing functions (#334434).
11114 2006-03-14 Wim Taymans <wim@fluendo.com>
11116 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11117 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11118 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
11119 Better debug info when we receive a segment event.
11120 Reorganize a bit so we can pass the get_times() results around.
11121 Use the segment format when calculating the running time.
11122 Don't do QoS is sync is disabled or we have no clock or the
11123 element does not want us to sync to the clock.
11124 Don't drop buffers if QoS is disabled for now.
11126 2006-03-14 Wim Taymans <wim@fluendo.com>
11128 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
11129 Marked the stats property as unimplemented so people don't get
11131 Add debug message when regression goes wrong.
11132 Added some more docs.
11134 2006-03-14 Wim Taymans <wim@fluendo.com>
11136 * gst/gstsegment.c: (gst_segment_to_stream_time):
11137 Return correct return type in case of errors.
11139 2006-03-14 Wim Taymans <wim@fluendo.com>
11141 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
11142 Don't segfault on invalid formats.
11144 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
11146 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11147 Can't use gst_segment_to_running_time() when the segment
11148 is not in GST_TIME_FORMAT (like with filesink, for example).
11149 Stops flac encoding pipelines from spewing critical warnings
11152 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
11154 * gst/gstpipeline.c: (gst_pipeline_class_init):
11155 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
11157 * plugins/elements/gsttypefindelement.c:
11158 (gst_type_find_element_handle_event):
11159 Don't try to typefind empty streams.
11161 2006-03-14 Wim Taymans <wim@fluendo.com>
11163 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11164 (gst_base_sink_do_qos):
11165 Separate QoS calculation.
11166 Only drop buffers when lateness is bigger than the
11167 duration of the buffer.
11169 2006-03-13 Wim Taymans <wim@fluendo.com>
11171 * gst/gstpipeline.c: (gst_pipeline_set_property),
11172 (gst_pipeline_get_property), (do_pipeline_seek),
11173 (gst_pipeline_change_state), (gst_pipeline_set_delay),
11174 (gst_pipeline_get_delay):
11175 Don't deadlock when reading properties.
11177 2006-03-13 Wim Taymans <wim@fluendo.com>
11179 * libs/gst/base/gstbasetransform.c:
11180 (gst_base_transform_class_init), (gst_base_transform_init),
11181 (gst_base_transform_sink_event),
11182 (gst_base_transform_sink_eventfunc),
11183 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
11184 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11185 (gst_base_transform_set_property),
11186 (gst_base_transform_get_property),
11187 (gst_base_transform_change_state), (gst_base_transform_update_qos),
11188 (gst_base_transform_set_qos_enabled),
11189 (gst_base_transform_is_qos_enabled):
11190 * libs/gst/base/gstbasetransform.h:
11191 Make basetransform virtual method for src events too.
11192 Handle QOS in basetransform.
11193 API: gst_base_transform_update_qos()
11194 API: gst_base_transform_set_qos_enabled()
11195 API: gst_base_transform_is_qos_enabled()
11197 2006-03-13 Wim Taymans <wim@fluendo.com>
11199 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11200 (gst_base_sink_do_sync):
11202 Use QOS debug category.
11204 2006-03-13 Wim Taymans <wim@fluendo.com>
11206 * plugins/elements/gstqueue.c:
11207 Very small doc update.
11209 2006-03-13 Wim Taymans <wim@fluendo.com>
11211 * gst/gst_private.h:
11212 * gst/gstinfo.c: (_gst_debug_init):
11213 Added QOS debug category
11215 2006-03-13 Wim Taymans <wim@fluendo.com>
11217 * docs/gst/gstreamer-sections.txt:
11218 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11220 * gst/gstbus.c: (gst_bus_class_init):
11223 * gst/gstelement.c: (gst_element_set_locked_state):
11224 * gst/gstsegment.c:
11225 Documentation updates.
11227 * gst/gstpipeline.c: (gst_pipeline_get_type),
11228 (gst_pipeline_class_init), (gst_pipeline_init),
11229 (gst_pipeline_dispose), (gst_pipeline_set_property),
11230 (gst_pipeline_get_property), (do_pipeline_seek),
11231 (gst_pipeline_send_event), (gst_pipeline_change_state),
11232 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11233 (gst_pipeline_get_delay):
11234 * gst/gstpipeline.h:
11235 Added methods for setting the delay.
11236 API: gst_pipeline_set_delay()
11237 API: gst_pipeline_get_delay()
11238 Add pipeline debug category
11241 Don't reset stream time when seek failed.
11243 2006-03-13 Wim Taymans <wim@fluendo.com>
11245 * docs/design/draft-klass.txt:
11246 * docs/design/part-clocks.txt:
11247 * docs/design/part-events.txt:
11248 * docs/design/part-gstbin.txt:
11249 * docs/design/part-gstpipeline.txt:
11250 * docs/design/part-messages.txt:
11251 * docs/design/part-negotiation.txt:
11252 * docs/design/part-overview.txt:
11253 * docs/design/part-preroll.txt:
11254 * docs/design/part-seeking.txt:
11255 * docs/design/part-states.txt:
11256 * docs/design/part-streams.txt:
11257 Documentation updates.
11259 2006-03-12 Julien MOUTTE <julien@moutte.net>
11261 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11262 us to leak strings...
11264 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
11266 * libs/gst/net/gstnettimeprovider.c:
11268 * win32/common/config.h:
11271 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
11273 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11276 Don't check for libgnomeui (leftover from old examples
11277 that aren't built or disted any longer) (#334303).
11279 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
11281 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11282 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11283 Emit RESOURCE_NO_SPACE_LEFT error here as well when
11284 there's no space left on the device.
11286 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
11289 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11290 to cast the input to GstClockTime before comparing with
11291 another GstClockTime value.
11293 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
11298 === release 0.10.4 ===
11300 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
11303 releasing 0.10.4, "Light"
11305 2006-03-10 Michael Smith <msmith@fluendo.com>
11307 * libs/gst/dataprotocol/dataprotocol.c:
11308 Fix docs for dataprocotol to not get the return types completely
11309 wrong for a few functions.
11311 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11313 * docs/gst/gstreamer-sections.txt:
11314 * gst/gstpipeline.c: (gst_pipeline_class_init),
11315 (gst_pipeline_init), (gst_pipeline_set_property),
11316 (gst_pipeline_get_property), (gst_pipeline_change_state),
11317 (gst_pipeline_set_auto_flush_bus),
11318 (gst_pipeline_get_auto_flush_bus):
11319 * gst/gstpipeline.h:
11320 Add new API: gst_pipeline_set_auto_flush_bus() and
11321 gst_pipeline_get_auto_flush_bus() to disable automatic
11322 flushing of the pipeline's GstBus when going from READY
11323 to NULL state (#332045).
11325 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11327 * docs/gst/gstreamer-sections.txt:
11328 * gst/gsturi.c: (gst_uri_has_protocol):
11330 Add new API: gst_uri_has_protocol() (#333779).
11332 2006-03-09 Wim Taymans <wim@fluendo.com>
11334 * gst/gstclock.c: (gst_clock_entry_new),
11335 (gst_clock_id_compare_func), (gst_clock_id_wait),
11336 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11337 (gst_clock_init), (gst_clock_get_internal_time),
11338 (gst_clock_set_master), (do_linear_regression),
11339 (gst_clock_add_observation), (gst_clock_set_property):
11343 Fix a possible segfault when the window-size is made smaller.
11344 Calculate jitter before performing the clock wait. Ideally
11345 the clock implementation should calculate jitter but we need
11346 API breakage for that.
11348 * gst/gstsystemclock.c: (gst_system_clock_init):
11351 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11352 Remove leftover else
11354 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11355 (gst_systemclock_suite):
11356 Added check to test GST_CLOCK_DIFF.
11358 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11360 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11361 (gst_type_find_helper_get_range):
11362 If we are provided with the size, we should implement
11363 GstTypeFind::get_length, so that typefind functions who
11364 want to can actually peek at the middle of a file.
11366 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
11368 * docs/manual/advanced-dataaccess.xml:
11369 Add some very very basic error checking.
11371 * docs/pwg/appendix-checklist.xml:
11372 Some updates to the list of things to check when writing an element.
11374 2006-03-08 Wim Taymans <wim@fluendo.com>
11376 * docs/design/part-element-transform.txt:
11377 Added some docs about the design of tranform elements.
11379 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11380 (gst_base_src_loop), (gst_base_src_change_state):
11381 Mark buffers with the DISCONT flag.
11383 2006-03-08 Michael Smith <msmith@fluendo.com>
11385 * gst/gstregistry.h:
11386 * gst/gstregistryxml.c: (gst_registry_save),
11387 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11388 (gst_registry_xml_save_pad_template),
11389 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11390 (gst_registry_xml_write_cache):
11391 Rewrite registry-saving to avoid race conditions and check for
11394 2006-03-08 Wim Taymans <wim@fluendo.com>
11396 * libs/gst/base/gstbasetransform.c:
11397 (gst_base_transform_transform_caps),
11398 (gst_base_transform_transform_size),
11399 (gst_base_transform_prepare_output_buffer),
11400 (gst_base_transform_get_unit_size),
11401 (gst_base_transform_buffer_alloc),
11402 (gst_base_transform_handle_buffer),
11403 (gst_base_transform_change_state):
11404 Cleanups, separate normal flow from errors, add sensible
11406 Don't try to renegotiate when allocating an output buffer.
11407 Also copy DISCONT buffer flag when copying a buffer.
11408 Reset the transform after we finish streaming, not during.
11410 2006-03-08 Wim Taymans <wim@fluendo.com>
11412 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11413 Use last buffer timestamp in qos message.
11415 2006-03-07 Wim Taymans <wim@fluendo.com>
11417 Patch by: Christophe Fergeau
11419 * docs/pwg/advanced-tagging.xml:
11420 * docs/pwg/building-pads.xml:
11423 2006-03-07 Wim Taymans <wim@fluendo.com>
11425 * docs/libs/gstreamer-libs-sections.txt:
11426 Added basesink new methods.
11430 Docs updates. Flesh out the QoS docs.
11432 * libs/gst/base/gstadapter.c:
11433 Small doc clarification about ownership and flushing.
11435 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11436 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11437 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11438 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11439 * libs/gst/base/gstbasesink.h:
11441 Added new methods to allow subclass to control max-lateness
11443 Generate very basic QoS events based on last sync observation.
11444 Updated docs, fix typo, added some QoS blurb.
11446 * libs/gst/base/gstbasesrc.c:
11447 Remove obsolete _get_state() calls from docs.
11449 2006-03-07 Wim Taymans <wim@fluendo.com>
11451 * docs/libs/gstreamer-libs-sections.txt:
11452 * libs/gst/base/gstbasetransform.h:
11453 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11454 Fix docs for GstBaseSrc.
11456 2006-03-07 Wim Taymans <wim@fluendo.com>
11458 * docs/gst/gstreamer-sections.txt:
11461 * libs/gst/base/gstbasetransform.h:
11462 Small documentation fixes.
11464 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11467 Document thread-unsafety of gst_value_register_foo_func()
11468 when used at the same time as gst_value_foo() (#322628).
11470 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11472 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11473 (gst_push_src_check_get_range):
11474 Push sources don't support pull mode by default.
11476 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11478 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11479 (gst_base_src_init), (gst_base_src_pad_check_get_range),
11480 (gst_base_src_default_check_get_range):
11481 * libs/gst/base/gstbasesrc.h:
11482 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11483 provide default implementation, and rename
11484 gst_base_src_check_get_range() to
11485 gst_base_src_pad_check_get_range() for clarity.
11487 2006-03-06 Wim Taymans <wim@fluendo.com>
11489 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11490 Make property overridable.
11492 2006-03-06 Wim Taymans <wim@fluendo.com>
11494 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11495 (gst_base_sink_init), (gst_base_sink_set_property),
11496 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11497 * libs/gst/base/gstbasesink.h:
11498 API addition: Make max-lateness a property.
11500 2006-03-06 Wim Taymans <wim@fluendo.com>
11502 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11503 (gst_base_sink_do_sync), (gst_base_sink_render_object):
11504 Don't ever draw a frame that is >10ms late.
11506 2006-03-06 Michael Smith <msmith@fluendo.com>
11508 * gst/gstmessage.c: (_gst_message_copy):
11509 When copying a message, set the parent_refcount of the enclosed
11510 structure to point at the copy, not the original message.
11512 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11514 Patch by: Christophe Fergeau
11517 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11518 usable in c++ code (#333417)
11520 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
11523 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11525 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
11527 * libs/gst/base/gstbasetransform.c:
11528 (gst_base_transform_transform_caps):
11529 Make sure caps are writable before passing them to
11532 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11535 Fix some minor docs errors.
11537 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11539 Patch by: Ross Burton <ross at burtonini dot com>
11541 * gst/gsterror.c: (_gst_resource_errors_init):
11543 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11545 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11548 Add a check and output a g_warning when GStreamer is built
11549 against GLib 2.6 but running against 2.8 or higher, and vice
11550 versa. (Closes: #323542)
11552 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11554 * gst/parse/parse.l:
11555 Commit patch for parse_launch syntax from #331255. Removes
11556 support for quoted strings and mimetypes when writing filtered
11557 caps. See the bug report for more details - I'm pretty sure this
11558 obscure feature is not in use by _anyone_ anywhere.
11560 With this simple change, the size of the gstreamer.so here
11561 drops from 2193KB to 1565KB.
11563 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11565 * plugins/elements/gsttypefindelement.h:
11566 * plugins/elements/gsttypefindelement.c:
11567 (gst_type_find_element_src_event), (start_typefinding),
11568 (stop_typefinding), (gst_type_find_element_handle_event),
11569 (gst_type_find_element_chain),
11570 (gst_type_find_element_chain_do_typefinding):
11571 Use gst_type_find_helper_for_buffer() for chain-based
11574 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11576 * plugins/elements/gsttypefindelement.c:
11577 (gst_type_find_element_class_init),
11578 (gst_type_find_element_set_property),
11579 (gst_type_find_element_get_property):
11580 Deprecate "maximum" property (not only was it only taken into
11581 account for typefinding in push-mode anyway, it also was never
11582 actually possible to set it in the first place because the
11583 property was registered with the numeric property ID for the
11584 "minimum" property). Register "maximum" property correctly,
11585 for the sake of future copy'n'pasters. Remove some cruft
11586 from property get/set functions.
11588 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11590 * plugins/elements/gsttypefindelement.c:
11591 (gst_type_find_element_activate):
11592 Use gst_type_find_helper_get_range() here, so we
11593 can honour the "minimum" property and also emit
11594 the signal with the correct probability of the found caps.
11596 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
11598 * docs/libs/gstreamer-libs-sections.txt:
11599 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11600 (helper_find_suggest), (gst_type_find_helper_get_range),
11601 (gst_type_find_helper):
11602 * libs/gst/base/gsttypefindhelper.h:
11603 New API: gst_type_find_helper_get_range() (#333042).
11605 2006-03-02 Michael Smith <msmith@fluendo.com>
11607 * gst/gstregistryxml.c: (load_feature):
11608 Asserting on a failure to read part of the registry is Not Cool.
11609 Just log a warning and return NULL (which is already handled)
11611 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
11613 * win32/common/libgstbase.def:
11614 added export of gst_type_find_helper_for_buffer
11615 * win32/common/libgstbase.def:
11616 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11617 gst_ghost_pad_get_target
11619 2006-02-28 Wim Taymans <wim@fluendo.com>
11621 * docs/design/draft-klass.txt:
11623 Added Connector to mark elements that are only used to
11624 allow pipeline connections.
11625 Moved Debug to extra feature since most of them are
11626 functionally something else.
11628 2006-02-28 Wim Taymans <wim@fluendo.com>
11630 * docs/design/draft-klass.txt:
11631 Some updates and clarifications.
11633 2006-02-28 Wim Taymans <wim@fluendo.com>
11635 * docs/design/draft-klass.txt:
11636 Proposal for klass field values.
11638 * docs/design/part-streams.txt:
11639 Start of a doc describing stream anatomy.
11641 2006-02-28 Wim Taymans <wim@fluendo.com>
11643 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11644 Help the compiler a bit with type registration.
11645 Use existing forward cod path instead of duplicating it when
11646 handling a message.
11648 * gst/gstbus.c: (gst_bus_get_type):
11649 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11650 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11651 * gst/gstclock.c: (gst_clock_get_type):
11652 * gst/gstelement.c: (gst_element_get_type),
11653 * gst/gstelementfactory.c: (gst_element_factory_get_type):
11654 * gst/gstindexfactory.c: (gst_index_factory_get_type):
11655 * gst/gstminiobject.c: (gst_mini_object_get_type):
11656 * gst/gstpad.c: (gst_pad_get_type):
11657 * gst/gstsegment.c: (gst_segment_get_type):
11658 * gst/gststructure.c: (gst_structure_get_type):
11659 * gst/gstsystemclock.c: (gst_system_clock_get_type):
11660 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11662 Help compiler with type registration.
11664 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11667 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11669 * plugins/elements/gsttypefindelement.c:
11670 (gst_type_find_element_handle_event):
11671 When we get an EOS event and have not found a type yet
11672 (most likely because we had not yet accumulated
11673 TYPE_FIND_MIN_SIZE of data yet), try to determine the
11674 type given the data we have so far. Fixes typefinding
11675 for very short streams again, most notably quicktime
11676 redirections as used on Apple's trailer site (#331701).
11678 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11680 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11681 (gst_type_find_helper):
11682 Try typefinding factories with the highest rank first.
11684 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11686 * docs/libs/gstreamer-libs-docs.sgml:
11687 * docs/libs/gstreamer-libs-sections.txt:
11688 * libs/gst/base/gsttypefindhelper.c:
11689 Add section for typefind helper and add documentation
11690 for the old and the new function.
11692 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11694 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11695 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11696 (gst_type_find_helper_for_buffer):
11697 * libs/gst/base/gsttypefindhelper.h:
11698 New API: gst_type_find_helper_for_buffer() (#332723).
11700 2006-02-27 Michael Smith <msmith@fluendo.com>
11702 Patch by: Loïc Minier
11705 * docs/Makefile.am:
11706 * docs/slides/Makefile.am:
11707 prevent CVS directories getting disted.
11709 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11711 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11712 Use the REFCOUNTING category for caps refcounting.
11714 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11716 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11717 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11719 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11721 * plugins/elements/gsttypefindelement.c:
11722 (gst_type_find_element_activate):
11723 Use gst_pad_check_pull_range() before _activate_pull()
11724 to avoid unnecessary open/close (see #331690).
11726 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11729 Docs enhancement: make it crystal clear what the
11730 gst_pad_add_*_probe() callbacks should look like.
11732 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11734 * libs/gst/base/gstbasesrc.c:
11735 Document how applications can stop recording from
11736 live sources (see #330996).
11738 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11740 * tests/check/Makefile.am:
11741 * tests/check/libs/basesrc.c: (eos_event_counter),
11742 (basesrc_eos_events_pull), (basesrc_eos_events_push),
11743 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11744 (gst_basesrc_suite), (main):
11745 ... and add some tests for the base source EOS stuff.
11747 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11749 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11750 Test case originally showed the problem fixed below,
11751 but was then amended. Add checks back at the place
11752 where they used to be.
11754 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11756 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11757 (gst_base_src_init), (gst_base_src_loop),
11758 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11759 (gst_base_src_change_state):
11760 * libs/gst/base/gstbasesrc.h:
11761 Don't unconditionally send EOS when going from PAUSED to
11762 READY state, esp. make sure we don't send two EOS events
11763 in some cases (e.g. one when reaching EOS and one when
11764 going from PAUSED to READY). Also, we don't want to send
11765 EOS events when operating in pull mode. However, we do
11766 want to send an EOS event when shutting down a live
11767 source explicitly, for example (fixes #330996).
11769 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11771 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11772 Update src->read_position after a seek when not using mmap.
11773 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11775 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
11781 Make things work with --disable-parse as they do with
11782 --disable-load-save - the symbols involved disappear, but the
11783 header is still installed and GST_DISABLE_PARSE is included via
11786 2006-02-20 Julien MOUTTE <julien@moutte.net>
11788 * libs/gst/base/gstbasetransform.c:
11789 (gst_base_transform_change_state): Fix a stupid bug. I was
11790 sure I compiled that.
11792 2006-02-20 Julien MOUTTE <julien@moutte.net>
11794 * gst/gstpad.c: (gst_pad_set_blocked_async):
11795 * gst/gstutils.c: (gst_pad_add_data_probe),
11796 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11797 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11798 (gst_pad_remove_buffer_probe): Make those function act on the
11799 ghostpad target when it's a ghostpad. (Closes #331727)
11801 2006-02-20 Julien MOUTTE <julien@moutte.net>
11803 * libs/gst/base/gstbasetransform.c:
11804 (gst_base_transform_change_state): Make basetransform reusable.
11807 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
11809 * docs/random/release:
11810 Move the current documentation of how to do a release to the top
11813 * gst/gstbin.c: (gst_bin_class_init),
11814 (gst_bin_handle_message_func):
11815 Allow multiple state-recalculation threads. (Closes #328873)
11817 2006-02-19 Julien MOUTTE <julien@moutte.net>
11819 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11820 * gst/gstpad.c: (gst_pad_set_event_function),
11821 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11822 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11823 2 strings. You can't use the STR_NULL macro on that.
11825 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
11827 * gst/gstpad.c: (gst_pad_set_event_function),
11828 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11829 (gst_pad_set_getcaps_function)
11830 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11831 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11832 So now, we can use --gst-debug-level=5 on Windows
11833 * win32/common/libgstcontroller.def:
11834 Added export of gst_controller_init
11835 * win32/vs6/libgstcontroller.dsp:
11836 Fixed Release post build configuration
11838 2006-02-17 Wim Taymans <wim@fluendo.com>
11840 * tests/check/gst/gstquery.c: (GST_START_TEST):
11841 Added another check.
11843 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
11845 * plugins/elements/gsttypefindelement.c: (find_peek):
11846 We can do peeks at non-zero offsets, as long as they
11847 fall within the buffer we have.
11849 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
11851 * tests/check/Makefile.am:
11852 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11853 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11854 (parse_suite), (main):
11855 Add testsuite for parse launch syntax
11857 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
11859 * plugins/elements/gsttypefindelement.c:
11860 (gst_type_find_element_chain):
11861 When typefinding is unsuccessful in the chain function, don't
11862 error out immediately. Only error out with NO_CAPS_FOUND if
11863 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11864 otherwise simply wait for more data so we can try typefinding
11865 again with more data later. Also, don't attempt to typefind
11866 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11867 this should improve typefinding from network sources where the
11868 size of the first buffer can be somewhat random.
11870 2006-02-14 Wim Taymans <wim@fluendo.com>
11872 * docs/gst/gstreamer-sections.txt:
11873 * gst/gstpadtemplate.c:
11874 * gst/gstpadtemplate.h:
11875 Fix padtemplate docs, fixes #328805.
11877 2006-02-14 Wim Taymans <wim@fluendo.com>
11879 * tools/gst-launch.c: (main):
11880 NO_PREROLL is not an ERROR so don't send confusing messages
11883 2006-02-14 Wim Taymans <wim@fluendo.com>
11885 Patch by: Torsten Schoenfeld
11887 * gst/gstregistry.c: (gst_registry_get_default),
11888 (_gst_registry_cleanup):
11889 Protect default registry with lock and ref/sink it.
11892 2006-02-14 Wim Taymans <wim@fluendo.com>
11895 * gst/gstquery.c: (gst_query_list_add_format),
11896 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11897 (gst_query_parse_formats_nth):
11898 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11901 2006-02-14 Wim Taymans <wim@fluendo.com>
11903 * docs/gst/gstreamer-sections.txt:
11904 Reworked query docs.
11906 * gst/gstquery.c: (gst_query_new_formats),
11907 (gst_query_list_add_format), (gst_query_set_formats),
11908 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11909 (gst_query_parse_formats_nth):
11911 Flesh out formats query, added some new methods.
11912 Fix part of #324398.
11914 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11915 Added query creation tests.
11917 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
11919 * gst/gstpad.c: (fixate_value):
11920 Add a default fixation for fraction lists.
11922 2006-02-13 Wim Taymans <wim@fluendo.com>
11924 * gst/gsttask.c: (gst_task_init), (gst_task_func),
11925 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11928 Detect and warn for obvious deadlocks. fixes #320340
11929 Fix error case where lock was not released.
11931 * tests/check/Makefile.am:
11932 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11933 (task_func), (gst_element_suite), (main):
11936 2006-02-13 Wim Taymans <wim@fluendo.com>
11938 * docs/gst/gstreamer-sections.txt:
11940 Add new functions to docs.
11942 2006-02-13 Wim Taymans <wim@fluendo.com>
11944 * docs/design/part-TODO.txt:
11945 Updated TODO list, basesrc supports seeking to non-bytes
11948 * docs/design/part-element-sink.txt:
11951 * gst/gstbin.c: (bin_replace_message),
11952 (gst_bin_handle_message_func):
11953 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11954 * gst/gstevent.c: (gst_event_finalize):
11955 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11956 (gst_pad_send_event):
11957 Use shiny new _TYPE_NAME macros.
11959 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11960 Move debug statement up.
11962 * gst/gstelement.c: (gst_element_set_locked_state):
11963 Add some debugging.
11965 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
11967 * docs/gst/gstreamer-sections.txt:
11968 * gst/gstmessage.h:
11970 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11971 macros (#330906). Also, document the already existing
11972 GST_QUERY_TYPE macro.
11974 2006-02-13 Wim Taymans <wim@fluendo.com>
11976 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11977 (event_probe), (GST_START_TEST):
11978 Only events up to the pipeline EOS are counted, there are
11979 some more when going to NULL currently which we don't care
11982 2006-02-13 Wim Taymans <wim@fluendo.com>
11984 * gst/gstpad.c: (gst_pad_send_event):
11985 Correctly check flushing and emit probes. fixes #330125
11987 2006-02-10 Andy Wingo <wingo@pobox.com>
11989 * gst/gstbus.c (gst_bus_class_init): Declare our private data
11991 (gst_bus_init): Cache the location of the private data in the
11992 instance structure.
11993 (gst_bus_enable_sync_message_emission)
11994 (gst_bus_disable_sync_message_emission): Implement new public
11996 (gst_bus_post): Emit the sync-message signal if the user asked for
11999 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
12000 location of the bus-private structure.
12001 (gst_bus_enable_sync_message_emission)
12002 (gst_bus_disable_sync_message_emission): API addition
12004 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
12006 Patch by: Vincent Torri
12008 * docs/pwg/building-boiler.xml:
12009 PWG patch from #326800
12011 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
12014 * docs/Makefile.am:
12015 * docs/design/Makefile.am:
12018 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
12023 === release 0.10.3 ===
12025 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
12028 releasing 0.10.3, "Like a virgin"
12030 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
12033 2nd prerelease of 0.10.3
12034 Bump libtool versioning.
12036 2006-02-07 Andy Wingo <wingo@pobox.com>
12038 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
12039 update last_stop if we're in TIME format and the timestamp is
12042 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
12043 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
12044 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
12045 If we get a new newsegment with a different format, adapt
12048 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
12049 of 0. Not a problem, really.
12051 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
12054 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
12059 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
12062 project files updated to the default vs7 configuration
12063 * win32/common/libgstbase.def:
12064 * win32/common/libgstreamer.def:
12066 removed empty lines,
12067 sorted all exported symbols alphabetically
12068 * win32/common/dirent.c:
12069 * win32/common/dirent.h:
12070 * win32/common/gchar.h:
12071 use windows line end.
12073 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
12075 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12076 Send EOS event when stopping.
12078 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
12081 Tell folks what to do if the plugin-foobar.xml file
12082 hasn't been generated for a newly-added plugin.
12084 2006-02-05 Julien MOUTTE <julien@moutte.net>
12086 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12087 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12088 (gst_collect_pads_start), (gst_collect_pads_stop),
12089 (gst_collect_pads_event): Collectpads now holds a reference
12090 to the GstPad that was added. Indeed we don't want to look
12091 at pads that might just go away with no warning...
12093 2006-02-05 Julien MOUTTE <julien@moutte.net>
12095 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12096 (gst_collect_pads_start), (gst_collect_pads_stop),
12097 (gst_collect_pads_event), (gst_collect_pads_chain):
12098 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
12099 Mark Nauwelaerts's patch on bug #328491.
12101 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
12103 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
12105 Add some simple tests for gst_parse_bin_from_description() and
12106 gst_bin_find_unconnected_pad() (#329069).
12108 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
12110 * tools/gst-launch.c: (event_loop), (main):
12111 Catch errors during preroll (#320084).
12113 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
12115 * plugins/elements/gsttypefindelement.c:
12116 (gst_type_find_element_activate):
12117 Post TYPE_NOT_FOUND error message when typefinding
12118 is unsuccessful in the activate function as well.
12120 2006-02-02 Wim Taymans <wim@fluendo.com>
12122 * docs/design/part-element-sink.txt:
12125 2006-02-02 Wim Taymans <wim@fluendo.com>
12127 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12128 (gst_base_sink_render_object),
12129 (gst_base_sink_queue_object_unlocked):
12130 Only keep track of prerollable items when we are
12132 Before rendering after preroll, always check if we
12134 Added some more debugging.
12136 2006-02-02 Wim Taymans <wim@fluendo.com>
12138 * gst/gstelement.c: (gst_element_continue_state),
12139 (gst_element_set_state_func), (gst_element_change_state):
12140 Fixed #326576, been running this for quite some time with
12141 no regressions at all.
12143 2006-02-02 Wim Taymans <wim@fluendo.com>
12146 Added more suppressions
12148 2006-02-02 Wim Taymans <wim@fluendo.com>
12150 * docs/design/part-element-sink.txt:
12153 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12154 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
12155 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
12156 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12157 (gst_base_sink_do_sync), (gst_base_sink_render_object),
12158 (gst_base_sink_preroll_object),
12159 (gst_base_sink_queue_object_unlocked),
12160 (gst_base_sink_queue_object), (gst_base_sink_event),
12161 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
12162 (gst_base_sink_loop), (gst_base_sink_activate_pull),
12163 (gst_base_sink_get_position), (gst_base_sink_change_state):
12164 * libs/gst/base/gstbasesink.h:
12165 Totally refactored matching the design doc.
12166 Use two segments, one to clip incomming buffers and another to
12168 Handle queueing correctly, bypass the queue when playing.
12169 Make EOS cancelable.
12170 Handle errors correctly when operating in pull based mode.
12172 * tests/check/elements/fakesink.c: (GST_START_TEST),
12174 Added new check for sinks.
12176 2006-02-02 Wim Taymans <wim@fluendo.com>
12178 * gst/gstsegment.c: (gst_segment_clip):
12179 No reason to refuse to clip when start == -1
12181 2006-02-02 Stefan Kost <ensonic@users.sf.net>
12184 * docs/manual/intro-basics.xml:
12185 * docs/manual/intro-preface.xml:
12186 * docs/manual/manual.xml:
12187 * docs/pwg/advanced-dparams.xml:
12188 * docs/pwg/intro-basics.xml:
12189 * docs/pwg/intro-preface.xml:
12190 * docs/pwg/pwg.xml:
12191 describe dparams (controller) for plugins
12192 unify docs a little more
12194 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
12196 * docs/gst/gstreamer-sections.txt:
12197 * gst/gstutils.c: (element_find_unconnected_pad),
12198 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12200 Add new API: gst_parse_bin_from_description() and
12201 gst_bin_find_unconnected_pad() (#329069).
12203 2006-02-01 Stefan Kost <ensonic@users.sf.net>
12205 * docs/manual/README:
12206 uncover a nasty detail of the docs build
12208 2006-01-31 Wim Taymans <wim@fluendo.com>
12210 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12211 Don't cache duration messages if we're not going to use or
12214 2006-01-31 Stefan Kost <ensonic@users.sf.net>
12216 * docs/manual/advanced-dparams.xml:
12217 * docs/pwg/advanced-dparams.xml:
12221 * libs/gst/controller/lib.c: (gst_controller_init):
12224 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
12226 * gst/gstelement.c: (gst_element_message_full):
12227 also show file/line/func if no additional debug was given
12229 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
12231 * win32/vs7/grammar.vcproj:
12232 activate copy of autogenerated files for Release mode
12234 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
12236 * win32/common/libgstreamer.def:
12237 export gst_value_compare
12239 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
12241 * plugins/elements/Makefile.am:
12242 * plugins/elements/gstelements.c:
12243 * plugins/elements/gstfdsink.c: (_do_init),
12244 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12245 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12246 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12247 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12248 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12249 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12250 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12251 * plugins/elements/gstfdsink.h:
12252 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12254 2006-01-30 Stefan Kost <ensonic@users.sf.net>
12256 * docs/manual/advanced-dparams.xml:
12257 describe controller
12258 * docs/manual/advanced-position.xml:
12259 * docs/manual/basics-init.xml:
12260 * docs/manual/manual.xml:
12261 * docs/manual/titlepage.xml:
12262 * docs/pwg/pwg.xml:
12263 * docs/pwg/titlepage.xml:
12264 cleanup xml (more to come)
12265 * libs/gst/controller/gstcontroller.c:
12268 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
12270 * win32/vs6/grammar.dsp:
12271 add autogen of gstmarshal.c,h for Release mode
12273 2006-01-30 Wim Taymans <wim@fluendo.com>
12275 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12276 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12277 (gst_base_sink_handle_object), (gst_base_sink_event),
12278 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12279 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12280 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12281 (gst_base_sink_deactivate), (gst_base_sink_activate),
12282 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12283 (gst_base_sink_query), (gst_base_sink_change_state):
12284 Basesink cleanups, remove some old code.
12285 Handle the case where a subclass can preroll in the render
12286 method (mostly audiosinks).
12287 Handle more events.
12288 Remove some locks around variables that are now protected
12289 with the PREROLL_LOCK (clock_id, flushing, ..).
12290 Optimize position query some more, do correct locking.
12291 Remove old code to push queue in state change, this is not
12292 needed anymore since preroll blocks on all prerollable items
12294 Almost implemented as described in design doc.
12296 2006-01-30 Wim Taymans <wim@fluendo.com>
12298 * tests/check/gst/gstbin.c: (GST_START_TEST):
12299 Wait for refcount to settle down before checking.
12301 2006-01-30 Wim Taymans <wim@fluendo.com>
12303 * docs/design/part-element-sink.txt:
12304 Pseudo code overview of desired sink behaviour regarding
12307 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12308 * win32/vs6/grammar.dsp:
12309 fix some bugs in Release mode for autogenerated files
12311 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12312 * win32/common/libgstbase.def:
12313 * win32/common/libgstreamer.def:
12314 export some new symbols: gst_base_src_set_format,
12315 gst_iterator_next, gst_structure_set_valist
12317 2006-01-29 Julien MOUTTE <julien@moutte.net>
12319 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12320 Set pad functions unconditionally. Fixes #329105.
12322 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12324 add vs8 project files created by Sergey Scobich
12326 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
12328 * gst/gstutils.c: (gst_element_unlink_pads):
12329 Don't leak pad references.
12331 * tests/check/elements/fakesink.c: (GST_START_TEST):
12332 * tests/check/generic/sinks.c: (GST_START_TEST):
12333 * tests/check/generic/states.c: (GST_START_TEST):
12334 * tests/check/gst/gstbin.c: (GST_START_TEST):
12335 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12336 * tests/check/gst/gstelement.c: (GST_START_TEST):
12337 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12338 * tests/check/gst/gstiterator.c: (GST_START_TEST):
12339 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12340 Fix a bunch of leaks. Make generic/sinks.c
12341 use a bit less cpu by slowing the buffer rate
12342 between fakesrc and fakesink.
12344 2006-01-27 Stefan Kost <ensonic@users.sf.net>
12346 * gst/gstelement.c: (gst_element_send_event):
12349 * gst/gstiterator.c:
12350 * gst/gstiterator.h:
12351 * gst/gstpad.c: (gst_pad_send_event):
12352 * gst/gststructure.c:
12356 * libs/gst/base/gstadapter.c:
12357 doc fixes, to link to function, just write gst_cool_function(), don't
12360 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12362 * plugins/elements/gsttee.c: (gst_tee_do_push),
12363 (gst_tee_handle_buffer):
12364 Always prefer an actual return value from a src
12365 pad in place of NOT_LINKED. This means we return
12366 WRONG_STATE when all src pads are WRONG_STATE
12367 instead of NOT_LINKED.
12369 Lock when replacing the last message to prevent
12370 racing with the get_property method.
12374 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12376 * tests/check/Makefile.am:
12377 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12379 Add a very simple check that should have caught the memleak I fixed
12380 last night (if not for the slice allocator hiding it)
12382 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12384 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12385 (gst_bin_remove_func), (gst_bin_handle_message_func),
12386 (bin_query_duration_fold), (bin_query_generic_fold):
12387 Clean up references to the clock provider when disposed or when
12388 handling a clock-lost message from it.
12390 Unref sinks when performing a query via gst_iterator_fold, as the
12391 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12393 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12394 (gst_clock_set_master):
12395 Drop our reference to the master clock, if any, when we are disposed.
12397 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12398 Chain up in dispose.
12400 2006-01-26 Wim Taymans <wim@fluendo.com>
12402 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12403 Add some debugging.
12405 2006-01-26 Julien MOUTTE <julien@moutte.net>
12407 * plugins/elements/gsttee.c: (gst_tee_do_push),
12408 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12409 handles pad being NOT_LINKED or in WRONG_STATE.
12411 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12416 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12419 remove obsolete entry
12421 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12423 * docs/gst/gstreamer-sections.txt:
12424 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12425 (gst_bin_iterate_sources), (gst_bin_send_event):
12427 * gst/gstelement.c: (gst_element_send_event):
12429 * gst/gstpad.c: (gst_pad_send_event):
12430 added code for downstream events, reviewed docs in gstevent.c
12432 2006-01-25 Julien MOUTTE <julien@moutte.net>
12434 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12435 We only query position using the clock in the playing state.
12436 Query peer in the other cases.
12437 * win32/common/config.h: Updates.
12439 2006-01-24 Wim Taymans <wim@fluendo.com>
12441 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12442 A clock entry that is scheduled for the exact time of the
12443 clock is still in time.
12445 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12446 (gst_base_sink_do_sync):
12447 Add some more debug info.
12449 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12452 Add new vs7 project files and solution.
12454 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12457 all files removed as they were out-dated.
12459 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12461 * docs/random/release:
12463 * gst/gstbin.c: (gst_bin_init):
12464 * gst/gstbus.c: (gst_bus_new):
12466 * gst/gstpipeline.c: (gst_pipeline_init):
12467 use gst_bus_new(), improve logging, fix docs
12468 * win32/common/config.h:
12469 update for cvs build
12471 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12474 up required version of automake to 1.7
12476 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
12478 * win32/common/libgstreamer.def:
12479 export gst_buffer_is_metadata_writable
12481 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
12483 * docs/gst/gstreamer-sections.txt:
12485 Add gst_event_replace() (#327001)
12487 2006-01-20 Wim Taymans <wim@fluendo.com>
12489 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12490 Make it actually compile too..
12492 2006-01-20 Wim Taymans <wim@fluendo.com>
12495 Clarify behaviour of _is_equal() when passing NULL parameters.
12497 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12498 (gst_pad_set_caps):
12499 Cleanups. Don't unref NULL caps.
12500 When setting the same caps, protect caps of the pad with
12502 Use full functionality of _is_equal() when comparing caps.
12504 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12506 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12507 Don't loop infinitely if there are no buffers to present. Partially
12508 fixes #327197, but collectpads is just broken for reusing elements
12509 to do multiple encodes atm.
12511 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12513 * tools/gst-inspect.c: (print_element_features):
12514 * tools/gst-xmlinspect.c: (main):
12515 URL_HANDLER is not a plugin feature we can search for in
12518 2006-01-19 Edward Hervey <edward@fluendo.com>
12520 * gst/gstelement.c: (gst_element_pads_activate):
12521 When activating, do src pads first, then sink pads.
12522 When de-activating, do sink pads first, then src pads.
12524 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12526 * docs/gst/gstreamer-sections.txt:
12527 Add gst_index_add_associationv to the docs
12529 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12534 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12535 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12536 Do some refactoring. Doesn't actually change functionality,
12537 but makes landing the DRAIN event easier later.
12539 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
12541 * docs/pwg/advanced-scheduling.xml:
12542 Update from 0.9.x to 0.10 API and make example a bit
12545 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12547 * docs/gst/gstreamer-sections.txt:
12548 Add gst_buffer_(is|make)_metadata_writable methods.
12550 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12552 * docs/design/part-sparsestreams.txt:
12553 Update sparse streams doc, hopefully for greater clarity
12555 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
12557 * docs/design/part-events.txt:
12558 Remove mention of FILLER events.
12561 * docs/design/part-sparsestreams.txt:
12562 Write some things about using NEWSEGMENT to keep sparse streams
12565 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12567 * gst/gstbin.c: (gst_bin_dispose):
12568 Guard gst_object_unref call against a NULL object (dispose
12569 can theoretically be called multiple times).
12571 2006-01-18 Wim Taymans <wim@fluendo.com>
12573 * gst/gstbin.c: (gst_bin_element_set_state):
12574 * gst/gstclock.c: (gst_clock_id_wait):
12575 Added some more debug info.
12577 * libs/gst/base/gstadapter.c:
12580 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12581 (gst_base_sink_do_sync), (gst_base_sink_chain):
12582 Added some comments.
12584 2006-01-18 Wim Taymans <wim@fluendo.com>
12586 * tests/check/Makefile.am:
12587 * tests/check/elements/fakesink.c: (chain_async_buffer),
12588 (chain_async), (chain_async_return), (GST_START_TEST),
12589 (fakesink_suite), (main):
12590 Added fakesink test that checks prerolling and clipping
12593 * tests/check/gst/gstutils.c: (GST_START_TEST):
12594 Make check run faster so that buildbots don't timeout.
12596 2006-01-18 Wim Taymans <wim@fluendo.com>
12598 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12599 (gst_base_sink_do_sync):
12601 When the sink finishes blocking on the preroll buffer, it can
12602 immediatly render it instead of rendering when the next buffer
12605 2006-01-18 Wim Taymans <wim@fluendo.com>
12607 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12608 (gst_base_sink_get_property), (gst_base_sink_do_sync),
12609 (gst_base_sink_chain):
12611 GST_ELEMENT_CLOCK and sync are protected with LOCK.
12612 Don't store _last_stop if the buffer is dropped.
12614 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12616 * plugins/elements/gsttypefindelement.c:
12617 (gst_type_find_element_class_init):
12618 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12619 object method handler that sets the caps on the pad and we want
12620 that to happen before we emit the signal (fixes e.g. feeding a
12621 plain text file to decodebin).
12623 2006-01-18 Christian Schaller <Christian@fluendo.com>
12625 * gst/gstplugin.c: Add MPL and Proprietary as license options
12627 2006-01-18 Andy Wingo <wingo@pobox.com>
12629 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12630 symbol was exported before, it appears this was just an oversight.
12632 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12634 * gst/gstindex.c (gst_index_add_associationv): Changed int in
12635 prototype to gint. OK since this prototype was not in the header.
12637 2006-01-17 Andy Wingo <wingo@pobox.com>
12639 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12640 registry while we remove plugins.
12642 * tools/gst-inspect.c (print_element_info): Don't unref the
12643 factory arg, that should be the responsibility of whatever code
12644 received the ref. Fixes a double-free when called from
12645 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12646 (main): Unref the factory if we have one.
12647 (print_element_list): No change -- relies on the
12648 plugin_feature_list_free to free the list of features.
12650 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
12652 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12653 (gst_buffer_make_metadata_writable):
12655 * libs/gst/base/gstbasetransform.c:
12656 (gst_base_transform_prepare_output_buf):
12657 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12658 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12659 Replace gst_buffer_(make|is)_metadata_writable patch now
12660 that the release is out.
12662 2006-01-17 Andy Wingo <wingo@pobox.com>
12664 * gst/gstregistry.c: Reflow design comment. Update so as to speak
12665 in the present tense without reference to versions.
12667 * gst/gstregistry.c (gst_registry_add_plugin)
12668 (gst_registry_remove_plugin, gst_registry_remove_feature)
12669 (gst_registry_find_feature, gst_registry_get_feature_list)
12670 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12671 (gst_registry_lookup, gst_registry_scan_path)
12672 (_gst_registry_remove_cache_plugins)
12673 (gst_registry_get_feature_list_by_plugin): Add argument
12676 === release 0.10.2 ===
12678 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
12681 releasing 0.10.2, "If man is five"
12683 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12687 * libs/gst/base/gstbasetransform.c:
12688 (gst_base_transform_prepare_output_buf):
12689 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12690 * tests/check/gst/gstbuffer.c: (gst_test_suite):
12691 Back out patch until after the release.
12693 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12695 * gst/gstminiobject.c:
12696 Spelling fix in docs.
12697 * ChangeLog - remove conflict indicator
12699 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12701 Reviewed By: Andy Wingo
12703 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12704 (gst_buffer_make_metadata_writable):
12706 Add gst_buffer_(is|make)_metadata_writable as analogues of
12707 gst_buffer_(is|make)_writable.
12709 * libs/gst/base/gstbasetransform.c:
12710 (gst_base_transform_prepare_output_buf):
12711 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12712 Use name gst_buffer_(is|make)_metadata_writable functions.
12714 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12715 Test gst_buffer_(is|make)_metadata_writable
12719 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
12721 * docs/manual/Makefile.am:
12722 don't do parallel make
12725 * win32/common/config.h.in:
12726 add generations for HOST_CPU and GST_MAJORMINOR
12727 * win32/common/config.h:
12728 commit generated result
12730 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
12732 * docs/manual/appendix-integration.xml:
12733 Update GNOME integration section to use gst_init_get_option_group()
12734 instead of the old popt stuff (#322911). Also, GNOME applications
12735 should now use gconf*sink and gconf*src instead of the old gconf
12738 2006-01-13 Stefan Kost <ensonic@users.sf.net>
12741 * docs/gst/gstreamer-docs.sgml:
12742 * docs/gst/gstreamer-sections.txt:
12743 * docs/libs/gstreamer-libs-sections.txt:
12744 add new API entries to the docs
12745 * libs/gst/controller/Makefile.am:
12746 * libs/gst/controller/gstcontroller.c:
12747 * libs/gst/controller/gstcontroller.h:
12748 * libs/gst/controller/gstcontrollerprivate.h:
12749 * libs/gst/controller/gsthelper.c:
12750 * libs/gst/controller/gstinterpolation.c:
12751 move private structs to private header
12753 gstreamer-0.7 -> gstreamer-0.10
12754 * tests/check/libs/struct_i386.h:
12755 remove private structs
12757 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12759 * plugins/indexers/Makefile.am:
12760 Fixes as part of #317048
12762 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12764 * plugins/indexers/Makefile.am:
12765 fix #316086 - compilation when mmap is missing
12767 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
12769 * libs/gst/base/gstbasesink.c:
12770 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
12771 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12772 * win32/common/config.h:
12773 added some defines GST_MAJORMINOR and HOST_CPU
12774 * win32/common/libgstbase.def:
12775 * win32/common/libgstreamer.def:
12776 added some exported functions.
12778 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12780 * libs/gst/controller/gstcontroller.c:
12781 (gst_controlled_property_set_interpolation_mode),
12782 (gst_controlled_property_new):
12783 * libs/gst/controller/gstcontroller.h:
12784 * libs/gst/controller/gstinterpolation.c:
12785 (interpolate_none_get_string_value_array):
12786 make G_TYPE_STRING controlable
12788 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12791 * tools/gst-feedback.1.in:
12792 * tools/gst-inspect.1.in:
12793 * tools/gst-launch.1.in:
12794 * tools/gst-md5sum.1.in:
12795 * tools/gst-typefind.1.in:
12796 * tools/gst-xmlinspect.1.in:
12797 * tools/gst-xmllaunch.1.in:
12798 cleanup man-pages, remove reference to gst-register, document env-vars
12800 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
12802 * gst/gstbuffer.c: (gst_buffer_span):
12803 gst_buffer_span should copy the timestamp of the first buffer
12804 if they were both originally overlapping subbuffers of the
12805 same parent, using the same logic as the 'slow copy' case.
12807 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
12809 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12810 Need to awaken ALL the pads when we pop a buffer, otherwise
12811 collectpads only works when there is 2 input streams.
12813 2006-01-11 Stefan Kost <ensonic@users.sf.net>
12815 * docs/random/ensonic/media-device-daemon.txt:
12818 fix doc example, add clarification
12819 * tools/gst-launch.1.in:
12820 add initial info about GST_PLUGIN_PATH, needs more work
12822 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
12824 * docs/manual/basics-bins.xml:
12825 * docs/manual/basics-elements.xml:
12826 * docs/manual/intro-basics.xml:
12827 Some more minor docs additions and updates.
12829 2006-01-11 Wim Taymans <wim@fluendo.com>
12831 * docs/manual/basics-bins.xml:
12832 * docs/manual/basics-elements.xml:
12833 Some small fixes as pointed out by Ser-ver on IRC.
12835 2006-01-10 Edward Hervey <edward@fluendo.com>
12837 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12838 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12839 the single-segment mode.
12841 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
12843 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12845 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12846 (gst_base_src_perform_seek), (gst_base_src_send_event),
12847 (gst_base_src_set_property), (gst_base_src_get_property),
12848 (gst_base_src_loop), (gst_base_src_start),
12849 (gst_base_src_activate_push):
12850 * libs/gst/base/gstbasesrc.h:
12851 Name (private) union; makes Sun's Forte compiler happy (#324900).
12853 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
12856 gst-register is gone.
12858 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
12860 * gst/gstvalue.c: (_gst_value_initialize):
12861 make the G_TYPE_DATE instantiation work if debug is disabled
12863 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
12865 * gst/gstmessage.c: (gst_message_parse_tag),
12866 (gst_message_parse_error), (gst_message_parse_warning):
12867 Don't crash when return location for error/warning debug
12868 string is NULL; add fact that return locations can be
12869 NULL to docs where appropriate.
12871 2006-01-05 Wim Taymans <wim@fluendo.com>
12873 * gst/gstplugin.c: (gst_plugin_load_file):
12874 Replace strdup by g_strdup.
12876 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12878 * docs/pwg/advanced-types.xml:
12881 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12883 submitted by: Abel Cheung
12887 Added Chinese (traditional) translation
12889 2006-01-04 Wim Taymans <wim@fluendo.com>
12891 * docs/manual/basics-pads.xml:
12892 * docs/plugins/Makefile.am:
12893 * docs/plugins/gstreamer-plugins-docs.sgml:
12894 * docs/plugins/gstreamer-plugins-sections.txt:
12895 * docs/pwg/advanced-clock.xml:
12896 * docs/pwg/advanced-scheduling.xml:
12897 * docs/pwg/advanced-types.xml:
12898 * plugins/elements/gstfdsink.c:
12899 * plugins/elements/gstfdsrc.c:
12900 * plugins/elements/gstfdsrc.h:
12901 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12902 * plugins/elements/gstidentity.h:
12903 * plugins/elements/gstqueue.h:
12904 * plugins/elements/gsttee.c:
12905 * plugins/elements/gsttee.h:
12906 * plugins/elements/gsttypefindelement.c:
12907 (gst_type_find_element_class_init):
12908 * plugins/elements/gsttypefindelement.h:
12909 Small updates to various docs.
12910 Added core plugins to docs.
12912 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12915 add a suppression for liboil's uninitialized variable
12917 2006-01-02 James Livingston <jrl at ids dot org dot au>
12919 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12922 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12923 macro, so that gcc doesn't complain if the -Wmissing-prototypes
12924 compiler switch is being used (#325429).
12926 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
12928 * gst/gstbin.c: (gst_bin_query):
12929 Disable duration query caching in bins until it gets
12930 fixed (see #324807).
12932 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12934 * tools/gst-inspect.c: (print_element_properties_info):
12935 Handle properties of POINTER and BOXED type.
12937 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12939 * gst/gst.c: (init_post):
12940 Init tags stuff and some other things before loading
12941 any static plugins (there may be other static plugins
12942 than just the GStreamer ones, and they may want to
12943 register their own tags or formats or whatever, and
12944 preferably without segfaulting).
12946 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12947 Print at least a warning in the debug logs if we drop a
12948 query just because we don't know how to adjust the value
12949 in the particular format.
12951 2005-12-24 David Schleef <ds@schleef.org>
12953 * tools/gstreamer-completion:
12954 Replacement for gst-complete written in sh and sed. Only
12955 completes names of features, but that's 90% of what I want
12956 it for. Properties are not available in registry.xml. (Maybe
12959 === release 0.10.1 ===
12961 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
12964 releasing 0.10.1, "Nollaig chridheil"
12966 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
12968 * docs/faq/cvs.xml:
12969 Add missing quote, should be make ERROR_CFLAGS="".
12971 2005-12-20 Wim Taymans <wim@fluendo.com>
12973 * docs/design/part-trickmodes.txt:
12974 More documentation on trickmodes.
12976 2005-12-20 Edward Hervey <edward@fluendo.com>
12978 * gst/gstcaps.c: (gst_static_caps_get_type):
12980 API addition: GST_TYPE_STATIC_CAPS
12981 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12982 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12983 * gst/gstpadtemplate.h:
12984 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12985 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12988 2005-12-18 Wim Taymans <wim@fluendo.com>
12990 * libs/gst/base/gstadapter.c:
12991 * libs/gst/base/gstadapter.h:
12992 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12993 (gst_base_sink_get_position):
12994 * libs/gst/base/gstbasesink.h:
12995 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12996 (gst_base_src_default_query), (gst_base_src_default_do_seek),
12997 (gst_base_src_do_seek), (gst_base_src_perform_seek),
12998 (gst_base_src_send_event), (gst_base_src_update_length),
12999 (gst_base_src_get_range), (gst_base_src_loop),
13000 (gst_base_src_start):
13001 * libs/gst/base/gstbasesrc.h:
13002 * libs/gst/base/gstbasetransform.h:
13003 * libs/gst/base/gstcollectpads.h:
13004 * libs/gst/base/gstpushsrc.c:
13005 * libs/gst/base/gstpushsrc.h:
13006 * libs/gst/dataprotocol/dataprotocol.c:
13007 * libs/gst/dataprotocol/dataprotocol.h:
13008 * libs/gst/net/gstnetclientclock.h:
13009 * libs/gst/net/gstnettimeprovider.h:
13010 Documentation updates.
13012 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
13014 * docs/manual/basics-helloworld.xml:
13015 Remove superfluous closing bracket in helloworld example.
13017 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
13019 * tools/gst-launch.1.in:
13020 Update gst-launch man page; add a section with useful
13021 environment variables. Fixes #323882.
13023 2005-12-16 Stefan Kost <ensonic@users.sf.net>
13026 * gst/gst_private.h:
13027 change some char* into char[]
13029 2005-12-16 Wim Taymans <wim@fluendo.com>
13031 * gst/gstregistryxml.c: (load_feature):
13033 Don't use g_object_unref on GstObjects so that we avoid
13034 leaks on unsafe glibs.
13036 2005-12-16 Wim Taymans <wim@fluendo.com>
13038 * gst/gstbin.c: (gst_bin_recalc_state):
13041 2005-12-16 Wim Taymans <wim@fluendo.com>
13043 * common/check.mak:
13044 Added make forever target for check.
13046 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
13048 * gst/gst.c: (init_post):
13049 make the registry cache file HOST_CPU-dependent
13051 2005-12-16 Andy Wingo <wingo@pobox.com>
13053 * plugins/elements/gstbufferstore.c
13054 (gst_buffer_store_cleared_func): Pay attention to g_list_append
13057 * tests/check/gst/gstobject.c
13058 (test_fake_object_name_threaded_unique): Pay attention to
13059 g_list_sort return value.
13061 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
13063 * tools/gst-feedback-m.m:
13064 Update for 0.9/0.10 (fixes #323870).
13066 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
13068 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
13069 Fix lcopy for mini objects, the mini object needs to be ref'ed.
13071 * tests/check/gst/gstminiobject.c: (my_foo_init),
13072 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
13073 (test_value_collection), (gst_mini_object_suite):
13074 Add test to ensure refcounts end up as expected when passing
13075 GstMiniObjects through g_object_get() and g_object_set().
13077 2005-12-14 Julien MOUTTE <julien@moutte.net>
13079 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13080 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
13081 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
13082 of collectpads. This version removes a lot of races without
13083 touching API/ABI. Yay !
13085 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
13087 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
13088 Don't allow activation of a srcpad in pull_range if it has no
13090 Change some debug statements to be a little clearer
13092 * plugins/elements/gsttypefindelement.c:
13093 (gst_type_find_handle_src_query):
13094 Check that we have a peer before executing queries thereupon.
13096 * tests/examples/metadata/read-metadata.c: (message_loop):
13097 Use gst_bus_pop instead of gst_bus_poll when we just want it to
13098 immediately return us any available message with 0 timeout.
13100 2005-12-12 Michael Smith <msmith@fluendo.com>
13102 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
13103 Don't unref factories after calling them.
13104 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
13105 * plugins/elements/gsttypefindelement.c:
13106 (gst_type_find_element_chain):
13107 Free lists of factories after using them. Fixing typefinding memory
13110 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13112 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
13113 (gst_plugin_feature_load):
13114 more meaningful debug output
13116 * tests/Makefile.am:
13117 * tests/old/examples/Makefile.am:
13118 make make distcheck happy again
13120 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
13122 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13123 Catch the special case where we are operating chain-based,
13124 but the downstream peer pad has no chain function. Emit a
13125 custom error message in this case instead of letting the
13126 core generate one implying that this is some sort of core
13127 bug. It's not, it just means that whatever got plugged
13128 into the pipeline downstream when we announced the type
13129 can only operate pull-based, while our source can only
13130 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
13131 Error string has not been marked for translation yet, as
13132 it probably needs some more work first.
13134 (gst_type_find_element_get_best_possibility):
13135 Add helper function to find the best of all available
13136 found possibilities that qualify given the min. threshold.
13138 (gst_type_find_element_handle_event):
13139 Fix the case where we get an EOS while still in TYPEFIND
13140 mode (we want to chose the best of all possible types,
13141 not just the first type that happens to be in our unsorted
13142 list of possible types).
13144 (gst_type_find_element_chain):
13145 Make sure we return GST_FLOW_ERROR when we errored out
13146 in stop_typefinding(); also, don't just find the best of
13147 all found type entries and then use the last examined
13148 type entry, but actually use the best entry.
13150 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
13152 * tests/examples/typefind/typefind.c: (type_found):
13153 * tests/examples/xml/runxml.c: (xml_loaded):
13154 More gcc4 fixes and a mem leak fix.
13156 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13158 * tests/examples/xml/createxml.c: (object_saved):
13161 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13163 * tests/Makefile.am:
13164 enable the examples even more
13166 2005-12-12 Andy Wingo <wingo@pobox.com>
13168 * libs/gst/net/gstnettimeprovider.c
13169 (gst_net_time_provider_class_init, gst_net_time_provider_init)
13170 (gst_net_time_provider_set_property)
13171 (gst_net_time_provider_get_property):
13172 API addition: Export "active" as a GObject property.
13173 (gst_net_time_provider_thread): Only respond to time queries if
13174 the time provider is active.
13176 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
13177 NetTimeProvider, preserving binary compat.
13179 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13181 * tests/examples/controller/audio-example.c: (main):
13182 * tests/examples/launch/Makefile.am:
13183 convert comments again
13185 2005-12-12 Wim Taymans <wim@fluendo.com>
13187 * libs/gst/base/gstpushsrc.c:
13190 2005-12-12 Wim Taymans <wim@fluendo.com>
13192 * docs/libs/gstreamer-libs-sections.txt:
13193 Added new symbol to docs.
13195 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13196 (gst_base_src_init), (gst_base_src_set_format),
13197 (gst_base_src_default_query), (gst_base_src_query),
13198 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13199 (gst_base_src_perform_seek), (gst_base_src_send_event),
13200 (gst_base_src_default_event), (gst_base_src_event_handler),
13201 (gst_base_src_set_property), (gst_base_src_get_property),
13202 (gst_base_src_wait), (gst_base_src_do_sync),
13203 (gst_base_src_update_length), (gst_base_src_get_range),
13204 (gst_base_src_check_get_range), (gst_base_src_loop),
13205 (gst_base_src_default_negotiate), (gst_base_src_start),
13206 (gst_base_src_activate_push), (gst_base_src_activate_pull),
13207 (gst_base_src_change_state):
13208 * libs/gst/base/gstbasesrc.h:
13209 Implement seeking to other formats than _BYTES.
13210 Implement more seeking methods correctly.
13212 Added query vmethod.
13213 Added do_seek vmethod to make life easier for subclasses
13215 API addition: gst_base_src_set_format()
13217 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13219 * tests/examples/Makefile.am:
13222 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13225 * docs/random/ensonic/media-device-daemon.txt:
13226 * tests/examples/controller/.cvsignore:
13227 * tests/examples/controller/Makefile.am:
13228 * tests/examples/controller/audio-example.c: (main):
13229 * tests/examples/helloworld/.cvsignore:
13230 * tests/examples/helloworld/Makefile.am:
13231 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13232 * tests/examples/launch/.cvsignore:
13233 * tests/examples/launch/Makefile.am:
13234 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13235 * tests/examples/metadata/.cvsignore:
13236 * tests/examples/metadata/Makefile.am:
13237 * tests/examples/metadata/read-metadata.c: (message_loop),
13238 (make_pipeline), (print_tag), (main):
13239 * tests/examples/queue/.cvsignore:
13240 * tests/examples/queue/Makefile.am:
13241 * tests/examples/queue/queue.c: (event_loop), (main):
13242 * tests/examples/typefind/.cvsignore:
13243 * tests/examples/typefind/Makefile.am:
13244 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13246 * tests/examples/xml/.cvsignore:
13247 * tests/examples/xml/Makefile.am:
13248 * tests/examples/xml/createxml.c: (object_saved), (main):
13249 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13250 * tests/old/examples/Makefile.am:
13251 * tests/old/examples/TODO:
13252 * tests/old/examples/controller/.cvsignore:
13253 * tests/old/examples/controller/Makefile.am:
13254 * tests/old/examples/controller/audio-example.c:
13255 * tests/old/examples/helloworld/.cvsignore:
13256 * tests/old/examples/helloworld/Makefile.am:
13257 * tests/old/examples/helloworld/helloworld.c:
13258 * tests/old/examples/launch/.cvsignore:
13259 * tests/old/examples/launch/Makefile.am:
13260 * tests/old/examples/launch/mp3parselaunch.c:
13261 * tests/old/examples/launch/mp3play:
13262 * tests/old/examples/manual/Makefile.am:
13263 * tests/old/examples/metadata/Makefile.am:
13264 * tests/old/examples/metadata/read-metadata.c:
13265 * tests/old/examples/queue/.cvsignore:
13266 * tests/old/examples/queue/Makefile.am:
13267 * tests/old/examples/queue/queue.c:
13268 * tests/old/examples/typefind/.cvsignore:
13269 * tests/old/examples/typefind/Makefile.am:
13270 * tests/old/examples/typefind/typefind.c:
13271 * tests/old/examples/xml/.cvsignore:
13272 * tests/old/examples/xml/Makefile.am:
13273 * tests/old/examples/xml/createxml.c:
13274 * tests/old/examples/xml/runxml.c:
13275 applied some simple fixing to some examples
13276 re-enabled the working examples
13278 2005-12-12 Wim Taymans <wim@fluendo.com>
13280 * gst/gstsegment.c: (gst_segment_init),
13281 (gst_segment_set_last_stop), (gst_segment_set_seek),
13282 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13283 (gst_segment_to_running_time):
13284 Added more documentation.
13285 Make sure the last_pos value is updated properly.
13286 Make sure to_stream_time and to_running_time don't
13287 operate on wrong values.
13289 * tests/check/gst/gstsegment.c: (GST_START_TEST):
13292 2005-12-12 Michael Smith <msmith@fluendo.com>
13294 * plugins/elements/gsttypefindelement.c: (free_entry),
13295 (gst_type_find_element_chain):
13296 Now that we're not leaking factories, make sure we keep references
13297 to them while we need them.
13299 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
13301 * tests/check/gst/struct_i386.h:
13302 ifdef out the XML structs
13304 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
13306 * gst/gstvalue.c: (gst_value_transform_double_fraction):
13307 floor is not needed, F is always positive; this obviates the
13308 need for adding -lm when building without libxml
13310 2005-12-12 Wim Taymans <wim@fluendo.com>
13312 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13313 Take current playback rate into account when reporting
13316 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13318 * docs/manual/mime-world.fig:
13319 Let's try this again, this time with a file that is
13320 actually in XFig format.
13322 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13324 * docs/manual/mime-world.fig:
13325 Add audioconvert element to diagram so that it
13326 matches the text and the code (fixes #319526).
13328 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13330 * docs/pwg/building-chainfn.xml:
13331 * docs/pwg/building-pads.xml:
13332 * docs/pwg/building-state.xml:
13333 * docs/pwg/other-source.xml:
13334 Update state change stuff for 0.10 (fixes #322969).
13336 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13338 * docs/manual/advanced-dataaccess.xml:
13339 * docs/manual/appendix-checklist.xml:
13340 * docs/manual/appendix-programs.xml:
13341 * docs/manual/basics-pads.xml:
13342 * docs/manual/highlevel-components.xml:
13343 * docs/manual/manual.xml:
13344 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13345 add converters in front of pipelines; remove curly
13346 brackets for threads stuff, they no longer exist; use
13347 GST_TYPE_FRACTION for framerates; update some pieces of
13348 code to 0.10, but there's plenty more to do.
13350 * docs/manual/appendix-porting.xml:
13351 Expand on asynchroneous state changes; s/0.9/0.10/;
13352 mention disappearance of gst_init_get_popt_table()
13355 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13357 * docs/faq/using.xml:
13358 Spider no longer exists, and neither does gst-launch-ext.
13359 Update examples to use decodebin and playbin and put
13360 converters in front of sinks (fixes #323726).
13362 2005-12-09 Michael Smith <msmith@fluendo.com>
13364 * plugins/elements/gsttypefindelement.c: (find_peek),
13365 (gst_type_find_element_chain):
13366 Fix leaking element factories in typefinding.
13367 Fix problem where we forgot about a probable type on non-seekable
13368 files, and thus later mis-typefound it.
13370 2005-12-09 Michael Smith <msmith@fluendo.com>
13372 * common/m4/gst-makecontext.m4:
13373 * common/m4/gst-mcsc.m4:
13375 * win32/common/config.h:
13376 * win32/common/config.h.in:
13377 Remove makecontext stuff; not used in 0.10 and causes problems on
13378 HPUX according to bug #322441
13380 2005-12-07 Wim Taymans <wim@fluendo.com>
13382 * tests/check/Makefile.am:
13383 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13385 * tests/check/libs/struct_i386.h:
13386 Added ABI check for libs
13388 2005-12-07 Wim Taymans <wim@fluendo.com>
13390 * tests/check/Makefile.am:
13391 And add the struct_i386.h to dist.
13393 2005-12-07 Wim Taymans <wim@fluendo.com>
13395 * tests/check/Makefile.am:
13396 * tests/check/gst/.cvsignore:
13397 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13399 * tests/check/gst/struct_i386.h:
13400 Added check for ABI compatibility.
13402 2005-12-07 Wim Taymans <wim@fluendo.com>
13404 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13405 (gst_fake_src_get_times), (gst_fake_src_create):
13406 Fix broken sync option, fixes #323259
13408 2005-12-07 Wim Taymans <wim@fluendo.com>
13413 * gst/gstcaps.c: (gst_caps_is_equal):
13414 Don't assert on NULL <--> X. Fixes #323260
13416 * gst/gstminiobject.c: (gst_mini_object_replace):
13417 If we're doing atomic operations, we might just as well use
13418 the proper way to get an atomic pointer.
13420 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13421 Clean up debugging.
13423 2005-12-07 Michael Smith <msmith@fluendo.com>
13425 * gst/parse/grammar.y:
13426 Remove handling of { } for threads.
13428 2005-12-06 David Schleef <ds@schleef.org>
13430 * libs/gst/base/gstbasetransform.c: speling fix.
13432 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
13434 * docs/libs/tmpl/gstdataprotocol.sgml:
13435 * docs/random/omega/testing/gstobject.c:
13438 * gst/gstelement.c:
13439 * gst/gstelementfactory.c:
13442 * gst/gstghostpad.c:
13444 * gst/gstpadtemplate.c:
13445 * gst/gstregistryxml.c:
13446 * gst/gsttaglist.c:
13447 * gst/gsttagsetter.c:
13448 * gst/gsttypefind.c:
13450 * libs/gst/base/gstbasesrc.c:
13451 * libs/gst/net/gstnetclientclock.c:
13452 * libs/gst/net/gstnettimeprovider.c:
13453 * plugins/elements/gstfakesrc.c:
13454 * plugins/elements/gstfdsrc.c:
13455 * plugins/elements/gstfilesrc.c:
13456 * plugins/elements/gstidentity.c:
13457 * plugins/elements/gstqueue.c:
13458 * plugins/elements/gsttypefindelement.c:
13459 * plugins/indexers/gstfileindex.c:
13460 * plugins/indexers/gstmemindex.c:
13461 * tests/check/gst/gsttag.c:
13462 * tests/old/examples/cutter/cutter.c:
13463 * tests/old/examples/mixer/mixer.c:
13464 * tests/old/examples/xml/runxml.c: (main):
13465 * tests/old/testsuite/caps/normalisation.c:
13466 * tests/old/testsuite/debug/global.c:
13467 * tests/old/testsuite/parse/parse1.c:
13468 * tools/gst-xmlinspect.c:
13469 * win32/common/dirent.c:
13472 === release 0.10.0 ===
13474 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13477 releasing 0.10.0, "Maroilles"
13479 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13481 submitted by: Funda Wang <fundawang@linux.net.cn>
13485 added Chinese (Traditional) translation
13487 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13489 * docs/gst/gstreamer-sections.txt:
13490 * docs/libs/tmpl/gstdataprotocol.sgml:
13491 * docs/random/thomasvs/TODO:
13496 2005-12-05 Andy Wingo <wingo@pobox.com>
13498 patch by: Wim Taymans <wim@fluendo.com>
13500 * libs/gst/base/gstbasetransform.c
13501 (gst_base_transform_prepare_output_buf)
13502 (gst_base_transform_buffer_alloc):
13503 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13504 alloc_buffer_and_set_caps.
13506 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13507 set_caps on the source pad.
13508 (gst_pad_alloc_buffer_and_set_caps): New function, does what
13509 alloc_buffer used to do. Fixes #322874.
13511 * docs/gst/gstreamer-sections.txt:
13512 * docs/design/part-negotiation.txt:
13513 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13516 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13518 patch by: Sebastien Moutte
13521 * win32/common/config.h.in:
13522 * win32/vs6/libgstcontroller.dsp:
13525 2005-12-05 Wim Taymans <wim@fluendo.com>
13527 * gst/gstcaps.c: (gst_caps_is_equal):
13528 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13529 (gst_fake_src_create):
13530 Back out previous code changes, leave doc updates, file bugs
13533 2005-12-05 Wim Taymans <wim@fluendo.com>
13535 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13536 (gst_fake_src_get_times), (gst_fake_src_create):
13537 * plugins/elements/gstfakesrc.h:
13538 Fix broken sync code.
13540 2005-12-05 Wim Taymans <wim@fluendo.com>
13542 * gst/gstcaps.c: (gst_caps_is_equal):
13543 Comparing NULL against !NULL yields different caps, not a
13546 2005-12-05 Wim Taymans <wim@fluendo.com>
13548 * gst/gstpipeline.c:
13549 Fix small typo in docs.
13551 2005-12-05 Andy Wingo <wingo@pobox.com>
13553 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
13555 * gst/gst.c (init_post): remove hard-coded 0.9 location for
13556 registries/plugins with a MAJORMINOR one.
13557 (plugin_desc): Rename library from gstcoreleements to
13558 staticelements. Fixes #323222.
13560 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
13562 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13563 Change debug category to 'collectpads' from 'collect_pads'
13566 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13568 patch by: Sebastien Moutte
13570 * libs/gst/controller/gstinterpolation.c:
13571 use convert function for uint64/double
13572 * win32/vs6/libgstcontroller.dsp:
13575 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13577 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13578 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13580 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13581 add tests that seem to show that the guint64/gdouble conversions
13584 2005-12-02 Wim Taymans <wim@fluendo.com>
13586 * gst/gstregistry.c: (gst_registry_add_path):
13587 * gst/gstregistry.h:
13588 * gst/gstregistryxml.c:
13591 2005-12-02 Wim Taymans <wim@fluendo.com>
13593 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13594 (gst_util_uint64_scale_int):
13597 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13598 Add debug log line.
13600 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13603 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13606 * win32/common/config.h:
13607 * win32/vs6/gstreamer.dsw:
13608 * win32/vs6/libgstcoreelements.dsp:
13609 * win32/vs6/libgstelements.dsp:
13610 renamed core elements plugin
13612 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13614 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13616 do piece-wise major/minor comparison so 0.9 < 0.10
13617 also allow .exe extensions for tools
13619 2005-12-02 Michael Smith <msmith@fluendo.com>
13622 Escape a % to make gtkdoc happier; bug 322958.
13624 === release 0.9.7 ===
13626 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13629 releasing 0.9.7, "My Dog Has No Nose"
13631 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13633 * common/gst-xmlinspect.py:
13635 * docs/libs/tmpl/gstdataprotocol.sgml:
13636 * docs/random/release:
13655 * win32/common/config.h:
13656 * win32/common/config.h.in:
13657 * win32/vs6/gst_inspect.dsp:
13658 * win32/vs6/gst_launch.dsp:
13659 * win32/vs6/libgstbase.dsp:
13660 * win32/vs6/libgstelements.dsp:
13661 * win32/vs6/libgstreamer.dsp:
13662 * win32/vs7/GStreamer.vcproj:
13663 * win32/vs7/gst-inspect.vcproj:
13664 * win32/vs7/gst-launch.vcproj:
13665 * win32/vs7/libgstbase.vcproj:
13666 bump GST_MAJORMINOR to 0.10
13667 reset libtool version
13669 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13673 Added Bulgarian translation by (Alexander Shopov)
13675 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13677 * tests/check/gst/gstplugin.c:
13680 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13682 * common/gst-xmlinspect.py:
13683 * common/gtk-doc-plugins.mak:
13685 * docs/Makefile.am:
13686 * docs/gst/Makefile.am:
13687 * docs/gst/gstreamer-docs.sgml:
13688 * docs/gst/gstreamer-sections.txt:
13689 * docs/gst/gstreamer.types:
13690 * docs/gst/gstreamer.types.in:
13691 * docs/plugins/Makefile.am:
13692 * docs/plugins/gstreamer-plugins-docs.sgml:
13693 * docs/plugins/gstreamer-plugins-sections.txt:
13694 * docs/plugins/gstreamer-plugins.types:
13695 * docs/plugins/inspect.stamp:
13696 * docs/plugins/inspect/plugin-coreelements.xml:
13697 * docs/plugins/inspect/plugin-coreindexers.xml:
13698 * docs/plugins/scanobj-build.stamp:
13699 * gstreamer.spec.in:
13700 * plugins/elements/Makefile.am:
13701 * plugins/elements/gstelements.c:
13702 * plugins/elements/gstfakesink.c:
13703 * plugins/elements/gstfakesrc.c:
13704 * plugins/elements/gstfilesink.c:
13705 * plugins/elements/gstfilesrc.c:
13706 * plugins/elements/gstqueue.c:
13707 * plugins/indexers/Makefile.am:
13708 * plugins/indexers/gstindexers.c:
13709 document core plugins in a separate document just like all the
13711 rename these plugins to something starting with core
13713 2005-12-01 Andy Wingo <wingo@pobox.com>
13715 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13716 padding here before, but it missed the commit.
13718 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13720 * libs/gst/controller/gstinterpolation.c:
13721 whitespace prices have crashed, we should feel free to use some now
13722 use gst_guint64_to_gdouble
13724 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13726 * libs/gst/controller/gstcontroller.c:
13727 * libs/gst/controller/gsthelper.c:
13728 * libs/gst/controller/gstinterpolation.c:
13729 * libs/gst/controller/lib.c:
13730 wrap config.h include
13732 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13734 * docs/gst/gstreamer-sections.txt:
13737 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13739 * plugins/elements/gstelements.c:
13740 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13741 (gst_fd_sink__class_init), (gst_fd_sink__init),
13742 (gst_fd_sink__chain), (gst_fd_sink__set_property),
13743 (gst_fd_sink__get_property):
13744 * plugins/elements/gstfdsink.h:
13745 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13746 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13747 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13748 (gst_fd_src_unlock), (gst_fd_src_set_property),
13749 (gst_fd_src_get_property), (gst_fd_src_create),
13750 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13751 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13752 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13753 (gst_fd_src_uri_handler_init):
13754 * plugins/elements/gstfdsrc.h:
13755 * plugins/elements/gstqueue.c: (gst_queue_get_type):
13758 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13760 * docs/gst/Makefile.am:
13761 * docs/gst/gstreamer.types.in:
13765 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13771 * gst/gstregistry.h:
13772 * tests/benchmarks/complexity.c:
13773 * tests/benchmarks/mass-elements.c:
13774 * tests/check/Makefile.am:
13775 * tools/Makefile.am:
13776 * tools/gst-inspect.c:
13777 * tools/gst-xmlinspect.c:
13778 various fixes to make
13779 --disable-nls --disable-registry --disable-loadsave
13780 --disable-parse --disable-gst-debug
13781 work and get the core .so down to 360444 bytes after stripping
13783 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13788 * docs/random/thomasvs/TODO:
13789 * tests/Makefile.am:
13793 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13795 * win32/GStreamer.vcproj:
13798 * win32/Makefile.inspect:
13799 * win32/Makefile.launch:
13800 * win32/Makefile.register:
13801 * win32/README.txt:
13802 * win32/gst-inspect.vcproj:
13803 * win32/gst-launch.vcproj:
13804 * win32/gst-register.vcproj:
13805 * win32/gstelements.vcproj:
13806 * win32/gstgetbits.def:
13807 * win32/gstgetbits.vcproj:
13808 * win32/gstreamer-dbg.def:
13809 * win32/gstreamer.def:
13810 * win32/libgstbase.def:
13811 * win32/libgstbase.vcproj:
13812 * win32/link_oldruntime.c:
13816 * win32/msvc71.sln:
13817 move even more stuff, win32/ is nice and clean now
13819 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13821 * libs/gst/control/.cvsignore:
13826 * win32/gstbytestream.def:
13827 * win32/gstbytestream.vcproj:
13828 * win32/gstconfig.h:
13829 * win32/gstenumtypes.c:
13830 * win32/gstenumtypes.h:
13831 * win32/gstoptimalscheduler.vcproj:
13832 * win32/gstversion.h:
13834 * win32/testsuite/bins.vcproj:
13835 * win32/testsuite/bytestream.vcproj:
13836 * win32/testsuite/caps.vcproj:
13837 * win32/testsuite/cleanup.vcproj:
13838 * win32/testsuite/clock.vcproj:
13839 * win32/testsuite/debug.vcproj:
13840 * win32/testsuite/dlopen.vcproj:
13841 * win32/testsuite/dynparams.vcproj:
13842 * win32/testsuite/elements.vcproj:
13843 * win32/testsuite/ghostpads.vcproj:
13844 * win32/testsuite/indexers.vcproj:
13845 * win32/testsuite/negotiation.vcproj:
13846 * win32/testsuite/parse.vcproj:
13847 * win32/testsuite/plugin.vcproj:
13848 * win32/testsuite/refcounting.vcproj:
13849 * win32/testsuite/schedulers.vcproj:
13850 * win32/testsuite/states.vcproj:
13851 * win32/testsuite/tags.vcproj:
13852 * win32/testsuite/threads.vcproj:
13853 remove old win32 stuff that isn't maintained and should be
13856 2005-11-30 Andy Wingo <wingo@pobox.com>
13858 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13859 loading the gst.interfaces python module bork.
13861 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13862 available since GLib 2.2. Fixes #318031.
13864 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13867 * check/.cvsignore:
13868 * check/Makefile.am:
13869 * check/elements/.cvsignore:
13870 * check/elements/fakesrc.c:
13871 * check/elements/fdsrc.c:
13872 * check/elements/identity.c:
13873 * check/generic/.cvsignore:
13874 * check/generic/states.c:
13875 * check/gst-libs/.cvsignore:
13876 * check/gst-libs/controller.c:
13877 * check/gst-libs/gdp.c:
13878 * check/gst/.cvsignore:
13879 * check/gst/capslist.h:
13881 * check/gst/gstbin.c:
13882 * check/gst/gstbuffer.c:
13883 * check/gst/gstbus.c:
13884 * check/gst/gstcaps.c:
13885 * check/gst/gstelement.c:
13886 * check/gst/gstevent.c:
13887 * check/gst/gstghostpad.c:
13888 * check/gst/gstiterator.c:
13889 * check/gst/gstmessage.c:
13890 * check/gst/gstminiobject.c:
13891 * check/gst/gstobject.c:
13892 * check/gst/gstpad.c:
13893 * check/gst/gstpipeline.c:
13894 * check/gst/gstplugin.c:
13895 * check/gst/gstsegment.c:
13896 * check/gst/gststructure.c:
13897 * check/gst/gstsystemclock.c:
13898 * check/gst/gsttag.c:
13899 * check/gst/gstutils.c:
13900 * check/gst/gstvalue.c:
13901 * check/net/.cvsignore:
13902 * check/net/gstnetclientclock.c:
13903 * check/net/gstnettimeprovider.c:
13904 * check/pipelines/.cvsignore:
13905 * check/pipelines/cleanup.c:
13906 * check/pipelines/simple_launch_lines.c:
13907 * check/pipelines/stress.c:
13908 * check/states/.cvsignore:
13909 * check/states/sinks.c:
13911 * examples/Makefile.am:
13912 * examples/appreader/.cvsignore:
13913 * examples/appreader/Makefile.am:
13914 * examples/appreader/appreader.c:
13915 * examples/controller/.cvsignore:
13916 * examples/controller/Makefile.am:
13917 * examples/controller/audio-example.c:
13918 * examples/cutter/.cvsignore:
13919 * examples/cutter/Makefile.am:
13920 * examples/cutter/cutter.c:
13921 * examples/cutter/cutter.h:
13922 * examples/events/Makefile.am:
13923 * examples/events/seek.c:
13924 * examples/helloworld/.cvsignore:
13925 * examples/helloworld/Makefile.am:
13926 * examples/helloworld/helloworld.c:
13927 * examples/helloworld2/.cvsignore:
13928 * examples/helloworld2/Makefile.am:
13929 * examples/helloworld2/helloworld2.c:
13930 * examples/launch/.cvsignore:
13931 * examples/launch/Makefile.am:
13932 * examples/launch/mp3parselaunch.c:
13933 * examples/launch/mp3play:
13934 * examples/manual/.cvsignore:
13935 * examples/manual/Makefile.am:
13936 * examples/manual/extract.pl:
13937 * examples/metadata/Makefile.am:
13938 * examples/metadata/read-metadata.c:
13939 * examples/mixer/.cvsignore:
13940 * examples/mixer/Makefile.am:
13941 * examples/mixer/mixer.c:
13942 * examples/mixer/mixer.h:
13943 * examples/pingpong/.cvsignore:
13944 * examples/pingpong/Makefile.am:
13945 * examples/pingpong/pingpong.c:
13946 * examples/plugins/.cvsignore:
13947 * examples/plugins/Makefile.am:
13948 * examples/plugins/example.c:
13949 * examples/plugins/example.h:
13950 * examples/pwg/.cvsignore:
13951 * examples/pwg/Makefile.am:
13952 * examples/pwg/extract.pl:
13953 * examples/queue/.cvsignore:
13954 * examples/queue/Makefile.am:
13955 * examples/queue/queue.c:
13956 * examples/queue2/.cvsignore:
13957 * examples/queue2/Makefile.am:
13958 * examples/queue2/queue2.c:
13959 * examples/queue3/.cvsignore:
13960 * examples/queue3/Makefile.am:
13961 * examples/queue3/queue3.c:
13962 * examples/queue4/.cvsignore:
13963 * examples/queue4/Makefile.am:
13964 * examples/queue4/queue4.c:
13965 * examples/retag/.cvsignore:
13966 * examples/retag/Makefile.am:
13967 * examples/retag/retag.c:
13968 * examples/retag/transcode.c:
13969 * examples/thread/.cvsignore:
13970 * examples/thread/Makefile.am:
13971 * examples/thread/thread.c:
13972 * examples/typefind/.cvsignore:
13973 * examples/typefind/Makefile.am:
13974 * examples/typefind/typefind.c:
13975 * examples/xml/.cvsignore:
13976 * examples/xml/Makefile.am:
13977 * examples/xml/createxml.c:
13978 * examples/xml/runxml.c:
13979 * tests/Makefile.am:
13980 * tests/check/Makefile.am:
13981 * testsuite/.cvsignore:
13982 * testsuite/Makefile.am:
13984 * testsuite/caps/.cvsignore:
13985 * testsuite/caps/Makefile.am:
13986 * testsuite/caps/app_fixate.c:
13987 * testsuite/caps/audioscale.c:
13988 * testsuite/caps/caps.c:
13989 * testsuite/caps/caps.h:
13990 * testsuite/caps/caps_strings:
13991 * testsuite/caps/compatibility.c:
13992 * testsuite/caps/deserialize.c:
13993 * testsuite/caps/enumcaps.c:
13994 * testsuite/caps/eratosthenes.c:
13995 * testsuite/caps/filtercaps.c:
13996 * testsuite/caps/fixed.c:
13997 * testsuite/caps/fraction-convert.c:
13998 * testsuite/caps/fraction-multiply-and-zero.c:
13999 * testsuite/caps/intersect2.c:
14000 * testsuite/caps/intersection.c:
14001 * testsuite/caps/normalisation.c:
14002 * testsuite/caps/random.c:
14003 * testsuite/caps/renegotiate.c:
14004 * testsuite/caps/sets.c:
14005 * testsuite/caps/simplify.c:
14006 * testsuite/caps/string-conversions.c:
14007 * testsuite/caps/structure.c:
14008 * testsuite/caps/subtract.c:
14009 * testsuite/caps/union.c:
14010 * testsuite/debug/.cvsignore:
14011 * testsuite/debug/Makefile.am:
14012 * testsuite/debug/category.c:
14013 * testsuite/debug/commandline.c:
14014 * testsuite/debug/global.c:
14015 * testsuite/debug/output.c:
14016 * testsuite/debug/printf_extension.c:
14017 * testsuite/dlopen/.cvsignore:
14018 * testsuite/dlopen/Makefile.am:
14019 * testsuite/dlopen/dlopen_gst.c:
14020 * testsuite/dlopen/loadgst.c:
14021 * testsuite/elements/.cvsignore:
14022 * testsuite/elements/Makefile.am:
14023 * testsuite/elements/gst-inspect-check.in:
14024 * testsuite/elements/struct_i386.h:
14025 * testsuite/elements/struct_size.c:
14026 * testsuite/indexers/.cvsignore:
14027 * testsuite/indexers/Makefile.am:
14028 * testsuite/indexers/cache1.c:
14029 * testsuite/indexers/indexdump.c:
14030 * testsuite/parse/.cvsignore:
14031 * testsuite/parse/Makefile.am:
14032 * testsuite/parse/parse1.c:
14033 * testsuite/parse/parse2.c:
14034 * testsuite/plugin/.cvsignore:
14035 * testsuite/plugin/Makefile.am:
14036 * testsuite/plugin/README:
14037 * testsuite/plugin/dynamic.c:
14038 * testsuite/plugin/linked.c:
14039 * testsuite/plugin/loading.c:
14040 * testsuite/plugin/registry.c:
14041 * testsuite/plugin/static.c:
14042 * testsuite/plugin/static2.c:
14043 * testsuite/plugin/testplugin.c:
14044 * testsuite/plugin/testplugin2.c:
14045 * testsuite/plugin/testplugin2_s.c:
14046 * testsuite/plugin/testplugin_s.c:
14047 * testsuite/refcounting/.cvsignore:
14048 * testsuite/refcounting/Makefile.am:
14049 * testsuite/refcounting/bin.c:
14050 * testsuite/refcounting/element.c:
14051 * testsuite/refcounting/element_pad.c:
14052 * testsuite/refcounting/mainloop.c:
14053 * testsuite/refcounting/mem.c:
14054 * testsuite/refcounting/mem.h:
14055 * testsuite/refcounting/object.c:
14056 * testsuite/refcounting/pad.c:
14057 * testsuite/refcounting/sched.c:
14058 * testsuite/refcounting/thread.c:
14059 * testsuite/states/.cvsignore:
14060 * testsuite/states/Makefile.am:
14061 * testsuite/states/bin.c:
14062 * testsuite/states/locked.c:
14063 * testsuite/states/parent.c:
14064 * testsuite/threads/.cvsignore:
14065 * testsuite/threads/159566.c:
14066 * testsuite/threads/159852.c:
14067 * testsuite/threads/Makefile.am:
14068 * testsuite/threads/queue.c:
14069 * testsuite/threads/signals.c:
14070 * testsuite/threads/staticrec.c:
14071 * testsuite/threads/thread.c:
14072 * testsuite/threads/threadb.c:
14073 * testsuite/threads/threadc.c:
14074 * testsuite/threads/threadd.c:
14075 * testsuite/threads/threade.c:
14076 * testsuite/threads/threadf.c:
14077 * testsuite/threads/threadg.c:
14078 * testsuite/threads/threadh.c:
14079 * testsuite/threads/threadi.c:
14080 move all of these under tests
14082 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14085 * tests/Makefile.am:
14088 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14090 * docs/gst/gstreamer-sections.txt:
14091 * tests/sched/.cvsignore:
14092 * tests/sched/Makefile.am:
14093 * tests/sched/cases/(fs-fs).xml:
14094 * tests/sched/cases/(fs-i-fs).xml:
14095 * tests/sched/cases/(fs-i-i-fs).xml:
14096 * tests/sched/cases/(fs-i-q[i-fs]).xml:
14097 * tests/sched/dynamic-pipeline.c:
14098 * tests/sched/interrupt1.c:
14099 * tests/sched/interrupt2.c:
14100 * tests/sched/interrupt3.c:
14101 * tests/sched/runtestcases:
14102 * tests/sched/runxml.c:
14103 * tests/sched/sched-stress.c:
14104 * tests/sched/sort.c:
14105 * tests/sched/testcases:
14106 * tests/sched/testcases1.tc:
14107 * tests/seeking/.cvsignore:
14108 * tests/seeking/Makefile.am:
14109 * tests/seeking/seeking1.c:
14110 * tests/threadstate/.cvsignore:
14111 * tests/threadstate/Makefile.am:
14112 * tests/threadstate/test1.c:
14113 * tests/threadstate/test2.c:
14114 * tests/threadstate/threadstate1.c:
14115 * tests/threadstate/threadstate2.c:
14116 * tests/threadstate/threadstate3.c:
14117 * tests/threadstate/threadstate4.c:
14118 * tests/threadstate/threadstate5.c:
14119 remove obsolete tests
14121 * tests/bench-complexity.scm:
14122 * tests/bench-mass_elements.scm:
14123 * tests/complexity.c:
14124 * tests/complexity.gnuplot:
14125 * tests/instantiate/.cvsignore:
14126 * tests/instantiate/Makefile.am:
14127 * tests/instantiate/caps.c:
14128 * tests/mass_elements.c:
14129 * tests/network-clock-utils.scm:
14130 * tests/network-clock.scm:
14132 First pass at cleaning up tests/ dir before moving the rest
14133 Combined with CVS surgery
14135 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14138 queue has moved, update
14140 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14142 * docs/gst/gstreamer-sections.txt:
14143 remove double entries from the docs
14144 * gst/gst_private.h:
14145 * gst/gstinfo.c: (_gst_debug_init):
14146 remove the THREAD debug category
14150 * docs/gst/gstreamer.types:
14151 * plugins/elements/gstqueue.c: (gst_queue_get_type),
14152 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
14153 completely move queue and fix up debugging categories
14155 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14157 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14158 make initialization portable, using LL is not
14160 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14162 * win32/common/gstconfig.h:
14165 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14167 * win32/common/libgstreamer.def:
14168 rename symbols; sort base section
14170 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14172 * gst/gstclock.c: (do_linear_regression):
14173 remove crack non-portable handrolled DEBUG macro
14175 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14177 * docs/random/release:
14179 * win32/common/gstenumtypes.c: (register_gst_object_flags),
14180 (gst_object_flags_get_type), (register_gst_bin_flags),
14181 (gst_bin_flags_get_type), (register_gst_buffer_flag),
14182 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14183 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14184 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
14185 (gst_caps_flags_get_type), (register_gst_clock_return),
14186 (gst_clock_return_get_type), (register_gst_clock_entry_type),
14187 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14188 (gst_clock_flags_get_type), (register_gst_state),
14189 (gst_state_get_type), (register_gst_state_change_return),
14190 (gst_state_change_return_get_type), (register_gst_state_change),
14191 (gst_state_change_get_type), (register_gst_element_flags),
14192 (gst_element_flags_get_type), (register_gst_core_error),
14193 (gst_core_error_get_type), (register_gst_library_error),
14194 (gst_library_error_get_type), (register_gst_resource_error),
14195 (gst_resource_error_get_type), (register_gst_stream_error),
14196 (gst_stream_error_get_type), (register_gst_event_type_flags),
14197 (gst_event_type_flags_get_type), (register_gst_event_type),
14198 (gst_event_type_get_type), (register_gst_seek_type),
14199 (gst_seek_type_get_type), (register_gst_seek_flags),
14200 (gst_seek_flags_get_type), (register_gst_format),
14201 (gst_format_get_type), (register_gst_index_certainty),
14202 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14203 (gst_index_entry_type_get_type),
14204 (register_gst_index_lookup_method),
14205 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14206 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14207 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14208 (gst_index_flags_get_type), (register_gst_debug_level),
14209 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14210 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14211 (gst_iterator_result_get_type), (register_gst_iterator_item),
14212 (gst_iterator_item_get_type), (register_gst_message_type),
14213 (gst_message_type_get_type), (register_gst_mini_object_flags),
14214 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14215 (gst_pad_link_return_get_type), (register_gst_flow_return),
14216 (gst_flow_return_get_type), (register_gst_activate_mode),
14217 (gst_activate_mode_get_type), (register_gst_pad_direction),
14218 (gst_pad_direction_get_type), (register_gst_pad_flags),
14219 (gst_pad_flags_get_type), (register_gst_pad_presence),
14220 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14221 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14222 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14223 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14224 (gst_plugin_flags_get_type), (register_gst_rank),
14225 (gst_rank_get_type), (register_gst_query_type),
14226 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14227 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14228 (gst_tag_flag_get_type), (register_gst_task_state),
14229 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14230 (gst_alloc_trace_flags_get_type),
14231 (register_gst_type_find_probability),
14232 (gst_type_find_probability_get_type), (register_gst_uri_type),
14233 (gst_uri_type_get_type), (register_gst_parse_error),
14234 (gst_parse_error_get_type):
14235 * win32/common/gstenumtypes.h:
14236 * win32/common/gstversion.h:
14237 update visual studio generated files
14239 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14241 * win32/vs6/libgstbase.dsp:
14242 * win32/vs6/libgstelements.dsp:
14243 update project files for new locations
14245 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14250 reinstate and update
14255 * docs/random/LICENSE:
14258 2005-11-30 Edward Hervey <edward@fluendo.com>
14260 * gst/gsttypefind.c: (gst_type_find_register):
14261 * gst/gsttypefind.h:
14262 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14263 (gst_type_find_factory_dispose):
14264 * gst/gsttypefindfactory.h:
14265 Fix memory leak in GstTypeFindFactory.
14267 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14270 * plugins/elements/Makefile.am:
14271 * plugins/elements/gstelements.c:
14272 * plugins/elements/gstqueue.c:
14273 move queue from core to the elements plugin
14275 2005-11-29 Andy Wingo <wingo@pobox.com>
14277 * libs/gst/base/gstbasetransform.h:
14278 * libs/gst/base/gstbasesrc.h:
14279 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14281 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14282 of pointers by which to pad very extensible base classes (like the
14283 ones in libs/gst/base).
14285 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14287 * docs/gst/gstreamer-docs.sgml:
14288 * docs/gst/gstreamer-sections.txt:
14289 * docs/libs/gstreamer-libs-docs.sgml:
14290 * docs/libs/gstreamer-libs-sections.txt:
14291 moving documentation from core to lib
14293 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14295 * check/Makefile.am:
14297 * docs/gst/Makefile.am:
14299 * gst/base/.cvsignore:
14300 * gst/base/Makefile.am:
14302 * gst/base/gstadapter.c:
14303 * gst/base/gstadapter.h:
14304 * gst/base/gstbasesink.c:
14305 * gst/base/gstbasesink.h:
14306 * gst/base/gstbasesrc.c:
14307 * gst/base/gstbasesrc.h:
14308 * gst/base/gstbasetransform.c:
14309 * gst/base/gstbasetransform.h:
14310 * gst/base/gstcollectpads.c:
14311 * gst/base/gstcollectpads.h:
14312 * gst/base/gstpushsrc.c:
14313 * gst/base/gstpushsrc.h:
14314 * gst/base/gsttypefindhelper.c:
14315 * gst/base/gsttypefindhelper.h:
14316 * gst/check/Makefile.am:
14317 * gst/check/gstcheck.c:
14318 * gst/check/gstcheck.h:
14319 * gst/net/Makefile.am:
14320 * gst/net/gstnet.h:
14321 * gst/net/gstnetclientclock.c:
14322 * gst/net/gstnetclientclock.h:
14323 * gst/net/gstnettimepacket.c:
14324 * gst/net/gstnettimepacket.h:
14325 * gst/net/gstnettimeprovider.c:
14326 * gst/net/gstnettimeprovider.h:
14327 * libs/gst/Makefile.am:
14328 * libs/gst/base/Makefile.am:
14329 * libs/gst/base/gstbasetransform.c:
14330 * libs/gst/check/Makefile.am:
14331 * plugins/elements/Makefile.am:
14333 CVS surgery + support to move base, check, and net out of gst
14336 2005-11-29 Andy Wingo <wingo@pobox.com>
14338 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14340 * gst/gststructure.h (struct _GstStructure): Only one pointer of
14343 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14345 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14347 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14349 * gst/gstobject.h: (struct _GstObject): Only one pointer of
14350 padding; reduces object size by about 30%. We don't expect
14351 anything else to go into gstobject.
14353 * gst/gstminiobject.h (struct _GstMiniObject)
14354 (struct _GstMiniObjectClass): Only one pointer of padding; the
14355 payload is only a pointer and two ints anyway. For the class there
14356 are only two methods as well.
14358 * gst/gstelement.h (struct _GstElementClass): Removed
14359 the state_changed signal callback, it is not used.
14361 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14363 * docs/gst/gstreamer.types:
14364 fix includes, though they are a little dinky
14366 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14368 * check/Makefile.am:
14369 look in the right place for elements, a lot more chance of
14372 remove indexers and elements subdirs
14373 * plugins/Makefile.am:
14374 make indexers conditional
14376 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14380 * plugins/elements/Makefile.am:
14381 * plugins/elements/gstcapsfilter.c:
14382 * plugins/elements/gstfilesink.c:
14383 * plugins/elements/gstfilesrc.c:
14384 * plugins/elements/gstidentity.c:
14385 * plugins/indexers/Makefile.am:
14386 do CVS surgery and related build fixery to move elements
14387 and indexers in a new gstreamer/plugins directory, out of the
14390 2005-11-29 Andy Wingo <wingo@pobox.com>
14392 * check/Makefile.am:
14393 * pkgconfig/gstreamer-net-uninstalled.pc.in:
14394 * pkgconfig/gstreamer-net.pc.in:
14395 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14398 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14400 * tools/Makefile.am:
14401 * tools/gst-complete.1.in:
14402 * tools/gst-complete.c:
14403 * tools/gst-compprep.1.in:
14404 * tools/gst-compprep.c:
14405 removing -compprep and -complete
14407 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14409 * gst/gstevent.c: (gst_event_new_new_segment),
14410 (gst_event_parse_new_segment):
14412 fix #320529 - clean up new_segment API and structure.
14413 Let's hope everyone was using the methods, and not the structure.
14415 2005-11-29 Edward Hervey <edward@fluendo.com>
14417 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14418 (gst_base_sink_event), (gst_base_sink_do_sync),
14419 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14420 Properly handle non GST_FORMAT_TIME segment
14421 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14422 Properly handle non GST_FORMAT_TIME segment
14423 * gst/gstsegment.c:
14424 This function is valid if the accumulator is 0 and the format
14425 is different from the requested format.
14427 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14429 * docs/gst/gstreamer-sections.txt:
14430 Add gst_query_new_seeking and gst_query_parse_seeking to the
14433 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14435 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14436 Treat a pad alloc with new caps the same as if we were not
14437 negotiated, in order to allow a changing upstream output
14438 to produce a new format of data.
14440 2005-11-29 Edward Hervey <edward@fluendo.com>
14442 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14443 (gst_base_transform_event), (gst_base_transform_eventfunc):
14444 The event virtual method is now properly implemented, with a default
14446 Sub classes should call the parent_class event method. They should
14447 return FALSE if they had a problem handling the given event, or don't
14448 want GstBaseTransform to send that even downstream
14449 * gst/elements/gstidentity.c: (gst_identity_class_init),
14450 (gst_identity_init), (gst_identity_event),
14451 (gst_identity_transform_ip), (gst_identity_set_property),
14452 (gst_identity_get_property):
14453 * gst/elements/gstidentity.h:
14454 Added the single-segment boolean property.
14455 If set to TRUE, it will output a single segment of data, starting from
14456 0, will eat up all incoming newsegment, and modify the timestamp of the
14457 buffers accordingly
14459 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
14461 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14462 Don't ref NULL target pad (#322751). Improve docs.
14464 2005-11-29 Michael Smith <msmith@fluendo.com>
14466 * gst/gstregistryxml.c: (load_plugin):
14467 Don't crash if we failed to load a feature from a plugin.
14469 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14471 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14473 use more check API and less GLib API
14475 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14478 don't run checks if we don't have check
14479 * common/check.mak:
14480 remove the registry when running make torture
14481 * docs/gst/gstreamer-sections.txt:
14482 remove second multiply
14483 * gst/gstqueue.c: (gst_queue_loop):
14484 fix a compile warning when disabling debug
14486 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14489 Hey! Let's print the pad name if the pointer != NULL instead
14490 of when it == NULL :-)
14492 2005-11-28 Wim Taymans <wim@fluendo.com>
14494 * check/gst/gstutils.c: (GST_START_TEST):
14495 Updated check, add some scaling accuracy checking code.
14497 * gst/gstutils.c: (gst_util_div128_64),
14498 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14499 (gst_util_uint64_scale_int):
14500 Fix 6 times faster division code. Optimize for common
14501 1/1 and less common X/1 cases.
14503 2005-11-28 Wim Taymans <wim@fluendo.com>
14505 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14508 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14509 (do_linear_regression), (gst_clock_add_observation):
14511 Release lock when the clock cannot be slaved.
14512 Catch the case where the regression returned an invalid denominator.
14514 * gst/gstutils.c: (gst_util_div128_64_iterate),
14515 (gst_util_div128_64), (gst_util_uint64_scale_int64),
14516 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14517 Add protentially more performant non-iterative 128/64 divide function
14518 that unfortunatly does not work yet.
14519 Shortcut the trivial 0/X = 0 case.
14520 Remove the warnings on overflow.
14522 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14524 * gst/gstplugin.c: (gst_plugin_register_func):
14525 everything causing a plugin not to load should be at least a WARNING
14527 2005-11-28 Stefan Kost <ensonic@users.sf.net>
14529 * docs/random/ensonic/dparams.txt:
14530 some TODOs for the next dev cycle
14531 * libs/gst/controller/gstcontroller.c:
14532 (gst_controlled_property_set_interpolation_mode),
14533 (gst_controlled_property_new):
14534 * libs/gst/controller/gstcontroller.h:
14535 use base type to assign acccessor functions
14537 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14539 * check/Makefile.am:
14540 Oops, that should have been top_srcdir
14542 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14544 * check/Makefile.am:
14545 * check/elements/fdsrc.c: (GST_START_TEST):
14546 Use a cmdline define to specify the location of a file to use for
14547 testing, to avoid breaking distcheck.
14549 2005-11-28 Andy Wingo <wingo@pobox.com>
14551 * gst/gstpad.c (fixate_value): Use array functions for arrays.
14553 2005-11-28 Edward Hervey <edward@fluendo.com>
14555 * tools/gst-launch.c: (main):
14556 Clarify the output strings, makes it easier to translate.
14559 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14562 don't try and build net if we don't even have <sys/socket.h>
14564 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
14566 * check/Makefile.am:
14567 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14568 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14569 Add tests for fdsrc seekability
14571 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14572 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14573 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14574 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14575 * gst/elements/gstfdsrc.h:
14576 fdsrc should not be a 'live' source.
14577 Implement seeking on seekable fd's.
14579 * gst/gstquery.c: (gst_query_new_seeking),
14580 (gst_query_parse_seeking):
14582 Implement SEEKING query functions:
14583 *_new_seeking and *_parse_seeking
14585 2005-11-27 Stefan Kost <ensonic@users.sf.net>
14587 * gst/gstelement.c: (gst_element_dispose):
14590 * gst/gstiterator.c:
14591 * gst/gststructure.c:
14594 * libs/gst/controller/gstcontroller.c:
14595 (gst_controlled_property_set_interpolation_mode):
14596 * libs/gst/controller/gstcontroller.h:
14597 * libs/gst/controller/gstinterpolation.c:
14598 (interpolate_none_get_enum_value_array):
14599 support controlling enums
14601 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14604 Improve documentation for gst_value_union().
14607 Change return value for union, intersect and subtract functions
14608 from gint to gboolean.
14610 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14612 * gst/gstvalue.c: (gst_value_serialize_any_list),
14613 (gst_value_transform_any_list_string),
14614 (gst_value_deserialize_list), (gst_value_deserialize_array),
14615 (gst_value_set_int_range), (gst_value_deserialize_int_range),
14616 (gst_value_set_double_range), (gst_value_deserialize_double_range),
14617 (gst_value_set_fraction_range_full),
14618 (gst_value_deserialize_fraction_range),
14619 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14620 (gst_value_deserialize_boolean),
14621 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14622 (gst_value_serialize_float), (gst_value_deserialize_float),
14623 (gst_string_wrap), (gst_value_deserialize_string),
14624 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14625 (gst_value_union_int_range_int_range),
14626 (gst_value_intersect_int_range_int_range),
14627 (gst_value_intersect_double_range_double_range),
14628 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14629 (gst_value_subtract_int_range_int_range),
14630 (gst_value_subtract_double_double_range),
14631 (gst_value_subtract_double_range_double_range),
14632 (gst_value_deserialize_fraction):
14634 Use gint, gdouble and gchar in our API instead of int, double and
14635 char (and make usage in gstvalue.c more consistent).
14637 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14639 * check/Makefile.am:
14640 * libs/gst/controller/Makefile.am:
14641 * libs/gst/dataprotocol/Makefile.am:
14642 fix up Makefile.am and remove GST_ENABLE_NEW
14644 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14648 * gst/base/Makefile.am:
14649 * gst/check/Makefile.am:
14650 * gst/elements/Makefile.am:
14651 * gst/net/Makefile.am:
14652 update LDFLAGS use some more
14654 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14656 * common/m4/gst-doc.m4:
14659 2005-11-26 Edward Hervey <edward@fluendo.com>
14661 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14662 This shouldn't issue a g_warning since it returns NULL if it
14663 couldn't find the plugin, and all functions using this behave
14664 properly on a NULL return. Switching to a GST_WARNING.
14666 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
14668 * gst/gstbin.c: (gst_bin_handle_message_func):
14669 Don't leak clock messages.
14671 2005-11-25 Wim Taymans <wim@fluendo.com>
14673 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14674 (gst_util_uint64_scale_int):
14675 Optimisations, remove unneeded vars.
14677 2005-11-25 Wim Taymans <wim@fluendo.com>
14679 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14680 Added more checks for the high precision uint64 cases.
14682 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14683 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14684 Implement high precision (guint64 * guint64) / guint64.
14686 2005-11-24 Wim Taymans <wim@fluendo.com>
14688 * gst/base/gstbasesrc.c: (gst_base_src_query):
14689 Fix wrong percentage query.
14691 * gst/gstutils.c: (gst_util_uint64_scale),
14692 (gst_util_uint64_scale_int):
14693 Add some more common cases that can be handled
14694 efficiently to _scale.
14696 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14698 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14699 (gst_mini_object_suite):
14700 don't use check calls from threads; check probably isn't
14701 threadsafe and using a lock to make it threadsafe would
14702 defeat the purpose of this check
14703 * gst/check/gstcheck.c:
14704 * gst/check/gstcheck.h:
14705 use GST_DEBUG some more
14707 2005-11-24 Wim Taymans <wim@fluendo.com>
14709 * gst/gstutils.c: (gst_util_uint64_scale),
14710 (gst_util_uint64_scale_int):
14711 Chain trivial case to _scale_int.
14713 2005-11-24 Wim Taymans <wim@fluendo.com>
14715 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14716 Added test for scaling.
14721 * gst/gstutils.c: (gst_util_uint64_scale_int):
14722 Implemented high precision scaling code.
14724 2005-11-24 Stefan Kost <ensonic@users.sf.net>
14727 do not crash on pad==NULL
14729 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14731 Patch by: Stefan Kost
14733 * common/gtk-doc.mak:
14734 * docs/gst/Makefile.am:
14735 * docs/libs/Makefile.am:
14736 Fix distcheck issues for the libraries docs build
14739 2005-11-24 Michael Smith <msmith@fluendo.com>
14741 * docs/manual/basics-helloworld.xml:
14742 Fix bug #315027: memory leak in example code in docs.
14744 2005-11-24 Michael Smith <msmith@fluendo.com>
14746 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14747 Unlock the PREROLL_LOCK in a failure case.
14749 2005-11-24 Wim Taymans <wim@fluendo.com>
14751 * docs/gst/gstreamer-sections.txt:
14752 * gst/base/gstadapter.h:
14753 * gst/base/gstbasesink.h:
14754 * gst/base/gstbasesrc.h:
14755 * gst/base/gstbasetransform.h:
14756 * gst/base/gstpushsrc.h:
14757 * gst/elements/gstfakesink.h:
14758 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14759 * gst/elements/gstfakesrc.h:
14760 * gst/elements/gstfilesink.h:
14761 * gst/elements/gstfilesrc.h:
14764 * gst/gstbuffer.c: (_gst_buffer_copy):
14767 * gst/gstchildproxy.c:
14769 * gst/gstelement.c:
14770 * gst/gstelementfactory.c:
14771 * gst/gstelementfactory.h:
14773 * gst/gstghostpad.h:
14775 * gst/gstinterface.h:
14776 * gst/gstminiobject.c:
14777 * gst/gstminiobject.h:
14780 * gst/gstpadtemplate.h:
14781 * gst/gstpipeline.h:
14782 * gst/gstpluginfeature.h:
14785 * gst/gsttaglist.c:
14786 * gst/gsttaglist.h:
14787 * gst/gsttagsetter.c:
14788 * gst/gsttagsetter.h:
14791 * gst/gsttypefind.h:
14794 * gst/net/gstnetclientclock.c:
14795 * gst/net/gstnetclientclock.h:
14796 * gst/net/gstnettimepacket.c:
14797 * gst/net/gstnettimeprovider.c:
14798 * gst/net/gstnettimeprovider.h:
14801 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14803 * configure.ac: back to HEAD
14805 === release 0.9.6 ===
14807 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14810 releasing 0.9.6, "Always On Time"
14812 2005-11-23 Wim Taymans <wim@fluendo.com>
14814 * docs/gst/gstreamer-sections.txt:
14815 * gst/glib-compat.c:
14816 * gst/gsttagsetter.c:
14818 * gst/net/gstnetclientclock.c:
14819 * gst/net/gstnettimepacket.h:
14822 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14824 * docs/faq/using.xml:
14825 * docs/libs/tmpl/gstcontrol.sgml:
14826 * docs/manual/advanced-dparams.xml:
14827 * docs/manual/appendix-checklist.xml:
14828 * docs/manual/basics-elements.xml:
14829 * docs/pwg/other-source.xml:
14830 * docs/random/moving-plugins:
14832 * tools/gst-launch.1.in:
14833 remove mentions of sinesrc
14835 2005-11-23 Michael Smith <msmith@fluendo.com>
14837 * docs/gst/gstreamer-sections.txt:
14838 Update for new API and API changes.
14840 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14842 Documentation typo fix.
14843 * gst/net/gstnettimepacket.c:
14844 Documentation fixes for arguments.
14846 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
14848 * gst/gststructure.c: (gst_structure_get_fraction),
14849 (gst_structure_parse_value),
14850 (gst_structure_fixate_field_nearest_fraction):
14851 * gst/gststructure.h:
14852 * gst/gstutils.c: (gst_util_uint64_scale_int):
14854 * scripts/update-funcnames:
14856 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14857 Make gst_structure_fixate_field_nearest_fraction take a numerator
14858 and denominator argument instead of a GValue
14859 add gst_structure_get_fraction helper function.
14861 2005-11-23 Wim Taymans <wim@fluendo.com>
14863 * docs/design/part-TODO.txt:
14866 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14867 * gst/net/gstnetclientclock.h:
14868 Use parent fields for timeout and window_size.
14870 2005-11-23 Andy Wingo <wingo@pobox.com>
14872 * check/net/gstnetclientclock.c (test_functioning): Adjust to
14873 rate_num/rate_denom change.
14875 * gst/net/gstnetclientclock.c
14876 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14877 OBJECT_LOCK. Don't call add_observation with the lock.
14879 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14881 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14883 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14884 deal with rate as a fraction whose numerator and denominator are
14885 GstClockTime values.
14886 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14887 master; the other fields are protected by the SLAVE_LOCK.
14888 (do_linear_regression): Note that this must be called with the
14890 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14891 OBJECT_LOCK. Call set_calibration instead of touching the
14892 variables directly.
14893 (gst_clock_set_property, gst_clock_get_property): Protect
14894 master/slave parameters with the SLAVE_LOCK.
14896 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14897 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14898 note that all of the instance variables that add_observation and
14899 the set_master functions use are protected by that lock and not
14901 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14903 * gst/gstclock.c (gst_clock_add_observation): No longer requires
14904 the caller to take the object lock.
14906 2005-11-23 Wim Taymans <wim@fluendo.com>
14908 * gst/gsterror.c: (_gst_core_errors_init):
14910 Add error for clock stuff.
14912 * gst/gstpipeline.c: (gst_pipeline_change_state),
14913 (gst_pipeline_set_clock):
14914 Post clock error when clock cannot be used in a pipeline.
14916 2005-11-23 Stefan Kost <ensonic@users.sf.net>
14918 * docs/gst/gstreamer-sections.txt:
14919 make two symbols from gstinfo private for the docs
14920 * gst/base/gstcollectpads.h:
14922 fix doc typos, update docs
14924 2005-11-22 Wim Taymans <wim@fluendo.com>
14926 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14927 (gst_base_sink_wait), (gst_base_sink_do_sync),
14928 (gst_base_sink_handle_event):
14929 * gst/base/gstbasesink.h:
14930 No need to store the clock, the parent element class already
14933 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14934 Updates for clock_set returning a gboolean
14936 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14937 (gst_clock_id_wait_async), (gst_clock_class_init),
14938 (gst_clock_init), (gst_clock_finalize),
14939 (gst_clock_get_internal_time), (gst_clock_get_time),
14940 (gst_clock_slave_callback), (gst_clock_set_master),
14941 (gst_clock_get_master), (do_linear_regression),
14942 (gst_clock_add_observation), (gst_clock_set_property),
14943 (gst_clock_get_property):
14945 Implement master/slave. When setting a clock as a slave, a
14946 periodic timeout is scheduled to sample master and slave times.
14947 Then the slave clock is recalibrated to match offset and rate
14948 of the master clock.
14949 Update logging a bit.
14950 Add flag so that a clock can state that is cannot be slaved to
14953 * gst/gstelement.c: (gst_element_set_clock):
14954 * gst/gstelement.h:
14955 The set clock returns a gboolean for when an element cannot
14956 deal with the selected clock in the pipeline.
14958 * gst/gstpipeline.c: (gst_pipeline_change_state),
14959 (gst_pipeline_set_clock):
14960 * gst/gstpipeline.h:
14961 Handle the case where the selected clock cannot be set on
14964 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14965 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14966 (gst_net_client_clock_set_property),
14967 (gst_net_client_clock_get_property),
14968 (gst_net_client_clock_observe_times):
14969 * gst/net/gstnetclientclock.h:
14970 Use regression code in GstClock parent, remove duplicated
14973 2005-11-22 Michael Smith <msmith@fluendo.com>
14975 * gst/gstutils.c: (gst_util_clock_time_scale):
14977 * docs/gst/gstreamer-sections.txt:
14978 Rename method to have extra underscore.
14980 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
14982 * gst/elements/Makefile.am:
14983 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14984 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14985 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14986 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14987 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14988 * gst/elements/gstfakesrc.h:
14989 * gst/gstqueue.c: (queue_leaky_get_type):
14990 correctly fix GEnumValues so that nick is the short lowercase
14992 * tools/gst-inspect.c: (print_element_properties_info):
14993 also show the nick, since it's useful to use from parse_launch
14997 2005-11-22 Michael Smith <msmith@fluendo.com>
14999 * gst/gstutils.c: (gst_util_clocktime_scale):
15001 * docs/gst/gstreamer-sections.txt:
15002 Add util method for scaling a clocktime by a fraction. Useful
15003 implementation is left as an exercise for the reader.
15005 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15007 * gst/gstvalue.c: (gst_value_collect_fraction_range):
15008 If needed, allocate storage in the destination value during
15011 2005-11-22 Edward Hervey <edward@fluendo.com>
15013 * docs/gst/gstreamer-sections.txt:
15016 * gst/gsturitype.c:
15017 * gst/gsturitype.h:
15018 * gst/gstutils.c: (gst_util_set_object_arg):
15019 * tools/gst-compprep.c: (main):
15020 * tools/gst-inspect.c: (print_element_properties_info):
15021 Removed GstURI, closes bug #321061
15023 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15025 * check/gst/gststructure.c: (GST_START_TEST):
15026 * gst/gststructure.c: (gst_structure_parse_value):
15027 Oops, broke automatic string type parsing.
15028 Add a test to catch it in future.
15030 2005-11-22 Andy Wingo <wingo@pobox.com>
15032 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
15033 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
15034 Actually rename the function implementations. Grr.
15036 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15038 * check/gst/capslist.h:
15040 * check/gst/gststructure.c: (GST_START_TEST),
15041 (gst_structure_suite):
15042 Test automatic value type detection in gst_structure_from_string.
15043 * gst/gststructure.c: (gst_structure_parse_value):
15044 Add fraction as a type we try and guess automatically in
15045 caps/structure strings.
15047 2005-11-22 Andy Wingo <wingo@pobox.com>
15049 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
15051 * gst/gsttagsetter.h:
15052 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
15053 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
15054 (gst_tag_setter_add_tag_valist)
15055 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
15056 _add_values, _add_valist, and _add_valist_values. Since this is an
15057 interface the function suffixes should be more explicit so
15058 language binding don't end up with element.add_valist ->
15059 gst_tag_setter_add_valist, for example. Fixes #322069.
15061 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15063 * check/gst/gstcaps.c: (GST_START_TEST):
15064 Extend caps string tests to check that a caps to string
15065 conversion is reversible and produces the same caps.
15067 * gst/gststructure.c: (gst_structure_value_get_generic_type):
15068 Output "fraction" as the generic type fraction range, so caps
15069 serialisation and deserialisation works.
15070 * check/gst/capslist.h:
15071 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15072 Support 'MIN' and 'MAX' for deserialising fractions.
15074 2005-11-22 Andy Wingo <wingo@pobox.com>
15076 * gst/gstevent.h (gst_event_new_new_segment)
15077 (gst_event_parse_new_segment, gst_event_new_buffer_size)
15078 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
15079 Renamed from *_newsegment, *_buffersize, *_notarget.
15081 * scripts/update-funcnames: New script, performs the changes
15084 2005-11-22 Wim Taymans <wim@fluendo.com>
15086 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15087 Make sure the GstFlowReturn is returned.
15089 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
15090 (gst_bus_add_signal_watch):
15092 add gst_bus_add_signal_watch_full.
15094 * gst/gstplugin.c: (gst_plugin_load_file):
15095 Small style cleanup.
15097 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15099 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
15100 Block the fakesrc srcpad when we send an event, to avoid
15101 contention on the stream_lock causing random test failures.
15103 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15105 * check/gst/gstvalue.c: (GST_START_TEST):
15106 * gst/gstvalue.c: (gst_value_fraction_subtract):
15109 2005-11-22 Stefan Kost <ensonic@users.sf.net>
15112 include "gstchildproxy.h"
15113 * gst/gstchildproxy.h:
15114 * libs/gst/controller/gstcontroller.h:
15115 use G_GNUC_NULL_TERMINATED
15117 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15119 * check/gst/capslist.h:
15120 * check/gst/gstcaps.c: (GST_START_TEST):
15121 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15122 * gst/gststructure.c: (gst_structure_parse_range),
15123 (gst_structure_fixate_field_nearest_fraction):
15124 * gst/gststructure.h:
15125 * gst/gstvalue.c: (gst_value_init_fraction_range),
15126 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
15127 (gst_value_collect_fraction_range),
15128 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
15129 (gst_value_set_fraction_range_full),
15130 (gst_value_get_fraction_range_min),
15131 (gst_value_get_fraction_range_max),
15132 (gst_value_serialize_fraction_range),
15133 (gst_value_transform_fraction_range_string),
15134 (gst_value_compare_fraction_range),
15135 (gst_value_deserialize_fraction_range),
15136 (gst_value_intersect_fraction_fraction_range),
15137 (gst_value_intersect_fraction_range_fraction_range),
15138 (gst_value_subtract_fraction_fraction_range),
15139 (gst_value_subtract_fraction_range_fraction),
15140 (gst_value_subtract_fraction_range_fraction_range),
15141 (gst_value_collect_fraction), (gst_value_fraction_multiply),
15142 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
15143 (gst_value_transform_string_fraction), (_gst_value_initialize):
15145 Implement fraction ranges and extend GstFraction to support
15146 arithmetic subtraction, as well as deserialization from integer
15147 strings such as "100"
15148 Add a testsuite as for int and double range set operations
15150 2005-11-21 Andy Wingo <wingo@pobox.com>
15152 * gst/gsttaglist.h:
15154 * gst/gststructure.h: Add glib-compat.h.
15156 2005-11-21 Wim Taymans <wim@fluendo.com>
15158 * gst/gstbin.c: (gst_bin_change_state_func):
15161 2005-11-21 Wim Taymans <wim@fluendo.com>
15163 * gst/gstsegment.h:
15164 And add a nice define too.
15166 2005-11-21 Wim Taymans <wim@fluendo.com>
15168 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
15169 (gst_segment_new), (gst_segment_free), (gst_segment_init),
15170 (gst_segment_set_duration), (gst_segment_set_last_stop),
15171 (gst_segment_set_seek), (gst_segment_set_newsegment),
15172 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15173 (gst_segment_clip):
15174 * gst/gstsegment.h:
15175 Make binding friendly.
15177 2005-11-21 Andy Wingo <wingo@pobox.com>
15179 * gst/gsttagsetter.h:
15180 * gst/gsttaglist.h:
15181 * gst/gststructure.h:
15183 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
15186 * gst/gsterror.c (_gst_core_errors_init):
15187 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
15190 * gst/Makefile.am (gst_headers): Add glib-compat.h.
15191 (noinst_HEADERS): noinst the -private.
15193 2005-11-21 Michael Smith <msmith@fluendo.com>
15196 * gst/gstregistry.h:
15197 Remove unimplemented declarations for which we can see no sensible
15200 2005-11-21 Andy Wingo <wingo@pobox.com>
15202 * gst/gst.h: Include glib-compat.h.
15204 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15206 * gst/glib-compat.c: Include the public and the private header.
15208 * gst/glib-compat-private.h: Copied here from glib-compat.h.
15212 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15214 * check/gst/gstevent.c (create_custom_events): Check that
15215 FLUSH_STOP is serialized.
15217 * check/elements/identity.c (event_func):
15218 * check/elements/fakesrc.c (event_func): No stream lock, the core
15221 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15222 stream lock taking, yay.
15224 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15225 ensure that core takes the stream lock.
15227 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15230 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15231 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15232 it already. For the flush start we do take it though so we get the
15233 right preroll state change messages.
15235 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15236 the stream lock here, the core does it for us.
15238 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15239 GST_STREAM_GET_LOCK.
15240 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
15241 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
15242 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15243 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15244 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
15245 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15247 * gst/gstpad.c: Update for stream lock name change.
15249 * gst/base/gstbasesink.c: Update for preroll lock name change.
15251 2005-11-21 Wim Taymans <wim@fluendo.com>
15253 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15254 (gst_clock_get_master):
15256 * gst/gstsystemclock.c: (gst_system_clock_init):
15257 Convert Clock flags to object flags.
15258 Added methods to manage master/slave clocks.
15260 2005-11-21 Wim Taymans <wim@fluendo.com>
15262 * check/gst/gstsegment.c: (GST_START_TEST):
15263 * docs/design/part-TODO.txt:
15264 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15265 (gst_base_sink_event), (gst_base_sink_do_sync),
15266 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15267 (gst_base_sink_query), (gst_base_sink_change_state):
15268 * gst/base/gstbasesink.h:
15269 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15270 (gst_base_src_default_newsegment),
15271 (gst_base_src_configure_segment), (gst_base_src_do_seek),
15272 (gst_base_src_get_range), (gst_base_src_loop),
15273 (gst_base_src_change_state):
15274 * gst/base/gstbasesrc.h:
15275 * gst/base/gstbasetransform.c:
15276 (gst_base_transform_prepare_output_buf),
15277 (gst_base_transform_event), (gst_base_transform_change_state):
15278 * gst/base/gstbasetransform.h:
15279 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15280 (gst_collect_pads_event):
15281 * gst/base/gstcollectpads.h:
15282 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15283 (gst_fake_src_create):
15284 * gst/elements/gstfakesrc.h:
15285 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15286 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15287 (gst_segment_set_last_stop), (gst_segment_set_seek),
15288 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15289 (gst_segment_to_running_time), (gst_segment_clip):
15290 * gst/gstsegment.h:
15291 More segment updates, replace code in plugins with segment
15294 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15296 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15297 Don't ignore sscanf results
15299 2005-11-21 Andy Wingo <wingo@pobox.com>
15301 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15304 * *.c: Ran scripts/update-macros. Oh yes.
15306 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15307 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15310 * scripts/update-macros: New script. Run it on your files to
15311 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15314 2005-11-21 Stefan Kost <ensonic@users.sf.net>
15316 * docs/gst/Makefile.am:
15317 * docs/gst/gstreamer-docs.sgml:
15318 * docs/gst/gstreamer-sections.txt:
15319 * docs/gst/gstreamer.types:
15321 more docs fixes, add new api to the docs
15323 2005-11-21 Andy Wingo <wingo@pobox.com>
15325 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15326 state_broadcast call.
15328 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15330 2005-11-21 Julien MOUTTE <julien@moutte.net>
15332 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15333 function calls for arrays.
15335 2005-11-21 Stefan Kost <ensonic@users.sf.net>
15337 * docs/random/ensonic/media-device-daemon.txt:
15338 wild idea, can this be done?
15339 * docs/gst/gstreamer-sections.txt:
15344 * gst/gstpluginfeature.c:
15348 doc fixes and additions
15350 2005-11-21 Andy Wingo <wingo@pobox.com>
15352 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
15353 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
15354 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
15355 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15356 private to the basesrc implementation.
15358 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15359 behalf of event function if necessary. It should no longer be
15360 necessary to take the stream lock in pad's event functions. Fixes
15363 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15364 * docs/gst/gstreamer-sections.txt:
15365 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15366 (gst_structure_fixate_field_nearest_double),
15367 (gst_structure_fixate_field_boolean):
15368 * gst/gststructure.h:
15369 * win32/common/libgstreamer.def:
15370 * win32/gstreamer.def:
15372 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15375 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15377 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15378 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15379 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15380 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15381 (gst_fdsrc_uri_handler_init):
15382 * gst/elements/gstfdsrc.h:
15383 Port fd:// URI handler from 0.8 to fdsrc
15385 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15387 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15388 (gst_value_serialize_fourcc):
15390 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15391 consistent with our other format defines (#320324).
15393 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15395 * gst/gstvalue.c: (gst_value_is_fixed):
15396 Revert previous commit. Value lists are by definition
15397 not fixed, as they are a list of possible values.
15399 2005-11-21 Andy Wingo <wingo@pobox.com>
15401 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15402 during the stable series if we need it. Fixes #319178.
15404 * gst/gstevent.c (gst_event_new_filler): Removed.
15406 * check/gst/gstevent.c: Update comment about filler events.
15408 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15410 * gst/gstvalue.c: (gst_value_is_fixed):
15411 Should handle both value arrays and value lists.
15413 2005-11-21 Andy Wingo <wingo@pobox.com>
15415 patch by: Alessandro Dessina <alessandro nnva org>
15417 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15418 functions to access arrays. Fixes #321962.
15420 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15422 * docs/gst/gstreamer.types:
15423 gst_collectpads_get_type => gst_collect_pads_get_type.
15425 * gst/base/gstbasetransform.c:
15426 Remove unused SIGNAL_HANDOFF enum.
15428 2005-11-21 Andy Wingo <wingo@pobox.com>
15430 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15431 the event type (upstream, downstream, serialized). Renamed
15432 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15433 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15434 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15436 * gst/gstevent.c: Update for new CUSTOM event names.
15438 * check/gst/gstevent.c: Update check for new CUSTOM event names.
15441 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15444 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15446 * docs/gst/gstreamer-sections.txt:
15447 * win32/common/libgstbase.def:
15448 * win32/libgstbase.def:
15449 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15450 (gst_collect_pads_class_init), (gst_collect_pads_init),
15451 (gst_collect_pads_finalize), (gst_collect_pads_new),
15452 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15453 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15454 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15455 (gst_collect_pads_start), (gst_collect_pads_stop),
15456 (gst_collect_pads_peek), (gst_collect_pads_pop),
15457 (gst_collect_pads_available), (gst_collect_pads_read),
15458 (gst_collect_pads_flush), (gst_collect_pads_event),
15459 (gst_collect_pads_chain):
15460 * gst/base/gstcollectpads.h:
15461 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15462 unimplemented functions as unimplemented. Add padding to
15463 GstCollectData. (#320766, #320423)
15465 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15467 * gst/gstmessage.c:
15468 Improve docs for DURATION message (usage of duration parameter)
15471 2005-11-20 Wim Taymans <wim@fluendo.com>
15473 * check/Makefile.am:
15474 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15478 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15479 (gst_segment_set_seek), (gst_segment_set_newsegment),
15480 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15481 (gst_segment_clip):
15482 * gst/gstsegment.h:
15483 Added segment helper structure and methods. Not fully implemented
15485 Added segment check.
15487 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
15489 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15490 Add a deserialisation test for fractions
15491 * examples/metadata/read-metadata.c: (message_loop),
15492 (make_pipeline), (main):
15493 Fix up metadata reading sample.
15494 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15496 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15497 Don't try and fixate empty caps
15498 * gst/gst_private.h:
15499 Wrap in G_BEGIN_DECLS/G_END_DECLS
15500 * gst/gstvalue.c: (gst_value_collect_fraction),
15501 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15502 (gst_value_transform_string_fraction),
15503 (gst_value_compare_fraction):
15504 Add some extra guards to ensure that we don't end up
15505 with an invalid denominator of 0 in a gstfraction and
15506 that fractions always get reduced.
15508 2005-11-20 Wim Taymans <wim@fluendo.com>
15510 * docs/gst/gstreamer-sections.txt:
15512 * gst/gstelement.c:
15521 2005-11-20 Wim Taymans <wim@fluendo.com>
15523 * docs/design/part-TODO.txt:
15525 Make a proper enum of the flag.
15527 2005-11-19 Wim Taymans <wim@fluendo.com>
15529 * docs/design/part-TODO.txt:
15530 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15531 (gst_format_to_quark), (gst_format_register):
15533 * gst/gstquery.c: (_gst_query_initialize),
15534 (gst_query_type_get_name), (gst_query_type_to_quark),
15535 (gst_query_type_register):
15537 Add type to quark and type to string conversions.
15539 2005-11-19 Andy Wingo <wingo@pobox.com>
15541 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15544 2005-11-19 Wim Taymans <wim@fluendo.com>
15546 * docs/design/part-TODO.txt:
15547 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15548 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15549 (gst_bin_handle_message_func):
15551 Make message handling overridable.
15553 2005-11-19 Andy Wingo <wingo@pobox.com>
15555 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15558 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15560 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15561 is a GstClockTime. Fixes #321710.
15563 * gst/gstclock.h (GstClock): Remove offset property. Add
15564 internal_calibration and external_calibration. Fix padding. Pad
15565 also by GstClockTime so we don't run into problems.
15567 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15568 (gst_clock_get_rate_offset): Remove.
15569 (gst_clock_set_time_adjust): Remove. Fixes #321712.
15572 * gst/gstutils.c (g_static_rec_cond_wait)
15573 (g_static_rec_cond_timed_wait): Removed, no longer needed.
15575 * gst/gstbin.c: Remove terrible continue_state prototype.
15577 * gst/gstelement.h (gst_element_continue_state): Make public.
15579 * gst/gstelement.h:
15580 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15581 by continue_state. Fixes #319389.
15583 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15584 Really fixes #168438. However I don't see anywhere where the
15585 filter function is called... stupid GStreamer...
15587 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15588 don't have a dispose function, so it won't get called when the
15589 object is unreffed, but oh well!
15591 * gst/gstindex.c (gst_index_set_filter_full): New API function,
15592 allows a destroy function to be set so user_data can be freed.
15594 (gst_index_set_filter): Call gst_index_set_filter_full.
15596 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15598 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15599 string should produce an error, given the lack of a way to
15600 represent NULL strings. Fixes #165650.
15603 * gst/gstvalue.c (gst_value_array_append_value)
15604 (gst_value_array_prepend_value, gst_value_array_get_size)
15605 (gst_value_array_get_value): New API, copied from
15606 gst_value_list_*, only operates on arrays.
15607 (gst_value_list_append_value, gst_value_list_prepend_value)
15608 (gst_value_list_concat, gst_value_list_get_size)
15609 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15611 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15612 init_list, because it works on both.
15613 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15614 (gst_value_copy_list_or_array): Renamed from copy_list.
15615 (gst_value_free_list_or_array): Renamed from free_list.
15616 (gst_value_collect_list_or_array): Renamed from collect_list.
15617 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15618 (gst_value_list_or_array_peek_pointer): Renamed from
15620 (_gst_value_array_value_table, _gst_value_list_value_table):
15621 Update value table functions.
15622 (gst_value_compare_list_or_array): Renamed from compare_list.
15624 * gsttaglist.h: Whoops, foreach function returns void. Also fix
15627 * gst/gsttaglist.c:
15628 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15629 GstTagList*. Fixes #143472.
15631 * gst/gststructure.h: Clarify what the foreach/map functions can
15632 or can't do to their arguments.
15634 2005-11-18 Wim Taymans <wim@fluendo.com>
15636 * gst/gstclock.c: (gst_clock_set_calibration),
15637 (gst_clock_get_calibration):
15639 Calibration can be set with internal time equal to current
15642 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
15648 2005-11-18 Andy Wingo <wingo@pobox.com>
15651 * pkgconfig/gstreamer-net.pc.in:
15652 * pkgconfig/gstreamer-net-uninstalled.pc.in:
15653 * pkgconfig/Makefile.am: Add net pkgconfig files.
15655 2005-11-18 Stefan Kost <ensonic@users.sf.net>
15658 * gst/gstghostpad.c:
15664 2005-11-18 Andy Wingo <wingo@pobox.com>
15666 * gst/net/gstnetclientclock.c: Turn off debugging.
15668 * check/net/gstnetclientclock.c (test_functioning): Assert that the
15669 times connverge somewhat. Can't make a real test.
15671 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15672 integer arithmetic. Return the minimum of the domain, which can be
15673 set as "internal" for gst_clock_set_calibration.
15674 (gst_net_client_clock_observe_times): Call _set_calibration.
15675 (gst_net_client_clock_new): Call _set_calibration instead of
15678 * check/net/gstnetclientclock.c (test_functioning): Use the right
15682 * gst/gstclock.c (gst_clock_get_calibration)
15683 (gst_clock_set_calibration): New functions, obsolete the ones I
15684 added yesterday. Doh. Precision issues mean we have to extrapolate
15685 from a point in the more recent past than 1970.
15686 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15688 (gst_clock_adjust_unlocked): Use the right calibration data.
15690 2005-11-18 Edward Hervey <edward@fluendo.com>
15692 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15693 Also reset the ->current_* values in READY->PAUSED
15695 2005-11-18 Andy Wingo <wingo@pobox.com>
15697 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15698 Whoops, check the right fd. Also add some debugging.
15699 (gst_net_client_clock_observe_times): Adjust for int64 offset.
15700 (do_linear_regression): Add a crapload of debugging. Subtract off
15701 the minimum values from the input series to discard unneeded bits.
15702 Use only int arithmetic. There is still double arithmetic when
15703 calculating the intercept that needs fixing. Return boolean to
15704 indicate success; FALSE would mean the domain or range is too
15705 great. Still needs fixes.
15707 2005-11-18 Wim Taymans <wim@fluendo.com>
15709 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15710 For the current position in stream time, we need to subtract
15713 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15714 Release lock before calling the callback function of async
15717 2005-11-18 Andy Wingo <wingo@pobox.com>
15719 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15720 Port goes all the way to MAXUINT16.
15722 * gst/net/gstnettimeprovider.c: Make the port range the same as
15723 for the kernel: 0 assigns, otherwise ports are less than
15726 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15729 * check/net/gstnetclientclock.c (test_functioning): Add the start
15732 2005-11-18 Wim Taymans <wim@fluendo.com>
15734 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15735 (gst_bin_remove_func), (bin_bus_handler):
15737 Removing a clock provider from a bin, triggers a clock lost message
15738 so that a new clock will be selected.
15739 Adding a clock to a bin triggers a clock provider message.
15740 Make sure we reselect a clock when we received a clock lost message.
15741 Keep a reference to the element that provided the clock.
15743 2005-11-18 Andy Wingo <wingo@pobox.com>
15745 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15746 the clock initially so it produces values around the base time.
15747 (gst_net_client_clock_class_init): Typo fix.
15748 (gst_net_client_clock_thread): Add note on when the socket gets
15751 2005-11-17 Wim Taymans <wim@fluendo.com>
15753 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15754 Free remote and local time arrays.
15756 2005-11-17 Wim Taymans <wim@fluendo.com>
15758 * gst/net/gstnetclientclock.c: (do_linear_regression),
15759 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15760 Fix compilation, uninitialized vars and a forgotten continue.
15762 2005-11-17 Andy Wingo <wingo@pobox.com>
15764 * check/Makefile.am (check_PROGRAMS):
15765 * check/net/gstnetclientclock.c: Add a most minimal test for the
15766 net client clock. More to come later.
15768 * gst/net/gstnet.h:
15769 * gst/net/Makefile.am: Add netclientclock.
15771 * gst/net/gstnetclientclock.h:
15772 * gst/net/gstnetclientclock.c: New files, implement an untested
15773 GstClock that takes its time from a network time provider.
15774 Implements the algorithm in network-clock.scm.
15776 * tests/network-clock.scm (*window-size*): Rename from
15778 * tests/network-clock.scm (network-time):
15779 * tests/network-clock-utils.scm (q-push): Update callers.
15781 2005-11-17 Wim Taymans <wim@fluendo.com>
15783 * gst/gstbin.c: (gst_bin_provide_clock_func),
15784 (gst_bin_sort_iterator_new):
15785 And unref the child too..
15787 2005-11-17 Wim Taymans <wim@fluendo.com>
15789 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15790 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15791 Refactor the sort iterator so it can be used while holding the
15793 Make clock selection select a clock closest to the source.
15795 2005-11-17 Michael Smith <msmith@fluendo.com>
15797 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15798 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15800 Anonymous structs are a gcc (and some other compilers) extension, so
15801 don't use them. Since this is only for ABI-compatibility, and our
15802 API/ABI freeze is over in a few days, this whole thing will only
15803 last a few days, so don't bother trying to think up a meaningful
15804 name for the struct.
15806 2005-11-17 Andy Wingo <wingo@pobox.com>
15808 * gst/gstclock.h (GstClock): Add rate and offset properties,
15809 preserving ABI stability. Add rate/offset accessors. Will file bug
15810 for the freeze break.
15812 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15813 and offset, trying to keep precision and avoiding
15814 underflow/overflow.
15815 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15816 functions. Make gst_clock_set_time_adjust obsolete.
15817 (gst_clock_set_time_adjust): Note that this function is obsolete.
15818 Will file bug soon.
15820 * gst/base/gstbasetransform.h: Make the ABI-stability hack
15821 greppable by using GST_PADDING-1+1.
15823 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
15825 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15827 * gst/gstmessage.c: (gst_message_parse_clock_lost):
15828 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15830 * gst/gstpadtemplate.h:
15831 * gst/gstpluginfeature.h:
15832 Don't use c++ style comments in headers (#321638).
15834 2005-11-16 Andy Wingo <wingo@pobox.com>
15836 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15839 * check/net/gstnettimeprovider.c: Check to see that the time
15840 provider actually provides times. Works, yo!
15842 2005-11-16 Wim Taymans <wim@fluendo.com>
15844 * check/Makefile.am:
15847 * check/elements/fakesrc.c: (GST_START_TEST):
15848 Set element to NULL before disposing it.
15850 2005-11-16 Andy Wingo <wingo@pobox.com>
15852 * gst/net/Makefile.am:
15853 * gst/net/gstnet.h:
15854 * gst/net/gstnettimeprovider.c:
15855 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15856 provider, include it from gstnet.h, and add it to the build.
15858 * gst/net/gstnettimepacket.h:
15859 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15860 sending and receiving.
15862 2005-11-16 Wim Taymans <wim@fluendo.com>
15864 * check/Makefile.am:
15865 Enable valgrind check.
15867 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15868 (gst_fake_src_alloc_buffer):
15871 2005-11-16 Wim Taymans <wim@fluendo.com>
15873 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15874 Call parent finalize too.
15876 2005-11-16 Wim Taymans <wim@fluendo.com>
15878 * check/Makefile.am:
15879 Enable valgrind check that should work fine now.
15881 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15882 * gst/gstqueue.c: (gst_queue_init):
15883 Fix memleaks in pad allocation.
15885 2005-11-16 Andy Wingo <wingo@pobox.com>
15887 * gst/net/Makefile.am:
15888 * gst/net/gstnet.h: New part of core to hold network elements and
15889 objects. Put in core because it exposes API that applications want
15890 to use. The library is named libgstnet-tempname right now because
15891 of the existing libgstnet in gst-plugins-base. Solution is
15892 probably to rename the one in plugins-base; will file a bug for
15895 * gst/net/gstnettimeprovider.c:
15896 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15897 get_time call over the network.
15900 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15902 * check/Makefile.am:
15903 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15904 get additions shortly.
15906 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15908 * gst/gstpad.c: (gst_pad_new_from_static_template):
15910 add gst_pad_new_from_static_template functions
15911 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15912 (gst_check_setup_sink_pad):
15913 * gst/elements/gsttee.c: (gst_tee_init):
15916 2005-11-16 Wim Taymans <wim@fluendo.com>
15918 * gst/gstpad.c: (gst_pad_pause_task):
15919 Removed warning, it's not really an error either.
15921 2005-11-16 Wim Taymans <wim@fluendo.com>
15923 * gst/base/gstbasetransform.c:
15924 (gst_base_transform_prepare_output_buf),
15925 (gst_base_transform_event):
15926 Check if the caps are NULL, this can happen if the element
15927 is shutting down and the pad caps are set to NULL.
15929 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15931 * gst/elements/gsttee.c: (gst_tee_init):
15932 fix pad template leak in tee
15934 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15936 * gst/glib-compat.c: (g_value_dup_gst_object):
15937 * gst/glib-compat.h:
15938 * gst/gstpad.c: (gst_pad_set_property):
15939 use gst_object_ref when setting the pad template; this will
15940 trigger the pad template leaks on GLib 2.6 and the slaves
15942 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15944 * gst/glib-compat.c: (gst_flags_get_first_value):
15945 * gst/glib-compat.h:
15946 * gst/gstregistryxml.c:
15947 remove functions copied from GLib 2.6
15949 2005-11-16 Michael Smith <msmith@fluendo.com>
15952 Don't link against VALGRIND_LIBS. That was always the wrong thing to
15953 do, but only breaks with newer valgrind versions. We're not a
15954 valgrind tool, we have no link-time dependencies on libcoregrind.
15956 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15958 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15960 * gst/gstmessage.h:
15963 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15965 * gst/base/gstbasesrc.c: (gst_base_src_init):
15966 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15967 * gst/gstqueue.c: (gst_queue_init):
15968 * gst/gstregistryxml.c: (load_feature):
15969 Revert all these unrefs, they don't even pass make check !
15971 2005-11-15 Johan Dahlin <johan@gnome.org>
15973 * gst/base/gstbasesrc.c: (gst_base_src_init):
15974 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15975 * gst/gstqueue.c: (gst_queue_init):
15976 Free pad templates, fixes a couple of leaks.
15978 2005-11-15 Daniel Fischer <dan at f3c dot com>
15980 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15982 * gst/gstpad.c: (gst_pad_get_property):
15983 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15984 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15987 2005-11-15 Wim Taymans <wim@fluendo.com>
15992 2005-11-15 Andy Wingo <wingo@pobox.com>
15994 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15996 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15997 using GST_CLOCK_TIME_NONE to disable base time management.
15998 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15999 time if it was NONE before.
16000 (gst_pipeline_change_state): Only munge the base time if
16001 stream_time != GST_CLOCK_TIME_NONE.
16003 * check/gst/gstpipeline.c (test_base_time): Punt around the
16004 problem of the probe not being called, because that's not the
16005 issue I'm looking at. Add a check that setting stream_time to NONE
16006 disables base time management.
16008 2005-11-15 Wim Taymans <wim@fluendo.com>
16010 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16011 segment_stop == -1 at startup.
16013 * gst/base/gstbasetransform.c: (gst_base_transform_event),
16014 (gst_base_transform_change_state):
16015 Init segment values at start.
16017 2005-11-15 Wim Taymans <wim@fluendo.com>
16019 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16020 0 segment values are 0 in any format.
16022 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16023 * gst/base/gstbasetransform.h:
16024 Parse newsegment correctly in basetransform
16026 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16027 Sync to clock using updated segment values.
16029 2005-11-15 Andy Wingo <wingo@pobox.com>
16031 * check/gst/gstpipeline.c (test_base_time): Add check that the
16032 base time and stream time are reset correctly.
16034 2005-11-15 Wim Taymans <wim@fluendo.com>
16036 * docs/design/part-TODO.txt:
16037 Some more TODO items.
16039 2005-11-15 Andy Wingo <wingo@pobox.com>
16041 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
16042 error if the user selected "no clock" as the clocking method.
16044 * check/gst/gstpipeline.c (test_base_time): New test for buffer
16045 timestamps with live capture.
16047 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
16048 is 0 but we are a live source, timestamp the buffers using the
16051 2005-11-14 Stefan Kost <ensonic@users.sf.net>
16053 * docs/gst/gstreamer-sections.txt:
16055 * gst/gstghostpad.c:
16060 2005-11-14 Wim Taymans <wim@fluendo.com>
16063 add suppressions from Wim's Debian machine
16065 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
16068 add suppressions from Andy's AMD64 Ubuntu machine
16070 2005-11-14 Andy Wingo <wingo@pobox.com>
16072 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
16073 STATE_LOCK not necessary. Fixes #311489.
16075 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
16078 * gst/gstindex.c (gst_index_add_object): Note in the docs that
16079 this function is not implemented.
16081 2005-11-14 Julien MOUTTE <julien@moutte.net>
16083 * gst/base/gstbasetransform.c:
16084 (gst_base_transform_prepare_output_buf):
16085 Ref the source pad caps while we need them.
16088 2005-11-11 Wim Taymans <wim@fluendo.com>
16090 * docs/gst/gstreamer-sections.txt:
16091 Added some docs for GstCollectData.
16093 * gst/base/gstadapter.c:
16094 Some small code example fix.
16096 * gst/base/gstcollectpads.c:
16097 * gst/base/gstcollectpads.h:
16098 Document some more.
16100 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
16102 * configure.ac: back to HEAD
16104 === release 0.9.5 ===
16106 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
16109 releasing 0.9.5, "Bike Lunch Day"
16111 2005-11-11 Wim Taymans <wim@fluendo.com>
16113 * gst/gstbuffer.c: (_gst_buffer_copy):
16116 * gst/gstcaps.c: (gst_caps_is_equal):
16118 Make _is_equal fast in the trivial cases.
16120 * gst/gstminiobject.c:
16121 * gst/gstminiobject.h:
16122 More docs. Spifify .h file.
16127 2005-11-11 Wim Taymans <wim@fluendo.com>
16129 * gst/base/gstbasetransform.c:
16130 (gst_base_transform_prepare_output_buf),
16131 (gst_base_transform_handle_buffer):
16133 If we're processing a buffer and need to allocate an output
16134 buffer, we cannot accept a format change. If we did get a
16135 format change, we have to alloc a buffer ourselves of the
16138 2005-11-11 Wim Taymans <wim@fluendo.com>
16140 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
16141 While checking the flag for reentrancy in the gstcaps function
16142 is nice to detect recursive invocations, it also makes it
16143 impossible to call getcaps from multiple threads, which must be
16144 possible. So, checking for recursive calls has to go.
16146 2005-11-11 Michael Smith <msmith@fluendo.com>
16148 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16149 Don't sync on buffers that fall partially outside our current
16150 segment. Prevents an assertion failure/abort playing some files.
16152 2005-11-10 Andy Wingo <wingo@pobox.com>
16154 * check/gst/gstbin.c (test_message_state_changed_children): Style
16157 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
16158 gst_bus_poll with the signal watch. Ensures that poll and a signal
16159 watch see the same messages.
16161 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
16162 a poll and a watch at the same time get the same messages.
16164 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
16166 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
16167 * gst/gstcaps.c: (gst_caps_intersect):
16168 Don't call gst_caps_do_simplify - it doesn't respect order of caps
16169 and it's not needed.
16171 2005-11-10 Wim Taymans <wim@fluendo.com>
16173 * docs/design/part-TODO.txt:
16176 2005-11-10 Wim Taymans <wim@fluendo.com>
16178 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16179 * gst/base/gstbasesrc.c: (gst_base_src_wait),
16180 (gst_base_src_do_sync), (gst_base_src_get_range):
16181 Implement clock sync in base class.
16183 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
16185 patch by: Tim-Philipp Müller <tim at centricular dot net>
16187 * gst/gststructure.c: (gst_structure_parse_field),
16188 (gst_structure_from_string):
16189 Forward-port a 0.8 patch to handle escaped spaces in structure string,
16190 so that gst_parse_launch() can deal with spaces in filtered link
16191 caps (fixes #164479)
16192 * check/gst/capslist.h:
16193 * check/gst/gststructure.c: (GST_START_TEST):
16194 add unit tests for this change
16196 2005-11-10 Wim Taymans <wim@fluendo.com>
16198 * docs/gst/gstreamer-sections.txt:
16199 * gst/gstelement.c:
16200 * gst/gstelement.h:
16201 Fix docs, move some STATE macros to private.
16203 2005-11-10 Wim Taymans <wim@fluendo.com>
16205 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16206 Added check for bug #317341
16210 Some more spiffifying.
16212 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16213 Call peer linkfunction if we are a source pad. Totally fixes
16217 Update docs, source pads should call the peer linkfunction
16218 so they can atomically perform the pad link.
16220 2005-11-09 Wim Taymans <wim@fluendo.com>
16224 Uber-spiffy-spiffify some more.
16226 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
16228 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16229 * gst/elements/gstfilesink.c: (gst_file_sink_init):
16230 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16231 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16232 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16233 * gst/gstpad.c: (gst_pad_init):
16234 Use GST_DEBUG_FUNCPTR() more extensively.
16236 2005-11-09 Wim Taymans <wim@fluendo.com>
16238 * gst/gstobject.c: (gst_object_class_init):
16240 Documentation fixes.
16242 2005-11-09 Edward Hervey <edward@fluendo.com>
16244 * gst/gsttypefindfactory.c:
16247 2005-11-09 Edward Hervey <edward@fluendo.com>
16249 * gst/base/gsttypefindhelper.c:
16250 * gst/gsttypefind.c:
16251 * gst/gsttypefind.h:
16254 2005-11-09 Wim Taymans <wim@fluendo.com>
16256 * gst/gstiterator.c:
16263 2005-11-09 Wim Taymans <wim@fluendo.com>
16269 2005-11-09 Wim Taymans <wim@fluendo.com>
16271 * docs/gst/gstreamer-sections.txt:
16272 Moved the message async delivery private lock and cond
16273 to the private section.
16275 * gst/gstmessage.c:
16276 * gst/gstmessage.h:
16279 2005-11-09 Edward Hervey <edward@fluendo.com>
16281 * docs/gst/gstreamer-sections.txt:
16284 Document GstURIHandler
16286 2005-11-09 Wim Taymans <wim@fluendo.com>
16288 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16289 (gst_iterator_find_custom):
16290 * gst/gstiterator.h:
16293 2005-11-09 Wim Taymans <wim@fluendo.com>
16296 Document another field.
16298 * gst/gststructure.c:
16299 * gst/gststructure.h:
16302 2005-11-09 Wim Taymans <wim@fluendo.com>
16305 Documented structs.
16307 2005-11-09 Wim Taymans <wim@fluendo.com>
16309 * docs/gst/gstreamer-sections.txt:
16310 Added some new macros.
16317 2005-11-09 Wim Taymans <wim@fluendo.com>
16319 * docs/design/part-TODO.txt:
16320 Some more items for the TODO
16326 2005-11-09 Andy Wingo <wingo@pobox.com>
16328 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16329 to work on something else now tho...
16331 * gst/base/gstadapter.c: More adapter docs.
16333 * gst/elements/gstfilesink.c (gst_file_sink_start)
16334 (gst_file_sink_stop): New functions, replace the state change
16336 (gst_file_sink_class_init): Hook up the start and stop functions.
16337 (gst_file_sink_base_init): Don't set the state change handler any
16338 more. It was a bit ugly too, being set from here...
16339 (gst_file_sink_get_property, gst_file_sink_set_property):
16341 (gst_file_sink_set_location): More robust check that doesn't call
16342 GST_STATE. Ugggggg.
16344 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
16346 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16347 Hold STREAM_LOCK while pushing newsegment or tag events as well.
16349 2005-11-08 Wim Taymans <wim@fluendo.com>
16351 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16352 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16353 (gst_base_sink_chain), (gst_base_sink_change_state):
16354 * gst/base/gstbasesink.h:
16355 * gst/base/gstbasesrc.h:
16356 * gst/gstelement.h:
16358 Avoid excessive typechecking in macros.
16360 * gst/gstminiobject.c: (gst_mini_object_get_type),
16361 (gst_mini_object_init), (gst_mini_object_new),
16362 (gst_mini_object_free):
16363 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16364 (gst_object_finalize):
16365 Remove cruft code, optimize alloc_trace.
16367 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
16369 * docs/faq/gst-uninstalled:
16370 fix up PS1 for systems that try to reset it
16372 2005-11-07 Wim Taymans <wim@fluendo.com>
16374 * gst/base/gstbasesrc.c: (gst_base_src_init),
16375 (gst_base_src_get_range):
16376 Set the segment_end to -1 initially. Fixed typefind.
16378 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
16380 * gst/base/gstadapter.c:
16381 Debug category should be 'adapter', not 'GstAdapter'.
16383 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16384 (gst_collectpads_class_init), (gst_collectpads_init),
16385 (gst_collectpads_peek), (gst_collectpads_pop),
16386 (gst_collectpads_event), (gst_collectpads_chain):
16387 Add debug category and some debugging output. Use boilerplate
16388 macros. Remove some extraneous words from docs.
16390 2005-11-05 Andy Wingo <wingo@pobox.com>
16392 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16395 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16397 * docs/gst/gstreamer-sections.txt:
16400 * gst/gstminiobject.h:
16405 2005-11-04 Wim Taymans <wim@fluendo.com>
16407 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16408 Small update to stop at the configured segment_end
16411 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16413 * gst/gstregistry.c:
16414 * gst/gstregistry.h:
16417 2005-11-04 Edward Hervey <edward@fluendo.com>
16419 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16420 Check if we are doing a segment seek and have arrived at the
16421 end of that segment.
16423 2005-11-04 Wim Taymans <wim@fluendo.com>
16425 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16426 Don't leak a mutex unlock in case of an error.
16431 2005-11-04 Wim Taymans <wim@fluendo.com>
16433 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16435 Get the context to wake up only once.
16437 2005-11-03 Wim Taymans <wim@fluendo.com>
16439 * check/states/sinks.c: (GST_START_TEST):
16440 Uncomment fixed check.
16442 * docs/design/part-TODO.txt:
16445 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16446 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16447 (gst_base_sink_get_position):
16448 If we are going to PLAYING, post the right pending state
16449 when we post the intermediate paused message.
16451 * gst/gstelement.c: (gst_element_continue_state),
16452 (gst_element_set_state_func), (gst_element_change_state):
16453 Don't post state changes that were between the same state
16454 and were not ASYNC.
16456 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16458 * docs/gst/gstreamer-sections.txt:
16461 * gst/gstminiobject.h:
16464 more docs and doc style fixes
16466 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16468 * docs/gst/gstreamer-sections.txt:
16469 * gst/gstelement.c:
16470 * gst/gstminiobject.c:
16473 2005-11-03 Andy Wingo <wingo@pobox.com>
16475 * check/states/sinks.c (test_livesrc_sink): Add checks that the
16476 state-changed messages actually have the right order and the right
16479 2005-11-03 Wim Taymans <wim@fluendo.com>
16481 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16482 Added some more checks. Specifically the case where NO_PREROLL
16483 elements are in the pipeline.
16485 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16486 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16487 (gst_base_sink_get_position):
16488 Post READY->PAUSED state change messages too.
16489 Fix bug where VOID was posted as pending state...
16491 * gst/gstbin.c: (gst_bin_recalc_state):
16492 use _element_continue_state() to continue the state change.
16494 * gst/gstelement.c: (gst_element_continue_state),
16495 (gst_element_commit_state), (gst_element_set_state_func),
16496 (gst_element_change_state), (gst_element_change_state_func):
16497 Lots of state change cleanups, assign the STATE_RETURN in
16498 a new continue_state() function that also propagates the
16499 last return value from a state change to the app.
16500 Update some debug statements with proper category.
16502 2005-11-03 Wim Taymans <wim@fluendo.com>
16504 * docs/design/part-events.txt:
16505 * docs/design/part-gstpipeline.txt:
16506 * docs/design/part-messages.txt:
16507 * docs/design/part-overview.txt:
16508 * docs/design/part-seeking.txt:
16509 * docs/design/part-states.txt:
16510 * docs/design/part-trickmodes.txt:
16511 * docs/manual/advanced-position.xml:
16512 Small docs updates.
16515 People think !! is ugly, this looks better.
16517 * gst/gstpad.c: (gst_pad_set_blocked_async):
16518 Remove !! since it's fixed elsewhere now.
16520 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16522 * gst/gstminiobject.h:
16524 Add !! to _FLAG_IS_SET macros to make the result boolean.
16526 2005-11-03 Edward Hervey <edward@fluendo.com>
16528 * gst/gstpad.c: (gst_pad_set_blocked_async):
16529 comparing a flag and a gboolean rarely returns coherent results...
16530 Added two characters (!!) to make that work correctly.
16532 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16534 * gst/gstbus.c: (gst_bus_class_init):
16537 * gst/gstqueue.c: (gst_queue_loop):
16538 Don't assume a miniobject that isn't a buffer is an
16539 event (it could be that there is a refcounting
16540 problem somewhere and the pointer is stale and
16541 refers to an already destroyed miniobject).
16543 2005-11-03 Julien MOUTTE <julien@moutte.net>
16545 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16547 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16549 * docs/manual/advanced-position.xml:
16550 Update seek example and explanations to current 0.9 API.
16552 * gst/elements/gsttypefindelement.c:
16553 (gst_type_find_element_activate):
16554 Remove FIXME comment now that the found caps
16557 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
16559 * gst/gstregistryxml.c: (load_feature):
16560 Add another GST_STR_NULL instance
16562 2005-11-02 Edward Hervey <edward@fluendo.com>
16564 * gst/gstpad.c: (handle_pad_block):
16565 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16567 2005-11-02 Wim Taymans <wim@fluendo.com>
16572 * gst/gstelement.c: (gst_element_commit_state):
16573 Remove unused value.
16575 * gst/gstiterator.c:
16576 Mention that the returned element is reffed in the docs.
16578 2005-11-02 Wim Taymans <wim@fluendo.com>
16580 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16581 (gst_pad_push), (gst_pad_push_event):
16582 Unlock blocked pads when they are flushed.
16584 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16587 * docs/gst/gstreamer-sections.txt:
16590 * gst/gstregistry.c: (gst_registry_scan_path_level):
16591 fix for a nasty little missed situation where an installed plug-in
16592 which was in the cache did not get overridden by an uninstalled one
16593 which was earlier in the plugin path because the newly created plugin
16594 for the uninstalled one (not in the registry) didn't get its
16595 ->registered set to TRUE
16597 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16599 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16600 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16601 (gst_collectpads_is_active), (gst_collectpads_collect),
16602 (gst_collectpads_collect_range), (gst_collectpads_start),
16603 (gst_collectpads_stop), (gst_collectpads_peek),
16604 (gst_collectpads_pop), (gst_collectpads_available),
16605 (gst_collectpads_read), (gst_collectpads_flush):
16606 Guard public API with assertions.
16609 Fix docs for gst_pad_set_link_function().
16611 2005-11-02 Johan Dahlin <johan@gnome.org>
16613 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
16614 Unref found_caps after we used it.
16616 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16618 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16619 Don't try to ref NULL.
16621 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16623 * win32/common/config.h.in:
16624 provide a GST_FUNCTION that just gives a string for now
16626 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16628 * win32/common/gstenumtypes.c: (register_gst_object_flags),
16629 (gst_object_flags_get_type), (register_gst_bin_flags),
16630 (gst_bin_flags_get_type), (register_gst_buffer_flag),
16631 (gst_buffer_flag_get_type), (register_gst_bus_flags),
16632 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16633 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16634 (gst_clock_return_get_type), (register_gst_clock_entry_type),
16635 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16636 (gst_clock_flags_get_type), (register_gst_state),
16637 (gst_state_get_type), (register_gst_state_change_return),
16638 (gst_state_change_return_get_type), (register_gst_state_change),
16639 (gst_state_change_get_type), (register_gst_element_flags),
16640 (gst_element_flags_get_type), (register_gst_core_error),
16641 (gst_core_error_get_type), (register_gst_library_error),
16642 (gst_library_error_get_type), (register_gst_resource_error),
16643 (gst_resource_error_get_type), (register_gst_stream_error),
16644 (gst_stream_error_get_type), (register_gst_event_type),
16645 (gst_event_type_get_type), (register_gst_seek_type),
16646 (gst_seek_type_get_type), (register_gst_seek_flags),
16647 (gst_seek_flags_get_type), (register_gst_format),
16648 (gst_format_get_type), (register_gst_index_certainty),
16649 (gst_index_certainty_get_type), (register_gst_index_entry_type),
16650 (gst_index_entry_type_get_type),
16651 (register_gst_index_lookup_method),
16652 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16653 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16654 (gst_index_resolver_method_get_type), (register_gst_index_flags),
16655 (gst_index_flags_get_type), (register_gst_debug_level),
16656 (gst_debug_level_get_type), (register_gst_debug_color_flags),
16657 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16658 (gst_iterator_result_get_type), (register_gst_iterator_item),
16659 (gst_iterator_item_get_type), (register_gst_message_type),
16660 (gst_message_type_get_type), (register_gst_mini_object_flags),
16661 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16662 (gst_pad_link_return_get_type), (register_gst_flow_return),
16663 (gst_flow_return_get_type), (register_gst_activate_mode),
16664 (gst_activate_mode_get_type), (register_gst_pad_direction),
16665 (gst_pad_direction_get_type), (register_gst_pad_flags),
16666 (gst_pad_flags_get_type), (register_gst_pad_presence),
16667 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16668 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16669 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16670 (gst_plugin_error_get_type), (register_gst_plugin_flags),
16671 (gst_plugin_flags_get_type), (register_gst_rank),
16672 (gst_rank_get_type), (register_gst_query_type),
16673 (gst_query_type_get_type), (register_gst_tag_merge_mode),
16674 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16675 (gst_tag_flag_get_type), (register_gst_task_state),
16676 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16677 (gst_alloc_trace_flags_get_type),
16678 (register_gst_type_find_probability),
16679 (gst_type_find_probability_get_type), (register_gst_uri_type),
16680 (gst_uri_type_get_type), (register_gst_parse_error),
16681 (gst_parse_error_get_type):
16682 * win32/common/gstversion.h:
16683 update win32 copies
16685 2005-11-01 Luca Ognibene <luogni@tin.it>
16688 fix docs. popt is dead, long live GOption.
16690 2005-10-31 Wim Taymans <wim@fluendo.com>
16695 2005-10-31 Andy Wingo <wingo@pobox.com>
16699 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16701 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16702 need to serialize property notifications on GLib 2.8. GLib 2.6 has
16703 the possibility of deadlocks here if code calling notify() or
16704 set() has a lock that can be taken in another notify handler (ABBA
16705 with class lock and e.g. python GIL state lock).
16707 2005-10-28 Julien MOUTTE <julien@moutte.net>
16709 * gst/gstbus.c: Doc updates.
16711 2005-10-28 Wim Taymans <wim@fluendo.com>
16713 * docs/design/part-TODO.txt:
16714 * gst/gstiterator.c:
16715 * gst/gstsystemclock.c:
16716 * gst/gstsystemclock.h:
16719 2005-10-28 Edward Hervey <edward@fluendo.com>
16721 * docs/gst/gstreamer-docs.sgml:
16722 * docs/gst/gstreamer-sections.txt:
16723 the GstURIType documentation page is private, it only defines GstURIType
16724 which should be defined in the GstURIHandler page
16726 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
16728 * gst/gstbin.c: (gst_bin_class_init):
16731 Documentation updates.
16733 2005-10-28 Wim Taymans <wim@fluendo.com>
16735 * docs/gst/gstreamer-sections.txt:
16738 Documented the clocks.
16740 2005-10-28 Stefan Kost <ensonic@users.sf.net>
16742 * docs/gst/gstreamer-sections.txt:
16743 move some macros to private sections
16744 * gst/gstminiobject.c:
16745 * gst/gstminiobject.h:
16746 add descriptions provided by ds and some more
16748 mark macro as to be removed
16750 2005-10-28 Wim Taymans <wim@fluendo.com>
16752 * docs/design/part-TODO.txt:
16753 Add an item to TODO.
16755 * gst/gstiterator.c: (gst_iterator_fold),
16756 (gst_iterator_find_custom):
16757 * gst/gstiterator.h:
16760 2005-10-28 Wim Taymans <wim@fluendo.com>
16762 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16763 (gst_base_transform_init):
16766 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16767 An EOS event marks the queue as completely filled.
16769 2005-10-27 Wim Taymans <wim@fluendo.com>
16771 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16772 (gst_base_sink_do_sync), (gst_base_sink_get_position):
16773 Some more debugging.
16775 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16776 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16777 (gst_base_transform_event), (gst_base_transform_getrange),
16778 (gst_base_transform_chain):
16779 * gst/base/gstbasetransform.h:
16781 Protect transform and concurrent buffer alloc with a new lock.
16782 Try not to break ABI/API.
16784 2005-10-27 Wim Taymans <wim@fluendo.com>
16786 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16787 (gst_base_src_init), (gst_base_src_query),
16788 (gst_base_src_default_newsegment),
16789 (gst_base_src_configure_segment), (gst_base_src_do_seek),
16790 (gst_base_src_send_event), (gst_base_src_event_handler),
16791 (gst_base_src_pad_get_range), (gst_base_src_loop),
16792 (gst_base_src_unlock), (gst_base_src_default_negotiate),
16793 (gst_base_src_start), (gst_base_src_deactivate),
16794 (gst_base_src_activate_push), (gst_base_src_change_state):
16795 Move some stuff around and cleanup things.
16797 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
16799 * gst/base/gstbasesrc.c: (gst_base_src_query):
16800 Add missing break statements.
16802 2005-10-27 Wim Taymans <wim@fluendo.com>
16804 * check/gst/gstbin.c: (GST_START_TEST):
16805 An extra refcount is taken in basesrc.
16807 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16808 (gst_base_src_get_range), (gst_base_src_pad_get_range),
16809 (gst_base_src_loop):
16810 Small cleanups, check for flushing after being unlocked from the
16811 LIVE_LOCK. take refcounts correctly (not yet everywhere).
16812 Don't send out EOS when going to READY.
16814 2005-10-27 Wim Taymans <wim@fluendo.com>
16816 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16817 (gst_base_sink_get_position):
16820 * gst/gstbin.c: (message_check), (bin_replace_message),
16821 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16822 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16823 (bin_query_duration_init), (bin_query_duration_fold),
16824 (bin_query_duration_done), (bin_query_generic_fold),
16826 * tools/gst-launch.c: (main):
16829 2005-10-26 Stefan Kost <ensonic@users.sf.net>
16831 * examples/controller/audio-example.c: (main):
16832 * examples/queue/queue.c: (event_loop):
16833 * gst/base/gstbasetransform.h:
16834 * gst/gstelement.c: (gst_element_send_event):
16836 * gst/gstpad.c: (gst_pad_send_event):
16839 changing log priority in error situations
16841 2005-10-25 Wim Taymans <wim@fluendo.com>
16843 * gst/gstbin.c: (message_check), (bin_replace_message),
16844 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16845 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16846 (bin_query_duration_init), (bin_query_duration_fold),
16847 (bin_query_duration_done), (bin_query_generic_fold),
16849 Some doc and debug updates.
16850 Cache previously requested query DURATION for speed. invalidate
16851 cached duration if element posts a DURATION message.
16853 2005-10-25 Wim Taymans <wim@fluendo.com>
16855 * docs/design/part-TODO.txt:
16858 * gst/gstbin.c: (message_check), (bin_replace_message),
16859 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16860 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16861 (bin_query_duration_init), (bin_query_duration_fold),
16862 (bin_query_duration_done), (bin_query_generic_fold),
16864 Handle SEGMENT_START/DONE messages correctly.
16865 More evolved query algorithm that handles duration queries
16868 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16869 (gst_element_get_state_func), (gst_element_abort_state),
16870 (gst_element_commit_state), (gst_element_lost_state):
16871 Some more debugging.
16873 * gst/gstmessage.h:
16876 2005-10-25 Wim Taymans <wim@fluendo.com>
16878 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16879 Don't use invalid stream_time.
16881 * gst/gstevent.c: (gst_event_new_newsegment):
16882 stream_time in newsegment cannot be undefined.
16884 2005-10-24 Wim Taymans <wim@fluendo.com>
16889 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16891 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16893 2005-10-24 Stefan Kost <ensonic@users.sf.net>
16895 * docs/libs/tmpl/gstdparam.sgml:
16896 * docs/libs/tmpl/gstdplinint.sgml:
16897 * docs/libs/tmpl/gstdpman.sgml:
16898 * docs/libs/tmpl/gstdpsmooth.sgml:
16899 * docs/libs/tmpl/gstunitconvert.sgml:
16902 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
16907 === release 0.9.4 ===
16909 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16912 releasing 0.9.4, "Tyrannosaurus Rex"
16914 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
16916 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16917 (gst_file_sink_get_current_offset):
16918 Use fseeko() and ftello() if available. When falling back on
16919 lseek() to get the current offset, fflush() first to make sure
16920 everything is up-to-date and we get the right offset.
16922 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16924 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16925 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16926 * gst/gsterror.c: (_gst_stream_errors_init):
16928 * gst/gstqueue.c: (gst_queue_loop):
16930 remove prematurely added error category and clean up the instances
16932 2005-10-21 Wim Taymans <wim@fluendo.com>
16934 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16935 (gst_base_sink_get_position), (gst_base_sink_query),
16936 (gst_base_sink_change_state):
16937 Simply set the right flag when going to playing, that's all
16938 we need to do instead of calling a function inside the object
16939 lock (that could take the lock as well and deadlock)
16941 2005-10-21 Wim Taymans <wim@fluendo.com>
16943 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16944 (gst_base_src_loop):
16945 Don't warn, the peer element knows what to do best when
16946 the seek failed, it might try something else.
16948 2005-10-21 Wim Taymans <wim@fluendo.com>
16950 * gst/base/gstbasesrc.c: (gst_base_src_init),
16951 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16954 2005-10-21 Wim Taymans <wim@fluendo.com>
16956 * docs/design/part-segments.txt:
16959 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16960 Correctly set caps, even on the subbufer.
16962 2005-10-21 Wim Taymans <wim@fluendo.com>
16964 * docs/gst/gstreamer-docs.sgml:
16965 * docs/gst/gstreamer-sections.txt:
16966 * gst/gstelement.h:
16969 * gst/gstmessage.h:
16972 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16976 And 2% more doc coverage.
16978 2005-10-21 Andy Wingo <wingo@pobox.com>
16980 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16981 position reporting.
16983 2005-10-20 Wim Taymans <wim@fluendo.com>
16985 * gst/gsterror.c: (gst_error_get_message):
16988 * gst/gststructure.c:
16993 2005-10-20 Wim Taymans <wim@fluendo.com>
16998 Another 1% more coverage.
17000 2005-10-20 Wim Taymans <wim@fluendo.com>
17002 * docs/gst/gstreamer-sections.txt:
17003 * gst/gstelement.c: (gst_element_get_state_func),
17004 (gst_element_abort_state), (gst_element_commit_state),
17005 (gst_element_lost_state):
17007 * gst/gstquery.c: (gst_query_set_position),
17008 (gst_query_parse_position), (gst_query_set_duration),
17009 (gst_query_parse_duration), (gst_query_new_convert):
17011 Yay! 1% more docs coverage.
17013 2005-10-20 Wim Taymans <wim@fluendo.com>
17016 * gst/gstquery.c: (gst_query_set_position),
17017 (gst_query_parse_position), (gst_query_set_duration),
17018 (gst_query_parse_duration), (gst_query_new_convert):
17020 * gst/gstutils.c: (gst_element_query_convert):
17022 Docs and consistency fixes.
17024 2005-10-20 Wim Taymans <wim@fluendo.com>
17030 2005-10-20 Wim Taymans <wim@fluendo.com>
17032 * gst/gstbin.c: (message_check), (bin_replace_message),
17033 (bin_remove_messages), (is_eos), (gst_bin_add_func),
17034 (update_degree), (gst_bin_sort_iterator_next),
17035 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
17036 Reworked the message handling a bit, cache the messages instead of
17037 only the senders. alows us to do more in the future.
17039 2005-10-20 Wim Taymans <wim@fluendo.com>
17041 * docs/design/part-TODO.txt:
17044 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17045 (gst_base_sink_query):
17046 Don't use clock time to report position when in EOS.
17048 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
17050 * tools/gst-inspect.c: (print_interfaces),
17051 (print_element_properties_info), (print_element_info):
17052 Fix interface output with gst-inspect -a; don't print
17053 newlines after double/float properties.
17055 2005-10-20 Wim Taymans <wim@fluendo.com>
17057 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17058 (gst_base_sink_query):
17059 Speed up current position calculation.
17061 * gst/base/gstbasesrc.c: (gst_base_src_query),
17062 (gst_base_src_default_newsegment):
17063 Correctly set stream position in newsegment.
17065 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
17066 (update_degree), (gst_bin_sort_iterator_next),
17067 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
17068 * gst/gstmessage.c: (gst_message_new_custom):
17069 Clean up debugging info
17071 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
17072 (gst_queue_loop), (gst_queue_handle_src_query):
17075 2005-10-19 Wim Taymans <wim@fluendo.com>
17077 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17078 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17079 Fix query handling again.
17081 2005-10-19 Wim Taymans <wim@fluendo.com>
17083 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17084 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17085 * gst/base/gstbasesrc.c: (gst_base_src_query):
17086 * gst/elements/gstfilesink.c: (gst_file_sink_query):
17087 * gst/elements/gsttypefindelement.c:
17088 (gst_type_find_handle_src_query), (find_element_get_length),
17089 (gst_type_find_element_activate):
17092 * gst/gstquery.c: (gst_query_new_position),
17093 (gst_query_set_position), (gst_query_parse_position),
17094 (gst_query_new_duration), (gst_query_set_duration),
17095 (gst_query_parse_duration), (gst_query_set_segment),
17096 (gst_query_parse_segment):
17098 Bundling query position/duration is not a good idea since duration
17099 does not change much and we don't want to recalculate it for every
17100 position query, so they are separated again..
17101 Base value in segment query is not needed.
17103 * gst/gstqueue.c: (gst_queue_handle_src_query):
17104 * gst/gstutils.c: (gst_element_query_position),
17105 (gst_element_query_duration), (gst_pad_query_position),
17106 (gst_pad_query_duration):
17108 Updates for query API change.
17109 Added some docs here and there.
17111 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
17113 * check/gst/gstbin.c: (GST_START_TEST):
17114 * check/gst/gstghostpad.c: (GST_START_TEST):
17115 * check/pipelines/cleanup.c: (GST_START_TEST):
17116 wait on thread to die so we can check refcount correctly
17118 2005-10-18 Wim Taymans <wim@fluendo.com>
17120 * check/pipelines/stress.c: (GST_START_TEST):
17121 Make check a little more time consuming.
17123 2005-10-18 Wim Taymans <wim@fluendo.com>
17125 * check/Makefile.am:
17126 * check/pipelines/stress.c: (GST_START_TEST),
17127 (simple_launch_lines_suite), (main):
17128 Small state change torture test.
17130 * docs/design/part-states.txt:
17131 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17132 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
17133 (gst_base_sink_change_state):
17134 Never take state lock from streaming thread, clean up ugly
17135 hacks. Unfortunatly core does not yet support nice ways to
17136 async commit state.
17138 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
17140 Start state recalc if a STATE_DIRTY message is posted, but only
17141 on the toplevel bin.
17143 * gst/gstelement.c: (gst_element_sync_state_with_parent),
17144 (gst_element_get_state_func), (gst_element_abort_state),
17145 (gst_element_commit_state), (gst_element_lost_state),
17146 (gst_element_set_state_func), (gst_element_change_state):
17147 * gst/gstelement.h:
17148 State variables are now protected with the LOCK, the state
17149 lock is only used to serialize _set_state().
17151 2005-10-18 Wim Taymans <wim@fluendo.com>
17153 * check/gst/gstbin.c: (GST_START_TEST):
17154 * check/gst/gstmessage.c: (GST_START_TEST):
17155 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17156 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
17158 * gst/gstelement.c: (gst_element_abort_state),
17159 (gst_element_commit_state), (gst_element_lost_state):
17160 * gst/gstmessage.c: (gst_message_new_state_changed),
17161 (gst_message_new_state_dirty), (gst_message_new_segment_start),
17162 (gst_message_new_segment_done), (gst_message_new_duration),
17163 (gst_message_parse_state_changed),
17164 (gst_message_parse_segment_start),
17165 (gst_message_parse_segment_done), (gst_message_parse_duration):
17166 * gst/gstmessage.h:
17167 * tools/gst-launch.c: (event_loop):
17168 Seriously, this is better than a previous commit as we only need
17169 to notify the fact that an element changed state in a streaming
17170 thread, marking the state of the parents dirty, hence the
17171 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
17174 2005-10-18 Wim Taymans <wim@fluendo.com>
17176 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
17177 (gst_bin_recalc_func):
17178 * gst/gstelement.c: (gst_element_set_clock),
17179 (gst_element_abort_state), (gst_element_lost_state):
17180 Cleanups, prepare for state change fixes.
17182 2005-10-18 Wim Taymans <wim@fluendo.com>
17185 * gst/gstelement.c: (gst_element_class_init),
17186 (gst_element_set_state), (gst_element_set_state_func):
17187 * gst/gstelement.h:
17188 Pending ABI changes.
17189 GThreadPool in GstBinClass to monitor async state changes.
17190 state_cookie in GstElement to detect concurrent gst/set state.
17191 set_state is now virtual too in case a very complicated element
17192 has to be constructed.
17194 2005-10-18 Wim Taymans <wim@fluendo.com>
17196 * check/gst/gstbin.c: (GST_START_TEST):
17197 * check/gst/gstmessage.c: (GST_START_TEST):
17198 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17199 * gst/gstbin.c: (bin_bus_handler):
17200 * gst/gstelement.c: (gst_element_commit_state),
17201 (gst_element_lost_state):
17202 * gst/gstmessage.c: (gst_message_new_state_changed),
17203 (gst_message_new_segment_start), (gst_message_new_segment_done),
17204 (gst_message_new_duration), (gst_message_parse_state_changed),
17205 (gst_message_parse_segment_start),
17206 (gst_message_parse_segment_done), (gst_message_parse_duration):
17207 * gst/gstmessage.h:
17208 * tools/gst-launch.c: (event_loop):
17209 Make messages future proof.
17210 state-change gets a flag if it was a message comming from the
17212 segment-start/stop can also be specified in other formats.
17213 A message to notify an app that a pipeline changed playback
17215 Also fix a GstMessage leak in -launch
17217 2005-10-18 Andy Wingo <wingo@pobox.com>
17219 * gst/gstelement.c (gst_element_dispose): More helpful message.
17221 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
17223 reviewed by: <delete if not using a buddy>
17225 * common/gtk-doc.mak:
17227 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
17229 * gst/gstregistry.c: (gst_registry_scan_path_level):
17230 unref a plug-in we get that was already initialized
17232 2005-10-18 Stefan Kost <ensonic@users.sf.net>
17234 * docs/gst/gstreamer-sections.txt:
17235 * docs/libs/gstreamer-libs-sections.txt:
17236 * gst/gstelement.h:
17237 add new api entries
17238 hide internal macro
17240 2005-10-17 Andy Wingo <wingo@pobox.com>
17242 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17245 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17247 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17249 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17250 (gst_element_get_state_func): Better debug message.
17251 (gst_element_commit_state): s/INFO/DEBUG/.
17252 (gst_element_lost_state, gst_element_change_state):
17254 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17255 (gst_message_new_custom): s/INFO/LOG/.
17257 2005-10-17 Michael Smith <msmith@fluendo.com>
17259 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17260 Check if end time is valid using end time, not start time.
17262 2005-10-17 Stefan Kost <ensonic@users.sf.net>
17264 * check/gst-libs/controller.c: (GST_START_TEST),
17265 (gst_controller_suite):
17266 * libs/gst/controller/gstcontroller.c:
17267 (gst_controlled_property_set_interpolation_mode):
17268 * libs/gst/controller/gstcontroller.h:
17269 * libs/gst/controller/gstinterpolation.c:
17270 * testsuite/controller/.cvsignore:
17271 * testsuite/controller/Makefile.am:
17272 * testsuite/controller/interpolator.c:
17273 merge controller testsuites
17275 remove mem-chunk from docs
17277 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
17279 * gst/gstmemchunk.c:
17280 * gst/gstmemchunk.h:
17281 * gst/gsttrashstack.c:
17282 * gst/gsttrashstack.h:
17283 out. get out. you're fired. to the Attic !
17285 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
17287 * gst/gstcaps.c: (gst_caps_intersect):
17288 fix signedness issues in a (hopefully) correct way
17289 * gst/gstelement.c: (gst_element_pads_activate):
17291 * gst/gstobject.c: (gst_object_set_parent):
17294 2005-10-17 Julien MOUTTE <julien@moutte.net>
17296 * gst/gstvalue.h: Fix prototypes.
17298 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17300 * docs/gst/gstreamer-sections.txt:
17301 * gst/gst.c: (gst_version_string):
17303 * gst/gstversion.h.in:
17304 * win32/common/libgstreamer.def:
17305 add gst_version_string ()
17307 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17311 * gst/gst.c: (init_post):
17312 * win32/common/config.h.in:
17314 * gst/gstcaps.c: (gst_caps_intersect):
17315 use gint64, the range could be bigger than a guint
17317 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17320 document potential problem in 2038
17322 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17324 * gst/gstcaps.c: (gst_caps_intersect):
17325 Fix guint j diving under 0
17327 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17330 * win32/common/config.h:
17331 * win32/common/config.h.in:
17332 check for process.h, declares getpid() on Windows
17334 include process.h if we have it
17335 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17336 * gst/gstmemchunk.h:
17337 fix signedness issues
17338 * win32/common/libgstreamer.def:
17341 2005-10-16 Julien MOUTTE <julien@moutte.net>
17343 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17344 fix. Because of unsigned ints, caps intersection was going nuts and
17345 trying to access structures with G_MAXUINT index. That fixes
17346 videotestsrc ! ffmpegcolorspace ! fakesink
17347 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17350 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17353 use the gettext macro
17354 * gst/elements/gstelements.c:
17356 * gst/indexers/gstindexers.c:
17357 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17358 * win32/common/config.h:
17360 * win32/common/config.h.in:
17361 add the template to generate config.h
17362 * win32/common/gstenumtypes.c:
17363 * win32/common/gstversion.h:
17366 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17368 * gst/gst.c: (gst_version):
17369 * gst/gstversion.h.in:
17372 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17375 Oops, add missing closing bracket.
17377 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17380 use common m4's for argument checking
17382 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17384 * docs/gst/gstreamer-sections.txt:
17386 Add GST_EVENT_TYPE_NAME() macro.
17388 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17391 * gst/gstpluginfeature.c:
17393 privatize more symbols
17395 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17398 add srcdir, builddir includes to GST_ALL_CFLAGS, since
17399 everything that uses GStreamer API should have the includes
17401 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17403 * docs/gst/gstreamer-sections.txt:
17404 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17406 give each value a _get_type, removes the DATA exports
17408 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17412 remove _gst_registry_auto_load, not used anymore
17413 * gst/gstbin.c: (gst_bin_get_type):
17415 * gst/gstelement.c: (gst_element_get_type):
17416 * gst/gstelement.h:
17417 * gst/gstobject.c: (gst_object_get_type):
17419 * gst/gstpad.c: (gst_pad_get_type):
17421 make _get_type functions similar, fixes data export from library
17423 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17426 correctly make conditionals
17427 * gst/elements/Makefile.am:
17428 * gst/elements/gstelements.c:
17429 fix typo causing fdsrc not to build
17431 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17433 * testsuite/Makefile.am:
17434 * testsuite/bytestream/.cvsignore:
17435 * testsuite/bytestream/Makefile.am:
17436 * testsuite/bytestream/filepadsink.c:
17437 * testsuite/bytestream/gstbstest.c:
17438 * testsuite/bytestream/test1.c:
17439 * testsuite/bytestream/testfile1:
17440 * testsuite/caps/normalisation.c:
17441 * testsuite/caps/random.c: (main):
17442 * testsuite/cleanup/.cvsignore:
17443 * testsuite/cleanup/Makefile.am:
17444 * testsuite/cleanup/cleanup1.c:
17445 * testsuite/cleanup/cleanup2.c:
17446 * testsuite/cleanup/cleanup3.c:
17447 * testsuite/cleanup/cleanup4.c:
17448 * testsuite/cleanup/cleanup5.c:
17449 * testsuite/controller/interpolator.c:
17450 * testsuite/debug/printf_extension.c: (main):
17451 * testsuite/elements/tee.c:
17452 * testsuite/negotiation/.cvsignore:
17453 * testsuite/negotiation/Makefile.am:
17454 * testsuite/negotiation/pad_link.c:
17455 * testsuite/pad/Makefile.am:
17456 * testsuite/pad/chainnopull.c:
17457 * testsuite/pad/getnopush.c:
17458 * testsuite/pad/link.c:
17459 * testsuite/refcounting/sched.c: (create_pipeline):
17460 * testsuite/registry/Makefile.am:
17461 * testsuite/registry/gst-print-formats.c:
17462 * testsuite/schedulers/.cvsignore:
17463 * testsuite/schedulers/142183-2.c:
17464 * testsuite/schedulers/142183.c:
17465 * testsuite/schedulers/143777-2.c:
17466 * testsuite/schedulers/143777.c:
17467 * testsuite/schedulers/147713.c:
17468 * testsuite/schedulers/147819.c:
17469 * testsuite/schedulers/147894-2.c:
17470 * testsuite/schedulers/147894.c:
17471 * testsuite/schedulers/Makefile.am:
17472 * testsuite/schedulers/group_link.c:
17473 * testsuite/schedulers/queue_link.c:
17474 * testsuite/schedulers/relink.c:
17475 * testsuite/schedulers/unlink.c:
17476 * testsuite/schedulers/unref.c:
17477 * testsuite/schedulers/useless_iteration.c:
17478 * testsuite/states/bin.c:
17479 clean out/remove some stuff from the testsuite directories
17481 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17484 check for some headers
17485 * gst/elements/Makefile.am:
17486 * gst/elements/gstelements.c:
17487 don't compile fdsrc without sys/socket.h
17488 * gst/indexers/Makefile.am:
17489 * gst/indexers/gstindexers.c: (plugin_init):
17490 don't compile fileindex without mmap
17492 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17499 * check/Makefile.am:
17500 * docs/gst/Makefile.am:
17501 * examples/helloworld/Makefile.am:
17503 * gst/base/Makefile.am:
17504 * gst/check/Makefile.am:
17505 * gst/elements/Makefile.am:
17506 * gst/indexers/Makefile.am:
17507 * gst/parse/Makefile.am:
17508 * libs/gst/controller/Makefile.am:
17509 * libs/gst/dataprotocol/Makefile.am:
17510 * examples/helloworld/helloworld.c: (event_loop):
17511 compile fixes, though it's not being compiled currently
17513 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17515 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17516 Add some simple tests for the new taglist date API.
17518 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17520 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17521 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17522 Beautify 'last-message' output: print 'none' for buffer timestamps
17523 and durations if none is set; improve alignment with next messages.
17525 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17527 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17528 * gst/gstpluginfeature.h:
17529 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17530 * gst/gstregistry.h:
17531 * docs/gst/gstreamer-sections.txt:
17532 Add new API to check plugin feature version requirements.
17534 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17535 Some basic tests for the above.
17537 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17539 * gst/gststructure.c: (gst_structure_to_string):
17540 guard against NULL printf - happens when for example
17541 a message structure with GstClock gets serialized
17543 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17545 * gst/base/gstcollectpads.c: (gst_collectpads_event):
17546 Fix presumable copy'n'pasto.
17548 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17550 * gst/elements/gstfakesrc.h:
17551 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17552 * gst/elements/gsttypefindelement.c:
17553 fix some signedness
17554 * gst/elements/gstfilesink.c: (gst_file_sink_render):
17555 I wonder if this could actually write +2GB files before
17557 2005-10-13 Andy Wingo <wingo@pobox.com>
17559 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17560 Fix Timmeke Waymans bug.
17561 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17562 string of the proper length to gst_caps_from_string. There's a
17563 potential for, before this fix, that this could cause someone
17564 connecting over the network to cause a segfault if the payload is
17565 not NUL-terminated.
17567 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17569 * docs/design/draft-push-pull.txt:
17570 * docs/design/part-overview.txt:
17571 * docs/random/TODO-pre-0.9:
17572 * docs/random/old/ChangeLog.gstreamer:
17573 * gst/base/gstpushsrc.c:
17577 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17579 * gst/glib-compat.c: (gst_flags_get_first_value):
17580 * gst/glib-compat.h:
17581 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17582 (gst_value_compare_double), (gst_value_serialize_flags):
17583 GLib 2.6 g_flags_get_first_value has a bug that triggers an
17586 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17588 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17589 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17591 * tools/gst-launch.c: (event_loop):
17592 print out clock nicely
17594 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17596 * docs/gst/gstreamer-sections.txt:
17597 * gst/gsttaglist.h:
17598 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17599 (gst_tag_list_get_date_index):
17600 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17601 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17603 2005-10-13 Julien MOUTTE <julien@moutte.net>
17605 * gst/base/gstcollectpads.c: (gst_collectpads_event),
17606 (gst_collectpads_chain):
17607 * gst/base/gstcollectpads.h: Handle newsegment and store informations
17610 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17612 * docs/gst/gstreamer-sections.txt:
17615 * tools/gst-inspect.c: (main):
17616 * tools/gst-launch.c: (main):
17617 * tools/gst-run.c: (main):
17618 * tools/gst-xmlinspect.c: (main):
17619 fix GOption context leaks
17622 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17626 * win32/common/config.h:
17628 * win32/vs6/grammar.dsp:
17629 * win32/vs6/libgstelements.dsp:
17630 * win32/vs6/libgstreamer.dsp:
17633 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17635 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17636 * gst/base/gstbasesrc.c: (gst_base_src_query):
17637 fix more guint64<->gdouble conversions
17639 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17642 add win32-update target
17643 * win32/common/gstconfig.h:
17644 * win32/common/gstenumtypes.c:
17645 * win32/common/gstenumtypes.h:
17646 * win32/common/gstversion.h:
17647 add files that visual studio can't generate
17649 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17652 add a win32-update target
17655 2005-10-12 Wim Taymans <wim@fluendo.com>
17657 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17658 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17659 * gst/gstelement.c: (gst_element_commit_state),
17660 (gst_element_set_state):
17661 Protect flags with proper lock.
17662 unref provided cached clock in dispose.
17664 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17667 * gst/gstminiobject.h:
17669 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17670 removed unused flags from miniobject
17673 2005-10-12 Wim Taymans <wim@fluendo.com>
17675 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17676 (gst_file_sink_event), (gst_file_sink_render):
17677 Flush before seeking.
17679 2005-10-12 Andy Wingo <wingo@pobox.com>
17681 * gst/gst.c (gst_init_check): Ignore unknown options, as has
17682 always been the case.
17684 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17686 * check/gst/gstbin.c: (GST_START_TEST):
17687 * docs/gst/gstreamer-sections.txt:
17688 * gst/base/gstbasesink.c: (gst_base_sink_init):
17689 * gst/base/gstbasesrc.c: (gst_base_src_init),
17690 (gst_base_src_get_range), (gst_base_src_check_get_range),
17691 (gst_base_src_start), (gst_base_src_stop):
17692 * gst/base/gstbasesrc.h:
17693 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17694 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17695 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17699 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17701 * gst/gstelement.c: (gst_element_is_locked_state),
17702 (gst_element_set_locked_state), (gst_element_commit_state),
17703 (gst_element_set_state):
17704 * gst/gstelement.h:
17705 * gst/gstindex.c: (gst_index_init):
17707 * gst/gstminiobject.h:
17708 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17709 (gst_object_set_parent):
17711 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17712 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17714 * gst/gstpadtemplate.h:
17715 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17716 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17717 * gst/gstpipeline.h:
17718 * gst/indexers/gstfileindex.c: (gst_file_index_load),
17719 (gst_file_index_commit):
17720 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17721 * testsuite/pad/link.c: (gst_test_src_init),
17722 (gst_test_filter_init), (gst_test_sink_init):
17723 * testsuite/states/locked.c: (main):
17724 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17725 moved bitshift from macro to enum definition
17727 2005-10-12 Wim Taymans <wim@fluendo.com>
17729 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17730 * gst/elements/gstfilesink.c: (gst_file_sink_event),
17731 (gst_file_sink_render):
17732 Some more debugging info.
17734 2005-10-12 Wim Taymans <wim@fluendo.com>
17736 * docs/design/part-states.txt:
17737 * tools/gst-launch.c: (main):
17739 Revert non-intentional change.
17741 2005-10-12 Wim Taymans <wim@fluendo.com>
17743 * check/gst/gstbin.c: (GST_START_TEST):
17744 * check/gst/gstelement.c: (GST_START_TEST):
17745 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17746 * check/gst/gstghostpad.c: (GST_START_TEST):
17747 * check/gst/gstpipeline.c: (GST_START_TEST):
17748 * check/pipelines/simple_launch_lines.c: (run_pipeline):
17749 * check/states/sinks.c: (GST_START_TEST):
17750 * gst/elements/gsttypefindelement.c: (stop_typefinding):
17751 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17752 (gst_bin_remove_func), (gst_bin_get_state_func),
17753 (gst_bin_recalc_state), (gst_bin_change_state_func),
17755 * gst/gstelement.c: (gst_element_get_state_func),
17756 (gst_element_get_state), (gst_element_abort_state),
17757 (gst_element_commit_state), (gst_element_set_state),
17758 (gst_element_change_state), (gst_element_change_state_func):
17759 * gst/gstelement.h:
17760 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17761 (gst_pipeline_provide_clock_func):
17762 * gst/gstutils.c: (gst_element_link_pads_filtered):
17763 * tools/gst-launch.c: (main):
17764 * tools/gst-typefind.c: (main):
17765 Use GstClockTime in _get_state() instead of GTimeVal.
17766 Remove old code in gstutils.c
17768 2005-10-12 Andy Wingo <wingo@pobox.com>
17770 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17773 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17774 there is no task. Shouldn't affect any code, as nothing in our
17775 plugins checks this return value.
17776 (gst_pad_stop_task): Also take the stream lock if the pad has no
17777 task. Docs updated.
17779 2005-10-12 Wim Taymans <wim@fluendo.com>
17781 * gst/gstpad.c: (pre_activate), (post_activate),
17782 (gst_pad_activate_pull), (gst_pad_activate_push):
17783 Cleanup activation code. Reset old state if
17786 2005-10-12 Wim Taymans <wim@fluendo.com>
17788 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17789 (gst_base_sink_change_state):
17790 No need to prerol after receiving EOS.
17792 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17793 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17794 * gst/elements/gstidentity.c: (gst_identity_event):
17795 Print events more verbosely.
17797 2005-10-12 Wim Taymans <wim@fluendo.com>
17799 * check/Makefile.am:
17800 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17801 * check/states/sinks2.c:
17802 Moved sinks2 testcode in sinks check.
17804 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17805 (gst_bin_remove_func), (gst_bin_recalc_state),
17806 (gst_bin_change_state_func), (bin_bus_handler):
17807 Fix potential race condition when _get_state() iterated over an
17808 ASYNC element right before it posted a state completion.
17811 Do proper cast here.
17813 * gst/gstevent.c: (gst_event_new_newsegment),
17814 (gst_event_parse_newsegment):
17815 A playback rate of 0.0 is not allowed.
17817 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17819 * win32/common/config.h:
17820 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17821 (_trewinddir), (_ttelldir), (_tseekdir):
17822 * win32/common/dirent.h:
17823 * win32/common/gtchar.h:
17824 * win32/common/libgstbase.def:
17825 * win32/common/libgstreamer.def:
17826 * win32/vs6/grammar.dsp:
17827 * win32/vs6/gst_inspect.dsp:
17828 * win32/vs6/gst_launch.dsp:
17829 * win32/vs6/gstreamer.dsw:
17830 * win32/vs6/libgstbase.dsp:
17831 * win32/vs6/libgstelements.dsp:
17832 * win32/vs6/libgstreamer.dsp:
17833 Visual Studio 6 project files, and a new common directory.
17836 2005-10-11 Wim Taymans <wim@fluendo.com>
17838 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17839 (gst_base_sink_do_sync), (gst_base_sink_query),
17840 (gst_base_sink_change_state):
17841 * gst/base/gstbasesink.h:
17842 Correctly parse newsegment info.
17844 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17846 * gst/gst.c: (init_post):
17847 split plugin paths correctly
17849 2005-10-11 Wim Taymans <wim@fluendo.com>
17851 * check/gst/gstevent.c: (GST_START_TEST):
17852 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17853 (gst_base_sink_change_state):
17854 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17855 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17856 * gst/elements/gstfilesink.c: (gst_file_sink_event):
17857 * gst/gstevent.c: (gst_event_new_newsegment),
17858 (gst_event_parse_newsegment):
17860 Added extra flag to newsegment for future API freeze.
17861 Updated check and base elements.
17863 2005-10-11 Julien MOUTTE <julien@moutte.net>
17865 * gst/base/gstcollectpads.c: (gst_collectpads_init),
17866 (gst_collectpads_add_pad), (gst_collectpads_pop),
17867 (gst_collectpads_event), (gst_collectpads_chain):
17868 * gst/base/gstcollectpads.h: Handle EOS correctly.
17870 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17872 * tools/gst-launch.c: (main):
17873 more null protecting
17875 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17877 * gst/gst-i18n-lib.h:
17878 check for ENABLE_NLS, not GETTEXT_PACKAGE
17879 * gst/gstregistry.c: (gst_registry_add_plugin),
17880 (gst_registry_scan_path_level),
17881 (_gst_registry_remove_cache_plugins):
17882 protect possibly NULL strings
17883 * gst/parse/types.h:
17884 config.h already included before
17885 * tools/gst-inspect.c: (main):
17886 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17887 check for ENABLE_NLS, not GETTEXT_PACKAGE
17888 * tools/gst-launch.c: (main):
17889 check for ENABLE_NLS, not GETTEXT_PACKAGE
17891 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17894 if we don't have glib, fail before testing 2.8
17895 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17896 fix a leak, should fix plugins-base testsuite
17898 2005-10-11 Andy Wingo <wingo@pobox.com>
17900 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17901 take the mode we're going to as an arg. Go head and set the mode
17902 and flushing flags now, so that if the activate function starts a
17903 thread all the flags will be in the right state.
17904 (post_activate): Renamed also. Just handle making sure streaming
17905 finishes for the deactivation case, and setting the deactivated
17907 (gst_pad_set_active): Complain loudly if deactivation fails.
17908 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17909 (gst_pad_activate_push): Adapt to pre/post_activate changes,
17910 remove the terrible hack.
17912 2005-10-11 Wim Taymans <wim@fluendo.com>
17914 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17915 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17916 (gst_bin_recalc_state), (gst_bin_change_state_func),
17917 (gst_bin_dispose), (bin_bus_handler):
17919 Prepare to make current EOS message queue more generic.
17922 * gst/gstevent.c: (gst_event_new_newsegment),
17923 (gst_event_parse_newsegment):
17925 Rename base to stream_time.
17927 * gst/gstmessage.h:
17930 2005-10-11 Wim Taymans <wim@fluendo.com>
17932 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17933 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17934 (gst_bin_change_state_func), (bin_bus_handler):
17936 Work on proper clock selection.
17938 2005-10-11 Edward Hervey <edward@fluendo.com>
17940 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
17941 * libs/gst/controller/gstcontroller.h:
17942 Added GList* version of _remove_properties() in order to be able to wrap
17945 2005-10-11 Wim Taymans <wim@fluendo.com>
17947 * docs/design/part-states.txt:
17950 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17951 (gst_bin_change_state_func), (bin_bus_handler):
17952 Doc updates. Don't distribute the same clock over and over again.
17958 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17959 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17960 (gst_pad_send_event):
17962 Make probe emission threadsafe again.
17963 Register quarks and move _get_name() from utils.
17966 * gst/gstpipeline.c: (gst_pipeline_class_init),
17967 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17968 Only redistribute the clock of it changed.
17970 * gst/gstsystemclock.h:
17975 Moved the _flow_get_name() to GstPad.
17977 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17979 * check/gst-libs/gdp.c: (GST_START_TEST):
17980 * check/gst/gstcaps.c: (GST_START_TEST):
17981 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17982 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17983 (gst_dp_packet_from_caps):
17984 fix more valgrind warnings before turning up the heat
17986 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17988 * gst/parse/grammar.y:
17989 some cleanup before the hacking
17991 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17993 * gst/base/gstbasesrc.c: (gst_base_src_query):
17995 * gst/gstutils.c: (gst_guint64_to_gdouble),
17996 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17998 externalize, basesrc uses it
17999 obviously the implementation needs testing
18001 2005-10-10 Wim Taymans <wim@fluendo.com>
18003 * tests/sched/Makefile.am:
18004 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
18005 (make_pipeline3), (make_pipeline4), (print_elem), (main):
18007 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18009 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
18010 apparently converting from guint64 to double is not implemented
18013 2005-10-10 Wim Taymans <wim@fluendo.com>
18015 * check/Makefile.am:
18016 * check/generic/states.c: (GST_START_TEST):
18017 * check/gst/gstbin.c: (GST_START_TEST):
18018 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18019 * check/states/sinks.c: (GST_START_TEST):
18020 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
18022 Check fixes, use API as stated in design docs, remove hacks.
18024 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18025 (gst_base_sink_change_state):
18026 Catch stopping our task while we're shutting down.
18028 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
18029 (gst_bin_remove_func), (gst_bin_get_state_func),
18030 (gst_bin_recalc_state), (gst_bin_change_state_func),
18033 * gst/gstelement.c: (gst_element_init),
18034 (gst_element_get_state_func), (gst_element_abort_state),
18035 (gst_element_commit_state), (gst_element_lost_state),
18036 (gst_element_set_state), (gst_element_change_state),
18037 (gst_element_change_state_func):
18038 * gst/gstelement.h:
18039 New state change algorithm (see #318116)
18041 * gst/gstpipeline.c: (gst_pipeline_class_init),
18042 (gst_pipeline_init), (gst_pipeline_set_property),
18043 (gst_pipeline_get_property), (do_pipeline_seek),
18044 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
18045 * gst/gstpipeline.h:
18046 Remove crude state change hacks.
18049 Remove crude hacks.
18051 * tools/gst-launch.c: (main):
18052 Fixes for state change. Needs some more work to fully use the
18055 2005-10-10 Andy Wingo <wingo@pobox.com>
18057 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
18059 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
18060 this flag, but it's not even in GLib 2.6. Odd. Hack around the
18063 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
18065 * gst/gstiterator.c: (gst_iterator_new):
18066 Fix my previous commit: GTypes passed to gst_iterator_new()
18067 can be fundamental types.
18069 2005-10-10 Wim Taymans <wim@fluendo.com>
18071 * gst/gstelement.c: (gst_element_iterate_pad_list),
18072 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
18073 (gst_element_iterate_sink_pads):
18074 Use src/sink pads lists for the respective iterators instead
18077 2005-10-10 Andy Wingo <wingo@pobox.com>
18079 Merged in popt removal + GOption addition patch from Ronald, bug
18082 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
18083 GstElement macros around, remove popt-related symbols, add goption
18086 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
18088 * docs/gst/Makefile.am:
18089 * docs/libs/Makefile.am: No POPT_CFLAGS.
18091 * examples/manual/Makefile.am:
18092 * docs/manual/basics-init.xml: Doc updates with an example.
18094 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
18095 (gst_init), (parse_one_option), (parse_goption_arg):
18096 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
18097 bit of hand merging and debugging to get the GOption stuff working
18100 * tests/Makefile.am:
18101 * tools/Makefile.am:
18102 * tools/gst-inspect.c: (main):
18103 * tools/gst-launch.c: (main):
18104 * tools/gst-run.c: (main):
18105 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
18107 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
18109 * gst/gstiterator.c: (gst_iterator_new):
18110 Add assertions to make sure passed GType is likely to really
18111 be a GType (as the compiler won't catch it if the size and
18112 GType arguments get mixed up, see #318447).
18114 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
18116 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18118 * gst/gstbin.c: (gst_bin_iterate_sorted):
18119 Pass GType and size arguments to gst_iterator_new() in the right
18120 order (maybe we should make _new() take the GType as first argument
18121 just like _new_list()?) (#318447).
18124 2005-10-10 Wim Taymans <wim@fluendo.com>
18126 * gst/gstelement.c: (gst_element_finalize):
18127 And free the GStaticRecMutex too
18129 2005-10-10 Andy Wingo <wingo@pobox.com>
18131 * gst/gstelement.c (gst_element_init, gst_element_finalize):
18132 Allocate and free the mutex properly.
18134 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
18136 (GstElement): The state_lock is now recursive. Rebuild your
18137 plugins, suckers. Old macros adapted.
18139 * docs/gst/gstreamer-sections.txt: Doc updates.
18142 * gst/gstutils.c (g_static_rec_cond_timed_wait)
18143 (g_static_rec_cond_wait): Ported from state changes patch, while
18144 we wait on bug #317802 to be solved in a well-distributed GLib.
18146 * gst/gstelement.c (gst_element_change_state_func): Renamed from
18147 gst_element_change_state, variable name changes.
18148 (gst_element_change_state): Split out of gst_element_set_state in
18149 preparation for the state change merge. Doesn't pay attention to
18150 the 'transition' argument.
18151 (gst_element_set_state): Updates, hopefully purely cosmetic.
18152 (gst_element_sync_state_with_parent): MT-safety. Ported from the
18153 state change patch.
18154 (gst_element_get_state_func): Renamed from get_state, cosmetic
18157 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18159 * gst/elements/gstelements.c:
18160 * win32/GStreamer.vcproj:
18162 * win32/dirent.c: (_tseekdir):
18163 * win32/gst-inspect.vcproj:
18164 * win32/gst-launch.vcproj:
18165 * win32/gstconfig.h:
18166 * win32/gstelements.vcproj:
18167 * win32/gstenumtypes.c: (gst_object_flags_get_type):
18168 * win32/gstreamer.def:
18169 * win32/msvc71.sln:
18170 updates for the win32 build (patch from Sebastien Moutte)
18172 2005-10-10 Andy Wingo <wingo@pobox.com>
18174 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
18175 gst_bin_get_state, cleaned up (but no logic changes).
18176 (bin_element_is_sink): Comment updates.
18177 (sink_iterator_filter): Remove needless cast.
18178 (gst_bin_iterate_sinks): Doc update.
18179 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
18180 cleaned up (but no logic changes).
18182 * check/states/sinks.c (test_src_sink): Cleanups from the state
18184 (test_livesrc_sink): Sync on the state.
18186 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
18187 the state change patch.
18189 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
18192 * check/gst/gstbin.c: Merge in some style fixes and additional
18193 checks from Wim's state change patch.
18195 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
18197 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18198 (gst_type_find_helper):
18199 Check whether we have the requested data already in our list of
18200 cached buffers before pulling a new buffer; also make the buffer
18201 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18203 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18208 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18209 don't use long long, it's not portable. Replacing with
18210 gint64 seems to work; let's hope no skeletons fall out of the closet.
18212 2005-10-10 Andy Wingo <wingo@pobox.com>
18214 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18216 2005-10-09 Stefan Kost <ensonic@users.sf.net>
18218 * docs/gst/gstreamer-sections.txt:
18223 * gst/gstmessage.c: (gst_message_parse_state_changed):
18226 more docs, fix compilation
18228 2005-10-09 Philippe Khalaf <burger@speedy.org>
18229 * gst/gstmessage.c:
18230 Fixed a few forgotten variables on previous commit
18232 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
18234 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18235 Fix evil typefind crasher: getrange() might return a short
18236 buffer at the end of a file, but gst_type_find_peek() must
18237 either return the full data as requested or NULL, but
18238 never a short buffer.
18240 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
18242 * gst/gstmessage.c: (gst_message_new_state_changed),
18243 (gst_message_parse_state_changed):
18244 * gst/gstmessage.h:
18245 don't use "new", it's a C++ keyword
18247 2005-10-08 Wim Taymans <wim@fluendo.com>
18249 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18250 * gst/gstelement.c: (gst_element_post_message):
18251 * gst/gstpipeline.c: (gst_pipeline_change_state):
18252 Small docs and debug updates.
18254 2005-10-08 Stefan Kost <ensonic@users.sf.net>
18256 * docs/gst/gstreamer-sections.txt:
18257 * gst/gstelementfactory.c:
18259 * gst/gsttaglist.c:
18262 2005-10-08 Wim Taymans <wim@fluendo.com>
18264 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18265 (gst_bin_dispose), (bin_bus_handler):
18266 Fix typos, add comments.
18267 Clear EOS list when going to PAUSED from any direction and do it
18268 in a threadsafe way.
18269 Get base time in a threadsafe way too.
18270 Fix confusing debug in the change_state function.
18271 Various other small cleanups.
18273 * gst/gstelement.c: (gst_element_post_message):
18274 Fix very verbose bus posting code.
18276 * gst/gstpipeline.c: (gst_pipeline_class_init),
18277 (gst_pipeline_set_property), (gst_pipeline_get_property),
18278 (gst_pipeline_change_state):
18279 Small ARG_ -> PROP_ cleanup
18281 2005-10-08 Wim Taymans <wim@fluendo.com>
18283 * gst/gstbin.c: (is_eos), (bin_bus_handler):
18284 Do a less CPU demanding EOS check because we can.
18286 2005-10-08 Wim Taymans <wim@fluendo.com>
18288 * libs/gst/dataprotocol/dataprotocol.c:
18289 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18290 (gst_dp_packet_from_event):
18291 * libs/gst/dataprotocol/dataprotocol.h:
18292 * libs/gst/dataprotocol/dp-private.h:
18293 It's about time we bump the version number.
18294 Since event types don't fit in the guint8 anymore describing
18295 the payload type, make payload type 16 bits wide.
18297 2005-10-08 Wim Taymans <wim@fluendo.com>
18299 * docs/design/part-TODO.txt:
18300 * docs/design/part-clocks.txt:
18301 * docs/design/part-events.txt:
18302 * docs/design/part-gstbin.txt:
18303 * docs/design/part-gstelement.txt:
18304 * docs/design/part-gstpipeline.txt:
18305 * docs/design/part-live-source.txt:
18306 * docs/design/part-messages.txt:
18307 * docs/design/part-overview.txt:
18308 * docs/design/part-states.txt:
18311 2005-10-08 Wim Taymans <wim@fluendo.com>
18315 Fix event quark registration.
18316 Add some space between events so we can insert them in the
18319 2005-10-08 Wim Taymans <wim@fluendo.com>
18321 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18322 (gst_base_sink_handle_buffer):
18323 Better log message.
18326 * gst/gstelement.h:
18329 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18330 (gst_queue_set_property), (gst_queue_get_property):
18332 Remove old unused properties.
18334 2005-10-08 Stefan Kost <ensonic@users.sf.net>
18335 * docs/gst/gstreamer-sections.txt:
18336 * gst/gstmessage.c:
18337 * gst/gstmessage.h:
18338 * gst/gstminiobject.c:
18339 * gst/gstminiobject.h:
18343 lots of new docs and doc fixes
18345 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18347 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18349 * gst/gstregistry.c: (gst_registry_lookup_locked),
18350 (gst_registry_scan_path_level):
18351 * gst/gstregistryxml.c: (load_plugin):
18352 Only ever load one plugin for a given plugin basename.
18353 This ensures correct overriding of GST_PLUGIN_PATH over
18354 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18355 system installed plugins.
18357 2005-10-08 Wim Taymans <wim@fluendo.com>
18359 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18360 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18361 Prepare for doing QOS.
18363 2005-10-08 Wim Taymans <wim@fluendo.com>
18365 * check/gst/gstbin.c: (GST_START_TEST):
18366 * check/pipelines/cleanup.c: (GST_START_TEST):
18367 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18368 Allow new clock message too.
18370 2005-10-08 Wim Taymans <wim@fluendo.com>
18372 * gst/gstmessage.c: (gst_message_new_error),
18373 (gst_message_new_warning), (gst_message_new_tag),
18374 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18375 (gst_message_new_clock_lost), (gst_message_new_new_clock),
18376 (gst_message_new_segment_start), (gst_message_new_segment_done),
18377 (gst_message_parse_state_changed),
18378 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18379 (gst_message_parse_new_clock):
18380 * gst/gstmessage.h:
18381 Also carry the clock in question.
18383 2005-10-08 Wim Taymans <wim@fluendo.com>
18385 * gst/gstmessage.c: (gst_message_new_custom),
18386 (gst_message_new_eos), (gst_message_new_error),
18387 (gst_message_new_warning), (gst_message_new_tag),
18388 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18389 (gst_message_new_new_clock), (gst_message_new_segment_start),
18390 (gst_message_new_segment_done), (gst_message_parse_state_changed),
18391 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18392 * gst/gstmessage.h:
18394 Added clock related messages.
18396 * gst/gstpipeline.c: (gst_pipeline_change_state):
18397 Post message when the clock changed.
18399 * tools/gst-launch.c: (event_loop):
18402 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
18404 * tools/gst-inspect.c: (print_element_properties_info):
18405 Can't pass NULL strings to g_print() on windows.
18407 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18409 * docs/Makefile.am:
18410 * docs/gst/Makefile.am:
18411 * docs/gst/gstreamer-docs.sgml:
18412 * docs/gst/running.xml:
18413 * docs/version.entities.in:
18414 add a chapter on running GStreamer.
18415 document GST_DEBUG and GST_PLUGIN* env vars
18417 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18422 remove PLUGINS_BUILDDIR stuff
18423 * gst/gst.c: (init_post):
18424 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18426 remove, it was condescending and not needed
18428 2005-10-08 Wim Taymans <wim@fluendo.com>
18430 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18431 (gst_base_sink_handle_object), (gst_base_sink_event),
18432 (gst_base_sink_wait), (gst_base_sink_handle_event),
18433 (gst_base_sink_change_state):
18434 * gst/base/gstbasesink.h:
18435 Repost EOS message while going to PLAYING if still EOS.
18436 Make sure that when receiving a FLUSH_START we don't attempt
18437 to sync on the clock anymore.
18439 2005-10-08 Wim Taymans <wim@fluendo.com>
18441 * tools/gst-launch.c: (event_loop):
18442 Better message printout.
18444 2005-10-08 Wim Taymans <wim@fluendo.com>
18446 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18447 (gst_bin_child_proxy_get_children_count):
18448 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18449 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18450 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18451 (gst_child_proxy_set_valist):
18452 * gst/parse/grammar.y:
18453 Make ChildProxy threadsafe and fix mem leaks.
18455 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18457 * gst/gst.c: (init_post):
18458 debug the GST_PLUGIN_ env vars
18460 2005-10-08 Wim Taymans <wim@fluendo.com>
18462 * check/gst/gstbin.c: (GST_START_TEST):
18463 * check/gst/gstmessage.c: (GST_START_TEST):
18464 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18465 * gst/gstelement.c: (gst_element_commit_state),
18466 (gst_element_lost_state):
18467 * gst/gstmessage.c: (gst_message_new_state_changed),
18468 (gst_message_parse_state_changed):
18469 * gst/gstmessage.h:
18470 * tools/gst-launch.c: (event_loop):
18471 Added extra field to STATE_CHANGE message with the pending
18472 state, which will be different from the new state soon.
18474 2005-10-08 Wim Taymans <wim@fluendo.com>
18476 * gst/gstbus.c: (gst_bus_pop):
18478 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18479 Small cleanups and doc updates.
18481 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18483 * gst/gst.c: (init_pre):
18484 * gst/gstbin.c: (gst_bin_add_func):
18485 log distributing clocks and base time
18486 * gst/gstregistry.c: (gst_registry_add_plugin),
18487 (gst_registry_scan_path_level), (gst_registry_scan_path):
18488 clean up the debugging output a little
18489 * gst/gstutils.c: (gst_element_state_get_name):
18490 warn about a memleak (I've actually seen this be used, though
18491 it was probably a bug)
18493 2005-10-07 Wim Taymans <wim@fluendo.com>
18495 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18496 (gst_base_src_init), (gst_base_src_default_newsegment),
18497 (gst_base_src_newsegment), (gst_base_src_do_seek),
18498 (gst_base_src_loop), (gst_base_src_start):
18499 * gst/base/gstbasesrc.h:
18500 Make the newsegment event customizable by subclasses.
18502 2005-10-07 Wim Taymans <wim@fluendo.com>
18504 * gst/gstevent.c: (gst_event_new_buffersize),
18505 (gst_event_parse_buffersize):
18507 New event for future idea.
18509 2005-10-07 Andy Wingo <wingo@pobox.com>
18511 * gst/gstelement.c (gst_element_post_message): Doc update.
18513 * docs/gst/gstreamer-sections.txt: Update.
18515 * gst/gstmessage.c (gst_message_new_application): Made into a
18516 function like honest API calls.
18517 (gst_message_new_element): New message type.
18519 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18521 * check/elements/fakesrc.c (test_no_preroll): New check, checks
18522 that setting a live fakesrc to PAUSED returns NO_PREROLL both
18525 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18526 NO_PREROLL from gst_element_change_state to fall through.
18528 2005-10-07 Wim Taymans <wim@fluendo.com>
18530 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18531 (gst_ghost_pad_do_activate_push):
18532 Activating a ghostpad with no internal pad in push mode
18535 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
18538 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18539 Fixes compilation on Windows.
18541 2005-10-07 Michael Smith <msmith@fluendo.com>
18543 * tools/gst-inspect.c:
18544 Print out feature and plugin count at the end when printing out
18547 2005-10-04 Michael Smith <msmith@fluendo.com>
18549 * gst/gsterror.c: (_gst_stream_errors_init):
18550 Add another error string used in a few existing plugins.
18553 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18554 * tools/gst-inspect.c: (print_element_info):
18555 When a feature disappears from a plugin (and the feature exists in
18556 the cached registry file), things went horribly wrong. This isn't a
18557 complete fix, we should actually be removing the 'missing' features
18558 from the features list when we load the actual plugin. That's not
18561 2005-10-04 Johan Dahlin <johan@gnome.org>
18563 * check/gst/gstiterator.c: (GST_START_TEST):
18564 * gst/gstbin.c: (gst_bin_iterate_elements),
18565 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18566 * gst/gstelement.c: (gst_element_iterate_pads):
18567 * gst/gstformat.c: (gst_format_iterate_definitions):
18568 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18569 (gst_iterator_new_list), (gst_iterator_filter):
18570 * gst/gstiterator.h:
18571 * gst/gstquery.c: (gst_query_type_iterate_definitions):
18572 Add a GType to GstIterator, update callsites and tests.
18574 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18576 * gst/gstpad.c: (gst_pad_event_default_dispatch):
18577 give events a chance to be handled by event probes when the pad
18580 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18582 * gst/gstevent.c: (gst_event_type_get_name),
18583 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18585 add string representations for event types
18587 2005-10-06 Wim Taymans <wim@fluendo.com>
18589 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18590 Don't use NULL pointers.
18592 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18594 * gst/gst_private.h:
18596 * gst/gstelement.c:
18598 * gst/gstpluginfeature.c:
18599 widen the debug category in output to fit the biggest one we have
18600 add a bus category and use it
18601 play with the colors
18602 fix up some categories
18604 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18606 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18607 add push activation of sink ghost pads.
18608 Andye, please verify
18610 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18612 * gst/gstutils.c: (gst_element_link_pads):
18613 fix a bug in the case where neither element has a pad
18614 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18615 add a test for that case
18617 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18619 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18620 emit have-data before checking for peers. This allows
18621 for probe handlers to connect elements. This helps autopluggers.
18622 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18624 add six checks, linked/unlinked with no/true/false probe
18626 2005-10-04 Wim Taymans <wim@fluendo.com>
18628 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18629 (gst_fake_sink_event), (gst_fake_sink_preroll),
18630 (gst_fake_sink_render), (gst_fake_sink_change_state):
18631 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18632 (gst_fake_src_get_property), (gst_fake_src_create),
18633 (gst_fake_src_stop):
18634 * gst/elements/gstidentity.c: (gst_identity_stop):
18635 Protect last_message with lock.
18637 2005-10-04 Edward Hervey <edward@fluendo.com>
18640 Added precision in the comments for GST_FORMAT_DEFAULT
18642 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
18644 * tools/gst-launch.c: (main):
18645 Don't try to run erroneous pipelines.
18647 2005-10-04 Julien MOUTTE <julien@moutte.net>
18649 * gst/gstbus.c: We don't need this header.
18651 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18654 back to development
18656 === release 0.9.3 ===
18658 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18662 Releasing 0.9.3, "Unregistered"
18664 2005-10-03 Andy Wingo <wingo@pobox.com>
18666 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18667 whereby calling a pad's activatepush() function can start a thread
18668 that starts to push or pull before the pad gets the FLUSHING flag
18669 unset. Hack around it by holding the stream lock until the flag is
18670 set. Need to replace this with a proper solution. Together with
18671 the ghost pad fixes, this fixes mp3 playing/tagreading.
18673 * docs/design/part-gstghostpad.txt: Add a note about activation of
18674 proxy pads outside of ghost pads.
18676 * gst/gstghostpad.c: Implement the ghost pad activation design.
18678 2005-10-02 Andy Wingo <wingo@pobox.com>
18680 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18681 It is volatile, after all.
18683 * docs/design/part-gstghostpad.txt: Flesh out activation with
18686 * gst/base/gstbasesrc.c (gst_base_src_init): Use
18689 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
18692 Fix (unused) AM_CONDITIONAL tests.
18694 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
18696 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18698 * gst/gstutils.c: (gst_pad_query_convert):
18699 Add assertion that makes sure src_val is >=0, just like
18700 gst_query_new_convert() has. (#315895)
18702 2005-09-30 Edward Hervey <edward@fluendo.com>
18704 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18705 Let's not iterate pads we're not interested in, it avoids getting
18706 sky-high refcounts on sinkpad.
18708 2005-09-30 Wim Taymans <wim@fluendo.com>
18710 * gst/gstelement.c: (gst_element_set_state),
18711 (gst_element_change_state):
18712 Small tweak, element in ASYNC remains ASYNC.
18714 2005-09-30 Wim Taymans <wim@fluendo.com>
18716 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18717 Only error is an error.
18719 * gst/gstbin.c: (gst_bin_change_state):
18722 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18723 Also call pad_block in pad alloc.
18725 * gst/gstutils.c: (gst_flow_get_name):
18728 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18730 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18731 (gst_base_src_get_range):
18732 Fix documentation typos. Add some more debug info.
18734 2005-09-29 David Schleef <ds@schleef.org>
18736 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18737 more end-user friendly.
18738 * tools/gst-inspect.c: (main): Check if command-line argument is
18739 a file and attempt to load that file as a plugin.
18741 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18743 * check/gst/gstbin.c:
18744 * check/states/sinks.c:
18745 fix tests for the new warning
18746 * check/gst/gstpipeline.c:
18747 add a test for pipeline and bus interaction
18748 * gst/gstelement.c:
18749 elements should be NULL if they get disposed; add a warning if not
18751 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18754 for 2.6 refcounting, make debug log more correct by printing
18755 the actual refcounts at the time of swap (Wim)
18757 2005-09-29 Andy Wingo <wingo@pobox.com>
18759 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18760 removes signal watches previously added via
18761 gst_bus_add_signal_watch.
18762 (gst_bus_add_signal_watch): Don't return the source id, just store
18763 it on the bus if there wasn't an id already.
18765 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18766 add_signal_watch and remove_signal_watch.
18768 2005-09-29 Edward Hervey <edward@fluendo.com>
18770 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
18771 Better if we actually iterate the list :)
18773 2005-09-29 Wim Taymans <wim@fluendo.com>
18775 * check/gst/gstbin.c: (GST_START_TEST):
18776 Change for new bus API.
18778 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18779 (send_messages), (GST_START_TEST), (gstbus_suite):
18780 Change for new bus signal API.
18782 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18783 (gst_bus_source_prepare), (gst_bus_source_check),
18784 (gst_bus_create_watch), (gst_bus_add_watch_full),
18785 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18786 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18788 Remove support for multiple GSources operating on different
18789 message types as it is too complex and unneeded when using
18791 Added support for receiving signals from the bus.
18793 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18795 * docs/libs/tmpl/gstdataprotocol.sgml:
18796 * docs/manual/advanced-dataaccess.xml:
18797 * gst/elements/gstcapsfilter.c:
18799 rename filter-caps to caps property
18801 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18803 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18804 More robust fraction string parsing.
18806 * docs/pwg/appendix-porting.xml:
18807 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18809 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18811 * gst/gstcaps.c: (gst_caps_do_simplify):
18812 Thou shalt not free a structure and then continue using it
18813 in the next loop iteration.
18815 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18817 Add test case for caps simplification.
18819 2005-09-29 Wim Taymans <wim@fluendo.com>
18821 * check/gst/gstbin.c: (GST_START_TEST):
18824 2005-09-29 Wim Taymans <wim@fluendo.com>
18826 * check/gst/gstbin.c: (GST_START_TEST):
18829 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18830 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18831 (find_element), (gst_bin_sort_iterator_next),
18832 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18833 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18834 (gst_bin_change_state), (gst_bin_dispose):
18835 A bin does not have a bus, it gets the bus from the parent.
18837 * gst/gstelement.c: (gst_element_requires_clock),
18838 (gst_element_provides_clock), (gst_element_is_indexable),
18839 (gst_element_is_locked_state), (gst_element_change_state),
18840 (gst_element_set_bus_func):
18843 * gst/gstpipeline.c: (gst_pipeline_class_init),
18844 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18845 The pipeline provides a bus.
18847 2005-09-28 Johan Dahlin <johan@gnome.org>
18849 * gst/gstmessage.c (gst_message_parse_state_changed): Use
18850 gst_structure_get_enum instead of gst_structure_get_int
18852 * gst/gststructure.c (gst_structure_get_enum): Impl.
18854 * gst/gststructure.h (gst_structure_get_enum): Add
18856 * docs/gst/gstreamer-sections.txt: Ditto
18858 * gst/gstmessage.c (gst_message_new_state_changed): Use
18859 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18860 which does introspection.
18861 Reviewed by Christian Schaller
18863 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18865 * gst/gstinfo.c: (gst_debug_log_default):
18866 don't do dummy g_strdup()s
18867 * libs/gst/controller/gstcontroller.c:
18868 (on_object_controlled_property_changed),
18869 (gst_controlled_property_new), (gst_controller_new_valist),
18870 (gst_controller_new_list),
18871 (gst_controller_remove_properties_valist), (gst_controller_set),
18872 (gst_controller_get), (gst_controller_sync_values),
18873 (gst_controller_get_value_array), (_gst_controller_class_init),
18874 (gst_controller_get_type):
18875 * libs/gst/controller/gstcontroller.h:
18876 * libs/gst/controller/gstinterpolation.c:
18877 (gst_controlled_property_find_timed_value_node):
18878 convert // to /**/ comments
18880 2005-09-28 Wim Taymans <wim@fluendo.com>
18882 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18883 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18884 (gst_bus_sync_signal_handler):
18886 Added async-message and sync-message signals to the bus.
18887 Added helper BusFunc to emit signals for all posted messages.
18889 * gst/gstmessage.c: (gst_message_type_get_name),
18890 (gst_message_type_to_quark), (gst_message_get_type):
18891 * gst/gstmessage.h:
18892 Register quarks for message names.
18894 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18896 * docs/libs/gstreamer-libs-sections.txt:
18897 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18898 (gst_controller_new_list):
18899 * libs/gst/controller/gstcontroller.h:
18900 added another constructor for language bindings
18902 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
18904 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18908 * gst/gstinfo.c: (_gst_debug_init):
18909 slightly more readable color for refcount debugging
18911 2005-09-28 Wim Taymans <wim@fluendo.com>
18913 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18914 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18915 (find_element), (gst_bin_sort_iterator_next),
18916 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18917 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18918 (gst_bin_change_state), (gst_bin_dispose):
18919 Small doc fixes. get_clock -> provide_clock.
18921 * gst/gstelement.c: (gst_element_class_init),
18922 (gst_element_provides_clock), (gst_element_provide_clock),
18923 (gst_element_get_clock), (gst_element_commit_state),
18924 (gst_element_lost_state):
18925 * gst/gstelement.h:
18926 Make get/set_clock() symetric. Add provide_clock vmethod since
18927 that is actually what this function does.
18929 * gst/gstpipeline.c: (gst_pipeline_class_init),
18930 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18931 (gst_pipeline_get_clock):
18932 get_clock -> provide_clock.
18934 2005-09-28 Andy Wingo <wingo@pobox.com>
18936 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18937 lieu of real docs...
18939 * gst/elements/gstfdsrc.c: Cleaned up a bit.
18941 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
18943 * gst/elements/gstcapsfilter.c:
18944 * gst/elements/gstfakesink.c:
18945 * gst/elements/gstfakesrc.c:
18946 * gst/elements/gstfdsink.c:
18947 * gst/elements/gstfdsrc.c:
18948 * gst/elements/gstfilesink.c:
18949 * gst/elements/gstfilesrc.c:
18950 * gst/elements/gstidentity.c:
18951 * gst/elements/gsttee.c:
18952 * gst/elements/gsttypefindelement.c:
18953 Make element details static.
18955 2005-09-28 Wim Taymans <wim@fluendo.com>
18957 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18958 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18959 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18960 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18961 (gst_bin_change_state), (gst_bin_dispose):
18962 Some documentation updates.
18963 Clean up dispose handlers.
18965 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18966 * gst/gstpad.c: (gst_pad_dispose):
18967 Clean up dispose handler.
18969 * gst/gstpipeline.c: (gst_pipeline_change_state):
18970 Removed spurious UNLOCK.
18972 2005-09-27 Stefan Kost <ensonic@users.sf.net>
18974 * docs/gst/gstreamer-sections.txt:
18975 * gst/base/gstbasesrc.h:
18976 * gst/gstelement.h:
18980 * gst/gstpipeline.c:
18981 * gst/gstpipeline.h:
18984 added two new functions to the docs
18985 documents all undocumented GstXXXFlags
18986 completed some incomplete docs
18988 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
18990 * gst/gstbin.c: (gst_bin_dispose):
18991 * gst/gstelement.c: (gst_element_dispose):
18992 remove now useless and leaky resurrection code in dispose
18993 * gst/base/gstbasesrc.c: (gst_base_src_init):
18994 * gst/gstelementfactory.c: (gst_element_factory_create):
18995 * gst/gstobject.c: (gst_object_set_parent):
18998 2005-09-27 Wim Taymans <wim@fluendo.com>
19000 * docs/design/part-TODO.txt:
19003 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19004 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19005 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19006 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19007 (gst_bin_change_state):
19008 * gst/gstelement.h:
19009 Remove element variable, we keep element info in the iterator now.
19011 2005-09-27 Andy Wingo <wingo@pobox.com>
19013 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
19016 2005-09-27 Wim Taymans <wim@fluendo.com>
19018 * check/gst/gstbin.c: (GST_START_TEST):
19019 Enable check that works now.
19021 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19022 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19023 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19024 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19025 (gst_bin_change_state):
19027 Redid the state change algorithm using a topological sort algo.
19028 Handles all cases correctly.
19029 Exposed iterator for state change order.
19031 * gst/gstelement.h:
19032 Temp storage for state changes. Need to get rid of this soon.
19034 2005-09-27 Wim Taymans <wim@fluendo.com>
19036 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
19037 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
19038 (link_fold_func), (gst_pad_proxy_setcaps):
19039 Leak fixes, the fold functions need to unref the passed object and
19040 _get_parent_*() returns ref to parent.
19042 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
19044 * check/gst/gstbuffer.c: (test_make_writable):
19045 Plug leak in test case and fix 'make check-valgrind'
19047 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
19049 * gst/gstbuffer.c: (gst_subbuffer_init):
19050 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
19051 works correctly in all circumstances (we could have just copied
19052 the parent buffer's readonly flag, but conceptually it seems
19053 cleaner to mark all subbuffers as read-only). (based on patch
19054 by Alessandro Decina, #314710).
19056 * check/gst/gstbuffer.c: (create_read_only_buffer),
19057 (test_make_writable), (test_subbuffer_make_writable),
19059 Add some tests for gst_buffer_make_writable().
19061 2005-09-27 Wim Taymans <wim@fluendo.com>
19063 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
19064 use gst_object_has_ancestor().
19066 * gst/gstobject.c: (gst_object_has_ancestor):
19068 gst_object_has_ancestor() copied from gstbin.c as it is a
19071 * tests/instantiate/create.c: (create_all_elements):
19072 * tests/lat.c: (handoff_src), (handoff_sink):
19073 * tests/sched/runxml.c: (main):
19074 * tests/seeking/seeking1.c: (main):
19075 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
19077 Fix compilation of some tests.
19079 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
19082 Remove comment. GST_TYPE_G_ERROR is here to stay,
19083 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
19084 (#316961, #300610).
19086 2005-09-26 Wim Taymans <wim@fluendo.com>
19088 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19089 Added check that shows error in state change order.
19091 2005-09-26 Wim Taymans <wim@fluendo.com>
19093 * gst/gstbin.c: (gst_bin_change_state):
19094 Make state change function use 3 queues again, we were
19095 adding elements in the wrong order.
19097 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
19100 * gst/gstpad.c: (gst_pad_dispose):
19101 Added some debug info first.
19103 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
19105 * docs/design/draft-push-pull.txt:
19106 * docs/design/part-events.txt:
19107 * docs/design/part-overview.txt:
19108 * docs/design/part-scheduling.txt:
19109 Replace all _pull_region() with _pull_range()
19111 2005-09-26 Andy Wingo <wingo@pobox.com>
19113 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
19115 * check/gst-libs/controller.c: Update for controller api change.
19118 * tests/Makefile.am:
19119 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
19120 over by GLib bug 118439.
19122 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
19123 routines to a function.
19125 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
19127 * libs/gst/controller/gsthelper.c:
19128 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
19129 (gst_object_sync_values): Renamed from sink_values. Ugh.
19131 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
19133 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
19134 Renamed from controller_key, as it is exported.
19136 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
19138 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
19143 * gst/gstpadtemplate.h:
19146 * gst/gstqueryutils.c:
19147 * gst/gstqueryutils.h:
19148 remove queryutils headers after moving the two used functions
19149 to gstquery. also fixes build problem for gstsiddec
19151 2005-09-26 Michael Smith <msmith@fluendo.com>
19153 * tools/gst-launch.1.in:
19154 Correct documentation in manpage of debug syntax
19156 2005-09-26 Wim Taymans <wim@fluendo.com>
19158 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19159 (gst_base_src_is_seekable), (gst_base_src_change_state):
19160 Some more debugging info.
19162 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19164 * docs/gst/gstreamer-sections.txt:
19165 * gst/base/gstbasetransform.h:
19169 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19171 * docs/gst/.cvsignore:
19172 * docs/gst/tmpl/.cvsignore:
19173 * docs/gst/tmpl/gstpipeline.sgml:
19174 * docs/gst/tmpl/gstplugin.sgml:
19175 * gst/gstpipeline.c:
19178 inlined the last two docs files
19179 removed the tmpl directory from cvs (no more conflicts here!)
19181 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19183 * docs/gst/gstreamer-sections.txt:
19184 * docs/gst/tmpl/.cvsignore:
19185 * docs/gst/tmpl/gstpad.sgml:
19186 * docs/gst/tmpl/gstpadtemplate.sgml:
19188 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
19189 (gst_pad_finalize), (gst_pad_set_pad_template):
19191 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
19192 (gst_pad_template_class_init), (gst_pad_template_init),
19193 (gst_pad_template_dispose), (name_is_valid),
19194 (gst_static_pad_template_get), (gst_pad_template_new),
19195 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19196 (gst_pad_template_pad_created):
19197 * gst/gstpadtemplate.h:
19198 inlined two more docs
19199 factored gstpadtemplate out of gstpad
19201 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
19203 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19204 (test_children_state_change_order_semi_sink):
19205 Fix test case: we can't rely on a fixed state change order when
19206 going from READY => PAUSED because the sink might commit its
19207 new state first when the first buffer created by the source
19208 reaches the sink before the source has finished its change state.
19209 (Test case still fails at times, see #316856, comment 5 onwards)
19211 2005-09-24 Wim Taymans <wim@fluendo.com>
19213 * docs/design/part-events.txt:
19214 * docs/design/part-gstbus.txt:
19215 * docs/design/part-gstpipeline.txt:
19216 * docs/design/part-messages.txt:
19217 * docs/design/part-overview.txt:
19218 * docs/design/part-segments.txt:
19222 * gst/gstelement.c:
19225 * gst/gstiterator.c:
19226 Various documentation updates.
19228 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
19231 Well, that's embarassing. Luckily we weren't using
19232 GST_CLOCK_DIFF anywhere.
19234 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19236 * common/gtk-doc.mak:
19237 don't fail on building XML, FC4 slave shows a bunch of doc
19238 missing bits that I don't get
19240 * gst/gstpipeline.c:
19241 * gst/gststructure.c:
19244 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
19246 * docs/design/part-gstbin.txt:
19247 * docs/design/part-gstbus.txt:
19249 Add blurb about how the bus goes into flushing mode and
19250 drops all messages when its bin goes from READY into NULL
19253 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19255 * docs/gst/gstreamer-sections.txt:
19256 * gst/gststructure.c: (gst_structure_get_clock_time):
19257 * gst/gststructure.h:
19258 add a method to get a GstClockTime out of a structure
19260 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
19262 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19263 (test_children_state_change_order_semi_sink), (gst_bin_suite):
19264 Added test to check state change order in bins (can still be made
19265 to fail here under heavy disk load; bails out with 'Push on pad
19266 fakesink:sink0, but it was not activated in push mode').
19268 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19269 Fix state change order when there is only a semi sink (#316856)
19271 * gst/gstbus.c: (gst_bus_class_init):
19272 Use _class_peek_parent(), not _class_ref(); fix docs to say
19273 'default main context' instead of 'mainloop' where that is
19276 * gst/gstelement.c: (gst_element_commit_state),
19277 (gst_element_set_state):
19278 Fix typos in debug messages
19280 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19283 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19284 * gst/gstpluginfeature.c:
19286 various doc updates
19287 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19288 change an assert into an error until it gets fixed properly
19290 2005-09-23 Stefan Kost <ensonic@users.sf.net>
19292 * docs/gst/gstreamer-sections.txt:
19293 * docs/gst/tmpl/.cvsignore:
19294 * docs/gst/tmpl/gstelement.sgml:
19295 * docs/gst/tmpl/gstinfo.sgml:
19296 * docs/gst/tmpl/gstobject.sgml:
19297 * gst/gstelement.c:
19298 * gst/gstelement.h:
19301 * gst/gstobject.c: (gst_object_class_init):
19303 inlined 3 more biiiig doc files and added some missing docs on the fly
19305 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19307 * check/gst/.cvsignore:
19308 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19309 * gst/gstregistryxml.c: (load_plugin),
19310 (gst_registry_xml_save_plugin):
19311 put back source in registry. add checks for find_plugin.
19312 * testsuite/states/bin.c: (assert_state), (empty_bin),
19313 (test_adding_one_element), (main):
19314 * testsuite/states/locked.c: (main):
19315 some compile/run fixes
19317 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
19319 * check/gst/gstvalue.c: (GST_START_TEST):
19320 fix leaks in the test itself
19322 2005-09-22 Wim Taymans <wim@fluendo.com>
19324 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19325 (gst_base_sink_send_event), (gst_base_sink_peer_query),
19326 (gst_base_sink_query):
19327 Prepare for more accurate position reporting and query
19330 * gst/gstelement.c: (gst_element_send_event),
19331 (gst_element_set_state):
19334 2005-09-22 Wim Taymans <wim@fluendo.com>
19336 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19337 (gst_query_parse_segment):
19339 More documentation.
19340 Add segment query for future use.
19342 2005-09-22 Wim Taymans <wim@fluendo.com>
19344 * gst/gstbin.c: (gst_bin_add_func):
19345 Some more debug info.
19347 * gst/gstelement.c: (gst_element_send_event):
19348 Simplify send_event
19350 * gst/gstelement.h:
19351 Don't know how flags got broken.
19356 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19358 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19359 Add simplistic test suite for GST_TYPE_DATE serialisation and
19362 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19364 * docs/gst/gstreamer-sections.txt:
19365 * gst/gststructure.c: (gst_structure_set_valist),
19366 (gst_structure_get_date):
19367 * gst/gststructure.h:
19368 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19369 (gst_date_copy), (gst_value_compare_date),
19370 (gst_value_serialize_date), (gst_value_deserialize_date),
19371 (gst_value_transform_date_string),
19372 (gst_value_transform_string_date), (_gst_value_initialize):
19374 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19375 bunch of utility functions along with a hack that checks that
19376 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19377 is required. Part of the grand scheme in #170777.
19379 2005-09-22 Andy Wingo <wingo@pobox.com>
19381 * gst/gstconfig.h.in: Psych out gtk-doc.
19383 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19385 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19387 * tools/gst-inspect.c (print_element_list): Plug some
19388 inconsequential leaks.
19390 * gst/gstregistry.c (gst_registry_get_default): Doc.
19392 * check/gst/gstplugin.c:
19393 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19394 * gst/gstelementfactory.c (gst_element_factory_create):
19395 * gst/gstindexfactory.c (gst_index_factory_create): Update for
19398 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19399 (gst_plugin_feature_load): Doc, don't eat refs.
19401 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19402 (gst_plugin_list_free): Doc.
19403 (gst_plugin_load_file): Doc updates.
19405 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19406 accessors returning refcounted objects, return a ref.
19408 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19409 accessor for caps. IDEMPOTENCE. Oh yes.
19411 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
19413 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19415 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19416 (_gst_debug_register_funcptr):
19417 Add mutex to serialise access to the hash table with
19418 the function pointer => function name string mapping;
19419 make that hash table static scope (#316809).
19421 * gst/registries/.cvsignore:
19422 Remove left-over file.
19424 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19426 * docs/pwg/appendix-porting.xml:
19427 And something about newsegment events and caps-on-buffers to
19428 the porting guide (feel free to improve).
19430 2005-09-21 Andy Wingo <wingo@pobox.com>
19432 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19433 data and event probes on the same pad.
19434 (test_buffer_probe_once): Test that removing probes from within
19435 the probe functions works.
19437 2005-09-21 Andy Wingo <wingo@pobox.com>
19439 * check/gst/gstutils.c: New file.
19440 (test_buffer_probe_n_times): A simple buffer probe test. More to
19443 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19444 have-data::buffer, not have-data.
19445 (gst_pad_add_event_probe): Likewise for have-data::event.
19446 (gst_pad_add_data_probe): More docs. The part about 'resolving the
19447 peer' isn't quite right yet though.
19448 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
19449 (gst_pad_remove_data_probe): Change to take the guint handler_id
19450 as their arg, not the function+data, which is more glib-like.
19452 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19453 the signal emission to indicate if the data is a buffer or an
19455 (gst_pad_get_type): Initialize buffer and event quarks.
19456 (gst_pad_class_init): have-data is now a detailed signal, yes it
19459 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19461 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19462 * gst/gstutils.c: (gst_util_set_value_from_string),
19463 (gst_util_set_object_arg):
19464 Don't put functional code in g_return_if_fail() or
19465 g_return_val_if_fail() statements, otherwise things will
19466 break when G_DISABLE_CHECKS is defined during compilation.
19468 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19470 * docs/gst/tmpl/.cvsignore:
19471 * docs/gst/tmpl/gstvalue.sgml:
19474 inlied another one and added some obvious docs
19476 2005-09-21 Wim Taymans <wim@fluendo.com>
19478 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19479 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19480 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19481 (gst_fdsrc_get_property), (gst_fdsrc_create):
19482 * gst/elements/gstfdsrc.h:
19483 Properly implement fdsrc. Removed signal and timeout,
19484 better implemented somewhere else.
19486 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19488 * docs/gst/tmpl/.cvsignore:
19489 * docs/gst/tmpl/gstimplementsinterface.sgml:
19490 * gst/gstinterface.c:
19493 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19495 * docs/gst/gstreamer-sections.txt:
19496 * docs/gst/tmpl/.cvsignore:
19497 * docs/gst/tmpl/gstenumtypes.sgml:
19498 remove obsolete doc file
19500 2005-09-21 David Schleef <ds@schleef.org>
19502 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19503 little beer, fix a little leak.
19505 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19507 * docs/gst/gstreamer-docs.sgml:
19508 * docs/gst/gstreamer-sections.txt:
19509 * docs/gst/tmpl/.cvsignore:
19513 * gst/gstelement.h:
19514 * gst/gstindex.c: (gst_index_class_init):
19516 * gst/gstindexfactory.c: (gst_index_factory_get_type),
19517 (gst_index_factory_class_init), (gst_index_factory_init),
19518 (gst_index_factory_finalize), (gst_index_factory_new),
19519 (gst_index_factory_destroy), (gst_index_factory_find),
19520 (gst_index_factory_create), (gst_index_factory_make):
19521 * gst/gstindexfactory.h:
19522 * gst/gstpluginfeature.c:
19523 * gst/gstpluginfeature.h:
19524 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19525 more docs inlined, splitted gstindex.{c,h}
19527 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19529 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19532 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19534 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19535 Set sync to FALSE by default.
19537 2005-09-20 Wim Taymans <wim@fluendo.com>
19539 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19540 (gst_base_sink_init):
19541 Make sync property settable from subclass.
19543 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19544 (gst_fake_sink_change_state):
19545 Set sync to FALSE by default.
19547 2005-09-20 Wim Taymans <wim@fluendo.com>
19549 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19550 * tools/gst-launch.c: (main):
19551 The timeout handler should have lower priority than the source
19552 so we don't timeout before popping a message with 0 timeout.
19553 Dump error messages after failed state change.
19555 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19557 * tools/gst-inspect.c: (print_element_properties_info):
19560 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19562 * check/gst/gstevent.c:
19563 * gst/elements/gstfakesink.c:
19564 * gst/elements/gstfakesink.h:
19565 remove the sync property from fakesink.
19566 has the side effect of setting sync TRUE
19567 for fakesink, which is a change. Anyone who knows how
19568 to fix this nicely in a GObject-y way, feel free.
19570 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19572 * docs/gst/gstreamer-docs.sgml:
19573 remove probe refsection
19575 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19577 * check/Makefile.am:
19578 disable valgrinding the controller test again
19579 * docs/gst/gstreamer-sections.txt:
19580 update for api-changes
19582 2005-09-20 Wim Taymans <wim@fluendo.com>
19584 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19585 (gst_base_sink_set_property), (gst_base_sink_get_property),
19586 (gst_base_sink_do_sync):
19587 * gst/base/gstbasesink.h:
19588 Added sync property to basesink to disable clock sync.
19590 2005-09-20 Andy Wingo <wingo@pobox.com>
19592 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19593 eating the caller's refcount.
19595 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
19596 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19599 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19600 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19601 of GLib 2.8 public, so we can know which refcount to check in
19604 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19605 (gst_object_init): Only set the gst refcount if we're going ahead
19606 with the refcount hack.
19608 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19610 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19611 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19612 more leaks plumbed, added more debug-logging
19616 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19618 * gst/gstmessage.c:
19619 remove include of gstmemchunk.h
19621 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19623 * gst/gstclock.c: (_gst_clock_id_free):
19624 Commit from the Political Party For More Atomic CVS Commits,
19625 so that people don't waste too much of their day fishing
19626 out obvious leaks out of massive commits.
19627 Oh, and fix a pretty damn obvious leak in the memchunk
19630 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19632 * check/Makefile.am:
19633 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19634 plug mem-leak, re-add to valgrindable tests
19636 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19639 unbreak the build for those who have chronic arthritis
19640 and typing "make check" is just too taxing on the hands
19642 2005-09-20 Andy Wingo <wingo@pobox.com>
19644 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19645 really want it out, you should fix plugins at the same time.
19647 2005-09-19 Stefan Kost <ensonic@users.sf.net>
19650 * docs/gst/gstreamer-sections.txt:
19652 added missing symbols to api docs
19653 disable ref-count hack if we have glib >= 2.8
19655 2005-09-19 David Schleef <ds@schleef.org>
19657 * docs/gst/Makefile.am: Ignore a few more internal headers
19658 * docs/gst/gstreamer-docs.sgml: Remove old sections
19659 * docs/gst/gstreamer-sections.txt: Remove old sections
19660 * docs/gst/tmpl/gstobject.sgml: update
19661 * docs/gst/tmpl/gstplugin.sgml: update
19662 * docs/gst/tmpl/gstpluginfeature.sgml: update
19663 * docs/random/ds/0.9-suggested-changes: update.
19664 * gst/Makefile.am: remove memchunk and trashstack, since they're
19666 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19667 * gst/gst.h: don't include some headers
19668 * gst/gstchildproxy.c: add gstmarshal.h
19669 * gst/gstclock.c: Don't use memchunks
19670 * gst/gstminiobject.c: Add some docs
19671 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19672 * gst/gstobject.h: same
19673 * gst/gstplugin.c: include gstmacros.h
19674 * gst/gstplugin.h: don't include gstmacros.h, since it's private
19675 * gst/gstquery.c: don't use memchunks
19676 * gst/gstregistry.c: rename gst_registry_deinit()
19677 * gst/gstregistry.h: same
19679 2005-09-19 David Schleef <ds@schleef.org>
19681 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19682 * docs/libs/gstreamer-libs-sections.txt:
19683 * docs/libs/tmpl/gstgetbits.sgml:
19684 * docs/libs/tmpl/gstputbits.sgml:
19686 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
19688 * win32/gstenumtypes.c:
19689 * win32/gstenumtypes.h:
19692 2005-09-19 Wim Taymans <wim@fluendo.com>
19694 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19695 Automatically PAUSE and RESUME a pipeline when a flushing seek
19698 2005-09-19 Andy Wingo <wingo@pobox.com>
19700 * gst/gstregistry.h: Spacing fixen.
19702 2005-09-19 Wim Taymans <wim@fluendo.com>
19704 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19705 Handle state change failure more correctly.
19707 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19709 * check/Makefile.am:
19710 * check/pipelines/cleanup.c: (run_pipeline):
19711 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19713 enable cleanup again after fixing the leak
19715 some more info on docs
19717 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19719 * check/Makefile.am:
19720 re-enable tests now that leaks are plugged
19722 * check/gst/gstbin.c:
19723 * check/gst/gstpipeline.c:
19724 add some more tests while fixing leaks
19725 * common/check.mak:
19726 make sure binaries are uptodate when valgrinding/gdbing
19728 * gst/gstelementfactory.c:
19729 remove a ref too many, and add a FIXME for when we get
19730 round to disposing of classes
19732 fix the refcounting when loading a plugin from a file and
19733 the code pretends that the pointer is the same even though
19734 of course it can change
19735 * gst/gstpluginfeature.c:
19736 unref plugins marked cached (a bit confusing as a name)
19737 as the docs state should be done
19738 various doc additions to explain refcounting
19739 * gst/gstregistry.c:
19740 * gst/gstregistryxml.c:
19743 2005-09-19 Wim Taymans <wim@fluendo.com>
19745 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19746 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19747 (send_messages), (GST_START_TEST), (gstbus_suite):
19748 * check/gst/gstpipeline.c: (GST_START_TEST):
19749 * check/pipelines/cleanup.c: (run_pipeline):
19750 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19752 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19753 (gst_bus_source_check), (gst_bus_source_dispatch),
19754 (gst_bus_create_watch), (gst_bus_add_watch_full),
19755 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19757 * tools/gst-launch.c: (event_loop):
19758 * tools/gst-md5sum.c: (event_loop):
19759 GstBusHandler -> GstBusFunc, return value has the same meaning as
19760 any other GSource (FALSE == remove source).
19761 _add_watch() and _add_watch_full() now take a MessageType mask to
19762 only handle specific types of messages.
19763 _poll() returns the GstMessage instead of the message type to avoid
19765 _have_pending() takes a MessageType mask now too.
19766 Added testsuite for multiple bus watches.
19767 Fix testsuites and applications for new bus API.
19769 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19771 * check/Makefile.am:
19772 mark a bunch of the tests as to fix until we fix them
19774 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19776 * common/check.mak:
19777 use GST_PLUGIN settings for valgrind tests as well, so we're
19778 valgrinding the correct thing
19779 * gst/gst.c: (init_post):
19782 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19784 * gst/gst.c: (init_post), (gst_deinit):
19785 * gst/gstelementfactory.c: (gst_element_factory_class_init),
19786 (gst_element_factory_finalize), (gst_element_factory_cleanup):
19787 * gst/gstindex.c: (gst_index_factory_class_init),
19788 (gst_index_factory_finalize):
19789 * gst/gstobject.c: (gst_object_dispose):
19790 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19791 (gst_plugin_load_file), (gst_plugin_desc_free):
19792 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19793 (gst_plugin_feature_finalize):
19794 * gst/gstregistry.c: (gst_registry_class_init),
19795 (gst_registry_init), (gst_registry_finalize),
19796 (gst_registry_get_default), (gst_registry_deinit):
19797 * gst/gstregistry.h:
19798 * gst/gstregistryxml.c: (load_feature), (load_plugin):
19799 various cleanups and memleak plugging. make valgrind is happy now.
19801 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19803 * common/check.mak:
19804 add a check-valgrind target
19806 2005-09-18 David Schleef <ds@schleef.org>
19808 * tools/gst-inspect.c: Revert the GOption code.
19810 2005-09-17 David Schleef <ds@schleef.org>
19812 * check/Makefile.am: Fix environment variables.
19813 * check/gst/gstplugin.c: Fix for API changes.
19814 * tools/gst-inspect.c: Fix for API changes.
19815 * tools/gst-xmlinspect.c: Fix for API changes.
19816 * gst/gstelementfactory.c:
19819 * gst/gstpluginfeature.c:
19820 * gst/gstpluginfeature.h:
19821 * gst/gstregistry.c:
19822 * gst/gstregistry.h:
19823 * gst/gstregistryxml.c:
19824 * gst/gsttypefind.c:
19825 * gst/gsttypefindfactory.c:
19826 * gst/indexers/gstfileindex.c:
19827 * gst/indexers/gstmemindex.c:
19828 * gst/schedulers/Makefile.am:
19829 Change registry to keep track of both plugins and features,
19830 removing the feature tracking from plugins themselves.
19832 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
19834 * check/Makefile.am:
19835 * tools/gst-register.1.in:
19836 remove gst-register
19838 2005-09-15 David Schleef <ds@schleef.org>
19840 * check/gst/gstplugin.c:
19841 * gst/gstelementfactory.c:
19843 * gst/gstpluginfeature.c:
19844 * gst/gstregistry.c:
19845 Getting tired of debugging. Disabled all the unreffing of
19846 plugins and features, which fixes the segfaults, but of
19847 course leaks like crazy. At least playbin works.
19849 2005-09-15 David Schleef <ds@schleef.org>
19851 * check/gst/gstplugin.c: (register_check_elements),
19852 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19854 * gst/elements/gsttypefindelement.c: Fix refcounting.
19855 * gst/gsttypefind.c:
19856 * gst/gsttypefindfactory.c:
19857 * gst/gsttypefindfactory.h:
19859 2005-09-15 David Schleef <ds@schleef.org>
19861 * gst/gstindex.c: get refcounting correct.
19862 * gst/gstregistry.c: Handle the case where a feature/plugin is
19865 2005-09-15 David Schleef <ds@schleef.org>
19867 * check/Makefile.am:
19868 * check/gst/gstplugin.c: Add test
19869 * gst/gstplugin.c: Fix problems noticed by testsuite
19871 * gst/gstregistry.c:
19872 * gst/gstregistry.h:
19874 2005-09-15 David Schleef <ds@schleef.org>
19876 * gst/gstplugin.c: Implement semi-decent recounting and locking
19877 in plugins and plugin features.
19879 * gst/gstpluginfeature.c:
19880 * gst/gstpluginfeature.h:
19881 * gst/gstregistry.c:
19883 2005-09-15 Michael Smith <msmith@fluendo.com>
19885 * gst/gstregistry.c: (gst_registry_get_feature_list):
19886 Implement this. Makes oggdemux work; decodebin still broken.
19888 2005-09-14 David Schleef <ds@schleef.org>
19890 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19892 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19893 * gst/check/Makefile.am:
19894 * libs/gst/controller/Makefile.am:
19895 * libs/gst/dataprotocol/Makefile.am:
19897 2005-09-14 David Schleef <ds@schleef.org>
19899 * configure.ac: Remove getbits library. Nothing uses it, and
19900 it should be in something like liboil if someone did want
19902 * libs/gst/Makefile.am:
19903 * libs/gst/getbits/Makefile.am:
19904 * libs/gst/getbits/gbtest.c:
19905 * libs/gst/getbits/getbits.c:
19906 * libs/gst/getbits/getbits.h:
19907 * libs/gst/getbits/gstgetbits_generic.c:
19908 * libs/gst/getbits/gstgetbits_i386.s:
19909 * libs/gst/getbits/gstgetbits_inl.h:
19911 2005-09-14 David Schleef <ds@schleef.org>
19913 * gst/Makefile.am: Dist glib-compat.h
19915 2005-09-14 David Schleef <ds@schleef.org>
19917 * configure.ac: Remove gst/registries, since it's no longer used.
19918 * gst/registries/Makefile.am:
19919 * gst/registries/gstlibxmlregistry.c:
19920 * gst/registries/gstlibxmlregistry.h:
19921 * gst/registries/gstxmlregistry.c:
19922 * gst/registries/gstxmlregistry.h:
19923 * gst/registries/registrytest.c:
19925 2005-09-14 David Schleef <ds@schleef.org>
19927 * gst/glib-compat.h:
19928 * gst/gstregistryxml.c:
19929 Convergence is near. Seriously.
19931 2005-09-14 David Schleef <ds@schleef.org>
19933 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19934 * gst/glib-compat.h:
19935 Attempt #4 to appease the buildbots.
19937 2005-09-14 David Schleef <ds@schleef.org>
19939 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19942 2005-09-14 David Schleef <ds@schleef.org>
19944 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19947 2005-09-14 David Schleef <ds@schleef.org>
19949 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19952 2005-09-14 David Schleef <ds@schleef.org>
19954 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19955 * gst/glib-compat.h: Add some functions that are in newer versions
19956 of glib than we care to require.
19957 * gst/gstregistryxml.c: Use them.
19959 2005-09-14 David Schleef <ds@schleef.org>
19961 * po/POTFILES.in: remove gst-register.c
19963 2005-09-14 David Schleef <ds@schleef.org>
19965 * docs/gst/gstreamer-docs.sgml:
19966 * docs/gst/gstreamer-sections.txt:
19967 * docs/gst/gstreamer.types:
19968 * docs/gst/tmpl/gstelement.sgml:
19969 * docs/gst/tmpl/gstplugin.sgml:
19970 * docs/gst/tmpl/gstpluginfeature.sgml:
19971 Documentation updates for registry changes.
19973 2005-09-14 David Schleef <ds@schleef.org>
19975 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19976 because we don't require glib-2.8.
19978 2005-09-14 David Schleef <ds@schleef.org>
19980 * gst/gstregistryxml.c: Added. Essentially moved out of the
19981 registries directory.
19983 2005-09-14 David Schleef <ds@schleef.org>
19985 * check/Makefile.am:
19986 * check/generic/states.c:
19990 * gst/gst_private.h:
19991 * gst/gstelementfactory.c:
19996 * gst/gstpluginfeature.c:
19997 * gst/gstpluginfeature.h:
19998 * gst/gstregistry.c:
19999 * gst/gstregistry.h:
20000 * gst/gstregistrypool.c: remove
20001 * gst/gstregistrypool.h: remove
20002 * gst/gsttypefind.c:
20003 * gst/gsttypefindfactory.c:
20005 * tools/Makefile.am:
20006 * tools/gst-compprep.c:
20007 * tools/gst-inspect.c:
20008 * tools/gst-register.c: remove
20009 * tools/gst-xmlinspect.c:
20010 Registry rewrite. Changes registry from being a file created
20011 by a tool into a simple cache file created automatically by
20012 libgstreamer. Removed gst-register (because it's no longer
20013 needed). Remove registry pools, because we only have one
20014 registry implementation (XML). Fix up other subsystems as
20017 2005-09-13 Michael Smith <msmith@fluendo.com>
20019 * gst/gstconfig.h.in:
20020 Don't Use windows linking attributes for MinGW. Fixes #316157
20022 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
20024 * gst/gstutils.c: (set_state_async_thread_func),
20025 (gst_element_set_state_async):
20026 Apparently people think it's better if this function doesn't
20027 try to set the state to whatever state was asked for on the first
20028 call to this function for any object. Seriously.
20030 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
20032 * check/gst/gstpipeline.c: (GST_START_TEST):
20033 * docs/gst/gstreamer-sections.txt:
20034 * gst/gstutils.c: (set_state_async_thread_func),
20035 (gst_element_set_state_async):
20037 add a "gst_element_set_state_async" method that
20038 sets the state and starts a thread to make sure the state
20039 change completes as best as it can
20041 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
20043 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20044 codify design+behaviour in testsuite after discussion
20046 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
20048 * docs/gst/tmpl/gstelement.sgml:
20049 * docs/manual/appendix-quotes.xml:
20051 * gst/gstelement.c: (gst_element_set_state):
20054 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
20056 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20057 (gst_base_transform_prepare_output_buf),
20058 (gst_base_transform_handle_buffer):
20059 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
20060 (gst_capsfilter_prepare_buf):
20061 Remove the requirement for sub-classes to call the parent
20062 implementation of prepare_output_buffer with a wrapper function.
20064 * gst/gsttaglist.h:
20065 * gst/gsttagsetter.h:
20066 Fix #define wrapper
20068 2005-09-11 Stefan Kost <ensonic@users.sf.net>
20070 * docs/gst/gstreamer-sections.txt:
20073 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
20075 * docs/gst/gstreamer-sections.txt:
20076 * docs/gst/tmpl/gstelement.sgml:
20077 * docs/gst/tmpl/gstplugin.sgml:
20078 * gst/gstminiobject.c:
20080 docs now stop throwing warnings
20082 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
20084 * docs/gst/gstreamer-sections.txt:
20085 * docs/gst/gstreamer.types:
20086 * docs/gst/tmpl/gstpad.sgml:
20087 * docs/gst/tmpl/gsttypes.sgml:
20088 * gst/base/gstadapter.h:
20089 * gst/base/gstbasesink.h:
20090 * gst/base/gstbasesrc.h:
20096 * gst/gstelement.h:
20098 * gst/gstmessage.h:
20100 * gst/gststructure.c:
20101 * gst/registries/gstlibxmlregistry.h:
20102 various documentation fixes
20104 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
20106 * docs/gst/gstreamer-sections.txt:
20107 * docs/gst/tmpl/gstvalue.sgml:
20108 rearrange gstvalue section
20109 * gst/gstutils.c: (gst_element_state_get_name):
20111 * gst/gstvalue.c: (_gst_value_initialize):
20115 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
20117 * check/gst-libs/controller.c:
20118 Header include fix.
20119 * gst/base/gstbasetransform.c:
20120 (gst_base_transform_default_prepare_buf),
20121 (gst_base_transform_handle_buffer):
20122 * gst/base/gstbasetransform.h:
20123 Some more basetransform changes and fixes to enable sub-classes
20124 that modify buffer metadata only.
20125 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20126 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
20127 (gst_capsfilter_prepare_buf):
20128 If the output pad has fixed allowed caps and input buffers
20129 don't have any, set the fixed caps on outgoing buffers.
20131 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
20132 * check/elements/identity.c: (GST_START_TEST):
20133 Make the error a little clearer when the test fails because
20134 identity made a copy of the buffer.
20135 * docs/gst/gstreamer-sections.txt:
20136 New symbols in gstbasetransform.h
20137 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20138 (gst_base_transform_init), (gst_base_transform_transform_size),
20139 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20140 (gst_base_transform_default_prepare_buf),
20141 (gst_base_transform_get_unit_size),
20142 (gst_base_transform_buffer_alloc),
20143 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
20144 (gst_base_transform_change_state),
20145 (gst_base_transform_set_passthrough),
20146 (gst_base_transform_set_in_place),
20147 (gst_base_transform_is_in_place):
20148 * gst/base/gstbasetransform.h:
20149 Change BaseTransform to separate in_place operate from same_caps
20150 output. in_place implies that the element can perform the transform
20151 on incoming buffers in-place, even if the caps on the output are
20153 Sub-class elements can now implement special buffer allocation
20154 methods for outgoing buffers if they wish to.
20155 Big documentation addition.
20156 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
20157 * gst/elements/gstelements.c:
20158 Changes for basetransform modifications.
20159 * gst/elements/Makefile.am:
20160 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
20161 Compile fix. Extra debug output.
20163 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20165 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
20167 add tests for valid pad naming
20168 * gst/check/gstcheck.c: (gst_check_log_message_func),
20169 (gst_check_log_critical_func):
20171 remove printing of code, it is fragile when the code contains
20172 % and the line number is enough info
20173 * gst/check/gstcheck.h:
20174 * gst/gstpad.c: (gst_pad_template_new):
20177 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20180 say what CHECK flags we use
20181 * docs/libs/gstreamer-libs.types:
20182 * libs/gst/controller/Makefile.am:
20183 * libs/gst/controller/gst-controller.c:
20184 * libs/gst/controller/gst-controller.h:
20185 * libs/gst/controller/gst-helper.c:
20186 * libs/gst/controller/gst-interpolation.c:
20187 * libs/gst/controller/gstcontroller.c:
20188 * libs/gst/controller/gsthelper.c:
20189 * libs/gst/controller/gstinterpolation.c:
20190 * tools/gst-inspect.c: (print_plugin_info):
20191 we don't use dashes in header names
20193 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20195 * check/Makefile.am:
20196 * check/gst/.cvsignore:
20197 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20198 (gst_pipeline_suite), (main):
20199 adding a test for pipelines and state changes
20200 * gst/gstutils.c: (get_state_func):
20202 * gstreamer.spec.in:
20205 2005-09-08 Michael Smith <msmith@fluendo.com>
20207 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20208 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20209 (gst_file_src_is_seekable), (gst_file_src_get_size),
20210 (gst_file_src_start):
20211 * gst/elements/gstfilesrc.h:
20212 Various fixes for unseekable, unmmapable, and non-normal files, so
20213 that fallback to read() rather than mmap() works.
20214 * gst/gstevent.c: (gst_event_new_newsegment):
20215 Allow newsegment events with segment_start == segment_end, as will
20216 correctly happen if you use filesrc on a zero-size file, for
20219 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
20221 * gst/gstplugin.c: (gst_plugin_load_file):
20222 Call g_module_close when we don't load the module
20224 * gst/registries/gstlibxmlregistry.c:
20225 (gst_xml_registry_get_property):
20226 Port leak fix from 0.8
20228 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20230 * docs/gst/gstreamer-docs.sgml:
20231 * docs/gst/tmpl/.cvsignore:
20232 * docs/gst/tmpl/gsttrace.sgml:
20233 * docs/gst/tmpl/gsttrashstack.sgml:
20236 * gst/gstelement.h:
20238 * gst/gstmessage.c:
20239 * gst/gstmessage.h:
20242 * gst/gsttaginterface.c:
20243 * gst/gsttaginterface.h:
20244 * gst/gsttaglist.c:
20245 * gst/gsttaglist.h:
20246 * gst/gsttagsetter.c:
20247 * gst/gsttagsetter.h:
20250 * gst/gsttrashstack.c:
20251 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20252 inlined docs for gsttrace, gsttrashstack
20254 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20257 * gst/elements/gstbufferstore.h:
20258 * gst/elements/gsttypefindelement.c:
20259 * gst/elements/gsttypefindelement.h:
20261 * gst/gsttypefind.c:
20262 * gst/gsttypefind.h:
20263 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20264 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20265 (gst_type_find_factory_dispose),
20266 (gst_type_find_factory_unload_thyself),
20267 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20268 (gst_type_find_factory_get_caps),
20269 (gst_type_find_factory_get_extensions),
20270 (gst_type_find_factory_call_function):
20271 * gst/gsttypefindfactory.h:
20272 * gst/registries/gstlibxmlregistry.c:
20273 * gst/registries/gstxmlregistry.c:
20274 splitted gsttypefind into gsttypefind, gsttypefindfactory
20276 2005-09-07 Andy Wingo <wingo@pobox.com>
20278 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20279 condition whereby the pad's task function is entered before the
20280 pad_mode variable was set.
20282 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
20284 * gst/gstpad.c: (gst_pad_alloc_buffer):
20285 Catch misbehaving pad_alloc functions that don't
20286 set up caps and do it for them.
20288 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20290 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20291 test for pipe!=NULL
20292 * docs/gst/tmpl/.cvsignore:
20293 * docs/gst/tmpl/gstmemchunk.sgml:
20294 * docs/gst/tmpl/gstparse.sgml:
20295 * docs/gst/tmpl/gsttaglist.sgml:
20296 * docs/gst/tmpl/gsttagsetter.sgml:
20297 * docs/gst/tmpl/gsttypefind.sgml:
20298 * docs/gst/tmpl/gsttypefindfactory.sgml:
20299 * gst/gstmemchunk.c:
20302 * gst/gsttaginterface.c:
20303 * gst/gsttypefind.c:
20304 * gst/gsttypefind.h:
20307 === release 0.9.2 ===
20309 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
20314 releasing 0.9.2, "South"
20316 2005-09-05 Andy Wingo <wingo@pobox.com>
20318 * gst/registries/gstxmlregistry.h:
20319 * gst/registries/gstxmlregistry.c: Um... resurrect...
20321 * gst/registries/gstxmlregistry.h:
20322 * gst/registries/gstxmlregistry.c: and update to newer API.
20323 Incidentally they should be a bit faster now that they don't have
20326 2005-09-05 Andy Wingo <wingo@pobox.com>
20328 * gst/registries/gstxmlregistry.h:
20329 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20330 replaced by the libxml registry a while back
20332 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
20334 * docs/gst/tmpl/gstplugin.sgml:
20335 * gst/elements/gstelements.c:
20337 * gst/gstplugin.c: (gst_plugin_register_func),
20338 (gst_plugin_desc_copy), (gst_plugin_desc_free),
20339 (gst_plugin_get_source):
20341 * gst/registries/gstlibxmlregistry.c: (load_plugin),
20342 (gst_xml_registry_save_plugin):
20343 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20344 (gst_xml_registry_save_plugin):
20345 * tools/gst-inspect.c: (print_plugin_info):
20346 add a "source" plugin description field, to represent the source
20347 module this plugin is a part of. By default GST_PLUGIN_DEFINE
20348 will set it to PACKAGE, which is automake's idea of the name of
20349 the source project.
20351 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
20356 * docs/Makefile.am:
20357 * docs/faq/Makefile.am:
20358 * docs/gst/tmpl/gstelement.sgml:
20359 * docs/gst/tmpl/gsttypes.sgml:
20360 * docs/htmlinstall.mak:
20361 * docs/manual/Makefile.am:
20362 * docs/pwg/Makefile.am:
20363 reorganize doc build a little
20364 split out docbook and gtk-doc stuff
20365 have two separate --enable's and enable them through autogen
20366 but disable by default in configure (to be similar to other
20368 * gstreamer.spec.in:
20369 clean up docs install
20387 translation updates
20389 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
20391 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20394 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20395 (gst_fake_sink_change_state):
20396 Make state change function thread-safe.
20398 * gst/gstpad.c: (gst_pad_alloc_buffer):
20399 Set offset on generic buffer allocated by fallback.
20401 2005-09-03 Stefan Kost <ensonic@users.sf.net>
20403 * docs/gst/gstreamer-sections.txt:
20404 * docs/gst/tmpl/gstelement.sgml:
20406 * libs/gst/controller/gst-controller.c:
20407 (gst_controlled_property_set_interpolation_mode),
20408 (gst_controlled_property_new),
20409 (gst_controller_find_controlled_property):
20410 run the wingo-magic script against the docs
20412 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20414 * docs/gst/gstreamer-docs.sgml:
20415 * docs/gst/gstreamer-sections.txt:
20416 * docs/gst/tmpl/.cvsignore:
20417 * docs/gst/tmpl/gstelementdetails.sgml:
20418 * docs/gst/tmpl/gstelementfactory.sgml:
20421 * gst/gstelementfactory.c:
20422 * gst/gstelementfactory.h:
20423 merged elementdetails docs into elementfactory docs
20426 2005-09-02 Andy Wingo <wingo@pobox.com>
20428 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20429 consider this enum an enum and not a flags.
20431 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20433 * docs/gst/gstreamer-docs.sgml:
20434 * docs/gst/tmpl/.cvsignore:
20435 * docs/gst/tmpl/gstghostpad.sgml:
20436 * docs/gst/tmpl/gstiterator.sgml:
20437 * docs/gst/tmpl/gstmacros.sgml:
20438 * docs/gst/tmpl/gstrealpad.sgml:
20439 * docs/gst/tmpl/gstregistry.sgml:
20440 * docs/gst/tmpl/gstregistrypool.sgml:
20441 * docs/gst/tmpl/gststructure.sgml:
20442 * docs/gst/tmpl/gstsystemclock.sgml:
20443 * docs/gst/tmpl/gsttrace.sgml:
20444 * gst/gstghostpad.c:
20446 * gst/gstmemchunk.c:
20447 * gst/gstmemchunk.h:
20449 * gst/gstregistry.c:
20450 * gst/gstregistrypool.c:
20451 * gst/gststructure.c:
20452 * gst/gstsystemclock.c:
20455 2005-09-02 Andy Wingo <wingo@pobox.com>
20457 * gst/gstelement.h (GstState): Renamed from GstElementState,
20458 changed to be a normal enum instead of flags.
20459 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20460 munged to be GST_STATE_CHANGE_*.
20461 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20462 work with the new state representation.
20463 (GstStateChange): New enumeration of possible state transitions.
20464 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20465 (GstElementClass::change_state): Pass the GstStateChange along as
20466 an argument. Helps language bindings, so they don't have to use
20467 tricky lock-needing macros like GST_STATE_CHANGE ().
20469 * scripts/update-states (file): New script. Run it on a file to
20470 update it for state naming and API changes. Updates files in
20473 * All files updated for the new API.
20475 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
20477 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20478 * gst/gstutils.c: (gst_util_set_value_from_string),
20479 (gst_util_set_object_arg):
20480 fix a bunch of unchecked return values
20481 * tools/gst-complete.c: (main):
20482 * gstreamer.spec.in:
20485 2005-09-01 Wim Taymans <wim@fluendo.com>
20487 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20488 (gst_base_sink_event), (gst_base_sink_do_sync),
20489 (gst_base_sink_handle_event):
20490 * gst/base/gstbasesink.h:
20491 Handle newsegments more correctly.
20496 * gst/gstevent.c: (gst_event_new_newsegment):
20497 A newsegment cannot have a start_time of -1
20499 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
20501 * win32/gstenumtypes.c:
20502 * win32/gstenumtypes.h:
20505 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20507 * libs/gst/controller/gst-controller.c:
20508 (gst_controlled_property_set_interpolation_mode),
20509 (gst_controlled_property_new):
20510 fixed boolean again
20512 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
20514 * docs/faq/gst-uninstalled:
20519 * gst/gstutils.c: (gst_element_link_filtered):
20521 add gst_element_link_filtered
20523 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20525 * docs/gst/gstreamer-docs.sgml:
20526 * docs/gst/gstreamer-sections.txt:
20527 * docs/gst/tmpl/.cvsignore:
20528 * docs/gst/tmpl/gsterror.sgml:
20529 * docs/gst/tmpl/gstfilter.sgml:
20530 * docs/gst/tmpl/gsturihandler.sgml:
20531 * docs/gst/tmpl/gsturitype.sgml:
20532 * docs/gst/tmpl/gstutils.sgml:
20533 * docs/gst/tmpl/gstxml.sgml:
20538 * gst/gsturitype.c:
20541 inlined more docs, fixed double id-ref
20543 2005-08-31 Wim Taymans <wim@fluendo.com>
20545 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20546 (gst_base_transform_handle_buffer):
20547 Passthrough elements don't need the caps as they don't care.
20549 2005-08-31 Wim Taymans <wim@fluendo.com>
20551 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20552 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20553 Don't leak refcounts on buffers.
20555 2005-08-31 Wim Taymans <wim@fluendo.com>
20557 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20558 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20559 (gst_base_transform_chain), (gst_base_transform_change_state):
20560 * gst/base/gstbasetransform.h:
20561 Handle the case where we are not negotiated more gracefully.
20563 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
20565 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20566 (gst_file_src_map_region):
20567 Set READONLY flag on mmap'ed buffers, otherwise
20568 gst_buffer_make_writable() won't work properly (#314708).
20570 2005-08-31 Wim Taymans <wim@fluendo.com>
20572 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20573 passthrough elements can even do inplace on non writable
20574 buffers (as they don't touch them).
20576 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20578 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20579 (gst_test_mono_source_set_property),
20580 (gst_test_mono_source_class_init), (GST_START_TEST),
20581 (gst_controller_suite):
20582 more tests (hehe I have the most)
20584 describe popping messages whenusing mulltiple sources
20585 * libs/gst/controller/gst-controller.c:
20586 (gst_controlled_property_set_interpolation_mode),
20587 (gst_controlled_property_new):
20588 * libs/gst/controller/gst-controller.h:
20589 * libs/gst/controller/gst-interpolation.c:
20590 implement boolean properties
20592 2005-08-31 Wim Taymans <wim@fluendo.com>
20594 * gst/gstminiobject.c: (gst_mini_object_ref):
20595 Cannot assert that the refcount has to be positive
20596 since a disposed object can be resurrected.
20598 2005-08-31 Wim Taymans <wim@fluendo.com>
20600 * gst/gstpad.c: (gst_pad_init):
20601 Revert change, need to first fix badly behaving
20604 2005-08-30 Wim Taymans <wim@fluendo.com>
20606 * check/elements/fakesrc.c: (setup_fakesrc):
20607 * check/elements/identity.c: (setup_identity):
20608 Activate pads before using them.
20610 2005-08-30 Wim Taymans <wim@fluendo.com>
20612 * gst/base/gstadapter.c: (gst_adapter_flush):
20613 Flushing out 0 bytes is ok for this function.
20615 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20616 no newsegment gives a warning and sets the start/stop to
20619 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20620 (gst_base_transform_set_passthrough):
20623 * gst/gstminiobject.c: (gst_mini_object_ref):
20624 Check refcount here too.
20626 * gst/gstpad.c: (gst_pad_init):
20627 Pads are initially flushing and refusing data.
20629 * gst/gstutils.c: (gst_element_link_pads_filtered):
20630 When adding a capsfilter element make sure it has the
20631 same state as the parent bin.
20633 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20635 * docs/gst/tmpl/.cvsignore:
20636 * docs/gst/tmpl/gstformat.sgml:
20637 * docs/gst/tmpl/gstversion.sgml:
20641 * gst/gstversion.h.in:
20642 more docs and two more inlined
20644 2005-08-30 Wim Taymans <wim@fluendo.com>
20646 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20647 Don't sync to clock.
20649 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20651 * docs/gst/gstreamer-sections.txt:
20652 ultral33t func10ns deserve to appear in the docs actually
20653 * docs/gst/tmpl/.cvsignore:
20654 * docs/gst/tmpl/gstcompat.sgml:
20655 * docs/gst/tmpl/gstconfig.sgml:
20656 * gst/check/gstcheck.c:
20658 * gst/gstconfig.h.in:
20661 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20663 * docs/gst/tmpl/.cvsignore:
20664 * docs/gst/tmpl/gstquery.sgml:
20665 * docs/gst/tmpl/gstutils.sgml:
20668 inlined and extended docs
20670 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20672 * check/gst-libs/controller.c: (GST_START_TEST),
20673 (gst_controller_suite):
20675 * docs/gst/tmpl/gstutils.sgml:
20676 * docs/libs/gstreamer-libs-sections.txt:
20677 * docs/libs/tmpl/gstdataprotocol.sgml:
20679 * examples/controller/audio-example.c: (main):
20680 controller example works now
20683 * tools/gst-inspect.c: (print_element_properties_info):
20684 show param spec flags
20686 2005-08-29 Andy Wingo <wingo@pobox.com>
20688 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20690 2005-08-28 Andy Wingo <wingo@pobox.com>
20692 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20693 as having two arguments instead of just one. Allows superclasses
20694 to access information on subclasses -- see the terrible for() loop
20695 in gtype.c:g_type_create_instance for the reason why. All callers
20698 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20700 * docs/design/part-messages.txt:
20702 * docs/gst/tmpl/.cvsignore:
20703 * docs/gst/tmpl/gstcaps.sgml:
20704 * docs/gst/tmpl/gstclock.sgml:
20710 * gst/gstmessage.c:
20711 added descriptions for bus and message
20712 inline caps and clock docs
20714 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20716 * gst/gstmessage.c:
20717 * gst/gstmessage.h:
20720 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20722 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20725 2005-08-26 Andy Wingo <wingo@pobox.com>
20727 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20728 element_set_state's return val.
20729 (test_2_elements): Add test that's been disabled for months.
20731 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20732 can-activate-pull properties.
20734 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20735 can-activate-pull properties. Implement is_seekable so fakesrc can
20736 operate in pull mode.
20738 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20740 (gst_base_sink_activate, gst_base_sink_activate_pull)
20741 (gst_base_sink_activate_push): Make activation mode choosing work.
20743 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20744 is right. Make pull mode work. Post an eos before pausing in pull
20746 (gst_base_sink_change_state): Pay attention to the core's
20747 change_state() return val.
20749 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20750 has-getrange properties. Cleanups.
20752 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20753 has_getrange and replace with can_activate_pull and
20756 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20757 locking comments. Remove has_loop, has_chain and replace with
20758 can_activate_pull and can_activate_push.
20760 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
20763 * examples/Makefile.am:
20764 * examples/metadata/Makefile.am:
20765 * examples/metadata/read-metadata.c: (message_loop),
20766 (have_pad_handler), (make_pipeline), (print_tag), (main):
20767 Add metadata reading example that loops over a list of filenames,
20768 dumping any tags found.
20770 * gst/gstbus.c: (gst_bus_dispose):
20771 * gst/gstelement.c: (gst_element_dispose):
20772 Release a few potentially-held references in dispose.
20774 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20776 * docs/gst/tmpl/gstminiobject.sgml:
20777 do *not* add tmpl/*.sgml files to CVS!
20779 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20781 * libs/gst/bytestream/.cvsignore:
20782 * libs/gst/bytestream/Makefile.am:
20783 * libs/gst/bytestream/adapter.c:
20784 * libs/gst/bytestream/adapter.h:
20785 * libs/gst/bytestream/bytestream.c:
20786 * libs/gst/bytestream/bytestream.h:
20787 * libs/gst/bytestream/filepad.c:
20788 * libs/gst/bytestream/filepad.h:
20789 removing obsolete files
20791 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20793 * docs/gst/gstreamer-docs.sgml:
20794 * docs/libs/gstreamer-libs-docs.sgml:
20795 disabed additional index entries again, as this makes docs-gen just
20796 slow and they aren't useful yet
20797 * docs/libs/gstreamer-libs-sections.txt:
20798 little -section.txt cleanup for libs
20800 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
20802 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20803 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20804 fix up some debugging
20805 (gst_base_transform_get_unit_size),
20806 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20807 (gst_base_transform_handle_buffer):
20808 * gst/base/gstbasetransform.h:
20809 handle and store timed NEWSEGMENT events so that subclasses that
20810 calculate time by counting samples have a segment_start time they
20811 need to add to their timestamps - see audioresample
20813 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20816 removed ';' from the end of macro defs
20817 * docs/gst/gstreamer-docs.sgml:
20818 * docs/gst/gstreamer-sections.txt:
20819 * docs/gst/tmpl/.cvsignore:
20821 * gst/gstelement.c: (gst_element_class_init),
20822 (gst_element_set_state), (activate_pads),
20823 (gst_element_save_thyself):
20824 * gst/gstevent.c: (gst_event_new_newsegment):
20826 * gst/gstiterator.c:
20827 * gst/gstiterator.h:
20830 * gst/gstutils.c: (gst_pad_query_convert):
20832 fixed parameter name mismatches between source, header and docs
20833 added some more docs, resolved the last batch of unused elements in
20834 docs (now someone needs to doc them)
20836 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20838 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20839 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20840 don't walk through the plugins backwards. Where is all this
20841 reversed logic coming from ?
20843 2005-08-25 Wim Taymans <wim@fluendo.com>
20845 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20846 (gst_base_transform_transform_size),
20847 (gst_base_transform_configure_caps),
20848 (gst_base_transform_get_unit_size),
20849 (gst_base_transform_buffer_alloc),
20850 (gst_base_transform_change_state):
20851 * gst/base/gstbasetransform.h:
20852 Cache caps unit_size.
20853 Make sure we cannot negotiate up and downstream at the
20856 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20858 * gst/gst.c: (init_pre), (init_post):
20859 register the installed plugin path after the env var
20860 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20861 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20862 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20863 directories, so the tests can prefer uninstalled over installed
20865 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20867 * gst/base/gstbasetransform.h:
20872 2005-08-25 Wim Taymans <wim@fluendo.com>
20874 * gst/gstbin.c: (bin_bus_handler):
20875 Be a bit more conservative about the posted message.
20877 * gst/gstbus.c: (gst_bus_post):
20878 Some cleanups, warn wrong return values.
20880 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
20882 * check/gst/gstbin.c: (GST_START_TEST):
20883 * gst/gstbin.c: (bin_bus_handler):
20884 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20885 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20886 (gst_message_new_warning), (gst_message_new_tag),
20887 (gst_message_new_state_changed), (gst_message_new_segment_start),
20888 (gst_message_new_segment_done), (gst_message_new_custom):
20889 * gst/gstmessage.h:
20890 * tools/gst-launch.c: (event_loop):
20891 * tools/gst-md5sum.c: (event_loop):
20892 Revert unpopular change for GST_MESSAGE_SRC to GObject.
20894 2005-08-25 Wim Taymans <wim@fluendo.com>
20896 * check/generic/states.c: (GST_START_TEST):
20897 Cleanup can be done at the end.
20899 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20900 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20901 (gst_task_get_state), (gst_task_start), (gst_task_pause):
20902 Oh boy.. Thanks for finding this, Thomas.
20904 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20906 * docs/gst/gstreamer.types:
20907 added missing types
20909 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20911 * docs/gst/gstreamer-docs.sgml:
20912 * docs/gst/gstreamer-sections.txt:
20913 * docs/gst/tmpl/.cvsignore:
20915 * gst/gstiterator.c:
20917 * gst/registries/gstxmlregistry.h:
20918 added missing classes and symbols (123 more to go)
20919 removed removed symbols from section file
20920 fixed many doc-comments
20922 2005-08-24 Wim Taymans <wim@fluendo.com>
20924 * check/generic/states.c: (GST_START_TEST):
20925 Make sure all tasks are stopped.
20927 * check/gst/gstbin.c: (GST_START_TEST):
20928 Unref after usage for proper valgrinding.
20930 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20931 Really wait for the task to stop before destroying the
20934 * gst/gstqueue.c: (gst_queue_sink_activate_push),
20935 (gst_queue_src_activate_push):
20936 Small cleanups. Don't stop the task when we did not start
20939 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20940 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20941 (gst_task_get_state), (gst_task_start), (gst_task_pause),
20944 Protect the stream lock with the object lock.
20945 Disallow setting the stream lock when running.
20946 Add cleanup_all to wait for the threadpool to finish.
20947 Remove code to autoallocate a mutex if none was provided.
20948 Add _join() to wait for a task to stop.
20949 Protect the thread pool with a global lock.
20951 2005-08-24 Wim Taymans <wim@fluendo.com>
20953 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20954 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20955 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20956 * gst/base/gstbasesink.h:
20957 Handle newsegment events correctly.
20958 Drop buffers out of the segment range.
20960 2005-08-22 Andy Wingo <wingo@pobox.com>
20962 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20963 macro, implements an interface and gstimplementsinterface for a
20966 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20968 * check/Makefile.am:
20969 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20970 add a test that does a bunch of state changes on elements
20971 needs some fixing for valgrind
20972 * check/states/sinks.c: (gst_object_suite):
20975 add prototype for gst_caps_is_equal_fixed
20977 * gst/gstregistrypool.c:
20980 2005-08-24 Andy Wingo <wingo@pobox.com>
20982 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20983 convert a negative value. Doesn't make much sense. Mostly this is
20984 here to force callers to ensure -1 maps to -1.
20986 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20988 * docs/pwg/advanced-types.xml:
20989 Well done to Michael for catching my deliberate introduction
20990 of this spelling mistake.
20991 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20992 * gst/gstelement.h:
20993 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20994 unlink pads before removing the element from the bin.
20996 2005-08-24 Andy Wingo <wingo@pobox.com>
20998 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20999 the same thing as GST_DEBUG=*:4.
21000 (parse_debug_level, parse_debug_category): New helper parsers.
21002 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
21004 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21005 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
21006 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
21007 (gst_base_transform_buffer_alloc),
21008 (gst_base_transform_handle_buffer):
21009 use gboolean return values and pointers to size so we can use the
21010 full GST_BUFFER_SIZE range (guint) for buffer sizes
21011 use GstPadDirection for transform_caps
21012 * gst/base/gstbasetransform.h:
21013 rename get_size to get_unit_size since that's what it is
21014 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
21015 use GstPadDirection for transform_caps
21016 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21018 cleanup and debugging
21020 2005-08-24 Stefan Kost <ensonic@users.sf.net>
21022 * gst/gstelement.c: (gst_element_class_init),
21023 (gst_element_set_state), (activate_pads),
21024 (gst_element_save_thyself):
21025 * tools/gst-compprep.c: (main):
21026 * tools/gst-inspect.c: (print_element_properties_info):
21027 * tools/gst-xmlinspect.c: (print_element_properties):
21028 Fixed long standing mem-leak
21030 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
21032 * check/gst/gstbin.c: (GST_START_TEST):
21033 * gst/gstbin.c: (bin_bus_handler):
21034 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
21035 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
21036 (gst_message_new_warning), (gst_message_new_tag),
21037 (gst_message_new_state_changed), (gst_message_new_segment_start),
21038 (gst_message_new_segment_done), (gst_message_new_custom):
21039 * gst/gstmessage.h:
21040 * tools/gst-launch.c: (event_loop):
21041 * tools/gst-md5sum.c: (event_loop):
21042 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
21043 that applications can sensibly post custom messages with references
21044 to their own objects.
21046 2005-08-24 Andy Wingo <wingo@pobox.com>
21048 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
21051 2005-08-24 Wim Taymans <wim@fluendo.com>
21053 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21054 (gst_base_transform_transform_caps),
21055 (gst_base_transform_transform_size),
21056 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21057 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21058 (gst_base_transform_handle_buffer):
21059 * gst/base/gstbasetransform.h:
21060 Many fixes and new features added by Thomas. Can now also do
21061 transforms with variable sizes and a custom fixate_caps function.
21063 2005-08-24 Wim Taymans <wim@fluendo.com>
21065 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21069 Cast to ClockTime before formatting to time.
21074 2005-08-24 Stefan Kost <ensonic@users.sf.net>
21076 * check/gst-libs/controller.c: (GST_START_TEST),
21077 (gst_controller_suite):
21078 * docs/gst/tmpl/gstcaps.sgml:
21079 * docs/gst/tmpl/gstghostpad.sgml:
21080 * docs/gst/tmpl/gstquery.sgml:
21081 * docs/gst/tmpl/gstutils.sgml:
21082 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
21083 (gst_object_sink_values), (gst_object_get_value_arrays),
21084 (gst_object_get_value_array):
21085 gracefully handle helper method calls to objects that are not beeing
21086 controlled, added test case for that
21088 2005-08-23 Wim Taymans <wim@fluendo.com>
21090 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
21091 (gst_event_new_newsegment), (gst_event_parse_newsegment),
21092 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
21093 (gst_event_parse_qos), (gst_event_new_seek),
21094 (gst_event_parse_seek):
21096 Some more debugging output and doc cleanups.
21098 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21099 Fix possible deadlock.
21101 2005-08-23 Stefan Kost <ensonic@users.sf.net>
21103 * docs/gst/gstreamer-docs.sgml:
21104 * docs/gst/gstreamer-sections.txt:
21105 * docs/gst/gstreamer.types:
21106 * docs/gst/tmpl/.cvsignore:
21109 * gst/gstelement.c:
21111 added 100 symbols from gstreamer-unused.txt to the right sections
21112 fixed more broken comments
21113 added GstBus to docs
21115 2005-08-23 Stefan Kost <ensonic@users.sf.net>
21117 * docs/gst/gstreamer-sections.txt:
21118 * docs/gst/tmpl/.cvsignore:
21119 * docs/gst/tmpl/gstbin.sgml:
21120 * docs/gst/tmpl/gstbuffer.sgml:
21121 * gst/base/gstbasesrc.c:
21122 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
21125 * tools/gst-launch.1.in:
21126 inlined more doc comments, added missing comments and fixed comments
21129 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
21131 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21135 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
21137 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
21138 * gst/gststructure.h:
21139 add a fixate function for booleans; add a FIXME that these func
21140 names should probably be gst_structure_fixate_*
21142 2005-08-23 Stefan Kost <ensonic@users.sf.net>
21144 * docs/gst/gstreamer-docs.sgml:
21145 * docs/gst/gstreamer-sections.txt:
21147 * gst/gstbin.c: (gst_bin_get_type),
21148 (gst_bin_child_proxy_get_child_by_index),
21149 (gst_bin_child_proxy_get_children_count),
21150 (gst_bin_child_proxy_init):
21151 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21152 (gst_child_proxy_get_child_by_index),
21153 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
21154 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
21155 (gst_child_proxy_get), (gst_child_proxy_set_property),
21156 (gst_child_proxy_set_valist), (gst_child_proxy_set),
21157 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
21158 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
21159 * gst/gstchildproxy.h:
21160 * gst/parse/grammar.y:
21161 * tools/gst-inspect.c: (print_interfaces),
21162 (print_element_properties_info), (print_element_info):
21163 ported gstchildproxy over from 0.8
21164 ported gst-inspect fixes and enhancements over from 0.8
21166 2005-08-22 Wim Taymans <wim@fluendo.com>
21168 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21169 (gst_base_transform_handle_buffer):
21170 Also call the transform function if we have ANY caps.
21172 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
21175 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
21177 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
21178 Don't pretend to handle seek events if the source is not seekable
21180 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
21182 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21183 Remove extra parameter to debug output
21185 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21186 (gst_base_src_do_seek), (gst_base_src_activate_push):
21187 Fix seek event handling.
21189 * gst/gstpipeline.c: (gst_pipeline_change_state):
21190 * gst/gstqueue.c: (gst_queue_handle_sink_event),
21191 (gst_queue_src_activate_push):
21192 Don't start the src pad task on FLUSH_STOP if the pad
21196 2005-08-22 Wim Taymans <wim@fluendo.com>
21198 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21199 Added check for gst_static_caps_get() refcounting.
21201 2005-08-22 Wim Taymans <wim@fluendo.com>
21203 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21204 Make _static_caps_get() refcounting sane.
21206 * gst/gstelement.c: (gst_element_set_state):
21207 Add g_return_val_if_fail() to protect against segfaults.
21209 2005-08-22 Stefan Kost <ensonic@users.sf.net>
21211 * docs/gst/tmpl/gstevent.sgml:
21214 inlined remaining docs, added missing doc comments
21216 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
21218 * check/gst/gstbin.c: (GST_START_TEST):
21219 since we don't know when preroll is done, use refcount range
21221 * gst/check/gstcheck.h:
21222 add macro for checking refcount range
21224 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
21226 * check/Makefile.am:
21227 clean up environment for when registry gets built versus
21228 when actual tests are run; valgrind seems to not report
21229 leaks if GST_PLUGIN_PATH is set to some specific values
21230 * check/gst/gstbin.c: (GST_START_TEST):
21231 add more refcounting checks; maybe this exposes a
21233 * common/check.mak:
21234 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21235 * gst/check/gstcheck.h:
21236 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21237 (gst_bin_change_state):
21238 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21239 add/fix debugging/whitespace
21241 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
21243 * check/gst/gstevent.c: (event_probe), (test_event),
21245 Er, don't call gst_bin_watch_for_state_change you idiot.
21247 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
21249 * check/Makefile.am:
21250 Use CHECK_CFLAGS and CHECK_LIBS
21251 * check/gst/gstevent.c: (event_probe), (test_event),
21254 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21255 (gst_base_src_start), (gst_base_src_stop),
21256 (gst_base_src_activate_push), (gst_base_src_activate_pull),
21257 (gst_base_src_change_state):
21258 Sprinkle gst_base_src_stop liberally around error paths to fix
21259 problems reusing a source after failed state changes.
21260 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21261 (helper_find_suggest), (gst_type_find_helper):
21262 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21264 * docs/gst/tmpl/gstevent.sgml:
21265 Migrate part of the docs from the SGML file. Wait for ensonic to
21266 tell me how I did it wrong ;)
21267 * tools/gst-typefind.c: (main):
21268 Extra robustness to state changes between files.
21270 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
21272 * check/Makefile.am:
21273 don't valgrind the controller test - it's leaking - Stefan, HELP
21274 * gst/check/gstcheck.c: (gst_check_message_error),
21275 (gst_check_chain_func), (gst_check_setup_element),
21276 (gst_check_teardown_element), (gst_check_setup_src_pad),
21277 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21278 (gst_check_teardown_sink_pad):
21279 * gst/check/gstcheck.h:
21280 add a bunch of methods to set up elements, and src and sink pads
21281 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21282 * check/elements/identity.c: (setup_identity), (cleanup_identity),
21285 * gst/gstmessage.c:
21287 whitespace/doc fixes
21289 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21291 * gst/gstelement.h:
21292 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21293 be handled by the application and not always printed as well
21295 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21297 * check/Makefile.am:
21299 * gst/check/gstcheck.c: (gst_check_message_error):
21300 * gst/check/gstcheck.h:
21301 add a fail_unless_equals_int
21302 add fail_unless for error messages
21304 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21306 * check/Makefile.am:
21308 * common/Makefile.am:
21309 * common/check.mak:
21311 factor out some of the common stuff so we can use it
21313 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21315 * check/Makefile.am:
21316 * check/gst/gstiterator.c: (GST_START_TEST):
21317 * check/gst/gstsystemclock.c: (GST_START_TEST),
21318 (gst_systemclock_suite):
21319 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21321 valgrind more tests
21323 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21325 * check/elements/.cvsignore:
21326 * check/elements/gstfakesrc.c:
21327 rename to name of element
21328 * check/elements/identity.c: (chain_func), (event_func),
21329 (setup_identity), (cleanup_identity), (GST_START_TEST),
21330 (identity_suite), (main):
21331 add a test for identity
21332 * check/Makefile.am:
21333 * pkgconfig/Makefile.am:
21334 * pkgconfig/gstreamer-check.pc.in:
21335 * pkgconfig/gstreamer-check-uninstalled.pc.in:
21339 move the check stuff to a library that gets installed
21340 * check/gst-libs/controller.c: (GST_START_TEST):
21341 * check/gst-libs/gdp.c:
21342 * check/gst/gst.c: (GST_START_TEST):
21343 * check/gst/gstbin.c:
21344 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21345 * check/gst/gstbus.c:
21346 * check/gst/gstcaps.c: (GST_START_TEST):
21347 * check/gst/gstelement.c:
21348 * check/gst/gstghostpad.c:
21349 * check/gst/gstiterator.c:
21350 * check/gst/gstmessage.c:
21351 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21352 * check/gst/gstobject.c:
21353 * check/gst/gstpad.c: (GST_START_TEST):
21354 * check/gst/gststructure.c: (GST_START_TEST):
21355 * check/gst/gstsystemclock.c: (GST_START_TEST),
21356 (gst_systemclock_suite):
21357 * check/gst/gsttag.c: (gst_tag_suite):
21358 * check/gst/gstvalue.c:
21359 * check/pipelines/cleanup.c:
21360 * check/pipelines/simple_launch_lines.c:
21361 * check/states/sinks.c:
21362 change include statement
21364 * docs/gst/gstreamer-sections.txt:
21365 * docs/gst/tmpl/gstpad.sgml:
21366 document more pad stuff
21367 * gst/gstminiobject.c: (gst_mini_object_ref),
21368 (gst_mini_object_unref):
21371 2005-08-19 Stefan Kost <ensonic@users.sf.net>
21373 * docs/gst/tmpl/gst.sgml:
21375 eliminate another tmpl file, fix spelling in the long-description
21377 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21379 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21380 (test_event), (timediff), (gstevents_suite):
21381 Should fix build on 64-bit arch's
21383 2005-08-18 Andy Wingo <wingo@pobox.com>
21385 Make sure that when a pipeline goes to PLAYING, that data has
21386 actually hit the sink.
21388 * check/states/sinks.c (test_sink): A sink that doesn't get any
21389 data shouldn't return SUCCESS for going to either PLAYING or
21390 PAUSED. Test also the return values on the way back down.
21392 * gst/gstelement.c (gst_element_set_state): When changing the
21393 state of an element currently changing state asynchronously, go to
21394 lost-state after commiting the pending state. Makes future calls
21395 to get_state continue to return ASYNC.
21397 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21398 ASYNC when going to PLAYING if we still don't have preroll, as can
21399 happen with live sources.
21401 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21403 * docs/pwg/advanced-types.xml:
21404 Hack long paragraph into 2 chunks as a workaround for buggy
21405 jadetex version in sid and breezy that loops infinitely and
21408 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21410 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21411 (test_event), (timediff), (gstevents_suite):
21412 Provide more error margin in clock measurements to allow for
21413 g_get_current_time inaccuracies.
21415 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21417 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21418 (test_event), (timediff), (gstevents_suite):
21419 Fix error message output so I might be able to tell why the
21420 test works here but fails on the build farm.
21422 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21424 * check/Makefile.am:
21425 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21426 (test_event), (timediff), (gstevents_suite), (main):
21429 * docs/design/part-seeking.txt:
21430 Spelling correction
21432 * docs/gst/tmpl/gstevent.sgml:
21433 * docs/gst/tmpl/gstfakesrc.sgml:
21436 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21437 Treat a buffer-without-newsegment the same as a receiving
21438 a newsegment not in time format, and disable syncing to the clock
21441 * gst/gstbus.c: (gst_bus_set_sync_handler):
21442 Assert if anyone tries to replace the existing sync_handler for bus,
21443 as only the owner should be setting it.
21446 Have a fixed set of custom event enums with events identified by
21447 their structure name (as in 0.8), rather than a free-for-all
21448 allowing collisions between enum values from different plugins.
21450 * gst/gstpad.c: (gst_pad_class_init):
21453 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21454 Handle out-of-band downstream events from the sending thread.
21456 2005-08-17 Andy Wingo <wingo@pobox.com>
21458 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21459 play-timeout==0 to mean no timeout at all. In that case, don't
21460 bother with a get_state or a warning, just return directly, even
21463 * gst/base/gstbasetransform.c: Debug changes.
21466 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21467 ensure bins post state change messages. A bit of a hack but I can't
21468 think of a way to avoid it.
21470 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21472 2005-08-16 Andy Wingo <wingo@pobox.com>
21474 * gst/base/gstadapter.h:
21475 * gst/base/gstadapter.c (gst_adapter_take): New function, like
21476 peek() but you own the data. Not terribly efficient atm.
21478 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21480 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21481 (gst_element_found_tags):
21483 Add two utility functions for tag handling.
21485 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21487 * docs/manual/advanced-dataaccess.xml:
21488 * docs/manual/basics-helloworld.xml:
21489 Fix docs to use _bin_add() before _link(), which fixes the examples
21490 with recent core versions (reported by Madhan Raj M
21491 <raj_madan@rediffmail.com>, #313199).
21493 2005-08-16 Wim Taymans <wim@fluendo.com>
21495 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21496 Added subtract checks.
21498 * docs/design/part-events.txt:
21499 Some more docs about newsegment
21501 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21504 * gst/gstcaps.c: (gst_caps_to_string):
21505 Add comments, cleanups.
21507 * gst/gstelement.c: (gst_element_save_thyself):
21510 * gst/gstvalue.c: (gst_value_collect_int_range),
21511 (gst_string_unwrap), (gst_value_union_int_int_range),
21512 (gst_value_union_int_range_int_range),
21513 (gst_value_intersect_int_int_range),
21514 (gst_value_intersect_int_range_int_range),
21515 (gst_value_intersect_double_double_range),
21516 (gst_value_intersect_double_range_double_range),
21517 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21518 (gst_value_subtract_int_range_int),
21519 (gst_value_subtract_double_range_double),
21520 (gst_value_subtract_double_range_double_range),
21521 (gst_value_subtract_from_list), (gst_value_subtract_list),
21522 (gst_value_can_compare), (gst_value_compare_fraction):
21523 Cleanups, add comments, remove unneeded asserts.
21525 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21527 * tools/gst-launch.c: (event_loop):
21528 don't convert NULL structures to strings
21530 2005-08-15 Stefan Kost <ensonic@users.sf.net>
21532 * docs/gst/gstreamer-sections.txt:
21533 made some defines private
21534 * docs/gst/tmpl/gstconfig.sgml:
21535 * docs/gst/tmpl/gstqueue.sgml:
21536 * docs/gst/tmpl/gsttaglist.sgml:
21537 * docs/gst/tmpl/gsttypes.sgml:
21538 * docs/gst/tmpl/gstutils.sgml:
21539 * docs/pwg/appendix-porting.xml:
21540 * gst/base/gstbasesink.h:
21541 * gst/base/gstbasesrc.c:
21542 * gst/base/gstbasesrc.h:
21543 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21544 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21545 * gst/gstelement.c: (gst_element_class_init):
21546 * gst/gstpad.c: (gst_pad_class_init):
21547 * gst/gstqueue.c: (gst_queue_class_init):
21548 * gst/gstxml.c: (gst_xml_class_init):
21549 documented all undocumented signal inline
21550 * libs/gst/controller/gst-controller.h:
21553 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21555 * docs/pwg/appendix-porting.xml:
21556 Document _set_link_function -> _set_setcaps_function.
21558 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21560 * check/Makefile.am:
21561 add a .check target for running the check
21562 * check/gst-libs/controller.c: (GST_START_TEST):
21564 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21565 complete checks for gstbuffer; would be nice if I could get the
21566 gcov stuff to work so I can see if I actually completed gstbuffer.c
21567 * check/gstcheck.h:
21568 add ASSERT_BUFFER_REFCOUNT
21570 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
21572 * docs/gst/gstreamer-sections.txt:
21573 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21575 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21576 spew out a warning if a tag that is already registered
21577 is re-registered, unless it is re-registered with a
21578 different type (#308438).
21580 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
21582 * docs/pwg/appendix-porting.xml:
21583 * docs/pwg/building-state.xml:
21584 Add some paragraphs about state changes in 0.9 to the PWG
21585 and the porting guide, in particular about the new meaning
21586 of GST_STATE_PAUSED and how to write state change functions
21587 with concurrent access by multiple threads in mind.
21589 2005-08-11 Stefan Kost <ensonic@users.sf.net>
21591 * docs/gst/gstreamer-docs.sgml:
21592 * docs/libs/gstreamer-libs-docs.sgml:
21593 added deprecation and since indexes
21594 * libs/gst/controller/gst-controller.c:
21595 * libs/gst/controller/gst-helper.c:
21599 2005-08-11 Wim Taymans <wim@fluendo.com>
21601 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21602 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21603 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21604 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21605 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21606 (gst_ghost_pad_set_target):
21607 Actually implement (re)setting the target on a ghostpad
21608 as described in the docs.
21610 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21612 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21613 Check whether GST_DEBUG_NO_COLOR environment variable is
21614 set and disable coloured debug output if that is the case.
21616 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21618 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21619 (gst_type_find_helper):
21620 The memory returned by gst_type_find_peek() needs to
21621 stay valid until the end of a typefind function, and
21622 typefind functions may keep results from different
21623 offsets around, so we can't just unref the buffer from
21624 the previous _peek(), but have to save all buffers
21625 returned by _peek() until typefinding is done and only
21628 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
21630 * docs/gst/gstreamer-sections.txt:
21632 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21634 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21636 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21637 Fix a pretty good memleak.
21639 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21641 * gst/gstiterator.h:
21642 Fix wrong include and 'make distcheck'.
21644 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21646 * gst/gstbin.c: (bin_bus_handler):
21647 Use gst_element_post_message() instead.
21649 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21651 * gst/base/gstadapter.h:
21652 * gst/base/gstbasesink.h:
21653 * gst/base/gstbasesrc.h:
21654 * gst/base/gstbasetransform.h:
21655 * gst/base/gstcollectpads.h:
21656 * gst/base/gstpushsrc.h:
21657 * gst/gstiterator.h:
21658 Add padding to our base elements' class and instance structs and
21659 to GstIterator (you will need to rebuild all plugins and apps!)
21661 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21663 * gst/gstbin.c: (bin_bus_handler):
21664 Make default message forwarding from child->bus to bin->bus
21665 threadsafe and make it not emit warnings if the parent has no bus.
21667 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21669 * gst/gstelement.c: (activate_pads):
21670 On paused->ready, set pad->caps to NULL, as is the documented
21671 behaviour in this state change. Fixes playback of series of
21672 media files when visualization is enabled in Totem.
21674 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21676 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21677 Allow NULL as filter-caps (which means "any").
21679 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21681 * docs/libs/gstreamer-libs-sections.txt:
21682 * libs/gst/controller/gst-controller.c:
21683 * libs/gst/controller/gst-controller.h:
21684 * libs/gst/controller/gst-helper.c:
21685 adding more entries to the docs and fix small doc-bugs
21687 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21689 * docs/gst/gstreamer-docs.sgml:
21690 * docs/gst/gstreamer-sections.txt:
21691 * docs/gst/gstreamer.types:
21692 * docs/gst/tmpl/gstbasesink.sgml:
21693 * docs/gst/tmpl/gstbasesrc.sgml:
21694 * docs/gst/tmpl/gstbasetransform.sgml:
21695 * docs/gst/tmpl/gstfakesrc.sgml:
21696 * gst/base/gstcollectpads.c:
21697 * gst/base/gstcollectpads.h:
21698 * libs/gst/controller/gst-controller.c:
21699 * libs/gst/controller/gst-controller.h:
21700 * libs/gst/controller/gst-helper.c:
21701 * libs/gst/controller/gst-interpolation.c:
21702 * libs/gst/controller/lib.c:
21703 added long/short desc for controller docs
21704 added collectpads base class docs
21705 added correct includes to base-class docs
21707 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21709 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21710 (gst_test_mono_source_set_property),
21711 (gst_test_mono_source_class_init), (GST_START_TEST),
21712 (gst_controller_suite):
21713 * docs/gst/gstreamer-docs.sgml:
21714 * docs/gst/gstreamer-sections.txt:
21715 * docs/gst/gstreamer.types:
21716 * docs/libs/gstreamer-libs-docs.sgml:
21717 * docs/libs/gstreamer-libs-sections.txt:
21718 * gst/base/gstadapter.c:
21719 * libs/gst/controller/gst-controller.c:
21720 (gst_controlled_property_new), (gst_controlled_property_free),
21721 (gst_controller_new_valist),
21722 (gst_controller_remove_properties_valist),
21723 (gst_controller_sink_values), (_gst_controller_finalize):
21724 * libs/gst/controller/gst-controller.h:
21725 * libs/gst/controller/gst-helper.c:
21726 (gst_object_control_properties), (gst_object_uncontrol_properties),
21727 (gst_object_get_controller), (gst_object_set_controller),
21728 (gst_object_sink_values), (gst_object_get_value_arrays),
21729 (gst_object_get_value_array):
21730 more tests (and fixes) for the controller
21731 more docs for the controller
21732 integrated companies docs for the adapter
21734 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
21736 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21737 (GST_START_TEST), (fakesrc_suite):
21738 add tests for sizetype
21740 2005-08-04 Andy Wingo <wingo@pobox.com>
21742 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21743 fixes buffer_alloc proxying among other things.
21745 * gst/base/gstbasetransform.c:
21746 * gst/base/gstbasetransform.h:
21747 Revert patch to gstbasetransform from 7-28 removing
21750 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21751 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21752 Semantics changed, should return not the size of the output buffer
21753 but the byte size of a buffer with a given caps.
21755 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21757 (gst_base_transform_configure_caps): Don't set out_size here: (in,
21758 out) are not the pad caps until setcaps finishes.
21759 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21760 not-in-place case as well. Deal with changing from in-place to
21761 not-in-place within calling pad_alloc_buffer. Still a bit
21762 concerned about the overhead here...
21764 2005-08-03 Andy Wingo <wingo@pobox.com>
21766 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21767 fixating is an error.
21769 2005-08-04 Edward Hervey <edward@fluendo.com>
21771 * gst/base/gstadapter.h:
21772 Added gst_adapter_get_type() to the header
21774 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21776 * check/Makefile.am:
21777 * check/gst-libs/controller.c:
21778 * libs/gst/controller/gst-controller.c:
21779 (gst_controller_new_valist):
21780 added check test suite for the controller
21781 * gst/base/gstpushsrc.c:
21784 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21786 * docs/gst/Makefile.am:
21787 * docs/gst/gstreamer-docs.sgml:
21788 * docs/gst/gstreamer-sections.txt:
21789 * docs/gst/gstreamer.types:
21790 * docs/gst/tmpl/gstfakesrc.sgml:
21792 * gst/base/gstbasesink.c:
21793 * gst/base/gstbasesink.h:
21794 * gst/base/gstbasesrc.c:
21795 * gst/base/gstbasesrc.h:
21796 * gst/base/gstbasetransform.c:
21797 * gst/base/gstpushsrc.c:
21798 * gst/base/gstpushsrc.h:
21799 add short/long description docs to base classes
21800 add pushsrc to the docs
21801 remove consolidated doc fragments
21803 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21806 * docs/libs/Makefile.am:
21807 * docs/libs/gstreamer-libs-docs.sgml:
21808 * docs/libs/gstreamer-libs-sections.txt:
21809 * docs/libs/gstreamer-libs.types:
21810 * examples/Makefile.am:
21811 * examples/controller/.cvsignore:
21812 * examples/controller/Makefile.am:
21813 * examples/controller/audio-example.c: (main):
21814 * libs/gst/Makefile.am:
21815 * libs/gst/controller/.cvsignore:
21816 * libs/gst/controller/Makefile.am:
21817 * libs/gst/controller/gst-controller.c:
21818 (on_object_controlled_property_changed), (gst_timed_value_compare),
21819 (gst_timed_value_find),
21820 (gst_controlled_property_set_interpolation_mode),
21821 (gst_controlled_property_new), (gst_controlled_property_free),
21822 (gst_controller_find_controlled_property),
21823 (gst_controller_new_valist), (gst_controller_new),
21824 (gst_controller_remove_properties_valist),
21825 (gst_controller_remove_properties), (gst_controller_set),
21826 (gst_controller_set_from_list), (gst_controller_unset),
21827 (gst_controller_get), (gst_controller_get_all),
21828 (gst_controller_sink_values), (gst_controller_get_value_arrays),
21829 (gst_controller_get_value_array),
21830 (gst_controller_set_interpolation_mode),
21831 (_gst_controller_finalize), (_gst_controller_init),
21832 (_gst_controller_class_init), (gst_controller_get_type):
21833 * libs/gst/controller/gst-controller.h:
21834 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21835 (g_object_uncontrol_properties), (g_object_get_controller),
21836 (g_object_set_controller), (g_object_sink_values),
21837 (g_object_get_value_arrays), (g_object_get_value_array):
21838 * libs/gst/controller/gst-interpolation.c:
21839 (gst_controlled_property_find_timed_value_node),
21840 (interpolate_none_get), (interpolate_trigger_get),
21841 (interpolate_trigger_get_value_array):
21842 * libs/gst/controller/lib.c: (gst_controller_init):
21843 * pkgconfig/Makefile.am:
21844 * pkgconfig/gstreamer-control-uninstalled.pc.in:
21845 * pkgconfig/gstreamer-control.pc.in:
21846 * testsuite/Makefile.am:
21847 * testsuite/controller/.cvsignore:
21848 * testsuite/controller/Makefile.am:
21849 * testsuite/controller/interpolator.c: (main):
21850 added controller code
21851 removed dparam pc files
21853 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21854 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21855 (gst_collectpads_stop):
21856 Broadcast the condition when shutting down, to make sure we wake all
21857 threads up. Shut down pads on finalize, for safety.
21859 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21860 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21861 (gst_base_transform_handle_buffer),
21862 (gst_base_transform_change_state):
21863 Handle PAUSED->READY->PAUSED transition after negotiation
21865 * gst/gstmessage.c: (gst_message_init):
21866 Extra piece of debug for new messages.
21868 2005-08-01 Stefan Kost <ensonic@users.sf.net>
21871 * docs/gst/tmpl/gstbasesrc.sgml:
21872 * docs/gst/tmpl/gstelement.sgml:
21873 * docs/gst/tmpl/gstevent.sgml:
21874 * docs/gst/tmpl/gstfakesrc.sgml:
21875 * docs/gst/tmpl/gstformat.sgml:
21876 * docs/gst/tmpl/gstghostpad.sgml:
21877 * docs/gst/tmpl/gstpad.sgml:
21878 * docs/gst/tmpl/gstquery.sgml:
21879 * docs/gst/tmpl/gststructure.sgml:
21880 * docs/gst/tmpl/gsttaglist.sgml:
21881 * docs/gst/tmpl/gstvalue.sgml:
21882 * docs/libs/gstreamer-libs-docs.sgml:
21883 * docs/libs/gstreamer-libs-sections.txt:
21884 * docs/libs/gstreamer-libs.types:
21885 * libs/gst/Makefile.am:
21886 * libs/gst/control/.cvsignore:
21887 * libs/gst/control/Makefile.am:
21888 * libs/gst/control/control.c:
21889 * libs/gst/control/control.h:
21890 * libs/gst/control/dparam.c:
21891 * libs/gst/control/dparam.h:
21892 * libs/gst/control/dparam_smooth.c:
21893 * libs/gst/control/dparam_smooth.h:
21894 * libs/gst/control/dparamcommon.h:
21895 * libs/gst/control/dparammanager.c:
21896 * libs/gst/control/dparammanager.h:
21897 * libs/gst/control/dplinearinterp.c:
21898 * libs/gst/control/dplinearinterp.h:
21899 * libs/gst/control/unitconvert.c:
21900 * libs/gst/control/unitconvert.h:
21901 * testsuite/Makefile.am:
21902 * testsuite/dynparams/.cvsignore:
21903 * testsuite/dynparams/Makefile.am:
21904 * testsuite/dynparams/dparamstest.c:
21905 * tools/Makefile.am:
21906 * tools/gst-inspect.c: (print_element_info), (main):
21907 * tools/gst-xmlinspect.c: (print_element_info), (main):
21908 deactivate and remove dparams (libgstcontrol)
21910 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21912 * gst/elements/gsttypefindelement.c:
21913 (gst_type_find_element_have_type), (gst_type_find_element_init),
21914 (stop_typefinding), (gst_type_find_element_handle_event),
21915 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21916 * gst/elements/gsttypefindelement.h:
21917 Set caps on all outgoing buffers, not just the first one.
21919 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21921 * gst/elements/gsttypefindelement.c:
21922 (gst_type_find_element_have_type),
21923 (gst_type_find_element_check_set_buffer_caps),
21924 (gst_type_find_element_init), (stop_typefinding),
21925 (gst_type_find_element_handle_event),
21926 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21927 * gst/elements/gsttypefindelement.h:
21928 Set caps on first outgoing buffer when we've found the type.
21930 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21932 * docs/gst/gstreamer-docs.sgml:
21933 * docs/gst/gstreamer-sections.txt:
21934 * docs/gst/tmpl/gstscheduler.sgml:
21935 * docs/gst/tmpl/gstschedulerfactory.sgml:
21936 Remove some old cruft from docs.
21938 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
21941 Fix inline docs for GstPadLinkReturn.
21943 * gst/gststructure.c: (gst_structure_has_name):
21944 * gst/gststructure.h:
21945 * docs/gst/gstreamer-sections.txt:
21946 New API: gst_structure_has_name().
21948 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
21951 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21952 and _LARGEFILE_SOURCE in config.h as required. Do not
21953 export those flags in our .pc files any longer (#142209).
21955 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21957 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21958 (gst_file_sink_do_seek), (gst_file_sink_event),
21959 (gst_file_sink_get_current_offset), (gst_file_sink_render):
21960 Redo seek/tell calls with large file support in mind; add some
21961 debugging messages; add log message that tells us when large
21962 file support is unavailable or not enabled for some reason.
21964 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21965 Add log message that tells us when large file support
21966 is unavailable or not enabled for some reason.
21968 2005-07-29 Wim Taymans <wim@fluendo.com>
21970 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21971 Added test for removing an element with ghostpad from a bin.
21972 Fixed test as current implementation does the right thing.
21974 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21975 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21976 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21977 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21978 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21979 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21980 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21981 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21982 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21983 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21984 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21985 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21986 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21987 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21988 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21989 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21990 * gst/gstghostpad.h:
21991 Clean up ghostpads, remove properties for internal stuff.
21994 Prepare for switching targets, not all use cases work yet.
21996 2005-07-29 Wim Taymans <wim@fluendo.com>
21998 * docs/design/part-gstghostpad.txt:
22001 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22002 (gst_bin_remove_func):
22003 Unlinking pads while holding the bin LOCK is not a good
22006 * gst/gstpad.c: (gst_pad_class_init),
22007 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
22008 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
22009 No prob setting template after creating the pad.
22011 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
22013 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
22014 (gst_bus_peek), (gst_bus_source_dispatch),
22015 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
22016 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
22017 gst_bus_poll may be called from other threads. Handle
22018 this nicely by not making poll_data disappear off the
22019 stack once gst_bus_poll returns.
22020 gst_bus_peek now increments the refcount on the returned
22023 2005-07-29 Wim Taymans <wim@fluendo.com>
22025 * docs/design/part-gstghostpad.txt:
22026 Overview of current GhostPad datastructures and use
22027 cases for changing the target.
22029 2005-07-28 Wim Taymans <wim@fluendo.com>
22031 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22032 Added checks for hierarchy consistency whan adding linked
22035 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22036 Added check to test element scheduling without bin/pipeline.
22038 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22039 First add elements to bin, then link.
22041 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22042 (gst_bin_remove_func):
22043 Unlink pads from elements added/removed from bin to maintain
22044 hierarchy consistency.
22046 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22048 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22049 (gst_base_transform_handle_buffer):
22050 * gst/base/gstbasetransform.h:
22051 Remove broken delay_configure (fixes renegotiation of software
22052 scaling pipelines); remove some leftover printf()s.
22054 2005-07-28 Wim Taymans <wim@fluendo.com>
22056 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
22057 Added some more tests for wrong hierarchy
22059 * docs/design/part-overview.txt:
22062 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
22065 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
22066 (gst_element_dispose):
22067 Some more cleanups.
22069 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22070 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
22071 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22072 (gst_pad_set_caps), (gst_pad_send_event):
22073 Check for correct hierarchy when linking pads. Moving to
22074 strict requirement for ghostpads when linking elements in
22078 Clean ups. Added WRONG_HIERARCHY return value.
22080 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22082 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22083 Better debug if no transform is possible.
22085 2005-07-27 Wim Taymans <wim@fluendo.com>
22087 * docs/random/wtay/network-transp:
22088 Some old doc I had.
22090 2005-07-27 Wim Taymans <wim@fluendo.com>
22092 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22093 (gst_dp_event_from_packet):
22094 Fix serialization of seek events.
22096 2005-07-27 Wim Taymans <wim@fluendo.com>
22098 * check/gst-libs/gdp.c: (GST_START_TEST):
22099 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22100 Fix compilation and fix event serialization.
22102 2005-07-27 Wim Taymans <wim@fluendo.com>
22105 * docs/design/part-TODO.txt:
22106 * docs/design/part-events.txt:
22109 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22110 (gst_base_sink_event), (gst_base_sink_do_sync),
22111 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22112 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22113 (gst_base_src_do_seek), (gst_base_src_event_handler),
22114 (gst_base_src_loop):
22115 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22116 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22117 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22118 (gst_base_transform_event), (gst_base_transform_handle_buffer),
22119 (gst_base_transform_set_passthrough),
22120 (gst_base_transform_is_passthrough):
22121 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22122 * gst/elements/gstfilesink.c: (gst_file_sink_event):
22128 * gst/gstelement.c: (gst_element_seek):
22129 * gst/gstelement.h:
22130 Update gst_element_seek.
22132 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
22133 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
22134 (gst_event_new_flush_start), (gst_event_new_flush_stop),
22135 (gst_event_new_eos), (gst_event_new_newsegment),
22136 (gst_event_parse_newsegment), (gst_event_new_tag),
22137 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
22138 (gst_event_parse_qos), (gst_event_new_seek),
22139 (gst_event_parse_seek), (gst_event_new_navigation):
22141 Make GstEvent use GstStructure. Add parsing code, make sure the
22142 API is sufficiently generic.
22143 Mark possible directions of events and serialization.
22145 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
22146 (_gst_message_copy), (gst_message_new_segment_start),
22147 (gst_message_new_segment_done), (gst_message_new_custom),
22148 (gst_message_parse_segment_start),
22149 (gst_message_parse_segment_done):
22152 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22153 (gst_pad_set_caps), (gst_pad_send_event):
22154 Update for new events.
22155 Catch events sent in wrong directions.
22157 * gst/gstqueue.c: (gst_queue_link_src),
22158 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22159 (gst_queue_handle_src_query):
22164 Remove event code from this file.
22166 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22167 (gst_dp_event_from_packet):
22170 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22172 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
22173 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22174 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
22175 Make debugging actually useful.
22177 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22179 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
22180 (gst_pad_fixate_caps):
22181 Implement default fixation once again, so that gst_pad_fixate()
22182 actually does anything at all. This probably needs to be some
22183 sort of a last resort, and use profile-based fixation first, but
22184 since that doesn't exist yet, this is the best we have. Fixes
22185 visualization in Totem.
22187 2005-07-22 Wim Taymans <wim@fluendo.com>
22189 * docs/design/part-events.txt:
22192 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22193 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
22194 (gst_base_sink_activate_pull):
22195 Some more comments.
22197 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22198 (gst_fake_src_create):
22199 Fix handoff marshall.
22201 * gst/elements/gstidentity.c: (gst_identity_class_init),
22202 (gst_identity_transform_ip):
22203 We're a real inplace element.
22205 * gst/gstbus.c: (gst_bus_post):
22206 Added some comments.
22208 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22209 * tests/muxing/case1.c: (main):
22210 * tests/sched/dynamic-pipeline.c: (main):
22211 * tests/sched/interrupt1.c: (main):
22212 * tests/sched/interrupt2.c: (main):
22213 * tests/sched/interrupt3.c: (main):
22214 * tests/sched/runxml.c: (main):
22215 * tests/sched/sched-stress.c: (main):
22216 * tests/seeking/seeking1.c: (event_received), (main):
22217 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22219 * tests/threadstate/threadstate3.c: (main):
22220 * tests/threadstate/threadstate4.c: (main):
22221 * tests/threadstate/threadstate5.c: (main):
22224 2005-07-21 Wim Taymans <wim@fluendo.com>
22226 * docs/design/part-seeking.txt:
22227 Some small additions.
22229 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22230 (gst_base_sink_get_times), (gst_base_sink_do_sync),
22231 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22232 * gst/base/gstbasesink.h:
22233 discont values are gint64, handle the math correctly.
22235 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22236 Make the basesrc report error if the source pad is not linked.
22238 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22239 (gst_queue_loop), (gst_queue_handle_src_query),
22240 (gst_queue_src_activate_push):
22241 Make queue collect data even if the srcpad is not linked.
22242 Start pushing out data as soon as it is linked.
22244 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22246 Added gst_flow_get_name() to ease error reporting.
22248 2005-07-20 Wim Taymans <wim@fluendo.com>
22250 * gst/gstmessage.c: (gst_message_new_segment_start),
22251 (gst_message_new_segment_done), (gst_message_parse_segment_start),
22252 (gst_message_parse_segment_done):
22253 * gst/gstmessage.h:
22254 Added a bunch of messages for advanced seeking.
22256 * gst/parse/grammar.y:
22257 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22258 (gst_dpman_state_changed):
22259 Fix some new-pad -> pad-added signals
22261 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22263 * docs/manual/appendix-porting.xml:
22264 * docs/pwg/appendix-porting.xml:
22265 Document new-pad/state-change signal renames and the FixedList
22268 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22270 * docs/manual/advanced-autoplugging.xml:
22271 * docs/manual/basics-helloworld.xml:
22272 * docs/manual/basics-pads.xml:
22273 * docs/random/ds/0.9-suggested-changes:
22274 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22275 * gst/gstelement.h:
22279 * gst/gststructure.c: (gst_structure_value_get_generic_type),
22280 (gst_structure_parse_array), (gst_structure_parse_value):
22281 * gst/gstvalue.c: (gst_type_is_fixed),
22282 (gst_value_list_prepend_value), (gst_value_list_append_value),
22283 (gst_value_list_get_size), (gst_value_list_get_value),
22284 (gst_value_transform_array_string), (gst_value_serialize_array),
22285 (gst_value_deserialize_array), (gst_value_intersect_array),
22286 (gst_value_is_fixed), (_gst_value_initialize):
22288 GstElement::new-pad -> pad-added, GstElement::state-change ->
22289 state-changed, GstValueFixedList -> GstValueArray, add format and
22290 flags as their own arguments in gst_element_seek() (should improve
22291 "bindeability"), remove function generators since they don't work
22292 under a whole bunch of compilers (they were deprecated already
22295 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22297 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22298 (_gst_debug_register_funcptr):
22300 Fix illegal cast on some platforms (#309253).
22302 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22304 * gst/gstmessage.c: (gst_message_new_custom):
22305 * gst/gstmessage.h:
22306 Add _new_custom, make _new_application a macro to _new_custom.
22308 2005-07-20 Wim Taymans <wim@fluendo.com>
22310 * gst/base/gstbasesrc.c: (gst_base_src_init),
22311 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22312 * gst/base/gstbasesrc.h:
22313 Add a gboolean to decide when to push out a discont.
22315 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22316 (gst_queue_loop), (gst_queue_handle_src_query),
22317 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22318 (gst_queue_set_property), (gst_queue_get_property):
22321 * tests/threadstate/threadstate1.c: (main):
22322 Make a thread test compile and run... very silly..
22325 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22327 * docs/manual/appendix-porting.xml:
22328 Mention removal of libgstgconf-0.9.la and existence of gconf
22331 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22333 * docs/pwg/advanced-clock.xml:
22334 * docs/pwg/appendix-porting.xml:
22335 * docs/pwg/intro-preface.xml:
22336 * docs/pwg/other-base.xml:
22337 * docs/pwg/other-manager.xml:
22338 * docs/pwg/other-nton.xml:
22339 * docs/pwg/other-ntoone.xml:
22340 * docs/pwg/other-oneton.xml:
22341 * docs/pwg/pwg.xml:
22342 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22343 demuxer), remove n-to-n (was never written), fix some code examples
22344 and links and update the porting section to include all this.
22346 2005-07-19 Wim Taymans <wim@fluendo.com>
22348 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22349 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22350 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22351 (gst_queue_src_activate_push), (gst_queue_change_state),
22352 (gst_queue_get_property):
22354 Propagate GstFlowReturn more intelligently upstream and output
22355 an ERROR/EOS when streaming stopped due to fatal error.
22357 2005-07-19 Wim Taymans <wim@fluendo.com>
22359 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22360 Don't block forever for the state change to complete, the
22361 pipeline already did with a sensible timeout.
22363 2005-07-19 Wim Taymans <wim@fluendo.com>
22365 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22366 Make sure we never call the create function is we
22369 2005-07-19 Andy Wingo <wingo@pobox.com>
22371 * gst/parse/parse.l: Attempt to solve bug #172815.
22373 2005-07-19 Wim Taymans <wim@fluendo.com>
22375 * docs/design/part-clocks.txt:
22376 * docs/design/part-events.txt:
22377 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22378 Small docs updates.
22379 Only update the seeking values when we are not
22382 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22384 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22385 Oops, ignore the result of gst_pad_push_event here.
22387 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22389 * gst/base/gstbasesrc.c: (gst_base_src_loop),
22390 (gst_base_src_activate_push):
22391 Send discont event from the loop function, as pads
22392 aren't activated yet in the activate_push handler.
22394 * gst/gstbin.c: (bin_bus_handler):
22395 Don't leak element name.
22397 2005-07-18 Andy Wingo <wingo@pobox.com>
22399 * configure.ac: Use AS_LIBTOOL_TAGS.
22401 2005-07-18 Wim Taymans <wim@fluendo.com>
22403 * docs/gst/gstreamer.types:
22404 Remove deleted types.
22406 2005-07-18 Wim Taymans <wim@fluendo.com>
22408 * check/elements/gstfakesrc.c: (GST_START_TEST):
22411 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22412 (init_popt_callback):
22414 * gst/gst_private.h:
22415 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22416 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22419 * gst/gstconfig.h.in:
22420 * gst/gstelement.c: (gst_element_class_init),
22421 (gst_element_set_base_time), (gst_element_get_base_time),
22422 (iterator_fold_with_resync), (gst_element_change_state),
22423 (gst_element_dispose), (gst_element_get_bus):
22424 * gst/gstelement.h:
22425 * gst/gstelementfactory.h:
22426 * gst/gsterror.c: (_gst_core_errors_init):
22429 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22431 * gst/gstinfo.c: (_gst_debug_init):
22432 * gst/gstmessage.c: (_gst_message_copy):
22433 * gst/gstmessage.h:
22434 * gst/gstminiobject.h:
22437 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22438 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22441 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22442 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22443 (gst_pipeline_get_last_stream_time):
22444 * gst/gstpipeline.h:
22445 * gst/gstpluginfeature.h:
22447 * gst/gstscheduler.c:
22448 * gst/gstscheduler.h:
22449 * gst/gststructure.h:
22450 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22451 (gst_task_finalize), (gst_task_func), (gst_task_create),
22452 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22453 (gst_task_stop), (gst_task_pause):
22455 * gst/gsttypefind.h:
22457 * gst/registries/gstlibxmlregistry.c: (load_feature),
22458 (gst_xml_registry_load), (gst_xml_registry_save_feature):
22459 * gst/registries/gstxmlregistry.c:
22460 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22461 * gst/schedulers/threadscheduler.c:
22462 * libs/gst/control/dparammanager.h:
22463 * tools/gst-inspect.c: (print_element_list),
22464 (print_plugin_features), (print_element_features):
22465 * tools/gst-xmlinspect.c: (print_element_list),
22466 (print_plugin_info), (main):
22467 Removed plugable schedulers.
22468 Removed Scheduler/Manager from elements.
22469 Removed gsttypes.h, rearranged includes.
22470 Removed dependency pad<->element, element<>pipeline, and
22471 various others, fix includes.
22472 implement gst_pad_get_parent() with gst_object_get_parent()
22473 Make GstTask sefcontained.
22474 Fix _get_state() on GstBin, it did not return ASYNC with a 0
22476 Fix endless loop in iterator_fold_with_resync.
22479 2005-07-18 Wim Taymans <wim@fluendo.com>
22485 2005-07-18 Wim Taymans <wim@fluendo.com>
22488 No more cothreads.h
22490 2005-07-18 Wim Taymans <wim@fluendo.com>
22494 Let's remove these.
22496 2005-07-18 Wim Taymans <wim@fluendo.com>
22498 * docs/design/part-dynamic.txt:
22499 * docs/design/part-events.txt:
22500 * docs/design/part-seeking.txt:
22501 Some more docs in the works.
22503 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22504 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22505 (gst_base_transform_setcaps), (gst_base_transform_get_size),
22506 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22507 (gst_base_transform_handle_buffer),
22508 (gst_base_transform_sink_activate_push),
22509 (gst_base_transform_src_activate_pull),
22510 (gst_base_transform_set_passthrough),
22511 (gst_base_transform_is_passthrough):
22514 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22517 * gst/gstevent.c: (gst_event_finalize):
22520 * gst/gstutils.c: (gst_element_unlink),
22521 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22522 (gst_pad_proxy_setcaps):
22524 Add _get_parent_element() to get a pads parent as an element.
22526 2005-07-18 Wim Taymans <wim@fluendo.com>
22528 * check/gst/gstbin.c: (GST_START_TEST):
22531 2005-07-18 Wim Taymans <wim@fluendo.com>
22533 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22534 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22535 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22536 (gst_base_sink_event), (gst_base_sink_do_sync),
22537 (gst_base_sink_chain), (gst_base_sink_loop),
22538 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22539 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22541 Fix logic for returning ASYNC when not prerolled.
22543 2005-07-18 Wim Taymans <wim@fluendo.com>
22545 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22546 Fix nasty refcount bug.
22548 2005-07-16 Philippe Khalaf <burger@speedy.org>
22550 * gst/elements/gstfdsrc.c:
22551 * gst/elements/gstfdsrc.h:
22552 * gst/elements/gstelements.c:
22553 * gst/elements/Makefile.am:
22554 Ported fdsrc to 0.9.
22556 2005-07-16 Wim Taymans <wim@fluendo.com>
22558 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22559 (gst_base_sink_do_sync):
22562 2005-07-16 Wim Taymans <wim@fluendo.com>
22564 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22565 (gst_base_sink_event), (gst_base_sink_get_times),
22566 (gst_base_sink_do_sync), (gst_base_sink_change_state):
22567 * gst/base/gstbasesink.h:
22568 Store and use discont values when syncing buffers as described
22571 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22572 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22573 (gst_base_src_activate_push):
22574 Push discont event when starting.
22576 * gst/elements/gstidentity.c: (gst_identity_transform):
22579 * gst/gstbin.c: (gst_bin_change_state):
22580 Small cleanups in base_time distribution.
22582 * gst/gstelement.c: (gst_element_set_base_time),
22583 (gst_element_get_base_time), (gst_element_change_state):
22584 * gst/gstelement.h:
22585 Added methods for the base_time of the element.
22588 * gst/gstpipeline.c: (gst_pipeline_send_event),
22589 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22590 (gst_pipeline_get_last_stream_time):
22591 * gst/gstpipeline.h:
22593 Handle seeking as described in design doc, remove stream_time
22595 Cleanups clock and stream_time selection code. Added accessors
22596 for the stream_time.
22599 2005-07-16 Andy Wingo <wingo@pobox.com>
22601 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22604 2005-07-16 Wim Taymans <wim@fluendo.com>
22606 * check/gst/gstbin.c: (GST_START_TEST):
22607 Make elements silent as the deep_notify refs the
22608 parent, which might make the test fail.
22610 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22611 Don't hold the lock for too long.
22613 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
22615 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22616 Don't unref the caps we passed to gst_caps_make_writable() after
22617 passing them. gst_caps_make_writable() will do that for us.
22619 2005-07-15 Andy Wingo <wingo@pobox.com>
22621 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22624 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22625 own marshalling function for the handoff signal. Properly type the
22626 buffer as a buffer. Fixes some warnings. Should do a more general
22628 (gst_identity_class_init): Plug into the right marshaller.
22630 2005-07-15 Wim Taymans <wim@fluendo.com>
22632 * docs/design/part-TODO.txt:
22633 * docs/design/part-clocks.txt:
22634 * docs/design/part-element-sink.txt:
22635 * docs/design/part-events.txt:
22636 * docs/design/part-gstpipeline.txt:
22637 Updated docs, mostly DISCONT related.
22639 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
22641 * docs/pwg/building-pads.xml:
22642 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22644 2005-07-15 Andy Wingo <wingo@pobox.com>
22646 * tools/gst-typefind.c: Update, add copyright block.
22648 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22649 Normalize and truncate caps before fixation.
22652 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22653 discards all but the first structure from its argument.
22655 2005-07-15 Wim Taymans <wim@fluendo.com>
22657 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22658 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22659 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22660 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22661 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22662 (gst_base_transform_chain), (gst_base_transform_change_state),
22663 (gst_base_transform_set_passthrough),
22664 (gst_base_transform_is_passthrough):
22665 * gst/base/gstbasetransform.h:
22666 Make passthrough work using the bufferpools.
22667 Changed API a bit, subclasses have to write into a buffer
22668 provided by the base class.
22669 More debug info in nego functions.
22671 * gst/elements/gstidentity.c: (gst_identity_init),
22672 (gst_identity_transform):
22673 Port to new base class.
22675 2005-07-15 Wim Taymans <wim@fluendo.com>
22677 * gst/gstmessage.c: (gst_message_new_state_changed):
22678 * tools/gst-launch.c: (event_loop), (main):
22679 Totally dump messages in -launch with the -m option.
22680 Fix message name for State messages,
22682 2005-07-14 Wim Taymans <wim@fluendo.com>
22684 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22685 Post error messages on errors.
22687 2005-07-14 Wim Taymans <wim@fluendo.com>
22689 * gst/gstcaps.c: (gst_caps_do_simplify):
22693 Define error for stream stopped.
22695 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22696 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22697 Do proper return values.
22699 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22700 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22701 (gst_pad_get_range):
22702 Better return values.
22705 Reorganise return values, add macro to check for fatal errors.
22707 * gst/gstqueue.c: (gst_queue_chain):
22708 Return proper GstFlowReturn values,
22710 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
22712 * docs/gst/gstreamer-sections.txt:
22713 * docs/gst/gstreamer.types:
22714 * docs/gst/tmpl/gst.sgml:
22715 * docs/gst/tmpl/gstbasesink.sgml:
22716 * docs/gst/tmpl/gstbasesrc.sgml:
22717 * docs/gst/tmpl/gstbasetransform.sgml:
22718 * docs/gst/tmpl/gstbin.sgml:
22719 * docs/gst/tmpl/gstbuffer.sgml:
22720 * docs/gst/tmpl/gstcaps.sgml:
22721 * docs/gst/tmpl/gstclock.sgml:
22722 * docs/gst/tmpl/gstcompat.sgml:
22723 * docs/gst/tmpl/gstconfig.sgml:
22724 * docs/gst/tmpl/gstelement.sgml:
22725 * docs/gst/tmpl/gstelementdetails.sgml:
22726 * docs/gst/tmpl/gstelementfactory.sgml:
22727 * docs/gst/tmpl/gstenumtypes.sgml:
22728 * docs/gst/tmpl/gsterror.sgml:
22729 * docs/gst/tmpl/gstevent.sgml:
22730 * docs/gst/tmpl/gstfakesink.sgml:
22731 * docs/gst/tmpl/gstfakesrc.sgml:
22732 * docs/gst/tmpl/gstfilesink.sgml:
22733 * docs/gst/tmpl/gstfilesrc.sgml:
22734 * docs/gst/tmpl/gstfilter.sgml:
22735 * docs/gst/tmpl/gstformat.sgml:
22736 * docs/gst/tmpl/gstghostpad.sgml:
22737 * docs/gst/tmpl/gstimplementsinterface.sgml:
22738 * docs/gst/tmpl/gstindex.sgml:
22739 * docs/gst/tmpl/gstindexfactory.sgml:
22740 * docs/gst/tmpl/gstinfo.sgml:
22741 * docs/gst/tmpl/gstiterator.sgml:
22742 * docs/gst/tmpl/gstmacros.sgml:
22743 * docs/gst/tmpl/gstmemchunk.sgml:
22744 * docs/gst/tmpl/gstminiobject.sgml:
22745 * docs/gst/tmpl/gstobject.sgml:
22746 * docs/gst/tmpl/gstpad.sgml:
22747 * docs/gst/tmpl/gstpadtemplate.sgml:
22748 * docs/gst/tmpl/gstparse.sgml:
22749 * docs/gst/tmpl/gstpipeline.sgml:
22750 * docs/gst/tmpl/gstplugin.sgml:
22751 * docs/gst/tmpl/gstpluginfeature.sgml:
22752 * docs/gst/tmpl/gstquery.sgml:
22753 * docs/gst/tmpl/gstqueue.sgml:
22754 * docs/gst/tmpl/gstregistry.sgml:
22755 * docs/gst/tmpl/gstregistrypool.sgml:
22756 * docs/gst/tmpl/gstscheduler.sgml:
22757 * docs/gst/tmpl/gstschedulerfactory.sgml:
22758 * docs/gst/tmpl/gststructure.sgml:
22759 * docs/gst/tmpl/gstsystemclock.sgml:
22760 * docs/gst/tmpl/gsttaglist.sgml:
22761 * docs/gst/tmpl/gsttagsetter.sgml:
22762 * docs/gst/tmpl/gsttrace.sgml:
22763 * docs/gst/tmpl/gsttrashstack.sgml:
22764 * docs/gst/tmpl/gsttypefind.sgml:
22765 * docs/gst/tmpl/gsttypefindfactory.sgml:
22766 * docs/gst/tmpl/gsttypes.sgml:
22767 * docs/gst/tmpl/gsturihandler.sgml:
22768 * docs/gst/tmpl/gsturitype.sgml:
22769 * docs/gst/tmpl/gstutils.sgml:
22770 * docs/gst/tmpl/gstvalue.sgml:
22771 * docs/gst/tmpl/gstversion.sgml:
22772 * docs/gst/tmpl/gstxml.sgml:
22773 * docs/libs/tmpl/gstcontrol.sgml:
22774 * docs/libs/tmpl/gstdataprotocol.sgml:
22775 * docs/libs/tmpl/gstdparam.sgml:
22776 * docs/libs/tmpl/gstdplinint.sgml:
22777 * docs/libs/tmpl/gstdpman.sgml:
22778 * docs/libs/tmpl/gstdpsmooth.sgml:
22779 * docs/libs/tmpl/gstgetbits.sgml:
22780 * docs/libs/tmpl/gstunitconvert.sgml:
22781 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22782 (gst_push_src_base_init), (gst_push_src_class_init),
22783 (gst_push_src_init), (gst_push_src_create):
22784 * gst/base/gstpushsrc.h:
22785 * gst/elements/gstelements.c:
22786 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22787 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22788 (gst_fake_sink_init), (gst_fake_sink_set_property),
22789 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22790 (gst_fake_sink_event), (gst_fake_sink_preroll),
22791 (gst_fake_sink_render), (gst_fake_sink_change_state):
22792 * gst/elements/gstfakesink.h:
22793 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22794 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22795 (gst_fake_src_base_init), (gst_fake_src_class_init),
22796 (gst_fake_src_init), (gst_fake_src_event_handler),
22797 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22798 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22799 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22800 (gst_fake_src_create_buffer), (gst_fake_src_create),
22801 (gst_fake_src_start), (gst_fake_src_stop):
22802 * gst/elements/gstfakesrc.h:
22803 * gst/elements/gstfilesink.c: (_do_init),
22804 (gst_file_sink_base_init), (gst_file_sink_class_init),
22805 (gst_file_sink_init), (gst_file_sink_dispose),
22806 (gst_file_sink_set_location), (gst_file_sink_set_property),
22807 (gst_file_sink_get_property), (gst_file_sink_open_file),
22808 (gst_file_sink_close_file), (gst_file_sink_query),
22809 (gst_file_sink_event), (gst_file_sink_render),
22810 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22811 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22812 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22813 * gst/elements/gstfilesink.h:
22814 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22815 (gst_file_src_class_init), (gst_file_src_init),
22816 (gst_file_src_finalize), (gst_file_src_set_location),
22817 (gst_file_src_set_property), (gst_file_src_get_property),
22818 (gst_file_src_map_region), (gst_file_src_map_small_region),
22819 (gst_file_src_create_mmap), (gst_file_src_create_read),
22820 (gst_file_src_create), (gst_file_src_is_seekable),
22821 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22822 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22823 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22824 (gst_file_src_uri_handler_init):
22825 * gst/elements/gstfilesrc.h:
22826 more autistic cleanliness in functions/names/defines
22828 2005-07-13 Andy Wingo <wingo@pobox.com>
22830 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22831 source couldn't negotiate.
22833 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22837 * gst/gstutils.c (gst_element_link_pads_filtered): New old
22838 function. I am channeling Hades. Put your boots on suckers!!!
22840 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
22842 * testsuite/caps/Makefile.am:
22843 * testsuite/caps/value_compare.c:
22844 * testsuite/caps/value_intersect.c:
22845 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22846 move two testsuite apps over to the check dir
22848 2005-07-12 Wim Taymans <wim@fluendo.com>
22850 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22851 Added more debug info in the negotiate process.
22853 * gst/gstmessage.h:
22854 Prepare for segment playback.
22856 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22862 * tools/gst-launch.c: (main):
22863 NULL pipeline on errors.
22865 2005-07-12 Andy Wingo <wingo@pobox.com>
22867 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22868 not it comes from a malloc region. Make sure our copy gets freed.
22870 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22872 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22873 * check/gst/gstmessage.c: (GST_START_TEST):
22874 * check/gst/gststructure.c: (GST_START_TEST),
22875 (gst_structure_suite), (main):
22877 * gst/gstelement.c: (gst_element_message_full):
22878 clean up GError and debug string now that they get copied
22879 * gst/gstmessage.c: (gst_message_new_error),
22880 (gst_message_new_warning), (gst_message_parse_error),
22881 (gst_message_parse_warning):
22882 use GST_TYPE_G_ERROR for structure_new, and take copies of
22883 arguments, so that we don't mess up refcounting
22885 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22887 * check/Makefile.am:
22888 add per-test valgrind targets
22889 * check/gst-libs/gdp.c: (GST_START_TEST),
22890 (gst_data_protocol_suite), (main):
22893 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22895 * check/Makefile.am:
22896 instate more valgrindable tests
22897 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22898 (GST_START_TEST), (fakesrc_suite):
22899 * check/gst/gstpad.c: (GST_START_TEST):
22900 * check/gst/gststructure.c: (GST_START_TEST):
22902 * docs/gst/tmpl/gstminiobject.sgml:
22903 * gst/gstpad.c: (gst_pad_finalize):
22904 fix the static mutex leak
22906 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22908 * check/Makefile.am:
22909 add two more tests for valgrinding
22910 * check/gst/gstvalue.c: (GST_START_TEST):
22911 test refcount of deserialized buffer, found a leak
22912 * docs/gst/gstreamer-docs.sgml:
22913 * docs/gst/gstreamer-sections.txt:
22914 * docs/gst/gstreamer.types:
22915 * docs/gst/tmpl/gstminiobject.sgml:
22916 add miniobject to docs
22917 * gst/gstminiobject.c:
22919 * gst/gstvalue.c: (gst_value_deserialize_buffer),
22920 (gst_string_unwrap):
22921 fix a hard-to-find invalid write for one of the tests
22922 fix a leak for deserialized buffers
22924 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22926 * docs/pwg/advanced-events.xml:
22927 * docs/pwg/advanced-request.xml:
22928 * docs/pwg/advanced-scheduling.xml:
22929 * docs/pwg/appendix-porting.xml:
22930 * docs/pwg/building-boiler.xml:
22931 * docs/pwg/intro-preface.xml:
22932 * docs/pwg/other-ntoone.xml:
22933 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22934 of example code and explanation for pad activation, loop() and
22935 getrange() functions and a bit more. Remove old comments pointing
22937 * examples/pwg/Makefile.am:
22938 Add loop/getrange examples.
22940 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22943 check for valgrind binary + some fixes
22945 valgrind suppressions for the tests
22946 * check/Makefile.am:
22947 add a valgrind: target that valgrinds the unit tests
22948 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22949 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22950 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22951 * check/gst/gstghostpad.c:
22953 * check/gst/gstdata.c:
22955 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22956 (thread_unref), (gst_mini_object_suite), (main):
22958 * gst/gst.c: (gst_deinit):
22960 add a method to clean up.
22961 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22962 (gst_system_clock_obtain):
22963 allow for disposing the system clock.
22964 * tools/gst-launch.c: (main):
22967 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22969 * docs/gst/tmpl/gstbasesrc.sgml:
22970 * docs/gst/tmpl/gstfakesrc.sgml:
22971 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22972 (gst_base_src_init), (gst_base_src_set_property),
22973 (gst_base_src_get_property), (gst_base_src_get_range),
22974 (gst_base_src_start):
22975 * gst/base/gstbasesrc.h:
22976 add num-buffers property
22977 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22978 (gst_fakesrc_init), (gst_fakesrc_set_property),
22979 (gst_fakesrc_get_property), (gst_fakesrc_create),
22980 (gst_fakesrc_start):
22981 remove num-buffers property
22983 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22985 * docs/gst/gstreamer-sections.txt:
22986 * docs/gst/tmpl/gstbasesink.sgml:
22987 * docs/gst/tmpl/gstbasesrc.sgml:
22988 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22989 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22990 (gst_base_sink_finalize), (gst_base_sink_set_clock),
22991 (gst_base_sink_set_property), (gst_base_sink_get_property),
22992 (gst_base_sink_handle_object), (gst_base_sink_event),
22993 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22994 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22995 (gst_base_sink_loop), (gst_base_sink_deactivate),
22996 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22997 (gst_base_sink_change_state):
22998 * gst/base/gstbasesink.h:
22999 * gst/base/gstbasesrc.h:
23000 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
23001 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23002 (gst_filesink_init):
23003 more macro splitting
23005 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
23007 * gst/gstelement.c: (gst_element_get_bus):
23009 * tools/gst-launch.c: (check_intr), (event_loop):
23012 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
23014 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
23017 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
23019 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23020 (gst_base_src_finalize):
23021 add finalize method and clean up properly
23022 * gst/gstpipeline.c: (gst_pipeline_dispose):
23025 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
23027 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
23029 add more things to check
23030 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
23031 * gst/gstelement.c:
23034 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
23036 * check/elements/gstfakesrc.c: (chain_func), (event_func),
23037 (GST_START_TEST), (fakesrc_suite):
23038 * check/gst-libs/gdp.c: (GST_START_TEST):
23039 * check/gst/gst.c: (GST_START_TEST):
23040 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23041 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23042 * check/gst/gstbus.c: (GST_START_TEST):
23043 * check/gst/gstcaps.c: (GST_START_TEST):
23044 * check/gst/gstdata.c: (GST_START_TEST):
23045 * check/gst/gstelement.c: (GST_START_TEST):
23046 * check/gst/gstghostpad.c: (GST_START_TEST):
23047 * check/gst/gstiterator.c: (GST_START_TEST):
23048 * check/gst/gstmessage.c: (GST_START_TEST):
23049 * check/gst/gstobject.c: (GST_START_TEST):
23050 * check/gst/gstpad.c: (GST_START_TEST):
23051 * check/gst/gststructure.c: (GST_START_TEST):
23052 * check/gst/gstsystemclock.c: (GST_START_TEST),
23053 (gst_systemclock_suite):
23054 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
23055 * check/gst/gstvalue.c: (GST_START_TEST):
23056 * check/pipelines/cleanup.c: (GST_START_TEST):
23057 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23058 * check/states/sinks.c: (GST_START_TEST):
23059 * check/gstcheck.c: (gst_check_init):
23060 * check/gstcheck.h:
23061 add debugging category
23062 use GST_START_TEST now, so we add a debug line
23064 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
23066 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
23067 add test for state change message on a bin
23068 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
23070 * gst/gstbin.c: (gst_bin_init):
23071 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
23072 * gst/gstelement.c: (gst_element_post_message),
23073 (gst_element_set_state):
23074 * gst/gstelementfactory.c: (gst_element_factory_create):
23075 * gst/gstmessage.c: (gst_message_new):
23076 * gst/gstscheduler.c:
23077 various debugging additions and cleanups
23079 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23081 * check/Makefile.am:
23082 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
23084 adding tests for elements
23085 * gst/gstelement.c: (gst_element_dispose):
23087 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23089 * gst/registries/gstlibxmlregistry.c: (load_feature):
23090 plug more leaks. A simple gst_init() now is leakfree, yay.
23092 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23094 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
23095 (gst_xml_registry_load):
23096 plug another memleak
23098 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23101 use GST_SET_ERROR_CFLAGS
23102 * docs/faq/cvs.xml:
23103 change to ERROR_CFLAGS
23105 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23108 make GST_ERROR_CFLAGS overridable and re-enable Werror
23109 * docs/faq/cvs.xml:
23110 add a note about error CFLAGS
23111 * docs/gst/tmpl/gstfakesrc.sgml:
23112 * gst/elements/gstfakesrc.c:
23113 comment out some unused code
23114 * gst/gst.c: (split_and_iterate):
23115 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
23119 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
23121 * common/Makefile.am:
23122 * common/gtk-doc.mak:
23123 * docs/gst/Makefile.am:
23124 factor out gtk-doc.mak
23126 2005-07-07 Wim Taymans <wim@fluendo.com>
23128 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
23129 (gst_thread_scheduler_dispose):
23130 Unlock the STREAM_LOCK completely.
23132 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
23134 * check/Makefile.am:
23135 * check/elements/.cvsignore:
23136 * check/elements/gstfakesrc.c: (chain_func), (event_func),
23137 (START_TEST), (fakesrc_suite), (main):
23138 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23139 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23140 (gst_fakesrc_create), (gst_fakesrc_start):
23141 * gst/elements/gstfakesrc.h:
23142 adding a first element test
23144 2005-07-07 Andy Wingo <wingo@pobox.com>
23146 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
23149 2005-07-07 Wim Taymans <wim@fluendo.com>
23155 2005-07-07 Wim Taymans <wim@fluendo.com>
23157 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23158 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
23159 Allow subclasses to implement their own negotiation.
23161 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23163 * docs/design/part-gstbin.txt:
23164 * docs/design/part-gstpipeline.txt:
23165 Update design notes to reflect the movement of
23166 responsibility for bus handling from GstPipeline to
23169 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23172 Remove unnecessary queue2/3/4 examples.
23174 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23176 * examples/Makefile.am:
23177 * examples/helloworld/helloworld.c: (event_loop), (main):
23178 * examples/queue/queue.c: (event_loop), (main):
23179 * examples/queue2/queue2.c: (main):
23180 Update a couple of the examples to work again.
23182 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23183 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
23184 Spelling corrections and extra debug.
23186 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
23187 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
23188 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
23190 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23191 (gst_pipeline_change_state):
23192 * gst/gstpipeline.h:
23193 Move the bus handler for children to the GstBin, and create a
23194 separate bus for receiving messages from children to the one the
23195 bus sends 'upwards' on.
23197 2005-07-06 Wim Taymans <wim@fluendo.com>
23200 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23201 (gst_base_sink_handle_object), (gst_base_sink_loop),
23202 (gst_base_sink_change_state):
23203 * gst/base/gstbasesink.h:
23204 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23205 (gst_base_src_init), (gst_base_src_setcaps),
23206 (gst_base_src_getcaps), (gst_base_src_loop),
23207 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23208 (gst_base_src_start), (gst_base_src_change_state):
23209 * gst/base/gstbasesrc.h:
23210 Make basesrc negotiate.
23211 Handle the case where preroll fails in basesink.
23214 2005-07-06 Wim Taymans <wim@fluendo.com>
23216 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23217 Implement the fixate function.
23218 Clean up acceptcaps.
23220 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23222 * docs/pwg/building-filterfactory.xml:
23223 * docs/pwg/pwg.xml:
23224 Remove never-written filter-factory chapter; I'll add the various
23225 base classes to part 4 ("other element types") later on.
23227 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23229 * docs/pwg/advanced-negotiation.xml:
23230 * docs/pwg/building-boiler.xml:
23231 * docs/pwg/building-pads.xml:
23232 * docs/pwg/pwg.xml:
23233 * examples/pwg/Makefile.am:
23234 Add a chapter on caps negotiation, simplify the original code
23235 samples a bit w.r.t. caps negotiation, add link to the advanced
23236 section. Add a bunch of examples showing different use cases of
23237 different types of caps negotiation. Upstream renegotiation isn't
23238 fully documented yet since nobody knows how that works.
23240 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
23242 * check/gst/gstpad.c:
23243 * check/gstcheck.c:
23244 * gst/gstpad.c: (gst_pad_get_internal_links_default):
23245 if pad has no parent, return NULL as list of internal links
23247 2005-07-05 Andy Wingo <wingo@pobox.com>
23249 * gst/elements/gstfilesrc.c:
23250 * gst/elements/gstfakesrc.c:
23251 * gst/base/gstpushsrc.c:
23252 * gst/base/gstbasesrc.h:
23253 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23255 2005-07-05 Stefan Kost <ensonic@users.sf.net>
23258 better report generation target (lcov needs a patch)
23260 2005-07-05 Andy Wingo <wingo@pobox.com>
23262 * gst/elements, testsuite: Null if we got it...
23264 2005-07-05 Wim Taymans <wim@fluendo.com>
23267 * libs/gst/dataprotocol/Makefile.am:
23268 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23269 * libs/gst/dataprotocol/dataprotocol.h:
23270 * pkgconfig/Makefile.am:
23271 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23272 * pkgconfig/gstreamer-dataprotocol.pc.in:
23273 Ported dataprotol to 0.9.
23274 Added pkgconfig files.
23276 2005-07-05 Andy Wingo <wingo@pobox.com>
23278 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23279 Default to returning TRUE for the case when tranform_caps returns
23280 a fixed caps, like for identity or volume.
23282 * check/gst/gstbus.c (pound_bus_with_messages):
23283 * check/gst/gstmessage.c (START_TEST):
23284 * check/pipelines/simple_launch_lines.c (got_handoff): Application
23285 message API change.
23287 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23288 logic weaks here: always run transform_caps, trying passthrough
23289 operation only if the original caps intersects with the transform.
23291 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23292 source and sink caps.
23294 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23295 Intersect the peer caps with the pad template before going into
23297 (gst_base_transform_transform_caps): More debugging.
23299 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23302 2005-07-04 Edward Hervey <edward@fluendo.com>
23306 (gst_pad_add_*_probe): now returns the signal id for better wrapping
23309 2005-07-04 Andy Wingo <wingo@pobox.com>
23311 * check/gst/gstpad.c: Only set explicit caps on pads.
23313 2005-07-01 Andy Wingo <wingo@pobox.com>
23315 * tests/network-clock.scm: Commentary update.
23317 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23318 Didn't really make sense, not implementable with basetransform,
23320 (gst_identity_transform): Unref inbuf via make_writable. Feeble
23321 attempt at implementing the sync property, needs an unlock method.
23323 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23324 New func, by default returns the same caps (the identity
23326 (gst_base_transform_getcaps): Uses transform_caps to return
23327 something sensible.
23328 (gst_base_transform_setcaps): Complicated logic to get caps on
23329 both pads, even if they are different, and to call set_caps once
23330 for every time both pads get their caps set.
23331 (gst_base_transform_handle_buffer): Give the ref to the transform
23332 function. Allows in-place modification of the buffer.
23334 * gst/base/gstbasetransform.h (transform_caps): New class method.
23335 Given caps on one side, what can I do on the other.
23336 (set_caps): Take two caps, one for each side of the element.
23339 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23340 caps in place. This is safe because we can check the mutability of
23341 the caps, and a good idea because fixate functions are just called
23342 as a matter of last resort. (Not actually implemented.)
23343 (gst_pad_set_caps): If the caps we're setting is actually the same
23344 as the existing pad caps, just update the pointer without calling
23345 setcaps. Assert that caps is either NULL or fixed, as per the
23348 * gst/gstghostpad.c: Update for fixate changes.
23350 2005-07-02 Andy Wingo <wingo@pobox.com>
23353 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23354 two refcounts makes it immutable, which is enough. Doc more.
23356 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
23358 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23359 Put the mini_object into GValue as a mini_object,
23360 not a gpointer, since that's how we declared
23363 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23365 * examples/pwg/Makefile.am:
23366 Fix buildbot again.
23368 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23370 * docs/pwg/building-testapp.xml:
23372 * examples/pwg/Makefile.am:
23375 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23378 * examples/Makefile.am:
23379 * examples/pwg/Makefile.am:
23380 * examples/pwg/extract.pl:
23381 Enable building the PWG examples.
23382 * docs/pwg/advanced-interfaces.xml:
23383 Add URI interface stub.
23384 * docs/pwg/advanced-types.xml:
23385 * docs/pwg/other-autoplugger.xml:
23386 * docs/pwg/appendix-porting.xml:
23387 * docs/pwg/pwg.xml:
23388 Add porting guide (mostly stubs), remove autoplugging (see ADM).
23389 * docs/pwg/building-boiler.xml:
23390 * docs/pwg/building-chainfn.xml:
23391 * docs/pwg/building-pads.xml:
23392 * docs/pwg/building-props.xml:
23393 * docs/pwg/building-state.xml:
23394 * docs/pwg/building-testapp.xml:
23395 Update the building-*.xml parts for 0.9 changes. All examples
23396 code blocks compile in examples/pwg/*.
23398 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23400 * docs/manual/advanced-autoplugging.xml:
23401 * docs/manual/appendix-checklist.xml:
23402 * docs/manual/appendix-integration.xml:
23403 * docs/manual/highlevel-components.xml:
23404 Fix playbin/decodebin examples, update docs a bit, mention bus
23405 instead of signals in various places, mention kmplayer and
23406 kaffeine since they have a working GStreamer backend in the KDE
23409 2005-06-30 Wim Taymans <wim@fluendo.com>
23412 * docs/design/draft-ghostpads.txt:
23413 * docs/design/draft-push-pull.txt:
23414 * docs/design/draft-query.txt:
23415 * docs/design/part-TODO.txt:
23416 * docs/design/part-query.txt:
23417 Added CHANGES-0.9 doc, updated status of other docs.
23422 2005-06-30 Wim Taymans <wim@fluendo.com>
23424 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23425 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23426 (gst_base_sink_change_state):
23427 * gst/base/gstbasesink.h:
23428 Some tweaks, only EOS and a buffer complete a preroll.
23430 2005-06-30 Andy Wingo <wingo@pobox.com>
23432 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23433 activate_push down to the internal pad as well.
23435 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
23437 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23439 * gst/gsttaginterface.c:
23440 Some documentation fixes (#307394 and #307397).
23442 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
23444 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23446 * gst/gstvalue.c: (gst_value_intersect_list):
23447 Fix memleak (#309125).
23449 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23451 * docs/manual/advanced-dataaccess.xml:
23452 Fix fakesrc example to compile; doesn't work, bug somewhere...?
23453 * docs/manual/basics-pads.xml:
23454 Add reference for filtered caps to above chapter.
23456 2005-06-30 Wim Taymans <wim@fluendo.com>
23458 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23459 (gst_bin_change_state):
23461 Lame attempt at making the state change function a bit
23464 2005-06-30 Wim Taymans <wim@fluendo.com>
23466 * docs/design/part-clocks.txt:
23467 * docs/design/part-element-sink.txt:
23468 * docs/design/part-events.txt:
23469 * docs/design/part-preroll.txt:
23470 * docs/design/part-states.txt:
23471 Some more tweeks and additions to the docs.
23473 2005-06-30 Wim Taymans <wim@fluendo.com>
23475 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23476 (default_have_data), (gst_pad_class_init), (gst_pad_init),
23477 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23478 (gst_pad_check_pull_range), (gst_pad_get_range),
23479 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23481 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23482 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23483 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23484 (gst_pad_remove_buffer_probe):
23485 Removed atomic operations, use existing LOCK.
23486 Move exception handling out of main code path.
23488 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23490 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23491 (silly_return_true_function), (gst_pad_class_init),
23492 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23493 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23494 (gst_pad_send_event):
23495 Fix accumulator, add default value by using _emitv() instead
23496 of _emit() for signal emission.
23498 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23500 * docs/manual/advanced-dataaccess.xml:
23501 * examples/manual/Makefile.am:
23503 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23506 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
23508 * gst/elements/gstfilesink.c: (gst_filesink_render):
23509 Simplify code so that we don't have to handle short
23510 writes and return GST_FLOW_ERROR if an error occured.
23512 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23514 * docs/gst/gstreamer-docs.sgml:
23515 Remove probes more.
23517 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23519 * docs/gst/gstreamer-sections.txt:
23520 * docs/gst/tmpl/gstpad.sgml:
23521 * docs/gst/tmpl/gstprobe.sgml:
23523 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23524 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23525 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23526 (gst_pad_push_event), (gst_pad_send_event):
23528 * gst/gstutils.c: (gst_pad_add_data_probe),
23529 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23530 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23531 (gst_pad_remove_buffer_probe):
23533 Remove old probes, add new g-signal-based probes and some utility
23536 2005-06-29 Edward Hervey <edward@fluendo.com>
23538 * gst/gstelementfactory.c:
23541 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23542 the definition to the header file.
23544 2005-06-29 Andy Wingo <wingo@pobox.com>
23546 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23547 plugins from the source directory.
23549 2005-06-29 Wim Taymans <wim@fluendo.com>
23551 * docs/gst/tmpl/gstbuffer.sgml:
23552 * docs/gst/tmpl/gstclock.sgml:
23553 Some fixings for blantently wrong text.
23555 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23557 * check/Makefile.am:
23558 * gst/gst.c: (add_path_func), (init_pre):
23559 * gst/gstregistry.c: (gst_registry_add_path):
23560 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23561 only scan the GST_PLUGIN_PATH locations, and not add
23564 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23566 * docs/gst/gstreamer-sections.txt:
23567 * docs/gst/tmpl/gstbasesrc.sgml:
23568 * gst/gstelement.c:
23569 * gst/gstelement.h:
23574 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23576 * docs/manual/advanced-autoplugging.xml:
23577 Fix autoplugging example.
23579 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23581 * docs/manual/advanced-autoplugging.xml:
23582 * docs/manual/mime-world.fig:
23583 Try to get autoplugging working, fix type detection. Fix text
23584 in hello-world image.
23586 2005-06-29 Wim Taymans <wim@fluendo.com>
23588 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23589 (gst_base_sink_change_state):
23593 map SIGNAL and BROADCAST to the right function.
23596 Remove redundant braces.
23598 * gst/gstpad.c: (gst_pad_set_caps):
23599 Don't call setcaps function when reseting caps to NULL.
23601 * gst/gstsystemclock.c: (gst_system_clock_dispose),
23602 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23603 (gst_system_clock_id_unschedule):
23604 Use BROADCAST as this is what we do.
23606 2005-06-29 Wim Taymans <wim@fluendo.com>
23608 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23609 We are actually prerolling before commiting the state
23612 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23614 * docs/manual/advanced-clocks.xml:
23615 * docs/manual/advanced-interfaces.xml:
23616 * docs/manual/advanced-metadata.xml:
23617 * docs/manual/advanced-position.xml:
23618 * docs/manual/advanced-schedulers.xml:
23619 * docs/manual/advanced-threads.xml:
23620 * docs/manual/appendix-porting.xml:
23621 * docs/manual/basics-bins.xml:
23622 * docs/manual/basics-bus.xml:
23623 * docs/manual/basics-elements.xml:
23624 * docs/manual/basics-helloworld.xml:
23625 * docs/manual/basics-pads.xml:
23626 * docs/manual/highlevel-components.xml:
23627 * docs/manual/manual.xml:
23628 * docs/manual/thread.fig:
23629 Update (until threads/scheduling) Application Development Manual;
23630 remove GstThread, add GstBus, add simple porting checklist, add
23631 documentation for tag writing, clocks, make all examples until this
23632 part compile and run.
23633 * examples/manual/Makefile.am:
23634 Update from changes to Application Development Manual; add bus
23635 example, remove thread example.
23637 2005-06-28 Wim Taymans <wim@fluendo.com>
23639 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23640 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23641 (gst_bus_source_dispatch):
23642 Add debugging messages.
23643 Make internal methods static.
23644 Handle the case where the bus is flushed in the handler.
23646 * gst/gstelement.c: (gst_element_get_bus):
23647 Fix refcount in _get_bus();
23649 * gst/gstpipeline.c: (gst_pipeline_change_state),
23650 (gst_pipeline_get_clock_func):
23651 Clock refcounting fixes.
23652 Handle the case where preroll timed out more gracefully.
23654 * gst/gstsystemclock.c: (gst_system_clock_dispose):
23655 Clean up the internal thread in dispose. This is needed
23656 for subclasses that actually get disposed.
23658 * gst/schedulers/threadscheduler.c:
23659 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23660 (gst_thread_scheduler_dispose):
23661 Free thread pool in dispose.
23663 2005-06-28 Andy Wingo <wingo@pobox.com>
23665 * tests/network-clock-utils.scm (debug, print-event): New utils.
23667 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23668 (*packet-loss*): Unified loss probability.
23669 (network-time): Report out-of-band events.
23671 * tests/plot-data: Add support for out-of-band events. Hack it
23672 into this script instead of passing it down the pipe; should fix
23675 2005-06-28 Wim Taymans <wim@fluendo.com>
23677 * docs/gst/gstreamer.types:
23678 * docs/gst/tmpl/gstbasesrc.sgml:
23679 * docs/gst/tmpl/gstpad.sgml:
23682 2005-06-28 Wim Taymans <wim@fluendo.com>
23684 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23685 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23686 (gst_proxy_pad_do_fixatecaps):
23687 Correctly proxy the check_pull_range function.
23689 2005-06-28 Andy Wingo <wingo@pobox.com>
23691 * tests/network-clock.scm: Removed need for slib.
23693 2005-06-28 Wim Taymans <wim@fluendo.com>
23695 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23696 (gst_basesink_preroll_queue_flush):
23697 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23698 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23699 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23700 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23701 (gst_proxy_pad_set_property):
23704 * gst/gstqueue.c: (gst_queue_init):
23705 The deprecated pad loop function is removed now.
23707 2005-06-28 Andy Wingo <wingo@pobox.com>
23709 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23710 New parameters, simulate network packet loss.
23712 * tests/network-clock-utils.scm: Initialize the RNG.
23714 2005-06-28 Wim Taymans <wim@fluendo.com>
23716 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23717 (gst_basesink_event), (gst_basesink_deactivate):
23718 Flushing the preroll queue always needs to unlock the waiters.
23720 2005-06-28 Edward Hervey <edward@fluendo.com>
23722 * gst/gstpipeline.c: (gst_pipeline_send_event):
23723 Wheen a seek was successful on a pipeline, set the stream_time to the
23724 seek offset in order to have a synchronized stream_time.
23726 2005-06-28 Wim Taymans <wim@fluendo.com>
23728 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23729 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23730 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23731 (gst_proxy_pad_do_fixatecaps):
23732 Call wrapper function instead of just calling the function
23733 pointers. This takes care of any locking and whatmore.
23735 2005-06-28 Wim Taymans <wim@fluendo.com>
23737 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23738 (gst_pad_pull_range):
23740 CONNECTED -> LINKED.
23742 2005-06-28 Andy Wingo <wingo@pobox.com>
23744 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23745 source-munging commit!!!
23747 * gst/gstobject.c (gst_object_unref, gst_object_ref)
23748 (gst_object_sink): Take gpointer arguments, not GstObject --
23749 avoids casts. Like GLib.
23751 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23754 2005-06-27 Andy Wingo <wingo@pobox.com>
23756 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23759 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23760 returns a sorted copy of the trace list.
23761 (gst_alloc_trace_print_live): New API, only prints traces with
23762 live objects. Sort the list.
23763 (gst_alloc_trace_print_all): Sort the list.
23764 (gst_alloc_trace_print): Align columns.
23766 * gst/elements/gstttypefindelement.c:
23767 * gst/elements/gsttee.c:
23768 * gst/base/gstbasesrc.c:
23769 * gst/base/gstbasesink.c:
23770 * gst/base/gstbasetransform.c:
23771 * gst/gstqueue.c: Adapt for pad activation changes.
23773 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23775 (gst_pipeline_dispose): Drop ref on sched.
23777 * gst/gstpad.c (gst_pad_init): Set the default activate func.
23778 (gst_pad_activate_default): Push mode by default.
23779 (pre_activate_switch, post_activate_switch): New stubs, things to
23780 do before and after switching activation modes on pads.
23781 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23782 the pad's activate function to choose which mode to activate.
23783 Shortcut on deactivation and call the right function directly.
23784 (gst_pad_activate_pull): New API, (de)activates a pad in pull
23786 (gst_pad_activate_push): New API, same for push mode.
23787 (gst_pad_set_activate_function)
23788 (gst_pad_set_activatepull_function)
23789 (gst_pad_set_activatepush_function): Setters for new API.
23791 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23792 Trace all miniobjects.
23793 (gst_mini_object_make_writable): Unref the arg if we copy, like
23794 gst_caps_make_writable.
23796 * gst/gstmessage.c (_gst_message_initialize): No trace init.
23798 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
23799 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23800 Adapt for new pad API.
23802 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23804 * gst/gstelement.h:
23805 * gst/gstelement.c (gst_element_iterate_src_pads)
23806 (gst_element_iterate_sink_pads): New API functions.
23808 * gst/gstelement.c (iterator_fold_with_resync): New utility,
23809 should fold into gstiterator.c in some form.
23810 (gst_element_pads_activate): Simplified via use of fold and
23811 delegation of decisions to gstpad->activate.
23813 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23816 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23817 class once in init, like gstmessage. Didn't run into this issue
23818 but it seems correct. Don't initialize a trace, gstminiobject does
23821 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23822 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23824 (assert_live_count): New util function, uses alloc traces to check
23827 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23828 To be modified when unlink drops the internal pad.
23830 2005-06-27 Wim Taymans <wim@fluendo.com>
23832 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23833 (gst_bin_change_state):
23834 Cleanup the get_state() function a little, make sure it
23835 iterates the same set of elements.
23836 Added stub iterate_state_order().
23838 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
23840 * docs/gst/gstreamer-docs.sgml:
23841 * docs/gst/gstreamer-sections.txt:
23842 * docs/gst/gstreamer.types:
23843 * docs/gst/tmpl/gstbasesink.sgml:
23844 * docs/gst/tmpl/gstbasesrc.sgml:
23845 * docs/gst/tmpl/gstbasetransform.sgml:
23846 * docs/gst/tmpl/gstelement.sgml:
23847 * docs/gst/tmpl/gstiterator.sgml:
23848 * gst/base/gstbasesrc.c:
23849 * gst/base/gstbasesrc.h:
23850 * gst/base/gstbasetransform.h:
23851 * gst/gstelement.c:
23852 * gst/gstiterator.h:
23853 adding basetransform and iterator docs
23855 2005-06-27 Andy Wingo <wingo@pobox.com>
23857 * docs/design/part-activation.txt: Notes on how activation should
23858 work -- not quite implemented yet.
23860 2005-06-25 Wim Taymans <wim@fluendo.com>
23862 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23863 At least get the chain function correct, needs more
23866 2005-06-25 Wim Taymans <wim@fluendo.com>
23868 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23869 (gst_basesink_handle_object), (gst_basesink_event),
23870 (gst_basesink_do_sync), (gst_basesink_handle_event),
23871 (gst_basesink_change_state):
23873 Right, two problems here: ghostpads don't take locks and
23874 glib _rec_mutex_lock_full() with depth==0 still locks.
23875 Catch illegal locking and g_warn them.
23877 2005-06-25 Wim Taymans <wim@fluendo.com>
23879 * check/states/sinks.c: (START_TEST), (gst_object_suite):
23880 Have to check for completion now...
23882 2005-06-25 Wim Taymans <wim@fluendo.com>
23884 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23885 (gst_basesink_handle_object), (gst_basesink_event),
23886 (gst_basesink_do_sync), (gst_basesink_handle_event),
23887 (gst_basesink_change_state):
23889 Unlock STREAM_LOCK whatever the recursion was.
23891 2005-06-25 Wim Taymans <wim@fluendo.com>
23893 * gst/base/gstbasesink.c: (gst_basesink_set_property),
23894 (gst_basesink_preroll_queue_empty),
23895 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23896 (gst_basesink_event), (gst_basesink_do_sync),
23897 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23898 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23899 (gst_basesink_change_state):
23900 Reworked the base sink, handle event and buffer serialisation
23901 correctly and removed possible deadlock.
23902 Handle EOS correctly.
23904 2005-06-25 Wim Taymans <wim@fluendo.com>
23906 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23907 (gst_pipeline_change_state):
23908 * tools/gst-launch.c: (check_intr), (event_loop), (main):
23909 Allow elements to post EOS in the state change function.
23910 Fix up -launch, make it exit the poll loop when the
23911 pipeline actually changed state.
23912 Fix up warning parsing in -launch.
23914 2005-06-25 Wim Taymans <wim@fluendo.com>
23916 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23917 (gst_tee_sink_activate):
23918 Core takes STREAM_LOCK for us now.
23920 2005-06-25 Wim Taymans <wim@fluendo.com>
23922 * gst/gstelement.c: (gst_element_get_state_func),
23923 (gst_element_set_state):
23924 * gst/gstelement.h:
23925 * gst/gstmessage.c: (gst_message_parse_error),
23926 (gst_message_parse_warning):
23927 Keep track of current target state while performing a state
23928 change so that subclasses can do something interesting.
23929 Fix parsing of warning/error messages when GError is NULL.
23931 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
23933 * docs/gst/Makefile.am:
23934 * docs/gst/gstreamer-docs.sgml:
23935 * docs/gst/gstreamer-sections.txt:
23936 * docs/gst/gstreamer.types:
23937 * docs/gst/tmpl/gstbasesink.sgml:
23938 * docs/gst/tmpl/gstbasesrc.sgml:
23939 * docs/gst/tmpl/gstbin.sgml:
23940 * docs/gst/tmpl/gstcompat.sgml:
23941 * docs/gst/tmpl/gstfakesink.sgml:
23942 * docs/gst/tmpl/gstfakesrc.sgml:
23943 * docs/gst/tmpl/gstfilesink.sgml:
23944 * docs/gst/tmpl/gstfilesrc.sgml:
23945 * docs/gst/tmpl/gstindex.sgml:
23946 * docs/manual/appendix-quotes.xml:
23947 * gst/base/gstbasesrc.h:
23948 * gst/elements/gstfakesrc.h:
23949 * gst/gstmessage.h:
23950 start pulling in base classes and elements in our docs
23952 2005-06-24 Stefan Kost <ensonic@users.sf.net>
23954 * docs/gst/Makefile.am:
23955 * docs/libs/Makefile.am:
23956 fixed make distcheck with gtk-doc 1.3
23958 2005-06-23 Wim Taymans <wim@fluendo.com>
23960 * gst/gstelement.c: (gst_element_get_state_func),
23961 (gst_element_set_state), (gst_element_change_state):
23962 When the state did not change, also report NO_PREROLL
23965 2005-06-23 Wim Taymans <wim@fluendo.com>
23967 * gst/gstpad.c: (gst_pad_event_default):
23968 * gst/gstqueue.c: (gst_queue_loop):
23969 No unsafe task pausing please.
23971 2005-06-23 Wim Taymans <wim@fluendo.com>
23973 * gst/schedulers/threadscheduler.c:
23974 (gst_thread_scheduler_task_start),
23975 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23976 Ref the task before pushing it on the threadpool. This
23977 makes sure that we have a ref when the threadfunction is
23980 2005-06-23 Andy Wingo <wingo@pobox.com>
23982 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23983 offset is greater than the file's size.
23985 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
23986 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23987 * gst/gstobject.c (gst_object_class_init): Make the class lock
23988 recursive. Wim won't let me drop deep_notify. Decodebin works
23989 again, whoopdy doo.
23991 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23992 internal pad, and hacks accordingly. Doesn't do it on the target
23993 pad because we change its caps. Probably catches all cases of
23995 (gst_ghost_pad_set_property): Connect to notify::caps as
23998 * tests/network-clock.scm (plot-simulation): Pipe data to the
23999 elite python skript.
24001 * tests/network-clock-utils.scm (define-parameter): New macro,
24002 defines a parameter that can be set via the command line.
24003 (set-parameter!, parse-parameter-arguments): Command line args
24006 * tests/plot-data: Simple matplotlib-based plotter, takes input on
24009 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
24011 * gst/elements/gsttypefindelement.c:
24012 (gst_type_find_element_handle_event):
24013 Don't restart typefinding on a discont.
24014 * gst/gstelement.c: (gst_element_set_state):
24015 Debug spelling fix.
24016 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
24017 Allow changing mode of an active pad.
24018 Debug output fixes.
24019 * gst/registries/gstlibxmlregistry.c: (load_feature):
24020 Don't cast a static pad template to a normal pad template.
24022 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
24024 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24025 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24026 remove gst_strtoll completely, since it didn't actually do
24027 anything more than what g_ascii_strtoull already does.
24028 check for range errors when deserializing
24029 do a cast for the unsigned cases; but further fixing needs
24030 a decision on what the interpretation of "(int)" and
24031 deserialization should be for values that fall outside the
24032 type's boundaries (ie, refuse, or interpret as casting)
24034 2005-06-23 Wim Taymans <wim@fluendo.com>
24036 * check/Makefile.am:
24037 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
24038 * docs/design/part-live-source.txt:
24039 * docs/design/part-states.txt:
24040 * gst/base/gstbasesrc.c: (gst_basesrc_init),
24041 (gst_basesrc_set_live), (gst_basesrc_is_live),
24042 (gst_basesrc_get_range), (gst_basesrc_activate),
24043 (gst_basesrc_change_state):
24044 * gst/base/gstbasesrc.h:
24045 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24046 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24047 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
24048 * gst/gstelement.c: (gst_element_get_state_func),
24049 (gst_element_set_state):
24050 * gst/gstelement.h:
24052 * tools/gst-launch.c: (event_loop), (main):
24053 Added support for live sources and other elements that
24055 Updated design docs, added live-source design doc.
24056 Implemented live source functionality in basesrc
24057 Fix error condition in _bin_get_state()
24058 Implement live source handling in -launch.
24059 Added check for live sources.
24060 Fixed case in GstBin where elements were changed state
24064 2005-06-23 Andy Wingo <wingo@pobox.com>
24066 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
24067 borken refcounting.
24069 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
24070 gst_caps_replace takes care of this for us.
24072 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
24073 gst_pad_set_caps on the target, not just its setcaps() function.
24075 * tests/network-clock.scm:
24076 * tests/network-clock-utils.scm: A network clock simulator.
24077 Something of an algorithmic testbed before doing something in C.
24079 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
24081 * check/Makefile.am:
24082 * check/gst/capslist.h:
24083 copy over from 0.8, and add two with bitmasks specified with
24085 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24086 add test to parse everything from capslist.h
24087 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
24089 add test for structure deserialization
24090 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24091 add tests for deserialization of strings to int types
24092 * gst/gststructure.c: (gst_structure_nth_field_name):
24093 * gst/gststructure.h:
24094 add a way to get the name of a field referenced by index
24095 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24096 instead of checking if the resulting long long lies between
24097 min and max, we check if the long long would fit into
24098 a number of bytes for the final type.
24099 This fixes cases where a string represents 2^32 - 1, which
24100 when cast to int would be the (valid) -1, but is bigger than
24103 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
24105 * gst/parse/grammar.y:
24106 add a log line for type deserialization
24108 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
24110 * check/gst/gstvalue.c: (START_TEST):
24111 * gst/gstvalue.c: (gst_value_deserialize):
24112 return long long, not int, so gint64 deserialization actually
24113 works. Is there any flag that makes the compiler check this ?
24116 2005-06-22 Wim Taymans <wim@fluendo.com>
24119 Added convenience macros for setting buffers in GValue.
24121 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
24123 * check/gst/.cvsignore:
24124 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24125 add a test deserializing int64, and comment part out because
24128 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
24130 * check/Makefile.am:
24131 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
24132 * testsuite/Makefile.am:
24133 * testsuite/caps/Makefile.am:
24134 * testsuite/caps/value_serialize.c:
24135 * testsuite/test_gst_init.c:
24136 move a value_serialize test over
24138 2005-06-20 Wim Taymans <wim@fluendo.com>
24143 * gst/gstvalue.c: (gst_value_compare_buffer),
24144 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
24145 (gst_value_compare_flags), (gst_value_serialize_flags),
24146 (gst_value_deserialize_flags), (_gst_value_initialize):
24147 Fix serialisation of buffers, they are not boxed types anymore
24149 2005-06-20 Wim Taymans <wim@fluendo.com>
24151 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24152 Testcase to show error in buffer-on-caps serialisation.
24154 2005-06-20 Andy Wingo <wingo@pobox.com>
24156 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
24157 will be adding to later.
24159 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
24160 if its socks fill with rocks.
24161 (gst_system_clock_obtain): Set the name on object construction.
24162 Avoid double-checked locking.
24164 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
24166 * gst/gsturi.c: (gst_element_make_from_uri):
24167 Fix potential endless loop.
24169 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24171 * check/Makefile.am:
24173 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
24175 move over from testsuite dir and clean up
24178 * testsuite/Makefile.am:
24179 * testsuite/tags/.cvsignore:
24180 * testsuite/tags/Makefile.am:
24181 * testsuite/tags/merge.c:
24182 remove testsuite/tags
24184 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24186 * docs/gst/gstreamer-sections.txt:
24187 * docs/gst/tmpl/gstenumtypes.sgml:
24188 * win32/gstenumtypes.c:
24189 clean up documentation build a little
24191 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24193 * check/gstcheck.h:
24194 add macros for checking refcounts on objects and caps
24195 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24196 add some more unit tests
24197 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24198 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24199 fix leaked refcounts (I hope :)) so unittest works
24203 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24205 * configure.ac: back to HEAD
24207 === release 0.9.1 ===
24209 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
24215 2005-06-17 Andy Wingo <wingo@pobox.com>
24217 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24218 assert; it's always possible that the pad gets deactivated in
24219 between the checks in gstpad.c and the implementation. Rely on
24220 finish_preroll() to return a FLUSHING or similar instead of on the
24223 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24224 clock and post an EOS message if we come out of finish_preroll in
24227 2005-06-16 David Schleef <ds@schleef.org>
24229 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24230 (gst_capsfilter_set_property): Allow NULL as possible value
24231 for filter_caps property, indicating GST_CAPS_ANY.
24233 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
24235 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24237 * gst/schedulers/Makefile.am:
24239 * gstreamer.spec.in:
24242 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
24244 * gstreamer.spec.in:
24247 2005-06-08 Andy Wingo <wingo@pobox.com>
24249 * gst/gstutils.c: RPAD fixes all around.
24250 (gst_element_link_pads): Refcounting fixes.
24252 * tools/gst-inspect.c:
24253 * tools/gst-xmlinspect.c:
24255 * gst/base/gsttypefindhelper.c:
24256 * gst/base/gstbasesink.c:
24257 * gst/gstqueue.c: RPAD fixes.
24259 * gst/gstghostpad.h:
24260 * gst/gstghostpad.c: New ghost pad implementation as full proxy
24261 pads. The tricky thing is they provide both source and sink
24262 interfaces, since they proxy the internal pad for the external
24263 pad, and vice versa. Implement with lower-level ProxyPad objects,
24264 with the interior proxy pad as a child of the exterior ghost pad.
24265 Should write a doc on this.
24267 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24268 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24271 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24272 pads are real pads. No ghost pads in this file. Not documenting
24273 the myriad s/RPAD/PAD/ and REALIZE fixes.
24274 (gst_pad_class_init): Add properties for "direction" and
24275 "template". Both are construct-only, so they can't change during
24276 the life of the pad. Fixes properly deriving from GstPad.
24277 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24278 derived objects, just set properties when creating the objects via
24280 (gst_pad_get_parent): Implement as a function, return NULL if the
24281 parent is not an element.
24282 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24283 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24285 * gst/gstobject.c (gst_object_class_init): Make name a construct
24286 property. Don't set it in the object init.
24288 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24289 with UNKNOWN direction.
24290 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24291 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24292 (gst_element_remove_pad): Remove ghost-pad special cases.
24293 (gst_element_pads_activate): Remove rpad cruft.
24295 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24296 catch the pad's-parent-not-an-element case.
24298 * gst/gst.h: Include gstghostpad.h.
24300 * gst/gst.c (init_post): No more real, ghost pads.
24302 * gst/Makefile.am: Add gstghostpad.[ch].
24304 * check/Makefile.am:
24305 * check/gst/gstbin.c:
24306 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24307 into a bin creates ghost pads, and that the refcounts are right.
24308 Partly moved from gstbin.c.
24310 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24312 * check/gst-libs/.cvsignore:
24313 * check/gst/.cvsignore:
24314 * check/pipelines/.cvsignore:
24316 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24317 (START_TEST), (cleanup_suite), (main):
24318 add some tests related to cleanup after running pipelines
24320 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24322 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24323 add a testsuite for GstBuffer
24325 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24327 * gst/gstminiobject.h:
24328 add defines for accessing the refcount
24330 2005-06-03 Stefan Kost <ensonic@users.sf.net>
24332 * Makefile.am: added support for html unit test coverage reports
24334 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
24336 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24337 Free existing caps if the capsfilter changes. Add a FIXME about
24338 setting those caps on the pads.
24340 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24341 Before adding a ghost pad to a parent bin, check that there isn't
24342 already one for the element on the bin. Prevents infinite recursion
24343 when using decodebin in parse pipelines. Andy says he'll rewrite the
24344 way this works anyway, so ignore the hack.
24346 2005-06-02 Andy Wingo <wingo@pobox.com>
24348 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24349 file size, pass it on to the type find helper.
24351 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24352 segment_start and segment_end properly according to the seek
24353 method. Segment_end is still a bit flaky because offset can be
24354 negative for CUR and END cases, but it takes -1 as an "unset"
24357 2005-06-02 Wim Taymans <wim@fluendo.com>
24359 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24360 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24361 (gst_basesink_activate):
24362 * gst/base/gstbasesink.h:
24363 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24364 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24365 (gst_pad_query), (gst_pad_start_task):
24367 * gst/gstqueue.c: (gst_queue_bufferalloc),
24368 (gst_queue_handle_sink_event), (gst_queue_chain):
24369 Bufferalloc: return GstFlowReturn to more accuratly report
24370 why allocation failed.
24372 2005-06-02 Wim Taymans <wim@fluendo.com>
24374 * gst/gstpipeline.c: (gst_pipeline_send_event):
24375 Take snapshot of state without blocking.
24377 2005-06-02 Wim Taymans <wim@fluendo.com>
24379 * docs/design/part-TODO.txt:
24380 * docs/design/part-caps.txt:
24381 * docs/design/part-clocks.txt:
24382 * docs/design/part-negotiation.txt:
24383 * docs/design/part-preroll.txt:
24386 2005-05-30 Wim Taymans <wim@fluendo.com>
24388 * gst/elements/gstidentity.c: (gst_identity_event),
24389 (gst_identity_transform), (gst_identity_get_property):
24390 Protect last_message property as it is accessed from
24393 2005-05-30 Wim Taymans <wim@fluendo.com>
24395 * gst/gstelement.c: (gst_element_init),
24396 (gst_element_pads_activate), (gst_element_change_state):
24397 Slicker pad activation code.
24399 2005-05-30 Wim Taymans <wim@fluendo.com>
24402 * gst/gstelement.h:
24403 * gst/gstelementfactory.h:
24405 Move elementfactory methods to separate .h file.
24407 2005-05-30 Wim Taymans <wim@fluendo.com>
24409 * docs/design/part-overview.txt:
24410 * gst/gstsystemclock.h:
24411 Small typo fixes, doc updates.
24413 2005-05-30 Wim Taymans <wim@fluendo.com>
24415 * gst/gst.c: (gst_init_get_popt_table), (init_post),
24416 (init_popt_callback):
24417 Remove cpu-opt flag.
24419 2005-05-30 Wim Taymans <wim@fluendo.com>
24421 * gst/gstbuffer.c: (gst_subbuffer_finalize),
24422 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24424 Avoid typechecking in places where not needed.
24425 Added accessor for malloc_data.
24427 2005-05-30 Wim Taymans <wim@fluendo.com>
24429 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24430 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24431 (gst_pad_configure_sink), (gst_pad_configure_src),
24432 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24433 (gst_pad_start_task):
24434 Propagate errors from _set_caps() in configure_src/sink
24435 functions instead of returning TRUE.
24436 FLUSH events can travel up and downstream
24439 2005-05-30 Wim Taymans <wim@fluendo.com>
24441 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24442 (gst_basesink_activate):
24443 Handle EOS in preroll.
24445 2005-05-30 Wim Taymans <wim@fluendo.com>
24447 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24448 (gst_queue_loop), (gst_queue_handle_src_event):
24449 Remove old pieces of code
24450 Flushing the queue in an upstream event is a very bad idea.
24452 2005-05-26 Andy Wingo <wingo@pobox.com>
24454 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24455 gst_value_set_mini_object so as to add a ref on the object (which
24456 will be removed when the value is unset).
24458 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24459 arg type in ::handoff.
24461 * gst/gstelement.c (gst_element_change_state): Also deactivate
24462 pads in READY->NULL, just in case the element didn't make it to
24463 PAUSED. Wingo tested, Wim approved.
24465 2005-05-26 Wim Taymans <wim@fluendo.com>
24467 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24468 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24469 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24470 A flushing pad cannot be used to alloc_buffer from.
24472 2005-05-26 Wim Taymans <wim@fluendo.com>
24474 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24475 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24476 (gst_bus_source_dispatch), (gst_bus_source_finalize),
24477 (gst_bus_create_watch), (gst_bus_add_watch_full):
24479 Implement a real GSource and use g_main_context_wakeup() to
24480 signal new messages instead of the socketpair.
24482 2005-05-25 Wim Taymans <wim@fluendo.com>
24484 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24485 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24486 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24487 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24488 (gst_pad_send_event), (gst_pad_start_task):
24489 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24490 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24491 (gst_queue_sink_activate), (gst_queue_src_activate),
24492 (gst_queue_change_state):
24494 Fix state changes for non sinks. We now change sinks, then elements
24495 with unconnected srcpads, then the rest.
24496 More efficient queue unlocking in flush and state changes.
24497 Set the pad activate mode even if it does not have an activate
24500 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24502 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24503 Don't go in pull mode for non-seekable sources.
24504 * gst/elements/gsttypefindelement.h:
24505 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24506 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24507 (free_entry), (stop_typefinding),
24508 (gst_type_find_element_handle_event), (find_peek),
24509 (gst_type_find_element_chain), (do_pull_typefind),
24510 (gst_type_find_element_change_state):
24511 Allow typefinding (w/o seeking) in push-mode, simplified version
24512 of what was in 0.8.
24513 * gst/gstutils.c: (gst_buffer_join):
24515 gst_buffer_join() from 0.8.
24517 2005-05-25 Wim Taymans <wim@fluendo.com>
24519 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24520 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24521 (gst_pad_send_event), (gst_pad_start_task):
24522 Disable attempt at mode switching until it is figured out.
24524 2005-05-25 Wim Taymans <wim@fluendo.com>
24526 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24527 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24528 (gst_basesink_finish_preroll), (gst_basesink_chain),
24529 (gst_basesink_loop), (gst_basesink_activate),
24530 (gst_basesink_change_state):
24531 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24532 (gst_basesrc_get_range), (gst_basesrc_loop),
24533 (gst_basesrc_activate):
24534 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24535 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24536 (gst_real_pad_init), (gst_real_pad_set_property),
24537 (gst_real_pad_get_property), (gst_pad_set_active),
24538 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24539 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24540 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24541 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24542 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24543 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24544 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24545 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24546 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24547 (gst_pad_stop_task):
24549 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24550 (gst_queue_loop), (gst_queue_src_activate):
24551 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24552 (gst_task_get_state):
24554 * gst/schedulers/threadscheduler.c:
24555 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24556 Implement gst_pad_pause/start/stop_task(), take STREAM lock
24558 Remove ACTIVE pad flag, use FLUSHING everywhere
24559 Added _pad_chain(), _pad_get_range() to call chain/getrange
24561 Add locks around IS_FLUSHING when reading.
24562 Take STREAM lock in chain(), get_range() functions so plugins
24563 don't need to take it anymore.
24567 2005-05-25 Wim Taymans <wim@fluendo.com>
24569 * tools/gst-launch.c: (event_loop):
24570 Unref message after using its contents instead of
24573 2005-05-24 Wim Taymans <wim@fluendo.com>
24575 * docs/design/draft-ghostpads.txt:
24576 * docs/design/draft-push-pull.txt:
24577 * docs/design/draft-query.txt:
24578 * docs/design/part-overview.txt:
24579 Docs updates, added general overview doc.
24581 2005-05-21 David Schleef <ds@schleef.org>
24583 * docs/gst/tmpl/old/GstBin.sgml:
24584 * docs/gst/tmpl/old/GstBuffer.sgml:
24585 * docs/gst/tmpl/old/GstCaps.sgml:
24586 * docs/gst/tmpl/old/GstClock.sgml:
24587 * docs/gst/tmpl/old/GstCompat.sgml:
24588 * docs/gst/tmpl/old/GstData.sgml:
24589 * docs/gst/tmpl/old/GstElement.sgml:
24590 * docs/gst/tmpl/old/GstEvent.sgml:
24591 * docs/gst/tmpl/old/GstIndex.sgml:
24592 * docs/gst/tmpl/old/GstStructure.sgml:
24593 * docs/gst/tmpl/old/GstTag.sgml:
24594 * docs/gst/tmpl/old/cothreads.sgml:
24595 * docs/gst/tmpl/old/cothreads_compat.sgml:
24596 * docs/gst/tmpl/old/gettext.sgml:
24597 * docs/gst/tmpl/old/gobject2gtk.sgml:
24598 * docs/gst/tmpl/old/grammar.tab.sgml:
24599 * docs/gst/tmpl/old/gst-i18n-app.sgml:
24600 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24601 * docs/gst/tmpl/old/gst_private.sgml:
24602 * docs/gst/tmpl/old/gstaggregator.sgml:
24603 * docs/gst/tmpl/old/gstarch.sgml:
24604 * docs/gst/tmpl/old/gstatomic_impl.sgml:
24605 * docs/gst/tmpl/old/gstbufferstore.sgml:
24606 * docs/gst/tmpl/old/gstdata_private.sgml:
24607 * docs/gst/tmpl/old/gstdisksink.sgml:
24608 * docs/gst/tmpl/old/gstdisksrc.sgml:
24609 * docs/gst/tmpl/old/gstelementfactory.sgml:
24610 * docs/gst/tmpl/old/gstextratypes.sgml:
24611 * docs/gst/tmpl/old/gstfakesink.sgml:
24612 * docs/gst/tmpl/old/gstfakesrc.sgml:
24613 * docs/gst/tmpl/old/gstfdsink.sgml:
24614 * docs/gst/tmpl/old/gstfdsrc.sgml:
24615 * docs/gst/tmpl/old/gstfilesink.sgml:
24616 * docs/gst/tmpl/old/gstfilesrc.sgml:
24617 * docs/gst/tmpl/old/gsthttpsrc.sgml:
24618 * docs/gst/tmpl/old/gstidentity.sgml:
24619 * docs/gst/tmpl/old/gstindexfactory.sgml:
24620 * docs/gst/tmpl/old/gstmarshal.sgml:
24621 * docs/gst/tmpl/old/gstmd5sink.sgml:
24622 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24623 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24624 * docs/gst/tmpl/old/gstpadtemplate.sgml:
24625 * docs/gst/tmpl/old/gstpipefilter.sgml:
24626 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24627 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24628 * docs/gst/tmpl/old/gstshaper.sgml:
24629 * docs/gst/tmpl/old/gstspider.sgml:
24630 * docs/gst/tmpl/old/gstspideridentity.sgml:
24631 * docs/gst/tmpl/old/gststatistics.sgml:
24632 * docs/gst/tmpl/old/gsttee.sgml:
24633 * docs/gst/tmpl/old/gsttimecache.sgml:
24634 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24635 * docs/gst/tmpl/old/gstxmlregistry.sgml:
24636 * docs/gst/tmpl/old/gthread-cothreads.sgml:
24637 * docs/gst/tmpl/old/types.sgml:
24638 I didn't intend to add these or check them in.
24640 2005-05-19 David Schleef <ds@schleef.org>
24642 * configure.ac: Use -no-common everywhere. In a sane world, it
24643 would be the default in libtool, because without it, you can't
24644 build DLLs on Windows.
24645 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24646 * docs/gst/gstreamer-sections.txt:
24647 * docs/gst/tmpl/gstcpu.sgml:
24648 * docs/gst/tmpl/gstdata.sgml:
24649 * docs/gst/tmpl/gstthread.sgml:
24651 2005-05-19 David Schleef <ds@schleef.org>
24653 * gst/gstminiobject.c: (gst_value_set_mini_object),
24654 (gst_value_take_mini_object), (gst_value_get_mini_object):
24655 * gst/gstminiobject.h: Add GValue set/get functions.
24657 2005-05-19 Wim Taymans <wim@fluendo.com>
24659 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24660 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24661 (gst_subbuffer_init), (gst_buffer_is_span_fast):
24663 * gst/gstbus.c: (gst_bus_post):
24664 * gst/gstelement.c: (gst_element_get_random_pad):
24665 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24666 Make subbufer unref the parent in finalize.
24667 some more debugging info.
24670 2005-05-19 Wim Taymans <wim@fluendo.com>
24672 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24673 (gst_basesink_init), (gst_basesink_finalize),
24674 (gst_basesink_activate), (gst_basesink_change_state):
24675 Don't free preroll queue too early.
24677 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24681 Hi, I'm outdated. Please shoot me.
24683 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24685 * gst/gstpipeline.c: (gst_pipeline_send_event):
24686 Do not access variables after they have been deleted.
24688 2005-05-19 Wim Taymans <wim@fluendo.com>
24690 * tools/gst-inspect.c: (print_plugin_features):
24691 A plugin feature does unfortunatly not use the
24694 2005-05-18 Wim Taymans <wim@fluendo.com>
24696 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24697 Port _span() functions to new subbuffers.
24699 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24701 * gst/gstbin.c: (gst_bin_add_func):
24702 Fix clock settery in bins when adding kids after the clock has
24705 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24707 * gst/elements/gstidentity.c: (gst_identity_class_init):
24708 Workaround until signals support GstMiniObject.
24710 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
24713 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24715 2005-05-18 Wim Taymans <wim@fluendo.com>
24717 * gst/base/Makefile.am:
24718 * gst/base/gstadapter.c: (gst_adapter_base_init),
24719 (gst_adapter_class_init), (gst_adapter_init),
24720 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24721 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24722 (gst_adapter_flush), (gst_adapter_available),
24723 (gst_adapter_available_fast):
24724 * gst/base/gstadapter.h:
24725 Ported and added adapter to the base classes.
24727 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24730 * gst/gstmessage.c:
24731 Make sure the class is reffed/unreffed once before threads can be
24732 used. Fixes #304551.
24734 2005-05-17 Wim Taymans <wim@fluendo.com>
24736 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24737 (gst_basesink_chain_unlocked), (gst_basesink_activate):
24738 * gst/gstminiobject.c: (gst_mini_object_get_type),
24739 (gst_mini_object_free):
24740 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24741 (gst_pad_push), (gst_pad_push_event):
24742 * gst/gstqueue.c: (gst_queue_change_state):
24743 Don't queue buffers in basesink when we are flushing.
24744 Unref buffer when flushing in basesink.
24745 Flush queue when going to READY
24746 Unref buffer when _push() returns an error.
24747 Don't free MiniObject instance when refcount is incremented
24748 in _finalize() so that we can recover objects.
24750 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
24752 * docs/manual/advanced-schedulers.xml:
24753 * docs/manual/appendix-checklist.xml:
24754 * docs/pwg/advanced-clock.xml:
24755 * docs/pwg/advanced-interfaces.xml:
24756 * docs/pwg/advanced-request.xml:
24757 * docs/pwg/advanced-types.xml:
24758 * docs/pwg/intro-preface.xml:
24759 * examples/plugins/example.c: (gst_example_get_type),
24760 (gst_example_class_init), (gst_example_chain),
24761 (gst_example_set_property), (gst_example_get_property),
24762 (gst_example_change_state), (plugin_init):
24763 * examples/plugins/example.h:
24766 2005-05-17 Wim Taymans <wim@fluendo.com>
24768 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24769 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24770 * gst/gstqueue.c: (gst_queue_change_state):
24771 Clear queue when going to READY.
24772 Remove IN_SETCAPS flag too.
24774 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
24776 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24777 Remove implicit cast from gboolean to GstElementStateReturn;
24778 make sure we still return failure in paused => ready case if
24779 the parent class fails to change state and our own stop
24782 2005-05-17 Wim Taymans <wim@fluendo.com>
24784 * tools/gst-launch.c: (event_loop):
24785 Message was unreffed too soon.
24787 2005-05-16 Andy Wingo <wingo@pobox.com>
24789 * gst/gstbin.c (sink_iterator_filter): Err... um...
24791 * check/gst/gstbin.c (test_ghost_pads): New test for the
24792 ghosting-if-elements-not-in-same-bin behavior.
24794 2005-05-16 David Schleef <ds@schleef.org>
24796 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24797 accessing refcount directly.
24799 2005-05-15 David Schleef <ds@schleef.org>
24801 * check/Makefile.am: remove GstData checks
24802 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24803 * gst/Makefile.am: add miniobject, remove data
24804 * gst/gst.h: add miniobject, remove data
24805 * gst/gstdata.c: remove
24806 * gst/gstdata.h: remove
24807 * gst/gstdata_private.h: remove
24808 * gst/gsttypes.h: remove GstEvent and GstMessage
24809 * gst/gstelement.c: (gst_element_post_message): fix for API changes
24810 * gst/gstmarshal.list: change BOXED -> OBJECT
24812 Implement GstMiniObject.
24813 * gst/gstminiobject.c:
24814 * gst/gstminiobject.h:
24816 Modify to be subclasses of GstMiniObject.
24817 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24818 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24819 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24820 (gst_subbuffer_get_type), (gst_subbuffer_init),
24821 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24824 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24825 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24826 (_gst_event_copy), (gst_event_new):
24828 * gst/gstmessage.c: (_gst_message_initialize),
24829 (gst_message_get_type), (gst_message_class_init),
24830 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24831 (gst_message_new), (gst_message_new_error),
24832 (gst_message_new_warning), (gst_message_new_tag),
24833 (gst_message_new_state_changed), (gst_message_new_application):
24834 * gst/gstmessage.h:
24835 * gst/gstprobe.c: (gst_probe_perform),
24836 (gst_probe_dispatcher_dispatch):
24838 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24839 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24840 (_gst_query_copy), (gst_query_new):
24842 Update elements for GstData -> GstMiniObject changes
24844 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24845 (gst_queue_chain), (gst_queue_loop):
24846 * gst/elements/gstbufferstore.c:
24847 (gst_buffer_store_add_buffer_func),
24848 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24849 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24850 (gst_fakesink_render):
24851 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24852 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24853 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24854 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24855 (gst_filesrc_create_read):
24856 * gst/elements/gstidentity.c: (gst_identity_class_init):
24857 * gst/elements/gsttypefindelement.c:
24858 (gst_type_find_element_src_event), (free_entry_buffers),
24859 (gst_type_find_element_handle_event):
24860 * libs/gst/dataprotocol/dataprotocol.c:
24861 (gst_dp_header_from_buffer):
24862 * libs/gst/dataprotocol/dataprotocol.h:
24863 * libs/gst/dataprotocol/dp-private.h:
24865 2005-05-15 David Schleef <ds@schleef.org>
24867 * gst/elements/gstelements.c: Don't include headers that were
24870 2005-05-15 David Schleef <ds@schleef.org>
24872 * gst/elements/Makefile.am: Remove some elements that don't
24873 need to be in the core (or even exist at all).
24874 * gst/elements/gstaggregator.c:
24875 * gst/elements/gstaggregator.h:
24876 * gst/elements/gstmd5sink.c:
24877 * gst/elements/gstmd5sink.h:
24878 * gst/elements/gstmultifilesrc.c:
24879 * gst/elements/gstmultifilesrc.h:
24880 * gst/elements/gstpipefilter.c:
24881 * gst/elements/gstpipefilter.h:
24882 * gst/elements/gstshaper.c:
24883 * gst/elements/gstshaper.h:
24884 * gst/elements/gststatistics.c:
24885 * gst/elements/gststatistics.h:
24886 * po/POTFILES.in: Remove above files.
24888 2005-05-14 Andy Wingo <wingo@pobox.com>
24890 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24891 so as to get the refs right.
24892 (sink_iterator_filter): New function, wraps bin_element_is_sink,
24893 unreffing objects that don't pass the filter.
24895 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24896 gst_element_set_bus.
24897 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24898 normal cases, this will destroy the bus.
24900 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24903 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24906 2005-05-13 Andy Wingo <wingo@pobox.com>
24908 * gst/gstutils.c (gst_element_link_pads): Instead of calling
24909 gst_pad_link, call pad_link_maybe_ghosting,
24910 (pad_link_maybe_ghosting): Links pads, making sure that the
24911 elements being linked are in the same bin.
24912 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24913 Helpers for pad_link_maybe_ghosting.
24915 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24918 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24920 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24922 * docs/design/part-element-source.txt:
24925 2005-05-12 Wim Taymans <wim@fluendo.com>
24927 * gst/base/gstbasesink.c: (gst_basesink_init),
24928 (gst_basesink_activate):
24929 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24930 (gst_basesrc_is_seekable):
24931 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24932 (bin_element_is_sink), (gst_bin_change_state):
24933 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24934 * gst/gstelement.h:
24935 Identify sinks by their flag to avoid overly complicated
24937 Do state changes even for elements not reachable from the
24939 BaseSink is a sink now :)
24940 Some more debugging info in the basesrc.
24943 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24945 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24946 Implement _query on a bin, similar to _send_event.
24948 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
24950 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24951 Discont event offset format should be GST_FORMAT_BYTES,
24952 not GST_FORMAT_TIME.
24954 2005-05-12 Wim Taymans <wim@fluendo.com>
24956 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24957 Same fix as Ronald's but without the signal.
24959 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24961 * gst/gstutils.c: (gst_element_query_position):
24962 No, an element is not a pad.
24964 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24966 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24967 (gst_bin_get_state):
24968 If a child is removed from a bin while we remove the child from
24969 the bin and while we're retrieving its state, signal this to the
24970 get_state function so we abort the wait (instead of waiting for
24971 a timeout) and can immediately re-iterate over all other elements.
24973 2005-05-12 Wim Taymans <wim@fluendo.com>
24975 * gst/base/Makefile.am:
24976 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24977 (gst_basesrc_start):
24978 * gst/base/gstbasesrc.h:
24979 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24980 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24981 (gst_pushsrc_init), (gst_pushsrc_create):
24982 * gst/base/gstpushsrc.h:
24983 Added is_seekable to BaseSrc
24984 Added simple PushSrc.
24986 2005-05-11 Wim Taymans <wim@fluendo.com>
24988 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24989 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24990 (gst_element_link_pads), (gst_element_query_position),
24991 (gst_element_query_convert), (intersect_caps_func),
24992 (gst_pad_query_position), (gst_pad_query_convert):
24993 Fix refcounting in utils function.
24994 No point in trying to activate a pad when it's added, it could
24995 be added from the state change function and then we deadlock, the
24996 element has to decide what to do.
24998 2005-05-10 Andy Wingo <wingo@pobox.com>
25000 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
25001 *all* the arguments.
25003 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
25004 stream lock if it's a FLUSH_DONE; normal flushes don't get the
25005 lock (according to the docs -- if this is wrong change the docs).
25007 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
25008 flush messages in the NULL state.
25010 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
25011 message immediately and return.
25012 (gst_bus_set_flushing): New function. If a bus is flushing, it
25013 flushes out any queued messages and immediately unrefs new
25014 messages. This is so when an element goes to NULL, all of the
25015 unhandled messages coming from it can be freed, and their
25016 references to the element dropped. In other words: message source
25017 ref considered harmful :P
25019 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
25020 we're finished with it.
25022 * gst/gstmessage.c (gst_message_new_state_changed):
25024 2005-05-10 Wim Taymans <wim@fluendo.com>
25026 * gst/gstvalue.c: (gst_value_compare_flags),
25027 (gst_value_serialize_flags), (gst_value_deserialize_flags),
25028 (_gst_value_initialize):
25029 Added flags serialize/deserialize/compare code.
25031 2005-05-09 Andy Wingo <wingo@pobox.com>
25033 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
25034 Intersect the peer's caps with our caps.
25036 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25038 * gst/base/gsttypefindhelper.c: (helper_find_peek):
25039 * gst/elements/gsttypefindelement.c: (find_peek):
25040 Handle negative offsets better. Fixes decodebin.
25042 2005-05-09 Wim Taymans <wim@fluendo.com>
25044 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
25045 (gst_base_transform_event):
25046 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
25047 Implement accept_caps.
25048 Fix silly lock/unlock mismatch in base class.
25050 2005-05-09 Wim Taymans <wim@fluendo.com>
25052 * docs/design/draft-push-pull.txt:
25053 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
25054 * gst/elements/gstfilesink.c: (gst_filesink_init),
25055 (gst_filesink_query):
25056 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25057 (gst_type_find_handle_src_query), (find_element_get_length):
25058 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
25059 * gst/gstelement.h:
25060 * gst/gstmessage.c:
25061 * gst/gstmessage.h:
25062 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
25063 (gst_real_pad_get_caps_unlocked),
25064 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
25065 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25066 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
25067 (gst_real_pad_dispose), (gst_real_pad_finalize),
25068 (gst_pad_load_and_link), (gst_pad_save_thyself),
25069 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
25070 (gst_pad_check_pull_range), (gst_pad_pull_range),
25071 (gst_pad_template_get_type), (gst_pad_template_class_init),
25072 (gst_pad_template_init), (gst_pad_template_dispose),
25073 (name_is_valid), (gst_static_pad_template_get),
25074 (gst_pad_template_new), (gst_static_pad_template_get_caps),
25075 (gst_pad_template_get_caps), (gst_pad_set_element_private),
25076 (gst_pad_get_element_private), (gst_pad_start_task),
25077 (gst_pad_pause_task), (gst_pad_stop_task),
25078 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
25079 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
25080 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
25081 (gst_ghost_pad_new):
25083 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
25084 (gst_query_new_position), (gst_query_set_position),
25085 (gst_query_parse_position), (gst_query_new_convert),
25086 (gst_query_set_convert), (gst_query_parse_convert):
25088 * gst/gstqueryutils.c:
25089 * gst/gstqueryutils.h:
25090 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25091 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25092 (gst_queue_handle_src_query):
25093 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25094 (gst_element_query_position), (gst_element_query_convert),
25095 (intersect_caps_func), (gst_pad_query_position),
25096 (gst_pad_query_convert):
25098 * tools/gst-inspect.c: (print_pad_info):
25099 * tools/gst-xmlinspect.c: (print_element_info):
25100 Remove old query functions. Ported old code.
25101 Added position/convert helper functions to gstutils.
25102 Reordered gstpad.c code, grouping relevant things.
25103 Remove gst_message_new(), always need to speficy a specific
25107 2005-05-09 Andy Wingo <wingo@pobox.com>
25109 * gst/gstiterator.h: Add some includes.
25111 * gst/gstqueryutils.h: Include more headers.
25114 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
25115 some uses of gst_pad_query.
25117 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
25118 NULL out parameters.
25119 (gst_query_new_position): New proc, allocates a new position
25122 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
25123 gstqueryutils.c to the build.
25125 * gst/gststructure.c (gst_structure_set_valist): Implement with
25126 the generic G_VALUE_COLLECT.
25128 2005-05-08 Edward Hervey <bilboed@bilboed.com>
25130 * gst/Makefile.am: (gst_headers):
25131 Added gstqueryutils.h to the list of headers to install, that was
25132 a 'nachty' move wingo :)
25134 2005-05-06 Andy Wingo <wingo@pobox.com>
25137 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
25138 GstData, init a memchunk.
25139 (standard_definitions): Add a few query types, deprecate a few.
25140 (gst_query_get_type): New proc.
25141 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
25143 (gst_query_new_application, gst_query_get_structure): New public
25146 * docs/design/draft-query.txt: Removed LINKS from the query types,
25147 because all the rest can be dispatched to other pads -- seemed
25148 ugly to have a query that couldn't be dispatched. internal_links
25149 is fine as a pad method.
25151 * gst/gstpad.h: Add query2 as a pad method, add the new functions
25152 in gstpad.c, but maintain binary compatibility for the moment.
25153 Will fix before 0.9 is out.
25155 * gst/gstqueryutils.c:
25156 * gst/gstqueryutils.h: New files, implement 3 methods for each
25157 query type: parse_query, parse_response, and set. Probably need an
25160 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
25162 * gst/elements/gstfilesink.c (gst_filesink_query2):
25163 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
25164 query_types, and formats methods.
25166 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
25167 (gst_pad_set_query2_function): New functions.
25168 (gst_real_pad_init): Set query2_default as the default query2
25169 function. Basically just dispatches to internally linked pads.
25173 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
25174 without using the atomic operations. Only one thread can possibly
25175 be accessing the data at this point. Changed so as to avoid
25176 gst_atomic operations.
25178 2005-05-06 Wim Taymans <wim@fluendo.com>
25180 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
25181 Also set caps if we use the fallback buffer alloc.
25183 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
25185 * docs/gst/Makefile.am:
25186 * docs/gst/gstreamer-docs.sgml:
25187 * docs/gst/gstreamer-sections.txt:
25188 * docs/gst/tmpl/gstatomic.sgml:
25189 * docs/gst/tmpl/gstmemchunk.sgml:
25190 * testsuite/elements/struct_i386.h:
25191 * win32/GStreamer.vcproj:
25193 Purge GstAtomic stuff from docs and win32 makefiles as well
25195 2005-05-06 Wim Taymans <wim@fluendo.com>
25197 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25198 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25199 * gst/gstpad.c: (gst_pad_peer_get_caps):
25200 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25201 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25202 (gst_queue_src_activate), (gst_queue_change_state):
25204 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25205 (intersect_caps_func):
25206 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25207 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25208 Some fixes for the peer_get_caps() change.
25210 2005-05-06 Wim Taymans <wim@fluendo.com>
25212 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25213 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25214 (gst_basesink_activate):
25215 Actually do something with error codes returned from the push
25218 2005-05-06 Wim Taymans <wim@fluendo.com>
25220 * docs/design/part-element-sink.txt:
25221 * docs/design/part-element-source.txt:
25222 * gst/base/gstbasesink.c: (gst_basesink_class_init),
25223 (gst_basesink_event), (gst_basesink_activate):
25224 * gst/base/gstbasesink.h:
25225 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25226 (gst_basesrc_activate):
25227 * gst/base/gstbasesrc.h:
25228 * gst/gstelement.c: (gst_element_pads_activate):
25229 Some more documentation.
25230 Fixed scheduling decision in _pads_activate().
25232 2005-05-05 Andy Wingo <wingo@pobox.com>
25234 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25237 2005-05-05 Wim Taymans <wim@fluendo.com>
25239 * gst/base/Makefile.am:
25240 * gst/base/gstbasesink.h:
25241 * gst/base/gstbasesrc.c: (gst_basesrc_init),
25242 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25243 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25244 (gst_collectpads_class_init), (gst_collectpads_init),
25245 (gst_collectpads_finalize), (gst_collectpads_new),
25246 (gst_collectpads_set_function), (gst_collectpads_add_pad),
25247 (find_pad), (gst_collectpads_remove_pad),
25248 (gst_collectpads_is_active), (gst_collectpads_collect),
25249 (gst_collectpads_collect_range), (gst_collectpads_start),
25250 (gst_collectpads_stop), (gst_collectpads_peek),
25251 (gst_collectpads_pop), (gst_collectpads_available),
25252 (gst_collectpads_read), (gst_collectpads_flush),
25253 (gst_collectpads_chain):
25254 * gst/base/gstcollectpads.h:
25255 * gst/elements/Makefile.am:
25256 * gst/elements/gstelements.c:
25257 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25258 (gst_fakesink_get_times), (gst_fakesink_event),
25259 (gst_fakesink_preroll), (gst_fakesink_render):
25260 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25261 (gst_filesink_init), (gst_filesink_set_location),
25262 (gst_filesink_open_file), (gst_filesink_close_file),
25263 (gst_filesink_pad_query), (gst_filesink_event),
25264 (gst_filesink_render), (gst_filesink_change_state):
25265 * gst/elements/gstfilesink.h:
25266 Added object to help in making collect pad based elements.
25268 Make event function in sink baseclass return gboolean.
25270 2005-05-05 Wim Taymans <wim@fluendo.com>
25272 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25273 (gst_bin_get_by_name):
25275 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25276 (gst_clock_finalize):
25277 * gst/gstdata.c: (gst_data_replace):
25279 * gst/gstelement.c: (gst_element_request_pad),
25280 (gst_element_pads_activate):
25281 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25282 (gst_object_unref):
25283 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25284 (gst_pad_set_checkgetrange_function),
25285 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25286 (gst_pad_check_pull_range), (gst_pad_pull_range),
25287 (gst_static_pad_template_get_caps), (gst_pad_start_task),
25288 (gst_pad_pause_task), (gst_pad_stop_task):
25289 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25290 (gst_element_request_pad), (gst_pad_proxy_getcaps):
25291 Fix name lookup in GstBin.
25292 Added _data_replace() function and _buffer_replace()
25293 Use finalize method to clean up clock.
25294 Fix refcounting on request pads.
25295 Fix pad schedule mode error.
25296 Some more object refcounting debug info,
25299 2005-05-04 Andy Wingo <wingo@pobox.com>
25301 * check/Makefile.am:
25302 * docs/gst/tmpl/gstatomic.sgml:
25303 * docs/gst/tmpl/gstplugin.sgml:
25304 * gst/base/gstbasesink.c: (gst_basesink_activate):
25305 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25306 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25307 (gst_basesrc_query), (gst_basesrc_set_property),
25308 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25309 (gst_basesrc_activate):
25310 * gst/base/gstbasesrc.h:
25311 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25312 (gst_base_transform_src_activate):
25313 * gst/elements/gstelements.c:
25314 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25315 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25316 * gst/elements/gsttee.c: (gst_tee_sink_activate):
25317 * gst/elements/gsttypefindelement.c: (find_element_get_length),
25318 (gst_type_find_element_checkgetrange),
25319 (gst_type_find_element_activate):
25320 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25321 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25322 (gst_caps_load_thyself):
25323 * gst/gstelement.c: (gst_element_pads_activate),
25324 (gst_element_save_thyself), (gst_element_restore_thyself):
25325 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25326 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25328 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25329 (gst_xml_parse_file), (gst_xml_parse_memory),
25330 (gst_xml_get_element), (gst_xml_make_element):
25331 * gst/indexers/gstfileindex.c: (gst_file_index_load),
25332 (_file_index_id_save_xml), (gst_file_index_commit):
25333 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25334 (read_enum), (load_pad_template), (load_feature), (load_plugin),
25336 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25337 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25338 * tools/gst-complete.c: (main):
25339 * tools/gst-compprep.c: (main):
25340 * tools/gst-inspect.c: (print_element_properties_info):
25341 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25342 * tools/gst-xmlinspect.c: (print_element_properties):
25345 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
25347 * gst/gstplugin.c: (gst_plugin_check_module),
25348 (gst_plugin_check_file), (gst_plugin_load_file):
25349 apply patch from #172526 to make register work on MacOSX
25351 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25353 * docs/gst/tmpl/gstconfig.sgml:
25354 * gst/gstconfig.h.in:
25355 move documentation for some symbols. Add doc for GST_PTR_FORMAT
25356 * testsuite/debug/printf_extension.c: (main):
25357 Do not use GST_PTR_FORMAT on pointers to types with
25358 sizeof < sizeof(gpointer). Fixes test on 64-bit
25359 * testsuite/elements/property.h:
25360 use correct printf format
25362 2005-05-02 Wim Taymans <wim@fluendo.com>
25364 * docs/design/draft-push-pull.txt:
25365 * docs/design/draft-query.txt:
25366 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25367 (gst_basesrc_start):
25368 Added draft for new query API.
25369 Added draft for better selecting scheduling methods.
25370 Make basesrc ignore length if the subclass does not support
25373 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25376 possible fixes for automake-1.5 - _LIBADD is reserved
25378 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25380 * docs/faq/Makefile.am:
25381 * docs/manual/Makefile.am:
25382 * docs/manuals.mak:
25383 * docs/pwg/Makefile.am:
25385 possible fixes for automake-1.5
25387 2005-04-28 Wim Taymans <wim@fluendo.com>
25389 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25390 (gst_basesink_pad_getcaps), (gst_basesink_init),
25391 (gst_basesink_do_sync):
25392 * gst/gstclock.c: (gst_clock_entry_new):
25393 * gst/gstevent.c: (gst_event_discont_get_value):
25394 * gst/gstpipeline.c: (pipeline_bus_handler),
25395 (gst_pipeline_change_state):
25396 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25397 Better debugging of clocking info.
25398 Allow NULL values when getting discont values.
25400 2005-04-27 Wim Taymans <wim@fluendo.com>
25402 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25403 * check/gst/gstpad.c: (gst_pad_suite):
25404 Increase timeout for checks.
25406 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
25408 * check/Makefile.am:
25409 fix the broken rule for cleanup. Apparently this rule is
25410 only needed on FC2, so maybe this warrants further autotool
25413 2005-04-26 Wim Taymans <wim@fluendo.com>
25415 * gst/gsttrashstack.h:
25416 Ooohh. a nasty one! After having a failed pop() from the stack,
25417 it's possible that the stack is empty. In that case, don't
25418 follow the NULL pointer.
25420 2005-04-25 Wim Taymans <wim@fluendo.com>
25422 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25423 (gst_pad_set_checkgetrange_function),
25424 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25425 (gst_pad_check_pull_range), (gst_pad_pull_range),
25426 (gst_static_pad_template_get_caps), (gst_pad_start_task),
25427 (gst_pad_pause_task), (gst_pad_stop_task):
25428 * gst/gstplugin.c: (gst_plugin_load):
25430 Remove gst_library_load as it does more harm than good with
25431 the new g_module flags.
25432 Revert bogus caps template check in pad linking, pad caps
25433 are important when linking not the template, which is more
25434 general than the current caps.
25436 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25438 * gst/autoplug/.cvsignore:
25439 * gst/autoplug/Makefile.am:
25440 * gst/autoplug/gstsearchfuncs.c:
25441 * gst/autoplug/gstsearchfuncs.h:
25442 * gst/autoplug/gstspider.c:
25443 * gst/autoplug/gstspider.h:
25444 * gst/autoplug/gstspideridentity.c:
25445 * gst/autoplug/gstspideridentity.h:
25446 * gst/autoplug/spidertest.c:
25449 2005-04-25 Wim Taymans <wim@fluendo.com>
25451 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25452 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25453 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25454 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25456 Added stubs for unimplemented functions.
25458 2005-04-24 David Schleef <ds@schleef.org>
25460 * gst/gstpad.h: Disable some unimplemented functions. Wim,
25463 2005-04-24 David Schleef <ds@schleef.org>
25465 Convert everything from GstAtomicInt to g_atomic_int_*, and
25470 * gst/gstatomic_impl.h:
25478 * gst/gstdata_private.h:
25482 * gst/gstmessage.c:
25485 * gst/gststructure.c:
25486 * gst/gststructure.h:
25487 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25490 2005-04-24 David Schleef <ds@schleef.org>
25492 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25493 make the regressions tests work. Remove some code that is no
25495 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25496 Disable warning for pads without templates.
25498 2005-04-24 David Schleef <ds@schleef.org>
25500 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
25501 functions that handle filtered links.
25502 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25504 * gst/gstutils.c: Fix/remove utility functions that handle
25507 * gst/gstvalue.c: Add serialization/deserialization of caps
25508 * gst/parse/grammar.y: Ignore filtered caps when linking. This
25509 requires fixing so that the filter caps notation creates
25510 a capsfilter element and sets the filter_caps property. I
25511 think everyone probably wants to keep the shorthand notation.
25512 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25513 * docs/gst/tmpl/gstpad.sgml:
25515 * gst/elements/gstelements.c: Register capsfilter element.
25516 * gst/Makefile.am: fix spacing
25517 * docs/random/ds/0.9-suggested-changes: random
25519 2005-04-23 David Schleef <ds@schleef.org>
25521 * gst/elements/Makefile.am:
25522 * gst/elements/gstcapsfilter.c: New element that acts like an
25523 identity, but filters caps. Will eventually replace filtered
25524 caps in pad linking.
25525 * gst/gstutils.c: (gst_element_create_all_pads): New function
25526 to create all the ALWAYS pads that are registered with an
25527 element class. This functionality should eventually be
25528 merged in with GstElement initialization.
25530 * testsuite/trigger/README: part of trigger test code that should
25531 have been checked in a long time ago.
25533 2005-04-23 David Schleef <ds@schleef.org>
25535 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
25536 needed with new versions of libtool (nobody will confirm this),
25537 and hard to carry around.
25538 * gst/autoplug/Makefile.am:
25539 * gst/base/Makefile.am:
25540 * gst/elements/Makefile.am:
25541 * gst/indexers/Makefile.am:
25542 * gst/schedulers/Makefile.am:
25543 * libs/gst/bytestream/Makefile.am:
25544 * libs/gst/control/Makefile.am:
25545 * libs/gst/dataprotocol/Makefile.am:
25546 * libs/gst/getbits/Makefile.am:
25548 2005-04-21 Wim Taymans <wim@fluendo.com>
25550 * docs/design/draft-push-pull.txt:
25551 * docs/design/part-MT-refcounting.txt:
25552 * docs/design/part-TODO.txt:
25553 * docs/design/part-caps.txt:
25554 * docs/design/part-events.txt:
25555 * docs/design/part-gstbus.txt:
25556 * docs/design/part-gstpipeline.txt:
25557 * docs/design/part-messages.txt:
25558 * docs/design/part-push-pull.txt:
25559 * docs/design/part-query.txt:
25562 2005-04-21 Wim Taymans <wim@fluendo.com>
25564 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25565 (gst_message_new), (gst_message_new_error),
25566 (gst_message_new_warning), (gst_message_new_tag),
25567 (gst_message_new_state_changed), (gst_message_new_application),
25568 (gst_message_get_structure):
25569 * gst/gstmessage.h:
25570 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25571 (gst_structure_copy_conditional):
25572 Use parent refcount in GstMessage to ensure GstStructure
25574 Cleaned up headers a bit.
25577 2005-04-20 Wim Taymans <wim@fluendo.com>
25579 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25580 (gst_basesink_pad_getcaps), (gst_basesink_init),
25581 (gst_basesink_chain_unlocked):
25582 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25583 (gst_type_find_helper):
25584 * gst/elements/gsttypefindelement.c:
25585 (gst_type_find_element_have_type), (gst_type_find_element_init),
25586 (stop_typefinding), (gst_type_find_element_handle_event),
25587 (find_suggest), (gst_type_find_element_chain),
25588 (gst_type_find_element_checkgetrange),
25589 (gst_type_find_element_getrange), (do_typefind),
25590 (gst_type_find_element_activate):
25591 * gst/gstbuffer.c: (_gst_buffer_sub_free),
25592 (gst_buffer_default_free), (gst_buffer_default_copy),
25593 (gst_buffer_set_caps):
25594 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25595 (gst_caps_replace):
25596 * gst/gstmessage.c: (gst_message_new),
25597 (gst_message_new_state_changed):
25598 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25599 (gst_pad_set_checkgetrange_function),
25600 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25601 (gst_pad_set_caps), (gst_pad_check_pull_range),
25602 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25604 * gst/gsttypefind.c: (gst_type_find_register):
25605 Make gst_caps_replace() work like other _replace() functions.
25606 Use _caps_replace() where possible.
25607 Make sure _message_new() initialises its field.
25608 Add gst_static_pad_template_get_caps()
25611 2005-04-18 Andy Wingo <wingo@pobox.com>
25613 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25614 on the peer, not the pad. I think that was a typo. Pass an extra
25615 arg to see if random access is possible. Activate the pads as
25616 PULL_RANGE if possible.
25618 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25620 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
25621 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25624 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25626 * docs/faq/using.xml:
25627 Add note on gstreamer-properties (#154996).
25629 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25631 * docs/random/bbb/optional-properties:
25632 Some analysis on optional properties.
25634 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25636 * docs/gst/tmpl/gstelementfactory.sgml:
25637 * gst/gstelement.h:
25638 * gst/gstelementfactory.c: (gst_element_factory_init),
25639 (gst_element_factory_cleanup), (gst_element_register),
25640 (__gst_element_factory_add_static_pad_template),
25641 (gst_element_factory_get_static_pad_templates),
25642 (gst_element_factory_can_src_caps),
25643 (gst_element_factory_can_sink_caps):
25644 * gst/registries/Makefile.am:
25645 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25646 (gst_xml_registry_class_init), (gst_xml_registry_init),
25647 (gst_xml_registry_new), (gst_xml_registry_set_property),
25648 (gst_xml_registry_get_property), (get_time), (make_dir),
25649 (gst_xml_registry_get_perms_func),
25650 (plugin_times_older_than_recurse), (plugin_times_older_than),
25651 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25652 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25653 (add_to_char_array), (read_string), (read_uint), (read_enum),
25654 (load_pad_template), (load_feature), (load_plugin), (load_paths),
25655 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25656 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25657 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25658 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25659 (gst_xml_registry_rebuild):
25660 * gst/registries/gstlibxmlregistry.h:
25661 * tools/gst-compprep.c: (main):
25662 * tools/gst-inspect.c: (print_pad_templates_info):
25663 * tools/gst-xmlinspect.c: (print_element_info):
25664 Use libxml2 for registry parsing, use staticpadtemplates in
25665 elementfactories. Makes gst_init() +/- 10x faster.
25667 2005-04-12 Wim Taymans <wim@fluendo.com>
25669 * gst/base/Makefile.am:
25670 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25671 (gst_basesink_pad_getcaps), (gst_basesink_init),
25672 (gst_basesink_event), (gst_basesink_change_state):
25673 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25674 (gst_basesrc_init), (gst_basesrc_query),
25675 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25676 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25677 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25678 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25679 (gst_basesrc_stop), (gst_basesrc_activate),
25680 (gst_basesrc_change_state):
25681 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25682 (helper_find_suggest), (gst_type_find_helper):
25683 * gst/base/gsttypefindhelper.h:
25684 * gst/elements/Makefile.am:
25685 * gst/elements/gstelements.c:
25686 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25687 (gst_fakesink_get_times), (gst_fakesink_event),
25688 (gst_fakesink_preroll), (gst_fakesink_render):
25689 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25690 (gst_fakesrc_init), (gst_fakesrc_event_handler),
25691 (gst_fakesrc_get_property), (gst_fakesrc_create),
25692 (gst_fakesrc_start), (gst_fakesrc_stop):
25693 * gst/elements/gstfakesrc.h:
25694 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25695 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25696 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25697 (gst_filesrc_create_read), (gst_filesrc_create),
25698 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25699 (gst_filesrc_start):
25700 * gst/elements/gsttypefindelement.c:
25701 (gst_type_find_element_have_type), (gst_type_find_element_init),
25702 (start_typefinding), (stop_typefinding), (push_buffer_store),
25703 (gst_type_find_element_handle_event),
25704 (gst_type_find_element_chain),
25705 (gst_type_find_element_checkgetrange),
25706 (gst_type_find_element_getrange), (do_typefind),
25707 (gst_type_find_element_activate),
25708 (gst_type_find_element_change_state):
25709 * gst/elements/gsttypefindelement.h:
25710 * gst/gstpipeline.c: (pipeline_bus_handler):
25711 Added typefind helper.
25712 Small preroll fix in the base sink.
25713 Disable typefind code in basesrc.
25714 Crude port of typefindelement.
25718 2005-04-11 Wim Taymans <wim@fluendo.com>
25720 * check/gst/gstbus.c: (gstbus_suite):
25721 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25722 * check/gstcheck.h:
25723 Fix up the timeout so that the test does not fail.
25725 2005-04-06 Wim Taymans <wim@fluendo.com>
25728 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25729 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25730 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25731 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25732 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25733 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25734 (gst_basesrc_stop), (gst_basesrc_activate),
25735 (gst_basesrc_change_state), (basesrc_find_peek),
25736 (basesrc_find_suggest), (gst_basesrc_type_find):
25737 * gst/base/gstbasesrc.h:
25738 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25739 (gst_filesrc_class_init), (gst_filesrc_init),
25740 (gst_filesrc_finalize), (gst_filesrc_set_location),
25741 (gst_filesrc_set_property), (gst_filesrc_get_property),
25742 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25743 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25744 (gst_filesrc_create_read), (gst_filesrc_create),
25745 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25746 * gst/elements/gstfilesrc.h:
25747 * gst/gstelement.c: (gst_element_get_state_func),
25748 (gst_element_lost_state), (gst_element_pads_activate):
25749 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25750 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25751 (gst_pad_pull_range):
25753 More work on the generic source base class, implement seeking,
25755 Make filesrc extend the base source class.
25756 Added gst_pad_set_checkgetrange_function to GstPad.
25758 2005-04-06 Andy Wingo <wingo@pobox.com>
25760 * pkgconfig/gstreamer-base.pc.in:
25761 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25763 * pkgconfig/Makefile.am:
25764 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25766 2005-04-04 Wim Taymans <wim@fluendo.com>
25768 * gst/base/Makefile.am:
25770 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25771 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25772 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25773 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25774 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25775 (gst_basesrc_base_init), (gst_basesrc_class_init),
25776 (gst_basesrc_init), (gst_basesrc_get_formats),
25777 (gst_basesrc_get_query_types), (gst_basesrc_query),
25778 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25779 (gst_basesrc_set_property), (gst_basesrc_get_property),
25780 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25781 (gst_basesrc_loop), (gst_basesrc_activate),
25782 (gst_basesrc_change_state):
25783 * gst/base/gstbasesrc.h:
25784 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25785 (gst_fakesrc_class_init), (gst_fakesrc_init),
25786 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25787 (gst_fakesrc_get_property), (gst_fakesrc_create):
25788 * gst/elements/gstfakesrc.h:
25789 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25790 (gst_filesrc_open_file), (gst_filesrc_loop),
25791 (gst_filesrc_activate), (filesrc_find_peek),
25792 (gst_filesrc_type_find):
25793 Made base source class, make fakesrc extend it.
25794 Add comments to basesink class.
25795 Some filesrc cleanup.
25797 2005-03-31 David Schleef <ds@schleef.org>
25799 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25800 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25801 expected to link against libgstreamer.
25802 * gst/base/Makefile.am: link against libgstreamer
25803 * gst/elements/Makefile.am: same
25805 2005-03-31 Andy Wingo <wingo@pobox.com>
25807 * tests/instantiate/Makefile.am:
25808 * tests/instantiate/caps.c: Add test to test speed of caps copy
25811 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25812 GMemChunk to be fair.
25814 * gst/gsttrashstack.h: Remove warning about using the fallback
25815 trash stack implementation, it's still faster than malloc.
25817 2005-03-30 Andy Wingo <wingo@pobox.com>
25819 * tests/complexity.c: Add a copyright.
25821 2005-03-31 Wim Taymans <wim@fluendo.com>
25823 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25824 (gst_base_transform_class_init), (gst_base_transform_init),
25825 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25826 (gst_base_transform_get_property),
25827 (gst_base_transform_sink_activate),
25828 (gst_base_transform_src_activate),
25829 (gst_base_transform_change_state):
25830 * gst/base/gstbasetransform.h:
25831 * gst/elements/gstidentity.c: (gst_identity_class_init),
25832 (gst_identity_event), (gst_identity_check_perfect),
25833 (gst_identity_transform), (gst_identity_start),
25834 (gst_identity_stop):
25835 Added start/stop methods to transform base class so subclasses
25836 don't need to deal with state changes even.
25838 2005-03-31 Wim Taymans <wim@fluendo.com>
25840 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25841 (gst_event_new_discontinuous), (gst_event_discont_get_value):
25843 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25844 (gst_pad_pull_range):
25845 Added rate to the discont event to prepare for variable speed
25846 and reverse playback.
25848 2005-03-29 David Schleef <ds@schleef.org>
25851 * testsuite/trigger/Makefile.am:
25852 * testsuite/trigger/trigger.c: A little example program to show
25853 how trigger-based elements can work.
25855 2005-03-29 Wim Taymans <wim@fluendo.com>
25857 * gst/base/Makefile.am:
25859 * gst/base/gstbasesink.c: (gst_basesink_get_type),
25860 (gst_basesink_base_init), (gst_basesink_class_init),
25861 (gst_basesink_pad_getcaps), (gst_basesink_init),
25862 (gst_basesink_activate), (gst_basesink_change_state):
25863 * gst/base/gstbasesink.h:
25864 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25865 (gst_base_transform_base_init), (gst_base_transform_finalize),
25866 (gst_base_transform_class_init), (gst_base_transform_init),
25867 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25868 (gst_base_transform_event), (gst_base_transform_getrange),
25869 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25870 (gst_base_transform_set_property),
25871 (gst_base_transform_get_property),
25872 (gst_base_transform_sink_activate),
25873 (gst_base_transform_src_activate),
25874 (gst_base_transform_change_state):
25875 * gst/base/gstbasetransform.h:
25876 * gst/elements/gstidentity.c: (gst_identity_finalize),
25877 (gst_identity_class_init), (gst_identity_init),
25878 (gst_identity_event), (gst_identity_check_perfect),
25879 (gst_identity_transform), (gst_identity_set_property),
25880 (gst_identity_get_property), (gst_identity_change_state):
25881 * gst/elements/gstidentity.h:
25882 * gst/gstelement.c: (gst_element_get_state_func),
25883 (gst_element_lost_state), (gst_element_pads_activate):
25884 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25885 (gst_pad_check_pull_range), (gst_pad_pull_range):
25887 Simplify pad activation.
25888 Added function to check if pull_range can be performed.
25889 Error out when pulling inactive or flushing pads.
25890 Removed const from refcounted types as it does not make sense.
25891 Simplify pad templates in basesink
25892 Added base class for simple 1-to-1 transforms.
25893 Make identity subclass the base transform.
25895 2005-03-29 Andy Wingo <wingo@pobox.com>
25897 * docs/libs/gstreamer-libs-overrides.txt:
25898 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25899 really don't understand what's going on, but like whatever. I want
25902 * docs/gst/Makefile.am:
25903 * docs/libs/Makefile.am: Dist the overrides files.
25905 * check/Makefile.am (clean-local): Remove .libs directories.
25907 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25908 elements to EXTRA_DIST, so po/ files are happy.
25910 * po/POTFILES.in: Er, remove it here.
25912 * po/POTFILES: Remove gstspider.c.
25914 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25916 * docs/libs/gstreamer-libs-docs.sgml:
25917 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25920 * tests/complexity.c (main): Set the length of the preroll queue
25921 on the sinks to prevent a lockup.
25923 * libs/gst/dataprotocol/Makefile.am:
25924 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25925 the same as the one in check/gst-libs/gdp.c.
25927 * po/, docs/gst/: Commit automatic changes to docs and po files.
25929 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25930 the versioned libgstbase.
25932 * check/Makefile.am: Depend on an unversioned gst-register, seems
25933 to make autoconf happier.
25935 * gst/base/Makefile.am: Make libgstbase a versioned lib.
25937 2005-03-28 Wim Taymans <wim@fluendo.com>
25940 * docs/design/part-gstelement.txt:
25941 * docs/design/part-negotiation.txt:
25942 * docs/design/part-preroll.txt:
25943 * docs/design/part-scheduling.txt:
25944 * docs/design/part-states.txt:
25946 * gst/base/Makefile.am:
25948 * gst/base/gstbasesink.c: (gst_basesink_get_template),
25949 (gst_basesink_base_init), (gst_basesink_class_init),
25950 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25951 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25952 (gst_basesink_set_pad_functions),
25953 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25954 (gst_basesink_set_property), (gst_basesink_get_property),
25955 (gst_base_sink_get_template), (gst_base_sink_get_caps),
25956 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25957 (gst_basesink_preroll_queue_push),
25958 (gst_basesink_preroll_queue_empty),
25959 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25960 (gst_basesink_event), (gst_basesink_get_times),
25961 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25962 (gst_basesink_chain_unlocked), (gst_basesink_chain),
25963 (gst_basesink_loop), (gst_basesink_activate),
25964 (gst_basesink_change_state):
25965 * gst/base/gstbasesink.h:
25966 * gst/elements/Makefile.am:
25967 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25968 (gst_fakesink_class_init), (gst_fakesink_init),
25969 (gst_fakesink_set_property), (gst_fakesink_get_property),
25970 (gst_fakesink_get_times), (gst_fakesink_event),
25971 (gst_fakesink_preroll), (gst_fakesink_render),
25972 (gst_fakesink_change_state):
25973 * gst/elements/gstfakesink.h:
25974 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25975 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25976 * gst/gstelement.c: (gst_element_add_pad),
25977 (gst_element_get_state_func), (gst_element_abort_state),
25978 (gst_element_commit_state), (gst_element_lost_state),
25979 (gst_element_set_state), (gst_element_pads_activate):
25980 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25981 * gst/gstpipeline.c: (gst_pipeline_send_event),
25982 (gst_pipeline_change_state):
25983 Added state change code.
25984 Added/updated docs.
25985 Added sink base class, make fakesink extend the base class.
25986 Small cleanups in GstPipeline.
25988 2005-03-26 David Schleef <ds@schleef.org>
25990 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
25991 is broken and should be implemented in a different library.
25992 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25993 * gst/gst.h: remove gstcpu.h
25994 * gst/gstcpu.c: remove
25995 * gst/gstcpu.h: remove
25996 * gst/Makefile.am.future: Remove this file. It's ancient.
25998 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26000 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
26001 (gst_bin_send_event):
26002 Add default event/set_manager handlers. The set_manager handler
26003 takes care that the manager is distributed over kids that were
26004 already in the bin before the manager was set. The event handler
26005 is a utility virtual function that sends the event over all sinks,
26006 so that gst_element_send_event (bin, event); has the expected
26008 * gst/gstpad.c: (gst_pad_event_default):
26009 Re-install default event handling for discontinuities, so that
26010 seeking works without requiring hacks in applications or extra
26012 * gst/gstpipeline.c: (gst_pipeline_class_init),
26013 (gst_pipeline_send_event):
26014 Half hack, half utility: set a pipeline to PAUSED for seek events,
26015 since that is the only way we can guarantee a/v sync. Means that
26016 you can do gst_element_seek (pipeline, method, pos); on a pipeline
26017 and it "just works".
26019 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26021 * gst/gstpipeline.c: (gst_pipeline_use_clock):
26022 Lock/unlock mismatch.
26024 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
26026 * docs/faq/gst-uninstalled:
26027 add gst-plugins-base
26028 * docs/gst/Makefile.am:
26029 don't error out until docs are fixed
26030 * docs/gst/gstreamer.types:
26033 2005-03-22 Wim Taymans <wim@fluendo.com>
26035 * check/Makefile.am:
26036 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
26037 * gst/gststructure.c: (gst_structure_set_valist),
26038 (gst_structure_copy_conditional):
26039 Activated more tests.
26040 Added message test.
26041 Added G_TYPE_POINTER to GstStructure.
26044 2005-03-22 Wim Taymans <wim@fluendo.com>
26046 * docs/design/part-TODO.txt:
26047 * docs/design/part-events.txt:
26048 * docs/design/part-gstbin.txt:
26049 * docs/design/part-gstbus.txt:
26050 * docs/design/part-gstpipeline.txt:
26051 * docs/design/part-messages.txt:
26053 * gst/gstmessage.c:
26056 2005-03-21 Wim Taymans <wim@fluendo.com>
26058 * gst/gstbus.c: (gst_bus_post):
26059 Fix copy-and-paste error.
26061 2005-03-21 Wim Taymans <wim@fluendo.com>
26063 * check/Makefile.am:
26065 * gst/elements/Makefile.am:
26066 * gst/elements/gstelements.c:
26067 * gst/elements/gstfakesink.c: (gst_fakesink_init),
26068 (gst_fakesink_event), (gst_fakesink_chain):
26069 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26070 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
26071 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
26072 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
26073 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26074 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
26075 (gst_fakesrc_loop), (gst_fakesrc_activate),
26076 (gst_fakesrc_change_state):
26077 * gst/elements/gstfakesrc.h:
26078 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
26079 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
26080 (gst_filesrc_open_file), (gst_filesrc_loop),
26081 (gst_filesrc_activate), (gst_filesrc_change_state),
26082 (filesrc_find_peek), (filesrc_find_suggest),
26083 (gst_filesrc_type_find):
26084 * gst/elements/gstidentity.c: (gst_identity_finalize),
26085 (gst_identity_class_init), (gst_identity_init),
26086 (gst_identity_proxy_getcaps), (identity_queue_push),
26087 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
26088 (gst_identity_getrange), (gst_identity_chain),
26089 (gst_identity_sink_loop), (gst_identity_src_loop),
26090 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
26091 (gst_identity_set_property), (gst_identity_get_property),
26092 (gst_identity_change_state):
26093 * gst/elements/gstidentity.h:
26094 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
26095 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
26096 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
26097 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
26098 (gst_tee_sink_activate):
26099 * gst/elements/gsttee.h:
26100 * gst/gst.c: (gst_register_core_elements), (init_post):
26102 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
26103 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
26104 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
26105 (gst_bin_change_state):
26107 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
26108 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
26109 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
26110 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
26111 (gst_bus_set_sync_handler), (gst_bus_create_watch),
26112 (bus_watch_callback), (bus_watch_destroy),
26113 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
26114 (poll_timeout), (gst_bus_poll):
26118 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26119 (gst_element_post_message), (gst_element_message_full),
26120 (gst_element_get_state_func), (gst_element_get_state),
26121 (gst_element_abort_state), (gst_element_commit_state),
26122 (gst_element_lost_state), (gst_element_set_state),
26123 (gst_element_pads_activate), (gst_element_change_state),
26124 (gst_element_dispose), (gst_element_set_manager_func),
26125 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
26126 (gst_element_set_manager), (gst_element_get_manager),
26127 (gst_element_set_bus), (gst_element_get_bus),
26128 (gst_element_set_scheduler), (gst_element_get_scheduler):
26129 * gst/gstelement.h:
26130 * gst/gstevent.c: (gst_event_new_segment_seek),
26131 (gst_event_new_flush):
26133 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
26134 (_gst_message_free), (gst_message_get_type), (gst_message_new),
26135 (gst_message_new_eos), (gst_message_new_error),
26136 (gst_message_new_warning), (gst_message_new_tag),
26137 (gst_message_new_state_changed), (gst_message_new_application),
26138 (gst_message_get_structure), (gst_message_parse_tag),
26139 (gst_message_parse_state_changed), (gst_message_parse_error),
26140 (gst_message_parse_warning):
26141 * gst/gstmessage.h:
26142 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
26143 (gst_real_pad_set_property), (gst_pad_set_active),
26144 (gst_pad_is_active), (gst_pad_set_blocked_async),
26145 (gst_pad_set_blocked), (gst_pad_is_blocked),
26146 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
26147 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
26148 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
26149 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
26150 (gst_pad_link_filtered), (gst_pad_relink_filtered),
26151 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
26152 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
26153 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
26154 (gst_pad_set_caps), (gst_pad_configure_sink),
26155 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
26156 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
26157 (gst_real_pad_dispose), (gst_real_pad_finalize),
26158 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
26159 (gst_pad_event_default_dispatch), (gst_pad_event_default),
26160 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
26162 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
26163 (pipeline_bus_handler), (gst_pipeline_change_state),
26164 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
26165 * gst/gstpipeline.h:
26167 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
26168 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
26169 (gst_queue_link_src), (gst_queue_bufferalloc),
26170 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
26171 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
26172 (gst_queue_loop), (gst_queue_handle_src_event),
26173 (gst_queue_handle_src_query), (gst_queue_src_activate),
26174 (gst_queue_change_state):
26176 * gst/gstscheduler.c: (gst_scheduler_init),
26177 (gst_scheduler_dispose), (gst_scheduler_create_task),
26178 (gst_scheduler_factory_create):
26179 * gst/gstscheduler.h:
26180 * gst/gststructure.c: (gst_structure_get_type),
26181 (gst_structure_copy_conditional):
26182 * gst/gststructure.h:
26183 * gst/gsttaginterface.h:
26184 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26185 (gst_task_init), (gst_task_dispose), (gst_task_create),
26186 (gst_task_get_state), (gst_task_start), (gst_task_stop),
26192 * gst/schedulers/Makefile.am:
26193 * gst/schedulers/cothreads_compat.h:
26194 * gst/schedulers/entryscheduler.c:
26195 * gst/schedulers/faircothreads.c:
26196 * gst/schedulers/faircothreads.h:
26197 * gst/schedulers/fairscheduler.c:
26198 * gst/schedulers/gstbasicscheduler.c:
26199 * gst/schedulers/gstoptimalscheduler.c:
26200 * gst/schedulers/gthread-cothreads.h:
26201 * gst/schedulers/threadscheduler.c:
26202 (gst_thread_scheduler_task_get_type),
26203 (gst_thread_scheduler_task_class_init),
26204 (gst_thread_scheduler_task_init),
26205 (gst_thread_scheduler_task_start),
26206 (gst_thread_scheduler_task_stop),
26207 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26208 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26209 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26210 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26212 * libs/gst/Makefile.am:
26213 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26214 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26215 (gst_file_pad_parent_set):
26216 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26217 (gst_dp_event_from_packet):
26218 * tests/complexity.c: (main):
26219 * tests/mass_elements.c: (main):
26220 * testsuite/states/locked.c: (message_received), (main):
26221 * testsuite/states/parent.c: (main):
26222 * tools/gst-inspect.c: (print_element_flag_info),
26223 (print_implementation_info), (print_pad_info):
26224 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26226 * tools/gst-md5sum.c: (event_loop), (main):
26227 * tools/gst-typefind.c: (main):
26228 * tools/gst-xmlinspect.c: (print_element_info):
26230 Added GstBus for mainloop integration.
26231 Added GstMessage for sending notifications on the bus.
26232 Added GstTask as an abstraction for pipeline entry points.
26234 Removed Schedulers.
26235 Simplified GstQueue for multithreaded core.
26236 Made _link threadsafe, removed old capsnego.
26237 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26238 Added pad blocking functions.
26239 Reworked scheduling functions in GstPad to prepare for
26240 scheduling updates soon.
26241 Moved events out of data stream.
26242 Simplified GstEvent types.
26243 Added return values to push/pull.
26244 Removed clocking from GstElement.
26245 Added prototypes for state change function for next merge.
26246 Removed iterate from bins and state change management.
26247 Fixed some elements, disabled others for now.
26248 Fixed -inspect and -launch.
26249 Added check for GstBus.
26251 2005-03-10 Wim Taymans <wim@fluendo.com>
26253 * docs/design/part-MT-refcounting.txt:
26254 * docs/design/part-clocks.txt:
26255 * docs/design/part-gstelement.txt:
26256 * docs/design/part-gstobject.txt:
26257 * docs/design/part-standards.txt:
26258 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26259 (gst_bin_remove_func), (gst_bin_remove):
26263 * testsuite/clock/clock1.c: (main):
26264 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26266 * testsuite/dlopen/loadgst.c: (do_test):
26267 * testsuite/refcounting/bin.c: (add_remove_test1),
26268 (add_remove_test2), (main):
26269 * testsuite/refcounting/element.c: (main):
26270 * testsuite/refcounting/element_pad.c: (main):
26271 * testsuite/refcounting/pad.c: (main):
26272 * tools/gst-launch.c: (sigint_handler_sighandler):
26273 * tools/gst-typefind.c: (main):
26275 Added doc about clock.
26276 removed gst_bin_iterate_recurse_up(), marked methods
26278 Fix more testsuites.
26280 2005-03-09 Wim Taymans <wim@fluendo.com>
26282 * gst/gstpad.c: (gst_pad_get_direction),
26283 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26284 (gst_pad_collect_valist):
26285 * testsuite/bins/interface.c: (main):
26286 * testsuite/caps/audioscale.c: (test_caps):
26287 * testsuite/caps/caps.c: (test1), (test2), (test3):
26288 * testsuite/caps/deserialize.c: (main):
26289 * testsuite/caps/enumcaps.c: (main):
26290 * testsuite/caps/filtercaps.c: (main):
26291 * testsuite/caps/intersect2.c: (main):
26292 * testsuite/caps/random.c: (main):
26293 * testsuite/caps/renegotiate.c: (my_fixate), (main):
26294 * testsuite/caps/sets.c: (check_caps):
26295 * testsuite/caps/simplify.c: (check_caps), (main):
26296 * testsuite/caps/subtract.c: (check_caps):
26297 Fix _pad_get_direction wrt ghostpads.
26298 Fix caps testsuite.
26300 2005-03-09 Wim Taymans <wim@fluendo.com>
26302 * check/Makefile.am:
26303 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26304 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26305 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26306 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26307 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26308 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26309 (gst_bin_remove), (gst_bin_iterate_recurse_up),
26310 (bin_element_is_sink), (gst_bin_iterate_sinks),
26311 (gst_bin_iterate_all_by_interface):
26313 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26314 (gst_element_change_state), (gst_element_dispose),
26315 (gst_element_finalize), (gst_element_set_loop_function):
26316 * gst/gstelement.h:
26317 * gst/gstiterator.c: (find_custom_fold_func):
26318 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26319 (gst_pad_collectv), (gst_pad_collect_valist),
26320 (gst_pad_template_new):
26321 * gst/gstpipeline.c: (gst_pipeline_class_init),
26322 (gst_pipeline_dispose), (gst_pipeline_set_property),
26323 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26324 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26325 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26327 * gst/schedulers/entryscheduler.c:
26328 * gst/schedulers/gstbasicscheduler.c:
26329 (gst_basic_scheduler_cothreaded_chain),
26330 (gst_basic_scheduler_chain_add_element):
26331 * testsuite/bins/interface.c: (main):
26333 Added GstSystemClock test.
26334 Implemented clock distribution code in GstBin.
26335 Implemented iterate sinks method for future use.
26336 Rearranged gstelement.h
26337 Fix GstIterator comparison bug.
26338 Moved some code to GstPipeline, mostly clocking related.
26340 2005-03-09 Wim Taymans <wim@fluendo.com>
26343 * gst/gst_private.h:
26344 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26345 (gst_bin_remove_func), (gst_bin_remove),
26346 (gst_bin_get_by_name_recurse_up):
26347 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26348 (gst_clock_id_compare_func), (gst_clock_id_wait),
26349 (gst_clock_id_wait_async), (gst_clock_init),
26350 (gst_clock_adjust_unlocked), (gst_clock_get_time):
26351 * gst/gstelement.h:
26352 * gst/gstinfo.c: (_gst_debug_init):
26354 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26355 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26357 Bump version number, we're now 0.9.0
26358 Add future debugging category.
26359 Fix NULL _unref() in _get_by_name_recurse_up
26360 Rearrange gstpad.h.
26363 2005-03-08 Wim Taymans <wim@fluendo.com>
26365 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26366 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26367 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26368 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26369 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26370 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26371 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26372 * gst/elements/gstidentity.c: (gst_identity_class_init):
26373 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26374 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26375 * gst/elements/gstshaper.c: (gst_shaper_class_init):
26376 * gst/elements/gststatistics.c: (gst_statistics_class_init):
26377 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26379 * gst/gstelement.c: (gst_element_class_init),
26380 (gst_element_base_class_init), (gst_element_init),
26381 (gst_element_get_random_pad), (gst_element_wait_state_change),
26382 (gst_element_change_state), (gst_element_dispose),
26383 (gst_element_finalize), (gst_element_set_loop_function):
26384 * gst/gstelement.h:
26385 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26386 * gst/gstthread.c: (gst_thread_class_init),
26387 (gst_thread_release_children_locks), (gst_thread_change_state):
26388 * gst/schedulers/gstbasicscheduler.c:
26389 (gst_basic_scheduler_loopfunc_wrapper),
26390 (gst_basic_scheduler_chain_wrapper),
26391 (gst_basic_scheduler_src_wrapper),
26392 (gst_basic_scheduler_remove_element):
26393 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26394 Remove threadsafe properties. Fix elements because GObject
26395 complains when installing a property before declaring a
26396 set/get_property handler.
26397 Rearrange gstelement.h file, use STATE macros for state locks.
26398 Free mutexes in the finalize method instead of dispose.
26400 2005-03-08 Wim Taymans <wim@fluendo.com>
26402 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26403 * gst/gstthread.c: (gst_thread_release_children_locks):
26404 Added parentage check.
26405 Fix build og GstThread again.
26407 2005-03-08 Wim Taymans <wim@fluendo.com>
26409 * docs/design/part-MT-refcounting.txt:
26410 * docs/design/part-conventions.txt:
26411 * docs/design/part-gstobject.txt:
26412 * docs/design/part-relations.txt:
26413 * docs/design/part-standards.txt:
26414 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26415 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26416 (gst_bin_get_by_name), (gst_bin_get_by_interface),
26417 (gst_bin_iterate_all_by_interface):
26420 * gst/gstelement.c: (gst_element_class_init),
26421 (gst_element_change_state), (gst_element_set_loop_function):
26422 * gst/gstelement.h:
26423 * gst/gstiterator.c:
26424 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26425 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26426 (gst_object_dispatch_properties_changed), (gst_object_set_name),
26427 (gst_object_set_parent), (gst_object_unparent),
26428 (gst_object_check_uniqueness):
26430 Docs updates, clean up some headers.
26432 2005-03-07 Wim Taymans <wim@fluendo.com>
26434 * check/.cvsignore:
26435 * check/Makefile.am:
26436 * check/gst-libs/.cvsignore:
26437 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26438 * check/gst/.cvsignore:
26439 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26440 (START_TEST), (gstbus_suite), (main):
26441 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26442 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26443 (gst_data_suite), (main):
26444 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26445 (add_fold_func), (gstiterator_suite), (main):
26446 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26447 (thread_name_object), (thread_name_object_default),
26448 (gst_object_name_compare), (gst_object_suite), (main):
26449 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26450 (gst_pad_suite), (main):
26451 * check/gstcheck.c: (gst_check_log_message_func),
26452 (gst_check_log_critical_func), (gst_check_init):
26453 * check/gstcheck.h:
26454 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26455 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26458 2005-03-07 Wim Taymans <wim@fluendo.com>
26460 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26461 (gst_list_iterator_next), (gst_list_iterator_resync),
26462 (gst_list_iterator_free), (gst_iterator_new_list),
26463 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26464 (gst_iterator_free), (gst_iterator_push), (filter_next),
26465 (filter_resync), (filter_uninit), (filter_free),
26466 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26467 (gst_iterator_foreach), (find_custom_fold_func),
26468 (gst_iterator_find_custom):
26469 * gst/gstiterator.h:
26470 Added missing files.
26472 2005-03-07 Wim Taymans <wim@fluendo.com>
26476 * docs/design/part-MT-refcounting.txt:
26477 * docs/design/part-conventions.txt:
26478 * docs/design/part-gstobject.txt:
26479 * docs/design/part-relations.txt:
26480 * examples/mixer/mixer.c: (main):
26481 * examples/thread/thread.c: (eos), (main):
26483 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26484 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26485 (gst_spider_plug_from_srcpad):
26486 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26487 (gst_spider_identity_change_state),
26488 (gst_spider_identity_sink_loop_type_finding):
26489 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26490 * gst/elements/gstidentity.c: (gst_identity_init):
26491 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26492 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26493 * gst/elements/gsttypefindelement.c: (free_entry):
26496 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26497 (gst_bin_set_clock_func), (gst_bin_auto_clock),
26498 (gst_bin_set_index), (gst_bin_set_element_sched),
26499 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26500 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26501 (gst_bin_iterate_elements), (iterate_child_recurse),
26502 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26503 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26504 (compare_interface), (gst_bin_get_by_interface),
26505 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26507 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26508 (gst_buffer_default_free), (gst_buffer_default_copy),
26509 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26510 (gst_buffer_create_sub):
26512 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26513 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26514 (gst_caps_unref), (gst_static_caps_get),
26515 (gst_caps_remove_and_get_structure), (gst_caps_append),
26516 (gst_caps_append_structure), (gst_caps_remove_structure),
26517 (gst_caps_copy_nth), (gst_caps_set_simple),
26518 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26519 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26520 (gst_caps_structure_intersect_field), (gst_caps_intersect),
26521 (gst_caps_structure_subtract_field), (gst_caps_subtract),
26522 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26523 (gst_caps_structure_figure_out_union),
26524 (gst_caps_switch_structures), (gst_caps_do_simplify),
26525 (gst_caps_replace), (gst_caps_from_string),
26526 (gst_caps_copy_conditional):
26528 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26529 (_gst_clock_id_free), (gst_clock_id_unref),
26530 (gst_clock_id_compare_func), (gst_clock_id_wait),
26531 (gst_clock_id_wait_async), (gst_clock_class_init),
26532 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26533 (gst_clock_get_time), (gst_clock_set_time_adjust),
26534 (gst_clock_set_property), (gst_clock_get_property):
26537 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26538 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26540 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26541 (gst_element_requires_clock), (gst_element_provides_clock),
26542 (gst_element_set_clock), (gst_element_clock_wait),
26543 (gst_element_wait), (gst_element_set_time_delay),
26544 (gst_element_is_indexable), (gst_element_add_pad),
26545 (gst_element_add_ghost_pad), (gst_element_remove_pad),
26546 (pad_compare_name), (gst_element_get_static_pad),
26547 (gst_element_request_pad), (gst_element_get_request_pad),
26548 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26549 (gst_element_class_get_pad_template_list),
26550 (gst_element_class_get_pad_template), (gst_element_error_func),
26551 (gst_element_get_random_pad), (gst_element_get_event_masks),
26552 (gst_element_send_event), (gst_element_seek),
26553 (gst_element_get_query_types), (gst_element_query),
26554 (gst_element_get_formats), (gst_element_convert),
26555 (gst_element_is_locked_state), (gst_element_set_locked_state),
26556 (gst_element_sync_state_with_parent), (gst_element_change_state),
26557 (gst_element_finalize), (gst_element_yield),
26558 (gst_element_interrupt), (gst_element_set_scheduler),
26559 (gst_element_get_scheduler), (gst_element_set_loop_function):
26560 * gst/gstelement.h:
26562 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26563 (gst_format_get_by_nick), (gst_format_get_details),
26564 (gst_format_iterate_definitions):
26566 * gst/gstindex.c: (gst_index_gtype_resolver):
26569 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26570 (gst_mem_chunk_free):
26571 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26572 (gst_object_ref), (gst_object_unref), (gst_object_sink),
26573 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26574 (gst_object_dispatch_properties_changed),
26575 (gst_object_set_name_default), (gst_object_set_name),
26576 (gst_object_get_name), (gst_object_set_name_prefix),
26577 (gst_object_get_name_prefix), (gst_object_set_parent),
26578 (gst_object_get_parent), (gst_object_unparent),
26579 (gst_object_check_uniqueness), (gst_object_save_thyself),
26580 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26581 (gst_object_set_property), (gst_object_get_property),
26582 (gst_object_get_path_string):
26584 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26585 (gst_real_pad_init), (gst_real_pad_get_property),
26586 (gst_pad_custom_new), (gst_pad_get_direction),
26587 (gst_pad_set_active), (gst_pad_is_active),
26588 (gst_pad_set_event_function), (gst_pad_is_linked),
26589 (gst_pad_link_free), (gst_pad_link_intersect),
26590 (gst_pad_link_fixate), (gst_pad_set_caps),
26591 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26592 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26593 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26594 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26595 (gst_pad_get_caps), (gst_pad_peer_get_caps),
26596 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26597 (gst_pad_realize), (gst_pad_get_allowed_caps),
26598 (gst_real_pad_dispose), (gst_real_pad_finalize),
26599 (gst_pad_collectv), (gst_pad_collect_valist),
26600 (gst_pad_template_dispose), (gst_pad_template_new),
26601 (gst_pad_get_internal_links):
26603 * gst/gstpipeline.c: (gst_pipeline_dispose),
26604 (gst_pipeline_change_state):
26605 * gst/gstpipeline.h:
26607 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26608 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26609 * gst/gstpluginfeature.h:
26610 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26611 * gst/gstquery.c: (_gst_query_type_initialize),
26612 (gst_query_type_register), (gst_query_type_get_by_nick),
26613 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26615 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26616 * gst/gstscheduler.c: (gst_scheduler_add_element),
26617 (gst_scheduler_factory_create):
26618 * gst/gststructure.c: (gst_structure_set_parent_refcount),
26619 (gst_structure_free), (gst_structure_set_name),
26620 (gst_structure_id_set_value), (gst_structure_set_value),
26621 (gst_structure_set_valist), (gst_structure_remove_field),
26622 (gst_structure_remove_fields),
26623 (gst_structure_remove_fields_valist),
26624 (gst_structure_remove_all_fields), (gst_structure_foreach),
26625 (gst_structure_map_in_place),
26626 (gst_caps_structure_fixate_field_nearest_int),
26627 (gst_caps_structure_fixate_field_nearest_double):
26628 * gst/gststructure.h:
26629 * gst/gstsystemclock.c: (gst_system_clock_class_init),
26630 (gst_system_clock_init), (gst_system_clock_dispose),
26631 (gst_system_clock_async_thread),
26632 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26633 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26634 * gst/gstsystemclock.h:
26635 * gst/gsttag.c: (gst_tag_list_add_value_internal),
26636 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26637 * gst/gsttaginterface.c:
26638 * gst/gstthread.c: (gst_thread_dispose),
26639 (gst_thread_release_children_locks), (gst_thread_change_state),
26640 (gst_thread_main_loop):
26641 * gst/gsttrashstack.h:
26642 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26644 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26645 (gst_element_request_pad), (gst_element_get_pad_from_template),
26646 (gst_element_request_compatible_pad),
26647 (gst_element_get_compatible_pad_filtered),
26648 (gst_element_get_compatible_pad), (gst_element_state_get_name),
26649 (gst_element_link_pads_filtered), (gst_element_link_filtered),
26650 (gst_element_link_many), (gst_element_link),
26651 (gst_element_link_pads), (gst_element_unlink_pads),
26652 (gst_element_unlink_many), (gst_element_unlink),
26653 (gst_pad_can_link_filtered), (gst_pad_can_link),
26654 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26655 (gst_object_default_error), (gst_bin_add_many),
26656 (gst_bin_remove_many), (gst_element_populate_std_props),
26657 (gst_element_class_install_std_props), (gst_buffer_merge),
26658 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26659 (link_fold_func), (gst_pad_proxy_setcaps):
26661 * gst/gstvalue.c: (gst_value_deserialize_string):
26662 * gst/parse/grammar.y:
26663 * gst/schedulers/gstbasicscheduler.c:
26664 (gst_basic_scheduler_cothreaded_chain),
26665 (gst_basic_scheduler_chain_recursive_add),
26666 (gst_basic_scheduler_pad_link):
26667 * gst/schedulers/gstoptimalscheduler.c:
26668 (get_group_schedule_function),
26669 (gst_opt_scheduler_state_transition),
26670 (gst_opt_scheduler_add_element), (element_get_reachables_func):
26671 * libs/gst/bytestream/bytestream.c:
26672 * libs/gst/dataprotocol/dataprotocol.c:
26673 (gst_dp_header_from_buffer):
26676 * tests/threadstate/threadstate2.c: (eos):
26677 * tools/gst-compprep.c: (main):
26678 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26679 (print_pad_info), (print_children_info):
26680 * tools/gst-launch.c: (idle_func), (main):
26681 * tools/gst-md5sum.c: (idle_func), (main):
26682 * tools/gst-xmlinspect.c: (print_element_info):
26683 First THREADED backport attempt, focusing on adding locks and
26684 making sure the API is threadsafe. Needs more work. More docs
26687 2005-02-24 Andy Wingo <wingo@pobox.com>
26689 * tests/bench-complexity.scm:
26690 * tests/complexity.gnuplot: New files, good for running complexity
26693 * tests/Makefile.am:
26694 * tests/complexity.c: New test, sets up N elements, at each level
26695 teeing into M streams per element. Eeeenteresting.
26697 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26698 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26699 running bench-mass_elements.scm.
26701 * tests/bench-mass_elements.scm: New script, runs mass_elements
26702 for various numbers of identities, outputting the results to a
26703 file. Requires guile 1.6. Just for testing.
26705 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
26707 * gst/schedulers/fairscheduler.c:
26708 compile with debug disabled
26710 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
26713 hunting season on 0.9 is now OPEN