1 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3 * libs/gst/controller/gstcontroller.c:
4 (gst_controller_get_value_array):
5 * libs/gst/controller/gstcontroller.h:
6 Clarify the docs of gst_controller_get_value_array(): The array where
7 the values should be written to must be allocated as there seems to be
8 no way to get the size of a random GType. This doesn't change any
9 behaviour. Also fix some typos all over the place and remove an unused,
10 commented function that is not necessary as g_object_set() could be
12 * tests/check/libs/controller.c: (GST_START_TEST),
13 (gst_controller_suite):
14 Add unit test for gst_controller_get_value_array().
16 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
18 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
20 Disable part of the gst_buffer_try_new_and_alloc test, because
21 it can happily succeed on 64-bit systems where there's more address
24 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
26 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
27 Add unit test for the improved caps checking from bug #421543.
29 2007-05-21 Wim Taymans <wim@fluendo.com>
31 * docs/design/part-synchronisation.txt:
34 * gst/gstbin.c: (gst_bin_query):
35 * plugins/elements/gstqueue.c: (apply_segment):
41 2007-05-21 Wim Taymans <wim@fluendo.com>
43 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
44 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
45 (gst_pad_configure_src):
46 Added simple version of improved caps checking. It was previously
47 assumed that a setcaps function would check the validity of the caps but
48 people prefer us to check caps against the template automatically.
51 2007-05-21 Wim Taymans <wim@fluendo.com>
53 * libs/gst/base/gstbasetransform.h:
54 Fix macro for locking/unlocking the transform lock.
56 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
58 * docs/plugins/tmpl/.cvsignore:
61 2007-05-18 Edward Hervey <edward@fluendo.com>
63 * plugins/elements/gstqueue.c: (gst_queue_loop):
64 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
65 for the subtle art of warning a potentially blocking thread that it
66 should check the source pad return value, and relay the information
69 2007-05-18 Edward Hervey <edward@fluendo.com>
71 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
72 Release the queue lock !
74 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
76 * docs/libs/gstreamer-libs-sections.txt:
77 Add the two new controller functions to the appropiate places.
79 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
81 reviewed by: Stefan Kost <ensonic@users.sf.net>
83 * libs/gst/controller/gstcontroller.c:
84 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
85 (_gst_controller_get_property), (_gst_controller_set_property),
86 (_gst_controller_init), (_gst_controller_class_init):
87 * libs/gst/controller/gstcontroller.h:
88 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
89 (gst_object_get_control_rate), (gst_object_set_control_rate):
90 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
91 Add API that provides sync suggestion timestamps for elements that
92 call gst_object_sync_values() from which those elements can subdivide
93 their processing loop to get the best results for the controlled
94 properties. For now it just suggests last_sync + control_rate as
95 new timestamp but this will be improved in the future.
97 While doing that change the control-rate property to a GstClockTime
98 from guint and change it's meaning from samples to nanoseconds as
99 the GstController doesn't know anything about sampling rate. Strictly
100 speaking this breaks ABI but as the control-rate property didn't do
101 anything in the past and as such couldn't be used this should be no
104 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
106 reviewed by: Stefan Kost <ensonic@users.sf.net>
108 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
109 (gst_controller_unset_all):
110 * libs/gst/controller/gstcontrollerprivate.h:
111 * libs/gst/controller/gstinterpolation.c:
112 (gst_controlled_property_find_control_point_node):
113 Save last synced value from the list to continue searching from there
114 in future syncs. This speeds everything up a bit.
116 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
118 reviewed by: Stefan Kost <ensonic@users.sf.net>
120 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
121 (gst_control_point_find), (gst_controlled_property_new),
122 (gst_control_point_free), (gst_controlled_property_free),
123 (gst_controller_set), (gst_controller_set_from_list),
124 (gst_controller_unset), (gst_controller_unset_all),
125 (gst_controller_sync_values):
126 * libs/gst/controller/gstcontroller.h:
127 * libs/gst/controller/gstcontrollerprivate.h:
128 * libs/gst/controller/gstinterpolation.c:
129 (gst_controlled_property_find_control_point_node),
130 (interpolate_none_get), (interpolate_trigger_get):
131 Add a new private GstControlPoint struct which "inherits" from
132 GstTimedValue to allow different interpolators to store internal
133 values next to each control point. From the outside everything is
134 still a GstControlPoint so we don't loose binary compatibility.
135 Also fixup all the GValue handling to not leak GValues or list nodes.
136 * tests/check/libs/controller.c: (GST_START_TEST):
137 Free the list nodes and GValues in the controller_misc test.
139 2007-05-17 Edward Hervey <edward@fluendo.com>
144 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
146 * gst/gstplugin.c: (gst_plugin_load_file):
147 If we fail to load a plugin because of unresolved symbols or missing
148 libraries and spew a warning to stderr, we may just as well mention
149 which plugin it was that failed to load.
151 2007-05-13 David Schleef <ds@schleef.org>
153 * docs/Makefile.am: the gtk-doc makefile snippet correctly
154 handles the case when ENABLE_GTK_DOC is false, and installs
155 the prebuilt documentation. So gtk-doc subdirs are
156 unconditionally enabled. Fixes: #349099.
158 2007-05-13 David Schleef <ds@schleef.org>
160 * gst/gstutils.h: Reword some documentation.
162 2007-05-12 David Schleef <ds@schleef.org>
164 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
165 do anything with the passed "module" parameter, so remove it.
166 Allows removal of additional vestigal code.
168 2007-05-12 David Schleef <ds@schleef.org>
171 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
172 Switch to using g_stat() because it's more portable.
174 2007-05-12 David Schleef <ds@schleef.org>
177 Add GST_DISABLE_OPTION_PARSING, in order to disable option
178 parsing for embedded systems.
179 * gst/gstelementfactory.c:
180 Allow gst_element_register() to be called with plugin==NULL.
181 Did nobody notice that static elements were broken?
183 2007-05-12 Wim Taymans <wim@fluendo.com>
185 * tools/gst-launch.c: (event_loop):
186 Give more interesting info when buffering starts and stops.
187 Fix case where buffering starts but we fail to update the buffering flag
188 because the target state is not PLAYING.
190 2007-05-12 Wim Taymans <wim@fluendo.com>
192 * plugins/elements/gstqueue.c: (gst_queue_init),
193 (gst_queue_finalize), (update_time_level), (apply_segment),
194 (apply_buffer), (gst_queue_locked_flush),
195 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
196 (gst_queue_handle_sink_event), (gst_queue_chain),
197 (gst_queue_push_one), (gst_queue_loop):
198 * plugins/elements/gstqueue.h:
199 Refactor an cleanup queue a bit.
200 Do better time level calculations that also work when the srcpad is not
202 Remove some unneeded debug lines.
204 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
205 Added testcase for time level measurement.
206 Try to make some stuff more racefree.
208 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
210 * gst/gsturi.c: (gst_element_make_from_uri):
211 Don't leak plugin feature.
213 * tests/check/Makefile.am:
214 * tests/check/gst/.cvsignore:
215 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
216 Add brain-dead unit test.
218 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
220 Patch by: Jeroen Wouters <woutersj at gmail com>
222 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
223 Treat protocol strings in a case-insensitive way (#437563).
225 2007-05-11 Michael Smith <msmith@fluendo.com>
227 * gst/gstplugin.c: (gst_plugin_load_file):
228 * gst/gstregistry.c: (gst_registry_scan_path_level):
229 Don't print a g_warning for any failure to load a shared object.
230 Instead, push this down into gstplugin.c, and warn _only_ if we
231 failed to open the module (i.e. failure to link).
232 Avoids warnings on normal, working, non-plugin .so files.
234 2007-05-11 Stefan Kost <ensonic@users.sf.net>
236 * gst/gstplugin.c (gst_plugin_load_file):
237 * gst/gstregistry.c (GST_CAT_DEFAULT,
238 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
239 Print a g_warning if there was an error when loading a plugins during
240 registry scan. The shuld help beginners starting with gst-plugin
243 2007-05-10 Wim Taymans <wim@fluendo.com>
245 * plugins/elements/gstqueue.c: (gst_queue_class_init),
246 (update_time_level), (gst_queue_locked_flush),
247 (gst_queue_handle_sink_event), (gst_queue_chain),
248 (gst_queue_push_one), (gst_queue_loop):
249 * plugins/elements/gstqueue.h:
250 Be smarter when calculating the current amount of data in the queue by
251 measuring the difference between start and end timestamps (in running
252 time) inside the queue. Fixes #432876.
253 API: GstQueue::pushing to notify elements that we are pushing data again
254 since the running signal is rather broken for this purpose.
256 2007-05-10 Stefan Kost <ensonic@users.sf.net>
258 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
259 gst_queue_base_init, gst_queue_init):
262 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
264 * win32/common/libgstreamer.def:
265 Add new exported functions.
266 * win32/vs6/grammar.dsp:
267 Use grammar pre-generated files.
269 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
271 Based on patch by: Peter Kjellerstedt <pkj at axis com>
274 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
276 * gst/gstutils.c: (gst_parse_bin_from_description):
278 Maintain API and ABI when --disable-parse is used. Now that
279 we have an appropriate error code, we can just return NULL and the
280 appropriate error when gst_parse_launch() is used despite it having
281 been disabled (#342564).
283 * tests/check/Makefile.am:
284 * tests/check/pipelines/.cvsignore:
285 * tests/check/pipelines/parse-disabled.c:
286 Make sure these functions exist and return NULL plus a GError when
287 --disable-parse is used.
289 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
291 * tests/benchmarks/complexity.c: (main):
292 * tests/benchmarks/mass-elements.c: (main):
293 Set a good example and don't leak messages.
295 2007-05-06 Stefan Kost <ensonic@users.sf.net>
297 * docs/gst/Makefile.am:
298 * docs/libs/Makefile.am:
299 Correct fixxrefs options.
301 * docs/plugins/Makefile.am:
302 * docs/plugins/gstreamer-plugins-docs.sgml:
303 * docs/plugins/gstreamer-plugins-sections.txt:
304 * plugins/elements/Makefile.am:
305 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
306 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
307 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
308 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
309 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
310 _GstCapsFilterClass, trans_class):
311 * plugins/elements/gstelements.c (name, rank, type, _elements):
312 * plugins/elements/gstidentity.c
313 (gst_identity_check_imperfect_timestamp,
314 gst_identity_check_imperfect_offset):
315 Document capsfilter and add doc-blurb to identity.
317 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
319 * libs/gst/controller/gstcontroller.c:
320 (gst_controlled_property_set_interpolation_mode):
321 * libs/gst/controller/gstinterpolation.c:
322 Don't crash if someone tries to set an interpolation mode that
323 is invalid or that isn't supported yet. Fixes #422295.
325 * tests/check/libs/controller.c: (GST_START_TEST),
326 (gst_controller_suite):
327 Add a test case for the above.
329 2007-05-03 Edward Hervey <edward@fluendo.com>
331 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
332 Properly set the last_stop position on GstSegment. This will only happen
333 if there is a buffer to push out.
335 2007-05-03 Wim Taymans <wim@fluendo.com>
337 * libs/gst/base/gstbasetransform.c:
338 (gst_base_transform_buffer_alloc):
339 always_in_place does not mean that the sink and source caps are the
340 same! Make sure we don't blindly proxy the buffer_alloc in this case.
342 2007-05-03 Wim Taymans <wim@fluendo.com>
344 * docs/libs/gstreamer-libs-sections.txt:
345 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
346 (gst_base_src_default_query), (gst_base_src_get_range):
347 * libs/gst/base/gstbasesrc.h:
348 API: gst_base_src_query_latency(). Added method so that subclasses can
349 easily get the latency values of the base source class.
351 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
353 * tools/gst-inspect.c (print_implementation_info):
356 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
359 * tools/gst-launch.1.in:
360 Don't create a customised man page based on the host architecture,
361 describe the default registry path generically. That way the man
362 page is the same for all architectures and packagers have one
363 multilib issue less to deal with. Fixes #434926.
365 2007-05-02 Wim Taymans <wim@fluendo.com>
368 Fix documentation as spotted by rg on IRC.
370 2007-04-29 Stefan Kost <ensonic@users.sf.net>
373 Improve docs for gst_element_{link,unlink}.
375 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
377 * docs/design/part-events.txt:
378 * docs/design/part-overview.txt:
382 * libs/gst/base/gstbasesink.c:
383 Typo fixes; minor docs addition.
385 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
387 * docs/gst/gstreamer-sections.txt:
388 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
389 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
391 API: Add gst_uri_protocol_is_supported(), which checks if an sink
392 or src that supports a given URI protocol exists.
394 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
396 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
397 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
398 Set the location to NULL if "file://" is set as URI. Otherwise
399 some random previous URI would still be set if "file://" is
400 set on an already used filesink/filesrc.
402 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
404 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
405 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
406 Special case the "file://" URI as as this is used by some
407 applications to test with gst_element_make_from_uri if there's
408 an element that supports the URI protocol.
409 Also move the g_path_is_absolute() check for the location part
410 of the URI to also check this for "file://localhost/bla" URIs.
412 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
414 * docs/gst/gstreamer-sections.txt:
415 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
417 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
419 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
421 2007-04-26 Stefan Kost <ensonic@users.sf.net>
423 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
424 (gst_registry_binary_load_pad_template),
425 (gst_registry_binary_load_plugin),
426 (gst_registry_binary_read_cache):
427 * gst/gstregistrybinary.h:
428 Implement no-mmap alternative for registry reading. Do code cleanups.
429 Add more comments about avoiding strdups for all text data. Comments
432 2007-04-25 Stefan Kost <ensonic@users.sf.net>
434 * gst/gstregistrybinary.h (GstBinaryPluginElement,
435 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
436 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
437 Comment structs and reformat to fix the build (that stuff should go
438 into a priv. header).
440 2007-04-25 Stefan Kost <ensonic@users.sf.net>
442 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
443 (gst_registry_binary_load_feature):
444 * gst/gstregistrybinary.h:
445 Refactor so that we can implement multiple features. Add support for
446 TypeFindFactory features.
448 2007-04-24 Stefan Kost <ensonic@users.sf.net>
450 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
453 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
455 2007-04-23 Stefan Kost <ensonic@users.sf.net>
457 * gst/gstbin.c: (gst_bin_element_set_state),
458 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
459 (bin_handle_async_done), (gst_bin_handle_message_func):
460 Fix build with --gst-disable-gst-debug
462 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
464 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
465 Make sure streaming has finished before calling the ::stop() vfunc,
466 since that vfunc might clear state which is being used in the
467 streaming thread. This fixes a race that caused crashes in
468 audioresample when shutting down a pipeline (#420106).
470 2007-04-20 Stefan Kost <ensonic@users.sf.net>
472 * docs/gst/gstreamer-sections.txt:
473 That was one byte missing.
475 2007-04-20 Stefan Kost <ensonic@users.sf.net>
478 * docs/gst/gstreamer-sections.txt:
480 * gst/gstconfig.h.in:
481 * gst/gstobject.c: (gst_object_class_init),
482 (gst_signal_object_class_init):
484 2nd attempt to have a xml-less build as a joined effort of #413123
487 2007-04-20 Stefan Kost <ensonic@users.sf.net>
489 * docs/design/draft-tagreading.txt:
490 Added open issues/thoughts to draft.
492 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
494 * gst/parse/grammar.tab.pre.c:
495 * gst/parse/grammar.tab.pre.h:
496 * gst/parse/lex._gst_parse_yy.pre.c:
497 Update the prebuild parser sources.
499 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
501 * gst/parse/Makefile.am:
502 And now fix the building of the flex sources. Now everything should
505 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
507 * gst/parse/Makefile.am:
508 Now hopefully fix the build failures by setting proper rule
509 dependencies and moving instead of copying.
511 2007-04-19 Stefan Kost <ensonic@users.sf.net>
513 * tests/benchmarks/complexity.gnuplot:
514 * tests/benchmarks/complexity.scm:
515 * tests/benchmarks/mass-elements.gnuplot:
516 * tests/benchmarks/mass-elements.scm:
517 Total licensification.
519 2007-04-19 Stefan Kost <ensonic@users.sf.net>
521 * gst/parse/Makefile.am:
522 Fix the build by correcting the rule that gave wrong files to flex.
524 2007-04-19 Stefan Kost <ensonic@users.sf.net>
526 * tests/benchmarks/complexity.c:
527 * tests/benchmarks/mass-elements.c:
528 Change licence to LGPL as granted by Benjamin and Andy.
530 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
532 * gst/parse/Makefile.am:
533 Add correct grammar.tab.h dependency if compiling without new enough
536 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
538 * gst/parse/Makefile.am:
539 Fix typo and use outdated sources if the flex/bison sources are newer
540 than the pregenerated ones but flex is too old. Print a warning in
541 that case. This should fix the build on the build bot.
543 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
545 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
546 * gst/parse/Makefile.am:
547 * gst/parse/grammar.y:
549 Make the parser reentrant and recursively callable. This requires flex
550 >= 2.5.31, for older versions pregenerated sources are used as we
551 can't bump the build dependency. Finally fixes #349180.
553 * gst/gstparse.c: (gst_parse_launch):
554 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
557 * docs/gst/Makefile.am:
558 * docs/gst/Makefile.am:
559 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
560 (__gst_parse_strfree), (__gst_parse_link_new),
561 (__gst_parse_link_free), (__gst_parse_chain_new),
562 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
563 (gst_parse_element_set), (gst_parse_free_link),
564 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
565 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
567 * gst/parse/grammar.tab.pre.h:
568 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
569 (yy_get_previous_state), (yy_try_NUL_trans), (input),
570 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
571 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
572 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
573 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
574 (_gst_parse_yypop_buffer_state),
575 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
576 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
577 (yy_fatal_error), (_gst_parse_yyget_extra),
578 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
579 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
580 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
581 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
582 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
583 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
584 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
585 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
586 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
587 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
589 If the installed flex version is too old use pre-generated parser
590 sources. These pre-generated parser sources are always updated when
591 the actual flex/bison sources change but require everybody who wants
592 to change something in the parser to have flex >= 2.5.31 installed.
594 2007-04-18 Stefan Kost <ensonic@users.sf.net>
596 * common/m4/gst-gettext.m4:
597 * gst/gst-i18n-lib.h:
598 Make --disable-nls to work
600 2007-04-17 Wim Taymans <wim@fluendo.com>
602 * gst/gstconfig.h.in:
603 Revert previous change that broke the build.
605 2007-04-17 Stefan Kost <ensonic@users.sf.net>
609 * gst/gstconfig.h.in:
610 Drop libxml2 dependency when building with
611 --enable-binary-registry --disable-loadsave
613 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
615 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
616 (gst_registry_binary_read_cache):
617 * gst/gstregistrybinary.h:
618 Remove unnecessary <sys/mman.h> include which broke the win32 build
619 with MingW; move includes from header file to .c file, even if the
620 header file isn't installed; use g_strerror() where UTF-8 strings
621 are expected, such as in GST_DEBUG messages.
623 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
625 * docs/libs/gstreamer-libs-sections.txt:
626 Remove bogus addition for API I didn't end up keeping.
628 * libs/gst/base/gstbasesrc.h:
629 Mention Since: 0.10.13 in the documentation.
631 Add the API keyword to the previous ChangeLog entry.
633 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
635 * docs/libs/gstreamer-libs-sections.txt:
636 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
637 (gst_base_src_default_prepare_seek_segment),
638 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
639 * libs/gst/base/gstbasesrc.h:
640 Allow basesrc derived classes to execute seeks in other formats
641 by providing a prepare_seek_segment vmethod. Sub-classes can choose
642 to prepare the GstSegment in any format that their perform_seek method
643 will be able to understand. The default implementation provides the
644 old behaviour of attempting to convert the seek offsets to the
645 configured native format.
647 API: basesrc::prepare_seek_segment vmethod.
649 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
651 * gst/gstelement.c: (gst_element_get_state_func):
652 Don't output the same debug statement twice.
654 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
655 (gst_adapter_peek), (gst_adapter_take_buffer):
656 Optimise the case where we have buffers at the head of the queue that
657 can be joined quickly (because they're contiguous sub-buffers) by
658 merging them together rather than copying data out into new memory.
660 * gst/parse/grammar.y:
661 * tests/check/pipelines/parse-launch.c:
662 Fix a leak in an error path for parse_launch, and add a check
663 for it to the testsuite.
665 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
667 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
668 Don't deadlock when releasing a pad - gst_pad_set_active may try
669 and take the multiqueue lock too.
671 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
673 * gst/gsterror.c: (_gst_core_errors_init):
675 API: add GST_CORE_ERROR_DISABLED (#392804).
677 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
679 * docs/faq/gst-uninstalled:
680 don't get empty paths on the PATH variables
681 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
682 Don't format for the uncommon terminal width of 84 characters.
684 2007-04-06 Wim Taymans <wim@fluendo.com>
686 * gst/gstpipeline.c: (reset_stream_time),
687 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
688 Only try to select a different pipeline clock when we went back to
689 PAUSED and not when we merely got flushed.
691 2007-04-05 Michael Smith <msmith@fluendo.com>
693 * tools/gst-launch.1.in:
694 fractions are better supported in gstreamer than ractions, so
697 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
699 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
703 Added Danish translation.
705 2007-04-05 Wim Taymans <wim@fluendo.com>
707 * libs/gst/base/gstbasesink.c:
708 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
709 Fix leak caused when refusing newsegment after EOS.
711 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
712 (gst_fake_sink_init), (gst_fake_sink_set_property),
713 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
714 (gst_fake_sink_render), (gst_fake_sink_change_state):
715 * plugins/elements/gstfakesink.h:
716 Add num-buffers property to make the element generate EOS after a
717 configurable amount of buffers.
718 API: fakesink::num-buffers property.
720 * tests/check/elements/fakesink.c: (GST_START_TEST),
722 Fix GstBus leak in test.
723 Test for fakesink num-buffers.
725 2007-04-05 Wim Taymans <wim@fluendo.com>
727 * libs/gst/base/gstbasesink.c:
728 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
729 (gst_base_sink_change_state):
730 Don't accept anything after an EOS, return UNEXPECTED instead.
732 * tests/check/elements/fakesink.c: (GST_START_TEST),
734 Unit test for new EOS behaviour.
736 2007-04-05 Wim Taymans <wim@fluendo.com>
738 * gst/gstelement.c: (gst_element_get_request_pad):
739 Make padtemplates also work when they don't contain %s or %d.
741 2007-04-05 Wim Taymans <wim@fluendo.com>
743 * docs/gst/gstreamer-sections.txt:
744 * gst/gstclock.c: (gst_clock_adjust_unlocked),
745 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
747 Improve _adjust_unlocked() so that it overflows less.
748 Add gst_clock_unadjust_unlocked to convert from external time to
749 internal time based on calibration.
751 API: GstClock::gst_clock_unadjust_unlocked()
753 2007-04-03 Wim Taymans <wim@fluendo.com>
755 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
757 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
758 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
759 when releasing sink pad. Fixes #425400.
761 2007-04-02 Stefan Kost <ensonic@users.sf.net>
763 * docs/random/ensonic/dynlink.txt:
764 More work on proposal for new core api.
766 * docs/libs/gstreamer-libs-sections.txt:
767 * libs/gst/base/gstbasetransform.h:
768 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
770 * libs/gst/controller/gstcontroller.c:
771 (on_object_controlled_property_changed),
772 (gst_controller_sync_values),
773 (gst_controller_set_interpolation_mode):
774 * libs/gst/controller/gstcontroller.h:
775 Less verbose logging add docs for unimplemented parts and correctly
776 return when using unavailable parts.
778 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
780 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
781 Move all the debug to the CLOCK category, and associate it with
784 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
786 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
787 Make take_buffer a bit quicker by removing redundant checks
788 caused by calling gst_adapter_take.
790 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
792 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
795 * tests/check/Makefile.am:
796 * tests/check/elements/.cvsignore:
797 * tests/check/elements/multiqueue.c: (setup_multiqueue),
798 (GST_START_TEST), (multiqueue_suite):
799 Add some dead simple unit tests for the 'multiqueue' element
800 (some bits don't work yet and are disabled for now).
802 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
804 * gst/gstelement.c: (gst_element_get_request_pad),
805 (gst_element_class_get_request_pad_template):
806 Make gst_element_get_request_pad() create request pads only for
807 request pad templates and not for, say, sometimes pad templates.
809 2007-03-28 Stefan Kost <ensonic@users.sf.net>
811 * docs/design/draft-klass.txt:
812 Add example that needs more thinking.
814 * docs/design/draft-missing-plugins.txt:
815 More thoughts about wrapper plugins.
817 * docs/random/ensonic/embedded.txt:
818 * docs/random/ensonic/profiling.txt:
821 2007-03-25 Wim Taymans <wim@fluendo.com>
823 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
825 Only push the segment events in the PLAYING state for live sources.
827 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
829 * gst/gstpipeline.c: (gst_pipeline_change_state):
830 Modify the clock distribution path in PAUSED->PLAYING so that we
831 never attempt to choose a new clock unless we're actually leaving
832 the PAUSED state for the first time. This prevents choosing a
833 different clock when the state_change gets called for a 2nd time due
834 to some element doing an async state change.
836 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
838 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
839 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
840 (gst_pad_chain_unchecked), (gst_pad_push):
841 Revert last commit. This needs some more thoughts.
843 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
845 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
846 (gst_pad_chain_unchecked), (gst_pad_push):
847 Check in set_caps if the caps are compatible with the pad and remove
848 two functions that are redundant now. Fixes #421543.
850 2007-03-22 Wim Taymans <wim@fluendo.com>
852 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
853 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
854 Unref some more to make valgrind happy.
856 2007-03-22 Wim Taymans <wim@fluendo.com>
858 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
859 (gst_system_clock_id_wait_jitter),
860 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
861 Fix anoying regression that survived a few releases. When adding an
862 async entry while blocking on a sync entry, the sync entry will unblock
863 but still be busy, so it should continue to wait instead of returning
865 Add some comments here and there.
867 * tests/check/gst/gstsystemclock.c: (mixed_thread),
868 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
869 Add testcase for this.
871 2007-03-22 Wim Taymans <wim@fluendo.com>
873 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
874 Handle errors from the clock sync better, only UNSCHEDULED indicates a
875 WRONG_STATE and can silently pause the task. All other cases should
878 2007-03-22 Wim Taymans <wim@fluendo.com>
880 Patch by: <syrjala at sci dot fi>
882 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
883 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
886 2007-03-21 Michael Smith <msmith@fluendo.com>
888 * docs/pwg/advanced-types.xml:
889 Fix some errors in the typefinding docs pointed out on irc.
891 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
893 * libs/gst/base/gstbasesrc.c:
894 Clarify FIXME comment in the face of having added unlock_stop()
896 2007-03-21 Wim Taymans <wim@fluendo.com>
898 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
899 Prepare for release where we warn against possible app breakage in the
900 case of live pipelines along with an env var to enable/disable live
901 preroll mode (GST_COMPAT=[no-]live-preroll).
903 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
905 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
906 So we should use correct constants for checking for None offset.
908 2007-03-20 Wim Taymans <wim@fluendo.com>
910 * docs/design/part-block.txt:
911 Mention the fact that the newly switched element should be set to at
914 2007-03-20 Wim Taymans <wim@fluendo.com>
917 Fix compilation with registry disabled as spotted by Saur.
919 2007-03-20 Wim Taymans <wim@fluendo.com>
921 Patch by: Olivier Crete <tester at tester dot ca>
923 * gst/gstelement.c: (gst_element_sync_state_with_parent):
924 Look at the pending state too when syncing the element state to the
925 parent. Fixes #420133.
927 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
929 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
930 (gst_base_sink_change_state):
931 * libs/gst/base/gstbasesink.h:
932 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
933 (gst_base_src_default_event), (gst_base_src_unlock_stop),
934 (gst_base_src_deactivate):
935 * libs/gst/base/gstbasesrc.h:
936 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
937 for sub-classes to correctly clear any state they set trying to
938 unlock, such as clearing out unlock commands from a command fd.
940 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
941 (gst_fd_sink_render), (gst_fd_sink_unlock),
942 (gst_fd_sink_unlock_stop):
943 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
944 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
945 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
947 Implement unlock_stop in fdsrc and fdsink.
948 Implement seeking in fdsrc when a seekable fd is passed, as in
949 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
951 2007-03-19 Wim Taymans <wim@fluendo.com>
953 Patch by: Evan Nemerson <evan at coeus dash group dot com>
955 * gst/gstelement.c: (gst_element_class_init):
956 Fix pad-added and pad-removed signal signatures so that the pad type is
957 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
959 2007-03-19 Wim Taymans <wim@fluendo.com>
961 * docs/gst/gstreamer-sections.txt:
962 Add new element field and method.
964 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
965 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
966 (gst_bin_recalc_state), (gst_bin_get_state_func),
967 (gst_bin_element_set_state), (gst_bin_change_state_func),
968 (gst_bin_continue_func), (bin_bus_handler),
969 (bin_push_state_continue), (bin_handle_async_start),
970 (bin_handle_async_done), (gst_bin_handle_message_func):
971 Make async state changes a bit smarter by using new ASYNC_START and
972 ASYNC_DONE messages. This reduces the number of times we run the state
973 recalculation thread.
974 Don't change state of element with a pending ASYNC_START message.
975 Deprecate STATE_DIRTY messages.
977 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
978 (gst_element_get_state_func), (gst_element_continue_state),
979 (gst_element_lost_state), (gst_element_set_state_func),
980 (gst_element_change_state):
982 Keep the state that was last set by the app in a new element field.
983 Don't allow state changes when handling an element event.
984 Post ASYNC_START and ASYNC_DONE messages.
985 Change lost_state so that we go to PAUSED and wait for the parent to set
986 us to PLAYING again (so latency calculation can be performed)
987 Export gst_element_change_state() method so that subclasses can use it.
988 API: gst_element_change_state()
989 API: GST_STATE_TARGET
991 * gst/gstpipeline.c: (gst_pipeline_class_init),
992 (reset_stream_time), (gst_pipeline_change_state),
993 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
994 Using the new ASYNC_START message we can reset the base_time when
995 needed. This can then be used to implement base_time redistribution in
996 flushing seeks so that we can remove the explicit seek handling.
997 Perform latency query and configuration when going to PLAYING.
999 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1000 (gst_base_sink_query), (gst_base_sink_change_state):
1001 Post new ASYNC_START/ASYNC_DONE messages.
1003 * tests/check/generic/sinks.c: (GST_START_TEST):
1004 Fix test because the bin will not set the async element to PLAYING right
1007 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
1008 Make the message check a little stronger.
1009 Handle ASYNC messages.
1011 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
1012 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
1013 Expect ASYNC_DONE messages.
1015 2007-03-19 Wim Taymans <wim@fluendo.com>
1017 * docs/gst/gstreamer-sections.txt:
1018 * gst/gstmessage.c: (gst_message_new_async_start),
1019 (gst_message_new_async_done), (gst_message_parse_info),
1020 (gst_message_parse_async_start):
1022 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
1025 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
1027 * tools/gst-inspect.c:
1028 (print_plugin_automatic_install_info_codecs):
1029 Now that we don't check for the 'Codec' keyword any longer in the
1030 klass, we shouldn't spew a warning if the klass isn't a decoder or
1031 encoder (since it might be a Source/Network, for example).
1033 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
1035 * tools/gst-inspect.c:
1036 (print_plugin_automatic_install_info_codecs):
1037 Don't require decoder/demuxer/depayloader elements or
1038 encoder/muxer/paylader elements to have 'Codec' as part of their
1039 factory class string when introspecting a plugin's capabilities.
1040 draft-klass.txt mentions that it might be removed in future, and
1041 flump3dec doesn't have it as part of its class string, so chances
1042 are others might also not have it.
1044 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
1066 Update translations from translation project
1068 2007-03-14 Stefan Kost <ensonic@users.sf.net>
1070 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
1071 (gst_child_proxy_set_property):
1072 Invert precondition check to be alike the ones in the mimiced gobject
1075 2007-03-13 Stefan Kost <ensonic@users.sf.net>
1077 * docs/design/draft-tagreading.txt:
1078 * docs/random/ensonic/audiobaseclasses.txt:
1079 Do some Architect work.
1081 * gst/gstobject.c: (gst_object_set_name):
1085 Add docs that point from gst_pad_get_range to gst_pad_pull_range
1087 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
1089 * gst/gstsystemclock.c: (gst_system_clock_init),
1090 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
1091 Defer starting the async system clock thread until the first async
1092 wait is scheduled. Fixes #414986.
1094 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
1096 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
1097 (gst_single_queue_free):
1098 Fix small leak (free GstSingleQueue structure too, not only contents).
1100 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
1102 * gst/gstbin.c:(gst_bin_add):
1103 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
1104 * win32/common/libgstbase.def:
1105 * win32/common/libgstreamer.def:
1106 Add new exported functions.
1108 2007-03-09 Wim Taymans <wim@fluendo.com>
1110 * docs/plugins/gstreamer-plugins-sections.txt:
1113 2007-03-09 Wim Taymans <wim@fluendo.com>
1115 * docs/gst/gstreamer-sections.txt:
1116 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
1118 Add metadata copy functions. Fixes #393099.
1120 * gst/gstutils.c: (gst_buffer_stamp):
1121 * libs/gst/base/gstbasetransform.c:
1122 (gst_base_transform_prepare_output_buffer):
1123 Use new metadata copy functions.
1125 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
1127 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1128 (gst_identity_init), (gst_identity_check_perfect),
1129 (gst_identity_check_imperfect_timestamp),
1130 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
1131 (gst_identity_set_property), (gst_identity_get_property):
1132 * plugins/elements/gstidentity.h:
1133 Separate out check-imperfect-timestamp and check-imperfect-offset.
1134 Put back check-perfect as it was to keep compatibility.
1136 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
1138 * gst/gstelement.c: (gst_element_dispose):
1139 There's no need to warn if VOID_PENDING is not NONE here, as
1140 long as the state is NULL it's ok, and that's checked immediately
1143 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1145 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1146 Fix check for perfect stream to ignore buffers with -1
1147 offsets/offset ends when checking data contiguity.
1149 2007-03-08 Wim Taymans <wim@fluendo.com>
1151 * tools/gst-launch.c: (event_loop):
1152 Print INFO messages.
1154 2007-03-08 Wim Taymans <wim@fluendo.com>
1156 * libs/gst/base/gstbasetransform.c:
1157 (gst_base_transform_sink_eventfunc),
1158 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1159 (gst_base_transform_activate):
1160 * libs/gst/base/gstbasetransform.h:
1161 Add support for dropping buffers with custom GstFlowReturn.
1162 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
1163 buffers or dropped buffers.
1165 * docs/libs/gstreamer-libs-sections.txt:
1166 docs for new custom return code.
1168 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1169 Use drop support in base class to implement drop-probability.
1171 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
1173 * gst/gst.c: (load_plugin_func):
1174 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
1175 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1176 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
1177 Remove newlines at end of debug log strings.
1179 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1181 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1182 Only post bus message at max, once per buffer received.
1184 2007-03-07 Wim Taymans <wim@fluendo.com>
1186 * docs/design/Makefile.am:
1187 * docs/design/part-synchronisation.txt:
1188 Add doc about synchronisation
1190 * docs/design/draft-latency.txt:
1191 * docs/design/part-TODO.txt:
1192 * docs/design/part-clocks.txt:
1193 * docs/design/part-events.txt:
1194 * docs/design/part-gstbus.txt:
1195 * docs/design/part-gstpipeline.txt:
1196 * docs/design/part-live-source.txt:
1197 * docs/design/part-messages.txt:
1198 * docs/design/part-overview.txt:
1199 * docs/design/part-streams.txt:
1200 * docs/design/part-trickmodes.txt:
1201 Documentation updates.
1203 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1206 Update the doap file.
1208 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1210 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1211 Rename non-perfect to imperfect for Mike and for the sanctity of the
1213 Also make sure bus message gets emitted for data-incontiguities.
1215 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1217 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
1218 (gst_identity_start):
1219 * plugins/elements/gstidentity.h:
1220 Emit bus message if check-perfect is true and we encounter a
1221 non-perfect stream between 2 consecutive buffers.
1224 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1229 === release 0.10.12 ===
1231 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1234 releasing 0.10.12, "Inevitable Demise"
1236 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
1239 Version 0.10.11.2 (0.10.12 pre-release)
1240 Bump libtool versioning.
1242 2007-03-01 Stefan Kost <ensonic@users.sf.net>
1244 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1245 Log flow-names and not numbers.
1247 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
1250 Convert to new AG_GST style.
1252 2007-02-28 Wim Taymans <wim@fluendo.com>
1254 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
1255 Don't unref query twice.
1257 2007-02-28 Wim Taymans <wim@fluendo.com>
1259 * gst/gstvalue.c: (gst_value_transform_object_string),
1260 (_gst_value_initialize):
1261 Implement GstObject -> string transform so we print object names
1262 when serializing GValues containing GstObjects.
1264 2007-02-28 Wim Taymans <wim@fluendo.com>
1266 * docs/gst/gstreamer-sections.txt:
1267 Add new stuff to docs.
1269 2007-02-28 Wim Taymans <wim@fluendo.com>
1271 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1272 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
1273 (gst_base_sink_change_state):
1274 Improve latency query code.
1275 Don't leak latency events.
1277 * tests/check/gst/gstbin.c: (GST_START_TEST):
1280 2007-02-28 Wim Taymans <wim@fluendo.com>
1282 * gst/gstelement.c: (gst_element_message_full),
1283 (gst_element_get_state_func):
1285 Improve docs a little. Added Since: for new macro.
1287 * gst/gstobject.c: (gst_object_sink):
1288 * gst/gstpipeline.c: (gst_pipeline_change_state),
1289 (gst_pipeline_set_new_stream_time):
1290 * gst/gstpipeline.h:
1291 Improve debugging and docs.
1293 * gst/gstutils.c: (gst_element_state_change_return_get_name):
1296 2007-02-28 Wim Taymans <wim@fluendo.com>
1298 * gst/gstelement.c: (gst_element_message_full),
1299 (gst_element_set_locked_state), (gst_element_get_state_func),
1300 (gst_element_change_state):
1301 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
1302 Documentation updates.
1303 Small code cleanups.
1305 * gst/gstmessage.c: (gst_message_new_info),
1306 (gst_message_parse_info):
1308 API: gst_message_new_info()
1309 API: gst_message_parse_info()
1310 Add INFO message create and parse code.
1312 2007-02-28 Wim Taymans <wim@fluendo.com>
1314 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
1315 (bin_query_latency_done):
1316 Also report the live parameter of a latency query.
1318 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
1320 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
1321 Copy the current generic/states example from -base and adapt so
1322 we can use the exact same code everywhere.
1323 Check a STATES_IGNORE_ELEMENTS env var which can be used
1324 to ignore certain element factories for this test, which is
1325 what is being done in -base
1326 * tests/check/Makefile.am:
1327 Mention this environment variable.
1329 2007-02-27 Wim Taymans <wim@fluendo.com>
1331 * docs/gst/gstreamer-sections.txt:
1332 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
1333 (gst_bus_timed_pop), (gst_bus_pop):
1335 API: gst_bus_timed_pop()
1336 Implement gst_bus_timed_pop() to do a blocking timed wait for a
1337 message to arrive on the bus.
1339 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
1341 Two unit tests for new _timed_pop() function.
1343 2007-02-23 Wim Taymans <wim@fluendo.com>
1345 * gst/gstpipeline.c: (gst_pipeline_change_state),
1346 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
1347 Don't ref a NULL clock in _provide_clock_func().
1348 Don't allow an INVALID delay.
1349 Don't try to calculate base_time with an invalid start_time.
1350 Also distribute and notify a NULL clock when it was selected.
1352 * tools/gst-launch.c: (event_loop):
1353 Don't crash when a NULL clock was selected in the pipeline.
1355 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
1357 * docs/design/Makefile.am:
1358 * docs/design/draft-missing-plugins.txt:
1359 * docs/random/draft-missing-plugins.txt:
1360 Some small updates: update plugin system identifier prefix
1361 ('gstreamer.net' to 'gstreamer'), mention our new install
1362 API in libgstbaseutils rather than libgimme-codec, add
1363 reference to the online docs.
1365 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1367 * win32/common/config.h:
1368 Pretty sure Bill never made a powerpc version. Powerpc hackers,
1369 use moap cl ci to only check in what is mentioned in the ChangeLog.
1371 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1373 * docs/gst/gstreamer-sections.txt:
1375 Fix up documentation to link to the correct GstGError section.
1376 Add GST_ELEMENT_INFO macro since someone else added a Info message.
1378 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1380 * tools/gst-launch.c: (event_loop):
1381 Make sure that we actually show the important message part of a
1383 No need to check if the gerror is not NULL to free; first of all
1384 g_free accepts NULL; and second the default error handler would
1385 segfault if gerror was NULL.
1387 2007-02-21 Wim Taymans <wim@fluendo.com>
1389 * docs/gst/gstreamer-sections.txt:
1390 Removed docs as well.
1392 2007-02-21 Wim Taymans <wim@fluendo.com>
1394 * gst/gstmessage.c: (gst_message_parse_duration):
1396 Remove new messages for release.
1398 2007-02-20 Wim Taymans <wim@fluendo.com>
1400 * docs/design/part-gstghostpad.txt:
1401 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
1402 (gst_ghost_pad_new_full):
1403 Make the ghostpad a parent of the internal pad again for better backward
1404 compatibility. Don't write code that relies on this however.
1406 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1407 (gst_pad_link_check_hierarchy):
1408 Require that parents should be GstElements in the hierarchy check.
1410 2007-02-20 Wim Taymans <wim@fluendo.com>
1412 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
1413 (gst_bin_change_state_func), (bin_query_min_max_init),
1414 (bin_query_latency_fold), (bin_query_latency_done),
1417 Implement latency query.
1419 2007-02-20 Wim Taymans <wim@fluendo.com>
1421 * docs/design/part-gstghostpad.txt:
1422 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
1423 (gst_ghost_pad_internal_do_activate_push),
1424 (gst_ghost_pad_internal_do_activate_pull),
1425 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1426 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
1427 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
1428 Do not set the internal pad as a parent anymore so we can avoid
1429 hierarchy linking errors when the ghostpad has no parent yet. This also
1430 fixes failed activation because of unlinked internal pads, which in
1431 turn fixes the impossible case where you have to activate a pad before
1432 you can add it to a running element.
1435 * gst/gstpad.c: (pre_activate), (post_activate),
1436 (gst_pad_set_active), (gst_pad_activate_pull),
1437 (gst_pad_activate_push), (gst_pad_check_pull_range):
1438 Add some more debug info.
1439 Mark activation mode in pre_activate so that we don't try to activate in
1440 endless loops. Fixes #385084.
1442 2007-02-19 Wim Taymans <wim@fluendo.com>
1444 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1445 (gst_base_transform_check_get_range):
1446 Implement a checkgetrange function instead of relying on the default
1447 core behaviour that assumes we can operate in pull mode if we have a
1448 getrange function. First step at fixing #385084.
1450 2007-02-15 Stefan Kost <ensonic@users.sf.net>
1452 * gst/gstchildproxy.h:
1453 * libs/gst/base/gstbasesink.h:
1454 * libs/gst/base/gstbasesrc.h:
1455 * libs/gst/base/gstbasetransform.h:
1456 More docs coverage and some ChangeLog surgery (add missing names)
1458 2007-02-15 Wim Taymans <wim@fluendo.com>
1460 * docs/design/part-TODO.txt:
1461 * docs/design/part-activation.txt:
1462 * docs/design/part-block.txt:
1463 * docs/design/part-buffering.txt:
1464 * docs/design/part-clocks.txt:
1465 * docs/design/part-element-source.txt:
1466 * docs/design/part-events.txt:
1467 * docs/design/part-gstbin.txt:
1468 * docs/design/part-gstbus.txt:
1469 * docs/design/part-gstpipeline.txt:
1470 * docs/design/part-live-source.txt:
1471 * docs/design/part-messages.txt:
1472 * docs/design/part-overview.txt:
1473 * docs/design/part-qos.txt:
1474 * docs/design/part-query.txt:
1475 * docs/design/part-states.txt:
1476 * docs/design/part-trickmodes.txt:
1477 Some doc updates. Start renaming from stream_time to running_time where
1478 it was used wrongly.
1480 2007-02-15 Wim Taymans <wim@fluendo.com>
1482 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1483 Answer LATENCY query.
1485 2007-02-15 Wim Taymans <wim@fluendo.com>
1487 * tests/check/gst/gstevent.c: (event_probe), (test_event),
1491 2007-02-15 Wim Taymans <wim@fluendo.com>
1493 * gst/gstpad.c: (gst_pad_get_internal_links_default),
1494 (gst_pad_dispatcher):
1495 Improve debugging of default pad dispatcher and query functions.
1497 2007-02-15 Wim Taymans <wim@fluendo.com>
1499 * docs/gst/gstreamer-sections.txt:
1500 Remove old unused method.
1502 2007-02-13 Wim Taymans <wim@fluendo.com>
1504 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1507 2007-02-13 Wim Taymans <wim@fluendo.com>
1509 * docs/design/part-seeking.txt:
1512 * gst/gstsegment.c: (gst_segment_set_seek):
1513 Revert old bogus change that should make seeking work again.
1515 2007-02-13 Stefan Kost <ensonic@users.sf.net>
1517 * docs/random/ensonic/dynlink.txt:
1518 * docs/random/ensonic/interfaces.txt:
1519 * docs/random/ensonic/receipies.txt:
1520 Possible dynamic reconnection api, plus some type fixes the other two
1523 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
1525 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1526 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1527 Also check for an absolute path following file:// in the filesrc
1528 element. Remove redundant check and call g_path_is_absolute() on the
1531 2007-02-13 Stefan Kost <ensonic@users.sf.net>
1533 * docs/design/draft-klass.txt:
1534 Add existing category analysis.
1537 Fix doc example, framerate is a fraction.
1539 2007-02-12 Stefan Kost <ensonic@users.sf.net>
1542 * docs/gst/Makefile.am:
1543 * docs/gst/gstreamer-sections.txt:
1544 * docs/libs/Makefile.am:
1545 Erm, forgot a bunch of --extra-dir.
1547 2007-02-12 Stefan Kost <ensonic@users.sf.net>
1550 * docs/gst/Makefile.am:
1551 * docs/libs/Makefile.am:
1552 * docs/plugins/Makefile.am:
1553 Add crossreferences to glib/gobject docs.
1555 2007-02-12 Wim Taymans <wim@fluendo.com>
1557 * docs/design/draft-latency.txt:
1560 * docs/libs/gstreamer-libs-sections.txt:
1561 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1562 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
1563 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
1564 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
1565 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
1566 (gst_base_sink_get_position), (gst_base_sink_query),
1567 (gst_base_sink_change_state):
1568 * libs/gst/base/gstbasesink.h:
1569 API: gst_base_sink_query_latency() to let subclasses query the upstream
1571 API: gst_base_sink_get_latency() to let subclasses query the configured
1572 latency in the sink.
1573 Implement query and set latency.
1575 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
1576 don't continue preroll when we are flushing. Fixes #405284.
1578 * tests/check/pipelines/stress.c: (change_state_timeout),
1579 (quit_timeout), (GST_START_TEST), (stress_suite):
1582 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
1584 Patch by: René Stadler <mail at renestadler de>
1586 * docs/gst/gstreamer-sections.txt:
1587 * gst/gsttaglist.c: (_gst_tag_initialize):
1589 API: add GST_TAG_REFERENCE_LEVEL (#403597).
1591 2007-02-11 Stefan Kost <ensonic@users.sf.net>
1593 * docs/libs/Makefile.am:
1594 Fix path to core docs.
1596 * gst/gstbin.c: (gst_bin_get_by_interface),
1597 (gst_bin_iterate_all_by_interface):
1598 Refix docs by also renaming 'interface' to 'iface' in implementation.
1600 * docs/gst/gstreamer-sections.txt:
1602 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1603 * gst/gstchildproxy.h:
1604 * gst/gstelementfactory.c:
1605 * gst/gstpadtemplate.h:
1606 * libs/gst/controller/gstcontroller.c:
1607 (gst_controlled_property_new):
1610 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
1612 * gst/gstbin.h:(gst_bin_get_by_interface),
1613 (gst_bin_iterate_all_by_interface):
1614 Replace interface parameter name by iface as interface is
1615 a reserved keyword in Visual Studio for C++ projects so it removes
1616 a build error for application developpers using VS.
1617 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
1618 Fix a bug on Windows in uri format check. Now the prefix checked
1619 is file:// and next we check if the path after file:// is absolute.
1620 * win32/common/libgstbase.def:
1621 * win32/common/libgstdataprotocol.def:
1622 * win32/common/libgstgstreamer.def:
1623 Add new exported functions.
1625 2007-02-09 Andy Wingo <wingo@pobox.com>
1627 * tests/check/pipelines/simple-launch-lines.c
1628 (simple_launch_lines_suite, test_tee): Disable tee test until I
1629 have time to fix it :-(
1631 * tests/check/Makefile.am (noinst_HEADERS):
1632 * tests/check/libs/libsabi.c:
1633 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1634 * tests/check/gst/gstabi.c:
1635 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1637 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1638 tests for push and pull tee behavior.
1640 * plugins/elements/gsttee.h:
1641 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1642 mark as deprecated as well as unimplemented. It was a crack idea.
1643 Add support for tee operating in pull mode, off by default.
1645 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1646 normal-case logs down to LOG, raise errors to WARNING.
1647 (gst_registry_xml_read_cache): Don't log before calling a function
1650 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1651 exit (registry finalize).
1652 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1653 DEBUG log when we emit signals that people don't even have the
1654 chance to connect to.
1655 (gst_registry_scan_path_level): Less logging in the normal case.
1657 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1659 Patch by: Michal Benes <michal dot benes at itonis dot tv>
1661 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1662 Correctly generate EOS for non-seekable files. We don't have a total
1663 length for them and would get an unexpected end of file if we only
1664 special-cased for regular files. (Fixes: #404569)
1666 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1668 * tests/check/elements/filesrc.c: (GST_START_TEST),
1670 Add unit test for the GstURIHandler interface in filesrc. This also
1671 tests the newly added file://localhost/foo/bar support.
1673 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
1675 * gst/gstelementfactory.h:
1676 The klass string is not a hierarchy. Add reference to the design doc
1677 for more information and common types.
1679 2007-02-02 Wim Taymans <wim@fluendo.com>
1681 * gst/gstquery.c: (gst_query_new_latency):
1682 Remove old structure field.
1684 2007-02-02 Stefan Kost <ensonic@users.sf.net>
1686 * tools/gst-launch.1.in:
1687 Give example for network streaming (#351998)
1689 2007-02-02 Wim Taymans <wim@fluendo.com>
1691 * docs/gst/gstreamer-sections.txt:
1692 Add docs for new methods.
1694 * gst/gstevent.c: (gst_event_new_latency),
1695 (gst_event_parse_latency):
1697 Add new LATENCY event to configure latency in a pipeline.
1698 API: gst_event_new_latency
1699 API: gst_event_parse_latency
1701 * gst/gstmessage.c: (gst_message_new_buffering),
1702 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1703 (gst_message_new_latency), (gst_message_parse_buffering),
1704 (gst_message_parse_lost_preroll):
1706 Added messages used in draft-latency.
1707 API: gst_message_new_lost_preroll
1708 API: gst_message_parse_lost_preroll
1709 API: gst_message_new_prerolled
1710 API: gst_message_new_latency
1712 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1713 (gst_query_parse_latency):
1715 Implemented new latency query as in design doc.
1716 API: gst_query_new_latency
1717 API: gst_query_set_latency
1718 API: gst_query_parse_latency
1720 2007-02-02 Wim Taymans <wim@fluendo.com>
1722 * docs/design/draft-latency.txt:
1723 Slight redesign to allow for dynamic latency adjustments.
1725 * docs/design/part-negotiation.txt:
1728 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
1730 reviewed by: Wim Taymans <wim@fluendo.com>
1732 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1733 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1734 Allow file://localhost/foo/bar URLs and correctly fail for every other
1735 hostname that one sets. This was gnomevfssrc is linked for those if
1736 installed as it can handle it (#403172)
1738 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1740 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1742 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1743 (unref_data), (gst_collect_pads_add_pad_full):
1744 * libs/gst/base/gstcollectpads.h:
1745 Don't put the previously added destroy notify in the GstCollectData
1746 struct as all it's padding is already used and we don't want to break
1747 ABI. Instead put in the pad's GObject data for now. This should be
1748 cleaned up for 0.11 (#402393).
1750 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1752 reviewed by: Wim Taymans <wim@fluendo.com>
1754 * docs/libs/gstreamer-libs-sections.txt:
1755 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1756 (unref_data), (gst_collect_pads_add_pad),
1757 (gst_collect_pads_add_pad_full):
1758 * libs/gst/base/gstcollectpads.h:
1759 API: Add function to specify a destroy notification for custom
1760 GstCollectData when adding new pads in GstCollectPads (#402393).
1762 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
1765 Update Swedish translation (#378255).
1767 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1769 * docs/design/draft-klass.txt:
1770 Fix the previous change, this is a list of categories and not a hierarchy.
1772 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1774 * docs/design/draft-klass.txt:
1775 Add info about how to get a list of used classes.
1777 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
1779 * plugins/elements/gsttypefindelement.c:
1780 (gst_type_find_element_chain_do_typefinding),
1781 (gst_type_find_element_change_state):
1782 Don't leak found caps in chain function (no idea why that never
1783 showed up as a leak anywhere).
1785 2007-01-30 Stefan Kost <ensonic@users.sf.net>
1788 Fix and expand GstPluginDesc API docs.
1790 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1793 * gst/gstelementfactory.c:
1794 * gst/gstpadtemplate.h:
1797 * libs/gst/controller/gstcontroller.c:
1798 (gst_controlled_property_new):
1799 * tests/examples/controller/audio-example.c:
1802 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1805 comment about refining the xml deps
1808 comments about moving away from jade for docs
1811 recommit the ifdefs to use the binary registry
1813 * gst/gstbin.c: (gst_bin_change_state_func):
1814 this break is obsolete
1816 * gst/gstelementfactory.h:
1817 better GST_ELEMENT_DETAILS docs, add comment about translation
1822 * gst/gstobject.c: (gst_signal_object_get_type):
1823 add G_UNLIKELY as usual
1825 * gst/gstpad.c: (gst_pad_event_default):
1826 add fall trhu comment
1828 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1829 (gst_registry_binary_initialize_magic),
1830 (gst_registry_binary_save_string),
1831 (gst_registry_binary_save_pad_template),
1832 (gst_registry_binary_save_feature),
1833 (gst_registry_binary_save_plugin),
1834 (gst_registry_binary_write_cache),
1835 (gst_registry_binary_check_magic),
1836 (gst_registry_binary_load_pad_template),
1837 (gst_registry_binary_load_feature),
1838 (gst_registry_binary_load_plugin),
1839 (gst_registry_binary_read_cache):
1840 comment typo and formatting
1842 * gst/gstutils.c: (gst_element_state_get_name),
1843 (gst_element_state_change_return_get_name):
1844 remove obsolete breaks
1846 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1847 add FIXME 0.11 and remove cpp comment
1849 2007-01-29 Edward Hervey <edward@fluendo.com>
1851 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1852 Fix print statement in an even more portable way.
1854 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
1856 * docs/gst/gstreamer-sections.txt:
1858 API: add GST_ROUND_DOWN_* macros (#401781).
1860 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
1862 * docs/gst/gstreamer.types.in:
1863 * gst/gstregistry.c: (gst_registry_class_init):
1864 Document registry signals and make gtk-doc pick them up (#401381).
1866 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1868 * docs/pwg/building-testapp.xml:
1869 Add some audioconverts and audioresample to the pipeline, and some
1870 more comments and error handling.
1872 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1874 * docs/manual/manual.xml:
1878 2007-01-26 Wim Taymans <wim@fluendo.com>
1880 * gst/gstcaps.c: (gst_static_caps_get):
1881 Init caps flags too.
1883 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
1885 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1887 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1888 If not using mmap'ed files try to seek to the end instead of the
1889 start to determine whether we can seek at all. This fixes the case
1890 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1891 seeks for everything afterwards fail. Fixes #400656
1893 2007-01-25 Wim Taymans <wim@fluendo.com>
1895 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1896 Add some refcount debugging.
1897 Make gst_static_caps_get threadsafe, which is needed when autoplugging
1898 in multiple streaming threads.
1900 2007-01-25 Wim Taymans <wim@fluendo.com>
1902 Patch by: David Schleef <ds at schleef dot org>
1904 * docs/libs/gstreamer-libs-sections.txt:
1905 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1906 * libs/gst/base/gstadapter.h:
1907 API: gst_adapter_copy() that can reduce the amount of memcpy when
1908 getting data from the adapter. Fixes #388201.
1910 2007-01-25 Edward Hervey <edward@fluendo.com>
1912 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1913 In print statements, "%x" is for guint. Fixes build on macosx.
1915 2007-01-24 Edward Hervey <edward@fluendo.com>
1917 * plugins/elements/gstmultiqueue.c:
1918 (gst_multi_queue_loop):
1920 (single_queue_overrun_cb), (single_queue_underrun_cb),
1921 (single_queue_check_full), (gst_single_queue_new):
1922 Implement single queue growth system.
1923 This uses the extra-size properties, and will grow single queues by
1924 that much if one goes full whereas there are others empty. This is
1925 called extra-mode in the code.
1926 When a single queue's levels go back below the initial max-size
1927 limits, it is no longer in extra-mode. This is to ensure we don't
1928 consume too much memory.
1931 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
1933 * gst/gst.c: (gst_init_get_option_group):
1934 Make warning about late g_thread_init() calls a bit more explicit,
1935 so that it's more obvious to application developers what they need
1936 to do if a user files a bug against their application.
1938 2007-01-22 Edward Hervey <edward@fluendo.com>
1940 * plugins/elements/gstmultiqueue.c:
1941 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1942 Remove previous hack of unsetting the flushing flag for the source pad
1943 instead of activating it. Instead, fix the source pad activate function
1944 so that it no longer depends on having a parent set or not.
1946 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
1948 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1950 * docs/manual/basics-bus.xml:
1951 Fix example code, gst_element_unref() doesn't exist any longer.
1953 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
1955 Patch by: Mark Nauwelaerts <manauw at skynet be>
1958 Fix two docs typoes (#399094).
1960 2007-01-19 Edward Hervey <edward@fluendo.com>
1962 * docs/faq/gst-uninstalled:
1963 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1964 depending on libgstbaseutils can work in uninstalled environment.
1966 2007-01-18 Stefan Kost <ensonic@users.sf.net>
1969 * gst/gsttagsetter.c:
1970 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1971 statement for new tag.
1973 2007-01-17 Edward Hervey <edward@fluendo.com>
1975 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1976 When dynamically creating single queues, activate sinkpad before adding
1978 We should be doing the same thing for the source pad, but we can't
1979 since it would call a method which needs the parent to be set in order
1980 to work propertly. Instead of activating the source pad, we just unset
1981 the flushing flag, which is the minimal requirement for adding a pad
1982 to an element in a state greater than READY.
1984 2007-01-17 Edward Hervey <edward@fluendo.com>
1986 * docs/faq/gst-uninstalled:
1987 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1990 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
1992 * tests/check/gst/gstabi.c:
1993 * tests/check/gst/struct_hppa.h:
1994 * tests/check/libs/libsabi.c:
1995 * tests/check/libs/struct_hppa.h:
1996 Add ABI structs for HPPA (see #393796).
1998 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
2000 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2001 Actually write ABI structs to the file specified in the GST_ABI
2002 environment variable, as the message we print claims we would.
2004 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2006 * tests/check/gst/gsttask.c:
2009 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2011 * gst/gsttaglist.c: (_gst_tag_initialize):
2012 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
2013 previous two entries.
2015 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2017 * docs/gst/gstreamer-sections.txt:
2018 * gst/gsttaglist.c: (_gst_tag_initialize):
2020 Add tag support for beat-per-minute.
2022 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2024 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2025 (gst_registry_binary_initialize_magic),
2026 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
2027 (gst_registry_binary_save_pad_template),
2028 (gst_registry_binary_save_feature),
2029 (gst_registry_binary_save_plugin),
2030 (gst_registry_binary_write_cache),
2031 (gst_registry_binary_check_magic),
2032 (gst_registry_binary_load_pad_template),
2033 (gst_registry_binary_load_feature),
2034 (gst_registry_binary_load_plugin),
2035 (gst_registry_binary_read_cache):
2036 * gst/gstregistrybinary.h:
2037 Use glib types, cleanup comments, impement interfaces and uri-types.
2039 2007-01-13 Andy Wingo <wingo@pobox.com>
2041 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
2042 getrange() to return buffers with other caps, while we fix
2043 demuxers and typefind, or otherwise change part-negotiation.txt.
2045 2007-01-12 Andy Wingo <wingo@pobox.com>
2047 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
2048 Factor start/stop into this private function instead of partially
2049 in activate functions and partially in the change_state function.
2050 Fixes setup before the element has changed from READY->PAUSED, as
2051 is the case in pull-mode pipelines.
2052 (gst_base_transform_sink_activate_push)
2053 (gst_base_transform_src_activate_pull): Refactor to use
2054 gst_base_transform_activate().
2055 (gst_base_transform_change_state): Removed, not needed any more.
2057 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
2058 Truncate before fixating.
2060 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
2061 Don't set_caps() if the result of fixating is ANY, as it's not
2062 supported, and not necessary in the case of a link with no
2063 template caps on either side. Fixes tests/check/libs/basesrc in
2064 some pull-mode tests.
2066 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
2067 (gst_base_transform_init, gst_base_transform_sink_activate_push)
2068 (gst_base_transform_src_activate_pull):
2069 Track the activation mode.
2070 (gst_base_transform_setcaps): In pull mode, when activating the
2071 src pad, after activating the sink pad, activate the sink pad's
2072 peer, as discussed in part-negotiation.txt.
2074 * libs/gst/base/gstbasesrc.h:
2075 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
2076 vmethod, as in basesink.
2078 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
2080 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
2081 mode, first proxy the setcaps to the peer pad.
2082 (gst_base_sink_pad_fixate): Add a fixate function that calls the
2084 (gst_base_sink_default_activate_pull): Rename from
2085 gst_base_sink_activate_pull.
2086 (gst_base_sink_negotiate_pull): New function, performs negotiation
2087 in pull mode before calling ::activate_pull().
2088 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
2089 vmethod instead of the default implementation. I have no idea how
2090 this worked before. Negotiate before calling activate_pull.
2092 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
2093 sink pads in pull mode. In addition to being correct, fixes
2094 filesrc ! decodebin ! identity ! fakesink.
2095 (gst_pad_get_range, gst_pad_pull_range): Don't call
2096 gst_pad_set_caps() if the caps changes; instead error out with
2097 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
2099 2007-01-12 Andy Wingo <wingo@pobox.com>
2101 * docs/design/part-negotiation.txt: Update with more policy.
2103 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
2105 * libs/gst/check/gstbufferstraw.h:
2106 * libs/gst/check/gstcheck.h:
2107 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
2110 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
2112 * tests/check/Makefile.am:
2113 * tests/check/gst/.cvsignore:
2114 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
2115 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
2116 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
2117 (GST_START_TEST), (gst_tag_setter_suite):
2118 Add minimal unit test for beforementioned GstTagSetter bug.
2120 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
2122 Patch by: René Stadler <mail at renestadler dot de>
2124 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
2125 gst_tag_list_merge() returns a new list, so it's not the best idea
2126 to ingore its return value. Effectively meant that tags could only
2127 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
2128 Also add function guard to require a non-NULL taglist as input (has
2129 always been so due to gst_tag_list_copy(), just making it explicit).
2131 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
2133 * docs/random/draft-missing-plugins.txt:
2134 Some additions: mention new API that is supposed to be used at the
2135 various stages; short blob about new gst-inspect introspection
2136 option; mention potential future problem with plugins that have
2137 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
2139 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
2141 * tools/gst-inspect.c:
2142 (print_plugin_automatic_install_info_codecs),
2143 (print_plugin_automatic_install_info_protocols),
2144 (print_plugin_automatic_install_info), (main):
2145 Add --print-plugin-auto-install-info option to gst-inspect, so we can
2146 introspect plugin files and get machine-parsable output that corresponds
2147 to the last bit of the missing-plugin installer string (small gotcha:
2148 doesn't take into account ranks).
2150 2007-01-11 Stefan Kost <ensonic@users.sf.net>
2153 * docs/gst/gstreamer-sections.txt:
2155 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
2156 (gst_registry_lookup_locked):
2157 * gst/gstregistry.h:
2158 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2159 (gst_registry_binary_initialize_magic),
2160 (gst_registry_binary_save_string),
2161 (gst_registry_binary_save_pad_template),
2162 (gst_registry_binary_save_feature),
2163 (gst_registry_binary_save_plugin),
2164 (gst_registry_binary_write_cache),
2165 (gst_registry_binary_check_magic),
2166 (gst_registry_binary_load_pad_template),
2167 (gst_registry_binary_load_feature),
2168 (gst_registry_binary_load_plugin),
2169 (gst_registry_binary_read_cache):
2170 * gst/gstregistrybinary.h:
2171 * gst/gstregistryxml.c: (load_feature),
2172 (gst_registry_xml_read_cache):
2173 commit binary registry (disabled by default, see #359653)
2175 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
2177 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
2178 Fix 'make check' too.
2180 2007-01-10 Andy Wingo <wingo@pobox.com>
2182 * docs/design/part-negotiation.txt: Fix a typo, add a couple
2185 * docs/design/part-negotiation.txt: Update with, um, one way that
2186 pull-mode negotiation might work?
2189 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
2190 that the pad must be a src pad; makes sense to call it the other
2191 way in pull mode, and the logic is symmetric anyway.
2193 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
2195 * plugins/elements/gstfilesink.c:
2196 Include <stdio.h> for fseeko().
2198 2007-01-10 Wim Taymans <wim@fluendo.com>
2202 Reserve LATENCY event.
2204 2007-01-09 Wim Taymans <wim@fluendo.com>
2206 * docs/design/draft-latency.txt:
2209 2007-01-09 Wim Taymans <wim@fluendo.com>
2211 * docs/design/draft-latency.txt:
2215 * gst/gststructure.c:
2219 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
2221 * tests/check/.cvsignore:
2222 Ignore test-registry.xml as well.
2224 2007-01-09 Wim Taymans <wim@fluendo.com>
2226 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2227 unref data at the end when we are done with the pad.
2229 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
2231 * docs/gst/gstreamer-sections.txt:
2232 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
2233 (init_post), (gst_deinit), (gst_update_registry):
2235 API: add gst_update_registry() (#391296).
2237 * tests/check/Makefile.am:
2238 * tests/check/gst/gstregistry.c:
2239 * tests/check/gst/.cvsignore:
2240 Simple unit test for the above.
2242 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
2244 * gst/gstregistry.c: (gst_registry_scan_path_level):
2245 Plugin extension on HP-UX is .sl, add that to the list of approved
2246 plugin extensions (see #393796).
2248 * tests/check/gst/gstpad.c: (GST_START_TEST):
2249 ulong => gulong. Fixes compilation with HP-UX compiler.
2251 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2252 Fix compilation if valgrind headers are not available.
2254 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
2256 * win32/common/libgstreamer.def:
2257 Add new exported function.
2258 * win32/vs6/libgstbase.dsp:
2259 Add gstdataqueue.c to the build.
2260 * win32/vs6/libgstcoreelements.dsp:
2261 Add gstmultiqueue.c to the build.
2263 2007-01-06 Andy Wingo <wingo@pobox.com>
2265 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
2266 activate_pull(), providing for a way to specialize the process of
2267 spawning a thread to pull on the sink pad. There is a default
2270 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
2271 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
2272 (gst_base_sink_init): Renamed pad activation functions (inserting
2273 "_pad" in their names). Refactor to use the new activate_pull
2274 vmethod, as appropriate.
2275 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
2276 default activate_pull function to start a task pulling from the
2277 sink pad, as before.
2279 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
2280 on the pads if necessary, as in push()/chain(). Update docs.
2281 Shouldn't affect existing pull() usage as it is currently only
2282 being used on buffers without caps.
2284 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2286 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2288 Call g_thread_init() first thing in gst_init() / gst_check_init().
2289 When initialisation is done via gst_init_get_option_group() and
2290 GOption parsing, issue a warning if the GLib thread system has not
2291 been initialised yet by the time gst_init_get_option_group() is
2292 called, as it's quite likely other GLib functions such as
2293 g_option_context_new() have been called already then, and
2294 g_thread_init() must be called before any other GLib function. The
2295 application in question must be fixed in that case, since memory
2296 corruption might happen otherwise.
2297 We issue the warning because even if the GLib folks decide to work
2298 around the problem on their end in future, this is still an issue
2299 with all GLib versions >= 2.10.0, so we should warn until we depend
2300 on a GLib version we know to be safe.
2301 Update documentation as well.
2304 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2306 * tools/gst-inspect.c: (main):
2307 * tools/gst-launch.c: (main):
2308 * tools/gst-typefind.c: (main):
2309 * tools/gst-xmlinspect.c: (main):
2310 Call g_thread_init() really really early, before any other GLib
2311 function (see #342564 and recent discussion on gtk-devel-list).
2313 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2315 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
2317 * gst/gst_private.h:
2318 * gst/gstconfig.h.in:
2320 On win32, all the __declspec stuff for symbol exporting is
2321 apparently only needed with MSVC, but doesn't work with MingW.
2322 Fixes compilation with MingW and #391909.
2324 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2326 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
2327 Change some GST_ERROR_OBJECT that aren't really errors to
2328 GST_WARNING_OBJECT in order to reduce terminal spam.
2330 2007-01-04 Stefan Kost <ensonic@users.sf.net>
2332 * tests/check/Makefile.am:
2333 disable test again, as there seem to be still race problems
2335 2007-01-04 Stefan Kost <ensonic@users.sf.net>
2337 * tests/check/Makefile.am:
2338 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2339 (GST_START_TEST), (queue_suite):
2340 enable queue test again, add tests for the leaky behaviour
2342 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
2345 * tests/examples/Makefile.am:
2346 Compile adapter test/example only if the required headers are
2347 available (fixes #391915).
2349 2007-01-01 David Schleef <ds@schleef.org>
2352 Restore the previous signal handler for SIGSEGV instead of
2353 setting to default, since we may have stolen it away from
2354 someone. (i.e., Mono)
2356 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
2358 * docs/random/draft-missing-plugins.txt:
2359 Some small additions and clarifications.
2361 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
2363 * gst/gstregistryxml.c: (gst_registry_save_escaped):
2364 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
2365 since that can lead to random memory corruptions and crashes
2366 (may or may not be related to #383244, #386711, and #386711).
2368 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2370 * tests/check/.cvsignore:
2371 * tests/check/Makefile.am:
2372 sync .cvsignome and CLEANFILES
2374 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2376 * tests/check/Makefile.am:
2379 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2381 * docs/design/part-states.txt:
2382 two tiny additional comments
2384 * gst/gststructure.c:
2387 * tests/check/Makefile.am:
2388 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2390 disable test for now, unless it gets fixed
2392 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2394 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2396 fix race in underrun test
2398 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2400 * tests/check/elements/.cvsignore:
2403 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2405 try to narrow test failure
2407 2006-12-21 David Schleef <ds@schleef.org>
2409 * plugins/elements/gstfakesrc.c:
2410 Use g_random_int_range(), since it produces better random
2411 numbers in a range than almost-correct floating point code.
2413 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2415 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2416 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2417 (gst_check_teardown_sink_pad):
2418 do not automatically (de)activate pads
2420 * tests/check/Makefile.am:
2421 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2422 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
2423 add new, yet simple tests for queue
2425 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
2426 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
2427 * tests/check/elements/filesrc.c: (cleanup_filesrc),
2429 * tests/check/elements/identity.c: (cleanup_identity):
2430 consistent pad (de)activation
2432 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
2434 Patch by: Sebastian Dröge <slomo ubuntu com>
2436 * libs/gst/base/gstcollectpads.c:
2437 Fix two doc typos (#387866).
2439 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
2441 * docs/manual/advanced-dparams.xml:
2442 Fix typo (g_object_control_properties() doesn't exist).
2444 2006-12-19 Edward Hervey <edward@fluendo.com>
2446 * gst/gstsegment.c: (gst_segment_set_seek):
2447 Fine tune the cases where the segment start/stop values are really
2449 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2450 Add tests for the return values of gst_segment_set_seek().
2452 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
2457 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2459 Fix incorrect documentation and flesh it out a bit more.
2460 Set default values for the max properties on the GParamSpec as well,
2461 so it shows up correctly in gst-inspect.
2463 2006-12-18 Stefan Kost <ensonic@users.sf.net>
2465 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2466 Correct docs of queue, add more detail and crosslink it more.
2468 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
2470 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2471 Print additional debug info when the stream isn't perfectly
2472 timestamped; don't try to use invalid durations.
2474 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
2476 * docs/design/Makefile.am:
2477 Dist new design docs.
2479 2006-12-16 Wim Taymans <wim@fluendo.com>
2481 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2483 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
2484 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2485 (gst_collect_pads_stop), (gst_collect_pads_event),
2486 (gst_collect_pads_chain):
2487 * libs/gst/base/gstcollectpads.h:
2488 Add refcounting to the collectpads data so we can track when it's safe
2489 to free the data. Fixes #383382.
2491 2006-12-15 Wim Taymans <wim@fluendo.com>
2493 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2494 (gst_collect_pads_remove_pad):
2495 Automatically activate/deactivate pads when they are added to a
2496 started/stoped collectpads.
2498 2006-12-15 Wim Taymans <wim@fluendo.com>
2500 * gst/gstelement.c: (gst_element_add_pad):
2501 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
2502 * gst/gstpad.c: (gst_pad_init):
2503 Set pads to FLUSHING when they are created. Check, warn and fix when a
2504 demuxer adds an inactive pad to itself when running. Fixes #339326.
2506 2006-12-15 Wim Taymans <wim@fluendo.com>
2508 * gst/gstelement.c: (gst_element_class_init),
2509 (gst_element_default_send_event), (gst_element_send_event),
2510 (gst_element_default_query), (gst_element_query):
2511 Expose default element send_event and query handling as vmethods that
2512 subclasses can chain up to.
2514 2006-12-15 Wim Taymans <wim@fluendo.com>
2516 * gst/gstelement.c: (gst_element_set_state_func):
2517 Small documentation fixes.
2519 2006-12-15 Wim Taymans <wim@fluendo.com>
2521 * docs/design/draft-latency.txt:
2522 Checked in draft for handling latency in pipelines.
2524 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
2528 * gstreamer.spec.in:
2531 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
2533 * gst/gst.c: (init_pre), (init_post):
2534 init_pre() and init_post() might be called via our GOptionGroup or
2535 from gst_init(), and we should skip both of them if we've already
2536 been initialised, otherwise we will init some things twice or add
2537 two default log functions.
2539 2006-12-13 Edward Hervey <edward@fluendo.com>
2541 * docs/manual/basics-bus.xml:
2542 No, gst_main_loop does not exist. Its g_main_loop.
2543 Discovered by somebody who abused the copy-paste technique of coding :)
2545 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
2547 * gst/gstghostpad.c:
2548 Log ghostpad debug stuff to the GST_PADS category as well rather
2549 than just to the default category.
2551 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
2554 * gst/gst.c: (init_pre):
2555 Add some basic system details such as OS and architecture
2556 to the debug output if possible, courtesy of uname().
2558 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
2560 * docs/gst/running.xml:
2561 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
2562 environment variables.
2564 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
2566 * tests/check/gst/gstbin.c: (GST_START_TEST):
2567 It is acceptable to have a refcount of 2 or 3 at this point in the
2568 test, because the pipeline might be just posting its state_change
2569 message. The next line then waits for that message to appear using
2570 bus_poll, so that should be fine too.
2572 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
2574 * gst/gst.c: (ensure_current_registry_forking):
2575 Ignore EINTR when reading from the child registry pipe.
2576 Explicitly ignore the return value from close, since it makes no
2579 * gst/gstminiobject.c: (gst_mini_object_ref),
2580 (gst_mini_object_unref):
2581 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
2583 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
2584 When removing cached plugins, remove their features too, so they're
2585 not visible after they've disappeared.
2587 * gst/gstutils.c: (prepare_link_maybe_ghosting):
2588 In the unlikely case that we are linking pads with no parents, don't
2589 crash trying to get the non-existent parent bin.
2591 * gst/parse/grammar.y:
2592 Output debug in the PIPELINE category
2594 2005-03-08 Wim Taymans <wim@fluendo.com>
2596 Patch by: René Stadler <mail at renestadler dot de>
2598 * gst/gstclock.c: (gst_clock_new_periodic_id):
2599 Reject invalid clock times for interval of periodic ids.
2602 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2604 * gst/gstelementfactory.c: (gst_element_factory_create):
2605 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2606 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
2607 * tools/gst-inspect.c: (print_element_info):
2608 Fix refcounting of gst_plugin_feature_load to match the docs.
2611 2006-12-07 Wim Taymans <wim@fluendo.com>
2613 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2614 (gst_base_sink_get_position):
2615 Improve debugging of events.
2617 2006-12-07 Wim Taymans <wim@fluendo.com>
2619 Patch by: René Stadler <mail at renestadler dot de>
2621 * gst/gstclock.c: (gst_clock_id_wait):
2622 Make period ids add the interval to the origial requested time instead
2623 of the possibly updated time which can be wrong when there are multiple
2624 waiters for the same id. Fixes #382592.
2626 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
2627 (gst_system_clock_id_wait_jitter_unlocked),
2628 (gst_system_clock_id_wait_jitter):
2629 Fix restart in the async notify thread when an async entry is added to
2630 the front of the list. Fixes #381492.
2632 * tests/check/gst/gstsystemclock.c: (store_callback),
2633 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2634 Added test for multiple async waits.
2635 Added test for async wait order.
2637 2006-12-07 Wim Taymans <wim@fluendo.com>
2639 * gst/gstbin.c: (gst_bin_query):
2640 Add some more docs about the POSITION query.
2642 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2645 Bump version nano - back to CVS.
2647 === release 0.10.11 ===
2649 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
2652 releasing 0.10.11, "Love never runs on time"
2654 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
2656 * win32/common/libgstbase.def:
2657 * win32/common/libgstreamer.def:
2658 * win32/vs8/libgstbase.vcproj:
2659 * win32/vs8/libgstcoreelements.vcproj:
2660 * win32/vs8/libgstreamer.vcproj:
2661 Fix compilation on win32 under VS8
2662 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2663 Partially fixes #381175
2665 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
2667 * gst/gstvalue.c: (gst_value_compare_fraction):
2668 If someone is foolish enough to compare 2 fractions with denominator =
2669 0, return UNORDERED rather than aborting.
2671 2006-11-28 Edward Hervey <edward@fluendo.com>
2673 * libs/gst/base/Makefile.am:
2674 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2675 (gst_data_queue_base_init), (gst_data_queue_class_init),
2676 (gst_data_queue_init), (gst_data_queue_new),
2677 (gst_data_queue_cleanup), (gst_data_queue_finalize),
2678 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2679 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2680 (gst_data_queue_is_empty), (gst_data_queue_is_full),
2681 (gst_data_queue_set_flushing), (gst_data_queue_push),
2682 (gst_data_queue_pop), (gst_data_queue_drop_head),
2683 (gst_data_queue_set_property), (gst_data_queue_get_property):
2684 * libs/gst/base/gstdataqueue.h:
2685 New GstDataQueue object for threadsafe queueing. Most useful for
2686 elements that need some queueing functionnality.
2687 * docs/libs/gstreamer-libs-docs.sgml:
2688 * docs/libs/gstreamer-libs-sections.txt:
2689 Insert documentation for GstDataQueue
2690 * plugins/elements/Makefile.am:
2691 * plugins/elements/gstelements.c:
2692 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2693 (gst_multi_queue_class_init), (gst_multi_queue_init),
2694 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2695 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2696 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2697 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2698 (gst_multi_queue_loop), (gst_multi_queue_chain),
2699 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2700 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2701 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2702 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2703 (wake_up_next_non_linked), (compute_next_non_linked),
2704 (single_queue_overrun_cb), (single_queue_underrun_cb),
2705 (single_queue_check_full), (gst_single_queue_new):
2706 * plugins/elements/gstmultiqueue.h:
2707 New multiqueue element, using GstDataQueue. Used for queuing multiple
2709 Closes #344639 and #347785
2711 2006-11-22 Stefan Kost <ensonic@users.sf.net>
2713 * docs/pwg/advanced-types.xml:
2714 add more missing type details
2716 * tools/gst-run.c: (main):
2717 remove unused variable
2719 2006-11-21 Stefan Kost <ensonic@users.sf.net>
2721 * docs/libs/Makefile.am:
2722 * docs/libs/gstreamer-libs.types:
2723 add types of base classes to enable gobject specific stuff in the docs
2725 * docs/random/ensonic/embedded.txt:
2726 more ideas about isolating platform specific things
2728 2006-11-20 Wim Taymans <wim@fluendo.com>
2730 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2732 * libs/gst/check/gstcheck.h:
2733 Fix compilation and running against 0.9.4. Fixes #377332.
2735 2006-11-20 Wim Taymans <wim@fluendo.com>
2737 * gst/gstsegment.c: (gst_segment_set_seek),
2738 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2739 (gst_segment_to_running_time):
2740 Fix boundary checking in to_running_time() and to_stream_time().
2743 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2744 stream and running time can now be calculated for the complete
2747 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
2749 * gst/gstpad.c: (gst_pad_push_event):
2750 Can't access event structure after giving away ownership of
2753 2006-11-15 Stefan Kost <ensonic@users.sf.net>
2755 * docs/random/ensonic/embedded.txt:
2756 * docs/random/ensonic/profiling.txt:
2757 * docs/random/ensonic/receipies.txt:
2760 2006-11-13 Wim Taymans <wim@fluendo.com>
2762 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2765 Fix documentation for gst_pad_dispatcher. Fixes #374475.
2767 2006-11-13 Wim Taymans <wim@fluendo.com>
2769 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2771 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2772 Store new length in segment duration so we don't keep on calling the
2773 potentially expensize get_size() call. Fixes #370865.
2775 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
2777 Patch by: Sergey Scobich <sergey.scobich at gmail com>
2779 * win32/common/libgstreamer.def:
2780 Add two missing symbols (#366492).
2782 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
2784 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2785 (gst_adapter_take_buffer):
2786 Fix format string to use all its arguments.
2787 Remove useless >= check on a guint
2789 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2791 * tests/examples/adapter/.cvsignore:
2792 Ignore build file as commanded by the build-bot
2794 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2796 * tests/examples/adapter/Makefile.am:
2797 * tests/examples/adapter/adapter_test.c: (run_test_take),
2798 (run_test_take_buffer), (run_tests), (main):
2800 Add new files from the previous commit
2802 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2806 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2807 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2808 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2809 * libs/gst/base/gstadapter.h:
2810 * tests/check/libs/adapter.c: (create_and_fill_adapter),
2811 (GST_START_TEST), (gst_adapter_suite):
2812 * tests/examples/Makefile.am:
2813 Do some optimisation work in GstAdapter to avoid copies in more cases.
2814 It could still do slightly better by merging buffers when
2815 gst_buffer_is_span_fast is true, but is already faster.
2817 Also, avoid traversing a single-linked list to append each incoming
2818 buffer inside the adapter.
2820 Add simple test app that times the adapter behaviour in different
2821 situations, and extend the unit test to check that bytes enter and
2822 exit the adapter in their original order.
2824 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
2826 * docs/random/draft-missing-plugins.txt:
2827 Update: use element message instead of adding a new message
2828 type to the core; don't provide GStreamer API to initiate the
2829 plugin download, just provide API to compose the strings needed
2830 and let an external libgimmestuff handle the rest.
2832 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
2834 * tools/gst-inspect.c: (print_element_properties_info):
2835 Print a string instead of 'unknown type' for GValueArray properties
2837 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
2839 * docs/random/draft-missing-plugins.txt:
2842 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2844 * tests/examples/typefind/typefind.c: (type_found), (main):
2845 Make typefind element example work again (#371894); add a
2848 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2850 * docs/random/draft-missing-plugins.txt:
2851 Commit initial draft about how to deal with missing plugins,
2852 needs work (API too).
2854 2006-11-07 Stefan Kost <ensonic@users.sf.net>
2856 * docs/pwg/advanced-types.xml:
2857 documents the new caps elements (see #363118)
2859 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2861 * gst/gstplugin.c: (gst_plugin_load_file):
2862 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2863 (gst_file_src_map_region), (gst_file_src_start):
2864 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2865 (gst_file_index_commit):
2866 Use g_strerror() instead of strerror() - we want UTF-8.
2868 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2870 Patch by: Peter Kjellerstedt <pkj at axis com>
2872 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2873 Another printf fix (#371493).
2875 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2877 * tests/check/gst/gsttag.c:
2878 relicence (okay with author=company)
2880 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2882 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2883 (gst_pad_push_event):
2884 Enhance debug and improve docs
2889 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2891 * docs/random/ensonic/distributed.txt:
2892 * docs/random/ensonic/profiling.txt:
2895 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2897 * docs/gst/gstreamer-sections.txt:
2898 add new API and fix the build
2900 * gst/gstbin.c: (gst_bin_recalc_state):
2901 * gst/gstelement.c: (gst_element_message_full),
2902 (gst_element_get_state_func), (gst_element_set_state_func):
2903 use new API and improve logging
2905 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2907 API: add function to get StateChangereturn names to improve logs
2909 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
2911 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2912 I'm considering shooting the next person to put strerror stuff
2913 in the translateable part of the message.
2915 2006-11-03 Wim Taymans <wim@fluendo.com>
2917 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2918 Get the type and printf conversion specifiers right.
2920 2006-11-03 Wim Taymans <wim@fluendo.com>
2922 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2924 * gst/gstpad.c: (gst_pad_init), (pre_activate),
2925 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2926 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2927 Some small cleanups. Improve debugging.
2929 Signal all waiting threads with a broadcast instead of just one.
2932 2006-11-03 Wim Taymans <wim@fluendo.com>
2934 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2935 (gst_fd_src_create):
2937 Only update fd when it's different from the old.
2939 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2941 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2942 Printf fixes for PPC/OSX, take two (#369366).
2944 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2946 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
2948 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2949 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2950 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2951 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2952 don't cast to long long for portability reasons, but use
2953 GLib's types instead.
2955 2006-10-30 Michael Smith <msmith@fluendo.com>
2957 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2958 Get the arguments to lseek() the right way around.
2961 2006-10-30 Wim Taymans <wim@fluendo.com>
2963 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2966 _declspec should be __declspec (two underscores, not one). Fixes 366572.
2968 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2970 Patch by: Kjartan Maraas <kmaraas at gnome org>
2972 * docs/design/part-MT-refcounting.txt:
2973 * docs/random/wtay/capsnego2-docs:
2976 Typo fixes (#366212).
2978 2006-10-28 Wim Taymans <wim@fluendo.com>
2980 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2983 * win32/common/libgstbase.def:
2984 * win32/common/libgstreamer.def:
2985 * win32/vs8/libgstbase.vcproj:
2986 * win32/vs8/libgstcontroller.vcproj:
2987 Add needed entries in .def files.
2989 Rearrange def files in vs8 solutions. Fixes #366286.
2991 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2993 * win32/common/gstconfig.h:
2994 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2995 hand-made win32 gstconfig.h. Fixes #366321.
2997 2006-10-27 Wim Taymans <wim@fluendo.com>
2999 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
3000 (gst_ghost_pad_new_full):
3001 Make acceptcaps return TRUE when we don't have a target, just like
3004 2006-10-27 Wim Taymans <wim@fluendo.com>
3006 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3007 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
3009 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
3011 * gst/gststructure.c: (gst_structure_id_set_value):
3012 If someone tries to set a non-UTF8 string field on a structure,
3013 don't just print a warning, but also ignore the request and do
3014 not change/add that field to the structure.
3016 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3019 2006-10-25 David Schleef <ds@schleef.org>
3022 g_hash_table_insert() needs a cast to a non-const pointer duh.
3024 2006-10-25 David Schleef <ds@schleef.org>
3028 Change name parameter of _gst_debug_register_funcptr to const
3029 to reflect the constness of its use in the function as well
3030 as to quiet a gcc warning.
3032 2006-10-25 Edward Hervey <edward@fluendo.com>
3034 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3035 Don't push the buffer if it's empty.
3038 2006-10-24 Wim Taymans <wim@fluendo.com>
3043 * libs/gst/base/gstbasetransform.c:
3044 (gst_base_transform_sink_eventfunc):
3045 Debug segment values *after* updating them as this is more
3048 2006-10-23 Wim Taymans <wim@fluendo.com>
3050 * docs/design/part-events.txt:
3053 * docs/design/part-block.txt:
3054 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3055 (gst_pad_push_event):
3056 Revert BLOCKING patch, it tries to be smart without really having a
3057 clear idea what or how. So, now we discard all FLUSHING events again on
3058 a blocking pad. Should fix gnonlin again.
3060 2006-10-23 Wim Taymans <wim@fluendo.com>
3062 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3064 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3065 (gst_base_src_start), (gst_base_src_activate_push):
3066 Make sure size is always initialized. Fixes #364388.
3068 2006-10-20 Stefan Kost <ensonic@users.sf.net>
3070 * docs/random/ensonic/distributed.txt:
3071 add some ideas about doing distributed processing
3073 * docs/random/ensonic/profiling.txt:
3074 get_rusage look promising
3076 2006-10-18 Stefan Kost <ensonic@users.sf.net>
3078 * docs/manual/basics-helloworld.xml:
3079 Add a cast in example to fix compile warning
3081 2006-10-18 Wim Taymans <wim@fluendo.com>
3083 * gst/gstsegment.c: (gst_segment_set_last_stop),
3084 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
3085 Relax arg checking again, -1 is allowed.
3087 2006-10-18 Wim Taymans <wim@fluendo.com>
3089 * gst/gstsegment.c: (gst_segment_set_last_stop),
3090 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
3091 _set_last_stop() must be with a value != -1
3092 A _TYPE_SET to -1 means seek to 0.
3093 Calc last_stop correctly for negative rates.
3094 Make sure we work with positive durations when updating a segment.
3096 2006-10-18 Wim Taymans <wim@fluendo.com>
3098 * docs/design/part-live-source.txt:
3102 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
3105 Add an explicit cast to GstBuffer** to keep old code that added an
3106 explicit cast to GstMiniObject** for gst_mini_object_replace()
3107 compiling without warning.
3109 2006-10-18 Stefan Kost <ensonic@users.sf.net>
3111 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
3112 check for validity of dates
3114 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
3116 * docs/gst/gstreamer-sections.txt:
3117 Forgot this one, makes gtk-doc shut up.
3119 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
3121 Patch by: Peter Kjellerstedt <pkj at axis com>
3124 Don't define xmlNodePtr to gpointer if the core was built with
3125 --disable-loadsave and --disable-registry, this will break
3126 applications that want to use libxml2 but are buildling against a
3127 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
3128 instead so we don't have to mess with the libxml2 namespace
3131 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
3134 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
3135 type-punned pointer warnings.
3137 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
3140 Add casts to the correct return type to state <=> state transition
3143 2006-10-16 Stefan Kost <ensonic@users.sf.net>
3145 * docs/design/part-live-source.txt:
3146 describe howto handle latency
3148 * docs/random/ensonic/profiling.txt:
3151 * tools/gst-plot-timeline.py:
3152 fix log parsing for solaris, remove unused function
3154 2006-10-16 Wim Taymans <wim@fluendo.com>
3156 * docs/design/part-trickmodes.txt:
3158 Update some docs regarding reverse playback.
3160 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
3162 Patch by: Marcus Granado <mrc dot gran at gmail com>
3164 * win32/vs8/grammar.vcproj:
3165 Error out with a warning if glib-genmarshal.exe is not in path,
3166 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
3168 2006-10-13 Wim Taymans <wim@fluendo.com>
3170 * gst/gstsegment.c: (gst_segment_set_seek):
3171 When seeking to stop -1, set last_stop (current position) to the
3172 duration of the segment.
3174 2006-10-13 Wim Taymans <wim@fluendo.com>
3177 Clarify _NO_PREROLL a bit more.
3182 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
3183 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
3184 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
3185 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
3186 due to wrong locking order. Fixes #361769.
3187 Remove some redundant/misplaced checks in pad_block.
3189 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3190 For negative rates, count backwards from the duration.
3192 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
3194 * gst/gsterror.c: (_gst_library_errors_init):
3195 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
3196 up with something better).
3198 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
3200 * win32/vs6/libgstreamer.dsp:
3201 * win32/vs7/libgstreamer.vcproj:
3202 * win32/vs8/libgstreamer.vcproj:
3203 Don't reference glib-compat.c which is currently not used and not
3204 disted; add gstquark.c which was recently added. Fixes #361730.
3206 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
3208 * win32/common/libgstbase.def:
3209 * win32/common/libgstcontroller.def:
3210 * win32/common/libgstreamer.def:
3211 Add gst_caps_merge() and a bunch of other recently-added functions.
3214 2006-10-11 Wim Taymans <wim@fluendo.com>
3216 * docs/plugins/gstreamer-plugins.args:
3217 * docs/plugins/inspect/plugin-coreelements.xml:
3218 * docs/plugins/inspect/plugin-coreindexers.xml:
3219 Update element args.
3221 * gst/gstsystemclock.c:
3222 Small comment update.
3224 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
3225 (gst_tee_request_new_pad), (gst_tee_release_pad),
3226 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
3227 (gst_tee_sink_activate_pull):
3228 * plugins/elements/gsttee.h:
3230 Add default property defines.
3231 Implement release pad function.
3232 Give properties better blubs etc.
3233 Activate pads before adding them to a running tee.
3234 Do simple buffer_alloc on the first requested pad.
3235 Post error when activation fails.
3237 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
3239 * gst/gst.c: (ensure_current_registry_forking):
3240 Check return value of write() to make compiler happy.
3242 2006-10-11 Wim Taymans <wim@fluendo.com>
3244 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3246 * plugins/elements/gstqueue.c: (gst_queue_chain):
3247 Recheck queue filledness after signalling the overrun when we're about
3248 to leak downstream because we released the lock when emitting the signal
3249 and the queue could be empty again. Fixes #352345.
3251 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
3253 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
3254 Fix refcounting here too, just like we did for _new_valist() a few
3255 days ago (#357180) (thanks to René Stadler). Also remove all those
3256 'Since: 0.9' from the gtk-doc blobs.
3258 * tests/check/libs/controller.c: (controller_refcount_new_list),
3259 (gst_controller_suite):
3260 Unit test for the above.
3262 2006-10-10 Wim Taymans <wim@fluendo.com>
3264 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
3266 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3267 (gst_pad_save_thyself):
3269 Write pad direction in XML output. Fixes #345496.
3271 2006-10-10 Wim Taymans <wim@fluendo.com>
3273 Patch by: René Stadler <mail at renestadler dot de>
3275 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3276 (gst_controller_new_list), (_gst_controller_dispose),
3277 (_gst_controller_finalize), (_gst_controller_class_init):
3278 Take ref to controlled object so that it cannot disappear.
3281 2006-10-10 Wim Taymans <wim@fluendo.com>
3283 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3284 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3285 (gst_check_teardown_sink_pad):
3286 Activate/deactivate pads in setup/teardown respectively.
3288 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3290 Patch by: Josep Torre Valles <josep@fluendo.com>
3293 Cast values when making gstenumtypes.h. This pacifies Forte
3294 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
3297 2006-10-09 Wim Taymans <wim@fluendo.com>
3299 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
3300 Rename some more @cur to @start to fix docs.
3302 * gst/gstsegment.c: (gst_segment_set_seek):
3304 time and start must always stay in sync as defined in design doc.
3306 * gst/gsttaglist.c: (gst_tag_list_is_empty):
3307 Rename param to fix docs.
3309 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3310 Check that start and time are in sync.
3312 * tests/check/pipelines/parse-launch.c:
3313 (gst_parse_test_element_change_state):
3314 Activate pad before adding to the element.
3316 2006-10-09 Wim Taymans <wim@fluendo.com>
3318 * docs/design/part-qos.txt:
3323 Update seek event docs regarding negative rates.
3324 Rename @cur to @start.
3326 * gst/gstsegment.c: (gst_segment_set_seek):
3328 Update set_seek docs regarding negative rates.
3329 Correctly update last_stop to @stop when dealing with negative
3331 Rename @cur to @start.
3333 * tests/check/gst/gstpad.c: (GST_START_TEST):
3334 Activate pads before trying to use them.
3336 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3337 (gst_segment_suite):
3338 Add simple check for segments and negative rates.
3340 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
3342 * gst/gsttaglist.c: (gst_tag_list_is_empty):
3344 * docs/gst/gstreamer-sections.txt:
3345 API: add gst_tag_list_is_empty() (#360467).
3347 * tests/check/gst/gsttag.c: (GST_START_TEST):
3350 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3353 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
3354 a value that doesn't fit on enumeration.
3356 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3358 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3359 Remove local debugging system and use Gstreamer's instead.
3361 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3363 Patch by: Josep Torre Valles <josep@fluendo.com>
3365 * common/m4/gst-error.m4:
3366 Disable warning of statement not reached on Forte.
3368 Fix warning on Forte (value doesn't fit on enumeration).
3369 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
3370 Fix warning on Forte (value doesn't fit on enumeration).
3371 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3372 DEBUG macro says it takes minimum of 2 args and so Forte
3373 complains about the use with just 1 arg.
3374 * plugins/elements/gstfdsink.c:
3375 * plugins/elements/gstfdsrc.c:
3376 * plugins/elements/gstfilesink.c:
3377 * plugins/elements/gstfilesrc.c:
3378 Use correct return type for the uri handler implementations.
3380 All these fix warnings in Forte. Fixes bug #360860.
3382 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
3385 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
3386 format string, so don't use G_GNUC_PRINTF for those versions.
3388 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
3390 * gst/gsttaglist.c: (gst_is_tag_list):
3392 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
3394 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3395 Small test for the above.
3397 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
3400 Less tabs, more spaces.
3402 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
3405 Those two function declarations do actually belong there, revert
3406 commit from yesterday that turned them intro macros.
3408 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3410 Patch by: Josep Torre Valles <josep@fluendo.com>
3412 * gst/gst.c: (gst_init_get_option_group):
3413 Fix empty declaration and type mismatch.
3414 * gst/gstbin.c: (gst_bin_change_state_func):
3416 * gst/gstelement.c: (gst_element_continue_state),
3417 (gst_element_set_state_func), (gst_element_change_state),
3418 (gst_element_change_state_func):
3419 Fix type mismatches.
3420 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
3421 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
3422 Cast as appropriate.
3423 * gst/gstobject.c: (gst_class_signal_connect):
3424 Cast as appropriate. The function pointer parameter really
3425 has the wrong type but would break API if we change it.
3427 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
3428 order of including string.h.
3429 * gst/gstutils.c: (gst_element_state_get_name):
3430 Remove unreachable line.
3431 * gst/gstxml.c: (gst_xml_parse_doc):
3433 All these caught by Forte.
3435 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3437 Patch by: Josep Torre Valles <josep@fluendo.com>
3439 * common/m4/gst-error.m4:
3441 We need to disable warnings on Forte for empty declarations
3442 due to gst-indent adding ;s to lines that just use macros
3443 where the macro actually doesn't need a ; at end to end
3446 2006-10-06 Wim Taymans <wim@fluendo.com>
3448 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3449 (gst_file_sink_close_file), (gst_file_sink_event),
3450 (gst_file_sink_render):
3451 Add some FIXME for the NEWSEGMENT handling.
3453 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3455 * gst/parse/grammar.y:
3456 Remove static function gst_parse_element_lock as all it does
3457 is return. Looks like cruft from 0.8.
3459 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3461 Patch by: Josep Torre Valles <josep@fluendo.com>
3463 * common/m4/gst-error.m4:
3465 * libs/gst/net/Makefile.am:
3466 Fix a compilation issue with Forte on Solaris. inet_aton is in
3469 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
3471 * gst/gstpad.c: (pre_activate):
3472 * gst/gstregistry.c: (gst_registry_scan_path_level):
3473 * gst/gstregistryxml.c: (load_plugin):
3474 * libs/gst/controller/gstcontroller.c:
3475 (gst_controlled_property_set_interpolation_mode):
3476 * libs/gst/dataprotocol/dataprotocol.c:
3477 (gst_dp_packet_from_event_1_0):
3478 * libs/gst/net/gstnetclientclock.c:
3479 (gst_net_client_clock_observe_times):
3480 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3483 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
3486 * docs/gst/gstreamer-sections.txt:
3487 * gst/gstconfig.h.in:
3490 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
3491 whether we can use G_GNUC_PRINTF in other header files and at
3492 least check the printf format/arguments of debug messages and
3493 GST_ELEMENT_ERROR messages when the printf extension is not
3495 Replace more tabs with spaces in gstinfo.h and remove two spurious
3496 function declarations in GST_DISABLE_DEBUG part with macros.
3498 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
3500 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
3501 More docs for the sync-message signal (mention that it is not
3502 emitted by default); log message structures of messages posted on
3505 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
3507 * gst/gst.c: (ensure_current_registry_forking):
3508 Use a pipe pair to receive status results from the forked child, and
3509 ignore the result from waitpid. Fixes #355499
3511 2006-10-02 Wim Taymans <wim@fluendo.com>
3513 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3514 (gst_ghost_pad_suite):
3517 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
3520 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
3522 2006-10-02 Edward Hervey <edward@fluendo.com>
3524 * docs/design/part-block.txt:
3525 Further explain the use of flushing on blocked pads.
3526 * docs/gst/gstreamer-sections.txt:
3527 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3528 (gst_pad_push_event):
3530 Added new GstPadFlag : GST_PAD_BLOCKING.
3531 Adds the notion of pads really blocking, which enables to properly
3532 handle FLUSH_START/FLUSH_STOP events on blocked pads.
3534 API: gst_pad_is_blocking()
3535 API: GST_PAD_IS_BLOCKING() macro
3536 API: GST_PAD_BLOCKING GstPadFlag
3538 2006-10-02 Wim Taymans <wim@fluendo.com>
3540 Patch by: mrcgran <mrc.gran at gmail dot com>
3542 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
3543 Filter the proxied caps against the padtemplate if we have one.
3545 * gst/gstquery.c: (gst_query_new_segment):
3546 Add include for gstinfo.h so that compilation with
3547 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
3549 2006-10-02 Wim Taymans <wim@fluendo.com>
3551 Patch by: Alessandro Decina <alessandro at nnva org>
3553 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
3554 (gst_file_sink_set_location), (gst_file_sink_open_file),
3555 (gst_file_sink_close_file), (gst_file_sink_event),
3556 (gst_file_sink_render):
3557 Set file to NULL when closing filesink so that we can set a new filename
3558 in READY. Fixes #358613.
3560 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
3562 Patch by: Alessandro Decina <alessandro at nnva org>
3564 * gst/gstevent.c: (_gst_event_copy):
3565 Fix gst_mini_object_make_writable() and gst_event_copy() for events
3566 with event structures by setting the parent refcount address of the
3567 copied structure to the address of the refcount member of the newly
3568 copied event rather than the address of the refcount member of the
3569 original event. Fixes #358737.
3571 * tests/check/gst/gstevent.c: (GST_START_TEST):
3572 Unit test for the above.
3574 2006-09-29 Stefan Kost <ensonic@users.sf.net>
3576 * docs/design/Makefile.am:
3577 Dist some more files.
3579 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
3581 * tests/check/libs/controller.c: (GST_START_TEST),
3582 (gst_controller_suite):
3583 Add test for the previous fix; add some more tests
3584 for correct refcounting behaviour; fix a few leaks
3585 in test cases; call gst_controller_init() at start
3588 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
3590 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3591 (gst_controller_set_from_list):
3592 Don't g_return_val_if_fail() on timed values with invalid timestamps
3593 inside a critical section without unlocking the mutex. Spotted by
3594 René Stadler. (#357617)
3595 Also, fix up refcounting properly: when returning an existing
3596 controller, we should increase the reference only once and not
3597 once per property and when trying to control a property again
3598 we should also increase the refcount.
3600 2006-09-29 Wim Taymans <wim@fluendo.com>
3602 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3603 * libs/gst/net/gstnettimeprovider.c:
3604 (gst_net_time_provider_thread):
3605 Stop reading commands when EOF as well.
3607 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3608 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3609 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3610 Unify description of the dump property.
3612 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3614 * tests/examples/manual/.cvsignore:
3615 OK, so it's actually cvsignore that needs changing. Stop laughing.
3617 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3619 * tests/examples/manual/Makefile.am:
3620 Gah, declare vars *before* using them
3622 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3624 * gst/gst.c: (init_pre), (scan_and_update_registry),
3625 (ensure_current_registry_nonforking),
3626 (ensure_current_registry_forking), (ensure_current_registry),
3627 (init_post), (gst_debug_help), (gst_deinit):
3628 * gst/gst_private.h:
3629 * gst/gstregistry.c: (gst_registry_finalize),
3630 (gst_registry_remove_features_for_plugin_unlocked),
3631 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3632 (gst_registry_scan_path),
3633 (_priv_gst_registry_remove_cache_plugins),
3634 (_priv_gst_registry_cleanup):
3635 * gst/gstregistry.h:
3636 Re-commit the registry changes, along with an extra fix:
3637 When a cached plugin is encountered at a different file path,
3638 update the stored path in the registry cache so that the parent
3639 process knows where it actually is now when it re-reads the registry
3640 cache. Fixes the thing that broke distcheck with the previous commit.
3642 * tests/check/Makefile.am:
3643 Clean up files named 'core' too when running make clean.
3645 * tests/examples/manual/Makefile.am:
3646 Set up a registry path for running these tests, and clean it properly
3649 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3652 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3653 want gmodule-no-export-2.0.pc instead so that we don't drag in
3654 --export-dynamic on every project that links to GStreamer.
3656 Also, make our export regex only match the start of symbols, rather
3657 than any symbol that contains '_gst' somewhere.
3659 * libs/gst/check/Makefile.am:
3660 The libgstcheck we build does however need export-dynamic, as it
3661 produces some symbols that don't match our _gst... style regex.
3664 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3666 * gst/gst.c: (init_pre), (scan_and_update_registry),
3667 (ensure_current_registry_nonforking),
3668 (ensure_current_registry_forking), (ensure_current_registry),
3669 (init_post), (gst_debug_help), (gst_deinit):
3670 * gst/gst_private.h:
3671 * gst/gstregistry.c: (gst_registry_finalize),
3672 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3673 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3674 (_gst_registry_cleanup):
3675 * gst/gstregistry.h:
3676 Revert previous change until I figure out why it breaks distcheck.
3678 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3680 * gst/gst.c: (init_pre), (scan_and_update_registry),
3681 (ensure_current_registry_nonforking),
3682 (ensure_current_registry_forking), (ensure_current_registry),
3683 (init_post), (gst_debug_help), (gst_deinit):
3685 Make init_pre and init_post take the full complement of GOptionFunc
3686 args so they can return useful GErrors. Make the registry updating
3689 Call _priv_gst_registry_remove_cache_plugins after scanning files to
3690 ensure that the registry we're about to write out doesn't contain
3691 stale information about old-deleted plugin files.
3693 Make _priv_gst_registry_remove_cache_plugins return a boolean so
3694 that deletion of plugin files is considered a registry change.
3696 * gst/gst_private.h:
3697 * gst/gstregistry.c: (gst_registry_finalize),
3698 (gst_registry_remove_features_for_plugin_unlocked),
3699 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3700 (gst_registry_scan_path),
3701 (_priv_gst_registry_remove_cache_plugins),
3702 (_priv_gst_registry_cleanup):
3703 * gst/gstregistry.h:
3704 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3705 by adding _priv prefix, so that they won't appear in the global
3706 symbol table. They still do atm though because of #318031. Move the
3707 prototypes to gst_private.h
3709 When removing a plugin, remove all features for that plugin too.
3712 2006-09-27 Wim Taymans <wim@fluendo.com>
3714 * docs/random/moving-plugins:
3715 Make it clear that the "compiled-in descriptions" really mean
3716 the element details.
3718 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3719 (gst_base_sink_wait_preroll):
3722 * docs/libs/gstreamer-libs-sections.txt:
3723 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3724 (gst_base_src_get_range), (gst_base_src_activate_push):
3725 * libs/gst/base/gstbasesrc.h:
3726 Added function to block while waiting for PLAYING, this function
3727 is used by live sources that block on the clock.
3728 API: gst_base_src_wait_playing()
3730 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3732 Patch by: Peter Kjellerstedt <pkj at axis com>
3735 gst-element-check.m4 is generated and should therefore be
3736 copied from the build dir rather than the source dir (#357593).
3737 'make distcheck' hasn't noticed this because we were disting
3738 the file as well, so stop doing that.
3740 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3742 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3743 Add some tests for gst_caps_intersect().
3745 * tools/gst-launch.c: (event_loop):
3746 Print all buffering percentages we get, even the 100% one.
3748 2006-09-26 Wim Taymans <wim@fluendo.com>
3750 * tools/gst-inspect.c: (print_element_properties_info),
3751 (print_signal_info):
3752 Fix printing of flags to match the look of enums.
3754 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3756 * gst/gstelementfactory.c:
3757 Fix typo in docs blurb.
3759 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3761 * gst/gsturi.c: (search_by_entry):
3762 Don't assert/crash here if a uri handler doesn't return any
3763 supported protocols. The list of protocols could be generated
3764 dynamically at runtime or at plugin registration, and an error
3765 in the underlying library shouldn't be fatal (#353301).
3767 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3770 Fix warning if HAVE_PRINTF_EXTENSION is undefined
3771 (spotted by Peter Kjellerstedt).
3773 2006-09-23 Wim Taymans <wim@fluendo.com>
3775 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3777 * libs/gst/base/gstbasesrc.c:
3778 (gst_base_src_default_check_get_range), (gst_base_src_start),
3779 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3780 (gst_base_src_change_state):
3781 Match _start/_stop calls in the activate functions. Remove redundant
3782 _stop call from the state change function. Fixes #356910.
3783 Turn failure DEBUG into ERROR.
3785 2006-09-22 Wim Taymans <wim@fluendo.com>
3787 * docs/design/part-buffering.txt:
3788 * gst/gstmessage.c: (gst_message_new_buffering),
3789 (gst_message_parse_buffering):
3790 Update docs about buffering.
3792 * docs/design/part-trickmodes.txt:
3795 2006-09-22 Stefan Kost <ensonic@users.sf.net>
3797 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3798 (gst_controller_new_list):
3799 Ref instances when returning them again (fixes #357180)
3801 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
3803 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3804 Don't forget to release proxy lock when there's an error.
3806 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
3809 Add extra initialisers for Caps things, to fix some plugin warnings
3812 2006-09-18 Wim Taymans <wim@fluendo.com>
3814 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3815 Also set template on the internal pad so that a getcaps from the
3816 target pad returns the template caps.
3818 2006-09-18 Wim Taymans <wim@fluendo.com>
3820 * gst/gstelement.c: (gst_element_post_message),
3821 (gst_element_dispose):
3822 Use _DEBUG_OBJECT some more.
3824 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3827 * tools/gst-launch.c: (main):
3828 If the toplevel element is not a GstPipeline, it must be put in a
3829 pipeline so that a bus and clock is selected.
3831 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3833 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3834 JITTER, RATE, and LATENCY query should be handled by the
3835 default case and not by the CONVERT query code.
3837 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3839 * gst/gstformat.c: (gst_format_register):
3840 Fix locking order (must take lock before using n_values).
3842 * gst/gstvalue.c: (gst_value_serialize_enum),
3843 (gst_value_deserialize_enum_iter_cmp),
3844 (gst_value_deserialize_enum):
3845 Fix serialisation/deserialisation of custom registered GstFormats.
3847 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3848 Unit test for custom format serialisation/deserialisation.
3850 2006-09-17 Stefan Kost <ensonic@users.sf.net>
3852 * docs/pwg/building-boiler.xml:
3853 * plugins/elements/gstcapsfilter.c:
3854 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3857 2006-09-16 Edward Hervey <edward@fluendo.com>
3859 * libs/gst/base/gstbasetransform.c:
3860 (gst_base_transform_buffer_alloc):
3861 Check if requested caps are the same as the sinks caps IF
3862 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3864 This fixes the renegotiation issues stated in #352827.
3866 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3869 * docs/manual/advanced-autoplugging.xml:
3870 * tests/examples/Makefile.am:
3871 * tests/examples/manual/.cvsignore:
3872 * tests/examples/manual/Makefile.am:
3873 * tests/examples/manual/extract.pl:
3874 Extract the manual examples again like we used to do.
3877 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3879 * win32/common/config.h:
3882 2006-09-16 Stefan Kost <ensonic@users.sf.net>
3885 Documents how to receive errors.
3887 2006-09-15 Wim Taymans <wim@fluendo.com>
3889 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3890 (event_loop), (main):
3891 Added some comments here and there.
3892 Post an application message when an interrupt is caught instead of doing
3893 an uncontrolled state change.
3894 Clean up the event loop.
3895 Handle buffering messages, pause/resume the pipeline.
3896 Make shutdown because of an interrupt more reliable.
3898 2006-09-15 Wim Taymans <wim@fluendo.com>
3900 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3901 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3902 (gst_base_sink_preroll_object):
3903 Make sure that our internal state is correct when we commit our state
3904 asynchronously. This solves a race where a state change to PLAYING
3905 could cause the sink to remain blocked in preroll in some situations.
3907 2006-09-15 Wim Taymans <wim@fluendo.com>
3909 * tools/gst-inspect.c: (print_element_properties_info),
3910 (print_signal_info):
3911 List flags as hex so it's easier to deal with.
3913 2006-09-15 Wim Taymans <wim@fluendo.com>
3915 * docs/libs/gstreamer-libs-sections.txt:
3916 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3917 (gst_base_sink_do_sync):
3918 * libs/gst/base/gstbasesink.h:
3919 Expose logic to wait for preroll so that subclasses such as audiosink
3920 can also use this method.
3921 API: gst_base_sink_wait_preroll()
3923 2006-09-15 Wim Taymans <wim@fluendo.com>
3925 * gst/gstobject.c: (gst_object_set_parent):
3926 * gst/gstpipeline.c: (do_pipeline_seek):
3927 Small cleanups in docs and code.
3929 * gst/gstsegment.c: (gst_segment_clip):
3930 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3931 if stop == start and start is in the segment, no clipping should be
3932 done. Also add a test for this.
3934 2006-09-15 Wim Taymans <wim@fluendo.com>
3936 * docs/design/part-buffering.txt:
3937 * docs/gst/gstreamer-sections.txt:
3938 * gst/gstmessage.c: (gst_message_new_buffering),
3939 (gst_message_parse_buffering):
3941 Added methods to create and parse BUFFERING messages.
3942 Added preliminary docs about buffering.
3943 API: gst_message_new_buffering
3944 API: gst_message_parse_buffering
3946 2006-09-06 Wim Taymans <wim@fluendo.com>
3949 Update documentation.
3951 * gst/gstelement.c: (gst_element_class_init),
3952 (gst_element_release_request_pad), (gst_element_set_clock),
3953 (gst_element_get_index), (gst_element_add_pad),
3954 (gst_element_remove_pad), (gst_element_get_random_pad),
3955 (gst_element_send_event), (gst_element_get_query_types),
3956 (gst_element_query), (gst_element_post_message),
3957 (gst_element_message_full), (gst_element_continue_state),
3958 (gst_element_lost_state), (gst_element_save_thyself),
3959 (gst_element_restore_thyself):
3960 Documentation updates.
3961 Rename last bit of the new-pad -> pad-added signal rename.
3962 Fix the case where an element query would only work if the source
3964 Avoid some useless type checking in message handling.
3969 Documentation updates.
3971 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3973 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3974 add an INFO line for when we actually update the fd
3976 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3981 === release 0.10.10 ===
3983 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3986 releasing 0.10.10, "Pais"
3988 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
3990 * docs/manual/advanced-position.xml:
3991 Fix typo in sample code.
3993 2006-09-05 Wim Taymans <wim@fluendo.com>
3995 * libs/gst/net/gstnetclientclock.c: (inet_aton),
3996 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3997 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3998 * libs/gst/net/gstnetclientclock.h:
3999 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4000 * libs/gst/net/gstnettimepacket.h:
4001 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
4002 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
4003 (gst_net_time_provider_thread), (gst_net_time_provider_new):
4004 * libs/gst/net/gstnettimeprovider.h:
4005 Make stuff compile on windows. Fixes #345295.
4007 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
4009 * gst/gst.c: (ensure_current_registry_forking):
4010 Print better details when child was terminated by signal.
4012 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
4014 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
4015 Print a warning rather than g_assert() if a plugin feature
4016 is a URI handler but returns no protocols (#353976).
4018 2006-09-02 Stefan Kost <ensonic@users.sf.net>
4020 * docs/random/moving-plugins:
4023 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
4025 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
4026 Fix locking order, handle NULL function values properly.
4031 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
4032 Initialise variable before using it and fix debug statement to
4033 print the address of the function rather than the address of the
4034 variable on the stack holding the address of the function.
4036 2006-09-01 Wim Taymans <wim@fluendo.com>
4038 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
4039 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
4040 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
4041 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
4042 (gst_ghost_pad_parent_unset),
4043 (gst_ghost_pad_internal_do_activate_push),
4044 (gst_ghost_pad_internal_do_activate_pull),
4045 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4046 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4047 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
4048 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
4049 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
4050 (gst_ghost_pad_new_no_target_from_template),
4051 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
4053 Avoid needless typechecking in macros.
4054 Since the internal pad is always present and never changes, there is
4055 no need to locking or ref when retrieving it.
4056 Improve debugging a bit.
4057 Handle link errors when setting the target. Fixes #341029.
4059 2006-09-01 Wim Taymans <wim@fluendo.com>
4061 * docs/libs/gstreamer-libs-sections.txt:
4062 * docs/plugins/gstreamer-plugins-sections.txt:
4065 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
4066 (gst_collect_pads_event):
4067 * libs/gst/base/gstcollectpads.h:
4068 Documentation updates.
4069 Free queued buffer when removing a pad.
4071 2006-08-31 Michael Smith <msmith@fluendo.com>
4073 * gst/gstutils.c: (gst_element_link_pads),
4074 (gst_element_link_pads_filtered):
4075 Ensure that we set a capsfilter to NULL if we failed to link it
4076 when doing filtered linking, to avoid criticals.
4078 No need to check for unreffing srcpad, which is explicly NULLed
4079 above (a trivial code cleanup).
4081 2006-08-31 Wim Taymans <wim@fluendo.com>
4083 * docs/design/part-gstghostpad.txt:
4084 Update ascii art in documentation.
4086 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
4087 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
4088 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4089 (gst_ghost_pad_internal_do_activate_push),
4090 (gst_ghost_pad_internal_do_activate_pull),
4091 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4092 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4093 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
4094 (gst_ghost_pad_set_target):
4095 Small cleanups and leak fixes.
4096 Remove some checks now that the internal pad is never NULL.
4097 Fix the case where linking pads without a target would create nasty
4098 criticals. Fixes #341029.
4099 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
4100 value of _set_target().
4102 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4103 (gst_ghost_pad_suite):
4104 Some more tests for creating and linking untargeted ghostpads.
4106 2006-08-31 Edward Hervey <edward@fluendo.com>
4108 * docs/gst/gstreamer-sections.txt:
4109 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
4110 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4111 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
4112 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
4113 (gst_ghost_pad_new_from_template),
4114 (gst_ghost_pad_new_no_target_from_template):
4115 * gst/gstghostpad.h:
4116 Refactored *_new() functions.
4117 Templates are now used as a g_object_new() parameter.
4118 Use template in _do_getcaps() if we don't have a target.
4119 Small documentation cleanups.
4120 Added two new constructors:
4121 gst_ghost_pad_new_from_template()
4122 gst_ghost_pad_new_no_target_from_template()
4123 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4124 (gst_ghost_pad_suite):
4125 Added tests for new ghostpad instanciation functions.
4127 API additions: gst_ghost_pad_new_from_template,
4128 gst_ghost_pad_new_no_target_from_template
4130 2006-08-30 Stefan Kost <ensonic@users.sf.net>
4132 * docs/random/ensonic/profiling.txt:
4133 Ideas about qos profiling.
4135 2006-08-29 Wim Taymans <wim@fluendo.com>
4137 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
4141 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
4144 Improve and detypofy docs.
4146 * tests/check/Makefile.am:
4147 * tests/check/gst/.cvsignore:
4148 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
4149 Add a basic test suite for GstXML.
4151 2006-08-29 Wim Taymans <wim@fluendo.com>
4153 * gst/gstelement.c: (activate_pads), (clear_caps),
4154 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4155 Clear the pad caps when the element shut down all of the pads and
4156 is not streaming data that could modify the caps.
4159 2006-08-28 Michael Smith <msmith@fluendo.com>
4161 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4162 Revert previous change; I misunderstood single-segment mode.
4164 2006-08-28 Michael Smith <msmith@fluendo.com>
4166 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4167 Unset DISCONT on buffers when using single-segment mode.
4169 2006-08-28 Wim Taymans <wim@fluendo.com>
4171 * gst/gstcaps.c: (gst_caps_merge_structure):
4173 Fix docs and indentation again.
4175 * tests/check/gst/gstquery.c: (GST_START_TEST):
4176 Fix leak in tests and add some more tests.
4178 2006-08-28 Edward Hervey <edward@fluendo.com>
4180 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4181 Inform GstSegment of the last stop position in order for the current
4182 segment to have a proper duration if it doesn't have a specific stop
4183 position from which a duration could be calculated.
4184 This bug was noticeable when a non-flushing, non-update new segment was
4185 followed by another segment (all buffers from the new segment were being
4188 2006-08-28 Wim Taymans <wim@fluendo.com>
4190 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
4191 Small comment update.
4193 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4194 (gst_identity_transform_ip):
4195 Drop-probability is broken, mention this in the code with a
4196 FIXME and also in the property description.
4197 Make silent also be silent about the drop messages.
4199 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
4201 * docs/manual/appendix-win32.xml:
4202 Remove mention of popt, we don't depend on that any
4203 longer (#353136). Add some comments pointing out that
4204 this section is slightly outdated.
4206 2006-08-28 Wim Taymans <wim@fluendo.com>
4208 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4210 * gst/gstquery.c: (gst_query_new_segment):
4211 * tests/check/gst/gstquery.c: (GST_START_TEST):
4212 Initialize variables when creating a new segment query.
4215 2006-08-28 Wim Taymans <wim@fluendo.com>
4217 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4219 * gst/gstelement.c: (gst_element_get_bus):
4220 * tests/check/gst/gstelement.c: (GST_START_TEST):
4221 Check for NULL before _reffing the bus. Fixes #353122.
4223 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
4225 * docs/manual/basics-bus.xml:
4226 Docs update: fix wrong callback return value explanation; add
4227 some lines about the implicit relationship between main loop
4228 and main context; remove duplicate main loop variable declaration.
4230 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
4232 * tests/check/gst/gstcaps.c: (GST_START_TEST):
4233 Don't leak caps in unit test; add a few more simple
4236 2006-08-24 Stefan Kost <ensonic@users.sf.net>
4238 * docs/gst/gstreamer-sections.txt:
4239 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
4240 (gst_caps_structure_is_subset), (gst_caps_merge),
4241 (gst_caps_merge_structure):
4243 * libs/gst/base/gstbasetransform.c:
4244 (gst_base_transform_transform_caps):
4245 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4246 implement caps merging (fixes #352580)
4248 2006-08-23 Stefan Kost <ensonic@users.sf.net>
4250 * tools/Makefile.am:
4251 * tools/gst-plot-timeline.py:
4252 add debug-log plotting developer tool (#340674)
4254 2006-08-23 Wim Taymans <wim@fluendo.com>
4256 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
4257 (gst_pad_stop_task):
4258 Improve debugging for task functions.
4260 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
4261 (gst_task_start), (gst_task_pause), (gst_task_join):
4262 Make sure that the task function started and finished after a
4264 Don't try to push the task function on the threadpool multiple
4266 Improve the g_warning message with some useful suggestions
4267 about how to fix the problem.
4269 2006-08-23 Wim Taymans <wim@fluendo.com>
4271 * gst/gstutils.c: (gst_pad_proxy_getcaps):
4272 Handle RESYNC correctly in _proxy_getcaps.
4274 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
4276 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
4277 (gst_xml_parse_memory), (gst_xml_get_element):
4278 Chain up to parent class in dispose function and also
4279 unref the elements in the toplevel_elements GList.
4280 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
4281 Always return a reference in gst_xml_get_element() rather
4282 than only sometimes.
4284 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
4285 Don't leak GstXml object.
4287 2006-08-21 Stefan Kost <ensonic@users.sf.net>
4289 * docs/gst/gstreamer-sections.txt:
4290 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
4293 * libs/gst/base/gstbasetransform.c:
4294 (gst_base_transform_transform_caps):
4295 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
4298 2006-08-21 Edward Hervey <edward@fluendo.com>
4300 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
4301 Implement GObject::dispose virtual method in GstXML so we can free the
4304 2006-08-21 Wim Taymans <wim@fluendo.com>
4306 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
4307 (gst_buffer_create_sub):
4308 Copy duration/offset_end/caps when creating a subbuffer of the
4310 Make the subbuffer read-only when we make the metadata writable for
4313 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4314 Added check for metadata copy when creating subbuffers.
4316 2006-08-21 Edward Hervey <edward@fluendo.com>
4318 * libs/gst/base/gstbasetransform.c:
4319 (gst_base_transform_buffer_alloc):
4320 Only call downstream buffer_alloc if transform element is passthrough
4321 or always_in_place. Closes #350449.
4323 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4326 ChangeLog surgery to add comments to previous changes
4328 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4333 * gst/gstpad.c: (gst_pad_set_active):
4334 Be more verbose in the log
4336 * libs/gst/base/gstbasetransform.c:
4337 (gst_base_transform_transform_caps):
4338 Simplify caps to get rid of duplicates, fixes #345444
4340 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4344 Use these optimizations only internally.
4346 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4348 * gst/gstvalue.c: (gst_value_compare_list),
4349 (gst_value_compare_fraction_range),
4350 (gst_value_intersect_fraction_fraction_range),
4351 (gst_value_intersect_fraction_range_fraction_range),
4352 (gst_value_subtract_fraction_fraction_range),
4353 (gst_value_subtract_fraction_range_fraction_range),
4354 (gst_value_get_compare_func), (gst_value_compare),
4355 (gst_value_compare_with_func):
4357 Saves the expensive lookup of the compare function in many cases
4360 2006-08-18 Edward Hervey <edward@fluendo.com>
4362 * tests/check/gst/gstinfo.c: (gst_info_suite):
4363 Disable test that require gstdebug if it wasn't built in core.
4365 2006-08-18 Stefan Kost <ensonic@users.sf.net>
4367 * docs/random/ensonic/logging.txt:
4370 * gst/gstinfo.c: (gst_debug_log_default):
4371 reorder fields, save some columns, add optional color codes for log
4374 2006-08-18 Stefan Kost <ensonic@users.sf.net>
4376 * docs/random/ensonic/logging.txt:
4377 add ideas about making the logs a bit more useful
4379 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
4381 * docs/pwg/advanced-events.xml:
4382 * docs/pwg/titlepage.xml:
4383 Update for 0.10 API (#340627). Add myself
4386 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
4388 * docs/libs/gstreamer-libs-docs.sgml:
4389 * docs/libs/gstreamer-libs-sections.txt:
4390 * libs/gst/check/gstbufferstraw.c:
4391 Make gstcheck stuff show up in docs (still needs to
4392 be documented properly though).
4394 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
4396 * docs/gst/gstreamer-sections.txt:
4398 * gst/gst.c: (init_post):
4399 * gst/gst_private.h:
4400 * gst/gstquark.c: (_priv_gst_quarks_initialize):
4402 * gst/gstquery.c: (gst_query_new_position),
4403 (gst_query_set_position), (gst_query_parse_position),
4404 (gst_query_new_duration), (gst_query_set_duration),
4405 (gst_query_parse_duration), (gst_query_new_convert),
4406 (gst_query_set_convert), (gst_query_parse_convert),
4407 (gst_query_new_segment), (gst_query_set_segment),
4408 (gst_query_parse_segment), (gst_query_new_seeking),
4409 (gst_query_set_seeking), (gst_query_parse_seeking):
4410 Add internal helpers for pre-registering quarks from static strings
4411 and using the quark values directly instead of looking them up when
4412 creating and parsing queries. Can be used for event construction too.
4415 2006-08-16 Wim Taymans <wim@fluendo.com>
4420 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4422 * gst/gstutils.c: (gst_util_set_value_from_string):
4423 Fix memleak (#351502).
4425 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4426 Add unit test for most of gst_util_set_value_from_string()
4427 (not that one would want to encourage use of this function).
4429 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4431 * libs/gst/check/gstcheck.h:
4432 Use const gchar * variables in fail_unless_equals_string
4433 macro to avoid compiler warnings (and don't use tabs for
4436 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4438 * tools/gst-launch.c: (print_tag):
4439 More space on the left for the tag names, to cater
4440 for the 'extended comment' tag (not touching the
4441 string for the first line since it's translated).
4443 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4445 * libs/gst/check/gstcheck.h:
4446 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
4447 print something when they fail.
4449 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4451 * docs/gst/gstreamer-sections.txt:
4452 * gst/gsttaglist.c: (_gst_tag_initialize):
4454 API: add GST_TAG_EXTENDED_COMMENT (#350935).
4455 Also change merge function for GST_TAG_COMMENT to
4458 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4460 * gst/gstinfo.c: (gst_debug_print_object):
4461 Make GST_PTR_FORMAT print messages as well.
4463 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
4464 (GST_START_TEST), (gst_info_suite):
4467 2006-08-14 Edward Hervey <edward@fluendo.com>
4469 * gst/gstelementfactory.c: (gst_element_register):
4470 If the GstElementClass doesn't have a GstElementDetails with all fields
4471 filled up correctly (longname, description AND author), then error out
4472 nicely instead of crashing.
4474 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4476 * gst/gststructure.c:
4477 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
4480 Expand on the difference between arrays and lists as we use them.
4482 2006-08-14 Wim Taymans <wim@fluendo.com>
4484 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4485 If the parent state change function failed, don't assume we can safely
4486 stop the source, this will be done when the pads are deactivated.
4488 2006-08-14 Wim Taymans <wim@fluendo.com>
4491 * gst/gsttask.c: (gst_task_join):
4494 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4495 (gst_pad_stop_task):
4496 When pad (de)activation failed for some reason, restore the old
4497 activation mode and set the pad to flushing instead of assuming the
4499 If the _task_join() failed, reinstall the task on the pad so that it can
4500 be stopped later and return an error.
4502 2006-08-11 Andy Wingo <wingo@pobox.com>
4505 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4506 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
4507 is only for users of API that don't want to see deprecated
4508 functions in the headers; people that want to compile out
4509 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
4510 CFLAGS. Fixes the build of multifdsink, or will soon..
4512 2006-08-11 Wim Taymans <wim@fluendo.com>
4514 * docs/gst/gstreamer-sections.txt:
4515 Add GstClockClass vmethod docs.
4518 Mark #endif with comment for associated #if
4520 * gst/gstclock.c: (gst_clock_id_wait):
4522 Add vmethod wait_jitter to avoid an unneeded _get_time() for
4523 most clock implementations.
4525 Flesh out docs about resolution methods.
4526 API: GstClockClass::wait_jitter
4528 * gst/gstsystemclock.c: (gst_system_clock_class_init),
4529 (gst_system_clock_async_thread),
4530 (gst_system_clock_id_wait_jitter_unlocked),
4531 (gst_system_clock_id_wait_jitter):
4532 Use base class wait_jitter variant for improved performance
4533 due to less clock polling.
4535 2006-08-11 Edward Hervey <edward@fluendo.com>
4537 * gst/gst.c: (gst_init_check), (init_post):
4538 Set gst as being initialized before scanning/updating the registry,
4539 since there might be my python plugin loader that calls gst_init() and
4540 we don't want to loop back in.
4543 2006-08-11 Wim Taymans <wim@fluendo.com>
4545 * docs/design/part-qos.txt:
4546 Bring docs in line with the code. Mostly the sign of the jitter was
4547 wrong in the docs. Fixes #349943.
4550 Fix the docs for the jitter.
4552 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
4553 (gst_event_parse_tag), (gst_event_new_buffer_size),
4554 (gst_event_parse_buffer_size), (gst_event_parse_qos),
4555 (gst_event_new_seek), (gst_event_parse_seek),
4556 (gst_event_new_navigation):
4557 Make sure the GstStructure has no parent when creating custom
4559 Add some more argument checking so that we avoid 0.0 rates.
4560 Flesh out the docs for the QoS event some more.
4562 2006-08-11 Wim Taymans <wim@fluendo.com>
4564 * docs/gst/gstreamer-sections.txt:
4565 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4566 (ensure_current_registry_forking), (ensure_current_registry),
4567 (parse_one_option), (parse_goption_arg), (gst_deinit),
4568 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
4571 Added API and command line option to disable registry forking in
4572 addition to the environment variable.
4573 Constify some static arrays.
4574 Added some more debug.
4576 API: gst_registry_fork_is_enabled()
4577 API: gst_registry_fork_set_enabled()
4578 API: --gst-disable-registry-fork command line option
4581 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
4583 * gst/gst.c: (gst_init):
4584 Fix typo in error message.
4586 2006-08-10 Stefan Kost <ensonic@users.sf.net>
4588 * libs/gst/controller/gstcontroller.h:
4589 fix ABI size-correction
4591 * tests/check/libs/gdp.c: (gst_dp_suite):
4592 make tests that use deprecated API conditional
4594 2006-08-10 Stefan Kost <ensonic@users.sf.net>
4596 * docs/libs/gstreamer-libs-sections.txt:
4597 * libs/gst/controller/gstcontroller.c:
4598 (_gst_controller_get_property), (_gst_controller_set_property),
4599 (_gst_controller_init), (_gst_controller_class_init):
4600 * libs/gst/controller/gstcontroller.h:
4601 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
4602 (gst_object_set_control_rate):
4603 API: add gst_object_{s,g}et_control_rate(), add private data section,
4606 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4607 * libs/gst/dataprotocol/dataprotocol.h:
4608 add deprecation guards to make gtk-doc happy and allow disabling cruft
4610 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
4612 * tests/check/Makefile.am:
4613 * tests/check/gst/.cvsignore:
4614 Let's enable the new unit test as well.
4616 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
4619 * docs/gst/gstreamer-sections.txt:
4620 * gst/gstconfig.h.in:
4621 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
4622 (_gst_info_printf_extension_ptr),
4623 (_gst_info_printf_extension_segment):
4624 API: add GST_SEGMENT_FORMAT, which is a printf extension we
4625 register that lets us easily dump GstSegments into debug
4628 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
4629 (info_segment_format_printf_extension), (gst_info_suite):
4630 Add simple unit test that logs a bunch of different segments (not
4631 valgrinded at the moment because of leaks in
4632 gst_debug_add_log_function).
4634 2006-08-09 Edward Hervey <edward@fluendo.com>
4636 * libs/gst/base/gstbasetransform.c:
4637 (gst_base_transform_buffer_alloc):
4638 Even if we can't figure out the proper format to request downstream,
4639 call buffer_alloc() downstream with the input parameters without setting
4640 the caps on the srcpad. This will force negotiation in the chain
4644 2006-08-08 Edward Hervey <edward@fluendo.com>
4646 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4647 Unlinking from a pad without a target is now a perfectly valid case
4648 which should NOT raise an assertion.
4649 This case would happen if a linked ghostpad its target set to NULL after
4650 it was previously linked.
4652 2006-08-08 Edward Hervey <edward@fluendo.com>
4654 * tests/check/libs/gdp.c:
4655 Also comment out the test (see below).
4657 2006-08-08 Edward Hervey <edward@fluendo.com>
4659 * tests/check/libs/gdp.c: (gst_dp_suite):
4660 Use the architecture information from config.h and not gcc macros
4661 in order to properly disable a test that fails on PPC64.
4663 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
4665 * gst/gstelement.c: (gst_element_remove_pad):
4666 Don't crash printing the warning if the pad has no parent.
4668 2006-08-02 Wim Taymans <wim@fluendo.com>
4670 * libs/gst/dataprotocol/dataprotocol.c:
4671 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4672 (gst_dp_crc), (gst_dp_header_payload_length),
4673 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4674 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4675 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4676 (gst_dp_event_from_packet), (gst_dp_validate_header),
4677 (gst_dp_validate_payload):
4678 Make debug category static
4679 Constify the crc table.
4680 Do some more arg checking in public functions.
4681 Fix some docs and do some small cleanups.
4683 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4684 Add some more checks to see if GDP deals with bogus input.
4686 2006-07-31 Wim Taymans <wim@fluendo.com>
4688 * gst/gstvalue.c: (gst_value_compare_list):
4689 Fix GstValueList comparison code. Fixes #347293.
4691 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4692 Check to test GstValueList comparison.
4694 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4696 * gst/gstelementfactory.c: (gst_element_factory_create):
4697 Remove unnecessary ref/unref pair
4699 * gst/parse/grammar.y:
4700 Make sure to free the parse buffer on all code paths.
4701 Move a g_free up to the error handler where it's easier to see.
4703 * tests/check/gst/gstevent.c: (test_event):
4704 Extending timeout for downstream travelling events to 10 seconds to
4705 hopefully avoid intermittent failure on the buildbots.
4707 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4708 Don't manually set the state of the src element - it will happen as a
4709 natural consequence of the pipeline changing state, and that way it
4710 will do it in the right order too.
4712 2006-07-31 Wim Taymans <wim@fluendo.com>
4714 * libs/gst/base/gstbasetransform.c:
4715 (gst_base_transform_buffer_alloc):
4716 Use OBJECT_LOCK and refcounting to get the pad caps in the
4717 buffer_alloc function because the caps could change while we are
4718 busy with them. Fixes #349105
4720 2006-07-31 Wim Taymans <wim@fluendo.com>
4722 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4723 Protect _PAD_CAPS with OBJECT_LOCK.
4725 2006-07-31 Wim Taymans <wim@fluendo.com>
4727 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4728 (gst_pad_get_property), (gst_pad_activate_pull),
4729 (gst_pad_activate_push), (gst_pad_set_blocked_async),
4730 (gst_pad_set_activate_function),
4731 (gst_pad_set_activatepull_function),
4732 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4733 (gst_pad_set_getrange_function),
4734 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4735 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4736 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4737 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4738 (gst_pad_set_acceptcaps_function),
4739 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4740 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4741 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4742 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4743 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4744 (gst_pad_configure_sink), (gst_pad_configure_src),
4745 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4746 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4747 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4748 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4749 (gst_pad_send_event):
4750 Use _DEBUG_OBJECT when it makes sense.
4751 Protect GST_PAD_CAPS with the OBJECT_LOCK.
4752 Small cleanups and code reflows.
4753 Avoid caps refcounting in _accept_caps.
4754 Refactor alloc_buffer so that the code performed on the peer is in a
4755 separate function. Also if the pad does not implement a buffer alloc
4756 function, we should still check if the pad is flushing before falling
4757 back to the default allocator.
4759 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4761 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4762 Make all uses of identity and fakesink have silent=true to avoid
4763 serialising every passing data structure, which is breaking tests
4764 on FC4 for some unknown reason.
4766 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4768 * gst/parse/Makefile.am:
4769 * gst/parse/grammar.y:
4770 * gst/parse/parse.l:
4771 Reverted previous patch as it required to bump the flex dependency to
4772 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4774 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4776 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4778 * gst/parse/Makefile.am:
4779 * gst/parse/grammar.y:
4780 * gst/parse/parse.l:
4781 push & pop the state of the lexer for reentrant use case
4784 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
4786 * libs/gst/base/gstbasesrc.h:
4787 Note in the docs that the ::newsegment vfunc is not actually used by
4790 2006-07-28 Wim Taymans <wim@fluendo.com>
4792 * libs/gst/base/gstcollectpads.c:
4793 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4794 (gst_collect_pads_clear), (gst_collect_pads_flush),
4795 (gst_collect_pads_event), (gst_collect_pads_chain):
4796 When flushing a pad, also clear the queued buffer so that we don't
4797 accidentally use it when we shouldn't.
4798 Fix leaks by inreffing incomming buffer.
4799 Flush out queued buffers in case of errors.
4802 2006-07-28 Wim Taymans <wim@fluendo.com>
4804 * docs/random/phonon-gst:
4805 Random notes about a Phonon backend.
4807 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4809 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4811 * tests/check/libs/gdp.c: (gst_dp_suite):
4812 Take a whack at fixing the ppc compile using a different define to
4813 disable the broken test.
4815 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4816 Remove excess g_print()
4818 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4820 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4821 Oops, meant to uncomment this line too to dampen the noise a bit.
4823 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4825 * gst/parse/grammar.y:
4826 * gst/parse/parse.l:
4827 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4828 (GST_START_TEST), (parse_suite):
4829 Fix some of the leaks exposed by extending the parse-launch testsuite,
4830 and move the 3 I can't figure out into a separate test that won't run
4831 the pipelines unless the appropriate line is uncommented.
4833 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4835 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4836 Requesting 0 bytes before the end of the file should result in
4837 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4840 2006-07-27 Wim Taymans <wim@fluendo.com>
4842 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4843 Fix useless assert, a uint is always positive.
4845 * gst/gststructure.c: (gst_structure_nth_field_name),
4846 (gst_structure_foreach), (gst_structure_map_in_place):
4847 Check input arguments for public functions to avoid obvious crashes.
4849 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4850 * plugins/elements/gstfakesink.h:
4851 Do less useless typechecking.
4853 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4855 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4856 Do not use mmap() by default since there are a number of error
4857 conditions that we would like to handle in a non-fatal way that
4858 will result in a SIGBUS if we use mmap(). Examples: external
4859 devices (USB harddrive, portable music player) being unplugged
4860 while in use; file on mounted CD/DVD that can't be read because
4861 the medium is partly damaged. Fixes #348455 and #348475.
4863 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4866 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4869 2006-07-26 Stefan Kost <ensonic@users.sf.net>
4871 * gst/gstregistry.c:
4872 Move big documentation comment into class section header, so that it
4873 appears in the API docs.
4875 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4877 * docs/gst/gstreamer-sections.txt:
4878 Oops. Commit the docs additions too for new API.
4879 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4881 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4883 * gst/gststructure.c: (gst_structure_id_set),
4884 (gst_structure_id_set_valist):
4885 * gst/gststructure.h:
4886 Add API for setting values into structures without performing
4887 a quark lookup, if the appropriate quark is already known.
4889 API: gst_structure_id_set
4890 API: gst_structure_id_set_valist
4892 * gst/parse/grammar.y:
4893 * gst/parse/parse.l:
4894 Remove some dead code shown by the coverage information.
4895 Don't throw a critical g_warning when encountering a syntax error,
4896 just warn and let the normal error path handle it.
4898 * plugins/elements/gstelements.c:
4899 Bump the rank of filesink up to PRIMARY so that it is preferred over
4900 gnomevfssink for file:// sink uri's
4902 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4903 (GST_START_TEST), (run_delayed_test),
4904 (gst_parse_test_element_base_init),
4905 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4906 (gst_parse_test_element_change_state),
4907 (gst_register_parse_element), (parse_suite):
4908 Beef up the tests for parse syntax to check that more error cases
4909 fail as they are supposed to. Increases the test coverage a bit.
4911 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
4913 * docs/manual/basics-elements.xml:
4914 Fix gst_element_link() example.
4917 Mention in API docs that one should usually gst_bin_add()
4918 elements to a bin or pipeline before doing the linking.
4920 2006-07-26 Wim Taymans <wim@fluendo.com>
4922 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4923 (gst_subbuffer_get_type), (gst_buffer_create_sub):
4924 Avoid function call for known types by keeping the buffer and
4925 subbuffer GType global.
4927 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4928 Random silly optimisations in read() path.
4930 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4932 * tools/gst-launch.c: (main):
4933 If the top-level of the parse is a normal bin, it doesn't do the
4934 right logic to run as a top-level element, so place it inside a
4937 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
4939 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4940 Remove superfluous g_object_notify() calls, GObject does
4941 that for us automatically.
4943 2006-07-25 Stefan Kost <ensonic@users.sf.net>
4946 on Win32, use dllspec to export the debug category symbols
4948 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
4950 * gst/gsttaglist.c: (_gst_tag_initialize):
4951 Allow more than one GST_TAG_IMAGE per taglist.
4953 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
4955 * gst/gstminiobject.c:
4957 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4958 (gst_fd_src_create):
4959 log recurring events at LOG level
4960 add more debug for when the fd gets set
4962 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4964 * gst/gstparse.c: (gst_parse_launch):
4965 Also remove reentrance checks if flex is MT safe (#348179)
4966 Fix my empty ChangeLog entry below
4968 2006-07-21 Andy Wingo <wingo@pobox.com>
4970 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4972 * libs/gst/check/Makefile.am
4973 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4974 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
4975 * libs/gst/check/gstbufferstraw.h:
4976 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4977 functions, thus proving I am still a GStreamer haxor. OK I wrote
4978 them a long time ago, but anyways.
4980 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4983 * gst/gstparse.c: (gst_parse_launch):
4984 Check for flex version and omit mutex if we have a MT save flex
4987 2006-07-21 Wim Taymans <wim@fluendo.com>
4989 * gst/gstparse.c: (gst_parse_launch):
4990 Protect recursive calls to _parse with a recursive mutex
4993 2006-07-21 Wim Taymans <wim@fluendo.com>
4995 * tests/check/gst/gstpad.c: (GST_START_TEST):
4998 2006-07-20 Stefan Kost <ensonic@users.sf.net>
5000 * gst/gstparse.c: (gst_parse_launch):
5001 Do not hang on recursive usage of gst_parse_launch()
5003 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
5006 Add some more docs, comments and FIXME 0.11s here and there
5007 and also fix some typos.
5009 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
5012 Convert tabs to spaces for better readability.
5014 2006-07-20 Edward Hervey <edward@fluendo.com>
5016 * tests/check/libs/gdp.c: (gst_dp_suite):
5017 the test_buffer test fails at line 140 on ppc64 at the following
5019 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
5020 GST_BUFFER_FLAG_IN_CAPS),
5021 "GST_BUFFER_IN_CAPS flag should have been copied !");
5022 See bug #348114 for more details.
5024 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
5026 * docs/pwg/advanced-scheduling.xml:
5028 Fix typos (#348000).
5030 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
5032 * docs/pwg/intro-basics.xml:
5033 Fix wrong links (#347927).
5035 2006-07-18 Stefan Kost <ensonic@users.sf.net>
5037 * gst/gstregistry.h:
5038 * gst/gstregistryxml.c: (load_feature),
5039 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
5040 * win32/common/config.h:
5041 make --disable-index work (#342564)
5043 2006-07-18 Wim Taymans <wim@fluendo.com>
5045 Patch by: Peter Kjellerstedt <pkj at axis dot com>
5049 The attached patch adds two missing defines to gsttrace.h when tracing
5050 is disabled. It also corrects one existing define.
5053 2006-07-17 Wim Taymans <wim@fluendo.com>
5055 * docs/gst/gstreamer-sections.txt:
5056 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
5058 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
5059 Add two functions to check and change the SIGSEGV behaviour
5060 when loading plugins.
5061 Don't mess with the SIGSEGV handler when we were told not to.
5063 API: gst_segtrap_is_enabled
5064 API: gst_segtrap_set_enabled
5066 2006-07-14 Wim Taymans <wim@fluendo.com>
5068 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5069 * tests/check/elements/filesrc.c: (GST_START_TEST):
5070 Revert fix for regression in #347408 after release.
5072 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
5074 Patch by: Antoine Tremblay <hexa00 at gmail com>
5076 * gst/gstutils.c: (gst_element_unlink):
5077 Free iterator when done (#347311).
5079 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5080 And add a test case for this.
5082 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
5085 Bump nano back to CVS
5087 === release 0.10.9 ===
5089 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5092 releasing 0.10.9, "On the road again"
5094 2006-07-13 Wim Taymans <wim@fluendo.com>
5096 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5097 * tests/check/elements/filesrc.c: (GST_START_TEST):
5098 Revert pull-0 fix for release. Disable check. Fixes #347408.
5100 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5102 * libs/gst/dataprotocol/dataprotocol.c:
5103 (gst_dp_event_from_packet_1_0):
5104 Fixes #347337: failure to deserialize event packets with
5105 empty payload (only event type)
5107 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5110 do not install a .c file in the header directory
5112 2006-07-13 Edward Hervey <edward@fluendo.com>
5114 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5115 GhostPad no longer implicitely use the padtemplates of the targets.
5118 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
5120 * gst/gstvalue.c: (gst_value_compare_list),
5121 (gst_value_compare_array), (_gst_value_initialize):
5122 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5123 Make GstValueArray comparison be order dependent as designed.
5124 Add checks for value lists and value array comparisons.
5127 2006-07-11 Edward Hervey <edward@fluendo.com>
5129 * gst/gstbin.c: (activate_pads),
5130 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
5131 (gst_bin_change_state_func):
5132 (de)activate src pads before calling state_change on the childs.
5133 This is to avoid the case where a src ghostpad is blocked (holding the
5134 stream lock), which would block the deactivation of the ghostpad's
5136 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
5137 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
5138 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
5139 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5140 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5141 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5142 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5143 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
5144 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
5145 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5146 (gst_ghost_pad_class_init),
5147 (gst_ghost_pad_internal_do_activate_push),
5148 (gst_ghost_pad_internal_do_activate_pull),
5149 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5150 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5151 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
5152 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
5153 GhostPads now create their internal GstProxyPad at creation (and not
5154 when they're linked, as it was being done previously).
5155 The internal and target pads are linked straight away.
5156 The data will also travel through the other pad in order to make
5157 pad blocking and probes non-hackish (the probe/block now really happens
5158 on the GhostPad and not on the target).
5159 * gst/gstpad.c: (gst_pad_set_blocked_async),
5160 (gst_pad_link_prepare), (gst_pad_push_event):
5161 Remove previous ghostpad cruft.
5162 * gst/gstutils.c: (gst_pad_add_data_probe),
5163 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5164 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5165 (gst_pad_remove_buffer_probe):
5166 Remove previous ghost pad cruft.
5167 Added more detailed debug statements.
5168 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5169 Fix the testsuite for refcounting changes.
5170 The comments about who has references were correct, but the refcount
5171 being checked wasn't the same (!?!).
5175 2006-07-10 Stefan Kost <ensonic@users.sf.net>
5177 * docs/gst/gstreamer-sections.txt:
5178 * gst/gstconfig.h.in:
5179 More docs for configuration options, add docs to gtk-doc.
5181 2006-07-10 Stefan Kost <ensonic@users.sf.net>
5184 * gst/gstconfig.h.in:
5185 * win32/common/config.h:
5186 Fix build when disabling tracing (fixes #344016). Also start to document
5187 the defines that disable the sub-systems.
5189 2006-07-10 Edward Hervey <edward@fluendo.com>
5191 * gst/gst.c: (ensure_current_registry_forking):
5192 let's make valgrind happy...
5194 2006-07-09 Wim Taymans <wim@fluendo.com>
5196 * gst/gstelement.c: (activate_pads),
5197 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5198 Better pad activation code: Reset the collect value too on resync.
5201 2006-07-09 Wim Taymans <wim@fluendo.com>
5203 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
5204 (gst_pad_activate_push):
5205 Use some more macros where it makes sense.
5206 Allow pad mode switching instead of asserting. When a pad
5207 is activated in one mode and we activate it in another,
5208 deactivate it first before activating it in a different mode.
5211 2006-07-08 Andy Wingo <wingo@pobox.com>
5213 * tools/gst-launch.c (main): Handle err == NULL.
5215 * gst/gst.c (init_post, ensure_current_registry)
5216 (ensure_current_registry_forking)
5217 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
5218 factoring out the registry scanning into separate functions. Don't
5219 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
5220 Better environment var name/interface suggestions accepted.
5222 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5224 * gst/gstobject.c: (gst_object_set_name_default),
5225 (gst_object_set_name):
5226 Random micro-optimisation: don't use a hash table
5227 with strings as keys and the usual strdup/strcmp
5228 involved, but rather just use the GQuark of the
5229 type name as key, since it needs to be looked up
5230 anyway to get the type name string.
5232 * tests/check/gst/gstobject.c: (GST_START_TEST):
5235 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5237 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
5238 (gst_bin_iterate_all_by_interface):
5239 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
5240 GTypes are gulongs and thus the top 4 bytes might be cut
5241 off on some platforms when doing GPOINTER_TO_INT, leading
5242 to invalid GTypes and bad things happening (see RH bug #179654).
5243 Also add a check to make sure the type passed in is really
5246 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5251 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5255 * gst-element-check.m4:
5256 * gst-element-check.m4.in:
5257 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
5258 instead of the unversioned gst-inspect (#324176, #168659).
5260 2006-07-06 Wim Taymans <wim@fluendo.com>
5263 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
5266 2006-07-06 Wim Taymans <wim@fluendo.com>
5268 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5269 (gst_base_src_wait), (gst_base_src_update_length),
5270 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
5271 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
5272 (gst_base_src_loop), (gst_base_src_start),
5273 (gst_base_src_activate_pull):
5275 blocksize == 0 now means the default blocksize when working in push
5277 Remove some pointless asserts in _wait function.
5278 Fix offset/length calculations and EOS handling. We can now pull 0
5279 bytes as well, which is allowed.
5280 use _check_get_range() to decide if we can operate in _pull based
5282 Fix refcounting leak when check_get_range function was not
5284 API GstBaseSrc::blocksize range can be 0 too now (default)
5286 * tests/check/elements/filesrc.c: (GST_START_TEST),
5288 Added check to test _get_range() behaviour.
5290 2006-07-06 Wim Taymans <wim@fluendo.com>
5292 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5293 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
5294 (gst_pad_pull_range):
5296 Lots of comments and docs added to the pad functions.
5297 Flesh out the expected behaviour of the get_range() functions.
5299 2006-07-06 Wim Taymans <wim@fluendo.com>
5304 * gst/gstiterator.h:
5308 Remove comma at end of enumerator list.
5310 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
5312 * win32/common/libgstbase.def:
5313 * win32/common/libgstdataprotocol.def:
5314 * win32/common/libsgtreamer.def:
5315 Add new exported functions.
5317 2006-07-05 Wim Taymans <wim@fluendo.com>
5319 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
5320 Add some more docs here and there.
5322 2006-07-05 Wim Taymans <wim@fluendo.com>
5324 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
5325 (gst_base_sink_loop), (gst_base_sink_get_position):
5326 When operating in pull mode update the offset so that we
5329 2006-07-05 Wim Taymans <wim@fluendo.com>
5331 * gst/gstregistryxml.c: (read_string):
5332 Avoid strdup. (will happen in libxml, but hey!)
5337 2006-07-05 Wim Taymans <wim@fluendo.com>
5339 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
5340 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
5342 No point in checking if the size of the subbuffer > 0, the
5343 code handles it correclty as demonstrated by unit test.
5344 Also add a unit test for the zero sized _new_and_alloc and
5345 _copy. Fixes #346663.
5347 2006-07-05 Wim Taymans <wim@fluendo.com>
5349 * libs/gst/base/gstbasetransform.c:
5350 (gst_base_transform_prepare_output_buffer),
5351 (gst_base_transform_buffer_alloc),
5352 (gst_base_transform_handle_buffer):
5353 Make sure the buffer we pass to transform_ip has a refcount of
5354 1 and thus is writable. Fixes #343196
5356 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
5358 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5359 (gst_file_src_init), (gst_file_src_set_property),
5360 (gst_file_src_get_property), (gst_file_src_map_region):
5361 * plugins/elements/gstfilesrc.h:
5362 Add "sequential" property, off by default, to use madvise and hint
5363 to the kernel that sequential access is desired.
5364 Touch all retrieved pages by default to ensure they are pulled
5365 into memory. (Closes #345720)
5367 2006-07-03 Wim Taymans <wim@fluendo.com>
5369 * docs/design/part-block.txt:
5370 * docs/design/part-dynamic.txt:
5373 2006-07-03 Wim Taymans <wim@fluendo.com>
5375 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
5376 (gst_caps_unref), (gst_static_caps_get),
5377 (gst_caps_append_structure):
5378 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
5379 Use GSlice when the glib we build against is >= 2.10
5381 2006-07-03 Wim Taymans <wim@fluendo.com>
5383 * gst/gstelement.c: (gst_element_pads_activate):
5384 Small cleanup in pad activation code.
5386 2006-07-03 Wim Taymans <wim@fluendo.com>
5388 Patch by: Peter Kjellerstedt <pkj at axis dot com>
5390 * gst/gst-i18n-app.h:
5391 * gst/gst-i18n-lib.h:
5392 * tools/gst-inspect.c: (print_signal_info):
5393 The attached patch will make the inclusion of gettext.h unconditional in
5394 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
5395 libintl.h in tools/gst-inspect.c.
5396 This allows use of --disable-nls again and fixes #344642.
5398 2006-07-03 Edward Hervey <edward@fluendo.com>
5400 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
5401 Implement pad blocking on events according to part-block.txt.
5402 More comments on behaviour.
5403 * tests/check/gst/gstevent.c: (test_event):
5404 Send event to peer pad of blocked pad (else it will block).
5406 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5408 * libs/gst/check/gstcheck.c: (gst_check_message_error),
5409 (gst_check_run_suite):
5410 if we get the wrong message, give us the types as string
5411 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5413 * tests/check/elements/filesrc.c: (GST_START_TEST):
5414 add a test for trying to open a non-existing file
5416 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5418 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5419 add a test for adding self
5421 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5423 * libs/gst/check/gstcheck.h:
5424 add some assert_ as alias for fail_unless_*
5425 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
5426 increase test coverage
5428 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5431 include lcov.mak for lcov coverage generation
5432 * tools/Makefile.am:
5435 2006-07-02 Edward Hervey <edward@fluendo.com>
5437 * tests/check/elements/.cvsignore:
5440 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5443 don't set CFLAGS and friends for gcov, done from GST_GCOV now
5444 * tests/check/Makefile.am:
5447 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5449 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
5450 remove gst_caps_simplify; it was not declared and not used
5451 and deprecated in 0.8
5453 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5455 * docs/faq/gst-uninstalled:
5456 don't put empty paths on PYTHONPATH
5457 * docs/gst/gstreamer-sections.txt:
5458 remove some symbols that are not there
5460 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5462 * gst/gstcaps.c: (gst_caps_compare_structures):
5464 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5465 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5468 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5470 * libs/gst/dataprotocol/Makefile.am:
5471 build dataprotocol test by linking to the lib, instead of
5472 compiling the source, so we get coverage
5473 * tests/check/Makefile.am:
5474 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
5475 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
5476 add a test for filesrc
5478 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5480 * tests/check/gst/gststructure.c: (GST_START_TEST),
5481 (gst_structure_suite):
5482 Push coverage from 59.04% to 70.00%
5484 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5486 * tests/check/Makefile.am:
5487 gst-inspect every element; this makes sure that we also get
5488 coverage on element's get/set functions
5490 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5493 set CFLAGS and friends to -O0 if gcov is being used
5496 * libs/gst/base/Makefile.am:
5497 * libs/gst/check/Makefile.am:
5498 * libs/gst/controller/Makefile.am:
5499 * libs/gst/dataprotocol/Makefile.am:
5500 * libs/gst/net/Makefile.am:
5501 * plugins/elements/Makefile.am:
5502 * plugins/indexers/Makefile.am:
5503 add makefile rules to generate gcov data and clean up
5504 * tests/check/Makefile.am:
5505 add a coverage target that generates an html overview
5508 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5510 * tests/check/elements/fakesink.c:
5511 * tests/check/elements/fakesrc.c:
5512 * tests/check/elements/fdsrc.c:
5513 * tests/check/elements/identity.c:
5514 * tests/check/generic/sinks.c: (gst_sinks_suite):
5515 * tests/check/generic/states.c:
5516 * tests/check/gst/gst.c:
5517 * tests/check/gst/gstabi.c:
5518 * tests/check/gst/gstbin.c:
5519 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
5520 * tests/check/gst/gstbus.c: (gst_bus_suite):
5521 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5522 * tests/check/gst/gstelement.c:
5523 * tests/check/gst/gstevent.c: (gst_event_suite):
5524 * tests/check/gst/gstghostpad.c:
5525 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
5526 * tests/check/gst/gstmessage.c: (gst_message_suite):
5527 * tests/check/gst/gstminiobject.c:
5528 * tests/check/gst/gstobject.c:
5529 * tests/check/gst/gstpad.c:
5530 * tests/check/gst/gstpipeline.c:
5531 * tests/check/gst/gstplugin.c:
5532 * tests/check/gst/gstquery.c: (gst_query_suite):
5533 * tests/check/gst/gstsegment.c: (gst_segment_suite):
5534 * tests/check/gst/gststructure.c:
5535 * tests/check/gst/gstsystemclock.c:
5536 * tests/check/gst/gsttag.c:
5537 * tests/check/gst/gsttask.c: (gst_task_suite):
5538 * tests/check/gst/gstutils.c:
5539 * tests/check/gst/gstvalue.c:
5540 * tests/check/libs/adapter.c:
5541 * tests/check/libs/basesrc.c:
5542 * tests/check/libs/collectpads.c:
5543 * tests/check/libs/controller.c:
5544 * tests/check/libs/gdp.c: (gst_dp_suite):
5545 * tests/check/libs/gstnetclientclock.c:
5546 * tests/check/libs/gstnettimeprovider.c:
5547 * tests/check/libs/libsabi.c: (libsabi_suite):
5548 * tests/check/libs/typefindhelper.c:
5549 * tests/check/pipelines/cleanup.c:
5550 * tests/check/pipelines/parse-launch.c:
5551 * tests/check/pipelines/simple-launch-lines.c:
5552 * tests/check/pipelines/stress.c: (stress_suite):
5555 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5557 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
5558 * libs/gst/check/gstcheck.h:
5559 create a macro and function so that the simple unit test
5560 case can be just one macro to create main()
5562 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
5564 * gst/gstbin.c: (gst_bin_restore_thyself):
5565 * gst/gstxml.c: (gst_xml_make_element):
5566 Fix deserialisation from XML. Set parent manually
5567 instead of using gst_bin_add(), since gst_bin_add()
5568 will unlink all pads of the element being added.
5571 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
5573 Patch by: Peter Kjellerstedt <pkj at axis com>
5575 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
5576 Fix missing g_strdup() and double free when using the
5577 --gst-plugin-load command line option (#346097).
5579 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
5582 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
5584 * libs/gst/net/gstnetclientclock.c:
5585 * libs/gst/net/gstnettimeprovider.c:
5586 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
5588 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
5590 * docs/manual/advanced-dataaccess.xml:
5591 Fix buffer probe example compilation in
5594 2006-06-22 Edward Hervey <edward@fluendo.com>
5596 * gst/gstelement.c: (gst_element_pads_activate):
5597 We need to deactivate src pads first and then sink pads.
5598 The reason is the src pads might be blocking while holding the streaming
5599 lock, so we need to deactivate them first so that deactivating the sink
5600 pads doesn't block (since it will require the streaming lock).
5602 2006-06-22 Wim Taymans <wim@fluendo.com>
5604 * libs/gst/base/gstbasetransform.c:
5605 (gst_base_transform_buffer_alloc):
5606 Forgot to remove two unneeded unrefs.
5607 Simplify a check _is_equal allready checks the obvious case.
5609 2006-06-22 Wim Taymans <wim@fluendo.com>
5611 * docs/design/part-block.txt:
5612 Some docs about what pad_block should do.
5614 2006-06-22 Wim Taymans <wim@fluendo.com>
5616 * gst/gstcaps.c: (gst_caps_replace):
5617 Fix crasher when passed NULL. Doc clarification.
5618 Optimize for the trivial case.
5620 * gst/gstpipeline.c: (gst_pipeline_change_state):
5623 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5624 Small documentation cleanup.
5626 * libs/gst/base/gstbasetransform.c:
5627 (gst_base_transform_buffer_alloc):
5628 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
5629 is what we need and it avoids a whole lot of redundant
5630 refcount operations.
5632 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
5634 Patch by: Philip Jägenstedt <philip at lysator liu se>
5636 * docs/manual/advanced-dataaccess.xml:
5637 Fix 'Embedding static elements' section to use
5638 GST_PLUGIN_DEFINE_STATIC (#345607).
5640 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5642 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5643 Attempt to 'fix' spuriously failing test case: it seems like the
5644 timeout of half a second is simply too small when the system is under
5645 load otherwise, and the timeout doesn't really seem to serve any
5646 particular purpose here. Give the pipeline a few seconds to preroll
5647 first, and then give it another half a second to go from PAUSED to
5648 PLAYING and marshal the message into the main thread.
5650 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5652 * tools/gst-feedback-m.m:
5653 Don't only use unversioned tools, try versioned tools as well
5656 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5658 * gst/gstbus.c: (gst_bus_class_init):
5659 Fix some typos, make docs more explicit.
5661 2006-06-20 Wim Taymans <wim@fluendo.com>
5663 * tests/check/gst/gstghostpad.c: (block_callback),
5664 (GST_START_TEST), (gst_ghost_pad_suite):
5665 Added some more ghostpad tests, mainly blocking
5668 2006-06-16 Wim Taymans <wim@fluendo.com>
5670 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5671 (gst_file_sink_close_file), (gst_file_sink_do_seek),
5672 (gst_file_sink_event), (gst_file_sink_render):
5673 * plugins/elements/gstfilesink.h:
5674 Check if we can seek in the file instead of assuming
5675 we always can. Post an error when we are asked to seek in a
5676 non-seekable file (like a fifo). Fixes #343312.
5679 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5681 * tools/gst-launch.1.in:
5682 Un-garble (fourcc) bit in filtered caps section.
5684 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5686 * docs/manual/advanced-autoplugging.xml:
5687 * docs/manual/basics-helloworld.xml:
5688 * docs/manual/highlevel-components.xml:
5689 Don't leak bus reference in sample code.
5691 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
5694 Add default for new --enable-plugin-docs switch.
5697 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5701 Use new ENABLE_PLUGIN_DOCS conditional.
5703 2006-06-14 Wim Taymans <wim@fluendo.com>
5705 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5706 Make it clear with a FIXME and a real define what the #if 0
5707 previously disabled.
5709 2006-06-14 Wim Taymans <wim@fluendo.com>
5711 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5712 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5713 * libs/gst/base/gstbasetransform.c:
5714 (gst_base_transform_sink_eventfunc):
5715 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5716 Don't randomly and silently reset a segment when the format
5717 changes as this is a bug somewhere upstream. Fixes #330379.
5719 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
5721 Patch by: Wouter Paesen <wouter at kangaroot net>
5723 * libs/gst/controller/gstcontroller.c:
5724 (gst_controlled_property_new):
5725 Fix controlling of float properties (#344849).
5727 * tests/check/libs/controller.c:
5728 (gst_test_mono_source_get_property),
5729 (gst_test_mono_source_set_property),
5730 (gst_test_mono_source_class_init), (GST_START_TEST):
5731 While we're at it, add some float stuff to unit test.
5733 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5736 * docs/images/gdp-header.svg:
5738 * docs/libs/Makefile.am:
5739 * docs/libs/gdp-header.png:
5740 * libs/gst/dataprotocol/dataprotocol.c:
5741 add it to the API docs
5742 * docs/manual/intro-motivation.xml:
5745 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5747 * gst/gst.c: (scan_and_update_registry), (init_post):
5748 If the fork()'ed child process can't write the updated registry cache
5749 file to disk for some reason, make it exit with a failure exit code,
5750 so that the parent can then re-scan the plugins itself and update the
5751 registry structures in memory and work with that (rather than failing
5752 when creating elements because seemingly no plugins are available).
5753 Refactor registry scanning code into separate function for this and
5754 also separate fork() and non-fork() code paths. Fixes #344748.
5756 2006-06-13 Wim Taymans <wim@fluendo.com>
5758 * docs/manual/advanced-dataaccess.xml:
5759 Fix wrong PluginDesc. Fixes #344755.
5761 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5763 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5764 Fix silly bug that prevented us from creating
5765 ~/.gstreamer-0.10 and writing the registry in one
5766 go (the first call to g_mkstemp() would overwrite the
5767 placeholder in the template string, so the second call
5768 to g_mkstemp() after creating the missing directory
5769 would then error out with 'invalid argument').
5771 2006-06-13 Edward Hervey <edward@fluendo.com>
5773 * gst/gst.c: (init_post):
5776 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5778 * gst/glib-compat-private.h:
5779 * gst/glib-compat.c:
5780 * gst/glib-compat.h:
5781 * gst/gstvalue.c: (gst_value_serialize_flags):
5782 remove GLib 2.6 compatibility code
5784 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
5786 * gst/parse/Makefile.am:
5787 Fix build with 'make -j N' even more (#340016).
5789 2006-06-12 Wim Taymans <wim@fluendo.com>
5791 * docs/gst/gstreamer-sections.txt:
5794 2006-06-12 Wim Taymans <wim@fluendo.com>
5796 * gst/gstsegment.c: (gst_segment_set_duration),
5797 (gst_segment_set_last_stop), (gst_segment_set_seek),
5798 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5799 (gst_segment_to_running_time), (gst_segment_clip):
5800 Use G_UNLIKELY to help the compiler a bit.
5802 2006-06-12 Wim Taymans <wim@fluendo.com>
5804 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5806 * gst/gstevent.c: (gst_event_get_type):
5808 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5810 constify quark registration strings. Fixes #344115
5811 Avoid unneeded type checking is _pad_push() by internally
5812 calling gst_pad_chain_unchecked().
5814 2006-06-12 Wim Taymans <wim@fluendo.com>
5816 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5817 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5818 (gst_subbuffer_finalize), (gst_buffer_create_sub),
5819 (gst_buffer_is_span_fast), (gst_buffer_span):
5820 Init _type for consistency.
5821 Use _FLAGS macro to avoid type check.
5822 Avoid unneeded type checks in subbufer code.
5824 2006-06-12 Wim Taymans <wim@fluendo.com>
5826 * gst/gst.c: (gst_debug_help):
5827 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5828 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5829 (gst_plugin_feature_list_free):
5830 * gst/gstregistry.c: (gst_registry_add_plugin),
5831 (gst_registry_add_feature), (gst_registry_plugin_filter),
5832 (gst_registry_feature_filter), (gst_registry_find_plugin),
5833 (gst_registry_find_feature), (gst_registry_get_plugin_list),
5834 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5835 * gst/gstregistryxml.c: (load_feature),
5836 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5837 * gst/gstminiobject.c: (gst_mini_object_unref),
5838 (gst_mini_object_replace), (gst_value_mini_object_free),
5839 (gst_value_mini_object_copy):
5840 Use _CAST macros to avoid unneeded type checking.
5841 Added some more G_UNLIKELY.
5843 2006-06-12 Wim Taymans <wim@fluendo.com>
5846 Avoid unneeded type checking.
5847 API: GST_BUFFER_IS_DISCONT
5849 * gst/gstminiobject.h:
5850 Avoid type check in flag accessor.
5852 * gst/gstelementfactory.h:
5854 * gst/gstpluginfeature.h:
5856 API: GST_ELEMENT_FACTORY_CAST
5857 API: GST_PLUGIN_CAST
5858 API: GST_PLUGIN_FEATURE_CAST
5860 2006-06-12 Wim Taymans <wim@fluendo.com>
5862 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5864 Add G_UNLIKELY in type registration.
5865 Avoid type check in _ref/_unref since that is also
5868 2006-06-12 Wim Taymans <wim@fluendo.com>
5870 * gst/gsterror.c: (gst_g_error_get_type):
5871 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5872 (gst_static_pad_template_get_type):
5873 * gst/gsttaglist.c: (gst_tag_list_get_type):
5874 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5875 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5876 * gst/gsturi.c: (gst_uri_handler_get_type):
5877 * gst/gstvalue.c: (gst_date_get_type):
5878 * gst/gstxml.c: (gst_xml_get_type):
5879 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5880 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5881 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5882 Add G_UNLIKELY in type registration.
5884 2006-06-12 Wim Taymans <wim@fluendo.com>
5886 * tools/gst-inspect.c: (print_signal_info):
5887 Properly print enum values.
5889 2006-06-12 Wim Taymans <wim@fluendo.com>
5891 * gst/gstinfo.c: (gst_debug_set_active),
5892 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5894 Add some G_[UN]LIKELY.
5895 Maintain __gst_debug_min to avoid formatting the arguments of
5896 debug messages that will be dropped anyway to avoid a lot of
5897 overhead from the debugging system.
5899 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5903 add missing files containing translatable strings, tell intltool about
5906 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5908 * tests/check/libs/.cvsignore:
5909 add test-binary to ignore list
5911 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5913 * docs/libs/gstreamer-libs-docs.sgml:
5914 reorder (put dp into a chapter) and indent
5916 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5921 === release 0.10.8 ===
5923 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5926 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5928 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5930 * gst/gst.c: (init_post):
5931 move pid declaration to declaration block
5933 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5935 * gst/gst.c: (init_post):
5936 use _exit() instead of exit() in our forked child; this ensures
5937 that none of the registered exit handlers from whatever is using
5938 GStreamer get executed. This fixes gnome-mixer-applet failing
5939 to load, because ORBit would shut down.
5940 Spotted by: Edward Hervey <edward@fluendo.com>
5941 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
5944 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5949 === release 0.10.7 ===
5951 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5954 releasing 0.10.7, "Soepeke, ik zie ou"
5956 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
5979 * win32/common/config.h:
5982 2006-06-07 Wim Taymans <wim@fluendo.com>
5984 * gst/gstindex.c: (gst_index_gtype_resolver):
5985 * tools/gst-xmlinspect.c: (print_plugin_info):
5986 Fix leak spotted by coverity checker. Fixes #343827
5987 Fix another other leak found by paolo borelli.
5989 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5991 * libs/gst/dataprotocol/dataprotocol.c:
5992 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5993 (gst_dp_version_get_type), (gst_dp_init),
5994 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5995 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5996 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5997 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5998 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5999 (gst_dp_packetizer_free):
6000 * libs/gst/dataprotocol/dataprotocol.h:
6001 API: add a GstDPPacketizer object, and create/free functions
6002 API: add GstDPVersion enum
6003 Add 1.0 event function that uses the string serialization
6004 Serialize more useful buffer flags
6007 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6009 * tests/check/Makefile.am:
6010 * tests/check/gst/gstabi.c:
6011 * tests/check/gst/struct_ppc64.h:
6012 * tests/check/libs/libsabi.c:
6013 * tests/check/libs/struct_ppc64.h:
6014 add ppc64 structure sizes
6016 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6018 * tests/check/Makefile.am:
6019 * tests/check/gst/gstabi.c:
6020 * tests/check/gst/struct_x86_64.h:
6021 * tests/check/libs/libsabi.c:
6022 * tests/check/libs/struct_x86_64.h:
6023 generate and add structure size lists for x86_64
6025 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6027 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6028 * libs/gst/check/gstcheck.h:
6029 factor out the method from tests that checks size of structures,
6030 and add code to generate the header containing these sizes
6031 * tests/check/gst/gstabi.c: (GST_START_TEST):
6032 * tests/check/gst/struct_i386.h:
6033 * tests/check/libs/libsabi.c: (GST_START_TEST):
6034 * tests/check/libs/struct_i386.h:
6037 2006-06-06 Michael Smith <msmith@fluendo.com>
6040 Don't use c++-style comments, fixes #343929
6042 2006-06-05 Edward Hervey <edward@fluendo.com>
6045 plugin_paths is not used if we build without registry support.
6047 * gst/gstsegment.c: (gst_segment_copy):
6048 _copy() was always returning NULL...
6050 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6052 * libs/gst/dataprotocol/dataprotocol.c:
6053 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6054 (gst_dp_packet_from_event):
6057 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6059 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
6060 make sure we unset caps
6062 2006-06-02 Michael Smith <msmith@fluendo.com>
6064 * libs/gst/check/gstcheck.c: (gst_check_init),
6065 (gst_check_chain_func):
6066 * libs/gst/check/gstcheck.h:
6067 Add a cond/mutex to the check support lib, signal this whenever we
6068 add to the buffers list. This will allow tests to not busy-wait on
6071 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6073 * libs/gst/dataprotocol/dataprotocol.c:
6074 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6075 (gst_dp_packet_from_event):
6076 factor out some common header init code
6078 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6080 * docs/libs/gstreamer-libs-sections.txt:
6081 * docs/libs/tmpl/gstdataprotocol.sgml:
6082 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
6083 * libs/gst/dataprotocol/dataprotocol.h:
6084 API: make gst_dp_crc() public
6086 2006-06-01 Stefan Kost <ensonic@users.sf.net>
6088 * plugins/indexers/gstindexers.c: (plugin_init):
6089 conditionally register fileindexer (fixes #343598)
6091 2006-06-01 Stefan Kost <ensonic@users.sf.net>
6093 * gst/gsttagsetter.h:
6094 Can't cast ifaces to a class
6096 * libs/gst/net/gstnetclientclock.h:
6097 * libs/gst/net/gstnettimeprovider.h:
6098 * plugins/elements/gstfakesink.h:
6099 * plugins/elements/gstfakesrc.h:
6100 * plugins/elements/gstfdsink.h:
6101 * plugins/elements/gstfdsrc.h:
6102 * plugins/elements/gstfilesink.h:
6103 * plugins/elements/gstfilesrc.h:
6104 * plugins/elements/gstidentity.h:
6105 * plugins/elements/gstqueue.h:
6106 * plugins/elements/gsttee.h:
6107 * plugins/indexers/gstfileindex.c:
6108 * plugins/indexers/gstmemindex.c:
6109 * tests/old/examples/plugins/example.h:
6110 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
6112 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
6114 * libs/gst/dataprotocol/dataprotocol.c:
6115 (gst_dp_header_from_buffer):
6116 make sure we zero the whole ABI-compatible area
6118 2006-06-01 Wim Taymans <wim@fluendo.com>
6120 Patch by: Alessandro Decina <alessandro at nnva dot org>
6122 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
6123 Make sure the EOS flag is cleared from pads after a flush
6124 or stop. Fixes #343538.
6126 * tests/check/libs/collectpads.c: (GST_START_TEST),
6127 (gst_collect_pads_suite):
6128 Added test for collectpads reusage after EOS.
6130 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
6133 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
6134 * win32/common/libgstbase.def:
6135 export gst_collect_pads_set_flushing
6136 * win32/common/libgstreamer.def:
6137 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
6138 gst_value_fraction_multiply
6139 * win32/vs6/gst_inspect.dsp:
6140 add a link to intl.lib
6142 2006-05-30 Wim Taymans <wim@fluendo.com>
6144 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6145 (gst_collect_pads_chain):
6146 Handle the case where a pad is removed from the collection
6147 that could cause the other pads to become collectable.
6149 2006-05-30 Wim Taymans <wim@fluendo.com>
6152 Clarify the use of _release_request_pad() and
6153 _get_request_pad() a bit better.
6155 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
6156 (gst_adapter_take_buffer):
6157 Fix some doc and comment typos.
6159 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6161 * docs/gst/gstreamer-sections.txt:
6162 * docs/libs/gstreamer-libs-sections.txt:
6163 add declared symbols
6165 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
6167 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6168 Add debug that can be enabled using a #define at the top of the file,
6169 for dumping stats about how late/early we were when waking up from
6170 waiting on the clock.
6172 2006-05-30 Wim Taymans <wim@fluendo.com>
6174 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
6175 When rebuilding the pad list, don't leak the previous list.
6177 2006-05-30 Wim Taymans <wim@fluendo.com>
6179 Patch by: Lutz Mueller <lutz at topfrose dot de>
6181 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6182 (gst_base_src_get_query_types), (gst_base_src_update_length):
6183 Publish supported query types.
6184 Update last_stop field in get_range mode so the position
6185 query works. Fixes #342321.
6187 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
6189 * docs/gst/gstreamer-sections.txt:
6190 * gst/gsttaglist.c: (_gst_tag_initialize):
6192 API: add GST_TAG_PREVIEW_IMAGE (#343341).
6194 2006-05-30 Wim Taymans <wim@fluendo.com>
6196 Patch by: Alessandro Decina <alessandro at nnva dot org>
6198 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6199 Unlock mutex when removing an unknown pad.
6202 * tests/check/Makefile.am:
6203 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
6204 (push_event), (setup), (teardown), (GST_START_TEST),
6205 (gst_collect_pads_suite), (main):
6206 Added collecpads check, disabled for now as check crashes for
6209 2006-05-29 Wim Taymans <wim@fluendo.com>
6211 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
6212 Don't leak pads lists.
6214 2006-05-29 Wim Taymans <wim@fluendo.com>
6216 * docs/libs/gstreamer-libs-sections.txt:
6217 * libs/gst/base/gstcollectpads.c:
6218 (gst_collect_pads_set_flushing_unlocked),
6219 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6220 (gst_collect_pads_stop):
6221 * libs/gst/base/gstcollectpads.h:
6222 API: gst_collect_pads_set_flushing()
6223 Added api to set the pads to flushing, useful for seeking
6224 code in elements using collectpads.
6225 Clear segment when receiving a flush.
6227 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
6229 * gst/gst.c: (add_path_func), (init_post):
6230 Don't scan registry paths passed via --gst-plugin-path immediately
6231 (will crash, because absolutely nothing is set up and no types are
6232 registered etc.); do this later in init_post(). Fixes #343057.
6234 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
6236 * gst/gst.c: (init_post):
6237 if we have fork, fork while reading/rebuilding the registry
6238 so the parent doesn't take the hit of having all plugins loaded
6239 in memory. Fixes #342777.
6241 Check if we have fork()
6242 * win32/common/config.h.in:
6245 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
6247 * plugins/elements/gstelements.c:
6248 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6249 (gst_file_src_init), (gst_file_src_set_property),
6250 (gst_file_src_get_property), (gst_file_src_start):
6251 * plugins/elements/gstfilesrc.h:
6252 API: GstFileSrc::use-mmap
6254 Add a use-mmap property to enable easier testing of all code paths.
6255 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
6256 in the absence of gnomevfssrc. (Closes #340501)
6258 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6260 * tools/gst-inspect.c:
6261 Add missing include, removes warning of ngettext not being defined on
6264 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
6266 * gst/gstvalue.c: (gst_value_deserialize_fraction):
6267 Handle NULL input and output pointers silently as a failed conversion,
6268 rather than g_warnings.
6270 2006-05-25 Wim Taymans <wim@fluendo.com>
6272 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
6273 Initialize variable before using. Fixes #342820.
6275 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
6277 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
6278 Fix off-by-one bug that would only allow peeks of N-1 bytes
6279 from the start even if the buffer to typefind on contains
6280 in fact N bytes of data (makes vorbis typefinding from a
6281 vorbis identification header buffer work).
6283 * tests/check/Makefile.am:
6284 * tests/check/libs/.cvsignore:
6285 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
6286 (gst_typefindhelper_suite), (main), (foobar_typefind),
6288 Add very basic unit test for gst_type_find_helper_for_buffer()
6289 that checks for the problem fixed above.
6291 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
6293 * tools/gst-inspect.c: (print_interfaces),
6294 (print_element_properties_info), (print_element_list), (main):
6295 add more translatable strings
6297 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
6299 Patch by: Julien Moutte <julien at moutte net>
6301 * docs/gst/gstreamer-sections.txt:
6302 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
6304 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6305 (gst_fake_sink_preroll):
6306 * plugins/elements/gstfakesink.h:
6307 API: Add new GstFakeSink::preroll-handoff signal (#337100).
6309 2006-05-23 Wim Taymans <wim@fluendo.com>
6311 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
6313 Added _CUSTOM error and success GstFlowReturn that can be
6314 used be elements internally.
6315 Added macro to check for SUCCESS flowreturns.
6316 API: GST_FLOW_CUSTOM_SUCCESS
6317 API: GST_FLOW_CUSTOM_ERROR
6318 API: GST_FLOW_IS_SUCCESS
6320 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6321 Added check for GstFlowReturn sanity.
6323 2006-05-23 Wim Taymans <wim@fluendo.com>
6325 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6327 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6328 (gst_collect_pads_event):
6329 clear/reset segment info in FLUSH_STOP.
6332 2006-05-22 Stefan Kost <ensonic@users.sf.net>
6334 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
6335 (gst_collect_pads_check_collected):
6336 Flush queued buffer on _stop(), fixes playing again (#342454)
6338 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
6340 * tests/check/gst/gststructure.c: (GST_START_TEST),
6341 (gst_structure_suite):
6342 add a test for a complete structure
6344 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
6346 * docs/faq/developing.xml:
6348 * docs/faq/troubleshooting.xml:
6349 * docs/faq/using.xml:
6350 Some minor FAQ updates that won't change the fact that
6351 our FAQ is badly structured, full of information hardly
6352 anyone new to GStreamer needs to know and lacking lots
6353 of information people constantly ask for.
6355 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
6357 * gst/gstpad.c: (gst_pad_set_caps):
6358 Short-circuit gst_pad_set_caps if setting the existing
6359 caps pointer again, and avoid printing debug and
6360 reffing/unreffing the caps.
6362 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6363 There's actually no need to set the caps before pushing -
6364 the acceptcaps method will handle it anyway.
6366 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
6368 * docs/gst/gstreamer-sections.txt:
6369 * win32/common/libgstreamer.def:
6370 * gst/gstutils.c: (gst_element_seek_simple):
6372 API: add gst_element_seek_simple() (#342238).
6374 2006-05-18 Edward Hervey <edward@fluendo.com>
6376 * gst/gsttypefind.c: (gst_type_find_get_type):
6377 * gst/gsttypefind.h:
6378 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
6379 registered for GstTypeFind pointers. This allows wrapping the structure
6380 in bindings (i.e. gst-python).
6382 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
6384 * gst/gsttagsetter.c:
6385 Docs additions and fixes (see #339918).
6387 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
6389 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6390 The caps intersection algorithm can produce multiple copies of the
6391 caps. Until that is fixed, we need to simplify the result to be
6392 sure whether the allowed caps are fixed or not.
6394 * plugins/elements/gstqueue.c: (gst_queue_init),
6395 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
6396 (gst_queue_push_one):
6397 Proxied buffer alloc should not set the caps on the source pad.
6398 When pushing buffers, we always accept the caps change that triggers.
6399 This prevents negotiation errors caused by caps changing mid-stream
6400 and then being refused on our source pad (because upstream is now
6401 refusing those caps).
6403 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
6405 * tests/examples/helloworld/helloworld.c: (main):
6406 Must plug audioconvert and audioresample between decoder
6409 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
6411 * gst/gstregistryxml.c: (read_string), (load_pad_template),
6412 (load_feature), (load_plugin):
6413 Allow empty strings for some of the plugin fields so we don't
6414 drop valid plugin entries that were written out correctly
6417 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
6419 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6420 Use g_remove and g_rename instead of remove and rename that don't
6421 handle utf8 characters. rename was failing for users who had specific
6422 characters in their name then the registry was built at each
6424 * win32/vs6/gst_inspect.dsp:
6425 * win32/vs6/gst_launch.dsp:
6426 * win32/vs6/libgstbase.dsp:
6427 * win32/vs6/libgstcoreelements.dsp:
6428 * win32/vs6/libgstreamer.dsp:
6429 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
6430 build of libgstreamer and clean unused libraries in projects link
6433 2006-05-17 Edward Hervey <edward@fluendo.com>
6435 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6436 The queue is not responsible for pushing an EOS when receiving a fatal
6437 flow error. It's up to the real element driving the pipeline to do that.
6439 2006-05-16 Edward Hervey <edward@fluendo.com>
6441 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6442 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
6443 buffer returned a fatal error. It should just send an EOS and stop
6445 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
6446 when pushing buffers on the queue and will be able to handle the event.
6448 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
6450 * docs/manual/basics-bins.xml:
6451 * docs/manual/basics-init.xml:
6452 Fix typos and minor errors in sample code (#341856).
6454 2006-05-16 Wim Taymans <wim@fluendo.com>
6456 * docs/design/part-qos.txt:
6457 Fix indexes in formulas to make more sense.
6459 2006-05-15 Wim Taymans <wim@fluendo.com>
6461 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6462 Don't report POSITION based on clock time if sync is
6465 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
6468 Add cast to make compiler happy - refcount variable was a gint
6469 in GstObject but is a guint in GObject and g_atomic_int_get()
6472 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
6474 * gst/parse/Makefile.am:
6475 chain commands using &&, which also makes parallel make work
6477 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
6479 * docs/gst/gstreamer-sections.txt:
6485 === release 0.10.6 ===
6487 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
6490 releasing 0.10.6, "Take the cannoli"
6492 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
6494 * tools/gst-launch.c: (print_tag):
6495 Fix use of uninitialized variable in the hypothetical
6496 case that some broken plugin creates a GST_TAG_IMAGE
6497 tag containing a NULL buffer (#341667).
6499 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
6501 * tools/gst-launch.c: (print_tag):
6502 Print something more intelligible for image tags when
6503 using the -t switch (#341556).
6505 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
6510 define GST_MAJORMINOR so we have it available in win32/common/config.h
6511 Possibly remove it from our Makefile.am files later
6512 * win32/common/config.h:
6513 * win32/common/config.h.in:
6514 added GST_MAJORMINOR
6515 * win32/common/gstenumtypes.c: (register_gst_resource_error):
6516 * win32/common/gstversion.h:
6519 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
6522 Update win32 files listing.
6523 * win32/common/gstversion.h:
6524 Add GST_MAJORMINOR definition.
6525 * win32/common/libgstreamer.def:
6526 Add new exported functions.
6528 2006-05-12 Michael Smith <msmith@fluendo.com>
6530 * gst/gstplugin.c: (gst_plugin_load_file):
6531 If an so file has no plugin entry point, unload the module.
6533 2006-05-11 Wim Taymans <wim@fluendo.com>
6535 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
6536 (gst_queue_set_property):
6537 Don't forget to signal the _chain or _loop function
6538 when the queue size or thresholds change since that might
6539 cause them to make progres again.
6541 2006-05-11 Stefan Kost <ensonic@users.sf.net>
6543 * gst/gstclock.c: (gst_clock_class_init):
6544 * gst/gstindex.c: (gst_index_class_init):
6545 * gst/gstobject.c: (gst_object_class_init):
6546 * gst/gstpad.c: (gst_pad_class_init):
6547 * gst/gstpipeline.c: (gst_pipeline_class_init):
6548 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6549 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
6550 * libs/gst/base/gstbasetransform.c:
6551 (gst_base_transform_class_init):
6552 * libs/gst/net/gstnetclientclock.c:
6553 (gst_net_client_clock_class_init):
6554 * libs/gst/net/gstnettimeprovider.c:
6555 (gst_net_time_provider_class_init):
6556 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
6557 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6558 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6559 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
6560 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6561 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6562 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6563 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6564 * plugins/elements/gsttee.c: (gst_tee_class_init):
6565 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6566 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6567 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
6569 2006-05-11 Wim Taymans <wim@fluendo.com>
6571 * gst/gstbuffer.c: (_gst_buffer_initialize):
6572 Register subbufer along with the buffer type so that
6573 it does not accidentally gets registered from N
6574 different streaming threads in a non threadsafe way.
6576 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
6581 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
6582 gst_event_ref() and gst_message_ref() functions again
6583 (ugly hack, please do fix if there's a better way besides
6584 overrides.txt, which doesn't seem to work).
6586 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6588 * libs/gst/check/gstcheck.h:
6589 add an assert for setting state to avoid lots of repetitive code
6592 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6594 * gst/gstvalue.c: (gst_value_serialize_flags):
6595 fix a leak if no flags are set
6596 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6599 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
6601 * docs/manual/basics-pads.xml:
6602 Expand a bit on caps and filtered links and update
6603 examples that were still using the no longer existing
6604 gst_pad_link_filtered() (#338206).
6606 2006-05-10 Wim Taymans <wim@fluendo.com>
6608 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6609 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6610 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6611 (gst_collect_pads_stop):
6612 * libs/gst/base/gstcollectpads.h:
6613 No need to call _stop in _finalize.
6614 Iterate the main pad list in _finalize.
6615 Added some more debug.
6616 Free lists and data in the right order.
6617 Also free data whem doing _remove_pad when stopped for
6618 backward compatibility protect ::started with PAD_LOCK as
6621 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6623 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
6624 (gst_structure_parse_value):
6626 rename a method so that it actually says what it does better
6628 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6630 * gst/gstevent.c: (_gst_event_initialize):
6631 * gst/gstformat.c: (_gst_format_initialize):
6632 make sure some essential types used by events are registered
6633 as part of gst_init()
6634 * gst/gstvalue.c: (gst_value_serialize_flags):
6635 if no flags are set, serialize them to a value that represents NONE
6636 so that deserializing them works
6637 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6638 add tests for serialization and deserialization of flags
6640 2006-05-10 Wim Taymans <wim@fluendo.com>
6642 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6643 (gst_collect_pads_collect_range), (gst_collect_pads_available),
6644 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6645 (gst_collect_pads_event), (gst_collect_pads_chain):
6648 Catch and return errors from the collect function
6649 Refuse data on eos pads.
6651 2006-05-10 Edward Hervey <edward@fluendo.com>
6653 * gst/gstinterface.h:
6654 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6655 GInterface type checking.
6656 They were previously using non-defined macros.
6658 2006-05-09 Wim Taymans <wim@fluendo.com>
6660 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6661 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6662 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6663 (gst_collect_pads_start), (gst_collect_pads_stop),
6664 (gst_collect_pads_peek), (gst_collect_pads_pop),
6665 (gst_collect_pads_available), (gst_collect_pads_read),
6666 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6667 (gst_collect_pads_is_collected), (gst_collect_pads_event),
6668 (gst_collect_pads_chain):
6669 * libs/gst/base/gstcollectpads.h:
6670 Clean up the mess that is collectpads, add comments and
6671 FIXMEs where needed.
6672 Maintain a separate pad list so we can add pads while
6673 collecting the other ones. For this we need a new separate
6675 Fix memory leak in finalize.
6676 Refactor some weird code to set/unset pad flushing flags, mark
6678 Don't crash in _available, _read, _flush when we're EOS.
6680 * tests/check/libs/.cvsignore:
6681 Ignore adapter check binary.
6683 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6685 * gst/gstindex.c: (gst_index_resolver_get_type):
6686 * plugins/elements/gstfakesink.c:
6687 (gst_fake_sink_state_error_get_type):
6688 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6689 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6690 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6691 Const-ify GEnumValue arrays.
6693 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6695 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6696 Add test case for flags + gst_buffer_make_metadata_writable().
6698 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6700 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6701 gst_buffer_make_metadata_writable() should maintain the
6702 buffer flags (those that make sense at least) (see #340859).
6704 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6706 * tools/gst-inspect.c:
6707 * tools/gst-launch.c:
6708 * tools/gst-typefind.c:
6709 * tools/gst-xmlinspect.c:
6711 Fix up includes: need to include stdlib.h in tools.h for exit().
6713 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6715 * gst/gsttaglist.c: (_gst_tag_initialize):
6717 API: add GST_TAG_IMAGE tag (#340721).
6719 2006-05-08 Wim Taymans <wim@fluendo.com>
6722 Added some docs for the segment query.
6724 2006-05-08 Wim Taymans <wim@fluendo.com>
6726 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6727 (gst_base_src_loop), (gst_base_src_change_state):
6728 Always push non-flushing serialized events in the streaming
6731 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
6733 * gst/gsterror.c: (_gst_stream_errors_init):
6734 Add a missing error string.
6736 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
6738 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6739 Add applied_rate to the debug
6741 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6742 Copy applied_rate into the outgoing NEWSEGMENT event
6744 2006-05-08 Wim Taymans <wim@fluendo.com>
6746 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6748 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6749 (gst_base_sink_change_state):
6750 call ::unlock before taking the PREROLL_LOCK so we can safely
6751 handle elements that lock in ::render.
6754 2006-05-08 Edward Hervey <edward@fluendo.com>
6756 * autogen.sh: (CONFIGURE_DEF_OPT):
6757 Darwin's libtoolize is in fact called glibtoolize.
6758 Adding glibtoolize to the list of accepted names for libtoolize.
6760 2006-05-08 Wim Taymans <wim@fluendo.com>
6762 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6763 Unify error handling, don't post an error message
6764 when a push() returns EOS but perform our normal EOS
6765 handling code. Fixes #340772.
6767 2006-05-08 Wim Taymans <wim@fluendo.com>
6769 * docs/design/part-overview.txt:
6770 Make upsteam/downstream concepts more clear.
6771 Give an example of serialized/non-serialized events.
6773 * docs/design/part-events.txt:
6774 * docs/design/part-streams.txt:
6775 Mention applied_rate.
6777 * docs/design/part-trickmodes.txt:
6778 Mention applied rate, flesh out some more use cases.
6780 * gst/gstevent.c: (gst_event_new_new_segment),
6781 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6782 (gst_event_parse_new_segment_full), (gst_event_new_tag),
6783 (gst_event_parse_tag), (gst_event_new_buffer_size),
6784 (gst_event_parse_buffer_size), (gst_event_new_qos),
6785 (gst_event_parse_qos), (gst_event_parse_seek),
6786 (gst_event_new_navigation):
6788 Add applied_rate field to NEWSEGMENT event.
6789 API: gst_event_new_new_segment_full()
6790 API: gst_event_parse_new_segment_full()
6792 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6793 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6794 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6796 Add applied_rate to GstSegment structure.
6797 Make calculation of stream_time and running_time more correct
6798 wrt rate/applied_rate.
6800 API: GstSegment::applied_rate field
6801 API: gst_segment_set_newsegment_full();
6803 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6804 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6805 * libs/gst/base/gstbasetransform.c:
6806 (gst_base_transform_sink_eventfunc),
6807 (gst_base_transform_handle_buffer):
6808 Parse and use applied_rate in the GstSegment field.
6810 * tests/check/gst/gstevent.c: (GST_START_TEST):
6811 Add check for applied_rate field.
6813 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6814 (gstsegments_suite):
6815 Add more checks for various GstSegment operations.
6817 2006-05-08 Wim Taymans <wim@fluendo.com>
6819 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6820 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6821 (gst_base_sink_get_position), (gst_base_sink_change_state):
6822 Store the sync time of the buffer end position separatly in a
6823 new variable eos_rtime so we can properly sync the EOS event.
6825 Fix the docs for gst_base_sink_set_qos_enabled().
6826 Don't set segment start to invalid value when we receive a
6827 non TIME newsegment.
6828 get closer to handling position reporting for negative rates
6831 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6834 Docs about how to print caps for debug purposes.
6836 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6837 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6839 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6842 use full enum names and preprend a '%' in docs strings to make recent
6843 gtk-doc turn that into a link
6845 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6847 * docs/manual/basics-bins.xml:
6848 * docs/manual/basics-bus.xml:
6849 * docs/manual/basics-pads.xml:
6850 Some typo fixes, some additions, some clarifications.
6852 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6854 * tools/gst-inspect.c: (main):
6855 * tools/gst-launch.c: (main):
6856 * tools/gst-run.c: (main):
6857 * tools/gst-typefind.c: (main):
6858 * tools/gst-xmlinspect.c: (main):
6859 Use the string passed to g_option_context_new() for
6860 what it's intended for - the program name is already
6863 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6865 * tools/Makefile.am:
6866 * tools/gst-inspect.c: (main):
6867 * tools/gst-launch.c: (main):
6868 * tools/gst-xmlinspect.c: (main):
6870 Add back --version command line option (#340460).
6872 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6873 Add --version option and use GOption for argument parsing; refactor a
6874 bit; accept directories as arguments and recurse into them; lastly,
6875 print a decent error message when things go wrong.
6877 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6879 * docs/manual/basics-bins.xml:
6880 Don't mention GstThread (#340611)
6881 * docs/manual/basics-elements.xml:
6882 Update link to GObject tutorial (#340607)
6884 2006-05-05 Wim Taymans <wim@fluendo.com>
6887 * gst/gstminiobject.c:
6888 Add note about refcounting and miniobject/buffer writeability
6889 to docs. Fixes #340604
6891 * gst/gstelementfactory.h:
6892 Added some explanation about @klass.
6894 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6896 * docs/manual/intro-motivation.xml:
6897 * docs/manual/manual.xml:
6898 Avoid CORBA & Bonobo references (#340598)
6900 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6902 * docs/manual/basics-bus.xml:
6903 * docs/manual/basics-pads.xml:
6904 Fix up some inaccuracies and omissions (#340609)
6906 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6908 * gst/gstghostpad.c:
6909 Small typo in docs (#340625)
6911 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6913 * gst/parse/Makefile.am:
6914 Make 'make -j' proof (see #340698).
6916 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6919 Require GLib-2.8 here as well.
6921 2006-05-05 Wim Taymans <wim@fluendo.com>
6923 * gst/glib-compat.c:
6924 * gst/gst.c: (init_pre):
6925 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6926 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6927 (gst_object_dispatch_properties_changed):
6929 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6930 * gst/gststructure.c: (gst_structure_set_valist):
6931 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6932 Remove pre glib2.8 compatibility, fixes #340508
6934 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6937 Mention type of tags in doc blurbs.
6939 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
6941 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6942 (gst_pad_configure_src), (gst_pad_push):
6943 Restore acceptcaps checking behaviour now that good plugins have
6946 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6948 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6959 * gst/parse/Makefile.am:
6960 * libs/gst/base/gstadapter.c:
6961 * libs/gst/base/gstbasesrc.c:
6962 * libs/gst/base/gstpushsrc.c:
6963 * libs/gst/base/gsttypefindhelper.c:
6964 * plugins/elements/gstfakesrc.c:
6965 * plugins/elements/gstidentity.c:
6966 Make sure gstprivate.h and/or config.h are
6967 always included first, otherwise some of our
6968 defines (like _FILE_OFFSET_BITS) might be
6969 redefined in the system headers. Fixes build
6970 on opensolaris (#340016).
6972 2006-05-04 Wim Taymans <wim@fluendo.com>
6974 * docs/libs/gstreamer-libs-sections.txt:
6975 API: addition: gst_adapter_take_buffer()
6977 * libs/gst/base/gstadapter.c: (gst_adapter_push),
6978 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6979 (gst_adapter_available_fast):
6980 * libs/gst/base/gstadapter.h:
6981 Prepare for optimizing the hell out of this hugely inefficient
6983 Added gst_adapter_take_buffer() so we can at least start thinking
6984 about subbuffering and merging.
6985 Added some comments.
6987 * tests/check/Makefile.am:
6988 * tests/check/libs/adapter.c: (GST_START_TEST),
6989 (gst_adapter_suite), (main):
6990 Added GstAdapter check.
6992 2006-05-04 Wim Taymans <wim@fluendo.com>
6994 * docs/design/part-overview.txt:
6995 Fix some typos, add blurb about buffer flags.
6997 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6999 * docs/libs/gstreamer-libs-sections.txt:
7000 make sure GstBaseTransformClass shows up in the docs
7001 * libs/gst/base/gstbasetransform.c:
7002 * libs/gst/base/gstbasetransform.h:
7003 move docs so gtk-doc picks it up now
7005 2006-05-02 Stefan Kost <ensonic@users.sf.net>
7007 * docs/libs/gstreamer-libs-sections.txt:
7008 add missing symbols to docs
7010 2006-05-02 Stefan Kost <ensonic@users.sf.net>
7012 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7013 back out the newsegment handling change, see #340060 for ongoing
7016 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
7018 * tools/gst-run.c: (get_candidates), (main):
7019 Fix wrong g_file_test() usage (see glib docs for why it doesn't
7020 work); fix typo in error message. Fixes #340079.
7022 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
7024 * common/Makefile.am:
7026 * docs/faq/Makefile.am:
7027 * docs/gst/Makefile.am:
7028 * docs/libs/Makefile.am:
7029 * docs/manual/Makefile.am:
7030 * docs/plugins/Makefile.am:
7031 * docs/pwg/Makefile.am:
7032 * docs/slides/Makefile.am:
7034 * common/upload.mak:
7035 move upload.mak to common
7037 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
7039 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7040 add more asserts on refcounts
7041 do more cleanup at end of tests
7042 fix test leaks showing in FC5
7044 2006-04-29 Stefan Kost <ensonic@users.sf.net>
7046 * plugins/elements/gsttypefindelement.c:
7047 (gst_type_find_element_handle_event):
7048 reverted wrong change and reflowed code to avoid others falling into
7051 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7053 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7054 fix changelog entry about last collectpads change,
7055 add notes about proper fix
7057 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7060 * gst/gstregistry.c: (gst_registry_scan_path_level),
7061 (gst_registry_scan_path):
7062 * gst/gstregistry.h:
7063 only write out registry if it has changed, fixes #338339
7065 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7068 * gst/gstpipeline.c:
7069 * plugins/elements/gstcapsfilter.c:
7070 * plugins/elements/gstfakesink.c:
7071 * plugins/elements/gstfakesrc.c:
7072 * plugins/elements/gstfdsink.c:
7073 * plugins/elements/gstfdsrc.c:
7074 * plugins/elements/gstfilesink.c:
7075 * plugins/elements/gstfilesrc.c:
7076 * plugins/elements/gstidentity.c:
7077 * plugins/elements/gstqueue.c:
7078 * plugins/elements/gsttee.c:
7079 * plugins/elements/gsttypefindelement.c:
7080 (gst_type_find_element_handle_event):
7081 make GstElementDetails const
7083 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7085 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
7086 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
7087 (gst_collect_pads_is_collected), (gst_collect_pads_event):
7088 more detailed debug and formatting cleanup,
7089 forward newsegments to src-pad (so that e.g. adder not eats them)
7091 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7093 * gst/gstutils.c: (gst_element_link_pads):
7096 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7098 * libs/gst/controller/gstcontroller.c:
7099 (gst_controller_sync_values):
7101 * tests/check/libs/controller.c: (GST_START_TEST),
7102 (gst_controller_suite):
7103 a new test for live value handling
7105 2006-04-28 Wim Taymans <wim@fluendo.com>
7107 * gst/gstutils.c: (push_and_ref):
7108 Added some more docs.
7109 Fix refcount issue whith gst_element_found_tags() helper
7110 function. Fixes #338335
7112 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7113 Added testsuite for gst_element_found_tags().
7115 2006-04-28 Michael Smith <msmith@fluendo.com>
7117 * gst/gstvalue.c: (gst_value_serialize_flags):
7118 Avoid NULL dereference when trying to serialize flags containing
7121 2006-04-28 Michael Smith <msmith@fluendo.com>
7123 * plugins/elements/gsttypefindelement.c:
7124 (gst_type_find_element_handle_event):
7125 If we get EOS before any data is accumulated, don't use
7126 uninitialised local variables.
7128 2006-04-28 Michael Smith <msmith@fluendo.com>
7130 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7131 (gst_dp_event_from_packet):
7132 Fixes in reading/writing events over GDP (not currently used?) -
7133 dereferencing NULL events for unknown/invalid event types, memory
7134 leak, and change g_warning to GST_WARNING.
7136 2006-04-28 Wim Taymans <wim@fluendo.com>
7138 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
7139 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
7140 (gst_base_sink_get_position), (gst_base_sink_change_state):
7141 When frame dropping is enabled, we should not ignore frames
7143 Update some documentation.
7145 2006-04-28 Wim Taymans <wim@fluendo.com>
7147 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7148 (gst_base_src_send_event), (gst_base_src_change_state):
7149 Documentation updates.
7151 2006-04-28 Wim Taymans <wim@fluendo.com>
7153 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
7154 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
7155 handle EAGAIN, EINTR and short writes correctly. Also clean
7156 up some error cases, avoid a deadlock on bad file descriptors and
7157 use GST_DEBUG_OBJECT.
7160 2006-04-28 Wim Taymans <wim@fluendo.com>
7162 * gst/gstvalue.c: (gst_value_serialize_buffer),
7163 (gst_value_deserialize_buffer):
7164 Don't try to serialize a GValue with a NULL buffer.
7167 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7168 Added check for serialisation of NULL buffers.
7170 2006-04-28 Wim Taymans <wim@fluendo.com>
7172 * gst/gstminiobject.c: (gst_value_take_mini_object):
7173 Taking a NULL miniobject is valid, fix the case where
7174 we try to unref the NULL miniobject.
7176 2006-04-28 Wim Taymans <wim@fluendo.com>
7178 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7180 * gst/gstbin.c: (gst_bin_handle_message_func):
7182 Don't leak bin refcount when a state recalc is
7183 in progress and we delay another one #339808.
7185 2006-04-28 Wim Taymans <wim@fluendo.com>
7187 * docs/design/part-TODO.txt:
7188 Mention QoS as an ongoing work item.
7190 * docs/design/part-buffering.txt:
7191 New doc about buffering that needs to be fleshed out
7194 * docs/design/part-qos.txt:
7195 More QoS policy for decoders/demuxers/transforms
7197 * docs/design/part-trickmodes.txt:
7200 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
7205 === release 0.10.5 ===
7207 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
7210 releasing 0.10.5, "Fogo"
7212 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
7214 patch by: Wim Taymans
7216 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
7217 (gst_pad_configure_src), (gst_pad_push):
7218 * gst/gstpipeline.c: (gst_pipeline_init):
7219 Fix internal data flow errors. Fixes #338711.
7221 2006-04-12 Wim Taymans <wim@fluendo.com>
7223 * tests/check/gst/gstelement.c: (GST_START_TEST):
7224 Don't leak the factory.
7226 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7229 * win32/common/config.h:
7232 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
7234 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7235 (gst_controller_unset_all):
7236 Free allocated GstTimedValues when freeing list nodes.
7237 Should fix leaks 'make check-valgrind' complains about.
7239 * win32/common/libgstcontroller.def:
7240 Add gst_controller_unset_all.
7242 2006-04-11 Stefan Kost <ensonic@users.sf.net>
7244 * docs/libs/gstreamer-libs-sections.txt:
7245 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7246 (gst_controller_unset_all):
7247 * libs/gst/controller/gstcontroller.h:
7248 API: Added new method gst_controller_unset_all()
7249 fixed gst_controller_unset()
7250 * tests/check/libs/controller.c: (GST_START_TEST),
7251 (gst_controller_suite):
7252 Added two testcases for new and fixed method
7254 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
7256 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7257 MSG_DONTWAIT is not defined on Cygwin, so work
7258 around that (fixes #317048).
7260 2006-04-11 Wim Taymans <wim@fluendo.com>
7262 * gst/gstelementfactory.c: (gst_element_register),
7263 (gst_element_factory_create), (gst_element_factory_make):
7266 Updated docs (Fixes #131079)
7268 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7271 * tests/check/gst/gstelement.c: (GST_START_TEST),
7272 (gst_element_suite):
7273 Added testcase for elementfactory class field.
7275 2006-04-10 Wim Taymans <wim@fluendo.com>
7278 Added some more docs.
7280 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
7281 (gst_base_sink_reset_qos):
7282 Calculate more accurate rate values.
7284 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
7286 * gst/gst_private.h:
7287 add a new #ifdef to use __declspec(dllimport) only for
7288 other modules and not for gstreamer core
7289 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
7290 use gst_guint64_to_gdouble for conversion
7291 * win32/common/libgstreamer.def:
7292 add new exported functions
7293 * win32/vs6/gst_inspect.dsp:
7294 * win32/vs6/gst_launch.dsp:
7295 * win32/vs6/libgstbase.dsp:
7296 * win32/vs6/libgstcontroller.dsp:
7297 * win32/vs6/libgstcoreelements.dsp:
7298 * win32/vs6/libgstdataprotocol.dsp:
7299 * win32/vs6/libgstnet.dsp:
7300 update project files
7302 2006-04-08 Stefan Kost <ensonic@users.sf.net>
7304 * gst/gstbuffer.c: (gst_subbuffer_class_init):
7305 * gst/gstclock.c: (gst_clock_class_init):
7306 * gst/gstelement.c: (gst_element_class_init):
7307 * gst/gstindex.c: (gst_index_class_init):
7308 * gst/gstindexfactory.c: (gst_index_factory_class_init):
7309 * gst/gstobject.c: (gst_object_class_init),
7310 (gst_signal_object_class_init):
7311 * gst/gstpad.c: (gst_pad_class_init):
7312 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
7313 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
7314 * gst/gstregistry.c: (gst_registry_class_init):
7315 * gst/gstsystemclock.c: (gst_system_clock_class_init):
7316 * gst/gsttask.c: (gst_task_class_init):
7317 * gst/gstxml.c: (gst_xml_class_init):
7318 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7319 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7320 (gst_base_src_loop):
7321 * libs/gst/controller/gstcontroller.c:/
7322 (_gst_controller_class_init):
7323 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7324 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
7325 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
7326 * tests/old/examples/plugins/example.c: (gst_example_class_init):
7327 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7328 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
7330 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
7332 * gst/gstpad.c: (gst_pad_link):
7333 Must set peer pads before calling the link function, otherwise
7334 a task started from a link function might get a flow-not-linked
7335 result when trying to push because the other thread where the
7336 linking happens hasn't had a chance to set the peers yet. This
7337 might happen for example when a queue gets linked to a downstream
7338 element, as queue starts a streaming task when its source pad
7339 gets linked. Happens in real life when playing back flac/musepack
7340 files in playbin (#332390).
7342 2006-04-08 Stefan Kost <ensonic@users.sf.net>
7346 * libs/gst/base/gstadapter.h:
7347 * libs/gst/base/gstbasesink.h:
7348 * libs/gst/base/gstbasesrc.h:
7349 * libs/gst/base/gstbasetransform.h:
7350 * libs/gst/base/gstcollectpads.h:
7351 * libs/gst/base/gstpushsrc.h:
7352 Fix broken GObject macros
7354 2006-04-07 Wim Taymans <wim@fluendo.com>
7356 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7357 Initialize start and stop times, thanks valgrind.
7359 2006-04-07 Wim Taymans <wim@fluendo.com>
7361 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7362 Be a bit nicer to badly behaving upstream elements that expect
7363 us to deal with non TIME segments and timestamps (such as fakesrc
7366 2006-04-07 Wim Taymans <wim@fluendo.com>
7369 Small documentation clarification about the signal watch.
7371 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7372 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7373 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7374 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
7375 (gst_base_sink_get_position_last),
7376 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
7377 Convert and store timestamps in stream time and running time, the
7378 raw timestamps are not useful, also document this better.
7379 Use different window sizes for good and bad QoS observations so
7380 we react to badness a little quicker.
7381 Keep track of the amount of rendered and dropped buffers.
7382 Send QoS timestamps in running time.
7384 * libs/gst/base/gstbasetransform.c:
7385 (gst_base_transform_sink_eventfunc),
7386 (gst_base_transform_handle_buffer):
7387 Compare QoS timestamps against running time.
7389 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
7394 2006-04-06 Michael Smith <msmith@fluendo.com>
7396 * gst/gstpad.c: (gst_pad_set_property):
7397 Use g_value_get_object() instead of g_value_dup_gst_object(),
7398 to avoid double-reffing the pad template (which we then sink,
7399 so this worked previously if (and only if) the pad template
7402 * gst/gstpadtemplate.c: (gst_pad_template_init),
7403 (gst_pad_template_pad_created):
7404 Never return floating references to pad templates, create
7405 them as initially-sunken.
7407 Document an extra function (and make this stop sinking our
7408 pad template, since that is now guaranteed to do nothing,
7409 since we created it sunken).
7411 * gst/gstghostpad.c:
7414 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
7416 * gst/gstinfo.c: (__gst_in_valgrind):
7419 * plugins/elements/gsttypefindelement.c:
7420 (gst_type_find_element_chain):
7421 Don't leak buffer caps.
7423 2006-04-06 Michael Smith <msmith@fluendo.com>
7425 * gst/parse/grammar.y:
7426 Fix a leak in parse-launch for any source-or-sink named element
7429 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7430 Unref the pipeline if it exists after we've failed parsing.
7432 2006-04-05 Michael Smith <msmith@fluendo.com>
7434 * gst/gstpipeline.c: (gst_pipeline_init):
7435 When we create a pipeline bus, initially create it in flushing mode.
7436 Fixes leaks in at least one test, and makes a new pipeline work the
7437 same as one that has gone to READY and then back to NULL.
7442 2006-04-05 Michael Smith <msmith@fluendo.com>
7444 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7445 Unref a pad we reffed.
7446 * tests/check/gst/gstutils.c: (GST_START_TEST):
7449 2006-04-05 Michael Smith <msmith@fluendo.com>
7451 * gst/gstquery.c: (gst_query_set_formats),
7452 (gst_query_set_formatsv):
7453 Fix leaking GValues in queries, as shown by valgrind/testsuite.
7455 2006-04-05 Michael Smith <msmith@fluendo.com>
7457 * tests/check/generic/sinks.c: (GST_START_TEST):
7458 Fix a variety of memleaks in sinks check, which are only sometimes
7459 shown by running the tests under valgrind (weird?).
7461 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
7463 * docs/version.entities.in:
7464 Fix the substituted entity name after thomas' changes on the
7467 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7469 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
7472 2006-04-05 Andy Wingo <wingo@pobox.com>
7474 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
7476 * libs/gst/base/gstbasetransform.c
7477 (gst_base_transform_sink_eventfunc): When resetting our segment on
7478 FLUSH_STOP, also update the flag saying we haven't seen a
7481 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7483 Patch by: Paolo Borelli <pborelli at katamail dot com>
7485 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
7486 (gst_plugin_check_license):
7487 minor clean-ups: G_DEFINE_TYPE already takes care of the
7488 parent_class stuff, no need to do it twice. Mark array of
7489 license strings as constant. (#337103)
7491 2006-04-04 Michael Smith <msmith@fluendo.com>
7493 * tools/gst-inspect.c: (print_element_list):
7494 Free the right plugin list; fixes a memory leak.
7496 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7498 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7500 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7501 Don't error out on empty buffers (#336945).
7503 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
7505 * docs/libs/gstreamer-libs-sections.txt:
7507 * libs/gst/base/gstbasesink.c:
7508 * libs/gst/base/gstbasesink.h:
7509 * libs/gst/base/gstbasesrc.c:
7510 * libs/gst/base/gstbasesrc.h:
7511 Documentation updates. Make BaseSink and BaseSrc docs contain the
7512 class structure so that people can actually see the prototypes for
7513 virtual functions they're supposed to be overriding.
7515 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7517 * plugins/elements/gsttypefindelement.c:
7518 (gst_type_find_element_chain):
7519 More debug info; when skipping typefinding, send cached
7520 events in all cases.
7522 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
7525 use new AS_VERSION and AS_NANO macros
7526 * gst/gst-i18n-lib.h:
7529 * gst/gstversion.h.in:
7530 * win32/common/config.h:
7531 * win32/common/config.h.in:
7534 2006-03-31 Michael Smith <msmith@fluendo.com>
7536 * plugins/elements/gsttypefindelement.c:
7537 (gst_type_find_element_chain):
7538 Do not typefind content if the buffers already have caps.
7539 Neccesary for icydemux (#333657), and the right thing to do anyway.
7541 2006-03-30 Wim Taymans <wim@fluendo.com>
7543 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7544 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
7545 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
7546 (gst_base_sink_record_qos_observation),
7547 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7548 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7549 (gst_base_sink_change_state):
7550 More QoS measurements as described in the design doc.
7551 Get rid of ringbuffer with observations, running average is
7552 more simple and equally good.
7553 Calculates valid proportion now.
7554 Added beginning of flood measurement.
7556 2006-03-29 Wim Taymans <wim@fluendo.com>
7558 * docs/design/part-qos.txt:
7560 Small documentation updates and additions.
7562 2006-03-29 Wim Taymans <wim@fluendo.com>
7564 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7565 (gst_base_src_send_event), (gst_base_src_loop),
7566 (gst_base_src_change_state):
7567 Perform the EOS logic when we reach the segment stop position.
7568 Fix compilation on gcc4.1
7570 2006-03-29 Wim Taymans <wim@fluendo.com>
7572 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7574 * plugins/elements/gstqueue.c: (gst_queue_init),
7575 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7576 (gst_queue_set_property):
7577 * plugins/elements/gstqueue.h:
7578 In queue, when EOS is received, if minimum threshold > max_size -
7579 current_level, there is chance that queue blocks forever in conditional
7580 item del wait. This is because the queue is not emptied completely due
7581 to minimum threshold. Here is another approach. Instead of setting
7582 cur_levels to max in EOS, just zero all minimum threshold levels. This
7583 should make sure that queue gives out all data. When going to READY
7584 (stop) state, just reset the original minimum threshold levels.
7587 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
7589 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
7590 (gst_type_find_element_handle_event),
7591 (gst_type_find_element_send_cached_events),
7592 (gst_type_find_element_change_state):
7593 * plugins/elements/gsttypefindelement.h:
7594 When typefinding is done in push mode, we should cache
7595 events we receive during typefinding instead of just
7596 dropping them (e.g. newsegment, custom events from
7597 dvdreadsrc etc.) and then send them out once we've
7598 determined the type of the stream (and decodebin
7599 has had a chance to plug in a decoder/demuxer).
7601 2006-03-27 Wim Taymans <wim@fluendo.com>
7603 * docs/design/part-qos.txt:
7606 2006-03-27 Wim Taymans <wim@fluendo.com>
7608 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
7610 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7611 (gst_base_src_send_event), (gst_base_src_change_state):
7612 Handle element seek correctly when we are streaming.
7615 2006-03-24 Michael Smith <msmith@fluendo.com>
7617 * docs/faq/gst-uninstalled:
7618 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
7619 allow you to correctly run intalled applications built against old
7620 core, using plugins that require updated core (e.g. running
7621 installed totem against a full uninstalled gstreamer stack)
7623 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7625 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
7628 2006-03-24 Wim Taymans <wim@fluendo.com>
7630 * docs/gst/gstreamer-sections.txt:
7631 Rearrange the order of the methods so that related methods
7632 are grouped together in sections.
7634 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7637 Little clarification in the docs
7639 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7643 * plugins/elements/gstidentity.c:
7644 * plugins/elements/gstqueue.c:
7645 * plugins/elements/gsttee.c:
7646 * plugins/elements/gsttypefindelement.c:
7647 GST_ELEMENT_DETAILS formatting
7649 2006-03-24 Wim Taymans <wim@fluendo.com>
7651 * libs/gst/base/gstbasesink.h:
7652 Only add fields, not insert or we break ABI.
7654 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7656 * win32/common/libgstbase.def:
7657 * win32/common/libgstreamer.def:
7658 Update, add recently added functions.
7660 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7662 * docs/gst/gstreamer-sections.txt:
7663 * gst/gstutils.c: (gst_pad_query_peer_position),
7664 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7666 API: add some new utility functions:
7667 - gst_pad_query_peer_position()
7668 - gst_pad_query_peer_duration()
7669 - gst_pad_query_peer_convert()
7671 2006-03-23 Wim Taymans <wim@fluendo.com>
7673 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7674 (gst_base_sink_init), (gst_base_sink_finalize),
7675 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7676 (gst_base_sink_set_property), (gst_base_sink_get_property),
7677 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7678 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7679 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7680 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7681 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7682 (gst_base_sink_preroll_object), (gst_base_sink_event),
7683 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7684 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7685 (gst_base_sink_query), (gst_base_sink_change_state):
7686 Decouple max-lateness and the fact that QoS messages are generated
7687 with a new property (qos).
7688 added API: GstBaseSink::async_play()
7689 Add vmethod so subclasses can be notified of ASYNC playing
7691 Collect timestamp start and stop to report better current
7692 position in EOS/PLAYING/PAUSED/READY/NULL.
7693 Refactor QoS/frame dropping and other measurements.
7694 API: GstBaseSrc::qos
7697 * libs/gst/base/gstbasesink.h:
7698 Added Private struct.
7699 API: gst_base_sink_set_qos_enabled()
7700 API: gst_base_sink_is_qos_enabled()
7702 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7704 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7705 If compiling against GLib-2.8 or newer, try to read the
7706 registry file using GMappedFile first before falling back
7707 to fopen() + fread() (#332151).
7709 2006-03-22 Wim Taymans <wim@fluendo.com>
7711 * gst/gstinfo.c: (gst_debug_set_active),
7712 (gst_debug_category_set_threshold):
7713 Disable debugging unless explicitly activated.
7716 2006-03-22 Wim Taymans <wim@fluendo.com>
7718 * gst/gstelement.c: (gst_element_set_locked_state),
7719 (gst_element_dispose):
7720 Cleanup the error case.
7722 * gst/gstobject.c: (gst_object_dispose):
7723 print a critical when some object was disposed with
7724 a parent, also revive the object since it might
7727 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
7729 * tools/gst-launch.1.in:
7732 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7735 * tests/check/Makefile.am:
7736 disable some tests when we don't have a registry
7737 * tests/check/gst/gstutils.c: (gst_utils_suite):
7738 don't build the part that needs parsing
7740 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7743 * tests/examples/Makefile.am:
7744 fix --disable-parse build
7746 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7748 * tools/gst-feedback.1.in:
7749 Fix typo: s/feeback/feedback/ (#133494).
7751 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7753 * tools/Makefile.am:
7754 * tools/gst-launch.1.in:
7755 Add FILES section and correct entry about GST_REGISTRY_PATH
7756 environment variable (#133495; #133494).
7758 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7760 * tools/Makefile.am:
7761 * tools/gst-md5sum.1.in:
7762 * tools/gst-md5sum.c:
7763 Remove gst-md5sum and man page (the md5sink element
7764 required was removed ages ago)
7766 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7768 * gst/gststructure.c: (gst_structure_id_set_value):
7769 Make sure that string fields in structures/taglists
7770 contain valid UTF-8 - we don't want to pass rubbish to
7771 applications because of a buggy plugin (cp. #334167).
7773 2006-03-21 Edward Hervey <edward@fluendo.com>
7775 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7776 (gst_bin_handle_message_func):
7777 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7778 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7779 (gst_element_set_bus_func):
7780 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7781 * gst/gstminiobject.c: (gst_value_set_mini_object),
7782 (gst_value_take_mini_object):
7783 * gst/gstpad.c: (gst_pad_set_pad_template):
7784 * gst/gstpipeline.c: (gst_pipeline_dispose),
7785 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7786 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7787 (gst_collect_pads_chain):
7788 * libs/gst/net/gstnettimeprovider.c:
7789 (gst_net_time_provider_set_property):
7790 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7791 It's in fact all issues with gst_*object_replace().
7793 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7795 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
7797 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7798 * pkgconfig/gstreamer-check.pc.in:
7799 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7801 2006-03-21 Edward Hervey <edward@fluendo.com>
7806 gst_[buffer|event|message]_ref() macros are replaced by a static
7807 inline functions because gcc-4.1 will about if the return value
7809 * tests/check/gst/gstevent.c: (event_probe):
7810 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7812 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
7815 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7816 the type' case. (Closes: #335195 for now). In the future, when we
7817 depend on GLib 2.10, we could also intern the type name using
7818 g_intern_static_string()
7820 2006-03-20 Wim Taymans <wim@fluendo.com>
7822 * gst/gstbin.c: (gst_bin_handle_message_func),
7823 (bin_query_max_init), (bin_query_position_fold),
7824 (bin_query_position_done), (gst_bin_query):
7825 Position query should also take max of all streams.
7827 2006-03-20 Wim Taymans <wim@fluendo.com>
7829 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7830 (gst_fake_src_finalize):
7831 Fix leaks in fakesrc.
7833 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7834 Fix leaks in the testcase.
7836 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
7838 * gst/gst_private.h:
7839 add win32 specific import decoration(__declspec(dllimport))
7840 for all extern GstDebugCategory * variables
7841 * win32/common/libgstbase.def:
7842 * win32/common/libgstcontroller.def:
7843 * win32/common/libgstreamer.def:
7844 Add some exports, remove empty lines
7845 * win32/common/libgstdataprotocol.def:
7846 * win32/common/libgstdataprotocol.dsp:
7847 * win32/common/libgstnet.def:
7848 * win32/common/libgstnet.dsp:
7849 new project files and exportation files added
7851 2006-03-19 Wim Taymans <wim@fluendo.com>
7853 * tests/check/libs/basesrc.c: (eos_event_counter):
7854 Use proper return value for probe.
7856 2006-03-17 Wim Taymans <wim@fluendo.com>
7858 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7860 Don't leak buffers, caps and pads on negotiation errors.
7862 2006-03-16 Stefan Kost <ensonic@users.sf.net>
7865 * docs/faq/dependencies.xml:
7866 * docs/faq/developing.xml:
7868 * docs/faq/general.xml:
7869 * docs/faq/getting.xml:
7870 * docs/faq/legal.xml:
7871 * docs/faq/troubleshooting.xml:
7872 * docs/faq/using.xml:
7873 Faq review and update.
7875 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
7877 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7879 Don't pound the cpu to pieces by checking get_caps when accept_caps
7880 is called with the same caps as the pad already has.
7881 Use GST_DEBUG_OBJECT when outputting caps change information.
7883 2006-03-15 Wim Taymans <wim@fluendo.com>
7885 * gst/gstclock.c: (gst_clock_class_init):
7888 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
7893 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7894 (gst_pad_accept_caps), (gst_pad_configure_sink),
7895 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7896 Make the default acceptcaps behaviour be to check the requested
7897 caps against the gst_pad_get_caps output.
7899 Ensure that gst_pad_accept_caps is used to check caps when a pad
7900 doesn't have a setcaps function, so that pads automatically refuse
7901 caps that they don't allow in their pad template. (Fixes #332986)
7903 When a buffer with attached caps is pushed, ensure that the source
7904 pad receives those caps even if the element didn't call
7905 gst_pad_set_caps first.
7907 2006-03-15 Wim Taymans <wim@fluendo.com>
7909 * libs/gst/base/gstadapter.c:
7912 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
7914 * win32/common/libgstbase.def:
7915 * win32/common/libgstcontroller.def:
7916 * win32/common/libgstreamer.def:
7917 Add a whole bunch of missing functions (#334434).
7919 2006-03-14 Wim Taymans <wim@fluendo.com>
7921 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7922 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7923 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7924 Better debug info when we receive a segment event.
7925 Reorganize a bit so we can pass the get_times() results around.
7926 Use the segment format when calculating the running time.
7927 Don't do QoS is sync is disabled or we have no clock or the
7928 element does not want us to sync to the clock.
7929 Don't drop buffers if QoS is disabled for now.
7931 2006-03-14 Wim Taymans <wim@fluendo.com>
7933 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7934 Marked the stats property as unimplemented so people don't get
7936 Add debug message when regression goes wrong.
7937 Added some more docs.
7939 2006-03-14 Wim Taymans <wim@fluendo.com>
7941 * gst/gstsegment.c: (gst_segment_to_stream_time):
7942 Return correct return type in case of errors.
7944 2006-03-14 Wim Taymans <wim@fluendo.com>
7946 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7947 Don't segfault on invalid formats.
7949 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7951 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7952 Can't use gst_segment_to_running_time() when the segment
7953 is not in GST_TIME_FORMAT (like with filesink, for example).
7954 Stops flac encoding pipelines from spewing critical warnings
7957 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7959 * gst/gstpipeline.c: (gst_pipeline_class_init):
7960 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7962 * plugins/elements/gsttypefindelement.c:
7963 (gst_type_find_element_handle_event):
7964 Don't try to typefind empty streams.
7966 2006-03-14 Wim Taymans <wim@fluendo.com>
7968 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7969 (gst_base_sink_do_qos):
7970 Separate QoS calculation.
7971 Only drop buffers when lateness is bigger than the
7972 duration of the buffer.
7974 2006-03-13 Wim Taymans <wim@fluendo.com>
7976 * gst/gstpipeline.c: (gst_pipeline_set_property),
7977 (gst_pipeline_get_property), (do_pipeline_seek),
7978 (gst_pipeline_change_state), (gst_pipeline_set_delay),
7979 (gst_pipeline_get_delay):
7980 Don't deadlock when reading properties.
7982 2006-03-13 Wim Taymans <wim@fluendo.com>
7984 * libs/gst/base/gstbasetransform.c:
7985 (gst_base_transform_class_init), (gst_base_transform_init),
7986 (gst_base_transform_sink_event),
7987 (gst_base_transform_sink_eventfunc),
7988 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7989 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7990 (gst_base_transform_set_property),
7991 (gst_base_transform_get_property),
7992 (gst_base_transform_change_state), (gst_base_transform_update_qos),
7993 (gst_base_transform_set_qos_enabled),
7994 (gst_base_transform_is_qos_enabled):
7995 * libs/gst/base/gstbasetransform.h:
7996 Make basetransform virtual method for src events too.
7997 Handle QOS in basetransform.
7998 API: gst_base_transform_update_qos()
7999 API: gst_base_transform_set_qos_enabled()
8000 API: gst_base_transform_is_qos_enabled()
8002 2006-03-13 Wim Taymans <wim@fluendo.com>
8004 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8005 (gst_base_sink_do_sync):
8007 Use QOS debug category.
8009 2006-03-13 Wim Taymans <wim@fluendo.com>
8011 * plugins/elements/gstqueue.c:
8012 Very small doc update.
8014 2006-03-13 Wim Taymans <wim@fluendo.com>
8016 * gst/gst_private.h:
8017 * gst/gstinfo.c: (_gst_debug_init):
8018 Added QOS debug category
8020 2006-03-13 Wim Taymans <wim@fluendo.com>
8022 * docs/gst/gstreamer-sections.txt:
8023 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
8025 * gst/gstbus.c: (gst_bus_class_init):
8028 * gst/gstelement.c: (gst_element_set_locked_state):
8030 Documentation updates.
8032 * gst/gstpipeline.c: (gst_pipeline_get_type),
8033 (gst_pipeline_class_init), (gst_pipeline_init),
8034 (gst_pipeline_dispose), (gst_pipeline_set_property),
8035 (gst_pipeline_get_property), (do_pipeline_seek),
8036 (gst_pipeline_send_event), (gst_pipeline_change_state),
8037 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
8038 (gst_pipeline_get_delay):
8039 * gst/gstpipeline.h:
8040 Added methods for setting the delay.
8041 API: gst_pipeline_set_delay()
8042 API: gst_pipeline_get_delay()
8043 Add pipeline debug category
8046 Don't reset stream time when seek failed.
8048 2006-03-13 Wim Taymans <wim@fluendo.com>
8050 * docs/design/draft-klass.txt:
8051 * docs/design/part-clocks.txt:
8052 * docs/design/part-events.txt:
8053 * docs/design/part-gstbin.txt:
8054 * docs/design/part-gstpipeline.txt:
8055 * docs/design/part-messages.txt:
8056 * docs/design/part-negotiation.txt:
8057 * docs/design/part-overview.txt:
8058 * docs/design/part-preroll.txt:
8059 * docs/design/part-seeking.txt:
8060 * docs/design/part-states.txt:
8061 * docs/design/part-streams.txt:
8062 Documentation updates.
8064 2006-03-12 Julien MOUTTE <julien@moutte.net>
8066 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
8067 us to leak strings...
8069 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
8071 * libs/gst/net/gstnettimeprovider.c:
8073 * win32/common/config.h:
8076 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
8078 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
8081 Don't check for libgnomeui (leftover from old examples
8082 that aren't built or disted any longer) (#334303).
8084 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
8086 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
8087 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8088 Emit RESOURCE_NO_SPACE_LEFT error here as well when
8089 there's no space left on the device.
8091 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
8094 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
8095 to cast the input to GstClockTime before comparing with
8096 another GstClockTime value.
8098 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
8103 === release 0.10.4 ===
8105 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
8108 releasing 0.10.4, "Light"
8110 2006-03-10 Michael Smith <msmith@fluendo.com>
8112 * libs/gst/dataprotocol/dataprotocol.c:
8113 Fix docs for dataprocotol to not get the return types completely
8114 wrong for a few functions.
8116 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
8118 * docs/gst/gstreamer-sections.txt:
8119 * gst/gstpipeline.c: (gst_pipeline_class_init),
8120 (gst_pipeline_init), (gst_pipeline_set_property),
8121 (gst_pipeline_get_property), (gst_pipeline_change_state),
8122 (gst_pipeline_set_auto_flush_bus),
8123 (gst_pipeline_get_auto_flush_bus):
8124 * gst/gstpipeline.h:
8125 Add new API: gst_pipeline_set_auto_flush_bus() and
8126 gst_pipeline_get_auto_flush_bus() to disable automatic
8127 flushing of the pipeline's GstBus when going from READY
8128 to NULL state (#332045).
8130 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
8132 * docs/gst/gstreamer-sections.txt:
8133 * gst/gsturi.c: (gst_uri_has_protocol):
8135 Add new API: gst_uri_has_protocol() (#333779).
8137 2006-03-09 Wim Taymans <wim@fluendo.com>
8139 * gst/gstclock.c: (gst_clock_entry_new),
8140 (gst_clock_id_compare_func), (gst_clock_id_wait),
8141 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
8142 (gst_clock_init), (gst_clock_get_internal_time),
8143 (gst_clock_set_master), (do_linear_regression),
8144 (gst_clock_add_observation), (gst_clock_set_property):
8148 Fix a possible segfault when the window-size is made smaller.
8149 Calculate jitter before performing the clock wait. Ideally
8150 the clock implementation should calculate jitter but we need
8151 API breakage for that.
8153 * gst/gstsystemclock.c: (gst_system_clock_init):
8156 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8157 Remove leftover else
8159 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
8160 (gst_systemclock_suite):
8161 Added check to test GST_CLOCK_DIFF.
8163 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
8165 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
8166 (gst_type_find_helper_get_range):
8167 If we are provided with the size, we should implement
8168 GstTypeFind::get_length, so that typefind functions who
8169 want to can actually peek at the middle of a file.
8171 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
8173 * docs/manual/advanced-dataaccess.xml:
8174 Add some very very basic error checking.
8176 * docs/pwg/appendix-checklist.xml:
8177 Some updates to the list of things to check when writing an element.
8179 2006-03-08 Wim Taymans <wim@fluendo.com>
8181 * docs/design/part-element-transform.txt:
8182 Added some docs about the design of tranform elements.
8184 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8185 (gst_base_src_loop), (gst_base_src_change_state):
8186 Mark buffers with the DISCONT flag.
8188 2006-03-08 Michael Smith <msmith@fluendo.com>
8190 * gst/gstregistry.h:
8191 * gst/gstregistryxml.c: (gst_registry_save),
8192 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
8193 (gst_registry_xml_save_pad_template),
8194 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
8195 (gst_registry_xml_write_cache):
8196 Rewrite registry-saving to avoid race conditions and check for
8199 2006-03-08 Wim Taymans <wim@fluendo.com>
8201 * libs/gst/base/gstbasetransform.c:
8202 (gst_base_transform_transform_caps),
8203 (gst_base_transform_transform_size),
8204 (gst_base_transform_prepare_output_buffer),
8205 (gst_base_transform_get_unit_size),
8206 (gst_base_transform_buffer_alloc),
8207 (gst_base_transform_handle_buffer),
8208 (gst_base_transform_change_state):
8209 Cleanups, separate normal flow from errors, add sensible
8211 Don't try to renegotiate when allocating an output buffer.
8212 Also copy DISCONT buffer flag when copying a buffer.
8213 Reset the transform after we finish streaming, not during.
8215 2006-03-08 Wim Taymans <wim@fluendo.com>
8217 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8218 Use last buffer timestamp in qos message.
8220 2006-03-07 Wim Taymans <wim@fluendo.com>
8222 Patch by: Christophe Fergeau
8224 * docs/pwg/advanced-tagging.xml:
8225 * docs/pwg/building-pads.xml:
8228 2006-03-07 Wim Taymans <wim@fluendo.com>
8230 * docs/libs/gstreamer-libs-sections.txt:
8231 Added basesink new methods.
8235 Docs updates. Flesh out the QoS docs.
8237 * libs/gst/base/gstadapter.c:
8238 Small doc clarification about ownership and flushing.
8240 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
8241 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
8242 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
8243 (gst_base_sink_get_property), (gst_base_sink_do_sync):
8244 * libs/gst/base/gstbasesink.h:
8246 Added new methods to allow subclass to control max-lateness
8248 Generate very basic QoS events based on last sync observation.
8249 Updated docs, fix typo, added some QoS blurb.
8251 * libs/gst/base/gstbasesrc.c:
8252 Remove obsolete _get_state() calls from docs.
8254 2006-03-07 Wim Taymans <wim@fluendo.com>
8256 * docs/libs/gstreamer-libs-sections.txt:
8257 * libs/gst/base/gstbasetransform.h:
8258 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
8259 Fix docs for GstBaseSrc.
8261 2006-03-07 Wim Taymans <wim@fluendo.com>
8263 * docs/gst/gstreamer-sections.txt:
8266 * libs/gst/base/gstbasetransform.h:
8267 Small documentation fixes.
8269 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
8272 Document thread-unsafety of gst_value_register_foo_func()
8273 when used at the same time as gst_value_foo() (#322628).
8275 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
8277 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
8278 (gst_push_src_check_get_range):
8279 Push sources don't support pull mode by default.
8281 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
8283 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8284 (gst_base_src_init), (gst_base_src_pad_check_get_range),
8285 (gst_base_src_default_check_get_range):
8286 * libs/gst/base/gstbasesrc.h:
8287 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
8288 provide default implementation, and rename
8289 gst_base_src_check_get_range() to
8290 gst_base_src_pad_check_get_range() for clarity.
8292 2006-03-06 Wim Taymans <wim@fluendo.com>
8294 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8295 Make property overridable.
8297 2006-03-06 Wim Taymans <wim@fluendo.com>
8299 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8300 (gst_base_sink_init), (gst_base_sink_set_property),
8301 (gst_base_sink_get_property), (gst_base_sink_do_sync):
8302 * libs/gst/base/gstbasesink.h:
8303 API addition: Make max-lateness a property.
8305 2006-03-06 Wim Taymans <wim@fluendo.com>
8307 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
8308 (gst_base_sink_do_sync), (gst_base_sink_render_object):
8309 Don't ever draw a frame that is >10ms late.
8311 2006-03-06 Michael Smith <msmith@fluendo.com>
8313 * gst/gstmessage.c: (_gst_message_copy):
8314 When copying a message, set the parent_refcount of the enclosed
8315 structure to point at the copy, not the original message.
8317 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
8319 Patch by: Christophe Fergeau
8322 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
8323 usable in c++ code (#333417)
8325 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
8328 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
8330 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
8332 * libs/gst/base/gstbasetransform.c:
8333 (gst_base_transform_transform_caps):
8334 Make sure caps are writable before passing them to
8337 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
8340 Fix some minor docs errors.
8342 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
8344 Patch by: Ross Burton <ross at burtonini dot com>
8346 * gst/gsterror.c: (_gst_resource_errors_init):
8348 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
8350 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
8353 Add a check and output a g_warning when GStreamer is built
8354 against GLib 2.6 but running against 2.8 or higher, and vice
8355 versa. (Closes: #323542)
8357 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
8359 * gst/parse/parse.l:
8360 Commit patch for parse_launch syntax from #331255. Removes
8361 support for quoted strings and mimetypes when writing filtered
8362 caps. See the bug report for more details - I'm pretty sure this
8363 obscure feature is not in use by _anyone_ anywhere.
8365 With this simple change, the size of the gstreamer.so here
8366 drops from 2193KB to 1565KB.
8368 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8370 * plugins/elements/gsttypefindelement.h:
8371 * plugins/elements/gsttypefindelement.c:
8372 (gst_type_find_element_src_event), (start_typefinding),
8373 (stop_typefinding), (gst_type_find_element_handle_event),
8374 (gst_type_find_element_chain),
8375 (gst_type_find_element_chain_do_typefinding):
8376 Use gst_type_find_helper_for_buffer() for chain-based
8379 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8381 * plugins/elements/gsttypefindelement.c:
8382 (gst_type_find_element_class_init),
8383 (gst_type_find_element_set_property),
8384 (gst_type_find_element_get_property):
8385 Deprecate "maximum" property (not only was it only taken into
8386 account for typefinding in push-mode anyway, it also was never
8387 actually possible to set it in the first place because the
8388 property was registered with the numeric property ID for the
8389 "minimum" property). Register "maximum" property correctly,
8390 for the sake of future copy'n'pasters. Remove some cruft
8391 from property get/set functions.
8393 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8395 * plugins/elements/gsttypefindelement.c:
8396 (gst_type_find_element_activate):
8397 Use gst_type_find_helper_get_range() here, so we
8398 can honour the "minimum" property and also emit
8399 the signal with the correct probability of the found caps.
8401 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
8403 * docs/libs/gstreamer-libs-sections.txt:
8404 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
8405 (helper_find_suggest), (gst_type_find_helper_get_range),
8406 (gst_type_find_helper):
8407 * libs/gst/base/gsttypefindhelper.h:
8408 New API: gst_type_find_helper_get_range() (#333042).
8410 2006-03-02 Michael Smith <msmith@fluendo.com>
8412 * gst/gstregistryxml.c: (load_feature):
8413 Asserting on a failure to read part of the registry is Not Cool.
8414 Just log a warning and return NULL (which is already handled)
8416 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
8418 * win32/common/libgstbase.def:
8419 added export of gst_type_find_helper_for_buffer
8420 * win32/common/libgstbase.def:
8421 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
8422 gst_ghost_pad_get_target
8424 2006-02-28 Wim Taymans <wim@fluendo.com>
8426 * docs/design/draft-klass.txt:
8428 Added Connector to mark elements that are only used to
8429 allow pipeline connections.
8430 Moved Debug to extra feature since most of them are
8431 functionally something else.
8433 2006-02-28 Wim Taymans <wim@fluendo.com>
8435 * docs/design/draft-klass.txt:
8436 Some updates and clarifications.
8438 2006-02-28 Wim Taymans <wim@fluendo.com>
8440 * docs/design/draft-klass.txt:
8441 Proposal for klass field values.
8443 * docs/design/part-streams.txt:
8444 Start of a doc describing stream anatomy.
8446 2006-02-28 Wim Taymans <wim@fluendo.com>
8448 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
8449 Help the compiler a bit with type registration.
8450 Use existing forward cod path instead of duplicating it when
8453 * gst/gstbus.c: (gst_bus_get_type):
8454 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
8455 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
8456 * gst/gstclock.c: (gst_clock_get_type):
8457 * gst/gstelement.c: (gst_element_get_type),
8458 * gst/gstelementfactory.c: (gst_element_factory_get_type):
8459 * gst/gstindexfactory.c: (gst_index_factory_get_type):
8460 * gst/gstminiobject.c: (gst_mini_object_get_type):
8461 * gst/gstpad.c: (gst_pad_get_type):
8462 * gst/gstsegment.c: (gst_segment_get_type):
8463 * gst/gststructure.c: (gst_structure_get_type):
8464 * gst/gstsystemclock.c: (gst_system_clock_get_type):
8465 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
8467 Help compiler with type registration.
8469 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8472 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8474 * plugins/elements/gsttypefindelement.c:
8475 (gst_type_find_element_handle_event):
8476 When we get an EOS event and have not found a type yet
8477 (most likely because we had not yet accumulated
8478 TYPE_FIND_MIN_SIZE of data yet), try to determine the
8479 type given the data we have so far. Fixes typefinding
8480 for very short streams again, most notably quicktime
8481 redirections as used on Apple's trailer site (#331701).
8483 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8485 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
8486 (gst_type_find_helper):
8487 Try typefinding factories with the highest rank first.
8489 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8491 * docs/libs/gstreamer-libs-docs.sgml:
8492 * docs/libs/gstreamer-libs-sections.txt:
8493 * libs/gst/base/gsttypefindhelper.c:
8494 Add section for typefind helper and add documentation
8495 for the old and the new function.
8497 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8499 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
8500 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
8501 (gst_type_find_helper_for_buffer):
8502 * libs/gst/base/gsttypefindhelper.h:
8503 New API: gst_type_find_helper_for_buffer() (#332723).
8505 2006-02-27 Michael Smith <msmith@fluendo.com>
8507 Patch by: Loïc Minier
8511 * docs/slides/Makefile.am:
8512 prevent CVS directories getting disted.
8514 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8516 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
8517 Use the REFCOUNTING category for caps refcounting.
8519 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
8521 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
8522 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
8524 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
8526 * plugins/elements/gsttypefindelement.c:
8527 (gst_type_find_element_activate):
8528 Use gst_pad_check_pull_range() before _activate_pull()
8529 to avoid unnecessary open/close (see #331690).
8531 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
8534 Docs enhancement: make it crystal clear what the
8535 gst_pad_add_*_probe() callbacks should look like.
8537 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
8539 * libs/gst/base/gstbasesrc.c:
8540 Document how applications can stop recording from
8541 live sources (see #330996).
8543 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8545 * tests/check/Makefile.am:
8546 * tests/check/libs/basesrc.c: (eos_event_counter),
8547 (basesrc_eos_events_pull), (basesrc_eos_events_push),
8548 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
8549 (gst_basesrc_suite), (main):
8550 ... and add some tests for the base source EOS stuff.
8552 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8554 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
8555 Test case originally showed the problem fixed below,
8556 but was then amended. Add checks back at the place
8557 where they used to be.
8559 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8561 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8562 (gst_base_src_init), (gst_base_src_loop),
8563 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8564 (gst_base_src_change_state):
8565 * libs/gst/base/gstbasesrc.h:
8566 Don't unconditionally send EOS when going from PAUSED to
8567 READY state, esp. make sure we don't send two EOS events
8568 in some cases (e.g. one when reaching EOS and one when
8569 going from PAUSED to READY). Also, we don't want to send
8570 EOS events when operating in pull mode. However, we do
8571 want to send an EOS event when shutting down a live
8572 source explicitly, for example (fixes #330996).
8574 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8576 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8577 Update src->read_position after a seek when not using mmap.
8578 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
8580 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
8586 Make things work with --disable-parse as they do with
8587 --disable-load-save - the symbols involved disappear, but the
8588 header is still installed and GST_DISABLE_PARSE is included via
8591 2006-02-20 Julien MOUTTE <julien@moutte.net>
8593 * libs/gst/base/gstbasetransform.c:
8594 (gst_base_transform_change_state): Fix a stupid bug. I was
8595 sure I compiled that.
8597 2006-02-20 Julien MOUTTE <julien@moutte.net>
8599 * gst/gstpad.c: (gst_pad_set_blocked_async):
8600 * gst/gstutils.c: (gst_pad_add_data_probe),
8601 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8602 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8603 (gst_pad_remove_buffer_probe): Make those function act on the
8604 ghostpad target when it's a ghostpad. (Closes #331727)
8606 2006-02-20 Julien MOUTTE <julien@moutte.net>
8608 * libs/gst/base/gstbasetransform.c:
8609 (gst_base_transform_change_state): Make basetransform reusable.
8612 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
8614 * docs/random/release:
8615 Move the current documentation of how to do a release to the top
8618 * gst/gstbin.c: (gst_bin_class_init),
8619 (gst_bin_handle_message_func):
8620 Allow multiple state-recalculation threads. (Closes #328873)
8622 2006-02-19 Julien MOUTTE <julien@moutte.net>
8624 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
8625 * gst/gstpad.c: (gst_pad_set_event_function),
8626 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8627 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
8628 2 strings. You can't use the STR_NULL macro on that.
8630 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
8632 * gst/gstpad.c: (gst_pad_set_event_function),
8633 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8634 (gst_pad_set_getcaps_function)
8635 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8636 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8637 So now, we can use --gst-debug-level=5 on Windows
8638 * win32/common/libgstcontroller.def:
8639 Added export of gst_controller_init
8640 * win32/vs6/libgstcontroller.dsp:
8641 Fixed Release post build configuration
8643 2006-02-17 Wim Taymans <wim@fluendo.com>
8645 * tests/check/gst/gstquery.c: (GST_START_TEST):
8646 Added another check.
8648 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
8650 * plugins/elements/gsttypefindelement.c: (find_peek):
8651 We can do peeks at non-zero offsets, as long as they
8652 fall within the buffer we have.
8654 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
8656 * tests/check/Makefile.am:
8657 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8658 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8659 (parse_suite), (main):
8660 Add testsuite for parse launch syntax
8662 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
8664 * plugins/elements/gsttypefindelement.c:
8665 (gst_type_find_element_chain):
8666 When typefinding is unsuccessful in the chain function, don't
8667 error out immediately. Only error out with NO_CAPS_FOUND if
8668 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8669 otherwise simply wait for more data so we can try typefinding
8670 again with more data later. Also, don't attempt to typefind
8671 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8672 this should improve typefinding from network sources where the
8673 size of the first buffer can be somewhat random.
8675 2006-02-14 Wim Taymans <wim@fluendo.com>
8677 * docs/gst/gstreamer-sections.txt:
8678 * gst/gstpadtemplate.c:
8679 * gst/gstpadtemplate.h:
8680 Fix padtemplate docs, fixes #328805.
8682 2006-02-14 Wim Taymans <wim@fluendo.com>
8684 * tools/gst-launch.c: (main):
8685 NO_PREROLL is not an ERROR so don't send confusing messages
8688 2006-02-14 Wim Taymans <wim@fluendo.com>
8690 Patch by: Torsten Schoenfeld
8692 * gst/gstregistry.c: (gst_registry_get_default),
8693 (_gst_registry_cleanup):
8694 Protect default registry with lock and ref/sink it.
8697 2006-02-14 Wim Taymans <wim@fluendo.com>
8700 * gst/gstquery.c: (gst_query_list_add_format),
8701 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8702 (gst_query_parse_formats_nth):
8703 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8706 2006-02-14 Wim Taymans <wim@fluendo.com>
8708 * docs/gst/gstreamer-sections.txt:
8709 Reworked query docs.
8711 * gst/gstquery.c: (gst_query_new_formats),
8712 (gst_query_list_add_format), (gst_query_set_formats),
8713 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8714 (gst_query_parse_formats_nth):
8716 Flesh out formats query, added some new methods.
8717 Fix part of #324398.
8719 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8720 Added query creation tests.
8722 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
8724 * gst/gstpad.c: (fixate_value):
8725 Add a default fixation for fraction lists.
8727 2006-02-13 Wim Taymans <wim@fluendo.com>
8729 * gst/gsttask.c: (gst_task_init), (gst_task_func),
8730 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8733 Detect and warn for obvious deadlocks. fixes #320340
8734 Fix error case where lock was not released.
8736 * tests/check/Makefile.am:
8737 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8738 (task_func), (gst_element_suite), (main):
8741 2006-02-13 Wim Taymans <wim@fluendo.com>
8743 * docs/gst/gstreamer-sections.txt:
8745 Add new functions to docs.
8747 2006-02-13 Wim Taymans <wim@fluendo.com>
8749 * docs/design/part-TODO.txt:
8750 Updated TODO list, basesrc supports seeking to non-bytes
8753 * docs/design/part-element-sink.txt:
8756 * gst/gstbin.c: (bin_replace_message),
8757 (gst_bin_handle_message_func):
8758 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8759 * gst/gstevent.c: (gst_event_finalize):
8760 * gst/gstpad.c: (gst_pad_event_default_dispatch),
8761 (gst_pad_send_event):
8762 Use shiny new _TYPE_NAME macros.
8764 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8765 Move debug statement up.
8767 * gst/gstelement.c: (gst_element_set_locked_state):
8770 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
8772 * docs/gst/gstreamer-sections.txt:
8775 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8776 macros (#330906). Also, document the already existing
8777 GST_QUERY_TYPE macro.
8779 2006-02-13 Wim Taymans <wim@fluendo.com>
8781 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8782 (event_probe), (GST_START_TEST):
8783 Only events up to the pipeline EOS are counted, there are
8784 some more when going to NULL currently which we don't care
8787 2006-02-13 Wim Taymans <wim@fluendo.com>
8789 * gst/gstpad.c: (gst_pad_send_event):
8790 Correctly check flushing and emit probes. fixes #330125
8792 2006-02-10 Andy Wingo <wingo@pobox.com>
8794 * gst/gstbus.c (gst_bus_class_init): Declare our private data
8796 (gst_bus_init): Cache the location of the private data in the
8798 (gst_bus_enable_sync_message_emission)
8799 (gst_bus_disable_sync_message_emission): Implement new public
8801 (gst_bus_post): Emit the sync-message signal if the user asked for
8804 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8805 location of the bus-private structure.
8806 (gst_bus_enable_sync_message_emission)
8807 (gst_bus_disable_sync_message_emission): API addition
8809 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
8811 Patch by: Vincent Torri
8813 * docs/pwg/building-boiler.xml:
8814 PWG patch from #326800
8816 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
8820 * docs/design/Makefile.am:
8823 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8828 === release 0.10.3 ===
8830 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8833 releasing 0.10.3, "Like a virgin"
8835 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8838 2nd prerelease of 0.10.3
8839 Bump libtool versioning.
8841 2006-02-07 Andy Wingo <wingo@pobox.com>
8843 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8844 update last_stop if we're in TIME format and the timestamp is
8847 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
8848 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
8849 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8850 If we get a new newsegment with a different format, adapt
8853 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8854 of 0. Not a problem, really.
8856 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8859 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
8864 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
8867 project files updated to the default vs7 configuration
8868 * win32/common/libgstbase.def:
8869 * win32/common/libgstreamer.def:
8871 removed empty lines,
8872 sorted all exported symbols alphabetically
8873 * win32/common/dirent.c:
8874 * win32/common/dirent.h:
8875 * win32/common/gchar.h:
8876 use windows line end.
8878 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8880 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8881 Send EOS event when stopping.
8883 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8886 Tell folks what to do if the plugin-foobar.xml file
8887 hasn't been generated for a newly-added plugin.
8889 2006-02-05 Julien MOUTTE <julien@moutte.net>
8891 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8892 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8893 (gst_collect_pads_start), (gst_collect_pads_stop),
8894 (gst_collect_pads_event): Collectpads now holds a reference
8895 to the GstPad that was added. Indeed we don't want to look
8896 at pads that might just go away with no warning...
8898 2006-02-05 Julien MOUTTE <julien@moutte.net>
8900 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8901 (gst_collect_pads_start), (gst_collect_pads_stop),
8902 (gst_collect_pads_event), (gst_collect_pads_chain):
8903 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8904 Mark Nauwelaerts's patch on bug #328491.
8906 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8908 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8910 Add some simple tests for gst_parse_bin_from_description() and
8911 gst_bin_find_unconnected_pad() (#329069).
8913 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8915 * tools/gst-launch.c: (event_loop), (main):
8916 Catch errors during preroll (#320084).
8918 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
8920 * plugins/elements/gsttypefindelement.c:
8921 (gst_type_find_element_activate):
8922 Post TYPE_NOT_FOUND error message when typefinding
8923 is unsuccessful in the activate function as well.
8925 2006-02-02 Wim Taymans <wim@fluendo.com>
8927 * docs/design/part-element-sink.txt:
8930 2006-02-02 Wim Taymans <wim@fluendo.com>
8932 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8933 (gst_base_sink_render_object),
8934 (gst_base_sink_queue_object_unlocked):
8935 Only keep track of prerollable items when we are
8937 Before rendering after preroll, always check if we
8939 Added some more debugging.
8941 2006-02-02 Wim Taymans <wim@fluendo.com>
8943 * gst/gstelement.c: (gst_element_continue_state),
8944 (gst_element_set_state_func), (gst_element_change_state):
8945 Fixed #326576, been running this for quite some time with
8946 no regressions at all.
8948 2006-02-02 Wim Taymans <wim@fluendo.com>
8951 Added more suppressions
8953 2006-02-02 Wim Taymans <wim@fluendo.com>
8955 * docs/design/part-element-sink.txt:
8958 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8959 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8960 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8961 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8962 (gst_base_sink_do_sync), (gst_base_sink_render_object),
8963 (gst_base_sink_preroll_object),
8964 (gst_base_sink_queue_object_unlocked),
8965 (gst_base_sink_queue_object), (gst_base_sink_event),
8966 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8967 (gst_base_sink_loop), (gst_base_sink_activate_pull),
8968 (gst_base_sink_get_position), (gst_base_sink_change_state):
8969 * libs/gst/base/gstbasesink.h:
8970 Totally refactored matching the design doc.
8971 Use two segments, one to clip incomming buffers and another to
8973 Handle queueing correctly, bypass the queue when playing.
8974 Make EOS cancelable.
8975 Handle errors correctly when operating in pull based mode.
8977 * tests/check/elements/fakesink.c: (GST_START_TEST),
8979 Added new check for sinks.
8981 2006-02-02 Wim Taymans <wim@fluendo.com>
8983 * gst/gstsegment.c: (gst_segment_clip):
8984 No reason to refuse to clip when start == -1
8986 2006-02-02 Stefan Kost <ensonic@users.sf.net>
8989 * docs/manual/intro-basics.xml:
8990 * docs/manual/intro-preface.xml:
8991 * docs/manual/manual.xml:
8992 * docs/pwg/advanced-dparams.xml:
8993 * docs/pwg/intro-basics.xml:
8994 * docs/pwg/intro-preface.xml:
8996 describe dparams (controller) for plugins
8997 unify docs a little more
8999 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
9001 * docs/gst/gstreamer-sections.txt:
9002 * gst/gstutils.c: (element_find_unconnected_pad),
9003 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
9005 Add new API: gst_parse_bin_from_description() and
9006 gst_bin_find_unconnected_pad() (#329069).
9008 2006-02-01 Stefan Kost <ensonic@users.sf.net>
9010 * docs/manual/README:
9011 uncover a nasty detail of the docs build
9013 2006-01-31 Wim Taymans <wim@fluendo.com>
9015 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
9016 Don't cache duration messages if we're not going to use or
9019 2006-01-31 Stefan Kost <ensonic@users.sf.net>
9021 * docs/manual/advanced-dparams.xml:
9022 * docs/pwg/advanced-dparams.xml:
9026 * libs/gst/controller/lib.c: (gst_controller_init):
9029 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
9031 * gst/gstelement.c: (gst_element_message_full):
9032 also show file/line/func if no additional debug was given
9034 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
9036 * win32/vs7/grammar.vcproj:
9037 activate copy of autogenerated files for Release mode
9039 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
9041 * win32/common/libgstreamer.def:
9042 export gst_value_compare
9044 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
9046 * plugins/elements/Makefile.am:
9047 * plugins/elements/gstelements.c:
9048 * plugins/elements/gstfdsink.c: (_do_init),
9049 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
9050 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
9051 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
9052 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
9053 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
9054 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
9055 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
9056 * plugins/elements/gstfdsink.h:
9057 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
9059 2006-01-30 Stefan Kost <ensonic@users.sf.net>
9061 * docs/manual/advanced-dparams.xml:
9063 * docs/manual/advanced-position.xml:
9064 * docs/manual/basics-init.xml:
9065 * docs/manual/manual.xml:
9066 * docs/manual/titlepage.xml:
9068 * docs/pwg/titlepage.xml:
9069 cleanup xml (more to come)
9070 * libs/gst/controller/gstcontroller.c:
9073 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
9075 * win32/vs6/grammar.dsp:
9076 add autogen of gstmarshal.c,h for Release mode
9078 2006-01-30 Wim Taymans <wim@fluendo.com>
9080 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9081 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
9082 (gst_base_sink_handle_object), (gst_base_sink_event),
9083 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
9084 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9085 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
9086 (gst_base_sink_deactivate), (gst_base_sink_activate),
9087 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
9088 (gst_base_sink_query), (gst_base_sink_change_state):
9089 Basesink cleanups, remove some old code.
9090 Handle the case where a subclass can preroll in the render
9091 method (mostly audiosinks).
9093 Remove some locks around variables that are now protected
9094 with the PREROLL_LOCK (clock_id, flushing, ..).
9095 Optimize position query some more, do correct locking.
9096 Remove old code to push queue in state change, this is not
9097 needed anymore since preroll blocks on all prerollable items
9099 Almost implemented as described in design doc.
9101 2006-01-30 Wim Taymans <wim@fluendo.com>
9103 * tests/check/gst/gstbin.c: (GST_START_TEST):
9104 Wait for refcount to settle down before checking.
9106 2006-01-30 Wim Taymans <wim@fluendo.com>
9108 * docs/design/part-element-sink.txt:
9109 Pseudo code overview of desired sink behaviour regarding
9112 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
9113 * win32/vs6/grammar.dsp:
9114 fix some bugs in Release mode for autogenerated files
9116 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
9117 * win32/common/libgstbase.def:
9118 * win32/common/libgstreamer.def:
9119 export some new symbols: gst_base_src_set_format,
9120 gst_iterator_next, gst_structure_set_valist
9122 2006-01-29 Julien MOUTTE <julien@moutte.net>
9124 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
9125 Set pad functions unconditionally. Fixes #329105.
9127 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
9129 add vs8 project files created by Sergey Scobich
9131 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
9133 * gst/gstutils.c: (gst_element_unlink_pads):
9134 Don't leak pad references.
9136 * tests/check/elements/fakesink.c: (GST_START_TEST):
9137 * tests/check/generic/sinks.c: (GST_START_TEST):
9138 * tests/check/generic/states.c: (GST_START_TEST):
9139 * tests/check/gst/gstbin.c: (GST_START_TEST):
9140 * tests/check/gst/gstcaps.c: (GST_START_TEST):
9141 * tests/check/gst/gstelement.c: (GST_START_TEST):
9142 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9143 * tests/check/gst/gstiterator.c: (GST_START_TEST):
9144 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9145 Fix a bunch of leaks. Make generic/sinks.c
9146 use a bit less cpu by slowing the buffer rate
9147 between fakesrc and fakesink.
9149 2006-01-27 Stefan Kost <ensonic@users.sf.net>
9151 * gst/gstelement.c: (gst_element_send_event):
9154 * gst/gstiterator.c:
9155 * gst/gstiterator.h:
9156 * gst/gstpad.c: (gst_pad_send_event):
9157 * gst/gststructure.c:
9161 * libs/gst/base/gstadapter.c:
9162 doc fixes, to link to function, just write gst_cool_function(), don't
9165 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
9167 * plugins/elements/gsttee.c: (gst_tee_do_push),
9168 (gst_tee_handle_buffer):
9169 Always prefer an actual return value from a src
9170 pad in place of NOT_LINKED. This means we return
9171 WRONG_STATE when all src pads are WRONG_STATE
9172 instead of NOT_LINKED.
9174 Lock when replacing the last message to prevent
9175 racing with the get_property method.
9179 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
9181 * tests/check/Makefile.am:
9182 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
9184 Add a very simple check that should have caught the memleak I fixed
9185 last night (if not for the slice allocator hiding it)
9187 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
9189 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9190 (gst_bin_remove_func), (gst_bin_handle_message_func),
9191 (bin_query_duration_fold), (bin_query_generic_fold):
9192 Clean up references to the clock provider when disposed or when
9193 handling a clock-lost message from it.
9195 Unref sinks when performing a query via gst_iterator_fold, as the
9196 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
9198 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
9199 (gst_clock_set_master):
9200 Drop our reference to the master clock, if any, when we are disposed.
9202 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
9203 Chain up in dispose.
9205 2006-01-26 Wim Taymans <wim@fluendo.com>
9207 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9210 2006-01-26 Julien MOUTTE <julien@moutte.net>
9212 * plugins/elements/gsttee.c: (gst_tee_do_push),
9213 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
9214 handles pad being NOT_LINKED or in WRONG_STATE.
9216 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9221 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9224 remove obsolete entry
9226 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9228 * docs/gst/gstreamer-sections.txt:
9229 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
9230 (gst_bin_iterate_sources), (gst_bin_send_event):
9232 * gst/gstelement.c: (gst_element_send_event):
9234 * gst/gstpad.c: (gst_pad_send_event):
9235 added code for downstream events, reviewed docs in gstevent.c
9237 2006-01-25 Julien MOUTTE <julien@moutte.net>
9239 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9240 We only query position using the clock in the playing state.
9241 Query peer in the other cases.
9242 * win32/common/config.h: Updates.
9244 2006-01-24 Wim Taymans <wim@fluendo.com>
9246 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9247 A clock entry that is scheduled for the exact time of the
9248 clock is still in time.
9250 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9251 (gst_base_sink_do_sync):
9252 Add some more debug info.
9254 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
9257 Add new vs7 project files and solution.
9259 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
9262 all files removed as they were out-dated.
9264 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
9266 * docs/random/release:
9268 * gst/gstbin.c: (gst_bin_init):
9269 * gst/gstbus.c: (gst_bus_new):
9271 * gst/gstpipeline.c: (gst_pipeline_init):
9272 use gst_bus_new(), improve logging, fix docs
9273 * win32/common/config.h:
9274 update for cvs build
9276 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
9279 up required version of automake to 1.7
9281 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
9283 * win32/common/libgstreamer.def:
9284 export gst_buffer_is_metadata_writable
9286 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
9288 * docs/gst/gstreamer-sections.txt:
9290 Add gst_event_replace() (#327001)
9292 2006-01-20 Wim Taymans <wim@fluendo.com>
9294 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9295 Make it actually compile too..
9297 2006-01-20 Wim Taymans <wim@fluendo.com>
9300 Clarify behaviour of _is_equal() when passing NULL parameters.
9302 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9304 Cleanups. Don't unref NULL caps.
9305 When setting the same caps, protect caps of the pad with
9307 Use full functionality of _is_equal() when comparing caps.
9309 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
9311 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9312 Don't loop infinitely if there are no buffers to present. Partially
9313 fixes #327197, but collectpads is just broken for reusing elements
9314 to do multiple encodes atm.
9316 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
9318 * tools/gst-inspect.c: (print_element_features):
9319 * tools/gst-xmlinspect.c: (main):
9320 URL_HANDLER is not a plugin feature we can search for in
9323 2006-01-19 Edward Hervey <edward@fluendo.com>
9325 * gst/gstelement.c: (gst_element_pads_activate):
9326 When activating, do src pads first, then sink pads.
9327 When de-activating, do sink pads first, then src pads.
9329 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9331 * docs/gst/gstreamer-sections.txt:
9332 Add gst_index_add_associationv to the docs
9334 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9339 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
9340 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
9341 Do some refactoring. Doesn't actually change functionality,
9342 but makes landing the DRAIN event easier later.
9344 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
9346 * docs/pwg/advanced-scheduling.xml:
9347 Update from 0.9.x to 0.10 API and make example a bit
9350 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9352 * docs/gst/gstreamer-sections.txt:
9353 Add gst_buffer_(is|make)_metadata_writable methods.
9355 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9357 * docs/design/part-sparsestreams.txt:
9358 Update sparse streams doc, hopefully for greater clarity
9360 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
9362 * docs/design/part-events.txt:
9363 Remove mention of FILLER events.
9366 * docs/design/part-sparsestreams.txt:
9367 Write some things about using NEWSEGMENT to keep sparse streams
9370 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
9372 * gst/gstbin.c: (gst_bin_dispose):
9373 Guard gst_object_unref call against a NULL object (dispose
9374 can theoretically be called multiple times).
9376 2006-01-18 Wim Taymans <wim@fluendo.com>
9378 * gst/gstbin.c: (gst_bin_element_set_state):
9379 * gst/gstclock.c: (gst_clock_id_wait):
9380 Added some more debug info.
9382 * libs/gst/base/gstadapter.c:
9385 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9386 (gst_base_sink_do_sync), (gst_base_sink_chain):
9387 Added some comments.
9389 2006-01-18 Wim Taymans <wim@fluendo.com>
9391 * tests/check/Makefile.am:
9392 * tests/check/elements/fakesink.c: (chain_async_buffer),
9393 (chain_async), (chain_async_return), (GST_START_TEST),
9394 (fakesink_suite), (main):
9395 Added fakesink test that checks prerolling and clipping
9398 * tests/check/gst/gstutils.c: (GST_START_TEST):
9399 Make check run faster so that buildbots don't timeout.
9401 2006-01-18 Wim Taymans <wim@fluendo.com>
9403 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9404 (gst_base_sink_do_sync):
9406 When the sink finishes blocking on the preroll buffer, it can
9407 immediatly render it instead of rendering when the next buffer
9410 2006-01-18 Wim Taymans <wim@fluendo.com>
9412 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
9413 (gst_base_sink_get_property), (gst_base_sink_do_sync),
9414 (gst_base_sink_chain):
9416 GST_ELEMENT_CLOCK and sync are protected with LOCK.
9417 Don't store _last_stop if the buffer is dropped.
9419 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
9421 * plugins/elements/gsttypefindelement.c:
9422 (gst_type_find_element_class_init):
9423 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
9424 object method handler that sets the caps on the pad and we want
9425 that to happen before we emit the signal (fixes e.g. feeding a
9426 plain text file to decodebin).
9428 2006-01-18 Christian Schaller <Christian@fluendo.com>
9430 * gst/gstplugin.c: Add MPL and Proprietary as license options
9432 2006-01-18 Andy Wingo <wingo@pobox.com>
9434 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
9435 symbol was exported before, it appears this was just an oversight.
9437 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
9439 * gst/gstindex.c (gst_index_add_associationv): Changed int in
9440 prototype to gint. OK since this prototype was not in the header.
9442 2006-01-17 Andy Wingo <wingo@pobox.com>
9444 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
9445 registry while we remove plugins.
9447 * tools/gst-inspect.c (print_element_info): Don't unref the
9448 factory arg, that should be the responsibility of whatever code
9449 received the ref. Fixes a double-free when called from
9450 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
9451 (main): Unref the factory if we have one.
9452 (print_element_list): No change -- relies on the
9453 plugin_feature_list_free to free the list of features.
9455 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
9457 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9458 (gst_buffer_make_metadata_writable):
9460 * libs/gst/base/gstbasetransform.c:
9461 (gst_base_transform_prepare_output_buf):
9462 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9463 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9464 Replace gst_buffer_(make|is)_metadata_writable patch now
9465 that the release is out.
9467 2006-01-17 Andy Wingo <wingo@pobox.com>
9469 * gst/gstregistry.c: Reflow design comment. Update so as to speak
9470 in the present tense without reference to versions.
9472 * gst/gstregistry.c (gst_registry_add_plugin)
9473 (gst_registry_remove_plugin, gst_registry_remove_feature)
9474 (gst_registry_find_feature, gst_registry_get_feature_list)
9475 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
9476 (gst_registry_lookup, gst_registry_scan_path)
9477 (_gst_registry_remove_cache_plugins)
9478 (gst_registry_get_feature_list_by_plugin): Add argument
9481 === release 0.10.2 ===
9483 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
9486 releasing 0.10.2, "If man is five"
9488 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9492 * libs/gst/base/gstbasetransform.c:
9493 (gst_base_transform_prepare_output_buf):
9494 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9495 * tests/check/gst/gstbuffer.c: (gst_test_suite):
9496 Back out patch until after the release.
9498 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9500 * gst/gstminiobject.c:
9501 Spelling fix in docs.
9502 * ChangeLog - remove conflict indicator
9504 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9506 Reviewed By: Andy Wingo
9508 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9509 (gst_buffer_make_metadata_writable):
9511 Add gst_buffer_(is|make)_metadata_writable as analogues of
9512 gst_buffer_(is|make)_writable.
9514 * libs/gst/base/gstbasetransform.c:
9515 (gst_base_transform_prepare_output_buf):
9516 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9517 Use name gst_buffer_(is|make)_metadata_writable functions.
9519 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9520 Test gst_buffer_(is|make)_metadata_writable
9524 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
9526 * docs/manual/Makefile.am:
9527 don't do parallel make
9530 * win32/common/config.h.in:
9531 add generations for HOST_CPU and GST_MAJORMINOR
9532 * win32/common/config.h:
9533 commit generated result
9535 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
9537 * docs/manual/appendix-integration.xml:
9538 Update GNOME integration section to use gst_init_get_option_group()
9539 instead of the old popt stuff (#322911). Also, GNOME applications
9540 should now use gconf*sink and gconf*src instead of the old gconf
9543 2006-01-13 Stefan Kost <ensonic@users.sf.net>
9546 * docs/gst/gstreamer-docs.sgml:
9547 * docs/gst/gstreamer-sections.txt:
9548 * docs/libs/gstreamer-libs-sections.txt:
9549 add new API entries to the docs
9550 * libs/gst/controller/Makefile.am:
9551 * libs/gst/controller/gstcontroller.c:
9552 * libs/gst/controller/gstcontroller.h:
9553 * libs/gst/controller/gstcontrollerprivate.h:
9554 * libs/gst/controller/gsthelper.c:
9555 * libs/gst/controller/gstinterpolation.c:
9556 move private structs to private header
9558 gstreamer-0.7 -> gstreamer-0.10
9559 * tests/check/libs/struct_i386.h:
9560 remove private structs
9562 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
9564 * plugins/indexers/Makefile.am:
9565 Fixes as part of #317048
9567 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
9569 * plugins/indexers/Makefile.am:
9570 fix #316086 - compilation when mmap is missing
9572 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
9574 * libs/gst/base/gstbasesink.c:
9575 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
9576 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
9577 * win32/common/config.h:
9578 added some defines GST_MAJORMINOR and HOST_CPU
9579 * win32/common/libgstbase.def:
9580 * win32/common/libgstreamer.def:
9581 added some exported functions.
9583 2006-01-12 Stefan Kost <ensonic@users.sf.net>
9585 * libs/gst/controller/gstcontroller.c:
9586 (gst_controlled_property_set_interpolation_mode),
9587 (gst_controlled_property_new):
9588 * libs/gst/controller/gstcontroller.h:
9589 * libs/gst/controller/gstinterpolation.c:
9590 (interpolate_none_get_string_value_array):
9591 make G_TYPE_STRING controlable
9593 2006-01-12 Stefan Kost <ensonic@users.sf.net>
9596 * tools/gst-feedback.1.in:
9597 * tools/gst-inspect.1.in:
9598 * tools/gst-launch.1.in:
9599 * tools/gst-md5sum.1.in:
9600 * tools/gst-typefind.1.in:
9601 * tools/gst-xmlinspect.1.in:
9602 * tools/gst-xmllaunch.1.in:
9603 cleanup man-pages, remove reference to gst-register, document env-vars
9605 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
9607 * gst/gstbuffer.c: (gst_buffer_span):
9608 gst_buffer_span should copy the timestamp of the first buffer
9609 if they were both originally overlapping subbuffers of the
9610 same parent, using the same logic as the 'slow copy' case.
9612 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
9614 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
9615 Need to awaken ALL the pads when we pop a buffer, otherwise
9616 collectpads only works when there is 2 input streams.
9618 2006-01-11 Stefan Kost <ensonic@users.sf.net>
9620 * docs/random/ensonic/media-device-daemon.txt:
9623 fix doc example, add clarification
9624 * tools/gst-launch.1.in:
9625 add initial info about GST_PLUGIN_PATH, needs more work
9627 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
9629 * docs/manual/basics-bins.xml:
9630 * docs/manual/basics-elements.xml:
9631 * docs/manual/intro-basics.xml:
9632 Some more minor docs additions and updates.
9634 2006-01-11 Wim Taymans <wim@fluendo.com>
9636 * docs/manual/basics-bins.xml:
9637 * docs/manual/basics-elements.xml:
9638 Some small fixes as pointed out by Ser-ver on IRC.
9640 2006-01-10 Edward Hervey <edward@fluendo.com>
9642 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9643 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9644 the single-segment mode.
9646 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
9648 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9650 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9651 (gst_base_src_perform_seek), (gst_base_src_send_event),
9652 (gst_base_src_set_property), (gst_base_src_get_property),
9653 (gst_base_src_loop), (gst_base_src_start),
9654 (gst_base_src_activate_push):
9655 * libs/gst/base/gstbasesrc.h:
9656 Name (private) union; makes Sun's Forte compiler happy (#324900).
9658 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
9661 gst-register is gone.
9663 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
9665 * gst/gstvalue.c: (_gst_value_initialize):
9666 make the G_TYPE_DATE instantiation work if debug is disabled
9668 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
9670 * gst/gstmessage.c: (gst_message_parse_tag),
9671 (gst_message_parse_error), (gst_message_parse_warning):
9672 Don't crash when return location for error/warning debug
9673 string is NULL; add fact that return locations can be
9674 NULL to docs where appropriate.
9676 2006-01-05 Wim Taymans <wim@fluendo.com>
9678 * gst/gstplugin.c: (gst_plugin_load_file):
9679 Replace strdup by g_strdup.
9681 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9683 * docs/pwg/advanced-types.xml:
9686 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9688 submitted by: Abel Cheung
9692 Added Chinese (traditional) translation
9694 2006-01-04 Wim Taymans <wim@fluendo.com>
9696 * docs/manual/basics-pads.xml:
9697 * docs/plugins/Makefile.am:
9698 * docs/plugins/gstreamer-plugins-docs.sgml:
9699 * docs/plugins/gstreamer-plugins-sections.txt:
9700 * docs/pwg/advanced-clock.xml:
9701 * docs/pwg/advanced-scheduling.xml:
9702 * docs/pwg/advanced-types.xml:
9703 * plugins/elements/gstfdsink.c:
9704 * plugins/elements/gstfdsrc.c:
9705 * plugins/elements/gstfdsrc.h:
9706 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9707 * plugins/elements/gstidentity.h:
9708 * plugins/elements/gstqueue.h:
9709 * plugins/elements/gsttee.c:
9710 * plugins/elements/gsttee.h:
9711 * plugins/elements/gsttypefindelement.c:
9712 (gst_type_find_element_class_init):
9713 * plugins/elements/gsttypefindelement.h:
9714 Small updates to various docs.
9715 Added core plugins to docs.
9717 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9720 add a suppression for liboil's uninitialized variable
9722 2006-01-02 James Livingston <jrl at ids dot org dot au>
9724 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9727 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9728 macro, so that gcc doesn't complain if the -Wmissing-prototypes
9729 compiler switch is being used (#325429).
9731 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
9733 * gst/gstbin.c: (gst_bin_query):
9734 Disable duration query caching in bins until it gets
9735 fixed (see #324807).
9737 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9739 * tools/gst-inspect.c: (print_element_properties_info):
9740 Handle properties of POINTER and BOXED type.
9742 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9744 * gst/gst.c: (init_post):
9745 Init tags stuff and some other things before loading
9746 any static plugins (there may be other static plugins
9747 than just the GStreamer ones, and they may want to
9748 register their own tags or formats or whatever, and
9749 preferably without segfaulting).
9751 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9752 Print at least a warning in the debug logs if we drop a
9753 query just because we don't know how to adjust the value
9754 in the particular format.
9756 2005-12-24 David Schleef <ds@schleef.org>
9758 * tools/gstreamer-completion:
9759 Replacement for gst-complete written in sh and sed. Only
9760 completes names of features, but that's 90% of what I want
9761 it for. Properties are not available in registry.xml. (Maybe
9764 === release 0.10.1 ===
9766 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
9769 releasing 0.10.1, "Nollaig chridheil"
9771 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
9774 Add missing quote, should be make ERROR_CFLAGS="".
9776 2005-12-20 Wim Taymans <wim@fluendo.com>
9778 * docs/design/part-trickmodes.txt:
9779 More documentation on trickmodes.
9781 2005-12-20 Edward Hervey <edward@fluendo.com>
9783 * gst/gstcaps.c: (gst_static_caps_get_type):
9785 API addition: GST_TYPE_STATIC_CAPS
9786 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9787 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9788 * gst/gstpadtemplate.h:
9789 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9790 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9793 2005-12-18 Wim Taymans <wim@fluendo.com>
9795 * libs/gst/base/gstadapter.c:
9796 * libs/gst/base/gstadapter.h:
9797 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9798 (gst_base_sink_get_position):
9799 * libs/gst/base/gstbasesink.h:
9800 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9801 (gst_base_src_default_query), (gst_base_src_default_do_seek),
9802 (gst_base_src_do_seek), (gst_base_src_perform_seek),
9803 (gst_base_src_send_event), (gst_base_src_update_length),
9804 (gst_base_src_get_range), (gst_base_src_loop),
9805 (gst_base_src_start):
9806 * libs/gst/base/gstbasesrc.h:
9807 * libs/gst/base/gstbasetransform.h:
9808 * libs/gst/base/gstcollectpads.h:
9809 * libs/gst/base/gstpushsrc.c:
9810 * libs/gst/base/gstpushsrc.h:
9811 * libs/gst/dataprotocol/dataprotocol.c:
9812 * libs/gst/dataprotocol/dataprotocol.h:
9813 * libs/gst/net/gstnetclientclock.h:
9814 * libs/gst/net/gstnettimeprovider.h:
9815 Documentation updates.
9817 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
9819 * docs/manual/basics-helloworld.xml:
9820 Remove superfluous closing bracket in helloworld example.
9822 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
9824 * tools/gst-launch.1.in:
9825 Update gst-launch man page; add a section with useful
9826 environment variables. Fixes #323882.
9828 2005-12-16 Stefan Kost <ensonic@users.sf.net>
9831 * gst/gst_private.h:
9832 change some char* into char[]
9834 2005-12-16 Wim Taymans <wim@fluendo.com>
9836 * gst/gstregistryxml.c: (load_feature):
9838 Don't use g_object_unref on GstObjects so that we avoid
9839 leaks on unsafe glibs.
9841 2005-12-16 Wim Taymans <wim@fluendo.com>
9843 * gst/gstbin.c: (gst_bin_recalc_state):
9846 2005-12-16 Wim Taymans <wim@fluendo.com>
9849 Added make forever target for check.
9851 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
9853 * gst/gst.c: (init_post):
9854 make the registry cache file HOST_CPU-dependent
9856 2005-12-16 Andy Wingo <wingo@pobox.com>
9858 * plugins/elements/gstbufferstore.c
9859 (gst_buffer_store_cleared_func): Pay attention to g_list_append
9862 * tests/check/gst/gstobject.c
9863 (test_fake_object_name_threaded_unique): Pay attention to
9864 g_list_sort return value.
9866 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
9868 * tools/gst-feedback-m.m:
9869 Update for 0.9/0.10 (fixes #323870).
9871 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
9873 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9874 Fix lcopy for mini objects, the mini object needs to be ref'ed.
9876 * tests/check/gst/gstminiobject.c: (my_foo_init),
9877 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9878 (test_value_collection), (gst_mini_object_suite):
9879 Add test to ensure refcounts end up as expected when passing
9880 GstMiniObjects through g_object_get() and g_object_set().
9882 2005-12-14 Julien MOUTTE <julien@moutte.net>
9884 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9885 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9886 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9887 of collectpads. This version removes a lot of races without
9888 touching API/ABI. Yay !
9890 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
9892 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9893 Don't allow activation of a srcpad in pull_range if it has no
9895 Change some debug statements to be a little clearer
9897 * plugins/elements/gsttypefindelement.c:
9898 (gst_type_find_handle_src_query):
9899 Check that we have a peer before executing queries thereupon.
9901 * tests/examples/metadata/read-metadata.c: (message_loop):
9902 Use gst_bus_pop instead of gst_bus_poll when we just want it to
9903 immediately return us any available message with 0 timeout.
9905 2005-12-12 Michael Smith <msmith@fluendo.com>
9907 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9908 Don't unref factories after calling them.
9909 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9910 * plugins/elements/gsttypefindelement.c:
9911 (gst_type_find_element_chain):
9912 Free lists of factories after using them. Fixing typefinding memory
9915 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9917 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9918 (gst_plugin_feature_load):
9919 more meaningful debug output
9921 * tests/Makefile.am:
9922 * tests/old/examples/Makefile.am:
9923 make make distcheck happy again
9925 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9927 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9928 Catch the special case where we are operating chain-based,
9929 but the downstream peer pad has no chain function. Emit a
9930 custom error message in this case instead of letting the
9931 core generate one implying that this is some sort of core
9932 bug. It's not, it just means that whatever got plugged
9933 into the pipeline downstream when we announced the type
9934 can only operate pull-based, while our source can only
9935 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9936 Error string has not been marked for translation yet, as
9937 it probably needs some more work first.
9939 (gst_type_find_element_get_best_possibility):
9940 Add helper function to find the best of all available
9941 found possibilities that qualify given the min. threshold.
9943 (gst_type_find_element_handle_event):
9944 Fix the case where we get an EOS while still in TYPEFIND
9945 mode (we want to chose the best of all possible types,
9946 not just the first type that happens to be in our unsorted
9947 list of possible types).
9949 (gst_type_find_element_chain):
9950 Make sure we return GST_FLOW_ERROR when we errored out
9951 in stop_typefinding(); also, don't just find the best of
9952 all found type entries and then use the last examined
9953 type entry, but actually use the best entry.
9955 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9957 * tests/examples/typefind/typefind.c: (type_found):
9958 * tests/examples/xml/runxml.c: (xml_loaded):
9959 More gcc4 fixes and a mem leak fix.
9961 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9963 * tests/examples/xml/createxml.c: (object_saved):
9966 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9968 * tests/Makefile.am:
9969 enable the examples even more
9971 2005-12-12 Andy Wingo <wingo@pobox.com>
9973 * libs/gst/net/gstnettimeprovider.c
9974 (gst_net_time_provider_class_init, gst_net_time_provider_init)
9975 (gst_net_time_provider_set_property)
9976 (gst_net_time_provider_get_property):
9977 API addition: Export "active" as a GObject property.
9978 (gst_net_time_provider_thread): Only respond to time queries if
9979 the time provider is active.
9981 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9982 NetTimeProvider, preserving binary compat.
9984 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9986 * tests/examples/controller/audio-example.c: (main):
9987 * tests/examples/launch/Makefile.am:
9988 convert comments again
9990 2005-12-12 Wim Taymans <wim@fluendo.com>
9992 * libs/gst/base/gstpushsrc.c:
9995 2005-12-12 Wim Taymans <wim@fluendo.com>
9997 * docs/libs/gstreamer-libs-sections.txt:
9998 Added new symbol to docs.
10000 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10001 (gst_base_src_init), (gst_base_src_set_format),
10002 (gst_base_src_default_query), (gst_base_src_query),
10003 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
10004 (gst_base_src_perform_seek), (gst_base_src_send_event),
10005 (gst_base_src_default_event), (gst_base_src_event_handler),
10006 (gst_base_src_set_property), (gst_base_src_get_property),
10007 (gst_base_src_wait), (gst_base_src_do_sync),
10008 (gst_base_src_update_length), (gst_base_src_get_range),
10009 (gst_base_src_check_get_range), (gst_base_src_loop),
10010 (gst_base_src_default_negotiate), (gst_base_src_start),
10011 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10012 (gst_base_src_change_state):
10013 * libs/gst/base/gstbasesrc.h:
10014 Implement seeking to other formats than _BYTES.
10015 Implement more seeking methods correctly.
10017 Added query vmethod.
10018 Added do_seek vmethod to make life easier for subclasses
10020 API addition: gst_base_src_set_format()
10022 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10024 * tests/examples/Makefile.am:
10027 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10030 * docs/random/ensonic/media-device-daemon.txt:
10031 * tests/examples/controller/.cvsignore:
10032 * tests/examples/controller/Makefile.am:
10033 * tests/examples/controller/audio-example.c: (main):
10034 * tests/examples/helloworld/.cvsignore:
10035 * tests/examples/helloworld/Makefile.am:
10036 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
10037 * tests/examples/launch/.cvsignore:
10038 * tests/examples/launch/Makefile.am:
10039 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
10040 * tests/examples/metadata/.cvsignore:
10041 * tests/examples/metadata/Makefile.am:
10042 * tests/examples/metadata/read-metadata.c: (message_loop),
10043 (make_pipeline), (print_tag), (main):
10044 * tests/examples/queue/.cvsignore:
10045 * tests/examples/queue/Makefile.am:
10046 * tests/examples/queue/queue.c: (event_loop), (main):
10047 * tests/examples/typefind/.cvsignore:
10048 * tests/examples/typefind/Makefile.am:
10049 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
10051 * tests/examples/xml/.cvsignore:
10052 * tests/examples/xml/Makefile.am:
10053 * tests/examples/xml/createxml.c: (object_saved), (main):
10054 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
10055 * tests/old/examples/Makefile.am:
10056 * tests/old/examples/TODO:
10057 * tests/old/examples/controller/.cvsignore:
10058 * tests/old/examples/controller/Makefile.am:
10059 * tests/old/examples/controller/audio-example.c:
10060 * tests/old/examples/helloworld/.cvsignore:
10061 * tests/old/examples/helloworld/Makefile.am:
10062 * tests/old/examples/helloworld/helloworld.c:
10063 * tests/old/examples/launch/.cvsignore:
10064 * tests/old/examples/launch/Makefile.am:
10065 * tests/old/examples/launch/mp3parselaunch.c:
10066 * tests/old/examples/launch/mp3play:
10067 * tests/old/examples/manual/Makefile.am:
10068 * tests/old/examples/metadata/Makefile.am:
10069 * tests/old/examples/metadata/read-metadata.c:
10070 * tests/old/examples/queue/.cvsignore:
10071 * tests/old/examples/queue/Makefile.am:
10072 * tests/old/examples/queue/queue.c:
10073 * tests/old/examples/typefind/.cvsignore:
10074 * tests/old/examples/typefind/Makefile.am:
10075 * tests/old/examples/typefind/typefind.c:
10076 * tests/old/examples/xml/.cvsignore:
10077 * tests/old/examples/xml/Makefile.am:
10078 * tests/old/examples/xml/createxml.c:
10079 * tests/old/examples/xml/runxml.c:
10080 applied some simple fixing to some examples
10081 re-enabled the working examples
10083 2005-12-12 Wim Taymans <wim@fluendo.com>
10085 * gst/gstsegment.c: (gst_segment_init),
10086 (gst_segment_set_last_stop), (gst_segment_set_seek),
10087 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
10088 (gst_segment_to_running_time):
10089 Added more documentation.
10090 Make sure the last_pos value is updated properly.
10091 Make sure to_stream_time and to_running_time don't
10092 operate on wrong values.
10094 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10097 2005-12-12 Michael Smith <msmith@fluendo.com>
10099 * plugins/elements/gsttypefindelement.c: (free_entry),
10100 (gst_type_find_element_chain):
10101 Now that we're not leaking factories, make sure we keep references
10102 to them while we need them.
10104 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
10106 * tests/check/gst/struct_i386.h:
10107 ifdef out the XML structs
10109 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
10111 * gst/gstvalue.c: (gst_value_transform_double_fraction):
10112 floor is not needed, F is always positive; this obviates the
10113 need for adding -lm when building without libxml
10115 2005-12-12 Wim Taymans <wim@fluendo.com>
10117 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10118 Take current playback rate into account when reporting
10121 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10123 * docs/manual/mime-world.fig:
10124 Let's try this again, this time with a file that is
10125 actually in XFig format.
10127 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10129 * docs/manual/mime-world.fig:
10130 Add audioconvert element to diagram so that it
10131 matches the text and the code (fixes #319526).
10133 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10135 * docs/pwg/building-chainfn.xml:
10136 * docs/pwg/building-pads.xml:
10137 * docs/pwg/building-state.xml:
10138 * docs/pwg/other-source.xml:
10139 Update state change stuff for 0.10 (fixes #322969).
10141 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10143 * docs/manual/advanced-dataaccess.xml:
10144 * docs/manual/appendix-checklist.xml:
10145 * docs/manual/appendix-programs.xml:
10146 * docs/manual/basics-pads.xml:
10147 * docs/manual/highlevel-components.xml:
10148 * docs/manual/manual.xml:
10149 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
10150 add converters in front of pipelines; remove curly
10151 brackets for threads stuff, they no longer exist; use
10152 GST_TYPE_FRACTION for framerates; update some pieces of
10153 code to 0.10, but there's plenty more to do.
10155 * docs/manual/appendix-porting.xml:
10156 Expand on asynchroneous state changes; s/0.9/0.10/;
10157 mention disappearance of gst_init_get_popt_table()
10160 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10162 * docs/faq/using.xml:
10163 Spider no longer exists, and neither does gst-launch-ext.
10164 Update examples to use decodebin and playbin and put
10165 converters in front of sinks (fixes #323726).
10167 2005-12-09 Michael Smith <msmith@fluendo.com>
10169 * plugins/elements/gsttypefindelement.c: (find_peek),
10170 (gst_type_find_element_chain):
10171 Fix leaking element factories in typefinding.
10172 Fix problem where we forgot about a probable type on non-seekable
10173 files, and thus later mis-typefound it.
10175 2005-12-09 Michael Smith <msmith@fluendo.com>
10177 * common/m4/gst-makecontext.m4:
10178 * common/m4/gst-mcsc.m4:
10180 * win32/common/config.h:
10181 * win32/common/config.h.in:
10182 Remove makecontext stuff; not used in 0.10 and causes problems on
10183 HPUX according to bug #322441
10185 2005-12-07 Wim Taymans <wim@fluendo.com>
10187 * tests/check/Makefile.am:
10188 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
10190 * tests/check/libs/struct_i386.h:
10191 Added ABI check for libs
10193 2005-12-07 Wim Taymans <wim@fluendo.com>
10195 * tests/check/Makefile.am:
10196 And add the struct_i386.h to dist.
10198 2005-12-07 Wim Taymans <wim@fluendo.com>
10200 * tests/check/Makefile.am:
10201 * tests/check/gst/.cvsignore:
10202 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
10204 * tests/check/gst/struct_i386.h:
10205 Added check for ABI compatibility.
10207 2005-12-07 Wim Taymans <wim@fluendo.com>
10209 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10210 (gst_fake_src_get_times), (gst_fake_src_create):
10211 Fix broken sync option, fixes #323259
10213 2005-12-07 Wim Taymans <wim@fluendo.com>
10218 * gst/gstcaps.c: (gst_caps_is_equal):
10219 Don't assert on NULL <--> X. Fixes #323260
10221 * gst/gstminiobject.c: (gst_mini_object_replace):
10222 If we're doing atomic operations, we might just as well use
10223 the proper way to get an atomic pointer.
10225 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10226 Clean up debugging.
10228 2005-12-07 Michael Smith <msmith@fluendo.com>
10230 * gst/parse/grammar.y:
10231 Remove handling of { } for threads.
10233 2005-12-06 David Schleef <ds@schleef.org>
10235 * libs/gst/base/gstbasetransform.c: speling fix.
10237 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
10239 * docs/libs/tmpl/gstdataprotocol.sgml:
10240 * docs/random/omega/testing/gstobject.c:
10243 * gst/gstelement.c:
10244 * gst/gstelementfactory.c:
10247 * gst/gstghostpad.c:
10249 * gst/gstpadtemplate.c:
10250 * gst/gstregistryxml.c:
10251 * gst/gsttaglist.c:
10252 * gst/gsttagsetter.c:
10253 * gst/gsttypefind.c:
10255 * libs/gst/base/gstbasesrc.c:
10256 * libs/gst/net/gstnetclientclock.c:
10257 * libs/gst/net/gstnettimeprovider.c:
10258 * plugins/elements/gstfakesrc.c:
10259 * plugins/elements/gstfdsrc.c:
10260 * plugins/elements/gstfilesrc.c:
10261 * plugins/elements/gstidentity.c:
10262 * plugins/elements/gstqueue.c:
10263 * plugins/elements/gsttypefindelement.c:
10264 * plugins/indexers/gstfileindex.c:
10265 * plugins/indexers/gstmemindex.c:
10266 * tests/check/gst/gsttag.c:
10267 * tests/old/examples/cutter/cutter.c:
10268 * tests/old/examples/mixer/mixer.c:
10269 * tests/old/examples/xml/runxml.c: (main):
10270 * tests/old/testsuite/caps/normalisation.c:
10271 * tests/old/testsuite/debug/global.c:
10272 * tests/old/testsuite/parse/parse1.c:
10273 * tools/gst-xmlinspect.c:
10274 * win32/common/dirent.c:
10277 === release 0.10.0 ===
10279 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10282 releasing 0.10.0, "Maroilles"
10284 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10286 submitted by: Funda Wang <fundawang@linux.net.cn>
10290 added Chinese (Traditional) translation
10292 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10294 * docs/gst/gstreamer-sections.txt:
10295 * docs/libs/tmpl/gstdataprotocol.sgml:
10296 * docs/random/thomasvs/TODO:
10301 2005-12-05 Andy Wingo <wingo@pobox.com>
10303 patch by: Wim Taymans <wim@fluendo.com>
10305 * libs/gst/base/gstbasetransform.c
10306 (gst_base_transform_prepare_output_buf)
10307 (gst_base_transform_buffer_alloc):
10308 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
10309 alloc_buffer_and_set_caps.
10311 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
10312 set_caps on the source pad.
10313 (gst_pad_alloc_buffer_and_set_caps): New function, does what
10314 alloc_buffer used to do. Fixes #322874.
10316 * docs/gst/gstreamer-sections.txt:
10317 * docs/design/part-negotiation.txt:
10318 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
10321 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10323 patch by: Sebastien Moutte
10326 * win32/common/config.h.in:
10327 * win32/vs6/libgstcontroller.dsp:
10330 2005-12-05 Wim Taymans <wim@fluendo.com>
10332 * gst/gstcaps.c: (gst_caps_is_equal):
10333 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10334 (gst_fake_src_create):
10335 Back out previous code changes, leave doc updates, file bugs
10338 2005-12-05 Wim Taymans <wim@fluendo.com>
10340 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10341 (gst_fake_src_get_times), (gst_fake_src_create):
10342 * plugins/elements/gstfakesrc.h:
10343 Fix broken sync code.
10345 2005-12-05 Wim Taymans <wim@fluendo.com>
10347 * gst/gstcaps.c: (gst_caps_is_equal):
10348 Comparing NULL against !NULL yields different caps, not a
10351 2005-12-05 Wim Taymans <wim@fluendo.com>
10353 * gst/gstpipeline.c:
10354 Fix small typo in docs.
10356 2005-12-05 Andy Wingo <wingo@pobox.com>
10358 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
10360 * gst/gst.c (init_post): remove hard-coded 0.9 location for
10361 registries/plugins with a MAJORMINOR one.
10362 (plugin_desc): Rename library from gstcoreleements to
10363 staticelements. Fixes #323222.
10365 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
10367 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
10368 Change debug category to 'collectpads' from 'collect_pads'
10371 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
10373 patch by: Sebastien Moutte
10375 * libs/gst/controller/gstinterpolation.c:
10376 use convert function for uint64/double
10377 * win32/vs6/libgstcontroller.dsp:
10380 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
10382 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
10383 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
10385 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10386 add tests that seem to show that the guint64/gdouble conversions
10389 2005-12-02 Wim Taymans <wim@fluendo.com>
10391 * gst/gstregistry.c: (gst_registry_add_path):
10392 * gst/gstregistry.h:
10393 * gst/gstregistryxml.c:
10396 2005-12-02 Wim Taymans <wim@fluendo.com>
10398 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10399 (gst_util_uint64_scale_int):
10402 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10403 Add debug log line.
10405 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
10408 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
10411 * win32/common/config.h:
10412 * win32/vs6/gstreamer.dsw:
10413 * win32/vs6/libgstcoreelements.dsp:
10414 * win32/vs6/libgstelements.dsp:
10415 renamed core elements plugin
10417 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
10419 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
10421 do piece-wise major/minor comparison so 0.9 < 0.10
10422 also allow .exe extensions for tools
10424 2005-12-02 Michael Smith <msmith@fluendo.com>
10427 Escape a % to make gtkdoc happier; bug 322958.
10429 === release 0.9.7 ===
10431 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10434 releasing 0.9.7, "My Dog Has No Nose"
10436 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10438 * common/gst-xmlinspect.py:
10440 * docs/libs/tmpl/gstdataprotocol.sgml:
10441 * docs/random/release:
10460 * win32/common/config.h:
10461 * win32/common/config.h.in:
10462 * win32/vs6/gst_inspect.dsp:
10463 * win32/vs6/gst_launch.dsp:
10464 * win32/vs6/libgstbase.dsp:
10465 * win32/vs6/libgstelements.dsp:
10466 * win32/vs6/libgstreamer.dsp:
10467 * win32/vs7/GStreamer.vcproj:
10468 * win32/vs7/gst-inspect.vcproj:
10469 * win32/vs7/gst-launch.vcproj:
10470 * win32/vs7/libgstbase.vcproj:
10471 bump GST_MAJORMINOR to 0.10
10472 reset libtool version
10474 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10478 Added Bulgarian translation by (Alexander Shopov)
10480 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10482 * tests/check/gst/gstplugin.c:
10485 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10487 * common/gst-xmlinspect.py:
10488 * common/gtk-doc-plugins.mak:
10490 * docs/Makefile.am:
10491 * docs/gst/Makefile.am:
10492 * docs/gst/gstreamer-docs.sgml:
10493 * docs/gst/gstreamer-sections.txt:
10494 * docs/gst/gstreamer.types:
10495 * docs/gst/gstreamer.types.in:
10496 * docs/plugins/Makefile.am:
10497 * docs/plugins/gstreamer-plugins-docs.sgml:
10498 * docs/plugins/gstreamer-plugins-sections.txt:
10499 * docs/plugins/gstreamer-plugins.types:
10500 * docs/plugins/inspect.stamp:
10501 * docs/plugins/inspect/plugin-coreelements.xml:
10502 * docs/plugins/inspect/plugin-coreindexers.xml:
10503 * docs/plugins/scanobj-build.stamp:
10504 * gstreamer.spec.in:
10505 * plugins/elements/Makefile.am:
10506 * plugins/elements/gstelements.c:
10507 * plugins/elements/gstfakesink.c:
10508 * plugins/elements/gstfakesrc.c:
10509 * plugins/elements/gstfilesink.c:
10510 * plugins/elements/gstfilesrc.c:
10511 * plugins/elements/gstqueue.c:
10512 * plugins/indexers/Makefile.am:
10513 * plugins/indexers/gstindexers.c:
10514 document core plugins in a separate document just like all the
10516 rename these plugins to something starting with core
10518 2005-12-01 Andy Wingo <wingo@pobox.com>
10520 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
10521 padding here before, but it missed the commit.
10523 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10525 * libs/gst/controller/gstinterpolation.c:
10526 whitespace prices have crashed, we should feel free to use some now
10527 use gst_guint64_to_gdouble
10529 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10531 * libs/gst/controller/gstcontroller.c:
10532 * libs/gst/controller/gsthelper.c:
10533 * libs/gst/controller/gstinterpolation.c:
10534 * libs/gst/controller/lib.c:
10535 wrap config.h include
10537 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10539 * docs/gst/gstreamer-sections.txt:
10542 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10544 * plugins/elements/gstelements.c:
10545 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
10546 (gst_fd_sink__class_init), (gst_fd_sink__init),
10547 (gst_fd_sink__chain), (gst_fd_sink__set_property),
10548 (gst_fd_sink__get_property):
10549 * plugins/elements/gstfdsink.h:
10550 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
10551 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
10552 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
10553 (gst_fd_src_unlock), (gst_fd_src_set_property),
10554 (gst_fd_src_get_property), (gst_fd_src_create),
10555 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
10556 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
10557 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
10558 (gst_fd_src_uri_handler_init):
10559 * plugins/elements/gstfdsrc.h:
10560 * plugins/elements/gstqueue.c: (gst_queue_get_type):
10563 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10565 * docs/gst/Makefile.am:
10566 * docs/gst/gstreamer.types.in:
10570 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10576 * gst/gstregistry.h:
10577 * tests/benchmarks/complexity.c:
10578 * tests/benchmarks/mass-elements.c:
10579 * tests/check/Makefile.am:
10580 * tools/Makefile.am:
10581 * tools/gst-inspect.c:
10582 * tools/gst-xmlinspect.c:
10583 various fixes to make
10584 --disable-nls --disable-registry --disable-loadsave
10585 --disable-parse --disable-gst-debug
10586 work and get the core .so down to 360444 bytes after stripping
10588 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10593 * docs/random/thomasvs/TODO:
10594 * tests/Makefile.am:
10598 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10600 * win32/GStreamer.vcproj:
10603 * win32/Makefile.inspect:
10604 * win32/Makefile.launch:
10605 * win32/Makefile.register:
10606 * win32/README.txt:
10607 * win32/gst-inspect.vcproj:
10608 * win32/gst-launch.vcproj:
10609 * win32/gst-register.vcproj:
10610 * win32/gstelements.vcproj:
10611 * win32/gstgetbits.def:
10612 * win32/gstgetbits.vcproj:
10613 * win32/gstreamer-dbg.def:
10614 * win32/gstreamer.def:
10615 * win32/libgstbase.def:
10616 * win32/libgstbase.vcproj:
10617 * win32/link_oldruntime.c:
10621 * win32/msvc71.sln:
10622 move even more stuff, win32/ is nice and clean now
10624 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10626 * libs/gst/control/.cvsignore:
10631 * win32/gstbytestream.def:
10632 * win32/gstbytestream.vcproj:
10633 * win32/gstconfig.h:
10634 * win32/gstenumtypes.c:
10635 * win32/gstenumtypes.h:
10636 * win32/gstoptimalscheduler.vcproj:
10637 * win32/gstversion.h:
10639 * win32/testsuite/bins.vcproj:
10640 * win32/testsuite/bytestream.vcproj:
10641 * win32/testsuite/caps.vcproj:
10642 * win32/testsuite/cleanup.vcproj:
10643 * win32/testsuite/clock.vcproj:
10644 * win32/testsuite/debug.vcproj:
10645 * win32/testsuite/dlopen.vcproj:
10646 * win32/testsuite/dynparams.vcproj:
10647 * win32/testsuite/elements.vcproj:
10648 * win32/testsuite/ghostpads.vcproj:
10649 * win32/testsuite/indexers.vcproj:
10650 * win32/testsuite/negotiation.vcproj:
10651 * win32/testsuite/parse.vcproj:
10652 * win32/testsuite/plugin.vcproj:
10653 * win32/testsuite/refcounting.vcproj:
10654 * win32/testsuite/schedulers.vcproj:
10655 * win32/testsuite/states.vcproj:
10656 * win32/testsuite/tags.vcproj:
10657 * win32/testsuite/threads.vcproj:
10658 remove old win32 stuff that isn't maintained and should be
10661 2005-11-30 Andy Wingo <wingo@pobox.com>
10663 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10664 loading the gst.interfaces python module bork.
10666 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10667 available since GLib 2.2. Fixes #318031.
10669 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10672 * check/.cvsignore:
10673 * check/Makefile.am:
10674 * check/elements/.cvsignore:
10675 * check/elements/fakesrc.c:
10676 * check/elements/fdsrc.c:
10677 * check/elements/identity.c:
10678 * check/generic/.cvsignore:
10679 * check/generic/states.c:
10680 * check/gst-libs/.cvsignore:
10681 * check/gst-libs/controller.c:
10682 * check/gst-libs/gdp.c:
10683 * check/gst/.cvsignore:
10684 * check/gst/capslist.h:
10686 * check/gst/gstbin.c:
10687 * check/gst/gstbuffer.c:
10688 * check/gst/gstbus.c:
10689 * check/gst/gstcaps.c:
10690 * check/gst/gstelement.c:
10691 * check/gst/gstevent.c:
10692 * check/gst/gstghostpad.c:
10693 * check/gst/gstiterator.c:
10694 * check/gst/gstmessage.c:
10695 * check/gst/gstminiobject.c:
10696 * check/gst/gstobject.c:
10697 * check/gst/gstpad.c:
10698 * check/gst/gstpipeline.c:
10699 * check/gst/gstplugin.c:
10700 * check/gst/gstsegment.c:
10701 * check/gst/gststructure.c:
10702 * check/gst/gstsystemclock.c:
10703 * check/gst/gsttag.c:
10704 * check/gst/gstutils.c:
10705 * check/gst/gstvalue.c:
10706 * check/net/.cvsignore:
10707 * check/net/gstnetclientclock.c:
10708 * check/net/gstnettimeprovider.c:
10709 * check/pipelines/.cvsignore:
10710 * check/pipelines/cleanup.c:
10711 * check/pipelines/simple_launch_lines.c:
10712 * check/pipelines/stress.c:
10713 * check/states/.cvsignore:
10714 * check/states/sinks.c:
10716 * examples/Makefile.am:
10717 * examples/appreader/.cvsignore:
10718 * examples/appreader/Makefile.am:
10719 * examples/appreader/appreader.c:
10720 * examples/controller/.cvsignore:
10721 * examples/controller/Makefile.am:
10722 * examples/controller/audio-example.c:
10723 * examples/cutter/.cvsignore:
10724 * examples/cutter/Makefile.am:
10725 * examples/cutter/cutter.c:
10726 * examples/cutter/cutter.h:
10727 * examples/events/Makefile.am:
10728 * examples/events/seek.c:
10729 * examples/helloworld/.cvsignore:
10730 * examples/helloworld/Makefile.am:
10731 * examples/helloworld/helloworld.c:
10732 * examples/helloworld2/.cvsignore:
10733 * examples/helloworld2/Makefile.am:
10734 * examples/helloworld2/helloworld2.c:
10735 * examples/launch/.cvsignore:
10736 * examples/launch/Makefile.am:
10737 * examples/launch/mp3parselaunch.c:
10738 * examples/launch/mp3play:
10739 * examples/manual/.cvsignore:
10740 * examples/manual/Makefile.am:
10741 * examples/manual/extract.pl:
10742 * examples/metadata/Makefile.am:
10743 * examples/metadata/read-metadata.c:
10744 * examples/mixer/.cvsignore:
10745 * examples/mixer/Makefile.am:
10746 * examples/mixer/mixer.c:
10747 * examples/mixer/mixer.h:
10748 * examples/pingpong/.cvsignore:
10749 * examples/pingpong/Makefile.am:
10750 * examples/pingpong/pingpong.c:
10751 * examples/plugins/.cvsignore:
10752 * examples/plugins/Makefile.am:
10753 * examples/plugins/example.c:
10754 * examples/plugins/example.h:
10755 * examples/pwg/.cvsignore:
10756 * examples/pwg/Makefile.am:
10757 * examples/pwg/extract.pl:
10758 * examples/queue/.cvsignore:
10759 * examples/queue/Makefile.am:
10760 * examples/queue/queue.c:
10761 * examples/queue2/.cvsignore:
10762 * examples/queue2/Makefile.am:
10763 * examples/queue2/queue2.c:
10764 * examples/queue3/.cvsignore:
10765 * examples/queue3/Makefile.am:
10766 * examples/queue3/queue3.c:
10767 * examples/queue4/.cvsignore:
10768 * examples/queue4/Makefile.am:
10769 * examples/queue4/queue4.c:
10770 * examples/retag/.cvsignore:
10771 * examples/retag/Makefile.am:
10772 * examples/retag/retag.c:
10773 * examples/retag/transcode.c:
10774 * examples/thread/.cvsignore:
10775 * examples/thread/Makefile.am:
10776 * examples/thread/thread.c:
10777 * examples/typefind/.cvsignore:
10778 * examples/typefind/Makefile.am:
10779 * examples/typefind/typefind.c:
10780 * examples/xml/.cvsignore:
10781 * examples/xml/Makefile.am:
10782 * examples/xml/createxml.c:
10783 * examples/xml/runxml.c:
10784 * tests/Makefile.am:
10785 * tests/check/Makefile.am:
10786 * testsuite/.cvsignore:
10787 * testsuite/Makefile.am:
10789 * testsuite/caps/.cvsignore:
10790 * testsuite/caps/Makefile.am:
10791 * testsuite/caps/app_fixate.c:
10792 * testsuite/caps/audioscale.c:
10793 * testsuite/caps/caps.c:
10794 * testsuite/caps/caps.h:
10795 * testsuite/caps/caps_strings:
10796 * testsuite/caps/compatibility.c:
10797 * testsuite/caps/deserialize.c:
10798 * testsuite/caps/enumcaps.c:
10799 * testsuite/caps/eratosthenes.c:
10800 * testsuite/caps/filtercaps.c:
10801 * testsuite/caps/fixed.c:
10802 * testsuite/caps/fraction-convert.c:
10803 * testsuite/caps/fraction-multiply-and-zero.c:
10804 * testsuite/caps/intersect2.c:
10805 * testsuite/caps/intersection.c:
10806 * testsuite/caps/normalisation.c:
10807 * testsuite/caps/random.c:
10808 * testsuite/caps/renegotiate.c:
10809 * testsuite/caps/sets.c:
10810 * testsuite/caps/simplify.c:
10811 * testsuite/caps/string-conversions.c:
10812 * testsuite/caps/structure.c:
10813 * testsuite/caps/subtract.c:
10814 * testsuite/caps/union.c:
10815 * testsuite/debug/.cvsignore:
10816 * testsuite/debug/Makefile.am:
10817 * testsuite/debug/category.c:
10818 * testsuite/debug/commandline.c:
10819 * testsuite/debug/global.c:
10820 * testsuite/debug/output.c:
10821 * testsuite/debug/printf_extension.c:
10822 * testsuite/dlopen/.cvsignore:
10823 * testsuite/dlopen/Makefile.am:
10824 * testsuite/dlopen/dlopen_gst.c:
10825 * testsuite/dlopen/loadgst.c:
10826 * testsuite/elements/.cvsignore:
10827 * testsuite/elements/Makefile.am:
10828 * testsuite/elements/gst-inspect-check.in:
10829 * testsuite/elements/struct_i386.h:
10830 * testsuite/elements/struct_size.c:
10831 * testsuite/indexers/.cvsignore:
10832 * testsuite/indexers/Makefile.am:
10833 * testsuite/indexers/cache1.c:
10834 * testsuite/indexers/indexdump.c:
10835 * testsuite/parse/.cvsignore:
10836 * testsuite/parse/Makefile.am:
10837 * testsuite/parse/parse1.c:
10838 * testsuite/parse/parse2.c:
10839 * testsuite/plugin/.cvsignore:
10840 * testsuite/plugin/Makefile.am:
10841 * testsuite/plugin/README:
10842 * testsuite/plugin/dynamic.c:
10843 * testsuite/plugin/linked.c:
10844 * testsuite/plugin/loading.c:
10845 * testsuite/plugin/registry.c:
10846 * testsuite/plugin/static.c:
10847 * testsuite/plugin/static2.c:
10848 * testsuite/plugin/testplugin.c:
10849 * testsuite/plugin/testplugin2.c:
10850 * testsuite/plugin/testplugin2_s.c:
10851 * testsuite/plugin/testplugin_s.c:
10852 * testsuite/refcounting/.cvsignore:
10853 * testsuite/refcounting/Makefile.am:
10854 * testsuite/refcounting/bin.c:
10855 * testsuite/refcounting/element.c:
10856 * testsuite/refcounting/element_pad.c:
10857 * testsuite/refcounting/mainloop.c:
10858 * testsuite/refcounting/mem.c:
10859 * testsuite/refcounting/mem.h:
10860 * testsuite/refcounting/object.c:
10861 * testsuite/refcounting/pad.c:
10862 * testsuite/refcounting/sched.c:
10863 * testsuite/refcounting/thread.c:
10864 * testsuite/states/.cvsignore:
10865 * testsuite/states/Makefile.am:
10866 * testsuite/states/bin.c:
10867 * testsuite/states/locked.c:
10868 * testsuite/states/parent.c:
10869 * testsuite/threads/.cvsignore:
10870 * testsuite/threads/159566.c:
10871 * testsuite/threads/159852.c:
10872 * testsuite/threads/Makefile.am:
10873 * testsuite/threads/queue.c:
10874 * testsuite/threads/signals.c:
10875 * testsuite/threads/staticrec.c:
10876 * testsuite/threads/thread.c:
10877 * testsuite/threads/threadb.c:
10878 * testsuite/threads/threadc.c:
10879 * testsuite/threads/threadd.c:
10880 * testsuite/threads/threade.c:
10881 * testsuite/threads/threadf.c:
10882 * testsuite/threads/threadg.c:
10883 * testsuite/threads/threadh.c:
10884 * testsuite/threads/threadi.c:
10885 move all of these under tests
10887 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10890 * tests/Makefile.am:
10893 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10895 * docs/gst/gstreamer-sections.txt:
10896 * tests/sched/.cvsignore:
10897 * tests/sched/Makefile.am:
10898 * tests/sched/cases/(fs-fs).xml:
10899 * tests/sched/cases/(fs-i-fs).xml:
10900 * tests/sched/cases/(fs-i-i-fs).xml:
10901 * tests/sched/cases/(fs-i-q[i-fs]).xml:
10902 * tests/sched/dynamic-pipeline.c:
10903 * tests/sched/interrupt1.c:
10904 * tests/sched/interrupt2.c:
10905 * tests/sched/interrupt3.c:
10906 * tests/sched/runtestcases:
10907 * tests/sched/runxml.c:
10908 * tests/sched/sched-stress.c:
10909 * tests/sched/sort.c:
10910 * tests/sched/testcases:
10911 * tests/sched/testcases1.tc:
10912 * tests/seeking/.cvsignore:
10913 * tests/seeking/Makefile.am:
10914 * tests/seeking/seeking1.c:
10915 * tests/threadstate/.cvsignore:
10916 * tests/threadstate/Makefile.am:
10917 * tests/threadstate/test1.c:
10918 * tests/threadstate/test2.c:
10919 * tests/threadstate/threadstate1.c:
10920 * tests/threadstate/threadstate2.c:
10921 * tests/threadstate/threadstate3.c:
10922 * tests/threadstate/threadstate4.c:
10923 * tests/threadstate/threadstate5.c:
10924 remove obsolete tests
10926 * tests/bench-complexity.scm:
10927 * tests/bench-mass_elements.scm:
10928 * tests/complexity.c:
10929 * tests/complexity.gnuplot:
10930 * tests/instantiate/.cvsignore:
10931 * tests/instantiate/Makefile.am:
10932 * tests/instantiate/caps.c:
10933 * tests/mass_elements.c:
10934 * tests/network-clock-utils.scm:
10935 * tests/network-clock.scm:
10937 First pass at cleaning up tests/ dir before moving the rest
10938 Combined with CVS surgery
10940 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10943 queue has moved, update
10945 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10947 * docs/gst/gstreamer-sections.txt:
10948 remove double entries from the docs
10949 * gst/gst_private.h:
10950 * gst/gstinfo.c: (_gst_debug_init):
10951 remove the THREAD debug category
10955 * docs/gst/gstreamer.types:
10956 * plugins/elements/gstqueue.c: (gst_queue_get_type),
10957 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10958 completely move queue and fix up debugging categories
10960 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10962 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10963 make initialization portable, using LL is not
10965 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10967 * win32/common/gstconfig.h:
10970 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10972 * win32/common/libgstreamer.def:
10973 rename symbols; sort base section
10975 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10977 * gst/gstclock.c: (do_linear_regression):
10978 remove crack non-portable handrolled DEBUG macro
10980 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10982 * docs/random/release:
10984 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10985 (gst_object_flags_get_type), (register_gst_bin_flags),
10986 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10987 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10988 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10989 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10990 (gst_caps_flags_get_type), (register_gst_clock_return),
10991 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10992 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10993 (gst_clock_flags_get_type), (register_gst_state),
10994 (gst_state_get_type), (register_gst_state_change_return),
10995 (gst_state_change_return_get_type), (register_gst_state_change),
10996 (gst_state_change_get_type), (register_gst_element_flags),
10997 (gst_element_flags_get_type), (register_gst_core_error),
10998 (gst_core_error_get_type), (register_gst_library_error),
10999 (gst_library_error_get_type), (register_gst_resource_error),
11000 (gst_resource_error_get_type), (register_gst_stream_error),
11001 (gst_stream_error_get_type), (register_gst_event_type_flags),
11002 (gst_event_type_flags_get_type), (register_gst_event_type),
11003 (gst_event_type_get_type), (register_gst_seek_type),
11004 (gst_seek_type_get_type), (register_gst_seek_flags),
11005 (gst_seek_flags_get_type), (register_gst_format),
11006 (gst_format_get_type), (register_gst_index_certainty),
11007 (gst_index_certainty_get_type), (register_gst_index_entry_type),
11008 (gst_index_entry_type_get_type),
11009 (register_gst_index_lookup_method),
11010 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
11011 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
11012 (gst_index_resolver_method_get_type), (register_gst_index_flags),
11013 (gst_index_flags_get_type), (register_gst_debug_level),
11014 (gst_debug_level_get_type), (register_gst_debug_color_flags),
11015 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
11016 (gst_iterator_result_get_type), (register_gst_iterator_item),
11017 (gst_iterator_item_get_type), (register_gst_message_type),
11018 (gst_message_type_get_type), (register_gst_mini_object_flags),
11019 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
11020 (gst_pad_link_return_get_type), (register_gst_flow_return),
11021 (gst_flow_return_get_type), (register_gst_activate_mode),
11022 (gst_activate_mode_get_type), (register_gst_pad_direction),
11023 (gst_pad_direction_get_type), (register_gst_pad_flags),
11024 (gst_pad_flags_get_type), (register_gst_pad_presence),
11025 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
11026 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
11027 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
11028 (gst_plugin_error_get_type), (register_gst_plugin_flags),
11029 (gst_plugin_flags_get_type), (register_gst_rank),
11030 (gst_rank_get_type), (register_gst_query_type),
11031 (gst_query_type_get_type), (register_gst_tag_merge_mode),
11032 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
11033 (gst_tag_flag_get_type), (register_gst_task_state),
11034 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
11035 (gst_alloc_trace_flags_get_type),
11036 (register_gst_type_find_probability),
11037 (gst_type_find_probability_get_type), (register_gst_uri_type),
11038 (gst_uri_type_get_type), (register_gst_parse_error),
11039 (gst_parse_error_get_type):
11040 * win32/common/gstenumtypes.h:
11041 * win32/common/gstversion.h:
11042 update visual studio generated files
11044 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11046 * win32/vs6/libgstbase.dsp:
11047 * win32/vs6/libgstelements.dsp:
11048 update project files for new locations
11050 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11055 reinstate and update
11060 * docs/random/LICENSE:
11063 2005-11-30 Edward Hervey <edward@fluendo.com>
11065 * gst/gsttypefind.c: (gst_type_find_register):
11066 * gst/gsttypefind.h:
11067 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
11068 (gst_type_find_factory_dispose):
11069 * gst/gsttypefindfactory.h:
11070 Fix memory leak in GstTypeFindFactory.
11072 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11075 * plugins/elements/Makefile.am:
11076 * plugins/elements/gstelements.c:
11077 * plugins/elements/gstqueue.c:
11078 move queue from core to the elements plugin
11080 2005-11-29 Andy Wingo <wingo@pobox.com>
11082 * libs/gst/base/gstbasetransform.h:
11083 * libs/gst/base/gstbasesrc.h:
11084 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
11086 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
11087 of pointers by which to pad very extensible base classes (like the
11088 ones in libs/gst/base).
11090 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11092 * docs/gst/gstreamer-docs.sgml:
11093 * docs/gst/gstreamer-sections.txt:
11094 * docs/libs/gstreamer-libs-docs.sgml:
11095 * docs/libs/gstreamer-libs-sections.txt:
11096 moving documentation from core to lib
11098 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11100 * check/Makefile.am:
11102 * docs/gst/Makefile.am:
11104 * gst/base/.cvsignore:
11105 * gst/base/Makefile.am:
11107 * gst/base/gstadapter.c:
11108 * gst/base/gstadapter.h:
11109 * gst/base/gstbasesink.c:
11110 * gst/base/gstbasesink.h:
11111 * gst/base/gstbasesrc.c:
11112 * gst/base/gstbasesrc.h:
11113 * gst/base/gstbasetransform.c:
11114 * gst/base/gstbasetransform.h:
11115 * gst/base/gstcollectpads.c:
11116 * gst/base/gstcollectpads.h:
11117 * gst/base/gstpushsrc.c:
11118 * gst/base/gstpushsrc.h:
11119 * gst/base/gsttypefindhelper.c:
11120 * gst/base/gsttypefindhelper.h:
11121 * gst/check/Makefile.am:
11122 * gst/check/gstcheck.c:
11123 * gst/check/gstcheck.h:
11124 * gst/net/Makefile.am:
11125 * gst/net/gstnet.h:
11126 * gst/net/gstnetclientclock.c:
11127 * gst/net/gstnetclientclock.h:
11128 * gst/net/gstnettimepacket.c:
11129 * gst/net/gstnettimepacket.h:
11130 * gst/net/gstnettimeprovider.c:
11131 * gst/net/gstnettimeprovider.h:
11132 * libs/gst/Makefile.am:
11133 * libs/gst/base/Makefile.am:
11134 * libs/gst/base/gstbasetransform.c:
11135 * libs/gst/check/Makefile.am:
11136 * plugins/elements/Makefile.am:
11138 CVS surgery + support to move base, check, and net out of gst
11141 2005-11-29 Andy Wingo <wingo@pobox.com>
11143 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
11145 * gst/gststructure.h (struct _GstStructure): Only one pointer of
11148 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
11150 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
11152 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
11154 * gst/gstobject.h: (struct _GstObject): Only one pointer of
11155 padding; reduces object size by about 30%. We don't expect
11156 anything else to go into gstobject.
11158 * gst/gstminiobject.h (struct _GstMiniObject)
11159 (struct _GstMiniObjectClass): Only one pointer of padding; the
11160 payload is only a pointer and two ints anyway. For the class there
11161 are only two methods as well.
11163 * gst/gstelement.h (struct _GstElementClass): Removed
11164 the state_changed signal callback, it is not used.
11166 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
11168 * docs/gst/gstreamer.types:
11169 fix includes, though they are a little dinky
11171 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11173 * check/Makefile.am:
11174 look in the right place for elements, a lot more chance of
11177 remove indexers and elements subdirs
11178 * plugins/Makefile.am:
11179 make indexers conditional
11181 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11185 * plugins/elements/Makefile.am:
11186 * plugins/elements/gstcapsfilter.c:
11187 * plugins/elements/gstfilesink.c:
11188 * plugins/elements/gstfilesrc.c:
11189 * plugins/elements/gstidentity.c:
11190 * plugins/indexers/Makefile.am:
11191 do CVS surgery and related build fixery to move elements
11192 and indexers in a new gstreamer/plugins directory, out of the
11195 2005-11-29 Andy Wingo <wingo@pobox.com>
11197 * check/Makefile.am:
11198 * pkgconfig/gstreamer-net-uninstalled.pc.in:
11199 * pkgconfig/gstreamer-net.pc.in:
11200 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
11203 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
11205 * tools/Makefile.am:
11206 * tools/gst-complete.1.in:
11207 * tools/gst-complete.c:
11208 * tools/gst-compprep.1.in:
11209 * tools/gst-compprep.c:
11210 removing -compprep and -complete
11212 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
11214 * gst/gstevent.c: (gst_event_new_new_segment),
11215 (gst_event_parse_new_segment):
11217 fix #320529 - clean up new_segment API and structure.
11218 Let's hope everyone was using the methods, and not the structure.
11220 2005-11-29 Edward Hervey <edward@fluendo.com>
11222 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11223 (gst_base_sink_event), (gst_base_sink_do_sync),
11224 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
11225 Properly handle non GST_FORMAT_TIME segment
11226 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11227 Properly handle non GST_FORMAT_TIME segment
11228 * gst/gstsegment.c:
11229 This function is valid if the accumulator is 0 and the format
11230 is different from the requested format.
11232 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11234 * docs/gst/gstreamer-sections.txt:
11235 Add gst_query_new_seeking and gst_query_parse_seeking to the
11238 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11240 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
11241 Treat a pad alloc with new caps the same as if we were not
11242 negotiated, in order to allow a changing upstream output
11243 to produce a new format of data.
11245 2005-11-29 Edward Hervey <edward@fluendo.com>
11247 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11248 (gst_base_transform_event), (gst_base_transform_eventfunc):
11249 The event virtual method is now properly implemented, with a default
11251 Sub classes should call the parent_class event method. They should
11252 return FALSE if they had a problem handling the given event, or don't
11253 want GstBaseTransform to send that even downstream
11254 * gst/elements/gstidentity.c: (gst_identity_class_init),
11255 (gst_identity_init), (gst_identity_event),
11256 (gst_identity_transform_ip), (gst_identity_set_property),
11257 (gst_identity_get_property):
11258 * gst/elements/gstidentity.h:
11259 Added the single-segment boolean property.
11260 If set to TRUE, it will output a single segment of data, starting from
11261 0, will eat up all incoming newsegment, and modify the timestamp of the
11262 buffers accordingly
11264 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
11266 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
11267 Don't ref NULL target pad (#322751). Improve docs.
11269 2005-11-29 Michael Smith <msmith@fluendo.com>
11271 * gst/gstregistryxml.c: (load_plugin):
11272 Don't crash if we failed to load a feature from a plugin.
11274 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11276 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11278 use more check API and less GLib API
11280 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11283 don't run checks if we don't have check
11284 * common/check.mak:
11285 remove the registry when running make torture
11286 * docs/gst/gstreamer-sections.txt:
11287 remove second multiply
11288 * gst/gstqueue.c: (gst_queue_loop):
11289 fix a compile warning when disabling debug
11291 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11294 Hey! Let's print the pad name if the pointer != NULL instead
11295 of when it == NULL :-)
11297 2005-11-28 Wim Taymans <wim@fluendo.com>
11299 * check/gst/gstutils.c: (GST_START_TEST):
11300 Updated check, add some scaling accuracy checking code.
11302 * gst/gstutils.c: (gst_util_div128_64),
11303 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
11304 (gst_util_uint64_scale_int):
11305 Fix 6 times faster division code. Optimize for common
11306 1/1 and less common X/1 cases.
11308 2005-11-28 Wim Taymans <wim@fluendo.com>
11310 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11313 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
11314 (do_linear_regression), (gst_clock_add_observation):
11316 Release lock when the clock cannot be slaved.
11317 Catch the case where the regression returned an invalid denominator.
11319 * gst/gstutils.c: (gst_util_div128_64_iterate),
11320 (gst_util_div128_64), (gst_util_uint64_scale_int64),
11321 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11322 Add protentially more performant non-iterative 128/64 divide function
11323 that unfortunatly does not work yet.
11324 Shortcut the trivial 0/X = 0 case.
11325 Remove the warnings on overflow.
11327 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11329 * gst/gstplugin.c: (gst_plugin_register_func):
11330 everything causing a plugin not to load should be at least a WARNING
11332 2005-11-28 Stefan Kost <ensonic@users.sf.net>
11334 * docs/random/ensonic/dparams.txt:
11335 some TODOs for the next dev cycle
11336 * libs/gst/controller/gstcontroller.c:
11337 (gst_controlled_property_set_interpolation_mode),
11338 (gst_controlled_property_new):
11339 * libs/gst/controller/gstcontroller.h:
11340 use base type to assign acccessor functions
11342 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11344 * check/Makefile.am:
11345 Oops, that should have been top_srcdir
11347 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11349 * check/Makefile.am:
11350 * check/elements/fdsrc.c: (GST_START_TEST):
11351 Use a cmdline define to specify the location of a file to use for
11352 testing, to avoid breaking distcheck.
11354 2005-11-28 Andy Wingo <wingo@pobox.com>
11356 * gst/gstpad.c (fixate_value): Use array functions for arrays.
11358 2005-11-28 Edward Hervey <edward@fluendo.com>
11360 * tools/gst-launch.c: (main):
11361 Clarify the output strings, makes it easier to translate.
11364 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11367 don't try and build net if we don't even have <sys/socket.h>
11369 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
11371 * check/Makefile.am:
11372 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
11373 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
11374 Add tests for fdsrc seekability
11376 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
11377 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
11378 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
11379 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
11380 * gst/elements/gstfdsrc.h:
11381 fdsrc should not be a 'live' source.
11382 Implement seeking on seekable fd's.
11384 * gst/gstquery.c: (gst_query_new_seeking),
11385 (gst_query_parse_seeking):
11387 Implement SEEKING query functions:
11388 *_new_seeking and *_parse_seeking
11390 2005-11-27 Stefan Kost <ensonic@users.sf.net>
11392 * gst/gstelement.c: (gst_element_dispose):
11395 * gst/gstiterator.c:
11396 * gst/gststructure.c:
11399 * libs/gst/controller/gstcontroller.c:
11400 (gst_controlled_property_set_interpolation_mode):
11401 * libs/gst/controller/gstcontroller.h:
11402 * libs/gst/controller/gstinterpolation.c:
11403 (interpolate_none_get_enum_value_array):
11404 support controlling enums
11406 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
11409 Improve documentation for gst_value_union().
11412 Change return value for union, intersect and subtract functions
11413 from gint to gboolean.
11415 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
11417 * gst/gstvalue.c: (gst_value_serialize_any_list),
11418 (gst_value_transform_any_list_string),
11419 (gst_value_deserialize_list), (gst_value_deserialize_array),
11420 (gst_value_set_int_range), (gst_value_deserialize_int_range),
11421 (gst_value_set_double_range), (gst_value_deserialize_double_range),
11422 (gst_value_set_fraction_range_full),
11423 (gst_value_deserialize_fraction_range),
11424 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
11425 (gst_value_deserialize_boolean),
11426 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
11427 (gst_value_serialize_float), (gst_value_deserialize_float),
11428 (gst_string_wrap), (gst_value_deserialize_string),
11429 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
11430 (gst_value_union_int_range_int_range),
11431 (gst_value_intersect_int_range_int_range),
11432 (gst_value_intersect_double_range_double_range),
11433 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
11434 (gst_value_subtract_int_range_int_range),
11435 (gst_value_subtract_double_double_range),
11436 (gst_value_subtract_double_range_double_range),
11437 (gst_value_deserialize_fraction):
11439 Use gint, gdouble and gchar in our API instead of int, double and
11440 char (and make usage in gstvalue.c more consistent).
11442 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11444 * check/Makefile.am:
11445 * libs/gst/controller/Makefile.am:
11446 * libs/gst/dataprotocol/Makefile.am:
11447 fix up Makefile.am and remove GST_ENABLE_NEW
11449 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11453 * gst/base/Makefile.am:
11454 * gst/check/Makefile.am:
11455 * gst/elements/Makefile.am:
11456 * gst/net/Makefile.am:
11457 update LDFLAGS use some more
11459 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11461 * common/m4/gst-doc.m4:
11464 2005-11-26 Edward Hervey <edward@fluendo.com>
11466 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11467 This shouldn't issue a g_warning since it returns NULL if it
11468 couldn't find the plugin, and all functions using this behave
11469 properly on a NULL return. Switching to a GST_WARNING.
11471 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
11473 * gst/gstbin.c: (gst_bin_handle_message_func):
11474 Don't leak clock messages.
11476 2005-11-25 Wim Taymans <wim@fluendo.com>
11478 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11479 (gst_util_uint64_scale_int):
11480 Optimisations, remove unneeded vars.
11482 2005-11-25 Wim Taymans <wim@fluendo.com>
11484 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11485 Added more checks for the high precision uint64 cases.
11487 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11488 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11489 Implement high precision (guint64 * guint64) / guint64.
11491 2005-11-24 Wim Taymans <wim@fluendo.com>
11493 * gst/base/gstbasesrc.c: (gst_base_src_query):
11494 Fix wrong percentage query.
11496 * gst/gstutils.c: (gst_util_uint64_scale),
11497 (gst_util_uint64_scale_int):
11498 Add some more common cases that can be handled
11499 efficiently to _scale.
11501 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
11503 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
11504 (gst_mini_object_suite):
11505 don't use check calls from threads; check probably isn't
11506 threadsafe and using a lock to make it threadsafe would
11507 defeat the purpose of this check
11508 * gst/check/gstcheck.c:
11509 * gst/check/gstcheck.h:
11510 use GST_DEBUG some more
11512 2005-11-24 Wim Taymans <wim@fluendo.com>
11514 * gst/gstutils.c: (gst_util_uint64_scale),
11515 (gst_util_uint64_scale_int):
11516 Chain trivial case to _scale_int.
11518 2005-11-24 Wim Taymans <wim@fluendo.com>
11520 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11521 Added test for scaling.
11526 * gst/gstutils.c: (gst_util_uint64_scale_int):
11527 Implemented high precision scaling code.
11529 2005-11-24 Stefan Kost <ensonic@users.sf.net>
11532 do not crash on pad==NULL
11534 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
11536 Patch by: Stefan Kost
11538 * common/gtk-doc.mak:
11539 * docs/gst/Makefile.am:
11540 * docs/libs/Makefile.am:
11541 Fix distcheck issues for the libraries docs build
11544 2005-11-24 Michael Smith <msmith@fluendo.com>
11546 * docs/manual/basics-helloworld.xml:
11547 Fix bug #315027: memory leak in example code in docs.
11549 2005-11-24 Michael Smith <msmith@fluendo.com>
11551 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11552 Unlock the PREROLL_LOCK in a failure case.
11554 2005-11-24 Wim Taymans <wim@fluendo.com>
11556 * docs/gst/gstreamer-sections.txt:
11557 * gst/base/gstadapter.h:
11558 * gst/base/gstbasesink.h:
11559 * gst/base/gstbasesrc.h:
11560 * gst/base/gstbasetransform.h:
11561 * gst/base/gstpushsrc.h:
11562 * gst/elements/gstfakesink.h:
11563 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
11564 * gst/elements/gstfakesrc.h:
11565 * gst/elements/gstfilesink.h:
11566 * gst/elements/gstfilesrc.h:
11569 * gst/gstbuffer.c: (_gst_buffer_copy):
11572 * gst/gstchildproxy.c:
11574 * gst/gstelement.c:
11575 * gst/gstelementfactory.c:
11576 * gst/gstelementfactory.h:
11578 * gst/gstghostpad.h:
11580 * gst/gstinterface.h:
11581 * gst/gstminiobject.c:
11582 * gst/gstminiobject.h:
11585 * gst/gstpadtemplate.h:
11586 * gst/gstpipeline.h:
11587 * gst/gstpluginfeature.h:
11590 * gst/gsttaglist.c:
11591 * gst/gsttaglist.h:
11592 * gst/gsttagsetter.c:
11593 * gst/gsttagsetter.h:
11596 * gst/gsttypefind.h:
11599 * gst/net/gstnetclientclock.c:
11600 * gst/net/gstnetclientclock.h:
11601 * gst/net/gstnettimepacket.c:
11602 * gst/net/gstnettimeprovider.c:
11603 * gst/net/gstnettimeprovider.h:
11606 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11608 * configure.ac: back to HEAD
11610 === release 0.9.6 ===
11612 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11615 releasing 0.9.6, "Always On Time"
11617 2005-11-23 Wim Taymans <wim@fluendo.com>
11619 * docs/gst/gstreamer-sections.txt:
11620 * gst/glib-compat.c:
11621 * gst/gsttagsetter.c:
11623 * gst/net/gstnetclientclock.c:
11624 * gst/net/gstnettimepacket.h:
11627 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11629 * docs/faq/using.xml:
11630 * docs/libs/tmpl/gstcontrol.sgml:
11631 * docs/manual/advanced-dparams.xml:
11632 * docs/manual/appendix-checklist.xml:
11633 * docs/manual/basics-elements.xml:
11634 * docs/pwg/other-source.xml:
11635 * docs/random/moving-plugins:
11637 * tools/gst-launch.1.in:
11638 remove mentions of sinesrc
11640 2005-11-23 Michael Smith <msmith@fluendo.com>
11642 * docs/gst/gstreamer-sections.txt:
11643 Update for new API and API changes.
11645 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11647 Documentation typo fix.
11648 * gst/net/gstnettimepacket.c:
11649 Documentation fixes for arguments.
11651 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
11653 * gst/gststructure.c: (gst_structure_get_fraction),
11654 (gst_structure_parse_value),
11655 (gst_structure_fixate_field_nearest_fraction):
11656 * gst/gststructure.h:
11657 * gst/gstutils.c: (gst_util_uint64_scale_int):
11659 * scripts/update-funcnames:
11661 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11662 Make gst_structure_fixate_field_nearest_fraction take a numerator
11663 and denominator argument instead of a GValue
11664 add gst_structure_get_fraction helper function.
11666 2005-11-23 Wim Taymans <wim@fluendo.com>
11668 * docs/design/part-TODO.txt:
11671 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11672 * gst/net/gstnetclientclock.h:
11673 Use parent fields for timeout and window_size.
11675 2005-11-23 Andy Wingo <wingo@pobox.com>
11677 * check/net/gstnetclientclock.c (test_functioning): Adjust to
11678 rate_num/rate_denom change.
11680 * gst/net/gstnetclientclock.c
11681 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11682 OBJECT_LOCK. Don't call add_observation with the lock.
11684 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11686 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11688 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11689 deal with rate as a fraction whose numerator and denominator are
11690 GstClockTime values.
11691 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11692 master; the other fields are protected by the SLAVE_LOCK.
11693 (do_linear_regression): Note that this must be called with the
11695 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11696 OBJECT_LOCK. Call set_calibration instead of touching the
11697 variables directly.
11698 (gst_clock_set_property, gst_clock_get_property): Protect
11699 master/slave parameters with the SLAVE_LOCK.
11701 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11702 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11703 note that all of the instance variables that add_observation and
11704 the set_master functions use are protected by that lock and not
11706 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11708 * gst/gstclock.c (gst_clock_add_observation): No longer requires
11709 the caller to take the object lock.
11711 2005-11-23 Wim Taymans <wim@fluendo.com>
11713 * gst/gsterror.c: (_gst_core_errors_init):
11715 Add error for clock stuff.
11717 * gst/gstpipeline.c: (gst_pipeline_change_state),
11718 (gst_pipeline_set_clock):
11719 Post clock error when clock cannot be used in a pipeline.
11721 2005-11-23 Stefan Kost <ensonic@users.sf.net>
11723 * docs/gst/gstreamer-sections.txt:
11724 make two symbols from gstinfo private for the docs
11725 * gst/base/gstcollectpads.h:
11727 fix doc typos, update docs
11729 2005-11-22 Wim Taymans <wim@fluendo.com>
11731 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11732 (gst_base_sink_wait), (gst_base_sink_do_sync),
11733 (gst_base_sink_handle_event):
11734 * gst/base/gstbasesink.h:
11735 No need to store the clock, the parent element class already
11738 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11739 Updates for clock_set returning a gboolean
11741 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11742 (gst_clock_id_wait_async), (gst_clock_class_init),
11743 (gst_clock_init), (gst_clock_finalize),
11744 (gst_clock_get_internal_time), (gst_clock_get_time),
11745 (gst_clock_slave_callback), (gst_clock_set_master),
11746 (gst_clock_get_master), (do_linear_regression),
11747 (gst_clock_add_observation), (gst_clock_set_property),
11748 (gst_clock_get_property):
11750 Implement master/slave. When setting a clock as a slave, a
11751 periodic timeout is scheduled to sample master and slave times.
11752 Then the slave clock is recalibrated to match offset and rate
11753 of the master clock.
11754 Update logging a bit.
11755 Add flag so that a clock can state that is cannot be slaved to
11758 * gst/gstelement.c: (gst_element_set_clock):
11759 * gst/gstelement.h:
11760 The set clock returns a gboolean for when an element cannot
11761 deal with the selected clock in the pipeline.
11763 * gst/gstpipeline.c: (gst_pipeline_change_state),
11764 (gst_pipeline_set_clock):
11765 * gst/gstpipeline.h:
11766 Handle the case where the selected clock cannot be set on
11769 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11770 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11771 (gst_net_client_clock_set_property),
11772 (gst_net_client_clock_get_property),
11773 (gst_net_client_clock_observe_times):
11774 * gst/net/gstnetclientclock.h:
11775 Use regression code in GstClock parent, remove duplicated
11778 2005-11-22 Michael Smith <msmith@fluendo.com>
11780 * gst/gstutils.c: (gst_util_clock_time_scale):
11782 * docs/gst/gstreamer-sections.txt:
11783 Rename method to have extra underscore.
11785 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
11787 * gst/elements/Makefile.am:
11788 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11789 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11790 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11791 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11792 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11793 * gst/elements/gstfakesrc.h:
11794 * gst/gstqueue.c: (queue_leaky_get_type):
11795 correctly fix GEnumValues so that nick is the short lowercase
11797 * tools/gst-inspect.c: (print_element_properties_info):
11798 also show the nick, since it's useful to use from parse_launch
11802 2005-11-22 Michael Smith <msmith@fluendo.com>
11804 * gst/gstutils.c: (gst_util_clocktime_scale):
11806 * docs/gst/gstreamer-sections.txt:
11807 Add util method for scaling a clocktime by a fraction. Useful
11808 implementation is left as an exercise for the reader.
11810 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11812 * gst/gstvalue.c: (gst_value_collect_fraction_range):
11813 If needed, allocate storage in the destination value during
11816 2005-11-22 Edward Hervey <edward@fluendo.com>
11818 * docs/gst/gstreamer-sections.txt:
11821 * gst/gsturitype.c:
11822 * gst/gsturitype.h:
11823 * gst/gstutils.c: (gst_util_set_object_arg):
11824 * tools/gst-compprep.c: (main):
11825 * tools/gst-inspect.c: (print_element_properties_info):
11826 Removed GstURI, closes bug #321061
11828 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11830 * check/gst/gststructure.c: (GST_START_TEST):
11831 * gst/gststructure.c: (gst_structure_parse_value):
11832 Oops, broke automatic string type parsing.
11833 Add a test to catch it in future.
11835 2005-11-22 Andy Wingo <wingo@pobox.com>
11837 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
11838 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11839 Actually rename the function implementations. Grr.
11841 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11843 * check/gst/capslist.h:
11845 * check/gst/gststructure.c: (GST_START_TEST),
11846 (gst_structure_suite):
11847 Test automatic value type detection in gst_structure_from_string.
11848 * gst/gststructure.c: (gst_structure_parse_value):
11849 Add fraction as a type we try and guess automatically in
11850 caps/structure strings.
11852 2005-11-22 Andy Wingo <wingo@pobox.com>
11854 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11856 * gst/gsttagsetter.h:
11857 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11858 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11859 (gst_tag_setter_add_tag_valist)
11860 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11861 _add_values, _add_valist, and _add_valist_values. Since this is an
11862 interface the function suffixes should be more explicit so
11863 language binding don't end up with element.add_valist ->
11864 gst_tag_setter_add_valist, for example. Fixes #322069.
11866 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11868 * check/gst/gstcaps.c: (GST_START_TEST):
11869 Extend caps string tests to check that a caps to string
11870 conversion is reversible and produces the same caps.
11872 * gst/gststructure.c: (gst_structure_value_get_generic_type):
11873 Output "fraction" as the generic type fraction range, so caps
11874 serialisation and deserialisation works.
11875 * check/gst/capslist.h:
11876 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11877 Support 'MIN' and 'MAX' for deserialising fractions.
11879 2005-11-22 Andy Wingo <wingo@pobox.com>
11881 * gst/gstevent.h (gst_event_new_new_segment)
11882 (gst_event_parse_new_segment, gst_event_new_buffer_size)
11883 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11884 Renamed from *_newsegment, *_buffersize, *_notarget.
11886 * scripts/update-funcnames: New script, performs the changes
11889 2005-11-22 Wim Taymans <wim@fluendo.com>
11891 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11892 Make sure the GstFlowReturn is returned.
11894 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11895 (gst_bus_add_signal_watch):
11897 add gst_bus_add_signal_watch_full.
11899 * gst/gstplugin.c: (gst_plugin_load_file):
11900 Small style cleanup.
11902 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11904 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11905 Block the fakesrc srcpad when we send an event, to avoid
11906 contention on the stream_lock causing random test failures.
11908 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11910 * check/gst/gstvalue.c: (GST_START_TEST):
11911 * gst/gstvalue.c: (gst_value_fraction_subtract):
11914 2005-11-22 Stefan Kost <ensonic@users.sf.net>
11917 include "gstchildproxy.h"
11918 * gst/gstchildproxy.h:
11919 * libs/gst/controller/gstcontroller.h:
11920 use G_GNUC_NULL_TERMINATED
11922 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11924 * check/gst/capslist.h:
11925 * check/gst/gstcaps.c: (GST_START_TEST):
11926 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11927 * gst/gststructure.c: (gst_structure_parse_range),
11928 (gst_structure_fixate_field_nearest_fraction):
11929 * gst/gststructure.h:
11930 * gst/gstvalue.c: (gst_value_init_fraction_range),
11931 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11932 (gst_value_collect_fraction_range),
11933 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11934 (gst_value_set_fraction_range_full),
11935 (gst_value_get_fraction_range_min),
11936 (gst_value_get_fraction_range_max),
11937 (gst_value_serialize_fraction_range),
11938 (gst_value_transform_fraction_range_string),
11939 (gst_value_compare_fraction_range),
11940 (gst_value_deserialize_fraction_range),
11941 (gst_value_intersect_fraction_fraction_range),
11942 (gst_value_intersect_fraction_range_fraction_range),
11943 (gst_value_subtract_fraction_fraction_range),
11944 (gst_value_subtract_fraction_range_fraction),
11945 (gst_value_subtract_fraction_range_fraction_range),
11946 (gst_value_collect_fraction), (gst_value_fraction_multiply),
11947 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11948 (gst_value_transform_string_fraction), (_gst_value_initialize):
11950 Implement fraction ranges and extend GstFraction to support
11951 arithmetic subtraction, as well as deserialization from integer
11952 strings such as "100"
11953 Add a testsuite as for int and double range set operations
11955 2005-11-21 Andy Wingo <wingo@pobox.com>
11957 * gst/gsttaglist.h:
11959 * gst/gststructure.h: Add glib-compat.h.
11961 2005-11-21 Wim Taymans <wim@fluendo.com>
11963 * gst/gstbin.c: (gst_bin_change_state_func):
11966 2005-11-21 Wim Taymans <wim@fluendo.com>
11968 * gst/gstsegment.h:
11969 And add a nice define too.
11971 2005-11-21 Wim Taymans <wim@fluendo.com>
11973 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11974 (gst_segment_new), (gst_segment_free), (gst_segment_init),
11975 (gst_segment_set_duration), (gst_segment_set_last_stop),
11976 (gst_segment_set_seek), (gst_segment_set_newsegment),
11977 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11978 (gst_segment_clip):
11979 * gst/gstsegment.h:
11980 Make binding friendly.
11982 2005-11-21 Andy Wingo <wingo@pobox.com>
11984 * gst/gsttagsetter.h:
11985 * gst/gsttaglist.h:
11986 * gst/gststructure.h:
11988 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11991 * gst/gsterror.c (_gst_core_errors_init):
11992 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11995 * gst/Makefile.am (gst_headers): Add glib-compat.h.
11996 (noinst_HEADERS): noinst the -private.
11998 2005-11-21 Michael Smith <msmith@fluendo.com>
12001 * gst/gstregistry.h:
12002 Remove unimplemented declarations for which we can see no sensible
12005 2005-11-21 Andy Wingo <wingo@pobox.com>
12007 * gst/gst.h: Include glib-compat.h.
12009 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
12011 * gst/glib-compat.c: Include the public and the private header.
12013 * gst/glib-compat-private.h: Copied here from glib-compat.h.
12017 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
12019 * check/gst/gstevent.c (create_custom_events): Check that
12020 FLUSH_STOP is serialized.
12022 * check/elements/identity.c (event_func):
12023 * check/elements/fakesrc.c (event_func): No stream lock, the core
12026 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
12027 stream lock taking, yay.
12029 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
12030 ensure that core takes the stream lock.
12032 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
12035 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
12036 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
12037 it already. For the flush start we do take it though so we get the
12038 right preroll state change messages.
12040 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
12041 the stream lock here, the core does it for us.
12043 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
12044 GST_STREAM_GET_LOCK.
12045 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
12046 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
12047 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
12048 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
12049 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
12050 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
12052 * gst/gstpad.c: Update for stream lock name change.
12054 * gst/base/gstbasesink.c: Update for preroll lock name change.
12056 2005-11-21 Wim Taymans <wim@fluendo.com>
12058 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
12059 (gst_clock_get_master):
12061 * gst/gstsystemclock.c: (gst_system_clock_init):
12062 Convert Clock flags to object flags.
12063 Added methods to manage master/slave clocks.
12065 2005-11-21 Wim Taymans <wim@fluendo.com>
12067 * check/gst/gstsegment.c: (GST_START_TEST):
12068 * docs/design/part-TODO.txt:
12069 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12070 (gst_base_sink_event), (gst_base_sink_do_sync),
12071 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12072 (gst_base_sink_query), (gst_base_sink_change_state):
12073 * gst/base/gstbasesink.h:
12074 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12075 (gst_base_src_default_newsegment),
12076 (gst_base_src_configure_segment), (gst_base_src_do_seek),
12077 (gst_base_src_get_range), (gst_base_src_loop),
12078 (gst_base_src_change_state):
12079 * gst/base/gstbasesrc.h:
12080 * gst/base/gstbasetransform.c:
12081 (gst_base_transform_prepare_output_buf),
12082 (gst_base_transform_event), (gst_base_transform_change_state):
12083 * gst/base/gstbasetransform.h:
12084 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12085 (gst_collect_pads_event):
12086 * gst/base/gstcollectpads.h:
12087 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
12088 (gst_fake_src_create):
12089 * gst/elements/gstfakesrc.h:
12090 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12091 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
12092 (gst_segment_set_last_stop), (gst_segment_set_seek),
12093 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12094 (gst_segment_to_running_time), (gst_segment_clip):
12095 * gst/gstsegment.h:
12096 More segment updates, replace code in plugins with segment
12099 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
12101 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
12102 Don't ignore sscanf results
12104 2005-11-21 Andy Wingo <wingo@pobox.com>
12106 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
12109 * *.c: Ran scripts/update-macros. Oh yes.
12111 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
12112 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
12115 * scripts/update-macros: New script. Run it on your files to
12116 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
12119 2005-11-21 Stefan Kost <ensonic@users.sf.net>
12121 * docs/gst/Makefile.am:
12122 * docs/gst/gstreamer-docs.sgml:
12123 * docs/gst/gstreamer-sections.txt:
12124 * docs/gst/gstreamer.types:
12126 more docs fixes, add new api to the docs
12128 2005-11-21 Andy Wingo <wingo@pobox.com>
12130 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
12131 state_broadcast call.
12133 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
12135 2005-11-21 Julien MOUTTE <julien@moutte.net>
12137 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
12138 function calls for arrays.
12140 2005-11-21 Stefan Kost <ensonic@users.sf.net>
12142 * docs/random/ensonic/media-device-daemon.txt:
12143 wild idea, can this be done?
12144 * docs/gst/gstreamer-sections.txt:
12149 * gst/gstpluginfeature.c:
12153 doc fixes and additions
12155 2005-11-21 Andy Wingo <wingo@pobox.com>
12157 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
12158 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
12159 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
12160 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
12161 private to the basesrc implementation.
12163 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
12164 behalf of event function if necessary. It should no longer be
12165 necessary to take the stream lock in pad's event functions. Fixes
12168 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
12169 * docs/gst/gstreamer-sections.txt:
12170 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
12171 (gst_structure_fixate_field_nearest_double),
12172 (gst_structure_fixate_field_boolean):
12173 * gst/gststructure.h:
12174 * win32/common/libgstreamer.def:
12175 * win32/gstreamer.def:
12177 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
12180 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
12182 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
12183 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
12184 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
12185 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
12186 (gst_fdsrc_uri_handler_init):
12187 * gst/elements/gstfdsrc.h:
12188 Port fd:// URI handler from 0.8 to fdsrc
12190 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12192 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
12193 (gst_value_serialize_fourcc):
12195 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
12196 consistent with our other format defines (#320324).
12198 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12200 * gst/gstvalue.c: (gst_value_is_fixed):
12201 Revert previous commit. Value lists are by definition
12202 not fixed, as they are a list of possible values.
12204 2005-11-21 Andy Wingo <wingo@pobox.com>
12206 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
12207 during the stable series if we need it. Fixes #319178.
12209 * gst/gstevent.c (gst_event_new_filler): Removed.
12211 * check/gst/gstevent.c: Update comment about filler events.
12213 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12215 * gst/gstvalue.c: (gst_value_is_fixed):
12216 Should handle both value arrays and value lists.
12218 2005-11-21 Andy Wingo <wingo@pobox.com>
12220 patch by: Alessandro Dessina <alessandro nnva org>
12222 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
12223 functions to access arrays. Fixes #321962.
12225 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12227 * docs/gst/gstreamer.types:
12228 gst_collectpads_get_type => gst_collect_pads_get_type.
12230 * gst/base/gstbasetransform.c:
12231 Remove unused SIGNAL_HANDOFF enum.
12233 2005-11-21 Andy Wingo <wingo@pobox.com>
12235 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
12236 the event type (upstream, downstream, serialized). Renamed
12237 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
12238 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
12239 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
12241 * gst/gstevent.c: Update for new CUSTOM event names.
12243 * check/gst/gstevent.c: Update check for new CUSTOM event names.
12246 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
12249 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12251 * docs/gst/gstreamer-sections.txt:
12252 * win32/common/libgstbase.def:
12253 * win32/libgstbase.def:
12254 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12255 (gst_collect_pads_class_init), (gst_collect_pads_init),
12256 (gst_collect_pads_finalize), (gst_collect_pads_new),
12257 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
12258 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
12259 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
12260 (gst_collect_pads_start), (gst_collect_pads_stop),
12261 (gst_collect_pads_peek), (gst_collect_pads_pop),
12262 (gst_collect_pads_available), (gst_collect_pads_read),
12263 (gst_collect_pads_flush), (gst_collect_pads_event),
12264 (gst_collect_pads_chain):
12265 * gst/base/gstcollectpads.h:
12266 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
12267 unimplemented functions as unimplemented. Add padding to
12268 GstCollectData. (#320766, #320423)
12270 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12272 * gst/gstmessage.c:
12273 Improve docs for DURATION message (usage of duration parameter)
12276 2005-11-20 Wim Taymans <wim@fluendo.com>
12278 * check/Makefile.am:
12279 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
12283 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
12284 (gst_segment_set_seek), (gst_segment_set_newsegment),
12285 (gst_segment_to_stream_time), (gst_segment_to_running_time),
12286 (gst_segment_clip):
12287 * gst/gstsegment.h:
12288 Added segment helper structure and methods. Not fully implemented
12290 Added segment check.
12292 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
12294 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12295 Add a deserialisation test for fractions
12296 * examples/metadata/read-metadata.c: (message_loop),
12297 (make_pipeline), (main):
12298 Fix up metadata reading sample.
12299 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12301 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12302 Don't try and fixate empty caps
12303 * gst/gst_private.h:
12304 Wrap in G_BEGIN_DECLS/G_END_DECLS
12305 * gst/gstvalue.c: (gst_value_collect_fraction),
12306 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
12307 (gst_value_transform_string_fraction),
12308 (gst_value_compare_fraction):
12309 Add some extra guards to ensure that we don't end up
12310 with an invalid denominator of 0 in a gstfraction and
12311 that fractions always get reduced.
12313 2005-11-20 Wim Taymans <wim@fluendo.com>
12315 * docs/gst/gstreamer-sections.txt:
12317 * gst/gstelement.c:
12326 2005-11-20 Wim Taymans <wim@fluendo.com>
12328 * docs/design/part-TODO.txt:
12330 Make a proper enum of the flag.
12332 2005-11-19 Wim Taymans <wim@fluendo.com>
12334 * docs/design/part-TODO.txt:
12335 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
12336 (gst_format_to_quark), (gst_format_register):
12338 * gst/gstquery.c: (_gst_query_initialize),
12339 (gst_query_type_get_name), (gst_query_type_to_quark),
12340 (gst_query_type_register):
12342 Add type to quark and type to string conversions.
12344 2005-11-19 Andy Wingo <wingo@pobox.com>
12346 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
12349 2005-11-19 Wim Taymans <wim@fluendo.com>
12351 * docs/design/part-TODO.txt:
12352 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12353 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
12354 (gst_bin_handle_message_func):
12356 Make message handling overridable.
12358 2005-11-19 Andy Wingo <wingo@pobox.com>
12360 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
12363 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
12365 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
12366 is a GstClockTime. Fixes #321710.
12368 * gst/gstclock.h (GstClock): Remove offset property. Add
12369 internal_calibration and external_calibration. Fix padding. Pad
12370 also by GstClockTime so we don't run into problems.
12372 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
12373 (gst_clock_get_rate_offset): Remove.
12374 (gst_clock_set_time_adjust): Remove. Fixes #321712.
12377 * gst/gstutils.c (g_static_rec_cond_wait)
12378 (g_static_rec_cond_timed_wait): Removed, no longer needed.
12380 * gst/gstbin.c: Remove terrible continue_state prototype.
12382 * gst/gstelement.h (gst_element_continue_state): Make public.
12384 * gst/gstelement.h:
12385 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
12386 by continue_state. Fixes #319389.
12388 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
12389 Really fixes #168438. However I don't see anywhere where the
12390 filter function is called... stupid GStreamer...
12392 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
12393 don't have a dispose function, so it won't get called when the
12394 object is unreffed, but oh well!
12396 * gst/gstindex.c (gst_index_set_filter_full): New API function,
12397 allows a destroy function to be set so user_data can be freed.
12399 (gst_index_set_filter): Call gst_index_set_filter_full.
12401 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
12403 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
12404 string should produce an error, given the lack of a way to
12405 represent NULL strings. Fixes #165650.
12408 * gst/gstvalue.c (gst_value_array_append_value)
12409 (gst_value_array_prepend_value, gst_value_array_get_size)
12410 (gst_value_array_get_value): New API, copied from
12411 gst_value_list_*, only operates on arrays.
12412 (gst_value_list_append_value, gst_value_list_prepend_value)
12413 (gst_value_list_concat, gst_value_list_get_size)
12414 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
12416 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
12417 init_list, because it works on both.
12418 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
12419 (gst_value_copy_list_or_array): Renamed from copy_list.
12420 (gst_value_free_list_or_array): Renamed from free_list.
12421 (gst_value_collect_list_or_array): Renamed from collect_list.
12422 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
12423 (gst_value_list_or_array_peek_pointer): Renamed from
12425 (_gst_value_array_value_table, _gst_value_list_value_table):
12426 Update value table functions.
12427 (gst_value_compare_list_or_array): Renamed from compare_list.
12429 * gsttaglist.h: Whoops, foreach function returns void. Also fix
12432 * gst/gsttaglist.c:
12433 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
12434 GstTagList*. Fixes #143472.
12436 * gst/gststructure.h: Clarify what the foreach/map functions can
12437 or can't do to their arguments.
12439 2005-11-18 Wim Taymans <wim@fluendo.com>
12441 * gst/gstclock.c: (gst_clock_set_calibration),
12442 (gst_clock_get_calibration):
12444 Calibration can be set with internal time equal to current
12447 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
12453 2005-11-18 Andy Wingo <wingo@pobox.com>
12456 * pkgconfig/gstreamer-net.pc.in:
12457 * pkgconfig/gstreamer-net-uninstalled.pc.in:
12458 * pkgconfig/Makefile.am: Add net pkgconfig files.
12460 2005-11-18 Stefan Kost <ensonic@users.sf.net>
12463 * gst/gstghostpad.c:
12469 2005-11-18 Andy Wingo <wingo@pobox.com>
12471 * gst/net/gstnetclientclock.c: Turn off debugging.
12473 * check/net/gstnetclientclock.c (test_functioning): Assert that the
12474 times connverge somewhat. Can't make a real test.
12476 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
12477 integer arithmetic. Return the minimum of the domain, which can be
12478 set as "internal" for gst_clock_set_calibration.
12479 (gst_net_client_clock_observe_times): Call _set_calibration.
12480 (gst_net_client_clock_new): Call _set_calibration instead of
12483 * check/net/gstnetclientclock.c (test_functioning): Use the right
12487 * gst/gstclock.c (gst_clock_get_calibration)
12488 (gst_clock_set_calibration): New functions, obsolete the ones I
12489 added yesterday. Doh. Precision issues mean we have to extrapolate
12490 from a point in the more recent past than 1970.
12491 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
12493 (gst_clock_adjust_unlocked): Use the right calibration data.
12495 2005-11-18 Edward Hervey <edward@fluendo.com>
12497 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12498 Also reset the ->current_* values in READY->PAUSED
12500 2005-11-18 Andy Wingo <wingo@pobox.com>
12502 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
12503 Whoops, check the right fd. Also add some debugging.
12504 (gst_net_client_clock_observe_times): Adjust for int64 offset.
12505 (do_linear_regression): Add a crapload of debugging. Subtract off
12506 the minimum values from the input series to discard unneeded bits.
12507 Use only int arithmetic. There is still double arithmetic when
12508 calculating the intercept that needs fixing. Return boolean to
12509 indicate success; FALSE would mean the domain or range is too
12510 great. Still needs fixes.
12512 2005-11-18 Wim Taymans <wim@fluendo.com>
12514 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12515 For the current position in stream time, we need to subtract
12518 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12519 Release lock before calling the callback function of async
12522 2005-11-18 Andy Wingo <wingo@pobox.com>
12524 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
12525 Port goes all the way to MAXUINT16.
12527 * gst/net/gstnettimeprovider.c: Make the port range the same as
12528 for the kernel: 0 assigns, otherwise ports are less than
12531 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
12534 * check/net/gstnetclientclock.c (test_functioning): Add the start
12537 2005-11-18 Wim Taymans <wim@fluendo.com>
12539 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12540 (gst_bin_remove_func), (bin_bus_handler):
12542 Removing a clock provider from a bin, triggers a clock lost message
12543 so that a new clock will be selected.
12544 Adding a clock to a bin triggers a clock provider message.
12545 Make sure we reselect a clock when we received a clock lost message.
12546 Keep a reference to the element that provided the clock.
12548 2005-11-18 Andy Wingo <wingo@pobox.com>
12550 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
12551 the clock initially so it produces values around the base time.
12552 (gst_net_client_clock_class_init): Typo fix.
12553 (gst_net_client_clock_thread): Add note on when the socket gets
12556 2005-11-17 Wim Taymans <wim@fluendo.com>
12558 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
12559 Free remote and local time arrays.
12561 2005-11-17 Wim Taymans <wim@fluendo.com>
12563 * gst/net/gstnetclientclock.c: (do_linear_regression),
12564 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
12565 Fix compilation, uninitialized vars and a forgotten continue.
12567 2005-11-17 Andy Wingo <wingo@pobox.com>
12569 * check/Makefile.am (check_PROGRAMS):
12570 * check/net/gstnetclientclock.c: Add a most minimal test for the
12571 net client clock. More to come later.
12573 * gst/net/gstnet.h:
12574 * gst/net/Makefile.am: Add netclientclock.
12576 * gst/net/gstnetclientclock.h:
12577 * gst/net/gstnetclientclock.c: New files, implement an untested
12578 GstClock that takes its time from a network time provider.
12579 Implements the algorithm in network-clock.scm.
12581 * tests/network-clock.scm (*window-size*): Rename from
12583 * tests/network-clock.scm (network-time):
12584 * tests/network-clock-utils.scm (q-push): Update callers.
12586 2005-11-17 Wim Taymans <wim@fluendo.com>
12588 * gst/gstbin.c: (gst_bin_provide_clock_func),
12589 (gst_bin_sort_iterator_new):
12590 And unref the child too..
12592 2005-11-17 Wim Taymans <wim@fluendo.com>
12594 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12595 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
12596 Refactor the sort iterator so it can be used while holding the
12598 Make clock selection select a clock closest to the source.
12600 2005-11-17 Michael Smith <msmith@fluendo.com>
12602 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
12603 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
12605 Anonymous structs are a gcc (and some other compilers) extension, so
12606 don't use them. Since this is only for ABI-compatibility, and our
12607 API/ABI freeze is over in a few days, this whole thing will only
12608 last a few days, so don't bother trying to think up a meaningful
12609 name for the struct.
12611 2005-11-17 Andy Wingo <wingo@pobox.com>
12613 * gst/gstclock.h (GstClock): Add rate and offset properties,
12614 preserving ABI stability. Add rate/offset accessors. Will file bug
12615 for the freeze break.
12617 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
12618 and offset, trying to keep precision and avoiding
12619 underflow/overflow.
12620 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
12621 functions. Make gst_clock_set_time_adjust obsolete.
12622 (gst_clock_set_time_adjust): Note that this function is obsolete.
12623 Will file bug soon.
12625 * gst/base/gstbasetransform.h: Make the ABI-stability hack
12626 greppable by using GST_PADDING-1+1.
12628 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
12630 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12632 * gst/gstmessage.c: (gst_message_parse_clock_lost):
12633 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12635 * gst/gstpadtemplate.h:
12636 * gst/gstpluginfeature.h:
12637 Don't use c++ style comments in headers (#321638).
12639 2005-11-16 Andy Wingo <wingo@pobox.com>
12641 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12644 * check/net/gstnettimeprovider.c: Check to see that the time
12645 provider actually provides times. Works, yo!
12647 2005-11-16 Wim Taymans <wim@fluendo.com>
12649 * check/Makefile.am:
12652 * check/elements/fakesrc.c: (GST_START_TEST):
12653 Set element to NULL before disposing it.
12655 2005-11-16 Andy Wingo <wingo@pobox.com>
12657 * gst/net/Makefile.am:
12658 * gst/net/gstnet.h:
12659 * gst/net/gstnettimeprovider.c:
12660 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12661 provider, include it from gstnet.h, and add it to the build.
12663 * gst/net/gstnettimepacket.h:
12664 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12665 sending and receiving.
12667 2005-11-16 Wim Taymans <wim@fluendo.com>
12669 * check/Makefile.am:
12670 Enable valgrind check.
12672 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12673 (gst_fake_src_alloc_buffer):
12676 2005-11-16 Wim Taymans <wim@fluendo.com>
12678 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12679 Call parent finalize too.
12681 2005-11-16 Wim Taymans <wim@fluendo.com>
12683 * check/Makefile.am:
12684 Enable valgrind check that should work fine now.
12686 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12687 * gst/gstqueue.c: (gst_queue_init):
12688 Fix memleaks in pad allocation.
12690 2005-11-16 Andy Wingo <wingo@pobox.com>
12692 * gst/net/Makefile.am:
12693 * gst/net/gstnet.h: New part of core to hold network elements and
12694 objects. Put in core because it exposes API that applications want
12695 to use. The library is named libgstnet-tempname right now because
12696 of the existing libgstnet in gst-plugins-base. Solution is
12697 probably to rename the one in plugins-base; will file a bug for
12700 * gst/net/gstnettimeprovider.c:
12701 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12702 get_time call over the network.
12705 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12707 * check/Makefile.am:
12708 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12709 get additions shortly.
12711 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12713 * gst/gstpad.c: (gst_pad_new_from_static_template):
12715 add gst_pad_new_from_static_template functions
12716 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12717 (gst_check_setup_sink_pad):
12718 * gst/elements/gsttee.c: (gst_tee_init):
12721 2005-11-16 Wim Taymans <wim@fluendo.com>
12723 * gst/gstpad.c: (gst_pad_pause_task):
12724 Removed warning, it's not really an error either.
12726 2005-11-16 Wim Taymans <wim@fluendo.com>
12728 * gst/base/gstbasetransform.c:
12729 (gst_base_transform_prepare_output_buf),
12730 (gst_base_transform_event):
12731 Check if the caps are NULL, this can happen if the element
12732 is shutting down and the pad caps are set to NULL.
12734 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12736 * gst/elements/gsttee.c: (gst_tee_init):
12737 fix pad template leak in tee
12739 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12741 * gst/glib-compat.c: (g_value_dup_gst_object):
12742 * gst/glib-compat.h:
12743 * gst/gstpad.c: (gst_pad_set_property):
12744 use gst_object_ref when setting the pad template; this will
12745 trigger the pad template leaks on GLib 2.6 and the slaves
12747 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12749 * gst/glib-compat.c: (gst_flags_get_first_value):
12750 * gst/glib-compat.h:
12751 * gst/gstregistryxml.c:
12752 remove functions copied from GLib 2.6
12754 2005-11-16 Michael Smith <msmith@fluendo.com>
12757 Don't link against VALGRIND_LIBS. That was always the wrong thing to
12758 do, but only breaks with newer valgrind versions. We're not a
12759 valgrind tool, we have no link-time dependencies on libcoregrind.
12761 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12763 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12765 * gst/gstmessage.h:
12768 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12770 * gst/base/gstbasesrc.c: (gst_base_src_init):
12771 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12772 * gst/gstqueue.c: (gst_queue_init):
12773 * gst/gstregistryxml.c: (load_feature):
12774 Revert all these unrefs, they don't even pass make check !
12776 2005-11-15 Johan Dahlin <johan@gnome.org>
12778 * gst/base/gstbasesrc.c: (gst_base_src_init):
12779 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12780 * gst/gstqueue.c: (gst_queue_init):
12781 Free pad templates, fixes a couple of leaks.
12783 2005-11-15 Daniel Fischer <dan at f3c dot com>
12785 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12787 * gst/gstpad.c: (gst_pad_get_property):
12788 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12789 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12792 2005-11-15 Wim Taymans <wim@fluendo.com>
12797 2005-11-15 Andy Wingo <wingo@pobox.com>
12799 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12801 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12802 using GST_CLOCK_TIME_NONE to disable base time management.
12803 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12804 time if it was NONE before.
12805 (gst_pipeline_change_state): Only munge the base time if
12806 stream_time != GST_CLOCK_TIME_NONE.
12808 * check/gst/gstpipeline.c (test_base_time): Punt around the
12809 problem of the probe not being called, because that's not the
12810 issue I'm looking at. Add a check that setting stream_time to NONE
12811 disables base time management.
12813 2005-11-15 Wim Taymans <wim@fluendo.com>
12815 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12816 segment_stop == -1 at startup.
12818 * gst/base/gstbasetransform.c: (gst_base_transform_event),
12819 (gst_base_transform_change_state):
12820 Init segment values at start.
12822 2005-11-15 Wim Taymans <wim@fluendo.com>
12824 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12825 0 segment values are 0 in any format.
12827 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12828 * gst/base/gstbasetransform.h:
12829 Parse newsegment correctly in basetransform
12831 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12832 Sync to clock using updated segment values.
12834 2005-11-15 Andy Wingo <wingo@pobox.com>
12836 * check/gst/gstpipeline.c (test_base_time): Add check that the
12837 base time and stream time are reset correctly.
12839 2005-11-15 Wim Taymans <wim@fluendo.com>
12841 * docs/design/part-TODO.txt:
12842 Some more TODO items.
12844 2005-11-15 Andy Wingo <wingo@pobox.com>
12846 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12847 error if the user selected "no clock" as the clocking method.
12849 * check/gst/gstpipeline.c (test_base_time): New test for buffer
12850 timestamps with live capture.
12852 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12853 is 0 but we are a live source, timestamp the buffers using the
12856 2005-11-14 Stefan Kost <ensonic@users.sf.net>
12858 * docs/gst/gstreamer-sections.txt:
12860 * gst/gstghostpad.c:
12865 2005-11-14 Wim Taymans <wim@fluendo.com>
12868 add suppressions from Wim's Debian machine
12870 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
12873 add suppressions from Andy's AMD64 Ubuntu machine
12875 2005-11-14 Andy Wingo <wingo@pobox.com>
12877 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12878 STATE_LOCK not necessary. Fixes #311489.
12880 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12883 * gst/gstindex.c (gst_index_add_object): Note in the docs that
12884 this function is not implemented.
12886 2005-11-14 Julien MOUTTE <julien@moutte.net>
12888 * gst/base/gstbasetransform.c:
12889 (gst_base_transform_prepare_output_buf):
12890 Ref the source pad caps while we need them.
12893 2005-11-11 Wim Taymans <wim@fluendo.com>
12895 * docs/gst/gstreamer-sections.txt:
12896 Added some docs for GstCollectData.
12898 * gst/base/gstadapter.c:
12899 Some small code example fix.
12901 * gst/base/gstcollectpads.c:
12902 * gst/base/gstcollectpads.h:
12903 Document some more.
12905 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12907 * configure.ac: back to HEAD
12909 === release 0.9.5 ===
12911 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12914 releasing 0.9.5, "Bike Lunch Day"
12916 2005-11-11 Wim Taymans <wim@fluendo.com>
12918 * gst/gstbuffer.c: (_gst_buffer_copy):
12921 * gst/gstcaps.c: (gst_caps_is_equal):
12923 Make _is_equal fast in the trivial cases.
12925 * gst/gstminiobject.c:
12926 * gst/gstminiobject.h:
12927 More docs. Spifify .h file.
12932 2005-11-11 Wim Taymans <wim@fluendo.com>
12934 * gst/base/gstbasetransform.c:
12935 (gst_base_transform_prepare_output_buf),
12936 (gst_base_transform_handle_buffer):
12938 If we're processing a buffer and need to allocate an output
12939 buffer, we cannot accept a format change. If we did get a
12940 format change, we have to alloc a buffer ourselves of the
12943 2005-11-11 Wim Taymans <wim@fluendo.com>
12945 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12946 While checking the flag for reentrancy in the gstcaps function
12947 is nice to detect recursive invocations, it also makes it
12948 impossible to call getcaps from multiple threads, which must be
12949 possible. So, checking for recursive calls has to go.
12951 2005-11-11 Michael Smith <msmith@fluendo.com>
12953 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12954 Don't sync on buffers that fall partially outside our current
12955 segment. Prevents an assertion failure/abort playing some files.
12957 2005-11-10 Andy Wingo <wingo@pobox.com>
12959 * check/gst/gstbin.c (test_message_state_changed_children): Style
12962 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12963 gst_bus_poll with the signal watch. Ensures that poll and a signal
12964 watch see the same messages.
12966 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12967 a poll and a watch at the same time get the same messages.
12969 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12971 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12972 * gst/gstcaps.c: (gst_caps_intersect):
12973 Don't call gst_caps_do_simplify - it doesn't respect order of caps
12974 and it's not needed.
12976 2005-11-10 Wim Taymans <wim@fluendo.com>
12978 * docs/design/part-TODO.txt:
12981 2005-11-10 Wim Taymans <wim@fluendo.com>
12983 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12984 * gst/base/gstbasesrc.c: (gst_base_src_wait),
12985 (gst_base_src_do_sync), (gst_base_src_get_range):
12986 Implement clock sync in base class.
12988 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12990 patch by: Tim-Philipp Müller <tim at centricular dot net>
12992 * gst/gststructure.c: (gst_structure_parse_field),
12993 (gst_structure_from_string):
12994 Forward-port a 0.8 patch to handle escaped spaces in structure string,
12995 so that gst_parse_launch() can deal with spaces in filtered link
12996 caps (fixes #164479)
12997 * check/gst/capslist.h:
12998 * check/gst/gststructure.c: (GST_START_TEST):
12999 add unit tests for this change
13001 2005-11-10 Wim Taymans <wim@fluendo.com>
13003 * docs/gst/gstreamer-sections.txt:
13004 * gst/gstelement.c:
13005 * gst/gstelement.h:
13006 Fix docs, move some STATE macros to private.
13008 2005-11-10 Wim Taymans <wim@fluendo.com>
13010 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13011 Added check for bug #317341
13015 Some more spiffifying.
13017 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
13018 Call peer linkfunction if we are a source pad. Totally fixes
13022 Update docs, source pads should call the peer linkfunction
13023 so they can atomically perform the pad link.
13025 2005-11-09 Wim Taymans <wim@fluendo.com>
13029 Uber-spiffy-spiffify some more.
13031 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
13033 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
13034 * gst/elements/gstfilesink.c: (gst_file_sink_init):
13035 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13036 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
13037 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
13038 * gst/gstpad.c: (gst_pad_init):
13039 Use GST_DEBUG_FUNCPTR() more extensively.
13041 2005-11-09 Wim Taymans <wim@fluendo.com>
13043 * gst/gstobject.c: (gst_object_class_init):
13045 Documentation fixes.
13047 2005-11-09 Edward Hervey <edward@fluendo.com>
13049 * gst/gsttypefindfactory.c:
13052 2005-11-09 Edward Hervey <edward@fluendo.com>
13054 * gst/base/gsttypefindhelper.c:
13055 * gst/gsttypefind.c:
13056 * gst/gsttypefind.h:
13059 2005-11-09 Wim Taymans <wim@fluendo.com>
13061 * gst/gstiterator.c:
13068 2005-11-09 Wim Taymans <wim@fluendo.com>
13074 2005-11-09 Wim Taymans <wim@fluendo.com>
13076 * docs/gst/gstreamer-sections.txt:
13077 Moved the message async delivery private lock and cond
13078 to the private section.
13080 * gst/gstmessage.c:
13081 * gst/gstmessage.h:
13084 2005-11-09 Edward Hervey <edward@fluendo.com>
13086 * docs/gst/gstreamer-sections.txt:
13089 Document GstURIHandler
13091 2005-11-09 Wim Taymans <wim@fluendo.com>
13093 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
13094 (gst_iterator_find_custom):
13095 * gst/gstiterator.h:
13098 2005-11-09 Wim Taymans <wim@fluendo.com>
13101 Document another field.
13103 * gst/gststructure.c:
13104 * gst/gststructure.h:
13107 2005-11-09 Wim Taymans <wim@fluendo.com>
13110 Documented structs.
13112 2005-11-09 Wim Taymans <wim@fluendo.com>
13114 * docs/gst/gstreamer-sections.txt:
13115 Added some new macros.
13122 2005-11-09 Wim Taymans <wim@fluendo.com>
13124 * docs/design/part-TODO.txt:
13125 Some more items for the TODO
13131 2005-11-09 Andy Wingo <wingo@pobox.com>
13133 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
13134 to work on something else now tho...
13136 * gst/base/gstadapter.c: More adapter docs.
13138 * gst/elements/gstfilesink.c (gst_file_sink_start)
13139 (gst_file_sink_stop): New functions, replace the state change
13141 (gst_file_sink_class_init): Hook up the start and stop functions.
13142 (gst_file_sink_base_init): Don't set the state change handler any
13143 more. It was a bit ugly too, being set from here...
13144 (gst_file_sink_get_property, gst_file_sink_set_property):
13146 (gst_file_sink_set_location): More robust check that doesn't call
13147 GST_STATE. Ugggggg.
13149 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
13151 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13152 Hold STREAM_LOCK while pushing newsegment or tag events as well.
13154 2005-11-08 Wim Taymans <wim@fluendo.com>
13156 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
13157 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13158 (gst_base_sink_chain), (gst_base_sink_change_state):
13159 * gst/base/gstbasesink.h:
13160 * gst/base/gstbasesrc.h:
13161 * gst/gstelement.h:
13163 Avoid excessive typechecking in macros.
13165 * gst/gstminiobject.c: (gst_mini_object_get_type),
13166 (gst_mini_object_init), (gst_mini_object_new),
13167 (gst_mini_object_free):
13168 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13169 (gst_object_finalize):
13170 Remove cruft code, optimize alloc_trace.
13172 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
13174 * docs/faq/gst-uninstalled:
13175 fix up PS1 for systems that try to reset it
13177 2005-11-07 Wim Taymans <wim@fluendo.com>
13179 * gst/base/gstbasesrc.c: (gst_base_src_init),
13180 (gst_base_src_get_range):
13181 Set the segment_end to -1 initially. Fixed typefind.
13183 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
13185 * gst/base/gstadapter.c:
13186 Debug category should be 'adapter', not 'GstAdapter'.
13188 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
13189 (gst_collectpads_class_init), (gst_collectpads_init),
13190 (gst_collectpads_peek), (gst_collectpads_pop),
13191 (gst_collectpads_event), (gst_collectpads_chain):
13192 Add debug category and some debugging output. Use boilerplate
13193 macros. Remove some extraneous words from docs.
13195 2005-11-05 Andy Wingo <wingo@pobox.com>
13197 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
13200 2005-11-04 Stefan Kost <ensonic@users.sf.net>
13202 * docs/gst/gstreamer-sections.txt:
13205 * gst/gstminiobject.h:
13210 2005-11-04 Wim Taymans <wim@fluendo.com>
13212 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13213 Small update to stop at the configured segment_end
13216 2005-11-04 Stefan Kost <ensonic@users.sf.net>
13218 * gst/gstregistry.c:
13219 * gst/gstregistry.h:
13222 2005-11-04 Edward Hervey <edward@fluendo.com>
13224 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13225 Check if we are doing a segment seek and have arrived at the
13226 end of that segment.
13228 2005-11-04 Wim Taymans <wim@fluendo.com>
13230 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
13231 Don't leak a mutex unlock in case of an error.
13236 2005-11-04 Wim Taymans <wim@fluendo.com>
13238 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
13240 Get the context to wake up only once.
13242 2005-11-03 Wim Taymans <wim@fluendo.com>
13244 * check/states/sinks.c: (GST_START_TEST):
13245 Uncomment fixed check.
13247 * docs/design/part-TODO.txt:
13250 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13251 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13252 (gst_base_sink_get_position):
13253 If we are going to PLAYING, post the right pending state
13254 when we post the intermediate paused message.
13256 * gst/gstelement.c: (gst_element_continue_state),
13257 (gst_element_set_state_func), (gst_element_change_state):
13258 Don't post state changes that were between the same state
13259 and were not ASYNC.
13261 2005-11-03 Stefan Kost <ensonic@users.sf.net>
13263 * docs/gst/gstreamer-sections.txt:
13266 * gst/gstminiobject.h:
13269 more docs and doc style fixes
13271 2005-11-03 Stefan Kost <ensonic@users.sf.net>
13273 * docs/gst/gstreamer-sections.txt:
13274 * gst/gstelement.c:
13275 * gst/gstminiobject.c:
13278 2005-11-03 Andy Wingo <wingo@pobox.com>
13280 * check/states/sinks.c (test_livesrc_sink): Add checks that the
13281 state-changed messages actually have the right order and the right
13284 2005-11-03 Wim Taymans <wim@fluendo.com>
13286 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13287 Added some more checks. Specifically the case where NO_PREROLL
13288 elements are in the pipeline.
13290 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13291 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13292 (gst_base_sink_get_position):
13293 Post READY->PAUSED state change messages too.
13294 Fix bug where VOID was posted as pending state...
13296 * gst/gstbin.c: (gst_bin_recalc_state):
13297 use _element_continue_state() to continue the state change.
13299 * gst/gstelement.c: (gst_element_continue_state),
13300 (gst_element_commit_state), (gst_element_set_state_func),
13301 (gst_element_change_state), (gst_element_change_state_func):
13302 Lots of state change cleanups, assign the STATE_RETURN in
13303 a new continue_state() function that also propagates the
13304 last return value from a state change to the app.
13305 Update some debug statements with proper category.
13307 2005-11-03 Wim Taymans <wim@fluendo.com>
13309 * docs/design/part-events.txt:
13310 * docs/design/part-gstpipeline.txt:
13311 * docs/design/part-messages.txt:
13312 * docs/design/part-overview.txt:
13313 * docs/design/part-seeking.txt:
13314 * docs/design/part-states.txt:
13315 * docs/design/part-trickmodes.txt:
13316 * docs/manual/advanced-position.xml:
13317 Small docs updates.
13320 People think !! is ugly, this looks better.
13322 * gst/gstpad.c: (gst_pad_set_blocked_async):
13323 Remove !! since it's fixed elsewhere now.
13325 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13327 * gst/gstminiobject.h:
13329 Add !! to _FLAG_IS_SET macros to make the result boolean.
13331 2005-11-03 Edward Hervey <edward@fluendo.com>
13333 * gst/gstpad.c: (gst_pad_set_blocked_async):
13334 comparing a flag and a gboolean rarely returns coherent results...
13335 Added two characters (!!) to make that work correctly.
13337 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13339 * gst/gstbus.c: (gst_bus_class_init):
13342 * gst/gstqueue.c: (gst_queue_loop):
13343 Don't assume a miniobject that isn't a buffer is an
13344 event (it could be that there is a refcounting
13345 problem somewhere and the pointer is stale and
13346 refers to an already destroyed miniobject).
13348 2005-11-03 Julien MOUTTE <julien@moutte.net>
13350 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
13352 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13354 * docs/manual/advanced-position.xml:
13355 Update seek example and explanations to current 0.9 API.
13357 * gst/elements/gsttypefindelement.c:
13358 (gst_type_find_element_activate):
13359 Remove FIXME comment now that the found caps
13362 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
13364 * gst/gstregistryxml.c: (load_feature):
13365 Add another GST_STR_NULL instance
13367 2005-11-02 Edward Hervey <edward@fluendo.com>
13369 * gst/gstpad.c: (handle_pad_block):
13370 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
13372 2005-11-02 Wim Taymans <wim@fluendo.com>
13377 * gst/gstelement.c: (gst_element_commit_state):
13378 Remove unused value.
13380 * gst/gstiterator.c:
13381 Mention that the returned element is reffed in the docs.
13383 2005-11-02 Wim Taymans <wim@fluendo.com>
13385 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
13386 (gst_pad_push), (gst_pad_push_event):
13387 Unlock blocked pads when they are flushed.
13389 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13392 * docs/gst/gstreamer-sections.txt:
13395 * gst/gstregistry.c: (gst_registry_scan_path_level):
13396 fix for a nasty little missed situation where an installed plug-in
13397 which was in the cache did not get overridden by an uninstalled one
13398 which was earlier in the plugin path because the newly created plugin
13399 for the uninstalled one (not in the registry) didn't get its
13400 ->registered set to TRUE
13402 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
13404 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
13405 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
13406 (gst_collectpads_is_active), (gst_collectpads_collect),
13407 (gst_collectpads_collect_range), (gst_collectpads_start),
13408 (gst_collectpads_stop), (gst_collectpads_peek),
13409 (gst_collectpads_pop), (gst_collectpads_available),
13410 (gst_collectpads_read), (gst_collectpads_flush):
13411 Guard public API with assertions.
13414 Fix docs for gst_pad_set_link_function().
13416 2005-11-02 Johan Dahlin <johan@gnome.org>
13418 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
13419 Unref found_caps after we used it.
13421 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
13423 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
13424 Don't try to ref NULL.
13426 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13428 * win32/common/config.h.in:
13429 provide a GST_FUNCTION that just gives a string for now
13431 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13433 * win32/common/gstenumtypes.c: (register_gst_object_flags),
13434 (gst_object_flags_get_type), (register_gst_bin_flags),
13435 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13436 (gst_buffer_flag_get_type), (register_gst_bus_flags),
13437 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13438 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
13439 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13440 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13441 (gst_clock_flags_get_type), (register_gst_state),
13442 (gst_state_get_type), (register_gst_state_change_return),
13443 (gst_state_change_return_get_type), (register_gst_state_change),
13444 (gst_state_change_get_type), (register_gst_element_flags),
13445 (gst_element_flags_get_type), (register_gst_core_error),
13446 (gst_core_error_get_type), (register_gst_library_error),
13447 (gst_library_error_get_type), (register_gst_resource_error),
13448 (gst_resource_error_get_type), (register_gst_stream_error),
13449 (gst_stream_error_get_type), (register_gst_event_type),
13450 (gst_event_type_get_type), (register_gst_seek_type),
13451 (gst_seek_type_get_type), (register_gst_seek_flags),
13452 (gst_seek_flags_get_type), (register_gst_format),
13453 (gst_format_get_type), (register_gst_index_certainty),
13454 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13455 (gst_index_entry_type_get_type),
13456 (register_gst_index_lookup_method),
13457 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13458 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13459 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13460 (gst_index_flags_get_type), (register_gst_debug_level),
13461 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13462 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13463 (gst_iterator_result_get_type), (register_gst_iterator_item),
13464 (gst_iterator_item_get_type), (register_gst_message_type),
13465 (gst_message_type_get_type), (register_gst_mini_object_flags),
13466 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13467 (gst_pad_link_return_get_type), (register_gst_flow_return),
13468 (gst_flow_return_get_type), (register_gst_activate_mode),
13469 (gst_activate_mode_get_type), (register_gst_pad_direction),
13470 (gst_pad_direction_get_type), (register_gst_pad_flags),
13471 (gst_pad_flags_get_type), (register_gst_pad_presence),
13472 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13473 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13474 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13475 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13476 (gst_plugin_flags_get_type), (register_gst_rank),
13477 (gst_rank_get_type), (register_gst_query_type),
13478 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13479 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13480 (gst_tag_flag_get_type), (register_gst_task_state),
13481 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13482 (gst_alloc_trace_flags_get_type),
13483 (register_gst_type_find_probability),
13484 (gst_type_find_probability_get_type), (register_gst_uri_type),
13485 (gst_uri_type_get_type), (register_gst_parse_error),
13486 (gst_parse_error_get_type):
13487 * win32/common/gstversion.h:
13488 update win32 copies
13490 2005-11-01 Luca Ognibene <luogni@tin.it>
13493 fix docs. popt is dead, long live GOption.
13495 2005-10-31 Wim Taymans <wim@fluendo.com>
13500 2005-10-31 Andy Wingo <wingo@pobox.com>
13504 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
13506 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
13507 need to serialize property notifications on GLib 2.8. GLib 2.6 has
13508 the possibility of deadlocks here if code calling notify() or
13509 set() has a lock that can be taken in another notify handler (ABBA
13510 with class lock and e.g. python GIL state lock).
13512 2005-10-28 Julien MOUTTE <julien@moutte.net>
13514 * gst/gstbus.c: Doc updates.
13516 2005-10-28 Wim Taymans <wim@fluendo.com>
13518 * docs/design/part-TODO.txt:
13519 * gst/gstiterator.c:
13520 * gst/gstsystemclock.c:
13521 * gst/gstsystemclock.h:
13524 2005-10-28 Edward Hervey <edward@fluendo.com>
13526 * docs/gst/gstreamer-docs.sgml:
13527 * docs/gst/gstreamer-sections.txt:
13528 the GstURIType documentation page is private, it only defines GstURIType
13529 which should be defined in the GstURIHandler page
13531 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
13533 * gst/gstbin.c: (gst_bin_class_init):
13536 Documentation updates.
13538 2005-10-28 Wim Taymans <wim@fluendo.com>
13540 * docs/gst/gstreamer-sections.txt:
13543 Documented the clocks.
13545 2005-10-28 Stefan Kost <ensonic@users.sf.net>
13547 * docs/gst/gstreamer-sections.txt:
13548 move some macros to private sections
13549 * gst/gstminiobject.c:
13550 * gst/gstminiobject.h:
13551 add descriptions provided by ds and some more
13553 mark macro as to be removed
13555 2005-10-28 Wim Taymans <wim@fluendo.com>
13557 * docs/design/part-TODO.txt:
13558 Add an item to TODO.
13560 * gst/gstiterator.c: (gst_iterator_fold),
13561 (gst_iterator_find_custom):
13562 * gst/gstiterator.h:
13565 2005-10-28 Wim Taymans <wim@fluendo.com>
13567 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13568 (gst_base_transform_init):
13571 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
13572 An EOS event marks the queue as completely filled.
13574 2005-10-27 Wim Taymans <wim@fluendo.com>
13576 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13577 (gst_base_sink_do_sync), (gst_base_sink_get_position):
13578 Some more debugging.
13580 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
13581 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
13582 (gst_base_transform_event), (gst_base_transform_getrange),
13583 (gst_base_transform_chain):
13584 * gst/base/gstbasetransform.h:
13586 Protect transform and concurrent buffer alloc with a new lock.
13587 Try not to break ABI/API.
13589 2005-10-27 Wim Taymans <wim@fluendo.com>
13591 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13592 (gst_base_src_init), (gst_base_src_query),
13593 (gst_base_src_default_newsegment),
13594 (gst_base_src_configure_segment), (gst_base_src_do_seek),
13595 (gst_base_src_send_event), (gst_base_src_event_handler),
13596 (gst_base_src_pad_get_range), (gst_base_src_loop),
13597 (gst_base_src_unlock), (gst_base_src_default_negotiate),
13598 (gst_base_src_start), (gst_base_src_deactivate),
13599 (gst_base_src_activate_push), (gst_base_src_change_state):
13600 Move some stuff around and cleanup things.
13602 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
13604 * gst/base/gstbasesrc.c: (gst_base_src_query):
13605 Add missing break statements.
13607 2005-10-27 Wim Taymans <wim@fluendo.com>
13609 * check/gst/gstbin.c: (GST_START_TEST):
13610 An extra refcount is taken in basesrc.
13612 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13613 (gst_base_src_get_range), (gst_base_src_pad_get_range),
13614 (gst_base_src_loop):
13615 Small cleanups, check for flushing after being unlocked from the
13616 LIVE_LOCK. take refcounts correctly (not yet everywhere).
13617 Don't send out EOS when going to READY.
13619 2005-10-27 Wim Taymans <wim@fluendo.com>
13621 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13622 (gst_base_sink_get_position):
13625 * gst/gstbin.c: (message_check), (bin_replace_message),
13626 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13627 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13628 (bin_query_duration_init), (bin_query_duration_fold),
13629 (bin_query_duration_done), (bin_query_generic_fold),
13631 * tools/gst-launch.c: (main):
13634 2005-10-26 Stefan Kost <ensonic@users.sf.net>
13636 * examples/controller/audio-example.c: (main):
13637 * examples/queue/queue.c: (event_loop):
13638 * gst/base/gstbasetransform.h:
13639 * gst/gstelement.c: (gst_element_send_event):
13641 * gst/gstpad.c: (gst_pad_send_event):
13644 changing log priority in error situations
13646 2005-10-25 Wim Taymans <wim@fluendo.com>
13648 * gst/gstbin.c: (message_check), (bin_replace_message),
13649 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13650 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13651 (bin_query_duration_init), (bin_query_duration_fold),
13652 (bin_query_duration_done), (bin_query_generic_fold),
13654 Some doc and debug updates.
13655 Cache previously requested query DURATION for speed. invalidate
13656 cached duration if element posts a DURATION message.
13658 2005-10-25 Wim Taymans <wim@fluendo.com>
13660 * docs/design/part-TODO.txt:
13663 * gst/gstbin.c: (message_check), (bin_replace_message),
13664 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13665 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13666 (bin_query_duration_init), (bin_query_duration_fold),
13667 (bin_query_duration_done), (bin_query_generic_fold),
13669 Handle SEGMENT_START/DONE messages correctly.
13670 More evolved query algorithm that handles duration queries
13673 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13674 (gst_element_get_state_func), (gst_element_abort_state),
13675 (gst_element_commit_state), (gst_element_lost_state):
13676 Some more debugging.
13678 * gst/gstmessage.h:
13681 2005-10-25 Wim Taymans <wim@fluendo.com>
13683 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13684 Don't use invalid stream_time.
13686 * gst/gstevent.c: (gst_event_new_newsegment):
13687 stream_time in newsegment cannot be undefined.
13689 2005-10-24 Wim Taymans <wim@fluendo.com>
13694 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13696 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13698 2005-10-24 Stefan Kost <ensonic@users.sf.net>
13700 * docs/libs/tmpl/gstdparam.sgml:
13701 * docs/libs/tmpl/gstdplinint.sgml:
13702 * docs/libs/tmpl/gstdpman.sgml:
13703 * docs/libs/tmpl/gstdpsmooth.sgml:
13704 * docs/libs/tmpl/gstunitconvert.sgml:
13707 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
13712 === release 0.9.4 ===
13714 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13717 releasing 0.9.4, "Tyrannosaurus Rex"
13719 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
13721 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13722 (gst_file_sink_get_current_offset):
13723 Use fseeko() and ftello() if available. When falling back on
13724 lseek() to get the current offset, fflush() first to make sure
13725 everything is up-to-date and we get the right offset.
13727 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13729 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13730 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13731 * gst/gsterror.c: (_gst_stream_errors_init):
13733 * gst/gstqueue.c: (gst_queue_loop):
13735 remove prematurely added error category and clean up the instances
13737 2005-10-21 Wim Taymans <wim@fluendo.com>
13739 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13740 (gst_base_sink_get_position), (gst_base_sink_query),
13741 (gst_base_sink_change_state):
13742 Simply set the right flag when going to playing, that's all
13743 we need to do instead of calling a function inside the object
13744 lock (that could take the lock as well and deadlock)
13746 2005-10-21 Wim Taymans <wim@fluendo.com>
13748 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13749 (gst_base_src_loop):
13750 Don't warn, the peer element knows what to do best when
13751 the seek failed, it might try something else.
13753 2005-10-21 Wim Taymans <wim@fluendo.com>
13755 * gst/base/gstbasesrc.c: (gst_base_src_init),
13756 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13759 2005-10-21 Wim Taymans <wim@fluendo.com>
13761 * docs/design/part-segments.txt:
13764 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13765 Correctly set caps, even on the subbufer.
13767 2005-10-21 Wim Taymans <wim@fluendo.com>
13769 * docs/gst/gstreamer-docs.sgml:
13770 * docs/gst/gstreamer-sections.txt:
13771 * gst/gstelement.h:
13774 * gst/gstmessage.h:
13777 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13781 And 2% more doc coverage.
13783 2005-10-21 Andy Wingo <wingo@pobox.com>
13785 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13786 position reporting.
13788 2005-10-20 Wim Taymans <wim@fluendo.com>
13790 * gst/gsterror.c: (gst_error_get_message):
13793 * gst/gststructure.c:
13798 2005-10-20 Wim Taymans <wim@fluendo.com>
13803 Another 1% more coverage.
13805 2005-10-20 Wim Taymans <wim@fluendo.com>
13807 * docs/gst/gstreamer-sections.txt:
13808 * gst/gstelement.c: (gst_element_get_state_func),
13809 (gst_element_abort_state), (gst_element_commit_state),
13810 (gst_element_lost_state):
13812 * gst/gstquery.c: (gst_query_set_position),
13813 (gst_query_parse_position), (gst_query_set_duration),
13814 (gst_query_parse_duration), (gst_query_new_convert):
13816 Yay! 1% more docs coverage.
13818 2005-10-20 Wim Taymans <wim@fluendo.com>
13821 * gst/gstquery.c: (gst_query_set_position),
13822 (gst_query_parse_position), (gst_query_set_duration),
13823 (gst_query_parse_duration), (gst_query_new_convert):
13825 * gst/gstutils.c: (gst_element_query_convert):
13827 Docs and consistency fixes.
13829 2005-10-20 Wim Taymans <wim@fluendo.com>
13835 2005-10-20 Wim Taymans <wim@fluendo.com>
13837 * gst/gstbin.c: (message_check), (bin_replace_message),
13838 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13839 (update_degree), (gst_bin_sort_iterator_next),
13840 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13841 Reworked the message handling a bit, cache the messages instead of
13842 only the senders. alows us to do more in the future.
13844 2005-10-20 Wim Taymans <wim@fluendo.com>
13846 * docs/design/part-TODO.txt:
13849 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13850 (gst_base_sink_query):
13851 Don't use clock time to report position when in EOS.
13853 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
13855 * tools/gst-inspect.c: (print_interfaces),
13856 (print_element_properties_info), (print_element_info):
13857 Fix interface output with gst-inspect -a; don't print
13858 newlines after double/float properties.
13860 2005-10-20 Wim Taymans <wim@fluendo.com>
13862 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13863 (gst_base_sink_query):
13864 Speed up current position calculation.
13866 * gst/base/gstbasesrc.c: (gst_base_src_query),
13867 (gst_base_src_default_newsegment):
13868 Correctly set stream position in newsegment.
13870 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13871 (update_degree), (gst_bin_sort_iterator_next),
13872 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13873 * gst/gstmessage.c: (gst_message_new_custom):
13874 Clean up debugging info
13876 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13877 (gst_queue_loop), (gst_queue_handle_src_query):
13880 2005-10-19 Wim Taymans <wim@fluendo.com>
13882 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13883 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13884 Fix query handling again.
13886 2005-10-19 Wim Taymans <wim@fluendo.com>
13888 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13889 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13890 * gst/base/gstbasesrc.c: (gst_base_src_query):
13891 * gst/elements/gstfilesink.c: (gst_file_sink_query):
13892 * gst/elements/gsttypefindelement.c:
13893 (gst_type_find_handle_src_query), (find_element_get_length),
13894 (gst_type_find_element_activate):
13897 * gst/gstquery.c: (gst_query_new_position),
13898 (gst_query_set_position), (gst_query_parse_position),
13899 (gst_query_new_duration), (gst_query_set_duration),
13900 (gst_query_parse_duration), (gst_query_set_segment),
13901 (gst_query_parse_segment):
13903 Bundling query position/duration is not a good idea since duration
13904 does not change much and we don't want to recalculate it for every
13905 position query, so they are separated again..
13906 Base value in segment query is not needed.
13908 * gst/gstqueue.c: (gst_queue_handle_src_query):
13909 * gst/gstutils.c: (gst_element_query_position),
13910 (gst_element_query_duration), (gst_pad_query_position),
13911 (gst_pad_query_duration):
13913 Updates for query API change.
13914 Added some docs here and there.
13916 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
13918 * check/gst/gstbin.c: (GST_START_TEST):
13919 * check/gst/gstghostpad.c: (GST_START_TEST):
13920 * check/pipelines/cleanup.c: (GST_START_TEST):
13921 wait on thread to die so we can check refcount correctly
13923 2005-10-18 Wim Taymans <wim@fluendo.com>
13925 * check/pipelines/stress.c: (GST_START_TEST):
13926 Make check a little more time consuming.
13928 2005-10-18 Wim Taymans <wim@fluendo.com>
13930 * check/Makefile.am:
13931 * check/pipelines/stress.c: (GST_START_TEST),
13932 (simple_launch_lines_suite), (main):
13933 Small state change torture test.
13935 * docs/design/part-states.txt:
13936 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13937 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13938 (gst_base_sink_change_state):
13939 Never take state lock from streaming thread, clean up ugly
13940 hacks. Unfortunatly core does not yet support nice ways to
13941 async commit state.
13943 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13945 Start state recalc if a STATE_DIRTY message is posted, but only
13946 on the toplevel bin.
13948 * gst/gstelement.c: (gst_element_sync_state_with_parent),
13949 (gst_element_get_state_func), (gst_element_abort_state),
13950 (gst_element_commit_state), (gst_element_lost_state),
13951 (gst_element_set_state_func), (gst_element_change_state):
13952 * gst/gstelement.h:
13953 State variables are now protected with the LOCK, the state
13954 lock is only used to serialize _set_state().
13956 2005-10-18 Wim Taymans <wim@fluendo.com>
13958 * check/gst/gstbin.c: (GST_START_TEST):
13959 * check/gst/gstmessage.c: (GST_START_TEST):
13960 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13961 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13963 * gst/gstelement.c: (gst_element_abort_state),
13964 (gst_element_commit_state), (gst_element_lost_state):
13965 * gst/gstmessage.c: (gst_message_new_state_changed),
13966 (gst_message_new_state_dirty), (gst_message_new_segment_start),
13967 (gst_message_new_segment_done), (gst_message_new_duration),
13968 (gst_message_parse_state_changed),
13969 (gst_message_parse_segment_start),
13970 (gst_message_parse_segment_done), (gst_message_parse_duration):
13971 * gst/gstmessage.h:
13972 * tools/gst-launch.c: (event_loop):
13973 Seriously, this is better than a previous commit as we only need
13974 to notify the fact that an element changed state in a streaming
13975 thread, marking the state of the parents dirty, hence the
13976 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13979 2005-10-18 Wim Taymans <wim@fluendo.com>
13981 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13982 (gst_bin_recalc_func):
13983 * gst/gstelement.c: (gst_element_set_clock),
13984 (gst_element_abort_state), (gst_element_lost_state):
13985 Cleanups, prepare for state change fixes.
13987 2005-10-18 Wim Taymans <wim@fluendo.com>
13990 * gst/gstelement.c: (gst_element_class_init),
13991 (gst_element_set_state), (gst_element_set_state_func):
13992 * gst/gstelement.h:
13993 Pending ABI changes.
13994 GThreadPool in GstBinClass to monitor async state changes.
13995 state_cookie in GstElement to detect concurrent gst/set state.
13996 set_state is now virtual too in case a very complicated element
13997 has to be constructed.
13999 2005-10-18 Wim Taymans <wim@fluendo.com>
14001 * check/gst/gstbin.c: (GST_START_TEST):
14002 * check/gst/gstmessage.c: (GST_START_TEST):
14003 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14004 * gst/gstbin.c: (bin_bus_handler):
14005 * gst/gstelement.c: (gst_element_commit_state),
14006 (gst_element_lost_state):
14007 * gst/gstmessage.c: (gst_message_new_state_changed),
14008 (gst_message_new_segment_start), (gst_message_new_segment_done),
14009 (gst_message_new_duration), (gst_message_parse_state_changed),
14010 (gst_message_parse_segment_start),
14011 (gst_message_parse_segment_done), (gst_message_parse_duration):
14012 * gst/gstmessage.h:
14013 * tools/gst-launch.c: (event_loop):
14014 Make messages future proof.
14015 state-change gets a flag if it was a message comming from the
14017 segment-start/stop can also be specified in other formats.
14018 A message to notify an app that a pipeline changed playback
14020 Also fix a GstMessage leak in -launch
14022 2005-10-18 Andy Wingo <wingo@pobox.com>
14024 * gst/gstelement.c (gst_element_dispose): More helpful message.
14026 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
14028 reviewed by: <delete if not using a buddy>
14030 * common/gtk-doc.mak:
14032 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
14034 * gst/gstregistry.c: (gst_registry_scan_path_level):
14035 unref a plug-in we get that was already initialized
14037 2005-10-18 Stefan Kost <ensonic@users.sf.net>
14039 * docs/gst/gstreamer-sections.txt:
14040 * docs/libs/gstreamer-libs-sections.txt:
14041 * gst/gstelement.h:
14042 add new api entries
14043 hide internal macro
14045 2005-10-17 Andy Wingo <wingo@pobox.com>
14047 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
14050 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
14052 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
14054 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
14055 (gst_element_get_state_func): Better debug message.
14056 (gst_element_commit_state): s/INFO/DEBUG/.
14057 (gst_element_lost_state, gst_element_change_state):
14059 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
14060 (gst_message_new_custom): s/INFO/LOG/.
14062 2005-10-17 Michael Smith <msmith@fluendo.com>
14064 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14065 Check if end time is valid using end time, not start time.
14067 2005-10-17 Stefan Kost <ensonic@users.sf.net>
14069 * check/gst-libs/controller.c: (GST_START_TEST),
14070 (gst_controller_suite):
14071 * libs/gst/controller/gstcontroller.c:
14072 (gst_controlled_property_set_interpolation_mode):
14073 * libs/gst/controller/gstcontroller.h:
14074 * libs/gst/controller/gstinterpolation.c:
14075 * testsuite/controller/.cvsignore:
14076 * testsuite/controller/Makefile.am:
14077 * testsuite/controller/interpolator.c:
14078 merge controller testsuites
14080 remove mem-chunk from docs
14082 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
14084 * gst/gstmemchunk.c:
14085 * gst/gstmemchunk.h:
14086 * gst/gsttrashstack.c:
14087 * gst/gsttrashstack.h:
14088 out. get out. you're fired. to the Attic !
14090 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
14092 * gst/gstcaps.c: (gst_caps_intersect):
14093 fix signedness issues in a (hopefully) correct way
14094 * gst/gstelement.c: (gst_element_pads_activate):
14096 * gst/gstobject.c: (gst_object_set_parent):
14099 2005-10-17 Julien MOUTTE <julien@moutte.net>
14101 * gst/gstvalue.h: Fix prototypes.
14103 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14105 * docs/gst/gstreamer-sections.txt:
14106 * gst/gst.c: (gst_version_string):
14108 * gst/gstversion.h.in:
14109 * win32/common/libgstreamer.def:
14110 add gst_version_string ()
14112 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14116 * gst/gst.c: (init_post):
14117 * win32/common/config.h.in:
14119 * gst/gstcaps.c: (gst_caps_intersect):
14120 use gint64, the range could be bigger than a guint
14122 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14125 document potential problem in 2038
14127 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14129 * gst/gstcaps.c: (gst_caps_intersect):
14130 Fix guint j diving under 0
14132 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14135 * win32/common/config.h:
14136 * win32/common/config.h.in:
14137 check for process.h, declares getpid() on Windows
14139 include process.h if we have it
14140 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
14141 * gst/gstmemchunk.h:
14142 fix signedness issues
14143 * win32/common/libgstreamer.def:
14146 2005-10-16 Julien MOUTTE <julien@moutte.net>
14148 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
14149 fix. Because of unsigned ints, caps intersection was going nuts and
14150 trying to access structures with G_MAXUINT index. That fixes
14151 videotestsrc ! ffmpegcolorspace ! fakesink
14152 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
14155 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14158 use the gettext macro
14159 * gst/elements/gstelements.c:
14161 * gst/indexers/gstindexers.c:
14162 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
14163 * win32/common/config.h:
14165 * win32/common/config.h.in:
14166 add the template to generate config.h
14167 * win32/common/gstenumtypes.c:
14168 * win32/common/gstversion.h:
14171 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14173 * gst/gst.c: (gst_version):
14174 * gst/gstversion.h.in:
14177 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
14180 Oops, add missing closing bracket.
14182 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14185 use common m4's for argument checking
14187 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
14189 * docs/gst/gstreamer-sections.txt:
14191 Add GST_EVENT_TYPE_NAME() macro.
14193 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14196 * gst/gstpluginfeature.c:
14198 privatize more symbols
14200 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14203 add srcdir, builddir includes to GST_ALL_CFLAGS, since
14204 everything that uses GStreamer API should have the includes
14206 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14208 * docs/gst/gstreamer-sections.txt:
14209 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
14211 give each value a _get_type, removes the DATA exports
14213 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14217 remove _gst_registry_auto_load, not used anymore
14218 * gst/gstbin.c: (gst_bin_get_type):
14220 * gst/gstelement.c: (gst_element_get_type):
14221 * gst/gstelement.h:
14222 * gst/gstobject.c: (gst_object_get_type):
14224 * gst/gstpad.c: (gst_pad_get_type):
14226 make _get_type functions similar, fixes data export from library
14228 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14231 correctly make conditionals
14232 * gst/elements/Makefile.am:
14233 * gst/elements/gstelements.c:
14234 fix typo causing fdsrc not to build
14236 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14238 * testsuite/Makefile.am:
14239 * testsuite/bytestream/.cvsignore:
14240 * testsuite/bytestream/Makefile.am:
14241 * testsuite/bytestream/filepadsink.c:
14242 * testsuite/bytestream/gstbstest.c:
14243 * testsuite/bytestream/test1.c:
14244 * testsuite/bytestream/testfile1:
14245 * testsuite/caps/normalisation.c:
14246 * testsuite/caps/random.c: (main):
14247 * testsuite/cleanup/.cvsignore:
14248 * testsuite/cleanup/Makefile.am:
14249 * testsuite/cleanup/cleanup1.c:
14250 * testsuite/cleanup/cleanup2.c:
14251 * testsuite/cleanup/cleanup3.c:
14252 * testsuite/cleanup/cleanup4.c:
14253 * testsuite/cleanup/cleanup5.c:
14254 * testsuite/controller/interpolator.c:
14255 * testsuite/debug/printf_extension.c: (main):
14256 * testsuite/elements/tee.c:
14257 * testsuite/negotiation/.cvsignore:
14258 * testsuite/negotiation/Makefile.am:
14259 * testsuite/negotiation/pad_link.c:
14260 * testsuite/pad/Makefile.am:
14261 * testsuite/pad/chainnopull.c:
14262 * testsuite/pad/getnopush.c:
14263 * testsuite/pad/link.c:
14264 * testsuite/refcounting/sched.c: (create_pipeline):
14265 * testsuite/registry/Makefile.am:
14266 * testsuite/registry/gst-print-formats.c:
14267 * testsuite/schedulers/.cvsignore:
14268 * testsuite/schedulers/142183-2.c:
14269 * testsuite/schedulers/142183.c:
14270 * testsuite/schedulers/143777-2.c:
14271 * testsuite/schedulers/143777.c:
14272 * testsuite/schedulers/147713.c:
14273 * testsuite/schedulers/147819.c:
14274 * testsuite/schedulers/147894-2.c:
14275 * testsuite/schedulers/147894.c:
14276 * testsuite/schedulers/Makefile.am:
14277 * testsuite/schedulers/group_link.c:
14278 * testsuite/schedulers/queue_link.c:
14279 * testsuite/schedulers/relink.c:
14280 * testsuite/schedulers/unlink.c:
14281 * testsuite/schedulers/unref.c:
14282 * testsuite/schedulers/useless_iteration.c:
14283 * testsuite/states/bin.c:
14284 clean out/remove some stuff from the testsuite directories
14286 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14289 check for some headers
14290 * gst/elements/Makefile.am:
14291 * gst/elements/gstelements.c:
14292 don't compile fdsrc without sys/socket.h
14293 * gst/indexers/Makefile.am:
14294 * gst/indexers/gstindexers.c: (plugin_init):
14295 don't compile fileindex without mmap
14297 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14304 * check/Makefile.am:
14305 * docs/gst/Makefile.am:
14306 * examples/helloworld/Makefile.am:
14308 * gst/base/Makefile.am:
14309 * gst/check/Makefile.am:
14310 * gst/elements/Makefile.am:
14311 * gst/indexers/Makefile.am:
14312 * gst/parse/Makefile.am:
14313 * libs/gst/controller/Makefile.am:
14314 * libs/gst/dataprotocol/Makefile.am:
14315 * examples/helloworld/helloworld.c: (event_loop):
14316 compile fixes, though it's not being compiled currently
14318 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14320 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
14321 Add some simple tests for the new taglist date API.
14323 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14325 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
14326 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
14327 Beautify 'last-message' output: print 'none' for buffer timestamps
14328 and durations if none is set; improve alignment with next messages.
14330 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14332 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
14333 * gst/gstpluginfeature.h:
14334 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
14335 * gst/gstregistry.h:
14336 * docs/gst/gstreamer-sections.txt:
14337 Add new API to check plugin feature version requirements.
14339 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
14340 Some basic tests for the above.
14342 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14344 * gst/gststructure.c: (gst_structure_to_string):
14345 guard against NULL printf - happens when for example
14346 a message structure with GstClock gets serialized
14348 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
14350 * gst/base/gstcollectpads.c: (gst_collectpads_event):
14351 Fix presumable copy'n'pasto.
14353 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14355 * gst/elements/gstfakesrc.h:
14356 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
14357 * gst/elements/gsttypefindelement.c:
14358 fix some signedness
14359 * gst/elements/gstfilesink.c: (gst_file_sink_render):
14360 I wonder if this could actually write +2GB files before
14362 2005-10-13 Andy Wingo <wingo@pobox.com>
14364 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
14365 Fix Timmeke Waymans bug.
14366 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
14367 string of the proper length to gst_caps_from_string. There's a
14368 potential for, before this fix, that this could cause someone
14369 connecting over the network to cause a segfault if the payload is
14370 not NUL-terminated.
14372 2005-10-13 Stefan Kost <ensonic@users.sf.net>
14374 * docs/design/draft-push-pull.txt:
14375 * docs/design/part-overview.txt:
14376 * docs/random/TODO-pre-0.9:
14377 * docs/random/old/ChangeLog.gstreamer:
14378 * gst/base/gstpushsrc.c:
14382 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14384 * gst/glib-compat.c: (gst_flags_get_first_value):
14385 * gst/glib-compat.h:
14386 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
14387 (gst_value_compare_double), (gst_value_serialize_flags):
14388 GLib 2.6 g_flags_get_first_value has a bug that triggers an
14391 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14393 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14394 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14396 * tools/gst-launch.c: (event_loop):
14397 print out clock nicely
14399 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
14401 * docs/gst/gstreamer-sections.txt:
14402 * gst/gsttaglist.h:
14403 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
14404 (gst_tag_list_get_date_index):
14405 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
14406 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
14408 2005-10-13 Julien MOUTTE <julien@moutte.net>
14410 * gst/base/gstcollectpads.c: (gst_collectpads_event),
14411 (gst_collectpads_chain):
14412 * gst/base/gstcollectpads.h: Handle newsegment and store informations
14415 2005-10-13 Stefan Kost <ensonic@users.sf.net>
14417 * docs/gst/gstreamer-sections.txt:
14420 * tools/gst-inspect.c: (main):
14421 * tools/gst-launch.c: (main):
14422 * tools/gst-run.c: (main):
14423 * tools/gst-xmlinspect.c: (main):
14424 fix GOption context leaks
14427 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14431 * win32/common/config.h:
14433 * win32/vs6/grammar.dsp:
14434 * win32/vs6/libgstelements.dsp:
14435 * win32/vs6/libgstreamer.dsp:
14438 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14440 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14441 * gst/base/gstbasesrc.c: (gst_base_src_query):
14442 fix more guint64<->gdouble conversions
14444 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14447 add win32-update target
14448 * win32/common/gstconfig.h:
14449 * win32/common/gstenumtypes.c:
14450 * win32/common/gstenumtypes.h:
14451 * win32/common/gstversion.h:
14452 add files that visual studio can't generate
14454 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14457 add a win32-update target
14460 2005-10-12 Wim Taymans <wim@fluendo.com>
14462 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14463 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
14464 * gst/gstelement.c: (gst_element_commit_state),
14465 (gst_element_set_state):
14466 Protect flags with proper lock.
14467 unref provided cached clock in dispose.
14469 2005-10-12 Stefan Kost <ensonic@users.sf.net>
14472 * gst/gstminiobject.h:
14474 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
14475 removed unused flags from miniobject
14478 2005-10-12 Wim Taymans <wim@fluendo.com>
14480 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14481 (gst_file_sink_event), (gst_file_sink_render):
14482 Flush before seeking.
14484 2005-10-12 Andy Wingo <wingo@pobox.com>
14486 * gst/gst.c (gst_init_check): Ignore unknown options, as has
14487 always been the case.
14489 2005-10-12 Stefan Kost <ensonic@users.sf.net>
14491 * check/gst/gstbin.c: (GST_START_TEST):
14492 * docs/gst/gstreamer-sections.txt:
14493 * gst/base/gstbasesink.c: (gst_base_sink_init):
14494 * gst/base/gstbasesrc.c: (gst_base_src_init),
14495 (gst_base_src_get_range), (gst_base_src_check_get_range),
14496 (gst_base_src_start), (gst_base_src_stop):
14497 * gst/base/gstbasesrc.h:
14498 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
14499 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14500 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
14504 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
14506 * gst/gstelement.c: (gst_element_is_locked_state),
14507 (gst_element_set_locked_state), (gst_element_commit_state),
14508 (gst_element_set_state):
14509 * gst/gstelement.h:
14510 * gst/gstindex.c: (gst_index_init):
14512 * gst/gstminiobject.h:
14513 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
14514 (gst_object_set_parent):
14516 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
14517 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
14519 * gst/gstpadtemplate.h:
14520 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
14521 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14522 * gst/gstpipeline.h:
14523 * gst/indexers/gstfileindex.c: (gst_file_index_load),
14524 (gst_file_index_commit):
14525 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
14526 * testsuite/pad/link.c: (gst_test_src_init),
14527 (gst_test_filter_init), (gst_test_sink_init):
14528 * testsuite/states/locked.c: (main):
14529 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
14530 moved bitshift from macro to enum definition
14532 2005-10-12 Wim Taymans <wim@fluendo.com>
14534 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
14535 * gst/elements/gstfilesink.c: (gst_file_sink_event),
14536 (gst_file_sink_render):
14537 Some more debugging info.
14539 2005-10-12 Wim Taymans <wim@fluendo.com>
14541 * docs/design/part-states.txt:
14542 * tools/gst-launch.c: (main):
14544 Revert non-intentional change.
14546 2005-10-12 Wim Taymans <wim@fluendo.com>
14548 * check/gst/gstbin.c: (GST_START_TEST):
14549 * check/gst/gstelement.c: (GST_START_TEST):
14550 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
14551 * check/gst/gstghostpad.c: (GST_START_TEST):
14552 * check/gst/gstpipeline.c: (GST_START_TEST):
14553 * check/pipelines/simple_launch_lines.c: (run_pipeline):
14554 * check/states/sinks.c: (GST_START_TEST):
14555 * gst/elements/gsttypefindelement.c: (stop_typefinding):
14556 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14557 (gst_bin_remove_func), (gst_bin_get_state_func),
14558 (gst_bin_recalc_state), (gst_bin_change_state_func),
14560 * gst/gstelement.c: (gst_element_get_state_func),
14561 (gst_element_get_state), (gst_element_abort_state),
14562 (gst_element_commit_state), (gst_element_set_state),
14563 (gst_element_change_state), (gst_element_change_state_func):
14564 * gst/gstelement.h:
14565 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
14566 (gst_pipeline_provide_clock_func):
14567 * gst/gstutils.c: (gst_element_link_pads_filtered):
14568 * tools/gst-launch.c: (main):
14569 * tools/gst-typefind.c: (main):
14570 Use GstClockTime in _get_state() instead of GTimeVal.
14571 Remove old code in gstutils.c
14573 2005-10-12 Andy Wingo <wingo@pobox.com>
14575 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
14578 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
14579 there is no task. Shouldn't affect any code, as nothing in our
14580 plugins checks this return value.
14581 (gst_pad_stop_task): Also take the stream lock if the pad has no
14582 task. Docs updated.
14584 2005-10-12 Wim Taymans <wim@fluendo.com>
14586 * gst/gstpad.c: (pre_activate), (post_activate),
14587 (gst_pad_activate_pull), (gst_pad_activate_push):
14588 Cleanup activation code. Reset old state if
14591 2005-10-12 Wim Taymans <wim@fluendo.com>
14593 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14594 (gst_base_sink_change_state):
14595 No need to prerol after receiving EOS.
14597 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14598 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
14599 * gst/elements/gstidentity.c: (gst_identity_event):
14600 Print events more verbosely.
14602 2005-10-12 Wim Taymans <wim@fluendo.com>
14604 * check/Makefile.am:
14605 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14606 * check/states/sinks2.c:
14607 Moved sinks2 testcode in sinks check.
14609 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14610 (gst_bin_remove_func), (gst_bin_recalc_state),
14611 (gst_bin_change_state_func), (bin_bus_handler):
14612 Fix potential race condition when _get_state() iterated over an
14613 ASYNC element right before it posted a state completion.
14616 Do proper cast here.
14618 * gst/gstevent.c: (gst_event_new_newsegment),
14619 (gst_event_parse_newsegment):
14620 A playback rate of 0.0 is not allowed.
14622 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14624 * win32/common/config.h:
14625 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
14626 (_trewinddir), (_ttelldir), (_tseekdir):
14627 * win32/common/dirent.h:
14628 * win32/common/gtchar.h:
14629 * win32/common/libgstbase.def:
14630 * win32/common/libgstreamer.def:
14631 * win32/vs6/grammar.dsp:
14632 * win32/vs6/gst_inspect.dsp:
14633 * win32/vs6/gst_launch.dsp:
14634 * win32/vs6/gstreamer.dsw:
14635 * win32/vs6/libgstbase.dsp:
14636 * win32/vs6/libgstelements.dsp:
14637 * win32/vs6/libgstreamer.dsp:
14638 Visual Studio 6 project files, and a new common directory.
14641 2005-10-11 Wim Taymans <wim@fluendo.com>
14643 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14644 (gst_base_sink_do_sync), (gst_base_sink_query),
14645 (gst_base_sink_change_state):
14646 * gst/base/gstbasesink.h:
14647 Correctly parse newsegment info.
14649 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14651 * gst/gst.c: (init_post):
14652 split plugin paths correctly
14654 2005-10-11 Wim Taymans <wim@fluendo.com>
14656 * check/gst/gstevent.c: (GST_START_TEST):
14657 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14658 (gst_base_sink_change_state):
14659 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14660 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14661 * gst/elements/gstfilesink.c: (gst_file_sink_event):
14662 * gst/gstevent.c: (gst_event_new_newsegment),
14663 (gst_event_parse_newsegment):
14665 Added extra flag to newsegment for future API freeze.
14666 Updated check and base elements.
14668 2005-10-11 Julien MOUTTE <julien@moutte.net>
14670 * gst/base/gstcollectpads.c: (gst_collectpads_init),
14671 (gst_collectpads_add_pad), (gst_collectpads_pop),
14672 (gst_collectpads_event), (gst_collectpads_chain):
14673 * gst/base/gstcollectpads.h: Handle EOS correctly.
14675 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14677 * tools/gst-launch.c: (main):
14678 more null protecting
14680 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14682 * gst/gst-i18n-lib.h:
14683 check for ENABLE_NLS, not GETTEXT_PACKAGE
14684 * gst/gstregistry.c: (gst_registry_add_plugin),
14685 (gst_registry_scan_path_level),
14686 (_gst_registry_remove_cache_plugins):
14687 protect possibly NULL strings
14688 * gst/parse/types.h:
14689 config.h already included before
14690 * tools/gst-inspect.c: (main):
14691 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14692 check for ENABLE_NLS, not GETTEXT_PACKAGE
14693 * tools/gst-launch.c: (main):
14694 check for ENABLE_NLS, not GETTEXT_PACKAGE
14696 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14699 if we don't have glib, fail before testing 2.8
14700 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14701 fix a leak, should fix plugins-base testsuite
14703 2005-10-11 Andy Wingo <wingo@pobox.com>
14705 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14706 take the mode we're going to as an arg. Go head and set the mode
14707 and flushing flags now, so that if the activate function starts a
14708 thread all the flags will be in the right state.
14709 (post_activate): Renamed also. Just handle making sure streaming
14710 finishes for the deactivation case, and setting the deactivated
14712 (gst_pad_set_active): Complain loudly if deactivation fails.
14713 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14714 (gst_pad_activate_push): Adapt to pre/post_activate changes,
14715 remove the terrible hack.
14717 2005-10-11 Wim Taymans <wim@fluendo.com>
14719 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14720 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14721 (gst_bin_recalc_state), (gst_bin_change_state_func),
14722 (gst_bin_dispose), (bin_bus_handler):
14724 Prepare to make current EOS message queue more generic.
14727 * gst/gstevent.c: (gst_event_new_newsegment),
14728 (gst_event_parse_newsegment):
14730 Rename base to stream_time.
14732 * gst/gstmessage.h:
14735 2005-10-11 Wim Taymans <wim@fluendo.com>
14737 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14738 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14739 (gst_bin_change_state_func), (bin_bus_handler):
14741 Work on proper clock selection.
14743 2005-10-11 Edward Hervey <edward@fluendo.com>
14745 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
14746 * libs/gst/controller/gstcontroller.h:
14747 Added GList* version of _remove_properties() in order to be able to wrap
14750 2005-10-11 Wim Taymans <wim@fluendo.com>
14752 * docs/design/part-states.txt:
14755 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14756 (gst_bin_change_state_func), (bin_bus_handler):
14757 Doc updates. Don't distribute the same clock over and over again.
14763 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14764 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14765 (gst_pad_send_event):
14767 Make probe emission threadsafe again.
14768 Register quarks and move _get_name() from utils.
14771 * gst/gstpipeline.c: (gst_pipeline_class_init),
14772 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14773 Only redistribute the clock of it changed.
14775 * gst/gstsystemclock.h:
14780 Moved the _flow_get_name() to GstPad.
14782 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14784 * check/gst-libs/gdp.c: (GST_START_TEST):
14785 * check/gst/gstcaps.c: (GST_START_TEST):
14786 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14787 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14788 (gst_dp_packet_from_caps):
14789 fix more valgrind warnings before turning up the heat
14791 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14793 * gst/parse/grammar.y:
14794 some cleanup before the hacking
14796 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14798 * gst/base/gstbasesrc.c: (gst_base_src_query):
14800 * gst/gstutils.c: (gst_guint64_to_gdouble),
14801 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14803 externalize, basesrc uses it
14804 obviously the implementation needs testing
14806 2005-10-10 Wim Taymans <wim@fluendo.com>
14808 * tests/sched/Makefile.am:
14809 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14810 (make_pipeline3), (make_pipeline4), (print_elem), (main):
14812 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14814 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14815 apparently converting from guint64 to double is not implemented
14818 2005-10-10 Wim Taymans <wim@fluendo.com>
14820 * check/Makefile.am:
14821 * check/generic/states.c: (GST_START_TEST):
14822 * check/gst/gstbin.c: (GST_START_TEST):
14823 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14824 * check/states/sinks.c: (GST_START_TEST):
14825 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14827 Check fixes, use API as stated in design docs, remove hacks.
14829 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14830 (gst_base_sink_change_state):
14831 Catch stopping our task while we're shutting down.
14833 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14834 (gst_bin_remove_func), (gst_bin_get_state_func),
14835 (gst_bin_recalc_state), (gst_bin_change_state_func),
14838 * gst/gstelement.c: (gst_element_init),
14839 (gst_element_get_state_func), (gst_element_abort_state),
14840 (gst_element_commit_state), (gst_element_lost_state),
14841 (gst_element_set_state), (gst_element_change_state),
14842 (gst_element_change_state_func):
14843 * gst/gstelement.h:
14844 New state change algorithm (see #318116)
14846 * gst/gstpipeline.c: (gst_pipeline_class_init),
14847 (gst_pipeline_init), (gst_pipeline_set_property),
14848 (gst_pipeline_get_property), (do_pipeline_seek),
14849 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14850 * gst/gstpipeline.h:
14851 Remove crude state change hacks.
14854 Remove crude hacks.
14856 * tools/gst-launch.c: (main):
14857 Fixes for state change. Needs some more work to fully use the
14860 2005-10-10 Andy Wingo <wingo@pobox.com>
14862 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14864 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14865 this flag, but it's not even in GLib 2.6. Odd. Hack around the
14868 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14870 * gst/gstiterator.c: (gst_iterator_new):
14871 Fix my previous commit: GTypes passed to gst_iterator_new()
14872 can be fundamental types.
14874 2005-10-10 Wim Taymans <wim@fluendo.com>
14876 * gst/gstelement.c: (gst_element_iterate_pad_list),
14877 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14878 (gst_element_iterate_sink_pads):
14879 Use src/sink pads lists for the respective iterators instead
14882 2005-10-10 Andy Wingo <wingo@pobox.com>
14884 Merged in popt removal + GOption addition patch from Ronald, bug
14887 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14888 GstElement macros around, remove popt-related symbols, add goption
14891 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14893 * docs/gst/Makefile.am:
14894 * docs/libs/Makefile.am: No POPT_CFLAGS.
14896 * examples/manual/Makefile.am:
14897 * docs/manual/basics-init.xml: Doc updates with an example.
14899 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14900 (gst_init), (parse_one_option), (parse_goption_arg):
14901 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14902 bit of hand merging and debugging to get the GOption stuff working
14905 * tests/Makefile.am:
14906 * tools/Makefile.am:
14907 * tools/gst-inspect.c: (main):
14908 * tools/gst-launch.c: (main):
14909 * tools/gst-run.c: (main):
14910 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14912 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14914 * gst/gstiterator.c: (gst_iterator_new):
14915 Add assertions to make sure passed GType is likely to really
14916 be a GType (as the compiler won't catch it if the size and
14917 GType arguments get mixed up, see #318447).
14919 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
14921 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14923 * gst/gstbin.c: (gst_bin_iterate_sorted):
14924 Pass GType and size arguments to gst_iterator_new() in the right
14925 order (maybe we should make _new() take the GType as first argument
14926 just like _new_list()?) (#318447).
14929 2005-10-10 Wim Taymans <wim@fluendo.com>
14931 * gst/gstelement.c: (gst_element_finalize):
14932 And free the GStaticRecMutex too
14934 2005-10-10 Andy Wingo <wingo@pobox.com>
14936 * gst/gstelement.c (gst_element_init, gst_element_finalize):
14937 Allocate and free the mutex properly.
14939 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14941 (GstElement): The state_lock is now recursive. Rebuild your
14942 plugins, suckers. Old macros adapted.
14944 * docs/gst/gstreamer-sections.txt: Doc updates.
14947 * gst/gstutils.c (g_static_rec_cond_timed_wait)
14948 (g_static_rec_cond_wait): Ported from state changes patch, while
14949 we wait on bug #317802 to be solved in a well-distributed GLib.
14951 * gst/gstelement.c (gst_element_change_state_func): Renamed from
14952 gst_element_change_state, variable name changes.
14953 (gst_element_change_state): Split out of gst_element_set_state in
14954 preparation for the state change merge. Doesn't pay attention to
14955 the 'transition' argument.
14956 (gst_element_set_state): Updates, hopefully purely cosmetic.
14957 (gst_element_sync_state_with_parent): MT-safety. Ported from the
14958 state change patch.
14959 (gst_element_get_state_func): Renamed from get_state, cosmetic
14962 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14964 * gst/elements/gstelements.c:
14965 * win32/GStreamer.vcproj:
14967 * win32/dirent.c: (_tseekdir):
14968 * win32/gst-inspect.vcproj:
14969 * win32/gst-launch.vcproj:
14970 * win32/gstconfig.h:
14971 * win32/gstelements.vcproj:
14972 * win32/gstenumtypes.c: (gst_object_flags_get_type):
14973 * win32/gstreamer.def:
14974 * win32/msvc71.sln:
14975 updates for the win32 build (patch from Sebastien Moutte)
14977 2005-10-10 Andy Wingo <wingo@pobox.com>
14979 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14980 gst_bin_get_state, cleaned up (but no logic changes).
14981 (bin_element_is_sink): Comment updates.
14982 (sink_iterator_filter): Remove needless cast.
14983 (gst_bin_iterate_sinks): Doc update.
14984 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14985 cleaned up (but no logic changes).
14987 * check/states/sinks.c (test_src_sink): Cleanups from the state
14989 (test_livesrc_sink): Sync on the state.
14991 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14992 the state change patch.
14994 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14997 * check/gst/gstbin.c: Merge in some style fixes and additional
14998 checks from Wim's state change patch.
15000 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
15002 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15003 (gst_type_find_helper):
15004 Check whether we have the requested data already in our list of
15005 cached buffers before pulling a new buffer; also make the buffer
15006 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
15008 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15013 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15014 don't use long long, it's not portable. Replacing with
15015 gint64 seems to work; let's hope no skeletons fall out of the closet.
15017 2005-10-10 Andy Wingo <wingo@pobox.com>
15019 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
15021 2005-10-09 Stefan Kost <ensonic@users.sf.net>
15023 * docs/gst/gstreamer-sections.txt:
15028 * gst/gstmessage.c: (gst_message_parse_state_changed):
15031 more docs, fix compilation
15033 2005-10-09 Philippe Khalaf <burger@speedy.org>
15034 * gst/gstmessage.c:
15035 Fixed a few forgotten variables on previous commit
15037 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
15039 * gst/base/gsttypefindhelper.c: (helper_find_peek):
15040 Fix evil typefind crasher: getrange() might return a short
15041 buffer at the end of a file, but gst_type_find_peek() must
15042 either return the full data as requested or NULL, but
15043 never a short buffer.
15045 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
15047 * gst/gstmessage.c: (gst_message_new_state_changed),
15048 (gst_message_parse_state_changed):
15049 * gst/gstmessage.h:
15050 don't use "new", it's a C++ keyword
15052 2005-10-08 Wim Taymans <wim@fluendo.com>
15054 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
15055 * gst/gstelement.c: (gst_element_post_message):
15056 * gst/gstpipeline.c: (gst_pipeline_change_state):
15057 Small docs and debug updates.
15059 2005-10-08 Stefan Kost <ensonic@users.sf.net>
15061 * docs/gst/gstreamer-sections.txt:
15062 * gst/gstelementfactory.c:
15064 * gst/gsttaglist.c:
15067 2005-10-08 Wim Taymans <wim@fluendo.com>
15069 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
15070 (gst_bin_dispose), (bin_bus_handler):
15071 Fix typos, add comments.
15072 Clear EOS list when going to PAUSED from any direction and do it
15073 in a threadsafe way.
15074 Get base time in a threadsafe way too.
15075 Fix confusing debug in the change_state function.
15076 Various other small cleanups.
15078 * gst/gstelement.c: (gst_element_post_message):
15079 Fix very verbose bus posting code.
15081 * gst/gstpipeline.c: (gst_pipeline_class_init),
15082 (gst_pipeline_set_property), (gst_pipeline_get_property),
15083 (gst_pipeline_change_state):
15084 Small ARG_ -> PROP_ cleanup
15086 2005-10-08 Wim Taymans <wim@fluendo.com>
15088 * gst/gstbin.c: (is_eos), (bin_bus_handler):
15089 Do a less CPU demanding EOS check because we can.
15091 2005-10-08 Wim Taymans <wim@fluendo.com>
15093 * libs/gst/dataprotocol/dataprotocol.c:
15094 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
15095 (gst_dp_packet_from_event):
15096 * libs/gst/dataprotocol/dataprotocol.h:
15097 * libs/gst/dataprotocol/dp-private.h:
15098 It's about time we bump the version number.
15099 Since event types don't fit in the guint8 anymore describing
15100 the payload type, make payload type 16 bits wide.
15102 2005-10-08 Wim Taymans <wim@fluendo.com>
15104 * docs/design/part-TODO.txt:
15105 * docs/design/part-clocks.txt:
15106 * docs/design/part-events.txt:
15107 * docs/design/part-gstbin.txt:
15108 * docs/design/part-gstelement.txt:
15109 * docs/design/part-gstpipeline.txt:
15110 * docs/design/part-live-source.txt:
15111 * docs/design/part-messages.txt:
15112 * docs/design/part-overview.txt:
15113 * docs/design/part-states.txt:
15116 2005-10-08 Wim Taymans <wim@fluendo.com>
15120 Fix event quark registration.
15121 Add some space between events so we can insert them in the
15124 2005-10-08 Wim Taymans <wim@fluendo.com>
15126 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15127 (gst_base_sink_handle_buffer):
15128 Better log message.
15131 * gst/gstelement.h:
15134 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
15135 (gst_queue_set_property), (gst_queue_get_property):
15137 Remove old unused properties.
15139 2005-10-08 Stefan Kost <ensonic@users.sf.net>
15140 * docs/gst/gstreamer-sections.txt:
15141 * gst/gstmessage.c:
15142 * gst/gstmessage.h:
15143 * gst/gstminiobject.c:
15144 * gst/gstminiobject.h:
15148 lots of new docs and doc fixes
15150 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15152 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
15154 * gst/gstregistry.c: (gst_registry_lookup_locked),
15155 (gst_registry_scan_path_level):
15156 * gst/gstregistryxml.c: (load_plugin):
15157 Only ever load one plugin for a given plugin basename.
15158 This ensures correct overriding of GST_PLUGIN_PATH over
15159 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
15160 system installed plugins.
15162 2005-10-08 Wim Taymans <wim@fluendo.com>
15164 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15165 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
15166 Prepare for doing QOS.
15168 2005-10-08 Wim Taymans <wim@fluendo.com>
15170 * check/gst/gstbin.c: (GST_START_TEST):
15171 * check/pipelines/cleanup.c: (GST_START_TEST):
15172 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15173 Allow new clock message too.
15175 2005-10-08 Wim Taymans <wim@fluendo.com>
15177 * gst/gstmessage.c: (gst_message_new_error),
15178 (gst_message_new_warning), (gst_message_new_tag),
15179 (gst_message_new_state_changed), (gst_message_new_clock_provide),
15180 (gst_message_new_clock_lost), (gst_message_new_new_clock),
15181 (gst_message_new_segment_start), (gst_message_new_segment_done),
15182 (gst_message_parse_state_changed),
15183 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
15184 (gst_message_parse_new_clock):
15185 * gst/gstmessage.h:
15186 Also carry the clock in question.
15188 2005-10-08 Wim Taymans <wim@fluendo.com>
15190 * gst/gstmessage.c: (gst_message_new_custom),
15191 (gst_message_new_eos), (gst_message_new_error),
15192 (gst_message_new_warning), (gst_message_new_tag),
15193 (gst_message_new_state_changed), (gst_message_new_clock_provide),
15194 (gst_message_new_new_clock), (gst_message_new_segment_start),
15195 (gst_message_new_segment_done), (gst_message_parse_state_changed),
15196 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
15197 * gst/gstmessage.h:
15199 Added clock related messages.
15201 * gst/gstpipeline.c: (gst_pipeline_change_state):
15202 Post message when the clock changed.
15204 * tools/gst-launch.c: (event_loop):
15207 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
15209 * tools/gst-inspect.c: (print_element_properties_info):
15210 Can't pass NULL strings to g_print() on windows.
15212 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15214 * docs/Makefile.am:
15215 * docs/gst/Makefile.am:
15216 * docs/gst/gstreamer-docs.sgml:
15217 * docs/gst/running.xml:
15218 * docs/version.entities.in:
15219 add a chapter on running GStreamer.
15220 document GST_DEBUG and GST_PLUGIN* env vars
15222 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15227 remove PLUGINS_BUILDDIR stuff
15228 * gst/gst.c: (init_post):
15229 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
15231 remove, it was condescending and not needed
15233 2005-10-08 Wim Taymans <wim@fluendo.com>
15235 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
15236 (gst_base_sink_handle_object), (gst_base_sink_event),
15237 (gst_base_sink_wait), (gst_base_sink_handle_event),
15238 (gst_base_sink_change_state):
15239 * gst/base/gstbasesink.h:
15240 Repost EOS message while going to PLAYING if still EOS.
15241 Make sure that when receiving a FLUSH_START we don't attempt
15242 to sync on the clock anymore.
15244 2005-10-08 Wim Taymans <wim@fluendo.com>
15246 * tools/gst-launch.c: (event_loop):
15247 Better message printout.
15249 2005-10-08 Wim Taymans <wim@fluendo.com>
15251 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
15252 (gst_bin_child_proxy_get_children_count):
15253 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
15254 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
15255 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
15256 (gst_child_proxy_set_valist):
15257 * gst/parse/grammar.y:
15258 Make ChildProxy threadsafe and fix mem leaks.
15260 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15262 * gst/gst.c: (init_post):
15263 debug the GST_PLUGIN_ env vars
15265 2005-10-08 Wim Taymans <wim@fluendo.com>
15267 * check/gst/gstbin.c: (GST_START_TEST):
15268 * check/gst/gstmessage.c: (GST_START_TEST):
15269 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15270 * gst/gstelement.c: (gst_element_commit_state),
15271 (gst_element_lost_state):
15272 * gst/gstmessage.c: (gst_message_new_state_changed),
15273 (gst_message_parse_state_changed):
15274 * gst/gstmessage.h:
15275 * tools/gst-launch.c: (event_loop):
15276 Added extra field to STATE_CHANGE message with the pending
15277 state, which will be different from the new state soon.
15279 2005-10-08 Wim Taymans <wim@fluendo.com>
15281 * gst/gstbus.c: (gst_bus_pop):
15283 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15284 Small cleanups and doc updates.
15286 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15288 * gst/gst.c: (init_pre):
15289 * gst/gstbin.c: (gst_bin_add_func):
15290 log distributing clocks and base time
15291 * gst/gstregistry.c: (gst_registry_add_plugin),
15292 (gst_registry_scan_path_level), (gst_registry_scan_path):
15293 clean up the debugging output a little
15294 * gst/gstutils.c: (gst_element_state_get_name):
15295 warn about a memleak (I've actually seen this be used, though
15296 it was probably a bug)
15298 2005-10-07 Wim Taymans <wim@fluendo.com>
15300 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15301 (gst_base_src_init), (gst_base_src_default_newsegment),
15302 (gst_base_src_newsegment), (gst_base_src_do_seek),
15303 (gst_base_src_loop), (gst_base_src_start):
15304 * gst/base/gstbasesrc.h:
15305 Make the newsegment event customizable by subclasses.
15307 2005-10-07 Wim Taymans <wim@fluendo.com>
15309 * gst/gstevent.c: (gst_event_new_buffersize),
15310 (gst_event_parse_buffersize):
15312 New event for future idea.
15314 2005-10-07 Andy Wingo <wingo@pobox.com>
15316 * gst/gstelement.c (gst_element_post_message): Doc update.
15318 * docs/gst/gstreamer-sections.txt: Update.
15320 * gst/gstmessage.c (gst_message_new_application): Made into a
15321 function like honest API calls.
15322 (gst_message_new_element): New message type.
15324 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
15326 * check/elements/fakesrc.c (test_no_preroll): New check, checks
15327 that setting a live fakesrc to PAUSED returns NO_PREROLL both
15330 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
15331 NO_PREROLL from gst_element_change_state to fall through.
15333 2005-10-07 Wim Taymans <wim@fluendo.com>
15335 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
15336 (gst_ghost_pad_do_activate_push):
15337 Activating a ghostpad with no internal pad in push mode
15340 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
15343 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
15344 Fixes compilation on Windows.
15346 2005-10-07 Michael Smith <msmith@fluendo.com>
15348 * tools/gst-inspect.c:
15349 Print out feature and plugin count at the end when printing out
15352 2005-10-04 Michael Smith <msmith@fluendo.com>
15354 * gst/gsterror.c: (_gst_stream_errors_init):
15355 Add another error string used in a few existing plugins.
15358 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15359 * tools/gst-inspect.c: (print_element_info):
15360 When a feature disappears from a plugin (and the feature exists in
15361 the cached registry file), things went horribly wrong. This isn't a
15362 complete fix, we should actually be removing the 'missing' features
15363 from the features list when we load the actual plugin. That's not
15366 2005-10-04 Johan Dahlin <johan@gnome.org>
15368 * check/gst/gstiterator.c: (GST_START_TEST):
15369 * gst/gstbin.c: (gst_bin_iterate_elements),
15370 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
15371 * gst/gstelement.c: (gst_element_iterate_pads):
15372 * gst/gstformat.c: (gst_format_iterate_definitions):
15373 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
15374 (gst_iterator_new_list), (gst_iterator_filter):
15375 * gst/gstiterator.h:
15376 * gst/gstquery.c: (gst_query_type_iterate_definitions):
15377 Add a GType to GstIterator, update callsites and tests.
15379 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15381 * gst/gstpad.c: (gst_pad_event_default_dispatch):
15382 give events a chance to be handled by event probes when the pad
15385 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15387 * gst/gstevent.c: (gst_event_type_get_name),
15388 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
15390 add string representations for event types
15392 2005-10-06 Wim Taymans <wim@fluendo.com>
15394 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
15395 Don't use NULL pointers.
15397 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15399 * gst/gst_private.h:
15401 * gst/gstelement.c:
15403 * gst/gstpluginfeature.c:
15404 widen the debug category in output to fit the biggest one we have
15405 add a bus category and use it
15406 play with the colors
15407 fix up some categories
15409 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15411 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
15412 add push activation of sink ghost pads.
15413 Andye, please verify
15415 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
15417 * gst/gstutils.c: (gst_element_link_pads):
15418 fix a bug in the case where neither element has a pad
15419 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15420 add a test for that case
15422 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
15424 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
15425 emit have-data before checking for peers. This allows
15426 for probe handlers to connect elements. This helps autopluggers.
15427 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
15429 add six checks, linked/unlinked with no/true/false probe
15431 2005-10-04 Wim Taymans <wim@fluendo.com>
15433 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
15434 (gst_fake_sink_event), (gst_fake_sink_preroll),
15435 (gst_fake_sink_render), (gst_fake_sink_change_state):
15436 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
15437 (gst_fake_src_get_property), (gst_fake_src_create),
15438 (gst_fake_src_stop):
15439 * gst/elements/gstidentity.c: (gst_identity_stop):
15440 Protect last_message with lock.
15442 2005-10-04 Edward Hervey <edward@fluendo.com>
15445 Added precision in the comments for GST_FORMAT_DEFAULT
15447 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
15449 * tools/gst-launch.c: (main):
15450 Don't try to run erroneous pipelines.
15452 2005-10-04 Julien MOUTTE <julien@moutte.net>
15454 * gst/gstbus.c: We don't need this header.
15456 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
15459 back to development
15461 === release 0.9.3 ===
15463 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
15467 Releasing 0.9.3, "Unregistered"
15469 2005-10-03 Andy Wingo <wingo@pobox.com>
15471 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
15472 whereby calling a pad's activatepush() function can start a thread
15473 that starts to push or pull before the pad gets the FLUSHING flag
15474 unset. Hack around it by holding the stream lock until the flag is
15475 set. Need to replace this with a proper solution. Together with
15476 the ghost pad fixes, this fixes mp3 playing/tagreading.
15478 * docs/design/part-gstghostpad.txt: Add a note about activation of
15479 proxy pads outside of ghost pads.
15481 * gst/gstghostpad.c: Implement the ghost pad activation design.
15483 2005-10-02 Andy Wingo <wingo@pobox.com>
15485 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
15486 It is volatile, after all.
15488 * docs/design/part-gstghostpad.txt: Flesh out activation with
15491 * gst/base/gstbasesrc.c (gst_base_src_init): Use
15494 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
15497 Fix (unused) AM_CONDITIONAL tests.
15499 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
15501 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15503 * gst/gstutils.c: (gst_pad_query_convert):
15504 Add assertion that makes sure src_val is >=0, just like
15505 gst_query_new_convert() has. (#315895)
15507 2005-09-30 Edward Hervey <edward@fluendo.com>
15509 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
15510 Let's not iterate pads we're not interested in, it avoids getting
15511 sky-high refcounts on sinkpad.
15513 2005-09-30 Wim Taymans <wim@fluendo.com>
15515 * gst/gstelement.c: (gst_element_set_state),
15516 (gst_element_change_state):
15517 Small tweak, element in ASYNC remains ASYNC.
15519 2005-09-30 Wim Taymans <wim@fluendo.com>
15521 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15522 Only error is an error.
15524 * gst/gstbin.c: (gst_bin_change_state):
15527 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
15528 Also call pad_block in pad alloc.
15530 * gst/gstutils.c: (gst_flow_get_name):
15533 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15535 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15536 (gst_base_src_get_range):
15537 Fix documentation typos. Add some more debug info.
15539 2005-09-29 David Schleef <ds@schleef.org>
15541 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
15542 more end-user friendly.
15543 * tools/gst-inspect.c: (main): Check if command-line argument is
15544 a file and attempt to load that file as a plugin.
15546 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15548 * check/gst/gstbin.c:
15549 * check/states/sinks.c:
15550 fix tests for the new warning
15551 * check/gst/gstpipeline.c:
15552 add a test for pipeline and bus interaction
15553 * gst/gstelement.c:
15554 elements should be NULL if they get disposed; add a warning if not
15556 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15559 for 2.6 refcounting, make debug log more correct by printing
15560 the actual refcounts at the time of swap (Wim)
15562 2005-09-29 Andy Wingo <wingo@pobox.com>
15564 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
15565 removes signal watches previously added via
15566 gst_bus_add_signal_watch.
15567 (gst_bus_add_signal_watch): Don't return the source id, just store
15568 it on the bus if there wasn't an id already.
15570 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
15571 add_signal_watch and remove_signal_watch.
15573 2005-09-29 Edward Hervey <edward@fluendo.com>
15575 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
15576 Better if we actually iterate the list :)
15578 2005-09-29 Wim Taymans <wim@fluendo.com>
15580 * check/gst/gstbin.c: (GST_START_TEST):
15581 Change for new bus API.
15583 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15584 (send_messages), (GST_START_TEST), (gstbus_suite):
15585 Change for new bus signal API.
15587 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
15588 (gst_bus_source_prepare), (gst_bus_source_check),
15589 (gst_bus_create_watch), (gst_bus_add_watch_full),
15590 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
15591 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
15593 Remove support for multiple GSources operating on different
15594 message types as it is too complex and unneeded when using
15596 Added support for receiving signals from the bus.
15598 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15600 * docs/libs/tmpl/gstdataprotocol.sgml:
15601 * docs/manual/advanced-dataaccess.xml:
15602 * gst/elements/gstcapsfilter.c:
15604 rename filter-caps to caps property
15606 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15608 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15609 More robust fraction string parsing.
15611 * docs/pwg/appendix-porting.xml:
15612 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
15614 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15616 * gst/gstcaps.c: (gst_caps_do_simplify):
15617 Thou shalt not free a structure and then continue using it
15618 in the next loop iteration.
15620 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
15622 Add test case for caps simplification.
15624 2005-09-29 Wim Taymans <wim@fluendo.com>
15626 * check/gst/gstbin.c: (GST_START_TEST):
15629 2005-09-29 Wim Taymans <wim@fluendo.com>
15631 * check/gst/gstbin.c: (GST_START_TEST):
15634 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15635 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15636 (find_element), (gst_bin_sort_iterator_next),
15637 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15638 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15639 (gst_bin_change_state), (gst_bin_dispose):
15640 A bin does not have a bus, it gets the bus from the parent.
15642 * gst/gstelement.c: (gst_element_requires_clock),
15643 (gst_element_provides_clock), (gst_element_is_indexable),
15644 (gst_element_is_locked_state), (gst_element_change_state),
15645 (gst_element_set_bus_func):
15648 * gst/gstpipeline.c: (gst_pipeline_class_init),
15649 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15650 The pipeline provides a bus.
15652 2005-09-28 Johan Dahlin <johan@gnome.org>
15654 * gst/gstmessage.c (gst_message_parse_state_changed): Use
15655 gst_structure_get_enum instead of gst_structure_get_int
15657 * gst/gststructure.c (gst_structure_get_enum): Impl.
15659 * gst/gststructure.h (gst_structure_get_enum): Add
15661 * docs/gst/gstreamer-sections.txt: Ditto
15663 * gst/gstmessage.c (gst_message_new_state_changed): Use
15664 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15665 which does introspection.
15666 Reviewed by Christian Schaller
15668 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15670 * gst/gstinfo.c: (gst_debug_log_default):
15671 don't do dummy g_strdup()s
15672 * libs/gst/controller/gstcontroller.c:
15673 (on_object_controlled_property_changed),
15674 (gst_controlled_property_new), (gst_controller_new_valist),
15675 (gst_controller_new_list),
15676 (gst_controller_remove_properties_valist), (gst_controller_set),
15677 (gst_controller_get), (gst_controller_sync_values),
15678 (gst_controller_get_value_array), (_gst_controller_class_init),
15679 (gst_controller_get_type):
15680 * libs/gst/controller/gstcontroller.h:
15681 * libs/gst/controller/gstinterpolation.c:
15682 (gst_controlled_property_find_timed_value_node):
15683 convert // to /**/ comments
15685 2005-09-28 Wim Taymans <wim@fluendo.com>
15687 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15688 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15689 (gst_bus_sync_signal_handler):
15691 Added async-message and sync-message signals to the bus.
15692 Added helper BusFunc to emit signals for all posted messages.
15694 * gst/gstmessage.c: (gst_message_type_get_name),
15695 (gst_message_type_to_quark), (gst_message_get_type):
15696 * gst/gstmessage.h:
15697 Register quarks for message names.
15699 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15701 * docs/libs/gstreamer-libs-sections.txt:
15702 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15703 (gst_controller_new_list):
15704 * libs/gst/controller/gstcontroller.h:
15705 added another constructor for language bindings
15707 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
15709 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15713 * gst/gstinfo.c: (_gst_debug_init):
15714 slightly more readable color for refcount debugging
15716 2005-09-28 Wim Taymans <wim@fluendo.com>
15718 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15719 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15720 (find_element), (gst_bin_sort_iterator_next),
15721 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15722 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15723 (gst_bin_change_state), (gst_bin_dispose):
15724 Small doc fixes. get_clock -> provide_clock.
15726 * gst/gstelement.c: (gst_element_class_init),
15727 (gst_element_provides_clock), (gst_element_provide_clock),
15728 (gst_element_get_clock), (gst_element_commit_state),
15729 (gst_element_lost_state):
15730 * gst/gstelement.h:
15731 Make get/set_clock() symetric. Add provide_clock vmethod since
15732 that is actually what this function does.
15734 * gst/gstpipeline.c: (gst_pipeline_class_init),
15735 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15736 (gst_pipeline_get_clock):
15737 get_clock -> provide_clock.
15739 2005-09-28 Andy Wingo <wingo@pobox.com>
15741 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15742 lieu of real docs...
15744 * gst/elements/gstfdsrc.c: Cleaned up a bit.
15746 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
15748 * gst/elements/gstcapsfilter.c:
15749 * gst/elements/gstfakesink.c:
15750 * gst/elements/gstfakesrc.c:
15751 * gst/elements/gstfdsink.c:
15752 * gst/elements/gstfdsrc.c:
15753 * gst/elements/gstfilesink.c:
15754 * gst/elements/gstfilesrc.c:
15755 * gst/elements/gstidentity.c:
15756 * gst/elements/gsttee.c:
15757 * gst/elements/gsttypefindelement.c:
15758 Make element details static.
15760 2005-09-28 Wim Taymans <wim@fluendo.com>
15762 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15763 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15764 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15765 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15766 (gst_bin_change_state), (gst_bin_dispose):
15767 Some documentation updates.
15768 Clean up dispose handlers.
15770 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15771 * gst/gstpad.c: (gst_pad_dispose):
15772 Clean up dispose handler.
15774 * gst/gstpipeline.c: (gst_pipeline_change_state):
15775 Removed spurious UNLOCK.
15777 2005-09-27 Stefan Kost <ensonic@users.sf.net>
15779 * docs/gst/gstreamer-sections.txt:
15780 * gst/base/gstbasesrc.h:
15781 * gst/gstelement.h:
15785 * gst/gstpipeline.c:
15786 * gst/gstpipeline.h:
15789 added two new functions to the docs
15790 documents all undocumented GstXXXFlags
15791 completed some incomplete docs
15793 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
15795 * gst/gstbin.c: (gst_bin_dispose):
15796 * gst/gstelement.c: (gst_element_dispose):
15797 remove now useless and leaky resurrection code in dispose
15798 * gst/base/gstbasesrc.c: (gst_base_src_init):
15799 * gst/gstelementfactory.c: (gst_element_factory_create):
15800 * gst/gstobject.c: (gst_object_set_parent):
15803 2005-09-27 Wim Taymans <wim@fluendo.com>
15805 * docs/design/part-TODO.txt:
15808 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15809 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15810 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15811 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15812 (gst_bin_change_state):
15813 * gst/gstelement.h:
15814 Remove element variable, we keep element info in the iterator now.
15816 2005-09-27 Andy Wingo <wingo@pobox.com>
15818 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15821 2005-09-27 Wim Taymans <wim@fluendo.com>
15823 * check/gst/gstbin.c: (GST_START_TEST):
15824 Enable check that works now.
15826 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15827 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15828 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15829 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15830 (gst_bin_change_state):
15832 Redid the state change algorithm using a topological sort algo.
15833 Handles all cases correctly.
15834 Exposed iterator for state change order.
15836 * gst/gstelement.h:
15837 Temp storage for state changes. Need to get rid of this soon.
15839 2005-09-27 Wim Taymans <wim@fluendo.com>
15841 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15842 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15843 (link_fold_func), (gst_pad_proxy_setcaps):
15844 Leak fixes, the fold functions need to unref the passed object and
15845 _get_parent_*() returns ref to parent.
15847 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15849 * check/gst/gstbuffer.c: (test_make_writable):
15850 Plug leak in test case and fix 'make check-valgrind'
15852 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15854 * gst/gstbuffer.c: (gst_subbuffer_init):
15855 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15856 works correctly in all circumstances (we could have just copied
15857 the parent buffer's readonly flag, but conceptually it seems
15858 cleaner to mark all subbuffers as read-only). (based on patch
15859 by Alessandro Decina, #314710).
15861 * check/gst/gstbuffer.c: (create_read_only_buffer),
15862 (test_make_writable), (test_subbuffer_make_writable),
15864 Add some tests for gst_buffer_make_writable().
15866 2005-09-27 Wim Taymans <wim@fluendo.com>
15868 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15869 use gst_object_has_ancestor().
15871 * gst/gstobject.c: (gst_object_has_ancestor):
15873 gst_object_has_ancestor() copied from gstbin.c as it is a
15876 * tests/instantiate/create.c: (create_all_elements):
15877 * tests/lat.c: (handoff_src), (handoff_sink):
15878 * tests/sched/runxml.c: (main):
15879 * tests/seeking/seeking1.c: (main):
15880 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15882 Fix compilation of some tests.
15884 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15887 Remove comment. GST_TYPE_G_ERROR is here to stay,
15888 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15889 (#316961, #300610).
15891 2005-09-26 Wim Taymans <wim@fluendo.com>
15893 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15894 Added check that shows error in state change order.
15896 2005-09-26 Wim Taymans <wim@fluendo.com>
15898 * gst/gstbin.c: (gst_bin_change_state):
15899 Make state change function use 3 queues again, we were
15900 adding elements in the wrong order.
15902 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15905 * gst/gstpad.c: (gst_pad_dispose):
15906 Added some debug info first.
15908 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
15910 * docs/design/draft-push-pull.txt:
15911 * docs/design/part-events.txt:
15912 * docs/design/part-overview.txt:
15913 * docs/design/part-scheduling.txt:
15914 Replace all _pull_region() with _pull_range()
15916 2005-09-26 Andy Wingo <wingo@pobox.com>
15918 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15920 * check/gst-libs/controller.c: Update for controller api change.
15923 * tests/Makefile.am:
15924 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15925 over by GLib bug 118439.
15927 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15928 routines to a function.
15930 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15932 * libs/gst/controller/gsthelper.c:
15933 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15934 (gst_object_sync_values): Renamed from sink_values. Ugh.
15936 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15938 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15939 Renamed from controller_key, as it is exported.
15941 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15943 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
15948 * gst/gstpadtemplate.h:
15951 * gst/gstqueryutils.c:
15952 * gst/gstqueryutils.h:
15953 remove queryutils headers after moving the two used functions
15954 to gstquery. also fixes build problem for gstsiddec
15956 2005-09-26 Michael Smith <msmith@fluendo.com>
15958 * tools/gst-launch.1.in:
15959 Correct documentation in manpage of debug syntax
15961 2005-09-26 Wim Taymans <wim@fluendo.com>
15963 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15964 (gst_base_src_is_seekable), (gst_base_src_change_state):
15965 Some more debugging info.
15967 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15969 * docs/gst/gstreamer-sections.txt:
15970 * gst/base/gstbasetransform.h:
15974 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15976 * docs/gst/.cvsignore:
15977 * docs/gst/tmpl/.cvsignore:
15978 * docs/gst/tmpl/gstpipeline.sgml:
15979 * docs/gst/tmpl/gstplugin.sgml:
15980 * gst/gstpipeline.c:
15983 inlined the last two docs files
15984 removed the tmpl directory from cvs (no more conflicts here!)
15986 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15988 * docs/gst/gstreamer-sections.txt:
15989 * docs/gst/tmpl/.cvsignore:
15990 * docs/gst/tmpl/gstpad.sgml:
15991 * docs/gst/tmpl/gstpadtemplate.sgml:
15993 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15994 (gst_pad_finalize), (gst_pad_set_pad_template):
15996 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15997 (gst_pad_template_class_init), (gst_pad_template_init),
15998 (gst_pad_template_dispose), (name_is_valid),
15999 (gst_static_pad_template_get), (gst_pad_template_new),
16000 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
16001 (gst_pad_template_pad_created):
16002 * gst/gstpadtemplate.h:
16003 inlined two more docs
16004 factored gstpadtemplate out of gstpad
16006 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
16008 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
16009 (test_children_state_change_order_semi_sink):
16010 Fix test case: we can't rely on a fixed state change order when
16011 going from READY => PAUSED because the sink might commit its
16012 new state first when the first buffer created by the source
16013 reaches the sink before the source has finished its change state.
16014 (Test case still fails at times, see #316856, comment 5 onwards)
16016 2005-09-24 Wim Taymans <wim@fluendo.com>
16018 * docs/design/part-events.txt:
16019 * docs/design/part-gstbus.txt:
16020 * docs/design/part-gstpipeline.txt:
16021 * docs/design/part-messages.txt:
16022 * docs/design/part-overview.txt:
16023 * docs/design/part-segments.txt:
16027 * gst/gstelement.c:
16030 * gst/gstiterator.c:
16031 Various documentation updates.
16033 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
16036 Well, that's embarassing. Luckily we weren't using
16037 GST_CLOCK_DIFF anywhere.
16039 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16041 * common/gtk-doc.mak:
16042 don't fail on building XML, FC4 slave shows a bunch of doc
16043 missing bits that I don't get
16045 * gst/gstpipeline.c:
16046 * gst/gststructure.c:
16049 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
16051 * docs/design/part-gstbin.txt:
16052 * docs/design/part-gstbus.txt:
16054 Add blurb about how the bus goes into flushing mode and
16055 drops all messages when its bin goes from READY into NULL
16058 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16060 * docs/gst/gstreamer-sections.txt:
16061 * gst/gststructure.c: (gst_structure_get_clock_time):
16062 * gst/gststructure.h:
16063 add a method to get a GstClockTime out of a structure
16065 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
16067 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
16068 (test_children_state_change_order_semi_sink), (gst_bin_suite):
16069 Added test to check state change order in bins (can still be made
16070 to fail here under heavy disk load; bails out with 'Push on pad
16071 fakesink:sink0, but it was not activated in push mode').
16073 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
16074 Fix state change order when there is only a semi sink (#316856)
16076 * gst/gstbus.c: (gst_bus_class_init):
16077 Use _class_peek_parent(), not _class_ref(); fix docs to say
16078 'default main context' instead of 'mainloop' where that is
16081 * gst/gstelement.c: (gst_element_commit_state),
16082 (gst_element_set_state):
16083 Fix typos in debug messages
16085 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16088 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
16089 * gst/gstpluginfeature.c:
16091 various doc updates
16092 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16093 change an assert into an error until it gets fixed properly
16095 2005-09-23 Stefan Kost <ensonic@users.sf.net>
16097 * docs/gst/gstreamer-sections.txt:
16098 * docs/gst/tmpl/.cvsignore:
16099 * docs/gst/tmpl/gstelement.sgml:
16100 * docs/gst/tmpl/gstinfo.sgml:
16101 * docs/gst/tmpl/gstobject.sgml:
16102 * gst/gstelement.c:
16103 * gst/gstelement.h:
16106 * gst/gstobject.c: (gst_object_class_init):
16108 inlined 3 more biiiig doc files and added some missing docs on the fly
16110 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16112 * check/gst/.cvsignore:
16113 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
16114 * gst/gstregistryxml.c: (load_plugin),
16115 (gst_registry_xml_save_plugin):
16116 put back source in registry. add checks for find_plugin.
16117 * testsuite/states/bin.c: (assert_state), (empty_bin),
16118 (test_adding_one_element), (main):
16119 * testsuite/states/locked.c: (main):
16120 some compile/run fixes
16122 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
16124 * check/gst/gstvalue.c: (GST_START_TEST):
16125 fix leaks in the test itself
16127 2005-09-22 Wim Taymans <wim@fluendo.com>
16129 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16130 (gst_base_sink_send_event), (gst_base_sink_peer_query),
16131 (gst_base_sink_query):
16132 Prepare for more accurate position reporting and query
16135 * gst/gstelement.c: (gst_element_send_event),
16136 (gst_element_set_state):
16139 2005-09-22 Wim Taymans <wim@fluendo.com>
16141 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
16142 (gst_query_parse_segment):
16144 More documentation.
16145 Add segment query for future use.
16147 2005-09-22 Wim Taymans <wim@fluendo.com>
16149 * gst/gstbin.c: (gst_bin_add_func):
16150 Some more debug info.
16152 * gst/gstelement.c: (gst_element_send_event):
16153 Simplify send_event
16155 * gst/gstelement.h:
16156 Don't know how flags got broken.
16161 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
16163 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
16164 Add simplistic test suite for GST_TYPE_DATE serialisation and
16167 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
16169 * docs/gst/gstreamer-sections.txt:
16170 * gst/gststructure.c: (gst_structure_set_valist),
16171 (gst_structure_get_date):
16172 * gst/gststructure.h:
16173 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
16174 (gst_date_copy), (gst_value_compare_date),
16175 (gst_value_serialize_date), (gst_value_deserialize_date),
16176 (gst_value_transform_date_string),
16177 (gst_value_transform_string_date), (_gst_value_initialize):
16179 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
16180 bunch of utility functions along with a hack that checks that
16181 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
16182 is required. Part of the grand scheme in #170777.
16184 2005-09-22 Andy Wingo <wingo@pobox.com>
16186 * gst/gstconfig.h.in: Psych out gtk-doc.
16188 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
16190 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
16192 * tools/gst-inspect.c (print_element_list): Plug some
16193 inconsequential leaks.
16195 * gst/gstregistry.c (gst_registry_get_default): Doc.
16197 * check/gst/gstplugin.c:
16198 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
16199 * gst/gstelementfactory.c (gst_element_factory_create):
16200 * gst/gstindexfactory.c (gst_index_factory_create): Update for
16203 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
16204 (gst_plugin_feature_load): Doc, don't eat refs.
16206 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
16207 (gst_plugin_list_free): Doc.
16208 (gst_plugin_load_file): Doc updates.
16210 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
16211 accessors returning refcounted objects, return a ref.
16213 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
16214 accessor for caps. IDEMPOTENCE. Oh yes.
16216 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
16218 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16220 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
16221 (_gst_debug_register_funcptr):
16222 Add mutex to serialise access to the hash table with
16223 the function pointer => function name string mapping;
16224 make that hash table static scope (#316809).
16226 * gst/registries/.cvsignore:
16227 Remove left-over file.
16229 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
16231 * docs/pwg/appendix-porting.xml:
16232 And something about newsegment events and caps-on-buffers to
16233 the porting guide (feel free to improve).
16235 2005-09-21 Andy Wingo <wingo@pobox.com>
16237 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
16238 data and event probes on the same pad.
16239 (test_buffer_probe_once): Test that removing probes from within
16240 the probe functions works.
16242 2005-09-21 Andy Wingo <wingo@pobox.com>
16244 * check/gst/gstutils.c: New file.
16245 (test_buffer_probe_n_times): A simple buffer probe test. More to
16248 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
16249 have-data::buffer, not have-data.
16250 (gst_pad_add_event_probe): Likewise for have-data::event.
16251 (gst_pad_add_data_probe): More docs. The part about 'resolving the
16252 peer' isn't quite right yet though.
16253 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
16254 (gst_pad_remove_data_probe): Change to take the guint handler_id
16255 as their arg, not the function+data, which is more glib-like.
16257 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
16258 the signal emission to indicate if the data is a buffer or an
16260 (gst_pad_get_type): Initialize buffer and event quarks.
16261 (gst_pad_class_init): have-data is now a detailed signal, yes it
16264 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
16266 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16267 * gst/gstutils.c: (gst_util_set_value_from_string),
16268 (gst_util_set_object_arg):
16269 Don't put functional code in g_return_if_fail() or
16270 g_return_val_if_fail() statements, otherwise things will
16271 break when G_DISABLE_CHECKS is defined during compilation.
16273 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16275 * docs/gst/tmpl/.cvsignore:
16276 * docs/gst/tmpl/gstvalue.sgml:
16279 inlied another one and added some obvious docs
16281 2005-09-21 Wim Taymans <wim@fluendo.com>
16283 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
16284 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
16285 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
16286 (gst_fdsrc_get_property), (gst_fdsrc_create):
16287 * gst/elements/gstfdsrc.h:
16288 Properly implement fdsrc. Removed signal and timeout,
16289 better implemented somewhere else.
16291 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16293 * docs/gst/tmpl/.cvsignore:
16294 * docs/gst/tmpl/gstimplementsinterface.sgml:
16295 * gst/gstinterface.c:
16298 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16300 * docs/gst/gstreamer-sections.txt:
16301 * docs/gst/tmpl/.cvsignore:
16302 * docs/gst/tmpl/gstenumtypes.sgml:
16303 remove obsolete doc file
16305 2005-09-21 David Schleef <ds@schleef.org>
16307 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
16308 little beer, fix a little leak.
16310 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16312 * docs/gst/gstreamer-docs.sgml:
16313 * docs/gst/gstreamer-sections.txt:
16314 * docs/gst/tmpl/.cvsignore:
16318 * gst/gstelement.h:
16319 * gst/gstindex.c: (gst_index_class_init):
16321 * gst/gstindexfactory.c: (gst_index_factory_get_type),
16322 (gst_index_factory_class_init), (gst_index_factory_init),
16323 (gst_index_factory_finalize), (gst_index_factory_new),
16324 (gst_index_factory_destroy), (gst_index_factory_find),
16325 (gst_index_factory_create), (gst_index_factory_make):
16326 * gst/gstindexfactory.h:
16327 * gst/gstpluginfeature.c:
16328 * gst/gstpluginfeature.h:
16329 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16330 more docs inlined, splitted gstindex.{c,h}
16332 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16334 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16337 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
16339 * gst/elements/gstfilesink.c: (gst_file_sink_init):
16340 Set sync to FALSE by default.
16342 2005-09-20 Wim Taymans <wim@fluendo.com>
16344 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16345 (gst_base_sink_init):
16346 Make sync property settable from subclass.
16348 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16349 (gst_fake_sink_change_state):
16350 Set sync to FALSE by default.
16352 2005-09-20 Wim Taymans <wim@fluendo.com>
16354 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
16355 * tools/gst-launch.c: (main):
16356 The timeout handler should have lower priority than the source
16357 so we don't timeout before popping a message with 0 timeout.
16358 Dump error messages after failed state change.
16360 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
16362 * tools/gst-inspect.c: (print_element_properties_info):
16365 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16367 * check/gst/gstevent.c:
16368 * gst/elements/gstfakesink.c:
16369 * gst/elements/gstfakesink.h:
16370 remove the sync property from fakesink.
16371 has the side effect of setting sync TRUE
16372 for fakesink, which is a change. Anyone who knows how
16373 to fix this nicely in a GObject-y way, feel free.
16375 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16377 * docs/gst/gstreamer-docs.sgml:
16378 remove probe refsection
16380 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16382 * check/Makefile.am:
16383 disable valgrinding the controller test again
16384 * docs/gst/gstreamer-sections.txt:
16385 update for api-changes
16387 2005-09-20 Wim Taymans <wim@fluendo.com>
16389 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16390 (gst_base_sink_set_property), (gst_base_sink_get_property),
16391 (gst_base_sink_do_sync):
16392 * gst/base/gstbasesink.h:
16393 Added sync property to basesink to disable clock sync.
16395 2005-09-20 Andy Wingo <wingo@pobox.com>
16397 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
16398 eating the caller's refcount.
16400 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
16401 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
16404 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
16405 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
16406 of GLib 2.8 public, so we can know which refcount to check in
16409 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
16410 (gst_object_init): Only set the gst refcount if we're going ahead
16411 with the refcount hack.
16413 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16415 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16416 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16417 more leaks plumbed, added more debug-logging
16421 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16423 * gst/gstmessage.c:
16424 remove include of gstmemchunk.h
16426 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16428 * gst/gstclock.c: (_gst_clock_id_free):
16429 Commit from the Political Party For More Atomic CVS Commits,
16430 so that people don't waste too much of their day fishing
16431 out obvious leaks out of massive commits.
16432 Oh, and fix a pretty damn obvious leak in the memchunk
16435 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16437 * check/Makefile.am:
16438 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16439 plug mem-leak, re-add to valgrindable tests
16441 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16444 unbreak the build for those who have chronic arthritis
16445 and typing "make check" is just too taxing on the hands
16447 2005-09-20 Andy Wingo <wingo@pobox.com>
16449 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
16450 really want it out, you should fix plugins at the same time.
16452 2005-09-19 Stefan Kost <ensonic@users.sf.net>
16455 * docs/gst/gstreamer-sections.txt:
16457 added missing symbols to api docs
16458 disable ref-count hack if we have glib >= 2.8
16460 2005-09-19 David Schleef <ds@schleef.org>
16462 * docs/gst/Makefile.am: Ignore a few more internal headers
16463 * docs/gst/gstreamer-docs.sgml: Remove old sections
16464 * docs/gst/gstreamer-sections.txt: Remove old sections
16465 * docs/gst/tmpl/gstobject.sgml: update
16466 * docs/gst/tmpl/gstplugin.sgml: update
16467 * docs/gst/tmpl/gstpluginfeature.sgml: update
16468 * docs/random/ds/0.9-suggested-changes: update.
16469 * gst/Makefile.am: remove memchunk and trashstack, since they're
16471 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
16472 * gst/gst.h: don't include some headers
16473 * gst/gstchildproxy.c: add gstmarshal.h
16474 * gst/gstclock.c: Don't use memchunks
16475 * gst/gstminiobject.c: Add some docs
16476 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
16477 * gst/gstobject.h: same
16478 * gst/gstplugin.c: include gstmacros.h
16479 * gst/gstplugin.h: don't include gstmacros.h, since it's private
16480 * gst/gstquery.c: don't use memchunks
16481 * gst/gstregistry.c: rename gst_registry_deinit()
16482 * gst/gstregistry.h: same
16484 2005-09-19 David Schleef <ds@schleef.org>
16486 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
16487 * docs/libs/gstreamer-libs-sections.txt:
16488 * docs/libs/tmpl/gstgetbits.sgml:
16489 * docs/libs/tmpl/gstputbits.sgml:
16491 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
16493 * win32/gstenumtypes.c:
16494 * win32/gstenumtypes.h:
16497 2005-09-19 Wim Taymans <wim@fluendo.com>
16499 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
16500 Automatically PAUSE and RESUME a pipeline when a flushing seek
16503 2005-09-19 Andy Wingo <wingo@pobox.com>
16505 * gst/gstregistry.h: Spacing fixen.
16507 2005-09-19 Wim Taymans <wim@fluendo.com>
16509 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
16510 Handle state change failure more correctly.
16512 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16514 * check/Makefile.am:
16515 * check/pipelines/cleanup.c: (run_pipeline):
16516 * check/pipelines/simple_launch_lines.c: (run_pipeline),
16518 enable cleanup again after fixing the leak
16520 some more info on docs
16522 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16524 * check/Makefile.am:
16525 re-enable tests now that leaks are plugged
16527 * check/gst/gstbin.c:
16528 * check/gst/gstpipeline.c:
16529 add some more tests while fixing leaks
16530 * common/check.mak:
16531 make sure binaries are uptodate when valgrinding/gdbing
16533 * gst/gstelementfactory.c:
16534 remove a ref too many, and add a FIXME for when we get
16535 round to disposing of classes
16537 fix the refcounting when loading a plugin from a file and
16538 the code pretends that the pointer is the same even though
16539 of course it can change
16540 * gst/gstpluginfeature.c:
16541 unref plugins marked cached (a bit confusing as a name)
16542 as the docs state should be done
16543 various doc additions to explain refcounting
16544 * gst/gstregistry.c:
16545 * gst/gstregistryxml.c:
16548 2005-09-19 Wim Taymans <wim@fluendo.com>
16550 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16551 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16552 (send_messages), (GST_START_TEST), (gstbus_suite):
16553 * check/gst/gstpipeline.c: (GST_START_TEST):
16554 * check/pipelines/cleanup.c: (run_pipeline):
16555 * check/pipelines/simple_launch_lines.c: (run_pipeline),
16557 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
16558 (gst_bus_source_check), (gst_bus_source_dispatch),
16559 (gst_bus_create_watch), (gst_bus_add_watch_full),
16560 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
16562 * tools/gst-launch.c: (event_loop):
16563 * tools/gst-md5sum.c: (event_loop):
16564 GstBusHandler -> GstBusFunc, return value has the same meaning as
16565 any other GSource (FALSE == remove source).
16566 _add_watch() and _add_watch_full() now take a MessageType mask to
16567 only handle specific types of messages.
16568 _poll() returns the GstMessage instead of the message type to avoid
16570 _have_pending() takes a MessageType mask now too.
16571 Added testsuite for multiple bus watches.
16572 Fix testsuites and applications for new bus API.
16574 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16576 * check/Makefile.am:
16577 mark a bunch of the tests as to fix until we fix them
16579 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16581 * common/check.mak:
16582 use GST_PLUGIN settings for valgrind tests as well, so we're
16583 valgrinding the correct thing
16584 * gst/gst.c: (init_post):
16587 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16589 * gst/gst.c: (init_post), (gst_deinit):
16590 * gst/gstelementfactory.c: (gst_element_factory_class_init),
16591 (gst_element_factory_finalize), (gst_element_factory_cleanup):
16592 * gst/gstindex.c: (gst_index_factory_class_init),
16593 (gst_index_factory_finalize):
16594 * gst/gstobject.c: (gst_object_dispose):
16595 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16596 (gst_plugin_load_file), (gst_plugin_desc_free):
16597 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
16598 (gst_plugin_feature_finalize):
16599 * gst/gstregistry.c: (gst_registry_class_init),
16600 (gst_registry_init), (gst_registry_finalize),
16601 (gst_registry_get_default), (gst_registry_deinit):
16602 * gst/gstregistry.h:
16603 * gst/gstregistryxml.c: (load_feature), (load_plugin):
16604 various cleanups and memleak plugging. make valgrind is happy now.
16606 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16608 * common/check.mak:
16609 add a check-valgrind target
16611 2005-09-18 David Schleef <ds@schleef.org>
16613 * tools/gst-inspect.c: Revert the GOption code.
16615 2005-09-17 David Schleef <ds@schleef.org>
16617 * check/Makefile.am: Fix environment variables.
16618 * check/gst/gstplugin.c: Fix for API changes.
16619 * tools/gst-inspect.c: Fix for API changes.
16620 * tools/gst-xmlinspect.c: Fix for API changes.
16621 * gst/gstelementfactory.c:
16624 * gst/gstpluginfeature.c:
16625 * gst/gstpluginfeature.h:
16626 * gst/gstregistry.c:
16627 * gst/gstregistry.h:
16628 * gst/gstregistryxml.c:
16629 * gst/gsttypefind.c:
16630 * gst/gsttypefindfactory.c:
16631 * gst/indexers/gstfileindex.c:
16632 * gst/indexers/gstmemindex.c:
16633 * gst/schedulers/Makefile.am:
16634 Change registry to keep track of both plugins and features,
16635 removing the feature tracking from plugins themselves.
16637 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
16639 * check/Makefile.am:
16640 * tools/gst-register.1.in:
16641 remove gst-register
16643 2005-09-15 David Schleef <ds@schleef.org>
16645 * check/gst/gstplugin.c:
16646 * gst/gstelementfactory.c:
16648 * gst/gstpluginfeature.c:
16649 * gst/gstregistry.c:
16650 Getting tired of debugging. Disabled all the unreffing of
16651 plugins and features, which fixes the segfaults, but of
16652 course leaks like crazy. At least playbin works.
16654 2005-09-15 David Schleef <ds@schleef.org>
16656 * check/gst/gstplugin.c: (register_check_elements),
16657 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16659 * gst/elements/gsttypefindelement.c: Fix refcounting.
16660 * gst/gsttypefind.c:
16661 * gst/gsttypefindfactory.c:
16662 * gst/gsttypefindfactory.h:
16664 2005-09-15 David Schleef <ds@schleef.org>
16666 * gst/gstindex.c: get refcounting correct.
16667 * gst/gstregistry.c: Handle the case where a feature/plugin is
16670 2005-09-15 David Schleef <ds@schleef.org>
16672 * check/Makefile.am:
16673 * check/gst/gstplugin.c: Add test
16674 * gst/gstplugin.c: Fix problems noticed by testsuite
16676 * gst/gstregistry.c:
16677 * gst/gstregistry.h:
16679 2005-09-15 David Schleef <ds@schleef.org>
16681 * gst/gstplugin.c: Implement semi-decent recounting and locking
16682 in plugins and plugin features.
16684 * gst/gstpluginfeature.c:
16685 * gst/gstpluginfeature.h:
16686 * gst/gstregistry.c:
16688 2005-09-15 Michael Smith <msmith@fluendo.com>
16690 * gst/gstregistry.c: (gst_registry_get_feature_list):
16691 Implement this. Makes oggdemux work; decodebin still broken.
16693 2005-09-14 David Schleef <ds@schleef.org>
16695 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16697 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16698 * gst/check/Makefile.am:
16699 * libs/gst/controller/Makefile.am:
16700 * libs/gst/dataprotocol/Makefile.am:
16702 2005-09-14 David Schleef <ds@schleef.org>
16704 * configure.ac: Remove getbits library. Nothing uses it, and
16705 it should be in something like liboil if someone did want
16707 * libs/gst/Makefile.am:
16708 * libs/gst/getbits/Makefile.am:
16709 * libs/gst/getbits/gbtest.c:
16710 * libs/gst/getbits/getbits.c:
16711 * libs/gst/getbits/getbits.h:
16712 * libs/gst/getbits/gstgetbits_generic.c:
16713 * libs/gst/getbits/gstgetbits_i386.s:
16714 * libs/gst/getbits/gstgetbits_inl.h:
16716 2005-09-14 David Schleef <ds@schleef.org>
16718 * gst/Makefile.am: Dist glib-compat.h
16720 2005-09-14 David Schleef <ds@schleef.org>
16722 * configure.ac: Remove gst/registries, since it's no longer used.
16723 * gst/registries/Makefile.am:
16724 * gst/registries/gstlibxmlregistry.c:
16725 * gst/registries/gstlibxmlregistry.h:
16726 * gst/registries/gstxmlregistry.c:
16727 * gst/registries/gstxmlregistry.h:
16728 * gst/registries/registrytest.c:
16730 2005-09-14 David Schleef <ds@schleef.org>
16732 * gst/glib-compat.h:
16733 * gst/gstregistryxml.c:
16734 Convergence is near. Seriously.
16736 2005-09-14 David Schleef <ds@schleef.org>
16738 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16739 * gst/glib-compat.h:
16740 Attempt #4 to appease the buildbots.
16742 2005-09-14 David Schleef <ds@schleef.org>
16744 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16747 2005-09-14 David Schleef <ds@schleef.org>
16749 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16752 2005-09-14 David Schleef <ds@schleef.org>
16754 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16757 2005-09-14 David Schleef <ds@schleef.org>
16759 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16760 * gst/glib-compat.h: Add some functions that are in newer versions
16761 of glib than we care to require.
16762 * gst/gstregistryxml.c: Use them.
16764 2005-09-14 David Schleef <ds@schleef.org>
16766 * po/POTFILES.in: remove gst-register.c
16768 2005-09-14 David Schleef <ds@schleef.org>
16770 * docs/gst/gstreamer-docs.sgml:
16771 * docs/gst/gstreamer-sections.txt:
16772 * docs/gst/gstreamer.types:
16773 * docs/gst/tmpl/gstelement.sgml:
16774 * docs/gst/tmpl/gstplugin.sgml:
16775 * docs/gst/tmpl/gstpluginfeature.sgml:
16776 Documentation updates for registry changes.
16778 2005-09-14 David Schleef <ds@schleef.org>
16780 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16781 because we don't require glib-2.8.
16783 2005-09-14 David Schleef <ds@schleef.org>
16785 * gst/gstregistryxml.c: Added. Essentially moved out of the
16786 registries directory.
16788 2005-09-14 David Schleef <ds@schleef.org>
16790 * check/Makefile.am:
16791 * check/generic/states.c:
16795 * gst/gst_private.h:
16796 * gst/gstelementfactory.c:
16801 * gst/gstpluginfeature.c:
16802 * gst/gstpluginfeature.h:
16803 * gst/gstregistry.c:
16804 * gst/gstregistry.h:
16805 * gst/gstregistrypool.c: remove
16806 * gst/gstregistrypool.h: remove
16807 * gst/gsttypefind.c:
16808 * gst/gsttypefindfactory.c:
16810 * tools/Makefile.am:
16811 * tools/gst-compprep.c:
16812 * tools/gst-inspect.c:
16813 * tools/gst-register.c: remove
16814 * tools/gst-xmlinspect.c:
16815 Registry rewrite. Changes registry from being a file created
16816 by a tool into a simple cache file created automatically by
16817 libgstreamer. Removed gst-register (because it's no longer
16818 needed). Remove registry pools, because we only have one
16819 registry implementation (XML). Fix up other subsystems as
16822 2005-09-13 Michael Smith <msmith@fluendo.com>
16824 * gst/gstconfig.h.in:
16825 Don't Use windows linking attributes for MinGW. Fixes #316157
16827 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
16829 * gst/gstutils.c: (set_state_async_thread_func),
16830 (gst_element_set_state_async):
16831 Apparently people think it's better if this function doesn't
16832 try to set the state to whatever state was asked for on the first
16833 call to this function for any object. Seriously.
16835 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16837 * check/gst/gstpipeline.c: (GST_START_TEST):
16838 * docs/gst/gstreamer-sections.txt:
16839 * gst/gstutils.c: (set_state_async_thread_func),
16840 (gst_element_set_state_async):
16842 add a "gst_element_set_state_async" method that
16843 sets the state and starts a thread to make sure the state
16844 change completes as best as it can
16846 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16848 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16849 codify design+behaviour in testsuite after discussion
16851 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16853 * docs/gst/tmpl/gstelement.sgml:
16854 * docs/manual/appendix-quotes.xml:
16856 * gst/gstelement.c: (gst_element_set_state):
16859 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
16861 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16862 (gst_base_transform_prepare_output_buf),
16863 (gst_base_transform_handle_buffer):
16864 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16865 (gst_capsfilter_prepare_buf):
16866 Remove the requirement for sub-classes to call the parent
16867 implementation of prepare_output_buffer with a wrapper function.
16869 * gst/gsttaglist.h:
16870 * gst/gsttagsetter.h:
16871 Fix #define wrapper
16873 2005-09-11 Stefan Kost <ensonic@users.sf.net>
16875 * docs/gst/gstreamer-sections.txt:
16878 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16880 * docs/gst/gstreamer-sections.txt:
16881 * docs/gst/tmpl/gstelement.sgml:
16882 * docs/gst/tmpl/gstplugin.sgml:
16883 * gst/gstminiobject.c:
16885 docs now stop throwing warnings
16887 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16889 * docs/gst/gstreamer-sections.txt:
16890 * docs/gst/gstreamer.types:
16891 * docs/gst/tmpl/gstpad.sgml:
16892 * docs/gst/tmpl/gsttypes.sgml:
16893 * gst/base/gstadapter.h:
16894 * gst/base/gstbasesink.h:
16895 * gst/base/gstbasesrc.h:
16901 * gst/gstelement.h:
16903 * gst/gstmessage.h:
16905 * gst/gststructure.c:
16906 * gst/registries/gstlibxmlregistry.h:
16907 various documentation fixes
16909 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16911 * docs/gst/gstreamer-sections.txt:
16912 * docs/gst/tmpl/gstvalue.sgml:
16913 rearrange gstvalue section
16914 * gst/gstutils.c: (gst_element_state_get_name):
16916 * gst/gstvalue.c: (_gst_value_initialize):
16920 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
16922 * check/gst-libs/controller.c:
16923 Header include fix.
16924 * gst/base/gstbasetransform.c:
16925 (gst_base_transform_default_prepare_buf),
16926 (gst_base_transform_handle_buffer):
16927 * gst/base/gstbasetransform.h:
16928 Some more basetransform changes and fixes to enable sub-classes
16929 that modify buffer metadata only.
16930 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16931 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16932 (gst_capsfilter_prepare_buf):
16933 If the output pad has fixed allowed caps and input buffers
16934 don't have any, set the fixed caps on outgoing buffers.
16936 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
16937 * check/elements/identity.c: (GST_START_TEST):
16938 Make the error a little clearer when the test fails because
16939 identity made a copy of the buffer.
16940 * docs/gst/gstreamer-sections.txt:
16941 New symbols in gstbasetransform.h
16942 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16943 (gst_base_transform_init), (gst_base_transform_transform_size),
16944 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16945 (gst_base_transform_default_prepare_buf),
16946 (gst_base_transform_get_unit_size),
16947 (gst_base_transform_buffer_alloc),
16948 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16949 (gst_base_transform_change_state),
16950 (gst_base_transform_set_passthrough),
16951 (gst_base_transform_set_in_place),
16952 (gst_base_transform_is_in_place):
16953 * gst/base/gstbasetransform.h:
16954 Change BaseTransform to separate in_place operate from same_caps
16955 output. in_place implies that the element can perform the transform
16956 on incoming buffers in-place, even if the caps on the output are
16958 Sub-class elements can now implement special buffer allocation
16959 methods for outgoing buffers if they wish to.
16960 Big documentation addition.
16961 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16962 * gst/elements/gstelements.c:
16963 Changes for basetransform modifications.
16964 * gst/elements/Makefile.am:
16965 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16966 Compile fix. Extra debug output.
16968 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16970 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16972 add tests for valid pad naming
16973 * gst/check/gstcheck.c: (gst_check_log_message_func),
16974 (gst_check_log_critical_func):
16976 remove printing of code, it is fragile when the code contains
16977 % and the line number is enough info
16978 * gst/check/gstcheck.h:
16979 * gst/gstpad.c: (gst_pad_template_new):
16982 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16985 say what CHECK flags we use
16986 * docs/libs/gstreamer-libs.types:
16987 * libs/gst/controller/Makefile.am:
16988 * libs/gst/controller/gst-controller.c:
16989 * libs/gst/controller/gst-controller.h:
16990 * libs/gst/controller/gst-helper.c:
16991 * libs/gst/controller/gst-interpolation.c:
16992 * libs/gst/controller/gstcontroller.c:
16993 * libs/gst/controller/gsthelper.c:
16994 * libs/gst/controller/gstinterpolation.c:
16995 * tools/gst-inspect.c: (print_plugin_info):
16996 we don't use dashes in header names
16998 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
17000 * check/Makefile.am:
17001 * check/gst/.cvsignore:
17002 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
17003 (gst_pipeline_suite), (main):
17004 adding a test for pipelines and state changes
17005 * gst/gstutils.c: (get_state_func):
17007 * gstreamer.spec.in:
17010 2005-09-08 Michael Smith <msmith@fluendo.com>
17012 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
17013 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
17014 (gst_file_src_is_seekable), (gst_file_src_get_size),
17015 (gst_file_src_start):
17016 * gst/elements/gstfilesrc.h:
17017 Various fixes for unseekable, unmmapable, and non-normal files, so
17018 that fallback to read() rather than mmap() works.
17019 * gst/gstevent.c: (gst_event_new_newsegment):
17020 Allow newsegment events with segment_start == segment_end, as will
17021 correctly happen if you use filesrc on a zero-size file, for
17024 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
17026 * gst/gstplugin.c: (gst_plugin_load_file):
17027 Call g_module_close when we don't load the module
17029 * gst/registries/gstlibxmlregistry.c:
17030 (gst_xml_registry_get_property):
17031 Port leak fix from 0.8
17033 2005-09-07 Stefan Kost <ensonic@users.sf.net>
17035 * docs/gst/gstreamer-docs.sgml:
17036 * docs/gst/tmpl/.cvsignore:
17037 * docs/gst/tmpl/gsttrace.sgml:
17038 * docs/gst/tmpl/gsttrashstack.sgml:
17041 * gst/gstelement.h:
17043 * gst/gstmessage.c:
17044 * gst/gstmessage.h:
17047 * gst/gsttaginterface.c:
17048 * gst/gsttaginterface.h:
17049 * gst/gsttaglist.c:
17050 * gst/gsttaglist.h:
17051 * gst/gsttagsetter.c:
17052 * gst/gsttagsetter.h:
17055 * gst/gsttrashstack.c:
17056 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
17057 inlined docs for gsttrace, gsttrashstack
17059 2005-09-07 Stefan Kost <ensonic@users.sf.net>
17062 * gst/elements/gstbufferstore.h:
17063 * gst/elements/gsttypefindelement.c:
17064 * gst/elements/gsttypefindelement.h:
17066 * gst/gsttypefind.c:
17067 * gst/gsttypefind.h:
17068 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
17069 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
17070 (gst_type_find_factory_dispose),
17071 (gst_type_find_factory_unload_thyself),
17072 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
17073 (gst_type_find_factory_get_caps),
17074 (gst_type_find_factory_get_extensions),
17075 (gst_type_find_factory_call_function):
17076 * gst/gsttypefindfactory.h:
17077 * gst/registries/gstlibxmlregistry.c:
17078 * gst/registries/gstxmlregistry.c:
17079 splitted gsttypefind into gsttypefind, gsttypefindfactory
17081 2005-09-07 Andy Wingo <wingo@pobox.com>
17083 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
17084 condition whereby the pad's task function is entered before the
17085 pad_mode variable was set.
17087 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
17089 * gst/gstpad.c: (gst_pad_alloc_buffer):
17090 Catch misbehaving pad_alloc functions that don't
17091 set up caps and do it for them.
17093 2005-09-07 Stefan Kost <ensonic@users.sf.net>
17095 * check/pipelines/simple_launch_lines.c: (run_pipeline):
17096 test for pipe!=NULL
17097 * docs/gst/tmpl/.cvsignore:
17098 * docs/gst/tmpl/gstmemchunk.sgml:
17099 * docs/gst/tmpl/gstparse.sgml:
17100 * docs/gst/tmpl/gsttaglist.sgml:
17101 * docs/gst/tmpl/gsttagsetter.sgml:
17102 * docs/gst/tmpl/gsttypefind.sgml:
17103 * docs/gst/tmpl/gsttypefindfactory.sgml:
17104 * gst/gstmemchunk.c:
17107 * gst/gsttaginterface.c:
17108 * gst/gsttypefind.c:
17109 * gst/gsttypefind.h:
17112 === release 0.9.2 ===
17114 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
17119 releasing 0.9.2, "South"
17121 2005-09-05 Andy Wingo <wingo@pobox.com>
17123 * gst/registries/gstxmlregistry.h:
17124 * gst/registries/gstxmlregistry.c: Um... resurrect...
17126 * gst/registries/gstxmlregistry.h:
17127 * gst/registries/gstxmlregistry.c: and update to newer API.
17128 Incidentally they should be a bit faster now that they don't have
17131 2005-09-05 Andy Wingo <wingo@pobox.com>
17133 * gst/registries/gstxmlregistry.h:
17134 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
17135 replaced by the libxml registry a while back
17137 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
17139 * docs/gst/tmpl/gstplugin.sgml:
17140 * gst/elements/gstelements.c:
17142 * gst/gstplugin.c: (gst_plugin_register_func),
17143 (gst_plugin_desc_copy), (gst_plugin_desc_free),
17144 (gst_plugin_get_source):
17146 * gst/registries/gstlibxmlregistry.c: (load_plugin),
17147 (gst_xml_registry_save_plugin):
17148 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
17149 (gst_xml_registry_save_plugin):
17150 * tools/gst-inspect.c: (print_plugin_info):
17151 add a "source" plugin description field, to represent the source
17152 module this plugin is a part of. By default GST_PLUGIN_DEFINE
17153 will set it to PACKAGE, which is automake's idea of the name of
17154 the source project.
17156 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
17161 * docs/Makefile.am:
17162 * docs/faq/Makefile.am:
17163 * docs/gst/tmpl/gstelement.sgml:
17164 * docs/gst/tmpl/gsttypes.sgml:
17165 * docs/htmlinstall.mak:
17166 * docs/manual/Makefile.am:
17167 * docs/pwg/Makefile.am:
17168 reorganize doc build a little
17169 split out docbook and gtk-doc stuff
17170 have two separate --enable's and enable them through autogen
17171 but disable by default in configure (to be similar to other
17173 * gstreamer.spec.in:
17174 clean up docs install
17192 translation updates
17194 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
17196 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
17199 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17200 (gst_fake_sink_change_state):
17201 Make state change function thread-safe.
17203 * gst/gstpad.c: (gst_pad_alloc_buffer):
17204 Set offset on generic buffer allocated by fallback.
17206 2005-09-03 Stefan Kost <ensonic@users.sf.net>
17208 * docs/gst/gstreamer-sections.txt:
17209 * docs/gst/tmpl/gstelement.sgml:
17211 * libs/gst/controller/gst-controller.c:
17212 (gst_controlled_property_set_interpolation_mode),
17213 (gst_controlled_property_new),
17214 (gst_controller_find_controlled_property):
17215 run the wingo-magic script against the docs
17217 2005-09-02 Stefan Kost <ensonic@users.sf.net>
17219 * docs/gst/gstreamer-docs.sgml:
17220 * docs/gst/gstreamer-sections.txt:
17221 * docs/gst/tmpl/.cvsignore:
17222 * docs/gst/tmpl/gstelementdetails.sgml:
17223 * docs/gst/tmpl/gstelementfactory.sgml:
17226 * gst/gstelementfactory.c:
17227 * gst/gstelementfactory.h:
17228 merged elementdetails docs into elementfactory docs
17231 2005-09-02 Andy Wingo <wingo@pobox.com>
17233 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
17234 consider this enum an enum and not a flags.
17236 2005-09-02 Stefan Kost <ensonic@users.sf.net>
17238 * docs/gst/gstreamer-docs.sgml:
17239 * docs/gst/tmpl/.cvsignore:
17240 * docs/gst/tmpl/gstghostpad.sgml:
17241 * docs/gst/tmpl/gstiterator.sgml:
17242 * docs/gst/tmpl/gstmacros.sgml:
17243 * docs/gst/tmpl/gstrealpad.sgml:
17244 * docs/gst/tmpl/gstregistry.sgml:
17245 * docs/gst/tmpl/gstregistrypool.sgml:
17246 * docs/gst/tmpl/gststructure.sgml:
17247 * docs/gst/tmpl/gstsystemclock.sgml:
17248 * docs/gst/tmpl/gsttrace.sgml:
17249 * gst/gstghostpad.c:
17251 * gst/gstmemchunk.c:
17252 * gst/gstmemchunk.h:
17254 * gst/gstregistry.c:
17255 * gst/gstregistrypool.c:
17256 * gst/gststructure.c:
17257 * gst/gstsystemclock.c:
17260 2005-09-02 Andy Wingo <wingo@pobox.com>
17262 * gst/gstelement.h (GstState): Renamed from GstElementState,
17263 changed to be a normal enum instead of flags.
17264 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
17265 munged to be GST_STATE_CHANGE_*.
17266 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
17267 work with the new state representation.
17268 (GstStateChange): New enumeration of possible state transitions.
17269 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
17270 (GstElementClass::change_state): Pass the GstStateChange along as
17271 an argument. Helps language bindings, so they don't have to use
17272 tricky lock-needing macros like GST_STATE_CHANGE ().
17274 * scripts/update-states (file): New script. Run it on a file to
17275 update it for state naming and API changes. Updates files in
17278 * All files updated for the new API.
17280 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
17282 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
17283 * gst/gstutils.c: (gst_util_set_value_from_string),
17284 (gst_util_set_object_arg):
17285 fix a bunch of unchecked return values
17286 * tools/gst-complete.c: (main):
17287 * gstreamer.spec.in:
17290 2005-09-01 Wim Taymans <wim@fluendo.com>
17292 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17293 (gst_base_sink_event), (gst_base_sink_do_sync),
17294 (gst_base_sink_handle_event):
17295 * gst/base/gstbasesink.h:
17296 Handle newsegments more correctly.
17301 * gst/gstevent.c: (gst_event_new_newsegment):
17302 A newsegment cannot have a start_time of -1
17304 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
17306 * win32/gstenumtypes.c:
17307 * win32/gstenumtypes.h:
17310 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17312 * libs/gst/controller/gst-controller.c:
17313 (gst_controlled_property_set_interpolation_mode),
17314 (gst_controlled_property_new):
17315 fixed boolean again
17317 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
17319 * docs/faq/gst-uninstalled:
17324 * gst/gstutils.c: (gst_element_link_filtered):
17326 add gst_element_link_filtered
17328 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17330 * docs/gst/gstreamer-docs.sgml:
17331 * docs/gst/gstreamer-sections.txt:
17332 * docs/gst/tmpl/.cvsignore:
17333 * docs/gst/tmpl/gsterror.sgml:
17334 * docs/gst/tmpl/gstfilter.sgml:
17335 * docs/gst/tmpl/gsturihandler.sgml:
17336 * docs/gst/tmpl/gsturitype.sgml:
17337 * docs/gst/tmpl/gstutils.sgml:
17338 * docs/gst/tmpl/gstxml.sgml:
17343 * gst/gsturitype.c:
17346 inlined more docs, fixed double id-ref
17348 2005-08-31 Wim Taymans <wim@fluendo.com>
17350 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17351 (gst_base_transform_handle_buffer):
17352 Passthrough elements don't need the caps as they don't care.
17354 2005-08-31 Wim Taymans <wim@fluendo.com>
17356 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17357 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
17358 Don't leak refcounts on buffers.
17360 2005-08-31 Wim Taymans <wim@fluendo.com>
17362 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
17363 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17364 (gst_base_transform_chain), (gst_base_transform_change_state):
17365 * gst/base/gstbasetransform.h:
17366 Handle the case where we are not negotiated more gracefully.
17368 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
17370 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
17371 (gst_file_src_map_region):
17372 Set READONLY flag on mmap'ed buffers, otherwise
17373 gst_buffer_make_writable() won't work properly (#314708).
17375 2005-08-31 Wim Taymans <wim@fluendo.com>
17377 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
17378 passthrough elements can even do inplace on non writable
17379 buffers (as they don't touch them).
17381 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17383 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17384 (gst_test_mono_source_set_property),
17385 (gst_test_mono_source_class_init), (GST_START_TEST),
17386 (gst_controller_suite):
17387 more tests (hehe I have the most)
17389 describe popping messages whenusing mulltiple sources
17390 * libs/gst/controller/gst-controller.c:
17391 (gst_controlled_property_set_interpolation_mode),
17392 (gst_controlled_property_new):
17393 * libs/gst/controller/gst-controller.h:
17394 * libs/gst/controller/gst-interpolation.c:
17395 implement boolean properties
17397 2005-08-31 Wim Taymans <wim@fluendo.com>
17399 * gst/gstminiobject.c: (gst_mini_object_ref):
17400 Cannot assert that the refcount has to be positive
17401 since a disposed object can be resurrected.
17403 2005-08-31 Wim Taymans <wim@fluendo.com>
17405 * gst/gstpad.c: (gst_pad_init):
17406 Revert change, need to first fix badly behaving
17409 2005-08-30 Wim Taymans <wim@fluendo.com>
17411 * check/elements/fakesrc.c: (setup_fakesrc):
17412 * check/elements/identity.c: (setup_identity):
17413 Activate pads before using them.
17415 2005-08-30 Wim Taymans <wim@fluendo.com>
17417 * gst/base/gstadapter.c: (gst_adapter_flush):
17418 Flushing out 0 bytes is ok for this function.
17420 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17421 no newsegment gives a warning and sets the start/stop to
17424 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
17425 (gst_base_transform_set_passthrough):
17428 * gst/gstminiobject.c: (gst_mini_object_ref):
17429 Check refcount here too.
17431 * gst/gstpad.c: (gst_pad_init):
17432 Pads are initially flushing and refusing data.
17434 * gst/gstutils.c: (gst_element_link_pads_filtered):
17435 When adding a capsfilter element make sure it has the
17436 same state as the parent bin.
17438 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17440 * docs/gst/tmpl/.cvsignore:
17441 * docs/gst/tmpl/gstformat.sgml:
17442 * docs/gst/tmpl/gstversion.sgml:
17446 * gst/gstversion.h.in:
17447 more docs and two more inlined
17449 2005-08-30 Wim Taymans <wim@fluendo.com>
17451 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
17452 Don't sync to clock.
17454 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17456 * docs/gst/gstreamer-sections.txt:
17457 ultral33t func10ns deserve to appear in the docs actually
17458 * docs/gst/tmpl/.cvsignore:
17459 * docs/gst/tmpl/gstcompat.sgml:
17460 * docs/gst/tmpl/gstconfig.sgml:
17461 * gst/check/gstcheck.c:
17463 * gst/gstconfig.h.in:
17466 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17468 * docs/gst/tmpl/.cvsignore:
17469 * docs/gst/tmpl/gstquery.sgml:
17470 * docs/gst/tmpl/gstutils.sgml:
17473 inlined and extended docs
17475 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17477 * check/gst-libs/controller.c: (GST_START_TEST),
17478 (gst_controller_suite):
17480 * docs/gst/tmpl/gstutils.sgml:
17481 * docs/libs/gstreamer-libs-sections.txt:
17482 * docs/libs/tmpl/gstdataprotocol.sgml:
17484 * examples/controller/audio-example.c: (main):
17485 controller example works now
17488 * tools/gst-inspect.c: (print_element_properties_info):
17489 show param spec flags
17491 2005-08-29 Andy Wingo <wingo@pobox.com>
17493 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
17495 2005-08-28 Andy Wingo <wingo@pobox.com>
17497 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
17498 as having two arguments instead of just one. Allows superclasses
17499 to access information on subclasses -- see the terrible for() loop
17500 in gtype.c:g_type_create_instance for the reason why. All callers
17503 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17505 * docs/design/part-messages.txt:
17507 * docs/gst/tmpl/.cvsignore:
17508 * docs/gst/tmpl/gstcaps.sgml:
17509 * docs/gst/tmpl/gstclock.sgml:
17515 * gst/gstmessage.c:
17516 added descriptions for bus and message
17517 inline caps and clock docs
17519 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17521 * gst/gstmessage.c:
17522 * gst/gstmessage.h:
17525 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17527 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17530 2005-08-26 Andy Wingo <wingo@pobox.com>
17532 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
17533 element_set_state's return val.
17534 (test_2_elements): Add test that's been disabled for months.
17536 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
17537 can-activate-pull properties.
17539 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
17540 can-activate-pull properties. Implement is_seekable so fakesrc can
17541 operate in pull mode.
17543 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
17545 (gst_base_sink_activate, gst_base_sink_activate_pull)
17546 (gst_base_sink_activate_push): Make activation mode choosing work.
17548 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
17549 is right. Make pull mode work. Post an eos before pausing in pull
17551 (gst_base_sink_change_state): Pay attention to the core's
17552 change_state() return val.
17554 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
17555 has-getrange properties. Cleanups.
17557 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
17558 has_getrange and replace with can_activate_pull and
17561 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
17562 locking comments. Remove has_loop, has_chain and replace with
17563 can_activate_pull and can_activate_push.
17565 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
17568 * examples/Makefile.am:
17569 * examples/metadata/Makefile.am:
17570 * examples/metadata/read-metadata.c: (message_loop),
17571 (have_pad_handler), (make_pipeline), (print_tag), (main):
17572 Add metadata reading example that loops over a list of filenames,
17573 dumping any tags found.
17575 * gst/gstbus.c: (gst_bus_dispose):
17576 * gst/gstelement.c: (gst_element_dispose):
17577 Release a few potentially-held references in dispose.
17579 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17581 * docs/gst/tmpl/gstminiobject.sgml:
17582 do *not* add tmpl/*.sgml files to CVS!
17584 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17586 * libs/gst/bytestream/.cvsignore:
17587 * libs/gst/bytestream/Makefile.am:
17588 * libs/gst/bytestream/adapter.c:
17589 * libs/gst/bytestream/adapter.h:
17590 * libs/gst/bytestream/bytestream.c:
17591 * libs/gst/bytestream/bytestream.h:
17592 * libs/gst/bytestream/filepad.c:
17593 * libs/gst/bytestream/filepad.h:
17594 removing obsolete files
17596 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17598 * docs/gst/gstreamer-docs.sgml:
17599 * docs/libs/gstreamer-libs-docs.sgml:
17600 disabed additional index entries again, as this makes docs-gen just
17601 slow and they aren't useful yet
17602 * docs/libs/gstreamer-libs-sections.txt:
17603 little -section.txt cleanup for libs
17605 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
17607 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17608 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
17609 fix up some debugging
17610 (gst_base_transform_get_unit_size),
17611 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
17612 (gst_base_transform_handle_buffer):
17613 * gst/base/gstbasetransform.h:
17614 handle and store timed NEWSEGMENT events so that subclasses that
17615 calculate time by counting samples have a segment_start time they
17616 need to add to their timestamps - see audioresample
17618 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17621 removed ';' from the end of macro defs
17622 * docs/gst/gstreamer-docs.sgml:
17623 * docs/gst/gstreamer-sections.txt:
17624 * docs/gst/tmpl/.cvsignore:
17626 * gst/gstelement.c: (gst_element_class_init),
17627 (gst_element_set_state), (activate_pads),
17628 (gst_element_save_thyself):
17629 * gst/gstevent.c: (gst_event_new_newsegment):
17631 * gst/gstiterator.c:
17632 * gst/gstiterator.h:
17635 * gst/gstutils.c: (gst_pad_query_convert):
17637 fixed parameter name mismatches between source, header and docs
17638 added some more docs, resolved the last batch of unused elements in
17639 docs (now someone needs to doc them)
17641 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17643 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17644 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17645 don't walk through the plugins backwards. Where is all this
17646 reversed logic coming from ?
17648 2005-08-25 Wim Taymans <wim@fluendo.com>
17650 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17651 (gst_base_transform_transform_size),
17652 (gst_base_transform_configure_caps),
17653 (gst_base_transform_get_unit_size),
17654 (gst_base_transform_buffer_alloc),
17655 (gst_base_transform_change_state):
17656 * gst/base/gstbasetransform.h:
17657 Cache caps unit_size.
17658 Make sure we cannot negotiate up and downstream at the
17661 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17663 * gst/gst.c: (init_pre), (init_post):
17664 register the installed plugin path after the env var
17665 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17666 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17667 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17668 directories, so the tests can prefer uninstalled over installed
17670 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17672 * gst/base/gstbasetransform.h:
17677 2005-08-25 Wim Taymans <wim@fluendo.com>
17679 * gst/gstbin.c: (bin_bus_handler):
17680 Be a bit more conservative about the posted message.
17682 * gst/gstbus.c: (gst_bus_post):
17683 Some cleanups, warn wrong return values.
17685 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
17687 * check/gst/gstbin.c: (GST_START_TEST):
17688 * gst/gstbin.c: (bin_bus_handler):
17689 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17690 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17691 (gst_message_new_warning), (gst_message_new_tag),
17692 (gst_message_new_state_changed), (gst_message_new_segment_start),
17693 (gst_message_new_segment_done), (gst_message_new_custom):
17694 * gst/gstmessage.h:
17695 * tools/gst-launch.c: (event_loop):
17696 * tools/gst-md5sum.c: (event_loop):
17697 Revert unpopular change for GST_MESSAGE_SRC to GObject.
17699 2005-08-25 Wim Taymans <wim@fluendo.com>
17701 * check/generic/states.c: (GST_START_TEST):
17702 Cleanup can be done at the end.
17704 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17705 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17706 (gst_task_get_state), (gst_task_start), (gst_task_pause):
17707 Oh boy.. Thanks for finding this, Thomas.
17709 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17711 * docs/gst/gstreamer.types:
17712 added missing types
17714 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17716 * docs/gst/gstreamer-docs.sgml:
17717 * docs/gst/gstreamer-sections.txt:
17718 * docs/gst/tmpl/.cvsignore:
17720 * gst/gstiterator.c:
17722 * gst/registries/gstxmlregistry.h:
17723 added missing classes and symbols (123 more to go)
17724 removed removed symbols from section file
17725 fixed many doc-comments
17727 2005-08-24 Wim Taymans <wim@fluendo.com>
17729 * check/generic/states.c: (GST_START_TEST):
17730 Make sure all tasks are stopped.
17732 * check/gst/gstbin.c: (GST_START_TEST):
17733 Unref after usage for proper valgrinding.
17735 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17736 Really wait for the task to stop before destroying the
17739 * gst/gstqueue.c: (gst_queue_sink_activate_push),
17740 (gst_queue_src_activate_push):
17741 Small cleanups. Don't stop the task when we did not start
17744 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17745 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17746 (gst_task_get_state), (gst_task_start), (gst_task_pause),
17749 Protect the stream lock with the object lock.
17750 Disallow setting the stream lock when running.
17751 Add cleanup_all to wait for the threadpool to finish.
17752 Remove code to autoallocate a mutex if none was provided.
17753 Add _join() to wait for a task to stop.
17754 Protect the thread pool with a global lock.
17756 2005-08-24 Wim Taymans <wim@fluendo.com>
17758 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17759 (gst_base_sink_get_times), (gst_base_sink_do_sync),
17760 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17761 * gst/base/gstbasesink.h:
17762 Handle newsegment events correctly.
17763 Drop buffers out of the segment range.
17765 2005-08-22 Andy Wingo <wingo@pobox.com>
17767 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17768 macro, implements an interface and gstimplementsinterface for a
17771 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17773 * check/Makefile.am:
17774 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17775 add a test that does a bunch of state changes on elements
17776 needs some fixing for valgrind
17777 * check/states/sinks.c: (gst_object_suite):
17780 add prototype for gst_caps_is_equal_fixed
17782 * gst/gstregistrypool.c:
17785 2005-08-24 Andy Wingo <wingo@pobox.com>
17787 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17788 convert a negative value. Doesn't make much sense. Mostly this is
17789 here to force callers to ensure -1 maps to -1.
17791 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17793 * docs/pwg/advanced-types.xml:
17794 Well done to Michael for catching my deliberate introduction
17795 of this spelling mistake.
17796 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17797 * gst/gstelement.h:
17798 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17799 unlink pads before removing the element from the bin.
17801 2005-08-24 Andy Wingo <wingo@pobox.com>
17803 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17804 the same thing as GST_DEBUG=*:4.
17805 (parse_debug_level, parse_debug_category): New helper parsers.
17807 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17809 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17810 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17811 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17812 (gst_base_transform_buffer_alloc),
17813 (gst_base_transform_handle_buffer):
17814 use gboolean return values and pointers to size so we can use the
17815 full GST_BUFFER_SIZE range (guint) for buffer sizes
17816 use GstPadDirection for transform_caps
17817 * gst/base/gstbasetransform.h:
17818 rename get_size to get_unit_size since that's what it is
17819 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17820 use GstPadDirection for transform_caps
17821 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17823 cleanup and debugging
17825 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17827 * gst/gstelement.c: (gst_element_class_init),
17828 (gst_element_set_state), (activate_pads),
17829 (gst_element_save_thyself):
17830 * tools/gst-compprep.c: (main):
17831 * tools/gst-inspect.c: (print_element_properties_info):
17832 * tools/gst-xmlinspect.c: (print_element_properties):
17833 Fixed long standing mem-leak
17835 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17837 * check/gst/gstbin.c: (GST_START_TEST):
17838 * gst/gstbin.c: (bin_bus_handler):
17839 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17840 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17841 (gst_message_new_warning), (gst_message_new_tag),
17842 (gst_message_new_state_changed), (gst_message_new_segment_start),
17843 (gst_message_new_segment_done), (gst_message_new_custom):
17844 * gst/gstmessage.h:
17845 * tools/gst-launch.c: (event_loop):
17846 * tools/gst-md5sum.c: (event_loop):
17847 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17848 that applications can sensibly post custom messages with references
17849 to their own objects.
17851 2005-08-24 Andy Wingo <wingo@pobox.com>
17853 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17856 2005-08-24 Wim Taymans <wim@fluendo.com>
17858 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17859 (gst_base_transform_transform_caps),
17860 (gst_base_transform_transform_size),
17861 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17862 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17863 (gst_base_transform_handle_buffer):
17864 * gst/base/gstbasetransform.h:
17865 Many fixes and new features added by Thomas. Can now also do
17866 transforms with variable sizes and a custom fixate_caps function.
17868 2005-08-24 Wim Taymans <wim@fluendo.com>
17870 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17874 Cast to ClockTime before formatting to time.
17879 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17881 * check/gst-libs/controller.c: (GST_START_TEST),
17882 (gst_controller_suite):
17883 * docs/gst/tmpl/gstcaps.sgml:
17884 * docs/gst/tmpl/gstghostpad.sgml:
17885 * docs/gst/tmpl/gstquery.sgml:
17886 * docs/gst/tmpl/gstutils.sgml:
17887 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17888 (gst_object_sink_values), (gst_object_get_value_arrays),
17889 (gst_object_get_value_array):
17890 gracefully handle helper method calls to objects that are not beeing
17891 controlled, added test case for that
17893 2005-08-23 Wim Taymans <wim@fluendo.com>
17895 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17896 (gst_event_new_newsegment), (gst_event_parse_newsegment),
17897 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17898 (gst_event_parse_qos), (gst_event_new_seek),
17899 (gst_event_parse_seek):
17901 Some more debugging output and doc cleanups.
17903 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17904 Fix possible deadlock.
17906 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17908 * docs/gst/gstreamer-docs.sgml:
17909 * docs/gst/gstreamer-sections.txt:
17910 * docs/gst/gstreamer.types:
17911 * docs/gst/tmpl/.cvsignore:
17914 * gst/gstelement.c:
17916 added 100 symbols from gstreamer-unused.txt to the right sections
17917 fixed more broken comments
17918 added GstBus to docs
17920 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17922 * docs/gst/gstreamer-sections.txt:
17923 * docs/gst/tmpl/.cvsignore:
17924 * docs/gst/tmpl/gstbin.sgml:
17925 * docs/gst/tmpl/gstbuffer.sgml:
17926 * gst/base/gstbasesrc.c:
17927 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17930 * tools/gst-launch.1.in:
17931 inlined more doc comments, added missing comments and fixed comments
17934 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
17936 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17940 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17942 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17943 * gst/gststructure.h:
17944 add a fixate function for booleans; add a FIXME that these func
17945 names should probably be gst_structure_fixate_*
17947 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17949 * docs/gst/gstreamer-docs.sgml:
17950 * docs/gst/gstreamer-sections.txt:
17952 * gst/gstbin.c: (gst_bin_get_type),
17953 (gst_bin_child_proxy_get_child_by_index),
17954 (gst_bin_child_proxy_get_children_count),
17955 (gst_bin_child_proxy_init):
17956 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17957 (gst_child_proxy_get_child_by_index),
17958 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17959 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17960 (gst_child_proxy_get), (gst_child_proxy_set_property),
17961 (gst_child_proxy_set_valist), (gst_child_proxy_set),
17962 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17963 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17964 * gst/gstchildproxy.h:
17965 * gst/parse/grammar.y:
17966 * tools/gst-inspect.c: (print_interfaces),
17967 (print_element_properties_info), (print_element_info):
17968 ported gstchildproxy over from 0.8
17969 ported gst-inspect fixes and enhancements over from 0.8
17971 2005-08-22 Wim Taymans <wim@fluendo.com>
17973 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17974 (gst_base_transform_handle_buffer):
17975 Also call the transform function if we have ANY caps.
17977 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17980 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17982 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17983 Don't pretend to handle seek events if the source is not seekable
17985 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17987 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17988 Remove extra parameter to debug output
17990 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17991 (gst_base_src_do_seek), (gst_base_src_activate_push):
17992 Fix seek event handling.
17994 * gst/gstpipeline.c: (gst_pipeline_change_state):
17995 * gst/gstqueue.c: (gst_queue_handle_sink_event),
17996 (gst_queue_src_activate_push):
17997 Don't start the src pad task on FLUSH_STOP if the pad
18001 2005-08-22 Wim Taymans <wim@fluendo.com>
18003 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
18004 Added check for gst_static_caps_get() refcounting.
18006 2005-08-22 Wim Taymans <wim@fluendo.com>
18008 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
18009 Make _static_caps_get() refcounting sane.
18011 * gst/gstelement.c: (gst_element_set_state):
18012 Add g_return_val_if_fail() to protect against segfaults.
18014 2005-08-22 Stefan Kost <ensonic@users.sf.net>
18016 * docs/gst/tmpl/gstevent.sgml:
18019 inlined remaining docs, added missing doc comments
18021 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
18023 * check/gst/gstbin.c: (GST_START_TEST):
18024 since we don't know when preroll is done, use refcount range
18026 * gst/check/gstcheck.h:
18027 add macro for checking refcount range
18029 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
18031 * check/Makefile.am:
18032 clean up environment for when registry gets built versus
18033 when actual tests are run; valgrind seems to not report
18034 leaks if GST_PLUGIN_PATH is set to some specific values
18035 * check/gst/gstbin.c: (GST_START_TEST):
18036 add more refcounting checks; maybe this exposes a
18038 * common/check.mak:
18039 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18040 * gst/check/gstcheck.h:
18041 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
18042 (gst_bin_change_state):
18043 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
18044 add/fix debugging/whitespace
18046 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
18048 * check/gst/gstevent.c: (event_probe), (test_event),
18050 Er, don't call gst_bin_watch_for_state_change you idiot.
18052 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
18054 * check/Makefile.am:
18055 Use CHECK_CFLAGS and CHECK_LIBS
18056 * check/gst/gstevent.c: (event_probe), (test_event),
18059 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18060 (gst_base_src_start), (gst_base_src_stop),
18061 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18062 (gst_base_src_change_state):
18063 Sprinkle gst_base_src_stop liberally around error paths to fix
18064 problems reusing a source after failed state changes.
18065 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18066 (helper_find_suggest), (gst_type_find_helper):
18067 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
18069 * docs/gst/tmpl/gstevent.sgml:
18070 Migrate part of the docs from the SGML file. Wait for ensonic to
18071 tell me how I did it wrong ;)
18072 * tools/gst-typefind.c: (main):
18073 Extra robustness to state changes between files.
18075 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
18077 * check/Makefile.am:
18078 don't valgrind the controller test - it's leaking - Stefan, HELP
18079 * gst/check/gstcheck.c: (gst_check_message_error),
18080 (gst_check_chain_func), (gst_check_setup_element),
18081 (gst_check_teardown_element), (gst_check_setup_src_pad),
18082 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
18083 (gst_check_teardown_sink_pad):
18084 * gst/check/gstcheck.h:
18085 add a bunch of methods to set up elements, and src and sink pads
18086 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
18087 * check/elements/identity.c: (setup_identity), (cleanup_identity),
18090 * gst/gstmessage.c:
18092 whitespace/doc fixes
18094 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18096 * gst/gstelement.h:
18097 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
18098 be handled by the application and not always printed as well
18100 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18102 * check/Makefile.am:
18104 * gst/check/gstcheck.c: (gst_check_message_error):
18105 * gst/check/gstcheck.h:
18106 add a fail_unless_equals_int
18107 add fail_unless for error messages
18109 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18111 * check/Makefile.am:
18113 * common/Makefile.am:
18114 * common/check.mak:
18116 factor out some of the common stuff so we can use it
18118 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18120 * check/Makefile.am:
18121 * check/gst/gstiterator.c: (GST_START_TEST):
18122 * check/gst/gstsystemclock.c: (GST_START_TEST),
18123 (gst_systemclock_suite):
18124 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
18126 valgrind more tests
18128 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18130 * check/elements/.cvsignore:
18131 * check/elements/gstfakesrc.c:
18132 rename to name of element
18133 * check/elements/identity.c: (chain_func), (event_func),
18134 (setup_identity), (cleanup_identity), (GST_START_TEST),
18135 (identity_suite), (main):
18136 add a test for identity
18137 * check/Makefile.am:
18138 * pkgconfig/Makefile.am:
18139 * pkgconfig/gstreamer-check.pc.in:
18140 * pkgconfig/gstreamer-check-uninstalled.pc.in:
18144 move the check stuff to a library that gets installed
18145 * check/gst-libs/controller.c: (GST_START_TEST):
18146 * check/gst-libs/gdp.c:
18147 * check/gst/gst.c: (GST_START_TEST):
18148 * check/gst/gstbin.c:
18149 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18150 * check/gst/gstbus.c:
18151 * check/gst/gstcaps.c: (GST_START_TEST):
18152 * check/gst/gstelement.c:
18153 * check/gst/gstghostpad.c:
18154 * check/gst/gstiterator.c:
18155 * check/gst/gstmessage.c:
18156 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
18157 * check/gst/gstobject.c:
18158 * check/gst/gstpad.c: (GST_START_TEST):
18159 * check/gst/gststructure.c: (GST_START_TEST):
18160 * check/gst/gstsystemclock.c: (GST_START_TEST),
18161 (gst_systemclock_suite):
18162 * check/gst/gsttag.c: (gst_tag_suite):
18163 * check/gst/gstvalue.c:
18164 * check/pipelines/cleanup.c:
18165 * check/pipelines/simple_launch_lines.c:
18166 * check/states/sinks.c:
18167 change include statement
18169 * docs/gst/gstreamer-sections.txt:
18170 * docs/gst/tmpl/gstpad.sgml:
18171 document more pad stuff
18172 * gst/gstminiobject.c: (gst_mini_object_ref),
18173 (gst_mini_object_unref):
18176 2005-08-19 Stefan Kost <ensonic@users.sf.net>
18178 * docs/gst/tmpl/gst.sgml:
18180 eliminate another tmpl file, fix spelling in the long-description
18182 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18184 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18185 (test_event), (timediff), (gstevents_suite):
18186 Should fix build on 64-bit arch's
18188 2005-08-18 Andy Wingo <wingo@pobox.com>
18190 Make sure that when a pipeline goes to PLAYING, that data has
18191 actually hit the sink.
18193 * check/states/sinks.c (test_sink): A sink that doesn't get any
18194 data shouldn't return SUCCESS for going to either PLAYING or
18195 PAUSED. Test also the return values on the way back down.
18197 * gst/gstelement.c (gst_element_set_state): When changing the
18198 state of an element currently changing state asynchronously, go to
18199 lost-state after commiting the pending state. Makes future calls
18200 to get_state continue to return ASYNC.
18202 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
18203 ASYNC when going to PLAYING if we still don't have preroll, as can
18204 happen with live sources.
18206 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18208 * docs/pwg/advanced-types.xml:
18209 Hack long paragraph into 2 chunks as a workaround for buggy
18210 jadetex version in sid and breezy that loops infinitely and
18213 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18215 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18216 (test_event), (timediff), (gstevents_suite):
18217 Provide more error margin in clock measurements to allow for
18218 g_get_current_time inaccuracies.
18220 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18222 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18223 (test_event), (timediff), (gstevents_suite):
18224 Fix error message output so I might be able to tell why the
18225 test works here but fails on the build farm.
18227 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18229 * check/Makefile.am:
18230 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18231 (test_event), (timediff), (gstevents_suite), (main):
18234 * docs/design/part-seeking.txt:
18235 Spelling correction
18237 * docs/gst/tmpl/gstevent.sgml:
18238 * docs/gst/tmpl/gstfakesrc.sgml:
18241 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18242 Treat a buffer-without-newsegment the same as a receiving
18243 a newsegment not in time format, and disable syncing to the clock
18246 * gst/gstbus.c: (gst_bus_set_sync_handler):
18247 Assert if anyone tries to replace the existing sync_handler for bus,
18248 as only the owner should be setting it.
18251 Have a fixed set of custom event enums with events identified by
18252 their structure name (as in 0.8), rather than a free-for-all
18253 allowing collisions between enum values from different plugins.
18255 * gst/gstpad.c: (gst_pad_class_init):
18258 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18259 Handle out-of-band downstream events from the sending thread.
18261 2005-08-17 Andy Wingo <wingo@pobox.com>
18263 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
18264 play-timeout==0 to mean no timeout at all. In that case, don't
18265 bother with a get_state or a warning, just return directly, even
18268 * gst/base/gstbasetransform.c: Debug changes.
18271 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
18272 ensure bins post state change messages. A bit of a hack but I can't
18273 think of a way to avoid it.
18275 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
18277 2005-08-16 Andy Wingo <wingo@pobox.com>
18279 * gst/base/gstadapter.h:
18280 * gst/base/gstadapter.c (gst_adapter_take): New function, like
18281 peek() but you own the data. Not terribly efficient atm.
18283 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18285 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
18286 (gst_element_found_tags):
18288 Add two utility functions for tag handling.
18290 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18292 * docs/manual/advanced-dataaccess.xml:
18293 * docs/manual/basics-helloworld.xml:
18294 Fix docs to use _bin_add() before _link(), which fixes the examples
18295 with recent core versions (reported by Madhan Raj M
18296 <raj_madan@rediffmail.com>, #313199).
18298 2005-08-16 Wim Taymans <wim@fluendo.com>
18300 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18301 Added subtract checks.
18303 * docs/design/part-events.txt:
18304 Some more docs about newsegment
18306 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
18309 * gst/gstcaps.c: (gst_caps_to_string):
18310 Add comments, cleanups.
18312 * gst/gstelement.c: (gst_element_save_thyself):
18315 * gst/gstvalue.c: (gst_value_collect_int_range),
18316 (gst_string_unwrap), (gst_value_union_int_int_range),
18317 (gst_value_union_int_range_int_range),
18318 (gst_value_intersect_int_int_range),
18319 (gst_value_intersect_int_range_int_range),
18320 (gst_value_intersect_double_double_range),
18321 (gst_value_intersect_double_range_double_range),
18322 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
18323 (gst_value_subtract_int_range_int),
18324 (gst_value_subtract_double_range_double),
18325 (gst_value_subtract_double_range_double_range),
18326 (gst_value_subtract_from_list), (gst_value_subtract_list),
18327 (gst_value_can_compare), (gst_value_compare_fraction):
18328 Cleanups, add comments, remove unneeded asserts.
18330 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
18332 * tools/gst-launch.c: (event_loop):
18333 don't convert NULL structures to strings
18335 2005-08-15 Stefan Kost <ensonic@users.sf.net>
18337 * docs/gst/gstreamer-sections.txt:
18338 made some defines private
18339 * docs/gst/tmpl/gstconfig.sgml:
18340 * docs/gst/tmpl/gstqueue.sgml:
18341 * docs/gst/tmpl/gsttaglist.sgml:
18342 * docs/gst/tmpl/gsttypes.sgml:
18343 * docs/gst/tmpl/gstutils.sgml:
18344 * docs/pwg/appendix-porting.xml:
18345 * gst/base/gstbasesink.h:
18346 * gst/base/gstbasesrc.c:
18347 * gst/base/gstbasesrc.h:
18348 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
18349 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
18350 * gst/gstelement.c: (gst_element_class_init):
18351 * gst/gstpad.c: (gst_pad_class_init):
18352 * gst/gstqueue.c: (gst_queue_class_init):
18353 * gst/gstxml.c: (gst_xml_class_init):
18354 documented all undocumented signal inline
18355 * libs/gst/controller/gst-controller.h:
18358 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18360 * docs/pwg/appendix-porting.xml:
18361 Document _set_link_function -> _set_setcaps_function.
18363 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
18365 * check/Makefile.am:
18366 add a .check target for running the check
18367 * check/gst-libs/controller.c: (GST_START_TEST):
18369 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18370 complete checks for gstbuffer; would be nice if I could get the
18371 gcov stuff to work so I can see if I actually completed gstbuffer.c
18372 * check/gstcheck.h:
18373 add ASSERT_BUFFER_REFCOUNT
18375 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
18377 * docs/gst/gstreamer-sections.txt:
18378 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
18380 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
18381 spew out a warning if a tag that is already registered
18382 is re-registered, unless it is re-registered with a
18383 different type (#308438).
18385 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
18387 * docs/pwg/appendix-porting.xml:
18388 * docs/pwg/building-state.xml:
18389 Add some paragraphs about state changes in 0.9 to the PWG
18390 and the porting guide, in particular about the new meaning
18391 of GST_STATE_PAUSED and how to write state change functions
18392 with concurrent access by multiple threads in mind.
18394 2005-08-11 Stefan Kost <ensonic@users.sf.net>
18396 * docs/gst/gstreamer-docs.sgml:
18397 * docs/libs/gstreamer-libs-docs.sgml:
18398 added deprecation and since indexes
18399 * libs/gst/controller/gst-controller.c:
18400 * libs/gst/controller/gst-helper.c:
18404 2005-08-11 Wim Taymans <wim@fluendo.com>
18406 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
18407 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
18408 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
18409 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
18410 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
18411 (gst_ghost_pad_set_target):
18412 Actually implement (re)setting the target on a ghostpad
18413 as described in the docs.
18415 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
18417 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
18418 Check whether GST_DEBUG_NO_COLOR environment variable is
18419 set and disable coloured debug output if that is the case.
18421 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
18423 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18424 (gst_type_find_helper):
18425 The memory returned by gst_type_find_peek() needs to
18426 stay valid until the end of a typefind function, and
18427 typefind functions may keep results from different
18428 offsets around, so we can't just unref the buffer from
18429 the previous _peek(), but have to save all buffers
18430 returned by _peek() until typefinding is done and only
18433 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
18435 * docs/gst/gstreamer-sections.txt:
18437 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
18439 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18441 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18442 Fix a pretty good memleak.
18444 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
18446 * gst/gstiterator.h:
18447 Fix wrong include and 'make distcheck'.
18449 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18451 * gst/gstbin.c: (bin_bus_handler):
18452 Use gst_element_post_message() instead.
18454 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
18456 * gst/base/gstadapter.h:
18457 * gst/base/gstbasesink.h:
18458 * gst/base/gstbasesrc.h:
18459 * gst/base/gstbasetransform.h:
18460 * gst/base/gstcollectpads.h:
18461 * gst/base/gstpushsrc.h:
18462 * gst/gstiterator.h:
18463 Add padding to our base elements' class and instance structs and
18464 to GstIterator (you will need to rebuild all plugins and apps!)
18466 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18468 * gst/gstbin.c: (bin_bus_handler):
18469 Make default message forwarding from child->bus to bin->bus
18470 threadsafe and make it not emit warnings if the parent has no bus.
18472 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18474 * gst/gstelement.c: (activate_pads):
18475 On paused->ready, set pad->caps to NULL, as is the documented
18476 behaviour in this state change. Fixes playback of series of
18477 media files when visualization is enabled in Totem.
18479 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18481 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18482 Allow NULL as filter-caps (which means "any").
18484 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18486 * docs/libs/gstreamer-libs-sections.txt:
18487 * libs/gst/controller/gst-controller.c:
18488 * libs/gst/controller/gst-controller.h:
18489 * libs/gst/controller/gst-helper.c:
18490 adding more entries to the docs and fix small doc-bugs
18492 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18494 * docs/gst/gstreamer-docs.sgml:
18495 * docs/gst/gstreamer-sections.txt:
18496 * docs/gst/gstreamer.types:
18497 * docs/gst/tmpl/gstbasesink.sgml:
18498 * docs/gst/tmpl/gstbasesrc.sgml:
18499 * docs/gst/tmpl/gstbasetransform.sgml:
18500 * docs/gst/tmpl/gstfakesrc.sgml:
18501 * gst/base/gstcollectpads.c:
18502 * gst/base/gstcollectpads.h:
18503 * libs/gst/controller/gst-controller.c:
18504 * libs/gst/controller/gst-controller.h:
18505 * libs/gst/controller/gst-helper.c:
18506 * libs/gst/controller/gst-interpolation.c:
18507 * libs/gst/controller/lib.c:
18508 added long/short desc for controller docs
18509 added collectpads base class docs
18510 added correct includes to base-class docs
18512 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18514 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18515 (gst_test_mono_source_set_property),
18516 (gst_test_mono_source_class_init), (GST_START_TEST),
18517 (gst_controller_suite):
18518 * docs/gst/gstreamer-docs.sgml:
18519 * docs/gst/gstreamer-sections.txt:
18520 * docs/gst/gstreamer.types:
18521 * docs/libs/gstreamer-libs-docs.sgml:
18522 * docs/libs/gstreamer-libs-sections.txt:
18523 * gst/base/gstadapter.c:
18524 * libs/gst/controller/gst-controller.c:
18525 (gst_controlled_property_new), (gst_controlled_property_free),
18526 (gst_controller_new_valist),
18527 (gst_controller_remove_properties_valist),
18528 (gst_controller_sink_values), (_gst_controller_finalize):
18529 * libs/gst/controller/gst-controller.h:
18530 * libs/gst/controller/gst-helper.c:
18531 (gst_object_control_properties), (gst_object_uncontrol_properties),
18532 (gst_object_get_controller), (gst_object_set_controller),
18533 (gst_object_sink_values), (gst_object_get_value_arrays),
18534 (gst_object_get_value_array):
18535 more tests (and fixes) for the controller
18536 more docs for the controller
18537 integrated companies docs for the adapter
18539 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
18541 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
18542 (GST_START_TEST), (fakesrc_suite):
18543 add tests for sizetype
18545 2005-08-04 Andy Wingo <wingo@pobox.com>
18547 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
18548 fixes buffer_alloc proxying among other things.
18550 * gst/base/gstbasetransform.c:
18551 * gst/base/gstbasetransform.h:
18552 Revert patch to gstbasetransform from 7-28 removing
18555 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
18556 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
18557 Semantics changed, should return not the size of the output buffer
18558 but the byte size of a buffer with a given caps.
18560 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
18562 (gst_base_transform_configure_caps): Don't set out_size here: (in,
18563 out) are not the pad caps until setcaps finishes.
18564 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
18565 not-in-place case as well. Deal with changing from in-place to
18566 not-in-place within calling pad_alloc_buffer. Still a bit
18567 concerned about the overhead here...
18569 2005-08-03 Andy Wingo <wingo@pobox.com>
18571 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
18572 fixating is an error.
18574 2005-08-04 Edward Hervey <edward@fluendo.com>
18576 * gst/base/gstadapter.h:
18577 Added gst_adapter_get_type() to the header
18579 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18581 * check/Makefile.am:
18582 * check/gst-libs/controller.c:
18583 * libs/gst/controller/gst-controller.c:
18584 (gst_controller_new_valist):
18585 added check test suite for the controller
18586 * gst/base/gstpushsrc.c:
18589 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18591 * docs/gst/Makefile.am:
18592 * docs/gst/gstreamer-docs.sgml:
18593 * docs/gst/gstreamer-sections.txt:
18594 * docs/gst/gstreamer.types:
18595 * docs/gst/tmpl/gstfakesrc.sgml:
18597 * gst/base/gstbasesink.c:
18598 * gst/base/gstbasesink.h:
18599 * gst/base/gstbasesrc.c:
18600 * gst/base/gstbasesrc.h:
18601 * gst/base/gstbasetransform.c:
18602 * gst/base/gstpushsrc.c:
18603 * gst/base/gstpushsrc.h:
18604 add short/long description docs to base classes
18605 add pushsrc to the docs
18606 remove consolidated doc fragments
18608 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18611 * docs/libs/Makefile.am:
18612 * docs/libs/gstreamer-libs-docs.sgml:
18613 * docs/libs/gstreamer-libs-sections.txt:
18614 * docs/libs/gstreamer-libs.types:
18615 * examples/Makefile.am:
18616 * examples/controller/.cvsignore:
18617 * examples/controller/Makefile.am:
18618 * examples/controller/audio-example.c: (main):
18619 * libs/gst/Makefile.am:
18620 * libs/gst/controller/.cvsignore:
18621 * libs/gst/controller/Makefile.am:
18622 * libs/gst/controller/gst-controller.c:
18623 (on_object_controlled_property_changed), (gst_timed_value_compare),
18624 (gst_timed_value_find),
18625 (gst_controlled_property_set_interpolation_mode),
18626 (gst_controlled_property_new), (gst_controlled_property_free),
18627 (gst_controller_find_controlled_property),
18628 (gst_controller_new_valist), (gst_controller_new),
18629 (gst_controller_remove_properties_valist),
18630 (gst_controller_remove_properties), (gst_controller_set),
18631 (gst_controller_set_from_list), (gst_controller_unset),
18632 (gst_controller_get), (gst_controller_get_all),
18633 (gst_controller_sink_values), (gst_controller_get_value_arrays),
18634 (gst_controller_get_value_array),
18635 (gst_controller_set_interpolation_mode),
18636 (_gst_controller_finalize), (_gst_controller_init),
18637 (_gst_controller_class_init), (gst_controller_get_type):
18638 * libs/gst/controller/gst-controller.h:
18639 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18640 (g_object_uncontrol_properties), (g_object_get_controller),
18641 (g_object_set_controller), (g_object_sink_values),
18642 (g_object_get_value_arrays), (g_object_get_value_array):
18643 * libs/gst/controller/gst-interpolation.c:
18644 (gst_controlled_property_find_timed_value_node),
18645 (interpolate_none_get), (interpolate_trigger_get),
18646 (interpolate_trigger_get_value_array):
18647 * libs/gst/controller/lib.c: (gst_controller_init):
18648 * pkgconfig/Makefile.am:
18649 * pkgconfig/gstreamer-control-uninstalled.pc.in:
18650 * pkgconfig/gstreamer-control.pc.in:
18651 * testsuite/Makefile.am:
18652 * testsuite/controller/.cvsignore:
18653 * testsuite/controller/Makefile.am:
18654 * testsuite/controller/interpolator.c: (main):
18655 added controller code
18656 removed dparam pc files
18658 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18659 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18660 (gst_collectpads_stop):
18661 Broadcast the condition when shutting down, to make sure we wake all
18662 threads up. Shut down pads on finalize, for safety.
18664 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18665 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18666 (gst_base_transform_handle_buffer),
18667 (gst_base_transform_change_state):
18668 Handle PAUSED->READY->PAUSED transition after negotiation
18670 * gst/gstmessage.c: (gst_message_init):
18671 Extra piece of debug for new messages.
18673 2005-08-01 Stefan Kost <ensonic@users.sf.net>
18676 * docs/gst/tmpl/gstbasesrc.sgml:
18677 * docs/gst/tmpl/gstelement.sgml:
18678 * docs/gst/tmpl/gstevent.sgml:
18679 * docs/gst/tmpl/gstfakesrc.sgml:
18680 * docs/gst/tmpl/gstformat.sgml:
18681 * docs/gst/tmpl/gstghostpad.sgml:
18682 * docs/gst/tmpl/gstpad.sgml:
18683 * docs/gst/tmpl/gstquery.sgml:
18684 * docs/gst/tmpl/gststructure.sgml:
18685 * docs/gst/tmpl/gsttaglist.sgml:
18686 * docs/gst/tmpl/gstvalue.sgml:
18687 * docs/libs/gstreamer-libs-docs.sgml:
18688 * docs/libs/gstreamer-libs-sections.txt:
18689 * docs/libs/gstreamer-libs.types:
18690 * libs/gst/Makefile.am:
18691 * libs/gst/control/.cvsignore:
18692 * libs/gst/control/Makefile.am:
18693 * libs/gst/control/control.c:
18694 * libs/gst/control/control.h:
18695 * libs/gst/control/dparam.c:
18696 * libs/gst/control/dparam.h:
18697 * libs/gst/control/dparam_smooth.c:
18698 * libs/gst/control/dparam_smooth.h:
18699 * libs/gst/control/dparamcommon.h:
18700 * libs/gst/control/dparammanager.c:
18701 * libs/gst/control/dparammanager.h:
18702 * libs/gst/control/dplinearinterp.c:
18703 * libs/gst/control/dplinearinterp.h:
18704 * libs/gst/control/unitconvert.c:
18705 * libs/gst/control/unitconvert.h:
18706 * testsuite/Makefile.am:
18707 * testsuite/dynparams/.cvsignore:
18708 * testsuite/dynparams/Makefile.am:
18709 * testsuite/dynparams/dparamstest.c:
18710 * tools/Makefile.am:
18711 * tools/gst-inspect.c: (print_element_info), (main):
18712 * tools/gst-xmlinspect.c: (print_element_info), (main):
18713 deactivate and remove dparams (libgstcontrol)
18715 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18717 * gst/elements/gsttypefindelement.c:
18718 (gst_type_find_element_have_type), (gst_type_find_element_init),
18719 (stop_typefinding), (gst_type_find_element_handle_event),
18720 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18721 * gst/elements/gsttypefindelement.h:
18722 Set caps on all outgoing buffers, not just the first one.
18724 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18726 * gst/elements/gsttypefindelement.c:
18727 (gst_type_find_element_have_type),
18728 (gst_type_find_element_check_set_buffer_caps),
18729 (gst_type_find_element_init), (stop_typefinding),
18730 (gst_type_find_element_handle_event),
18731 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18732 * gst/elements/gsttypefindelement.h:
18733 Set caps on first outgoing buffer when we've found the type.
18735 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18737 * docs/gst/gstreamer-docs.sgml:
18738 * docs/gst/gstreamer-sections.txt:
18739 * docs/gst/tmpl/gstscheduler.sgml:
18740 * docs/gst/tmpl/gstschedulerfactory.sgml:
18741 Remove some old cruft from docs.
18743 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
18746 Fix inline docs for GstPadLinkReturn.
18748 * gst/gststructure.c: (gst_structure_has_name):
18749 * gst/gststructure.h:
18750 * docs/gst/gstreamer-sections.txt:
18751 New API: gst_structure_has_name().
18753 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
18756 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18757 and _LARGEFILE_SOURCE in config.h as required. Do not
18758 export those flags in our .pc files any longer (#142209).
18760 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18762 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18763 (gst_file_sink_do_seek), (gst_file_sink_event),
18764 (gst_file_sink_get_current_offset), (gst_file_sink_render):
18765 Redo seek/tell calls with large file support in mind; add some
18766 debugging messages; add log message that tells us when large
18767 file support is unavailable or not enabled for some reason.
18769 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18770 Add log message that tells us when large file support
18771 is unavailable or not enabled for some reason.
18773 2005-07-29 Wim Taymans <wim@fluendo.com>
18775 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18776 Added test for removing an element with ghostpad from a bin.
18777 Fixed test as current implementation does the right thing.
18779 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18780 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18781 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18782 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18783 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18784 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18785 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18786 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18787 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18788 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18789 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18790 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18791 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18792 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18793 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18794 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18795 * gst/gstghostpad.h:
18796 Clean up ghostpads, remove properties for internal stuff.
18799 Prepare for switching targets, not all use cases work yet.
18801 2005-07-29 Wim Taymans <wim@fluendo.com>
18803 * docs/design/part-gstghostpad.txt:
18806 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18807 (gst_bin_remove_func):
18808 Unlinking pads while holding the bin LOCK is not a good
18811 * gst/gstpad.c: (gst_pad_class_init),
18812 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18813 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18814 No prob setting template after creating the pad.
18816 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
18818 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18819 (gst_bus_peek), (gst_bus_source_dispatch),
18820 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18821 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18822 gst_bus_poll may be called from other threads. Handle
18823 this nicely by not making poll_data disappear off the
18824 stack once gst_bus_poll returns.
18825 gst_bus_peek now increments the refcount on the returned
18828 2005-07-29 Wim Taymans <wim@fluendo.com>
18830 * docs/design/part-gstghostpad.txt:
18831 Overview of current GhostPad datastructures and use
18832 cases for changing the target.
18834 2005-07-28 Wim Taymans <wim@fluendo.com>
18836 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18837 Added checks for hierarchy consistency whan adding linked
18840 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18841 Added check to test element scheduling without bin/pipeline.
18843 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18844 First add elements to bin, then link.
18846 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18847 (gst_bin_remove_func):
18848 Unlink pads from elements added/removed from bin to maintain
18849 hierarchy consistency.
18851 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18853 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18854 (gst_base_transform_handle_buffer):
18855 * gst/base/gstbasetransform.h:
18856 Remove broken delay_configure (fixes renegotiation of software
18857 scaling pipelines); remove some leftover printf()s.
18859 2005-07-28 Wim Taymans <wim@fluendo.com>
18861 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18862 Added some more tests for wrong hierarchy
18864 * docs/design/part-overview.txt:
18867 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18870 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18871 (gst_element_dispose):
18872 Some more cleanups.
18874 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18875 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18876 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18877 (gst_pad_set_caps), (gst_pad_send_event):
18878 Check for correct hierarchy when linking pads. Moving to
18879 strict requirement for ghostpads when linking elements in
18883 Clean ups. Added WRONG_HIERARCHY return value.
18885 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18887 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18888 Better debug if no transform is possible.
18890 2005-07-27 Wim Taymans <wim@fluendo.com>
18892 * docs/random/wtay/network-transp:
18893 Some old doc I had.
18895 2005-07-27 Wim Taymans <wim@fluendo.com>
18897 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18898 (gst_dp_event_from_packet):
18899 Fix serialization of seek events.
18901 2005-07-27 Wim Taymans <wim@fluendo.com>
18903 * check/gst-libs/gdp.c: (GST_START_TEST):
18904 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18905 Fix compilation and fix event serialization.
18907 2005-07-27 Wim Taymans <wim@fluendo.com>
18910 * docs/design/part-TODO.txt:
18911 * docs/design/part-events.txt:
18914 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18915 (gst_base_sink_event), (gst_base_sink_do_sync),
18916 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18917 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18918 (gst_base_src_do_seek), (gst_base_src_event_handler),
18919 (gst_base_src_loop):
18920 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18921 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18922 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18923 (gst_base_transform_event), (gst_base_transform_handle_buffer),
18924 (gst_base_transform_set_passthrough),
18925 (gst_base_transform_is_passthrough):
18926 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18927 * gst/elements/gstfilesink.c: (gst_file_sink_event):
18933 * gst/gstelement.c: (gst_element_seek):
18934 * gst/gstelement.h:
18935 Update gst_element_seek.
18937 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18938 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18939 (gst_event_new_flush_start), (gst_event_new_flush_stop),
18940 (gst_event_new_eos), (gst_event_new_newsegment),
18941 (gst_event_parse_newsegment), (gst_event_new_tag),
18942 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18943 (gst_event_parse_qos), (gst_event_new_seek),
18944 (gst_event_parse_seek), (gst_event_new_navigation):
18946 Make GstEvent use GstStructure. Add parsing code, make sure the
18947 API is sufficiently generic.
18948 Mark possible directions of events and serialization.
18950 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18951 (_gst_message_copy), (gst_message_new_segment_start),
18952 (gst_message_new_segment_done), (gst_message_new_custom),
18953 (gst_message_parse_segment_start),
18954 (gst_message_parse_segment_done):
18957 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18958 (gst_pad_set_caps), (gst_pad_send_event):
18959 Update for new events.
18960 Catch events sent in wrong directions.
18962 * gst/gstqueue.c: (gst_queue_link_src),
18963 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18964 (gst_queue_handle_src_query):
18969 Remove event code from this file.
18971 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18972 (gst_dp_event_from_packet):
18975 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18977 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18978 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18979 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18980 Make debugging actually useful.
18982 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18984 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18985 (gst_pad_fixate_caps):
18986 Implement default fixation once again, so that gst_pad_fixate()
18987 actually does anything at all. This probably needs to be some
18988 sort of a last resort, and use profile-based fixation first, but
18989 since that doesn't exist yet, this is the best we have. Fixes
18990 visualization in Totem.
18992 2005-07-22 Wim Taymans <wim@fluendo.com>
18994 * docs/design/part-events.txt:
18997 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18998 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18999 (gst_base_sink_activate_pull):
19000 Some more comments.
19002 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
19003 (gst_fake_src_create):
19004 Fix handoff marshall.
19006 * gst/elements/gstidentity.c: (gst_identity_class_init),
19007 (gst_identity_transform_ip):
19008 We're a real inplace element.
19010 * gst/gstbus.c: (gst_bus_post):
19011 Added some comments.
19013 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
19014 * tests/muxing/case1.c: (main):
19015 * tests/sched/dynamic-pipeline.c: (main):
19016 * tests/sched/interrupt1.c: (main):
19017 * tests/sched/interrupt2.c: (main):
19018 * tests/sched/interrupt3.c: (main):
19019 * tests/sched/runxml.c: (main):
19020 * tests/sched/sched-stress.c: (main):
19021 * tests/seeking/seeking1.c: (event_received), (main):
19022 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
19024 * tests/threadstate/threadstate3.c: (main):
19025 * tests/threadstate/threadstate4.c: (main):
19026 * tests/threadstate/threadstate5.c: (main):
19029 2005-07-21 Wim Taymans <wim@fluendo.com>
19031 * docs/design/part-seeking.txt:
19032 Some small additions.
19034 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19035 (gst_base_sink_get_times), (gst_base_sink_do_sync),
19036 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
19037 * gst/base/gstbasesink.h:
19038 discont values are gint64, handle the math correctly.
19040 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19041 Make the basesrc report error if the source pad is not linked.
19043 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
19044 (gst_queue_loop), (gst_queue_handle_src_query),
19045 (gst_queue_src_activate_push):
19046 Make queue collect data even if the srcpad is not linked.
19047 Start pushing out data as soon as it is linked.
19049 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
19051 Added gst_flow_get_name() to ease error reporting.
19053 2005-07-20 Wim Taymans <wim@fluendo.com>
19055 * gst/gstmessage.c: (gst_message_new_segment_start),
19056 (gst_message_new_segment_done), (gst_message_parse_segment_start),
19057 (gst_message_parse_segment_done):
19058 * gst/gstmessage.h:
19059 Added a bunch of messages for advanced seeking.
19061 * gst/parse/grammar.y:
19062 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
19063 (gst_dpman_state_changed):
19064 Fix some new-pad -> pad-added signals
19066 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19068 * docs/manual/appendix-porting.xml:
19069 * docs/pwg/appendix-porting.xml:
19070 Document new-pad/state-change signal renames and the FixedList
19073 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19075 * docs/manual/advanced-autoplugging.xml:
19076 * docs/manual/basics-helloworld.xml:
19077 * docs/manual/basics-pads.xml:
19078 * docs/random/ds/0.9-suggested-changes:
19079 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
19080 * gst/gstelement.h:
19084 * gst/gststructure.c: (gst_structure_value_get_generic_type),
19085 (gst_structure_parse_array), (gst_structure_parse_value):
19086 * gst/gstvalue.c: (gst_type_is_fixed),
19087 (gst_value_list_prepend_value), (gst_value_list_append_value),
19088 (gst_value_list_get_size), (gst_value_list_get_value),
19089 (gst_value_transform_array_string), (gst_value_serialize_array),
19090 (gst_value_deserialize_array), (gst_value_intersect_array),
19091 (gst_value_is_fixed), (_gst_value_initialize):
19093 GstElement::new-pad -> pad-added, GstElement::state-change ->
19094 state-changed, GstValueFixedList -> GstValueArray, add format and
19095 flags as their own arguments in gst_element_seek() (should improve
19096 "bindeability"), remove function generators since they don't work
19097 under a whole bunch of compilers (they were deprecated already
19100 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19102 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19103 (_gst_debug_register_funcptr):
19105 Fix illegal cast on some platforms (#309253).
19107 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19109 * gst/gstmessage.c: (gst_message_new_custom):
19110 * gst/gstmessage.h:
19111 Add _new_custom, make _new_application a macro to _new_custom.
19113 2005-07-20 Wim Taymans <wim@fluendo.com>
19115 * gst/base/gstbasesrc.c: (gst_base_src_init),
19116 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
19117 * gst/base/gstbasesrc.h:
19118 Add a gboolean to decide when to push out a discont.
19120 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19121 (gst_queue_loop), (gst_queue_handle_src_query),
19122 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
19123 (gst_queue_set_property), (gst_queue_get_property):
19126 * tests/threadstate/threadstate1.c: (main):
19127 Make a thread test compile and run... very silly..
19130 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19132 * docs/manual/appendix-porting.xml:
19133 Mention removal of libgstgconf-0.9.la and existence of gconf
19136 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19138 * docs/pwg/advanced-clock.xml:
19139 * docs/pwg/appendix-porting.xml:
19140 * docs/pwg/intro-preface.xml:
19141 * docs/pwg/other-base.xml:
19142 * docs/pwg/other-manager.xml:
19143 * docs/pwg/other-nton.xml:
19144 * docs/pwg/other-ntoone.xml:
19145 * docs/pwg/other-oneton.xml:
19146 * docs/pwg/pwg.xml:
19147 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
19148 demuxer), remove n-to-n (was never written), fix some code examples
19149 and links and update the porting section to include all this.
19151 2005-07-19 Wim Taymans <wim@fluendo.com>
19153 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
19154 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
19155 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
19156 (gst_queue_src_activate_push), (gst_queue_change_state),
19157 (gst_queue_get_property):
19159 Propagate GstFlowReturn more intelligently upstream and output
19160 an ERROR/EOS when streaming stopped due to fatal error.
19162 2005-07-19 Wim Taymans <wim@fluendo.com>
19164 * tools/gst-launch.c: (check_intr), (event_loop), (main):
19165 Don't block forever for the state change to complete, the
19166 pipeline already did with a sensible timeout.
19168 2005-07-19 Wim Taymans <wim@fluendo.com>
19170 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19171 Make sure we never call the create function is we
19174 2005-07-19 Andy Wingo <wingo@pobox.com>
19176 * gst/parse/parse.l: Attempt to solve bug #172815.
19178 2005-07-19 Wim Taymans <wim@fluendo.com>
19180 * docs/design/part-clocks.txt:
19181 * docs/design/part-events.txt:
19182 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
19183 Small docs updates.
19184 Only update the seeking values when we are not
19187 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
19189 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19190 Oops, ignore the result of gst_pad_push_event here.
19192 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
19194 * gst/base/gstbasesrc.c: (gst_base_src_loop),
19195 (gst_base_src_activate_push):
19196 Send discont event from the loop function, as pads
19197 aren't activated yet in the activate_push handler.
19199 * gst/gstbin.c: (bin_bus_handler):
19200 Don't leak element name.
19202 2005-07-18 Andy Wingo <wingo@pobox.com>
19204 * configure.ac: Use AS_LIBTOOL_TAGS.
19206 2005-07-18 Wim Taymans <wim@fluendo.com>
19208 * docs/gst/gstreamer.types:
19209 Remove deleted types.
19211 2005-07-18 Wim Taymans <wim@fluendo.com>
19213 * check/elements/gstfakesrc.c: (GST_START_TEST):
19216 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
19217 (init_popt_callback):
19219 * gst/gst_private.h:
19220 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
19221 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
19224 * gst/gstconfig.h.in:
19225 * gst/gstelement.c: (gst_element_class_init),
19226 (gst_element_set_base_time), (gst_element_get_base_time),
19227 (iterator_fold_with_resync), (gst_element_change_state),
19228 (gst_element_dispose), (gst_element_get_bus):
19229 * gst/gstelement.h:
19230 * gst/gstelementfactory.h:
19231 * gst/gsterror.c: (_gst_core_errors_init):
19234 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19236 * gst/gstinfo.c: (_gst_debug_init):
19237 * gst/gstmessage.c: (_gst_message_copy):
19238 * gst/gstmessage.h:
19239 * gst/gstminiobject.h:
19242 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19243 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
19246 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19247 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19248 (gst_pipeline_get_last_stream_time):
19249 * gst/gstpipeline.h:
19250 * gst/gstpluginfeature.h:
19252 * gst/gstscheduler.c:
19253 * gst/gstscheduler.h:
19254 * gst/gststructure.h:
19255 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19256 (gst_task_finalize), (gst_task_func), (gst_task_create),
19257 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
19258 (gst_task_stop), (gst_task_pause):
19260 * gst/gsttypefind.h:
19262 * gst/registries/gstlibxmlregistry.c: (load_feature),
19263 (gst_xml_registry_load), (gst_xml_registry_save_feature):
19264 * gst/registries/gstxmlregistry.c:
19265 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
19266 * gst/schedulers/threadscheduler.c:
19267 * libs/gst/control/dparammanager.h:
19268 * tools/gst-inspect.c: (print_element_list),
19269 (print_plugin_features), (print_element_features):
19270 * tools/gst-xmlinspect.c: (print_element_list),
19271 (print_plugin_info), (main):
19272 Removed plugable schedulers.
19273 Removed Scheduler/Manager from elements.
19274 Removed gsttypes.h, rearranged includes.
19275 Removed dependency pad<->element, element<>pipeline, and
19276 various others, fix includes.
19277 implement gst_pad_get_parent() with gst_object_get_parent()
19278 Make GstTask sefcontained.
19279 Fix _get_state() on GstBin, it did not return ASYNC with a 0
19281 Fix endless loop in iterator_fold_with_resync.
19284 2005-07-18 Wim Taymans <wim@fluendo.com>
19290 2005-07-18 Wim Taymans <wim@fluendo.com>
19293 No more cothreads.h
19295 2005-07-18 Wim Taymans <wim@fluendo.com>
19299 Let's remove these.
19301 2005-07-18 Wim Taymans <wim@fluendo.com>
19303 * docs/design/part-dynamic.txt:
19304 * docs/design/part-events.txt:
19305 * docs/design/part-seeking.txt:
19306 Some more docs in the works.
19308 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19309 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
19310 (gst_base_transform_setcaps), (gst_base_transform_get_size),
19311 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19312 (gst_base_transform_handle_buffer),
19313 (gst_base_transform_sink_activate_push),
19314 (gst_base_transform_src_activate_pull),
19315 (gst_base_transform_set_passthrough),
19316 (gst_base_transform_is_passthrough):
19319 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
19322 * gst/gstevent.c: (gst_event_finalize):
19325 * gst/gstutils.c: (gst_element_unlink),
19326 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
19327 (gst_pad_proxy_setcaps):
19329 Add _get_parent_element() to get a pads parent as an element.
19331 2005-07-18 Wim Taymans <wim@fluendo.com>
19333 * check/gst/gstbin.c: (GST_START_TEST):
19336 2005-07-18 Wim Taymans <wim@fluendo.com>
19338 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19339 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19340 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19341 (gst_base_sink_event), (gst_base_sink_do_sync),
19342 (gst_base_sink_chain), (gst_base_sink_loop),
19343 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
19344 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19346 Fix logic for returning ASYNC when not prerolled.
19348 2005-07-18 Wim Taymans <wim@fluendo.com>
19350 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19351 Fix nasty refcount bug.
19353 2005-07-16 Philippe Khalaf <burger@speedy.org>
19355 * gst/elements/gstfdsrc.c:
19356 * gst/elements/gstfdsrc.h:
19357 * gst/elements/gstelements.c:
19358 * gst/elements/Makefile.am:
19359 Ported fdsrc to 0.9.
19361 2005-07-16 Wim Taymans <wim@fluendo.com>
19363 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19364 (gst_base_sink_do_sync):
19367 2005-07-16 Wim Taymans <wim@fluendo.com>
19369 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19370 (gst_base_sink_event), (gst_base_sink_get_times),
19371 (gst_base_sink_do_sync), (gst_base_sink_change_state):
19372 * gst/base/gstbasesink.h:
19373 Store and use discont values when syncing buffers as described
19376 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19377 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
19378 (gst_base_src_activate_push):
19379 Push discont event when starting.
19381 * gst/elements/gstidentity.c: (gst_identity_transform):
19384 * gst/gstbin.c: (gst_bin_change_state):
19385 Small cleanups in base_time distribution.
19387 * gst/gstelement.c: (gst_element_set_base_time),
19388 (gst_element_get_base_time), (gst_element_change_state):
19389 * gst/gstelement.h:
19390 Added methods for the base_time of the element.
19393 * gst/gstpipeline.c: (gst_pipeline_send_event),
19394 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19395 (gst_pipeline_get_last_stream_time):
19396 * gst/gstpipeline.h:
19398 Handle seeking as described in design doc, remove stream_time
19400 Cleanups clock and stream_time selection code. Added accessors
19401 for the stream_time.
19404 2005-07-16 Andy Wingo <wingo@pobox.com>
19406 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
19409 2005-07-16 Wim Taymans <wim@fluendo.com>
19411 * check/gst/gstbin.c: (GST_START_TEST):
19412 Make elements silent as the deep_notify refs the
19413 parent, which might make the test fail.
19415 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19416 Don't hold the lock for too long.
19418 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
19420 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19421 Don't unref the caps we passed to gst_caps_make_writable() after
19422 passing them. gst_caps_make_writable() will do that for us.
19424 2005-07-15 Andy Wingo <wingo@pobox.com>
19426 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
19429 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
19430 own marshalling function for the handoff signal. Properly type the
19431 buffer as a buffer. Fixes some warnings. Should do a more general
19433 (gst_identity_class_init): Plug into the right marshaller.
19435 2005-07-15 Wim Taymans <wim@fluendo.com>
19437 * docs/design/part-TODO.txt:
19438 * docs/design/part-clocks.txt:
19439 * docs/design/part-element-sink.txt:
19440 * docs/design/part-events.txt:
19441 * docs/design/part-gstpipeline.txt:
19442 Updated docs, mostly DISCONT related.
19444 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
19446 * docs/pwg/building-pads.xml:
19447 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
19449 2005-07-15 Andy Wingo <wingo@pobox.com>
19451 * tools/gst-typefind.c: Update, add copyright block.
19453 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
19454 Normalize and truncate caps before fixation.
19457 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
19458 discards all but the first structure from its argument.
19460 2005-07-15 Wim Taymans <wim@fluendo.com>
19462 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19463 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
19464 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19465 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19466 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
19467 (gst_base_transform_chain), (gst_base_transform_change_state),
19468 (gst_base_transform_set_passthrough),
19469 (gst_base_transform_is_passthrough):
19470 * gst/base/gstbasetransform.h:
19471 Make passthrough work using the bufferpools.
19472 Changed API a bit, subclasses have to write into a buffer
19473 provided by the base class.
19474 More debug info in nego functions.
19476 * gst/elements/gstidentity.c: (gst_identity_init),
19477 (gst_identity_transform):
19478 Port to new base class.
19480 2005-07-15 Wim Taymans <wim@fluendo.com>
19482 * gst/gstmessage.c: (gst_message_new_state_changed):
19483 * tools/gst-launch.c: (event_loop), (main):
19484 Totally dump messages in -launch with the -m option.
19485 Fix message name for State messages,
19487 2005-07-14 Wim Taymans <wim@fluendo.com>
19489 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19490 Post error messages on errors.
19492 2005-07-14 Wim Taymans <wim@fluendo.com>
19494 * gst/gstcaps.c: (gst_caps_do_simplify):
19498 Define error for stream stopped.
19500 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19501 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
19502 Do proper return values.
19504 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19505 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
19506 (gst_pad_get_range):
19507 Better return values.
19510 Reorganise return values, add macro to check for fatal errors.
19512 * gst/gstqueue.c: (gst_queue_chain):
19513 Return proper GstFlowReturn values,
19515 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
19517 * docs/gst/gstreamer-sections.txt:
19518 * docs/gst/gstreamer.types:
19519 * docs/gst/tmpl/gst.sgml:
19520 * docs/gst/tmpl/gstbasesink.sgml:
19521 * docs/gst/tmpl/gstbasesrc.sgml:
19522 * docs/gst/tmpl/gstbasetransform.sgml:
19523 * docs/gst/tmpl/gstbin.sgml:
19524 * docs/gst/tmpl/gstbuffer.sgml:
19525 * docs/gst/tmpl/gstcaps.sgml:
19526 * docs/gst/tmpl/gstclock.sgml:
19527 * docs/gst/tmpl/gstcompat.sgml:
19528 * docs/gst/tmpl/gstconfig.sgml:
19529 * docs/gst/tmpl/gstelement.sgml:
19530 * docs/gst/tmpl/gstelementdetails.sgml:
19531 * docs/gst/tmpl/gstelementfactory.sgml:
19532 * docs/gst/tmpl/gstenumtypes.sgml:
19533 * docs/gst/tmpl/gsterror.sgml:
19534 * docs/gst/tmpl/gstevent.sgml:
19535 * docs/gst/tmpl/gstfakesink.sgml:
19536 * docs/gst/tmpl/gstfakesrc.sgml:
19537 * docs/gst/tmpl/gstfilesink.sgml:
19538 * docs/gst/tmpl/gstfilesrc.sgml:
19539 * docs/gst/tmpl/gstfilter.sgml:
19540 * docs/gst/tmpl/gstformat.sgml:
19541 * docs/gst/tmpl/gstghostpad.sgml:
19542 * docs/gst/tmpl/gstimplementsinterface.sgml:
19543 * docs/gst/tmpl/gstindex.sgml:
19544 * docs/gst/tmpl/gstindexfactory.sgml:
19545 * docs/gst/tmpl/gstinfo.sgml:
19546 * docs/gst/tmpl/gstiterator.sgml:
19547 * docs/gst/tmpl/gstmacros.sgml:
19548 * docs/gst/tmpl/gstmemchunk.sgml:
19549 * docs/gst/tmpl/gstminiobject.sgml:
19550 * docs/gst/tmpl/gstobject.sgml:
19551 * docs/gst/tmpl/gstpad.sgml:
19552 * docs/gst/tmpl/gstpadtemplate.sgml:
19553 * docs/gst/tmpl/gstparse.sgml:
19554 * docs/gst/tmpl/gstpipeline.sgml:
19555 * docs/gst/tmpl/gstplugin.sgml:
19556 * docs/gst/tmpl/gstpluginfeature.sgml:
19557 * docs/gst/tmpl/gstquery.sgml:
19558 * docs/gst/tmpl/gstqueue.sgml:
19559 * docs/gst/tmpl/gstregistry.sgml:
19560 * docs/gst/tmpl/gstregistrypool.sgml:
19561 * docs/gst/tmpl/gstscheduler.sgml:
19562 * docs/gst/tmpl/gstschedulerfactory.sgml:
19563 * docs/gst/tmpl/gststructure.sgml:
19564 * docs/gst/tmpl/gstsystemclock.sgml:
19565 * docs/gst/tmpl/gsttaglist.sgml:
19566 * docs/gst/tmpl/gsttagsetter.sgml:
19567 * docs/gst/tmpl/gsttrace.sgml:
19568 * docs/gst/tmpl/gsttrashstack.sgml:
19569 * docs/gst/tmpl/gsttypefind.sgml:
19570 * docs/gst/tmpl/gsttypefindfactory.sgml:
19571 * docs/gst/tmpl/gsttypes.sgml:
19572 * docs/gst/tmpl/gsturihandler.sgml:
19573 * docs/gst/tmpl/gsturitype.sgml:
19574 * docs/gst/tmpl/gstutils.sgml:
19575 * docs/gst/tmpl/gstvalue.sgml:
19576 * docs/gst/tmpl/gstversion.sgml:
19577 * docs/gst/tmpl/gstxml.sgml:
19578 * docs/libs/tmpl/gstcontrol.sgml:
19579 * docs/libs/tmpl/gstdataprotocol.sgml:
19580 * docs/libs/tmpl/gstdparam.sgml:
19581 * docs/libs/tmpl/gstdplinint.sgml:
19582 * docs/libs/tmpl/gstdpman.sgml:
19583 * docs/libs/tmpl/gstdpsmooth.sgml:
19584 * docs/libs/tmpl/gstgetbits.sgml:
19585 * docs/libs/tmpl/gstunitconvert.sgml:
19586 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
19587 (gst_push_src_base_init), (gst_push_src_class_init),
19588 (gst_push_src_init), (gst_push_src_create):
19589 * gst/base/gstpushsrc.h:
19590 * gst/elements/gstelements.c:
19591 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
19592 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
19593 (gst_fake_sink_init), (gst_fake_sink_set_property),
19594 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
19595 (gst_fake_sink_event), (gst_fake_sink_preroll),
19596 (gst_fake_sink_render), (gst_fake_sink_change_state):
19597 * gst/elements/gstfakesink.h:
19598 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19599 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19600 (gst_fake_src_base_init), (gst_fake_src_class_init),
19601 (gst_fake_src_init), (gst_fake_src_event_handler),
19602 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
19603 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
19604 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
19605 (gst_fake_src_create_buffer), (gst_fake_src_create),
19606 (gst_fake_src_start), (gst_fake_src_stop):
19607 * gst/elements/gstfakesrc.h:
19608 * gst/elements/gstfilesink.c: (_do_init),
19609 (gst_file_sink_base_init), (gst_file_sink_class_init),
19610 (gst_file_sink_init), (gst_file_sink_dispose),
19611 (gst_file_sink_set_location), (gst_file_sink_set_property),
19612 (gst_file_sink_get_property), (gst_file_sink_open_file),
19613 (gst_file_sink_close_file), (gst_file_sink_query),
19614 (gst_file_sink_event), (gst_file_sink_render),
19615 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
19616 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
19617 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
19618 * gst/elements/gstfilesink.h:
19619 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
19620 (gst_file_src_class_init), (gst_file_src_init),
19621 (gst_file_src_finalize), (gst_file_src_set_location),
19622 (gst_file_src_set_property), (gst_file_src_get_property),
19623 (gst_file_src_map_region), (gst_file_src_map_small_region),
19624 (gst_file_src_create_mmap), (gst_file_src_create_read),
19625 (gst_file_src_create), (gst_file_src_is_seekable),
19626 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
19627 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
19628 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
19629 (gst_file_src_uri_handler_init):
19630 * gst/elements/gstfilesrc.h:
19631 more autistic cleanliness in functions/names/defines
19633 2005-07-13 Andy Wingo <wingo@pobox.com>
19635 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19636 source couldn't negotiate.
19638 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19642 * gst/gstutils.c (gst_element_link_pads_filtered): New old
19643 function. I am channeling Hades. Put your boots on suckers!!!
19645 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
19647 * testsuite/caps/Makefile.am:
19648 * testsuite/caps/value_compare.c:
19649 * testsuite/caps/value_intersect.c:
19650 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19651 move two testsuite apps over to the check dir
19653 2005-07-12 Wim Taymans <wim@fluendo.com>
19655 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19656 Added more debug info in the negotiate process.
19658 * gst/gstmessage.h:
19659 Prepare for segment playback.
19661 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19667 * tools/gst-launch.c: (main):
19668 NULL pipeline on errors.
19670 2005-07-12 Andy Wingo <wingo@pobox.com>
19672 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19673 not it comes from a malloc region. Make sure our copy gets freed.
19675 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19677 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19678 * check/gst/gstmessage.c: (GST_START_TEST):
19679 * check/gst/gststructure.c: (GST_START_TEST),
19680 (gst_structure_suite), (main):
19682 * gst/gstelement.c: (gst_element_message_full):
19683 clean up GError and debug string now that they get copied
19684 * gst/gstmessage.c: (gst_message_new_error),
19685 (gst_message_new_warning), (gst_message_parse_error),
19686 (gst_message_parse_warning):
19687 use GST_TYPE_G_ERROR for structure_new, and take copies of
19688 arguments, so that we don't mess up refcounting
19690 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19692 * check/Makefile.am:
19693 add per-test valgrind targets
19694 * check/gst-libs/gdp.c: (GST_START_TEST),
19695 (gst_data_protocol_suite), (main):
19698 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19700 * check/Makefile.am:
19701 instate more valgrindable tests
19702 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19703 (GST_START_TEST), (fakesrc_suite):
19704 * check/gst/gstpad.c: (GST_START_TEST):
19705 * check/gst/gststructure.c: (GST_START_TEST):
19707 * docs/gst/tmpl/gstminiobject.sgml:
19708 * gst/gstpad.c: (gst_pad_finalize):
19709 fix the static mutex leak
19711 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19713 * check/Makefile.am:
19714 add two more tests for valgrinding
19715 * check/gst/gstvalue.c: (GST_START_TEST):
19716 test refcount of deserialized buffer, found a leak
19717 * docs/gst/gstreamer-docs.sgml:
19718 * docs/gst/gstreamer-sections.txt:
19719 * docs/gst/gstreamer.types:
19720 * docs/gst/tmpl/gstminiobject.sgml:
19721 add miniobject to docs
19722 * gst/gstminiobject.c:
19724 * gst/gstvalue.c: (gst_value_deserialize_buffer),
19725 (gst_string_unwrap):
19726 fix a hard-to-find invalid write for one of the tests
19727 fix a leak for deserialized buffers
19729 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19731 * docs/pwg/advanced-events.xml:
19732 * docs/pwg/advanced-request.xml:
19733 * docs/pwg/advanced-scheduling.xml:
19734 * docs/pwg/appendix-porting.xml:
19735 * docs/pwg/building-boiler.xml:
19736 * docs/pwg/intro-preface.xml:
19737 * docs/pwg/other-ntoone.xml:
19738 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19739 of example code and explanation for pad activation, loop() and
19740 getrange() functions and a bit more. Remove old comments pointing
19742 * examples/pwg/Makefile.am:
19743 Add loop/getrange examples.
19745 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19748 check for valgrind binary + some fixes
19750 valgrind suppressions for the tests
19751 * check/Makefile.am:
19752 add a valgrind: target that valgrinds the unit tests
19753 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19754 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19755 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19756 * check/gst/gstghostpad.c:
19758 * check/gst/gstdata.c:
19760 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19761 (thread_unref), (gst_mini_object_suite), (main):
19763 * gst/gst.c: (gst_deinit):
19765 add a method to clean up.
19766 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19767 (gst_system_clock_obtain):
19768 allow for disposing the system clock.
19769 * tools/gst-launch.c: (main):
19772 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19774 * docs/gst/tmpl/gstbasesrc.sgml:
19775 * docs/gst/tmpl/gstfakesrc.sgml:
19776 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19777 (gst_base_src_init), (gst_base_src_set_property),
19778 (gst_base_src_get_property), (gst_base_src_get_range),
19779 (gst_base_src_start):
19780 * gst/base/gstbasesrc.h:
19781 add num-buffers property
19782 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19783 (gst_fakesrc_init), (gst_fakesrc_set_property),
19784 (gst_fakesrc_get_property), (gst_fakesrc_create),
19785 (gst_fakesrc_start):
19786 remove num-buffers property
19788 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19790 * docs/gst/gstreamer-sections.txt:
19791 * docs/gst/tmpl/gstbasesink.sgml:
19792 * docs/gst/tmpl/gstbasesrc.sgml:
19793 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19794 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19795 (gst_base_sink_finalize), (gst_base_sink_set_clock),
19796 (gst_base_sink_set_property), (gst_base_sink_get_property),
19797 (gst_base_sink_handle_object), (gst_base_sink_event),
19798 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19799 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19800 (gst_base_sink_loop), (gst_base_sink_deactivate),
19801 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19802 (gst_base_sink_change_state):
19803 * gst/base/gstbasesink.h:
19804 * gst/base/gstbasesrc.h:
19805 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19806 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19807 (gst_filesink_init):
19808 more macro splitting
19810 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19812 * gst/gstelement.c: (gst_element_get_bus):
19814 * tools/gst-launch.c: (check_intr), (event_loop):
19817 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19819 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19822 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19824 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19825 (gst_base_src_finalize):
19826 add finalize method and clean up properly
19827 * gst/gstpipeline.c: (gst_pipeline_dispose):
19830 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19832 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19834 add more things to check
19835 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19836 * gst/gstelement.c:
19839 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19841 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19842 (GST_START_TEST), (fakesrc_suite):
19843 * check/gst-libs/gdp.c: (GST_START_TEST):
19844 * check/gst/gst.c: (GST_START_TEST):
19845 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19846 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19847 * check/gst/gstbus.c: (GST_START_TEST):
19848 * check/gst/gstcaps.c: (GST_START_TEST):
19849 * check/gst/gstdata.c: (GST_START_TEST):
19850 * check/gst/gstelement.c: (GST_START_TEST):
19851 * check/gst/gstghostpad.c: (GST_START_TEST):
19852 * check/gst/gstiterator.c: (GST_START_TEST):
19853 * check/gst/gstmessage.c: (GST_START_TEST):
19854 * check/gst/gstobject.c: (GST_START_TEST):
19855 * check/gst/gstpad.c: (GST_START_TEST):
19856 * check/gst/gststructure.c: (GST_START_TEST):
19857 * check/gst/gstsystemclock.c: (GST_START_TEST),
19858 (gst_systemclock_suite):
19859 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19860 * check/gst/gstvalue.c: (GST_START_TEST):
19861 * check/pipelines/cleanup.c: (GST_START_TEST):
19862 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19863 * check/states/sinks.c: (GST_START_TEST):
19864 * check/gstcheck.c: (gst_check_init):
19865 * check/gstcheck.h:
19866 add debugging category
19867 use GST_START_TEST now, so we add a debug line
19869 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19871 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19872 add test for state change message on a bin
19873 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19875 * gst/gstbin.c: (gst_bin_init):
19876 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19877 * gst/gstelement.c: (gst_element_post_message),
19878 (gst_element_set_state):
19879 * gst/gstelementfactory.c: (gst_element_factory_create):
19880 * gst/gstmessage.c: (gst_message_new):
19881 * gst/gstscheduler.c:
19882 various debugging additions and cleanups
19884 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19886 * check/Makefile.am:
19887 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19889 adding tests for elements
19890 * gst/gstelement.c: (gst_element_dispose):
19892 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19894 * gst/registries/gstlibxmlregistry.c: (load_feature):
19895 plug more leaks. A simple gst_init() now is leakfree, yay.
19897 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19899 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19900 (gst_xml_registry_load):
19901 plug another memleak
19903 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19906 use GST_SET_ERROR_CFLAGS
19907 * docs/faq/cvs.xml:
19908 change to ERROR_CFLAGS
19910 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19913 make GST_ERROR_CFLAGS overridable and re-enable Werror
19914 * docs/faq/cvs.xml:
19915 add a note about error CFLAGS
19916 * docs/gst/tmpl/gstfakesrc.sgml:
19917 * gst/elements/gstfakesrc.c:
19918 comment out some unused code
19919 * gst/gst.c: (split_and_iterate):
19920 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19924 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19926 * common/Makefile.am:
19927 * common/gtk-doc.mak:
19928 * docs/gst/Makefile.am:
19929 factor out gtk-doc.mak
19931 2005-07-07 Wim Taymans <wim@fluendo.com>
19933 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19934 (gst_thread_scheduler_dispose):
19935 Unlock the STREAM_LOCK completely.
19937 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19939 * check/Makefile.am:
19940 * check/elements/.cvsignore:
19941 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19942 (START_TEST), (fakesrc_suite), (main):
19943 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19944 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19945 (gst_fakesrc_create), (gst_fakesrc_start):
19946 * gst/elements/gstfakesrc.h:
19947 adding a first element test
19949 2005-07-07 Andy Wingo <wingo@pobox.com>
19951 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19954 2005-07-07 Wim Taymans <wim@fluendo.com>
19960 2005-07-07 Wim Taymans <wim@fluendo.com>
19962 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19963 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19964 Allow subclasses to implement their own negotiation.
19966 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19968 * docs/design/part-gstbin.txt:
19969 * docs/design/part-gstpipeline.txt:
19970 Update design notes to reflect the movement of
19971 responsibility for bus handling from GstPipeline to
19974 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19977 Remove unnecessary queue2/3/4 examples.
19979 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19981 * examples/Makefile.am:
19982 * examples/helloworld/helloworld.c: (event_loop), (main):
19983 * examples/queue/queue.c: (event_loop), (main):
19984 * examples/queue2/queue2.c: (main):
19985 Update a couple of the examples to work again.
19987 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19988 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19989 Spelling corrections and extra debug.
19991 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19992 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19993 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19995 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19996 (gst_pipeline_change_state):
19997 * gst/gstpipeline.h:
19998 Move the bus handler for children to the GstBin, and create a
19999 separate bus for receiving messages from children to the one the
20000 bus sends 'upwards' on.
20002 2005-07-06 Wim Taymans <wim@fluendo.com>
20005 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20006 (gst_base_sink_handle_object), (gst_base_sink_loop),
20007 (gst_base_sink_change_state):
20008 * gst/base/gstbasesink.h:
20009 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20010 (gst_base_src_init), (gst_base_src_setcaps),
20011 (gst_base_src_getcaps), (gst_base_src_loop),
20012 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
20013 (gst_base_src_start), (gst_base_src_change_state):
20014 * gst/base/gstbasesrc.h:
20015 Make basesrc negotiate.
20016 Handle the case where preroll fails in basesink.
20019 2005-07-06 Wim Taymans <wim@fluendo.com>
20021 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
20022 Implement the fixate function.
20023 Clean up acceptcaps.
20025 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20027 * docs/pwg/building-filterfactory.xml:
20028 * docs/pwg/pwg.xml:
20029 Remove never-written filter-factory chapter; I'll add the various
20030 base classes to part 4 ("other element types") later on.
20032 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20034 * docs/pwg/advanced-negotiation.xml:
20035 * docs/pwg/building-boiler.xml:
20036 * docs/pwg/building-pads.xml:
20037 * docs/pwg/pwg.xml:
20038 * examples/pwg/Makefile.am:
20039 Add a chapter on caps negotiation, simplify the original code
20040 samples a bit w.r.t. caps negotiation, add link to the advanced
20041 section. Add a bunch of examples showing different use cases of
20042 different types of caps negotiation. Upstream renegotiation isn't
20043 fully documented yet since nobody knows how that works.
20045 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
20047 * check/gst/gstpad.c:
20048 * check/gstcheck.c:
20049 * gst/gstpad.c: (gst_pad_get_internal_links_default):
20050 if pad has no parent, return NULL as list of internal links
20052 2005-07-05 Andy Wingo <wingo@pobox.com>
20054 * gst/elements/gstfilesrc.c:
20055 * gst/elements/gstfakesrc.c:
20056 * gst/base/gstpushsrc.c:
20057 * gst/base/gstbasesrc.h:
20058 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
20060 2005-07-05 Stefan Kost <ensonic@users.sf.net>
20063 better report generation target (lcov needs a patch)
20065 2005-07-05 Andy Wingo <wingo@pobox.com>
20067 * gst/elements, testsuite: Null if we got it...
20069 2005-07-05 Wim Taymans <wim@fluendo.com>
20072 * libs/gst/dataprotocol/Makefile.am:
20073 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
20074 * libs/gst/dataprotocol/dataprotocol.h:
20075 * pkgconfig/Makefile.am:
20076 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
20077 * pkgconfig/gstreamer-dataprotocol.pc.in:
20078 Ported dataprotol to 0.9.
20079 Added pkgconfig files.
20081 2005-07-05 Andy Wingo <wingo@pobox.com>
20083 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
20084 Default to returning TRUE for the case when tranform_caps returns
20085 a fixed caps, like for identity or volume.
20087 * check/gst/gstbus.c (pound_bus_with_messages):
20088 * check/gst/gstmessage.c (START_TEST):
20089 * check/pipelines/simple_launch_lines.c (got_handoff): Application
20090 message API change.
20092 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
20093 logic weaks here: always run transform_caps, trying passthrough
20094 operation only if the original caps intersects with the transform.
20096 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
20097 source and sink caps.
20099 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
20100 Intersect the peer caps with the pad template before going into
20102 (gst_base_transform_transform_caps): More debugging.
20104 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
20107 2005-07-04 Edward Hervey <edward@fluendo.com>
20111 (gst_pad_add_*_probe): now returns the signal id for better wrapping
20114 2005-07-04 Andy Wingo <wingo@pobox.com>
20116 * check/gst/gstpad.c: Only set explicit caps on pads.
20118 2005-07-01 Andy Wingo <wingo@pobox.com>
20120 * tests/network-clock.scm: Commentary update.
20122 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
20123 Didn't really make sense, not implementable with basetransform,
20125 (gst_identity_transform): Unref inbuf via make_writable. Feeble
20126 attempt at implementing the sync property, needs an unlock method.
20128 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
20129 New func, by default returns the same caps (the identity
20131 (gst_base_transform_getcaps): Uses transform_caps to return
20132 something sensible.
20133 (gst_base_transform_setcaps): Complicated logic to get caps on
20134 both pads, even if they are different, and to call set_caps once
20135 for every time both pads get their caps set.
20136 (gst_base_transform_handle_buffer): Give the ref to the transform
20137 function. Allows in-place modification of the buffer.
20139 * gst/base/gstbasetransform.h (transform_caps): New class method.
20140 Given caps on one side, what can I do on the other.
20141 (set_caps): Take two caps, one for each side of the element.
20144 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
20145 caps in place. This is safe because we can check the mutability of
20146 the caps, and a good idea because fixate functions are just called
20147 as a matter of last resort. (Not actually implemented.)
20148 (gst_pad_set_caps): If the caps we're setting is actually the same
20149 as the existing pad caps, just update the pointer without calling
20150 setcaps. Assert that caps is either NULL or fixed, as per the
20153 * gst/gstghostpad.c: Update for fixate changes.
20155 2005-07-02 Andy Wingo <wingo@pobox.com>
20158 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
20159 two refcounts makes it immutable, which is enough. Doc more.
20161 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
20163 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
20164 Put the mini_object into GValue as a mini_object,
20165 not a gpointer, since that's how we declared
20168 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20170 * examples/pwg/Makefile.am:
20171 Fix buildbot again.
20173 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20175 * docs/pwg/building-testapp.xml:
20177 * examples/pwg/Makefile.am:
20180 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20183 * examples/Makefile.am:
20184 * examples/pwg/Makefile.am:
20185 * examples/pwg/extract.pl:
20186 Enable building the PWG examples.
20187 * docs/pwg/advanced-interfaces.xml:
20188 Add URI interface stub.
20189 * docs/pwg/advanced-types.xml:
20190 * docs/pwg/other-autoplugger.xml:
20191 * docs/pwg/appendix-porting.xml:
20192 * docs/pwg/pwg.xml:
20193 Add porting guide (mostly stubs), remove autoplugging (see ADM).
20194 * docs/pwg/building-boiler.xml:
20195 * docs/pwg/building-chainfn.xml:
20196 * docs/pwg/building-pads.xml:
20197 * docs/pwg/building-props.xml:
20198 * docs/pwg/building-state.xml:
20199 * docs/pwg/building-testapp.xml:
20200 Update the building-*.xml parts for 0.9 changes. All examples
20201 code blocks compile in examples/pwg/*.
20203 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20205 * docs/manual/advanced-autoplugging.xml:
20206 * docs/manual/appendix-checklist.xml:
20207 * docs/manual/appendix-integration.xml:
20208 * docs/manual/highlevel-components.xml:
20209 Fix playbin/decodebin examples, update docs a bit, mention bus
20210 instead of signals in various places, mention kmplayer and
20211 kaffeine since they have a working GStreamer backend in the KDE
20214 2005-06-30 Wim Taymans <wim@fluendo.com>
20217 * docs/design/draft-ghostpads.txt:
20218 * docs/design/draft-push-pull.txt:
20219 * docs/design/draft-query.txt:
20220 * docs/design/part-TODO.txt:
20221 * docs/design/part-query.txt:
20222 Added CHANGES-0.9 doc, updated status of other docs.
20227 2005-06-30 Wim Taymans <wim@fluendo.com>
20229 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20230 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20231 (gst_base_sink_change_state):
20232 * gst/base/gstbasesink.h:
20233 Some tweaks, only EOS and a buffer complete a preroll.
20235 2005-06-30 Andy Wingo <wingo@pobox.com>
20237 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
20238 activate_push down to the internal pad as well.
20240 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
20242 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20244 * gst/gsttaginterface.c:
20245 Some documentation fixes (#307394 and #307397).
20247 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
20249 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20251 * gst/gstvalue.c: (gst_value_intersect_list):
20252 Fix memleak (#309125).
20254 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20256 * docs/manual/advanced-dataaccess.xml:
20257 Fix fakesrc example to compile; doesn't work, bug somewhere...?
20258 * docs/manual/basics-pads.xml:
20259 Add reference for filtered caps to above chapter.
20261 2005-06-30 Wim Taymans <wim@fluendo.com>
20263 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
20264 (gst_bin_change_state):
20266 Lame attempt at making the state change function a bit
20269 2005-06-30 Wim Taymans <wim@fluendo.com>
20271 * docs/design/part-clocks.txt:
20272 * docs/design/part-element-sink.txt:
20273 * docs/design/part-events.txt:
20274 * docs/design/part-preroll.txt:
20275 * docs/design/part-states.txt:
20276 Some more tweeks and additions to the docs.
20278 2005-06-30 Wim Taymans <wim@fluendo.com>
20280 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20281 (default_have_data), (gst_pad_class_init), (gst_pad_init),
20282 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20283 (gst_pad_check_pull_range), (gst_pad_get_range),
20284 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
20286 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
20287 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20288 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20289 (gst_pad_remove_buffer_probe):
20290 Removed atomic operations, use existing LOCK.
20291 Move exception handling out of main code path.
20293 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20295 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20296 (silly_return_true_function), (gst_pad_class_init),
20297 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20298 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
20299 (gst_pad_send_event):
20300 Fix accumulator, add default value by using _emitv() instead
20301 of _emit() for signal emission.
20303 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20305 * docs/manual/advanced-dataaccess.xml:
20306 * examples/manual/Makefile.am:
20308 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
20311 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
20313 * gst/elements/gstfilesink.c: (gst_filesink_render):
20314 Simplify code so that we don't have to handle short
20315 writes and return GST_FLOW_ERROR if an error occured.
20317 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20319 * docs/gst/gstreamer-docs.sgml:
20320 Remove probes more.
20322 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20324 * docs/gst/gstreamer-sections.txt:
20325 * docs/gst/tmpl/gstpad.sgml:
20326 * docs/gst/tmpl/gstprobe.sgml:
20328 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20329 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
20330 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20331 (gst_pad_push_event), (gst_pad_send_event):
20333 * gst/gstutils.c: (gst_pad_add_data_probe),
20334 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20335 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20336 (gst_pad_remove_buffer_probe):
20338 Remove old probes, add new g-signal-based probes and some utility
20341 2005-06-29 Edward Hervey <edward@fluendo.com>
20343 * gst/gstelementfactory.c:
20346 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
20347 the definition to the header file.
20349 2005-06-29 Andy Wingo <wingo@pobox.com>
20351 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
20352 plugins from the source directory.
20354 2005-06-29 Wim Taymans <wim@fluendo.com>
20356 * docs/gst/tmpl/gstbuffer.sgml:
20357 * docs/gst/tmpl/gstclock.sgml:
20358 Some fixings for blantently wrong text.
20360 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
20362 * check/Makefile.am:
20363 * gst/gst.c: (add_path_func), (init_pre):
20364 * gst/gstregistry.c: (gst_registry_add_path):
20365 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
20366 only scan the GST_PLUGIN_PATH locations, and not add
20369 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
20371 * docs/gst/gstreamer-sections.txt:
20372 * docs/gst/tmpl/gstbasesrc.sgml:
20373 * gst/gstelement.c:
20374 * gst/gstelement.h:
20379 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20381 * docs/manual/advanced-autoplugging.xml:
20382 Fix autoplugging example.
20384 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20386 * docs/manual/advanced-autoplugging.xml:
20387 * docs/manual/mime-world.fig:
20388 Try to get autoplugging working, fix type detection. Fix text
20389 in hello-world image.
20391 2005-06-29 Wim Taymans <wim@fluendo.com>
20393 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20394 (gst_base_sink_change_state):
20398 map SIGNAL and BROADCAST to the right function.
20401 Remove redundant braces.
20403 * gst/gstpad.c: (gst_pad_set_caps):
20404 Don't call setcaps function when reseting caps to NULL.
20406 * gst/gstsystemclock.c: (gst_system_clock_dispose),
20407 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
20408 (gst_system_clock_id_unschedule):
20409 Use BROADCAST as this is what we do.
20411 2005-06-29 Wim Taymans <wim@fluendo.com>
20413 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20414 We are actually prerolling before commiting the state
20417 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20419 * docs/manual/advanced-clocks.xml:
20420 * docs/manual/advanced-interfaces.xml:
20421 * docs/manual/advanced-metadata.xml:
20422 * docs/manual/advanced-position.xml:
20423 * docs/manual/advanced-schedulers.xml:
20424 * docs/manual/advanced-threads.xml:
20425 * docs/manual/appendix-porting.xml:
20426 * docs/manual/basics-bins.xml:
20427 * docs/manual/basics-bus.xml:
20428 * docs/manual/basics-elements.xml:
20429 * docs/manual/basics-helloworld.xml:
20430 * docs/manual/basics-pads.xml:
20431 * docs/manual/highlevel-components.xml:
20432 * docs/manual/manual.xml:
20433 * docs/manual/thread.fig:
20434 Update (until threads/scheduling) Application Development Manual;
20435 remove GstThread, add GstBus, add simple porting checklist, add
20436 documentation for tag writing, clocks, make all examples until this
20437 part compile and run.
20438 * examples/manual/Makefile.am:
20439 Update from changes to Application Development Manual; add bus
20440 example, remove thread example.
20442 2005-06-28 Wim Taymans <wim@fluendo.com>
20444 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
20445 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
20446 (gst_bus_source_dispatch):
20447 Add debugging messages.
20448 Make internal methods static.
20449 Handle the case where the bus is flushed in the handler.
20451 * gst/gstelement.c: (gst_element_get_bus):
20452 Fix refcount in _get_bus();
20454 * gst/gstpipeline.c: (gst_pipeline_change_state),
20455 (gst_pipeline_get_clock_func):
20456 Clock refcounting fixes.
20457 Handle the case where preroll timed out more gracefully.
20459 * gst/gstsystemclock.c: (gst_system_clock_dispose):
20460 Clean up the internal thread in dispose. This is needed
20461 for subclasses that actually get disposed.
20463 * gst/schedulers/threadscheduler.c:
20464 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
20465 (gst_thread_scheduler_dispose):
20466 Free thread pool in dispose.
20468 2005-06-28 Andy Wingo <wingo@pobox.com>
20470 * tests/network-clock-utils.scm (debug, print-event): New utils.
20472 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
20473 (*packet-loss*): Unified loss probability.
20474 (network-time): Report out-of-band events.
20476 * tests/plot-data: Add support for out-of-band events. Hack it
20477 into this script instead of passing it down the pipe; should fix
20480 2005-06-28 Wim Taymans <wim@fluendo.com>
20482 * docs/gst/gstreamer.types:
20483 * docs/gst/tmpl/gstbasesrc.sgml:
20484 * docs/gst/tmpl/gstpad.sgml:
20487 2005-06-28 Wim Taymans <wim@fluendo.com>
20489 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20490 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
20491 (gst_proxy_pad_do_fixatecaps):
20492 Correctly proxy the check_pull_range function.
20494 2005-06-28 Andy Wingo <wingo@pobox.com>
20496 * tests/network-clock.scm: Removed need for slib.
20498 2005-06-28 Wim Taymans <wim@fluendo.com>
20500 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
20501 (gst_basesink_preroll_queue_flush):
20502 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
20503 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
20504 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20505 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20506 (gst_proxy_pad_set_property):
20509 * gst/gstqueue.c: (gst_queue_init):
20510 The deprecated pad loop function is removed now.
20512 2005-06-28 Andy Wingo <wingo@pobox.com>
20514 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
20515 New parameters, simulate network packet loss.
20517 * tests/network-clock-utils.scm: Initialize the RNG.
20519 2005-06-28 Wim Taymans <wim@fluendo.com>
20521 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
20522 (gst_basesink_event), (gst_basesink_deactivate):
20523 Flushing the preroll queue always needs to unlock the waiters.
20525 2005-06-28 Edward Hervey <edward@fluendo.com>
20527 * gst/gstpipeline.c: (gst_pipeline_send_event):
20528 Wheen a seek was successful on a pipeline, set the stream_time to the
20529 seek offset in order to have a synchronized stream_time.
20531 2005-06-28 Wim Taymans <wim@fluendo.com>
20533 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20534 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
20535 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
20536 (gst_proxy_pad_do_fixatecaps):
20537 Call wrapper function instead of just calling the function
20538 pointers. This takes care of any locking and whatmore.
20540 2005-06-28 Wim Taymans <wim@fluendo.com>
20542 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
20543 (gst_pad_pull_range):
20545 CONNECTED -> LINKED.
20547 2005-06-28 Andy Wingo <wingo@pobox.com>
20549 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
20550 source-munging commit!!!
20552 * gst/gstobject.c (gst_object_unref, gst_object_ref)
20553 (gst_object_sink): Take gpointer arguments, not GstObject --
20554 avoids casts. Like GLib.
20556 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
20559 2005-06-27 Andy Wingo <wingo@pobox.com>
20561 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
20564 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
20565 returns a sorted copy of the trace list.
20566 (gst_alloc_trace_print_live): New API, only prints traces with
20567 live objects. Sort the list.
20568 (gst_alloc_trace_print_all): Sort the list.
20569 (gst_alloc_trace_print): Align columns.
20571 * gst/elements/gstttypefindelement.c:
20572 * gst/elements/gsttee.c:
20573 * gst/base/gstbasesrc.c:
20574 * gst/base/gstbasesink.c:
20575 * gst/base/gstbasetransform.c:
20576 * gst/gstqueue.c: Adapt for pad activation changes.
20578 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
20580 (gst_pipeline_dispose): Drop ref on sched.
20582 * gst/gstpad.c (gst_pad_init): Set the default activate func.
20583 (gst_pad_activate_default): Push mode by default.
20584 (pre_activate_switch, post_activate_switch): New stubs, things to
20585 do before and after switching activation modes on pads.
20586 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
20587 the pad's activate function to choose which mode to activate.
20588 Shortcut on deactivation and call the right function directly.
20589 (gst_pad_activate_pull): New API, (de)activates a pad in pull
20591 (gst_pad_activate_push): New API, same for push mode.
20592 (gst_pad_set_activate_function)
20593 (gst_pad_set_activatepull_function)
20594 (gst_pad_set_activatepush_function): Setters for new API.
20596 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
20597 Trace all miniobjects.
20598 (gst_mini_object_make_writable): Unref the arg if we copy, like
20599 gst_caps_make_writable.
20601 * gst/gstmessage.c (_gst_message_initialize): No trace init.
20603 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
20604 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
20605 Adapt for new pad API.
20607 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
20609 * gst/gstelement.h:
20610 * gst/gstelement.c (gst_element_iterate_src_pads)
20611 (gst_element_iterate_sink_pads): New API functions.
20613 * gst/gstelement.c (iterator_fold_with_resync): New utility,
20614 should fold into gstiterator.c in some form.
20615 (gst_element_pads_activate): Simplified via use of fold and
20616 delegation of decisions to gstpad->activate.
20618 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
20621 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
20622 class once in init, like gstmessage. Didn't run into this issue
20623 but it seems correct. Don't initialize a trace, gstminiobject does
20626 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
20627 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
20629 (assert_live_count): New util function, uses alloc traces to check
20632 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20633 To be modified when unlink drops the internal pad.
20635 2005-06-27 Wim Taymans <wim@fluendo.com>
20637 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20638 (gst_bin_change_state):
20639 Cleanup the get_state() function a little, make sure it
20640 iterates the same set of elements.
20641 Added stub iterate_state_order().
20643 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
20645 * docs/gst/gstreamer-docs.sgml:
20646 * docs/gst/gstreamer-sections.txt:
20647 * docs/gst/gstreamer.types:
20648 * docs/gst/tmpl/gstbasesink.sgml:
20649 * docs/gst/tmpl/gstbasesrc.sgml:
20650 * docs/gst/tmpl/gstbasetransform.sgml:
20651 * docs/gst/tmpl/gstelement.sgml:
20652 * docs/gst/tmpl/gstiterator.sgml:
20653 * gst/base/gstbasesrc.c:
20654 * gst/base/gstbasesrc.h:
20655 * gst/base/gstbasetransform.h:
20656 * gst/gstelement.c:
20657 * gst/gstiterator.h:
20658 adding basetransform and iterator docs
20660 2005-06-27 Andy Wingo <wingo@pobox.com>
20662 * docs/design/part-activation.txt: Notes on how activation should
20663 work -- not quite implemented yet.
20665 2005-06-25 Wim Taymans <wim@fluendo.com>
20667 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20668 At least get the chain function correct, needs more
20671 2005-06-25 Wim Taymans <wim@fluendo.com>
20673 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20674 (gst_basesink_handle_object), (gst_basesink_event),
20675 (gst_basesink_do_sync), (gst_basesink_handle_event),
20676 (gst_basesink_change_state):
20678 Right, two problems here: ghostpads don't take locks and
20679 glib _rec_mutex_lock_full() with depth==0 still locks.
20680 Catch illegal locking and g_warn them.
20682 2005-06-25 Wim Taymans <wim@fluendo.com>
20684 * check/states/sinks.c: (START_TEST), (gst_object_suite):
20685 Have to check for completion now...
20687 2005-06-25 Wim Taymans <wim@fluendo.com>
20689 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20690 (gst_basesink_handle_object), (gst_basesink_event),
20691 (gst_basesink_do_sync), (gst_basesink_handle_event),
20692 (gst_basesink_change_state):
20694 Unlock STREAM_LOCK whatever the recursion was.
20696 2005-06-25 Wim Taymans <wim@fluendo.com>
20698 * gst/base/gstbasesink.c: (gst_basesink_set_property),
20699 (gst_basesink_preroll_queue_empty),
20700 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20701 (gst_basesink_event), (gst_basesink_do_sync),
20702 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20703 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20704 (gst_basesink_change_state):
20705 Reworked the base sink, handle event and buffer serialisation
20706 correctly and removed possible deadlock.
20707 Handle EOS correctly.
20709 2005-06-25 Wim Taymans <wim@fluendo.com>
20711 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20712 (gst_pipeline_change_state):
20713 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20714 Allow elements to post EOS in the state change function.
20715 Fix up -launch, make it exit the poll loop when the
20716 pipeline actually changed state.
20717 Fix up warning parsing in -launch.
20719 2005-06-25 Wim Taymans <wim@fluendo.com>
20721 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20722 (gst_tee_sink_activate):
20723 Core takes STREAM_LOCK for us now.
20725 2005-06-25 Wim Taymans <wim@fluendo.com>
20727 * gst/gstelement.c: (gst_element_get_state_func),
20728 (gst_element_set_state):
20729 * gst/gstelement.h:
20730 * gst/gstmessage.c: (gst_message_parse_error),
20731 (gst_message_parse_warning):
20732 Keep track of current target state while performing a state
20733 change so that subclasses can do something interesting.
20734 Fix parsing of warning/error messages when GError is NULL.
20736 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
20738 * docs/gst/Makefile.am:
20739 * docs/gst/gstreamer-docs.sgml:
20740 * docs/gst/gstreamer-sections.txt:
20741 * docs/gst/gstreamer.types:
20742 * docs/gst/tmpl/gstbasesink.sgml:
20743 * docs/gst/tmpl/gstbasesrc.sgml:
20744 * docs/gst/tmpl/gstbin.sgml:
20745 * docs/gst/tmpl/gstcompat.sgml:
20746 * docs/gst/tmpl/gstfakesink.sgml:
20747 * docs/gst/tmpl/gstfakesrc.sgml:
20748 * docs/gst/tmpl/gstfilesink.sgml:
20749 * docs/gst/tmpl/gstfilesrc.sgml:
20750 * docs/gst/tmpl/gstindex.sgml:
20751 * docs/manual/appendix-quotes.xml:
20752 * gst/base/gstbasesrc.h:
20753 * gst/elements/gstfakesrc.h:
20754 * gst/gstmessage.h:
20755 start pulling in base classes and elements in our docs
20757 2005-06-24 Stefan Kost <ensonic@users.sf.net>
20759 * docs/gst/Makefile.am:
20760 * docs/libs/Makefile.am:
20761 fixed make distcheck with gtk-doc 1.3
20763 2005-06-23 Wim Taymans <wim@fluendo.com>
20765 * gst/gstelement.c: (gst_element_get_state_func),
20766 (gst_element_set_state), (gst_element_change_state):
20767 When the state did not change, also report NO_PREROLL
20770 2005-06-23 Wim Taymans <wim@fluendo.com>
20772 * gst/gstpad.c: (gst_pad_event_default):
20773 * gst/gstqueue.c: (gst_queue_loop):
20774 No unsafe task pausing please.
20776 2005-06-23 Wim Taymans <wim@fluendo.com>
20778 * gst/schedulers/threadscheduler.c:
20779 (gst_thread_scheduler_task_start),
20780 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20781 Ref the task before pushing it on the threadpool. This
20782 makes sure that we have a ref when the threadfunction is
20785 2005-06-23 Andy Wingo <wingo@pobox.com>
20787 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20788 offset is greater than the file's size.
20790 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
20791 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20792 * gst/gstobject.c (gst_object_class_init): Make the class lock
20793 recursive. Wim won't let me drop deep_notify. Decodebin works
20794 again, whoopdy doo.
20796 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20797 internal pad, and hacks accordingly. Doesn't do it on the target
20798 pad because we change its caps. Probably catches all cases of
20800 (gst_ghost_pad_set_property): Connect to notify::caps as
20803 * tests/network-clock.scm (plot-simulation): Pipe data to the
20804 elite python skript.
20806 * tests/network-clock-utils.scm (define-parameter): New macro,
20807 defines a parameter that can be set via the command line.
20808 (set-parameter!, parse-parameter-arguments): Command line args
20811 * tests/plot-data: Simple matplotlib-based plotter, takes input on
20814 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
20816 * gst/elements/gsttypefindelement.c:
20817 (gst_type_find_element_handle_event):
20818 Don't restart typefinding on a discont.
20819 * gst/gstelement.c: (gst_element_set_state):
20820 Debug spelling fix.
20821 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20822 Allow changing mode of an active pad.
20823 Debug output fixes.
20824 * gst/registries/gstlibxmlregistry.c: (load_feature):
20825 Don't cast a static pad template to a normal pad template.
20827 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
20829 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20830 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20831 remove gst_strtoll completely, since it didn't actually do
20832 anything more than what g_ascii_strtoull already does.
20833 check for range errors when deserializing
20834 do a cast for the unsigned cases; but further fixing needs
20835 a decision on what the interpretation of "(int)" and
20836 deserialization should be for values that fall outside the
20837 type's boundaries (ie, refuse, or interpret as casting)
20839 2005-06-23 Wim Taymans <wim@fluendo.com>
20841 * check/Makefile.am:
20842 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20843 * docs/design/part-live-source.txt:
20844 * docs/design/part-states.txt:
20845 * gst/base/gstbasesrc.c: (gst_basesrc_init),
20846 (gst_basesrc_set_live), (gst_basesrc_is_live),
20847 (gst_basesrc_get_range), (gst_basesrc_activate),
20848 (gst_basesrc_change_state):
20849 * gst/base/gstbasesrc.h:
20850 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20851 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20852 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20853 * gst/gstelement.c: (gst_element_get_state_func),
20854 (gst_element_set_state):
20855 * gst/gstelement.h:
20857 * tools/gst-launch.c: (event_loop), (main):
20858 Added support for live sources and other elements that
20860 Updated design docs, added live-source design doc.
20861 Implemented live source functionality in basesrc
20862 Fix error condition in _bin_get_state()
20863 Implement live source handling in -launch.
20864 Added check for live sources.
20865 Fixed case in GstBin where elements were changed state
20869 2005-06-23 Andy Wingo <wingo@pobox.com>
20871 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20872 borken refcounting.
20874 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20875 gst_caps_replace takes care of this for us.
20877 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20878 gst_pad_set_caps on the target, not just its setcaps() function.
20880 * tests/network-clock.scm:
20881 * tests/network-clock-utils.scm: A network clock simulator.
20882 Something of an algorithmic testbed before doing something in C.
20884 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20886 * check/Makefile.am:
20887 * check/gst/capslist.h:
20888 copy over from 0.8, and add two with bitmasks specified with
20890 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20891 add test to parse everything from capslist.h
20892 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20894 add test for structure deserialization
20895 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20896 add tests for deserialization of strings to int types
20897 * gst/gststructure.c: (gst_structure_nth_field_name):
20898 * gst/gststructure.h:
20899 add a way to get the name of a field referenced by index
20900 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20901 instead of checking if the resulting long long lies between
20902 min and max, we check if the long long would fit into
20903 a number of bytes for the final type.
20904 This fixes cases where a string represents 2^32 - 1, which
20905 when cast to int would be the (valid) -1, but is bigger than
20908 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20910 * gst/parse/grammar.y:
20911 add a log line for type deserialization
20913 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20915 * check/gst/gstvalue.c: (START_TEST):
20916 * gst/gstvalue.c: (gst_value_deserialize):
20917 return long long, not int, so gint64 deserialization actually
20918 works. Is there any flag that makes the compiler check this ?
20921 2005-06-22 Wim Taymans <wim@fluendo.com>
20924 Added convenience macros for setting buffers in GValue.
20926 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20928 * check/gst/.cvsignore:
20929 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20930 add a test deserializing int64, and comment part out because
20933 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20935 * check/Makefile.am:
20936 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20937 * testsuite/Makefile.am:
20938 * testsuite/caps/Makefile.am:
20939 * testsuite/caps/value_serialize.c:
20940 * testsuite/test_gst_init.c:
20941 move a value_serialize test over
20943 2005-06-20 Wim Taymans <wim@fluendo.com>
20948 * gst/gstvalue.c: (gst_value_compare_buffer),
20949 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20950 (gst_value_compare_flags), (gst_value_serialize_flags),
20951 (gst_value_deserialize_flags), (_gst_value_initialize):
20952 Fix serialisation of buffers, they are not boxed types anymore
20954 2005-06-20 Wim Taymans <wim@fluendo.com>
20956 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20957 Testcase to show error in buffer-on-caps serialisation.
20959 2005-06-20 Andy Wingo <wingo@pobox.com>
20961 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20962 will be adding to later.
20964 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20965 if its socks fill with rocks.
20966 (gst_system_clock_obtain): Set the name on object construction.
20967 Avoid double-checked locking.
20969 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
20971 * gst/gsturi.c: (gst_element_make_from_uri):
20972 Fix potential endless loop.
20974 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20976 * check/Makefile.am:
20978 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20980 move over from testsuite dir and clean up
20983 * testsuite/Makefile.am:
20984 * testsuite/tags/.cvsignore:
20985 * testsuite/tags/Makefile.am:
20986 * testsuite/tags/merge.c:
20987 remove testsuite/tags
20989 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20991 * docs/gst/gstreamer-sections.txt:
20992 * docs/gst/tmpl/gstenumtypes.sgml:
20993 * win32/gstenumtypes.c:
20994 clean up documentation build a little
20996 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20998 * check/gstcheck.h:
20999 add macros for checking refcounts on objects and caps
21000 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
21001 add some more unit tests
21002 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21003 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
21004 fix leaked refcounts (I hope :)) so unittest works
21008 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
21010 * configure.ac: back to HEAD
21012 === release 0.9.1 ===
21014 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
21020 2005-06-17 Andy Wingo <wingo@pobox.com>
21022 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
21023 assert; it's always possible that the pad gets deactivated in
21024 between the checks in gstpad.c and the implementation. Rely on
21025 finish_preroll() to return a FLUSHING or similar instead of on the
21028 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
21029 clock and post an EOS message if we come out of finish_preroll in
21032 2005-06-16 David Schleef <ds@schleef.org>
21034 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21035 (gst_capsfilter_set_property): Allow NULL as possible value
21036 for filter_caps property, indicating GST_CAPS_ANY.
21038 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
21040 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
21042 * gst/schedulers/Makefile.am:
21044 * gstreamer.spec.in:
21047 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
21049 * gstreamer.spec.in:
21052 2005-06-08 Andy Wingo <wingo@pobox.com>
21054 * gst/gstutils.c: RPAD fixes all around.
21055 (gst_element_link_pads): Refcounting fixes.
21057 * tools/gst-inspect.c:
21058 * tools/gst-xmlinspect.c:
21060 * gst/base/gsttypefindhelper.c:
21061 * gst/base/gstbasesink.c:
21062 * gst/gstqueue.c: RPAD fixes.
21064 * gst/gstghostpad.h:
21065 * gst/gstghostpad.c: New ghost pad implementation as full proxy
21066 pads. The tricky thing is they provide both source and sink
21067 interfaces, since they proxy the internal pad for the external
21068 pad, and vice versa. Implement with lower-level ProxyPad objects,
21069 with the interior proxy pad as a child of the exterior ghost pad.
21070 Should write a doc on this.
21072 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
21073 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
21076 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
21077 pads are real pads. No ghost pads in this file. Not documenting
21078 the myriad s/RPAD/PAD/ and REALIZE fixes.
21079 (gst_pad_class_init): Add properties for "direction" and
21080 "template". Both are construct-only, so they can't change during
21081 the life of the pad. Fixes properly deriving from GstPad.
21082 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
21083 derived objects, just set properties when creating the objects via
21085 (gst_pad_get_parent): Implement as a function, return NULL if the
21086 parent is not an element.
21087 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
21088 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
21090 * gst/gstobject.c (gst_object_class_init): Make name a construct
21091 property. Don't set it in the object init.
21093 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
21094 with UNKNOWN direction.
21095 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
21096 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
21097 (gst_element_remove_pad): Remove ghost-pad special cases.
21098 (gst_element_pads_activate): Remove rpad cruft.
21100 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
21101 catch the pad's-parent-not-an-element case.
21103 * gst/gst.h: Include gstghostpad.h.
21105 * gst/gst.c (init_post): No more real, ghost pads.
21107 * gst/Makefile.am: Add gstghostpad.[ch].
21109 * check/Makefile.am:
21110 * check/gst/gstbin.c:
21111 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
21112 into a bin creates ghost pads, and that the refcounts are right.
21113 Partly moved from gstbin.c.
21115 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
21117 * check/gst-libs/.cvsignore:
21118 * check/gst/.cvsignore:
21119 * check/pipelines/.cvsignore:
21121 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
21122 (START_TEST), (cleanup_suite), (main):
21123 add some tests related to cleanup after running pipelines
21125 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
21127 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
21128 add a testsuite for GstBuffer
21130 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
21132 * gst/gstminiobject.h:
21133 add defines for accessing the refcount
21135 2005-06-03 Stefan Kost <ensonic@users.sf.net>
21137 * Makefile.am: added support for html unit test coverage reports
21139 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
21141 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21142 Free existing caps if the capsfilter changes. Add a FIXME about
21143 setting those caps on the pads.
21145 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
21146 Before adding a ghost pad to a parent bin, check that there isn't
21147 already one for the element on the bin. Prevents infinite recursion
21148 when using decodebin in parse pipelines. Andy says he'll rewrite the
21149 way this works anyway, so ignore the hack.
21151 2005-06-02 Andy Wingo <wingo@pobox.com>
21153 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
21154 file size, pass it on to the type find helper.
21156 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
21157 segment_start and segment_end properly according to the seek
21158 method. Segment_end is still a bit flaky because offset can be
21159 negative for CUR and END cases, but it takes -1 as an "unset"
21162 2005-06-02 Wim Taymans <wim@fluendo.com>
21164 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
21165 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
21166 (gst_basesink_activate):
21167 * gst/base/gstbasesink.h:
21168 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21169 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
21170 (gst_pad_query), (gst_pad_start_task):
21172 * gst/gstqueue.c: (gst_queue_bufferalloc),
21173 (gst_queue_handle_sink_event), (gst_queue_chain):
21174 Bufferalloc: return GstFlowReturn to more accuratly report
21175 why allocation failed.
21177 2005-06-02 Wim Taymans <wim@fluendo.com>
21179 * gst/gstpipeline.c: (gst_pipeline_send_event):
21180 Take snapshot of state without blocking.
21182 2005-06-02 Wim Taymans <wim@fluendo.com>
21184 * docs/design/part-TODO.txt:
21185 * docs/design/part-caps.txt:
21186 * docs/design/part-clocks.txt:
21187 * docs/design/part-negotiation.txt:
21188 * docs/design/part-preroll.txt:
21191 2005-05-30 Wim Taymans <wim@fluendo.com>
21193 * gst/elements/gstidentity.c: (gst_identity_event),
21194 (gst_identity_transform), (gst_identity_get_property):
21195 Protect last_message property as it is accessed from
21198 2005-05-30 Wim Taymans <wim@fluendo.com>
21200 * gst/gstelement.c: (gst_element_init),
21201 (gst_element_pads_activate), (gst_element_change_state):
21202 Slicker pad activation code.
21204 2005-05-30 Wim Taymans <wim@fluendo.com>
21207 * gst/gstelement.h:
21208 * gst/gstelementfactory.h:
21210 Move elementfactory methods to separate .h file.
21212 2005-05-30 Wim Taymans <wim@fluendo.com>
21214 * docs/design/part-overview.txt:
21215 * gst/gstsystemclock.h:
21216 Small typo fixes, doc updates.
21218 2005-05-30 Wim Taymans <wim@fluendo.com>
21220 * gst/gst.c: (gst_init_get_popt_table), (init_post),
21221 (init_popt_callback):
21222 Remove cpu-opt flag.
21224 2005-05-30 Wim Taymans <wim@fluendo.com>
21226 * gst/gstbuffer.c: (gst_subbuffer_finalize),
21227 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
21229 Avoid typechecking in places where not needed.
21230 Added accessor for malloc_data.
21232 2005-05-30 Wim Taymans <wim@fluendo.com>
21234 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
21235 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
21236 (gst_pad_configure_sink), (gst_pad_configure_src),
21237 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
21238 (gst_pad_start_task):
21239 Propagate errors from _set_caps() in configure_src/sink
21240 functions instead of returning TRUE.
21241 FLUSH events can travel up and downstream
21244 2005-05-30 Wim Taymans <wim@fluendo.com>
21246 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21247 (gst_basesink_activate):
21248 Handle EOS in preroll.
21250 2005-05-30 Wim Taymans <wim@fluendo.com>
21252 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21253 (gst_queue_loop), (gst_queue_handle_src_event):
21254 Remove old pieces of code
21255 Flushing the queue in an upstream event is a very bad idea.
21257 2005-05-26 Andy Wingo <wingo@pobox.com>
21259 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
21260 gst_value_set_mini_object so as to add a ref on the object (which
21261 will be removed when the value is unset).
21263 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
21264 arg type in ::handoff.
21266 * gst/gstelement.c (gst_element_change_state): Also deactivate
21267 pads in READY->NULL, just in case the element didn't make it to
21268 PAUSED. Wingo tested, Wim approved.
21270 2005-05-26 Wim Taymans <wim@fluendo.com>
21272 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21273 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
21274 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
21275 A flushing pad cannot be used to alloc_buffer from.
21277 2005-05-26 Wim Taymans <wim@fluendo.com>
21279 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
21280 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
21281 (gst_bus_source_dispatch), (gst_bus_source_finalize),
21282 (gst_bus_create_watch), (gst_bus_add_watch_full):
21284 Implement a real GSource and use g_main_context_wakeup() to
21285 signal new messages instead of the socketpair.
21287 2005-05-25 Wim Taymans <wim@fluendo.com>
21289 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
21290 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
21291 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21292 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21293 (gst_pad_send_event), (gst_pad_start_task):
21294 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
21295 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21296 (gst_queue_sink_activate), (gst_queue_src_activate),
21297 (gst_queue_change_state):
21299 Fix state changes for non sinks. We now change sinks, then elements
21300 with unconnected srcpads, then the rest.
21301 More efficient queue unlocking in flush and state changes.
21302 Set the pad activate mode even if it does not have an activate
21305 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21307 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
21308 Don't go in pull mode for non-seekable sources.
21309 * gst/elements/gsttypefindelement.h:
21310 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21311 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
21312 (free_entry), (stop_typefinding),
21313 (gst_type_find_element_handle_event), (find_peek),
21314 (gst_type_find_element_chain), (do_pull_typefind),
21315 (gst_type_find_element_change_state):
21316 Allow typefinding (w/o seeking) in push-mode, simplified version
21317 of what was in 0.8.
21318 * gst/gstutils.c: (gst_buffer_join):
21320 gst_buffer_join() from 0.8.
21322 2005-05-25 Wim Taymans <wim@fluendo.com>
21324 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21325 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21326 (gst_pad_send_event), (gst_pad_start_task):
21327 Disable attempt at mode switching until it is figured out.
21329 2005-05-25 Wim Taymans <wim@fluendo.com>
21331 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
21332 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21333 (gst_basesink_finish_preroll), (gst_basesink_chain),
21334 (gst_basesink_loop), (gst_basesink_activate),
21335 (gst_basesink_change_state):
21336 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
21337 (gst_basesrc_get_range), (gst_basesrc_loop),
21338 (gst_basesrc_activate):
21339 * gst/elements/gsttee.c: (gst_tee_sink_activate):
21340 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
21341 (gst_real_pad_init), (gst_real_pad_set_property),
21342 (gst_real_pad_get_property), (gst_pad_set_active),
21343 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
21344 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
21345 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
21346 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
21347 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21348 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
21349 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
21350 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21351 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
21352 (gst_pad_stop_task):
21354 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21355 (gst_queue_loop), (gst_queue_src_activate):
21356 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
21357 (gst_task_get_state):
21359 * gst/schedulers/threadscheduler.c:
21360 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
21361 Implement gst_pad_pause/start/stop_task(), take STREAM lock
21363 Remove ACTIVE pad flag, use FLUSHING everywhere
21364 Added _pad_chain(), _pad_get_range() to call chain/getrange
21366 Add locks around IS_FLUSHING when reading.
21367 Take STREAM lock in chain(), get_range() functions so plugins
21368 don't need to take it anymore.
21372 2005-05-25 Wim Taymans <wim@fluendo.com>
21374 * tools/gst-launch.c: (event_loop):
21375 Unref message after using its contents instead of
21378 2005-05-24 Wim Taymans <wim@fluendo.com>
21380 * docs/design/draft-ghostpads.txt:
21381 * docs/design/draft-push-pull.txt:
21382 * docs/design/draft-query.txt:
21383 * docs/design/part-overview.txt:
21384 Docs updates, added general overview doc.
21386 2005-05-21 David Schleef <ds@schleef.org>
21388 * docs/gst/tmpl/old/GstBin.sgml:
21389 * docs/gst/tmpl/old/GstBuffer.sgml:
21390 * docs/gst/tmpl/old/GstCaps.sgml:
21391 * docs/gst/tmpl/old/GstClock.sgml:
21392 * docs/gst/tmpl/old/GstCompat.sgml:
21393 * docs/gst/tmpl/old/GstData.sgml:
21394 * docs/gst/tmpl/old/GstElement.sgml:
21395 * docs/gst/tmpl/old/GstEvent.sgml:
21396 * docs/gst/tmpl/old/GstIndex.sgml:
21397 * docs/gst/tmpl/old/GstStructure.sgml:
21398 * docs/gst/tmpl/old/GstTag.sgml:
21399 * docs/gst/tmpl/old/cothreads.sgml:
21400 * docs/gst/tmpl/old/cothreads_compat.sgml:
21401 * docs/gst/tmpl/old/gettext.sgml:
21402 * docs/gst/tmpl/old/gobject2gtk.sgml:
21403 * docs/gst/tmpl/old/grammar.tab.sgml:
21404 * docs/gst/tmpl/old/gst-i18n-app.sgml:
21405 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
21406 * docs/gst/tmpl/old/gst_private.sgml:
21407 * docs/gst/tmpl/old/gstaggregator.sgml:
21408 * docs/gst/tmpl/old/gstarch.sgml:
21409 * docs/gst/tmpl/old/gstatomic_impl.sgml:
21410 * docs/gst/tmpl/old/gstbufferstore.sgml:
21411 * docs/gst/tmpl/old/gstdata_private.sgml:
21412 * docs/gst/tmpl/old/gstdisksink.sgml:
21413 * docs/gst/tmpl/old/gstdisksrc.sgml:
21414 * docs/gst/tmpl/old/gstelementfactory.sgml:
21415 * docs/gst/tmpl/old/gstextratypes.sgml:
21416 * docs/gst/tmpl/old/gstfakesink.sgml:
21417 * docs/gst/tmpl/old/gstfakesrc.sgml:
21418 * docs/gst/tmpl/old/gstfdsink.sgml:
21419 * docs/gst/tmpl/old/gstfdsrc.sgml:
21420 * docs/gst/tmpl/old/gstfilesink.sgml:
21421 * docs/gst/tmpl/old/gstfilesrc.sgml:
21422 * docs/gst/tmpl/old/gsthttpsrc.sgml:
21423 * docs/gst/tmpl/old/gstidentity.sgml:
21424 * docs/gst/tmpl/old/gstindexfactory.sgml:
21425 * docs/gst/tmpl/old/gstmarshal.sgml:
21426 * docs/gst/tmpl/old/gstmd5sink.sgml:
21427 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
21428 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
21429 * docs/gst/tmpl/old/gstpadtemplate.sgml:
21430 * docs/gst/tmpl/old/gstpipefilter.sgml:
21431 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
21432 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
21433 * docs/gst/tmpl/old/gstshaper.sgml:
21434 * docs/gst/tmpl/old/gstspider.sgml:
21435 * docs/gst/tmpl/old/gstspideridentity.sgml:
21436 * docs/gst/tmpl/old/gststatistics.sgml:
21437 * docs/gst/tmpl/old/gsttee.sgml:
21438 * docs/gst/tmpl/old/gsttimecache.sgml:
21439 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
21440 * docs/gst/tmpl/old/gstxmlregistry.sgml:
21441 * docs/gst/tmpl/old/gthread-cothreads.sgml:
21442 * docs/gst/tmpl/old/types.sgml:
21443 I didn't intend to add these or check them in.
21445 2005-05-19 David Schleef <ds@schleef.org>
21447 * configure.ac: Use -no-common everywhere. In a sane world, it
21448 would be the default in libtool, because without it, you can't
21449 build DLLs on Windows.
21450 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
21451 * docs/gst/gstreamer-sections.txt:
21452 * docs/gst/tmpl/gstcpu.sgml:
21453 * docs/gst/tmpl/gstdata.sgml:
21454 * docs/gst/tmpl/gstthread.sgml:
21456 2005-05-19 David Schleef <ds@schleef.org>
21458 * gst/gstminiobject.c: (gst_value_set_mini_object),
21459 (gst_value_take_mini_object), (gst_value_get_mini_object):
21460 * gst/gstminiobject.h: Add GValue set/get functions.
21462 2005-05-19 Wim Taymans <wim@fluendo.com>
21464 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
21465 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
21466 (gst_subbuffer_init), (gst_buffer_is_span_fast):
21468 * gst/gstbus.c: (gst_bus_post):
21469 * gst/gstelement.c: (gst_element_get_random_pad):
21470 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
21471 Make subbufer unref the parent in finalize.
21472 some more debugging info.
21475 2005-05-19 Wim Taymans <wim@fluendo.com>
21477 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21478 (gst_basesink_init), (gst_basesink_finalize),
21479 (gst_basesink_activate), (gst_basesink_change_state):
21480 Don't free preroll queue too early.
21482 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21486 Hi, I'm outdated. Please shoot me.
21488 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21490 * gst/gstpipeline.c: (gst_pipeline_send_event):
21491 Do not access variables after they have been deleted.
21493 2005-05-19 Wim Taymans <wim@fluendo.com>
21495 * tools/gst-inspect.c: (print_plugin_features):
21496 A plugin feature does unfortunatly not use the
21499 2005-05-18 Wim Taymans <wim@fluendo.com>
21501 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
21502 Port _span() functions to new subbuffers.
21504 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21506 * gst/gstbin.c: (gst_bin_add_func):
21507 Fix clock settery in bins when adding kids after the clock has
21510 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21512 * gst/elements/gstidentity.c: (gst_identity_class_init):
21513 Workaround until signals support GstMiniObject.
21515 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
21518 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
21520 2005-05-18 Wim Taymans <wim@fluendo.com>
21522 * gst/base/Makefile.am:
21523 * gst/base/gstadapter.c: (gst_adapter_base_init),
21524 (gst_adapter_class_init), (gst_adapter_init),
21525 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
21526 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
21527 (gst_adapter_flush), (gst_adapter_available),
21528 (gst_adapter_available_fast):
21529 * gst/base/gstadapter.h:
21530 Ported and added adapter to the base classes.
21532 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21535 * gst/gstmessage.c:
21536 Make sure the class is reffed/unreffed once before threads can be
21537 used. Fixes #304551.
21539 2005-05-17 Wim Taymans <wim@fluendo.com>
21541 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
21542 (gst_basesink_chain_unlocked), (gst_basesink_activate):
21543 * gst/gstminiobject.c: (gst_mini_object_get_type),
21544 (gst_mini_object_free):
21545 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
21546 (gst_pad_push), (gst_pad_push_event):
21547 * gst/gstqueue.c: (gst_queue_change_state):
21548 Don't queue buffers in basesink when we are flushing.
21549 Unref buffer when flushing in basesink.
21550 Flush queue when going to READY
21551 Unref buffer when _push() returns an error.
21552 Don't free MiniObject instance when refcount is incremented
21553 in _finalize() so that we can recover objects.
21555 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
21557 * docs/manual/advanced-schedulers.xml:
21558 * docs/manual/appendix-checklist.xml:
21559 * docs/pwg/advanced-clock.xml:
21560 * docs/pwg/advanced-interfaces.xml:
21561 * docs/pwg/advanced-request.xml:
21562 * docs/pwg/advanced-types.xml:
21563 * docs/pwg/intro-preface.xml:
21564 * examples/plugins/example.c: (gst_example_get_type),
21565 (gst_example_class_init), (gst_example_chain),
21566 (gst_example_set_property), (gst_example_get_property),
21567 (gst_example_change_state), (plugin_init):
21568 * examples/plugins/example.h:
21571 2005-05-17 Wim Taymans <wim@fluendo.com>
21573 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
21574 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
21575 * gst/gstqueue.c: (gst_queue_change_state):
21576 Clear queue when going to READY.
21577 Remove IN_SETCAPS flag too.
21579 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
21581 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
21582 Remove implicit cast from gboolean to GstElementStateReturn;
21583 make sure we still return failure in paused => ready case if
21584 the parent class fails to change state and our own stop
21587 2005-05-17 Wim Taymans <wim@fluendo.com>
21589 * tools/gst-launch.c: (event_loop):
21590 Message was unreffed too soon.
21592 2005-05-16 Andy Wingo <wingo@pobox.com>
21594 * gst/gstbin.c (sink_iterator_filter): Err... um...
21596 * check/gst/gstbin.c (test_ghost_pads): New test for the
21597 ghosting-if-elements-not-in-same-bin behavior.
21599 2005-05-16 David Schleef <ds@schleef.org>
21601 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
21602 accessing refcount directly.
21604 2005-05-15 David Schleef <ds@schleef.org>
21606 * check/Makefile.am: remove GstData checks
21607 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
21608 * gst/Makefile.am: add miniobject, remove data
21609 * gst/gst.h: add miniobject, remove data
21610 * gst/gstdata.c: remove
21611 * gst/gstdata.h: remove
21612 * gst/gstdata_private.h: remove
21613 * gst/gsttypes.h: remove GstEvent and GstMessage
21614 * gst/gstelement.c: (gst_element_post_message): fix for API changes
21615 * gst/gstmarshal.list: change BOXED -> OBJECT
21617 Implement GstMiniObject.
21618 * gst/gstminiobject.c:
21619 * gst/gstminiobject.h:
21621 Modify to be subclasses of GstMiniObject.
21622 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
21623 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
21624 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
21625 (gst_subbuffer_get_type), (gst_subbuffer_init),
21626 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
21629 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21630 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21631 (_gst_event_copy), (gst_event_new):
21633 * gst/gstmessage.c: (_gst_message_initialize),
21634 (gst_message_get_type), (gst_message_class_init),
21635 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21636 (gst_message_new), (gst_message_new_error),
21637 (gst_message_new_warning), (gst_message_new_tag),
21638 (gst_message_new_state_changed), (gst_message_new_application):
21639 * gst/gstmessage.h:
21640 * gst/gstprobe.c: (gst_probe_perform),
21641 (gst_probe_dispatcher_dispatch):
21643 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21644 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21645 (_gst_query_copy), (gst_query_new):
21647 Update elements for GstData -> GstMiniObject changes
21649 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21650 (gst_queue_chain), (gst_queue_loop):
21651 * gst/elements/gstbufferstore.c:
21652 (gst_buffer_store_add_buffer_func),
21653 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21654 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21655 (gst_fakesink_render):
21656 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21657 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21658 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21659 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21660 (gst_filesrc_create_read):
21661 * gst/elements/gstidentity.c: (gst_identity_class_init):
21662 * gst/elements/gsttypefindelement.c:
21663 (gst_type_find_element_src_event), (free_entry_buffers),
21664 (gst_type_find_element_handle_event):
21665 * libs/gst/dataprotocol/dataprotocol.c:
21666 (gst_dp_header_from_buffer):
21667 * libs/gst/dataprotocol/dataprotocol.h:
21668 * libs/gst/dataprotocol/dp-private.h:
21670 2005-05-15 David Schleef <ds@schleef.org>
21672 * gst/elements/gstelements.c: Don't include headers that were
21675 2005-05-15 David Schleef <ds@schleef.org>
21677 * gst/elements/Makefile.am: Remove some elements that don't
21678 need to be in the core (or even exist at all).
21679 * gst/elements/gstaggregator.c:
21680 * gst/elements/gstaggregator.h:
21681 * gst/elements/gstmd5sink.c:
21682 * gst/elements/gstmd5sink.h:
21683 * gst/elements/gstmultifilesrc.c:
21684 * gst/elements/gstmultifilesrc.h:
21685 * gst/elements/gstpipefilter.c:
21686 * gst/elements/gstpipefilter.h:
21687 * gst/elements/gstshaper.c:
21688 * gst/elements/gstshaper.h:
21689 * gst/elements/gststatistics.c:
21690 * gst/elements/gststatistics.h:
21691 * po/POTFILES.in: Remove above files.
21693 2005-05-14 Andy Wingo <wingo@pobox.com>
21695 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21696 so as to get the refs right.
21697 (sink_iterator_filter): New function, wraps bin_element_is_sink,
21698 unreffing objects that don't pass the filter.
21700 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21701 gst_element_set_bus.
21702 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21703 normal cases, this will destroy the bus.
21705 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21708 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21711 2005-05-13 Andy Wingo <wingo@pobox.com>
21713 * gst/gstutils.c (gst_element_link_pads): Instead of calling
21714 gst_pad_link, call pad_link_maybe_ghosting,
21715 (pad_link_maybe_ghosting): Links pads, making sure that the
21716 elements being linked are in the same bin.
21717 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21718 Helpers for pad_link_maybe_ghosting.
21720 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21723 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21725 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21727 * docs/design/part-element-source.txt:
21730 2005-05-12 Wim Taymans <wim@fluendo.com>
21732 * gst/base/gstbasesink.c: (gst_basesink_init),
21733 (gst_basesink_activate):
21734 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21735 (gst_basesrc_is_seekable):
21736 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21737 (bin_element_is_sink), (gst_bin_change_state):
21738 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21739 * gst/gstelement.h:
21740 Identify sinks by their flag to avoid overly complicated
21742 Do state changes even for elements not reachable from the
21744 BaseSink is a sink now :)
21745 Some more debugging info in the basesrc.
21748 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21750 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21751 Implement _query on a bin, similar to _send_event.
21753 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
21755 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21756 Discont event offset format should be GST_FORMAT_BYTES,
21757 not GST_FORMAT_TIME.
21759 2005-05-12 Wim Taymans <wim@fluendo.com>
21761 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21762 Same fix as Ronald's but without the signal.
21764 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21766 * gst/gstutils.c: (gst_element_query_position):
21767 No, an element is not a pad.
21769 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21771 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21772 (gst_bin_get_state):
21773 If a child is removed from a bin while we remove the child from
21774 the bin and while we're retrieving its state, signal this to the
21775 get_state function so we abort the wait (instead of waiting for
21776 a timeout) and can immediately re-iterate over all other elements.
21778 2005-05-12 Wim Taymans <wim@fluendo.com>
21780 * gst/base/Makefile.am:
21781 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21782 (gst_basesrc_start):
21783 * gst/base/gstbasesrc.h:
21784 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21785 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21786 (gst_pushsrc_init), (gst_pushsrc_create):
21787 * gst/base/gstpushsrc.h:
21788 Added is_seekable to BaseSrc
21789 Added simple PushSrc.
21791 2005-05-11 Wim Taymans <wim@fluendo.com>
21793 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21794 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21795 (gst_element_link_pads), (gst_element_query_position),
21796 (gst_element_query_convert), (intersect_caps_func),
21797 (gst_pad_query_position), (gst_pad_query_convert):
21798 Fix refcounting in utils function.
21799 No point in trying to activate a pad when it's added, it could
21800 be added from the state change function and then we deadlock, the
21801 element has to decide what to do.
21803 2005-05-10 Andy Wingo <wingo@pobox.com>
21805 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21806 *all* the arguments.
21808 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21809 stream lock if it's a FLUSH_DONE; normal flushes don't get the
21810 lock (according to the docs -- if this is wrong change the docs).
21812 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21813 flush messages in the NULL state.
21815 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21816 message immediately and return.
21817 (gst_bus_set_flushing): New function. If a bus is flushing, it
21818 flushes out any queued messages and immediately unrefs new
21819 messages. This is so when an element goes to NULL, all of the
21820 unhandled messages coming from it can be freed, and their
21821 references to the element dropped. In other words: message source
21822 ref considered harmful :P
21824 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21825 we're finished with it.
21827 * gst/gstmessage.c (gst_message_new_state_changed):
21829 2005-05-10 Wim Taymans <wim@fluendo.com>
21831 * gst/gstvalue.c: (gst_value_compare_flags),
21832 (gst_value_serialize_flags), (gst_value_deserialize_flags),
21833 (_gst_value_initialize):
21834 Added flags serialize/deserialize/compare code.
21836 2005-05-09 Andy Wingo <wingo@pobox.com>
21838 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21839 Intersect the peer's caps with our caps.
21841 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21843 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21844 * gst/elements/gsttypefindelement.c: (find_peek):
21845 Handle negative offsets better. Fixes decodebin.
21847 2005-05-09 Wim Taymans <wim@fluendo.com>
21849 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21850 (gst_base_transform_event):
21851 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21852 Implement accept_caps.
21853 Fix silly lock/unlock mismatch in base class.
21855 2005-05-09 Wim Taymans <wim@fluendo.com>
21857 * docs/design/draft-push-pull.txt:
21858 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21859 * gst/elements/gstfilesink.c: (gst_filesink_init),
21860 (gst_filesink_query):
21861 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21862 (gst_type_find_handle_src_query), (find_element_get_length):
21863 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21864 * gst/gstelement.h:
21865 * gst/gstmessage.c:
21866 * gst/gstmessage.h:
21867 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21868 (gst_real_pad_get_caps_unlocked),
21869 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21870 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21871 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21872 (gst_real_pad_dispose), (gst_real_pad_finalize),
21873 (gst_pad_load_and_link), (gst_pad_save_thyself),
21874 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21875 (gst_pad_check_pull_range), (gst_pad_pull_range),
21876 (gst_pad_template_get_type), (gst_pad_template_class_init),
21877 (gst_pad_template_init), (gst_pad_template_dispose),
21878 (name_is_valid), (gst_static_pad_template_get),
21879 (gst_pad_template_new), (gst_static_pad_template_get_caps),
21880 (gst_pad_template_get_caps), (gst_pad_set_element_private),
21881 (gst_pad_get_element_private), (gst_pad_start_task),
21882 (gst_pad_pause_task), (gst_pad_stop_task),
21883 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21884 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21885 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21886 (gst_ghost_pad_new):
21888 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21889 (gst_query_new_position), (gst_query_set_position),
21890 (gst_query_parse_position), (gst_query_new_convert),
21891 (gst_query_set_convert), (gst_query_parse_convert):
21893 * gst/gstqueryutils.c:
21894 * gst/gstqueryutils.h:
21895 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21896 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21897 (gst_queue_handle_src_query):
21898 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21899 (gst_element_query_position), (gst_element_query_convert),
21900 (intersect_caps_func), (gst_pad_query_position),
21901 (gst_pad_query_convert):
21903 * tools/gst-inspect.c: (print_pad_info):
21904 * tools/gst-xmlinspect.c: (print_element_info):
21905 Remove old query functions. Ported old code.
21906 Added position/convert helper functions to gstutils.
21907 Reordered gstpad.c code, grouping relevant things.
21908 Remove gst_message_new(), always need to speficy a specific
21912 2005-05-09 Andy Wingo <wingo@pobox.com>
21914 * gst/gstiterator.h: Add some includes.
21916 * gst/gstqueryutils.h: Include more headers.
21919 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21920 some uses of gst_pad_query.
21922 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21923 NULL out parameters.
21924 (gst_query_new_position): New proc, allocates a new position
21927 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21928 gstqueryutils.c to the build.
21930 * gst/gststructure.c (gst_structure_set_valist): Implement with
21931 the generic G_VALUE_COLLECT.
21933 2005-05-08 Edward Hervey <bilboed@bilboed.com>
21935 * gst/Makefile.am: (gst_headers):
21936 Added gstqueryutils.h to the list of headers to install, that was
21937 a 'nachty' move wingo :)
21939 2005-05-06 Andy Wingo <wingo@pobox.com>
21942 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21943 GstData, init a memchunk.
21944 (standard_definitions): Add a few query types, deprecate a few.
21945 (gst_query_get_type): New proc.
21946 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21948 (gst_query_new_application, gst_query_get_structure): New public
21951 * docs/design/draft-query.txt: Removed LINKS from the query types,
21952 because all the rest can be dispatched to other pads -- seemed
21953 ugly to have a query that couldn't be dispatched. internal_links
21954 is fine as a pad method.
21956 * gst/gstpad.h: Add query2 as a pad method, add the new functions
21957 in gstpad.c, but maintain binary compatibility for the moment.
21958 Will fix before 0.9 is out.
21960 * gst/gstqueryutils.c:
21961 * gst/gstqueryutils.h: New files, implement 3 methods for each
21962 query type: parse_query, parse_response, and set. Probably need an
21965 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21967 * gst/elements/gstfilesink.c (gst_filesink_query2):
21968 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21969 query_types, and formats methods.
21971 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21972 (gst_pad_set_query2_function): New functions.
21973 (gst_real_pad_init): Set query2_default as the default query2
21974 function. Basically just dispatches to internally linked pads.
21978 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21979 without using the atomic operations. Only one thread can possibly
21980 be accessing the data at this point. Changed so as to avoid
21981 gst_atomic operations.
21983 2005-05-06 Wim Taymans <wim@fluendo.com>
21985 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21986 Also set caps if we use the fallback buffer alloc.
21988 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
21990 * docs/gst/Makefile.am:
21991 * docs/gst/gstreamer-docs.sgml:
21992 * docs/gst/gstreamer-sections.txt:
21993 * docs/gst/tmpl/gstatomic.sgml:
21994 * docs/gst/tmpl/gstmemchunk.sgml:
21995 * testsuite/elements/struct_i386.h:
21996 * win32/GStreamer.vcproj:
21998 Purge GstAtomic stuff from docs and win32 makefiles as well
22000 2005-05-06 Wim Taymans <wim@fluendo.com>
22002 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
22003 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
22004 * gst/gstpad.c: (gst_pad_peer_get_caps):
22005 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
22006 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
22007 (gst_queue_src_activate), (gst_queue_change_state):
22009 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22010 (intersect_caps_func):
22011 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
22012 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
22013 Some fixes for the peer_get_caps() change.
22015 2005-05-06 Wim Taymans <wim@fluendo.com>
22017 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22018 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
22019 (gst_basesink_activate):
22020 Actually do something with error codes returned from the push
22023 2005-05-06 Wim Taymans <wim@fluendo.com>
22025 * docs/design/part-element-sink.txt:
22026 * docs/design/part-element-source.txt:
22027 * gst/base/gstbasesink.c: (gst_basesink_class_init),
22028 (gst_basesink_event), (gst_basesink_activate):
22029 * gst/base/gstbasesink.h:
22030 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
22031 (gst_basesrc_activate):
22032 * gst/base/gstbasesrc.h:
22033 * gst/gstelement.c: (gst_element_pads_activate):
22034 Some more documentation.
22035 Fixed scheduling decision in _pads_activate().
22037 2005-05-05 Andy Wingo <wingo@pobox.com>
22039 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
22042 2005-05-05 Wim Taymans <wim@fluendo.com>
22044 * gst/base/Makefile.am:
22045 * gst/base/gstbasesink.h:
22046 * gst/base/gstbasesrc.c: (gst_basesrc_init),
22047 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
22048 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
22049 (gst_collectpads_class_init), (gst_collectpads_init),
22050 (gst_collectpads_finalize), (gst_collectpads_new),
22051 (gst_collectpads_set_function), (gst_collectpads_add_pad),
22052 (find_pad), (gst_collectpads_remove_pad),
22053 (gst_collectpads_is_active), (gst_collectpads_collect),
22054 (gst_collectpads_collect_range), (gst_collectpads_start),
22055 (gst_collectpads_stop), (gst_collectpads_peek),
22056 (gst_collectpads_pop), (gst_collectpads_available),
22057 (gst_collectpads_read), (gst_collectpads_flush),
22058 (gst_collectpads_chain):
22059 * gst/base/gstcollectpads.h:
22060 * gst/elements/Makefile.am:
22061 * gst/elements/gstelements.c:
22062 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22063 (gst_fakesink_get_times), (gst_fakesink_event),
22064 (gst_fakesink_preroll), (gst_fakesink_render):
22065 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22066 (gst_filesink_init), (gst_filesink_set_location),
22067 (gst_filesink_open_file), (gst_filesink_close_file),
22068 (gst_filesink_pad_query), (gst_filesink_event),
22069 (gst_filesink_render), (gst_filesink_change_state):
22070 * gst/elements/gstfilesink.h:
22071 Added object to help in making collect pad based elements.
22073 Make event function in sink baseclass return gboolean.
22075 2005-05-05 Wim Taymans <wim@fluendo.com>
22077 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
22078 (gst_bin_get_by_name):
22080 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
22081 (gst_clock_finalize):
22082 * gst/gstdata.c: (gst_data_replace):
22084 * gst/gstelement.c: (gst_element_request_pad),
22085 (gst_element_pads_activate):
22086 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
22087 (gst_object_unref):
22088 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22089 (gst_pad_set_checkgetrange_function),
22090 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
22091 (gst_pad_check_pull_range), (gst_pad_pull_range),
22092 (gst_static_pad_template_get_caps), (gst_pad_start_task),
22093 (gst_pad_pause_task), (gst_pad_stop_task):
22094 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22095 (gst_element_request_pad), (gst_pad_proxy_getcaps):
22096 Fix name lookup in GstBin.
22097 Added _data_replace() function and _buffer_replace()
22098 Use finalize method to clean up clock.
22099 Fix refcounting on request pads.
22100 Fix pad schedule mode error.
22101 Some more object refcounting debug info,
22104 2005-05-04 Andy Wingo <wingo@pobox.com>
22106 * check/Makefile.am:
22107 * docs/gst/tmpl/gstatomic.sgml:
22108 * docs/gst/tmpl/gstplugin.sgml:
22109 * gst/base/gstbasesink.c: (gst_basesink_activate):
22110 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
22111 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
22112 (gst_basesrc_query), (gst_basesrc_set_property),
22113 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
22114 (gst_basesrc_activate):
22115 * gst/base/gstbasesrc.h:
22116 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
22117 (gst_base_transform_src_activate):
22118 * gst/elements/gstelements.c:
22119 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22120 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22121 * gst/elements/gsttee.c: (gst_tee_sink_activate):
22122 * gst/elements/gsttypefindelement.c: (find_element_get_length),
22123 (gst_type_find_element_checkgetrange),
22124 (gst_type_find_element_activate):
22125 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
22126 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
22127 (gst_caps_load_thyself):
22128 * gst/gstelement.c: (gst_element_pads_activate),
22129 (gst_element_save_thyself), (gst_element_restore_thyself):
22130 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
22131 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
22133 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
22134 (gst_xml_parse_file), (gst_xml_parse_memory),
22135 (gst_xml_get_element), (gst_xml_make_element):
22136 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22137 (_file_index_id_save_xml), (gst_file_index_commit):
22138 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
22139 (read_enum), (load_pad_template), (load_feature), (load_plugin),
22141 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
22142 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
22143 * tools/gst-complete.c: (main):
22144 * tools/gst-compprep.c: (main):
22145 * tools/gst-inspect.c: (print_element_properties_info):
22146 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
22147 * tools/gst-xmlinspect.c: (print_element_properties):
22150 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
22152 * gst/gstplugin.c: (gst_plugin_check_module),
22153 (gst_plugin_check_file), (gst_plugin_load_file):
22154 apply patch from #172526 to make register work on MacOSX
22156 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
22158 * docs/gst/tmpl/gstconfig.sgml:
22159 * gst/gstconfig.h.in:
22160 move documentation for some symbols. Add doc for GST_PTR_FORMAT
22161 * testsuite/debug/printf_extension.c: (main):
22162 Do not use GST_PTR_FORMAT on pointers to types with
22163 sizeof < sizeof(gpointer). Fixes test on 64-bit
22164 * testsuite/elements/property.h:
22165 use correct printf format
22167 2005-05-02 Wim Taymans <wim@fluendo.com>
22169 * docs/design/draft-push-pull.txt:
22170 * docs/design/draft-query.txt:
22171 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
22172 (gst_basesrc_start):
22173 Added draft for new query API.
22174 Added draft for better selecting scheduling methods.
22175 Make basesrc ignore length if the subclass does not support
22178 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
22181 possible fixes for automake-1.5 - _LIBADD is reserved
22183 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
22185 * docs/faq/Makefile.am:
22186 * docs/manual/Makefile.am:
22187 * docs/manuals.mak:
22188 * docs/pwg/Makefile.am:
22190 possible fixes for automake-1.5
22192 2005-04-28 Wim Taymans <wim@fluendo.com>
22194 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22195 (gst_basesink_pad_getcaps), (gst_basesink_init),
22196 (gst_basesink_do_sync):
22197 * gst/gstclock.c: (gst_clock_entry_new):
22198 * gst/gstevent.c: (gst_event_discont_get_value):
22199 * gst/gstpipeline.c: (pipeline_bus_handler),
22200 (gst_pipeline_change_state):
22201 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
22202 Better debugging of clocking info.
22203 Allow NULL values when getting discont values.
22205 2005-04-27 Wim Taymans <wim@fluendo.com>
22207 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22208 * check/gst/gstpad.c: (gst_pad_suite):
22209 Increase timeout for checks.
22211 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
22213 * check/Makefile.am:
22214 fix the broken rule for cleanup. Apparently this rule is
22215 only needed on FC2, so maybe this warrants further autotool
22218 2005-04-26 Wim Taymans <wim@fluendo.com>
22220 * gst/gsttrashstack.h:
22221 Ooohh. a nasty one! After having a failed pop() from the stack,
22222 it's possible that the stack is empty. In that case, don't
22223 follow the NULL pointer.
22225 2005-04-25 Wim Taymans <wim@fluendo.com>
22227 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22228 (gst_pad_set_checkgetrange_function),
22229 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
22230 (gst_pad_check_pull_range), (gst_pad_pull_range),
22231 (gst_static_pad_template_get_caps), (gst_pad_start_task),
22232 (gst_pad_pause_task), (gst_pad_stop_task):
22233 * gst/gstplugin.c: (gst_plugin_load):
22235 Remove gst_library_load as it does more harm than good with
22236 the new g_module flags.
22237 Revert bogus caps template check in pad linking, pad caps
22238 are important when linking not the template, which is more
22239 general than the current caps.
22241 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22243 * gst/autoplug/.cvsignore:
22244 * gst/autoplug/Makefile.am:
22245 * gst/autoplug/gstsearchfuncs.c:
22246 * gst/autoplug/gstsearchfuncs.h:
22247 * gst/autoplug/gstspider.c:
22248 * gst/autoplug/gstspider.h:
22249 * gst/autoplug/gstspideridentity.c:
22250 * gst/autoplug/gstspideridentity.h:
22251 * gst/autoplug/spidertest.c:
22254 2005-04-25 Wim Taymans <wim@fluendo.com>
22256 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22257 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22258 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
22259 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
22261 Added stubs for unimplemented functions.
22263 2005-04-24 David Schleef <ds@schleef.org>
22265 * gst/gstpad.h: Disable some unimplemented functions. Wim,
22268 2005-04-24 David Schleef <ds@schleef.org>
22270 Convert everything from GstAtomicInt to g_atomic_int_*, and
22275 * gst/gstatomic_impl.h:
22283 * gst/gstdata_private.h:
22287 * gst/gstmessage.c:
22290 * gst/gststructure.c:
22291 * gst/gststructure.h:
22292 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
22295 2005-04-24 David Schleef <ds@schleef.org>
22297 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
22298 make the regressions tests work. Remove some code that is no
22300 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
22301 Disable warning for pads without templates.
22303 2005-04-24 David Schleef <ds@schleef.org>
22305 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
22306 functions that handle filtered links.
22307 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
22309 * gst/gstutils.c: Fix/remove utility functions that handle
22312 * gst/gstvalue.c: Add serialization/deserialization of caps
22313 * gst/parse/grammar.y: Ignore filtered caps when linking. This
22314 requires fixing so that the filter caps notation creates
22315 a capsfilter element and sets the filter_caps property. I
22316 think everyone probably wants to keep the shorthand notation.
22317 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
22318 * docs/gst/tmpl/gstpad.sgml:
22320 * gst/elements/gstelements.c: Register capsfilter element.
22321 * gst/Makefile.am: fix spacing
22322 * docs/random/ds/0.9-suggested-changes: random
22324 2005-04-23 David Schleef <ds@schleef.org>
22326 * gst/elements/Makefile.am:
22327 * gst/elements/gstcapsfilter.c: New element that acts like an
22328 identity, but filters caps. Will eventually replace filtered
22329 caps in pad linking.
22330 * gst/gstutils.c: (gst_element_create_all_pads): New function
22331 to create all the ALWAYS pads that are registered with an
22332 element class. This functionality should eventually be
22333 merged in with GstElement initialization.
22335 * testsuite/trigger/README: part of trigger test code that should
22336 have been checked in a long time ago.
22338 2005-04-23 David Schleef <ds@schleef.org>
22340 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
22341 needed with new versions of libtool (nobody will confirm this),
22342 and hard to carry around.
22343 * gst/autoplug/Makefile.am:
22344 * gst/base/Makefile.am:
22345 * gst/elements/Makefile.am:
22346 * gst/indexers/Makefile.am:
22347 * gst/schedulers/Makefile.am:
22348 * libs/gst/bytestream/Makefile.am:
22349 * libs/gst/control/Makefile.am:
22350 * libs/gst/dataprotocol/Makefile.am:
22351 * libs/gst/getbits/Makefile.am:
22353 2005-04-21 Wim Taymans <wim@fluendo.com>
22355 * docs/design/draft-push-pull.txt:
22356 * docs/design/part-MT-refcounting.txt:
22357 * docs/design/part-TODO.txt:
22358 * docs/design/part-caps.txt:
22359 * docs/design/part-events.txt:
22360 * docs/design/part-gstbus.txt:
22361 * docs/design/part-gstpipeline.txt:
22362 * docs/design/part-messages.txt:
22363 * docs/design/part-push-pull.txt:
22364 * docs/design/part-query.txt:
22367 2005-04-21 Wim Taymans <wim@fluendo.com>
22369 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
22370 (gst_message_new), (gst_message_new_error),
22371 (gst_message_new_warning), (gst_message_new_tag),
22372 (gst_message_new_state_changed), (gst_message_new_application),
22373 (gst_message_get_structure):
22374 * gst/gstmessage.h:
22375 * gst/gststructure.c: (gst_structure_set_parent_refcount),
22376 (gst_structure_copy_conditional):
22377 Use parent refcount in GstMessage to ensure GstStructure
22379 Cleaned up headers a bit.
22382 2005-04-20 Wim Taymans <wim@fluendo.com>
22384 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22385 (gst_basesink_pad_getcaps), (gst_basesink_init),
22386 (gst_basesink_chain_unlocked):
22387 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
22388 (gst_type_find_helper):
22389 * gst/elements/gsttypefindelement.c:
22390 (gst_type_find_element_have_type), (gst_type_find_element_init),
22391 (stop_typefinding), (gst_type_find_element_handle_event),
22392 (find_suggest), (gst_type_find_element_chain),
22393 (gst_type_find_element_checkgetrange),
22394 (gst_type_find_element_getrange), (do_typefind),
22395 (gst_type_find_element_activate):
22396 * gst/gstbuffer.c: (_gst_buffer_sub_free),
22397 (gst_buffer_default_free), (gst_buffer_default_copy),
22398 (gst_buffer_set_caps):
22399 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
22400 (gst_caps_replace):
22401 * gst/gstmessage.c: (gst_message_new),
22402 (gst_message_new_state_changed):
22403 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22404 (gst_pad_set_checkgetrange_function),
22405 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
22406 (gst_pad_set_caps), (gst_pad_check_pull_range),
22407 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
22409 * gst/gsttypefind.c: (gst_type_find_register):
22410 Make gst_caps_replace() work like other _replace() functions.
22411 Use _caps_replace() where possible.
22412 Make sure _message_new() initialises its field.
22413 Add gst_static_pad_template_get_caps()
22416 2005-04-18 Andy Wingo <wingo@pobox.com>
22418 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
22419 on the peer, not the pad. I think that was a typo. Pass an extra
22420 arg to see if random access is possible. Activate the pads as
22421 PULL_RANGE if possible.
22423 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
22425 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
22426 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
22429 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22431 * docs/faq/using.xml:
22432 Add note on gstreamer-properties (#154996).
22434 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22436 * docs/random/bbb/optional-properties:
22437 Some analysis on optional properties.
22439 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22441 * docs/gst/tmpl/gstelementfactory.sgml:
22442 * gst/gstelement.h:
22443 * gst/gstelementfactory.c: (gst_element_factory_init),
22444 (gst_element_factory_cleanup), (gst_element_register),
22445 (__gst_element_factory_add_static_pad_template),
22446 (gst_element_factory_get_static_pad_templates),
22447 (gst_element_factory_can_src_caps),
22448 (gst_element_factory_can_sink_caps):
22449 * gst/registries/Makefile.am:
22450 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
22451 (gst_xml_registry_class_init), (gst_xml_registry_init),
22452 (gst_xml_registry_new), (gst_xml_registry_set_property),
22453 (gst_xml_registry_get_property), (get_time), (make_dir),
22454 (gst_xml_registry_get_perms_func),
22455 (plugin_times_older_than_recurse), (plugin_times_older_than),
22456 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
22457 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
22458 (add_to_char_array), (read_string), (read_uint), (read_enum),
22459 (load_pad_template), (load_feature), (load_plugin), (load_paths),
22460 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
22461 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
22462 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
22463 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
22464 (gst_xml_registry_rebuild):
22465 * gst/registries/gstlibxmlregistry.h:
22466 * tools/gst-compprep.c: (main):
22467 * tools/gst-inspect.c: (print_pad_templates_info):
22468 * tools/gst-xmlinspect.c: (print_element_info):
22469 Use libxml2 for registry parsing, use staticpadtemplates in
22470 elementfactories. Makes gst_init() +/- 10x faster.
22472 2005-04-12 Wim Taymans <wim@fluendo.com>
22474 * gst/base/Makefile.am:
22475 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22476 (gst_basesink_pad_getcaps), (gst_basesink_init),
22477 (gst_basesink_event), (gst_basesink_change_state):
22478 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22479 (gst_basesrc_init), (gst_basesrc_query),
22480 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22481 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22482 (gst_basesrc_check_get_range), (gst_basesrc_loop),
22483 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22484 (gst_basesrc_stop), (gst_basesrc_activate),
22485 (gst_basesrc_change_state):
22486 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22487 (helper_find_suggest), (gst_type_find_helper):
22488 * gst/base/gsttypefindhelper.h:
22489 * gst/elements/Makefile.am:
22490 * gst/elements/gstelements.c:
22491 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22492 (gst_fakesink_get_times), (gst_fakesink_event),
22493 (gst_fakesink_preroll), (gst_fakesink_render):
22494 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22495 (gst_fakesrc_init), (gst_fakesrc_event_handler),
22496 (gst_fakesrc_get_property), (gst_fakesrc_create),
22497 (gst_fakesrc_start), (gst_fakesrc_stop):
22498 * gst/elements/gstfakesrc.h:
22499 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
22500 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22501 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22502 (gst_filesrc_create_read), (gst_filesrc_create),
22503 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
22504 (gst_filesrc_start):
22505 * gst/elements/gsttypefindelement.c:
22506 (gst_type_find_element_have_type), (gst_type_find_element_init),
22507 (start_typefinding), (stop_typefinding), (push_buffer_store),
22508 (gst_type_find_element_handle_event),
22509 (gst_type_find_element_chain),
22510 (gst_type_find_element_checkgetrange),
22511 (gst_type_find_element_getrange), (do_typefind),
22512 (gst_type_find_element_activate),
22513 (gst_type_find_element_change_state):
22514 * gst/elements/gsttypefindelement.h:
22515 * gst/gstpipeline.c: (pipeline_bus_handler):
22516 Added typefind helper.
22517 Small preroll fix in the base sink.
22518 Disable typefind code in basesrc.
22519 Crude port of typefindelement.
22523 2005-04-11 Wim Taymans <wim@fluendo.com>
22525 * check/gst/gstbus.c: (gstbus_suite):
22526 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
22527 * check/gstcheck.h:
22528 Fix up the timeout so that the test does not fail.
22530 2005-04-06 Wim Taymans <wim@fluendo.com>
22533 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22534 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
22535 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22536 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22537 (gst_basesrc_check_get_range), (gst_basesrc_loop),
22538 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22539 (gst_basesrc_stop), (gst_basesrc_activate),
22540 (gst_basesrc_change_state), (basesrc_find_peek),
22541 (basesrc_find_suggest), (gst_basesrc_type_find):
22542 * gst/base/gstbasesrc.h:
22543 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
22544 (gst_filesrc_class_init), (gst_filesrc_init),
22545 (gst_filesrc_finalize), (gst_filesrc_set_location),
22546 (gst_filesrc_set_property), (gst_filesrc_get_property),
22547 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22548 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22549 (gst_filesrc_create_read), (gst_filesrc_create),
22550 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
22551 * gst/elements/gstfilesrc.h:
22552 * gst/gstelement.c: (gst_element_get_state_func),
22553 (gst_element_lost_state), (gst_element_pads_activate):
22554 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22555 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22556 (gst_pad_pull_range):
22558 More work on the generic source base class, implement seeking,
22560 Make filesrc extend the base source class.
22561 Added gst_pad_set_checkgetrange_function to GstPad.
22563 2005-04-06 Andy Wingo <wingo@pobox.com>
22565 * pkgconfig/gstreamer-base.pc.in:
22566 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
22568 * pkgconfig/Makefile.am:
22569 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
22571 2005-04-04 Wim Taymans <wim@fluendo.com>
22573 * gst/base/Makefile.am:
22575 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22576 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22577 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22578 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
22579 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22580 (gst_basesrc_base_init), (gst_basesrc_class_init),
22581 (gst_basesrc_init), (gst_basesrc_get_formats),
22582 (gst_basesrc_get_query_types), (gst_basesrc_query),
22583 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
22584 (gst_basesrc_set_property), (gst_basesrc_get_property),
22585 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
22586 (gst_basesrc_loop), (gst_basesrc_activate),
22587 (gst_basesrc_change_state):
22588 * gst/base/gstbasesrc.h:
22589 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
22590 (gst_fakesrc_class_init), (gst_fakesrc_init),
22591 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
22592 (gst_fakesrc_get_property), (gst_fakesrc_create):
22593 * gst/elements/gstfakesrc.h:
22594 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
22595 (gst_filesrc_open_file), (gst_filesrc_loop),
22596 (gst_filesrc_activate), (filesrc_find_peek),
22597 (gst_filesrc_type_find):
22598 Made base source class, make fakesrc extend it.
22599 Add comments to basesink class.
22600 Some filesrc cleanup.
22602 2005-03-31 David Schleef <ds@schleef.org>
22604 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
22605 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
22606 expected to link against libgstreamer.
22607 * gst/base/Makefile.am: link against libgstreamer
22608 * gst/elements/Makefile.am: same
22610 2005-03-31 Andy Wingo <wingo@pobox.com>
22612 * tests/instantiate/Makefile.am:
22613 * tests/instantiate/caps.c: Add test to test speed of caps copy
22616 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
22617 GMemChunk to be fair.
22619 * gst/gsttrashstack.h: Remove warning about using the fallback
22620 trash stack implementation, it's still faster than malloc.
22622 2005-03-30 Andy Wingo <wingo@pobox.com>
22624 * tests/complexity.c: Add a copyright.
22626 2005-03-31 Wim Taymans <wim@fluendo.com>
22628 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
22629 (gst_base_transform_class_init), (gst_base_transform_init),
22630 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22631 (gst_base_transform_get_property),
22632 (gst_base_transform_sink_activate),
22633 (gst_base_transform_src_activate),
22634 (gst_base_transform_change_state):
22635 * gst/base/gstbasetransform.h:
22636 * gst/elements/gstidentity.c: (gst_identity_class_init),
22637 (gst_identity_event), (gst_identity_check_perfect),
22638 (gst_identity_transform), (gst_identity_start),
22639 (gst_identity_stop):
22640 Added start/stop methods to transform base class so subclasses
22641 don't need to deal with state changes even.
22643 2005-03-31 Wim Taymans <wim@fluendo.com>
22645 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22646 (gst_event_new_discontinuous), (gst_event_discont_get_value):
22648 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22649 (gst_pad_pull_range):
22650 Added rate to the discont event to prepare for variable speed
22651 and reverse playback.
22653 2005-03-29 David Schleef <ds@schleef.org>
22656 * testsuite/trigger/Makefile.am:
22657 * testsuite/trigger/trigger.c: A little example program to show
22658 how trigger-based elements can work.
22660 2005-03-29 Wim Taymans <wim@fluendo.com>
22662 * gst/base/Makefile.am:
22664 * gst/base/gstbasesink.c: (gst_basesink_get_type),
22665 (gst_basesink_base_init), (gst_basesink_class_init),
22666 (gst_basesink_pad_getcaps), (gst_basesink_init),
22667 (gst_basesink_activate), (gst_basesink_change_state):
22668 * gst/base/gstbasesink.h:
22669 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22670 (gst_base_transform_base_init), (gst_base_transform_finalize),
22671 (gst_base_transform_class_init), (gst_base_transform_init),
22672 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22673 (gst_base_transform_event), (gst_base_transform_getrange),
22674 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22675 (gst_base_transform_set_property),
22676 (gst_base_transform_get_property),
22677 (gst_base_transform_sink_activate),
22678 (gst_base_transform_src_activate),
22679 (gst_base_transform_change_state):
22680 * gst/base/gstbasetransform.h:
22681 * gst/elements/gstidentity.c: (gst_identity_finalize),
22682 (gst_identity_class_init), (gst_identity_init),
22683 (gst_identity_event), (gst_identity_check_perfect),
22684 (gst_identity_transform), (gst_identity_set_property),
22685 (gst_identity_get_property), (gst_identity_change_state):
22686 * gst/elements/gstidentity.h:
22687 * gst/gstelement.c: (gst_element_get_state_func),
22688 (gst_element_lost_state), (gst_element_pads_activate):
22689 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22690 (gst_pad_check_pull_range), (gst_pad_pull_range):
22692 Simplify pad activation.
22693 Added function to check if pull_range can be performed.
22694 Error out when pulling inactive or flushing pads.
22695 Removed const from refcounted types as it does not make sense.
22696 Simplify pad templates in basesink
22697 Added base class for simple 1-to-1 transforms.
22698 Make identity subclass the base transform.
22700 2005-03-29 Andy Wingo <wingo@pobox.com>
22702 * docs/libs/gstreamer-libs-overrides.txt:
22703 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22704 really don't understand what's going on, but like whatever. I want
22707 * docs/gst/Makefile.am:
22708 * docs/libs/Makefile.am: Dist the overrides files.
22710 * check/Makefile.am (clean-local): Remove .libs directories.
22712 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22713 elements to EXTRA_DIST, so po/ files are happy.
22715 * po/POTFILES.in: Er, remove it here.
22717 * po/POTFILES: Remove gstspider.c.
22719 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22721 * docs/libs/gstreamer-libs-docs.sgml:
22722 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22725 * tests/complexity.c (main): Set the length of the preroll queue
22726 on the sinks to prevent a lockup.
22728 * libs/gst/dataprotocol/Makefile.am:
22729 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22730 the same as the one in check/gst-libs/gdp.c.
22732 * po/, docs/gst/: Commit automatic changes to docs and po files.
22734 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22735 the versioned libgstbase.
22737 * check/Makefile.am: Depend on an unversioned gst-register, seems
22738 to make autoconf happier.
22740 * gst/base/Makefile.am: Make libgstbase a versioned lib.
22742 2005-03-28 Wim Taymans <wim@fluendo.com>
22745 * docs/design/part-gstelement.txt:
22746 * docs/design/part-negotiation.txt:
22747 * docs/design/part-preroll.txt:
22748 * docs/design/part-scheduling.txt:
22749 * docs/design/part-states.txt:
22751 * gst/base/Makefile.am:
22753 * gst/base/gstbasesink.c: (gst_basesink_get_template),
22754 (gst_basesink_base_init), (gst_basesink_class_init),
22755 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22756 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22757 (gst_basesink_set_pad_functions),
22758 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22759 (gst_basesink_set_property), (gst_basesink_get_property),
22760 (gst_base_sink_get_template), (gst_base_sink_get_caps),
22761 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22762 (gst_basesink_preroll_queue_push),
22763 (gst_basesink_preroll_queue_empty),
22764 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22765 (gst_basesink_event), (gst_basesink_get_times),
22766 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22767 (gst_basesink_chain_unlocked), (gst_basesink_chain),
22768 (gst_basesink_loop), (gst_basesink_activate),
22769 (gst_basesink_change_state):
22770 * gst/base/gstbasesink.h:
22771 * gst/elements/Makefile.am:
22772 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22773 (gst_fakesink_class_init), (gst_fakesink_init),
22774 (gst_fakesink_set_property), (gst_fakesink_get_property),
22775 (gst_fakesink_get_times), (gst_fakesink_event),
22776 (gst_fakesink_preroll), (gst_fakesink_render),
22777 (gst_fakesink_change_state):
22778 * gst/elements/gstfakesink.h:
22779 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22780 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22781 * gst/gstelement.c: (gst_element_add_pad),
22782 (gst_element_get_state_func), (gst_element_abort_state),
22783 (gst_element_commit_state), (gst_element_lost_state),
22784 (gst_element_set_state), (gst_element_pads_activate):
22785 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22786 * gst/gstpipeline.c: (gst_pipeline_send_event),
22787 (gst_pipeline_change_state):
22788 Added state change code.
22789 Added/updated docs.
22790 Added sink base class, make fakesink extend the base class.
22791 Small cleanups in GstPipeline.
22793 2005-03-26 David Schleef <ds@schleef.org>
22795 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
22796 is broken and should be implemented in a different library.
22797 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22798 * gst/gst.h: remove gstcpu.h
22799 * gst/gstcpu.c: remove
22800 * gst/gstcpu.h: remove
22801 * gst/Makefile.am.future: Remove this file. It's ancient.
22803 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22805 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22806 (gst_bin_send_event):
22807 Add default event/set_manager handlers. The set_manager handler
22808 takes care that the manager is distributed over kids that were
22809 already in the bin before the manager was set. The event handler
22810 is a utility virtual function that sends the event over all sinks,
22811 so that gst_element_send_event (bin, event); has the expected
22813 * gst/gstpad.c: (gst_pad_event_default):
22814 Re-install default event handling for discontinuities, so that
22815 seeking works without requiring hacks in applications or extra
22817 * gst/gstpipeline.c: (gst_pipeline_class_init),
22818 (gst_pipeline_send_event):
22819 Half hack, half utility: set a pipeline to PAUSED for seek events,
22820 since that is the only way we can guarantee a/v sync. Means that
22821 you can do gst_element_seek (pipeline, method, pos); on a pipeline
22822 and it "just works".
22824 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22826 * gst/gstpipeline.c: (gst_pipeline_use_clock):
22827 Lock/unlock mismatch.
22829 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
22831 * docs/faq/gst-uninstalled:
22832 add gst-plugins-base
22833 * docs/gst/Makefile.am:
22834 don't error out until docs are fixed
22835 * docs/gst/gstreamer.types:
22838 2005-03-22 Wim Taymans <wim@fluendo.com>
22840 * check/Makefile.am:
22841 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22842 * gst/gststructure.c: (gst_structure_set_valist),
22843 (gst_structure_copy_conditional):
22844 Activated more tests.
22845 Added message test.
22846 Added G_TYPE_POINTER to GstStructure.
22849 2005-03-22 Wim Taymans <wim@fluendo.com>
22851 * docs/design/part-TODO.txt:
22852 * docs/design/part-events.txt:
22853 * docs/design/part-gstbin.txt:
22854 * docs/design/part-gstbus.txt:
22855 * docs/design/part-gstpipeline.txt:
22856 * docs/design/part-messages.txt:
22858 * gst/gstmessage.c:
22861 2005-03-21 Wim Taymans <wim@fluendo.com>
22863 * gst/gstbus.c: (gst_bus_post):
22864 Fix copy-and-paste error.
22866 2005-03-21 Wim Taymans <wim@fluendo.com>
22868 * check/Makefile.am:
22870 * gst/elements/Makefile.am:
22871 * gst/elements/gstelements.c:
22872 * gst/elements/gstfakesink.c: (gst_fakesink_init),
22873 (gst_fakesink_event), (gst_fakesink_chain):
22874 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22875 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22876 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22877 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22878 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22879 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22880 (gst_fakesrc_loop), (gst_fakesrc_activate),
22881 (gst_fakesrc_change_state):
22882 * gst/elements/gstfakesrc.h:
22883 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22884 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22885 (gst_filesrc_open_file), (gst_filesrc_loop),
22886 (gst_filesrc_activate), (gst_filesrc_change_state),
22887 (filesrc_find_peek), (filesrc_find_suggest),
22888 (gst_filesrc_type_find):
22889 * gst/elements/gstidentity.c: (gst_identity_finalize),
22890 (gst_identity_class_init), (gst_identity_init),
22891 (gst_identity_proxy_getcaps), (identity_queue_push),
22892 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22893 (gst_identity_getrange), (gst_identity_chain),
22894 (gst_identity_sink_loop), (gst_identity_src_loop),
22895 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22896 (gst_identity_set_property), (gst_identity_get_property),
22897 (gst_identity_change_state):
22898 * gst/elements/gstidentity.h:
22899 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22900 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22901 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22902 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22903 (gst_tee_sink_activate):
22904 * gst/elements/gsttee.h:
22905 * gst/gst.c: (gst_register_core_elements), (init_post):
22907 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22908 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22909 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22910 (gst_bin_change_state):
22912 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22913 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22914 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22915 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22916 (gst_bus_set_sync_handler), (gst_bus_create_watch),
22917 (bus_watch_callback), (bus_watch_destroy),
22918 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22919 (poll_timeout), (gst_bus_poll):
22923 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22924 (gst_element_post_message), (gst_element_message_full),
22925 (gst_element_get_state_func), (gst_element_get_state),
22926 (gst_element_abort_state), (gst_element_commit_state),
22927 (gst_element_lost_state), (gst_element_set_state),
22928 (gst_element_pads_activate), (gst_element_change_state),
22929 (gst_element_dispose), (gst_element_set_manager_func),
22930 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22931 (gst_element_set_manager), (gst_element_get_manager),
22932 (gst_element_set_bus), (gst_element_get_bus),
22933 (gst_element_set_scheduler), (gst_element_get_scheduler):
22934 * gst/gstelement.h:
22935 * gst/gstevent.c: (gst_event_new_segment_seek),
22936 (gst_event_new_flush):
22938 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22939 (_gst_message_free), (gst_message_get_type), (gst_message_new),
22940 (gst_message_new_eos), (gst_message_new_error),
22941 (gst_message_new_warning), (gst_message_new_tag),
22942 (gst_message_new_state_changed), (gst_message_new_application),
22943 (gst_message_get_structure), (gst_message_parse_tag),
22944 (gst_message_parse_state_changed), (gst_message_parse_error),
22945 (gst_message_parse_warning):
22946 * gst/gstmessage.h:
22947 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22948 (gst_real_pad_set_property), (gst_pad_set_active),
22949 (gst_pad_is_active), (gst_pad_set_blocked_async),
22950 (gst_pad_set_blocked), (gst_pad_is_blocked),
22951 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22952 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22953 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22954 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22955 (gst_pad_link_filtered), (gst_pad_relink_filtered),
22956 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22957 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22958 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22959 (gst_pad_set_caps), (gst_pad_configure_sink),
22960 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22961 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22962 (gst_real_pad_dispose), (gst_real_pad_finalize),
22963 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22964 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22965 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22967 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22968 (pipeline_bus_handler), (gst_pipeline_change_state),
22969 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22970 * gst/gstpipeline.h:
22972 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22973 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22974 (gst_queue_link_src), (gst_queue_bufferalloc),
22975 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22976 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22977 (gst_queue_loop), (gst_queue_handle_src_event),
22978 (gst_queue_handle_src_query), (gst_queue_src_activate),
22979 (gst_queue_change_state):
22981 * gst/gstscheduler.c: (gst_scheduler_init),
22982 (gst_scheduler_dispose), (gst_scheduler_create_task),
22983 (gst_scheduler_factory_create):
22984 * gst/gstscheduler.h:
22985 * gst/gststructure.c: (gst_structure_get_type),
22986 (gst_structure_copy_conditional):
22987 * gst/gststructure.h:
22988 * gst/gsttaginterface.h:
22989 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22990 (gst_task_init), (gst_task_dispose), (gst_task_create),
22991 (gst_task_get_state), (gst_task_start), (gst_task_stop),
22997 * gst/schedulers/Makefile.am:
22998 * gst/schedulers/cothreads_compat.h:
22999 * gst/schedulers/entryscheduler.c:
23000 * gst/schedulers/faircothreads.c:
23001 * gst/schedulers/faircothreads.h:
23002 * gst/schedulers/fairscheduler.c:
23003 * gst/schedulers/gstbasicscheduler.c:
23004 * gst/schedulers/gstoptimalscheduler.c:
23005 * gst/schedulers/gthread-cothreads.h:
23006 * gst/schedulers/threadscheduler.c:
23007 (gst_thread_scheduler_task_get_type),
23008 (gst_thread_scheduler_task_class_init),
23009 (gst_thread_scheduler_task_init),
23010 (gst_thread_scheduler_task_start),
23011 (gst_thread_scheduler_task_stop),
23012 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
23013 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23014 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
23015 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
23017 * libs/gst/Makefile.am:
23018 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
23019 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
23020 (gst_file_pad_parent_set):
23021 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23022 (gst_dp_event_from_packet):
23023 * tests/complexity.c: (main):
23024 * tests/mass_elements.c: (main):
23025 * testsuite/states/locked.c: (message_received), (main):
23026 * testsuite/states/parent.c: (main):
23027 * tools/gst-inspect.c: (print_element_flag_info),
23028 (print_implementation_info), (print_pad_info):
23029 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
23031 * tools/gst-md5sum.c: (event_loop), (main):
23032 * tools/gst-typefind.c: (main):
23033 * tools/gst-xmlinspect.c: (print_element_info):
23035 Added GstBus for mainloop integration.
23036 Added GstMessage for sending notifications on the bus.
23037 Added GstTask as an abstraction for pipeline entry points.
23039 Removed Schedulers.
23040 Simplified GstQueue for multithreaded core.
23041 Made _link threadsafe, removed old capsnego.
23042 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
23043 Added pad blocking functions.
23044 Reworked scheduling functions in GstPad to prepare for
23045 scheduling updates soon.
23046 Moved events out of data stream.
23047 Simplified GstEvent types.
23048 Added return values to push/pull.
23049 Removed clocking from GstElement.
23050 Added prototypes for state change function for next merge.
23051 Removed iterate from bins and state change management.
23052 Fixed some elements, disabled others for now.
23053 Fixed -inspect and -launch.
23054 Added check for GstBus.
23056 2005-03-10 Wim Taymans <wim@fluendo.com>
23058 * docs/design/part-MT-refcounting.txt:
23059 * docs/design/part-clocks.txt:
23060 * docs/design/part-gstelement.txt:
23061 * docs/design/part-gstobject.txt:
23062 * docs/design/part-standards.txt:
23063 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23064 (gst_bin_remove_func), (gst_bin_remove):
23068 * testsuite/clock/clock1.c: (main):
23069 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
23071 * testsuite/dlopen/loadgst.c: (do_test):
23072 * testsuite/refcounting/bin.c: (add_remove_test1),
23073 (add_remove_test2), (main):
23074 * testsuite/refcounting/element.c: (main):
23075 * testsuite/refcounting/element_pad.c: (main):
23076 * testsuite/refcounting/pad.c: (main):
23077 * tools/gst-launch.c: (sigint_handler_sighandler):
23078 * tools/gst-typefind.c: (main):
23080 Added doc about clock.
23081 removed gst_bin_iterate_recurse_up(), marked methods
23083 Fix more testsuites.
23085 2005-03-09 Wim Taymans <wim@fluendo.com>
23087 * gst/gstpad.c: (gst_pad_get_direction),
23088 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
23089 (gst_pad_collect_valist):
23090 * testsuite/bins/interface.c: (main):
23091 * testsuite/caps/audioscale.c: (test_caps):
23092 * testsuite/caps/caps.c: (test1), (test2), (test3):
23093 * testsuite/caps/deserialize.c: (main):
23094 * testsuite/caps/enumcaps.c: (main):
23095 * testsuite/caps/filtercaps.c: (main):
23096 * testsuite/caps/intersect2.c: (main):
23097 * testsuite/caps/random.c: (main):
23098 * testsuite/caps/renegotiate.c: (my_fixate), (main):
23099 * testsuite/caps/sets.c: (check_caps):
23100 * testsuite/caps/simplify.c: (check_caps), (main):
23101 * testsuite/caps/subtract.c: (check_caps):
23102 Fix _pad_get_direction wrt ghostpads.
23103 Fix caps testsuite.
23105 2005-03-09 Wim Taymans <wim@fluendo.com>
23107 * check/Makefile.am:
23108 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
23109 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
23110 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
23111 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
23112 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
23113 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
23114 (gst_bin_remove), (gst_bin_iterate_recurse_up),
23115 (bin_element_is_sink), (gst_bin_iterate_sinks),
23116 (gst_bin_iterate_all_by_interface):
23118 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
23119 (gst_element_change_state), (gst_element_dispose),
23120 (gst_element_finalize), (gst_element_set_loop_function):
23121 * gst/gstelement.h:
23122 * gst/gstiterator.c: (find_custom_fold_func):
23123 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
23124 (gst_pad_collectv), (gst_pad_collect_valist),
23125 (gst_pad_template_new):
23126 * gst/gstpipeline.c: (gst_pipeline_class_init),
23127 (gst_pipeline_dispose), (gst_pipeline_set_property),
23128 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
23129 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
23130 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
23132 * gst/schedulers/entryscheduler.c:
23133 * gst/schedulers/gstbasicscheduler.c:
23134 (gst_basic_scheduler_cothreaded_chain),
23135 (gst_basic_scheduler_chain_add_element):
23136 * testsuite/bins/interface.c: (main):
23138 Added GstSystemClock test.
23139 Implemented clock distribution code in GstBin.
23140 Implemented iterate sinks method for future use.
23141 Rearranged gstelement.h
23142 Fix GstIterator comparison bug.
23143 Moved some code to GstPipeline, mostly clocking related.
23145 2005-03-09 Wim Taymans <wim@fluendo.com>
23148 * gst/gst_private.h:
23149 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23150 (gst_bin_remove_func), (gst_bin_remove),
23151 (gst_bin_get_by_name_recurse_up):
23152 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
23153 (gst_clock_id_compare_func), (gst_clock_id_wait),
23154 (gst_clock_id_wait_async), (gst_clock_init),
23155 (gst_clock_adjust_unlocked), (gst_clock_get_time):
23156 * gst/gstelement.h:
23157 * gst/gstinfo.c: (_gst_debug_init):
23159 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
23160 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
23162 Bump version number, we're now 0.9.0
23163 Add future debugging category.
23164 Fix NULL _unref() in _get_by_name_recurse_up
23165 Rearrange gstpad.h.
23168 2005-03-08 Wim Taymans <wim@fluendo.com>
23170 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
23171 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
23172 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23173 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
23174 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
23175 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
23176 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
23177 * gst/elements/gstidentity.c: (gst_identity_class_init):
23178 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
23179 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
23180 * gst/elements/gstshaper.c: (gst_shaper_class_init):
23181 * gst/elements/gststatistics.c: (gst_statistics_class_init):
23182 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
23184 * gst/gstelement.c: (gst_element_class_init),
23185 (gst_element_base_class_init), (gst_element_init),
23186 (gst_element_get_random_pad), (gst_element_wait_state_change),
23187 (gst_element_change_state), (gst_element_dispose),
23188 (gst_element_finalize), (gst_element_set_loop_function):
23189 * gst/gstelement.h:
23190 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
23191 * gst/gstthread.c: (gst_thread_class_init),
23192 (gst_thread_release_children_locks), (gst_thread_change_state):
23193 * gst/schedulers/gstbasicscheduler.c:
23194 (gst_basic_scheduler_loopfunc_wrapper),
23195 (gst_basic_scheduler_chain_wrapper),
23196 (gst_basic_scheduler_src_wrapper),
23197 (gst_basic_scheduler_remove_element):
23198 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
23199 Remove threadsafe properties. Fix elements because GObject
23200 complains when installing a property before declaring a
23201 set/get_property handler.
23202 Rearrange gstelement.h file, use STATE macros for state locks.
23203 Free mutexes in the finalize method instead of dispose.
23205 2005-03-08 Wim Taymans <wim@fluendo.com>
23207 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23208 * gst/gstthread.c: (gst_thread_release_children_locks):
23209 Added parentage check.
23210 Fix build og GstThread again.
23212 2005-03-08 Wim Taymans <wim@fluendo.com>
23214 * docs/design/part-MT-refcounting.txt:
23215 * docs/design/part-conventions.txt:
23216 * docs/design/part-gstobject.txt:
23217 * docs/design/part-relations.txt:
23218 * docs/design/part-standards.txt:
23219 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23220 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
23221 (gst_bin_get_by_name), (gst_bin_get_by_interface),
23222 (gst_bin_iterate_all_by_interface):
23225 * gst/gstelement.c: (gst_element_class_init),
23226 (gst_element_change_state), (gst_element_set_loop_function):
23227 * gst/gstelement.h:
23228 * gst/gstiterator.c:
23229 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
23230 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
23231 (gst_object_dispatch_properties_changed), (gst_object_set_name),
23232 (gst_object_set_parent), (gst_object_unparent),
23233 (gst_object_check_uniqueness):
23235 Docs updates, clean up some headers.
23237 2005-03-07 Wim Taymans <wim@fluendo.com>
23239 * check/.cvsignore:
23240 * check/Makefile.am:
23241 * check/gst-libs/.cvsignore:
23242 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
23243 * check/gst/.cvsignore:
23244 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
23245 (START_TEST), (gstbus_suite), (main):
23246 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
23247 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
23248 (gst_data_suite), (main):
23249 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
23250 (add_fold_func), (gstiterator_suite), (main):
23251 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
23252 (thread_name_object), (thread_name_object_default),
23253 (gst_object_name_compare), (gst_object_suite), (main):
23254 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
23255 (gst_pad_suite), (main):
23256 * check/gstcheck.c: (gst_check_log_message_func),
23257 (gst_check_log_critical_func), (gst_check_init):
23258 * check/gstcheck.h:
23259 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
23260 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
23263 2005-03-07 Wim Taymans <wim@fluendo.com>
23265 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23266 (gst_list_iterator_next), (gst_list_iterator_resync),
23267 (gst_list_iterator_free), (gst_iterator_new_list),
23268 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
23269 (gst_iterator_free), (gst_iterator_push), (filter_next),
23270 (filter_resync), (filter_uninit), (filter_free),
23271 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
23272 (gst_iterator_foreach), (find_custom_fold_func),
23273 (gst_iterator_find_custom):
23274 * gst/gstiterator.h:
23275 Added missing files.
23277 2005-03-07 Wim Taymans <wim@fluendo.com>
23281 * docs/design/part-MT-refcounting.txt:
23282 * docs/design/part-conventions.txt:
23283 * docs/design/part-gstobject.txt:
23284 * docs/design/part-relations.txt:
23285 * examples/mixer/mixer.c: (main):
23286 * examples/thread/thread.c: (eos), (main):
23288 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
23289 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
23290 (gst_spider_plug_from_srcpad):
23291 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
23292 (gst_spider_identity_change_state),
23293 (gst_spider_identity_sink_loop_type_finding):
23294 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
23295 * gst/elements/gstidentity.c: (gst_identity_init):
23296 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
23297 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
23298 * gst/elements/gsttypefindelement.c: (free_entry):
23301 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
23302 (gst_bin_set_clock_func), (gst_bin_auto_clock),
23303 (gst_bin_set_index), (gst_bin_set_element_sched),
23304 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
23305 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
23306 (gst_bin_iterate_elements), (iterate_child_recurse),
23307 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
23308 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
23309 (compare_interface), (gst_bin_get_by_interface),
23310 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
23312 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
23313 (gst_buffer_default_free), (gst_buffer_default_copy),
23314 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
23315 (gst_buffer_create_sub):
23317 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
23318 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
23319 (gst_caps_unref), (gst_static_caps_get),
23320 (gst_caps_remove_and_get_structure), (gst_caps_append),
23321 (gst_caps_append_structure), (gst_caps_remove_structure),
23322 (gst_caps_copy_nth), (gst_caps_set_simple),
23323 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
23324 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
23325 (gst_caps_structure_intersect_field), (gst_caps_intersect),
23326 (gst_caps_structure_subtract_field), (gst_caps_subtract),
23327 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
23328 (gst_caps_structure_figure_out_union),
23329 (gst_caps_switch_structures), (gst_caps_do_simplify),
23330 (gst_caps_replace), (gst_caps_from_string),
23331 (gst_caps_copy_conditional):
23333 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
23334 (_gst_clock_id_free), (gst_clock_id_unref),
23335 (gst_clock_id_compare_func), (gst_clock_id_wait),
23336 (gst_clock_id_wait_async), (gst_clock_class_init),
23337 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
23338 (gst_clock_get_time), (gst_clock_set_time_adjust),
23339 (gst_clock_set_property), (gst_clock_get_property):
23342 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
23343 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
23345 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
23346 (gst_element_requires_clock), (gst_element_provides_clock),
23347 (gst_element_set_clock), (gst_element_clock_wait),
23348 (gst_element_wait), (gst_element_set_time_delay),
23349 (gst_element_is_indexable), (gst_element_add_pad),
23350 (gst_element_add_ghost_pad), (gst_element_remove_pad),
23351 (pad_compare_name), (gst_element_get_static_pad),
23352 (gst_element_request_pad), (gst_element_get_request_pad),
23353 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
23354 (gst_element_class_get_pad_template_list),
23355 (gst_element_class_get_pad_template), (gst_element_error_func),
23356 (gst_element_get_random_pad), (gst_element_get_event_masks),
23357 (gst_element_send_event), (gst_element_seek),
23358 (gst_element_get_query_types), (gst_element_query),
23359 (gst_element_get_formats), (gst_element_convert),
23360 (gst_element_is_locked_state), (gst_element_set_locked_state),
23361 (gst_element_sync_state_with_parent), (gst_element_change_state),
23362 (gst_element_finalize), (gst_element_yield),
23363 (gst_element_interrupt), (gst_element_set_scheduler),
23364 (gst_element_get_scheduler), (gst_element_set_loop_function):
23365 * gst/gstelement.h:
23367 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
23368 (gst_format_get_by_nick), (gst_format_get_details),
23369 (gst_format_iterate_definitions):
23371 * gst/gstindex.c: (gst_index_gtype_resolver):
23374 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
23375 (gst_mem_chunk_free):
23376 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
23377 (gst_object_ref), (gst_object_unref), (gst_object_sink),
23378 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
23379 (gst_object_dispatch_properties_changed),
23380 (gst_object_set_name_default), (gst_object_set_name),
23381 (gst_object_get_name), (gst_object_set_name_prefix),
23382 (gst_object_get_name_prefix), (gst_object_set_parent),
23383 (gst_object_get_parent), (gst_object_unparent),
23384 (gst_object_check_uniqueness), (gst_object_save_thyself),
23385 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
23386 (gst_object_set_property), (gst_object_get_property),
23387 (gst_object_get_path_string):
23389 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23390 (gst_real_pad_init), (gst_real_pad_get_property),
23391 (gst_pad_custom_new), (gst_pad_get_direction),
23392 (gst_pad_set_active), (gst_pad_is_active),
23393 (gst_pad_set_event_function), (gst_pad_is_linked),
23394 (gst_pad_link_free), (gst_pad_link_intersect),
23395 (gst_pad_link_fixate), (gst_pad_set_caps),
23396 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
23397 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
23398 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
23399 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
23400 (gst_pad_get_caps), (gst_pad_peer_get_caps),
23401 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
23402 (gst_pad_realize), (gst_pad_get_allowed_caps),
23403 (gst_real_pad_dispose), (gst_real_pad_finalize),
23404 (gst_pad_collectv), (gst_pad_collect_valist),
23405 (gst_pad_template_dispose), (gst_pad_template_new),
23406 (gst_pad_get_internal_links):
23408 * gst/gstpipeline.c: (gst_pipeline_dispose),
23409 (gst_pipeline_change_state):
23410 * gst/gstpipeline.h:
23412 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
23413 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
23414 * gst/gstpluginfeature.h:
23415 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
23416 * gst/gstquery.c: (_gst_query_type_initialize),
23417 (gst_query_type_register), (gst_query_type_get_by_nick),
23418 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
23420 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
23421 * gst/gstscheduler.c: (gst_scheduler_add_element),
23422 (gst_scheduler_factory_create):
23423 * gst/gststructure.c: (gst_structure_set_parent_refcount),
23424 (gst_structure_free), (gst_structure_set_name),
23425 (gst_structure_id_set_value), (gst_structure_set_value),
23426 (gst_structure_set_valist), (gst_structure_remove_field),
23427 (gst_structure_remove_fields),
23428 (gst_structure_remove_fields_valist),
23429 (gst_structure_remove_all_fields), (gst_structure_foreach),
23430 (gst_structure_map_in_place),
23431 (gst_caps_structure_fixate_field_nearest_int),
23432 (gst_caps_structure_fixate_field_nearest_double):
23433 * gst/gststructure.h:
23434 * gst/gstsystemclock.c: (gst_system_clock_class_init),
23435 (gst_system_clock_init), (gst_system_clock_dispose),
23436 (gst_system_clock_async_thread),
23437 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
23438 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
23439 * gst/gstsystemclock.h:
23440 * gst/gsttag.c: (gst_tag_list_add_value_internal),
23441 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
23442 * gst/gsttaginterface.c:
23443 * gst/gstthread.c: (gst_thread_dispose),
23444 (gst_thread_release_children_locks), (gst_thread_change_state),
23445 (gst_thread_main_loop):
23446 * gst/gsttrashstack.h:
23447 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
23449 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23450 (gst_element_request_pad), (gst_element_get_pad_from_template),
23451 (gst_element_request_compatible_pad),
23452 (gst_element_get_compatible_pad_filtered),
23453 (gst_element_get_compatible_pad), (gst_element_state_get_name),
23454 (gst_element_link_pads_filtered), (gst_element_link_filtered),
23455 (gst_element_link_many), (gst_element_link),
23456 (gst_element_link_pads), (gst_element_unlink_pads),
23457 (gst_element_unlink_many), (gst_element_unlink),
23458 (gst_pad_can_link_filtered), (gst_pad_can_link),
23459 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
23460 (gst_object_default_error), (gst_bin_add_many),
23461 (gst_bin_remove_many), (gst_element_populate_std_props),
23462 (gst_element_class_install_std_props), (gst_buffer_merge),
23463 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
23464 (link_fold_func), (gst_pad_proxy_setcaps):
23466 * gst/gstvalue.c: (gst_value_deserialize_string):
23467 * gst/parse/grammar.y:
23468 * gst/schedulers/gstbasicscheduler.c:
23469 (gst_basic_scheduler_cothreaded_chain),
23470 (gst_basic_scheduler_chain_recursive_add),
23471 (gst_basic_scheduler_pad_link):
23472 * gst/schedulers/gstoptimalscheduler.c:
23473 (get_group_schedule_function),
23474 (gst_opt_scheduler_state_transition),
23475 (gst_opt_scheduler_add_element), (element_get_reachables_func):
23476 * libs/gst/bytestream/bytestream.c:
23477 * libs/gst/dataprotocol/dataprotocol.c:
23478 (gst_dp_header_from_buffer):
23481 * tests/threadstate/threadstate2.c: (eos):
23482 * tools/gst-compprep.c: (main):
23483 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
23484 (print_pad_info), (print_children_info):
23485 * tools/gst-launch.c: (idle_func), (main):
23486 * tools/gst-md5sum.c: (idle_func), (main):
23487 * tools/gst-xmlinspect.c: (print_element_info):
23488 First THREADED backport attempt, focusing on adding locks and
23489 making sure the API is threadsafe. Needs more work. More docs
23492 2005-02-24 Andy Wingo <wingo@pobox.com>
23494 * tests/bench-complexity.scm:
23495 * tests/complexity.gnuplot: New files, good for running complexity
23498 * tests/Makefile.am:
23499 * tests/complexity.c: New test, sets up N elements, at each level
23500 teeing into M streams per element. Eeeenteresting.
23502 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
23503 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
23504 running bench-mass_elements.scm.
23506 * tests/bench-mass_elements.scm: New script, runs mass_elements
23507 for various numbers of identities, outputting the results to a
23508 file. Requires guile 1.6. Just for testing.
23510 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
23512 * gst/schedulers/fairscheduler.c:
23513 compile with debug disabled
23515 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
23518 hunting season on 0.9 is now OPEN