1 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3 * libs/gst/controller/gstinterpolation.c:
4 (interpolate_trigger_get_enum_value_array),
5 (interpolate_trigger_get_string_value_array):
6 Add support for retrieving value arrays when using the trigger
9 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
11 * libs/gst/controller/gstcontroller.c:
12 (gst_controller_get_value_array):
13 * libs/gst/controller/gstcontroller.h:
14 Clarify the docs of gst_controller_get_value_array(): The array where
15 the values should be written to must be allocated as there seems to be
16 no way to get the size of a random GType. This doesn't change any
17 behaviour. Also fix some typos all over the place and remove an unused,
18 commented function that is not necessary as g_object_set() could be
20 * tests/check/libs/controller.c: (GST_START_TEST),
21 (gst_controller_suite):
22 Add unit test for gst_controller_get_value_array().
24 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
26 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
28 Disable part of the gst_buffer_try_new_and_alloc test, because
29 it can happily succeed on 64-bit systems where there's more address
32 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
34 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
35 Add unit test for the improved caps checking from bug #421543.
37 2007-05-21 Wim Taymans <wim@fluendo.com>
39 * docs/design/part-synchronisation.txt:
42 * gst/gstbin.c: (gst_bin_query):
43 * plugins/elements/gstqueue.c: (apply_segment):
49 2007-05-21 Wim Taymans <wim@fluendo.com>
51 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
52 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
53 (gst_pad_configure_src):
54 Added simple version of improved caps checking. It was previously
55 assumed that a setcaps function would check the validity of the caps but
56 people prefer us to check caps against the template automatically.
59 2007-05-21 Wim Taymans <wim@fluendo.com>
61 * libs/gst/base/gstbasetransform.h:
62 Fix macro for locking/unlocking the transform lock.
64 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
66 * docs/plugins/tmpl/.cvsignore:
69 2007-05-18 Edward Hervey <edward@fluendo.com>
71 * plugins/elements/gstqueue.c: (gst_queue_loop):
72 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
73 for the subtle art of warning a potentially blocking thread that it
74 should check the source pad return value, and relay the information
77 2007-05-18 Edward Hervey <edward@fluendo.com>
79 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
80 Release the queue lock !
82 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
84 * docs/libs/gstreamer-libs-sections.txt:
85 Add the two new controller functions to the appropiate places.
87 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
89 reviewed by: Stefan Kost <ensonic@users.sf.net>
91 * libs/gst/controller/gstcontroller.c:
92 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
93 (_gst_controller_get_property), (_gst_controller_set_property),
94 (_gst_controller_init), (_gst_controller_class_init):
95 * libs/gst/controller/gstcontroller.h:
96 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
97 (gst_object_get_control_rate), (gst_object_set_control_rate):
98 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
99 Add API that provides sync suggestion timestamps for elements that
100 call gst_object_sync_values() from which those elements can subdivide
101 their processing loop to get the best results for the controlled
102 properties. For now it just suggests last_sync + control_rate as
103 new timestamp but this will be improved in the future.
105 While doing that change the control-rate property to a GstClockTime
106 from guint and change it's meaning from samples to nanoseconds as
107 the GstController doesn't know anything about sampling rate. Strictly
108 speaking this breaks ABI but as the control-rate property didn't do
109 anything in the past and as such couldn't be used this should be no
112 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
114 reviewed by: Stefan Kost <ensonic@users.sf.net>
116 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
117 (gst_controller_unset_all):
118 * libs/gst/controller/gstcontrollerprivate.h:
119 * libs/gst/controller/gstinterpolation.c:
120 (gst_controlled_property_find_control_point_node):
121 Save last synced value from the list to continue searching from there
122 in future syncs. This speeds everything up a bit.
124 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
126 reviewed by: Stefan Kost <ensonic@users.sf.net>
128 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
129 (gst_control_point_find), (gst_controlled_property_new),
130 (gst_control_point_free), (gst_controlled_property_free),
131 (gst_controller_set), (gst_controller_set_from_list),
132 (gst_controller_unset), (gst_controller_unset_all),
133 (gst_controller_sync_values):
134 * libs/gst/controller/gstcontroller.h:
135 * libs/gst/controller/gstcontrollerprivate.h:
136 * libs/gst/controller/gstinterpolation.c:
137 (gst_controlled_property_find_control_point_node),
138 (interpolate_none_get), (interpolate_trigger_get):
139 Add a new private GstControlPoint struct which "inherits" from
140 GstTimedValue to allow different interpolators to store internal
141 values next to each control point. From the outside everything is
142 still a GstControlPoint so we don't loose binary compatibility.
143 Also fixup all the GValue handling to not leak GValues or list nodes.
144 * tests/check/libs/controller.c: (GST_START_TEST):
145 Free the list nodes and GValues in the controller_misc test.
147 2007-05-17 Edward Hervey <edward@fluendo.com>
152 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
154 * gst/gstplugin.c: (gst_plugin_load_file):
155 If we fail to load a plugin because of unresolved symbols or missing
156 libraries and spew a warning to stderr, we may just as well mention
157 which plugin it was that failed to load.
159 2007-05-13 David Schleef <ds@schleef.org>
161 * docs/Makefile.am: the gtk-doc makefile snippet correctly
162 handles the case when ENABLE_GTK_DOC is false, and installs
163 the prebuilt documentation. So gtk-doc subdirs are
164 unconditionally enabled. Fixes: #349099.
166 2007-05-13 David Schleef <ds@schleef.org>
168 * gst/gstutils.h: Reword some documentation.
170 2007-05-12 David Schleef <ds@schleef.org>
172 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
173 do anything with the passed "module" parameter, so remove it.
174 Allows removal of additional vestigal code.
176 2007-05-12 David Schleef <ds@schleef.org>
179 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
180 Switch to using g_stat() because it's more portable.
182 2007-05-12 David Schleef <ds@schleef.org>
185 Add GST_DISABLE_OPTION_PARSING, in order to disable option
186 parsing for embedded systems.
187 * gst/gstelementfactory.c:
188 Allow gst_element_register() to be called with plugin==NULL.
189 Did nobody notice that static elements were broken?
191 2007-05-12 Wim Taymans <wim@fluendo.com>
193 * tools/gst-launch.c: (event_loop):
194 Give more interesting info when buffering starts and stops.
195 Fix case where buffering starts but we fail to update the buffering flag
196 because the target state is not PLAYING.
198 2007-05-12 Wim Taymans <wim@fluendo.com>
200 * plugins/elements/gstqueue.c: (gst_queue_init),
201 (gst_queue_finalize), (update_time_level), (apply_segment),
202 (apply_buffer), (gst_queue_locked_flush),
203 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
204 (gst_queue_handle_sink_event), (gst_queue_chain),
205 (gst_queue_push_one), (gst_queue_loop):
206 * plugins/elements/gstqueue.h:
207 Refactor an cleanup queue a bit.
208 Do better time level calculations that also work when the srcpad is not
210 Remove some unneeded debug lines.
212 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
213 Added testcase for time level measurement.
214 Try to make some stuff more racefree.
216 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
218 * gst/gsturi.c: (gst_element_make_from_uri):
219 Don't leak plugin feature.
221 * tests/check/Makefile.am:
222 * tests/check/gst/.cvsignore:
223 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
224 Add brain-dead unit test.
226 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
228 Patch by: Jeroen Wouters <woutersj at gmail com>
230 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
231 Treat protocol strings in a case-insensitive way (#437563).
233 2007-05-11 Michael Smith <msmith@fluendo.com>
235 * gst/gstplugin.c: (gst_plugin_load_file):
236 * gst/gstregistry.c: (gst_registry_scan_path_level):
237 Don't print a g_warning for any failure to load a shared object.
238 Instead, push this down into gstplugin.c, and warn _only_ if we
239 failed to open the module (i.e. failure to link).
240 Avoids warnings on normal, working, non-plugin .so files.
242 2007-05-11 Stefan Kost <ensonic@users.sf.net>
244 * gst/gstplugin.c (gst_plugin_load_file):
245 * gst/gstregistry.c (GST_CAT_DEFAULT,
246 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
247 Print a g_warning if there was an error when loading a plugins during
248 registry scan. The shuld help beginners starting with gst-plugin
251 2007-05-10 Wim Taymans <wim@fluendo.com>
253 * plugins/elements/gstqueue.c: (gst_queue_class_init),
254 (update_time_level), (gst_queue_locked_flush),
255 (gst_queue_handle_sink_event), (gst_queue_chain),
256 (gst_queue_push_one), (gst_queue_loop):
257 * plugins/elements/gstqueue.h:
258 Be smarter when calculating the current amount of data in the queue by
259 measuring the difference between start and end timestamps (in running
260 time) inside the queue. Fixes #432876.
261 API: GstQueue::pushing to notify elements that we are pushing data again
262 since the running signal is rather broken for this purpose.
264 2007-05-10 Stefan Kost <ensonic@users.sf.net>
266 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
267 gst_queue_base_init, gst_queue_init):
270 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
272 * win32/common/libgstreamer.def:
273 Add new exported functions.
274 * win32/vs6/grammar.dsp:
275 Use grammar pre-generated files.
277 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
279 Based on patch by: Peter Kjellerstedt <pkj at axis com>
282 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
284 * gst/gstutils.c: (gst_parse_bin_from_description):
286 Maintain API and ABI when --disable-parse is used. Now that
287 we have an appropriate error code, we can just return NULL and the
288 appropriate error when gst_parse_launch() is used despite it having
289 been disabled (#342564).
291 * tests/check/Makefile.am:
292 * tests/check/pipelines/.cvsignore:
293 * tests/check/pipelines/parse-disabled.c:
294 Make sure these functions exist and return NULL plus a GError when
295 --disable-parse is used.
297 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
299 * tests/benchmarks/complexity.c: (main):
300 * tests/benchmarks/mass-elements.c: (main):
301 Set a good example and don't leak messages.
303 2007-05-06 Stefan Kost <ensonic@users.sf.net>
305 * docs/gst/Makefile.am:
306 * docs/libs/Makefile.am:
307 Correct fixxrefs options.
309 * docs/plugins/Makefile.am:
310 * docs/plugins/gstreamer-plugins-docs.sgml:
311 * docs/plugins/gstreamer-plugins-sections.txt:
312 * plugins/elements/Makefile.am:
313 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
314 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
315 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
316 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
317 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
318 _GstCapsFilterClass, trans_class):
319 * plugins/elements/gstelements.c (name, rank, type, _elements):
320 * plugins/elements/gstidentity.c
321 (gst_identity_check_imperfect_timestamp,
322 gst_identity_check_imperfect_offset):
323 Document capsfilter and add doc-blurb to identity.
325 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
327 * libs/gst/controller/gstcontroller.c:
328 (gst_controlled_property_set_interpolation_mode):
329 * libs/gst/controller/gstinterpolation.c:
330 Don't crash if someone tries to set an interpolation mode that
331 is invalid or that isn't supported yet. Fixes #422295.
333 * tests/check/libs/controller.c: (GST_START_TEST),
334 (gst_controller_suite):
335 Add a test case for the above.
337 2007-05-03 Edward Hervey <edward@fluendo.com>
339 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
340 Properly set the last_stop position on GstSegment. This will only happen
341 if there is a buffer to push out.
343 2007-05-03 Wim Taymans <wim@fluendo.com>
345 * libs/gst/base/gstbasetransform.c:
346 (gst_base_transform_buffer_alloc):
347 always_in_place does not mean that the sink and source caps are the
348 same! Make sure we don't blindly proxy the buffer_alloc in this case.
350 2007-05-03 Wim Taymans <wim@fluendo.com>
352 * docs/libs/gstreamer-libs-sections.txt:
353 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
354 (gst_base_src_default_query), (gst_base_src_get_range):
355 * libs/gst/base/gstbasesrc.h:
356 API: gst_base_src_query_latency(). Added method so that subclasses can
357 easily get the latency values of the base source class.
359 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
361 * tools/gst-inspect.c (print_implementation_info):
364 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
367 * tools/gst-launch.1.in:
368 Don't create a customised man page based on the host architecture,
369 describe the default registry path generically. That way the man
370 page is the same for all architectures and packagers have one
371 multilib issue less to deal with. Fixes #434926.
373 2007-05-02 Wim Taymans <wim@fluendo.com>
376 Fix documentation as spotted by rg on IRC.
378 2007-04-29 Stefan Kost <ensonic@users.sf.net>
381 Improve docs for gst_element_{link,unlink}.
383 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
385 * docs/design/part-events.txt:
386 * docs/design/part-overview.txt:
390 * libs/gst/base/gstbasesink.c:
391 Typo fixes; minor docs addition.
393 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
395 * docs/gst/gstreamer-sections.txt:
396 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
397 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
399 API: Add gst_uri_protocol_is_supported(), which checks if an sink
400 or src that supports a given URI protocol exists.
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 Set the location to NULL if "file://" is set as URI. Otherwise
407 some random previous URI would still be set if "file://" is
408 set on an already used filesink/filesrc.
410 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
412 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
413 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
414 Special case the "file://" URI as as this is used by some
415 applications to test with gst_element_make_from_uri if there's
416 an element that supports the URI protocol.
417 Also move the g_path_is_absolute() check for the location part
418 of the URI to also check this for "file://localhost/bla" URIs.
420 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
422 * docs/gst/gstreamer-sections.txt:
423 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
425 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
427 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
429 2007-04-26 Stefan Kost <ensonic@users.sf.net>
431 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
432 (gst_registry_binary_load_pad_template),
433 (gst_registry_binary_load_plugin),
434 (gst_registry_binary_read_cache):
435 * gst/gstregistrybinary.h:
436 Implement no-mmap alternative for registry reading. Do code cleanups.
437 Add more comments about avoiding strdups for all text data. Comments
440 2007-04-25 Stefan Kost <ensonic@users.sf.net>
442 * gst/gstregistrybinary.h (GstBinaryPluginElement,
443 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
444 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
445 Comment structs and reformat to fix the build (that stuff should go
446 into a priv. header).
448 2007-04-25 Stefan Kost <ensonic@users.sf.net>
450 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
451 (gst_registry_binary_load_feature):
452 * gst/gstregistrybinary.h:
453 Refactor so that we can implement multiple features. Add support for
454 TypeFindFactory features.
456 2007-04-24 Stefan Kost <ensonic@users.sf.net>
458 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
461 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
463 2007-04-23 Stefan Kost <ensonic@users.sf.net>
465 * gst/gstbin.c: (gst_bin_element_set_state),
466 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
467 (bin_handle_async_done), (gst_bin_handle_message_func):
468 Fix build with --gst-disable-gst-debug
470 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
472 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
473 Make sure streaming has finished before calling the ::stop() vfunc,
474 since that vfunc might clear state which is being used in the
475 streaming thread. This fixes a race that caused crashes in
476 audioresample when shutting down a pipeline (#420106).
478 2007-04-20 Stefan Kost <ensonic@users.sf.net>
480 * docs/gst/gstreamer-sections.txt:
481 That was one byte missing.
483 2007-04-20 Stefan Kost <ensonic@users.sf.net>
486 * docs/gst/gstreamer-sections.txt:
488 * gst/gstconfig.h.in:
489 * gst/gstobject.c: (gst_object_class_init),
490 (gst_signal_object_class_init):
492 2nd attempt to have a xml-less build as a joined effort of #413123
495 2007-04-20 Stefan Kost <ensonic@users.sf.net>
497 * docs/design/draft-tagreading.txt:
498 Added open issues/thoughts to draft.
500 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
502 * gst/parse/grammar.tab.pre.c:
503 * gst/parse/grammar.tab.pre.h:
504 * gst/parse/lex._gst_parse_yy.pre.c:
505 Update the prebuild parser sources.
507 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
509 * gst/parse/Makefile.am:
510 And now fix the building of the flex sources. Now everything should
513 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
515 * gst/parse/Makefile.am:
516 Now hopefully fix the build failures by setting proper rule
517 dependencies and moving instead of copying.
519 2007-04-19 Stefan Kost <ensonic@users.sf.net>
521 * tests/benchmarks/complexity.gnuplot:
522 * tests/benchmarks/complexity.scm:
523 * tests/benchmarks/mass-elements.gnuplot:
524 * tests/benchmarks/mass-elements.scm:
525 Total licensification.
527 2007-04-19 Stefan Kost <ensonic@users.sf.net>
529 * gst/parse/Makefile.am:
530 Fix the build by correcting the rule that gave wrong files to flex.
532 2007-04-19 Stefan Kost <ensonic@users.sf.net>
534 * tests/benchmarks/complexity.c:
535 * tests/benchmarks/mass-elements.c:
536 Change licence to LGPL as granted by Benjamin and Andy.
538 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
540 * gst/parse/Makefile.am:
541 Add correct grammar.tab.h dependency if compiling without new enough
544 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
546 * gst/parse/Makefile.am:
547 Fix typo and use outdated sources if the flex/bison sources are newer
548 than the pregenerated ones but flex is too old. Print a warning in
549 that case. This should fix the build on the build bot.
551 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
553 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
554 * gst/parse/Makefile.am:
555 * gst/parse/grammar.y:
557 Make the parser reentrant and recursively callable. This requires flex
558 >= 2.5.31, for older versions pregenerated sources are used as we
559 can't bump the build dependency. Finally fixes #349180.
561 * gst/gstparse.c: (gst_parse_launch):
562 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
565 * docs/gst/Makefile.am:
566 * docs/gst/Makefile.am:
567 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
568 (__gst_parse_strfree), (__gst_parse_link_new),
569 (__gst_parse_link_free), (__gst_parse_chain_new),
570 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
571 (gst_parse_element_set), (gst_parse_free_link),
572 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
573 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
575 * gst/parse/grammar.tab.pre.h:
576 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
577 (yy_get_previous_state), (yy_try_NUL_trans), (input),
578 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
579 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
580 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
581 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
582 (_gst_parse_yypop_buffer_state),
583 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
584 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
585 (yy_fatal_error), (_gst_parse_yyget_extra),
586 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
587 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
588 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
589 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
590 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
591 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
592 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
593 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
594 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
595 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
597 If the installed flex version is too old use pre-generated parser
598 sources. These pre-generated parser sources are always updated when
599 the actual flex/bison sources change but require everybody who wants
600 to change something in the parser to have flex >= 2.5.31 installed.
602 2007-04-18 Stefan Kost <ensonic@users.sf.net>
604 * common/m4/gst-gettext.m4:
605 * gst/gst-i18n-lib.h:
606 Make --disable-nls to work
608 2007-04-17 Wim Taymans <wim@fluendo.com>
610 * gst/gstconfig.h.in:
611 Revert previous change that broke the build.
613 2007-04-17 Stefan Kost <ensonic@users.sf.net>
617 * gst/gstconfig.h.in:
618 Drop libxml2 dependency when building with
619 --enable-binary-registry --disable-loadsave
621 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
623 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
624 (gst_registry_binary_read_cache):
625 * gst/gstregistrybinary.h:
626 Remove unnecessary <sys/mman.h> include which broke the win32 build
627 with MingW; move includes from header file to .c file, even if the
628 header file isn't installed; use g_strerror() where UTF-8 strings
629 are expected, such as in GST_DEBUG messages.
631 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
633 * docs/libs/gstreamer-libs-sections.txt:
634 Remove bogus addition for API I didn't end up keeping.
636 * libs/gst/base/gstbasesrc.h:
637 Mention Since: 0.10.13 in the documentation.
639 Add the API keyword to the previous ChangeLog entry.
641 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
643 * docs/libs/gstreamer-libs-sections.txt:
644 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
645 (gst_base_src_default_prepare_seek_segment),
646 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
647 * libs/gst/base/gstbasesrc.h:
648 Allow basesrc derived classes to execute seeks in other formats
649 by providing a prepare_seek_segment vmethod. Sub-classes can choose
650 to prepare the GstSegment in any format that their perform_seek method
651 will be able to understand. The default implementation provides the
652 old behaviour of attempting to convert the seek offsets to the
653 configured native format.
655 API: basesrc::prepare_seek_segment vmethod.
657 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
659 * gst/gstelement.c: (gst_element_get_state_func):
660 Don't output the same debug statement twice.
662 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
663 (gst_adapter_peek), (gst_adapter_take_buffer):
664 Optimise the case where we have buffers at the head of the queue that
665 can be joined quickly (because they're contiguous sub-buffers) by
666 merging them together rather than copying data out into new memory.
668 * gst/parse/grammar.y:
669 * tests/check/pipelines/parse-launch.c:
670 Fix a leak in an error path for parse_launch, and add a check
671 for it to the testsuite.
673 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
675 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
676 Don't deadlock when releasing a pad - gst_pad_set_active may try
677 and take the multiqueue lock too.
679 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
681 * gst/gsterror.c: (_gst_core_errors_init):
683 API: add GST_CORE_ERROR_DISABLED (#392804).
685 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
687 * docs/faq/gst-uninstalled:
688 don't get empty paths on the PATH variables
689 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
690 Don't format for the uncommon terminal width of 84 characters.
692 2007-04-06 Wim Taymans <wim@fluendo.com>
694 * gst/gstpipeline.c: (reset_stream_time),
695 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
696 Only try to select a different pipeline clock when we went back to
697 PAUSED and not when we merely got flushed.
699 2007-04-05 Michael Smith <msmith@fluendo.com>
701 * tools/gst-launch.1.in:
702 fractions are better supported in gstreamer than ractions, so
705 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
707 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
711 Added Danish translation.
713 2007-04-05 Wim Taymans <wim@fluendo.com>
715 * libs/gst/base/gstbasesink.c:
716 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
717 Fix leak caused when refusing newsegment after EOS.
719 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
720 (gst_fake_sink_init), (gst_fake_sink_set_property),
721 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
722 (gst_fake_sink_render), (gst_fake_sink_change_state):
723 * plugins/elements/gstfakesink.h:
724 Add num-buffers property to make the element generate EOS after a
725 configurable amount of buffers.
726 API: fakesink::num-buffers property.
728 * tests/check/elements/fakesink.c: (GST_START_TEST),
730 Fix GstBus leak in test.
731 Test for fakesink num-buffers.
733 2007-04-05 Wim Taymans <wim@fluendo.com>
735 * libs/gst/base/gstbasesink.c:
736 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
737 (gst_base_sink_change_state):
738 Don't accept anything after an EOS, return UNEXPECTED instead.
740 * tests/check/elements/fakesink.c: (GST_START_TEST),
742 Unit test for new EOS behaviour.
744 2007-04-05 Wim Taymans <wim@fluendo.com>
746 * gst/gstelement.c: (gst_element_get_request_pad):
747 Make padtemplates also work when they don't contain %s or %d.
749 2007-04-05 Wim Taymans <wim@fluendo.com>
751 * docs/gst/gstreamer-sections.txt:
752 * gst/gstclock.c: (gst_clock_adjust_unlocked),
753 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
755 Improve _adjust_unlocked() so that it overflows less.
756 Add gst_clock_unadjust_unlocked to convert from external time to
757 internal time based on calibration.
759 API: GstClock::gst_clock_unadjust_unlocked()
761 2007-04-03 Wim Taymans <wim@fluendo.com>
763 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
765 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
766 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
767 when releasing sink pad. Fixes #425400.
769 2007-04-02 Stefan Kost <ensonic@users.sf.net>
771 * docs/random/ensonic/dynlink.txt:
772 More work on proposal for new core api.
774 * docs/libs/gstreamer-libs-sections.txt:
775 * libs/gst/base/gstbasetransform.h:
776 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
778 * libs/gst/controller/gstcontroller.c:
779 (on_object_controlled_property_changed),
780 (gst_controller_sync_values),
781 (gst_controller_set_interpolation_mode):
782 * libs/gst/controller/gstcontroller.h:
783 Less verbose logging add docs for unimplemented parts and correctly
784 return when using unavailable parts.
786 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
788 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
789 Move all the debug to the CLOCK category, and associate it with
792 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
794 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
795 Make take_buffer a bit quicker by removing redundant checks
796 caused by calling gst_adapter_take.
798 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
800 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
803 * tests/check/Makefile.am:
804 * tests/check/elements/.cvsignore:
805 * tests/check/elements/multiqueue.c: (setup_multiqueue),
806 (GST_START_TEST), (multiqueue_suite):
807 Add some dead simple unit tests for the 'multiqueue' element
808 (some bits don't work yet and are disabled for now).
810 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
812 * gst/gstelement.c: (gst_element_get_request_pad),
813 (gst_element_class_get_request_pad_template):
814 Make gst_element_get_request_pad() create request pads only for
815 request pad templates and not for, say, sometimes pad templates.
817 2007-03-28 Stefan Kost <ensonic@users.sf.net>
819 * docs/design/draft-klass.txt:
820 Add example that needs more thinking.
822 * docs/design/draft-missing-plugins.txt:
823 More thoughts about wrapper plugins.
825 * docs/random/ensonic/embedded.txt:
826 * docs/random/ensonic/profiling.txt:
829 2007-03-25 Wim Taymans <wim@fluendo.com>
831 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
833 Only push the segment events in the PLAYING state for live sources.
835 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
837 * gst/gstpipeline.c: (gst_pipeline_change_state):
838 Modify the clock distribution path in PAUSED->PLAYING so that we
839 never attempt to choose a new clock unless we're actually leaving
840 the PAUSED state for the first time. This prevents choosing a
841 different clock when the state_change gets called for a 2nd time due
842 to some element doing an async state change.
844 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
846 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
847 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
848 (gst_pad_chain_unchecked), (gst_pad_push):
849 Revert last commit. This needs some more thoughts.
851 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
853 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
854 (gst_pad_chain_unchecked), (gst_pad_push):
855 Check in set_caps if the caps are compatible with the pad and remove
856 two functions that are redundant now. Fixes #421543.
858 2007-03-22 Wim Taymans <wim@fluendo.com>
860 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
861 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
862 Unref some more to make valgrind happy.
864 2007-03-22 Wim Taymans <wim@fluendo.com>
866 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
867 (gst_system_clock_id_wait_jitter),
868 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
869 Fix anoying regression that survived a few releases. When adding an
870 async entry while blocking on a sync entry, the sync entry will unblock
871 but still be busy, so it should continue to wait instead of returning
873 Add some comments here and there.
875 * tests/check/gst/gstsystemclock.c: (mixed_thread),
876 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
877 Add testcase for this.
879 2007-03-22 Wim Taymans <wim@fluendo.com>
881 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
882 Handle errors from the clock sync better, only UNSCHEDULED indicates a
883 WRONG_STATE and can silently pause the task. All other cases should
886 2007-03-22 Wim Taymans <wim@fluendo.com>
888 Patch by: <syrjala at sci dot fi>
890 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
891 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
894 2007-03-21 Michael Smith <msmith@fluendo.com>
896 * docs/pwg/advanced-types.xml:
897 Fix some errors in the typefinding docs pointed out on irc.
899 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
901 * libs/gst/base/gstbasesrc.c:
902 Clarify FIXME comment in the face of having added unlock_stop()
904 2007-03-21 Wim Taymans <wim@fluendo.com>
906 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
907 Prepare for release where we warn against possible app breakage in the
908 case of live pipelines along with an env var to enable/disable live
909 preroll mode (GST_COMPAT=[no-]live-preroll).
911 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
913 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
914 So we should use correct constants for checking for None offset.
916 2007-03-20 Wim Taymans <wim@fluendo.com>
918 * docs/design/part-block.txt:
919 Mention the fact that the newly switched element should be set to at
922 2007-03-20 Wim Taymans <wim@fluendo.com>
925 Fix compilation with registry disabled as spotted by Saur.
927 2007-03-20 Wim Taymans <wim@fluendo.com>
929 Patch by: Olivier Crete <tester at tester dot ca>
931 * gst/gstelement.c: (gst_element_sync_state_with_parent):
932 Look at the pending state too when syncing the element state to the
933 parent. Fixes #420133.
935 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
937 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
938 (gst_base_sink_change_state):
939 * libs/gst/base/gstbasesink.h:
940 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
941 (gst_base_src_default_event), (gst_base_src_unlock_stop),
942 (gst_base_src_deactivate):
943 * libs/gst/base/gstbasesrc.h:
944 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
945 for sub-classes to correctly clear any state they set trying to
946 unlock, such as clearing out unlock commands from a command fd.
948 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
949 (gst_fd_sink_render), (gst_fd_sink_unlock),
950 (gst_fd_sink_unlock_stop):
951 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
952 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
953 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
955 Implement unlock_stop in fdsrc and fdsink.
956 Implement seeking in fdsrc when a seekable fd is passed, as in
957 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
959 2007-03-19 Wim Taymans <wim@fluendo.com>
961 Patch by: Evan Nemerson <evan at coeus dash group dot com>
963 * gst/gstelement.c: (gst_element_class_init):
964 Fix pad-added and pad-removed signal signatures so that the pad type is
965 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
967 2007-03-19 Wim Taymans <wim@fluendo.com>
969 * docs/gst/gstreamer-sections.txt:
970 Add new element field and method.
972 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
973 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
974 (gst_bin_recalc_state), (gst_bin_get_state_func),
975 (gst_bin_element_set_state), (gst_bin_change_state_func),
976 (gst_bin_continue_func), (bin_bus_handler),
977 (bin_push_state_continue), (bin_handle_async_start),
978 (bin_handle_async_done), (gst_bin_handle_message_func):
979 Make async state changes a bit smarter by using new ASYNC_START and
980 ASYNC_DONE messages. This reduces the number of times we run the state
981 recalculation thread.
982 Don't change state of element with a pending ASYNC_START message.
983 Deprecate STATE_DIRTY messages.
985 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
986 (gst_element_get_state_func), (gst_element_continue_state),
987 (gst_element_lost_state), (gst_element_set_state_func),
988 (gst_element_change_state):
990 Keep the state that was last set by the app in a new element field.
991 Don't allow state changes when handling an element event.
992 Post ASYNC_START and ASYNC_DONE messages.
993 Change lost_state so that we go to PAUSED and wait for the parent to set
994 us to PLAYING again (so latency calculation can be performed)
995 Export gst_element_change_state() method so that subclasses can use it.
996 API: gst_element_change_state()
997 API: GST_STATE_TARGET
999 * gst/gstpipeline.c: (gst_pipeline_class_init),
1000 (reset_stream_time), (gst_pipeline_change_state),
1001 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
1002 Using the new ASYNC_START message we can reset the base_time when
1003 needed. This can then be used to implement base_time redistribution in
1004 flushing seeks so that we can remove the explicit seek handling.
1005 Perform latency query and configuration when going to PLAYING.
1007 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1008 (gst_base_sink_query), (gst_base_sink_change_state):
1009 Post new ASYNC_START/ASYNC_DONE messages.
1011 * tests/check/generic/sinks.c: (GST_START_TEST):
1012 Fix test because the bin will not set the async element to PLAYING right
1015 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
1016 Make the message check a little stronger.
1017 Handle ASYNC messages.
1019 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
1020 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
1021 Expect ASYNC_DONE messages.
1023 2007-03-19 Wim Taymans <wim@fluendo.com>
1025 * docs/gst/gstreamer-sections.txt:
1026 * gst/gstmessage.c: (gst_message_new_async_start),
1027 (gst_message_new_async_done), (gst_message_parse_info),
1028 (gst_message_parse_async_start):
1030 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
1033 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
1035 * tools/gst-inspect.c:
1036 (print_plugin_automatic_install_info_codecs):
1037 Now that we don't check for the 'Codec' keyword any longer in the
1038 klass, we shouldn't spew a warning if the klass isn't a decoder or
1039 encoder (since it might be a Source/Network, for example).
1041 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
1043 * tools/gst-inspect.c:
1044 (print_plugin_automatic_install_info_codecs):
1045 Don't require decoder/demuxer/depayloader elements or
1046 encoder/muxer/paylader elements to have 'Codec' as part of their
1047 factory class string when introspecting a plugin's capabilities.
1048 draft-klass.txt mentions that it might be removed in future, and
1049 flump3dec doesn't have it as part of its class string, so chances
1050 are others might also not have it.
1052 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
1074 Update translations from translation project
1076 2007-03-14 Stefan Kost <ensonic@users.sf.net>
1078 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
1079 (gst_child_proxy_set_property):
1080 Invert precondition check to be alike the ones in the mimiced gobject
1083 2007-03-13 Stefan Kost <ensonic@users.sf.net>
1085 * docs/design/draft-tagreading.txt:
1086 * docs/random/ensonic/audiobaseclasses.txt:
1087 Do some Architect work.
1089 * gst/gstobject.c: (gst_object_set_name):
1093 Add docs that point from gst_pad_get_range to gst_pad_pull_range
1095 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
1097 * gst/gstsystemclock.c: (gst_system_clock_init),
1098 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
1099 Defer starting the async system clock thread until the first async
1100 wait is scheduled. Fixes #414986.
1102 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
1104 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
1105 (gst_single_queue_free):
1106 Fix small leak (free GstSingleQueue structure too, not only contents).
1108 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
1110 * gst/gstbin.c:(gst_bin_add):
1111 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
1112 * win32/common/libgstbase.def:
1113 * win32/common/libgstreamer.def:
1114 Add new exported functions.
1116 2007-03-09 Wim Taymans <wim@fluendo.com>
1118 * docs/plugins/gstreamer-plugins-sections.txt:
1121 2007-03-09 Wim Taymans <wim@fluendo.com>
1123 * docs/gst/gstreamer-sections.txt:
1124 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
1126 Add metadata copy functions. Fixes #393099.
1128 * gst/gstutils.c: (gst_buffer_stamp):
1129 * libs/gst/base/gstbasetransform.c:
1130 (gst_base_transform_prepare_output_buffer):
1131 Use new metadata copy functions.
1133 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
1135 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1136 (gst_identity_init), (gst_identity_check_perfect),
1137 (gst_identity_check_imperfect_timestamp),
1138 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
1139 (gst_identity_set_property), (gst_identity_get_property):
1140 * plugins/elements/gstidentity.h:
1141 Separate out check-imperfect-timestamp and check-imperfect-offset.
1142 Put back check-perfect as it was to keep compatibility.
1144 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
1146 * gst/gstelement.c: (gst_element_dispose):
1147 There's no need to warn if VOID_PENDING is not NONE here, as
1148 long as the state is NULL it's ok, and that's checked immediately
1151 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1153 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1154 Fix check for perfect stream to ignore buffers with -1
1155 offsets/offset ends when checking data contiguity.
1157 2007-03-08 Wim Taymans <wim@fluendo.com>
1159 * tools/gst-launch.c: (event_loop):
1160 Print INFO messages.
1162 2007-03-08 Wim Taymans <wim@fluendo.com>
1164 * libs/gst/base/gstbasetransform.c:
1165 (gst_base_transform_sink_eventfunc),
1166 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1167 (gst_base_transform_activate):
1168 * libs/gst/base/gstbasetransform.h:
1169 Add support for dropping buffers with custom GstFlowReturn.
1170 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
1171 buffers or dropped buffers.
1173 * docs/libs/gstreamer-libs-sections.txt:
1174 docs for new custom return code.
1176 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1177 Use drop support in base class to implement drop-probability.
1179 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
1181 * gst/gst.c: (load_plugin_func):
1182 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
1183 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1184 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
1185 Remove newlines at end of debug log strings.
1187 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1189 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1190 Only post bus message at max, once per buffer received.
1192 2007-03-07 Wim Taymans <wim@fluendo.com>
1194 * docs/design/Makefile.am:
1195 * docs/design/part-synchronisation.txt:
1196 Add doc about synchronisation
1198 * docs/design/draft-latency.txt:
1199 * docs/design/part-TODO.txt:
1200 * docs/design/part-clocks.txt:
1201 * docs/design/part-events.txt:
1202 * docs/design/part-gstbus.txt:
1203 * docs/design/part-gstpipeline.txt:
1204 * docs/design/part-live-source.txt:
1205 * docs/design/part-messages.txt:
1206 * docs/design/part-overview.txt:
1207 * docs/design/part-streams.txt:
1208 * docs/design/part-trickmodes.txt:
1209 Documentation updates.
1211 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1214 Update the doap file.
1216 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1218 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1219 Rename non-perfect to imperfect for Mike and for the sanctity of the
1221 Also make sure bus message gets emitted for data-incontiguities.
1223 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1225 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
1226 (gst_identity_start):
1227 * plugins/elements/gstidentity.h:
1228 Emit bus message if check-perfect is true and we encounter a
1229 non-perfect stream between 2 consecutive buffers.
1232 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1237 === release 0.10.12 ===
1239 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1242 releasing 0.10.12, "Inevitable Demise"
1244 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
1247 Version 0.10.11.2 (0.10.12 pre-release)
1248 Bump libtool versioning.
1250 2007-03-01 Stefan Kost <ensonic@users.sf.net>
1252 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1253 Log flow-names and not numbers.
1255 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
1258 Convert to new AG_GST style.
1260 2007-02-28 Wim Taymans <wim@fluendo.com>
1262 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
1263 Don't unref query twice.
1265 2007-02-28 Wim Taymans <wim@fluendo.com>
1267 * gst/gstvalue.c: (gst_value_transform_object_string),
1268 (_gst_value_initialize):
1269 Implement GstObject -> string transform so we print object names
1270 when serializing GValues containing GstObjects.
1272 2007-02-28 Wim Taymans <wim@fluendo.com>
1274 * docs/gst/gstreamer-sections.txt:
1275 Add new stuff to docs.
1277 2007-02-28 Wim Taymans <wim@fluendo.com>
1279 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1280 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
1281 (gst_base_sink_change_state):
1282 Improve latency query code.
1283 Don't leak latency events.
1285 * tests/check/gst/gstbin.c: (GST_START_TEST):
1288 2007-02-28 Wim Taymans <wim@fluendo.com>
1290 * gst/gstelement.c: (gst_element_message_full),
1291 (gst_element_get_state_func):
1293 Improve docs a little. Added Since: for new macro.
1295 * gst/gstobject.c: (gst_object_sink):
1296 * gst/gstpipeline.c: (gst_pipeline_change_state),
1297 (gst_pipeline_set_new_stream_time):
1298 * gst/gstpipeline.h:
1299 Improve debugging and docs.
1301 * gst/gstutils.c: (gst_element_state_change_return_get_name):
1304 2007-02-28 Wim Taymans <wim@fluendo.com>
1306 * gst/gstelement.c: (gst_element_message_full),
1307 (gst_element_set_locked_state), (gst_element_get_state_func),
1308 (gst_element_change_state):
1309 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
1310 Documentation updates.
1311 Small code cleanups.
1313 * gst/gstmessage.c: (gst_message_new_info),
1314 (gst_message_parse_info):
1316 API: gst_message_new_info()
1317 API: gst_message_parse_info()
1318 Add INFO message create and parse code.
1320 2007-02-28 Wim Taymans <wim@fluendo.com>
1322 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
1323 (bin_query_latency_done):
1324 Also report the live parameter of a latency query.
1326 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
1328 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
1329 Copy the current generic/states example from -base and adapt so
1330 we can use the exact same code everywhere.
1331 Check a STATES_IGNORE_ELEMENTS env var which can be used
1332 to ignore certain element factories for this test, which is
1333 what is being done in -base
1334 * tests/check/Makefile.am:
1335 Mention this environment variable.
1337 2007-02-27 Wim Taymans <wim@fluendo.com>
1339 * docs/gst/gstreamer-sections.txt:
1340 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
1341 (gst_bus_timed_pop), (gst_bus_pop):
1343 API: gst_bus_timed_pop()
1344 Implement gst_bus_timed_pop() to do a blocking timed wait for a
1345 message to arrive on the bus.
1347 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
1349 Two unit tests for new _timed_pop() function.
1351 2007-02-23 Wim Taymans <wim@fluendo.com>
1353 * gst/gstpipeline.c: (gst_pipeline_change_state),
1354 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
1355 Don't ref a NULL clock in _provide_clock_func().
1356 Don't allow an INVALID delay.
1357 Don't try to calculate base_time with an invalid start_time.
1358 Also distribute and notify a NULL clock when it was selected.
1360 * tools/gst-launch.c: (event_loop):
1361 Don't crash when a NULL clock was selected in the pipeline.
1363 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
1365 * docs/design/Makefile.am:
1366 * docs/design/draft-missing-plugins.txt:
1367 * docs/random/draft-missing-plugins.txt:
1368 Some small updates: update plugin system identifier prefix
1369 ('gstreamer.net' to 'gstreamer'), mention our new install
1370 API in libgstbaseutils rather than libgimme-codec, add
1371 reference to the online docs.
1373 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1375 * win32/common/config.h:
1376 Pretty sure Bill never made a powerpc version. Powerpc hackers,
1377 use moap cl ci to only check in what is mentioned in the ChangeLog.
1379 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1381 * docs/gst/gstreamer-sections.txt:
1383 Fix up documentation to link to the correct GstGError section.
1384 Add GST_ELEMENT_INFO macro since someone else added a Info message.
1386 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1388 * tools/gst-launch.c: (event_loop):
1389 Make sure that we actually show the important message part of a
1391 No need to check if the gerror is not NULL to free; first of all
1392 g_free accepts NULL; and second the default error handler would
1393 segfault if gerror was NULL.
1395 2007-02-21 Wim Taymans <wim@fluendo.com>
1397 * docs/gst/gstreamer-sections.txt:
1398 Removed docs as well.
1400 2007-02-21 Wim Taymans <wim@fluendo.com>
1402 * gst/gstmessage.c: (gst_message_parse_duration):
1404 Remove new messages for release.
1406 2007-02-20 Wim Taymans <wim@fluendo.com>
1408 * docs/design/part-gstghostpad.txt:
1409 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
1410 (gst_ghost_pad_new_full):
1411 Make the ghostpad a parent of the internal pad again for better backward
1412 compatibility. Don't write code that relies on this however.
1414 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1415 (gst_pad_link_check_hierarchy):
1416 Require that parents should be GstElements in the hierarchy check.
1418 2007-02-20 Wim Taymans <wim@fluendo.com>
1420 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
1421 (gst_bin_change_state_func), (bin_query_min_max_init),
1422 (bin_query_latency_fold), (bin_query_latency_done),
1425 Implement latency query.
1427 2007-02-20 Wim Taymans <wim@fluendo.com>
1429 * docs/design/part-gstghostpad.txt:
1430 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
1431 (gst_ghost_pad_internal_do_activate_push),
1432 (gst_ghost_pad_internal_do_activate_pull),
1433 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1434 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
1435 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
1436 Do not set the internal pad as a parent anymore so we can avoid
1437 hierarchy linking errors when the ghostpad has no parent yet. This also
1438 fixes failed activation because of unlinked internal pads, which in
1439 turn fixes the impossible case where you have to activate a pad before
1440 you can add it to a running element.
1443 * gst/gstpad.c: (pre_activate), (post_activate),
1444 (gst_pad_set_active), (gst_pad_activate_pull),
1445 (gst_pad_activate_push), (gst_pad_check_pull_range):
1446 Add some more debug info.
1447 Mark activation mode in pre_activate so that we don't try to activate in
1448 endless loops. Fixes #385084.
1450 2007-02-19 Wim Taymans <wim@fluendo.com>
1452 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1453 (gst_base_transform_check_get_range):
1454 Implement a checkgetrange function instead of relying on the default
1455 core behaviour that assumes we can operate in pull mode if we have a
1456 getrange function. First step at fixing #385084.
1458 2007-02-15 Stefan Kost <ensonic@users.sf.net>
1460 * gst/gstchildproxy.h:
1461 * libs/gst/base/gstbasesink.h:
1462 * libs/gst/base/gstbasesrc.h:
1463 * libs/gst/base/gstbasetransform.h:
1464 More docs coverage and some ChangeLog surgery (add missing names)
1466 2007-02-15 Wim Taymans <wim@fluendo.com>
1468 * docs/design/part-TODO.txt:
1469 * docs/design/part-activation.txt:
1470 * docs/design/part-block.txt:
1471 * docs/design/part-buffering.txt:
1472 * docs/design/part-clocks.txt:
1473 * docs/design/part-element-source.txt:
1474 * docs/design/part-events.txt:
1475 * docs/design/part-gstbin.txt:
1476 * docs/design/part-gstbus.txt:
1477 * docs/design/part-gstpipeline.txt:
1478 * docs/design/part-live-source.txt:
1479 * docs/design/part-messages.txt:
1480 * docs/design/part-overview.txt:
1481 * docs/design/part-qos.txt:
1482 * docs/design/part-query.txt:
1483 * docs/design/part-states.txt:
1484 * docs/design/part-trickmodes.txt:
1485 Some doc updates. Start renaming from stream_time to running_time where
1486 it was used wrongly.
1488 2007-02-15 Wim Taymans <wim@fluendo.com>
1490 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1491 Answer LATENCY query.
1493 2007-02-15 Wim Taymans <wim@fluendo.com>
1495 * tests/check/gst/gstevent.c: (event_probe), (test_event),
1499 2007-02-15 Wim Taymans <wim@fluendo.com>
1501 * gst/gstpad.c: (gst_pad_get_internal_links_default),
1502 (gst_pad_dispatcher):
1503 Improve debugging of default pad dispatcher and query functions.
1505 2007-02-15 Wim Taymans <wim@fluendo.com>
1507 * docs/gst/gstreamer-sections.txt:
1508 Remove old unused method.
1510 2007-02-13 Wim Taymans <wim@fluendo.com>
1512 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1515 2007-02-13 Wim Taymans <wim@fluendo.com>
1517 * docs/design/part-seeking.txt:
1520 * gst/gstsegment.c: (gst_segment_set_seek):
1521 Revert old bogus change that should make seeking work again.
1523 2007-02-13 Stefan Kost <ensonic@users.sf.net>
1525 * docs/random/ensonic/dynlink.txt:
1526 * docs/random/ensonic/interfaces.txt:
1527 * docs/random/ensonic/receipies.txt:
1528 Possible dynamic reconnection api, plus some type fixes the other two
1531 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
1533 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1534 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1535 Also check for an absolute path following file:// in the filesrc
1536 element. Remove redundant check and call g_path_is_absolute() on the
1539 2007-02-13 Stefan Kost <ensonic@users.sf.net>
1541 * docs/design/draft-klass.txt:
1542 Add existing category analysis.
1545 Fix doc example, framerate is a fraction.
1547 2007-02-12 Stefan Kost <ensonic@users.sf.net>
1550 * docs/gst/Makefile.am:
1551 * docs/gst/gstreamer-sections.txt:
1552 * docs/libs/Makefile.am:
1553 Erm, forgot a bunch of --extra-dir.
1555 2007-02-12 Stefan Kost <ensonic@users.sf.net>
1558 * docs/gst/Makefile.am:
1559 * docs/libs/Makefile.am:
1560 * docs/plugins/Makefile.am:
1561 Add crossreferences to glib/gobject docs.
1563 2007-02-12 Wim Taymans <wim@fluendo.com>
1565 * docs/design/draft-latency.txt:
1568 * docs/libs/gstreamer-libs-sections.txt:
1569 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1570 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
1571 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
1572 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
1573 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
1574 (gst_base_sink_get_position), (gst_base_sink_query),
1575 (gst_base_sink_change_state):
1576 * libs/gst/base/gstbasesink.h:
1577 API: gst_base_sink_query_latency() to let subclasses query the upstream
1579 API: gst_base_sink_get_latency() to let subclasses query the configured
1580 latency in the sink.
1581 Implement query and set latency.
1583 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
1584 don't continue preroll when we are flushing. Fixes #405284.
1586 * tests/check/pipelines/stress.c: (change_state_timeout),
1587 (quit_timeout), (GST_START_TEST), (stress_suite):
1590 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
1592 Patch by: René Stadler <mail at renestadler de>
1594 * docs/gst/gstreamer-sections.txt:
1595 * gst/gsttaglist.c: (_gst_tag_initialize):
1597 API: add GST_TAG_REFERENCE_LEVEL (#403597).
1599 2007-02-11 Stefan Kost <ensonic@users.sf.net>
1601 * docs/libs/Makefile.am:
1602 Fix path to core docs.
1604 * gst/gstbin.c: (gst_bin_get_by_interface),
1605 (gst_bin_iterate_all_by_interface):
1606 Refix docs by also renaming 'interface' to 'iface' in implementation.
1608 * docs/gst/gstreamer-sections.txt:
1610 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1611 * gst/gstchildproxy.h:
1612 * gst/gstelementfactory.c:
1613 * gst/gstpadtemplate.h:
1614 * libs/gst/controller/gstcontroller.c:
1615 (gst_controlled_property_new):
1618 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
1620 * gst/gstbin.h:(gst_bin_get_by_interface),
1621 (gst_bin_iterate_all_by_interface):
1622 Replace interface parameter name by iface as interface is
1623 a reserved keyword in Visual Studio for C++ projects so it removes
1624 a build error for application developpers using VS.
1625 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
1626 Fix a bug on Windows in uri format check. Now the prefix checked
1627 is file:// and next we check if the path after file:// is absolute.
1628 * win32/common/libgstbase.def:
1629 * win32/common/libgstdataprotocol.def:
1630 * win32/common/libgstgstreamer.def:
1631 Add new exported functions.
1633 2007-02-09 Andy Wingo <wingo@pobox.com>
1635 * tests/check/pipelines/simple-launch-lines.c
1636 (simple_launch_lines_suite, test_tee): Disable tee test until I
1637 have time to fix it :-(
1639 * tests/check/Makefile.am (noinst_HEADERS):
1640 * tests/check/libs/libsabi.c:
1641 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1642 * tests/check/gst/gstabi.c:
1643 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1645 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1646 tests for push and pull tee behavior.
1648 * plugins/elements/gsttee.h:
1649 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1650 mark as deprecated as well as unimplemented. It was a crack idea.
1651 Add support for tee operating in pull mode, off by default.
1653 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1654 normal-case logs down to LOG, raise errors to WARNING.
1655 (gst_registry_xml_read_cache): Don't log before calling a function
1658 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1659 exit (registry finalize).
1660 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1661 DEBUG log when we emit signals that people don't even have the
1662 chance to connect to.
1663 (gst_registry_scan_path_level): Less logging in the normal case.
1665 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1667 Patch by: Michal Benes <michal dot benes at itonis dot tv>
1669 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1670 Correctly generate EOS for non-seekable files. We don't have a total
1671 length for them and would get an unexpected end of file if we only
1672 special-cased for regular files. (Fixes: #404569)
1674 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1676 * tests/check/elements/filesrc.c: (GST_START_TEST),
1678 Add unit test for the GstURIHandler interface in filesrc. This also
1679 tests the newly added file://localhost/foo/bar support.
1681 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
1683 * gst/gstelementfactory.h:
1684 The klass string is not a hierarchy. Add reference to the design doc
1685 for more information and common types.
1687 2007-02-02 Wim Taymans <wim@fluendo.com>
1689 * gst/gstquery.c: (gst_query_new_latency):
1690 Remove old structure field.
1692 2007-02-02 Stefan Kost <ensonic@users.sf.net>
1694 * tools/gst-launch.1.in:
1695 Give example for network streaming (#351998)
1697 2007-02-02 Wim Taymans <wim@fluendo.com>
1699 * docs/gst/gstreamer-sections.txt:
1700 Add docs for new methods.
1702 * gst/gstevent.c: (gst_event_new_latency),
1703 (gst_event_parse_latency):
1705 Add new LATENCY event to configure latency in a pipeline.
1706 API: gst_event_new_latency
1707 API: gst_event_parse_latency
1709 * gst/gstmessage.c: (gst_message_new_buffering),
1710 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1711 (gst_message_new_latency), (gst_message_parse_buffering),
1712 (gst_message_parse_lost_preroll):
1714 Added messages used in draft-latency.
1715 API: gst_message_new_lost_preroll
1716 API: gst_message_parse_lost_preroll
1717 API: gst_message_new_prerolled
1718 API: gst_message_new_latency
1720 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1721 (gst_query_parse_latency):
1723 Implemented new latency query as in design doc.
1724 API: gst_query_new_latency
1725 API: gst_query_set_latency
1726 API: gst_query_parse_latency
1728 2007-02-02 Wim Taymans <wim@fluendo.com>
1730 * docs/design/draft-latency.txt:
1731 Slight redesign to allow for dynamic latency adjustments.
1733 * docs/design/part-negotiation.txt:
1736 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
1738 reviewed by: Wim Taymans <wim@fluendo.com>
1740 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1741 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1742 Allow file://localhost/foo/bar URLs and correctly fail for every other
1743 hostname that one sets. This was gnomevfssrc is linked for those if
1744 installed as it can handle it (#403172)
1746 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1748 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1750 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1751 (unref_data), (gst_collect_pads_add_pad_full):
1752 * libs/gst/base/gstcollectpads.h:
1753 Don't put the previously added destroy notify in the GstCollectData
1754 struct as all it's padding is already used and we don't want to break
1755 ABI. Instead put in the pad's GObject data for now. This should be
1756 cleaned up for 0.11 (#402393).
1758 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1760 reviewed by: Wim Taymans <wim@fluendo.com>
1762 * docs/libs/gstreamer-libs-sections.txt:
1763 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1764 (unref_data), (gst_collect_pads_add_pad),
1765 (gst_collect_pads_add_pad_full):
1766 * libs/gst/base/gstcollectpads.h:
1767 API: Add function to specify a destroy notification for custom
1768 GstCollectData when adding new pads in GstCollectPads (#402393).
1770 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
1773 Update Swedish translation (#378255).
1775 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1777 * docs/design/draft-klass.txt:
1778 Fix the previous change, this is a list of categories and not a hierarchy.
1780 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1782 * docs/design/draft-klass.txt:
1783 Add info about how to get a list of used classes.
1785 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
1787 * plugins/elements/gsttypefindelement.c:
1788 (gst_type_find_element_chain_do_typefinding),
1789 (gst_type_find_element_change_state):
1790 Don't leak found caps in chain function (no idea why that never
1791 showed up as a leak anywhere).
1793 2007-01-30 Stefan Kost <ensonic@users.sf.net>
1796 Fix and expand GstPluginDesc API docs.
1798 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1801 * gst/gstelementfactory.c:
1802 * gst/gstpadtemplate.h:
1805 * libs/gst/controller/gstcontroller.c:
1806 (gst_controlled_property_new):
1807 * tests/examples/controller/audio-example.c:
1810 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1813 comment about refining the xml deps
1816 comments about moving away from jade for docs
1819 recommit the ifdefs to use the binary registry
1821 * gst/gstbin.c: (gst_bin_change_state_func):
1822 this break is obsolete
1824 * gst/gstelementfactory.h:
1825 better GST_ELEMENT_DETAILS docs, add comment about translation
1830 * gst/gstobject.c: (gst_signal_object_get_type):
1831 add G_UNLIKELY as usual
1833 * gst/gstpad.c: (gst_pad_event_default):
1834 add fall trhu comment
1836 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1837 (gst_registry_binary_initialize_magic),
1838 (gst_registry_binary_save_string),
1839 (gst_registry_binary_save_pad_template),
1840 (gst_registry_binary_save_feature),
1841 (gst_registry_binary_save_plugin),
1842 (gst_registry_binary_write_cache),
1843 (gst_registry_binary_check_magic),
1844 (gst_registry_binary_load_pad_template),
1845 (gst_registry_binary_load_feature),
1846 (gst_registry_binary_load_plugin),
1847 (gst_registry_binary_read_cache):
1848 comment typo and formatting
1850 * gst/gstutils.c: (gst_element_state_get_name),
1851 (gst_element_state_change_return_get_name):
1852 remove obsolete breaks
1854 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1855 add FIXME 0.11 and remove cpp comment
1857 2007-01-29 Edward Hervey <edward@fluendo.com>
1859 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1860 Fix print statement in an even more portable way.
1862 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
1864 * docs/gst/gstreamer-sections.txt:
1866 API: add GST_ROUND_DOWN_* macros (#401781).
1868 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
1870 * docs/gst/gstreamer.types.in:
1871 * gst/gstregistry.c: (gst_registry_class_init):
1872 Document registry signals and make gtk-doc pick them up (#401381).
1874 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1876 * docs/pwg/building-testapp.xml:
1877 Add some audioconverts and audioresample to the pipeline, and some
1878 more comments and error handling.
1880 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1882 * docs/manual/manual.xml:
1886 2007-01-26 Wim Taymans <wim@fluendo.com>
1888 * gst/gstcaps.c: (gst_static_caps_get):
1889 Init caps flags too.
1891 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
1893 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1895 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1896 If not using mmap'ed files try to seek to the end instead of the
1897 start to determine whether we can seek at all. This fixes the case
1898 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1899 seeks for everything afterwards fail. Fixes #400656
1901 2007-01-25 Wim Taymans <wim@fluendo.com>
1903 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1904 Add some refcount debugging.
1905 Make gst_static_caps_get threadsafe, which is needed when autoplugging
1906 in multiple streaming threads.
1908 2007-01-25 Wim Taymans <wim@fluendo.com>
1910 Patch by: David Schleef <ds at schleef dot org>
1912 * docs/libs/gstreamer-libs-sections.txt:
1913 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1914 * libs/gst/base/gstadapter.h:
1915 API: gst_adapter_copy() that can reduce the amount of memcpy when
1916 getting data from the adapter. Fixes #388201.
1918 2007-01-25 Edward Hervey <edward@fluendo.com>
1920 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1921 In print statements, "%x" is for guint. Fixes build on macosx.
1923 2007-01-24 Edward Hervey <edward@fluendo.com>
1925 * plugins/elements/gstmultiqueue.c:
1926 (gst_multi_queue_loop):
1928 (single_queue_overrun_cb), (single_queue_underrun_cb),
1929 (single_queue_check_full), (gst_single_queue_new):
1930 Implement single queue growth system.
1931 This uses the extra-size properties, and will grow single queues by
1932 that much if one goes full whereas there are others empty. This is
1933 called extra-mode in the code.
1934 When a single queue's levels go back below the initial max-size
1935 limits, it is no longer in extra-mode. This is to ensure we don't
1936 consume too much memory.
1939 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
1941 * gst/gst.c: (gst_init_get_option_group):
1942 Make warning about late g_thread_init() calls a bit more explicit,
1943 so that it's more obvious to application developers what they need
1944 to do if a user files a bug against their application.
1946 2007-01-22 Edward Hervey <edward@fluendo.com>
1948 * plugins/elements/gstmultiqueue.c:
1949 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1950 Remove previous hack of unsetting the flushing flag for the source pad
1951 instead of activating it. Instead, fix the source pad activate function
1952 so that it no longer depends on having a parent set or not.
1954 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
1956 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1958 * docs/manual/basics-bus.xml:
1959 Fix example code, gst_element_unref() doesn't exist any longer.
1961 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
1963 Patch by: Mark Nauwelaerts <manauw at skynet be>
1966 Fix two docs typoes (#399094).
1968 2007-01-19 Edward Hervey <edward@fluendo.com>
1970 * docs/faq/gst-uninstalled:
1971 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1972 depending on libgstbaseutils can work in uninstalled environment.
1974 2007-01-18 Stefan Kost <ensonic@users.sf.net>
1977 * gst/gsttagsetter.c:
1978 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1979 statement for new tag.
1981 2007-01-17 Edward Hervey <edward@fluendo.com>
1983 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1984 When dynamically creating single queues, activate sinkpad before adding
1986 We should be doing the same thing for the source pad, but we can't
1987 since it would call a method which needs the parent to be set in order
1988 to work propertly. Instead of activating the source pad, we just unset
1989 the flushing flag, which is the minimal requirement for adding a pad
1990 to an element in a state greater than READY.
1992 2007-01-17 Edward Hervey <edward@fluendo.com>
1994 * docs/faq/gst-uninstalled:
1995 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1998 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
2000 * tests/check/gst/gstabi.c:
2001 * tests/check/gst/struct_hppa.h:
2002 * tests/check/libs/libsabi.c:
2003 * tests/check/libs/struct_hppa.h:
2004 Add ABI structs for HPPA (see #393796).
2006 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
2008 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2009 Actually write ABI structs to the file specified in the GST_ABI
2010 environment variable, as the message we print claims we would.
2012 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2014 * tests/check/gst/gsttask.c:
2017 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2019 * gst/gsttaglist.c: (_gst_tag_initialize):
2020 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
2021 previous two entries.
2023 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2025 * docs/gst/gstreamer-sections.txt:
2026 * gst/gsttaglist.c: (_gst_tag_initialize):
2028 Add tag support for beat-per-minute.
2030 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2032 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2033 (gst_registry_binary_initialize_magic),
2034 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
2035 (gst_registry_binary_save_pad_template),
2036 (gst_registry_binary_save_feature),
2037 (gst_registry_binary_save_plugin),
2038 (gst_registry_binary_write_cache),
2039 (gst_registry_binary_check_magic),
2040 (gst_registry_binary_load_pad_template),
2041 (gst_registry_binary_load_feature),
2042 (gst_registry_binary_load_plugin),
2043 (gst_registry_binary_read_cache):
2044 * gst/gstregistrybinary.h:
2045 Use glib types, cleanup comments, impement interfaces and uri-types.
2047 2007-01-13 Andy Wingo <wingo@pobox.com>
2049 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
2050 getrange() to return buffers with other caps, while we fix
2051 demuxers and typefind, or otherwise change part-negotiation.txt.
2053 2007-01-12 Andy Wingo <wingo@pobox.com>
2055 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
2056 Factor start/stop into this private function instead of partially
2057 in activate functions and partially in the change_state function.
2058 Fixes setup before the element has changed from READY->PAUSED, as
2059 is the case in pull-mode pipelines.
2060 (gst_base_transform_sink_activate_push)
2061 (gst_base_transform_src_activate_pull): Refactor to use
2062 gst_base_transform_activate().
2063 (gst_base_transform_change_state): Removed, not needed any more.
2065 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
2066 Truncate before fixating.
2068 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
2069 Don't set_caps() if the result of fixating is ANY, as it's not
2070 supported, and not necessary in the case of a link with no
2071 template caps on either side. Fixes tests/check/libs/basesrc in
2072 some pull-mode tests.
2074 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
2075 (gst_base_transform_init, gst_base_transform_sink_activate_push)
2076 (gst_base_transform_src_activate_pull):
2077 Track the activation mode.
2078 (gst_base_transform_setcaps): In pull mode, when activating the
2079 src pad, after activating the sink pad, activate the sink pad's
2080 peer, as discussed in part-negotiation.txt.
2082 * libs/gst/base/gstbasesrc.h:
2083 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
2084 vmethod, as in basesink.
2086 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
2088 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
2089 mode, first proxy the setcaps to the peer pad.
2090 (gst_base_sink_pad_fixate): Add a fixate function that calls the
2092 (gst_base_sink_default_activate_pull): Rename from
2093 gst_base_sink_activate_pull.
2094 (gst_base_sink_negotiate_pull): New function, performs negotiation
2095 in pull mode before calling ::activate_pull().
2096 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
2097 vmethod instead of the default implementation. I have no idea how
2098 this worked before. Negotiate before calling activate_pull.
2100 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
2101 sink pads in pull mode. In addition to being correct, fixes
2102 filesrc ! decodebin ! identity ! fakesink.
2103 (gst_pad_get_range, gst_pad_pull_range): Don't call
2104 gst_pad_set_caps() if the caps changes; instead error out with
2105 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
2107 2007-01-12 Andy Wingo <wingo@pobox.com>
2109 * docs/design/part-negotiation.txt: Update with more policy.
2111 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
2113 * libs/gst/check/gstbufferstraw.h:
2114 * libs/gst/check/gstcheck.h:
2115 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
2118 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
2120 * tests/check/Makefile.am:
2121 * tests/check/gst/.cvsignore:
2122 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
2123 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
2124 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
2125 (GST_START_TEST), (gst_tag_setter_suite):
2126 Add minimal unit test for beforementioned GstTagSetter bug.
2128 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
2130 Patch by: René Stadler <mail at renestadler dot de>
2132 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
2133 gst_tag_list_merge() returns a new list, so it's not the best idea
2134 to ingore its return value. Effectively meant that tags could only
2135 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
2136 Also add function guard to require a non-NULL taglist as input (has
2137 always been so due to gst_tag_list_copy(), just making it explicit).
2139 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
2141 * docs/random/draft-missing-plugins.txt:
2142 Some additions: mention new API that is supposed to be used at the
2143 various stages; short blob about new gst-inspect introspection
2144 option; mention potential future problem with plugins that have
2145 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
2147 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
2149 * tools/gst-inspect.c:
2150 (print_plugin_automatic_install_info_codecs),
2151 (print_plugin_automatic_install_info_protocols),
2152 (print_plugin_automatic_install_info), (main):
2153 Add --print-plugin-auto-install-info option to gst-inspect, so we can
2154 introspect plugin files and get machine-parsable output that corresponds
2155 to the last bit of the missing-plugin installer string (small gotcha:
2156 doesn't take into account ranks).
2158 2007-01-11 Stefan Kost <ensonic@users.sf.net>
2161 * docs/gst/gstreamer-sections.txt:
2163 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
2164 (gst_registry_lookup_locked):
2165 * gst/gstregistry.h:
2166 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2167 (gst_registry_binary_initialize_magic),
2168 (gst_registry_binary_save_string),
2169 (gst_registry_binary_save_pad_template),
2170 (gst_registry_binary_save_feature),
2171 (gst_registry_binary_save_plugin),
2172 (gst_registry_binary_write_cache),
2173 (gst_registry_binary_check_magic),
2174 (gst_registry_binary_load_pad_template),
2175 (gst_registry_binary_load_feature),
2176 (gst_registry_binary_load_plugin),
2177 (gst_registry_binary_read_cache):
2178 * gst/gstregistrybinary.h:
2179 * gst/gstregistryxml.c: (load_feature),
2180 (gst_registry_xml_read_cache):
2181 commit binary registry (disabled by default, see #359653)
2183 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
2185 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
2186 Fix 'make check' too.
2188 2007-01-10 Andy Wingo <wingo@pobox.com>
2190 * docs/design/part-negotiation.txt: Fix a typo, add a couple
2193 * docs/design/part-negotiation.txt: Update with, um, one way that
2194 pull-mode negotiation might work?
2197 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
2198 that the pad must be a src pad; makes sense to call it the other
2199 way in pull mode, and the logic is symmetric anyway.
2201 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
2203 * plugins/elements/gstfilesink.c:
2204 Include <stdio.h> for fseeko().
2206 2007-01-10 Wim Taymans <wim@fluendo.com>
2210 Reserve LATENCY event.
2212 2007-01-09 Wim Taymans <wim@fluendo.com>
2214 * docs/design/draft-latency.txt:
2217 2007-01-09 Wim Taymans <wim@fluendo.com>
2219 * docs/design/draft-latency.txt:
2223 * gst/gststructure.c:
2227 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
2229 * tests/check/.cvsignore:
2230 Ignore test-registry.xml as well.
2232 2007-01-09 Wim Taymans <wim@fluendo.com>
2234 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2235 unref data at the end when we are done with the pad.
2237 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
2239 * docs/gst/gstreamer-sections.txt:
2240 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
2241 (init_post), (gst_deinit), (gst_update_registry):
2243 API: add gst_update_registry() (#391296).
2245 * tests/check/Makefile.am:
2246 * tests/check/gst/gstregistry.c:
2247 * tests/check/gst/.cvsignore:
2248 Simple unit test for the above.
2250 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
2252 * gst/gstregistry.c: (gst_registry_scan_path_level):
2253 Plugin extension on HP-UX is .sl, add that to the list of approved
2254 plugin extensions (see #393796).
2256 * tests/check/gst/gstpad.c: (GST_START_TEST):
2257 ulong => gulong. Fixes compilation with HP-UX compiler.
2259 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2260 Fix compilation if valgrind headers are not available.
2262 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
2264 * win32/common/libgstreamer.def:
2265 Add new exported function.
2266 * win32/vs6/libgstbase.dsp:
2267 Add gstdataqueue.c to the build.
2268 * win32/vs6/libgstcoreelements.dsp:
2269 Add gstmultiqueue.c to the build.
2271 2007-01-06 Andy Wingo <wingo@pobox.com>
2273 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
2274 activate_pull(), providing for a way to specialize the process of
2275 spawning a thread to pull on the sink pad. There is a default
2278 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
2279 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
2280 (gst_base_sink_init): Renamed pad activation functions (inserting
2281 "_pad" in their names). Refactor to use the new activate_pull
2282 vmethod, as appropriate.
2283 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
2284 default activate_pull function to start a task pulling from the
2285 sink pad, as before.
2287 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
2288 on the pads if necessary, as in push()/chain(). Update docs.
2289 Shouldn't affect existing pull() usage as it is currently only
2290 being used on buffers without caps.
2292 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2294 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2296 Call g_thread_init() first thing in gst_init() / gst_check_init().
2297 When initialisation is done via gst_init_get_option_group() and
2298 GOption parsing, issue a warning if the GLib thread system has not
2299 been initialised yet by the time gst_init_get_option_group() is
2300 called, as it's quite likely other GLib functions such as
2301 g_option_context_new() have been called already then, and
2302 g_thread_init() must be called before any other GLib function. The
2303 application in question must be fixed in that case, since memory
2304 corruption might happen otherwise.
2305 We issue the warning because even if the GLib folks decide to work
2306 around the problem on their end in future, this is still an issue
2307 with all GLib versions >= 2.10.0, so we should warn until we depend
2308 on a GLib version we know to be safe.
2309 Update documentation as well.
2312 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2314 * tools/gst-inspect.c: (main):
2315 * tools/gst-launch.c: (main):
2316 * tools/gst-typefind.c: (main):
2317 * tools/gst-xmlinspect.c: (main):
2318 Call g_thread_init() really really early, before any other GLib
2319 function (see #342564 and recent discussion on gtk-devel-list).
2321 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2323 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
2325 * gst/gst_private.h:
2326 * gst/gstconfig.h.in:
2328 On win32, all the __declspec stuff for symbol exporting is
2329 apparently only needed with MSVC, but doesn't work with MingW.
2330 Fixes compilation with MingW and #391909.
2332 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2334 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
2335 Change some GST_ERROR_OBJECT that aren't really errors to
2336 GST_WARNING_OBJECT in order to reduce terminal spam.
2338 2007-01-04 Stefan Kost <ensonic@users.sf.net>
2340 * tests/check/Makefile.am:
2341 disable test again, as there seem to be still race problems
2343 2007-01-04 Stefan Kost <ensonic@users.sf.net>
2345 * tests/check/Makefile.am:
2346 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2347 (GST_START_TEST), (queue_suite):
2348 enable queue test again, add tests for the leaky behaviour
2350 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
2353 * tests/examples/Makefile.am:
2354 Compile adapter test/example only if the required headers are
2355 available (fixes #391915).
2357 2007-01-01 David Schleef <ds@schleef.org>
2360 Restore the previous signal handler for SIGSEGV instead of
2361 setting to default, since we may have stolen it away from
2362 someone. (i.e., Mono)
2364 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
2366 * docs/random/draft-missing-plugins.txt:
2367 Some small additions and clarifications.
2369 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
2371 * gst/gstregistryxml.c: (gst_registry_save_escaped):
2372 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
2373 since that can lead to random memory corruptions and crashes
2374 (may or may not be related to #383244, #386711, and #386711).
2376 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2378 * tests/check/.cvsignore:
2379 * tests/check/Makefile.am:
2380 sync .cvsignome and CLEANFILES
2382 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2384 * tests/check/Makefile.am:
2387 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2389 * docs/design/part-states.txt:
2390 two tiny additional comments
2392 * gst/gststructure.c:
2395 * tests/check/Makefile.am:
2396 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2398 disable test for now, unless it gets fixed
2400 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2402 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2404 fix race in underrun test
2406 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2408 * tests/check/elements/.cvsignore:
2411 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2413 try to narrow test failure
2415 2006-12-21 David Schleef <ds@schleef.org>
2417 * plugins/elements/gstfakesrc.c:
2418 Use g_random_int_range(), since it produces better random
2419 numbers in a range than almost-correct floating point code.
2421 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2423 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2424 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2425 (gst_check_teardown_sink_pad):
2426 do not automatically (de)activate pads
2428 * tests/check/Makefile.am:
2429 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2430 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
2431 add new, yet simple tests for queue
2433 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
2434 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
2435 * tests/check/elements/filesrc.c: (cleanup_filesrc),
2437 * tests/check/elements/identity.c: (cleanup_identity):
2438 consistent pad (de)activation
2440 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
2442 Patch by: Sebastian Dröge <slomo ubuntu com>
2444 * libs/gst/base/gstcollectpads.c:
2445 Fix two doc typos (#387866).
2447 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
2449 * docs/manual/advanced-dparams.xml:
2450 Fix typo (g_object_control_properties() doesn't exist).
2452 2006-12-19 Edward Hervey <edward@fluendo.com>
2454 * gst/gstsegment.c: (gst_segment_set_seek):
2455 Fine tune the cases where the segment start/stop values are really
2457 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2458 Add tests for the return values of gst_segment_set_seek().
2460 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
2465 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2467 Fix incorrect documentation and flesh it out a bit more.
2468 Set default values for the max properties on the GParamSpec as well,
2469 so it shows up correctly in gst-inspect.
2471 2006-12-18 Stefan Kost <ensonic@users.sf.net>
2473 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2474 Correct docs of queue, add more detail and crosslink it more.
2476 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
2478 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2479 Print additional debug info when the stream isn't perfectly
2480 timestamped; don't try to use invalid durations.
2482 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
2484 * docs/design/Makefile.am:
2485 Dist new design docs.
2487 2006-12-16 Wim Taymans <wim@fluendo.com>
2489 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2491 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
2492 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2493 (gst_collect_pads_stop), (gst_collect_pads_event),
2494 (gst_collect_pads_chain):
2495 * libs/gst/base/gstcollectpads.h:
2496 Add refcounting to the collectpads data so we can track when it's safe
2497 to free the data. Fixes #383382.
2499 2006-12-15 Wim Taymans <wim@fluendo.com>
2501 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2502 (gst_collect_pads_remove_pad):
2503 Automatically activate/deactivate pads when they are added to a
2504 started/stoped collectpads.
2506 2006-12-15 Wim Taymans <wim@fluendo.com>
2508 * gst/gstelement.c: (gst_element_add_pad):
2509 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
2510 * gst/gstpad.c: (gst_pad_init):
2511 Set pads to FLUSHING when they are created. Check, warn and fix when a
2512 demuxer adds an inactive pad to itself when running. Fixes #339326.
2514 2006-12-15 Wim Taymans <wim@fluendo.com>
2516 * gst/gstelement.c: (gst_element_class_init),
2517 (gst_element_default_send_event), (gst_element_send_event),
2518 (gst_element_default_query), (gst_element_query):
2519 Expose default element send_event and query handling as vmethods that
2520 subclasses can chain up to.
2522 2006-12-15 Wim Taymans <wim@fluendo.com>
2524 * gst/gstelement.c: (gst_element_set_state_func):
2525 Small documentation fixes.
2527 2006-12-15 Wim Taymans <wim@fluendo.com>
2529 * docs/design/draft-latency.txt:
2530 Checked in draft for handling latency in pipelines.
2532 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
2536 * gstreamer.spec.in:
2539 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
2541 * gst/gst.c: (init_pre), (init_post):
2542 init_pre() and init_post() might be called via our GOptionGroup or
2543 from gst_init(), and we should skip both of them if we've already
2544 been initialised, otherwise we will init some things twice or add
2545 two default log functions.
2547 2006-12-13 Edward Hervey <edward@fluendo.com>
2549 * docs/manual/basics-bus.xml:
2550 No, gst_main_loop does not exist. Its g_main_loop.
2551 Discovered by somebody who abused the copy-paste technique of coding :)
2553 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
2555 * gst/gstghostpad.c:
2556 Log ghostpad debug stuff to the GST_PADS category as well rather
2557 than just to the default category.
2559 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
2562 * gst/gst.c: (init_pre):
2563 Add some basic system details such as OS and architecture
2564 to the debug output if possible, courtesy of uname().
2566 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
2568 * docs/gst/running.xml:
2569 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
2570 environment variables.
2572 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
2574 * tests/check/gst/gstbin.c: (GST_START_TEST):
2575 It is acceptable to have a refcount of 2 or 3 at this point in the
2576 test, because the pipeline might be just posting its state_change
2577 message. The next line then waits for that message to appear using
2578 bus_poll, so that should be fine too.
2580 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
2582 * gst/gst.c: (ensure_current_registry_forking):
2583 Ignore EINTR when reading from the child registry pipe.
2584 Explicitly ignore the return value from close, since it makes no
2587 * gst/gstminiobject.c: (gst_mini_object_ref),
2588 (gst_mini_object_unref):
2589 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
2591 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
2592 When removing cached plugins, remove their features too, so they're
2593 not visible after they've disappeared.
2595 * gst/gstutils.c: (prepare_link_maybe_ghosting):
2596 In the unlikely case that we are linking pads with no parents, don't
2597 crash trying to get the non-existent parent bin.
2599 * gst/parse/grammar.y:
2600 Output debug in the PIPELINE category
2602 2005-03-08 Wim Taymans <wim@fluendo.com>
2604 Patch by: René Stadler <mail at renestadler dot de>
2606 * gst/gstclock.c: (gst_clock_new_periodic_id):
2607 Reject invalid clock times for interval of periodic ids.
2610 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2612 * gst/gstelementfactory.c: (gst_element_factory_create):
2613 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2614 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
2615 * tools/gst-inspect.c: (print_element_info):
2616 Fix refcounting of gst_plugin_feature_load to match the docs.
2619 2006-12-07 Wim Taymans <wim@fluendo.com>
2621 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2622 (gst_base_sink_get_position):
2623 Improve debugging of events.
2625 2006-12-07 Wim Taymans <wim@fluendo.com>
2627 Patch by: René Stadler <mail at renestadler dot de>
2629 * gst/gstclock.c: (gst_clock_id_wait):
2630 Make period ids add the interval to the origial requested time instead
2631 of the possibly updated time which can be wrong when there are multiple
2632 waiters for the same id. Fixes #382592.
2634 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
2635 (gst_system_clock_id_wait_jitter_unlocked),
2636 (gst_system_clock_id_wait_jitter):
2637 Fix restart in the async notify thread when an async entry is added to
2638 the front of the list. Fixes #381492.
2640 * tests/check/gst/gstsystemclock.c: (store_callback),
2641 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2642 Added test for multiple async waits.
2643 Added test for async wait order.
2645 2006-12-07 Wim Taymans <wim@fluendo.com>
2647 * gst/gstbin.c: (gst_bin_query):
2648 Add some more docs about the POSITION query.
2650 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2653 Bump version nano - back to CVS.
2655 === release 0.10.11 ===
2657 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
2660 releasing 0.10.11, "Love never runs on time"
2662 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
2664 * win32/common/libgstbase.def:
2665 * win32/common/libgstreamer.def:
2666 * win32/vs8/libgstbase.vcproj:
2667 * win32/vs8/libgstcoreelements.vcproj:
2668 * win32/vs8/libgstreamer.vcproj:
2669 Fix compilation on win32 under VS8
2670 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2671 Partially fixes #381175
2673 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
2675 * gst/gstvalue.c: (gst_value_compare_fraction):
2676 If someone is foolish enough to compare 2 fractions with denominator =
2677 0, return UNORDERED rather than aborting.
2679 2006-11-28 Edward Hervey <edward@fluendo.com>
2681 * libs/gst/base/Makefile.am:
2682 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2683 (gst_data_queue_base_init), (gst_data_queue_class_init),
2684 (gst_data_queue_init), (gst_data_queue_new),
2685 (gst_data_queue_cleanup), (gst_data_queue_finalize),
2686 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2687 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2688 (gst_data_queue_is_empty), (gst_data_queue_is_full),
2689 (gst_data_queue_set_flushing), (gst_data_queue_push),
2690 (gst_data_queue_pop), (gst_data_queue_drop_head),
2691 (gst_data_queue_set_property), (gst_data_queue_get_property):
2692 * libs/gst/base/gstdataqueue.h:
2693 New GstDataQueue object for threadsafe queueing. Most useful for
2694 elements that need some queueing functionnality.
2695 * docs/libs/gstreamer-libs-docs.sgml:
2696 * docs/libs/gstreamer-libs-sections.txt:
2697 Insert documentation for GstDataQueue
2698 * plugins/elements/Makefile.am:
2699 * plugins/elements/gstelements.c:
2700 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2701 (gst_multi_queue_class_init), (gst_multi_queue_init),
2702 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2703 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2704 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2705 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2706 (gst_multi_queue_loop), (gst_multi_queue_chain),
2707 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2708 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2709 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2710 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2711 (wake_up_next_non_linked), (compute_next_non_linked),
2712 (single_queue_overrun_cb), (single_queue_underrun_cb),
2713 (single_queue_check_full), (gst_single_queue_new):
2714 * plugins/elements/gstmultiqueue.h:
2715 New multiqueue element, using GstDataQueue. Used for queuing multiple
2717 Closes #344639 and #347785
2719 2006-11-22 Stefan Kost <ensonic@users.sf.net>
2721 * docs/pwg/advanced-types.xml:
2722 add more missing type details
2724 * tools/gst-run.c: (main):
2725 remove unused variable
2727 2006-11-21 Stefan Kost <ensonic@users.sf.net>
2729 * docs/libs/Makefile.am:
2730 * docs/libs/gstreamer-libs.types:
2731 add types of base classes to enable gobject specific stuff in the docs
2733 * docs/random/ensonic/embedded.txt:
2734 more ideas about isolating platform specific things
2736 2006-11-20 Wim Taymans <wim@fluendo.com>
2738 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2740 * libs/gst/check/gstcheck.h:
2741 Fix compilation and running against 0.9.4. Fixes #377332.
2743 2006-11-20 Wim Taymans <wim@fluendo.com>
2745 * gst/gstsegment.c: (gst_segment_set_seek),
2746 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2747 (gst_segment_to_running_time):
2748 Fix boundary checking in to_running_time() and to_stream_time().
2751 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2752 stream and running time can now be calculated for the complete
2755 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
2757 * gst/gstpad.c: (gst_pad_push_event):
2758 Can't access event structure after giving away ownership of
2761 2006-11-15 Stefan Kost <ensonic@users.sf.net>
2763 * docs/random/ensonic/embedded.txt:
2764 * docs/random/ensonic/profiling.txt:
2765 * docs/random/ensonic/receipies.txt:
2768 2006-11-13 Wim Taymans <wim@fluendo.com>
2770 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2773 Fix documentation for gst_pad_dispatcher. Fixes #374475.
2775 2006-11-13 Wim Taymans <wim@fluendo.com>
2777 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2779 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2780 Store new length in segment duration so we don't keep on calling the
2781 potentially expensize get_size() call. Fixes #370865.
2783 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
2785 Patch by: Sergey Scobich <sergey.scobich at gmail com>
2787 * win32/common/libgstreamer.def:
2788 Add two missing symbols (#366492).
2790 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
2792 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2793 (gst_adapter_take_buffer):
2794 Fix format string to use all its arguments.
2795 Remove useless >= check on a guint
2797 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2799 * tests/examples/adapter/.cvsignore:
2800 Ignore build file as commanded by the build-bot
2802 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2804 * tests/examples/adapter/Makefile.am:
2805 * tests/examples/adapter/adapter_test.c: (run_test_take),
2806 (run_test_take_buffer), (run_tests), (main):
2808 Add new files from the previous commit
2810 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2814 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2815 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2816 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2817 * libs/gst/base/gstadapter.h:
2818 * tests/check/libs/adapter.c: (create_and_fill_adapter),
2819 (GST_START_TEST), (gst_adapter_suite):
2820 * tests/examples/Makefile.am:
2821 Do some optimisation work in GstAdapter to avoid copies in more cases.
2822 It could still do slightly better by merging buffers when
2823 gst_buffer_is_span_fast is true, but is already faster.
2825 Also, avoid traversing a single-linked list to append each incoming
2826 buffer inside the adapter.
2828 Add simple test app that times the adapter behaviour in different
2829 situations, and extend the unit test to check that bytes enter and
2830 exit the adapter in their original order.
2832 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
2834 * docs/random/draft-missing-plugins.txt:
2835 Update: use element message instead of adding a new message
2836 type to the core; don't provide GStreamer API to initiate the
2837 plugin download, just provide API to compose the strings needed
2838 and let an external libgimmestuff handle the rest.
2840 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
2842 * tools/gst-inspect.c: (print_element_properties_info):
2843 Print a string instead of 'unknown type' for GValueArray properties
2845 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
2847 * docs/random/draft-missing-plugins.txt:
2850 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2852 * tests/examples/typefind/typefind.c: (type_found), (main):
2853 Make typefind element example work again (#371894); add a
2856 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2858 * docs/random/draft-missing-plugins.txt:
2859 Commit initial draft about how to deal with missing plugins,
2860 needs work (API too).
2862 2006-11-07 Stefan Kost <ensonic@users.sf.net>
2864 * docs/pwg/advanced-types.xml:
2865 documents the new caps elements (see #363118)
2867 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2869 * gst/gstplugin.c: (gst_plugin_load_file):
2870 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2871 (gst_file_src_map_region), (gst_file_src_start):
2872 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2873 (gst_file_index_commit):
2874 Use g_strerror() instead of strerror() - we want UTF-8.
2876 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2878 Patch by: Peter Kjellerstedt <pkj at axis com>
2880 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2881 Another printf fix (#371493).
2883 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2885 * tests/check/gst/gsttag.c:
2886 relicence (okay with author=company)
2888 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2890 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2891 (gst_pad_push_event):
2892 Enhance debug and improve docs
2897 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2899 * docs/random/ensonic/distributed.txt:
2900 * docs/random/ensonic/profiling.txt:
2903 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2905 * docs/gst/gstreamer-sections.txt:
2906 add new API and fix the build
2908 * gst/gstbin.c: (gst_bin_recalc_state):
2909 * gst/gstelement.c: (gst_element_message_full),
2910 (gst_element_get_state_func), (gst_element_set_state_func):
2911 use new API and improve logging
2913 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2915 API: add function to get StateChangereturn names to improve logs
2917 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
2919 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2920 I'm considering shooting the next person to put strerror stuff
2921 in the translateable part of the message.
2923 2006-11-03 Wim Taymans <wim@fluendo.com>
2925 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2926 Get the type and printf conversion specifiers right.
2928 2006-11-03 Wim Taymans <wim@fluendo.com>
2930 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2932 * gst/gstpad.c: (gst_pad_init), (pre_activate),
2933 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2934 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2935 Some small cleanups. Improve debugging.
2937 Signal all waiting threads with a broadcast instead of just one.
2940 2006-11-03 Wim Taymans <wim@fluendo.com>
2942 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2943 (gst_fd_src_create):
2945 Only update fd when it's different from the old.
2947 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2949 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2950 Printf fixes for PPC/OSX, take two (#369366).
2952 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2954 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
2956 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2957 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2958 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2959 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2960 don't cast to long long for portability reasons, but use
2961 GLib's types instead.
2963 2006-10-30 Michael Smith <msmith@fluendo.com>
2965 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2966 Get the arguments to lseek() the right way around.
2969 2006-10-30 Wim Taymans <wim@fluendo.com>
2971 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2974 _declspec should be __declspec (two underscores, not one). Fixes 366572.
2976 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2978 Patch by: Kjartan Maraas <kmaraas at gnome org>
2980 * docs/design/part-MT-refcounting.txt:
2981 * docs/random/wtay/capsnego2-docs:
2984 Typo fixes (#366212).
2986 2006-10-28 Wim Taymans <wim@fluendo.com>
2988 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2991 * win32/common/libgstbase.def:
2992 * win32/common/libgstreamer.def:
2993 * win32/vs8/libgstbase.vcproj:
2994 * win32/vs8/libgstcontroller.vcproj:
2995 Add needed entries in .def files.
2997 Rearrange def files in vs8 solutions. Fixes #366286.
2999 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
3001 * win32/common/gstconfig.h:
3002 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
3003 hand-made win32 gstconfig.h. Fixes #366321.
3005 2006-10-27 Wim Taymans <wim@fluendo.com>
3007 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
3008 (gst_ghost_pad_new_full):
3009 Make acceptcaps return TRUE when we don't have a target, just like
3012 2006-10-27 Wim Taymans <wim@fluendo.com>
3014 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3015 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
3017 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
3019 * gst/gststructure.c: (gst_structure_id_set_value):
3020 If someone tries to set a non-UTF8 string field on a structure,
3021 don't just print a warning, but also ignore the request and do
3022 not change/add that field to the structure.
3024 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3027 2006-10-25 David Schleef <ds@schleef.org>
3030 g_hash_table_insert() needs a cast to a non-const pointer duh.
3032 2006-10-25 David Schleef <ds@schleef.org>
3036 Change name parameter of _gst_debug_register_funcptr to const
3037 to reflect the constness of its use in the function as well
3038 as to quiet a gcc warning.
3040 2006-10-25 Edward Hervey <edward@fluendo.com>
3042 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3043 Don't push the buffer if it's empty.
3046 2006-10-24 Wim Taymans <wim@fluendo.com>
3051 * libs/gst/base/gstbasetransform.c:
3052 (gst_base_transform_sink_eventfunc):
3053 Debug segment values *after* updating them as this is more
3056 2006-10-23 Wim Taymans <wim@fluendo.com>
3058 * docs/design/part-events.txt:
3061 * docs/design/part-block.txt:
3062 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3063 (gst_pad_push_event):
3064 Revert BLOCKING patch, it tries to be smart without really having a
3065 clear idea what or how. So, now we discard all FLUSHING events again on
3066 a blocking pad. Should fix gnonlin again.
3068 2006-10-23 Wim Taymans <wim@fluendo.com>
3070 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3072 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3073 (gst_base_src_start), (gst_base_src_activate_push):
3074 Make sure size is always initialized. Fixes #364388.
3076 2006-10-20 Stefan Kost <ensonic@users.sf.net>
3078 * docs/random/ensonic/distributed.txt:
3079 add some ideas about doing distributed processing
3081 * docs/random/ensonic/profiling.txt:
3082 get_rusage look promising
3084 2006-10-18 Stefan Kost <ensonic@users.sf.net>
3086 * docs/manual/basics-helloworld.xml:
3087 Add a cast in example to fix compile warning
3089 2006-10-18 Wim Taymans <wim@fluendo.com>
3091 * gst/gstsegment.c: (gst_segment_set_last_stop),
3092 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
3093 Relax arg checking again, -1 is allowed.
3095 2006-10-18 Wim Taymans <wim@fluendo.com>
3097 * gst/gstsegment.c: (gst_segment_set_last_stop),
3098 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
3099 _set_last_stop() must be with a value != -1
3100 A _TYPE_SET to -1 means seek to 0.
3101 Calc last_stop correctly for negative rates.
3102 Make sure we work with positive durations when updating a segment.
3104 2006-10-18 Wim Taymans <wim@fluendo.com>
3106 * docs/design/part-live-source.txt:
3110 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
3113 Add an explicit cast to GstBuffer** to keep old code that added an
3114 explicit cast to GstMiniObject** for gst_mini_object_replace()
3115 compiling without warning.
3117 2006-10-18 Stefan Kost <ensonic@users.sf.net>
3119 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
3120 check for validity of dates
3122 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
3124 * docs/gst/gstreamer-sections.txt:
3125 Forgot this one, makes gtk-doc shut up.
3127 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
3129 Patch by: Peter Kjellerstedt <pkj at axis com>
3132 Don't define xmlNodePtr to gpointer if the core was built with
3133 --disable-loadsave and --disable-registry, this will break
3134 applications that want to use libxml2 but are buildling against a
3135 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
3136 instead so we don't have to mess with the libxml2 namespace
3139 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
3142 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
3143 type-punned pointer warnings.
3145 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
3148 Add casts to the correct return type to state <=> state transition
3151 2006-10-16 Stefan Kost <ensonic@users.sf.net>
3153 * docs/design/part-live-source.txt:
3154 describe howto handle latency
3156 * docs/random/ensonic/profiling.txt:
3159 * tools/gst-plot-timeline.py:
3160 fix log parsing for solaris, remove unused function
3162 2006-10-16 Wim Taymans <wim@fluendo.com>
3164 * docs/design/part-trickmodes.txt:
3166 Update some docs regarding reverse playback.
3168 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
3170 Patch by: Marcus Granado <mrc dot gran at gmail com>
3172 * win32/vs8/grammar.vcproj:
3173 Error out with a warning if glib-genmarshal.exe is not in path,
3174 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
3176 2006-10-13 Wim Taymans <wim@fluendo.com>
3178 * gst/gstsegment.c: (gst_segment_set_seek):
3179 When seeking to stop -1, set last_stop (current position) to the
3180 duration of the segment.
3182 2006-10-13 Wim Taymans <wim@fluendo.com>
3185 Clarify _NO_PREROLL a bit more.
3190 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
3191 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
3192 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
3193 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
3194 due to wrong locking order. Fixes #361769.
3195 Remove some redundant/misplaced checks in pad_block.
3197 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3198 For negative rates, count backwards from the duration.
3200 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
3202 * gst/gsterror.c: (_gst_library_errors_init):
3203 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
3204 up with something better).
3206 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
3208 * win32/vs6/libgstreamer.dsp:
3209 * win32/vs7/libgstreamer.vcproj:
3210 * win32/vs8/libgstreamer.vcproj:
3211 Don't reference glib-compat.c which is currently not used and not
3212 disted; add gstquark.c which was recently added. Fixes #361730.
3214 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
3216 * win32/common/libgstbase.def:
3217 * win32/common/libgstcontroller.def:
3218 * win32/common/libgstreamer.def:
3219 Add gst_caps_merge() and a bunch of other recently-added functions.
3222 2006-10-11 Wim Taymans <wim@fluendo.com>
3224 * docs/plugins/gstreamer-plugins.args:
3225 * docs/plugins/inspect/plugin-coreelements.xml:
3226 * docs/plugins/inspect/plugin-coreindexers.xml:
3227 Update element args.
3229 * gst/gstsystemclock.c:
3230 Small comment update.
3232 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
3233 (gst_tee_request_new_pad), (gst_tee_release_pad),
3234 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
3235 (gst_tee_sink_activate_pull):
3236 * plugins/elements/gsttee.h:
3238 Add default property defines.
3239 Implement release pad function.
3240 Give properties better blubs etc.
3241 Activate pads before adding them to a running tee.
3242 Do simple buffer_alloc on the first requested pad.
3243 Post error when activation fails.
3245 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
3247 * gst/gst.c: (ensure_current_registry_forking):
3248 Check return value of write() to make compiler happy.
3250 2006-10-11 Wim Taymans <wim@fluendo.com>
3252 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3254 * plugins/elements/gstqueue.c: (gst_queue_chain):
3255 Recheck queue filledness after signalling the overrun when we're about
3256 to leak downstream because we released the lock when emitting the signal
3257 and the queue could be empty again. Fixes #352345.
3259 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
3261 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
3262 Fix refcounting here too, just like we did for _new_valist() a few
3263 days ago (#357180) (thanks to René Stadler). Also remove all those
3264 'Since: 0.9' from the gtk-doc blobs.
3266 * tests/check/libs/controller.c: (controller_refcount_new_list),
3267 (gst_controller_suite):
3268 Unit test for the above.
3270 2006-10-10 Wim Taymans <wim@fluendo.com>
3272 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
3274 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3275 (gst_pad_save_thyself):
3277 Write pad direction in XML output. Fixes #345496.
3279 2006-10-10 Wim Taymans <wim@fluendo.com>
3281 Patch by: René Stadler <mail at renestadler dot de>
3283 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3284 (gst_controller_new_list), (_gst_controller_dispose),
3285 (_gst_controller_finalize), (_gst_controller_class_init):
3286 Take ref to controlled object so that it cannot disappear.
3289 2006-10-10 Wim Taymans <wim@fluendo.com>
3291 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3292 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3293 (gst_check_teardown_sink_pad):
3294 Activate/deactivate pads in setup/teardown respectively.
3296 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3298 Patch by: Josep Torre Valles <josep@fluendo.com>
3301 Cast values when making gstenumtypes.h. This pacifies Forte
3302 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
3305 2006-10-09 Wim Taymans <wim@fluendo.com>
3307 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
3308 Rename some more @cur to @start to fix docs.
3310 * gst/gstsegment.c: (gst_segment_set_seek):
3312 time and start must always stay in sync as defined in design doc.
3314 * gst/gsttaglist.c: (gst_tag_list_is_empty):
3315 Rename param to fix docs.
3317 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3318 Check that start and time are in sync.
3320 * tests/check/pipelines/parse-launch.c:
3321 (gst_parse_test_element_change_state):
3322 Activate pad before adding to the element.
3324 2006-10-09 Wim Taymans <wim@fluendo.com>
3326 * docs/design/part-qos.txt:
3331 Update seek event docs regarding negative rates.
3332 Rename @cur to @start.
3334 * gst/gstsegment.c: (gst_segment_set_seek):
3336 Update set_seek docs regarding negative rates.
3337 Correctly update last_stop to @stop when dealing with negative
3339 Rename @cur to @start.
3341 * tests/check/gst/gstpad.c: (GST_START_TEST):
3342 Activate pads before trying to use them.
3344 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3345 (gst_segment_suite):
3346 Add simple check for segments and negative rates.
3348 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
3350 * gst/gsttaglist.c: (gst_tag_list_is_empty):
3352 * docs/gst/gstreamer-sections.txt:
3353 API: add gst_tag_list_is_empty() (#360467).
3355 * tests/check/gst/gsttag.c: (GST_START_TEST):
3358 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3361 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
3362 a value that doesn't fit on enumeration.
3364 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3366 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3367 Remove local debugging system and use Gstreamer's instead.
3369 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3371 Patch by: Josep Torre Valles <josep@fluendo.com>
3373 * common/m4/gst-error.m4:
3374 Disable warning of statement not reached on Forte.
3376 Fix warning on Forte (value doesn't fit on enumeration).
3377 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
3378 Fix warning on Forte (value doesn't fit on enumeration).
3379 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3380 DEBUG macro says it takes minimum of 2 args and so Forte
3381 complains about the use with just 1 arg.
3382 * plugins/elements/gstfdsink.c:
3383 * plugins/elements/gstfdsrc.c:
3384 * plugins/elements/gstfilesink.c:
3385 * plugins/elements/gstfilesrc.c:
3386 Use correct return type for the uri handler implementations.
3388 All these fix warnings in Forte. Fixes bug #360860.
3390 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
3393 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
3394 format string, so don't use G_GNUC_PRINTF for those versions.
3396 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
3398 * gst/gsttaglist.c: (gst_is_tag_list):
3400 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
3402 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3403 Small test for the above.
3405 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
3408 Less tabs, more spaces.
3410 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
3413 Those two function declarations do actually belong there, revert
3414 commit from yesterday that turned them intro macros.
3416 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3418 Patch by: Josep Torre Valles <josep@fluendo.com>
3420 * gst/gst.c: (gst_init_get_option_group):
3421 Fix empty declaration and type mismatch.
3422 * gst/gstbin.c: (gst_bin_change_state_func):
3424 * gst/gstelement.c: (gst_element_continue_state),
3425 (gst_element_set_state_func), (gst_element_change_state),
3426 (gst_element_change_state_func):
3427 Fix type mismatches.
3428 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
3429 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
3430 Cast as appropriate.
3431 * gst/gstobject.c: (gst_class_signal_connect):
3432 Cast as appropriate. The function pointer parameter really
3433 has the wrong type but would break API if we change it.
3435 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
3436 order of including string.h.
3437 * gst/gstutils.c: (gst_element_state_get_name):
3438 Remove unreachable line.
3439 * gst/gstxml.c: (gst_xml_parse_doc):
3441 All these caught by Forte.
3443 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3445 Patch by: Josep Torre Valles <josep@fluendo.com>
3447 * common/m4/gst-error.m4:
3449 We need to disable warnings on Forte for empty declarations
3450 due to gst-indent adding ;s to lines that just use macros
3451 where the macro actually doesn't need a ; at end to end
3454 2006-10-06 Wim Taymans <wim@fluendo.com>
3456 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3457 (gst_file_sink_close_file), (gst_file_sink_event),
3458 (gst_file_sink_render):
3459 Add some FIXME for the NEWSEGMENT handling.
3461 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3463 * gst/parse/grammar.y:
3464 Remove static function gst_parse_element_lock as all it does
3465 is return. Looks like cruft from 0.8.
3467 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3469 Patch by: Josep Torre Valles <josep@fluendo.com>
3471 * common/m4/gst-error.m4:
3473 * libs/gst/net/Makefile.am:
3474 Fix a compilation issue with Forte on Solaris. inet_aton is in
3477 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
3479 * gst/gstpad.c: (pre_activate):
3480 * gst/gstregistry.c: (gst_registry_scan_path_level):
3481 * gst/gstregistryxml.c: (load_plugin):
3482 * libs/gst/controller/gstcontroller.c:
3483 (gst_controlled_property_set_interpolation_mode):
3484 * libs/gst/dataprotocol/dataprotocol.c:
3485 (gst_dp_packet_from_event_1_0):
3486 * libs/gst/net/gstnetclientclock.c:
3487 (gst_net_client_clock_observe_times):
3488 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3491 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
3494 * docs/gst/gstreamer-sections.txt:
3495 * gst/gstconfig.h.in:
3498 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
3499 whether we can use G_GNUC_PRINTF in other header files and at
3500 least check the printf format/arguments of debug messages and
3501 GST_ELEMENT_ERROR messages when the printf extension is not
3503 Replace more tabs with spaces in gstinfo.h and remove two spurious
3504 function declarations in GST_DISABLE_DEBUG part with macros.
3506 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
3508 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
3509 More docs for the sync-message signal (mention that it is not
3510 emitted by default); log message structures of messages posted on
3513 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
3515 * gst/gst.c: (ensure_current_registry_forking):
3516 Use a pipe pair to receive status results from the forked child, and
3517 ignore the result from waitpid. Fixes #355499
3519 2006-10-02 Wim Taymans <wim@fluendo.com>
3521 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3522 (gst_ghost_pad_suite):
3525 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
3528 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
3530 2006-10-02 Edward Hervey <edward@fluendo.com>
3532 * docs/design/part-block.txt:
3533 Further explain the use of flushing on blocked pads.
3534 * docs/gst/gstreamer-sections.txt:
3535 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3536 (gst_pad_push_event):
3538 Added new GstPadFlag : GST_PAD_BLOCKING.
3539 Adds the notion of pads really blocking, which enables to properly
3540 handle FLUSH_START/FLUSH_STOP events on blocked pads.
3542 API: gst_pad_is_blocking()
3543 API: GST_PAD_IS_BLOCKING() macro
3544 API: GST_PAD_BLOCKING GstPadFlag
3546 2006-10-02 Wim Taymans <wim@fluendo.com>
3548 Patch by: mrcgran <mrc.gran at gmail dot com>
3550 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
3551 Filter the proxied caps against the padtemplate if we have one.
3553 * gst/gstquery.c: (gst_query_new_segment):
3554 Add include for gstinfo.h so that compilation with
3555 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
3557 2006-10-02 Wim Taymans <wim@fluendo.com>
3559 Patch by: Alessandro Decina <alessandro at nnva org>
3561 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
3562 (gst_file_sink_set_location), (gst_file_sink_open_file),
3563 (gst_file_sink_close_file), (gst_file_sink_event),
3564 (gst_file_sink_render):
3565 Set file to NULL when closing filesink so that we can set a new filename
3566 in READY. Fixes #358613.
3568 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
3570 Patch by: Alessandro Decina <alessandro at nnva org>
3572 * gst/gstevent.c: (_gst_event_copy):
3573 Fix gst_mini_object_make_writable() and gst_event_copy() for events
3574 with event structures by setting the parent refcount address of the
3575 copied structure to the address of the refcount member of the newly
3576 copied event rather than the address of the refcount member of the
3577 original event. Fixes #358737.
3579 * tests/check/gst/gstevent.c: (GST_START_TEST):
3580 Unit test for the above.
3582 2006-09-29 Stefan Kost <ensonic@users.sf.net>
3584 * docs/design/Makefile.am:
3585 Dist some more files.
3587 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
3589 * tests/check/libs/controller.c: (GST_START_TEST),
3590 (gst_controller_suite):
3591 Add test for the previous fix; add some more tests
3592 for correct refcounting behaviour; fix a few leaks
3593 in test cases; call gst_controller_init() at start
3596 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
3598 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3599 (gst_controller_set_from_list):
3600 Don't g_return_val_if_fail() on timed values with invalid timestamps
3601 inside a critical section without unlocking the mutex. Spotted by
3602 René Stadler. (#357617)
3603 Also, fix up refcounting properly: when returning an existing
3604 controller, we should increase the reference only once and not
3605 once per property and when trying to control a property again
3606 we should also increase the refcount.
3608 2006-09-29 Wim Taymans <wim@fluendo.com>
3610 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3611 * libs/gst/net/gstnettimeprovider.c:
3612 (gst_net_time_provider_thread):
3613 Stop reading commands when EOF as well.
3615 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3616 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3617 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3618 Unify description of the dump property.
3620 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3622 * tests/examples/manual/.cvsignore:
3623 OK, so it's actually cvsignore that needs changing. Stop laughing.
3625 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3627 * tests/examples/manual/Makefile.am:
3628 Gah, declare vars *before* using them
3630 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3632 * gst/gst.c: (init_pre), (scan_and_update_registry),
3633 (ensure_current_registry_nonforking),
3634 (ensure_current_registry_forking), (ensure_current_registry),
3635 (init_post), (gst_debug_help), (gst_deinit):
3636 * gst/gst_private.h:
3637 * gst/gstregistry.c: (gst_registry_finalize),
3638 (gst_registry_remove_features_for_plugin_unlocked),
3639 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3640 (gst_registry_scan_path),
3641 (_priv_gst_registry_remove_cache_plugins),
3642 (_priv_gst_registry_cleanup):
3643 * gst/gstregistry.h:
3644 Re-commit the registry changes, along with an extra fix:
3645 When a cached plugin is encountered at a different file path,
3646 update the stored path in the registry cache so that the parent
3647 process knows where it actually is now when it re-reads the registry
3648 cache. Fixes the thing that broke distcheck with the previous commit.
3650 * tests/check/Makefile.am:
3651 Clean up files named 'core' too when running make clean.
3653 * tests/examples/manual/Makefile.am:
3654 Set up a registry path for running these tests, and clean it properly
3657 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3660 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3661 want gmodule-no-export-2.0.pc instead so that we don't drag in
3662 --export-dynamic on every project that links to GStreamer.
3664 Also, make our export regex only match the start of symbols, rather
3665 than any symbol that contains '_gst' somewhere.
3667 * libs/gst/check/Makefile.am:
3668 The libgstcheck we build does however need export-dynamic, as it
3669 produces some symbols that don't match our _gst... style regex.
3672 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3674 * gst/gst.c: (init_pre), (scan_and_update_registry),
3675 (ensure_current_registry_nonforking),
3676 (ensure_current_registry_forking), (ensure_current_registry),
3677 (init_post), (gst_debug_help), (gst_deinit):
3678 * gst/gst_private.h:
3679 * gst/gstregistry.c: (gst_registry_finalize),
3680 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3681 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3682 (_gst_registry_cleanup):
3683 * gst/gstregistry.h:
3684 Revert previous change until I figure out why it breaks distcheck.
3686 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3688 * gst/gst.c: (init_pre), (scan_and_update_registry),
3689 (ensure_current_registry_nonforking),
3690 (ensure_current_registry_forking), (ensure_current_registry),
3691 (init_post), (gst_debug_help), (gst_deinit):
3693 Make init_pre and init_post take the full complement of GOptionFunc
3694 args so they can return useful GErrors. Make the registry updating
3697 Call _priv_gst_registry_remove_cache_plugins after scanning files to
3698 ensure that the registry we're about to write out doesn't contain
3699 stale information about old-deleted plugin files.
3701 Make _priv_gst_registry_remove_cache_plugins return a boolean so
3702 that deletion of plugin files is considered a registry change.
3704 * gst/gst_private.h:
3705 * gst/gstregistry.c: (gst_registry_finalize),
3706 (gst_registry_remove_features_for_plugin_unlocked),
3707 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3708 (gst_registry_scan_path),
3709 (_priv_gst_registry_remove_cache_plugins),
3710 (_priv_gst_registry_cleanup):
3711 * gst/gstregistry.h:
3712 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3713 by adding _priv prefix, so that they won't appear in the global
3714 symbol table. They still do atm though because of #318031. Move the
3715 prototypes to gst_private.h
3717 When removing a plugin, remove all features for that plugin too.
3720 2006-09-27 Wim Taymans <wim@fluendo.com>
3722 * docs/random/moving-plugins:
3723 Make it clear that the "compiled-in descriptions" really mean
3724 the element details.
3726 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3727 (gst_base_sink_wait_preroll):
3730 * docs/libs/gstreamer-libs-sections.txt:
3731 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3732 (gst_base_src_get_range), (gst_base_src_activate_push):
3733 * libs/gst/base/gstbasesrc.h:
3734 Added function to block while waiting for PLAYING, this function
3735 is used by live sources that block on the clock.
3736 API: gst_base_src_wait_playing()
3738 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3740 Patch by: Peter Kjellerstedt <pkj at axis com>
3743 gst-element-check.m4 is generated and should therefore be
3744 copied from the build dir rather than the source dir (#357593).
3745 'make distcheck' hasn't noticed this because we were disting
3746 the file as well, so stop doing that.
3748 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3750 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3751 Add some tests for gst_caps_intersect().
3753 * tools/gst-launch.c: (event_loop):
3754 Print all buffering percentages we get, even the 100% one.
3756 2006-09-26 Wim Taymans <wim@fluendo.com>
3758 * tools/gst-inspect.c: (print_element_properties_info),
3759 (print_signal_info):
3760 Fix printing of flags to match the look of enums.
3762 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3764 * gst/gstelementfactory.c:
3765 Fix typo in docs blurb.
3767 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3769 * gst/gsturi.c: (search_by_entry):
3770 Don't assert/crash here if a uri handler doesn't return any
3771 supported protocols. The list of protocols could be generated
3772 dynamically at runtime or at plugin registration, and an error
3773 in the underlying library shouldn't be fatal (#353301).
3775 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3778 Fix warning if HAVE_PRINTF_EXTENSION is undefined
3779 (spotted by Peter Kjellerstedt).
3781 2006-09-23 Wim Taymans <wim@fluendo.com>
3783 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3785 * libs/gst/base/gstbasesrc.c:
3786 (gst_base_src_default_check_get_range), (gst_base_src_start),
3787 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3788 (gst_base_src_change_state):
3789 Match _start/_stop calls in the activate functions. Remove redundant
3790 _stop call from the state change function. Fixes #356910.
3791 Turn failure DEBUG into ERROR.
3793 2006-09-22 Wim Taymans <wim@fluendo.com>
3795 * docs/design/part-buffering.txt:
3796 * gst/gstmessage.c: (gst_message_new_buffering),
3797 (gst_message_parse_buffering):
3798 Update docs about buffering.
3800 * docs/design/part-trickmodes.txt:
3803 2006-09-22 Stefan Kost <ensonic@users.sf.net>
3805 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3806 (gst_controller_new_list):
3807 Ref instances when returning them again (fixes #357180)
3809 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
3811 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3812 Don't forget to release proxy lock when there's an error.
3814 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
3817 Add extra initialisers for Caps things, to fix some plugin warnings
3820 2006-09-18 Wim Taymans <wim@fluendo.com>
3822 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3823 Also set template on the internal pad so that a getcaps from the
3824 target pad returns the template caps.
3826 2006-09-18 Wim Taymans <wim@fluendo.com>
3828 * gst/gstelement.c: (gst_element_post_message),
3829 (gst_element_dispose):
3830 Use _DEBUG_OBJECT some more.
3832 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3835 * tools/gst-launch.c: (main):
3836 If the toplevel element is not a GstPipeline, it must be put in a
3837 pipeline so that a bus and clock is selected.
3839 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3841 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3842 JITTER, RATE, and LATENCY query should be handled by the
3843 default case and not by the CONVERT query code.
3845 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3847 * gst/gstformat.c: (gst_format_register):
3848 Fix locking order (must take lock before using n_values).
3850 * gst/gstvalue.c: (gst_value_serialize_enum),
3851 (gst_value_deserialize_enum_iter_cmp),
3852 (gst_value_deserialize_enum):
3853 Fix serialisation/deserialisation of custom registered GstFormats.
3855 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3856 Unit test for custom format serialisation/deserialisation.
3858 2006-09-17 Stefan Kost <ensonic@users.sf.net>
3860 * docs/pwg/building-boiler.xml:
3861 * plugins/elements/gstcapsfilter.c:
3862 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3865 2006-09-16 Edward Hervey <edward@fluendo.com>
3867 * libs/gst/base/gstbasetransform.c:
3868 (gst_base_transform_buffer_alloc):
3869 Check if requested caps are the same as the sinks caps IF
3870 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3872 This fixes the renegotiation issues stated in #352827.
3874 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3877 * docs/manual/advanced-autoplugging.xml:
3878 * tests/examples/Makefile.am:
3879 * tests/examples/manual/.cvsignore:
3880 * tests/examples/manual/Makefile.am:
3881 * tests/examples/manual/extract.pl:
3882 Extract the manual examples again like we used to do.
3885 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3887 * win32/common/config.h:
3890 2006-09-16 Stefan Kost <ensonic@users.sf.net>
3893 Documents how to receive errors.
3895 2006-09-15 Wim Taymans <wim@fluendo.com>
3897 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3898 (event_loop), (main):
3899 Added some comments here and there.
3900 Post an application message when an interrupt is caught instead of doing
3901 an uncontrolled state change.
3902 Clean up the event loop.
3903 Handle buffering messages, pause/resume the pipeline.
3904 Make shutdown because of an interrupt more reliable.
3906 2006-09-15 Wim Taymans <wim@fluendo.com>
3908 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3909 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3910 (gst_base_sink_preroll_object):
3911 Make sure that our internal state is correct when we commit our state
3912 asynchronously. This solves a race where a state change to PLAYING
3913 could cause the sink to remain blocked in preroll in some situations.
3915 2006-09-15 Wim Taymans <wim@fluendo.com>
3917 * tools/gst-inspect.c: (print_element_properties_info),
3918 (print_signal_info):
3919 List flags as hex so it's easier to deal with.
3921 2006-09-15 Wim Taymans <wim@fluendo.com>
3923 * docs/libs/gstreamer-libs-sections.txt:
3924 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3925 (gst_base_sink_do_sync):
3926 * libs/gst/base/gstbasesink.h:
3927 Expose logic to wait for preroll so that subclasses such as audiosink
3928 can also use this method.
3929 API: gst_base_sink_wait_preroll()
3931 2006-09-15 Wim Taymans <wim@fluendo.com>
3933 * gst/gstobject.c: (gst_object_set_parent):
3934 * gst/gstpipeline.c: (do_pipeline_seek):
3935 Small cleanups in docs and code.
3937 * gst/gstsegment.c: (gst_segment_clip):
3938 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3939 if stop == start and start is in the segment, no clipping should be
3940 done. Also add a test for this.
3942 2006-09-15 Wim Taymans <wim@fluendo.com>
3944 * docs/design/part-buffering.txt:
3945 * docs/gst/gstreamer-sections.txt:
3946 * gst/gstmessage.c: (gst_message_new_buffering),
3947 (gst_message_parse_buffering):
3949 Added methods to create and parse BUFFERING messages.
3950 Added preliminary docs about buffering.
3951 API: gst_message_new_buffering
3952 API: gst_message_parse_buffering
3954 2006-09-06 Wim Taymans <wim@fluendo.com>
3957 Update documentation.
3959 * gst/gstelement.c: (gst_element_class_init),
3960 (gst_element_release_request_pad), (gst_element_set_clock),
3961 (gst_element_get_index), (gst_element_add_pad),
3962 (gst_element_remove_pad), (gst_element_get_random_pad),
3963 (gst_element_send_event), (gst_element_get_query_types),
3964 (gst_element_query), (gst_element_post_message),
3965 (gst_element_message_full), (gst_element_continue_state),
3966 (gst_element_lost_state), (gst_element_save_thyself),
3967 (gst_element_restore_thyself):
3968 Documentation updates.
3969 Rename last bit of the new-pad -> pad-added signal rename.
3970 Fix the case where an element query would only work if the source
3972 Avoid some useless type checking in message handling.
3977 Documentation updates.
3979 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3981 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3982 add an INFO line for when we actually update the fd
3984 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3989 === release 0.10.10 ===
3991 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3994 releasing 0.10.10, "Pais"
3996 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
3998 * docs/manual/advanced-position.xml:
3999 Fix typo in sample code.
4001 2006-09-05 Wim Taymans <wim@fluendo.com>
4003 * libs/gst/net/gstnetclientclock.c: (inet_aton),
4004 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
4005 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
4006 * libs/gst/net/gstnetclientclock.h:
4007 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4008 * libs/gst/net/gstnettimepacket.h:
4009 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
4010 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
4011 (gst_net_time_provider_thread), (gst_net_time_provider_new):
4012 * libs/gst/net/gstnettimeprovider.h:
4013 Make stuff compile on windows. Fixes #345295.
4015 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
4017 * gst/gst.c: (ensure_current_registry_forking):
4018 Print better details when child was terminated by signal.
4020 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
4022 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
4023 Print a warning rather than g_assert() if a plugin feature
4024 is a URI handler but returns no protocols (#353976).
4026 2006-09-02 Stefan Kost <ensonic@users.sf.net>
4028 * docs/random/moving-plugins:
4031 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
4033 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
4034 Fix locking order, handle NULL function values properly.
4039 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
4040 Initialise variable before using it and fix debug statement to
4041 print the address of the function rather than the address of the
4042 variable on the stack holding the address of the function.
4044 2006-09-01 Wim Taymans <wim@fluendo.com>
4046 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
4047 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
4048 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
4049 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
4050 (gst_ghost_pad_parent_unset),
4051 (gst_ghost_pad_internal_do_activate_push),
4052 (gst_ghost_pad_internal_do_activate_pull),
4053 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4054 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4055 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
4056 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
4057 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
4058 (gst_ghost_pad_new_no_target_from_template),
4059 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
4061 Avoid needless typechecking in macros.
4062 Since the internal pad is always present and never changes, there is
4063 no need to locking or ref when retrieving it.
4064 Improve debugging a bit.
4065 Handle link errors when setting the target. Fixes #341029.
4067 2006-09-01 Wim Taymans <wim@fluendo.com>
4069 * docs/libs/gstreamer-libs-sections.txt:
4070 * docs/plugins/gstreamer-plugins-sections.txt:
4073 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
4074 (gst_collect_pads_event):
4075 * libs/gst/base/gstcollectpads.h:
4076 Documentation updates.
4077 Free queued buffer when removing a pad.
4079 2006-08-31 Michael Smith <msmith@fluendo.com>
4081 * gst/gstutils.c: (gst_element_link_pads),
4082 (gst_element_link_pads_filtered):
4083 Ensure that we set a capsfilter to NULL if we failed to link it
4084 when doing filtered linking, to avoid criticals.
4086 No need to check for unreffing srcpad, which is explicly NULLed
4087 above (a trivial code cleanup).
4089 2006-08-31 Wim Taymans <wim@fluendo.com>
4091 * docs/design/part-gstghostpad.txt:
4092 Update ascii art in documentation.
4094 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
4095 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
4096 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4097 (gst_ghost_pad_internal_do_activate_push),
4098 (gst_ghost_pad_internal_do_activate_pull),
4099 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4100 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4101 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
4102 (gst_ghost_pad_set_target):
4103 Small cleanups and leak fixes.
4104 Remove some checks now that the internal pad is never NULL.
4105 Fix the case where linking pads without a target would create nasty
4106 criticals. Fixes #341029.
4107 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
4108 value of _set_target().
4110 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4111 (gst_ghost_pad_suite):
4112 Some more tests for creating and linking untargeted ghostpads.
4114 2006-08-31 Edward Hervey <edward@fluendo.com>
4116 * docs/gst/gstreamer-sections.txt:
4117 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
4118 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4119 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
4120 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
4121 (gst_ghost_pad_new_from_template),
4122 (gst_ghost_pad_new_no_target_from_template):
4123 * gst/gstghostpad.h:
4124 Refactored *_new() functions.
4125 Templates are now used as a g_object_new() parameter.
4126 Use template in _do_getcaps() if we don't have a target.
4127 Small documentation cleanups.
4128 Added two new constructors:
4129 gst_ghost_pad_new_from_template()
4130 gst_ghost_pad_new_no_target_from_template()
4131 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4132 (gst_ghost_pad_suite):
4133 Added tests for new ghostpad instanciation functions.
4135 API additions: gst_ghost_pad_new_from_template,
4136 gst_ghost_pad_new_no_target_from_template
4138 2006-08-30 Stefan Kost <ensonic@users.sf.net>
4140 * docs/random/ensonic/profiling.txt:
4141 Ideas about qos profiling.
4143 2006-08-29 Wim Taymans <wim@fluendo.com>
4145 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
4149 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
4152 Improve and detypofy docs.
4154 * tests/check/Makefile.am:
4155 * tests/check/gst/.cvsignore:
4156 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
4157 Add a basic test suite for GstXML.
4159 2006-08-29 Wim Taymans <wim@fluendo.com>
4161 * gst/gstelement.c: (activate_pads), (clear_caps),
4162 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4163 Clear the pad caps when the element shut down all of the pads and
4164 is not streaming data that could modify the caps.
4167 2006-08-28 Michael Smith <msmith@fluendo.com>
4169 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4170 Revert previous change; I misunderstood single-segment mode.
4172 2006-08-28 Michael Smith <msmith@fluendo.com>
4174 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4175 Unset DISCONT on buffers when using single-segment mode.
4177 2006-08-28 Wim Taymans <wim@fluendo.com>
4179 * gst/gstcaps.c: (gst_caps_merge_structure):
4181 Fix docs and indentation again.
4183 * tests/check/gst/gstquery.c: (GST_START_TEST):
4184 Fix leak in tests and add some more tests.
4186 2006-08-28 Edward Hervey <edward@fluendo.com>
4188 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4189 Inform GstSegment of the last stop position in order for the current
4190 segment to have a proper duration if it doesn't have a specific stop
4191 position from which a duration could be calculated.
4192 This bug was noticeable when a non-flushing, non-update new segment was
4193 followed by another segment (all buffers from the new segment were being
4196 2006-08-28 Wim Taymans <wim@fluendo.com>
4198 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
4199 Small comment update.
4201 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4202 (gst_identity_transform_ip):
4203 Drop-probability is broken, mention this in the code with a
4204 FIXME and also in the property description.
4205 Make silent also be silent about the drop messages.
4207 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
4209 * docs/manual/appendix-win32.xml:
4210 Remove mention of popt, we don't depend on that any
4211 longer (#353136). Add some comments pointing out that
4212 this section is slightly outdated.
4214 2006-08-28 Wim Taymans <wim@fluendo.com>
4216 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4218 * gst/gstquery.c: (gst_query_new_segment):
4219 * tests/check/gst/gstquery.c: (GST_START_TEST):
4220 Initialize variables when creating a new segment query.
4223 2006-08-28 Wim Taymans <wim@fluendo.com>
4225 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4227 * gst/gstelement.c: (gst_element_get_bus):
4228 * tests/check/gst/gstelement.c: (GST_START_TEST):
4229 Check for NULL before _reffing the bus. Fixes #353122.
4231 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
4233 * docs/manual/basics-bus.xml:
4234 Docs update: fix wrong callback return value explanation; add
4235 some lines about the implicit relationship between main loop
4236 and main context; remove duplicate main loop variable declaration.
4238 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
4240 * tests/check/gst/gstcaps.c: (GST_START_TEST):
4241 Don't leak caps in unit test; add a few more simple
4244 2006-08-24 Stefan Kost <ensonic@users.sf.net>
4246 * docs/gst/gstreamer-sections.txt:
4247 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
4248 (gst_caps_structure_is_subset), (gst_caps_merge),
4249 (gst_caps_merge_structure):
4251 * libs/gst/base/gstbasetransform.c:
4252 (gst_base_transform_transform_caps):
4253 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4254 implement caps merging (fixes #352580)
4256 2006-08-23 Stefan Kost <ensonic@users.sf.net>
4258 * tools/Makefile.am:
4259 * tools/gst-plot-timeline.py:
4260 add debug-log plotting developer tool (#340674)
4262 2006-08-23 Wim Taymans <wim@fluendo.com>
4264 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
4265 (gst_pad_stop_task):
4266 Improve debugging for task functions.
4268 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
4269 (gst_task_start), (gst_task_pause), (gst_task_join):
4270 Make sure that the task function started and finished after a
4272 Don't try to push the task function on the threadpool multiple
4274 Improve the g_warning message with some useful suggestions
4275 about how to fix the problem.
4277 2006-08-23 Wim Taymans <wim@fluendo.com>
4279 * gst/gstutils.c: (gst_pad_proxy_getcaps):
4280 Handle RESYNC correctly in _proxy_getcaps.
4282 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
4284 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
4285 (gst_xml_parse_memory), (gst_xml_get_element):
4286 Chain up to parent class in dispose function and also
4287 unref the elements in the toplevel_elements GList.
4288 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
4289 Always return a reference in gst_xml_get_element() rather
4290 than only sometimes.
4292 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
4293 Don't leak GstXml object.
4295 2006-08-21 Stefan Kost <ensonic@users.sf.net>
4297 * docs/gst/gstreamer-sections.txt:
4298 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
4301 * libs/gst/base/gstbasetransform.c:
4302 (gst_base_transform_transform_caps):
4303 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
4306 2006-08-21 Edward Hervey <edward@fluendo.com>
4308 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
4309 Implement GObject::dispose virtual method in GstXML so we can free the
4312 2006-08-21 Wim Taymans <wim@fluendo.com>
4314 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
4315 (gst_buffer_create_sub):
4316 Copy duration/offset_end/caps when creating a subbuffer of the
4318 Make the subbuffer read-only when we make the metadata writable for
4321 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4322 Added check for metadata copy when creating subbuffers.
4324 2006-08-21 Edward Hervey <edward@fluendo.com>
4326 * libs/gst/base/gstbasetransform.c:
4327 (gst_base_transform_buffer_alloc):
4328 Only call downstream buffer_alloc if transform element is passthrough
4329 or always_in_place. Closes #350449.
4331 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4334 ChangeLog surgery to add comments to previous changes
4336 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4341 * gst/gstpad.c: (gst_pad_set_active):
4342 Be more verbose in the log
4344 * libs/gst/base/gstbasetransform.c:
4345 (gst_base_transform_transform_caps):
4346 Simplify caps to get rid of duplicates, fixes #345444
4348 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4352 Use these optimizations only internally.
4354 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4356 * gst/gstvalue.c: (gst_value_compare_list),
4357 (gst_value_compare_fraction_range),
4358 (gst_value_intersect_fraction_fraction_range),
4359 (gst_value_intersect_fraction_range_fraction_range),
4360 (gst_value_subtract_fraction_fraction_range),
4361 (gst_value_subtract_fraction_range_fraction_range),
4362 (gst_value_get_compare_func), (gst_value_compare),
4363 (gst_value_compare_with_func):
4365 Saves the expensive lookup of the compare function in many cases
4368 2006-08-18 Edward Hervey <edward@fluendo.com>
4370 * tests/check/gst/gstinfo.c: (gst_info_suite):
4371 Disable test that require gstdebug if it wasn't built in core.
4373 2006-08-18 Stefan Kost <ensonic@users.sf.net>
4375 * docs/random/ensonic/logging.txt:
4378 * gst/gstinfo.c: (gst_debug_log_default):
4379 reorder fields, save some columns, add optional color codes for log
4382 2006-08-18 Stefan Kost <ensonic@users.sf.net>
4384 * docs/random/ensonic/logging.txt:
4385 add ideas about making the logs a bit more useful
4387 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
4389 * docs/pwg/advanced-events.xml:
4390 * docs/pwg/titlepage.xml:
4391 Update for 0.10 API (#340627). Add myself
4394 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
4396 * docs/libs/gstreamer-libs-docs.sgml:
4397 * docs/libs/gstreamer-libs-sections.txt:
4398 * libs/gst/check/gstbufferstraw.c:
4399 Make gstcheck stuff show up in docs (still needs to
4400 be documented properly though).
4402 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
4404 * docs/gst/gstreamer-sections.txt:
4406 * gst/gst.c: (init_post):
4407 * gst/gst_private.h:
4408 * gst/gstquark.c: (_priv_gst_quarks_initialize):
4410 * gst/gstquery.c: (gst_query_new_position),
4411 (gst_query_set_position), (gst_query_parse_position),
4412 (gst_query_new_duration), (gst_query_set_duration),
4413 (gst_query_parse_duration), (gst_query_new_convert),
4414 (gst_query_set_convert), (gst_query_parse_convert),
4415 (gst_query_new_segment), (gst_query_set_segment),
4416 (gst_query_parse_segment), (gst_query_new_seeking),
4417 (gst_query_set_seeking), (gst_query_parse_seeking):
4418 Add internal helpers for pre-registering quarks from static strings
4419 and using the quark values directly instead of looking them up when
4420 creating and parsing queries. Can be used for event construction too.
4423 2006-08-16 Wim Taymans <wim@fluendo.com>
4428 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4430 * gst/gstutils.c: (gst_util_set_value_from_string):
4431 Fix memleak (#351502).
4433 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4434 Add unit test for most of gst_util_set_value_from_string()
4435 (not that one would want to encourage use of this function).
4437 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4439 * libs/gst/check/gstcheck.h:
4440 Use const gchar * variables in fail_unless_equals_string
4441 macro to avoid compiler warnings (and don't use tabs for
4444 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4446 * tools/gst-launch.c: (print_tag):
4447 More space on the left for the tag names, to cater
4448 for the 'extended comment' tag (not touching the
4449 string for the first line since it's translated).
4451 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4453 * libs/gst/check/gstcheck.h:
4454 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
4455 print something when they fail.
4457 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4459 * docs/gst/gstreamer-sections.txt:
4460 * gst/gsttaglist.c: (_gst_tag_initialize):
4462 API: add GST_TAG_EXTENDED_COMMENT (#350935).
4463 Also change merge function for GST_TAG_COMMENT to
4466 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4468 * gst/gstinfo.c: (gst_debug_print_object):
4469 Make GST_PTR_FORMAT print messages as well.
4471 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
4472 (GST_START_TEST), (gst_info_suite):
4475 2006-08-14 Edward Hervey <edward@fluendo.com>
4477 * gst/gstelementfactory.c: (gst_element_register):
4478 If the GstElementClass doesn't have a GstElementDetails with all fields
4479 filled up correctly (longname, description AND author), then error out
4480 nicely instead of crashing.
4482 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4484 * gst/gststructure.c:
4485 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
4488 Expand on the difference between arrays and lists as we use them.
4490 2006-08-14 Wim Taymans <wim@fluendo.com>
4492 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4493 If the parent state change function failed, don't assume we can safely
4494 stop the source, this will be done when the pads are deactivated.
4496 2006-08-14 Wim Taymans <wim@fluendo.com>
4499 * gst/gsttask.c: (gst_task_join):
4502 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4503 (gst_pad_stop_task):
4504 When pad (de)activation failed for some reason, restore the old
4505 activation mode and set the pad to flushing instead of assuming the
4507 If the _task_join() failed, reinstall the task on the pad so that it can
4508 be stopped later and return an error.
4510 2006-08-11 Andy Wingo <wingo@pobox.com>
4513 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4514 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
4515 is only for users of API that don't want to see deprecated
4516 functions in the headers; people that want to compile out
4517 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
4518 CFLAGS. Fixes the build of multifdsink, or will soon..
4520 2006-08-11 Wim Taymans <wim@fluendo.com>
4522 * docs/gst/gstreamer-sections.txt:
4523 Add GstClockClass vmethod docs.
4526 Mark #endif with comment for associated #if
4528 * gst/gstclock.c: (gst_clock_id_wait):
4530 Add vmethod wait_jitter to avoid an unneeded _get_time() for
4531 most clock implementations.
4533 Flesh out docs about resolution methods.
4534 API: GstClockClass::wait_jitter
4536 * gst/gstsystemclock.c: (gst_system_clock_class_init),
4537 (gst_system_clock_async_thread),
4538 (gst_system_clock_id_wait_jitter_unlocked),
4539 (gst_system_clock_id_wait_jitter):
4540 Use base class wait_jitter variant for improved performance
4541 due to less clock polling.
4543 2006-08-11 Edward Hervey <edward@fluendo.com>
4545 * gst/gst.c: (gst_init_check), (init_post):
4546 Set gst as being initialized before scanning/updating the registry,
4547 since there might be my python plugin loader that calls gst_init() and
4548 we don't want to loop back in.
4551 2006-08-11 Wim Taymans <wim@fluendo.com>
4553 * docs/design/part-qos.txt:
4554 Bring docs in line with the code. Mostly the sign of the jitter was
4555 wrong in the docs. Fixes #349943.
4558 Fix the docs for the jitter.
4560 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
4561 (gst_event_parse_tag), (gst_event_new_buffer_size),
4562 (gst_event_parse_buffer_size), (gst_event_parse_qos),
4563 (gst_event_new_seek), (gst_event_parse_seek),
4564 (gst_event_new_navigation):
4565 Make sure the GstStructure has no parent when creating custom
4567 Add some more argument checking so that we avoid 0.0 rates.
4568 Flesh out the docs for the QoS event some more.
4570 2006-08-11 Wim Taymans <wim@fluendo.com>
4572 * docs/gst/gstreamer-sections.txt:
4573 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4574 (ensure_current_registry_forking), (ensure_current_registry),
4575 (parse_one_option), (parse_goption_arg), (gst_deinit),
4576 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
4579 Added API and command line option to disable registry forking in
4580 addition to the environment variable.
4581 Constify some static arrays.
4582 Added some more debug.
4584 API: gst_registry_fork_is_enabled()
4585 API: gst_registry_fork_set_enabled()
4586 API: --gst-disable-registry-fork command line option
4589 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
4591 * gst/gst.c: (gst_init):
4592 Fix typo in error message.
4594 2006-08-10 Stefan Kost <ensonic@users.sf.net>
4596 * libs/gst/controller/gstcontroller.h:
4597 fix ABI size-correction
4599 * tests/check/libs/gdp.c: (gst_dp_suite):
4600 make tests that use deprecated API conditional
4602 2006-08-10 Stefan Kost <ensonic@users.sf.net>
4604 * docs/libs/gstreamer-libs-sections.txt:
4605 * libs/gst/controller/gstcontroller.c:
4606 (_gst_controller_get_property), (_gst_controller_set_property),
4607 (_gst_controller_init), (_gst_controller_class_init):
4608 * libs/gst/controller/gstcontroller.h:
4609 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
4610 (gst_object_set_control_rate):
4611 API: add gst_object_{s,g}et_control_rate(), add private data section,
4614 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4615 * libs/gst/dataprotocol/dataprotocol.h:
4616 add deprecation guards to make gtk-doc happy and allow disabling cruft
4618 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
4620 * tests/check/Makefile.am:
4621 * tests/check/gst/.cvsignore:
4622 Let's enable the new unit test as well.
4624 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
4627 * docs/gst/gstreamer-sections.txt:
4628 * gst/gstconfig.h.in:
4629 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
4630 (_gst_info_printf_extension_ptr),
4631 (_gst_info_printf_extension_segment):
4632 API: add GST_SEGMENT_FORMAT, which is a printf extension we
4633 register that lets us easily dump GstSegments into debug
4636 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
4637 (info_segment_format_printf_extension), (gst_info_suite):
4638 Add simple unit test that logs a bunch of different segments (not
4639 valgrinded at the moment because of leaks in
4640 gst_debug_add_log_function).
4642 2006-08-09 Edward Hervey <edward@fluendo.com>
4644 * libs/gst/base/gstbasetransform.c:
4645 (gst_base_transform_buffer_alloc):
4646 Even if we can't figure out the proper format to request downstream,
4647 call buffer_alloc() downstream with the input parameters without setting
4648 the caps on the srcpad. This will force negotiation in the chain
4652 2006-08-08 Edward Hervey <edward@fluendo.com>
4654 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4655 Unlinking from a pad without a target is now a perfectly valid case
4656 which should NOT raise an assertion.
4657 This case would happen if a linked ghostpad its target set to NULL after
4658 it was previously linked.
4660 2006-08-08 Edward Hervey <edward@fluendo.com>
4662 * tests/check/libs/gdp.c:
4663 Also comment out the test (see below).
4665 2006-08-08 Edward Hervey <edward@fluendo.com>
4667 * tests/check/libs/gdp.c: (gst_dp_suite):
4668 Use the architecture information from config.h and not gcc macros
4669 in order to properly disable a test that fails on PPC64.
4671 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
4673 * gst/gstelement.c: (gst_element_remove_pad):
4674 Don't crash printing the warning if the pad has no parent.
4676 2006-08-02 Wim Taymans <wim@fluendo.com>
4678 * libs/gst/dataprotocol/dataprotocol.c:
4679 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4680 (gst_dp_crc), (gst_dp_header_payload_length),
4681 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4682 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4683 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4684 (gst_dp_event_from_packet), (gst_dp_validate_header),
4685 (gst_dp_validate_payload):
4686 Make debug category static
4687 Constify the crc table.
4688 Do some more arg checking in public functions.
4689 Fix some docs and do some small cleanups.
4691 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4692 Add some more checks to see if GDP deals with bogus input.
4694 2006-07-31 Wim Taymans <wim@fluendo.com>
4696 * gst/gstvalue.c: (gst_value_compare_list):
4697 Fix GstValueList comparison code. Fixes #347293.
4699 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4700 Check to test GstValueList comparison.
4702 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4704 * gst/gstelementfactory.c: (gst_element_factory_create):
4705 Remove unnecessary ref/unref pair
4707 * gst/parse/grammar.y:
4708 Make sure to free the parse buffer on all code paths.
4709 Move a g_free up to the error handler where it's easier to see.
4711 * tests/check/gst/gstevent.c: (test_event):
4712 Extending timeout for downstream travelling events to 10 seconds to
4713 hopefully avoid intermittent failure on the buildbots.
4715 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4716 Don't manually set the state of the src element - it will happen as a
4717 natural consequence of the pipeline changing state, and that way it
4718 will do it in the right order too.
4720 2006-07-31 Wim Taymans <wim@fluendo.com>
4722 * libs/gst/base/gstbasetransform.c:
4723 (gst_base_transform_buffer_alloc):
4724 Use OBJECT_LOCK and refcounting to get the pad caps in the
4725 buffer_alloc function because the caps could change while we are
4726 busy with them. Fixes #349105
4728 2006-07-31 Wim Taymans <wim@fluendo.com>
4730 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4731 Protect _PAD_CAPS with OBJECT_LOCK.
4733 2006-07-31 Wim Taymans <wim@fluendo.com>
4735 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4736 (gst_pad_get_property), (gst_pad_activate_pull),
4737 (gst_pad_activate_push), (gst_pad_set_blocked_async),
4738 (gst_pad_set_activate_function),
4739 (gst_pad_set_activatepull_function),
4740 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4741 (gst_pad_set_getrange_function),
4742 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4743 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4744 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4745 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4746 (gst_pad_set_acceptcaps_function),
4747 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4748 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4749 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4750 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4751 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4752 (gst_pad_configure_sink), (gst_pad_configure_src),
4753 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4754 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4755 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4756 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4757 (gst_pad_send_event):
4758 Use _DEBUG_OBJECT when it makes sense.
4759 Protect GST_PAD_CAPS with the OBJECT_LOCK.
4760 Small cleanups and code reflows.
4761 Avoid caps refcounting in _accept_caps.
4762 Refactor alloc_buffer so that the code performed on the peer is in a
4763 separate function. Also if the pad does not implement a buffer alloc
4764 function, we should still check if the pad is flushing before falling
4765 back to the default allocator.
4767 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4769 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4770 Make all uses of identity and fakesink have silent=true to avoid
4771 serialising every passing data structure, which is breaking tests
4772 on FC4 for some unknown reason.
4774 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4776 * gst/parse/Makefile.am:
4777 * gst/parse/grammar.y:
4778 * gst/parse/parse.l:
4779 Reverted previous patch as it required to bump the flex dependency to
4780 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4782 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4784 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4786 * gst/parse/Makefile.am:
4787 * gst/parse/grammar.y:
4788 * gst/parse/parse.l:
4789 push & pop the state of the lexer for reentrant use case
4792 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
4794 * libs/gst/base/gstbasesrc.h:
4795 Note in the docs that the ::newsegment vfunc is not actually used by
4798 2006-07-28 Wim Taymans <wim@fluendo.com>
4800 * libs/gst/base/gstcollectpads.c:
4801 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4802 (gst_collect_pads_clear), (gst_collect_pads_flush),
4803 (gst_collect_pads_event), (gst_collect_pads_chain):
4804 When flushing a pad, also clear the queued buffer so that we don't
4805 accidentally use it when we shouldn't.
4806 Fix leaks by inreffing incomming buffer.
4807 Flush out queued buffers in case of errors.
4810 2006-07-28 Wim Taymans <wim@fluendo.com>
4812 * docs/random/phonon-gst:
4813 Random notes about a Phonon backend.
4815 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4817 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4819 * tests/check/libs/gdp.c: (gst_dp_suite):
4820 Take a whack at fixing the ppc compile using a different define to
4821 disable the broken test.
4823 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4824 Remove excess g_print()
4826 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4828 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4829 Oops, meant to uncomment this line too to dampen the noise a bit.
4831 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4833 * gst/parse/grammar.y:
4834 * gst/parse/parse.l:
4835 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4836 (GST_START_TEST), (parse_suite):
4837 Fix some of the leaks exposed by extending the parse-launch testsuite,
4838 and move the 3 I can't figure out into a separate test that won't run
4839 the pipelines unless the appropriate line is uncommented.
4841 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4843 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4844 Requesting 0 bytes before the end of the file should result in
4845 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4848 2006-07-27 Wim Taymans <wim@fluendo.com>
4850 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4851 Fix useless assert, a uint is always positive.
4853 * gst/gststructure.c: (gst_structure_nth_field_name),
4854 (gst_structure_foreach), (gst_structure_map_in_place):
4855 Check input arguments for public functions to avoid obvious crashes.
4857 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4858 * plugins/elements/gstfakesink.h:
4859 Do less useless typechecking.
4861 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4863 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4864 Do not use mmap() by default since there are a number of error
4865 conditions that we would like to handle in a non-fatal way that
4866 will result in a SIGBUS if we use mmap(). Examples: external
4867 devices (USB harddrive, portable music player) being unplugged
4868 while in use; file on mounted CD/DVD that can't be read because
4869 the medium is partly damaged. Fixes #348455 and #348475.
4871 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4874 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4877 2006-07-26 Stefan Kost <ensonic@users.sf.net>
4879 * gst/gstregistry.c:
4880 Move big documentation comment into class section header, so that it
4881 appears in the API docs.
4883 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4885 * docs/gst/gstreamer-sections.txt:
4886 Oops. Commit the docs additions too for new API.
4887 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4889 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4891 * gst/gststructure.c: (gst_structure_id_set),
4892 (gst_structure_id_set_valist):
4893 * gst/gststructure.h:
4894 Add API for setting values into structures without performing
4895 a quark lookup, if the appropriate quark is already known.
4897 API: gst_structure_id_set
4898 API: gst_structure_id_set_valist
4900 * gst/parse/grammar.y:
4901 * gst/parse/parse.l:
4902 Remove some dead code shown by the coverage information.
4903 Don't throw a critical g_warning when encountering a syntax error,
4904 just warn and let the normal error path handle it.
4906 * plugins/elements/gstelements.c:
4907 Bump the rank of filesink up to PRIMARY so that it is preferred over
4908 gnomevfssink for file:// sink uri's
4910 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4911 (GST_START_TEST), (run_delayed_test),
4912 (gst_parse_test_element_base_init),
4913 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4914 (gst_parse_test_element_change_state),
4915 (gst_register_parse_element), (parse_suite):
4916 Beef up the tests for parse syntax to check that more error cases
4917 fail as they are supposed to. Increases the test coverage a bit.
4919 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
4921 * docs/manual/basics-elements.xml:
4922 Fix gst_element_link() example.
4925 Mention in API docs that one should usually gst_bin_add()
4926 elements to a bin or pipeline before doing the linking.
4928 2006-07-26 Wim Taymans <wim@fluendo.com>
4930 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4931 (gst_subbuffer_get_type), (gst_buffer_create_sub):
4932 Avoid function call for known types by keeping the buffer and
4933 subbuffer GType global.
4935 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4936 Random silly optimisations in read() path.
4938 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4940 * tools/gst-launch.c: (main):
4941 If the top-level of the parse is a normal bin, it doesn't do the
4942 right logic to run as a top-level element, so place it inside a
4945 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
4947 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4948 Remove superfluous g_object_notify() calls, GObject does
4949 that for us automatically.
4951 2006-07-25 Stefan Kost <ensonic@users.sf.net>
4954 on Win32, use dllspec to export the debug category symbols
4956 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
4958 * gst/gsttaglist.c: (_gst_tag_initialize):
4959 Allow more than one GST_TAG_IMAGE per taglist.
4961 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
4963 * gst/gstminiobject.c:
4965 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4966 (gst_fd_src_create):
4967 log recurring events at LOG level
4968 add more debug for when the fd gets set
4970 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4972 * gst/gstparse.c: (gst_parse_launch):
4973 Also remove reentrance checks if flex is MT safe (#348179)
4974 Fix my empty ChangeLog entry below
4976 2006-07-21 Andy Wingo <wingo@pobox.com>
4978 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4980 * libs/gst/check/Makefile.am
4981 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4982 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
4983 * libs/gst/check/gstbufferstraw.h:
4984 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4985 functions, thus proving I am still a GStreamer haxor. OK I wrote
4986 them a long time ago, but anyways.
4988 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4991 * gst/gstparse.c: (gst_parse_launch):
4992 Check for flex version and omit mutex if we have a MT save flex
4995 2006-07-21 Wim Taymans <wim@fluendo.com>
4997 * gst/gstparse.c: (gst_parse_launch):
4998 Protect recursive calls to _parse with a recursive mutex
5001 2006-07-21 Wim Taymans <wim@fluendo.com>
5003 * tests/check/gst/gstpad.c: (GST_START_TEST):
5006 2006-07-20 Stefan Kost <ensonic@users.sf.net>
5008 * gst/gstparse.c: (gst_parse_launch):
5009 Do not hang on recursive usage of gst_parse_launch()
5011 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
5014 Add some more docs, comments and FIXME 0.11s here and there
5015 and also fix some typos.
5017 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
5020 Convert tabs to spaces for better readability.
5022 2006-07-20 Edward Hervey <edward@fluendo.com>
5024 * tests/check/libs/gdp.c: (gst_dp_suite):
5025 the test_buffer test fails at line 140 on ppc64 at the following
5027 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
5028 GST_BUFFER_FLAG_IN_CAPS),
5029 "GST_BUFFER_IN_CAPS flag should have been copied !");
5030 See bug #348114 for more details.
5032 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
5034 * docs/pwg/advanced-scheduling.xml:
5036 Fix typos (#348000).
5038 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
5040 * docs/pwg/intro-basics.xml:
5041 Fix wrong links (#347927).
5043 2006-07-18 Stefan Kost <ensonic@users.sf.net>
5045 * gst/gstregistry.h:
5046 * gst/gstregistryxml.c: (load_feature),
5047 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
5048 * win32/common/config.h:
5049 make --disable-index work (#342564)
5051 2006-07-18 Wim Taymans <wim@fluendo.com>
5053 Patch by: Peter Kjellerstedt <pkj at axis dot com>
5057 The attached patch adds two missing defines to gsttrace.h when tracing
5058 is disabled. It also corrects one existing define.
5061 2006-07-17 Wim Taymans <wim@fluendo.com>
5063 * docs/gst/gstreamer-sections.txt:
5064 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
5066 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
5067 Add two functions to check and change the SIGSEGV behaviour
5068 when loading plugins.
5069 Don't mess with the SIGSEGV handler when we were told not to.
5071 API: gst_segtrap_is_enabled
5072 API: gst_segtrap_set_enabled
5074 2006-07-14 Wim Taymans <wim@fluendo.com>
5076 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5077 * tests/check/elements/filesrc.c: (GST_START_TEST):
5078 Revert fix for regression in #347408 after release.
5080 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
5082 Patch by: Antoine Tremblay <hexa00 at gmail com>
5084 * gst/gstutils.c: (gst_element_unlink):
5085 Free iterator when done (#347311).
5087 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5088 And add a test case for this.
5090 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
5093 Bump nano back to CVS
5095 === release 0.10.9 ===
5097 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5100 releasing 0.10.9, "On the road again"
5102 2006-07-13 Wim Taymans <wim@fluendo.com>
5104 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5105 * tests/check/elements/filesrc.c: (GST_START_TEST):
5106 Revert pull-0 fix for release. Disable check. Fixes #347408.
5108 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5110 * libs/gst/dataprotocol/dataprotocol.c:
5111 (gst_dp_event_from_packet_1_0):
5112 Fixes #347337: failure to deserialize event packets with
5113 empty payload (only event type)
5115 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5118 do not install a .c file in the header directory
5120 2006-07-13 Edward Hervey <edward@fluendo.com>
5122 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5123 GhostPad no longer implicitely use the padtemplates of the targets.
5126 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
5128 * gst/gstvalue.c: (gst_value_compare_list),
5129 (gst_value_compare_array), (_gst_value_initialize):
5130 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5131 Make GstValueArray comparison be order dependent as designed.
5132 Add checks for value lists and value array comparisons.
5135 2006-07-11 Edward Hervey <edward@fluendo.com>
5137 * gst/gstbin.c: (activate_pads),
5138 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
5139 (gst_bin_change_state_func):
5140 (de)activate src pads before calling state_change on the childs.
5141 This is to avoid the case where a src ghostpad is blocked (holding the
5142 stream lock), which would block the deactivation of the ghostpad's
5144 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
5145 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
5146 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
5147 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5148 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5149 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5150 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5151 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
5152 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
5153 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5154 (gst_ghost_pad_class_init),
5155 (gst_ghost_pad_internal_do_activate_push),
5156 (gst_ghost_pad_internal_do_activate_pull),
5157 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5158 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5159 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
5160 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
5161 GhostPads now create their internal GstProxyPad at creation (and not
5162 when they're linked, as it was being done previously).
5163 The internal and target pads are linked straight away.
5164 The data will also travel through the other pad in order to make
5165 pad blocking and probes non-hackish (the probe/block now really happens
5166 on the GhostPad and not on the target).
5167 * gst/gstpad.c: (gst_pad_set_blocked_async),
5168 (gst_pad_link_prepare), (gst_pad_push_event):
5169 Remove previous ghostpad cruft.
5170 * gst/gstutils.c: (gst_pad_add_data_probe),
5171 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5172 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5173 (gst_pad_remove_buffer_probe):
5174 Remove previous ghost pad cruft.
5175 Added more detailed debug statements.
5176 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5177 Fix the testsuite for refcounting changes.
5178 The comments about who has references were correct, but the refcount
5179 being checked wasn't the same (!?!).
5183 2006-07-10 Stefan Kost <ensonic@users.sf.net>
5185 * docs/gst/gstreamer-sections.txt:
5186 * gst/gstconfig.h.in:
5187 More docs for configuration options, add docs to gtk-doc.
5189 2006-07-10 Stefan Kost <ensonic@users.sf.net>
5192 * gst/gstconfig.h.in:
5193 * win32/common/config.h:
5194 Fix build when disabling tracing (fixes #344016). Also start to document
5195 the defines that disable the sub-systems.
5197 2006-07-10 Edward Hervey <edward@fluendo.com>
5199 * gst/gst.c: (ensure_current_registry_forking):
5200 let's make valgrind happy...
5202 2006-07-09 Wim Taymans <wim@fluendo.com>
5204 * gst/gstelement.c: (activate_pads),
5205 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5206 Better pad activation code: Reset the collect value too on resync.
5209 2006-07-09 Wim Taymans <wim@fluendo.com>
5211 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
5212 (gst_pad_activate_push):
5213 Use some more macros where it makes sense.
5214 Allow pad mode switching instead of asserting. When a pad
5215 is activated in one mode and we activate it in another,
5216 deactivate it first before activating it in a different mode.
5219 2006-07-08 Andy Wingo <wingo@pobox.com>
5221 * tools/gst-launch.c (main): Handle err == NULL.
5223 * gst/gst.c (init_post, ensure_current_registry)
5224 (ensure_current_registry_forking)
5225 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
5226 factoring out the registry scanning into separate functions. Don't
5227 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
5228 Better environment var name/interface suggestions accepted.
5230 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5232 * gst/gstobject.c: (gst_object_set_name_default),
5233 (gst_object_set_name):
5234 Random micro-optimisation: don't use a hash table
5235 with strings as keys and the usual strdup/strcmp
5236 involved, but rather just use the GQuark of the
5237 type name as key, since it needs to be looked up
5238 anyway to get the type name string.
5240 * tests/check/gst/gstobject.c: (GST_START_TEST):
5243 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5245 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
5246 (gst_bin_iterate_all_by_interface):
5247 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
5248 GTypes are gulongs and thus the top 4 bytes might be cut
5249 off on some platforms when doing GPOINTER_TO_INT, leading
5250 to invalid GTypes and bad things happening (see RH bug #179654).
5251 Also add a check to make sure the type passed in is really
5254 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5259 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5263 * gst-element-check.m4:
5264 * gst-element-check.m4.in:
5265 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
5266 instead of the unversioned gst-inspect (#324176, #168659).
5268 2006-07-06 Wim Taymans <wim@fluendo.com>
5271 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
5274 2006-07-06 Wim Taymans <wim@fluendo.com>
5276 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5277 (gst_base_src_wait), (gst_base_src_update_length),
5278 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
5279 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
5280 (gst_base_src_loop), (gst_base_src_start),
5281 (gst_base_src_activate_pull):
5283 blocksize == 0 now means the default blocksize when working in push
5285 Remove some pointless asserts in _wait function.
5286 Fix offset/length calculations and EOS handling. We can now pull 0
5287 bytes as well, which is allowed.
5288 use _check_get_range() to decide if we can operate in _pull based
5290 Fix refcounting leak when check_get_range function was not
5292 API GstBaseSrc::blocksize range can be 0 too now (default)
5294 * tests/check/elements/filesrc.c: (GST_START_TEST),
5296 Added check to test _get_range() behaviour.
5298 2006-07-06 Wim Taymans <wim@fluendo.com>
5300 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5301 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
5302 (gst_pad_pull_range):
5304 Lots of comments and docs added to the pad functions.
5305 Flesh out the expected behaviour of the get_range() functions.
5307 2006-07-06 Wim Taymans <wim@fluendo.com>
5312 * gst/gstiterator.h:
5316 Remove comma at end of enumerator list.
5318 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
5320 * win32/common/libgstbase.def:
5321 * win32/common/libgstdataprotocol.def:
5322 * win32/common/libsgtreamer.def:
5323 Add new exported functions.
5325 2006-07-05 Wim Taymans <wim@fluendo.com>
5327 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
5328 Add some more docs here and there.
5330 2006-07-05 Wim Taymans <wim@fluendo.com>
5332 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
5333 (gst_base_sink_loop), (gst_base_sink_get_position):
5334 When operating in pull mode update the offset so that we
5337 2006-07-05 Wim Taymans <wim@fluendo.com>
5339 * gst/gstregistryxml.c: (read_string):
5340 Avoid strdup. (will happen in libxml, but hey!)
5345 2006-07-05 Wim Taymans <wim@fluendo.com>
5347 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
5348 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
5350 No point in checking if the size of the subbuffer > 0, the
5351 code handles it correclty as demonstrated by unit test.
5352 Also add a unit test for the zero sized _new_and_alloc and
5353 _copy. Fixes #346663.
5355 2006-07-05 Wim Taymans <wim@fluendo.com>
5357 * libs/gst/base/gstbasetransform.c:
5358 (gst_base_transform_prepare_output_buffer),
5359 (gst_base_transform_buffer_alloc),
5360 (gst_base_transform_handle_buffer):
5361 Make sure the buffer we pass to transform_ip has a refcount of
5362 1 and thus is writable. Fixes #343196
5364 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
5366 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5367 (gst_file_src_init), (gst_file_src_set_property),
5368 (gst_file_src_get_property), (gst_file_src_map_region):
5369 * plugins/elements/gstfilesrc.h:
5370 Add "sequential" property, off by default, to use madvise and hint
5371 to the kernel that sequential access is desired.
5372 Touch all retrieved pages by default to ensure they are pulled
5373 into memory. (Closes #345720)
5375 2006-07-03 Wim Taymans <wim@fluendo.com>
5377 * docs/design/part-block.txt:
5378 * docs/design/part-dynamic.txt:
5381 2006-07-03 Wim Taymans <wim@fluendo.com>
5383 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
5384 (gst_caps_unref), (gst_static_caps_get),
5385 (gst_caps_append_structure):
5386 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
5387 Use GSlice when the glib we build against is >= 2.10
5389 2006-07-03 Wim Taymans <wim@fluendo.com>
5391 * gst/gstelement.c: (gst_element_pads_activate):
5392 Small cleanup in pad activation code.
5394 2006-07-03 Wim Taymans <wim@fluendo.com>
5396 Patch by: Peter Kjellerstedt <pkj at axis dot com>
5398 * gst/gst-i18n-app.h:
5399 * gst/gst-i18n-lib.h:
5400 * tools/gst-inspect.c: (print_signal_info):
5401 The attached patch will make the inclusion of gettext.h unconditional in
5402 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
5403 libintl.h in tools/gst-inspect.c.
5404 This allows use of --disable-nls again and fixes #344642.
5406 2006-07-03 Edward Hervey <edward@fluendo.com>
5408 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
5409 Implement pad blocking on events according to part-block.txt.
5410 More comments on behaviour.
5411 * tests/check/gst/gstevent.c: (test_event):
5412 Send event to peer pad of blocked pad (else it will block).
5414 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5416 * libs/gst/check/gstcheck.c: (gst_check_message_error),
5417 (gst_check_run_suite):
5418 if we get the wrong message, give us the types as string
5419 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5421 * tests/check/elements/filesrc.c: (GST_START_TEST):
5422 add a test for trying to open a non-existing file
5424 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5426 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5427 add a test for adding self
5429 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5431 * libs/gst/check/gstcheck.h:
5432 add some assert_ as alias for fail_unless_*
5433 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
5434 increase test coverage
5436 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5439 include lcov.mak for lcov coverage generation
5440 * tools/Makefile.am:
5443 2006-07-02 Edward Hervey <edward@fluendo.com>
5445 * tests/check/elements/.cvsignore:
5448 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5451 don't set CFLAGS and friends for gcov, done from GST_GCOV now
5452 * tests/check/Makefile.am:
5455 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5457 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
5458 remove gst_caps_simplify; it was not declared and not used
5459 and deprecated in 0.8
5461 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5463 * docs/faq/gst-uninstalled:
5464 don't put empty paths on PYTHONPATH
5465 * docs/gst/gstreamer-sections.txt:
5466 remove some symbols that are not there
5468 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5470 * gst/gstcaps.c: (gst_caps_compare_structures):
5472 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5473 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5476 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5478 * libs/gst/dataprotocol/Makefile.am:
5479 build dataprotocol test by linking to the lib, instead of
5480 compiling the source, so we get coverage
5481 * tests/check/Makefile.am:
5482 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
5483 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
5484 add a test for filesrc
5486 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5488 * tests/check/gst/gststructure.c: (GST_START_TEST),
5489 (gst_structure_suite):
5490 Push coverage from 59.04% to 70.00%
5492 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5494 * tests/check/Makefile.am:
5495 gst-inspect every element; this makes sure that we also get
5496 coverage on element's get/set functions
5498 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5501 set CFLAGS and friends to -O0 if gcov is being used
5504 * libs/gst/base/Makefile.am:
5505 * libs/gst/check/Makefile.am:
5506 * libs/gst/controller/Makefile.am:
5507 * libs/gst/dataprotocol/Makefile.am:
5508 * libs/gst/net/Makefile.am:
5509 * plugins/elements/Makefile.am:
5510 * plugins/indexers/Makefile.am:
5511 add makefile rules to generate gcov data and clean up
5512 * tests/check/Makefile.am:
5513 add a coverage target that generates an html overview
5516 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5518 * tests/check/elements/fakesink.c:
5519 * tests/check/elements/fakesrc.c:
5520 * tests/check/elements/fdsrc.c:
5521 * tests/check/elements/identity.c:
5522 * tests/check/generic/sinks.c: (gst_sinks_suite):
5523 * tests/check/generic/states.c:
5524 * tests/check/gst/gst.c:
5525 * tests/check/gst/gstabi.c:
5526 * tests/check/gst/gstbin.c:
5527 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
5528 * tests/check/gst/gstbus.c: (gst_bus_suite):
5529 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5530 * tests/check/gst/gstelement.c:
5531 * tests/check/gst/gstevent.c: (gst_event_suite):
5532 * tests/check/gst/gstghostpad.c:
5533 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
5534 * tests/check/gst/gstmessage.c: (gst_message_suite):
5535 * tests/check/gst/gstminiobject.c:
5536 * tests/check/gst/gstobject.c:
5537 * tests/check/gst/gstpad.c:
5538 * tests/check/gst/gstpipeline.c:
5539 * tests/check/gst/gstplugin.c:
5540 * tests/check/gst/gstquery.c: (gst_query_suite):
5541 * tests/check/gst/gstsegment.c: (gst_segment_suite):
5542 * tests/check/gst/gststructure.c:
5543 * tests/check/gst/gstsystemclock.c:
5544 * tests/check/gst/gsttag.c:
5545 * tests/check/gst/gsttask.c: (gst_task_suite):
5546 * tests/check/gst/gstutils.c:
5547 * tests/check/gst/gstvalue.c:
5548 * tests/check/libs/adapter.c:
5549 * tests/check/libs/basesrc.c:
5550 * tests/check/libs/collectpads.c:
5551 * tests/check/libs/controller.c:
5552 * tests/check/libs/gdp.c: (gst_dp_suite):
5553 * tests/check/libs/gstnetclientclock.c:
5554 * tests/check/libs/gstnettimeprovider.c:
5555 * tests/check/libs/libsabi.c: (libsabi_suite):
5556 * tests/check/libs/typefindhelper.c:
5557 * tests/check/pipelines/cleanup.c:
5558 * tests/check/pipelines/parse-launch.c:
5559 * tests/check/pipelines/simple-launch-lines.c:
5560 * tests/check/pipelines/stress.c: (stress_suite):
5563 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5565 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
5566 * libs/gst/check/gstcheck.h:
5567 create a macro and function so that the simple unit test
5568 case can be just one macro to create main()
5570 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
5572 * gst/gstbin.c: (gst_bin_restore_thyself):
5573 * gst/gstxml.c: (gst_xml_make_element):
5574 Fix deserialisation from XML. Set parent manually
5575 instead of using gst_bin_add(), since gst_bin_add()
5576 will unlink all pads of the element being added.
5579 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
5581 Patch by: Peter Kjellerstedt <pkj at axis com>
5583 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
5584 Fix missing g_strdup() and double free when using the
5585 --gst-plugin-load command line option (#346097).
5587 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
5590 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
5592 * libs/gst/net/gstnetclientclock.c:
5593 * libs/gst/net/gstnettimeprovider.c:
5594 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
5596 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
5598 * docs/manual/advanced-dataaccess.xml:
5599 Fix buffer probe example compilation in
5602 2006-06-22 Edward Hervey <edward@fluendo.com>
5604 * gst/gstelement.c: (gst_element_pads_activate):
5605 We need to deactivate src pads first and then sink pads.
5606 The reason is the src pads might be blocking while holding the streaming
5607 lock, so we need to deactivate them first so that deactivating the sink
5608 pads doesn't block (since it will require the streaming lock).
5610 2006-06-22 Wim Taymans <wim@fluendo.com>
5612 * libs/gst/base/gstbasetransform.c:
5613 (gst_base_transform_buffer_alloc):
5614 Forgot to remove two unneeded unrefs.
5615 Simplify a check _is_equal allready checks the obvious case.
5617 2006-06-22 Wim Taymans <wim@fluendo.com>
5619 * docs/design/part-block.txt:
5620 Some docs about what pad_block should do.
5622 2006-06-22 Wim Taymans <wim@fluendo.com>
5624 * gst/gstcaps.c: (gst_caps_replace):
5625 Fix crasher when passed NULL. Doc clarification.
5626 Optimize for the trivial case.
5628 * gst/gstpipeline.c: (gst_pipeline_change_state):
5631 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5632 Small documentation cleanup.
5634 * libs/gst/base/gstbasetransform.c:
5635 (gst_base_transform_buffer_alloc):
5636 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
5637 is what we need and it avoids a whole lot of redundant
5638 refcount operations.
5640 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
5642 Patch by: Philip Jägenstedt <philip at lysator liu se>
5644 * docs/manual/advanced-dataaccess.xml:
5645 Fix 'Embedding static elements' section to use
5646 GST_PLUGIN_DEFINE_STATIC (#345607).
5648 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5650 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5651 Attempt to 'fix' spuriously failing test case: it seems like the
5652 timeout of half a second is simply too small when the system is under
5653 load otherwise, and the timeout doesn't really seem to serve any
5654 particular purpose here. Give the pipeline a few seconds to preroll
5655 first, and then give it another half a second to go from PAUSED to
5656 PLAYING and marshal the message into the main thread.
5658 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5660 * tools/gst-feedback-m.m:
5661 Don't only use unversioned tools, try versioned tools as well
5664 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5666 * gst/gstbus.c: (gst_bus_class_init):
5667 Fix some typos, make docs more explicit.
5669 2006-06-20 Wim Taymans <wim@fluendo.com>
5671 * tests/check/gst/gstghostpad.c: (block_callback),
5672 (GST_START_TEST), (gst_ghost_pad_suite):
5673 Added some more ghostpad tests, mainly blocking
5676 2006-06-16 Wim Taymans <wim@fluendo.com>
5678 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5679 (gst_file_sink_close_file), (gst_file_sink_do_seek),
5680 (gst_file_sink_event), (gst_file_sink_render):
5681 * plugins/elements/gstfilesink.h:
5682 Check if we can seek in the file instead of assuming
5683 we always can. Post an error when we are asked to seek in a
5684 non-seekable file (like a fifo). Fixes #343312.
5687 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5689 * tools/gst-launch.1.in:
5690 Un-garble (fourcc) bit in filtered caps section.
5692 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5694 * docs/manual/advanced-autoplugging.xml:
5695 * docs/manual/basics-helloworld.xml:
5696 * docs/manual/highlevel-components.xml:
5697 Don't leak bus reference in sample code.
5699 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
5702 Add default for new --enable-plugin-docs switch.
5705 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5709 Use new ENABLE_PLUGIN_DOCS conditional.
5711 2006-06-14 Wim Taymans <wim@fluendo.com>
5713 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5714 Make it clear with a FIXME and a real define what the #if 0
5715 previously disabled.
5717 2006-06-14 Wim Taymans <wim@fluendo.com>
5719 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5720 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5721 * libs/gst/base/gstbasetransform.c:
5722 (gst_base_transform_sink_eventfunc):
5723 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5724 Don't randomly and silently reset a segment when the format
5725 changes as this is a bug somewhere upstream. Fixes #330379.
5727 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
5729 Patch by: Wouter Paesen <wouter at kangaroot net>
5731 * libs/gst/controller/gstcontroller.c:
5732 (gst_controlled_property_new):
5733 Fix controlling of float properties (#344849).
5735 * tests/check/libs/controller.c:
5736 (gst_test_mono_source_get_property),
5737 (gst_test_mono_source_set_property),
5738 (gst_test_mono_source_class_init), (GST_START_TEST):
5739 While we're at it, add some float stuff to unit test.
5741 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5744 * docs/images/gdp-header.svg:
5746 * docs/libs/Makefile.am:
5747 * docs/libs/gdp-header.png:
5748 * libs/gst/dataprotocol/dataprotocol.c:
5749 add it to the API docs
5750 * docs/manual/intro-motivation.xml:
5753 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5755 * gst/gst.c: (scan_and_update_registry), (init_post):
5756 If the fork()'ed child process can't write the updated registry cache
5757 file to disk for some reason, make it exit with a failure exit code,
5758 so that the parent can then re-scan the plugins itself and update the
5759 registry structures in memory and work with that (rather than failing
5760 when creating elements because seemingly no plugins are available).
5761 Refactor registry scanning code into separate function for this and
5762 also separate fork() and non-fork() code paths. Fixes #344748.
5764 2006-06-13 Wim Taymans <wim@fluendo.com>
5766 * docs/manual/advanced-dataaccess.xml:
5767 Fix wrong PluginDesc. Fixes #344755.
5769 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5771 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5772 Fix silly bug that prevented us from creating
5773 ~/.gstreamer-0.10 and writing the registry in one
5774 go (the first call to g_mkstemp() would overwrite the
5775 placeholder in the template string, so the second call
5776 to g_mkstemp() after creating the missing directory
5777 would then error out with 'invalid argument').
5779 2006-06-13 Edward Hervey <edward@fluendo.com>
5781 * gst/gst.c: (init_post):
5784 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5786 * gst/glib-compat-private.h:
5787 * gst/glib-compat.c:
5788 * gst/glib-compat.h:
5789 * gst/gstvalue.c: (gst_value_serialize_flags):
5790 remove GLib 2.6 compatibility code
5792 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
5794 * gst/parse/Makefile.am:
5795 Fix build with 'make -j N' even more (#340016).
5797 2006-06-12 Wim Taymans <wim@fluendo.com>
5799 * docs/gst/gstreamer-sections.txt:
5802 2006-06-12 Wim Taymans <wim@fluendo.com>
5804 * gst/gstsegment.c: (gst_segment_set_duration),
5805 (gst_segment_set_last_stop), (gst_segment_set_seek),
5806 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5807 (gst_segment_to_running_time), (gst_segment_clip):
5808 Use G_UNLIKELY to help the compiler a bit.
5810 2006-06-12 Wim Taymans <wim@fluendo.com>
5812 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5814 * gst/gstevent.c: (gst_event_get_type):
5816 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5818 constify quark registration strings. Fixes #344115
5819 Avoid unneeded type checking is _pad_push() by internally
5820 calling gst_pad_chain_unchecked().
5822 2006-06-12 Wim Taymans <wim@fluendo.com>
5824 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5825 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5826 (gst_subbuffer_finalize), (gst_buffer_create_sub),
5827 (gst_buffer_is_span_fast), (gst_buffer_span):
5828 Init _type for consistency.
5829 Use _FLAGS macro to avoid type check.
5830 Avoid unneeded type checks in subbufer code.
5832 2006-06-12 Wim Taymans <wim@fluendo.com>
5834 * gst/gst.c: (gst_debug_help):
5835 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5836 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5837 (gst_plugin_feature_list_free):
5838 * gst/gstregistry.c: (gst_registry_add_plugin),
5839 (gst_registry_add_feature), (gst_registry_plugin_filter),
5840 (gst_registry_feature_filter), (gst_registry_find_plugin),
5841 (gst_registry_find_feature), (gst_registry_get_plugin_list),
5842 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5843 * gst/gstregistryxml.c: (load_feature),
5844 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5845 * gst/gstminiobject.c: (gst_mini_object_unref),
5846 (gst_mini_object_replace), (gst_value_mini_object_free),
5847 (gst_value_mini_object_copy):
5848 Use _CAST macros to avoid unneeded type checking.
5849 Added some more G_UNLIKELY.
5851 2006-06-12 Wim Taymans <wim@fluendo.com>
5854 Avoid unneeded type checking.
5855 API: GST_BUFFER_IS_DISCONT
5857 * gst/gstminiobject.h:
5858 Avoid type check in flag accessor.
5860 * gst/gstelementfactory.h:
5862 * gst/gstpluginfeature.h:
5864 API: GST_ELEMENT_FACTORY_CAST
5865 API: GST_PLUGIN_CAST
5866 API: GST_PLUGIN_FEATURE_CAST
5868 2006-06-12 Wim Taymans <wim@fluendo.com>
5870 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5872 Add G_UNLIKELY in type registration.
5873 Avoid type check in _ref/_unref since that is also
5876 2006-06-12 Wim Taymans <wim@fluendo.com>
5878 * gst/gsterror.c: (gst_g_error_get_type):
5879 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5880 (gst_static_pad_template_get_type):
5881 * gst/gsttaglist.c: (gst_tag_list_get_type):
5882 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5883 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5884 * gst/gsturi.c: (gst_uri_handler_get_type):
5885 * gst/gstvalue.c: (gst_date_get_type):
5886 * gst/gstxml.c: (gst_xml_get_type):
5887 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5888 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5889 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5890 Add G_UNLIKELY in type registration.
5892 2006-06-12 Wim Taymans <wim@fluendo.com>
5894 * tools/gst-inspect.c: (print_signal_info):
5895 Properly print enum values.
5897 2006-06-12 Wim Taymans <wim@fluendo.com>
5899 * gst/gstinfo.c: (gst_debug_set_active),
5900 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5902 Add some G_[UN]LIKELY.
5903 Maintain __gst_debug_min to avoid formatting the arguments of
5904 debug messages that will be dropped anyway to avoid a lot of
5905 overhead from the debugging system.
5907 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5911 add missing files containing translatable strings, tell intltool about
5914 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5916 * tests/check/libs/.cvsignore:
5917 add test-binary to ignore list
5919 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5921 * docs/libs/gstreamer-libs-docs.sgml:
5922 reorder (put dp into a chapter) and indent
5924 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5929 === release 0.10.8 ===
5931 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5934 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5936 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5938 * gst/gst.c: (init_post):
5939 move pid declaration to declaration block
5941 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5943 * gst/gst.c: (init_post):
5944 use _exit() instead of exit() in our forked child; this ensures
5945 that none of the registered exit handlers from whatever is using
5946 GStreamer get executed. This fixes gnome-mixer-applet failing
5947 to load, because ORBit would shut down.
5948 Spotted by: Edward Hervey <edward@fluendo.com>
5949 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
5952 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5957 === release 0.10.7 ===
5959 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5962 releasing 0.10.7, "Soepeke, ik zie ou"
5964 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
5987 * win32/common/config.h:
5990 2006-06-07 Wim Taymans <wim@fluendo.com>
5992 * gst/gstindex.c: (gst_index_gtype_resolver):
5993 * tools/gst-xmlinspect.c: (print_plugin_info):
5994 Fix leak spotted by coverity checker. Fixes #343827
5995 Fix another other leak found by paolo borelli.
5997 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5999 * libs/gst/dataprotocol/dataprotocol.c:
6000 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
6001 (gst_dp_version_get_type), (gst_dp_init),
6002 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
6003 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
6004 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
6005 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
6006 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
6007 (gst_dp_packetizer_free):
6008 * libs/gst/dataprotocol/dataprotocol.h:
6009 API: add a GstDPPacketizer object, and create/free functions
6010 API: add GstDPVersion enum
6011 Add 1.0 event function that uses the string serialization
6012 Serialize more useful buffer flags
6015 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6017 * tests/check/Makefile.am:
6018 * tests/check/gst/gstabi.c:
6019 * tests/check/gst/struct_ppc64.h:
6020 * tests/check/libs/libsabi.c:
6021 * tests/check/libs/struct_ppc64.h:
6022 add ppc64 structure sizes
6024 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6026 * tests/check/Makefile.am:
6027 * tests/check/gst/gstabi.c:
6028 * tests/check/gst/struct_x86_64.h:
6029 * tests/check/libs/libsabi.c:
6030 * tests/check/libs/struct_x86_64.h:
6031 generate and add structure size lists for x86_64
6033 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6035 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6036 * libs/gst/check/gstcheck.h:
6037 factor out the method from tests that checks size of structures,
6038 and add code to generate the header containing these sizes
6039 * tests/check/gst/gstabi.c: (GST_START_TEST):
6040 * tests/check/gst/struct_i386.h:
6041 * tests/check/libs/libsabi.c: (GST_START_TEST):
6042 * tests/check/libs/struct_i386.h:
6045 2006-06-06 Michael Smith <msmith@fluendo.com>
6048 Don't use c++-style comments, fixes #343929
6050 2006-06-05 Edward Hervey <edward@fluendo.com>
6053 plugin_paths is not used if we build without registry support.
6055 * gst/gstsegment.c: (gst_segment_copy):
6056 _copy() was always returning NULL...
6058 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6060 * libs/gst/dataprotocol/dataprotocol.c:
6061 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6062 (gst_dp_packet_from_event):
6065 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6067 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
6068 make sure we unset caps
6070 2006-06-02 Michael Smith <msmith@fluendo.com>
6072 * libs/gst/check/gstcheck.c: (gst_check_init),
6073 (gst_check_chain_func):
6074 * libs/gst/check/gstcheck.h:
6075 Add a cond/mutex to the check support lib, signal this whenever we
6076 add to the buffers list. This will allow tests to not busy-wait on
6079 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6081 * libs/gst/dataprotocol/dataprotocol.c:
6082 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6083 (gst_dp_packet_from_event):
6084 factor out some common header init code
6086 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6088 * docs/libs/gstreamer-libs-sections.txt:
6089 * docs/libs/tmpl/gstdataprotocol.sgml:
6090 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
6091 * libs/gst/dataprotocol/dataprotocol.h:
6092 API: make gst_dp_crc() public
6094 2006-06-01 Stefan Kost <ensonic@users.sf.net>
6096 * plugins/indexers/gstindexers.c: (plugin_init):
6097 conditionally register fileindexer (fixes #343598)
6099 2006-06-01 Stefan Kost <ensonic@users.sf.net>
6101 * gst/gsttagsetter.h:
6102 Can't cast ifaces to a class
6104 * libs/gst/net/gstnetclientclock.h:
6105 * libs/gst/net/gstnettimeprovider.h:
6106 * plugins/elements/gstfakesink.h:
6107 * plugins/elements/gstfakesrc.h:
6108 * plugins/elements/gstfdsink.h:
6109 * plugins/elements/gstfdsrc.h:
6110 * plugins/elements/gstfilesink.h:
6111 * plugins/elements/gstfilesrc.h:
6112 * plugins/elements/gstidentity.h:
6113 * plugins/elements/gstqueue.h:
6114 * plugins/elements/gsttee.h:
6115 * plugins/indexers/gstfileindex.c:
6116 * plugins/indexers/gstmemindex.c:
6117 * tests/old/examples/plugins/example.h:
6118 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
6120 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
6122 * libs/gst/dataprotocol/dataprotocol.c:
6123 (gst_dp_header_from_buffer):
6124 make sure we zero the whole ABI-compatible area
6126 2006-06-01 Wim Taymans <wim@fluendo.com>
6128 Patch by: Alessandro Decina <alessandro at nnva dot org>
6130 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
6131 Make sure the EOS flag is cleared from pads after a flush
6132 or stop. Fixes #343538.
6134 * tests/check/libs/collectpads.c: (GST_START_TEST),
6135 (gst_collect_pads_suite):
6136 Added test for collectpads reusage after EOS.
6138 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
6141 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
6142 * win32/common/libgstbase.def:
6143 export gst_collect_pads_set_flushing
6144 * win32/common/libgstreamer.def:
6145 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
6146 gst_value_fraction_multiply
6147 * win32/vs6/gst_inspect.dsp:
6148 add a link to intl.lib
6150 2006-05-30 Wim Taymans <wim@fluendo.com>
6152 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6153 (gst_collect_pads_chain):
6154 Handle the case where a pad is removed from the collection
6155 that could cause the other pads to become collectable.
6157 2006-05-30 Wim Taymans <wim@fluendo.com>
6160 Clarify the use of _release_request_pad() and
6161 _get_request_pad() a bit better.
6163 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
6164 (gst_adapter_take_buffer):
6165 Fix some doc and comment typos.
6167 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6169 * docs/gst/gstreamer-sections.txt:
6170 * docs/libs/gstreamer-libs-sections.txt:
6171 add declared symbols
6173 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
6175 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6176 Add debug that can be enabled using a #define at the top of the file,
6177 for dumping stats about how late/early we were when waking up from
6178 waiting on the clock.
6180 2006-05-30 Wim Taymans <wim@fluendo.com>
6182 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
6183 When rebuilding the pad list, don't leak the previous list.
6185 2006-05-30 Wim Taymans <wim@fluendo.com>
6187 Patch by: Lutz Mueller <lutz at topfrose dot de>
6189 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6190 (gst_base_src_get_query_types), (gst_base_src_update_length):
6191 Publish supported query types.
6192 Update last_stop field in get_range mode so the position
6193 query works. Fixes #342321.
6195 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
6197 * docs/gst/gstreamer-sections.txt:
6198 * gst/gsttaglist.c: (_gst_tag_initialize):
6200 API: add GST_TAG_PREVIEW_IMAGE (#343341).
6202 2006-05-30 Wim Taymans <wim@fluendo.com>
6204 Patch by: Alessandro Decina <alessandro at nnva dot org>
6206 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6207 Unlock mutex when removing an unknown pad.
6210 * tests/check/Makefile.am:
6211 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
6212 (push_event), (setup), (teardown), (GST_START_TEST),
6213 (gst_collect_pads_suite), (main):
6214 Added collecpads check, disabled for now as check crashes for
6217 2006-05-29 Wim Taymans <wim@fluendo.com>
6219 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
6220 Don't leak pads lists.
6222 2006-05-29 Wim Taymans <wim@fluendo.com>
6224 * docs/libs/gstreamer-libs-sections.txt:
6225 * libs/gst/base/gstcollectpads.c:
6226 (gst_collect_pads_set_flushing_unlocked),
6227 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6228 (gst_collect_pads_stop):
6229 * libs/gst/base/gstcollectpads.h:
6230 API: gst_collect_pads_set_flushing()
6231 Added api to set the pads to flushing, useful for seeking
6232 code in elements using collectpads.
6233 Clear segment when receiving a flush.
6235 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
6237 * gst/gst.c: (add_path_func), (init_post):
6238 Don't scan registry paths passed via --gst-plugin-path immediately
6239 (will crash, because absolutely nothing is set up and no types are
6240 registered etc.); do this later in init_post(). Fixes #343057.
6242 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
6244 * gst/gst.c: (init_post):
6245 if we have fork, fork while reading/rebuilding the registry
6246 so the parent doesn't take the hit of having all plugins loaded
6247 in memory. Fixes #342777.
6249 Check if we have fork()
6250 * win32/common/config.h.in:
6253 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
6255 * plugins/elements/gstelements.c:
6256 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6257 (gst_file_src_init), (gst_file_src_set_property),
6258 (gst_file_src_get_property), (gst_file_src_start):
6259 * plugins/elements/gstfilesrc.h:
6260 API: GstFileSrc::use-mmap
6262 Add a use-mmap property to enable easier testing of all code paths.
6263 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
6264 in the absence of gnomevfssrc. (Closes #340501)
6266 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6268 * tools/gst-inspect.c:
6269 Add missing include, removes warning of ngettext not being defined on
6272 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
6274 * gst/gstvalue.c: (gst_value_deserialize_fraction):
6275 Handle NULL input and output pointers silently as a failed conversion,
6276 rather than g_warnings.
6278 2006-05-25 Wim Taymans <wim@fluendo.com>
6280 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
6281 Initialize variable before using. Fixes #342820.
6283 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
6285 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
6286 Fix off-by-one bug that would only allow peeks of N-1 bytes
6287 from the start even if the buffer to typefind on contains
6288 in fact N bytes of data (makes vorbis typefinding from a
6289 vorbis identification header buffer work).
6291 * tests/check/Makefile.am:
6292 * tests/check/libs/.cvsignore:
6293 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
6294 (gst_typefindhelper_suite), (main), (foobar_typefind),
6296 Add very basic unit test for gst_type_find_helper_for_buffer()
6297 that checks for the problem fixed above.
6299 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
6301 * tools/gst-inspect.c: (print_interfaces),
6302 (print_element_properties_info), (print_element_list), (main):
6303 add more translatable strings
6305 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
6307 Patch by: Julien Moutte <julien at moutte net>
6309 * docs/gst/gstreamer-sections.txt:
6310 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
6312 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6313 (gst_fake_sink_preroll):
6314 * plugins/elements/gstfakesink.h:
6315 API: Add new GstFakeSink::preroll-handoff signal (#337100).
6317 2006-05-23 Wim Taymans <wim@fluendo.com>
6319 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
6321 Added _CUSTOM error and success GstFlowReturn that can be
6322 used be elements internally.
6323 Added macro to check for SUCCESS flowreturns.
6324 API: GST_FLOW_CUSTOM_SUCCESS
6325 API: GST_FLOW_CUSTOM_ERROR
6326 API: GST_FLOW_IS_SUCCESS
6328 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6329 Added check for GstFlowReturn sanity.
6331 2006-05-23 Wim Taymans <wim@fluendo.com>
6333 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6335 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6336 (gst_collect_pads_event):
6337 clear/reset segment info in FLUSH_STOP.
6340 2006-05-22 Stefan Kost <ensonic@users.sf.net>
6342 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
6343 (gst_collect_pads_check_collected):
6344 Flush queued buffer on _stop(), fixes playing again (#342454)
6346 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
6348 * tests/check/gst/gststructure.c: (GST_START_TEST),
6349 (gst_structure_suite):
6350 add a test for a complete structure
6352 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
6354 * docs/faq/developing.xml:
6356 * docs/faq/troubleshooting.xml:
6357 * docs/faq/using.xml:
6358 Some minor FAQ updates that won't change the fact that
6359 our FAQ is badly structured, full of information hardly
6360 anyone new to GStreamer needs to know and lacking lots
6361 of information people constantly ask for.
6363 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
6365 * gst/gstpad.c: (gst_pad_set_caps):
6366 Short-circuit gst_pad_set_caps if setting the existing
6367 caps pointer again, and avoid printing debug and
6368 reffing/unreffing the caps.
6370 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6371 There's actually no need to set the caps before pushing -
6372 the acceptcaps method will handle it anyway.
6374 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
6376 * docs/gst/gstreamer-sections.txt:
6377 * win32/common/libgstreamer.def:
6378 * gst/gstutils.c: (gst_element_seek_simple):
6380 API: add gst_element_seek_simple() (#342238).
6382 2006-05-18 Edward Hervey <edward@fluendo.com>
6384 * gst/gsttypefind.c: (gst_type_find_get_type):
6385 * gst/gsttypefind.h:
6386 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
6387 registered for GstTypeFind pointers. This allows wrapping the structure
6388 in bindings (i.e. gst-python).
6390 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
6392 * gst/gsttagsetter.c:
6393 Docs additions and fixes (see #339918).
6395 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
6397 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6398 The caps intersection algorithm can produce multiple copies of the
6399 caps. Until that is fixed, we need to simplify the result to be
6400 sure whether the allowed caps are fixed or not.
6402 * plugins/elements/gstqueue.c: (gst_queue_init),
6403 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
6404 (gst_queue_push_one):
6405 Proxied buffer alloc should not set the caps on the source pad.
6406 When pushing buffers, we always accept the caps change that triggers.
6407 This prevents negotiation errors caused by caps changing mid-stream
6408 and then being refused on our source pad (because upstream is now
6409 refusing those caps).
6411 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
6413 * tests/examples/helloworld/helloworld.c: (main):
6414 Must plug audioconvert and audioresample between decoder
6417 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
6419 * gst/gstregistryxml.c: (read_string), (load_pad_template),
6420 (load_feature), (load_plugin):
6421 Allow empty strings for some of the plugin fields so we don't
6422 drop valid plugin entries that were written out correctly
6425 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
6427 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6428 Use g_remove and g_rename instead of remove and rename that don't
6429 handle utf8 characters. rename was failing for users who had specific
6430 characters in their name then the registry was built at each
6432 * win32/vs6/gst_inspect.dsp:
6433 * win32/vs6/gst_launch.dsp:
6434 * win32/vs6/libgstbase.dsp:
6435 * win32/vs6/libgstcoreelements.dsp:
6436 * win32/vs6/libgstreamer.dsp:
6437 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
6438 build of libgstreamer and clean unused libraries in projects link
6441 2006-05-17 Edward Hervey <edward@fluendo.com>
6443 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6444 The queue is not responsible for pushing an EOS when receiving a fatal
6445 flow error. It's up to the real element driving the pipeline to do that.
6447 2006-05-16 Edward Hervey <edward@fluendo.com>
6449 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6450 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
6451 buffer returned a fatal error. It should just send an EOS and stop
6453 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
6454 when pushing buffers on the queue and will be able to handle the event.
6456 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
6458 * docs/manual/basics-bins.xml:
6459 * docs/manual/basics-init.xml:
6460 Fix typos and minor errors in sample code (#341856).
6462 2006-05-16 Wim Taymans <wim@fluendo.com>
6464 * docs/design/part-qos.txt:
6465 Fix indexes in formulas to make more sense.
6467 2006-05-15 Wim Taymans <wim@fluendo.com>
6469 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6470 Don't report POSITION based on clock time if sync is
6473 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
6476 Add cast to make compiler happy - refcount variable was a gint
6477 in GstObject but is a guint in GObject and g_atomic_int_get()
6480 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
6482 * gst/parse/Makefile.am:
6483 chain commands using &&, which also makes parallel make work
6485 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
6487 * docs/gst/gstreamer-sections.txt:
6493 === release 0.10.6 ===
6495 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
6498 releasing 0.10.6, "Take the cannoli"
6500 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
6502 * tools/gst-launch.c: (print_tag):
6503 Fix use of uninitialized variable in the hypothetical
6504 case that some broken plugin creates a GST_TAG_IMAGE
6505 tag containing a NULL buffer (#341667).
6507 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
6509 * tools/gst-launch.c: (print_tag):
6510 Print something more intelligible for image tags when
6511 using the -t switch (#341556).
6513 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
6518 define GST_MAJORMINOR so we have it available in win32/common/config.h
6519 Possibly remove it from our Makefile.am files later
6520 * win32/common/config.h:
6521 * win32/common/config.h.in:
6522 added GST_MAJORMINOR
6523 * win32/common/gstenumtypes.c: (register_gst_resource_error):
6524 * win32/common/gstversion.h:
6527 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
6530 Update win32 files listing.
6531 * win32/common/gstversion.h:
6532 Add GST_MAJORMINOR definition.
6533 * win32/common/libgstreamer.def:
6534 Add new exported functions.
6536 2006-05-12 Michael Smith <msmith@fluendo.com>
6538 * gst/gstplugin.c: (gst_plugin_load_file):
6539 If an so file has no plugin entry point, unload the module.
6541 2006-05-11 Wim Taymans <wim@fluendo.com>
6543 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
6544 (gst_queue_set_property):
6545 Don't forget to signal the _chain or _loop function
6546 when the queue size or thresholds change since that might
6547 cause them to make progres again.
6549 2006-05-11 Stefan Kost <ensonic@users.sf.net>
6551 * gst/gstclock.c: (gst_clock_class_init):
6552 * gst/gstindex.c: (gst_index_class_init):
6553 * gst/gstobject.c: (gst_object_class_init):
6554 * gst/gstpad.c: (gst_pad_class_init):
6555 * gst/gstpipeline.c: (gst_pipeline_class_init):
6556 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6557 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
6558 * libs/gst/base/gstbasetransform.c:
6559 (gst_base_transform_class_init):
6560 * libs/gst/net/gstnetclientclock.c:
6561 (gst_net_client_clock_class_init):
6562 * libs/gst/net/gstnettimeprovider.c:
6563 (gst_net_time_provider_class_init):
6564 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
6565 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6566 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6567 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
6568 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6569 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6570 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6571 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6572 * plugins/elements/gsttee.c: (gst_tee_class_init):
6573 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6574 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6575 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
6577 2006-05-11 Wim Taymans <wim@fluendo.com>
6579 * gst/gstbuffer.c: (_gst_buffer_initialize):
6580 Register subbufer along with the buffer type so that
6581 it does not accidentally gets registered from N
6582 different streaming threads in a non threadsafe way.
6584 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
6589 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
6590 gst_event_ref() and gst_message_ref() functions again
6591 (ugly hack, please do fix if there's a better way besides
6592 overrides.txt, which doesn't seem to work).
6594 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6596 * libs/gst/check/gstcheck.h:
6597 add an assert for setting state to avoid lots of repetitive code
6600 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6602 * gst/gstvalue.c: (gst_value_serialize_flags):
6603 fix a leak if no flags are set
6604 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6607 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
6609 * docs/manual/basics-pads.xml:
6610 Expand a bit on caps and filtered links and update
6611 examples that were still using the no longer existing
6612 gst_pad_link_filtered() (#338206).
6614 2006-05-10 Wim Taymans <wim@fluendo.com>
6616 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6617 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6618 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6619 (gst_collect_pads_stop):
6620 * libs/gst/base/gstcollectpads.h:
6621 No need to call _stop in _finalize.
6622 Iterate the main pad list in _finalize.
6623 Added some more debug.
6624 Free lists and data in the right order.
6625 Also free data whem doing _remove_pad when stopped for
6626 backward compatibility protect ::started with PAD_LOCK as
6629 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6631 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
6632 (gst_structure_parse_value):
6634 rename a method so that it actually says what it does better
6636 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6638 * gst/gstevent.c: (_gst_event_initialize):
6639 * gst/gstformat.c: (_gst_format_initialize):
6640 make sure some essential types used by events are registered
6641 as part of gst_init()
6642 * gst/gstvalue.c: (gst_value_serialize_flags):
6643 if no flags are set, serialize them to a value that represents NONE
6644 so that deserializing them works
6645 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6646 add tests for serialization and deserialization of flags
6648 2006-05-10 Wim Taymans <wim@fluendo.com>
6650 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6651 (gst_collect_pads_collect_range), (gst_collect_pads_available),
6652 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6653 (gst_collect_pads_event), (gst_collect_pads_chain):
6656 Catch and return errors from the collect function
6657 Refuse data on eos pads.
6659 2006-05-10 Edward Hervey <edward@fluendo.com>
6661 * gst/gstinterface.h:
6662 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6663 GInterface type checking.
6664 They were previously using non-defined macros.
6666 2006-05-09 Wim Taymans <wim@fluendo.com>
6668 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6669 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6670 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6671 (gst_collect_pads_start), (gst_collect_pads_stop),
6672 (gst_collect_pads_peek), (gst_collect_pads_pop),
6673 (gst_collect_pads_available), (gst_collect_pads_read),
6674 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6675 (gst_collect_pads_is_collected), (gst_collect_pads_event),
6676 (gst_collect_pads_chain):
6677 * libs/gst/base/gstcollectpads.h:
6678 Clean up the mess that is collectpads, add comments and
6679 FIXMEs where needed.
6680 Maintain a separate pad list so we can add pads while
6681 collecting the other ones. For this we need a new separate
6683 Fix memory leak in finalize.
6684 Refactor some weird code to set/unset pad flushing flags, mark
6686 Don't crash in _available, _read, _flush when we're EOS.
6688 * tests/check/libs/.cvsignore:
6689 Ignore adapter check binary.
6691 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6693 * gst/gstindex.c: (gst_index_resolver_get_type):
6694 * plugins/elements/gstfakesink.c:
6695 (gst_fake_sink_state_error_get_type):
6696 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6697 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6698 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6699 Const-ify GEnumValue arrays.
6701 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6703 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6704 Add test case for flags + gst_buffer_make_metadata_writable().
6706 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6708 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6709 gst_buffer_make_metadata_writable() should maintain the
6710 buffer flags (those that make sense at least) (see #340859).
6712 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6714 * tools/gst-inspect.c:
6715 * tools/gst-launch.c:
6716 * tools/gst-typefind.c:
6717 * tools/gst-xmlinspect.c:
6719 Fix up includes: need to include stdlib.h in tools.h for exit().
6721 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6723 * gst/gsttaglist.c: (_gst_tag_initialize):
6725 API: add GST_TAG_IMAGE tag (#340721).
6727 2006-05-08 Wim Taymans <wim@fluendo.com>
6730 Added some docs for the segment query.
6732 2006-05-08 Wim Taymans <wim@fluendo.com>
6734 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6735 (gst_base_src_loop), (gst_base_src_change_state):
6736 Always push non-flushing serialized events in the streaming
6739 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
6741 * gst/gsterror.c: (_gst_stream_errors_init):
6742 Add a missing error string.
6744 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
6746 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6747 Add applied_rate to the debug
6749 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6750 Copy applied_rate into the outgoing NEWSEGMENT event
6752 2006-05-08 Wim Taymans <wim@fluendo.com>
6754 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6756 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6757 (gst_base_sink_change_state):
6758 call ::unlock before taking the PREROLL_LOCK so we can safely
6759 handle elements that lock in ::render.
6762 2006-05-08 Edward Hervey <edward@fluendo.com>
6764 * autogen.sh: (CONFIGURE_DEF_OPT):
6765 Darwin's libtoolize is in fact called glibtoolize.
6766 Adding glibtoolize to the list of accepted names for libtoolize.
6768 2006-05-08 Wim Taymans <wim@fluendo.com>
6770 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6771 Unify error handling, don't post an error message
6772 when a push() returns EOS but perform our normal EOS
6773 handling code. Fixes #340772.
6775 2006-05-08 Wim Taymans <wim@fluendo.com>
6777 * docs/design/part-overview.txt:
6778 Make upsteam/downstream concepts more clear.
6779 Give an example of serialized/non-serialized events.
6781 * docs/design/part-events.txt:
6782 * docs/design/part-streams.txt:
6783 Mention applied_rate.
6785 * docs/design/part-trickmodes.txt:
6786 Mention applied rate, flesh out some more use cases.
6788 * gst/gstevent.c: (gst_event_new_new_segment),
6789 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6790 (gst_event_parse_new_segment_full), (gst_event_new_tag),
6791 (gst_event_parse_tag), (gst_event_new_buffer_size),
6792 (gst_event_parse_buffer_size), (gst_event_new_qos),
6793 (gst_event_parse_qos), (gst_event_parse_seek),
6794 (gst_event_new_navigation):
6796 Add applied_rate field to NEWSEGMENT event.
6797 API: gst_event_new_new_segment_full()
6798 API: gst_event_parse_new_segment_full()
6800 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6801 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6802 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6804 Add applied_rate to GstSegment structure.
6805 Make calculation of stream_time and running_time more correct
6806 wrt rate/applied_rate.
6808 API: GstSegment::applied_rate field
6809 API: gst_segment_set_newsegment_full();
6811 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6812 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6813 * libs/gst/base/gstbasetransform.c:
6814 (gst_base_transform_sink_eventfunc),
6815 (gst_base_transform_handle_buffer):
6816 Parse and use applied_rate in the GstSegment field.
6818 * tests/check/gst/gstevent.c: (GST_START_TEST):
6819 Add check for applied_rate field.
6821 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6822 (gstsegments_suite):
6823 Add more checks for various GstSegment operations.
6825 2006-05-08 Wim Taymans <wim@fluendo.com>
6827 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6828 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6829 (gst_base_sink_get_position), (gst_base_sink_change_state):
6830 Store the sync time of the buffer end position separatly in a
6831 new variable eos_rtime so we can properly sync the EOS event.
6833 Fix the docs for gst_base_sink_set_qos_enabled().
6834 Don't set segment start to invalid value when we receive a
6835 non TIME newsegment.
6836 get closer to handling position reporting for negative rates
6839 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6842 Docs about how to print caps for debug purposes.
6844 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6845 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6847 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6850 use full enum names and preprend a '%' in docs strings to make recent
6851 gtk-doc turn that into a link
6853 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6855 * docs/manual/basics-bins.xml:
6856 * docs/manual/basics-bus.xml:
6857 * docs/manual/basics-pads.xml:
6858 Some typo fixes, some additions, some clarifications.
6860 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6862 * tools/gst-inspect.c: (main):
6863 * tools/gst-launch.c: (main):
6864 * tools/gst-run.c: (main):
6865 * tools/gst-typefind.c: (main):
6866 * tools/gst-xmlinspect.c: (main):
6867 Use the string passed to g_option_context_new() for
6868 what it's intended for - the program name is already
6871 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6873 * tools/Makefile.am:
6874 * tools/gst-inspect.c: (main):
6875 * tools/gst-launch.c: (main):
6876 * tools/gst-xmlinspect.c: (main):
6878 Add back --version command line option (#340460).
6880 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6881 Add --version option and use GOption for argument parsing; refactor a
6882 bit; accept directories as arguments and recurse into them; lastly,
6883 print a decent error message when things go wrong.
6885 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6887 * docs/manual/basics-bins.xml:
6888 Don't mention GstThread (#340611)
6889 * docs/manual/basics-elements.xml:
6890 Update link to GObject tutorial (#340607)
6892 2006-05-05 Wim Taymans <wim@fluendo.com>
6895 * gst/gstminiobject.c:
6896 Add note about refcounting and miniobject/buffer writeability
6897 to docs. Fixes #340604
6899 * gst/gstelementfactory.h:
6900 Added some explanation about @klass.
6902 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6904 * docs/manual/intro-motivation.xml:
6905 * docs/manual/manual.xml:
6906 Avoid CORBA & Bonobo references (#340598)
6908 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6910 * docs/manual/basics-bus.xml:
6911 * docs/manual/basics-pads.xml:
6912 Fix up some inaccuracies and omissions (#340609)
6914 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6916 * gst/gstghostpad.c:
6917 Small typo in docs (#340625)
6919 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6921 * gst/parse/Makefile.am:
6922 Make 'make -j' proof (see #340698).
6924 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6927 Require GLib-2.8 here as well.
6929 2006-05-05 Wim Taymans <wim@fluendo.com>
6931 * gst/glib-compat.c:
6932 * gst/gst.c: (init_pre):
6933 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6934 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6935 (gst_object_dispatch_properties_changed):
6937 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6938 * gst/gststructure.c: (gst_structure_set_valist):
6939 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6940 Remove pre glib2.8 compatibility, fixes #340508
6942 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6945 Mention type of tags in doc blurbs.
6947 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
6949 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6950 (gst_pad_configure_src), (gst_pad_push):
6951 Restore acceptcaps checking behaviour now that good plugins have
6954 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6956 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6967 * gst/parse/Makefile.am:
6968 * libs/gst/base/gstadapter.c:
6969 * libs/gst/base/gstbasesrc.c:
6970 * libs/gst/base/gstpushsrc.c:
6971 * libs/gst/base/gsttypefindhelper.c:
6972 * plugins/elements/gstfakesrc.c:
6973 * plugins/elements/gstidentity.c:
6974 Make sure gstprivate.h and/or config.h are
6975 always included first, otherwise some of our
6976 defines (like _FILE_OFFSET_BITS) might be
6977 redefined in the system headers. Fixes build
6978 on opensolaris (#340016).
6980 2006-05-04 Wim Taymans <wim@fluendo.com>
6982 * docs/libs/gstreamer-libs-sections.txt:
6983 API: addition: gst_adapter_take_buffer()
6985 * libs/gst/base/gstadapter.c: (gst_adapter_push),
6986 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6987 (gst_adapter_available_fast):
6988 * libs/gst/base/gstadapter.h:
6989 Prepare for optimizing the hell out of this hugely inefficient
6991 Added gst_adapter_take_buffer() so we can at least start thinking
6992 about subbuffering and merging.
6993 Added some comments.
6995 * tests/check/Makefile.am:
6996 * tests/check/libs/adapter.c: (GST_START_TEST),
6997 (gst_adapter_suite), (main):
6998 Added GstAdapter check.
7000 2006-05-04 Wim Taymans <wim@fluendo.com>
7002 * docs/design/part-overview.txt:
7003 Fix some typos, add blurb about buffer flags.
7005 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
7007 * docs/libs/gstreamer-libs-sections.txt:
7008 make sure GstBaseTransformClass shows up in the docs
7009 * libs/gst/base/gstbasetransform.c:
7010 * libs/gst/base/gstbasetransform.h:
7011 move docs so gtk-doc picks it up now
7013 2006-05-02 Stefan Kost <ensonic@users.sf.net>
7015 * docs/libs/gstreamer-libs-sections.txt:
7016 add missing symbols to docs
7018 2006-05-02 Stefan Kost <ensonic@users.sf.net>
7020 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7021 back out the newsegment handling change, see #340060 for ongoing
7024 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
7026 * tools/gst-run.c: (get_candidates), (main):
7027 Fix wrong g_file_test() usage (see glib docs for why it doesn't
7028 work); fix typo in error message. Fixes #340079.
7030 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
7032 * common/Makefile.am:
7034 * docs/faq/Makefile.am:
7035 * docs/gst/Makefile.am:
7036 * docs/libs/Makefile.am:
7037 * docs/manual/Makefile.am:
7038 * docs/plugins/Makefile.am:
7039 * docs/pwg/Makefile.am:
7040 * docs/slides/Makefile.am:
7042 * common/upload.mak:
7043 move upload.mak to common
7045 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
7047 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7048 add more asserts on refcounts
7049 do more cleanup at end of tests
7050 fix test leaks showing in FC5
7052 2006-04-29 Stefan Kost <ensonic@users.sf.net>
7054 * plugins/elements/gsttypefindelement.c:
7055 (gst_type_find_element_handle_event):
7056 reverted wrong change and reflowed code to avoid others falling into
7059 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7061 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7062 fix changelog entry about last collectpads change,
7063 add notes about proper fix
7065 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7068 * gst/gstregistry.c: (gst_registry_scan_path_level),
7069 (gst_registry_scan_path):
7070 * gst/gstregistry.h:
7071 only write out registry if it has changed, fixes #338339
7073 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7076 * gst/gstpipeline.c:
7077 * plugins/elements/gstcapsfilter.c:
7078 * plugins/elements/gstfakesink.c:
7079 * plugins/elements/gstfakesrc.c:
7080 * plugins/elements/gstfdsink.c:
7081 * plugins/elements/gstfdsrc.c:
7082 * plugins/elements/gstfilesink.c:
7083 * plugins/elements/gstfilesrc.c:
7084 * plugins/elements/gstidentity.c:
7085 * plugins/elements/gstqueue.c:
7086 * plugins/elements/gsttee.c:
7087 * plugins/elements/gsttypefindelement.c:
7088 (gst_type_find_element_handle_event):
7089 make GstElementDetails const
7091 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7093 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
7094 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
7095 (gst_collect_pads_is_collected), (gst_collect_pads_event):
7096 more detailed debug and formatting cleanup,
7097 forward newsegments to src-pad (so that e.g. adder not eats them)
7099 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7101 * gst/gstutils.c: (gst_element_link_pads):
7104 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7106 * libs/gst/controller/gstcontroller.c:
7107 (gst_controller_sync_values):
7109 * tests/check/libs/controller.c: (GST_START_TEST),
7110 (gst_controller_suite):
7111 a new test for live value handling
7113 2006-04-28 Wim Taymans <wim@fluendo.com>
7115 * gst/gstutils.c: (push_and_ref):
7116 Added some more docs.
7117 Fix refcount issue whith gst_element_found_tags() helper
7118 function. Fixes #338335
7120 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7121 Added testsuite for gst_element_found_tags().
7123 2006-04-28 Michael Smith <msmith@fluendo.com>
7125 * gst/gstvalue.c: (gst_value_serialize_flags):
7126 Avoid NULL dereference when trying to serialize flags containing
7129 2006-04-28 Michael Smith <msmith@fluendo.com>
7131 * plugins/elements/gsttypefindelement.c:
7132 (gst_type_find_element_handle_event):
7133 If we get EOS before any data is accumulated, don't use
7134 uninitialised local variables.
7136 2006-04-28 Michael Smith <msmith@fluendo.com>
7138 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7139 (gst_dp_event_from_packet):
7140 Fixes in reading/writing events over GDP (not currently used?) -
7141 dereferencing NULL events for unknown/invalid event types, memory
7142 leak, and change g_warning to GST_WARNING.
7144 2006-04-28 Wim Taymans <wim@fluendo.com>
7146 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
7147 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
7148 (gst_base_sink_get_position), (gst_base_sink_change_state):
7149 When frame dropping is enabled, we should not ignore frames
7151 Update some documentation.
7153 2006-04-28 Wim Taymans <wim@fluendo.com>
7155 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7156 (gst_base_src_send_event), (gst_base_src_change_state):
7157 Documentation updates.
7159 2006-04-28 Wim Taymans <wim@fluendo.com>
7161 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
7162 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
7163 handle EAGAIN, EINTR and short writes correctly. Also clean
7164 up some error cases, avoid a deadlock on bad file descriptors and
7165 use GST_DEBUG_OBJECT.
7168 2006-04-28 Wim Taymans <wim@fluendo.com>
7170 * gst/gstvalue.c: (gst_value_serialize_buffer),
7171 (gst_value_deserialize_buffer):
7172 Don't try to serialize a GValue with a NULL buffer.
7175 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7176 Added check for serialisation of NULL buffers.
7178 2006-04-28 Wim Taymans <wim@fluendo.com>
7180 * gst/gstminiobject.c: (gst_value_take_mini_object):
7181 Taking a NULL miniobject is valid, fix the case where
7182 we try to unref the NULL miniobject.
7184 2006-04-28 Wim Taymans <wim@fluendo.com>
7186 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7188 * gst/gstbin.c: (gst_bin_handle_message_func):
7190 Don't leak bin refcount when a state recalc is
7191 in progress and we delay another one #339808.
7193 2006-04-28 Wim Taymans <wim@fluendo.com>
7195 * docs/design/part-TODO.txt:
7196 Mention QoS as an ongoing work item.
7198 * docs/design/part-buffering.txt:
7199 New doc about buffering that needs to be fleshed out
7202 * docs/design/part-qos.txt:
7203 More QoS policy for decoders/demuxers/transforms
7205 * docs/design/part-trickmodes.txt:
7208 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
7213 === release 0.10.5 ===
7215 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
7218 releasing 0.10.5, "Fogo"
7220 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
7222 patch by: Wim Taymans
7224 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
7225 (gst_pad_configure_src), (gst_pad_push):
7226 * gst/gstpipeline.c: (gst_pipeline_init):
7227 Fix internal data flow errors. Fixes #338711.
7229 2006-04-12 Wim Taymans <wim@fluendo.com>
7231 * tests/check/gst/gstelement.c: (GST_START_TEST):
7232 Don't leak the factory.
7234 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7237 * win32/common/config.h:
7240 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
7242 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7243 (gst_controller_unset_all):
7244 Free allocated GstTimedValues when freeing list nodes.
7245 Should fix leaks 'make check-valgrind' complains about.
7247 * win32/common/libgstcontroller.def:
7248 Add gst_controller_unset_all.
7250 2006-04-11 Stefan Kost <ensonic@users.sf.net>
7252 * docs/libs/gstreamer-libs-sections.txt:
7253 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7254 (gst_controller_unset_all):
7255 * libs/gst/controller/gstcontroller.h:
7256 API: Added new method gst_controller_unset_all()
7257 fixed gst_controller_unset()
7258 * tests/check/libs/controller.c: (GST_START_TEST),
7259 (gst_controller_suite):
7260 Added two testcases for new and fixed method
7262 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
7264 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7265 MSG_DONTWAIT is not defined on Cygwin, so work
7266 around that (fixes #317048).
7268 2006-04-11 Wim Taymans <wim@fluendo.com>
7270 * gst/gstelementfactory.c: (gst_element_register),
7271 (gst_element_factory_create), (gst_element_factory_make):
7274 Updated docs (Fixes #131079)
7276 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7279 * tests/check/gst/gstelement.c: (GST_START_TEST),
7280 (gst_element_suite):
7281 Added testcase for elementfactory class field.
7283 2006-04-10 Wim Taymans <wim@fluendo.com>
7286 Added some more docs.
7288 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
7289 (gst_base_sink_reset_qos):
7290 Calculate more accurate rate values.
7292 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
7294 * gst/gst_private.h:
7295 add a new #ifdef to use __declspec(dllimport) only for
7296 other modules and not for gstreamer core
7297 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
7298 use gst_guint64_to_gdouble for conversion
7299 * win32/common/libgstreamer.def:
7300 add new exported functions
7301 * win32/vs6/gst_inspect.dsp:
7302 * win32/vs6/gst_launch.dsp:
7303 * win32/vs6/libgstbase.dsp:
7304 * win32/vs6/libgstcontroller.dsp:
7305 * win32/vs6/libgstcoreelements.dsp:
7306 * win32/vs6/libgstdataprotocol.dsp:
7307 * win32/vs6/libgstnet.dsp:
7308 update project files
7310 2006-04-08 Stefan Kost <ensonic@users.sf.net>
7312 * gst/gstbuffer.c: (gst_subbuffer_class_init):
7313 * gst/gstclock.c: (gst_clock_class_init):
7314 * gst/gstelement.c: (gst_element_class_init):
7315 * gst/gstindex.c: (gst_index_class_init):
7316 * gst/gstindexfactory.c: (gst_index_factory_class_init):
7317 * gst/gstobject.c: (gst_object_class_init),
7318 (gst_signal_object_class_init):
7319 * gst/gstpad.c: (gst_pad_class_init):
7320 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
7321 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
7322 * gst/gstregistry.c: (gst_registry_class_init):
7323 * gst/gstsystemclock.c: (gst_system_clock_class_init):
7324 * gst/gsttask.c: (gst_task_class_init):
7325 * gst/gstxml.c: (gst_xml_class_init):
7326 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7327 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7328 (gst_base_src_loop):
7329 * libs/gst/controller/gstcontroller.c:/
7330 (_gst_controller_class_init):
7331 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7332 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
7333 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
7334 * tests/old/examples/plugins/example.c: (gst_example_class_init):
7335 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7336 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
7338 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
7340 * gst/gstpad.c: (gst_pad_link):
7341 Must set peer pads before calling the link function, otherwise
7342 a task started from a link function might get a flow-not-linked
7343 result when trying to push because the other thread where the
7344 linking happens hasn't had a chance to set the peers yet. This
7345 might happen for example when a queue gets linked to a downstream
7346 element, as queue starts a streaming task when its source pad
7347 gets linked. Happens in real life when playing back flac/musepack
7348 files in playbin (#332390).
7350 2006-04-08 Stefan Kost <ensonic@users.sf.net>
7354 * libs/gst/base/gstadapter.h:
7355 * libs/gst/base/gstbasesink.h:
7356 * libs/gst/base/gstbasesrc.h:
7357 * libs/gst/base/gstbasetransform.h:
7358 * libs/gst/base/gstcollectpads.h:
7359 * libs/gst/base/gstpushsrc.h:
7360 Fix broken GObject macros
7362 2006-04-07 Wim Taymans <wim@fluendo.com>
7364 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7365 Initialize start and stop times, thanks valgrind.
7367 2006-04-07 Wim Taymans <wim@fluendo.com>
7369 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7370 Be a bit nicer to badly behaving upstream elements that expect
7371 us to deal with non TIME segments and timestamps (such as fakesrc
7374 2006-04-07 Wim Taymans <wim@fluendo.com>
7377 Small documentation clarification about the signal watch.
7379 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7380 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7381 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7382 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
7383 (gst_base_sink_get_position_last),
7384 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
7385 Convert and store timestamps in stream time and running time, the
7386 raw timestamps are not useful, also document this better.
7387 Use different window sizes for good and bad QoS observations so
7388 we react to badness a little quicker.
7389 Keep track of the amount of rendered and dropped buffers.
7390 Send QoS timestamps in running time.
7392 * libs/gst/base/gstbasetransform.c:
7393 (gst_base_transform_sink_eventfunc),
7394 (gst_base_transform_handle_buffer):
7395 Compare QoS timestamps against running time.
7397 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
7402 2006-04-06 Michael Smith <msmith@fluendo.com>
7404 * gst/gstpad.c: (gst_pad_set_property):
7405 Use g_value_get_object() instead of g_value_dup_gst_object(),
7406 to avoid double-reffing the pad template (which we then sink,
7407 so this worked previously if (and only if) the pad template
7410 * gst/gstpadtemplate.c: (gst_pad_template_init),
7411 (gst_pad_template_pad_created):
7412 Never return floating references to pad templates, create
7413 them as initially-sunken.
7415 Document an extra function (and make this stop sinking our
7416 pad template, since that is now guaranteed to do nothing,
7417 since we created it sunken).
7419 * gst/gstghostpad.c:
7422 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
7424 * gst/gstinfo.c: (__gst_in_valgrind):
7427 * plugins/elements/gsttypefindelement.c:
7428 (gst_type_find_element_chain):
7429 Don't leak buffer caps.
7431 2006-04-06 Michael Smith <msmith@fluendo.com>
7433 * gst/parse/grammar.y:
7434 Fix a leak in parse-launch for any source-or-sink named element
7437 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7438 Unref the pipeline if it exists after we've failed parsing.
7440 2006-04-05 Michael Smith <msmith@fluendo.com>
7442 * gst/gstpipeline.c: (gst_pipeline_init):
7443 When we create a pipeline bus, initially create it in flushing mode.
7444 Fixes leaks in at least one test, and makes a new pipeline work the
7445 same as one that has gone to READY and then back to NULL.
7450 2006-04-05 Michael Smith <msmith@fluendo.com>
7452 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7453 Unref a pad we reffed.
7454 * tests/check/gst/gstutils.c: (GST_START_TEST):
7457 2006-04-05 Michael Smith <msmith@fluendo.com>
7459 * gst/gstquery.c: (gst_query_set_formats),
7460 (gst_query_set_formatsv):
7461 Fix leaking GValues in queries, as shown by valgrind/testsuite.
7463 2006-04-05 Michael Smith <msmith@fluendo.com>
7465 * tests/check/generic/sinks.c: (GST_START_TEST):
7466 Fix a variety of memleaks in sinks check, which are only sometimes
7467 shown by running the tests under valgrind (weird?).
7469 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
7471 * docs/version.entities.in:
7472 Fix the substituted entity name after thomas' changes on the
7475 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7477 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
7480 2006-04-05 Andy Wingo <wingo@pobox.com>
7482 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
7484 * libs/gst/base/gstbasetransform.c
7485 (gst_base_transform_sink_eventfunc): When resetting our segment on
7486 FLUSH_STOP, also update the flag saying we haven't seen a
7489 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7491 Patch by: Paolo Borelli <pborelli at katamail dot com>
7493 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
7494 (gst_plugin_check_license):
7495 minor clean-ups: G_DEFINE_TYPE already takes care of the
7496 parent_class stuff, no need to do it twice. Mark array of
7497 license strings as constant. (#337103)
7499 2006-04-04 Michael Smith <msmith@fluendo.com>
7501 * tools/gst-inspect.c: (print_element_list):
7502 Free the right plugin list; fixes a memory leak.
7504 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7506 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7508 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7509 Don't error out on empty buffers (#336945).
7511 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
7513 * docs/libs/gstreamer-libs-sections.txt:
7515 * libs/gst/base/gstbasesink.c:
7516 * libs/gst/base/gstbasesink.h:
7517 * libs/gst/base/gstbasesrc.c:
7518 * libs/gst/base/gstbasesrc.h:
7519 Documentation updates. Make BaseSink and BaseSrc docs contain the
7520 class structure so that people can actually see the prototypes for
7521 virtual functions they're supposed to be overriding.
7523 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7525 * plugins/elements/gsttypefindelement.c:
7526 (gst_type_find_element_chain):
7527 More debug info; when skipping typefinding, send cached
7528 events in all cases.
7530 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
7533 use new AS_VERSION and AS_NANO macros
7534 * gst/gst-i18n-lib.h:
7537 * gst/gstversion.h.in:
7538 * win32/common/config.h:
7539 * win32/common/config.h.in:
7542 2006-03-31 Michael Smith <msmith@fluendo.com>
7544 * plugins/elements/gsttypefindelement.c:
7545 (gst_type_find_element_chain):
7546 Do not typefind content if the buffers already have caps.
7547 Neccesary for icydemux (#333657), and the right thing to do anyway.
7549 2006-03-30 Wim Taymans <wim@fluendo.com>
7551 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7552 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
7553 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
7554 (gst_base_sink_record_qos_observation),
7555 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7556 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7557 (gst_base_sink_change_state):
7558 More QoS measurements as described in the design doc.
7559 Get rid of ringbuffer with observations, running average is
7560 more simple and equally good.
7561 Calculates valid proportion now.
7562 Added beginning of flood measurement.
7564 2006-03-29 Wim Taymans <wim@fluendo.com>
7566 * docs/design/part-qos.txt:
7568 Small documentation updates and additions.
7570 2006-03-29 Wim Taymans <wim@fluendo.com>
7572 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7573 (gst_base_src_send_event), (gst_base_src_loop),
7574 (gst_base_src_change_state):
7575 Perform the EOS logic when we reach the segment stop position.
7576 Fix compilation on gcc4.1
7578 2006-03-29 Wim Taymans <wim@fluendo.com>
7580 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7582 * plugins/elements/gstqueue.c: (gst_queue_init),
7583 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7584 (gst_queue_set_property):
7585 * plugins/elements/gstqueue.h:
7586 In queue, when EOS is received, if minimum threshold > max_size -
7587 current_level, there is chance that queue blocks forever in conditional
7588 item del wait. This is because the queue is not emptied completely due
7589 to minimum threshold. Here is another approach. Instead of setting
7590 cur_levels to max in EOS, just zero all minimum threshold levels. This
7591 should make sure that queue gives out all data. When going to READY
7592 (stop) state, just reset the original minimum threshold levels.
7595 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
7597 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
7598 (gst_type_find_element_handle_event),
7599 (gst_type_find_element_send_cached_events),
7600 (gst_type_find_element_change_state):
7601 * plugins/elements/gsttypefindelement.h:
7602 When typefinding is done in push mode, we should cache
7603 events we receive during typefinding instead of just
7604 dropping them (e.g. newsegment, custom events from
7605 dvdreadsrc etc.) and then send them out once we've
7606 determined the type of the stream (and decodebin
7607 has had a chance to plug in a decoder/demuxer).
7609 2006-03-27 Wim Taymans <wim@fluendo.com>
7611 * docs/design/part-qos.txt:
7614 2006-03-27 Wim Taymans <wim@fluendo.com>
7616 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
7618 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7619 (gst_base_src_send_event), (gst_base_src_change_state):
7620 Handle element seek correctly when we are streaming.
7623 2006-03-24 Michael Smith <msmith@fluendo.com>
7625 * docs/faq/gst-uninstalled:
7626 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
7627 allow you to correctly run intalled applications built against old
7628 core, using plugins that require updated core (e.g. running
7629 installed totem against a full uninstalled gstreamer stack)
7631 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7633 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
7636 2006-03-24 Wim Taymans <wim@fluendo.com>
7638 * docs/gst/gstreamer-sections.txt:
7639 Rearrange the order of the methods so that related methods
7640 are grouped together in sections.
7642 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7645 Little clarification in the docs
7647 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7651 * plugins/elements/gstidentity.c:
7652 * plugins/elements/gstqueue.c:
7653 * plugins/elements/gsttee.c:
7654 * plugins/elements/gsttypefindelement.c:
7655 GST_ELEMENT_DETAILS formatting
7657 2006-03-24 Wim Taymans <wim@fluendo.com>
7659 * libs/gst/base/gstbasesink.h:
7660 Only add fields, not insert or we break ABI.
7662 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7664 * win32/common/libgstbase.def:
7665 * win32/common/libgstreamer.def:
7666 Update, add recently added functions.
7668 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7670 * docs/gst/gstreamer-sections.txt:
7671 * gst/gstutils.c: (gst_pad_query_peer_position),
7672 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7674 API: add some new utility functions:
7675 - gst_pad_query_peer_position()
7676 - gst_pad_query_peer_duration()
7677 - gst_pad_query_peer_convert()
7679 2006-03-23 Wim Taymans <wim@fluendo.com>
7681 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7682 (gst_base_sink_init), (gst_base_sink_finalize),
7683 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7684 (gst_base_sink_set_property), (gst_base_sink_get_property),
7685 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7686 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7687 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7688 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7689 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7690 (gst_base_sink_preroll_object), (gst_base_sink_event),
7691 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7692 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7693 (gst_base_sink_query), (gst_base_sink_change_state):
7694 Decouple max-lateness and the fact that QoS messages are generated
7695 with a new property (qos).
7696 added API: GstBaseSink::async_play()
7697 Add vmethod so subclasses can be notified of ASYNC playing
7699 Collect timestamp start and stop to report better current
7700 position in EOS/PLAYING/PAUSED/READY/NULL.
7701 Refactor QoS/frame dropping and other measurements.
7702 API: GstBaseSrc::qos
7705 * libs/gst/base/gstbasesink.h:
7706 Added Private struct.
7707 API: gst_base_sink_set_qos_enabled()
7708 API: gst_base_sink_is_qos_enabled()
7710 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7712 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7713 If compiling against GLib-2.8 or newer, try to read the
7714 registry file using GMappedFile first before falling back
7715 to fopen() + fread() (#332151).
7717 2006-03-22 Wim Taymans <wim@fluendo.com>
7719 * gst/gstinfo.c: (gst_debug_set_active),
7720 (gst_debug_category_set_threshold):
7721 Disable debugging unless explicitly activated.
7724 2006-03-22 Wim Taymans <wim@fluendo.com>
7726 * gst/gstelement.c: (gst_element_set_locked_state),
7727 (gst_element_dispose):
7728 Cleanup the error case.
7730 * gst/gstobject.c: (gst_object_dispose):
7731 print a critical when some object was disposed with
7732 a parent, also revive the object since it might
7735 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
7737 * tools/gst-launch.1.in:
7740 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7743 * tests/check/Makefile.am:
7744 disable some tests when we don't have a registry
7745 * tests/check/gst/gstutils.c: (gst_utils_suite):
7746 don't build the part that needs parsing
7748 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7751 * tests/examples/Makefile.am:
7752 fix --disable-parse build
7754 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7756 * tools/gst-feedback.1.in:
7757 Fix typo: s/feeback/feedback/ (#133494).
7759 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7761 * tools/Makefile.am:
7762 * tools/gst-launch.1.in:
7763 Add FILES section and correct entry about GST_REGISTRY_PATH
7764 environment variable (#133495; #133494).
7766 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7768 * tools/Makefile.am:
7769 * tools/gst-md5sum.1.in:
7770 * tools/gst-md5sum.c:
7771 Remove gst-md5sum and man page (the md5sink element
7772 required was removed ages ago)
7774 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7776 * gst/gststructure.c: (gst_structure_id_set_value):
7777 Make sure that string fields in structures/taglists
7778 contain valid UTF-8 - we don't want to pass rubbish to
7779 applications because of a buggy plugin (cp. #334167).
7781 2006-03-21 Edward Hervey <edward@fluendo.com>
7783 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7784 (gst_bin_handle_message_func):
7785 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7786 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7787 (gst_element_set_bus_func):
7788 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7789 * gst/gstminiobject.c: (gst_value_set_mini_object),
7790 (gst_value_take_mini_object):
7791 * gst/gstpad.c: (gst_pad_set_pad_template):
7792 * gst/gstpipeline.c: (gst_pipeline_dispose),
7793 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7794 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7795 (gst_collect_pads_chain):
7796 * libs/gst/net/gstnettimeprovider.c:
7797 (gst_net_time_provider_set_property):
7798 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7799 It's in fact all issues with gst_*object_replace().
7801 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7803 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
7805 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7806 * pkgconfig/gstreamer-check.pc.in:
7807 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7809 2006-03-21 Edward Hervey <edward@fluendo.com>
7814 gst_[buffer|event|message]_ref() macros are replaced by a static
7815 inline functions because gcc-4.1 will about if the return value
7817 * tests/check/gst/gstevent.c: (event_probe):
7818 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7820 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
7823 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7824 the type' case. (Closes: #335195 for now). In the future, when we
7825 depend on GLib 2.10, we could also intern the type name using
7826 g_intern_static_string()
7828 2006-03-20 Wim Taymans <wim@fluendo.com>
7830 * gst/gstbin.c: (gst_bin_handle_message_func),
7831 (bin_query_max_init), (bin_query_position_fold),
7832 (bin_query_position_done), (gst_bin_query):
7833 Position query should also take max of all streams.
7835 2006-03-20 Wim Taymans <wim@fluendo.com>
7837 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7838 (gst_fake_src_finalize):
7839 Fix leaks in fakesrc.
7841 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7842 Fix leaks in the testcase.
7844 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
7846 * gst/gst_private.h:
7847 add win32 specific import decoration(__declspec(dllimport))
7848 for all extern GstDebugCategory * variables
7849 * win32/common/libgstbase.def:
7850 * win32/common/libgstcontroller.def:
7851 * win32/common/libgstreamer.def:
7852 Add some exports, remove empty lines
7853 * win32/common/libgstdataprotocol.def:
7854 * win32/common/libgstdataprotocol.dsp:
7855 * win32/common/libgstnet.def:
7856 * win32/common/libgstnet.dsp:
7857 new project files and exportation files added
7859 2006-03-19 Wim Taymans <wim@fluendo.com>
7861 * tests/check/libs/basesrc.c: (eos_event_counter):
7862 Use proper return value for probe.
7864 2006-03-17 Wim Taymans <wim@fluendo.com>
7866 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7868 Don't leak buffers, caps and pads on negotiation errors.
7870 2006-03-16 Stefan Kost <ensonic@users.sf.net>
7873 * docs/faq/dependencies.xml:
7874 * docs/faq/developing.xml:
7876 * docs/faq/general.xml:
7877 * docs/faq/getting.xml:
7878 * docs/faq/legal.xml:
7879 * docs/faq/troubleshooting.xml:
7880 * docs/faq/using.xml:
7881 Faq review and update.
7883 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
7885 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7887 Don't pound the cpu to pieces by checking get_caps when accept_caps
7888 is called with the same caps as the pad already has.
7889 Use GST_DEBUG_OBJECT when outputting caps change information.
7891 2006-03-15 Wim Taymans <wim@fluendo.com>
7893 * gst/gstclock.c: (gst_clock_class_init):
7896 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
7901 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7902 (gst_pad_accept_caps), (gst_pad_configure_sink),
7903 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7904 Make the default acceptcaps behaviour be to check the requested
7905 caps against the gst_pad_get_caps output.
7907 Ensure that gst_pad_accept_caps is used to check caps when a pad
7908 doesn't have a setcaps function, so that pads automatically refuse
7909 caps that they don't allow in their pad template. (Fixes #332986)
7911 When a buffer with attached caps is pushed, ensure that the source
7912 pad receives those caps even if the element didn't call
7913 gst_pad_set_caps first.
7915 2006-03-15 Wim Taymans <wim@fluendo.com>
7917 * libs/gst/base/gstadapter.c:
7920 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
7922 * win32/common/libgstbase.def:
7923 * win32/common/libgstcontroller.def:
7924 * win32/common/libgstreamer.def:
7925 Add a whole bunch of missing functions (#334434).
7927 2006-03-14 Wim Taymans <wim@fluendo.com>
7929 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7930 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7931 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7932 Better debug info when we receive a segment event.
7933 Reorganize a bit so we can pass the get_times() results around.
7934 Use the segment format when calculating the running time.
7935 Don't do QoS is sync is disabled or we have no clock or the
7936 element does not want us to sync to the clock.
7937 Don't drop buffers if QoS is disabled for now.
7939 2006-03-14 Wim Taymans <wim@fluendo.com>
7941 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7942 Marked the stats property as unimplemented so people don't get
7944 Add debug message when regression goes wrong.
7945 Added some more docs.
7947 2006-03-14 Wim Taymans <wim@fluendo.com>
7949 * gst/gstsegment.c: (gst_segment_to_stream_time):
7950 Return correct return type in case of errors.
7952 2006-03-14 Wim Taymans <wim@fluendo.com>
7954 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7955 Don't segfault on invalid formats.
7957 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7959 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7960 Can't use gst_segment_to_running_time() when the segment
7961 is not in GST_TIME_FORMAT (like with filesink, for example).
7962 Stops flac encoding pipelines from spewing critical warnings
7965 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7967 * gst/gstpipeline.c: (gst_pipeline_class_init):
7968 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7970 * plugins/elements/gsttypefindelement.c:
7971 (gst_type_find_element_handle_event):
7972 Don't try to typefind empty streams.
7974 2006-03-14 Wim Taymans <wim@fluendo.com>
7976 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7977 (gst_base_sink_do_qos):
7978 Separate QoS calculation.
7979 Only drop buffers when lateness is bigger than the
7980 duration of the buffer.
7982 2006-03-13 Wim Taymans <wim@fluendo.com>
7984 * gst/gstpipeline.c: (gst_pipeline_set_property),
7985 (gst_pipeline_get_property), (do_pipeline_seek),
7986 (gst_pipeline_change_state), (gst_pipeline_set_delay),
7987 (gst_pipeline_get_delay):
7988 Don't deadlock when reading properties.
7990 2006-03-13 Wim Taymans <wim@fluendo.com>
7992 * libs/gst/base/gstbasetransform.c:
7993 (gst_base_transform_class_init), (gst_base_transform_init),
7994 (gst_base_transform_sink_event),
7995 (gst_base_transform_sink_eventfunc),
7996 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7997 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7998 (gst_base_transform_set_property),
7999 (gst_base_transform_get_property),
8000 (gst_base_transform_change_state), (gst_base_transform_update_qos),
8001 (gst_base_transform_set_qos_enabled),
8002 (gst_base_transform_is_qos_enabled):
8003 * libs/gst/base/gstbasetransform.h:
8004 Make basetransform virtual method for src events too.
8005 Handle QOS in basetransform.
8006 API: gst_base_transform_update_qos()
8007 API: gst_base_transform_set_qos_enabled()
8008 API: gst_base_transform_is_qos_enabled()
8010 2006-03-13 Wim Taymans <wim@fluendo.com>
8012 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8013 (gst_base_sink_do_sync):
8015 Use QOS debug category.
8017 2006-03-13 Wim Taymans <wim@fluendo.com>
8019 * plugins/elements/gstqueue.c:
8020 Very small doc update.
8022 2006-03-13 Wim Taymans <wim@fluendo.com>
8024 * gst/gst_private.h:
8025 * gst/gstinfo.c: (_gst_debug_init):
8026 Added QOS debug category
8028 2006-03-13 Wim Taymans <wim@fluendo.com>
8030 * docs/gst/gstreamer-sections.txt:
8031 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
8033 * gst/gstbus.c: (gst_bus_class_init):
8036 * gst/gstelement.c: (gst_element_set_locked_state):
8038 Documentation updates.
8040 * gst/gstpipeline.c: (gst_pipeline_get_type),
8041 (gst_pipeline_class_init), (gst_pipeline_init),
8042 (gst_pipeline_dispose), (gst_pipeline_set_property),
8043 (gst_pipeline_get_property), (do_pipeline_seek),
8044 (gst_pipeline_send_event), (gst_pipeline_change_state),
8045 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
8046 (gst_pipeline_get_delay):
8047 * gst/gstpipeline.h:
8048 Added methods for setting the delay.
8049 API: gst_pipeline_set_delay()
8050 API: gst_pipeline_get_delay()
8051 Add pipeline debug category
8054 Don't reset stream time when seek failed.
8056 2006-03-13 Wim Taymans <wim@fluendo.com>
8058 * docs/design/draft-klass.txt:
8059 * docs/design/part-clocks.txt:
8060 * docs/design/part-events.txt:
8061 * docs/design/part-gstbin.txt:
8062 * docs/design/part-gstpipeline.txt:
8063 * docs/design/part-messages.txt:
8064 * docs/design/part-negotiation.txt:
8065 * docs/design/part-overview.txt:
8066 * docs/design/part-preroll.txt:
8067 * docs/design/part-seeking.txt:
8068 * docs/design/part-states.txt:
8069 * docs/design/part-streams.txt:
8070 Documentation updates.
8072 2006-03-12 Julien MOUTTE <julien@moutte.net>
8074 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
8075 us to leak strings...
8077 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
8079 * libs/gst/net/gstnettimeprovider.c:
8081 * win32/common/config.h:
8084 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
8086 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
8089 Don't check for libgnomeui (leftover from old examples
8090 that aren't built or disted any longer) (#334303).
8092 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
8094 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
8095 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8096 Emit RESOURCE_NO_SPACE_LEFT error here as well when
8097 there's no space left on the device.
8099 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
8102 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
8103 to cast the input to GstClockTime before comparing with
8104 another GstClockTime value.
8106 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
8111 === release 0.10.4 ===
8113 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
8116 releasing 0.10.4, "Light"
8118 2006-03-10 Michael Smith <msmith@fluendo.com>
8120 * libs/gst/dataprotocol/dataprotocol.c:
8121 Fix docs for dataprocotol to not get the return types completely
8122 wrong for a few functions.
8124 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
8126 * docs/gst/gstreamer-sections.txt:
8127 * gst/gstpipeline.c: (gst_pipeline_class_init),
8128 (gst_pipeline_init), (gst_pipeline_set_property),
8129 (gst_pipeline_get_property), (gst_pipeline_change_state),
8130 (gst_pipeline_set_auto_flush_bus),
8131 (gst_pipeline_get_auto_flush_bus):
8132 * gst/gstpipeline.h:
8133 Add new API: gst_pipeline_set_auto_flush_bus() and
8134 gst_pipeline_get_auto_flush_bus() to disable automatic
8135 flushing of the pipeline's GstBus when going from READY
8136 to NULL state (#332045).
8138 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
8140 * docs/gst/gstreamer-sections.txt:
8141 * gst/gsturi.c: (gst_uri_has_protocol):
8143 Add new API: gst_uri_has_protocol() (#333779).
8145 2006-03-09 Wim Taymans <wim@fluendo.com>
8147 * gst/gstclock.c: (gst_clock_entry_new),
8148 (gst_clock_id_compare_func), (gst_clock_id_wait),
8149 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
8150 (gst_clock_init), (gst_clock_get_internal_time),
8151 (gst_clock_set_master), (do_linear_regression),
8152 (gst_clock_add_observation), (gst_clock_set_property):
8156 Fix a possible segfault when the window-size is made smaller.
8157 Calculate jitter before performing the clock wait. Ideally
8158 the clock implementation should calculate jitter but we need
8159 API breakage for that.
8161 * gst/gstsystemclock.c: (gst_system_clock_init):
8164 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8165 Remove leftover else
8167 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
8168 (gst_systemclock_suite):
8169 Added check to test GST_CLOCK_DIFF.
8171 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
8173 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
8174 (gst_type_find_helper_get_range):
8175 If we are provided with the size, we should implement
8176 GstTypeFind::get_length, so that typefind functions who
8177 want to can actually peek at the middle of a file.
8179 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
8181 * docs/manual/advanced-dataaccess.xml:
8182 Add some very very basic error checking.
8184 * docs/pwg/appendix-checklist.xml:
8185 Some updates to the list of things to check when writing an element.
8187 2006-03-08 Wim Taymans <wim@fluendo.com>
8189 * docs/design/part-element-transform.txt:
8190 Added some docs about the design of tranform elements.
8192 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8193 (gst_base_src_loop), (gst_base_src_change_state):
8194 Mark buffers with the DISCONT flag.
8196 2006-03-08 Michael Smith <msmith@fluendo.com>
8198 * gst/gstregistry.h:
8199 * gst/gstregistryxml.c: (gst_registry_save),
8200 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
8201 (gst_registry_xml_save_pad_template),
8202 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
8203 (gst_registry_xml_write_cache):
8204 Rewrite registry-saving to avoid race conditions and check for
8207 2006-03-08 Wim Taymans <wim@fluendo.com>
8209 * libs/gst/base/gstbasetransform.c:
8210 (gst_base_transform_transform_caps),
8211 (gst_base_transform_transform_size),
8212 (gst_base_transform_prepare_output_buffer),
8213 (gst_base_transform_get_unit_size),
8214 (gst_base_transform_buffer_alloc),
8215 (gst_base_transform_handle_buffer),
8216 (gst_base_transform_change_state):
8217 Cleanups, separate normal flow from errors, add sensible
8219 Don't try to renegotiate when allocating an output buffer.
8220 Also copy DISCONT buffer flag when copying a buffer.
8221 Reset the transform after we finish streaming, not during.
8223 2006-03-08 Wim Taymans <wim@fluendo.com>
8225 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8226 Use last buffer timestamp in qos message.
8228 2006-03-07 Wim Taymans <wim@fluendo.com>
8230 Patch by: Christophe Fergeau
8232 * docs/pwg/advanced-tagging.xml:
8233 * docs/pwg/building-pads.xml:
8236 2006-03-07 Wim Taymans <wim@fluendo.com>
8238 * docs/libs/gstreamer-libs-sections.txt:
8239 Added basesink new methods.
8243 Docs updates. Flesh out the QoS docs.
8245 * libs/gst/base/gstadapter.c:
8246 Small doc clarification about ownership and flushing.
8248 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
8249 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
8250 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
8251 (gst_base_sink_get_property), (gst_base_sink_do_sync):
8252 * libs/gst/base/gstbasesink.h:
8254 Added new methods to allow subclass to control max-lateness
8256 Generate very basic QoS events based on last sync observation.
8257 Updated docs, fix typo, added some QoS blurb.
8259 * libs/gst/base/gstbasesrc.c:
8260 Remove obsolete _get_state() calls from docs.
8262 2006-03-07 Wim Taymans <wim@fluendo.com>
8264 * docs/libs/gstreamer-libs-sections.txt:
8265 * libs/gst/base/gstbasetransform.h:
8266 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
8267 Fix docs for GstBaseSrc.
8269 2006-03-07 Wim Taymans <wim@fluendo.com>
8271 * docs/gst/gstreamer-sections.txt:
8274 * libs/gst/base/gstbasetransform.h:
8275 Small documentation fixes.
8277 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
8280 Document thread-unsafety of gst_value_register_foo_func()
8281 when used at the same time as gst_value_foo() (#322628).
8283 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
8285 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
8286 (gst_push_src_check_get_range):
8287 Push sources don't support pull mode by default.
8289 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
8291 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8292 (gst_base_src_init), (gst_base_src_pad_check_get_range),
8293 (gst_base_src_default_check_get_range):
8294 * libs/gst/base/gstbasesrc.h:
8295 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
8296 provide default implementation, and rename
8297 gst_base_src_check_get_range() to
8298 gst_base_src_pad_check_get_range() for clarity.
8300 2006-03-06 Wim Taymans <wim@fluendo.com>
8302 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8303 Make property overridable.
8305 2006-03-06 Wim Taymans <wim@fluendo.com>
8307 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8308 (gst_base_sink_init), (gst_base_sink_set_property),
8309 (gst_base_sink_get_property), (gst_base_sink_do_sync):
8310 * libs/gst/base/gstbasesink.h:
8311 API addition: Make max-lateness a property.
8313 2006-03-06 Wim Taymans <wim@fluendo.com>
8315 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
8316 (gst_base_sink_do_sync), (gst_base_sink_render_object):
8317 Don't ever draw a frame that is >10ms late.
8319 2006-03-06 Michael Smith <msmith@fluendo.com>
8321 * gst/gstmessage.c: (_gst_message_copy):
8322 When copying a message, set the parent_refcount of the enclosed
8323 structure to point at the copy, not the original message.
8325 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
8327 Patch by: Christophe Fergeau
8330 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
8331 usable in c++ code (#333417)
8333 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
8336 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
8338 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
8340 * libs/gst/base/gstbasetransform.c:
8341 (gst_base_transform_transform_caps):
8342 Make sure caps are writable before passing them to
8345 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
8348 Fix some minor docs errors.
8350 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
8352 Patch by: Ross Burton <ross at burtonini dot com>
8354 * gst/gsterror.c: (_gst_resource_errors_init):
8356 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
8358 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
8361 Add a check and output a g_warning when GStreamer is built
8362 against GLib 2.6 but running against 2.8 or higher, and vice
8363 versa. (Closes: #323542)
8365 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
8367 * gst/parse/parse.l:
8368 Commit patch for parse_launch syntax from #331255. Removes
8369 support for quoted strings and mimetypes when writing filtered
8370 caps. See the bug report for more details - I'm pretty sure this
8371 obscure feature is not in use by _anyone_ anywhere.
8373 With this simple change, the size of the gstreamer.so here
8374 drops from 2193KB to 1565KB.
8376 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8378 * plugins/elements/gsttypefindelement.h:
8379 * plugins/elements/gsttypefindelement.c:
8380 (gst_type_find_element_src_event), (start_typefinding),
8381 (stop_typefinding), (gst_type_find_element_handle_event),
8382 (gst_type_find_element_chain),
8383 (gst_type_find_element_chain_do_typefinding):
8384 Use gst_type_find_helper_for_buffer() for chain-based
8387 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8389 * plugins/elements/gsttypefindelement.c:
8390 (gst_type_find_element_class_init),
8391 (gst_type_find_element_set_property),
8392 (gst_type_find_element_get_property):
8393 Deprecate "maximum" property (not only was it only taken into
8394 account for typefinding in push-mode anyway, it also was never
8395 actually possible to set it in the first place because the
8396 property was registered with the numeric property ID for the
8397 "minimum" property). Register "maximum" property correctly,
8398 for the sake of future copy'n'pasters. Remove some cruft
8399 from property get/set functions.
8401 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8403 * plugins/elements/gsttypefindelement.c:
8404 (gst_type_find_element_activate):
8405 Use gst_type_find_helper_get_range() here, so we
8406 can honour the "minimum" property and also emit
8407 the signal with the correct probability of the found caps.
8409 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
8411 * docs/libs/gstreamer-libs-sections.txt:
8412 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
8413 (helper_find_suggest), (gst_type_find_helper_get_range),
8414 (gst_type_find_helper):
8415 * libs/gst/base/gsttypefindhelper.h:
8416 New API: gst_type_find_helper_get_range() (#333042).
8418 2006-03-02 Michael Smith <msmith@fluendo.com>
8420 * gst/gstregistryxml.c: (load_feature):
8421 Asserting on a failure to read part of the registry is Not Cool.
8422 Just log a warning and return NULL (which is already handled)
8424 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
8426 * win32/common/libgstbase.def:
8427 added export of gst_type_find_helper_for_buffer
8428 * win32/common/libgstbase.def:
8429 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
8430 gst_ghost_pad_get_target
8432 2006-02-28 Wim Taymans <wim@fluendo.com>
8434 * docs/design/draft-klass.txt:
8436 Added Connector to mark elements that are only used to
8437 allow pipeline connections.
8438 Moved Debug to extra feature since most of them are
8439 functionally something else.
8441 2006-02-28 Wim Taymans <wim@fluendo.com>
8443 * docs/design/draft-klass.txt:
8444 Some updates and clarifications.
8446 2006-02-28 Wim Taymans <wim@fluendo.com>
8448 * docs/design/draft-klass.txt:
8449 Proposal for klass field values.
8451 * docs/design/part-streams.txt:
8452 Start of a doc describing stream anatomy.
8454 2006-02-28 Wim Taymans <wim@fluendo.com>
8456 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
8457 Help the compiler a bit with type registration.
8458 Use existing forward cod path instead of duplicating it when
8461 * gst/gstbus.c: (gst_bus_get_type):
8462 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
8463 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
8464 * gst/gstclock.c: (gst_clock_get_type):
8465 * gst/gstelement.c: (gst_element_get_type),
8466 * gst/gstelementfactory.c: (gst_element_factory_get_type):
8467 * gst/gstindexfactory.c: (gst_index_factory_get_type):
8468 * gst/gstminiobject.c: (gst_mini_object_get_type):
8469 * gst/gstpad.c: (gst_pad_get_type):
8470 * gst/gstsegment.c: (gst_segment_get_type):
8471 * gst/gststructure.c: (gst_structure_get_type):
8472 * gst/gstsystemclock.c: (gst_system_clock_get_type):
8473 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
8475 Help compiler with type registration.
8477 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8480 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8482 * plugins/elements/gsttypefindelement.c:
8483 (gst_type_find_element_handle_event):
8484 When we get an EOS event and have not found a type yet
8485 (most likely because we had not yet accumulated
8486 TYPE_FIND_MIN_SIZE of data yet), try to determine the
8487 type given the data we have so far. Fixes typefinding
8488 for very short streams again, most notably quicktime
8489 redirections as used on Apple's trailer site (#331701).
8491 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8493 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
8494 (gst_type_find_helper):
8495 Try typefinding factories with the highest rank first.
8497 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8499 * docs/libs/gstreamer-libs-docs.sgml:
8500 * docs/libs/gstreamer-libs-sections.txt:
8501 * libs/gst/base/gsttypefindhelper.c:
8502 Add section for typefind helper and add documentation
8503 for the old and the new function.
8505 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8507 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
8508 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
8509 (gst_type_find_helper_for_buffer):
8510 * libs/gst/base/gsttypefindhelper.h:
8511 New API: gst_type_find_helper_for_buffer() (#332723).
8513 2006-02-27 Michael Smith <msmith@fluendo.com>
8515 Patch by: Loïc Minier
8519 * docs/slides/Makefile.am:
8520 prevent CVS directories getting disted.
8522 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8524 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
8525 Use the REFCOUNTING category for caps refcounting.
8527 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
8529 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
8530 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
8532 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
8534 * plugins/elements/gsttypefindelement.c:
8535 (gst_type_find_element_activate):
8536 Use gst_pad_check_pull_range() before _activate_pull()
8537 to avoid unnecessary open/close (see #331690).
8539 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
8542 Docs enhancement: make it crystal clear what the
8543 gst_pad_add_*_probe() callbacks should look like.
8545 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
8547 * libs/gst/base/gstbasesrc.c:
8548 Document how applications can stop recording from
8549 live sources (see #330996).
8551 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8553 * tests/check/Makefile.am:
8554 * tests/check/libs/basesrc.c: (eos_event_counter),
8555 (basesrc_eos_events_pull), (basesrc_eos_events_push),
8556 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
8557 (gst_basesrc_suite), (main):
8558 ... and add some tests for the base source EOS stuff.
8560 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8562 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
8563 Test case originally showed the problem fixed below,
8564 but was then amended. Add checks back at the place
8565 where they used to be.
8567 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8569 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8570 (gst_base_src_init), (gst_base_src_loop),
8571 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8572 (gst_base_src_change_state):
8573 * libs/gst/base/gstbasesrc.h:
8574 Don't unconditionally send EOS when going from PAUSED to
8575 READY state, esp. make sure we don't send two EOS events
8576 in some cases (e.g. one when reaching EOS and one when
8577 going from PAUSED to READY). Also, we don't want to send
8578 EOS events when operating in pull mode. However, we do
8579 want to send an EOS event when shutting down a live
8580 source explicitly, for example (fixes #330996).
8582 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8584 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8585 Update src->read_position after a seek when not using mmap.
8586 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
8588 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
8594 Make things work with --disable-parse as they do with
8595 --disable-load-save - the symbols involved disappear, but the
8596 header is still installed and GST_DISABLE_PARSE is included via
8599 2006-02-20 Julien MOUTTE <julien@moutte.net>
8601 * libs/gst/base/gstbasetransform.c:
8602 (gst_base_transform_change_state): Fix a stupid bug. I was
8603 sure I compiled that.
8605 2006-02-20 Julien MOUTTE <julien@moutte.net>
8607 * gst/gstpad.c: (gst_pad_set_blocked_async):
8608 * gst/gstutils.c: (gst_pad_add_data_probe),
8609 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8610 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8611 (gst_pad_remove_buffer_probe): Make those function act on the
8612 ghostpad target when it's a ghostpad. (Closes #331727)
8614 2006-02-20 Julien MOUTTE <julien@moutte.net>
8616 * libs/gst/base/gstbasetransform.c:
8617 (gst_base_transform_change_state): Make basetransform reusable.
8620 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
8622 * docs/random/release:
8623 Move the current documentation of how to do a release to the top
8626 * gst/gstbin.c: (gst_bin_class_init),
8627 (gst_bin_handle_message_func):
8628 Allow multiple state-recalculation threads. (Closes #328873)
8630 2006-02-19 Julien MOUTTE <julien@moutte.net>
8632 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
8633 * gst/gstpad.c: (gst_pad_set_event_function),
8634 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8635 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
8636 2 strings. You can't use the STR_NULL macro on that.
8638 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
8640 * gst/gstpad.c: (gst_pad_set_event_function),
8641 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8642 (gst_pad_set_getcaps_function)
8643 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8644 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8645 So now, we can use --gst-debug-level=5 on Windows
8646 * win32/common/libgstcontroller.def:
8647 Added export of gst_controller_init
8648 * win32/vs6/libgstcontroller.dsp:
8649 Fixed Release post build configuration
8651 2006-02-17 Wim Taymans <wim@fluendo.com>
8653 * tests/check/gst/gstquery.c: (GST_START_TEST):
8654 Added another check.
8656 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
8658 * plugins/elements/gsttypefindelement.c: (find_peek):
8659 We can do peeks at non-zero offsets, as long as they
8660 fall within the buffer we have.
8662 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
8664 * tests/check/Makefile.am:
8665 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8666 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8667 (parse_suite), (main):
8668 Add testsuite for parse launch syntax
8670 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
8672 * plugins/elements/gsttypefindelement.c:
8673 (gst_type_find_element_chain):
8674 When typefinding is unsuccessful in the chain function, don't
8675 error out immediately. Only error out with NO_CAPS_FOUND if
8676 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8677 otherwise simply wait for more data so we can try typefinding
8678 again with more data later. Also, don't attempt to typefind
8679 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8680 this should improve typefinding from network sources where the
8681 size of the first buffer can be somewhat random.
8683 2006-02-14 Wim Taymans <wim@fluendo.com>
8685 * docs/gst/gstreamer-sections.txt:
8686 * gst/gstpadtemplate.c:
8687 * gst/gstpadtemplate.h:
8688 Fix padtemplate docs, fixes #328805.
8690 2006-02-14 Wim Taymans <wim@fluendo.com>
8692 * tools/gst-launch.c: (main):
8693 NO_PREROLL is not an ERROR so don't send confusing messages
8696 2006-02-14 Wim Taymans <wim@fluendo.com>
8698 Patch by: Torsten Schoenfeld
8700 * gst/gstregistry.c: (gst_registry_get_default),
8701 (_gst_registry_cleanup):
8702 Protect default registry with lock and ref/sink it.
8705 2006-02-14 Wim Taymans <wim@fluendo.com>
8708 * gst/gstquery.c: (gst_query_list_add_format),
8709 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8710 (gst_query_parse_formats_nth):
8711 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8714 2006-02-14 Wim Taymans <wim@fluendo.com>
8716 * docs/gst/gstreamer-sections.txt:
8717 Reworked query docs.
8719 * gst/gstquery.c: (gst_query_new_formats),
8720 (gst_query_list_add_format), (gst_query_set_formats),
8721 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8722 (gst_query_parse_formats_nth):
8724 Flesh out formats query, added some new methods.
8725 Fix part of #324398.
8727 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8728 Added query creation tests.
8730 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
8732 * gst/gstpad.c: (fixate_value):
8733 Add a default fixation for fraction lists.
8735 2006-02-13 Wim Taymans <wim@fluendo.com>
8737 * gst/gsttask.c: (gst_task_init), (gst_task_func),
8738 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8741 Detect and warn for obvious deadlocks. fixes #320340
8742 Fix error case where lock was not released.
8744 * tests/check/Makefile.am:
8745 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8746 (task_func), (gst_element_suite), (main):
8749 2006-02-13 Wim Taymans <wim@fluendo.com>
8751 * docs/gst/gstreamer-sections.txt:
8753 Add new functions to docs.
8755 2006-02-13 Wim Taymans <wim@fluendo.com>
8757 * docs/design/part-TODO.txt:
8758 Updated TODO list, basesrc supports seeking to non-bytes
8761 * docs/design/part-element-sink.txt:
8764 * gst/gstbin.c: (bin_replace_message),
8765 (gst_bin_handle_message_func):
8766 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8767 * gst/gstevent.c: (gst_event_finalize):
8768 * gst/gstpad.c: (gst_pad_event_default_dispatch),
8769 (gst_pad_send_event):
8770 Use shiny new _TYPE_NAME macros.
8772 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8773 Move debug statement up.
8775 * gst/gstelement.c: (gst_element_set_locked_state):
8778 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
8780 * docs/gst/gstreamer-sections.txt:
8783 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8784 macros (#330906). Also, document the already existing
8785 GST_QUERY_TYPE macro.
8787 2006-02-13 Wim Taymans <wim@fluendo.com>
8789 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8790 (event_probe), (GST_START_TEST):
8791 Only events up to the pipeline EOS are counted, there are
8792 some more when going to NULL currently which we don't care
8795 2006-02-13 Wim Taymans <wim@fluendo.com>
8797 * gst/gstpad.c: (gst_pad_send_event):
8798 Correctly check flushing and emit probes. fixes #330125
8800 2006-02-10 Andy Wingo <wingo@pobox.com>
8802 * gst/gstbus.c (gst_bus_class_init): Declare our private data
8804 (gst_bus_init): Cache the location of the private data in the
8806 (gst_bus_enable_sync_message_emission)
8807 (gst_bus_disable_sync_message_emission): Implement new public
8809 (gst_bus_post): Emit the sync-message signal if the user asked for
8812 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8813 location of the bus-private structure.
8814 (gst_bus_enable_sync_message_emission)
8815 (gst_bus_disable_sync_message_emission): API addition
8817 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
8819 Patch by: Vincent Torri
8821 * docs/pwg/building-boiler.xml:
8822 PWG patch from #326800
8824 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
8828 * docs/design/Makefile.am:
8831 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8836 === release 0.10.3 ===
8838 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8841 releasing 0.10.3, "Like a virgin"
8843 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8846 2nd prerelease of 0.10.3
8847 Bump libtool versioning.
8849 2006-02-07 Andy Wingo <wingo@pobox.com>
8851 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8852 update last_stop if we're in TIME format and the timestamp is
8855 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
8856 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
8857 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8858 If we get a new newsegment with a different format, adapt
8861 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8862 of 0. Not a problem, really.
8864 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8867 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
8872 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
8875 project files updated to the default vs7 configuration
8876 * win32/common/libgstbase.def:
8877 * win32/common/libgstreamer.def:
8879 removed empty lines,
8880 sorted all exported symbols alphabetically
8881 * win32/common/dirent.c:
8882 * win32/common/dirent.h:
8883 * win32/common/gchar.h:
8884 use windows line end.
8886 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8888 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8889 Send EOS event when stopping.
8891 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8894 Tell folks what to do if the plugin-foobar.xml file
8895 hasn't been generated for a newly-added plugin.
8897 2006-02-05 Julien MOUTTE <julien@moutte.net>
8899 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8900 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8901 (gst_collect_pads_start), (gst_collect_pads_stop),
8902 (gst_collect_pads_event): Collectpads now holds a reference
8903 to the GstPad that was added. Indeed we don't want to look
8904 at pads that might just go away with no warning...
8906 2006-02-05 Julien MOUTTE <julien@moutte.net>
8908 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8909 (gst_collect_pads_start), (gst_collect_pads_stop),
8910 (gst_collect_pads_event), (gst_collect_pads_chain):
8911 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8912 Mark Nauwelaerts's patch on bug #328491.
8914 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8916 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8918 Add some simple tests for gst_parse_bin_from_description() and
8919 gst_bin_find_unconnected_pad() (#329069).
8921 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8923 * tools/gst-launch.c: (event_loop), (main):
8924 Catch errors during preroll (#320084).
8926 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
8928 * plugins/elements/gsttypefindelement.c:
8929 (gst_type_find_element_activate):
8930 Post TYPE_NOT_FOUND error message when typefinding
8931 is unsuccessful in the activate function as well.
8933 2006-02-02 Wim Taymans <wim@fluendo.com>
8935 * docs/design/part-element-sink.txt:
8938 2006-02-02 Wim Taymans <wim@fluendo.com>
8940 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8941 (gst_base_sink_render_object),
8942 (gst_base_sink_queue_object_unlocked):
8943 Only keep track of prerollable items when we are
8945 Before rendering after preroll, always check if we
8947 Added some more debugging.
8949 2006-02-02 Wim Taymans <wim@fluendo.com>
8951 * gst/gstelement.c: (gst_element_continue_state),
8952 (gst_element_set_state_func), (gst_element_change_state):
8953 Fixed #326576, been running this for quite some time with
8954 no regressions at all.
8956 2006-02-02 Wim Taymans <wim@fluendo.com>
8959 Added more suppressions
8961 2006-02-02 Wim Taymans <wim@fluendo.com>
8963 * docs/design/part-element-sink.txt:
8966 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8967 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8968 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8969 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8970 (gst_base_sink_do_sync), (gst_base_sink_render_object),
8971 (gst_base_sink_preroll_object),
8972 (gst_base_sink_queue_object_unlocked),
8973 (gst_base_sink_queue_object), (gst_base_sink_event),
8974 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8975 (gst_base_sink_loop), (gst_base_sink_activate_pull),
8976 (gst_base_sink_get_position), (gst_base_sink_change_state):
8977 * libs/gst/base/gstbasesink.h:
8978 Totally refactored matching the design doc.
8979 Use two segments, one to clip incomming buffers and another to
8981 Handle queueing correctly, bypass the queue when playing.
8982 Make EOS cancelable.
8983 Handle errors correctly when operating in pull based mode.
8985 * tests/check/elements/fakesink.c: (GST_START_TEST),
8987 Added new check for sinks.
8989 2006-02-02 Wim Taymans <wim@fluendo.com>
8991 * gst/gstsegment.c: (gst_segment_clip):
8992 No reason to refuse to clip when start == -1
8994 2006-02-02 Stefan Kost <ensonic@users.sf.net>
8997 * docs/manual/intro-basics.xml:
8998 * docs/manual/intro-preface.xml:
8999 * docs/manual/manual.xml:
9000 * docs/pwg/advanced-dparams.xml:
9001 * docs/pwg/intro-basics.xml:
9002 * docs/pwg/intro-preface.xml:
9004 describe dparams (controller) for plugins
9005 unify docs a little more
9007 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
9009 * docs/gst/gstreamer-sections.txt:
9010 * gst/gstutils.c: (element_find_unconnected_pad),
9011 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
9013 Add new API: gst_parse_bin_from_description() and
9014 gst_bin_find_unconnected_pad() (#329069).
9016 2006-02-01 Stefan Kost <ensonic@users.sf.net>
9018 * docs/manual/README:
9019 uncover a nasty detail of the docs build
9021 2006-01-31 Wim Taymans <wim@fluendo.com>
9023 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
9024 Don't cache duration messages if we're not going to use or
9027 2006-01-31 Stefan Kost <ensonic@users.sf.net>
9029 * docs/manual/advanced-dparams.xml:
9030 * docs/pwg/advanced-dparams.xml:
9034 * libs/gst/controller/lib.c: (gst_controller_init):
9037 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
9039 * gst/gstelement.c: (gst_element_message_full):
9040 also show file/line/func if no additional debug was given
9042 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
9044 * win32/vs7/grammar.vcproj:
9045 activate copy of autogenerated files for Release mode
9047 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
9049 * win32/common/libgstreamer.def:
9050 export gst_value_compare
9052 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
9054 * plugins/elements/Makefile.am:
9055 * plugins/elements/gstelements.c:
9056 * plugins/elements/gstfdsink.c: (_do_init),
9057 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
9058 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
9059 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
9060 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
9061 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
9062 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
9063 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
9064 * plugins/elements/gstfdsink.h:
9065 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
9067 2006-01-30 Stefan Kost <ensonic@users.sf.net>
9069 * docs/manual/advanced-dparams.xml:
9071 * docs/manual/advanced-position.xml:
9072 * docs/manual/basics-init.xml:
9073 * docs/manual/manual.xml:
9074 * docs/manual/titlepage.xml:
9076 * docs/pwg/titlepage.xml:
9077 cleanup xml (more to come)
9078 * libs/gst/controller/gstcontroller.c:
9081 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
9083 * win32/vs6/grammar.dsp:
9084 add autogen of gstmarshal.c,h for Release mode
9086 2006-01-30 Wim Taymans <wim@fluendo.com>
9088 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9089 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
9090 (gst_base_sink_handle_object), (gst_base_sink_event),
9091 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
9092 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9093 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
9094 (gst_base_sink_deactivate), (gst_base_sink_activate),
9095 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
9096 (gst_base_sink_query), (gst_base_sink_change_state):
9097 Basesink cleanups, remove some old code.
9098 Handle the case where a subclass can preroll in the render
9099 method (mostly audiosinks).
9101 Remove some locks around variables that are now protected
9102 with the PREROLL_LOCK (clock_id, flushing, ..).
9103 Optimize position query some more, do correct locking.
9104 Remove old code to push queue in state change, this is not
9105 needed anymore since preroll blocks on all prerollable items
9107 Almost implemented as described in design doc.
9109 2006-01-30 Wim Taymans <wim@fluendo.com>
9111 * tests/check/gst/gstbin.c: (GST_START_TEST):
9112 Wait for refcount to settle down before checking.
9114 2006-01-30 Wim Taymans <wim@fluendo.com>
9116 * docs/design/part-element-sink.txt:
9117 Pseudo code overview of desired sink behaviour regarding
9120 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
9121 * win32/vs6/grammar.dsp:
9122 fix some bugs in Release mode for autogenerated files
9124 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
9125 * win32/common/libgstbase.def:
9126 * win32/common/libgstreamer.def:
9127 export some new symbols: gst_base_src_set_format,
9128 gst_iterator_next, gst_structure_set_valist
9130 2006-01-29 Julien MOUTTE <julien@moutte.net>
9132 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
9133 Set pad functions unconditionally. Fixes #329105.
9135 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
9137 add vs8 project files created by Sergey Scobich
9139 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
9141 * gst/gstutils.c: (gst_element_unlink_pads):
9142 Don't leak pad references.
9144 * tests/check/elements/fakesink.c: (GST_START_TEST):
9145 * tests/check/generic/sinks.c: (GST_START_TEST):
9146 * tests/check/generic/states.c: (GST_START_TEST):
9147 * tests/check/gst/gstbin.c: (GST_START_TEST):
9148 * tests/check/gst/gstcaps.c: (GST_START_TEST):
9149 * tests/check/gst/gstelement.c: (GST_START_TEST):
9150 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9151 * tests/check/gst/gstiterator.c: (GST_START_TEST):
9152 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9153 Fix a bunch of leaks. Make generic/sinks.c
9154 use a bit less cpu by slowing the buffer rate
9155 between fakesrc and fakesink.
9157 2006-01-27 Stefan Kost <ensonic@users.sf.net>
9159 * gst/gstelement.c: (gst_element_send_event):
9162 * gst/gstiterator.c:
9163 * gst/gstiterator.h:
9164 * gst/gstpad.c: (gst_pad_send_event):
9165 * gst/gststructure.c:
9169 * libs/gst/base/gstadapter.c:
9170 doc fixes, to link to function, just write gst_cool_function(), don't
9173 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
9175 * plugins/elements/gsttee.c: (gst_tee_do_push),
9176 (gst_tee_handle_buffer):
9177 Always prefer an actual return value from a src
9178 pad in place of NOT_LINKED. This means we return
9179 WRONG_STATE when all src pads are WRONG_STATE
9180 instead of NOT_LINKED.
9182 Lock when replacing the last message to prevent
9183 racing with the get_property method.
9187 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
9189 * tests/check/Makefile.am:
9190 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
9192 Add a very simple check that should have caught the memleak I fixed
9193 last night (if not for the slice allocator hiding it)
9195 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
9197 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9198 (gst_bin_remove_func), (gst_bin_handle_message_func),
9199 (bin_query_duration_fold), (bin_query_generic_fold):
9200 Clean up references to the clock provider when disposed or when
9201 handling a clock-lost message from it.
9203 Unref sinks when performing a query via gst_iterator_fold, as the
9204 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
9206 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
9207 (gst_clock_set_master):
9208 Drop our reference to the master clock, if any, when we are disposed.
9210 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
9211 Chain up in dispose.
9213 2006-01-26 Wim Taymans <wim@fluendo.com>
9215 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9218 2006-01-26 Julien MOUTTE <julien@moutte.net>
9220 * plugins/elements/gsttee.c: (gst_tee_do_push),
9221 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
9222 handles pad being NOT_LINKED or in WRONG_STATE.
9224 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9229 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9232 remove obsolete entry
9234 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9236 * docs/gst/gstreamer-sections.txt:
9237 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
9238 (gst_bin_iterate_sources), (gst_bin_send_event):
9240 * gst/gstelement.c: (gst_element_send_event):
9242 * gst/gstpad.c: (gst_pad_send_event):
9243 added code for downstream events, reviewed docs in gstevent.c
9245 2006-01-25 Julien MOUTTE <julien@moutte.net>
9247 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9248 We only query position using the clock in the playing state.
9249 Query peer in the other cases.
9250 * win32/common/config.h: Updates.
9252 2006-01-24 Wim Taymans <wim@fluendo.com>
9254 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9255 A clock entry that is scheduled for the exact time of the
9256 clock is still in time.
9258 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9259 (gst_base_sink_do_sync):
9260 Add some more debug info.
9262 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
9265 Add new vs7 project files and solution.
9267 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
9270 all files removed as they were out-dated.
9272 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
9274 * docs/random/release:
9276 * gst/gstbin.c: (gst_bin_init):
9277 * gst/gstbus.c: (gst_bus_new):
9279 * gst/gstpipeline.c: (gst_pipeline_init):
9280 use gst_bus_new(), improve logging, fix docs
9281 * win32/common/config.h:
9282 update for cvs build
9284 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
9287 up required version of automake to 1.7
9289 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
9291 * win32/common/libgstreamer.def:
9292 export gst_buffer_is_metadata_writable
9294 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
9296 * docs/gst/gstreamer-sections.txt:
9298 Add gst_event_replace() (#327001)
9300 2006-01-20 Wim Taymans <wim@fluendo.com>
9302 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9303 Make it actually compile too..
9305 2006-01-20 Wim Taymans <wim@fluendo.com>
9308 Clarify behaviour of _is_equal() when passing NULL parameters.
9310 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9312 Cleanups. Don't unref NULL caps.
9313 When setting the same caps, protect caps of the pad with
9315 Use full functionality of _is_equal() when comparing caps.
9317 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
9319 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9320 Don't loop infinitely if there are no buffers to present. Partially
9321 fixes #327197, but collectpads is just broken for reusing elements
9322 to do multiple encodes atm.
9324 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
9326 * tools/gst-inspect.c: (print_element_features):
9327 * tools/gst-xmlinspect.c: (main):
9328 URL_HANDLER is not a plugin feature we can search for in
9331 2006-01-19 Edward Hervey <edward@fluendo.com>
9333 * gst/gstelement.c: (gst_element_pads_activate):
9334 When activating, do src pads first, then sink pads.
9335 When de-activating, do sink pads first, then src pads.
9337 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9339 * docs/gst/gstreamer-sections.txt:
9340 Add gst_index_add_associationv to the docs
9342 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9347 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
9348 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
9349 Do some refactoring. Doesn't actually change functionality,
9350 but makes landing the DRAIN event easier later.
9352 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
9354 * docs/pwg/advanced-scheduling.xml:
9355 Update from 0.9.x to 0.10 API and make example a bit
9358 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9360 * docs/gst/gstreamer-sections.txt:
9361 Add gst_buffer_(is|make)_metadata_writable methods.
9363 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9365 * docs/design/part-sparsestreams.txt:
9366 Update sparse streams doc, hopefully for greater clarity
9368 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
9370 * docs/design/part-events.txt:
9371 Remove mention of FILLER events.
9374 * docs/design/part-sparsestreams.txt:
9375 Write some things about using NEWSEGMENT to keep sparse streams
9378 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
9380 * gst/gstbin.c: (gst_bin_dispose):
9381 Guard gst_object_unref call against a NULL object (dispose
9382 can theoretically be called multiple times).
9384 2006-01-18 Wim Taymans <wim@fluendo.com>
9386 * gst/gstbin.c: (gst_bin_element_set_state):
9387 * gst/gstclock.c: (gst_clock_id_wait):
9388 Added some more debug info.
9390 * libs/gst/base/gstadapter.c:
9393 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9394 (gst_base_sink_do_sync), (gst_base_sink_chain):
9395 Added some comments.
9397 2006-01-18 Wim Taymans <wim@fluendo.com>
9399 * tests/check/Makefile.am:
9400 * tests/check/elements/fakesink.c: (chain_async_buffer),
9401 (chain_async), (chain_async_return), (GST_START_TEST),
9402 (fakesink_suite), (main):
9403 Added fakesink test that checks prerolling and clipping
9406 * tests/check/gst/gstutils.c: (GST_START_TEST):
9407 Make check run faster so that buildbots don't timeout.
9409 2006-01-18 Wim Taymans <wim@fluendo.com>
9411 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9412 (gst_base_sink_do_sync):
9414 When the sink finishes blocking on the preroll buffer, it can
9415 immediatly render it instead of rendering when the next buffer
9418 2006-01-18 Wim Taymans <wim@fluendo.com>
9420 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
9421 (gst_base_sink_get_property), (gst_base_sink_do_sync),
9422 (gst_base_sink_chain):
9424 GST_ELEMENT_CLOCK and sync are protected with LOCK.
9425 Don't store _last_stop if the buffer is dropped.
9427 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
9429 * plugins/elements/gsttypefindelement.c:
9430 (gst_type_find_element_class_init):
9431 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
9432 object method handler that sets the caps on the pad and we want
9433 that to happen before we emit the signal (fixes e.g. feeding a
9434 plain text file to decodebin).
9436 2006-01-18 Christian Schaller <Christian@fluendo.com>
9438 * gst/gstplugin.c: Add MPL and Proprietary as license options
9440 2006-01-18 Andy Wingo <wingo@pobox.com>
9442 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
9443 symbol was exported before, it appears this was just an oversight.
9445 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
9447 * gst/gstindex.c (gst_index_add_associationv): Changed int in
9448 prototype to gint. OK since this prototype was not in the header.
9450 2006-01-17 Andy Wingo <wingo@pobox.com>
9452 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
9453 registry while we remove plugins.
9455 * tools/gst-inspect.c (print_element_info): Don't unref the
9456 factory arg, that should be the responsibility of whatever code
9457 received the ref. Fixes a double-free when called from
9458 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
9459 (main): Unref the factory if we have one.
9460 (print_element_list): No change -- relies on the
9461 plugin_feature_list_free to free the list of features.
9463 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
9465 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9466 (gst_buffer_make_metadata_writable):
9468 * libs/gst/base/gstbasetransform.c:
9469 (gst_base_transform_prepare_output_buf):
9470 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9471 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9472 Replace gst_buffer_(make|is)_metadata_writable patch now
9473 that the release is out.
9475 2006-01-17 Andy Wingo <wingo@pobox.com>
9477 * gst/gstregistry.c: Reflow design comment. Update so as to speak
9478 in the present tense without reference to versions.
9480 * gst/gstregistry.c (gst_registry_add_plugin)
9481 (gst_registry_remove_plugin, gst_registry_remove_feature)
9482 (gst_registry_find_feature, gst_registry_get_feature_list)
9483 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
9484 (gst_registry_lookup, gst_registry_scan_path)
9485 (_gst_registry_remove_cache_plugins)
9486 (gst_registry_get_feature_list_by_plugin): Add argument
9489 === release 0.10.2 ===
9491 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
9494 releasing 0.10.2, "If man is five"
9496 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9500 * libs/gst/base/gstbasetransform.c:
9501 (gst_base_transform_prepare_output_buf):
9502 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9503 * tests/check/gst/gstbuffer.c: (gst_test_suite):
9504 Back out patch until after the release.
9506 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9508 * gst/gstminiobject.c:
9509 Spelling fix in docs.
9510 * ChangeLog - remove conflict indicator
9512 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9514 Reviewed By: Andy Wingo
9516 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9517 (gst_buffer_make_metadata_writable):
9519 Add gst_buffer_(is|make)_metadata_writable as analogues of
9520 gst_buffer_(is|make)_writable.
9522 * libs/gst/base/gstbasetransform.c:
9523 (gst_base_transform_prepare_output_buf):
9524 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9525 Use name gst_buffer_(is|make)_metadata_writable functions.
9527 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9528 Test gst_buffer_(is|make)_metadata_writable
9532 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
9534 * docs/manual/Makefile.am:
9535 don't do parallel make
9538 * win32/common/config.h.in:
9539 add generations for HOST_CPU and GST_MAJORMINOR
9540 * win32/common/config.h:
9541 commit generated result
9543 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
9545 * docs/manual/appendix-integration.xml:
9546 Update GNOME integration section to use gst_init_get_option_group()
9547 instead of the old popt stuff (#322911). Also, GNOME applications
9548 should now use gconf*sink and gconf*src instead of the old gconf
9551 2006-01-13 Stefan Kost <ensonic@users.sf.net>
9554 * docs/gst/gstreamer-docs.sgml:
9555 * docs/gst/gstreamer-sections.txt:
9556 * docs/libs/gstreamer-libs-sections.txt:
9557 add new API entries to the docs
9558 * libs/gst/controller/Makefile.am:
9559 * libs/gst/controller/gstcontroller.c:
9560 * libs/gst/controller/gstcontroller.h:
9561 * libs/gst/controller/gstcontrollerprivate.h:
9562 * libs/gst/controller/gsthelper.c:
9563 * libs/gst/controller/gstinterpolation.c:
9564 move private structs to private header
9566 gstreamer-0.7 -> gstreamer-0.10
9567 * tests/check/libs/struct_i386.h:
9568 remove private structs
9570 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
9572 * plugins/indexers/Makefile.am:
9573 Fixes as part of #317048
9575 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
9577 * plugins/indexers/Makefile.am:
9578 fix #316086 - compilation when mmap is missing
9580 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
9582 * libs/gst/base/gstbasesink.c:
9583 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
9584 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
9585 * win32/common/config.h:
9586 added some defines GST_MAJORMINOR and HOST_CPU
9587 * win32/common/libgstbase.def:
9588 * win32/common/libgstreamer.def:
9589 added some exported functions.
9591 2006-01-12 Stefan Kost <ensonic@users.sf.net>
9593 * libs/gst/controller/gstcontroller.c:
9594 (gst_controlled_property_set_interpolation_mode),
9595 (gst_controlled_property_new):
9596 * libs/gst/controller/gstcontroller.h:
9597 * libs/gst/controller/gstinterpolation.c:
9598 (interpolate_none_get_string_value_array):
9599 make G_TYPE_STRING controlable
9601 2006-01-12 Stefan Kost <ensonic@users.sf.net>
9604 * tools/gst-feedback.1.in:
9605 * tools/gst-inspect.1.in:
9606 * tools/gst-launch.1.in:
9607 * tools/gst-md5sum.1.in:
9608 * tools/gst-typefind.1.in:
9609 * tools/gst-xmlinspect.1.in:
9610 * tools/gst-xmllaunch.1.in:
9611 cleanup man-pages, remove reference to gst-register, document env-vars
9613 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
9615 * gst/gstbuffer.c: (gst_buffer_span):
9616 gst_buffer_span should copy the timestamp of the first buffer
9617 if they were both originally overlapping subbuffers of the
9618 same parent, using the same logic as the 'slow copy' case.
9620 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
9622 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
9623 Need to awaken ALL the pads when we pop a buffer, otherwise
9624 collectpads only works when there is 2 input streams.
9626 2006-01-11 Stefan Kost <ensonic@users.sf.net>
9628 * docs/random/ensonic/media-device-daemon.txt:
9631 fix doc example, add clarification
9632 * tools/gst-launch.1.in:
9633 add initial info about GST_PLUGIN_PATH, needs more work
9635 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
9637 * docs/manual/basics-bins.xml:
9638 * docs/manual/basics-elements.xml:
9639 * docs/manual/intro-basics.xml:
9640 Some more minor docs additions and updates.
9642 2006-01-11 Wim Taymans <wim@fluendo.com>
9644 * docs/manual/basics-bins.xml:
9645 * docs/manual/basics-elements.xml:
9646 Some small fixes as pointed out by Ser-ver on IRC.
9648 2006-01-10 Edward Hervey <edward@fluendo.com>
9650 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9651 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9652 the single-segment mode.
9654 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
9656 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9658 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9659 (gst_base_src_perform_seek), (gst_base_src_send_event),
9660 (gst_base_src_set_property), (gst_base_src_get_property),
9661 (gst_base_src_loop), (gst_base_src_start),
9662 (gst_base_src_activate_push):
9663 * libs/gst/base/gstbasesrc.h:
9664 Name (private) union; makes Sun's Forte compiler happy (#324900).
9666 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
9669 gst-register is gone.
9671 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
9673 * gst/gstvalue.c: (_gst_value_initialize):
9674 make the G_TYPE_DATE instantiation work if debug is disabled
9676 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
9678 * gst/gstmessage.c: (gst_message_parse_tag),
9679 (gst_message_parse_error), (gst_message_parse_warning):
9680 Don't crash when return location for error/warning debug
9681 string is NULL; add fact that return locations can be
9682 NULL to docs where appropriate.
9684 2006-01-05 Wim Taymans <wim@fluendo.com>
9686 * gst/gstplugin.c: (gst_plugin_load_file):
9687 Replace strdup by g_strdup.
9689 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9691 * docs/pwg/advanced-types.xml:
9694 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9696 submitted by: Abel Cheung
9700 Added Chinese (traditional) translation
9702 2006-01-04 Wim Taymans <wim@fluendo.com>
9704 * docs/manual/basics-pads.xml:
9705 * docs/plugins/Makefile.am:
9706 * docs/plugins/gstreamer-plugins-docs.sgml:
9707 * docs/plugins/gstreamer-plugins-sections.txt:
9708 * docs/pwg/advanced-clock.xml:
9709 * docs/pwg/advanced-scheduling.xml:
9710 * docs/pwg/advanced-types.xml:
9711 * plugins/elements/gstfdsink.c:
9712 * plugins/elements/gstfdsrc.c:
9713 * plugins/elements/gstfdsrc.h:
9714 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9715 * plugins/elements/gstidentity.h:
9716 * plugins/elements/gstqueue.h:
9717 * plugins/elements/gsttee.c:
9718 * plugins/elements/gsttee.h:
9719 * plugins/elements/gsttypefindelement.c:
9720 (gst_type_find_element_class_init):
9721 * plugins/elements/gsttypefindelement.h:
9722 Small updates to various docs.
9723 Added core plugins to docs.
9725 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9728 add a suppression for liboil's uninitialized variable
9730 2006-01-02 James Livingston <jrl at ids dot org dot au>
9732 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9735 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9736 macro, so that gcc doesn't complain if the -Wmissing-prototypes
9737 compiler switch is being used (#325429).
9739 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
9741 * gst/gstbin.c: (gst_bin_query):
9742 Disable duration query caching in bins until it gets
9743 fixed (see #324807).
9745 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9747 * tools/gst-inspect.c: (print_element_properties_info):
9748 Handle properties of POINTER and BOXED type.
9750 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9752 * gst/gst.c: (init_post):
9753 Init tags stuff and some other things before loading
9754 any static plugins (there may be other static plugins
9755 than just the GStreamer ones, and they may want to
9756 register their own tags or formats or whatever, and
9757 preferably without segfaulting).
9759 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9760 Print at least a warning in the debug logs if we drop a
9761 query just because we don't know how to adjust the value
9762 in the particular format.
9764 2005-12-24 David Schleef <ds@schleef.org>
9766 * tools/gstreamer-completion:
9767 Replacement for gst-complete written in sh and sed. Only
9768 completes names of features, but that's 90% of what I want
9769 it for. Properties are not available in registry.xml. (Maybe
9772 === release 0.10.1 ===
9774 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
9777 releasing 0.10.1, "Nollaig chridheil"
9779 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
9782 Add missing quote, should be make ERROR_CFLAGS="".
9784 2005-12-20 Wim Taymans <wim@fluendo.com>
9786 * docs/design/part-trickmodes.txt:
9787 More documentation on trickmodes.
9789 2005-12-20 Edward Hervey <edward@fluendo.com>
9791 * gst/gstcaps.c: (gst_static_caps_get_type):
9793 API addition: GST_TYPE_STATIC_CAPS
9794 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9795 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9796 * gst/gstpadtemplate.h:
9797 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9798 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9801 2005-12-18 Wim Taymans <wim@fluendo.com>
9803 * libs/gst/base/gstadapter.c:
9804 * libs/gst/base/gstadapter.h:
9805 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9806 (gst_base_sink_get_position):
9807 * libs/gst/base/gstbasesink.h:
9808 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9809 (gst_base_src_default_query), (gst_base_src_default_do_seek),
9810 (gst_base_src_do_seek), (gst_base_src_perform_seek),
9811 (gst_base_src_send_event), (gst_base_src_update_length),
9812 (gst_base_src_get_range), (gst_base_src_loop),
9813 (gst_base_src_start):
9814 * libs/gst/base/gstbasesrc.h:
9815 * libs/gst/base/gstbasetransform.h:
9816 * libs/gst/base/gstcollectpads.h:
9817 * libs/gst/base/gstpushsrc.c:
9818 * libs/gst/base/gstpushsrc.h:
9819 * libs/gst/dataprotocol/dataprotocol.c:
9820 * libs/gst/dataprotocol/dataprotocol.h:
9821 * libs/gst/net/gstnetclientclock.h:
9822 * libs/gst/net/gstnettimeprovider.h:
9823 Documentation updates.
9825 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
9827 * docs/manual/basics-helloworld.xml:
9828 Remove superfluous closing bracket in helloworld example.
9830 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
9832 * tools/gst-launch.1.in:
9833 Update gst-launch man page; add a section with useful
9834 environment variables. Fixes #323882.
9836 2005-12-16 Stefan Kost <ensonic@users.sf.net>
9839 * gst/gst_private.h:
9840 change some char* into char[]
9842 2005-12-16 Wim Taymans <wim@fluendo.com>
9844 * gst/gstregistryxml.c: (load_feature):
9846 Don't use g_object_unref on GstObjects so that we avoid
9847 leaks on unsafe glibs.
9849 2005-12-16 Wim Taymans <wim@fluendo.com>
9851 * gst/gstbin.c: (gst_bin_recalc_state):
9854 2005-12-16 Wim Taymans <wim@fluendo.com>
9857 Added make forever target for check.
9859 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
9861 * gst/gst.c: (init_post):
9862 make the registry cache file HOST_CPU-dependent
9864 2005-12-16 Andy Wingo <wingo@pobox.com>
9866 * plugins/elements/gstbufferstore.c
9867 (gst_buffer_store_cleared_func): Pay attention to g_list_append
9870 * tests/check/gst/gstobject.c
9871 (test_fake_object_name_threaded_unique): Pay attention to
9872 g_list_sort return value.
9874 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
9876 * tools/gst-feedback-m.m:
9877 Update for 0.9/0.10 (fixes #323870).
9879 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
9881 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9882 Fix lcopy for mini objects, the mini object needs to be ref'ed.
9884 * tests/check/gst/gstminiobject.c: (my_foo_init),
9885 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9886 (test_value_collection), (gst_mini_object_suite):
9887 Add test to ensure refcounts end up as expected when passing
9888 GstMiniObjects through g_object_get() and g_object_set().
9890 2005-12-14 Julien MOUTTE <julien@moutte.net>
9892 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9893 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9894 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9895 of collectpads. This version removes a lot of races without
9896 touching API/ABI. Yay !
9898 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
9900 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9901 Don't allow activation of a srcpad in pull_range if it has no
9903 Change some debug statements to be a little clearer
9905 * plugins/elements/gsttypefindelement.c:
9906 (gst_type_find_handle_src_query):
9907 Check that we have a peer before executing queries thereupon.
9909 * tests/examples/metadata/read-metadata.c: (message_loop):
9910 Use gst_bus_pop instead of gst_bus_poll when we just want it to
9911 immediately return us any available message with 0 timeout.
9913 2005-12-12 Michael Smith <msmith@fluendo.com>
9915 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9916 Don't unref factories after calling them.
9917 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9918 * plugins/elements/gsttypefindelement.c:
9919 (gst_type_find_element_chain):
9920 Free lists of factories after using them. Fixing typefinding memory
9923 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9925 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9926 (gst_plugin_feature_load):
9927 more meaningful debug output
9929 * tests/Makefile.am:
9930 * tests/old/examples/Makefile.am:
9931 make make distcheck happy again
9933 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9935 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9936 Catch the special case where we are operating chain-based,
9937 but the downstream peer pad has no chain function. Emit a
9938 custom error message in this case instead of letting the
9939 core generate one implying that this is some sort of core
9940 bug. It's not, it just means that whatever got plugged
9941 into the pipeline downstream when we announced the type
9942 can only operate pull-based, while our source can only
9943 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9944 Error string has not been marked for translation yet, as
9945 it probably needs some more work first.
9947 (gst_type_find_element_get_best_possibility):
9948 Add helper function to find the best of all available
9949 found possibilities that qualify given the min. threshold.
9951 (gst_type_find_element_handle_event):
9952 Fix the case where we get an EOS while still in TYPEFIND
9953 mode (we want to chose the best of all possible types,
9954 not just the first type that happens to be in our unsorted
9955 list of possible types).
9957 (gst_type_find_element_chain):
9958 Make sure we return GST_FLOW_ERROR when we errored out
9959 in stop_typefinding(); also, don't just find the best of
9960 all found type entries and then use the last examined
9961 type entry, but actually use the best entry.
9963 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9965 * tests/examples/typefind/typefind.c: (type_found):
9966 * tests/examples/xml/runxml.c: (xml_loaded):
9967 More gcc4 fixes and a mem leak fix.
9969 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9971 * tests/examples/xml/createxml.c: (object_saved):
9974 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9976 * tests/Makefile.am:
9977 enable the examples even more
9979 2005-12-12 Andy Wingo <wingo@pobox.com>
9981 * libs/gst/net/gstnettimeprovider.c
9982 (gst_net_time_provider_class_init, gst_net_time_provider_init)
9983 (gst_net_time_provider_set_property)
9984 (gst_net_time_provider_get_property):
9985 API addition: Export "active" as a GObject property.
9986 (gst_net_time_provider_thread): Only respond to time queries if
9987 the time provider is active.
9989 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9990 NetTimeProvider, preserving binary compat.
9992 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9994 * tests/examples/controller/audio-example.c: (main):
9995 * tests/examples/launch/Makefile.am:
9996 convert comments again
9998 2005-12-12 Wim Taymans <wim@fluendo.com>
10000 * libs/gst/base/gstpushsrc.c:
10003 2005-12-12 Wim Taymans <wim@fluendo.com>
10005 * docs/libs/gstreamer-libs-sections.txt:
10006 Added new symbol to docs.
10008 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10009 (gst_base_src_init), (gst_base_src_set_format),
10010 (gst_base_src_default_query), (gst_base_src_query),
10011 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
10012 (gst_base_src_perform_seek), (gst_base_src_send_event),
10013 (gst_base_src_default_event), (gst_base_src_event_handler),
10014 (gst_base_src_set_property), (gst_base_src_get_property),
10015 (gst_base_src_wait), (gst_base_src_do_sync),
10016 (gst_base_src_update_length), (gst_base_src_get_range),
10017 (gst_base_src_check_get_range), (gst_base_src_loop),
10018 (gst_base_src_default_negotiate), (gst_base_src_start),
10019 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10020 (gst_base_src_change_state):
10021 * libs/gst/base/gstbasesrc.h:
10022 Implement seeking to other formats than _BYTES.
10023 Implement more seeking methods correctly.
10025 Added query vmethod.
10026 Added do_seek vmethod to make life easier for subclasses
10028 API addition: gst_base_src_set_format()
10030 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10032 * tests/examples/Makefile.am:
10035 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10038 * docs/random/ensonic/media-device-daemon.txt:
10039 * tests/examples/controller/.cvsignore:
10040 * tests/examples/controller/Makefile.am:
10041 * tests/examples/controller/audio-example.c: (main):
10042 * tests/examples/helloworld/.cvsignore:
10043 * tests/examples/helloworld/Makefile.am:
10044 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
10045 * tests/examples/launch/.cvsignore:
10046 * tests/examples/launch/Makefile.am:
10047 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
10048 * tests/examples/metadata/.cvsignore:
10049 * tests/examples/metadata/Makefile.am:
10050 * tests/examples/metadata/read-metadata.c: (message_loop),
10051 (make_pipeline), (print_tag), (main):
10052 * tests/examples/queue/.cvsignore:
10053 * tests/examples/queue/Makefile.am:
10054 * tests/examples/queue/queue.c: (event_loop), (main):
10055 * tests/examples/typefind/.cvsignore:
10056 * tests/examples/typefind/Makefile.am:
10057 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
10059 * tests/examples/xml/.cvsignore:
10060 * tests/examples/xml/Makefile.am:
10061 * tests/examples/xml/createxml.c: (object_saved), (main):
10062 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
10063 * tests/old/examples/Makefile.am:
10064 * tests/old/examples/TODO:
10065 * tests/old/examples/controller/.cvsignore:
10066 * tests/old/examples/controller/Makefile.am:
10067 * tests/old/examples/controller/audio-example.c:
10068 * tests/old/examples/helloworld/.cvsignore:
10069 * tests/old/examples/helloworld/Makefile.am:
10070 * tests/old/examples/helloworld/helloworld.c:
10071 * tests/old/examples/launch/.cvsignore:
10072 * tests/old/examples/launch/Makefile.am:
10073 * tests/old/examples/launch/mp3parselaunch.c:
10074 * tests/old/examples/launch/mp3play:
10075 * tests/old/examples/manual/Makefile.am:
10076 * tests/old/examples/metadata/Makefile.am:
10077 * tests/old/examples/metadata/read-metadata.c:
10078 * tests/old/examples/queue/.cvsignore:
10079 * tests/old/examples/queue/Makefile.am:
10080 * tests/old/examples/queue/queue.c:
10081 * tests/old/examples/typefind/.cvsignore:
10082 * tests/old/examples/typefind/Makefile.am:
10083 * tests/old/examples/typefind/typefind.c:
10084 * tests/old/examples/xml/.cvsignore:
10085 * tests/old/examples/xml/Makefile.am:
10086 * tests/old/examples/xml/createxml.c:
10087 * tests/old/examples/xml/runxml.c:
10088 applied some simple fixing to some examples
10089 re-enabled the working examples
10091 2005-12-12 Wim Taymans <wim@fluendo.com>
10093 * gst/gstsegment.c: (gst_segment_init),
10094 (gst_segment_set_last_stop), (gst_segment_set_seek),
10095 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
10096 (gst_segment_to_running_time):
10097 Added more documentation.
10098 Make sure the last_pos value is updated properly.
10099 Make sure to_stream_time and to_running_time don't
10100 operate on wrong values.
10102 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10105 2005-12-12 Michael Smith <msmith@fluendo.com>
10107 * plugins/elements/gsttypefindelement.c: (free_entry),
10108 (gst_type_find_element_chain):
10109 Now that we're not leaking factories, make sure we keep references
10110 to them while we need them.
10112 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
10114 * tests/check/gst/struct_i386.h:
10115 ifdef out the XML structs
10117 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
10119 * gst/gstvalue.c: (gst_value_transform_double_fraction):
10120 floor is not needed, F is always positive; this obviates the
10121 need for adding -lm when building without libxml
10123 2005-12-12 Wim Taymans <wim@fluendo.com>
10125 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10126 Take current playback rate into account when reporting
10129 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10131 * docs/manual/mime-world.fig:
10132 Let's try this again, this time with a file that is
10133 actually in XFig format.
10135 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10137 * docs/manual/mime-world.fig:
10138 Add audioconvert element to diagram so that it
10139 matches the text and the code (fixes #319526).
10141 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10143 * docs/pwg/building-chainfn.xml:
10144 * docs/pwg/building-pads.xml:
10145 * docs/pwg/building-state.xml:
10146 * docs/pwg/other-source.xml:
10147 Update state change stuff for 0.10 (fixes #322969).
10149 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10151 * docs/manual/advanced-dataaccess.xml:
10152 * docs/manual/appendix-checklist.xml:
10153 * docs/manual/appendix-programs.xml:
10154 * docs/manual/basics-pads.xml:
10155 * docs/manual/highlevel-components.xml:
10156 * docs/manual/manual.xml:
10157 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
10158 add converters in front of pipelines; remove curly
10159 brackets for threads stuff, they no longer exist; use
10160 GST_TYPE_FRACTION for framerates; update some pieces of
10161 code to 0.10, but there's plenty more to do.
10163 * docs/manual/appendix-porting.xml:
10164 Expand on asynchroneous state changes; s/0.9/0.10/;
10165 mention disappearance of gst_init_get_popt_table()
10168 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10170 * docs/faq/using.xml:
10171 Spider no longer exists, and neither does gst-launch-ext.
10172 Update examples to use decodebin and playbin and put
10173 converters in front of sinks (fixes #323726).
10175 2005-12-09 Michael Smith <msmith@fluendo.com>
10177 * plugins/elements/gsttypefindelement.c: (find_peek),
10178 (gst_type_find_element_chain):
10179 Fix leaking element factories in typefinding.
10180 Fix problem where we forgot about a probable type on non-seekable
10181 files, and thus later mis-typefound it.
10183 2005-12-09 Michael Smith <msmith@fluendo.com>
10185 * common/m4/gst-makecontext.m4:
10186 * common/m4/gst-mcsc.m4:
10188 * win32/common/config.h:
10189 * win32/common/config.h.in:
10190 Remove makecontext stuff; not used in 0.10 and causes problems on
10191 HPUX according to bug #322441
10193 2005-12-07 Wim Taymans <wim@fluendo.com>
10195 * tests/check/Makefile.am:
10196 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
10198 * tests/check/libs/struct_i386.h:
10199 Added ABI check for libs
10201 2005-12-07 Wim Taymans <wim@fluendo.com>
10203 * tests/check/Makefile.am:
10204 And add the struct_i386.h to dist.
10206 2005-12-07 Wim Taymans <wim@fluendo.com>
10208 * tests/check/Makefile.am:
10209 * tests/check/gst/.cvsignore:
10210 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
10212 * tests/check/gst/struct_i386.h:
10213 Added check for ABI compatibility.
10215 2005-12-07 Wim Taymans <wim@fluendo.com>
10217 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10218 (gst_fake_src_get_times), (gst_fake_src_create):
10219 Fix broken sync option, fixes #323259
10221 2005-12-07 Wim Taymans <wim@fluendo.com>
10226 * gst/gstcaps.c: (gst_caps_is_equal):
10227 Don't assert on NULL <--> X. Fixes #323260
10229 * gst/gstminiobject.c: (gst_mini_object_replace):
10230 If we're doing atomic operations, we might just as well use
10231 the proper way to get an atomic pointer.
10233 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10234 Clean up debugging.
10236 2005-12-07 Michael Smith <msmith@fluendo.com>
10238 * gst/parse/grammar.y:
10239 Remove handling of { } for threads.
10241 2005-12-06 David Schleef <ds@schleef.org>
10243 * libs/gst/base/gstbasetransform.c: speling fix.
10245 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
10247 * docs/libs/tmpl/gstdataprotocol.sgml:
10248 * docs/random/omega/testing/gstobject.c:
10251 * gst/gstelement.c:
10252 * gst/gstelementfactory.c:
10255 * gst/gstghostpad.c:
10257 * gst/gstpadtemplate.c:
10258 * gst/gstregistryxml.c:
10259 * gst/gsttaglist.c:
10260 * gst/gsttagsetter.c:
10261 * gst/gsttypefind.c:
10263 * libs/gst/base/gstbasesrc.c:
10264 * libs/gst/net/gstnetclientclock.c:
10265 * libs/gst/net/gstnettimeprovider.c:
10266 * plugins/elements/gstfakesrc.c:
10267 * plugins/elements/gstfdsrc.c:
10268 * plugins/elements/gstfilesrc.c:
10269 * plugins/elements/gstidentity.c:
10270 * plugins/elements/gstqueue.c:
10271 * plugins/elements/gsttypefindelement.c:
10272 * plugins/indexers/gstfileindex.c:
10273 * plugins/indexers/gstmemindex.c:
10274 * tests/check/gst/gsttag.c:
10275 * tests/old/examples/cutter/cutter.c:
10276 * tests/old/examples/mixer/mixer.c:
10277 * tests/old/examples/xml/runxml.c: (main):
10278 * tests/old/testsuite/caps/normalisation.c:
10279 * tests/old/testsuite/debug/global.c:
10280 * tests/old/testsuite/parse/parse1.c:
10281 * tools/gst-xmlinspect.c:
10282 * win32/common/dirent.c:
10285 === release 0.10.0 ===
10287 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10290 releasing 0.10.0, "Maroilles"
10292 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10294 submitted by: Funda Wang <fundawang@linux.net.cn>
10298 added Chinese (Traditional) translation
10300 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10302 * docs/gst/gstreamer-sections.txt:
10303 * docs/libs/tmpl/gstdataprotocol.sgml:
10304 * docs/random/thomasvs/TODO:
10309 2005-12-05 Andy Wingo <wingo@pobox.com>
10311 patch by: Wim Taymans <wim@fluendo.com>
10313 * libs/gst/base/gstbasetransform.c
10314 (gst_base_transform_prepare_output_buf)
10315 (gst_base_transform_buffer_alloc):
10316 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
10317 alloc_buffer_and_set_caps.
10319 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
10320 set_caps on the source pad.
10321 (gst_pad_alloc_buffer_and_set_caps): New function, does what
10322 alloc_buffer used to do. Fixes #322874.
10324 * docs/gst/gstreamer-sections.txt:
10325 * docs/design/part-negotiation.txt:
10326 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
10329 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10331 patch by: Sebastien Moutte
10334 * win32/common/config.h.in:
10335 * win32/vs6/libgstcontroller.dsp:
10338 2005-12-05 Wim Taymans <wim@fluendo.com>
10340 * gst/gstcaps.c: (gst_caps_is_equal):
10341 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10342 (gst_fake_src_create):
10343 Back out previous code changes, leave doc updates, file bugs
10346 2005-12-05 Wim Taymans <wim@fluendo.com>
10348 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10349 (gst_fake_src_get_times), (gst_fake_src_create):
10350 * plugins/elements/gstfakesrc.h:
10351 Fix broken sync code.
10353 2005-12-05 Wim Taymans <wim@fluendo.com>
10355 * gst/gstcaps.c: (gst_caps_is_equal):
10356 Comparing NULL against !NULL yields different caps, not a
10359 2005-12-05 Wim Taymans <wim@fluendo.com>
10361 * gst/gstpipeline.c:
10362 Fix small typo in docs.
10364 2005-12-05 Andy Wingo <wingo@pobox.com>
10366 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
10368 * gst/gst.c (init_post): remove hard-coded 0.9 location for
10369 registries/plugins with a MAJORMINOR one.
10370 (plugin_desc): Rename library from gstcoreleements to
10371 staticelements. Fixes #323222.
10373 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
10375 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
10376 Change debug category to 'collectpads' from 'collect_pads'
10379 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
10381 patch by: Sebastien Moutte
10383 * libs/gst/controller/gstinterpolation.c:
10384 use convert function for uint64/double
10385 * win32/vs6/libgstcontroller.dsp:
10388 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
10390 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
10391 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
10393 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10394 add tests that seem to show that the guint64/gdouble conversions
10397 2005-12-02 Wim Taymans <wim@fluendo.com>
10399 * gst/gstregistry.c: (gst_registry_add_path):
10400 * gst/gstregistry.h:
10401 * gst/gstregistryxml.c:
10404 2005-12-02 Wim Taymans <wim@fluendo.com>
10406 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10407 (gst_util_uint64_scale_int):
10410 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10411 Add debug log line.
10413 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
10416 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
10419 * win32/common/config.h:
10420 * win32/vs6/gstreamer.dsw:
10421 * win32/vs6/libgstcoreelements.dsp:
10422 * win32/vs6/libgstelements.dsp:
10423 renamed core elements plugin
10425 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
10427 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
10429 do piece-wise major/minor comparison so 0.9 < 0.10
10430 also allow .exe extensions for tools
10432 2005-12-02 Michael Smith <msmith@fluendo.com>
10435 Escape a % to make gtkdoc happier; bug 322958.
10437 === release 0.9.7 ===
10439 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10442 releasing 0.9.7, "My Dog Has No Nose"
10444 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10446 * common/gst-xmlinspect.py:
10448 * docs/libs/tmpl/gstdataprotocol.sgml:
10449 * docs/random/release:
10468 * win32/common/config.h:
10469 * win32/common/config.h.in:
10470 * win32/vs6/gst_inspect.dsp:
10471 * win32/vs6/gst_launch.dsp:
10472 * win32/vs6/libgstbase.dsp:
10473 * win32/vs6/libgstelements.dsp:
10474 * win32/vs6/libgstreamer.dsp:
10475 * win32/vs7/GStreamer.vcproj:
10476 * win32/vs7/gst-inspect.vcproj:
10477 * win32/vs7/gst-launch.vcproj:
10478 * win32/vs7/libgstbase.vcproj:
10479 bump GST_MAJORMINOR to 0.10
10480 reset libtool version
10482 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10486 Added Bulgarian translation by (Alexander Shopov)
10488 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10490 * tests/check/gst/gstplugin.c:
10493 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10495 * common/gst-xmlinspect.py:
10496 * common/gtk-doc-plugins.mak:
10498 * docs/Makefile.am:
10499 * docs/gst/Makefile.am:
10500 * docs/gst/gstreamer-docs.sgml:
10501 * docs/gst/gstreamer-sections.txt:
10502 * docs/gst/gstreamer.types:
10503 * docs/gst/gstreamer.types.in:
10504 * docs/plugins/Makefile.am:
10505 * docs/plugins/gstreamer-plugins-docs.sgml:
10506 * docs/plugins/gstreamer-plugins-sections.txt:
10507 * docs/plugins/gstreamer-plugins.types:
10508 * docs/plugins/inspect.stamp:
10509 * docs/plugins/inspect/plugin-coreelements.xml:
10510 * docs/plugins/inspect/plugin-coreindexers.xml:
10511 * docs/plugins/scanobj-build.stamp:
10512 * gstreamer.spec.in:
10513 * plugins/elements/Makefile.am:
10514 * plugins/elements/gstelements.c:
10515 * plugins/elements/gstfakesink.c:
10516 * plugins/elements/gstfakesrc.c:
10517 * plugins/elements/gstfilesink.c:
10518 * plugins/elements/gstfilesrc.c:
10519 * plugins/elements/gstqueue.c:
10520 * plugins/indexers/Makefile.am:
10521 * plugins/indexers/gstindexers.c:
10522 document core plugins in a separate document just like all the
10524 rename these plugins to something starting with core
10526 2005-12-01 Andy Wingo <wingo@pobox.com>
10528 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
10529 padding here before, but it missed the commit.
10531 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10533 * libs/gst/controller/gstinterpolation.c:
10534 whitespace prices have crashed, we should feel free to use some now
10535 use gst_guint64_to_gdouble
10537 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10539 * libs/gst/controller/gstcontroller.c:
10540 * libs/gst/controller/gsthelper.c:
10541 * libs/gst/controller/gstinterpolation.c:
10542 * libs/gst/controller/lib.c:
10543 wrap config.h include
10545 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10547 * docs/gst/gstreamer-sections.txt:
10550 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10552 * plugins/elements/gstelements.c:
10553 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
10554 (gst_fd_sink__class_init), (gst_fd_sink__init),
10555 (gst_fd_sink__chain), (gst_fd_sink__set_property),
10556 (gst_fd_sink__get_property):
10557 * plugins/elements/gstfdsink.h:
10558 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
10559 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
10560 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
10561 (gst_fd_src_unlock), (gst_fd_src_set_property),
10562 (gst_fd_src_get_property), (gst_fd_src_create),
10563 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
10564 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
10565 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
10566 (gst_fd_src_uri_handler_init):
10567 * plugins/elements/gstfdsrc.h:
10568 * plugins/elements/gstqueue.c: (gst_queue_get_type):
10571 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10573 * docs/gst/Makefile.am:
10574 * docs/gst/gstreamer.types.in:
10578 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10584 * gst/gstregistry.h:
10585 * tests/benchmarks/complexity.c:
10586 * tests/benchmarks/mass-elements.c:
10587 * tests/check/Makefile.am:
10588 * tools/Makefile.am:
10589 * tools/gst-inspect.c:
10590 * tools/gst-xmlinspect.c:
10591 various fixes to make
10592 --disable-nls --disable-registry --disable-loadsave
10593 --disable-parse --disable-gst-debug
10594 work and get the core .so down to 360444 bytes after stripping
10596 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10601 * docs/random/thomasvs/TODO:
10602 * tests/Makefile.am:
10606 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10608 * win32/GStreamer.vcproj:
10611 * win32/Makefile.inspect:
10612 * win32/Makefile.launch:
10613 * win32/Makefile.register:
10614 * win32/README.txt:
10615 * win32/gst-inspect.vcproj:
10616 * win32/gst-launch.vcproj:
10617 * win32/gst-register.vcproj:
10618 * win32/gstelements.vcproj:
10619 * win32/gstgetbits.def:
10620 * win32/gstgetbits.vcproj:
10621 * win32/gstreamer-dbg.def:
10622 * win32/gstreamer.def:
10623 * win32/libgstbase.def:
10624 * win32/libgstbase.vcproj:
10625 * win32/link_oldruntime.c:
10629 * win32/msvc71.sln:
10630 move even more stuff, win32/ is nice and clean now
10632 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10634 * libs/gst/control/.cvsignore:
10639 * win32/gstbytestream.def:
10640 * win32/gstbytestream.vcproj:
10641 * win32/gstconfig.h:
10642 * win32/gstenumtypes.c:
10643 * win32/gstenumtypes.h:
10644 * win32/gstoptimalscheduler.vcproj:
10645 * win32/gstversion.h:
10647 * win32/testsuite/bins.vcproj:
10648 * win32/testsuite/bytestream.vcproj:
10649 * win32/testsuite/caps.vcproj:
10650 * win32/testsuite/cleanup.vcproj:
10651 * win32/testsuite/clock.vcproj:
10652 * win32/testsuite/debug.vcproj:
10653 * win32/testsuite/dlopen.vcproj:
10654 * win32/testsuite/dynparams.vcproj:
10655 * win32/testsuite/elements.vcproj:
10656 * win32/testsuite/ghostpads.vcproj:
10657 * win32/testsuite/indexers.vcproj:
10658 * win32/testsuite/negotiation.vcproj:
10659 * win32/testsuite/parse.vcproj:
10660 * win32/testsuite/plugin.vcproj:
10661 * win32/testsuite/refcounting.vcproj:
10662 * win32/testsuite/schedulers.vcproj:
10663 * win32/testsuite/states.vcproj:
10664 * win32/testsuite/tags.vcproj:
10665 * win32/testsuite/threads.vcproj:
10666 remove old win32 stuff that isn't maintained and should be
10669 2005-11-30 Andy Wingo <wingo@pobox.com>
10671 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10672 loading the gst.interfaces python module bork.
10674 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10675 available since GLib 2.2. Fixes #318031.
10677 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10680 * check/.cvsignore:
10681 * check/Makefile.am:
10682 * check/elements/.cvsignore:
10683 * check/elements/fakesrc.c:
10684 * check/elements/fdsrc.c:
10685 * check/elements/identity.c:
10686 * check/generic/.cvsignore:
10687 * check/generic/states.c:
10688 * check/gst-libs/.cvsignore:
10689 * check/gst-libs/controller.c:
10690 * check/gst-libs/gdp.c:
10691 * check/gst/.cvsignore:
10692 * check/gst/capslist.h:
10694 * check/gst/gstbin.c:
10695 * check/gst/gstbuffer.c:
10696 * check/gst/gstbus.c:
10697 * check/gst/gstcaps.c:
10698 * check/gst/gstelement.c:
10699 * check/gst/gstevent.c:
10700 * check/gst/gstghostpad.c:
10701 * check/gst/gstiterator.c:
10702 * check/gst/gstmessage.c:
10703 * check/gst/gstminiobject.c:
10704 * check/gst/gstobject.c:
10705 * check/gst/gstpad.c:
10706 * check/gst/gstpipeline.c:
10707 * check/gst/gstplugin.c:
10708 * check/gst/gstsegment.c:
10709 * check/gst/gststructure.c:
10710 * check/gst/gstsystemclock.c:
10711 * check/gst/gsttag.c:
10712 * check/gst/gstutils.c:
10713 * check/gst/gstvalue.c:
10714 * check/net/.cvsignore:
10715 * check/net/gstnetclientclock.c:
10716 * check/net/gstnettimeprovider.c:
10717 * check/pipelines/.cvsignore:
10718 * check/pipelines/cleanup.c:
10719 * check/pipelines/simple_launch_lines.c:
10720 * check/pipelines/stress.c:
10721 * check/states/.cvsignore:
10722 * check/states/sinks.c:
10724 * examples/Makefile.am:
10725 * examples/appreader/.cvsignore:
10726 * examples/appreader/Makefile.am:
10727 * examples/appreader/appreader.c:
10728 * examples/controller/.cvsignore:
10729 * examples/controller/Makefile.am:
10730 * examples/controller/audio-example.c:
10731 * examples/cutter/.cvsignore:
10732 * examples/cutter/Makefile.am:
10733 * examples/cutter/cutter.c:
10734 * examples/cutter/cutter.h:
10735 * examples/events/Makefile.am:
10736 * examples/events/seek.c:
10737 * examples/helloworld/.cvsignore:
10738 * examples/helloworld/Makefile.am:
10739 * examples/helloworld/helloworld.c:
10740 * examples/helloworld2/.cvsignore:
10741 * examples/helloworld2/Makefile.am:
10742 * examples/helloworld2/helloworld2.c:
10743 * examples/launch/.cvsignore:
10744 * examples/launch/Makefile.am:
10745 * examples/launch/mp3parselaunch.c:
10746 * examples/launch/mp3play:
10747 * examples/manual/.cvsignore:
10748 * examples/manual/Makefile.am:
10749 * examples/manual/extract.pl:
10750 * examples/metadata/Makefile.am:
10751 * examples/metadata/read-metadata.c:
10752 * examples/mixer/.cvsignore:
10753 * examples/mixer/Makefile.am:
10754 * examples/mixer/mixer.c:
10755 * examples/mixer/mixer.h:
10756 * examples/pingpong/.cvsignore:
10757 * examples/pingpong/Makefile.am:
10758 * examples/pingpong/pingpong.c:
10759 * examples/plugins/.cvsignore:
10760 * examples/plugins/Makefile.am:
10761 * examples/plugins/example.c:
10762 * examples/plugins/example.h:
10763 * examples/pwg/.cvsignore:
10764 * examples/pwg/Makefile.am:
10765 * examples/pwg/extract.pl:
10766 * examples/queue/.cvsignore:
10767 * examples/queue/Makefile.am:
10768 * examples/queue/queue.c:
10769 * examples/queue2/.cvsignore:
10770 * examples/queue2/Makefile.am:
10771 * examples/queue2/queue2.c:
10772 * examples/queue3/.cvsignore:
10773 * examples/queue3/Makefile.am:
10774 * examples/queue3/queue3.c:
10775 * examples/queue4/.cvsignore:
10776 * examples/queue4/Makefile.am:
10777 * examples/queue4/queue4.c:
10778 * examples/retag/.cvsignore:
10779 * examples/retag/Makefile.am:
10780 * examples/retag/retag.c:
10781 * examples/retag/transcode.c:
10782 * examples/thread/.cvsignore:
10783 * examples/thread/Makefile.am:
10784 * examples/thread/thread.c:
10785 * examples/typefind/.cvsignore:
10786 * examples/typefind/Makefile.am:
10787 * examples/typefind/typefind.c:
10788 * examples/xml/.cvsignore:
10789 * examples/xml/Makefile.am:
10790 * examples/xml/createxml.c:
10791 * examples/xml/runxml.c:
10792 * tests/Makefile.am:
10793 * tests/check/Makefile.am:
10794 * testsuite/.cvsignore:
10795 * testsuite/Makefile.am:
10797 * testsuite/caps/.cvsignore:
10798 * testsuite/caps/Makefile.am:
10799 * testsuite/caps/app_fixate.c:
10800 * testsuite/caps/audioscale.c:
10801 * testsuite/caps/caps.c:
10802 * testsuite/caps/caps.h:
10803 * testsuite/caps/caps_strings:
10804 * testsuite/caps/compatibility.c:
10805 * testsuite/caps/deserialize.c:
10806 * testsuite/caps/enumcaps.c:
10807 * testsuite/caps/eratosthenes.c:
10808 * testsuite/caps/filtercaps.c:
10809 * testsuite/caps/fixed.c:
10810 * testsuite/caps/fraction-convert.c:
10811 * testsuite/caps/fraction-multiply-and-zero.c:
10812 * testsuite/caps/intersect2.c:
10813 * testsuite/caps/intersection.c:
10814 * testsuite/caps/normalisation.c:
10815 * testsuite/caps/random.c:
10816 * testsuite/caps/renegotiate.c:
10817 * testsuite/caps/sets.c:
10818 * testsuite/caps/simplify.c:
10819 * testsuite/caps/string-conversions.c:
10820 * testsuite/caps/structure.c:
10821 * testsuite/caps/subtract.c:
10822 * testsuite/caps/union.c:
10823 * testsuite/debug/.cvsignore:
10824 * testsuite/debug/Makefile.am:
10825 * testsuite/debug/category.c:
10826 * testsuite/debug/commandline.c:
10827 * testsuite/debug/global.c:
10828 * testsuite/debug/output.c:
10829 * testsuite/debug/printf_extension.c:
10830 * testsuite/dlopen/.cvsignore:
10831 * testsuite/dlopen/Makefile.am:
10832 * testsuite/dlopen/dlopen_gst.c:
10833 * testsuite/dlopen/loadgst.c:
10834 * testsuite/elements/.cvsignore:
10835 * testsuite/elements/Makefile.am:
10836 * testsuite/elements/gst-inspect-check.in:
10837 * testsuite/elements/struct_i386.h:
10838 * testsuite/elements/struct_size.c:
10839 * testsuite/indexers/.cvsignore:
10840 * testsuite/indexers/Makefile.am:
10841 * testsuite/indexers/cache1.c:
10842 * testsuite/indexers/indexdump.c:
10843 * testsuite/parse/.cvsignore:
10844 * testsuite/parse/Makefile.am:
10845 * testsuite/parse/parse1.c:
10846 * testsuite/parse/parse2.c:
10847 * testsuite/plugin/.cvsignore:
10848 * testsuite/plugin/Makefile.am:
10849 * testsuite/plugin/README:
10850 * testsuite/plugin/dynamic.c:
10851 * testsuite/plugin/linked.c:
10852 * testsuite/plugin/loading.c:
10853 * testsuite/plugin/registry.c:
10854 * testsuite/plugin/static.c:
10855 * testsuite/plugin/static2.c:
10856 * testsuite/plugin/testplugin.c:
10857 * testsuite/plugin/testplugin2.c:
10858 * testsuite/plugin/testplugin2_s.c:
10859 * testsuite/plugin/testplugin_s.c:
10860 * testsuite/refcounting/.cvsignore:
10861 * testsuite/refcounting/Makefile.am:
10862 * testsuite/refcounting/bin.c:
10863 * testsuite/refcounting/element.c:
10864 * testsuite/refcounting/element_pad.c:
10865 * testsuite/refcounting/mainloop.c:
10866 * testsuite/refcounting/mem.c:
10867 * testsuite/refcounting/mem.h:
10868 * testsuite/refcounting/object.c:
10869 * testsuite/refcounting/pad.c:
10870 * testsuite/refcounting/sched.c:
10871 * testsuite/refcounting/thread.c:
10872 * testsuite/states/.cvsignore:
10873 * testsuite/states/Makefile.am:
10874 * testsuite/states/bin.c:
10875 * testsuite/states/locked.c:
10876 * testsuite/states/parent.c:
10877 * testsuite/threads/.cvsignore:
10878 * testsuite/threads/159566.c:
10879 * testsuite/threads/159852.c:
10880 * testsuite/threads/Makefile.am:
10881 * testsuite/threads/queue.c:
10882 * testsuite/threads/signals.c:
10883 * testsuite/threads/staticrec.c:
10884 * testsuite/threads/thread.c:
10885 * testsuite/threads/threadb.c:
10886 * testsuite/threads/threadc.c:
10887 * testsuite/threads/threadd.c:
10888 * testsuite/threads/threade.c:
10889 * testsuite/threads/threadf.c:
10890 * testsuite/threads/threadg.c:
10891 * testsuite/threads/threadh.c:
10892 * testsuite/threads/threadi.c:
10893 move all of these under tests
10895 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10898 * tests/Makefile.am:
10901 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10903 * docs/gst/gstreamer-sections.txt:
10904 * tests/sched/.cvsignore:
10905 * tests/sched/Makefile.am:
10906 * tests/sched/cases/(fs-fs).xml:
10907 * tests/sched/cases/(fs-i-fs).xml:
10908 * tests/sched/cases/(fs-i-i-fs).xml:
10909 * tests/sched/cases/(fs-i-q[i-fs]).xml:
10910 * tests/sched/dynamic-pipeline.c:
10911 * tests/sched/interrupt1.c:
10912 * tests/sched/interrupt2.c:
10913 * tests/sched/interrupt3.c:
10914 * tests/sched/runtestcases:
10915 * tests/sched/runxml.c:
10916 * tests/sched/sched-stress.c:
10917 * tests/sched/sort.c:
10918 * tests/sched/testcases:
10919 * tests/sched/testcases1.tc:
10920 * tests/seeking/.cvsignore:
10921 * tests/seeking/Makefile.am:
10922 * tests/seeking/seeking1.c:
10923 * tests/threadstate/.cvsignore:
10924 * tests/threadstate/Makefile.am:
10925 * tests/threadstate/test1.c:
10926 * tests/threadstate/test2.c:
10927 * tests/threadstate/threadstate1.c:
10928 * tests/threadstate/threadstate2.c:
10929 * tests/threadstate/threadstate3.c:
10930 * tests/threadstate/threadstate4.c:
10931 * tests/threadstate/threadstate5.c:
10932 remove obsolete tests
10934 * tests/bench-complexity.scm:
10935 * tests/bench-mass_elements.scm:
10936 * tests/complexity.c:
10937 * tests/complexity.gnuplot:
10938 * tests/instantiate/.cvsignore:
10939 * tests/instantiate/Makefile.am:
10940 * tests/instantiate/caps.c:
10941 * tests/mass_elements.c:
10942 * tests/network-clock-utils.scm:
10943 * tests/network-clock.scm:
10945 First pass at cleaning up tests/ dir before moving the rest
10946 Combined with CVS surgery
10948 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10951 queue has moved, update
10953 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10955 * docs/gst/gstreamer-sections.txt:
10956 remove double entries from the docs
10957 * gst/gst_private.h:
10958 * gst/gstinfo.c: (_gst_debug_init):
10959 remove the THREAD debug category
10963 * docs/gst/gstreamer.types:
10964 * plugins/elements/gstqueue.c: (gst_queue_get_type),
10965 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10966 completely move queue and fix up debugging categories
10968 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10970 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10971 make initialization portable, using LL is not
10973 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10975 * win32/common/gstconfig.h:
10978 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10980 * win32/common/libgstreamer.def:
10981 rename symbols; sort base section
10983 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10985 * gst/gstclock.c: (do_linear_regression):
10986 remove crack non-portable handrolled DEBUG macro
10988 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10990 * docs/random/release:
10992 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10993 (gst_object_flags_get_type), (register_gst_bin_flags),
10994 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10995 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10996 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10997 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10998 (gst_caps_flags_get_type), (register_gst_clock_return),
10999 (gst_clock_return_get_type), (register_gst_clock_entry_type),
11000 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
11001 (gst_clock_flags_get_type), (register_gst_state),
11002 (gst_state_get_type), (register_gst_state_change_return),
11003 (gst_state_change_return_get_type), (register_gst_state_change),
11004 (gst_state_change_get_type), (register_gst_element_flags),
11005 (gst_element_flags_get_type), (register_gst_core_error),
11006 (gst_core_error_get_type), (register_gst_library_error),
11007 (gst_library_error_get_type), (register_gst_resource_error),
11008 (gst_resource_error_get_type), (register_gst_stream_error),
11009 (gst_stream_error_get_type), (register_gst_event_type_flags),
11010 (gst_event_type_flags_get_type), (register_gst_event_type),
11011 (gst_event_type_get_type), (register_gst_seek_type),
11012 (gst_seek_type_get_type), (register_gst_seek_flags),
11013 (gst_seek_flags_get_type), (register_gst_format),
11014 (gst_format_get_type), (register_gst_index_certainty),
11015 (gst_index_certainty_get_type), (register_gst_index_entry_type),
11016 (gst_index_entry_type_get_type),
11017 (register_gst_index_lookup_method),
11018 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
11019 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
11020 (gst_index_resolver_method_get_type), (register_gst_index_flags),
11021 (gst_index_flags_get_type), (register_gst_debug_level),
11022 (gst_debug_level_get_type), (register_gst_debug_color_flags),
11023 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
11024 (gst_iterator_result_get_type), (register_gst_iterator_item),
11025 (gst_iterator_item_get_type), (register_gst_message_type),
11026 (gst_message_type_get_type), (register_gst_mini_object_flags),
11027 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
11028 (gst_pad_link_return_get_type), (register_gst_flow_return),
11029 (gst_flow_return_get_type), (register_gst_activate_mode),
11030 (gst_activate_mode_get_type), (register_gst_pad_direction),
11031 (gst_pad_direction_get_type), (register_gst_pad_flags),
11032 (gst_pad_flags_get_type), (register_gst_pad_presence),
11033 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
11034 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
11035 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
11036 (gst_plugin_error_get_type), (register_gst_plugin_flags),
11037 (gst_plugin_flags_get_type), (register_gst_rank),
11038 (gst_rank_get_type), (register_gst_query_type),
11039 (gst_query_type_get_type), (register_gst_tag_merge_mode),
11040 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
11041 (gst_tag_flag_get_type), (register_gst_task_state),
11042 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
11043 (gst_alloc_trace_flags_get_type),
11044 (register_gst_type_find_probability),
11045 (gst_type_find_probability_get_type), (register_gst_uri_type),
11046 (gst_uri_type_get_type), (register_gst_parse_error),
11047 (gst_parse_error_get_type):
11048 * win32/common/gstenumtypes.h:
11049 * win32/common/gstversion.h:
11050 update visual studio generated files
11052 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11054 * win32/vs6/libgstbase.dsp:
11055 * win32/vs6/libgstelements.dsp:
11056 update project files for new locations
11058 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11063 reinstate and update
11068 * docs/random/LICENSE:
11071 2005-11-30 Edward Hervey <edward@fluendo.com>
11073 * gst/gsttypefind.c: (gst_type_find_register):
11074 * gst/gsttypefind.h:
11075 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
11076 (gst_type_find_factory_dispose):
11077 * gst/gsttypefindfactory.h:
11078 Fix memory leak in GstTypeFindFactory.
11080 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11083 * plugins/elements/Makefile.am:
11084 * plugins/elements/gstelements.c:
11085 * plugins/elements/gstqueue.c:
11086 move queue from core to the elements plugin
11088 2005-11-29 Andy Wingo <wingo@pobox.com>
11090 * libs/gst/base/gstbasetransform.h:
11091 * libs/gst/base/gstbasesrc.h:
11092 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
11094 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
11095 of pointers by which to pad very extensible base classes (like the
11096 ones in libs/gst/base).
11098 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11100 * docs/gst/gstreamer-docs.sgml:
11101 * docs/gst/gstreamer-sections.txt:
11102 * docs/libs/gstreamer-libs-docs.sgml:
11103 * docs/libs/gstreamer-libs-sections.txt:
11104 moving documentation from core to lib
11106 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11108 * check/Makefile.am:
11110 * docs/gst/Makefile.am:
11112 * gst/base/.cvsignore:
11113 * gst/base/Makefile.am:
11115 * gst/base/gstadapter.c:
11116 * gst/base/gstadapter.h:
11117 * gst/base/gstbasesink.c:
11118 * gst/base/gstbasesink.h:
11119 * gst/base/gstbasesrc.c:
11120 * gst/base/gstbasesrc.h:
11121 * gst/base/gstbasetransform.c:
11122 * gst/base/gstbasetransform.h:
11123 * gst/base/gstcollectpads.c:
11124 * gst/base/gstcollectpads.h:
11125 * gst/base/gstpushsrc.c:
11126 * gst/base/gstpushsrc.h:
11127 * gst/base/gsttypefindhelper.c:
11128 * gst/base/gsttypefindhelper.h:
11129 * gst/check/Makefile.am:
11130 * gst/check/gstcheck.c:
11131 * gst/check/gstcheck.h:
11132 * gst/net/Makefile.am:
11133 * gst/net/gstnet.h:
11134 * gst/net/gstnetclientclock.c:
11135 * gst/net/gstnetclientclock.h:
11136 * gst/net/gstnettimepacket.c:
11137 * gst/net/gstnettimepacket.h:
11138 * gst/net/gstnettimeprovider.c:
11139 * gst/net/gstnettimeprovider.h:
11140 * libs/gst/Makefile.am:
11141 * libs/gst/base/Makefile.am:
11142 * libs/gst/base/gstbasetransform.c:
11143 * libs/gst/check/Makefile.am:
11144 * plugins/elements/Makefile.am:
11146 CVS surgery + support to move base, check, and net out of gst
11149 2005-11-29 Andy Wingo <wingo@pobox.com>
11151 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
11153 * gst/gststructure.h (struct _GstStructure): Only one pointer of
11156 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
11158 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
11160 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
11162 * gst/gstobject.h: (struct _GstObject): Only one pointer of
11163 padding; reduces object size by about 30%. We don't expect
11164 anything else to go into gstobject.
11166 * gst/gstminiobject.h (struct _GstMiniObject)
11167 (struct _GstMiniObjectClass): Only one pointer of padding; the
11168 payload is only a pointer and two ints anyway. For the class there
11169 are only two methods as well.
11171 * gst/gstelement.h (struct _GstElementClass): Removed
11172 the state_changed signal callback, it is not used.
11174 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
11176 * docs/gst/gstreamer.types:
11177 fix includes, though they are a little dinky
11179 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11181 * check/Makefile.am:
11182 look in the right place for elements, a lot more chance of
11185 remove indexers and elements subdirs
11186 * plugins/Makefile.am:
11187 make indexers conditional
11189 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11193 * plugins/elements/Makefile.am:
11194 * plugins/elements/gstcapsfilter.c:
11195 * plugins/elements/gstfilesink.c:
11196 * plugins/elements/gstfilesrc.c:
11197 * plugins/elements/gstidentity.c:
11198 * plugins/indexers/Makefile.am:
11199 do CVS surgery and related build fixery to move elements
11200 and indexers in a new gstreamer/plugins directory, out of the
11203 2005-11-29 Andy Wingo <wingo@pobox.com>
11205 * check/Makefile.am:
11206 * pkgconfig/gstreamer-net-uninstalled.pc.in:
11207 * pkgconfig/gstreamer-net.pc.in:
11208 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
11211 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
11213 * tools/Makefile.am:
11214 * tools/gst-complete.1.in:
11215 * tools/gst-complete.c:
11216 * tools/gst-compprep.1.in:
11217 * tools/gst-compprep.c:
11218 removing -compprep and -complete
11220 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
11222 * gst/gstevent.c: (gst_event_new_new_segment),
11223 (gst_event_parse_new_segment):
11225 fix #320529 - clean up new_segment API and structure.
11226 Let's hope everyone was using the methods, and not the structure.
11228 2005-11-29 Edward Hervey <edward@fluendo.com>
11230 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11231 (gst_base_sink_event), (gst_base_sink_do_sync),
11232 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
11233 Properly handle non GST_FORMAT_TIME segment
11234 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11235 Properly handle non GST_FORMAT_TIME segment
11236 * gst/gstsegment.c:
11237 This function is valid if the accumulator is 0 and the format
11238 is different from the requested format.
11240 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11242 * docs/gst/gstreamer-sections.txt:
11243 Add gst_query_new_seeking and gst_query_parse_seeking to the
11246 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11248 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
11249 Treat a pad alloc with new caps the same as if we were not
11250 negotiated, in order to allow a changing upstream output
11251 to produce a new format of data.
11253 2005-11-29 Edward Hervey <edward@fluendo.com>
11255 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11256 (gst_base_transform_event), (gst_base_transform_eventfunc):
11257 The event virtual method is now properly implemented, with a default
11259 Sub classes should call the parent_class event method. They should
11260 return FALSE if they had a problem handling the given event, or don't
11261 want GstBaseTransform to send that even downstream
11262 * gst/elements/gstidentity.c: (gst_identity_class_init),
11263 (gst_identity_init), (gst_identity_event),
11264 (gst_identity_transform_ip), (gst_identity_set_property),
11265 (gst_identity_get_property):
11266 * gst/elements/gstidentity.h:
11267 Added the single-segment boolean property.
11268 If set to TRUE, it will output a single segment of data, starting from
11269 0, will eat up all incoming newsegment, and modify the timestamp of the
11270 buffers accordingly
11272 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
11274 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
11275 Don't ref NULL target pad (#322751). Improve docs.
11277 2005-11-29 Michael Smith <msmith@fluendo.com>
11279 * gst/gstregistryxml.c: (load_plugin):
11280 Don't crash if we failed to load a feature from a plugin.
11282 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11284 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11286 use more check API and less GLib API
11288 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11291 don't run checks if we don't have check
11292 * common/check.mak:
11293 remove the registry when running make torture
11294 * docs/gst/gstreamer-sections.txt:
11295 remove second multiply
11296 * gst/gstqueue.c: (gst_queue_loop):
11297 fix a compile warning when disabling debug
11299 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11302 Hey! Let's print the pad name if the pointer != NULL instead
11303 of when it == NULL :-)
11305 2005-11-28 Wim Taymans <wim@fluendo.com>
11307 * check/gst/gstutils.c: (GST_START_TEST):
11308 Updated check, add some scaling accuracy checking code.
11310 * gst/gstutils.c: (gst_util_div128_64),
11311 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
11312 (gst_util_uint64_scale_int):
11313 Fix 6 times faster division code. Optimize for common
11314 1/1 and less common X/1 cases.
11316 2005-11-28 Wim Taymans <wim@fluendo.com>
11318 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11321 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
11322 (do_linear_regression), (gst_clock_add_observation):
11324 Release lock when the clock cannot be slaved.
11325 Catch the case where the regression returned an invalid denominator.
11327 * gst/gstutils.c: (gst_util_div128_64_iterate),
11328 (gst_util_div128_64), (gst_util_uint64_scale_int64),
11329 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11330 Add protentially more performant non-iterative 128/64 divide function
11331 that unfortunatly does not work yet.
11332 Shortcut the trivial 0/X = 0 case.
11333 Remove the warnings on overflow.
11335 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11337 * gst/gstplugin.c: (gst_plugin_register_func):
11338 everything causing a plugin not to load should be at least a WARNING
11340 2005-11-28 Stefan Kost <ensonic@users.sf.net>
11342 * docs/random/ensonic/dparams.txt:
11343 some TODOs for the next dev cycle
11344 * libs/gst/controller/gstcontroller.c:
11345 (gst_controlled_property_set_interpolation_mode),
11346 (gst_controlled_property_new):
11347 * libs/gst/controller/gstcontroller.h:
11348 use base type to assign acccessor functions
11350 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11352 * check/Makefile.am:
11353 Oops, that should have been top_srcdir
11355 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11357 * check/Makefile.am:
11358 * check/elements/fdsrc.c: (GST_START_TEST):
11359 Use a cmdline define to specify the location of a file to use for
11360 testing, to avoid breaking distcheck.
11362 2005-11-28 Andy Wingo <wingo@pobox.com>
11364 * gst/gstpad.c (fixate_value): Use array functions for arrays.
11366 2005-11-28 Edward Hervey <edward@fluendo.com>
11368 * tools/gst-launch.c: (main):
11369 Clarify the output strings, makes it easier to translate.
11372 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11375 don't try and build net if we don't even have <sys/socket.h>
11377 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
11379 * check/Makefile.am:
11380 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
11381 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
11382 Add tests for fdsrc seekability
11384 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
11385 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
11386 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
11387 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
11388 * gst/elements/gstfdsrc.h:
11389 fdsrc should not be a 'live' source.
11390 Implement seeking on seekable fd's.
11392 * gst/gstquery.c: (gst_query_new_seeking),
11393 (gst_query_parse_seeking):
11395 Implement SEEKING query functions:
11396 *_new_seeking and *_parse_seeking
11398 2005-11-27 Stefan Kost <ensonic@users.sf.net>
11400 * gst/gstelement.c: (gst_element_dispose):
11403 * gst/gstiterator.c:
11404 * gst/gststructure.c:
11407 * libs/gst/controller/gstcontroller.c:
11408 (gst_controlled_property_set_interpolation_mode):
11409 * libs/gst/controller/gstcontroller.h:
11410 * libs/gst/controller/gstinterpolation.c:
11411 (interpolate_none_get_enum_value_array):
11412 support controlling enums
11414 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
11417 Improve documentation for gst_value_union().
11420 Change return value for union, intersect and subtract functions
11421 from gint to gboolean.
11423 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
11425 * gst/gstvalue.c: (gst_value_serialize_any_list),
11426 (gst_value_transform_any_list_string),
11427 (gst_value_deserialize_list), (gst_value_deserialize_array),
11428 (gst_value_set_int_range), (gst_value_deserialize_int_range),
11429 (gst_value_set_double_range), (gst_value_deserialize_double_range),
11430 (gst_value_set_fraction_range_full),
11431 (gst_value_deserialize_fraction_range),
11432 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
11433 (gst_value_deserialize_boolean),
11434 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
11435 (gst_value_serialize_float), (gst_value_deserialize_float),
11436 (gst_string_wrap), (gst_value_deserialize_string),
11437 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
11438 (gst_value_union_int_range_int_range),
11439 (gst_value_intersect_int_range_int_range),
11440 (gst_value_intersect_double_range_double_range),
11441 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
11442 (gst_value_subtract_int_range_int_range),
11443 (gst_value_subtract_double_double_range),
11444 (gst_value_subtract_double_range_double_range),
11445 (gst_value_deserialize_fraction):
11447 Use gint, gdouble and gchar in our API instead of int, double and
11448 char (and make usage in gstvalue.c more consistent).
11450 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11452 * check/Makefile.am:
11453 * libs/gst/controller/Makefile.am:
11454 * libs/gst/dataprotocol/Makefile.am:
11455 fix up Makefile.am and remove GST_ENABLE_NEW
11457 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11461 * gst/base/Makefile.am:
11462 * gst/check/Makefile.am:
11463 * gst/elements/Makefile.am:
11464 * gst/net/Makefile.am:
11465 update LDFLAGS use some more
11467 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11469 * common/m4/gst-doc.m4:
11472 2005-11-26 Edward Hervey <edward@fluendo.com>
11474 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11475 This shouldn't issue a g_warning since it returns NULL if it
11476 couldn't find the plugin, and all functions using this behave
11477 properly on a NULL return. Switching to a GST_WARNING.
11479 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
11481 * gst/gstbin.c: (gst_bin_handle_message_func):
11482 Don't leak clock messages.
11484 2005-11-25 Wim Taymans <wim@fluendo.com>
11486 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11487 (gst_util_uint64_scale_int):
11488 Optimisations, remove unneeded vars.
11490 2005-11-25 Wim Taymans <wim@fluendo.com>
11492 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11493 Added more checks for the high precision uint64 cases.
11495 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11496 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11497 Implement high precision (guint64 * guint64) / guint64.
11499 2005-11-24 Wim Taymans <wim@fluendo.com>
11501 * gst/base/gstbasesrc.c: (gst_base_src_query):
11502 Fix wrong percentage query.
11504 * gst/gstutils.c: (gst_util_uint64_scale),
11505 (gst_util_uint64_scale_int):
11506 Add some more common cases that can be handled
11507 efficiently to _scale.
11509 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
11511 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
11512 (gst_mini_object_suite):
11513 don't use check calls from threads; check probably isn't
11514 threadsafe and using a lock to make it threadsafe would
11515 defeat the purpose of this check
11516 * gst/check/gstcheck.c:
11517 * gst/check/gstcheck.h:
11518 use GST_DEBUG some more
11520 2005-11-24 Wim Taymans <wim@fluendo.com>
11522 * gst/gstutils.c: (gst_util_uint64_scale),
11523 (gst_util_uint64_scale_int):
11524 Chain trivial case to _scale_int.
11526 2005-11-24 Wim Taymans <wim@fluendo.com>
11528 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11529 Added test for scaling.
11534 * gst/gstutils.c: (gst_util_uint64_scale_int):
11535 Implemented high precision scaling code.
11537 2005-11-24 Stefan Kost <ensonic@users.sf.net>
11540 do not crash on pad==NULL
11542 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
11544 Patch by: Stefan Kost
11546 * common/gtk-doc.mak:
11547 * docs/gst/Makefile.am:
11548 * docs/libs/Makefile.am:
11549 Fix distcheck issues for the libraries docs build
11552 2005-11-24 Michael Smith <msmith@fluendo.com>
11554 * docs/manual/basics-helloworld.xml:
11555 Fix bug #315027: memory leak in example code in docs.
11557 2005-11-24 Michael Smith <msmith@fluendo.com>
11559 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11560 Unlock the PREROLL_LOCK in a failure case.
11562 2005-11-24 Wim Taymans <wim@fluendo.com>
11564 * docs/gst/gstreamer-sections.txt:
11565 * gst/base/gstadapter.h:
11566 * gst/base/gstbasesink.h:
11567 * gst/base/gstbasesrc.h:
11568 * gst/base/gstbasetransform.h:
11569 * gst/base/gstpushsrc.h:
11570 * gst/elements/gstfakesink.h:
11571 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
11572 * gst/elements/gstfakesrc.h:
11573 * gst/elements/gstfilesink.h:
11574 * gst/elements/gstfilesrc.h:
11577 * gst/gstbuffer.c: (_gst_buffer_copy):
11580 * gst/gstchildproxy.c:
11582 * gst/gstelement.c:
11583 * gst/gstelementfactory.c:
11584 * gst/gstelementfactory.h:
11586 * gst/gstghostpad.h:
11588 * gst/gstinterface.h:
11589 * gst/gstminiobject.c:
11590 * gst/gstminiobject.h:
11593 * gst/gstpadtemplate.h:
11594 * gst/gstpipeline.h:
11595 * gst/gstpluginfeature.h:
11598 * gst/gsttaglist.c:
11599 * gst/gsttaglist.h:
11600 * gst/gsttagsetter.c:
11601 * gst/gsttagsetter.h:
11604 * gst/gsttypefind.h:
11607 * gst/net/gstnetclientclock.c:
11608 * gst/net/gstnetclientclock.h:
11609 * gst/net/gstnettimepacket.c:
11610 * gst/net/gstnettimeprovider.c:
11611 * gst/net/gstnettimeprovider.h:
11614 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11616 * configure.ac: back to HEAD
11618 === release 0.9.6 ===
11620 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11623 releasing 0.9.6, "Always On Time"
11625 2005-11-23 Wim Taymans <wim@fluendo.com>
11627 * docs/gst/gstreamer-sections.txt:
11628 * gst/glib-compat.c:
11629 * gst/gsttagsetter.c:
11631 * gst/net/gstnetclientclock.c:
11632 * gst/net/gstnettimepacket.h:
11635 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11637 * docs/faq/using.xml:
11638 * docs/libs/tmpl/gstcontrol.sgml:
11639 * docs/manual/advanced-dparams.xml:
11640 * docs/manual/appendix-checklist.xml:
11641 * docs/manual/basics-elements.xml:
11642 * docs/pwg/other-source.xml:
11643 * docs/random/moving-plugins:
11645 * tools/gst-launch.1.in:
11646 remove mentions of sinesrc
11648 2005-11-23 Michael Smith <msmith@fluendo.com>
11650 * docs/gst/gstreamer-sections.txt:
11651 Update for new API and API changes.
11653 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11655 Documentation typo fix.
11656 * gst/net/gstnettimepacket.c:
11657 Documentation fixes for arguments.
11659 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
11661 * gst/gststructure.c: (gst_structure_get_fraction),
11662 (gst_structure_parse_value),
11663 (gst_structure_fixate_field_nearest_fraction):
11664 * gst/gststructure.h:
11665 * gst/gstutils.c: (gst_util_uint64_scale_int):
11667 * scripts/update-funcnames:
11669 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11670 Make gst_structure_fixate_field_nearest_fraction take a numerator
11671 and denominator argument instead of a GValue
11672 add gst_structure_get_fraction helper function.
11674 2005-11-23 Wim Taymans <wim@fluendo.com>
11676 * docs/design/part-TODO.txt:
11679 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11680 * gst/net/gstnetclientclock.h:
11681 Use parent fields for timeout and window_size.
11683 2005-11-23 Andy Wingo <wingo@pobox.com>
11685 * check/net/gstnetclientclock.c (test_functioning): Adjust to
11686 rate_num/rate_denom change.
11688 * gst/net/gstnetclientclock.c
11689 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11690 OBJECT_LOCK. Don't call add_observation with the lock.
11692 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11694 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11696 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11697 deal with rate as a fraction whose numerator and denominator are
11698 GstClockTime values.
11699 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11700 master; the other fields are protected by the SLAVE_LOCK.
11701 (do_linear_regression): Note that this must be called with the
11703 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11704 OBJECT_LOCK. Call set_calibration instead of touching the
11705 variables directly.
11706 (gst_clock_set_property, gst_clock_get_property): Protect
11707 master/slave parameters with the SLAVE_LOCK.
11709 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11710 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11711 note that all of the instance variables that add_observation and
11712 the set_master functions use are protected by that lock and not
11714 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11716 * gst/gstclock.c (gst_clock_add_observation): No longer requires
11717 the caller to take the object lock.
11719 2005-11-23 Wim Taymans <wim@fluendo.com>
11721 * gst/gsterror.c: (_gst_core_errors_init):
11723 Add error for clock stuff.
11725 * gst/gstpipeline.c: (gst_pipeline_change_state),
11726 (gst_pipeline_set_clock):
11727 Post clock error when clock cannot be used in a pipeline.
11729 2005-11-23 Stefan Kost <ensonic@users.sf.net>
11731 * docs/gst/gstreamer-sections.txt:
11732 make two symbols from gstinfo private for the docs
11733 * gst/base/gstcollectpads.h:
11735 fix doc typos, update docs
11737 2005-11-22 Wim Taymans <wim@fluendo.com>
11739 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11740 (gst_base_sink_wait), (gst_base_sink_do_sync),
11741 (gst_base_sink_handle_event):
11742 * gst/base/gstbasesink.h:
11743 No need to store the clock, the parent element class already
11746 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11747 Updates for clock_set returning a gboolean
11749 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11750 (gst_clock_id_wait_async), (gst_clock_class_init),
11751 (gst_clock_init), (gst_clock_finalize),
11752 (gst_clock_get_internal_time), (gst_clock_get_time),
11753 (gst_clock_slave_callback), (gst_clock_set_master),
11754 (gst_clock_get_master), (do_linear_regression),
11755 (gst_clock_add_observation), (gst_clock_set_property),
11756 (gst_clock_get_property):
11758 Implement master/slave. When setting a clock as a slave, a
11759 periodic timeout is scheduled to sample master and slave times.
11760 Then the slave clock is recalibrated to match offset and rate
11761 of the master clock.
11762 Update logging a bit.
11763 Add flag so that a clock can state that is cannot be slaved to
11766 * gst/gstelement.c: (gst_element_set_clock):
11767 * gst/gstelement.h:
11768 The set clock returns a gboolean for when an element cannot
11769 deal with the selected clock in the pipeline.
11771 * gst/gstpipeline.c: (gst_pipeline_change_state),
11772 (gst_pipeline_set_clock):
11773 * gst/gstpipeline.h:
11774 Handle the case where the selected clock cannot be set on
11777 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11778 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11779 (gst_net_client_clock_set_property),
11780 (gst_net_client_clock_get_property),
11781 (gst_net_client_clock_observe_times):
11782 * gst/net/gstnetclientclock.h:
11783 Use regression code in GstClock parent, remove duplicated
11786 2005-11-22 Michael Smith <msmith@fluendo.com>
11788 * gst/gstutils.c: (gst_util_clock_time_scale):
11790 * docs/gst/gstreamer-sections.txt:
11791 Rename method to have extra underscore.
11793 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
11795 * gst/elements/Makefile.am:
11796 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11797 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11798 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11799 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11800 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11801 * gst/elements/gstfakesrc.h:
11802 * gst/gstqueue.c: (queue_leaky_get_type):
11803 correctly fix GEnumValues so that nick is the short lowercase
11805 * tools/gst-inspect.c: (print_element_properties_info):
11806 also show the nick, since it's useful to use from parse_launch
11810 2005-11-22 Michael Smith <msmith@fluendo.com>
11812 * gst/gstutils.c: (gst_util_clocktime_scale):
11814 * docs/gst/gstreamer-sections.txt:
11815 Add util method for scaling a clocktime by a fraction. Useful
11816 implementation is left as an exercise for the reader.
11818 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11820 * gst/gstvalue.c: (gst_value_collect_fraction_range):
11821 If needed, allocate storage in the destination value during
11824 2005-11-22 Edward Hervey <edward@fluendo.com>
11826 * docs/gst/gstreamer-sections.txt:
11829 * gst/gsturitype.c:
11830 * gst/gsturitype.h:
11831 * gst/gstutils.c: (gst_util_set_object_arg):
11832 * tools/gst-compprep.c: (main):
11833 * tools/gst-inspect.c: (print_element_properties_info):
11834 Removed GstURI, closes bug #321061
11836 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11838 * check/gst/gststructure.c: (GST_START_TEST):
11839 * gst/gststructure.c: (gst_structure_parse_value):
11840 Oops, broke automatic string type parsing.
11841 Add a test to catch it in future.
11843 2005-11-22 Andy Wingo <wingo@pobox.com>
11845 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
11846 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11847 Actually rename the function implementations. Grr.
11849 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11851 * check/gst/capslist.h:
11853 * check/gst/gststructure.c: (GST_START_TEST),
11854 (gst_structure_suite):
11855 Test automatic value type detection in gst_structure_from_string.
11856 * gst/gststructure.c: (gst_structure_parse_value):
11857 Add fraction as a type we try and guess automatically in
11858 caps/structure strings.
11860 2005-11-22 Andy Wingo <wingo@pobox.com>
11862 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11864 * gst/gsttagsetter.h:
11865 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11866 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11867 (gst_tag_setter_add_tag_valist)
11868 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11869 _add_values, _add_valist, and _add_valist_values. Since this is an
11870 interface the function suffixes should be more explicit so
11871 language binding don't end up with element.add_valist ->
11872 gst_tag_setter_add_valist, for example. Fixes #322069.
11874 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11876 * check/gst/gstcaps.c: (GST_START_TEST):
11877 Extend caps string tests to check that a caps to string
11878 conversion is reversible and produces the same caps.
11880 * gst/gststructure.c: (gst_structure_value_get_generic_type):
11881 Output "fraction" as the generic type fraction range, so caps
11882 serialisation and deserialisation works.
11883 * check/gst/capslist.h:
11884 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11885 Support 'MIN' and 'MAX' for deserialising fractions.
11887 2005-11-22 Andy Wingo <wingo@pobox.com>
11889 * gst/gstevent.h (gst_event_new_new_segment)
11890 (gst_event_parse_new_segment, gst_event_new_buffer_size)
11891 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11892 Renamed from *_newsegment, *_buffersize, *_notarget.
11894 * scripts/update-funcnames: New script, performs the changes
11897 2005-11-22 Wim Taymans <wim@fluendo.com>
11899 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11900 Make sure the GstFlowReturn is returned.
11902 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11903 (gst_bus_add_signal_watch):
11905 add gst_bus_add_signal_watch_full.
11907 * gst/gstplugin.c: (gst_plugin_load_file):
11908 Small style cleanup.
11910 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11912 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11913 Block the fakesrc srcpad when we send an event, to avoid
11914 contention on the stream_lock causing random test failures.
11916 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11918 * check/gst/gstvalue.c: (GST_START_TEST):
11919 * gst/gstvalue.c: (gst_value_fraction_subtract):
11922 2005-11-22 Stefan Kost <ensonic@users.sf.net>
11925 include "gstchildproxy.h"
11926 * gst/gstchildproxy.h:
11927 * libs/gst/controller/gstcontroller.h:
11928 use G_GNUC_NULL_TERMINATED
11930 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11932 * check/gst/capslist.h:
11933 * check/gst/gstcaps.c: (GST_START_TEST):
11934 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11935 * gst/gststructure.c: (gst_structure_parse_range),
11936 (gst_structure_fixate_field_nearest_fraction):
11937 * gst/gststructure.h:
11938 * gst/gstvalue.c: (gst_value_init_fraction_range),
11939 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11940 (gst_value_collect_fraction_range),
11941 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11942 (gst_value_set_fraction_range_full),
11943 (gst_value_get_fraction_range_min),
11944 (gst_value_get_fraction_range_max),
11945 (gst_value_serialize_fraction_range),
11946 (gst_value_transform_fraction_range_string),
11947 (gst_value_compare_fraction_range),
11948 (gst_value_deserialize_fraction_range),
11949 (gst_value_intersect_fraction_fraction_range),
11950 (gst_value_intersect_fraction_range_fraction_range),
11951 (gst_value_subtract_fraction_fraction_range),
11952 (gst_value_subtract_fraction_range_fraction),
11953 (gst_value_subtract_fraction_range_fraction_range),
11954 (gst_value_collect_fraction), (gst_value_fraction_multiply),
11955 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11956 (gst_value_transform_string_fraction), (_gst_value_initialize):
11958 Implement fraction ranges and extend GstFraction to support
11959 arithmetic subtraction, as well as deserialization from integer
11960 strings such as "100"
11961 Add a testsuite as for int and double range set operations
11963 2005-11-21 Andy Wingo <wingo@pobox.com>
11965 * gst/gsttaglist.h:
11967 * gst/gststructure.h: Add glib-compat.h.
11969 2005-11-21 Wim Taymans <wim@fluendo.com>
11971 * gst/gstbin.c: (gst_bin_change_state_func):
11974 2005-11-21 Wim Taymans <wim@fluendo.com>
11976 * gst/gstsegment.h:
11977 And add a nice define too.
11979 2005-11-21 Wim Taymans <wim@fluendo.com>
11981 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11982 (gst_segment_new), (gst_segment_free), (gst_segment_init),
11983 (gst_segment_set_duration), (gst_segment_set_last_stop),
11984 (gst_segment_set_seek), (gst_segment_set_newsegment),
11985 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11986 (gst_segment_clip):
11987 * gst/gstsegment.h:
11988 Make binding friendly.
11990 2005-11-21 Andy Wingo <wingo@pobox.com>
11992 * gst/gsttagsetter.h:
11993 * gst/gsttaglist.h:
11994 * gst/gststructure.h:
11996 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11999 * gst/gsterror.c (_gst_core_errors_init):
12000 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
12003 * gst/Makefile.am (gst_headers): Add glib-compat.h.
12004 (noinst_HEADERS): noinst the -private.
12006 2005-11-21 Michael Smith <msmith@fluendo.com>
12009 * gst/gstregistry.h:
12010 Remove unimplemented declarations for which we can see no sensible
12013 2005-11-21 Andy Wingo <wingo@pobox.com>
12015 * gst/gst.h: Include glib-compat.h.
12017 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
12019 * gst/glib-compat.c: Include the public and the private header.
12021 * gst/glib-compat-private.h: Copied here from glib-compat.h.
12025 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
12027 * check/gst/gstevent.c (create_custom_events): Check that
12028 FLUSH_STOP is serialized.
12030 * check/elements/identity.c (event_func):
12031 * check/elements/fakesrc.c (event_func): No stream lock, the core
12034 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
12035 stream lock taking, yay.
12037 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
12038 ensure that core takes the stream lock.
12040 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
12043 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
12044 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
12045 it already. For the flush start we do take it though so we get the
12046 right preroll state change messages.
12048 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
12049 the stream lock here, the core does it for us.
12051 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
12052 GST_STREAM_GET_LOCK.
12053 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
12054 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
12055 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
12056 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
12057 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
12058 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
12060 * gst/gstpad.c: Update for stream lock name change.
12062 * gst/base/gstbasesink.c: Update for preroll lock name change.
12064 2005-11-21 Wim Taymans <wim@fluendo.com>
12066 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
12067 (gst_clock_get_master):
12069 * gst/gstsystemclock.c: (gst_system_clock_init):
12070 Convert Clock flags to object flags.
12071 Added methods to manage master/slave clocks.
12073 2005-11-21 Wim Taymans <wim@fluendo.com>
12075 * check/gst/gstsegment.c: (GST_START_TEST):
12076 * docs/design/part-TODO.txt:
12077 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12078 (gst_base_sink_event), (gst_base_sink_do_sync),
12079 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12080 (gst_base_sink_query), (gst_base_sink_change_state):
12081 * gst/base/gstbasesink.h:
12082 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12083 (gst_base_src_default_newsegment),
12084 (gst_base_src_configure_segment), (gst_base_src_do_seek),
12085 (gst_base_src_get_range), (gst_base_src_loop),
12086 (gst_base_src_change_state):
12087 * gst/base/gstbasesrc.h:
12088 * gst/base/gstbasetransform.c:
12089 (gst_base_transform_prepare_output_buf),
12090 (gst_base_transform_event), (gst_base_transform_change_state):
12091 * gst/base/gstbasetransform.h:
12092 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12093 (gst_collect_pads_event):
12094 * gst/base/gstcollectpads.h:
12095 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
12096 (gst_fake_src_create):
12097 * gst/elements/gstfakesrc.h:
12098 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12099 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
12100 (gst_segment_set_last_stop), (gst_segment_set_seek),
12101 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12102 (gst_segment_to_running_time), (gst_segment_clip):
12103 * gst/gstsegment.h:
12104 More segment updates, replace code in plugins with segment
12107 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
12109 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
12110 Don't ignore sscanf results
12112 2005-11-21 Andy Wingo <wingo@pobox.com>
12114 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
12117 * *.c: Ran scripts/update-macros. Oh yes.
12119 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
12120 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
12123 * scripts/update-macros: New script. Run it on your files to
12124 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
12127 2005-11-21 Stefan Kost <ensonic@users.sf.net>
12129 * docs/gst/Makefile.am:
12130 * docs/gst/gstreamer-docs.sgml:
12131 * docs/gst/gstreamer-sections.txt:
12132 * docs/gst/gstreamer.types:
12134 more docs fixes, add new api to the docs
12136 2005-11-21 Andy Wingo <wingo@pobox.com>
12138 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
12139 state_broadcast call.
12141 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
12143 2005-11-21 Julien MOUTTE <julien@moutte.net>
12145 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
12146 function calls for arrays.
12148 2005-11-21 Stefan Kost <ensonic@users.sf.net>
12150 * docs/random/ensonic/media-device-daemon.txt:
12151 wild idea, can this be done?
12152 * docs/gst/gstreamer-sections.txt:
12157 * gst/gstpluginfeature.c:
12161 doc fixes and additions
12163 2005-11-21 Andy Wingo <wingo@pobox.com>
12165 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
12166 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
12167 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
12168 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
12169 private to the basesrc implementation.
12171 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
12172 behalf of event function if necessary. It should no longer be
12173 necessary to take the stream lock in pad's event functions. Fixes
12176 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
12177 * docs/gst/gstreamer-sections.txt:
12178 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
12179 (gst_structure_fixate_field_nearest_double),
12180 (gst_structure_fixate_field_boolean):
12181 * gst/gststructure.h:
12182 * win32/common/libgstreamer.def:
12183 * win32/gstreamer.def:
12185 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
12188 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
12190 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
12191 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
12192 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
12193 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
12194 (gst_fdsrc_uri_handler_init):
12195 * gst/elements/gstfdsrc.h:
12196 Port fd:// URI handler from 0.8 to fdsrc
12198 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12200 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
12201 (gst_value_serialize_fourcc):
12203 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
12204 consistent with our other format defines (#320324).
12206 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12208 * gst/gstvalue.c: (gst_value_is_fixed):
12209 Revert previous commit. Value lists are by definition
12210 not fixed, as they are a list of possible values.
12212 2005-11-21 Andy Wingo <wingo@pobox.com>
12214 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
12215 during the stable series if we need it. Fixes #319178.
12217 * gst/gstevent.c (gst_event_new_filler): Removed.
12219 * check/gst/gstevent.c: Update comment about filler events.
12221 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12223 * gst/gstvalue.c: (gst_value_is_fixed):
12224 Should handle both value arrays and value lists.
12226 2005-11-21 Andy Wingo <wingo@pobox.com>
12228 patch by: Alessandro Dessina <alessandro nnva org>
12230 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
12231 functions to access arrays. Fixes #321962.
12233 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12235 * docs/gst/gstreamer.types:
12236 gst_collectpads_get_type => gst_collect_pads_get_type.
12238 * gst/base/gstbasetransform.c:
12239 Remove unused SIGNAL_HANDOFF enum.
12241 2005-11-21 Andy Wingo <wingo@pobox.com>
12243 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
12244 the event type (upstream, downstream, serialized). Renamed
12245 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
12246 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
12247 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
12249 * gst/gstevent.c: Update for new CUSTOM event names.
12251 * check/gst/gstevent.c: Update check for new CUSTOM event names.
12254 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
12257 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12259 * docs/gst/gstreamer-sections.txt:
12260 * win32/common/libgstbase.def:
12261 * win32/libgstbase.def:
12262 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12263 (gst_collect_pads_class_init), (gst_collect_pads_init),
12264 (gst_collect_pads_finalize), (gst_collect_pads_new),
12265 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
12266 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
12267 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
12268 (gst_collect_pads_start), (gst_collect_pads_stop),
12269 (gst_collect_pads_peek), (gst_collect_pads_pop),
12270 (gst_collect_pads_available), (gst_collect_pads_read),
12271 (gst_collect_pads_flush), (gst_collect_pads_event),
12272 (gst_collect_pads_chain):
12273 * gst/base/gstcollectpads.h:
12274 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
12275 unimplemented functions as unimplemented. Add padding to
12276 GstCollectData. (#320766, #320423)
12278 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12280 * gst/gstmessage.c:
12281 Improve docs for DURATION message (usage of duration parameter)
12284 2005-11-20 Wim Taymans <wim@fluendo.com>
12286 * check/Makefile.am:
12287 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
12291 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
12292 (gst_segment_set_seek), (gst_segment_set_newsegment),
12293 (gst_segment_to_stream_time), (gst_segment_to_running_time),
12294 (gst_segment_clip):
12295 * gst/gstsegment.h:
12296 Added segment helper structure and methods. Not fully implemented
12298 Added segment check.
12300 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
12302 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12303 Add a deserialisation test for fractions
12304 * examples/metadata/read-metadata.c: (message_loop),
12305 (make_pipeline), (main):
12306 Fix up metadata reading sample.
12307 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12309 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12310 Don't try and fixate empty caps
12311 * gst/gst_private.h:
12312 Wrap in G_BEGIN_DECLS/G_END_DECLS
12313 * gst/gstvalue.c: (gst_value_collect_fraction),
12314 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
12315 (gst_value_transform_string_fraction),
12316 (gst_value_compare_fraction):
12317 Add some extra guards to ensure that we don't end up
12318 with an invalid denominator of 0 in a gstfraction and
12319 that fractions always get reduced.
12321 2005-11-20 Wim Taymans <wim@fluendo.com>
12323 * docs/gst/gstreamer-sections.txt:
12325 * gst/gstelement.c:
12334 2005-11-20 Wim Taymans <wim@fluendo.com>
12336 * docs/design/part-TODO.txt:
12338 Make a proper enum of the flag.
12340 2005-11-19 Wim Taymans <wim@fluendo.com>
12342 * docs/design/part-TODO.txt:
12343 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
12344 (gst_format_to_quark), (gst_format_register):
12346 * gst/gstquery.c: (_gst_query_initialize),
12347 (gst_query_type_get_name), (gst_query_type_to_quark),
12348 (gst_query_type_register):
12350 Add type to quark and type to string conversions.
12352 2005-11-19 Andy Wingo <wingo@pobox.com>
12354 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
12357 2005-11-19 Wim Taymans <wim@fluendo.com>
12359 * docs/design/part-TODO.txt:
12360 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12361 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
12362 (gst_bin_handle_message_func):
12364 Make message handling overridable.
12366 2005-11-19 Andy Wingo <wingo@pobox.com>
12368 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
12371 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
12373 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
12374 is a GstClockTime. Fixes #321710.
12376 * gst/gstclock.h (GstClock): Remove offset property. Add
12377 internal_calibration and external_calibration. Fix padding. Pad
12378 also by GstClockTime so we don't run into problems.
12380 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
12381 (gst_clock_get_rate_offset): Remove.
12382 (gst_clock_set_time_adjust): Remove. Fixes #321712.
12385 * gst/gstutils.c (g_static_rec_cond_wait)
12386 (g_static_rec_cond_timed_wait): Removed, no longer needed.
12388 * gst/gstbin.c: Remove terrible continue_state prototype.
12390 * gst/gstelement.h (gst_element_continue_state): Make public.
12392 * gst/gstelement.h:
12393 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
12394 by continue_state. Fixes #319389.
12396 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
12397 Really fixes #168438. However I don't see anywhere where the
12398 filter function is called... stupid GStreamer...
12400 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
12401 don't have a dispose function, so it won't get called when the
12402 object is unreffed, but oh well!
12404 * gst/gstindex.c (gst_index_set_filter_full): New API function,
12405 allows a destroy function to be set so user_data can be freed.
12407 (gst_index_set_filter): Call gst_index_set_filter_full.
12409 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
12411 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
12412 string should produce an error, given the lack of a way to
12413 represent NULL strings. Fixes #165650.
12416 * gst/gstvalue.c (gst_value_array_append_value)
12417 (gst_value_array_prepend_value, gst_value_array_get_size)
12418 (gst_value_array_get_value): New API, copied from
12419 gst_value_list_*, only operates on arrays.
12420 (gst_value_list_append_value, gst_value_list_prepend_value)
12421 (gst_value_list_concat, gst_value_list_get_size)
12422 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
12424 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
12425 init_list, because it works on both.
12426 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
12427 (gst_value_copy_list_or_array): Renamed from copy_list.
12428 (gst_value_free_list_or_array): Renamed from free_list.
12429 (gst_value_collect_list_or_array): Renamed from collect_list.
12430 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
12431 (gst_value_list_or_array_peek_pointer): Renamed from
12433 (_gst_value_array_value_table, _gst_value_list_value_table):
12434 Update value table functions.
12435 (gst_value_compare_list_or_array): Renamed from compare_list.
12437 * gsttaglist.h: Whoops, foreach function returns void. Also fix
12440 * gst/gsttaglist.c:
12441 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
12442 GstTagList*. Fixes #143472.
12444 * gst/gststructure.h: Clarify what the foreach/map functions can
12445 or can't do to their arguments.
12447 2005-11-18 Wim Taymans <wim@fluendo.com>
12449 * gst/gstclock.c: (gst_clock_set_calibration),
12450 (gst_clock_get_calibration):
12452 Calibration can be set with internal time equal to current
12455 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
12461 2005-11-18 Andy Wingo <wingo@pobox.com>
12464 * pkgconfig/gstreamer-net.pc.in:
12465 * pkgconfig/gstreamer-net-uninstalled.pc.in:
12466 * pkgconfig/Makefile.am: Add net pkgconfig files.
12468 2005-11-18 Stefan Kost <ensonic@users.sf.net>
12471 * gst/gstghostpad.c:
12477 2005-11-18 Andy Wingo <wingo@pobox.com>
12479 * gst/net/gstnetclientclock.c: Turn off debugging.
12481 * check/net/gstnetclientclock.c (test_functioning): Assert that the
12482 times connverge somewhat. Can't make a real test.
12484 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
12485 integer arithmetic. Return the minimum of the domain, which can be
12486 set as "internal" for gst_clock_set_calibration.
12487 (gst_net_client_clock_observe_times): Call _set_calibration.
12488 (gst_net_client_clock_new): Call _set_calibration instead of
12491 * check/net/gstnetclientclock.c (test_functioning): Use the right
12495 * gst/gstclock.c (gst_clock_get_calibration)
12496 (gst_clock_set_calibration): New functions, obsolete the ones I
12497 added yesterday. Doh. Precision issues mean we have to extrapolate
12498 from a point in the more recent past than 1970.
12499 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
12501 (gst_clock_adjust_unlocked): Use the right calibration data.
12503 2005-11-18 Edward Hervey <edward@fluendo.com>
12505 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12506 Also reset the ->current_* values in READY->PAUSED
12508 2005-11-18 Andy Wingo <wingo@pobox.com>
12510 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
12511 Whoops, check the right fd. Also add some debugging.
12512 (gst_net_client_clock_observe_times): Adjust for int64 offset.
12513 (do_linear_regression): Add a crapload of debugging. Subtract off
12514 the minimum values from the input series to discard unneeded bits.
12515 Use only int arithmetic. There is still double arithmetic when
12516 calculating the intercept that needs fixing. Return boolean to
12517 indicate success; FALSE would mean the domain or range is too
12518 great. Still needs fixes.
12520 2005-11-18 Wim Taymans <wim@fluendo.com>
12522 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12523 For the current position in stream time, we need to subtract
12526 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12527 Release lock before calling the callback function of async
12530 2005-11-18 Andy Wingo <wingo@pobox.com>
12532 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
12533 Port goes all the way to MAXUINT16.
12535 * gst/net/gstnettimeprovider.c: Make the port range the same as
12536 for the kernel: 0 assigns, otherwise ports are less than
12539 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
12542 * check/net/gstnetclientclock.c (test_functioning): Add the start
12545 2005-11-18 Wim Taymans <wim@fluendo.com>
12547 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12548 (gst_bin_remove_func), (bin_bus_handler):
12550 Removing a clock provider from a bin, triggers a clock lost message
12551 so that a new clock will be selected.
12552 Adding a clock to a bin triggers a clock provider message.
12553 Make sure we reselect a clock when we received a clock lost message.
12554 Keep a reference to the element that provided the clock.
12556 2005-11-18 Andy Wingo <wingo@pobox.com>
12558 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
12559 the clock initially so it produces values around the base time.
12560 (gst_net_client_clock_class_init): Typo fix.
12561 (gst_net_client_clock_thread): Add note on when the socket gets
12564 2005-11-17 Wim Taymans <wim@fluendo.com>
12566 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
12567 Free remote and local time arrays.
12569 2005-11-17 Wim Taymans <wim@fluendo.com>
12571 * gst/net/gstnetclientclock.c: (do_linear_regression),
12572 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
12573 Fix compilation, uninitialized vars and a forgotten continue.
12575 2005-11-17 Andy Wingo <wingo@pobox.com>
12577 * check/Makefile.am (check_PROGRAMS):
12578 * check/net/gstnetclientclock.c: Add a most minimal test for the
12579 net client clock. More to come later.
12581 * gst/net/gstnet.h:
12582 * gst/net/Makefile.am: Add netclientclock.
12584 * gst/net/gstnetclientclock.h:
12585 * gst/net/gstnetclientclock.c: New files, implement an untested
12586 GstClock that takes its time from a network time provider.
12587 Implements the algorithm in network-clock.scm.
12589 * tests/network-clock.scm (*window-size*): Rename from
12591 * tests/network-clock.scm (network-time):
12592 * tests/network-clock-utils.scm (q-push): Update callers.
12594 2005-11-17 Wim Taymans <wim@fluendo.com>
12596 * gst/gstbin.c: (gst_bin_provide_clock_func),
12597 (gst_bin_sort_iterator_new):
12598 And unref the child too..
12600 2005-11-17 Wim Taymans <wim@fluendo.com>
12602 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12603 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
12604 Refactor the sort iterator so it can be used while holding the
12606 Make clock selection select a clock closest to the source.
12608 2005-11-17 Michael Smith <msmith@fluendo.com>
12610 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
12611 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
12613 Anonymous structs are a gcc (and some other compilers) extension, so
12614 don't use them. Since this is only for ABI-compatibility, and our
12615 API/ABI freeze is over in a few days, this whole thing will only
12616 last a few days, so don't bother trying to think up a meaningful
12617 name for the struct.
12619 2005-11-17 Andy Wingo <wingo@pobox.com>
12621 * gst/gstclock.h (GstClock): Add rate and offset properties,
12622 preserving ABI stability. Add rate/offset accessors. Will file bug
12623 for the freeze break.
12625 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
12626 and offset, trying to keep precision and avoiding
12627 underflow/overflow.
12628 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
12629 functions. Make gst_clock_set_time_adjust obsolete.
12630 (gst_clock_set_time_adjust): Note that this function is obsolete.
12631 Will file bug soon.
12633 * gst/base/gstbasetransform.h: Make the ABI-stability hack
12634 greppable by using GST_PADDING-1+1.
12636 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
12638 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12640 * gst/gstmessage.c: (gst_message_parse_clock_lost):
12641 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12643 * gst/gstpadtemplate.h:
12644 * gst/gstpluginfeature.h:
12645 Don't use c++ style comments in headers (#321638).
12647 2005-11-16 Andy Wingo <wingo@pobox.com>
12649 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12652 * check/net/gstnettimeprovider.c: Check to see that the time
12653 provider actually provides times. Works, yo!
12655 2005-11-16 Wim Taymans <wim@fluendo.com>
12657 * check/Makefile.am:
12660 * check/elements/fakesrc.c: (GST_START_TEST):
12661 Set element to NULL before disposing it.
12663 2005-11-16 Andy Wingo <wingo@pobox.com>
12665 * gst/net/Makefile.am:
12666 * gst/net/gstnet.h:
12667 * gst/net/gstnettimeprovider.c:
12668 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12669 provider, include it from gstnet.h, and add it to the build.
12671 * gst/net/gstnettimepacket.h:
12672 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12673 sending and receiving.
12675 2005-11-16 Wim Taymans <wim@fluendo.com>
12677 * check/Makefile.am:
12678 Enable valgrind check.
12680 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12681 (gst_fake_src_alloc_buffer):
12684 2005-11-16 Wim Taymans <wim@fluendo.com>
12686 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12687 Call parent finalize too.
12689 2005-11-16 Wim Taymans <wim@fluendo.com>
12691 * check/Makefile.am:
12692 Enable valgrind check that should work fine now.
12694 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12695 * gst/gstqueue.c: (gst_queue_init):
12696 Fix memleaks in pad allocation.
12698 2005-11-16 Andy Wingo <wingo@pobox.com>
12700 * gst/net/Makefile.am:
12701 * gst/net/gstnet.h: New part of core to hold network elements and
12702 objects. Put in core because it exposes API that applications want
12703 to use. The library is named libgstnet-tempname right now because
12704 of the existing libgstnet in gst-plugins-base. Solution is
12705 probably to rename the one in plugins-base; will file a bug for
12708 * gst/net/gstnettimeprovider.c:
12709 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12710 get_time call over the network.
12713 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12715 * check/Makefile.am:
12716 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12717 get additions shortly.
12719 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12721 * gst/gstpad.c: (gst_pad_new_from_static_template):
12723 add gst_pad_new_from_static_template functions
12724 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12725 (gst_check_setup_sink_pad):
12726 * gst/elements/gsttee.c: (gst_tee_init):
12729 2005-11-16 Wim Taymans <wim@fluendo.com>
12731 * gst/gstpad.c: (gst_pad_pause_task):
12732 Removed warning, it's not really an error either.
12734 2005-11-16 Wim Taymans <wim@fluendo.com>
12736 * gst/base/gstbasetransform.c:
12737 (gst_base_transform_prepare_output_buf),
12738 (gst_base_transform_event):
12739 Check if the caps are NULL, this can happen if the element
12740 is shutting down and the pad caps are set to NULL.
12742 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12744 * gst/elements/gsttee.c: (gst_tee_init):
12745 fix pad template leak in tee
12747 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12749 * gst/glib-compat.c: (g_value_dup_gst_object):
12750 * gst/glib-compat.h:
12751 * gst/gstpad.c: (gst_pad_set_property):
12752 use gst_object_ref when setting the pad template; this will
12753 trigger the pad template leaks on GLib 2.6 and the slaves
12755 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12757 * gst/glib-compat.c: (gst_flags_get_first_value):
12758 * gst/glib-compat.h:
12759 * gst/gstregistryxml.c:
12760 remove functions copied from GLib 2.6
12762 2005-11-16 Michael Smith <msmith@fluendo.com>
12765 Don't link against VALGRIND_LIBS. That was always the wrong thing to
12766 do, but only breaks with newer valgrind versions. We're not a
12767 valgrind tool, we have no link-time dependencies on libcoregrind.
12769 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12771 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12773 * gst/gstmessage.h:
12776 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot 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 * gst/gstregistryxml.c: (load_feature):
12782 Revert all these unrefs, they don't even pass make check !
12784 2005-11-15 Johan Dahlin <johan@gnome.org>
12786 * gst/base/gstbasesrc.c: (gst_base_src_init):
12787 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12788 * gst/gstqueue.c: (gst_queue_init):
12789 Free pad templates, fixes a couple of leaks.
12791 2005-11-15 Daniel Fischer <dan at f3c dot com>
12793 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12795 * gst/gstpad.c: (gst_pad_get_property):
12796 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12797 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12800 2005-11-15 Wim Taymans <wim@fluendo.com>
12805 2005-11-15 Andy Wingo <wingo@pobox.com>
12807 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12809 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12810 using GST_CLOCK_TIME_NONE to disable base time management.
12811 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12812 time if it was NONE before.
12813 (gst_pipeline_change_state): Only munge the base time if
12814 stream_time != GST_CLOCK_TIME_NONE.
12816 * check/gst/gstpipeline.c (test_base_time): Punt around the
12817 problem of the probe not being called, because that's not the
12818 issue I'm looking at. Add a check that setting stream_time to NONE
12819 disables base time management.
12821 2005-11-15 Wim Taymans <wim@fluendo.com>
12823 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12824 segment_stop == -1 at startup.
12826 * gst/base/gstbasetransform.c: (gst_base_transform_event),
12827 (gst_base_transform_change_state):
12828 Init segment values at start.
12830 2005-11-15 Wim Taymans <wim@fluendo.com>
12832 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12833 0 segment values are 0 in any format.
12835 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12836 * gst/base/gstbasetransform.h:
12837 Parse newsegment correctly in basetransform
12839 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12840 Sync to clock using updated segment values.
12842 2005-11-15 Andy Wingo <wingo@pobox.com>
12844 * check/gst/gstpipeline.c (test_base_time): Add check that the
12845 base time and stream time are reset correctly.
12847 2005-11-15 Wim Taymans <wim@fluendo.com>
12849 * docs/design/part-TODO.txt:
12850 Some more TODO items.
12852 2005-11-15 Andy Wingo <wingo@pobox.com>
12854 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12855 error if the user selected "no clock" as the clocking method.
12857 * check/gst/gstpipeline.c (test_base_time): New test for buffer
12858 timestamps with live capture.
12860 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12861 is 0 but we are a live source, timestamp the buffers using the
12864 2005-11-14 Stefan Kost <ensonic@users.sf.net>
12866 * docs/gst/gstreamer-sections.txt:
12868 * gst/gstghostpad.c:
12873 2005-11-14 Wim Taymans <wim@fluendo.com>
12876 add suppressions from Wim's Debian machine
12878 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
12881 add suppressions from Andy's AMD64 Ubuntu machine
12883 2005-11-14 Andy Wingo <wingo@pobox.com>
12885 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12886 STATE_LOCK not necessary. Fixes #311489.
12888 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12891 * gst/gstindex.c (gst_index_add_object): Note in the docs that
12892 this function is not implemented.
12894 2005-11-14 Julien MOUTTE <julien@moutte.net>
12896 * gst/base/gstbasetransform.c:
12897 (gst_base_transform_prepare_output_buf):
12898 Ref the source pad caps while we need them.
12901 2005-11-11 Wim Taymans <wim@fluendo.com>
12903 * docs/gst/gstreamer-sections.txt:
12904 Added some docs for GstCollectData.
12906 * gst/base/gstadapter.c:
12907 Some small code example fix.
12909 * gst/base/gstcollectpads.c:
12910 * gst/base/gstcollectpads.h:
12911 Document some more.
12913 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12915 * configure.ac: back to HEAD
12917 === release 0.9.5 ===
12919 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12922 releasing 0.9.5, "Bike Lunch Day"
12924 2005-11-11 Wim Taymans <wim@fluendo.com>
12926 * gst/gstbuffer.c: (_gst_buffer_copy):
12929 * gst/gstcaps.c: (gst_caps_is_equal):
12931 Make _is_equal fast in the trivial cases.
12933 * gst/gstminiobject.c:
12934 * gst/gstminiobject.h:
12935 More docs. Spifify .h file.
12940 2005-11-11 Wim Taymans <wim@fluendo.com>
12942 * gst/base/gstbasetransform.c:
12943 (gst_base_transform_prepare_output_buf),
12944 (gst_base_transform_handle_buffer):
12946 If we're processing a buffer and need to allocate an output
12947 buffer, we cannot accept a format change. If we did get a
12948 format change, we have to alloc a buffer ourselves of the
12951 2005-11-11 Wim Taymans <wim@fluendo.com>
12953 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12954 While checking the flag for reentrancy in the gstcaps function
12955 is nice to detect recursive invocations, it also makes it
12956 impossible to call getcaps from multiple threads, which must be
12957 possible. So, checking for recursive calls has to go.
12959 2005-11-11 Michael Smith <msmith@fluendo.com>
12961 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12962 Don't sync on buffers that fall partially outside our current
12963 segment. Prevents an assertion failure/abort playing some files.
12965 2005-11-10 Andy Wingo <wingo@pobox.com>
12967 * check/gst/gstbin.c (test_message_state_changed_children): Style
12970 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12971 gst_bus_poll with the signal watch. Ensures that poll and a signal
12972 watch see the same messages.
12974 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12975 a poll and a watch at the same time get the same messages.
12977 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12979 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12980 * gst/gstcaps.c: (gst_caps_intersect):
12981 Don't call gst_caps_do_simplify - it doesn't respect order of caps
12982 and it's not needed.
12984 2005-11-10 Wim Taymans <wim@fluendo.com>
12986 * docs/design/part-TODO.txt:
12989 2005-11-10 Wim Taymans <wim@fluendo.com>
12991 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12992 * gst/base/gstbasesrc.c: (gst_base_src_wait),
12993 (gst_base_src_do_sync), (gst_base_src_get_range):
12994 Implement clock sync in base class.
12996 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12998 patch by: Tim-Philipp Müller <tim at centricular dot net>
13000 * gst/gststructure.c: (gst_structure_parse_field),
13001 (gst_structure_from_string):
13002 Forward-port a 0.8 patch to handle escaped spaces in structure string,
13003 so that gst_parse_launch() can deal with spaces in filtered link
13004 caps (fixes #164479)
13005 * check/gst/capslist.h:
13006 * check/gst/gststructure.c: (GST_START_TEST):
13007 add unit tests for this change
13009 2005-11-10 Wim Taymans <wim@fluendo.com>
13011 * docs/gst/gstreamer-sections.txt:
13012 * gst/gstelement.c:
13013 * gst/gstelement.h:
13014 Fix docs, move some STATE macros to private.
13016 2005-11-10 Wim Taymans <wim@fluendo.com>
13018 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13019 Added check for bug #317341
13023 Some more spiffifying.
13025 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
13026 Call peer linkfunction if we are a source pad. Totally fixes
13030 Update docs, source pads should call the peer linkfunction
13031 so they can atomically perform the pad link.
13033 2005-11-09 Wim Taymans <wim@fluendo.com>
13037 Uber-spiffy-spiffify some more.
13039 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
13041 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
13042 * gst/elements/gstfilesink.c: (gst_file_sink_init):
13043 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13044 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
13045 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
13046 * gst/gstpad.c: (gst_pad_init):
13047 Use GST_DEBUG_FUNCPTR() more extensively.
13049 2005-11-09 Wim Taymans <wim@fluendo.com>
13051 * gst/gstobject.c: (gst_object_class_init):
13053 Documentation fixes.
13055 2005-11-09 Edward Hervey <edward@fluendo.com>
13057 * gst/gsttypefindfactory.c:
13060 2005-11-09 Edward Hervey <edward@fluendo.com>
13062 * gst/base/gsttypefindhelper.c:
13063 * gst/gsttypefind.c:
13064 * gst/gsttypefind.h:
13067 2005-11-09 Wim Taymans <wim@fluendo.com>
13069 * gst/gstiterator.c:
13076 2005-11-09 Wim Taymans <wim@fluendo.com>
13082 2005-11-09 Wim Taymans <wim@fluendo.com>
13084 * docs/gst/gstreamer-sections.txt:
13085 Moved the message async delivery private lock and cond
13086 to the private section.
13088 * gst/gstmessage.c:
13089 * gst/gstmessage.h:
13092 2005-11-09 Edward Hervey <edward@fluendo.com>
13094 * docs/gst/gstreamer-sections.txt:
13097 Document GstURIHandler
13099 2005-11-09 Wim Taymans <wim@fluendo.com>
13101 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
13102 (gst_iterator_find_custom):
13103 * gst/gstiterator.h:
13106 2005-11-09 Wim Taymans <wim@fluendo.com>
13109 Document another field.
13111 * gst/gststructure.c:
13112 * gst/gststructure.h:
13115 2005-11-09 Wim Taymans <wim@fluendo.com>
13118 Documented structs.
13120 2005-11-09 Wim Taymans <wim@fluendo.com>
13122 * docs/gst/gstreamer-sections.txt:
13123 Added some new macros.
13130 2005-11-09 Wim Taymans <wim@fluendo.com>
13132 * docs/design/part-TODO.txt:
13133 Some more items for the TODO
13139 2005-11-09 Andy Wingo <wingo@pobox.com>
13141 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
13142 to work on something else now tho...
13144 * gst/base/gstadapter.c: More adapter docs.
13146 * gst/elements/gstfilesink.c (gst_file_sink_start)
13147 (gst_file_sink_stop): New functions, replace the state change
13149 (gst_file_sink_class_init): Hook up the start and stop functions.
13150 (gst_file_sink_base_init): Don't set the state change handler any
13151 more. It was a bit ugly too, being set from here...
13152 (gst_file_sink_get_property, gst_file_sink_set_property):
13154 (gst_file_sink_set_location): More robust check that doesn't call
13155 GST_STATE. Ugggggg.
13157 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
13159 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13160 Hold STREAM_LOCK while pushing newsegment or tag events as well.
13162 2005-11-08 Wim Taymans <wim@fluendo.com>
13164 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
13165 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13166 (gst_base_sink_chain), (gst_base_sink_change_state):
13167 * gst/base/gstbasesink.h:
13168 * gst/base/gstbasesrc.h:
13169 * gst/gstelement.h:
13171 Avoid excessive typechecking in macros.
13173 * gst/gstminiobject.c: (gst_mini_object_get_type),
13174 (gst_mini_object_init), (gst_mini_object_new),
13175 (gst_mini_object_free):
13176 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13177 (gst_object_finalize):
13178 Remove cruft code, optimize alloc_trace.
13180 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
13182 * docs/faq/gst-uninstalled:
13183 fix up PS1 for systems that try to reset it
13185 2005-11-07 Wim Taymans <wim@fluendo.com>
13187 * gst/base/gstbasesrc.c: (gst_base_src_init),
13188 (gst_base_src_get_range):
13189 Set the segment_end to -1 initially. Fixed typefind.
13191 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
13193 * gst/base/gstadapter.c:
13194 Debug category should be 'adapter', not 'GstAdapter'.
13196 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
13197 (gst_collectpads_class_init), (gst_collectpads_init),
13198 (gst_collectpads_peek), (gst_collectpads_pop),
13199 (gst_collectpads_event), (gst_collectpads_chain):
13200 Add debug category and some debugging output. Use boilerplate
13201 macros. Remove some extraneous words from docs.
13203 2005-11-05 Andy Wingo <wingo@pobox.com>
13205 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
13208 2005-11-04 Stefan Kost <ensonic@users.sf.net>
13210 * docs/gst/gstreamer-sections.txt:
13213 * gst/gstminiobject.h:
13218 2005-11-04 Wim Taymans <wim@fluendo.com>
13220 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13221 Small update to stop at the configured segment_end
13224 2005-11-04 Stefan Kost <ensonic@users.sf.net>
13226 * gst/gstregistry.c:
13227 * gst/gstregistry.h:
13230 2005-11-04 Edward Hervey <edward@fluendo.com>
13232 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13233 Check if we are doing a segment seek and have arrived at the
13234 end of that segment.
13236 2005-11-04 Wim Taymans <wim@fluendo.com>
13238 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
13239 Don't leak a mutex unlock in case of an error.
13244 2005-11-04 Wim Taymans <wim@fluendo.com>
13246 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
13248 Get the context to wake up only once.
13250 2005-11-03 Wim Taymans <wim@fluendo.com>
13252 * check/states/sinks.c: (GST_START_TEST):
13253 Uncomment fixed check.
13255 * docs/design/part-TODO.txt:
13258 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13259 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13260 (gst_base_sink_get_position):
13261 If we are going to PLAYING, post the right pending state
13262 when we post the intermediate paused message.
13264 * gst/gstelement.c: (gst_element_continue_state),
13265 (gst_element_set_state_func), (gst_element_change_state):
13266 Don't post state changes that were between the same state
13267 and were not ASYNC.
13269 2005-11-03 Stefan Kost <ensonic@users.sf.net>
13271 * docs/gst/gstreamer-sections.txt:
13274 * gst/gstminiobject.h:
13277 more docs and doc style fixes
13279 2005-11-03 Stefan Kost <ensonic@users.sf.net>
13281 * docs/gst/gstreamer-sections.txt:
13282 * gst/gstelement.c:
13283 * gst/gstminiobject.c:
13286 2005-11-03 Andy Wingo <wingo@pobox.com>
13288 * check/states/sinks.c (test_livesrc_sink): Add checks that the
13289 state-changed messages actually have the right order and the right
13292 2005-11-03 Wim Taymans <wim@fluendo.com>
13294 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13295 Added some more checks. Specifically the case where NO_PREROLL
13296 elements are in the pipeline.
13298 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13299 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13300 (gst_base_sink_get_position):
13301 Post READY->PAUSED state change messages too.
13302 Fix bug where VOID was posted as pending state...
13304 * gst/gstbin.c: (gst_bin_recalc_state):
13305 use _element_continue_state() to continue the state change.
13307 * gst/gstelement.c: (gst_element_continue_state),
13308 (gst_element_commit_state), (gst_element_set_state_func),
13309 (gst_element_change_state), (gst_element_change_state_func):
13310 Lots of state change cleanups, assign the STATE_RETURN in
13311 a new continue_state() function that also propagates the
13312 last return value from a state change to the app.
13313 Update some debug statements with proper category.
13315 2005-11-03 Wim Taymans <wim@fluendo.com>
13317 * docs/design/part-events.txt:
13318 * docs/design/part-gstpipeline.txt:
13319 * docs/design/part-messages.txt:
13320 * docs/design/part-overview.txt:
13321 * docs/design/part-seeking.txt:
13322 * docs/design/part-states.txt:
13323 * docs/design/part-trickmodes.txt:
13324 * docs/manual/advanced-position.xml:
13325 Small docs updates.
13328 People think !! is ugly, this looks better.
13330 * gst/gstpad.c: (gst_pad_set_blocked_async):
13331 Remove !! since it's fixed elsewhere now.
13333 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13335 * gst/gstminiobject.h:
13337 Add !! to _FLAG_IS_SET macros to make the result boolean.
13339 2005-11-03 Edward Hervey <edward@fluendo.com>
13341 * gst/gstpad.c: (gst_pad_set_blocked_async):
13342 comparing a flag and a gboolean rarely returns coherent results...
13343 Added two characters (!!) to make that work correctly.
13345 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13347 * gst/gstbus.c: (gst_bus_class_init):
13350 * gst/gstqueue.c: (gst_queue_loop):
13351 Don't assume a miniobject that isn't a buffer is an
13352 event (it could be that there is a refcounting
13353 problem somewhere and the pointer is stale and
13354 refers to an already destroyed miniobject).
13356 2005-11-03 Julien MOUTTE <julien@moutte.net>
13358 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
13360 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13362 * docs/manual/advanced-position.xml:
13363 Update seek example and explanations to current 0.9 API.
13365 * gst/elements/gsttypefindelement.c:
13366 (gst_type_find_element_activate):
13367 Remove FIXME comment now that the found caps
13370 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
13372 * gst/gstregistryxml.c: (load_feature):
13373 Add another GST_STR_NULL instance
13375 2005-11-02 Edward Hervey <edward@fluendo.com>
13377 * gst/gstpad.c: (handle_pad_block):
13378 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
13380 2005-11-02 Wim Taymans <wim@fluendo.com>
13385 * gst/gstelement.c: (gst_element_commit_state):
13386 Remove unused value.
13388 * gst/gstiterator.c:
13389 Mention that the returned element is reffed in the docs.
13391 2005-11-02 Wim Taymans <wim@fluendo.com>
13393 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
13394 (gst_pad_push), (gst_pad_push_event):
13395 Unlock blocked pads when they are flushed.
13397 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13400 * docs/gst/gstreamer-sections.txt:
13403 * gst/gstregistry.c: (gst_registry_scan_path_level):
13404 fix for a nasty little missed situation where an installed plug-in
13405 which was in the cache did not get overridden by an uninstalled one
13406 which was earlier in the plugin path because the newly created plugin
13407 for the uninstalled one (not in the registry) didn't get its
13408 ->registered set to TRUE
13410 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
13412 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
13413 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
13414 (gst_collectpads_is_active), (gst_collectpads_collect),
13415 (gst_collectpads_collect_range), (gst_collectpads_start),
13416 (gst_collectpads_stop), (gst_collectpads_peek),
13417 (gst_collectpads_pop), (gst_collectpads_available),
13418 (gst_collectpads_read), (gst_collectpads_flush):
13419 Guard public API with assertions.
13422 Fix docs for gst_pad_set_link_function().
13424 2005-11-02 Johan Dahlin <johan@gnome.org>
13426 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
13427 Unref found_caps after we used it.
13429 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
13431 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
13432 Don't try to ref NULL.
13434 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13436 * win32/common/config.h.in:
13437 provide a GST_FUNCTION that just gives a string for now
13439 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13441 * win32/common/gstenumtypes.c: (register_gst_object_flags),
13442 (gst_object_flags_get_type), (register_gst_bin_flags),
13443 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13444 (gst_buffer_flag_get_type), (register_gst_bus_flags),
13445 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13446 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
13447 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13448 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13449 (gst_clock_flags_get_type), (register_gst_state),
13450 (gst_state_get_type), (register_gst_state_change_return),
13451 (gst_state_change_return_get_type), (register_gst_state_change),
13452 (gst_state_change_get_type), (register_gst_element_flags),
13453 (gst_element_flags_get_type), (register_gst_core_error),
13454 (gst_core_error_get_type), (register_gst_library_error),
13455 (gst_library_error_get_type), (register_gst_resource_error),
13456 (gst_resource_error_get_type), (register_gst_stream_error),
13457 (gst_stream_error_get_type), (register_gst_event_type),
13458 (gst_event_type_get_type), (register_gst_seek_type),
13459 (gst_seek_type_get_type), (register_gst_seek_flags),
13460 (gst_seek_flags_get_type), (register_gst_format),
13461 (gst_format_get_type), (register_gst_index_certainty),
13462 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13463 (gst_index_entry_type_get_type),
13464 (register_gst_index_lookup_method),
13465 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13466 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13467 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13468 (gst_index_flags_get_type), (register_gst_debug_level),
13469 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13470 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13471 (gst_iterator_result_get_type), (register_gst_iterator_item),
13472 (gst_iterator_item_get_type), (register_gst_message_type),
13473 (gst_message_type_get_type), (register_gst_mini_object_flags),
13474 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13475 (gst_pad_link_return_get_type), (register_gst_flow_return),
13476 (gst_flow_return_get_type), (register_gst_activate_mode),
13477 (gst_activate_mode_get_type), (register_gst_pad_direction),
13478 (gst_pad_direction_get_type), (register_gst_pad_flags),
13479 (gst_pad_flags_get_type), (register_gst_pad_presence),
13480 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13481 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13482 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13483 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13484 (gst_plugin_flags_get_type), (register_gst_rank),
13485 (gst_rank_get_type), (register_gst_query_type),
13486 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13487 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13488 (gst_tag_flag_get_type), (register_gst_task_state),
13489 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13490 (gst_alloc_trace_flags_get_type),
13491 (register_gst_type_find_probability),
13492 (gst_type_find_probability_get_type), (register_gst_uri_type),
13493 (gst_uri_type_get_type), (register_gst_parse_error),
13494 (gst_parse_error_get_type):
13495 * win32/common/gstversion.h:
13496 update win32 copies
13498 2005-11-01 Luca Ognibene <luogni@tin.it>
13501 fix docs. popt is dead, long live GOption.
13503 2005-10-31 Wim Taymans <wim@fluendo.com>
13508 2005-10-31 Andy Wingo <wingo@pobox.com>
13512 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
13514 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
13515 need to serialize property notifications on GLib 2.8. GLib 2.6 has
13516 the possibility of deadlocks here if code calling notify() or
13517 set() has a lock that can be taken in another notify handler (ABBA
13518 with class lock and e.g. python GIL state lock).
13520 2005-10-28 Julien MOUTTE <julien@moutte.net>
13522 * gst/gstbus.c: Doc updates.
13524 2005-10-28 Wim Taymans <wim@fluendo.com>
13526 * docs/design/part-TODO.txt:
13527 * gst/gstiterator.c:
13528 * gst/gstsystemclock.c:
13529 * gst/gstsystemclock.h:
13532 2005-10-28 Edward Hervey <edward@fluendo.com>
13534 * docs/gst/gstreamer-docs.sgml:
13535 * docs/gst/gstreamer-sections.txt:
13536 the GstURIType documentation page is private, it only defines GstURIType
13537 which should be defined in the GstURIHandler page
13539 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
13541 * gst/gstbin.c: (gst_bin_class_init):
13544 Documentation updates.
13546 2005-10-28 Wim Taymans <wim@fluendo.com>
13548 * docs/gst/gstreamer-sections.txt:
13551 Documented the clocks.
13553 2005-10-28 Stefan Kost <ensonic@users.sf.net>
13555 * docs/gst/gstreamer-sections.txt:
13556 move some macros to private sections
13557 * gst/gstminiobject.c:
13558 * gst/gstminiobject.h:
13559 add descriptions provided by ds and some more
13561 mark macro as to be removed
13563 2005-10-28 Wim Taymans <wim@fluendo.com>
13565 * docs/design/part-TODO.txt:
13566 Add an item to TODO.
13568 * gst/gstiterator.c: (gst_iterator_fold),
13569 (gst_iterator_find_custom):
13570 * gst/gstiterator.h:
13573 2005-10-28 Wim Taymans <wim@fluendo.com>
13575 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13576 (gst_base_transform_init):
13579 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
13580 An EOS event marks the queue as completely filled.
13582 2005-10-27 Wim Taymans <wim@fluendo.com>
13584 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13585 (gst_base_sink_do_sync), (gst_base_sink_get_position):
13586 Some more debugging.
13588 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
13589 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
13590 (gst_base_transform_event), (gst_base_transform_getrange),
13591 (gst_base_transform_chain):
13592 * gst/base/gstbasetransform.h:
13594 Protect transform and concurrent buffer alloc with a new lock.
13595 Try not to break ABI/API.
13597 2005-10-27 Wim Taymans <wim@fluendo.com>
13599 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13600 (gst_base_src_init), (gst_base_src_query),
13601 (gst_base_src_default_newsegment),
13602 (gst_base_src_configure_segment), (gst_base_src_do_seek),
13603 (gst_base_src_send_event), (gst_base_src_event_handler),
13604 (gst_base_src_pad_get_range), (gst_base_src_loop),
13605 (gst_base_src_unlock), (gst_base_src_default_negotiate),
13606 (gst_base_src_start), (gst_base_src_deactivate),
13607 (gst_base_src_activate_push), (gst_base_src_change_state):
13608 Move some stuff around and cleanup things.
13610 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
13612 * gst/base/gstbasesrc.c: (gst_base_src_query):
13613 Add missing break statements.
13615 2005-10-27 Wim Taymans <wim@fluendo.com>
13617 * check/gst/gstbin.c: (GST_START_TEST):
13618 An extra refcount is taken in basesrc.
13620 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13621 (gst_base_src_get_range), (gst_base_src_pad_get_range),
13622 (gst_base_src_loop):
13623 Small cleanups, check for flushing after being unlocked from the
13624 LIVE_LOCK. take refcounts correctly (not yet everywhere).
13625 Don't send out EOS when going to READY.
13627 2005-10-27 Wim Taymans <wim@fluendo.com>
13629 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13630 (gst_base_sink_get_position):
13633 * gst/gstbin.c: (message_check), (bin_replace_message),
13634 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13635 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13636 (bin_query_duration_init), (bin_query_duration_fold),
13637 (bin_query_duration_done), (bin_query_generic_fold),
13639 * tools/gst-launch.c: (main):
13642 2005-10-26 Stefan Kost <ensonic@users.sf.net>
13644 * examples/controller/audio-example.c: (main):
13645 * examples/queue/queue.c: (event_loop):
13646 * gst/base/gstbasetransform.h:
13647 * gst/gstelement.c: (gst_element_send_event):
13649 * gst/gstpad.c: (gst_pad_send_event):
13652 changing log priority in error situations
13654 2005-10-25 Wim Taymans <wim@fluendo.com>
13656 * gst/gstbin.c: (message_check), (bin_replace_message),
13657 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13658 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13659 (bin_query_duration_init), (bin_query_duration_fold),
13660 (bin_query_duration_done), (bin_query_generic_fold),
13662 Some doc and debug updates.
13663 Cache previously requested query DURATION for speed. invalidate
13664 cached duration if element posts a DURATION message.
13666 2005-10-25 Wim Taymans <wim@fluendo.com>
13668 * docs/design/part-TODO.txt:
13671 * gst/gstbin.c: (message_check), (bin_replace_message),
13672 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13673 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13674 (bin_query_duration_init), (bin_query_duration_fold),
13675 (bin_query_duration_done), (bin_query_generic_fold),
13677 Handle SEGMENT_START/DONE messages correctly.
13678 More evolved query algorithm that handles duration queries
13681 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13682 (gst_element_get_state_func), (gst_element_abort_state),
13683 (gst_element_commit_state), (gst_element_lost_state):
13684 Some more debugging.
13686 * gst/gstmessage.h:
13689 2005-10-25 Wim Taymans <wim@fluendo.com>
13691 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13692 Don't use invalid stream_time.
13694 * gst/gstevent.c: (gst_event_new_newsegment):
13695 stream_time in newsegment cannot be undefined.
13697 2005-10-24 Wim Taymans <wim@fluendo.com>
13702 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13704 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13706 2005-10-24 Stefan Kost <ensonic@users.sf.net>
13708 * docs/libs/tmpl/gstdparam.sgml:
13709 * docs/libs/tmpl/gstdplinint.sgml:
13710 * docs/libs/tmpl/gstdpman.sgml:
13711 * docs/libs/tmpl/gstdpsmooth.sgml:
13712 * docs/libs/tmpl/gstunitconvert.sgml:
13715 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
13720 === release 0.9.4 ===
13722 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13725 releasing 0.9.4, "Tyrannosaurus Rex"
13727 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
13729 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13730 (gst_file_sink_get_current_offset):
13731 Use fseeko() and ftello() if available. When falling back on
13732 lseek() to get the current offset, fflush() first to make sure
13733 everything is up-to-date and we get the right offset.
13735 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13737 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13738 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13739 * gst/gsterror.c: (_gst_stream_errors_init):
13741 * gst/gstqueue.c: (gst_queue_loop):
13743 remove prematurely added error category and clean up the instances
13745 2005-10-21 Wim Taymans <wim@fluendo.com>
13747 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13748 (gst_base_sink_get_position), (gst_base_sink_query),
13749 (gst_base_sink_change_state):
13750 Simply set the right flag when going to playing, that's all
13751 we need to do instead of calling a function inside the object
13752 lock (that could take the lock as well and deadlock)
13754 2005-10-21 Wim Taymans <wim@fluendo.com>
13756 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13757 (gst_base_src_loop):
13758 Don't warn, the peer element knows what to do best when
13759 the seek failed, it might try something else.
13761 2005-10-21 Wim Taymans <wim@fluendo.com>
13763 * gst/base/gstbasesrc.c: (gst_base_src_init),
13764 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13767 2005-10-21 Wim Taymans <wim@fluendo.com>
13769 * docs/design/part-segments.txt:
13772 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13773 Correctly set caps, even on the subbufer.
13775 2005-10-21 Wim Taymans <wim@fluendo.com>
13777 * docs/gst/gstreamer-docs.sgml:
13778 * docs/gst/gstreamer-sections.txt:
13779 * gst/gstelement.h:
13782 * gst/gstmessage.h:
13785 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13789 And 2% more doc coverage.
13791 2005-10-21 Andy Wingo <wingo@pobox.com>
13793 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13794 position reporting.
13796 2005-10-20 Wim Taymans <wim@fluendo.com>
13798 * gst/gsterror.c: (gst_error_get_message):
13801 * gst/gststructure.c:
13806 2005-10-20 Wim Taymans <wim@fluendo.com>
13811 Another 1% more coverage.
13813 2005-10-20 Wim Taymans <wim@fluendo.com>
13815 * docs/gst/gstreamer-sections.txt:
13816 * gst/gstelement.c: (gst_element_get_state_func),
13817 (gst_element_abort_state), (gst_element_commit_state),
13818 (gst_element_lost_state):
13820 * gst/gstquery.c: (gst_query_set_position),
13821 (gst_query_parse_position), (gst_query_set_duration),
13822 (gst_query_parse_duration), (gst_query_new_convert):
13824 Yay! 1% more docs coverage.
13826 2005-10-20 Wim Taymans <wim@fluendo.com>
13829 * gst/gstquery.c: (gst_query_set_position),
13830 (gst_query_parse_position), (gst_query_set_duration),
13831 (gst_query_parse_duration), (gst_query_new_convert):
13833 * gst/gstutils.c: (gst_element_query_convert):
13835 Docs and consistency fixes.
13837 2005-10-20 Wim Taymans <wim@fluendo.com>
13843 2005-10-20 Wim Taymans <wim@fluendo.com>
13845 * gst/gstbin.c: (message_check), (bin_replace_message),
13846 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13847 (update_degree), (gst_bin_sort_iterator_next),
13848 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13849 Reworked the message handling a bit, cache the messages instead of
13850 only the senders. alows us to do more in the future.
13852 2005-10-20 Wim Taymans <wim@fluendo.com>
13854 * docs/design/part-TODO.txt:
13857 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13858 (gst_base_sink_query):
13859 Don't use clock time to report position when in EOS.
13861 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
13863 * tools/gst-inspect.c: (print_interfaces),
13864 (print_element_properties_info), (print_element_info):
13865 Fix interface output with gst-inspect -a; don't print
13866 newlines after double/float properties.
13868 2005-10-20 Wim Taymans <wim@fluendo.com>
13870 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13871 (gst_base_sink_query):
13872 Speed up current position calculation.
13874 * gst/base/gstbasesrc.c: (gst_base_src_query),
13875 (gst_base_src_default_newsegment):
13876 Correctly set stream position in newsegment.
13878 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13879 (update_degree), (gst_bin_sort_iterator_next),
13880 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13881 * gst/gstmessage.c: (gst_message_new_custom):
13882 Clean up debugging info
13884 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13885 (gst_queue_loop), (gst_queue_handle_src_query):
13888 2005-10-19 Wim Taymans <wim@fluendo.com>
13890 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13891 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13892 Fix query handling again.
13894 2005-10-19 Wim Taymans <wim@fluendo.com>
13896 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13897 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13898 * gst/base/gstbasesrc.c: (gst_base_src_query):
13899 * gst/elements/gstfilesink.c: (gst_file_sink_query):
13900 * gst/elements/gsttypefindelement.c:
13901 (gst_type_find_handle_src_query), (find_element_get_length),
13902 (gst_type_find_element_activate):
13905 * gst/gstquery.c: (gst_query_new_position),
13906 (gst_query_set_position), (gst_query_parse_position),
13907 (gst_query_new_duration), (gst_query_set_duration),
13908 (gst_query_parse_duration), (gst_query_set_segment),
13909 (gst_query_parse_segment):
13911 Bundling query position/duration is not a good idea since duration
13912 does not change much and we don't want to recalculate it for every
13913 position query, so they are separated again..
13914 Base value in segment query is not needed.
13916 * gst/gstqueue.c: (gst_queue_handle_src_query):
13917 * gst/gstutils.c: (gst_element_query_position),
13918 (gst_element_query_duration), (gst_pad_query_position),
13919 (gst_pad_query_duration):
13921 Updates for query API change.
13922 Added some docs here and there.
13924 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
13926 * check/gst/gstbin.c: (GST_START_TEST):
13927 * check/gst/gstghostpad.c: (GST_START_TEST):
13928 * check/pipelines/cleanup.c: (GST_START_TEST):
13929 wait on thread to die so we can check refcount correctly
13931 2005-10-18 Wim Taymans <wim@fluendo.com>
13933 * check/pipelines/stress.c: (GST_START_TEST):
13934 Make check a little more time consuming.
13936 2005-10-18 Wim Taymans <wim@fluendo.com>
13938 * check/Makefile.am:
13939 * check/pipelines/stress.c: (GST_START_TEST),
13940 (simple_launch_lines_suite), (main):
13941 Small state change torture test.
13943 * docs/design/part-states.txt:
13944 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13945 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13946 (gst_base_sink_change_state):
13947 Never take state lock from streaming thread, clean up ugly
13948 hacks. Unfortunatly core does not yet support nice ways to
13949 async commit state.
13951 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13953 Start state recalc if a STATE_DIRTY message is posted, but only
13954 on the toplevel bin.
13956 * gst/gstelement.c: (gst_element_sync_state_with_parent),
13957 (gst_element_get_state_func), (gst_element_abort_state),
13958 (gst_element_commit_state), (gst_element_lost_state),
13959 (gst_element_set_state_func), (gst_element_change_state):
13960 * gst/gstelement.h:
13961 State variables are now protected with the LOCK, the state
13962 lock is only used to serialize _set_state().
13964 2005-10-18 Wim Taymans <wim@fluendo.com>
13966 * check/gst/gstbin.c: (GST_START_TEST):
13967 * check/gst/gstmessage.c: (GST_START_TEST):
13968 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13969 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13971 * gst/gstelement.c: (gst_element_abort_state),
13972 (gst_element_commit_state), (gst_element_lost_state):
13973 * gst/gstmessage.c: (gst_message_new_state_changed),
13974 (gst_message_new_state_dirty), (gst_message_new_segment_start),
13975 (gst_message_new_segment_done), (gst_message_new_duration),
13976 (gst_message_parse_state_changed),
13977 (gst_message_parse_segment_start),
13978 (gst_message_parse_segment_done), (gst_message_parse_duration):
13979 * gst/gstmessage.h:
13980 * tools/gst-launch.c: (event_loop):
13981 Seriously, this is better than a previous commit as we only need
13982 to notify the fact that an element changed state in a streaming
13983 thread, marking the state of the parents dirty, hence the
13984 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13987 2005-10-18 Wim Taymans <wim@fluendo.com>
13989 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13990 (gst_bin_recalc_func):
13991 * gst/gstelement.c: (gst_element_set_clock),
13992 (gst_element_abort_state), (gst_element_lost_state):
13993 Cleanups, prepare for state change fixes.
13995 2005-10-18 Wim Taymans <wim@fluendo.com>
13998 * gst/gstelement.c: (gst_element_class_init),
13999 (gst_element_set_state), (gst_element_set_state_func):
14000 * gst/gstelement.h:
14001 Pending ABI changes.
14002 GThreadPool in GstBinClass to monitor async state changes.
14003 state_cookie in GstElement to detect concurrent gst/set state.
14004 set_state is now virtual too in case a very complicated element
14005 has to be constructed.
14007 2005-10-18 Wim Taymans <wim@fluendo.com>
14009 * check/gst/gstbin.c: (GST_START_TEST):
14010 * check/gst/gstmessage.c: (GST_START_TEST):
14011 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14012 * gst/gstbin.c: (bin_bus_handler):
14013 * gst/gstelement.c: (gst_element_commit_state),
14014 (gst_element_lost_state):
14015 * gst/gstmessage.c: (gst_message_new_state_changed),
14016 (gst_message_new_segment_start), (gst_message_new_segment_done),
14017 (gst_message_new_duration), (gst_message_parse_state_changed),
14018 (gst_message_parse_segment_start),
14019 (gst_message_parse_segment_done), (gst_message_parse_duration):
14020 * gst/gstmessage.h:
14021 * tools/gst-launch.c: (event_loop):
14022 Make messages future proof.
14023 state-change gets a flag if it was a message comming from the
14025 segment-start/stop can also be specified in other formats.
14026 A message to notify an app that a pipeline changed playback
14028 Also fix a GstMessage leak in -launch
14030 2005-10-18 Andy Wingo <wingo@pobox.com>
14032 * gst/gstelement.c (gst_element_dispose): More helpful message.
14034 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
14036 reviewed by: <delete if not using a buddy>
14038 * common/gtk-doc.mak:
14040 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
14042 * gst/gstregistry.c: (gst_registry_scan_path_level):
14043 unref a plug-in we get that was already initialized
14045 2005-10-18 Stefan Kost <ensonic@users.sf.net>
14047 * docs/gst/gstreamer-sections.txt:
14048 * docs/libs/gstreamer-libs-sections.txt:
14049 * gst/gstelement.h:
14050 add new api entries
14051 hide internal macro
14053 2005-10-17 Andy Wingo <wingo@pobox.com>
14055 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
14058 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
14060 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
14062 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
14063 (gst_element_get_state_func): Better debug message.
14064 (gst_element_commit_state): s/INFO/DEBUG/.
14065 (gst_element_lost_state, gst_element_change_state):
14067 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
14068 (gst_message_new_custom): s/INFO/LOG/.
14070 2005-10-17 Michael Smith <msmith@fluendo.com>
14072 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14073 Check if end time is valid using end time, not start time.
14075 2005-10-17 Stefan Kost <ensonic@users.sf.net>
14077 * check/gst-libs/controller.c: (GST_START_TEST),
14078 (gst_controller_suite):
14079 * libs/gst/controller/gstcontroller.c:
14080 (gst_controlled_property_set_interpolation_mode):
14081 * libs/gst/controller/gstcontroller.h:
14082 * libs/gst/controller/gstinterpolation.c:
14083 * testsuite/controller/.cvsignore:
14084 * testsuite/controller/Makefile.am:
14085 * testsuite/controller/interpolator.c:
14086 merge controller testsuites
14088 remove mem-chunk from docs
14090 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
14092 * gst/gstmemchunk.c:
14093 * gst/gstmemchunk.h:
14094 * gst/gsttrashstack.c:
14095 * gst/gsttrashstack.h:
14096 out. get out. you're fired. to the Attic !
14098 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
14100 * gst/gstcaps.c: (gst_caps_intersect):
14101 fix signedness issues in a (hopefully) correct way
14102 * gst/gstelement.c: (gst_element_pads_activate):
14104 * gst/gstobject.c: (gst_object_set_parent):
14107 2005-10-17 Julien MOUTTE <julien@moutte.net>
14109 * gst/gstvalue.h: Fix prototypes.
14111 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14113 * docs/gst/gstreamer-sections.txt:
14114 * gst/gst.c: (gst_version_string):
14116 * gst/gstversion.h.in:
14117 * win32/common/libgstreamer.def:
14118 add gst_version_string ()
14120 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14124 * gst/gst.c: (init_post):
14125 * win32/common/config.h.in:
14127 * gst/gstcaps.c: (gst_caps_intersect):
14128 use gint64, the range could be bigger than a guint
14130 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14133 document potential problem in 2038
14135 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14137 * gst/gstcaps.c: (gst_caps_intersect):
14138 Fix guint j diving under 0
14140 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14143 * win32/common/config.h:
14144 * win32/common/config.h.in:
14145 check for process.h, declares getpid() on Windows
14147 include process.h if we have it
14148 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
14149 * gst/gstmemchunk.h:
14150 fix signedness issues
14151 * win32/common/libgstreamer.def:
14154 2005-10-16 Julien MOUTTE <julien@moutte.net>
14156 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
14157 fix. Because of unsigned ints, caps intersection was going nuts and
14158 trying to access structures with G_MAXUINT index. That fixes
14159 videotestsrc ! ffmpegcolorspace ! fakesink
14160 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
14163 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14166 use the gettext macro
14167 * gst/elements/gstelements.c:
14169 * gst/indexers/gstindexers.c:
14170 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
14171 * win32/common/config.h:
14173 * win32/common/config.h.in:
14174 add the template to generate config.h
14175 * win32/common/gstenumtypes.c:
14176 * win32/common/gstversion.h:
14179 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14181 * gst/gst.c: (gst_version):
14182 * gst/gstversion.h.in:
14185 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
14188 Oops, add missing closing bracket.
14190 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14193 use common m4's for argument checking
14195 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
14197 * docs/gst/gstreamer-sections.txt:
14199 Add GST_EVENT_TYPE_NAME() macro.
14201 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14204 * gst/gstpluginfeature.c:
14206 privatize more symbols
14208 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14211 add srcdir, builddir includes to GST_ALL_CFLAGS, since
14212 everything that uses GStreamer API should have the includes
14214 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14216 * docs/gst/gstreamer-sections.txt:
14217 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
14219 give each value a _get_type, removes the DATA exports
14221 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14225 remove _gst_registry_auto_load, not used anymore
14226 * gst/gstbin.c: (gst_bin_get_type):
14228 * gst/gstelement.c: (gst_element_get_type):
14229 * gst/gstelement.h:
14230 * gst/gstobject.c: (gst_object_get_type):
14232 * gst/gstpad.c: (gst_pad_get_type):
14234 make _get_type functions similar, fixes data export from library
14236 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14239 correctly make conditionals
14240 * gst/elements/Makefile.am:
14241 * gst/elements/gstelements.c:
14242 fix typo causing fdsrc not to build
14244 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14246 * testsuite/Makefile.am:
14247 * testsuite/bytestream/.cvsignore:
14248 * testsuite/bytestream/Makefile.am:
14249 * testsuite/bytestream/filepadsink.c:
14250 * testsuite/bytestream/gstbstest.c:
14251 * testsuite/bytestream/test1.c:
14252 * testsuite/bytestream/testfile1:
14253 * testsuite/caps/normalisation.c:
14254 * testsuite/caps/random.c: (main):
14255 * testsuite/cleanup/.cvsignore:
14256 * testsuite/cleanup/Makefile.am:
14257 * testsuite/cleanup/cleanup1.c:
14258 * testsuite/cleanup/cleanup2.c:
14259 * testsuite/cleanup/cleanup3.c:
14260 * testsuite/cleanup/cleanup4.c:
14261 * testsuite/cleanup/cleanup5.c:
14262 * testsuite/controller/interpolator.c:
14263 * testsuite/debug/printf_extension.c: (main):
14264 * testsuite/elements/tee.c:
14265 * testsuite/negotiation/.cvsignore:
14266 * testsuite/negotiation/Makefile.am:
14267 * testsuite/negotiation/pad_link.c:
14268 * testsuite/pad/Makefile.am:
14269 * testsuite/pad/chainnopull.c:
14270 * testsuite/pad/getnopush.c:
14271 * testsuite/pad/link.c:
14272 * testsuite/refcounting/sched.c: (create_pipeline):
14273 * testsuite/registry/Makefile.am:
14274 * testsuite/registry/gst-print-formats.c:
14275 * testsuite/schedulers/.cvsignore:
14276 * testsuite/schedulers/142183-2.c:
14277 * testsuite/schedulers/142183.c:
14278 * testsuite/schedulers/143777-2.c:
14279 * testsuite/schedulers/143777.c:
14280 * testsuite/schedulers/147713.c:
14281 * testsuite/schedulers/147819.c:
14282 * testsuite/schedulers/147894-2.c:
14283 * testsuite/schedulers/147894.c:
14284 * testsuite/schedulers/Makefile.am:
14285 * testsuite/schedulers/group_link.c:
14286 * testsuite/schedulers/queue_link.c:
14287 * testsuite/schedulers/relink.c:
14288 * testsuite/schedulers/unlink.c:
14289 * testsuite/schedulers/unref.c:
14290 * testsuite/schedulers/useless_iteration.c:
14291 * testsuite/states/bin.c:
14292 clean out/remove some stuff from the testsuite directories
14294 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14297 check for some headers
14298 * gst/elements/Makefile.am:
14299 * gst/elements/gstelements.c:
14300 don't compile fdsrc without sys/socket.h
14301 * gst/indexers/Makefile.am:
14302 * gst/indexers/gstindexers.c: (plugin_init):
14303 don't compile fileindex without mmap
14305 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14312 * check/Makefile.am:
14313 * docs/gst/Makefile.am:
14314 * examples/helloworld/Makefile.am:
14316 * gst/base/Makefile.am:
14317 * gst/check/Makefile.am:
14318 * gst/elements/Makefile.am:
14319 * gst/indexers/Makefile.am:
14320 * gst/parse/Makefile.am:
14321 * libs/gst/controller/Makefile.am:
14322 * libs/gst/dataprotocol/Makefile.am:
14323 * examples/helloworld/helloworld.c: (event_loop):
14324 compile fixes, though it's not being compiled currently
14326 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14328 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
14329 Add some simple tests for the new taglist date API.
14331 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14333 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
14334 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
14335 Beautify 'last-message' output: print 'none' for buffer timestamps
14336 and durations if none is set; improve alignment with next messages.
14338 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14340 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
14341 * gst/gstpluginfeature.h:
14342 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
14343 * gst/gstregistry.h:
14344 * docs/gst/gstreamer-sections.txt:
14345 Add new API to check plugin feature version requirements.
14347 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
14348 Some basic tests for the above.
14350 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14352 * gst/gststructure.c: (gst_structure_to_string):
14353 guard against NULL printf - happens when for example
14354 a message structure with GstClock gets serialized
14356 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
14358 * gst/base/gstcollectpads.c: (gst_collectpads_event):
14359 Fix presumable copy'n'pasto.
14361 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14363 * gst/elements/gstfakesrc.h:
14364 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
14365 * gst/elements/gsttypefindelement.c:
14366 fix some signedness
14367 * gst/elements/gstfilesink.c: (gst_file_sink_render):
14368 I wonder if this could actually write +2GB files before
14370 2005-10-13 Andy Wingo <wingo@pobox.com>
14372 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
14373 Fix Timmeke Waymans bug.
14374 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
14375 string of the proper length to gst_caps_from_string. There's a
14376 potential for, before this fix, that this could cause someone
14377 connecting over the network to cause a segfault if the payload is
14378 not NUL-terminated.
14380 2005-10-13 Stefan Kost <ensonic@users.sf.net>
14382 * docs/design/draft-push-pull.txt:
14383 * docs/design/part-overview.txt:
14384 * docs/random/TODO-pre-0.9:
14385 * docs/random/old/ChangeLog.gstreamer:
14386 * gst/base/gstpushsrc.c:
14390 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14392 * gst/glib-compat.c: (gst_flags_get_first_value):
14393 * gst/glib-compat.h:
14394 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
14395 (gst_value_compare_double), (gst_value_serialize_flags):
14396 GLib 2.6 g_flags_get_first_value has a bug that triggers an
14399 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14401 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14402 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14404 * tools/gst-launch.c: (event_loop):
14405 print out clock nicely
14407 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
14409 * docs/gst/gstreamer-sections.txt:
14410 * gst/gsttaglist.h:
14411 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
14412 (gst_tag_list_get_date_index):
14413 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
14414 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
14416 2005-10-13 Julien MOUTTE <julien@moutte.net>
14418 * gst/base/gstcollectpads.c: (gst_collectpads_event),
14419 (gst_collectpads_chain):
14420 * gst/base/gstcollectpads.h: Handle newsegment and store informations
14423 2005-10-13 Stefan Kost <ensonic@users.sf.net>
14425 * docs/gst/gstreamer-sections.txt:
14428 * tools/gst-inspect.c: (main):
14429 * tools/gst-launch.c: (main):
14430 * tools/gst-run.c: (main):
14431 * tools/gst-xmlinspect.c: (main):
14432 fix GOption context leaks
14435 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14439 * win32/common/config.h:
14441 * win32/vs6/grammar.dsp:
14442 * win32/vs6/libgstelements.dsp:
14443 * win32/vs6/libgstreamer.dsp:
14446 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14448 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14449 * gst/base/gstbasesrc.c: (gst_base_src_query):
14450 fix more guint64<->gdouble conversions
14452 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14455 add win32-update target
14456 * win32/common/gstconfig.h:
14457 * win32/common/gstenumtypes.c:
14458 * win32/common/gstenumtypes.h:
14459 * win32/common/gstversion.h:
14460 add files that visual studio can't generate
14462 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14465 add a win32-update target
14468 2005-10-12 Wim Taymans <wim@fluendo.com>
14470 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14471 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
14472 * gst/gstelement.c: (gst_element_commit_state),
14473 (gst_element_set_state):
14474 Protect flags with proper lock.
14475 unref provided cached clock in dispose.
14477 2005-10-12 Stefan Kost <ensonic@users.sf.net>
14480 * gst/gstminiobject.h:
14482 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
14483 removed unused flags from miniobject
14486 2005-10-12 Wim Taymans <wim@fluendo.com>
14488 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14489 (gst_file_sink_event), (gst_file_sink_render):
14490 Flush before seeking.
14492 2005-10-12 Andy Wingo <wingo@pobox.com>
14494 * gst/gst.c (gst_init_check): Ignore unknown options, as has
14495 always been the case.
14497 2005-10-12 Stefan Kost <ensonic@users.sf.net>
14499 * check/gst/gstbin.c: (GST_START_TEST):
14500 * docs/gst/gstreamer-sections.txt:
14501 * gst/base/gstbasesink.c: (gst_base_sink_init):
14502 * gst/base/gstbasesrc.c: (gst_base_src_init),
14503 (gst_base_src_get_range), (gst_base_src_check_get_range),
14504 (gst_base_src_start), (gst_base_src_stop):
14505 * gst/base/gstbasesrc.h:
14506 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
14507 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14508 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
14512 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
14514 * gst/gstelement.c: (gst_element_is_locked_state),
14515 (gst_element_set_locked_state), (gst_element_commit_state),
14516 (gst_element_set_state):
14517 * gst/gstelement.h:
14518 * gst/gstindex.c: (gst_index_init):
14520 * gst/gstminiobject.h:
14521 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
14522 (gst_object_set_parent):
14524 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
14525 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
14527 * gst/gstpadtemplate.h:
14528 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
14529 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14530 * gst/gstpipeline.h:
14531 * gst/indexers/gstfileindex.c: (gst_file_index_load),
14532 (gst_file_index_commit):
14533 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
14534 * testsuite/pad/link.c: (gst_test_src_init),
14535 (gst_test_filter_init), (gst_test_sink_init):
14536 * testsuite/states/locked.c: (main):
14537 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
14538 moved bitshift from macro to enum definition
14540 2005-10-12 Wim Taymans <wim@fluendo.com>
14542 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
14543 * gst/elements/gstfilesink.c: (gst_file_sink_event),
14544 (gst_file_sink_render):
14545 Some more debugging info.
14547 2005-10-12 Wim Taymans <wim@fluendo.com>
14549 * docs/design/part-states.txt:
14550 * tools/gst-launch.c: (main):
14552 Revert non-intentional change.
14554 2005-10-12 Wim Taymans <wim@fluendo.com>
14556 * check/gst/gstbin.c: (GST_START_TEST):
14557 * check/gst/gstelement.c: (GST_START_TEST):
14558 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
14559 * check/gst/gstghostpad.c: (GST_START_TEST):
14560 * check/gst/gstpipeline.c: (GST_START_TEST):
14561 * check/pipelines/simple_launch_lines.c: (run_pipeline):
14562 * check/states/sinks.c: (GST_START_TEST):
14563 * gst/elements/gsttypefindelement.c: (stop_typefinding):
14564 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14565 (gst_bin_remove_func), (gst_bin_get_state_func),
14566 (gst_bin_recalc_state), (gst_bin_change_state_func),
14568 * gst/gstelement.c: (gst_element_get_state_func),
14569 (gst_element_get_state), (gst_element_abort_state),
14570 (gst_element_commit_state), (gst_element_set_state),
14571 (gst_element_change_state), (gst_element_change_state_func):
14572 * gst/gstelement.h:
14573 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
14574 (gst_pipeline_provide_clock_func):
14575 * gst/gstutils.c: (gst_element_link_pads_filtered):
14576 * tools/gst-launch.c: (main):
14577 * tools/gst-typefind.c: (main):
14578 Use GstClockTime in _get_state() instead of GTimeVal.
14579 Remove old code in gstutils.c
14581 2005-10-12 Andy Wingo <wingo@pobox.com>
14583 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
14586 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
14587 there is no task. Shouldn't affect any code, as nothing in our
14588 plugins checks this return value.
14589 (gst_pad_stop_task): Also take the stream lock if the pad has no
14590 task. Docs updated.
14592 2005-10-12 Wim Taymans <wim@fluendo.com>
14594 * gst/gstpad.c: (pre_activate), (post_activate),
14595 (gst_pad_activate_pull), (gst_pad_activate_push):
14596 Cleanup activation code. Reset old state if
14599 2005-10-12 Wim Taymans <wim@fluendo.com>
14601 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14602 (gst_base_sink_change_state):
14603 No need to prerol after receiving EOS.
14605 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14606 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
14607 * gst/elements/gstidentity.c: (gst_identity_event):
14608 Print events more verbosely.
14610 2005-10-12 Wim Taymans <wim@fluendo.com>
14612 * check/Makefile.am:
14613 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14614 * check/states/sinks2.c:
14615 Moved sinks2 testcode in sinks check.
14617 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14618 (gst_bin_remove_func), (gst_bin_recalc_state),
14619 (gst_bin_change_state_func), (bin_bus_handler):
14620 Fix potential race condition when _get_state() iterated over an
14621 ASYNC element right before it posted a state completion.
14624 Do proper cast here.
14626 * gst/gstevent.c: (gst_event_new_newsegment),
14627 (gst_event_parse_newsegment):
14628 A playback rate of 0.0 is not allowed.
14630 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14632 * win32/common/config.h:
14633 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
14634 (_trewinddir), (_ttelldir), (_tseekdir):
14635 * win32/common/dirent.h:
14636 * win32/common/gtchar.h:
14637 * win32/common/libgstbase.def:
14638 * win32/common/libgstreamer.def:
14639 * win32/vs6/grammar.dsp:
14640 * win32/vs6/gst_inspect.dsp:
14641 * win32/vs6/gst_launch.dsp:
14642 * win32/vs6/gstreamer.dsw:
14643 * win32/vs6/libgstbase.dsp:
14644 * win32/vs6/libgstelements.dsp:
14645 * win32/vs6/libgstreamer.dsp:
14646 Visual Studio 6 project files, and a new common directory.
14649 2005-10-11 Wim Taymans <wim@fluendo.com>
14651 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14652 (gst_base_sink_do_sync), (gst_base_sink_query),
14653 (gst_base_sink_change_state):
14654 * gst/base/gstbasesink.h:
14655 Correctly parse newsegment info.
14657 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14659 * gst/gst.c: (init_post):
14660 split plugin paths correctly
14662 2005-10-11 Wim Taymans <wim@fluendo.com>
14664 * check/gst/gstevent.c: (GST_START_TEST):
14665 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14666 (gst_base_sink_change_state):
14667 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14668 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14669 * gst/elements/gstfilesink.c: (gst_file_sink_event):
14670 * gst/gstevent.c: (gst_event_new_newsegment),
14671 (gst_event_parse_newsegment):
14673 Added extra flag to newsegment for future API freeze.
14674 Updated check and base elements.
14676 2005-10-11 Julien MOUTTE <julien@moutte.net>
14678 * gst/base/gstcollectpads.c: (gst_collectpads_init),
14679 (gst_collectpads_add_pad), (gst_collectpads_pop),
14680 (gst_collectpads_event), (gst_collectpads_chain):
14681 * gst/base/gstcollectpads.h: Handle EOS correctly.
14683 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14685 * tools/gst-launch.c: (main):
14686 more null protecting
14688 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14690 * gst/gst-i18n-lib.h:
14691 check for ENABLE_NLS, not GETTEXT_PACKAGE
14692 * gst/gstregistry.c: (gst_registry_add_plugin),
14693 (gst_registry_scan_path_level),
14694 (_gst_registry_remove_cache_plugins):
14695 protect possibly NULL strings
14696 * gst/parse/types.h:
14697 config.h already included before
14698 * tools/gst-inspect.c: (main):
14699 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14700 check for ENABLE_NLS, not GETTEXT_PACKAGE
14701 * tools/gst-launch.c: (main):
14702 check for ENABLE_NLS, not GETTEXT_PACKAGE
14704 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14707 if we don't have glib, fail before testing 2.8
14708 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14709 fix a leak, should fix plugins-base testsuite
14711 2005-10-11 Andy Wingo <wingo@pobox.com>
14713 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14714 take the mode we're going to as an arg. Go head and set the mode
14715 and flushing flags now, so that if the activate function starts a
14716 thread all the flags will be in the right state.
14717 (post_activate): Renamed also. Just handle making sure streaming
14718 finishes for the deactivation case, and setting the deactivated
14720 (gst_pad_set_active): Complain loudly if deactivation fails.
14721 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14722 (gst_pad_activate_push): Adapt to pre/post_activate changes,
14723 remove the terrible hack.
14725 2005-10-11 Wim Taymans <wim@fluendo.com>
14727 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14728 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14729 (gst_bin_recalc_state), (gst_bin_change_state_func),
14730 (gst_bin_dispose), (bin_bus_handler):
14732 Prepare to make current EOS message queue more generic.
14735 * gst/gstevent.c: (gst_event_new_newsegment),
14736 (gst_event_parse_newsegment):
14738 Rename base to stream_time.
14740 * gst/gstmessage.h:
14743 2005-10-11 Wim Taymans <wim@fluendo.com>
14745 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14746 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14747 (gst_bin_change_state_func), (bin_bus_handler):
14749 Work on proper clock selection.
14751 2005-10-11 Edward Hervey <edward@fluendo.com>
14753 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
14754 * libs/gst/controller/gstcontroller.h:
14755 Added GList* version of _remove_properties() in order to be able to wrap
14758 2005-10-11 Wim Taymans <wim@fluendo.com>
14760 * docs/design/part-states.txt:
14763 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14764 (gst_bin_change_state_func), (bin_bus_handler):
14765 Doc updates. Don't distribute the same clock over and over again.
14771 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14772 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14773 (gst_pad_send_event):
14775 Make probe emission threadsafe again.
14776 Register quarks and move _get_name() from utils.
14779 * gst/gstpipeline.c: (gst_pipeline_class_init),
14780 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14781 Only redistribute the clock of it changed.
14783 * gst/gstsystemclock.h:
14788 Moved the _flow_get_name() to GstPad.
14790 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14792 * check/gst-libs/gdp.c: (GST_START_TEST):
14793 * check/gst/gstcaps.c: (GST_START_TEST):
14794 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14795 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14796 (gst_dp_packet_from_caps):
14797 fix more valgrind warnings before turning up the heat
14799 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14801 * gst/parse/grammar.y:
14802 some cleanup before the hacking
14804 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14806 * gst/base/gstbasesrc.c: (gst_base_src_query):
14808 * gst/gstutils.c: (gst_guint64_to_gdouble),
14809 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14811 externalize, basesrc uses it
14812 obviously the implementation needs testing
14814 2005-10-10 Wim Taymans <wim@fluendo.com>
14816 * tests/sched/Makefile.am:
14817 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14818 (make_pipeline3), (make_pipeline4), (print_elem), (main):
14820 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14822 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14823 apparently converting from guint64 to double is not implemented
14826 2005-10-10 Wim Taymans <wim@fluendo.com>
14828 * check/Makefile.am:
14829 * check/generic/states.c: (GST_START_TEST):
14830 * check/gst/gstbin.c: (GST_START_TEST):
14831 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14832 * check/states/sinks.c: (GST_START_TEST):
14833 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14835 Check fixes, use API as stated in design docs, remove hacks.
14837 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14838 (gst_base_sink_change_state):
14839 Catch stopping our task while we're shutting down.
14841 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14842 (gst_bin_remove_func), (gst_bin_get_state_func),
14843 (gst_bin_recalc_state), (gst_bin_change_state_func),
14846 * gst/gstelement.c: (gst_element_init),
14847 (gst_element_get_state_func), (gst_element_abort_state),
14848 (gst_element_commit_state), (gst_element_lost_state),
14849 (gst_element_set_state), (gst_element_change_state),
14850 (gst_element_change_state_func):
14851 * gst/gstelement.h:
14852 New state change algorithm (see #318116)
14854 * gst/gstpipeline.c: (gst_pipeline_class_init),
14855 (gst_pipeline_init), (gst_pipeline_set_property),
14856 (gst_pipeline_get_property), (do_pipeline_seek),
14857 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14858 * gst/gstpipeline.h:
14859 Remove crude state change hacks.
14862 Remove crude hacks.
14864 * tools/gst-launch.c: (main):
14865 Fixes for state change. Needs some more work to fully use the
14868 2005-10-10 Andy Wingo <wingo@pobox.com>
14870 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14872 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14873 this flag, but it's not even in GLib 2.6. Odd. Hack around the
14876 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14878 * gst/gstiterator.c: (gst_iterator_new):
14879 Fix my previous commit: GTypes passed to gst_iterator_new()
14880 can be fundamental types.
14882 2005-10-10 Wim Taymans <wim@fluendo.com>
14884 * gst/gstelement.c: (gst_element_iterate_pad_list),
14885 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14886 (gst_element_iterate_sink_pads):
14887 Use src/sink pads lists for the respective iterators instead
14890 2005-10-10 Andy Wingo <wingo@pobox.com>
14892 Merged in popt removal + GOption addition patch from Ronald, bug
14895 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14896 GstElement macros around, remove popt-related symbols, add goption
14899 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14901 * docs/gst/Makefile.am:
14902 * docs/libs/Makefile.am: No POPT_CFLAGS.
14904 * examples/manual/Makefile.am:
14905 * docs/manual/basics-init.xml: Doc updates with an example.
14907 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14908 (gst_init), (parse_one_option), (parse_goption_arg):
14909 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14910 bit of hand merging and debugging to get the GOption stuff working
14913 * tests/Makefile.am:
14914 * tools/Makefile.am:
14915 * tools/gst-inspect.c: (main):
14916 * tools/gst-launch.c: (main):
14917 * tools/gst-run.c: (main):
14918 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14920 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14922 * gst/gstiterator.c: (gst_iterator_new):
14923 Add assertions to make sure passed GType is likely to really
14924 be a GType (as the compiler won't catch it if the size and
14925 GType arguments get mixed up, see #318447).
14927 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
14929 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14931 * gst/gstbin.c: (gst_bin_iterate_sorted):
14932 Pass GType and size arguments to gst_iterator_new() in the right
14933 order (maybe we should make _new() take the GType as first argument
14934 just like _new_list()?) (#318447).
14937 2005-10-10 Wim Taymans <wim@fluendo.com>
14939 * gst/gstelement.c: (gst_element_finalize):
14940 And free the GStaticRecMutex too
14942 2005-10-10 Andy Wingo <wingo@pobox.com>
14944 * gst/gstelement.c (gst_element_init, gst_element_finalize):
14945 Allocate and free the mutex properly.
14947 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14949 (GstElement): The state_lock is now recursive. Rebuild your
14950 plugins, suckers. Old macros adapted.
14952 * docs/gst/gstreamer-sections.txt: Doc updates.
14955 * gst/gstutils.c (g_static_rec_cond_timed_wait)
14956 (g_static_rec_cond_wait): Ported from state changes patch, while
14957 we wait on bug #317802 to be solved in a well-distributed GLib.
14959 * gst/gstelement.c (gst_element_change_state_func): Renamed from
14960 gst_element_change_state, variable name changes.
14961 (gst_element_change_state): Split out of gst_element_set_state in
14962 preparation for the state change merge. Doesn't pay attention to
14963 the 'transition' argument.
14964 (gst_element_set_state): Updates, hopefully purely cosmetic.
14965 (gst_element_sync_state_with_parent): MT-safety. Ported from the
14966 state change patch.
14967 (gst_element_get_state_func): Renamed from get_state, cosmetic
14970 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14972 * gst/elements/gstelements.c:
14973 * win32/GStreamer.vcproj:
14975 * win32/dirent.c: (_tseekdir):
14976 * win32/gst-inspect.vcproj:
14977 * win32/gst-launch.vcproj:
14978 * win32/gstconfig.h:
14979 * win32/gstelements.vcproj:
14980 * win32/gstenumtypes.c: (gst_object_flags_get_type):
14981 * win32/gstreamer.def:
14982 * win32/msvc71.sln:
14983 updates for the win32 build (patch from Sebastien Moutte)
14985 2005-10-10 Andy Wingo <wingo@pobox.com>
14987 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14988 gst_bin_get_state, cleaned up (but no logic changes).
14989 (bin_element_is_sink): Comment updates.
14990 (sink_iterator_filter): Remove needless cast.
14991 (gst_bin_iterate_sinks): Doc update.
14992 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14993 cleaned up (but no logic changes).
14995 * check/states/sinks.c (test_src_sink): Cleanups from the state
14997 (test_livesrc_sink): Sync on the state.
14999 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
15000 the state change patch.
15002 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
15005 * check/gst/gstbin.c: Merge in some style fixes and additional
15006 checks from Wim's state change patch.
15008 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
15010 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15011 (gst_type_find_helper):
15012 Check whether we have the requested data already in our list of
15013 cached buffers before pulling a new buffer; also make the buffer
15014 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
15016 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
15021 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15022 don't use long long, it's not portable. Replacing with
15023 gint64 seems to work; let's hope no skeletons fall out of the closet.
15025 2005-10-10 Andy Wingo <wingo@pobox.com>
15027 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
15029 2005-10-09 Stefan Kost <ensonic@users.sf.net>
15031 * docs/gst/gstreamer-sections.txt:
15036 * gst/gstmessage.c: (gst_message_parse_state_changed):
15039 more docs, fix compilation
15041 2005-10-09 Philippe Khalaf <burger@speedy.org>
15042 * gst/gstmessage.c:
15043 Fixed a few forgotten variables on previous commit
15045 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
15047 * gst/base/gsttypefindhelper.c: (helper_find_peek):
15048 Fix evil typefind crasher: getrange() might return a short
15049 buffer at the end of a file, but gst_type_find_peek() must
15050 either return the full data as requested or NULL, but
15051 never a short buffer.
15053 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
15055 * gst/gstmessage.c: (gst_message_new_state_changed),
15056 (gst_message_parse_state_changed):
15057 * gst/gstmessage.h:
15058 don't use "new", it's a C++ keyword
15060 2005-10-08 Wim Taymans <wim@fluendo.com>
15062 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
15063 * gst/gstelement.c: (gst_element_post_message):
15064 * gst/gstpipeline.c: (gst_pipeline_change_state):
15065 Small docs and debug updates.
15067 2005-10-08 Stefan Kost <ensonic@users.sf.net>
15069 * docs/gst/gstreamer-sections.txt:
15070 * gst/gstelementfactory.c:
15072 * gst/gsttaglist.c:
15075 2005-10-08 Wim Taymans <wim@fluendo.com>
15077 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
15078 (gst_bin_dispose), (bin_bus_handler):
15079 Fix typos, add comments.
15080 Clear EOS list when going to PAUSED from any direction and do it
15081 in a threadsafe way.
15082 Get base time in a threadsafe way too.
15083 Fix confusing debug in the change_state function.
15084 Various other small cleanups.
15086 * gst/gstelement.c: (gst_element_post_message):
15087 Fix very verbose bus posting code.
15089 * gst/gstpipeline.c: (gst_pipeline_class_init),
15090 (gst_pipeline_set_property), (gst_pipeline_get_property),
15091 (gst_pipeline_change_state):
15092 Small ARG_ -> PROP_ cleanup
15094 2005-10-08 Wim Taymans <wim@fluendo.com>
15096 * gst/gstbin.c: (is_eos), (bin_bus_handler):
15097 Do a less CPU demanding EOS check because we can.
15099 2005-10-08 Wim Taymans <wim@fluendo.com>
15101 * libs/gst/dataprotocol/dataprotocol.c:
15102 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
15103 (gst_dp_packet_from_event):
15104 * libs/gst/dataprotocol/dataprotocol.h:
15105 * libs/gst/dataprotocol/dp-private.h:
15106 It's about time we bump the version number.
15107 Since event types don't fit in the guint8 anymore describing
15108 the payload type, make payload type 16 bits wide.
15110 2005-10-08 Wim Taymans <wim@fluendo.com>
15112 * docs/design/part-TODO.txt:
15113 * docs/design/part-clocks.txt:
15114 * docs/design/part-events.txt:
15115 * docs/design/part-gstbin.txt:
15116 * docs/design/part-gstelement.txt:
15117 * docs/design/part-gstpipeline.txt:
15118 * docs/design/part-live-source.txt:
15119 * docs/design/part-messages.txt:
15120 * docs/design/part-overview.txt:
15121 * docs/design/part-states.txt:
15124 2005-10-08 Wim Taymans <wim@fluendo.com>
15128 Fix event quark registration.
15129 Add some space between events so we can insert them in the
15132 2005-10-08 Wim Taymans <wim@fluendo.com>
15134 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15135 (gst_base_sink_handle_buffer):
15136 Better log message.
15139 * gst/gstelement.h:
15142 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
15143 (gst_queue_set_property), (gst_queue_get_property):
15145 Remove old unused properties.
15147 2005-10-08 Stefan Kost <ensonic@users.sf.net>
15148 * docs/gst/gstreamer-sections.txt:
15149 * gst/gstmessage.c:
15150 * gst/gstmessage.h:
15151 * gst/gstminiobject.c:
15152 * gst/gstminiobject.h:
15156 lots of new docs and doc fixes
15158 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15160 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
15162 * gst/gstregistry.c: (gst_registry_lookup_locked),
15163 (gst_registry_scan_path_level):
15164 * gst/gstregistryxml.c: (load_plugin):
15165 Only ever load one plugin for a given plugin basename.
15166 This ensures correct overriding of GST_PLUGIN_PATH over
15167 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
15168 system installed plugins.
15170 2005-10-08 Wim Taymans <wim@fluendo.com>
15172 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15173 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
15174 Prepare for doing QOS.
15176 2005-10-08 Wim Taymans <wim@fluendo.com>
15178 * check/gst/gstbin.c: (GST_START_TEST):
15179 * check/pipelines/cleanup.c: (GST_START_TEST):
15180 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15181 Allow new clock message too.
15183 2005-10-08 Wim Taymans <wim@fluendo.com>
15185 * gst/gstmessage.c: (gst_message_new_error),
15186 (gst_message_new_warning), (gst_message_new_tag),
15187 (gst_message_new_state_changed), (gst_message_new_clock_provide),
15188 (gst_message_new_clock_lost), (gst_message_new_new_clock),
15189 (gst_message_new_segment_start), (gst_message_new_segment_done),
15190 (gst_message_parse_state_changed),
15191 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
15192 (gst_message_parse_new_clock):
15193 * gst/gstmessage.h:
15194 Also carry the clock in question.
15196 2005-10-08 Wim Taymans <wim@fluendo.com>
15198 * gst/gstmessage.c: (gst_message_new_custom),
15199 (gst_message_new_eos), (gst_message_new_error),
15200 (gst_message_new_warning), (gst_message_new_tag),
15201 (gst_message_new_state_changed), (gst_message_new_clock_provide),
15202 (gst_message_new_new_clock), (gst_message_new_segment_start),
15203 (gst_message_new_segment_done), (gst_message_parse_state_changed),
15204 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
15205 * gst/gstmessage.h:
15207 Added clock related messages.
15209 * gst/gstpipeline.c: (gst_pipeline_change_state):
15210 Post message when the clock changed.
15212 * tools/gst-launch.c: (event_loop):
15215 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
15217 * tools/gst-inspect.c: (print_element_properties_info):
15218 Can't pass NULL strings to g_print() on windows.
15220 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15222 * docs/Makefile.am:
15223 * docs/gst/Makefile.am:
15224 * docs/gst/gstreamer-docs.sgml:
15225 * docs/gst/running.xml:
15226 * docs/version.entities.in:
15227 add a chapter on running GStreamer.
15228 document GST_DEBUG and GST_PLUGIN* env vars
15230 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15235 remove PLUGINS_BUILDDIR stuff
15236 * gst/gst.c: (init_post):
15237 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
15239 remove, it was condescending and not needed
15241 2005-10-08 Wim Taymans <wim@fluendo.com>
15243 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
15244 (gst_base_sink_handle_object), (gst_base_sink_event),
15245 (gst_base_sink_wait), (gst_base_sink_handle_event),
15246 (gst_base_sink_change_state):
15247 * gst/base/gstbasesink.h:
15248 Repost EOS message while going to PLAYING if still EOS.
15249 Make sure that when receiving a FLUSH_START we don't attempt
15250 to sync on the clock anymore.
15252 2005-10-08 Wim Taymans <wim@fluendo.com>
15254 * tools/gst-launch.c: (event_loop):
15255 Better message printout.
15257 2005-10-08 Wim Taymans <wim@fluendo.com>
15259 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
15260 (gst_bin_child_proxy_get_children_count):
15261 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
15262 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
15263 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
15264 (gst_child_proxy_set_valist):
15265 * gst/parse/grammar.y:
15266 Make ChildProxy threadsafe and fix mem leaks.
15268 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15270 * gst/gst.c: (init_post):
15271 debug the GST_PLUGIN_ env vars
15273 2005-10-08 Wim Taymans <wim@fluendo.com>
15275 * check/gst/gstbin.c: (GST_START_TEST):
15276 * check/gst/gstmessage.c: (GST_START_TEST):
15277 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15278 * gst/gstelement.c: (gst_element_commit_state),
15279 (gst_element_lost_state):
15280 * gst/gstmessage.c: (gst_message_new_state_changed),
15281 (gst_message_parse_state_changed):
15282 * gst/gstmessage.h:
15283 * tools/gst-launch.c: (event_loop):
15284 Added extra field to STATE_CHANGE message with the pending
15285 state, which will be different from the new state soon.
15287 2005-10-08 Wim Taymans <wim@fluendo.com>
15289 * gst/gstbus.c: (gst_bus_pop):
15291 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15292 Small cleanups and doc updates.
15294 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15296 * gst/gst.c: (init_pre):
15297 * gst/gstbin.c: (gst_bin_add_func):
15298 log distributing clocks and base time
15299 * gst/gstregistry.c: (gst_registry_add_plugin),
15300 (gst_registry_scan_path_level), (gst_registry_scan_path):
15301 clean up the debugging output a little
15302 * gst/gstutils.c: (gst_element_state_get_name):
15303 warn about a memleak (I've actually seen this be used, though
15304 it was probably a bug)
15306 2005-10-07 Wim Taymans <wim@fluendo.com>
15308 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15309 (gst_base_src_init), (gst_base_src_default_newsegment),
15310 (gst_base_src_newsegment), (gst_base_src_do_seek),
15311 (gst_base_src_loop), (gst_base_src_start):
15312 * gst/base/gstbasesrc.h:
15313 Make the newsegment event customizable by subclasses.
15315 2005-10-07 Wim Taymans <wim@fluendo.com>
15317 * gst/gstevent.c: (gst_event_new_buffersize),
15318 (gst_event_parse_buffersize):
15320 New event for future idea.
15322 2005-10-07 Andy Wingo <wingo@pobox.com>
15324 * gst/gstelement.c (gst_element_post_message): Doc update.
15326 * docs/gst/gstreamer-sections.txt: Update.
15328 * gst/gstmessage.c (gst_message_new_application): Made into a
15329 function like honest API calls.
15330 (gst_message_new_element): New message type.
15332 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
15334 * check/elements/fakesrc.c (test_no_preroll): New check, checks
15335 that setting a live fakesrc to PAUSED returns NO_PREROLL both
15338 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
15339 NO_PREROLL from gst_element_change_state to fall through.
15341 2005-10-07 Wim Taymans <wim@fluendo.com>
15343 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
15344 (gst_ghost_pad_do_activate_push):
15345 Activating a ghostpad with no internal pad in push mode
15348 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
15351 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
15352 Fixes compilation on Windows.
15354 2005-10-07 Michael Smith <msmith@fluendo.com>
15356 * tools/gst-inspect.c:
15357 Print out feature and plugin count at the end when printing out
15360 2005-10-04 Michael Smith <msmith@fluendo.com>
15362 * gst/gsterror.c: (_gst_stream_errors_init):
15363 Add another error string used in a few existing plugins.
15366 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15367 * tools/gst-inspect.c: (print_element_info):
15368 When a feature disappears from a plugin (and the feature exists in
15369 the cached registry file), things went horribly wrong. This isn't a
15370 complete fix, we should actually be removing the 'missing' features
15371 from the features list when we load the actual plugin. That's not
15374 2005-10-04 Johan Dahlin <johan@gnome.org>
15376 * check/gst/gstiterator.c: (GST_START_TEST):
15377 * gst/gstbin.c: (gst_bin_iterate_elements),
15378 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
15379 * gst/gstelement.c: (gst_element_iterate_pads):
15380 * gst/gstformat.c: (gst_format_iterate_definitions):
15381 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
15382 (gst_iterator_new_list), (gst_iterator_filter):
15383 * gst/gstiterator.h:
15384 * gst/gstquery.c: (gst_query_type_iterate_definitions):
15385 Add a GType to GstIterator, update callsites and tests.
15387 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15389 * gst/gstpad.c: (gst_pad_event_default_dispatch):
15390 give events a chance to be handled by event probes when the pad
15393 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15395 * gst/gstevent.c: (gst_event_type_get_name),
15396 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
15398 add string representations for event types
15400 2005-10-06 Wim Taymans <wim@fluendo.com>
15402 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
15403 Don't use NULL pointers.
15405 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15407 * gst/gst_private.h:
15409 * gst/gstelement.c:
15411 * gst/gstpluginfeature.c:
15412 widen the debug category in output to fit the biggest one we have
15413 add a bus category and use it
15414 play with the colors
15415 fix up some categories
15417 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15419 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
15420 add push activation of sink ghost pads.
15421 Andye, please verify
15423 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
15425 * gst/gstutils.c: (gst_element_link_pads):
15426 fix a bug in the case where neither element has a pad
15427 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15428 add a test for that case
15430 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
15432 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
15433 emit have-data before checking for peers. This allows
15434 for probe handlers to connect elements. This helps autopluggers.
15435 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
15437 add six checks, linked/unlinked with no/true/false probe
15439 2005-10-04 Wim Taymans <wim@fluendo.com>
15441 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
15442 (gst_fake_sink_event), (gst_fake_sink_preroll),
15443 (gst_fake_sink_render), (gst_fake_sink_change_state):
15444 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
15445 (gst_fake_src_get_property), (gst_fake_src_create),
15446 (gst_fake_src_stop):
15447 * gst/elements/gstidentity.c: (gst_identity_stop):
15448 Protect last_message with lock.
15450 2005-10-04 Edward Hervey <edward@fluendo.com>
15453 Added precision in the comments for GST_FORMAT_DEFAULT
15455 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
15457 * tools/gst-launch.c: (main):
15458 Don't try to run erroneous pipelines.
15460 2005-10-04 Julien MOUTTE <julien@moutte.net>
15462 * gst/gstbus.c: We don't need this header.
15464 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
15467 back to development
15469 === release 0.9.3 ===
15471 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
15475 Releasing 0.9.3, "Unregistered"
15477 2005-10-03 Andy Wingo <wingo@pobox.com>
15479 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
15480 whereby calling a pad's activatepush() function can start a thread
15481 that starts to push or pull before the pad gets the FLUSHING flag
15482 unset. Hack around it by holding the stream lock until the flag is
15483 set. Need to replace this with a proper solution. Together with
15484 the ghost pad fixes, this fixes mp3 playing/tagreading.
15486 * docs/design/part-gstghostpad.txt: Add a note about activation of
15487 proxy pads outside of ghost pads.
15489 * gst/gstghostpad.c: Implement the ghost pad activation design.
15491 2005-10-02 Andy Wingo <wingo@pobox.com>
15493 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
15494 It is volatile, after all.
15496 * docs/design/part-gstghostpad.txt: Flesh out activation with
15499 * gst/base/gstbasesrc.c (gst_base_src_init): Use
15502 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
15505 Fix (unused) AM_CONDITIONAL tests.
15507 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
15509 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15511 * gst/gstutils.c: (gst_pad_query_convert):
15512 Add assertion that makes sure src_val is >=0, just like
15513 gst_query_new_convert() has. (#315895)
15515 2005-09-30 Edward Hervey <edward@fluendo.com>
15517 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
15518 Let's not iterate pads we're not interested in, it avoids getting
15519 sky-high refcounts on sinkpad.
15521 2005-09-30 Wim Taymans <wim@fluendo.com>
15523 * gst/gstelement.c: (gst_element_set_state),
15524 (gst_element_change_state):
15525 Small tweak, element in ASYNC remains ASYNC.
15527 2005-09-30 Wim Taymans <wim@fluendo.com>
15529 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15530 Only error is an error.
15532 * gst/gstbin.c: (gst_bin_change_state):
15535 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
15536 Also call pad_block in pad alloc.
15538 * gst/gstutils.c: (gst_flow_get_name):
15541 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15543 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15544 (gst_base_src_get_range):
15545 Fix documentation typos. Add some more debug info.
15547 2005-09-29 David Schleef <ds@schleef.org>
15549 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
15550 more end-user friendly.
15551 * tools/gst-inspect.c: (main): Check if command-line argument is
15552 a file and attempt to load that file as a plugin.
15554 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15556 * check/gst/gstbin.c:
15557 * check/states/sinks.c:
15558 fix tests for the new warning
15559 * check/gst/gstpipeline.c:
15560 add a test for pipeline and bus interaction
15561 * gst/gstelement.c:
15562 elements should be NULL if they get disposed; add a warning if not
15564 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15567 for 2.6 refcounting, make debug log more correct by printing
15568 the actual refcounts at the time of swap (Wim)
15570 2005-09-29 Andy Wingo <wingo@pobox.com>
15572 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
15573 removes signal watches previously added via
15574 gst_bus_add_signal_watch.
15575 (gst_bus_add_signal_watch): Don't return the source id, just store
15576 it on the bus if there wasn't an id already.
15578 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
15579 add_signal_watch and remove_signal_watch.
15581 2005-09-29 Edward Hervey <edward@fluendo.com>
15583 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
15584 Better if we actually iterate the list :)
15586 2005-09-29 Wim Taymans <wim@fluendo.com>
15588 * check/gst/gstbin.c: (GST_START_TEST):
15589 Change for new bus API.
15591 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15592 (send_messages), (GST_START_TEST), (gstbus_suite):
15593 Change for new bus signal API.
15595 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
15596 (gst_bus_source_prepare), (gst_bus_source_check),
15597 (gst_bus_create_watch), (gst_bus_add_watch_full),
15598 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
15599 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
15601 Remove support for multiple GSources operating on different
15602 message types as it is too complex and unneeded when using
15604 Added support for receiving signals from the bus.
15606 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15608 * docs/libs/tmpl/gstdataprotocol.sgml:
15609 * docs/manual/advanced-dataaccess.xml:
15610 * gst/elements/gstcapsfilter.c:
15612 rename filter-caps to caps property
15614 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15616 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15617 More robust fraction string parsing.
15619 * docs/pwg/appendix-porting.xml:
15620 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
15622 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15624 * gst/gstcaps.c: (gst_caps_do_simplify):
15625 Thou shalt not free a structure and then continue using it
15626 in the next loop iteration.
15628 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
15630 Add test case for caps simplification.
15632 2005-09-29 Wim Taymans <wim@fluendo.com>
15634 * check/gst/gstbin.c: (GST_START_TEST):
15637 2005-09-29 Wim Taymans <wim@fluendo.com>
15639 * check/gst/gstbin.c: (GST_START_TEST):
15642 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15643 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15644 (find_element), (gst_bin_sort_iterator_next),
15645 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15646 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15647 (gst_bin_change_state), (gst_bin_dispose):
15648 A bin does not have a bus, it gets the bus from the parent.
15650 * gst/gstelement.c: (gst_element_requires_clock),
15651 (gst_element_provides_clock), (gst_element_is_indexable),
15652 (gst_element_is_locked_state), (gst_element_change_state),
15653 (gst_element_set_bus_func):
15656 * gst/gstpipeline.c: (gst_pipeline_class_init),
15657 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15658 The pipeline provides a bus.
15660 2005-09-28 Johan Dahlin <johan@gnome.org>
15662 * gst/gstmessage.c (gst_message_parse_state_changed): Use
15663 gst_structure_get_enum instead of gst_structure_get_int
15665 * gst/gststructure.c (gst_structure_get_enum): Impl.
15667 * gst/gststructure.h (gst_structure_get_enum): Add
15669 * docs/gst/gstreamer-sections.txt: Ditto
15671 * gst/gstmessage.c (gst_message_new_state_changed): Use
15672 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15673 which does introspection.
15674 Reviewed by Christian Schaller
15676 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15678 * gst/gstinfo.c: (gst_debug_log_default):
15679 don't do dummy g_strdup()s
15680 * libs/gst/controller/gstcontroller.c:
15681 (on_object_controlled_property_changed),
15682 (gst_controlled_property_new), (gst_controller_new_valist),
15683 (gst_controller_new_list),
15684 (gst_controller_remove_properties_valist), (gst_controller_set),
15685 (gst_controller_get), (gst_controller_sync_values),
15686 (gst_controller_get_value_array), (_gst_controller_class_init),
15687 (gst_controller_get_type):
15688 * libs/gst/controller/gstcontroller.h:
15689 * libs/gst/controller/gstinterpolation.c:
15690 (gst_controlled_property_find_timed_value_node):
15691 convert // to /**/ comments
15693 2005-09-28 Wim Taymans <wim@fluendo.com>
15695 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15696 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15697 (gst_bus_sync_signal_handler):
15699 Added async-message and sync-message signals to the bus.
15700 Added helper BusFunc to emit signals for all posted messages.
15702 * gst/gstmessage.c: (gst_message_type_get_name),
15703 (gst_message_type_to_quark), (gst_message_get_type):
15704 * gst/gstmessage.h:
15705 Register quarks for message names.
15707 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15709 * docs/libs/gstreamer-libs-sections.txt:
15710 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15711 (gst_controller_new_list):
15712 * libs/gst/controller/gstcontroller.h:
15713 added another constructor for language bindings
15715 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
15717 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15721 * gst/gstinfo.c: (_gst_debug_init):
15722 slightly more readable color for refcount debugging
15724 2005-09-28 Wim Taymans <wim@fluendo.com>
15726 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15727 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15728 (find_element), (gst_bin_sort_iterator_next),
15729 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15730 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15731 (gst_bin_change_state), (gst_bin_dispose):
15732 Small doc fixes. get_clock -> provide_clock.
15734 * gst/gstelement.c: (gst_element_class_init),
15735 (gst_element_provides_clock), (gst_element_provide_clock),
15736 (gst_element_get_clock), (gst_element_commit_state),
15737 (gst_element_lost_state):
15738 * gst/gstelement.h:
15739 Make get/set_clock() symetric. Add provide_clock vmethod since
15740 that is actually what this function does.
15742 * gst/gstpipeline.c: (gst_pipeline_class_init),
15743 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15744 (gst_pipeline_get_clock):
15745 get_clock -> provide_clock.
15747 2005-09-28 Andy Wingo <wingo@pobox.com>
15749 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15750 lieu of real docs...
15752 * gst/elements/gstfdsrc.c: Cleaned up a bit.
15754 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
15756 * gst/elements/gstcapsfilter.c:
15757 * gst/elements/gstfakesink.c:
15758 * gst/elements/gstfakesrc.c:
15759 * gst/elements/gstfdsink.c:
15760 * gst/elements/gstfdsrc.c:
15761 * gst/elements/gstfilesink.c:
15762 * gst/elements/gstfilesrc.c:
15763 * gst/elements/gstidentity.c:
15764 * gst/elements/gsttee.c:
15765 * gst/elements/gsttypefindelement.c:
15766 Make element details static.
15768 2005-09-28 Wim Taymans <wim@fluendo.com>
15770 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15771 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15772 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15773 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15774 (gst_bin_change_state), (gst_bin_dispose):
15775 Some documentation updates.
15776 Clean up dispose handlers.
15778 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15779 * gst/gstpad.c: (gst_pad_dispose):
15780 Clean up dispose handler.
15782 * gst/gstpipeline.c: (gst_pipeline_change_state):
15783 Removed spurious UNLOCK.
15785 2005-09-27 Stefan Kost <ensonic@users.sf.net>
15787 * docs/gst/gstreamer-sections.txt:
15788 * gst/base/gstbasesrc.h:
15789 * gst/gstelement.h:
15793 * gst/gstpipeline.c:
15794 * gst/gstpipeline.h:
15797 added two new functions to the docs
15798 documents all undocumented GstXXXFlags
15799 completed some incomplete docs
15801 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
15803 * gst/gstbin.c: (gst_bin_dispose):
15804 * gst/gstelement.c: (gst_element_dispose):
15805 remove now useless and leaky resurrection code in dispose
15806 * gst/base/gstbasesrc.c: (gst_base_src_init):
15807 * gst/gstelementfactory.c: (gst_element_factory_create):
15808 * gst/gstobject.c: (gst_object_set_parent):
15811 2005-09-27 Wim Taymans <wim@fluendo.com>
15813 * docs/design/part-TODO.txt:
15816 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15817 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15818 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15819 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15820 (gst_bin_change_state):
15821 * gst/gstelement.h:
15822 Remove element variable, we keep element info in the iterator now.
15824 2005-09-27 Andy Wingo <wingo@pobox.com>
15826 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15829 2005-09-27 Wim Taymans <wim@fluendo.com>
15831 * check/gst/gstbin.c: (GST_START_TEST):
15832 Enable check that works now.
15834 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15835 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15836 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15837 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15838 (gst_bin_change_state):
15840 Redid the state change algorithm using a topological sort algo.
15841 Handles all cases correctly.
15842 Exposed iterator for state change order.
15844 * gst/gstelement.h:
15845 Temp storage for state changes. Need to get rid of this soon.
15847 2005-09-27 Wim Taymans <wim@fluendo.com>
15849 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15850 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15851 (link_fold_func), (gst_pad_proxy_setcaps):
15852 Leak fixes, the fold functions need to unref the passed object and
15853 _get_parent_*() returns ref to parent.
15855 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15857 * check/gst/gstbuffer.c: (test_make_writable):
15858 Plug leak in test case and fix 'make check-valgrind'
15860 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15862 * gst/gstbuffer.c: (gst_subbuffer_init):
15863 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15864 works correctly in all circumstances (we could have just copied
15865 the parent buffer's readonly flag, but conceptually it seems
15866 cleaner to mark all subbuffers as read-only). (based on patch
15867 by Alessandro Decina, #314710).
15869 * check/gst/gstbuffer.c: (create_read_only_buffer),
15870 (test_make_writable), (test_subbuffer_make_writable),
15872 Add some tests for gst_buffer_make_writable().
15874 2005-09-27 Wim Taymans <wim@fluendo.com>
15876 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15877 use gst_object_has_ancestor().
15879 * gst/gstobject.c: (gst_object_has_ancestor):
15881 gst_object_has_ancestor() copied from gstbin.c as it is a
15884 * tests/instantiate/create.c: (create_all_elements):
15885 * tests/lat.c: (handoff_src), (handoff_sink):
15886 * tests/sched/runxml.c: (main):
15887 * tests/seeking/seeking1.c: (main):
15888 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15890 Fix compilation of some tests.
15892 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15895 Remove comment. GST_TYPE_G_ERROR is here to stay,
15896 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15897 (#316961, #300610).
15899 2005-09-26 Wim Taymans <wim@fluendo.com>
15901 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15902 Added check that shows error in state change order.
15904 2005-09-26 Wim Taymans <wim@fluendo.com>
15906 * gst/gstbin.c: (gst_bin_change_state):
15907 Make state change function use 3 queues again, we were
15908 adding elements in the wrong order.
15910 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15913 * gst/gstpad.c: (gst_pad_dispose):
15914 Added some debug info first.
15916 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
15918 * docs/design/draft-push-pull.txt:
15919 * docs/design/part-events.txt:
15920 * docs/design/part-overview.txt:
15921 * docs/design/part-scheduling.txt:
15922 Replace all _pull_region() with _pull_range()
15924 2005-09-26 Andy Wingo <wingo@pobox.com>
15926 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15928 * check/gst-libs/controller.c: Update for controller api change.
15931 * tests/Makefile.am:
15932 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15933 over by GLib bug 118439.
15935 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15936 routines to a function.
15938 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15940 * libs/gst/controller/gsthelper.c:
15941 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15942 (gst_object_sync_values): Renamed from sink_values. Ugh.
15944 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15946 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15947 Renamed from controller_key, as it is exported.
15949 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15951 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
15956 * gst/gstpadtemplate.h:
15959 * gst/gstqueryutils.c:
15960 * gst/gstqueryutils.h:
15961 remove queryutils headers after moving the two used functions
15962 to gstquery. also fixes build problem for gstsiddec
15964 2005-09-26 Michael Smith <msmith@fluendo.com>
15966 * tools/gst-launch.1.in:
15967 Correct documentation in manpage of debug syntax
15969 2005-09-26 Wim Taymans <wim@fluendo.com>
15971 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15972 (gst_base_src_is_seekable), (gst_base_src_change_state):
15973 Some more debugging info.
15975 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15977 * docs/gst/gstreamer-sections.txt:
15978 * gst/base/gstbasetransform.h:
15982 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15984 * docs/gst/.cvsignore:
15985 * docs/gst/tmpl/.cvsignore:
15986 * docs/gst/tmpl/gstpipeline.sgml:
15987 * docs/gst/tmpl/gstplugin.sgml:
15988 * gst/gstpipeline.c:
15991 inlined the last two docs files
15992 removed the tmpl directory from cvs (no more conflicts here!)
15994 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15996 * docs/gst/gstreamer-sections.txt:
15997 * docs/gst/tmpl/.cvsignore:
15998 * docs/gst/tmpl/gstpad.sgml:
15999 * docs/gst/tmpl/gstpadtemplate.sgml:
16001 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
16002 (gst_pad_finalize), (gst_pad_set_pad_template):
16004 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
16005 (gst_pad_template_class_init), (gst_pad_template_init),
16006 (gst_pad_template_dispose), (name_is_valid),
16007 (gst_static_pad_template_get), (gst_pad_template_new),
16008 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
16009 (gst_pad_template_pad_created):
16010 * gst/gstpadtemplate.h:
16011 inlined two more docs
16012 factored gstpadtemplate out of gstpad
16014 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
16016 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
16017 (test_children_state_change_order_semi_sink):
16018 Fix test case: we can't rely on a fixed state change order when
16019 going from READY => PAUSED because the sink might commit its
16020 new state first when the first buffer created by the source
16021 reaches the sink before the source has finished its change state.
16022 (Test case still fails at times, see #316856, comment 5 onwards)
16024 2005-09-24 Wim Taymans <wim@fluendo.com>
16026 * docs/design/part-events.txt:
16027 * docs/design/part-gstbus.txt:
16028 * docs/design/part-gstpipeline.txt:
16029 * docs/design/part-messages.txt:
16030 * docs/design/part-overview.txt:
16031 * docs/design/part-segments.txt:
16035 * gst/gstelement.c:
16038 * gst/gstiterator.c:
16039 Various documentation updates.
16041 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
16044 Well, that's embarassing. Luckily we weren't using
16045 GST_CLOCK_DIFF anywhere.
16047 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16049 * common/gtk-doc.mak:
16050 don't fail on building XML, FC4 slave shows a bunch of doc
16051 missing bits that I don't get
16053 * gst/gstpipeline.c:
16054 * gst/gststructure.c:
16057 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
16059 * docs/design/part-gstbin.txt:
16060 * docs/design/part-gstbus.txt:
16062 Add blurb about how the bus goes into flushing mode and
16063 drops all messages when its bin goes from READY into NULL
16066 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16068 * docs/gst/gstreamer-sections.txt:
16069 * gst/gststructure.c: (gst_structure_get_clock_time):
16070 * gst/gststructure.h:
16071 add a method to get a GstClockTime out of a structure
16073 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
16075 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
16076 (test_children_state_change_order_semi_sink), (gst_bin_suite):
16077 Added test to check state change order in bins (can still be made
16078 to fail here under heavy disk load; bails out with 'Push on pad
16079 fakesink:sink0, but it was not activated in push mode').
16081 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
16082 Fix state change order when there is only a semi sink (#316856)
16084 * gst/gstbus.c: (gst_bus_class_init):
16085 Use _class_peek_parent(), not _class_ref(); fix docs to say
16086 'default main context' instead of 'mainloop' where that is
16089 * gst/gstelement.c: (gst_element_commit_state),
16090 (gst_element_set_state):
16091 Fix typos in debug messages
16093 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16096 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
16097 * gst/gstpluginfeature.c:
16099 various doc updates
16100 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16101 change an assert into an error until it gets fixed properly
16103 2005-09-23 Stefan Kost <ensonic@users.sf.net>
16105 * docs/gst/gstreamer-sections.txt:
16106 * docs/gst/tmpl/.cvsignore:
16107 * docs/gst/tmpl/gstelement.sgml:
16108 * docs/gst/tmpl/gstinfo.sgml:
16109 * docs/gst/tmpl/gstobject.sgml:
16110 * gst/gstelement.c:
16111 * gst/gstelement.h:
16114 * gst/gstobject.c: (gst_object_class_init):
16116 inlined 3 more biiiig doc files and added some missing docs on the fly
16118 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16120 * check/gst/.cvsignore:
16121 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
16122 * gst/gstregistryxml.c: (load_plugin),
16123 (gst_registry_xml_save_plugin):
16124 put back source in registry. add checks for find_plugin.
16125 * testsuite/states/bin.c: (assert_state), (empty_bin),
16126 (test_adding_one_element), (main):
16127 * testsuite/states/locked.c: (main):
16128 some compile/run fixes
16130 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
16132 * check/gst/gstvalue.c: (GST_START_TEST):
16133 fix leaks in the test itself
16135 2005-09-22 Wim Taymans <wim@fluendo.com>
16137 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16138 (gst_base_sink_send_event), (gst_base_sink_peer_query),
16139 (gst_base_sink_query):
16140 Prepare for more accurate position reporting and query
16143 * gst/gstelement.c: (gst_element_send_event),
16144 (gst_element_set_state):
16147 2005-09-22 Wim Taymans <wim@fluendo.com>
16149 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
16150 (gst_query_parse_segment):
16152 More documentation.
16153 Add segment query for future use.
16155 2005-09-22 Wim Taymans <wim@fluendo.com>
16157 * gst/gstbin.c: (gst_bin_add_func):
16158 Some more debug info.
16160 * gst/gstelement.c: (gst_element_send_event):
16161 Simplify send_event
16163 * gst/gstelement.h:
16164 Don't know how flags got broken.
16169 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
16171 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
16172 Add simplistic test suite for GST_TYPE_DATE serialisation and
16175 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
16177 * docs/gst/gstreamer-sections.txt:
16178 * gst/gststructure.c: (gst_structure_set_valist),
16179 (gst_structure_get_date):
16180 * gst/gststructure.h:
16181 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
16182 (gst_date_copy), (gst_value_compare_date),
16183 (gst_value_serialize_date), (gst_value_deserialize_date),
16184 (gst_value_transform_date_string),
16185 (gst_value_transform_string_date), (_gst_value_initialize):
16187 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
16188 bunch of utility functions along with a hack that checks that
16189 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
16190 is required. Part of the grand scheme in #170777.
16192 2005-09-22 Andy Wingo <wingo@pobox.com>
16194 * gst/gstconfig.h.in: Psych out gtk-doc.
16196 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
16198 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
16200 * tools/gst-inspect.c (print_element_list): Plug some
16201 inconsequential leaks.
16203 * gst/gstregistry.c (gst_registry_get_default): Doc.
16205 * check/gst/gstplugin.c:
16206 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
16207 * gst/gstelementfactory.c (gst_element_factory_create):
16208 * gst/gstindexfactory.c (gst_index_factory_create): Update for
16211 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
16212 (gst_plugin_feature_load): Doc, don't eat refs.
16214 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
16215 (gst_plugin_list_free): Doc.
16216 (gst_plugin_load_file): Doc updates.
16218 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
16219 accessors returning refcounted objects, return a ref.
16221 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
16222 accessor for caps. IDEMPOTENCE. Oh yes.
16224 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
16226 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16228 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
16229 (_gst_debug_register_funcptr):
16230 Add mutex to serialise access to the hash table with
16231 the function pointer => function name string mapping;
16232 make that hash table static scope (#316809).
16234 * gst/registries/.cvsignore:
16235 Remove left-over file.
16237 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
16239 * docs/pwg/appendix-porting.xml:
16240 And something about newsegment events and caps-on-buffers to
16241 the porting guide (feel free to improve).
16243 2005-09-21 Andy Wingo <wingo@pobox.com>
16245 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
16246 data and event probes on the same pad.
16247 (test_buffer_probe_once): Test that removing probes from within
16248 the probe functions works.
16250 2005-09-21 Andy Wingo <wingo@pobox.com>
16252 * check/gst/gstutils.c: New file.
16253 (test_buffer_probe_n_times): A simple buffer probe test. More to
16256 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
16257 have-data::buffer, not have-data.
16258 (gst_pad_add_event_probe): Likewise for have-data::event.
16259 (gst_pad_add_data_probe): More docs. The part about 'resolving the
16260 peer' isn't quite right yet though.
16261 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
16262 (gst_pad_remove_data_probe): Change to take the guint handler_id
16263 as their arg, not the function+data, which is more glib-like.
16265 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
16266 the signal emission to indicate if the data is a buffer or an
16268 (gst_pad_get_type): Initialize buffer and event quarks.
16269 (gst_pad_class_init): have-data is now a detailed signal, yes it
16272 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
16274 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16275 * gst/gstutils.c: (gst_util_set_value_from_string),
16276 (gst_util_set_object_arg):
16277 Don't put functional code in g_return_if_fail() or
16278 g_return_val_if_fail() statements, otherwise things will
16279 break when G_DISABLE_CHECKS is defined during compilation.
16281 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16283 * docs/gst/tmpl/.cvsignore:
16284 * docs/gst/tmpl/gstvalue.sgml:
16287 inlied another one and added some obvious docs
16289 2005-09-21 Wim Taymans <wim@fluendo.com>
16291 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
16292 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
16293 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
16294 (gst_fdsrc_get_property), (gst_fdsrc_create):
16295 * gst/elements/gstfdsrc.h:
16296 Properly implement fdsrc. Removed signal and timeout,
16297 better implemented somewhere else.
16299 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16301 * docs/gst/tmpl/.cvsignore:
16302 * docs/gst/tmpl/gstimplementsinterface.sgml:
16303 * gst/gstinterface.c:
16306 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16308 * docs/gst/gstreamer-sections.txt:
16309 * docs/gst/tmpl/.cvsignore:
16310 * docs/gst/tmpl/gstenumtypes.sgml:
16311 remove obsolete doc file
16313 2005-09-21 David Schleef <ds@schleef.org>
16315 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
16316 little beer, fix a little leak.
16318 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16320 * docs/gst/gstreamer-docs.sgml:
16321 * docs/gst/gstreamer-sections.txt:
16322 * docs/gst/tmpl/.cvsignore:
16326 * gst/gstelement.h:
16327 * gst/gstindex.c: (gst_index_class_init):
16329 * gst/gstindexfactory.c: (gst_index_factory_get_type),
16330 (gst_index_factory_class_init), (gst_index_factory_init),
16331 (gst_index_factory_finalize), (gst_index_factory_new),
16332 (gst_index_factory_destroy), (gst_index_factory_find),
16333 (gst_index_factory_create), (gst_index_factory_make):
16334 * gst/gstindexfactory.h:
16335 * gst/gstpluginfeature.c:
16336 * gst/gstpluginfeature.h:
16337 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16338 more docs inlined, splitted gstindex.{c,h}
16340 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16342 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16345 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
16347 * gst/elements/gstfilesink.c: (gst_file_sink_init):
16348 Set sync to FALSE by default.
16350 2005-09-20 Wim Taymans <wim@fluendo.com>
16352 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16353 (gst_base_sink_init):
16354 Make sync property settable from subclass.
16356 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16357 (gst_fake_sink_change_state):
16358 Set sync to FALSE by default.
16360 2005-09-20 Wim Taymans <wim@fluendo.com>
16362 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
16363 * tools/gst-launch.c: (main):
16364 The timeout handler should have lower priority than the source
16365 so we don't timeout before popping a message with 0 timeout.
16366 Dump error messages after failed state change.
16368 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
16370 * tools/gst-inspect.c: (print_element_properties_info):
16373 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16375 * check/gst/gstevent.c:
16376 * gst/elements/gstfakesink.c:
16377 * gst/elements/gstfakesink.h:
16378 remove the sync property from fakesink.
16379 has the side effect of setting sync TRUE
16380 for fakesink, which is a change. Anyone who knows how
16381 to fix this nicely in a GObject-y way, feel free.
16383 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16385 * docs/gst/gstreamer-docs.sgml:
16386 remove probe refsection
16388 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16390 * check/Makefile.am:
16391 disable valgrinding the controller test again
16392 * docs/gst/gstreamer-sections.txt:
16393 update for api-changes
16395 2005-09-20 Wim Taymans <wim@fluendo.com>
16397 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16398 (gst_base_sink_set_property), (gst_base_sink_get_property),
16399 (gst_base_sink_do_sync):
16400 * gst/base/gstbasesink.h:
16401 Added sync property to basesink to disable clock sync.
16403 2005-09-20 Andy Wingo <wingo@pobox.com>
16405 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
16406 eating the caller's refcount.
16408 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
16409 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
16412 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
16413 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
16414 of GLib 2.8 public, so we can know which refcount to check in
16417 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
16418 (gst_object_init): Only set the gst refcount if we're going ahead
16419 with the refcount hack.
16421 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16423 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16424 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16425 more leaks plumbed, added more debug-logging
16429 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16431 * gst/gstmessage.c:
16432 remove include of gstmemchunk.h
16434 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16436 * gst/gstclock.c: (_gst_clock_id_free):
16437 Commit from the Political Party For More Atomic CVS Commits,
16438 so that people don't waste too much of their day fishing
16439 out obvious leaks out of massive commits.
16440 Oh, and fix a pretty damn obvious leak in the memchunk
16443 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16445 * check/Makefile.am:
16446 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16447 plug mem-leak, re-add to valgrindable tests
16449 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16452 unbreak the build for those who have chronic arthritis
16453 and typing "make check" is just too taxing on the hands
16455 2005-09-20 Andy Wingo <wingo@pobox.com>
16457 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
16458 really want it out, you should fix plugins at the same time.
16460 2005-09-19 Stefan Kost <ensonic@users.sf.net>
16463 * docs/gst/gstreamer-sections.txt:
16465 added missing symbols to api docs
16466 disable ref-count hack if we have glib >= 2.8
16468 2005-09-19 David Schleef <ds@schleef.org>
16470 * docs/gst/Makefile.am: Ignore a few more internal headers
16471 * docs/gst/gstreamer-docs.sgml: Remove old sections
16472 * docs/gst/gstreamer-sections.txt: Remove old sections
16473 * docs/gst/tmpl/gstobject.sgml: update
16474 * docs/gst/tmpl/gstplugin.sgml: update
16475 * docs/gst/tmpl/gstpluginfeature.sgml: update
16476 * docs/random/ds/0.9-suggested-changes: update.
16477 * gst/Makefile.am: remove memchunk and trashstack, since they're
16479 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
16480 * gst/gst.h: don't include some headers
16481 * gst/gstchildproxy.c: add gstmarshal.h
16482 * gst/gstclock.c: Don't use memchunks
16483 * gst/gstminiobject.c: Add some docs
16484 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
16485 * gst/gstobject.h: same
16486 * gst/gstplugin.c: include gstmacros.h
16487 * gst/gstplugin.h: don't include gstmacros.h, since it's private
16488 * gst/gstquery.c: don't use memchunks
16489 * gst/gstregistry.c: rename gst_registry_deinit()
16490 * gst/gstregistry.h: same
16492 2005-09-19 David Schleef <ds@schleef.org>
16494 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
16495 * docs/libs/gstreamer-libs-sections.txt:
16496 * docs/libs/tmpl/gstgetbits.sgml:
16497 * docs/libs/tmpl/gstputbits.sgml:
16499 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
16501 * win32/gstenumtypes.c:
16502 * win32/gstenumtypes.h:
16505 2005-09-19 Wim Taymans <wim@fluendo.com>
16507 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
16508 Automatically PAUSE and RESUME a pipeline when a flushing seek
16511 2005-09-19 Andy Wingo <wingo@pobox.com>
16513 * gst/gstregistry.h: Spacing fixen.
16515 2005-09-19 Wim Taymans <wim@fluendo.com>
16517 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
16518 Handle state change failure more correctly.
16520 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16522 * check/Makefile.am:
16523 * check/pipelines/cleanup.c: (run_pipeline):
16524 * check/pipelines/simple_launch_lines.c: (run_pipeline),
16526 enable cleanup again after fixing the leak
16528 some more info on docs
16530 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16532 * check/Makefile.am:
16533 re-enable tests now that leaks are plugged
16535 * check/gst/gstbin.c:
16536 * check/gst/gstpipeline.c:
16537 add some more tests while fixing leaks
16538 * common/check.mak:
16539 make sure binaries are uptodate when valgrinding/gdbing
16541 * gst/gstelementfactory.c:
16542 remove a ref too many, and add a FIXME for when we get
16543 round to disposing of classes
16545 fix the refcounting when loading a plugin from a file and
16546 the code pretends that the pointer is the same even though
16547 of course it can change
16548 * gst/gstpluginfeature.c:
16549 unref plugins marked cached (a bit confusing as a name)
16550 as the docs state should be done
16551 various doc additions to explain refcounting
16552 * gst/gstregistry.c:
16553 * gst/gstregistryxml.c:
16556 2005-09-19 Wim Taymans <wim@fluendo.com>
16558 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16559 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16560 (send_messages), (GST_START_TEST), (gstbus_suite):
16561 * check/gst/gstpipeline.c: (GST_START_TEST):
16562 * check/pipelines/cleanup.c: (run_pipeline):
16563 * check/pipelines/simple_launch_lines.c: (run_pipeline),
16565 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
16566 (gst_bus_source_check), (gst_bus_source_dispatch),
16567 (gst_bus_create_watch), (gst_bus_add_watch_full),
16568 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
16570 * tools/gst-launch.c: (event_loop):
16571 * tools/gst-md5sum.c: (event_loop):
16572 GstBusHandler -> GstBusFunc, return value has the same meaning as
16573 any other GSource (FALSE == remove source).
16574 _add_watch() and _add_watch_full() now take a MessageType mask to
16575 only handle specific types of messages.
16576 _poll() returns the GstMessage instead of the message type to avoid
16578 _have_pending() takes a MessageType mask now too.
16579 Added testsuite for multiple bus watches.
16580 Fix testsuites and applications for new bus API.
16582 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16584 * check/Makefile.am:
16585 mark a bunch of the tests as to fix until we fix them
16587 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16589 * common/check.mak:
16590 use GST_PLUGIN settings for valgrind tests as well, so we're
16591 valgrinding the correct thing
16592 * gst/gst.c: (init_post):
16595 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16597 * gst/gst.c: (init_post), (gst_deinit):
16598 * gst/gstelementfactory.c: (gst_element_factory_class_init),
16599 (gst_element_factory_finalize), (gst_element_factory_cleanup):
16600 * gst/gstindex.c: (gst_index_factory_class_init),
16601 (gst_index_factory_finalize):
16602 * gst/gstobject.c: (gst_object_dispose):
16603 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16604 (gst_plugin_load_file), (gst_plugin_desc_free):
16605 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
16606 (gst_plugin_feature_finalize):
16607 * gst/gstregistry.c: (gst_registry_class_init),
16608 (gst_registry_init), (gst_registry_finalize),
16609 (gst_registry_get_default), (gst_registry_deinit):
16610 * gst/gstregistry.h:
16611 * gst/gstregistryxml.c: (load_feature), (load_plugin):
16612 various cleanups and memleak plugging. make valgrind is happy now.
16614 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16616 * common/check.mak:
16617 add a check-valgrind target
16619 2005-09-18 David Schleef <ds@schleef.org>
16621 * tools/gst-inspect.c: Revert the GOption code.
16623 2005-09-17 David Schleef <ds@schleef.org>
16625 * check/Makefile.am: Fix environment variables.
16626 * check/gst/gstplugin.c: Fix for API changes.
16627 * tools/gst-inspect.c: Fix for API changes.
16628 * tools/gst-xmlinspect.c: Fix for API changes.
16629 * gst/gstelementfactory.c:
16632 * gst/gstpluginfeature.c:
16633 * gst/gstpluginfeature.h:
16634 * gst/gstregistry.c:
16635 * gst/gstregistry.h:
16636 * gst/gstregistryxml.c:
16637 * gst/gsttypefind.c:
16638 * gst/gsttypefindfactory.c:
16639 * gst/indexers/gstfileindex.c:
16640 * gst/indexers/gstmemindex.c:
16641 * gst/schedulers/Makefile.am:
16642 Change registry to keep track of both plugins and features,
16643 removing the feature tracking from plugins themselves.
16645 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
16647 * check/Makefile.am:
16648 * tools/gst-register.1.in:
16649 remove gst-register
16651 2005-09-15 David Schleef <ds@schleef.org>
16653 * check/gst/gstplugin.c:
16654 * gst/gstelementfactory.c:
16656 * gst/gstpluginfeature.c:
16657 * gst/gstregistry.c:
16658 Getting tired of debugging. Disabled all the unreffing of
16659 plugins and features, which fixes the segfaults, but of
16660 course leaks like crazy. At least playbin works.
16662 2005-09-15 David Schleef <ds@schleef.org>
16664 * check/gst/gstplugin.c: (register_check_elements),
16665 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16667 * gst/elements/gsttypefindelement.c: Fix refcounting.
16668 * gst/gsttypefind.c:
16669 * gst/gsttypefindfactory.c:
16670 * gst/gsttypefindfactory.h:
16672 2005-09-15 David Schleef <ds@schleef.org>
16674 * gst/gstindex.c: get refcounting correct.
16675 * gst/gstregistry.c: Handle the case where a feature/plugin is
16678 2005-09-15 David Schleef <ds@schleef.org>
16680 * check/Makefile.am:
16681 * check/gst/gstplugin.c: Add test
16682 * gst/gstplugin.c: Fix problems noticed by testsuite
16684 * gst/gstregistry.c:
16685 * gst/gstregistry.h:
16687 2005-09-15 David Schleef <ds@schleef.org>
16689 * gst/gstplugin.c: Implement semi-decent recounting and locking
16690 in plugins and plugin features.
16692 * gst/gstpluginfeature.c:
16693 * gst/gstpluginfeature.h:
16694 * gst/gstregistry.c:
16696 2005-09-15 Michael Smith <msmith@fluendo.com>
16698 * gst/gstregistry.c: (gst_registry_get_feature_list):
16699 Implement this. Makes oggdemux work; decodebin still broken.
16701 2005-09-14 David Schleef <ds@schleef.org>
16703 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16705 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16706 * gst/check/Makefile.am:
16707 * libs/gst/controller/Makefile.am:
16708 * libs/gst/dataprotocol/Makefile.am:
16710 2005-09-14 David Schleef <ds@schleef.org>
16712 * configure.ac: Remove getbits library. Nothing uses it, and
16713 it should be in something like liboil if someone did want
16715 * libs/gst/Makefile.am:
16716 * libs/gst/getbits/Makefile.am:
16717 * libs/gst/getbits/gbtest.c:
16718 * libs/gst/getbits/getbits.c:
16719 * libs/gst/getbits/getbits.h:
16720 * libs/gst/getbits/gstgetbits_generic.c:
16721 * libs/gst/getbits/gstgetbits_i386.s:
16722 * libs/gst/getbits/gstgetbits_inl.h:
16724 2005-09-14 David Schleef <ds@schleef.org>
16726 * gst/Makefile.am: Dist glib-compat.h
16728 2005-09-14 David Schleef <ds@schleef.org>
16730 * configure.ac: Remove gst/registries, since it's no longer used.
16731 * gst/registries/Makefile.am:
16732 * gst/registries/gstlibxmlregistry.c:
16733 * gst/registries/gstlibxmlregistry.h:
16734 * gst/registries/gstxmlregistry.c:
16735 * gst/registries/gstxmlregistry.h:
16736 * gst/registries/registrytest.c:
16738 2005-09-14 David Schleef <ds@schleef.org>
16740 * gst/glib-compat.h:
16741 * gst/gstregistryxml.c:
16742 Convergence is near. Seriously.
16744 2005-09-14 David Schleef <ds@schleef.org>
16746 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16747 * gst/glib-compat.h:
16748 Attempt #4 to appease the buildbots.
16750 2005-09-14 David Schleef <ds@schleef.org>
16752 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16755 2005-09-14 David Schleef <ds@schleef.org>
16757 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16760 2005-09-14 David Schleef <ds@schleef.org>
16762 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16765 2005-09-14 David Schleef <ds@schleef.org>
16767 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16768 * gst/glib-compat.h: Add some functions that are in newer versions
16769 of glib than we care to require.
16770 * gst/gstregistryxml.c: Use them.
16772 2005-09-14 David Schleef <ds@schleef.org>
16774 * po/POTFILES.in: remove gst-register.c
16776 2005-09-14 David Schleef <ds@schleef.org>
16778 * docs/gst/gstreamer-docs.sgml:
16779 * docs/gst/gstreamer-sections.txt:
16780 * docs/gst/gstreamer.types:
16781 * docs/gst/tmpl/gstelement.sgml:
16782 * docs/gst/tmpl/gstplugin.sgml:
16783 * docs/gst/tmpl/gstpluginfeature.sgml:
16784 Documentation updates for registry changes.
16786 2005-09-14 David Schleef <ds@schleef.org>
16788 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16789 because we don't require glib-2.8.
16791 2005-09-14 David Schleef <ds@schleef.org>
16793 * gst/gstregistryxml.c: Added. Essentially moved out of the
16794 registries directory.
16796 2005-09-14 David Schleef <ds@schleef.org>
16798 * check/Makefile.am:
16799 * check/generic/states.c:
16803 * gst/gst_private.h:
16804 * gst/gstelementfactory.c:
16809 * gst/gstpluginfeature.c:
16810 * gst/gstpluginfeature.h:
16811 * gst/gstregistry.c:
16812 * gst/gstregistry.h:
16813 * gst/gstregistrypool.c: remove
16814 * gst/gstregistrypool.h: remove
16815 * gst/gsttypefind.c:
16816 * gst/gsttypefindfactory.c:
16818 * tools/Makefile.am:
16819 * tools/gst-compprep.c:
16820 * tools/gst-inspect.c:
16821 * tools/gst-register.c: remove
16822 * tools/gst-xmlinspect.c:
16823 Registry rewrite. Changes registry from being a file created
16824 by a tool into a simple cache file created automatically by
16825 libgstreamer. Removed gst-register (because it's no longer
16826 needed). Remove registry pools, because we only have one
16827 registry implementation (XML). Fix up other subsystems as
16830 2005-09-13 Michael Smith <msmith@fluendo.com>
16832 * gst/gstconfig.h.in:
16833 Don't Use windows linking attributes for MinGW. Fixes #316157
16835 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
16837 * gst/gstutils.c: (set_state_async_thread_func),
16838 (gst_element_set_state_async):
16839 Apparently people think it's better if this function doesn't
16840 try to set the state to whatever state was asked for on the first
16841 call to this function for any object. Seriously.
16843 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16845 * check/gst/gstpipeline.c: (GST_START_TEST):
16846 * docs/gst/gstreamer-sections.txt:
16847 * gst/gstutils.c: (set_state_async_thread_func),
16848 (gst_element_set_state_async):
16850 add a "gst_element_set_state_async" method that
16851 sets the state and starts a thread to make sure the state
16852 change completes as best as it can
16854 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16856 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16857 codify design+behaviour in testsuite after discussion
16859 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16861 * docs/gst/tmpl/gstelement.sgml:
16862 * docs/manual/appendix-quotes.xml:
16864 * gst/gstelement.c: (gst_element_set_state):
16867 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
16869 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16870 (gst_base_transform_prepare_output_buf),
16871 (gst_base_transform_handle_buffer):
16872 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16873 (gst_capsfilter_prepare_buf):
16874 Remove the requirement for sub-classes to call the parent
16875 implementation of prepare_output_buffer with a wrapper function.
16877 * gst/gsttaglist.h:
16878 * gst/gsttagsetter.h:
16879 Fix #define wrapper
16881 2005-09-11 Stefan Kost <ensonic@users.sf.net>
16883 * docs/gst/gstreamer-sections.txt:
16886 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16888 * docs/gst/gstreamer-sections.txt:
16889 * docs/gst/tmpl/gstelement.sgml:
16890 * docs/gst/tmpl/gstplugin.sgml:
16891 * gst/gstminiobject.c:
16893 docs now stop throwing warnings
16895 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16897 * docs/gst/gstreamer-sections.txt:
16898 * docs/gst/gstreamer.types:
16899 * docs/gst/tmpl/gstpad.sgml:
16900 * docs/gst/tmpl/gsttypes.sgml:
16901 * gst/base/gstadapter.h:
16902 * gst/base/gstbasesink.h:
16903 * gst/base/gstbasesrc.h:
16909 * gst/gstelement.h:
16911 * gst/gstmessage.h:
16913 * gst/gststructure.c:
16914 * gst/registries/gstlibxmlregistry.h:
16915 various documentation fixes
16917 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16919 * docs/gst/gstreamer-sections.txt:
16920 * docs/gst/tmpl/gstvalue.sgml:
16921 rearrange gstvalue section
16922 * gst/gstutils.c: (gst_element_state_get_name):
16924 * gst/gstvalue.c: (_gst_value_initialize):
16928 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
16930 * check/gst-libs/controller.c:
16931 Header include fix.
16932 * gst/base/gstbasetransform.c:
16933 (gst_base_transform_default_prepare_buf),
16934 (gst_base_transform_handle_buffer):
16935 * gst/base/gstbasetransform.h:
16936 Some more basetransform changes and fixes to enable sub-classes
16937 that modify buffer metadata only.
16938 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16939 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16940 (gst_capsfilter_prepare_buf):
16941 If the output pad has fixed allowed caps and input buffers
16942 don't have any, set the fixed caps on outgoing buffers.
16944 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
16945 * check/elements/identity.c: (GST_START_TEST):
16946 Make the error a little clearer when the test fails because
16947 identity made a copy of the buffer.
16948 * docs/gst/gstreamer-sections.txt:
16949 New symbols in gstbasetransform.h
16950 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16951 (gst_base_transform_init), (gst_base_transform_transform_size),
16952 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16953 (gst_base_transform_default_prepare_buf),
16954 (gst_base_transform_get_unit_size),
16955 (gst_base_transform_buffer_alloc),
16956 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16957 (gst_base_transform_change_state),
16958 (gst_base_transform_set_passthrough),
16959 (gst_base_transform_set_in_place),
16960 (gst_base_transform_is_in_place):
16961 * gst/base/gstbasetransform.h:
16962 Change BaseTransform to separate in_place operate from same_caps
16963 output. in_place implies that the element can perform the transform
16964 on incoming buffers in-place, even if the caps on the output are
16966 Sub-class elements can now implement special buffer allocation
16967 methods for outgoing buffers if they wish to.
16968 Big documentation addition.
16969 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16970 * gst/elements/gstelements.c:
16971 Changes for basetransform modifications.
16972 * gst/elements/Makefile.am:
16973 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16974 Compile fix. Extra debug output.
16976 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16978 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16980 add tests for valid pad naming
16981 * gst/check/gstcheck.c: (gst_check_log_message_func),
16982 (gst_check_log_critical_func):
16984 remove printing of code, it is fragile when the code contains
16985 % and the line number is enough info
16986 * gst/check/gstcheck.h:
16987 * gst/gstpad.c: (gst_pad_template_new):
16990 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16993 say what CHECK flags we use
16994 * docs/libs/gstreamer-libs.types:
16995 * libs/gst/controller/Makefile.am:
16996 * libs/gst/controller/gst-controller.c:
16997 * libs/gst/controller/gst-controller.h:
16998 * libs/gst/controller/gst-helper.c:
16999 * libs/gst/controller/gst-interpolation.c:
17000 * libs/gst/controller/gstcontroller.c:
17001 * libs/gst/controller/gsthelper.c:
17002 * libs/gst/controller/gstinterpolation.c:
17003 * tools/gst-inspect.c: (print_plugin_info):
17004 we don't use dashes in header names
17006 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
17008 * check/Makefile.am:
17009 * check/gst/.cvsignore:
17010 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
17011 (gst_pipeline_suite), (main):
17012 adding a test for pipelines and state changes
17013 * gst/gstutils.c: (get_state_func):
17015 * gstreamer.spec.in:
17018 2005-09-08 Michael Smith <msmith@fluendo.com>
17020 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
17021 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
17022 (gst_file_src_is_seekable), (gst_file_src_get_size),
17023 (gst_file_src_start):
17024 * gst/elements/gstfilesrc.h:
17025 Various fixes for unseekable, unmmapable, and non-normal files, so
17026 that fallback to read() rather than mmap() works.
17027 * gst/gstevent.c: (gst_event_new_newsegment):
17028 Allow newsegment events with segment_start == segment_end, as will
17029 correctly happen if you use filesrc on a zero-size file, for
17032 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
17034 * gst/gstplugin.c: (gst_plugin_load_file):
17035 Call g_module_close when we don't load the module
17037 * gst/registries/gstlibxmlregistry.c:
17038 (gst_xml_registry_get_property):
17039 Port leak fix from 0.8
17041 2005-09-07 Stefan Kost <ensonic@users.sf.net>
17043 * docs/gst/gstreamer-docs.sgml:
17044 * docs/gst/tmpl/.cvsignore:
17045 * docs/gst/tmpl/gsttrace.sgml:
17046 * docs/gst/tmpl/gsttrashstack.sgml:
17049 * gst/gstelement.h:
17051 * gst/gstmessage.c:
17052 * gst/gstmessage.h:
17055 * gst/gsttaginterface.c:
17056 * gst/gsttaginterface.h:
17057 * gst/gsttaglist.c:
17058 * gst/gsttaglist.h:
17059 * gst/gsttagsetter.c:
17060 * gst/gsttagsetter.h:
17063 * gst/gsttrashstack.c:
17064 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
17065 inlined docs for gsttrace, gsttrashstack
17067 2005-09-07 Stefan Kost <ensonic@users.sf.net>
17070 * gst/elements/gstbufferstore.h:
17071 * gst/elements/gsttypefindelement.c:
17072 * gst/elements/gsttypefindelement.h:
17074 * gst/gsttypefind.c:
17075 * gst/gsttypefind.h:
17076 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
17077 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
17078 (gst_type_find_factory_dispose),
17079 (gst_type_find_factory_unload_thyself),
17080 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
17081 (gst_type_find_factory_get_caps),
17082 (gst_type_find_factory_get_extensions),
17083 (gst_type_find_factory_call_function):
17084 * gst/gsttypefindfactory.h:
17085 * gst/registries/gstlibxmlregistry.c:
17086 * gst/registries/gstxmlregistry.c:
17087 splitted gsttypefind into gsttypefind, gsttypefindfactory
17089 2005-09-07 Andy Wingo <wingo@pobox.com>
17091 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
17092 condition whereby the pad's task function is entered before the
17093 pad_mode variable was set.
17095 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
17097 * gst/gstpad.c: (gst_pad_alloc_buffer):
17098 Catch misbehaving pad_alloc functions that don't
17099 set up caps and do it for them.
17101 2005-09-07 Stefan Kost <ensonic@users.sf.net>
17103 * check/pipelines/simple_launch_lines.c: (run_pipeline):
17104 test for pipe!=NULL
17105 * docs/gst/tmpl/.cvsignore:
17106 * docs/gst/tmpl/gstmemchunk.sgml:
17107 * docs/gst/tmpl/gstparse.sgml:
17108 * docs/gst/tmpl/gsttaglist.sgml:
17109 * docs/gst/tmpl/gsttagsetter.sgml:
17110 * docs/gst/tmpl/gsttypefind.sgml:
17111 * docs/gst/tmpl/gsttypefindfactory.sgml:
17112 * gst/gstmemchunk.c:
17115 * gst/gsttaginterface.c:
17116 * gst/gsttypefind.c:
17117 * gst/gsttypefind.h:
17120 === release 0.9.2 ===
17122 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
17127 releasing 0.9.2, "South"
17129 2005-09-05 Andy Wingo <wingo@pobox.com>
17131 * gst/registries/gstxmlregistry.h:
17132 * gst/registries/gstxmlregistry.c: Um... resurrect...
17134 * gst/registries/gstxmlregistry.h:
17135 * gst/registries/gstxmlregistry.c: and update to newer API.
17136 Incidentally they should be a bit faster now that they don't have
17139 2005-09-05 Andy Wingo <wingo@pobox.com>
17141 * gst/registries/gstxmlregistry.h:
17142 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
17143 replaced by the libxml registry a while back
17145 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
17147 * docs/gst/tmpl/gstplugin.sgml:
17148 * gst/elements/gstelements.c:
17150 * gst/gstplugin.c: (gst_plugin_register_func),
17151 (gst_plugin_desc_copy), (gst_plugin_desc_free),
17152 (gst_plugin_get_source):
17154 * gst/registries/gstlibxmlregistry.c: (load_plugin),
17155 (gst_xml_registry_save_plugin):
17156 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
17157 (gst_xml_registry_save_plugin):
17158 * tools/gst-inspect.c: (print_plugin_info):
17159 add a "source" plugin description field, to represent the source
17160 module this plugin is a part of. By default GST_PLUGIN_DEFINE
17161 will set it to PACKAGE, which is automake's idea of the name of
17162 the source project.
17164 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
17169 * docs/Makefile.am:
17170 * docs/faq/Makefile.am:
17171 * docs/gst/tmpl/gstelement.sgml:
17172 * docs/gst/tmpl/gsttypes.sgml:
17173 * docs/htmlinstall.mak:
17174 * docs/manual/Makefile.am:
17175 * docs/pwg/Makefile.am:
17176 reorganize doc build a little
17177 split out docbook and gtk-doc stuff
17178 have two separate --enable's and enable them through autogen
17179 but disable by default in configure (to be similar to other
17181 * gstreamer.spec.in:
17182 clean up docs install
17200 translation updates
17202 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
17204 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
17207 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17208 (gst_fake_sink_change_state):
17209 Make state change function thread-safe.
17211 * gst/gstpad.c: (gst_pad_alloc_buffer):
17212 Set offset on generic buffer allocated by fallback.
17214 2005-09-03 Stefan Kost <ensonic@users.sf.net>
17216 * docs/gst/gstreamer-sections.txt:
17217 * docs/gst/tmpl/gstelement.sgml:
17219 * libs/gst/controller/gst-controller.c:
17220 (gst_controlled_property_set_interpolation_mode),
17221 (gst_controlled_property_new),
17222 (gst_controller_find_controlled_property):
17223 run the wingo-magic script against the docs
17225 2005-09-02 Stefan Kost <ensonic@users.sf.net>
17227 * docs/gst/gstreamer-docs.sgml:
17228 * docs/gst/gstreamer-sections.txt:
17229 * docs/gst/tmpl/.cvsignore:
17230 * docs/gst/tmpl/gstelementdetails.sgml:
17231 * docs/gst/tmpl/gstelementfactory.sgml:
17234 * gst/gstelementfactory.c:
17235 * gst/gstelementfactory.h:
17236 merged elementdetails docs into elementfactory docs
17239 2005-09-02 Andy Wingo <wingo@pobox.com>
17241 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
17242 consider this enum an enum and not a flags.
17244 2005-09-02 Stefan Kost <ensonic@users.sf.net>
17246 * docs/gst/gstreamer-docs.sgml:
17247 * docs/gst/tmpl/.cvsignore:
17248 * docs/gst/tmpl/gstghostpad.sgml:
17249 * docs/gst/tmpl/gstiterator.sgml:
17250 * docs/gst/tmpl/gstmacros.sgml:
17251 * docs/gst/tmpl/gstrealpad.sgml:
17252 * docs/gst/tmpl/gstregistry.sgml:
17253 * docs/gst/tmpl/gstregistrypool.sgml:
17254 * docs/gst/tmpl/gststructure.sgml:
17255 * docs/gst/tmpl/gstsystemclock.sgml:
17256 * docs/gst/tmpl/gsttrace.sgml:
17257 * gst/gstghostpad.c:
17259 * gst/gstmemchunk.c:
17260 * gst/gstmemchunk.h:
17262 * gst/gstregistry.c:
17263 * gst/gstregistrypool.c:
17264 * gst/gststructure.c:
17265 * gst/gstsystemclock.c:
17268 2005-09-02 Andy Wingo <wingo@pobox.com>
17270 * gst/gstelement.h (GstState): Renamed from GstElementState,
17271 changed to be a normal enum instead of flags.
17272 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
17273 munged to be GST_STATE_CHANGE_*.
17274 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
17275 work with the new state representation.
17276 (GstStateChange): New enumeration of possible state transitions.
17277 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
17278 (GstElementClass::change_state): Pass the GstStateChange along as
17279 an argument. Helps language bindings, so they don't have to use
17280 tricky lock-needing macros like GST_STATE_CHANGE ().
17282 * scripts/update-states (file): New script. Run it on a file to
17283 update it for state naming and API changes. Updates files in
17286 * All files updated for the new API.
17288 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
17290 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
17291 * gst/gstutils.c: (gst_util_set_value_from_string),
17292 (gst_util_set_object_arg):
17293 fix a bunch of unchecked return values
17294 * tools/gst-complete.c: (main):
17295 * gstreamer.spec.in:
17298 2005-09-01 Wim Taymans <wim@fluendo.com>
17300 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17301 (gst_base_sink_event), (gst_base_sink_do_sync),
17302 (gst_base_sink_handle_event):
17303 * gst/base/gstbasesink.h:
17304 Handle newsegments more correctly.
17309 * gst/gstevent.c: (gst_event_new_newsegment):
17310 A newsegment cannot have a start_time of -1
17312 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
17314 * win32/gstenumtypes.c:
17315 * win32/gstenumtypes.h:
17318 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17320 * libs/gst/controller/gst-controller.c:
17321 (gst_controlled_property_set_interpolation_mode),
17322 (gst_controlled_property_new):
17323 fixed boolean again
17325 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
17327 * docs/faq/gst-uninstalled:
17332 * gst/gstutils.c: (gst_element_link_filtered):
17334 add gst_element_link_filtered
17336 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17338 * docs/gst/gstreamer-docs.sgml:
17339 * docs/gst/gstreamer-sections.txt:
17340 * docs/gst/tmpl/.cvsignore:
17341 * docs/gst/tmpl/gsterror.sgml:
17342 * docs/gst/tmpl/gstfilter.sgml:
17343 * docs/gst/tmpl/gsturihandler.sgml:
17344 * docs/gst/tmpl/gsturitype.sgml:
17345 * docs/gst/tmpl/gstutils.sgml:
17346 * docs/gst/tmpl/gstxml.sgml:
17351 * gst/gsturitype.c:
17354 inlined more docs, fixed double id-ref
17356 2005-08-31 Wim Taymans <wim@fluendo.com>
17358 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17359 (gst_base_transform_handle_buffer):
17360 Passthrough elements don't need the caps as they don't care.
17362 2005-08-31 Wim Taymans <wim@fluendo.com>
17364 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17365 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
17366 Don't leak refcounts on buffers.
17368 2005-08-31 Wim Taymans <wim@fluendo.com>
17370 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
17371 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17372 (gst_base_transform_chain), (gst_base_transform_change_state):
17373 * gst/base/gstbasetransform.h:
17374 Handle the case where we are not negotiated more gracefully.
17376 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
17378 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
17379 (gst_file_src_map_region):
17380 Set READONLY flag on mmap'ed buffers, otherwise
17381 gst_buffer_make_writable() won't work properly (#314708).
17383 2005-08-31 Wim Taymans <wim@fluendo.com>
17385 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
17386 passthrough elements can even do inplace on non writable
17387 buffers (as they don't touch them).
17389 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17391 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17392 (gst_test_mono_source_set_property),
17393 (gst_test_mono_source_class_init), (GST_START_TEST),
17394 (gst_controller_suite):
17395 more tests (hehe I have the most)
17397 describe popping messages whenusing mulltiple sources
17398 * libs/gst/controller/gst-controller.c:
17399 (gst_controlled_property_set_interpolation_mode),
17400 (gst_controlled_property_new):
17401 * libs/gst/controller/gst-controller.h:
17402 * libs/gst/controller/gst-interpolation.c:
17403 implement boolean properties
17405 2005-08-31 Wim Taymans <wim@fluendo.com>
17407 * gst/gstminiobject.c: (gst_mini_object_ref):
17408 Cannot assert that the refcount has to be positive
17409 since a disposed object can be resurrected.
17411 2005-08-31 Wim Taymans <wim@fluendo.com>
17413 * gst/gstpad.c: (gst_pad_init):
17414 Revert change, need to first fix badly behaving
17417 2005-08-30 Wim Taymans <wim@fluendo.com>
17419 * check/elements/fakesrc.c: (setup_fakesrc):
17420 * check/elements/identity.c: (setup_identity):
17421 Activate pads before using them.
17423 2005-08-30 Wim Taymans <wim@fluendo.com>
17425 * gst/base/gstadapter.c: (gst_adapter_flush):
17426 Flushing out 0 bytes is ok for this function.
17428 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17429 no newsegment gives a warning and sets the start/stop to
17432 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
17433 (gst_base_transform_set_passthrough):
17436 * gst/gstminiobject.c: (gst_mini_object_ref):
17437 Check refcount here too.
17439 * gst/gstpad.c: (gst_pad_init):
17440 Pads are initially flushing and refusing data.
17442 * gst/gstutils.c: (gst_element_link_pads_filtered):
17443 When adding a capsfilter element make sure it has the
17444 same state as the parent bin.
17446 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17448 * docs/gst/tmpl/.cvsignore:
17449 * docs/gst/tmpl/gstformat.sgml:
17450 * docs/gst/tmpl/gstversion.sgml:
17454 * gst/gstversion.h.in:
17455 more docs and two more inlined
17457 2005-08-30 Wim Taymans <wim@fluendo.com>
17459 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
17460 Don't sync to clock.
17462 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17464 * docs/gst/gstreamer-sections.txt:
17465 ultral33t func10ns deserve to appear in the docs actually
17466 * docs/gst/tmpl/.cvsignore:
17467 * docs/gst/tmpl/gstcompat.sgml:
17468 * docs/gst/tmpl/gstconfig.sgml:
17469 * gst/check/gstcheck.c:
17471 * gst/gstconfig.h.in:
17474 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17476 * docs/gst/tmpl/.cvsignore:
17477 * docs/gst/tmpl/gstquery.sgml:
17478 * docs/gst/tmpl/gstutils.sgml:
17481 inlined and extended docs
17483 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17485 * check/gst-libs/controller.c: (GST_START_TEST),
17486 (gst_controller_suite):
17488 * docs/gst/tmpl/gstutils.sgml:
17489 * docs/libs/gstreamer-libs-sections.txt:
17490 * docs/libs/tmpl/gstdataprotocol.sgml:
17492 * examples/controller/audio-example.c: (main):
17493 controller example works now
17496 * tools/gst-inspect.c: (print_element_properties_info):
17497 show param spec flags
17499 2005-08-29 Andy Wingo <wingo@pobox.com>
17501 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
17503 2005-08-28 Andy Wingo <wingo@pobox.com>
17505 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
17506 as having two arguments instead of just one. Allows superclasses
17507 to access information on subclasses -- see the terrible for() loop
17508 in gtype.c:g_type_create_instance for the reason why. All callers
17511 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17513 * docs/design/part-messages.txt:
17515 * docs/gst/tmpl/.cvsignore:
17516 * docs/gst/tmpl/gstcaps.sgml:
17517 * docs/gst/tmpl/gstclock.sgml:
17523 * gst/gstmessage.c:
17524 added descriptions for bus and message
17525 inline caps and clock docs
17527 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17529 * gst/gstmessage.c:
17530 * gst/gstmessage.h:
17533 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17535 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17538 2005-08-26 Andy Wingo <wingo@pobox.com>
17540 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
17541 element_set_state's return val.
17542 (test_2_elements): Add test that's been disabled for months.
17544 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
17545 can-activate-pull properties.
17547 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
17548 can-activate-pull properties. Implement is_seekable so fakesrc can
17549 operate in pull mode.
17551 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
17553 (gst_base_sink_activate, gst_base_sink_activate_pull)
17554 (gst_base_sink_activate_push): Make activation mode choosing work.
17556 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
17557 is right. Make pull mode work. Post an eos before pausing in pull
17559 (gst_base_sink_change_state): Pay attention to the core's
17560 change_state() return val.
17562 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
17563 has-getrange properties. Cleanups.
17565 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
17566 has_getrange and replace with can_activate_pull and
17569 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
17570 locking comments. Remove has_loop, has_chain and replace with
17571 can_activate_pull and can_activate_push.
17573 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
17576 * examples/Makefile.am:
17577 * examples/metadata/Makefile.am:
17578 * examples/metadata/read-metadata.c: (message_loop),
17579 (have_pad_handler), (make_pipeline), (print_tag), (main):
17580 Add metadata reading example that loops over a list of filenames,
17581 dumping any tags found.
17583 * gst/gstbus.c: (gst_bus_dispose):
17584 * gst/gstelement.c: (gst_element_dispose):
17585 Release a few potentially-held references in dispose.
17587 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17589 * docs/gst/tmpl/gstminiobject.sgml:
17590 do *not* add tmpl/*.sgml files to CVS!
17592 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17594 * libs/gst/bytestream/.cvsignore:
17595 * libs/gst/bytestream/Makefile.am:
17596 * libs/gst/bytestream/adapter.c:
17597 * libs/gst/bytestream/adapter.h:
17598 * libs/gst/bytestream/bytestream.c:
17599 * libs/gst/bytestream/bytestream.h:
17600 * libs/gst/bytestream/filepad.c:
17601 * libs/gst/bytestream/filepad.h:
17602 removing obsolete files
17604 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17606 * docs/gst/gstreamer-docs.sgml:
17607 * docs/libs/gstreamer-libs-docs.sgml:
17608 disabed additional index entries again, as this makes docs-gen just
17609 slow and they aren't useful yet
17610 * docs/libs/gstreamer-libs-sections.txt:
17611 little -section.txt cleanup for libs
17613 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
17615 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17616 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
17617 fix up some debugging
17618 (gst_base_transform_get_unit_size),
17619 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
17620 (gst_base_transform_handle_buffer):
17621 * gst/base/gstbasetransform.h:
17622 handle and store timed NEWSEGMENT events so that subclasses that
17623 calculate time by counting samples have a segment_start time they
17624 need to add to their timestamps - see audioresample
17626 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17629 removed ';' from the end of macro defs
17630 * docs/gst/gstreamer-docs.sgml:
17631 * docs/gst/gstreamer-sections.txt:
17632 * docs/gst/tmpl/.cvsignore:
17634 * gst/gstelement.c: (gst_element_class_init),
17635 (gst_element_set_state), (activate_pads),
17636 (gst_element_save_thyself):
17637 * gst/gstevent.c: (gst_event_new_newsegment):
17639 * gst/gstiterator.c:
17640 * gst/gstiterator.h:
17643 * gst/gstutils.c: (gst_pad_query_convert):
17645 fixed parameter name mismatches between source, header and docs
17646 added some more docs, resolved the last batch of unused elements in
17647 docs (now someone needs to doc them)
17649 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17651 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17652 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17653 don't walk through the plugins backwards. Where is all this
17654 reversed logic coming from ?
17656 2005-08-25 Wim Taymans <wim@fluendo.com>
17658 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17659 (gst_base_transform_transform_size),
17660 (gst_base_transform_configure_caps),
17661 (gst_base_transform_get_unit_size),
17662 (gst_base_transform_buffer_alloc),
17663 (gst_base_transform_change_state):
17664 * gst/base/gstbasetransform.h:
17665 Cache caps unit_size.
17666 Make sure we cannot negotiate up and downstream at the
17669 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17671 * gst/gst.c: (init_pre), (init_post):
17672 register the installed plugin path after the env var
17673 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17674 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17675 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17676 directories, so the tests can prefer uninstalled over installed
17678 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17680 * gst/base/gstbasetransform.h:
17685 2005-08-25 Wim Taymans <wim@fluendo.com>
17687 * gst/gstbin.c: (bin_bus_handler):
17688 Be a bit more conservative about the posted message.
17690 * gst/gstbus.c: (gst_bus_post):
17691 Some cleanups, warn wrong return values.
17693 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
17695 * check/gst/gstbin.c: (GST_START_TEST):
17696 * gst/gstbin.c: (bin_bus_handler):
17697 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17698 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17699 (gst_message_new_warning), (gst_message_new_tag),
17700 (gst_message_new_state_changed), (gst_message_new_segment_start),
17701 (gst_message_new_segment_done), (gst_message_new_custom):
17702 * gst/gstmessage.h:
17703 * tools/gst-launch.c: (event_loop):
17704 * tools/gst-md5sum.c: (event_loop):
17705 Revert unpopular change for GST_MESSAGE_SRC to GObject.
17707 2005-08-25 Wim Taymans <wim@fluendo.com>
17709 * check/generic/states.c: (GST_START_TEST):
17710 Cleanup can be done at the end.
17712 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17713 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17714 (gst_task_get_state), (gst_task_start), (gst_task_pause):
17715 Oh boy.. Thanks for finding this, Thomas.
17717 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17719 * docs/gst/gstreamer.types:
17720 added missing types
17722 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17724 * docs/gst/gstreamer-docs.sgml:
17725 * docs/gst/gstreamer-sections.txt:
17726 * docs/gst/tmpl/.cvsignore:
17728 * gst/gstiterator.c:
17730 * gst/registries/gstxmlregistry.h:
17731 added missing classes and symbols (123 more to go)
17732 removed removed symbols from section file
17733 fixed many doc-comments
17735 2005-08-24 Wim Taymans <wim@fluendo.com>
17737 * check/generic/states.c: (GST_START_TEST):
17738 Make sure all tasks are stopped.
17740 * check/gst/gstbin.c: (GST_START_TEST):
17741 Unref after usage for proper valgrinding.
17743 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17744 Really wait for the task to stop before destroying the
17747 * gst/gstqueue.c: (gst_queue_sink_activate_push),
17748 (gst_queue_src_activate_push):
17749 Small cleanups. Don't stop the task when we did not start
17752 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17753 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17754 (gst_task_get_state), (gst_task_start), (gst_task_pause),
17757 Protect the stream lock with the object lock.
17758 Disallow setting the stream lock when running.
17759 Add cleanup_all to wait for the threadpool to finish.
17760 Remove code to autoallocate a mutex if none was provided.
17761 Add _join() to wait for a task to stop.
17762 Protect the thread pool with a global lock.
17764 2005-08-24 Wim Taymans <wim@fluendo.com>
17766 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17767 (gst_base_sink_get_times), (gst_base_sink_do_sync),
17768 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17769 * gst/base/gstbasesink.h:
17770 Handle newsegment events correctly.
17771 Drop buffers out of the segment range.
17773 2005-08-22 Andy Wingo <wingo@pobox.com>
17775 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17776 macro, implements an interface and gstimplementsinterface for a
17779 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17781 * check/Makefile.am:
17782 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17783 add a test that does a bunch of state changes on elements
17784 needs some fixing for valgrind
17785 * check/states/sinks.c: (gst_object_suite):
17788 add prototype for gst_caps_is_equal_fixed
17790 * gst/gstregistrypool.c:
17793 2005-08-24 Andy Wingo <wingo@pobox.com>
17795 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17796 convert a negative value. Doesn't make much sense. Mostly this is
17797 here to force callers to ensure -1 maps to -1.
17799 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17801 * docs/pwg/advanced-types.xml:
17802 Well done to Michael for catching my deliberate introduction
17803 of this spelling mistake.
17804 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17805 * gst/gstelement.h:
17806 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17807 unlink pads before removing the element from the bin.
17809 2005-08-24 Andy Wingo <wingo@pobox.com>
17811 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17812 the same thing as GST_DEBUG=*:4.
17813 (parse_debug_level, parse_debug_category): New helper parsers.
17815 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17817 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17818 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17819 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17820 (gst_base_transform_buffer_alloc),
17821 (gst_base_transform_handle_buffer):
17822 use gboolean return values and pointers to size so we can use the
17823 full GST_BUFFER_SIZE range (guint) for buffer sizes
17824 use GstPadDirection for transform_caps
17825 * gst/base/gstbasetransform.h:
17826 rename get_size to get_unit_size since that's what it is
17827 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17828 use GstPadDirection for transform_caps
17829 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17831 cleanup and debugging
17833 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17835 * gst/gstelement.c: (gst_element_class_init),
17836 (gst_element_set_state), (activate_pads),
17837 (gst_element_save_thyself):
17838 * tools/gst-compprep.c: (main):
17839 * tools/gst-inspect.c: (print_element_properties_info):
17840 * tools/gst-xmlinspect.c: (print_element_properties):
17841 Fixed long standing mem-leak
17843 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17845 * check/gst/gstbin.c: (GST_START_TEST):
17846 * gst/gstbin.c: (bin_bus_handler):
17847 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17848 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17849 (gst_message_new_warning), (gst_message_new_tag),
17850 (gst_message_new_state_changed), (gst_message_new_segment_start),
17851 (gst_message_new_segment_done), (gst_message_new_custom):
17852 * gst/gstmessage.h:
17853 * tools/gst-launch.c: (event_loop):
17854 * tools/gst-md5sum.c: (event_loop):
17855 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17856 that applications can sensibly post custom messages with references
17857 to their own objects.
17859 2005-08-24 Andy Wingo <wingo@pobox.com>
17861 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17864 2005-08-24 Wim Taymans <wim@fluendo.com>
17866 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17867 (gst_base_transform_transform_caps),
17868 (gst_base_transform_transform_size),
17869 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17870 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17871 (gst_base_transform_handle_buffer):
17872 * gst/base/gstbasetransform.h:
17873 Many fixes and new features added by Thomas. Can now also do
17874 transforms with variable sizes and a custom fixate_caps function.
17876 2005-08-24 Wim Taymans <wim@fluendo.com>
17878 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17882 Cast to ClockTime before formatting to time.
17887 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17889 * check/gst-libs/controller.c: (GST_START_TEST),
17890 (gst_controller_suite):
17891 * docs/gst/tmpl/gstcaps.sgml:
17892 * docs/gst/tmpl/gstghostpad.sgml:
17893 * docs/gst/tmpl/gstquery.sgml:
17894 * docs/gst/tmpl/gstutils.sgml:
17895 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17896 (gst_object_sink_values), (gst_object_get_value_arrays),
17897 (gst_object_get_value_array):
17898 gracefully handle helper method calls to objects that are not beeing
17899 controlled, added test case for that
17901 2005-08-23 Wim Taymans <wim@fluendo.com>
17903 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17904 (gst_event_new_newsegment), (gst_event_parse_newsegment),
17905 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17906 (gst_event_parse_qos), (gst_event_new_seek),
17907 (gst_event_parse_seek):
17909 Some more debugging output and doc cleanups.
17911 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17912 Fix possible deadlock.
17914 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17916 * docs/gst/gstreamer-docs.sgml:
17917 * docs/gst/gstreamer-sections.txt:
17918 * docs/gst/gstreamer.types:
17919 * docs/gst/tmpl/.cvsignore:
17922 * gst/gstelement.c:
17924 added 100 symbols from gstreamer-unused.txt to the right sections
17925 fixed more broken comments
17926 added GstBus to docs
17928 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17930 * docs/gst/gstreamer-sections.txt:
17931 * docs/gst/tmpl/.cvsignore:
17932 * docs/gst/tmpl/gstbin.sgml:
17933 * docs/gst/tmpl/gstbuffer.sgml:
17934 * gst/base/gstbasesrc.c:
17935 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17938 * tools/gst-launch.1.in:
17939 inlined more doc comments, added missing comments and fixed comments
17942 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
17944 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17948 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17950 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17951 * gst/gststructure.h:
17952 add a fixate function for booleans; add a FIXME that these func
17953 names should probably be gst_structure_fixate_*
17955 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17957 * docs/gst/gstreamer-docs.sgml:
17958 * docs/gst/gstreamer-sections.txt:
17960 * gst/gstbin.c: (gst_bin_get_type),
17961 (gst_bin_child_proxy_get_child_by_index),
17962 (gst_bin_child_proxy_get_children_count),
17963 (gst_bin_child_proxy_init):
17964 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17965 (gst_child_proxy_get_child_by_index),
17966 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17967 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17968 (gst_child_proxy_get), (gst_child_proxy_set_property),
17969 (gst_child_proxy_set_valist), (gst_child_proxy_set),
17970 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17971 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17972 * gst/gstchildproxy.h:
17973 * gst/parse/grammar.y:
17974 * tools/gst-inspect.c: (print_interfaces),
17975 (print_element_properties_info), (print_element_info):
17976 ported gstchildproxy over from 0.8
17977 ported gst-inspect fixes and enhancements over from 0.8
17979 2005-08-22 Wim Taymans <wim@fluendo.com>
17981 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17982 (gst_base_transform_handle_buffer):
17983 Also call the transform function if we have ANY caps.
17985 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17988 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17990 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17991 Don't pretend to handle seek events if the source is not seekable
17993 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17995 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17996 Remove extra parameter to debug output
17998 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17999 (gst_base_src_do_seek), (gst_base_src_activate_push):
18000 Fix seek event handling.
18002 * gst/gstpipeline.c: (gst_pipeline_change_state):
18003 * gst/gstqueue.c: (gst_queue_handle_sink_event),
18004 (gst_queue_src_activate_push):
18005 Don't start the src pad task on FLUSH_STOP if the pad
18009 2005-08-22 Wim Taymans <wim@fluendo.com>
18011 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
18012 Added check for gst_static_caps_get() refcounting.
18014 2005-08-22 Wim Taymans <wim@fluendo.com>
18016 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
18017 Make _static_caps_get() refcounting sane.
18019 * gst/gstelement.c: (gst_element_set_state):
18020 Add g_return_val_if_fail() to protect against segfaults.
18022 2005-08-22 Stefan Kost <ensonic@users.sf.net>
18024 * docs/gst/tmpl/gstevent.sgml:
18027 inlined remaining docs, added missing doc comments
18029 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
18031 * check/gst/gstbin.c: (GST_START_TEST):
18032 since we don't know when preroll is done, use refcount range
18034 * gst/check/gstcheck.h:
18035 add macro for checking refcount range
18037 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
18039 * check/Makefile.am:
18040 clean up environment for when registry gets built versus
18041 when actual tests are run; valgrind seems to not report
18042 leaks if GST_PLUGIN_PATH is set to some specific values
18043 * check/gst/gstbin.c: (GST_START_TEST):
18044 add more refcounting checks; maybe this exposes a
18046 * common/check.mak:
18047 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18048 * gst/check/gstcheck.h:
18049 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
18050 (gst_bin_change_state):
18051 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
18052 add/fix debugging/whitespace
18054 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
18056 * check/gst/gstevent.c: (event_probe), (test_event),
18058 Er, don't call gst_bin_watch_for_state_change you idiot.
18060 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
18062 * check/Makefile.am:
18063 Use CHECK_CFLAGS and CHECK_LIBS
18064 * check/gst/gstevent.c: (event_probe), (test_event),
18067 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18068 (gst_base_src_start), (gst_base_src_stop),
18069 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18070 (gst_base_src_change_state):
18071 Sprinkle gst_base_src_stop liberally around error paths to fix
18072 problems reusing a source after failed state changes.
18073 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18074 (helper_find_suggest), (gst_type_find_helper):
18075 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
18077 * docs/gst/tmpl/gstevent.sgml:
18078 Migrate part of the docs from the SGML file. Wait for ensonic to
18079 tell me how I did it wrong ;)
18080 * tools/gst-typefind.c: (main):
18081 Extra robustness to state changes between files.
18083 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
18085 * check/Makefile.am:
18086 don't valgrind the controller test - it's leaking - Stefan, HELP
18087 * gst/check/gstcheck.c: (gst_check_message_error),
18088 (gst_check_chain_func), (gst_check_setup_element),
18089 (gst_check_teardown_element), (gst_check_setup_src_pad),
18090 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
18091 (gst_check_teardown_sink_pad):
18092 * gst/check/gstcheck.h:
18093 add a bunch of methods to set up elements, and src and sink pads
18094 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
18095 * check/elements/identity.c: (setup_identity), (cleanup_identity),
18098 * gst/gstmessage.c:
18100 whitespace/doc fixes
18102 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18104 * gst/gstelement.h:
18105 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
18106 be handled by the application and not always printed as well
18108 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18110 * check/Makefile.am:
18112 * gst/check/gstcheck.c: (gst_check_message_error):
18113 * gst/check/gstcheck.h:
18114 add a fail_unless_equals_int
18115 add fail_unless for error messages
18117 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18119 * check/Makefile.am:
18121 * common/Makefile.am:
18122 * common/check.mak:
18124 factor out some of the common stuff so we can use it
18126 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18128 * check/Makefile.am:
18129 * check/gst/gstiterator.c: (GST_START_TEST):
18130 * check/gst/gstsystemclock.c: (GST_START_TEST),
18131 (gst_systemclock_suite):
18132 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
18134 valgrind more tests
18136 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18138 * check/elements/.cvsignore:
18139 * check/elements/gstfakesrc.c:
18140 rename to name of element
18141 * check/elements/identity.c: (chain_func), (event_func),
18142 (setup_identity), (cleanup_identity), (GST_START_TEST),
18143 (identity_suite), (main):
18144 add a test for identity
18145 * check/Makefile.am:
18146 * pkgconfig/Makefile.am:
18147 * pkgconfig/gstreamer-check.pc.in:
18148 * pkgconfig/gstreamer-check-uninstalled.pc.in:
18152 move the check stuff to a library that gets installed
18153 * check/gst-libs/controller.c: (GST_START_TEST):
18154 * check/gst-libs/gdp.c:
18155 * check/gst/gst.c: (GST_START_TEST):
18156 * check/gst/gstbin.c:
18157 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18158 * check/gst/gstbus.c:
18159 * check/gst/gstcaps.c: (GST_START_TEST):
18160 * check/gst/gstelement.c:
18161 * check/gst/gstghostpad.c:
18162 * check/gst/gstiterator.c:
18163 * check/gst/gstmessage.c:
18164 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
18165 * check/gst/gstobject.c:
18166 * check/gst/gstpad.c: (GST_START_TEST):
18167 * check/gst/gststructure.c: (GST_START_TEST):
18168 * check/gst/gstsystemclock.c: (GST_START_TEST),
18169 (gst_systemclock_suite):
18170 * check/gst/gsttag.c: (gst_tag_suite):
18171 * check/gst/gstvalue.c:
18172 * check/pipelines/cleanup.c:
18173 * check/pipelines/simple_launch_lines.c:
18174 * check/states/sinks.c:
18175 change include statement
18177 * docs/gst/gstreamer-sections.txt:
18178 * docs/gst/tmpl/gstpad.sgml:
18179 document more pad stuff
18180 * gst/gstminiobject.c: (gst_mini_object_ref),
18181 (gst_mini_object_unref):
18184 2005-08-19 Stefan Kost <ensonic@users.sf.net>
18186 * docs/gst/tmpl/gst.sgml:
18188 eliminate another tmpl file, fix spelling in the long-description
18190 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18192 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18193 (test_event), (timediff), (gstevents_suite):
18194 Should fix build on 64-bit arch's
18196 2005-08-18 Andy Wingo <wingo@pobox.com>
18198 Make sure that when a pipeline goes to PLAYING, that data has
18199 actually hit the sink.
18201 * check/states/sinks.c (test_sink): A sink that doesn't get any
18202 data shouldn't return SUCCESS for going to either PLAYING or
18203 PAUSED. Test also the return values on the way back down.
18205 * gst/gstelement.c (gst_element_set_state): When changing the
18206 state of an element currently changing state asynchronously, go to
18207 lost-state after commiting the pending state. Makes future calls
18208 to get_state continue to return ASYNC.
18210 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
18211 ASYNC when going to PLAYING if we still don't have preroll, as can
18212 happen with live sources.
18214 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18216 * docs/pwg/advanced-types.xml:
18217 Hack long paragraph into 2 chunks as a workaround for buggy
18218 jadetex version in sid and breezy that loops infinitely and
18221 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18223 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18224 (test_event), (timediff), (gstevents_suite):
18225 Provide more error margin in clock measurements to allow for
18226 g_get_current_time inaccuracies.
18228 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18230 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18231 (test_event), (timediff), (gstevents_suite):
18232 Fix error message output so I might be able to tell why the
18233 test works here but fails on the build farm.
18235 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18237 * check/Makefile.am:
18238 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18239 (test_event), (timediff), (gstevents_suite), (main):
18242 * docs/design/part-seeking.txt:
18243 Spelling correction
18245 * docs/gst/tmpl/gstevent.sgml:
18246 * docs/gst/tmpl/gstfakesrc.sgml:
18249 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18250 Treat a buffer-without-newsegment the same as a receiving
18251 a newsegment not in time format, and disable syncing to the clock
18254 * gst/gstbus.c: (gst_bus_set_sync_handler):
18255 Assert if anyone tries to replace the existing sync_handler for bus,
18256 as only the owner should be setting it.
18259 Have a fixed set of custom event enums with events identified by
18260 their structure name (as in 0.8), rather than a free-for-all
18261 allowing collisions between enum values from different plugins.
18263 * gst/gstpad.c: (gst_pad_class_init):
18266 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18267 Handle out-of-band downstream events from the sending thread.
18269 2005-08-17 Andy Wingo <wingo@pobox.com>
18271 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
18272 play-timeout==0 to mean no timeout at all. In that case, don't
18273 bother with a get_state or a warning, just return directly, even
18276 * gst/base/gstbasetransform.c: Debug changes.
18279 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
18280 ensure bins post state change messages. A bit of a hack but I can't
18281 think of a way to avoid it.
18283 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
18285 2005-08-16 Andy Wingo <wingo@pobox.com>
18287 * gst/base/gstadapter.h:
18288 * gst/base/gstadapter.c (gst_adapter_take): New function, like
18289 peek() but you own the data. Not terribly efficient atm.
18291 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18293 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
18294 (gst_element_found_tags):
18296 Add two utility functions for tag handling.
18298 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18300 * docs/manual/advanced-dataaccess.xml:
18301 * docs/manual/basics-helloworld.xml:
18302 Fix docs to use _bin_add() before _link(), which fixes the examples
18303 with recent core versions (reported by Madhan Raj M
18304 <raj_madan@rediffmail.com>, #313199).
18306 2005-08-16 Wim Taymans <wim@fluendo.com>
18308 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18309 Added subtract checks.
18311 * docs/design/part-events.txt:
18312 Some more docs about newsegment
18314 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
18317 * gst/gstcaps.c: (gst_caps_to_string):
18318 Add comments, cleanups.
18320 * gst/gstelement.c: (gst_element_save_thyself):
18323 * gst/gstvalue.c: (gst_value_collect_int_range),
18324 (gst_string_unwrap), (gst_value_union_int_int_range),
18325 (gst_value_union_int_range_int_range),
18326 (gst_value_intersect_int_int_range),
18327 (gst_value_intersect_int_range_int_range),
18328 (gst_value_intersect_double_double_range),
18329 (gst_value_intersect_double_range_double_range),
18330 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
18331 (gst_value_subtract_int_range_int),
18332 (gst_value_subtract_double_range_double),
18333 (gst_value_subtract_double_range_double_range),
18334 (gst_value_subtract_from_list), (gst_value_subtract_list),
18335 (gst_value_can_compare), (gst_value_compare_fraction):
18336 Cleanups, add comments, remove unneeded asserts.
18338 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
18340 * tools/gst-launch.c: (event_loop):
18341 don't convert NULL structures to strings
18343 2005-08-15 Stefan Kost <ensonic@users.sf.net>
18345 * docs/gst/gstreamer-sections.txt:
18346 made some defines private
18347 * docs/gst/tmpl/gstconfig.sgml:
18348 * docs/gst/tmpl/gstqueue.sgml:
18349 * docs/gst/tmpl/gsttaglist.sgml:
18350 * docs/gst/tmpl/gsttypes.sgml:
18351 * docs/gst/tmpl/gstutils.sgml:
18352 * docs/pwg/appendix-porting.xml:
18353 * gst/base/gstbasesink.h:
18354 * gst/base/gstbasesrc.c:
18355 * gst/base/gstbasesrc.h:
18356 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
18357 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
18358 * gst/gstelement.c: (gst_element_class_init):
18359 * gst/gstpad.c: (gst_pad_class_init):
18360 * gst/gstqueue.c: (gst_queue_class_init):
18361 * gst/gstxml.c: (gst_xml_class_init):
18362 documented all undocumented signal inline
18363 * libs/gst/controller/gst-controller.h:
18366 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18368 * docs/pwg/appendix-porting.xml:
18369 Document _set_link_function -> _set_setcaps_function.
18371 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
18373 * check/Makefile.am:
18374 add a .check target for running the check
18375 * check/gst-libs/controller.c: (GST_START_TEST):
18377 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18378 complete checks for gstbuffer; would be nice if I could get the
18379 gcov stuff to work so I can see if I actually completed gstbuffer.c
18380 * check/gstcheck.h:
18381 add ASSERT_BUFFER_REFCOUNT
18383 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
18385 * docs/gst/gstreamer-sections.txt:
18386 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
18388 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
18389 spew out a warning if a tag that is already registered
18390 is re-registered, unless it is re-registered with a
18391 different type (#308438).
18393 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
18395 * docs/pwg/appendix-porting.xml:
18396 * docs/pwg/building-state.xml:
18397 Add some paragraphs about state changes in 0.9 to the PWG
18398 and the porting guide, in particular about the new meaning
18399 of GST_STATE_PAUSED and how to write state change functions
18400 with concurrent access by multiple threads in mind.
18402 2005-08-11 Stefan Kost <ensonic@users.sf.net>
18404 * docs/gst/gstreamer-docs.sgml:
18405 * docs/libs/gstreamer-libs-docs.sgml:
18406 added deprecation and since indexes
18407 * libs/gst/controller/gst-controller.c:
18408 * libs/gst/controller/gst-helper.c:
18412 2005-08-11 Wim Taymans <wim@fluendo.com>
18414 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
18415 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
18416 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
18417 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
18418 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
18419 (gst_ghost_pad_set_target):
18420 Actually implement (re)setting the target on a ghostpad
18421 as described in the docs.
18423 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
18425 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
18426 Check whether GST_DEBUG_NO_COLOR environment variable is
18427 set and disable coloured debug output if that is the case.
18429 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
18431 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18432 (gst_type_find_helper):
18433 The memory returned by gst_type_find_peek() needs to
18434 stay valid until the end of a typefind function, and
18435 typefind functions may keep results from different
18436 offsets around, so we can't just unref the buffer from
18437 the previous _peek(), but have to save all buffers
18438 returned by _peek() until typefinding is done and only
18441 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
18443 * docs/gst/gstreamer-sections.txt:
18445 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
18447 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18449 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18450 Fix a pretty good memleak.
18452 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
18454 * gst/gstiterator.h:
18455 Fix wrong include and 'make distcheck'.
18457 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18459 * gst/gstbin.c: (bin_bus_handler):
18460 Use gst_element_post_message() instead.
18462 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
18464 * gst/base/gstadapter.h:
18465 * gst/base/gstbasesink.h:
18466 * gst/base/gstbasesrc.h:
18467 * gst/base/gstbasetransform.h:
18468 * gst/base/gstcollectpads.h:
18469 * gst/base/gstpushsrc.h:
18470 * gst/gstiterator.h:
18471 Add padding to our base elements' class and instance structs and
18472 to GstIterator (you will need to rebuild all plugins and apps!)
18474 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18476 * gst/gstbin.c: (bin_bus_handler):
18477 Make default message forwarding from child->bus to bin->bus
18478 threadsafe and make it not emit warnings if the parent has no bus.
18480 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18482 * gst/gstelement.c: (activate_pads):
18483 On paused->ready, set pad->caps to NULL, as is the documented
18484 behaviour in this state change. Fixes playback of series of
18485 media files when visualization is enabled in Totem.
18487 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18489 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18490 Allow NULL as filter-caps (which means "any").
18492 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18494 * docs/libs/gstreamer-libs-sections.txt:
18495 * libs/gst/controller/gst-controller.c:
18496 * libs/gst/controller/gst-controller.h:
18497 * libs/gst/controller/gst-helper.c:
18498 adding more entries to the docs and fix small doc-bugs
18500 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18502 * docs/gst/gstreamer-docs.sgml:
18503 * docs/gst/gstreamer-sections.txt:
18504 * docs/gst/gstreamer.types:
18505 * docs/gst/tmpl/gstbasesink.sgml:
18506 * docs/gst/tmpl/gstbasesrc.sgml:
18507 * docs/gst/tmpl/gstbasetransform.sgml:
18508 * docs/gst/tmpl/gstfakesrc.sgml:
18509 * gst/base/gstcollectpads.c:
18510 * gst/base/gstcollectpads.h:
18511 * libs/gst/controller/gst-controller.c:
18512 * libs/gst/controller/gst-controller.h:
18513 * libs/gst/controller/gst-helper.c:
18514 * libs/gst/controller/gst-interpolation.c:
18515 * libs/gst/controller/lib.c:
18516 added long/short desc for controller docs
18517 added collectpads base class docs
18518 added correct includes to base-class docs
18520 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18522 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18523 (gst_test_mono_source_set_property),
18524 (gst_test_mono_source_class_init), (GST_START_TEST),
18525 (gst_controller_suite):
18526 * docs/gst/gstreamer-docs.sgml:
18527 * docs/gst/gstreamer-sections.txt:
18528 * docs/gst/gstreamer.types:
18529 * docs/libs/gstreamer-libs-docs.sgml:
18530 * docs/libs/gstreamer-libs-sections.txt:
18531 * gst/base/gstadapter.c:
18532 * libs/gst/controller/gst-controller.c:
18533 (gst_controlled_property_new), (gst_controlled_property_free),
18534 (gst_controller_new_valist),
18535 (gst_controller_remove_properties_valist),
18536 (gst_controller_sink_values), (_gst_controller_finalize):
18537 * libs/gst/controller/gst-controller.h:
18538 * libs/gst/controller/gst-helper.c:
18539 (gst_object_control_properties), (gst_object_uncontrol_properties),
18540 (gst_object_get_controller), (gst_object_set_controller),
18541 (gst_object_sink_values), (gst_object_get_value_arrays),
18542 (gst_object_get_value_array):
18543 more tests (and fixes) for the controller
18544 more docs for the controller
18545 integrated companies docs for the adapter
18547 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
18549 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
18550 (GST_START_TEST), (fakesrc_suite):
18551 add tests for sizetype
18553 2005-08-04 Andy Wingo <wingo@pobox.com>
18555 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
18556 fixes buffer_alloc proxying among other things.
18558 * gst/base/gstbasetransform.c:
18559 * gst/base/gstbasetransform.h:
18560 Revert patch to gstbasetransform from 7-28 removing
18563 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
18564 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
18565 Semantics changed, should return not the size of the output buffer
18566 but the byte size of a buffer with a given caps.
18568 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
18570 (gst_base_transform_configure_caps): Don't set out_size here: (in,
18571 out) are not the pad caps until setcaps finishes.
18572 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
18573 not-in-place case as well. Deal with changing from in-place to
18574 not-in-place within calling pad_alloc_buffer. Still a bit
18575 concerned about the overhead here...
18577 2005-08-03 Andy Wingo <wingo@pobox.com>
18579 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
18580 fixating is an error.
18582 2005-08-04 Edward Hervey <edward@fluendo.com>
18584 * gst/base/gstadapter.h:
18585 Added gst_adapter_get_type() to the header
18587 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18589 * check/Makefile.am:
18590 * check/gst-libs/controller.c:
18591 * libs/gst/controller/gst-controller.c:
18592 (gst_controller_new_valist):
18593 added check test suite for the controller
18594 * gst/base/gstpushsrc.c:
18597 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18599 * docs/gst/Makefile.am:
18600 * docs/gst/gstreamer-docs.sgml:
18601 * docs/gst/gstreamer-sections.txt:
18602 * docs/gst/gstreamer.types:
18603 * docs/gst/tmpl/gstfakesrc.sgml:
18605 * gst/base/gstbasesink.c:
18606 * gst/base/gstbasesink.h:
18607 * gst/base/gstbasesrc.c:
18608 * gst/base/gstbasesrc.h:
18609 * gst/base/gstbasetransform.c:
18610 * gst/base/gstpushsrc.c:
18611 * gst/base/gstpushsrc.h:
18612 add short/long description docs to base classes
18613 add pushsrc to the docs
18614 remove consolidated doc fragments
18616 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18619 * docs/libs/Makefile.am:
18620 * docs/libs/gstreamer-libs-docs.sgml:
18621 * docs/libs/gstreamer-libs-sections.txt:
18622 * docs/libs/gstreamer-libs.types:
18623 * examples/Makefile.am:
18624 * examples/controller/.cvsignore:
18625 * examples/controller/Makefile.am:
18626 * examples/controller/audio-example.c: (main):
18627 * libs/gst/Makefile.am:
18628 * libs/gst/controller/.cvsignore:
18629 * libs/gst/controller/Makefile.am:
18630 * libs/gst/controller/gst-controller.c:
18631 (on_object_controlled_property_changed), (gst_timed_value_compare),
18632 (gst_timed_value_find),
18633 (gst_controlled_property_set_interpolation_mode),
18634 (gst_controlled_property_new), (gst_controlled_property_free),
18635 (gst_controller_find_controlled_property),
18636 (gst_controller_new_valist), (gst_controller_new),
18637 (gst_controller_remove_properties_valist),
18638 (gst_controller_remove_properties), (gst_controller_set),
18639 (gst_controller_set_from_list), (gst_controller_unset),
18640 (gst_controller_get), (gst_controller_get_all),
18641 (gst_controller_sink_values), (gst_controller_get_value_arrays),
18642 (gst_controller_get_value_array),
18643 (gst_controller_set_interpolation_mode),
18644 (_gst_controller_finalize), (_gst_controller_init),
18645 (_gst_controller_class_init), (gst_controller_get_type):
18646 * libs/gst/controller/gst-controller.h:
18647 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18648 (g_object_uncontrol_properties), (g_object_get_controller),
18649 (g_object_set_controller), (g_object_sink_values),
18650 (g_object_get_value_arrays), (g_object_get_value_array):
18651 * libs/gst/controller/gst-interpolation.c:
18652 (gst_controlled_property_find_timed_value_node),
18653 (interpolate_none_get), (interpolate_trigger_get),
18654 (interpolate_trigger_get_value_array):
18655 * libs/gst/controller/lib.c: (gst_controller_init):
18656 * pkgconfig/Makefile.am:
18657 * pkgconfig/gstreamer-control-uninstalled.pc.in:
18658 * pkgconfig/gstreamer-control.pc.in:
18659 * testsuite/Makefile.am:
18660 * testsuite/controller/.cvsignore:
18661 * testsuite/controller/Makefile.am:
18662 * testsuite/controller/interpolator.c: (main):
18663 added controller code
18664 removed dparam pc files
18666 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18667 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18668 (gst_collectpads_stop):
18669 Broadcast the condition when shutting down, to make sure we wake all
18670 threads up. Shut down pads on finalize, for safety.
18672 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18673 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18674 (gst_base_transform_handle_buffer),
18675 (gst_base_transform_change_state):
18676 Handle PAUSED->READY->PAUSED transition after negotiation
18678 * gst/gstmessage.c: (gst_message_init):
18679 Extra piece of debug for new messages.
18681 2005-08-01 Stefan Kost <ensonic@users.sf.net>
18684 * docs/gst/tmpl/gstbasesrc.sgml:
18685 * docs/gst/tmpl/gstelement.sgml:
18686 * docs/gst/tmpl/gstevent.sgml:
18687 * docs/gst/tmpl/gstfakesrc.sgml:
18688 * docs/gst/tmpl/gstformat.sgml:
18689 * docs/gst/tmpl/gstghostpad.sgml:
18690 * docs/gst/tmpl/gstpad.sgml:
18691 * docs/gst/tmpl/gstquery.sgml:
18692 * docs/gst/tmpl/gststructure.sgml:
18693 * docs/gst/tmpl/gsttaglist.sgml:
18694 * docs/gst/tmpl/gstvalue.sgml:
18695 * docs/libs/gstreamer-libs-docs.sgml:
18696 * docs/libs/gstreamer-libs-sections.txt:
18697 * docs/libs/gstreamer-libs.types:
18698 * libs/gst/Makefile.am:
18699 * libs/gst/control/.cvsignore:
18700 * libs/gst/control/Makefile.am:
18701 * libs/gst/control/control.c:
18702 * libs/gst/control/control.h:
18703 * libs/gst/control/dparam.c:
18704 * libs/gst/control/dparam.h:
18705 * libs/gst/control/dparam_smooth.c:
18706 * libs/gst/control/dparam_smooth.h:
18707 * libs/gst/control/dparamcommon.h:
18708 * libs/gst/control/dparammanager.c:
18709 * libs/gst/control/dparammanager.h:
18710 * libs/gst/control/dplinearinterp.c:
18711 * libs/gst/control/dplinearinterp.h:
18712 * libs/gst/control/unitconvert.c:
18713 * libs/gst/control/unitconvert.h:
18714 * testsuite/Makefile.am:
18715 * testsuite/dynparams/.cvsignore:
18716 * testsuite/dynparams/Makefile.am:
18717 * testsuite/dynparams/dparamstest.c:
18718 * tools/Makefile.am:
18719 * tools/gst-inspect.c: (print_element_info), (main):
18720 * tools/gst-xmlinspect.c: (print_element_info), (main):
18721 deactivate and remove dparams (libgstcontrol)
18723 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18725 * gst/elements/gsttypefindelement.c:
18726 (gst_type_find_element_have_type), (gst_type_find_element_init),
18727 (stop_typefinding), (gst_type_find_element_handle_event),
18728 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18729 * gst/elements/gsttypefindelement.h:
18730 Set caps on all outgoing buffers, not just the first one.
18732 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18734 * gst/elements/gsttypefindelement.c:
18735 (gst_type_find_element_have_type),
18736 (gst_type_find_element_check_set_buffer_caps),
18737 (gst_type_find_element_init), (stop_typefinding),
18738 (gst_type_find_element_handle_event),
18739 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18740 * gst/elements/gsttypefindelement.h:
18741 Set caps on first outgoing buffer when we've found the type.
18743 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18745 * docs/gst/gstreamer-docs.sgml:
18746 * docs/gst/gstreamer-sections.txt:
18747 * docs/gst/tmpl/gstscheduler.sgml:
18748 * docs/gst/tmpl/gstschedulerfactory.sgml:
18749 Remove some old cruft from docs.
18751 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
18754 Fix inline docs for GstPadLinkReturn.
18756 * gst/gststructure.c: (gst_structure_has_name):
18757 * gst/gststructure.h:
18758 * docs/gst/gstreamer-sections.txt:
18759 New API: gst_structure_has_name().
18761 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
18764 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18765 and _LARGEFILE_SOURCE in config.h as required. Do not
18766 export those flags in our .pc files any longer (#142209).
18768 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18770 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18771 (gst_file_sink_do_seek), (gst_file_sink_event),
18772 (gst_file_sink_get_current_offset), (gst_file_sink_render):
18773 Redo seek/tell calls with large file support in mind; add some
18774 debugging messages; add log message that tells us when large
18775 file support is unavailable or not enabled for some reason.
18777 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18778 Add log message that tells us when large file support
18779 is unavailable or not enabled for some reason.
18781 2005-07-29 Wim Taymans <wim@fluendo.com>
18783 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18784 Added test for removing an element with ghostpad from a bin.
18785 Fixed test as current implementation does the right thing.
18787 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18788 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18789 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18790 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18791 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18792 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18793 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18794 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18795 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18796 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18797 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18798 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18799 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18800 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18801 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18802 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18803 * gst/gstghostpad.h:
18804 Clean up ghostpads, remove properties for internal stuff.
18807 Prepare for switching targets, not all use cases work yet.
18809 2005-07-29 Wim Taymans <wim@fluendo.com>
18811 * docs/design/part-gstghostpad.txt:
18814 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18815 (gst_bin_remove_func):
18816 Unlinking pads while holding the bin LOCK is not a good
18819 * gst/gstpad.c: (gst_pad_class_init),
18820 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18821 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18822 No prob setting template after creating the pad.
18824 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
18826 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18827 (gst_bus_peek), (gst_bus_source_dispatch),
18828 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18829 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18830 gst_bus_poll may be called from other threads. Handle
18831 this nicely by not making poll_data disappear off the
18832 stack once gst_bus_poll returns.
18833 gst_bus_peek now increments the refcount on the returned
18836 2005-07-29 Wim Taymans <wim@fluendo.com>
18838 * docs/design/part-gstghostpad.txt:
18839 Overview of current GhostPad datastructures and use
18840 cases for changing the target.
18842 2005-07-28 Wim Taymans <wim@fluendo.com>
18844 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18845 Added checks for hierarchy consistency whan adding linked
18848 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18849 Added check to test element scheduling without bin/pipeline.
18851 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18852 First add elements to bin, then link.
18854 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18855 (gst_bin_remove_func):
18856 Unlink pads from elements added/removed from bin to maintain
18857 hierarchy consistency.
18859 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18861 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18862 (gst_base_transform_handle_buffer):
18863 * gst/base/gstbasetransform.h:
18864 Remove broken delay_configure (fixes renegotiation of software
18865 scaling pipelines); remove some leftover printf()s.
18867 2005-07-28 Wim Taymans <wim@fluendo.com>
18869 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18870 Added some more tests for wrong hierarchy
18872 * docs/design/part-overview.txt:
18875 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18878 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18879 (gst_element_dispose):
18880 Some more cleanups.
18882 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18883 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18884 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18885 (gst_pad_set_caps), (gst_pad_send_event):
18886 Check for correct hierarchy when linking pads. Moving to
18887 strict requirement for ghostpads when linking elements in
18891 Clean ups. Added WRONG_HIERARCHY return value.
18893 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18895 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18896 Better debug if no transform is possible.
18898 2005-07-27 Wim Taymans <wim@fluendo.com>
18900 * docs/random/wtay/network-transp:
18901 Some old doc I had.
18903 2005-07-27 Wim Taymans <wim@fluendo.com>
18905 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18906 (gst_dp_event_from_packet):
18907 Fix serialization of seek events.
18909 2005-07-27 Wim Taymans <wim@fluendo.com>
18911 * check/gst-libs/gdp.c: (GST_START_TEST):
18912 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18913 Fix compilation and fix event serialization.
18915 2005-07-27 Wim Taymans <wim@fluendo.com>
18918 * docs/design/part-TODO.txt:
18919 * docs/design/part-events.txt:
18922 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18923 (gst_base_sink_event), (gst_base_sink_do_sync),
18924 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18925 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18926 (gst_base_src_do_seek), (gst_base_src_event_handler),
18927 (gst_base_src_loop):
18928 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18929 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18930 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18931 (gst_base_transform_event), (gst_base_transform_handle_buffer),
18932 (gst_base_transform_set_passthrough),
18933 (gst_base_transform_is_passthrough):
18934 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18935 * gst/elements/gstfilesink.c: (gst_file_sink_event):
18941 * gst/gstelement.c: (gst_element_seek):
18942 * gst/gstelement.h:
18943 Update gst_element_seek.
18945 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18946 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18947 (gst_event_new_flush_start), (gst_event_new_flush_stop),
18948 (gst_event_new_eos), (gst_event_new_newsegment),
18949 (gst_event_parse_newsegment), (gst_event_new_tag),
18950 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18951 (gst_event_parse_qos), (gst_event_new_seek),
18952 (gst_event_parse_seek), (gst_event_new_navigation):
18954 Make GstEvent use GstStructure. Add parsing code, make sure the
18955 API is sufficiently generic.
18956 Mark possible directions of events and serialization.
18958 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18959 (_gst_message_copy), (gst_message_new_segment_start),
18960 (gst_message_new_segment_done), (gst_message_new_custom),
18961 (gst_message_parse_segment_start),
18962 (gst_message_parse_segment_done):
18965 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18966 (gst_pad_set_caps), (gst_pad_send_event):
18967 Update for new events.
18968 Catch events sent in wrong directions.
18970 * gst/gstqueue.c: (gst_queue_link_src),
18971 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18972 (gst_queue_handle_src_query):
18977 Remove event code from this file.
18979 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18980 (gst_dp_event_from_packet):
18983 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18985 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18986 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18987 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18988 Make debugging actually useful.
18990 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18992 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18993 (gst_pad_fixate_caps):
18994 Implement default fixation once again, so that gst_pad_fixate()
18995 actually does anything at all. This probably needs to be some
18996 sort of a last resort, and use profile-based fixation first, but
18997 since that doesn't exist yet, this is the best we have. Fixes
18998 visualization in Totem.
19000 2005-07-22 Wim Taymans <wim@fluendo.com>
19002 * docs/design/part-events.txt:
19005 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19006 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
19007 (gst_base_sink_activate_pull):
19008 Some more comments.
19010 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
19011 (gst_fake_src_create):
19012 Fix handoff marshall.
19014 * gst/elements/gstidentity.c: (gst_identity_class_init),
19015 (gst_identity_transform_ip):
19016 We're a real inplace element.
19018 * gst/gstbus.c: (gst_bus_post):
19019 Added some comments.
19021 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
19022 * tests/muxing/case1.c: (main):
19023 * tests/sched/dynamic-pipeline.c: (main):
19024 * tests/sched/interrupt1.c: (main):
19025 * tests/sched/interrupt2.c: (main):
19026 * tests/sched/interrupt3.c: (main):
19027 * tests/sched/runxml.c: (main):
19028 * tests/sched/sched-stress.c: (main):
19029 * tests/seeking/seeking1.c: (event_received), (main):
19030 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
19032 * tests/threadstate/threadstate3.c: (main):
19033 * tests/threadstate/threadstate4.c: (main):
19034 * tests/threadstate/threadstate5.c: (main):
19037 2005-07-21 Wim Taymans <wim@fluendo.com>
19039 * docs/design/part-seeking.txt:
19040 Some small additions.
19042 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19043 (gst_base_sink_get_times), (gst_base_sink_do_sync),
19044 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
19045 * gst/base/gstbasesink.h:
19046 discont values are gint64, handle the math correctly.
19048 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19049 Make the basesrc report error if the source pad is not linked.
19051 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
19052 (gst_queue_loop), (gst_queue_handle_src_query),
19053 (gst_queue_src_activate_push):
19054 Make queue collect data even if the srcpad is not linked.
19055 Start pushing out data as soon as it is linked.
19057 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
19059 Added gst_flow_get_name() to ease error reporting.
19061 2005-07-20 Wim Taymans <wim@fluendo.com>
19063 * gst/gstmessage.c: (gst_message_new_segment_start),
19064 (gst_message_new_segment_done), (gst_message_parse_segment_start),
19065 (gst_message_parse_segment_done):
19066 * gst/gstmessage.h:
19067 Added a bunch of messages for advanced seeking.
19069 * gst/parse/grammar.y:
19070 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
19071 (gst_dpman_state_changed):
19072 Fix some new-pad -> pad-added signals
19074 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19076 * docs/manual/appendix-porting.xml:
19077 * docs/pwg/appendix-porting.xml:
19078 Document new-pad/state-change signal renames and the FixedList
19081 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19083 * docs/manual/advanced-autoplugging.xml:
19084 * docs/manual/basics-helloworld.xml:
19085 * docs/manual/basics-pads.xml:
19086 * docs/random/ds/0.9-suggested-changes:
19087 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
19088 * gst/gstelement.h:
19092 * gst/gststructure.c: (gst_structure_value_get_generic_type),
19093 (gst_structure_parse_array), (gst_structure_parse_value):
19094 * gst/gstvalue.c: (gst_type_is_fixed),
19095 (gst_value_list_prepend_value), (gst_value_list_append_value),
19096 (gst_value_list_get_size), (gst_value_list_get_value),
19097 (gst_value_transform_array_string), (gst_value_serialize_array),
19098 (gst_value_deserialize_array), (gst_value_intersect_array),
19099 (gst_value_is_fixed), (_gst_value_initialize):
19101 GstElement::new-pad -> pad-added, GstElement::state-change ->
19102 state-changed, GstValueFixedList -> GstValueArray, add format and
19103 flags as their own arguments in gst_element_seek() (should improve
19104 "bindeability"), remove function generators since they don't work
19105 under a whole bunch of compilers (they were deprecated already
19108 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19110 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19111 (_gst_debug_register_funcptr):
19113 Fix illegal cast on some platforms (#309253).
19115 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19117 * gst/gstmessage.c: (gst_message_new_custom):
19118 * gst/gstmessage.h:
19119 Add _new_custom, make _new_application a macro to _new_custom.
19121 2005-07-20 Wim Taymans <wim@fluendo.com>
19123 * gst/base/gstbasesrc.c: (gst_base_src_init),
19124 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
19125 * gst/base/gstbasesrc.h:
19126 Add a gboolean to decide when to push out a discont.
19128 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19129 (gst_queue_loop), (gst_queue_handle_src_query),
19130 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
19131 (gst_queue_set_property), (gst_queue_get_property):
19134 * tests/threadstate/threadstate1.c: (main):
19135 Make a thread test compile and run... very silly..
19138 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19140 * docs/manual/appendix-porting.xml:
19141 Mention removal of libgstgconf-0.9.la and existence of gconf
19144 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19146 * docs/pwg/advanced-clock.xml:
19147 * docs/pwg/appendix-porting.xml:
19148 * docs/pwg/intro-preface.xml:
19149 * docs/pwg/other-base.xml:
19150 * docs/pwg/other-manager.xml:
19151 * docs/pwg/other-nton.xml:
19152 * docs/pwg/other-ntoone.xml:
19153 * docs/pwg/other-oneton.xml:
19154 * docs/pwg/pwg.xml:
19155 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
19156 demuxer), remove n-to-n (was never written), fix some code examples
19157 and links and update the porting section to include all this.
19159 2005-07-19 Wim Taymans <wim@fluendo.com>
19161 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
19162 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
19163 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
19164 (gst_queue_src_activate_push), (gst_queue_change_state),
19165 (gst_queue_get_property):
19167 Propagate GstFlowReturn more intelligently upstream and output
19168 an ERROR/EOS when streaming stopped due to fatal error.
19170 2005-07-19 Wim Taymans <wim@fluendo.com>
19172 * tools/gst-launch.c: (check_intr), (event_loop), (main):
19173 Don't block forever for the state change to complete, the
19174 pipeline already did with a sensible timeout.
19176 2005-07-19 Wim Taymans <wim@fluendo.com>
19178 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19179 Make sure we never call the create function is we
19182 2005-07-19 Andy Wingo <wingo@pobox.com>
19184 * gst/parse/parse.l: Attempt to solve bug #172815.
19186 2005-07-19 Wim Taymans <wim@fluendo.com>
19188 * docs/design/part-clocks.txt:
19189 * docs/design/part-events.txt:
19190 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
19191 Small docs updates.
19192 Only update the seeking values when we are not
19195 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
19197 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19198 Oops, ignore the result of gst_pad_push_event here.
19200 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
19202 * gst/base/gstbasesrc.c: (gst_base_src_loop),
19203 (gst_base_src_activate_push):
19204 Send discont event from the loop function, as pads
19205 aren't activated yet in the activate_push handler.
19207 * gst/gstbin.c: (bin_bus_handler):
19208 Don't leak element name.
19210 2005-07-18 Andy Wingo <wingo@pobox.com>
19212 * configure.ac: Use AS_LIBTOOL_TAGS.
19214 2005-07-18 Wim Taymans <wim@fluendo.com>
19216 * docs/gst/gstreamer.types:
19217 Remove deleted types.
19219 2005-07-18 Wim Taymans <wim@fluendo.com>
19221 * check/elements/gstfakesrc.c: (GST_START_TEST):
19224 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
19225 (init_popt_callback):
19227 * gst/gst_private.h:
19228 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
19229 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
19232 * gst/gstconfig.h.in:
19233 * gst/gstelement.c: (gst_element_class_init),
19234 (gst_element_set_base_time), (gst_element_get_base_time),
19235 (iterator_fold_with_resync), (gst_element_change_state),
19236 (gst_element_dispose), (gst_element_get_bus):
19237 * gst/gstelement.h:
19238 * gst/gstelementfactory.h:
19239 * gst/gsterror.c: (_gst_core_errors_init):
19242 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19244 * gst/gstinfo.c: (_gst_debug_init):
19245 * gst/gstmessage.c: (_gst_message_copy):
19246 * gst/gstmessage.h:
19247 * gst/gstminiobject.h:
19250 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19251 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
19254 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19255 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19256 (gst_pipeline_get_last_stream_time):
19257 * gst/gstpipeline.h:
19258 * gst/gstpluginfeature.h:
19260 * gst/gstscheduler.c:
19261 * gst/gstscheduler.h:
19262 * gst/gststructure.h:
19263 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19264 (gst_task_finalize), (gst_task_func), (gst_task_create),
19265 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
19266 (gst_task_stop), (gst_task_pause):
19268 * gst/gsttypefind.h:
19270 * gst/registries/gstlibxmlregistry.c: (load_feature),
19271 (gst_xml_registry_load), (gst_xml_registry_save_feature):
19272 * gst/registries/gstxmlregistry.c:
19273 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
19274 * gst/schedulers/threadscheduler.c:
19275 * libs/gst/control/dparammanager.h:
19276 * tools/gst-inspect.c: (print_element_list),
19277 (print_plugin_features), (print_element_features):
19278 * tools/gst-xmlinspect.c: (print_element_list),
19279 (print_plugin_info), (main):
19280 Removed plugable schedulers.
19281 Removed Scheduler/Manager from elements.
19282 Removed gsttypes.h, rearranged includes.
19283 Removed dependency pad<->element, element<>pipeline, and
19284 various others, fix includes.
19285 implement gst_pad_get_parent() with gst_object_get_parent()
19286 Make GstTask sefcontained.
19287 Fix _get_state() on GstBin, it did not return ASYNC with a 0
19289 Fix endless loop in iterator_fold_with_resync.
19292 2005-07-18 Wim Taymans <wim@fluendo.com>
19298 2005-07-18 Wim Taymans <wim@fluendo.com>
19301 No more cothreads.h
19303 2005-07-18 Wim Taymans <wim@fluendo.com>
19307 Let's remove these.
19309 2005-07-18 Wim Taymans <wim@fluendo.com>
19311 * docs/design/part-dynamic.txt:
19312 * docs/design/part-events.txt:
19313 * docs/design/part-seeking.txt:
19314 Some more docs in the works.
19316 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19317 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
19318 (gst_base_transform_setcaps), (gst_base_transform_get_size),
19319 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19320 (gst_base_transform_handle_buffer),
19321 (gst_base_transform_sink_activate_push),
19322 (gst_base_transform_src_activate_pull),
19323 (gst_base_transform_set_passthrough),
19324 (gst_base_transform_is_passthrough):
19327 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
19330 * gst/gstevent.c: (gst_event_finalize):
19333 * gst/gstutils.c: (gst_element_unlink),
19334 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
19335 (gst_pad_proxy_setcaps):
19337 Add _get_parent_element() to get a pads parent as an element.
19339 2005-07-18 Wim Taymans <wim@fluendo.com>
19341 * check/gst/gstbin.c: (GST_START_TEST):
19344 2005-07-18 Wim Taymans <wim@fluendo.com>
19346 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19347 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19348 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19349 (gst_base_sink_event), (gst_base_sink_do_sync),
19350 (gst_base_sink_chain), (gst_base_sink_loop),
19351 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
19352 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19354 Fix logic for returning ASYNC when not prerolled.
19356 2005-07-18 Wim Taymans <wim@fluendo.com>
19358 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19359 Fix nasty refcount bug.
19361 2005-07-16 Philippe Khalaf <burger@speedy.org>
19363 * gst/elements/gstfdsrc.c:
19364 * gst/elements/gstfdsrc.h:
19365 * gst/elements/gstelements.c:
19366 * gst/elements/Makefile.am:
19367 Ported fdsrc to 0.9.
19369 2005-07-16 Wim Taymans <wim@fluendo.com>
19371 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19372 (gst_base_sink_do_sync):
19375 2005-07-16 Wim Taymans <wim@fluendo.com>
19377 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19378 (gst_base_sink_event), (gst_base_sink_get_times),
19379 (gst_base_sink_do_sync), (gst_base_sink_change_state):
19380 * gst/base/gstbasesink.h:
19381 Store and use discont values when syncing buffers as described
19384 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19385 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
19386 (gst_base_src_activate_push):
19387 Push discont event when starting.
19389 * gst/elements/gstidentity.c: (gst_identity_transform):
19392 * gst/gstbin.c: (gst_bin_change_state):
19393 Small cleanups in base_time distribution.
19395 * gst/gstelement.c: (gst_element_set_base_time),
19396 (gst_element_get_base_time), (gst_element_change_state):
19397 * gst/gstelement.h:
19398 Added methods for the base_time of the element.
19401 * gst/gstpipeline.c: (gst_pipeline_send_event),
19402 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19403 (gst_pipeline_get_last_stream_time):
19404 * gst/gstpipeline.h:
19406 Handle seeking as described in design doc, remove stream_time
19408 Cleanups clock and stream_time selection code. Added accessors
19409 for the stream_time.
19412 2005-07-16 Andy Wingo <wingo@pobox.com>
19414 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
19417 2005-07-16 Wim Taymans <wim@fluendo.com>
19419 * check/gst/gstbin.c: (GST_START_TEST):
19420 Make elements silent as the deep_notify refs the
19421 parent, which might make the test fail.
19423 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19424 Don't hold the lock for too long.
19426 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
19428 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19429 Don't unref the caps we passed to gst_caps_make_writable() after
19430 passing them. gst_caps_make_writable() will do that for us.
19432 2005-07-15 Andy Wingo <wingo@pobox.com>
19434 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
19437 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
19438 own marshalling function for the handoff signal. Properly type the
19439 buffer as a buffer. Fixes some warnings. Should do a more general
19441 (gst_identity_class_init): Plug into the right marshaller.
19443 2005-07-15 Wim Taymans <wim@fluendo.com>
19445 * docs/design/part-TODO.txt:
19446 * docs/design/part-clocks.txt:
19447 * docs/design/part-element-sink.txt:
19448 * docs/design/part-events.txt:
19449 * docs/design/part-gstpipeline.txt:
19450 Updated docs, mostly DISCONT related.
19452 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
19454 * docs/pwg/building-pads.xml:
19455 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
19457 2005-07-15 Andy Wingo <wingo@pobox.com>
19459 * tools/gst-typefind.c: Update, add copyright block.
19461 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
19462 Normalize and truncate caps before fixation.
19465 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
19466 discards all but the first structure from its argument.
19468 2005-07-15 Wim Taymans <wim@fluendo.com>
19470 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19471 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
19472 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19473 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19474 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
19475 (gst_base_transform_chain), (gst_base_transform_change_state),
19476 (gst_base_transform_set_passthrough),
19477 (gst_base_transform_is_passthrough):
19478 * gst/base/gstbasetransform.h:
19479 Make passthrough work using the bufferpools.
19480 Changed API a bit, subclasses have to write into a buffer
19481 provided by the base class.
19482 More debug info in nego functions.
19484 * gst/elements/gstidentity.c: (gst_identity_init),
19485 (gst_identity_transform):
19486 Port to new base class.
19488 2005-07-15 Wim Taymans <wim@fluendo.com>
19490 * gst/gstmessage.c: (gst_message_new_state_changed):
19491 * tools/gst-launch.c: (event_loop), (main):
19492 Totally dump messages in -launch with the -m option.
19493 Fix message name for State messages,
19495 2005-07-14 Wim Taymans <wim@fluendo.com>
19497 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19498 Post error messages on errors.
19500 2005-07-14 Wim Taymans <wim@fluendo.com>
19502 * gst/gstcaps.c: (gst_caps_do_simplify):
19506 Define error for stream stopped.
19508 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19509 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
19510 Do proper return values.
19512 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19513 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
19514 (gst_pad_get_range):
19515 Better return values.
19518 Reorganise return values, add macro to check for fatal errors.
19520 * gst/gstqueue.c: (gst_queue_chain):
19521 Return proper GstFlowReturn values,
19523 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
19525 * docs/gst/gstreamer-sections.txt:
19526 * docs/gst/gstreamer.types:
19527 * docs/gst/tmpl/gst.sgml:
19528 * docs/gst/tmpl/gstbasesink.sgml:
19529 * docs/gst/tmpl/gstbasesrc.sgml:
19530 * docs/gst/tmpl/gstbasetransform.sgml:
19531 * docs/gst/tmpl/gstbin.sgml:
19532 * docs/gst/tmpl/gstbuffer.sgml:
19533 * docs/gst/tmpl/gstcaps.sgml:
19534 * docs/gst/tmpl/gstclock.sgml:
19535 * docs/gst/tmpl/gstcompat.sgml:
19536 * docs/gst/tmpl/gstconfig.sgml:
19537 * docs/gst/tmpl/gstelement.sgml:
19538 * docs/gst/tmpl/gstelementdetails.sgml:
19539 * docs/gst/tmpl/gstelementfactory.sgml:
19540 * docs/gst/tmpl/gstenumtypes.sgml:
19541 * docs/gst/tmpl/gsterror.sgml:
19542 * docs/gst/tmpl/gstevent.sgml:
19543 * docs/gst/tmpl/gstfakesink.sgml:
19544 * docs/gst/tmpl/gstfakesrc.sgml:
19545 * docs/gst/tmpl/gstfilesink.sgml:
19546 * docs/gst/tmpl/gstfilesrc.sgml:
19547 * docs/gst/tmpl/gstfilter.sgml:
19548 * docs/gst/tmpl/gstformat.sgml:
19549 * docs/gst/tmpl/gstghostpad.sgml:
19550 * docs/gst/tmpl/gstimplementsinterface.sgml:
19551 * docs/gst/tmpl/gstindex.sgml:
19552 * docs/gst/tmpl/gstindexfactory.sgml:
19553 * docs/gst/tmpl/gstinfo.sgml:
19554 * docs/gst/tmpl/gstiterator.sgml:
19555 * docs/gst/tmpl/gstmacros.sgml:
19556 * docs/gst/tmpl/gstmemchunk.sgml:
19557 * docs/gst/tmpl/gstminiobject.sgml:
19558 * docs/gst/tmpl/gstobject.sgml:
19559 * docs/gst/tmpl/gstpad.sgml:
19560 * docs/gst/tmpl/gstpadtemplate.sgml:
19561 * docs/gst/tmpl/gstparse.sgml:
19562 * docs/gst/tmpl/gstpipeline.sgml:
19563 * docs/gst/tmpl/gstplugin.sgml:
19564 * docs/gst/tmpl/gstpluginfeature.sgml:
19565 * docs/gst/tmpl/gstquery.sgml:
19566 * docs/gst/tmpl/gstqueue.sgml:
19567 * docs/gst/tmpl/gstregistry.sgml:
19568 * docs/gst/tmpl/gstregistrypool.sgml:
19569 * docs/gst/tmpl/gstscheduler.sgml:
19570 * docs/gst/tmpl/gstschedulerfactory.sgml:
19571 * docs/gst/tmpl/gststructure.sgml:
19572 * docs/gst/tmpl/gstsystemclock.sgml:
19573 * docs/gst/tmpl/gsttaglist.sgml:
19574 * docs/gst/tmpl/gsttagsetter.sgml:
19575 * docs/gst/tmpl/gsttrace.sgml:
19576 * docs/gst/tmpl/gsttrashstack.sgml:
19577 * docs/gst/tmpl/gsttypefind.sgml:
19578 * docs/gst/tmpl/gsttypefindfactory.sgml:
19579 * docs/gst/tmpl/gsttypes.sgml:
19580 * docs/gst/tmpl/gsturihandler.sgml:
19581 * docs/gst/tmpl/gsturitype.sgml:
19582 * docs/gst/tmpl/gstutils.sgml:
19583 * docs/gst/tmpl/gstvalue.sgml:
19584 * docs/gst/tmpl/gstversion.sgml:
19585 * docs/gst/tmpl/gstxml.sgml:
19586 * docs/libs/tmpl/gstcontrol.sgml:
19587 * docs/libs/tmpl/gstdataprotocol.sgml:
19588 * docs/libs/tmpl/gstdparam.sgml:
19589 * docs/libs/tmpl/gstdplinint.sgml:
19590 * docs/libs/tmpl/gstdpman.sgml:
19591 * docs/libs/tmpl/gstdpsmooth.sgml:
19592 * docs/libs/tmpl/gstgetbits.sgml:
19593 * docs/libs/tmpl/gstunitconvert.sgml:
19594 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
19595 (gst_push_src_base_init), (gst_push_src_class_init),
19596 (gst_push_src_init), (gst_push_src_create):
19597 * gst/base/gstpushsrc.h:
19598 * gst/elements/gstelements.c:
19599 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
19600 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
19601 (gst_fake_sink_init), (gst_fake_sink_set_property),
19602 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
19603 (gst_fake_sink_event), (gst_fake_sink_preroll),
19604 (gst_fake_sink_render), (gst_fake_sink_change_state):
19605 * gst/elements/gstfakesink.h:
19606 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19607 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19608 (gst_fake_src_base_init), (gst_fake_src_class_init),
19609 (gst_fake_src_init), (gst_fake_src_event_handler),
19610 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
19611 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
19612 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
19613 (gst_fake_src_create_buffer), (gst_fake_src_create),
19614 (gst_fake_src_start), (gst_fake_src_stop):
19615 * gst/elements/gstfakesrc.h:
19616 * gst/elements/gstfilesink.c: (_do_init),
19617 (gst_file_sink_base_init), (gst_file_sink_class_init),
19618 (gst_file_sink_init), (gst_file_sink_dispose),
19619 (gst_file_sink_set_location), (gst_file_sink_set_property),
19620 (gst_file_sink_get_property), (gst_file_sink_open_file),
19621 (gst_file_sink_close_file), (gst_file_sink_query),
19622 (gst_file_sink_event), (gst_file_sink_render),
19623 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
19624 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
19625 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
19626 * gst/elements/gstfilesink.h:
19627 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
19628 (gst_file_src_class_init), (gst_file_src_init),
19629 (gst_file_src_finalize), (gst_file_src_set_location),
19630 (gst_file_src_set_property), (gst_file_src_get_property),
19631 (gst_file_src_map_region), (gst_file_src_map_small_region),
19632 (gst_file_src_create_mmap), (gst_file_src_create_read),
19633 (gst_file_src_create), (gst_file_src_is_seekable),
19634 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
19635 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
19636 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
19637 (gst_file_src_uri_handler_init):
19638 * gst/elements/gstfilesrc.h:
19639 more autistic cleanliness in functions/names/defines
19641 2005-07-13 Andy Wingo <wingo@pobox.com>
19643 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19644 source couldn't negotiate.
19646 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19650 * gst/gstutils.c (gst_element_link_pads_filtered): New old
19651 function. I am channeling Hades. Put your boots on suckers!!!
19653 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
19655 * testsuite/caps/Makefile.am:
19656 * testsuite/caps/value_compare.c:
19657 * testsuite/caps/value_intersect.c:
19658 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19659 move two testsuite apps over to the check dir
19661 2005-07-12 Wim Taymans <wim@fluendo.com>
19663 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19664 Added more debug info in the negotiate process.
19666 * gst/gstmessage.h:
19667 Prepare for segment playback.
19669 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19675 * tools/gst-launch.c: (main):
19676 NULL pipeline on errors.
19678 2005-07-12 Andy Wingo <wingo@pobox.com>
19680 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19681 not it comes from a malloc region. Make sure our copy gets freed.
19683 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19685 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19686 * check/gst/gstmessage.c: (GST_START_TEST):
19687 * check/gst/gststructure.c: (GST_START_TEST),
19688 (gst_structure_suite), (main):
19690 * gst/gstelement.c: (gst_element_message_full):
19691 clean up GError and debug string now that they get copied
19692 * gst/gstmessage.c: (gst_message_new_error),
19693 (gst_message_new_warning), (gst_message_parse_error),
19694 (gst_message_parse_warning):
19695 use GST_TYPE_G_ERROR for structure_new, and take copies of
19696 arguments, so that we don't mess up refcounting
19698 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19700 * check/Makefile.am:
19701 add per-test valgrind targets
19702 * check/gst-libs/gdp.c: (GST_START_TEST),
19703 (gst_data_protocol_suite), (main):
19706 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19708 * check/Makefile.am:
19709 instate more valgrindable tests
19710 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19711 (GST_START_TEST), (fakesrc_suite):
19712 * check/gst/gstpad.c: (GST_START_TEST):
19713 * check/gst/gststructure.c: (GST_START_TEST):
19715 * docs/gst/tmpl/gstminiobject.sgml:
19716 * gst/gstpad.c: (gst_pad_finalize):
19717 fix the static mutex leak
19719 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19721 * check/Makefile.am:
19722 add two more tests for valgrinding
19723 * check/gst/gstvalue.c: (GST_START_TEST):
19724 test refcount of deserialized buffer, found a leak
19725 * docs/gst/gstreamer-docs.sgml:
19726 * docs/gst/gstreamer-sections.txt:
19727 * docs/gst/gstreamer.types:
19728 * docs/gst/tmpl/gstminiobject.sgml:
19729 add miniobject to docs
19730 * gst/gstminiobject.c:
19732 * gst/gstvalue.c: (gst_value_deserialize_buffer),
19733 (gst_string_unwrap):
19734 fix a hard-to-find invalid write for one of the tests
19735 fix a leak for deserialized buffers
19737 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19739 * docs/pwg/advanced-events.xml:
19740 * docs/pwg/advanced-request.xml:
19741 * docs/pwg/advanced-scheduling.xml:
19742 * docs/pwg/appendix-porting.xml:
19743 * docs/pwg/building-boiler.xml:
19744 * docs/pwg/intro-preface.xml:
19745 * docs/pwg/other-ntoone.xml:
19746 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19747 of example code and explanation for pad activation, loop() and
19748 getrange() functions and a bit more. Remove old comments pointing
19750 * examples/pwg/Makefile.am:
19751 Add loop/getrange examples.
19753 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19756 check for valgrind binary + some fixes
19758 valgrind suppressions for the tests
19759 * check/Makefile.am:
19760 add a valgrind: target that valgrinds the unit tests
19761 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19762 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19763 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19764 * check/gst/gstghostpad.c:
19766 * check/gst/gstdata.c:
19768 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19769 (thread_unref), (gst_mini_object_suite), (main):
19771 * gst/gst.c: (gst_deinit):
19773 add a method to clean up.
19774 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19775 (gst_system_clock_obtain):
19776 allow for disposing the system clock.
19777 * tools/gst-launch.c: (main):
19780 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19782 * docs/gst/tmpl/gstbasesrc.sgml:
19783 * docs/gst/tmpl/gstfakesrc.sgml:
19784 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19785 (gst_base_src_init), (gst_base_src_set_property),
19786 (gst_base_src_get_property), (gst_base_src_get_range),
19787 (gst_base_src_start):
19788 * gst/base/gstbasesrc.h:
19789 add num-buffers property
19790 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19791 (gst_fakesrc_init), (gst_fakesrc_set_property),
19792 (gst_fakesrc_get_property), (gst_fakesrc_create),
19793 (gst_fakesrc_start):
19794 remove num-buffers property
19796 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19798 * docs/gst/gstreamer-sections.txt:
19799 * docs/gst/tmpl/gstbasesink.sgml:
19800 * docs/gst/tmpl/gstbasesrc.sgml:
19801 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19802 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19803 (gst_base_sink_finalize), (gst_base_sink_set_clock),
19804 (gst_base_sink_set_property), (gst_base_sink_get_property),
19805 (gst_base_sink_handle_object), (gst_base_sink_event),
19806 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19807 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19808 (gst_base_sink_loop), (gst_base_sink_deactivate),
19809 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19810 (gst_base_sink_change_state):
19811 * gst/base/gstbasesink.h:
19812 * gst/base/gstbasesrc.h:
19813 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19814 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19815 (gst_filesink_init):
19816 more macro splitting
19818 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19820 * gst/gstelement.c: (gst_element_get_bus):
19822 * tools/gst-launch.c: (check_intr), (event_loop):
19825 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19827 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19830 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19832 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19833 (gst_base_src_finalize):
19834 add finalize method and clean up properly
19835 * gst/gstpipeline.c: (gst_pipeline_dispose):
19838 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19840 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19842 add more things to check
19843 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19844 * gst/gstelement.c:
19847 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19849 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19850 (GST_START_TEST), (fakesrc_suite):
19851 * check/gst-libs/gdp.c: (GST_START_TEST):
19852 * check/gst/gst.c: (GST_START_TEST):
19853 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19854 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19855 * check/gst/gstbus.c: (GST_START_TEST):
19856 * check/gst/gstcaps.c: (GST_START_TEST):
19857 * check/gst/gstdata.c: (GST_START_TEST):
19858 * check/gst/gstelement.c: (GST_START_TEST):
19859 * check/gst/gstghostpad.c: (GST_START_TEST):
19860 * check/gst/gstiterator.c: (GST_START_TEST):
19861 * check/gst/gstmessage.c: (GST_START_TEST):
19862 * check/gst/gstobject.c: (GST_START_TEST):
19863 * check/gst/gstpad.c: (GST_START_TEST):
19864 * check/gst/gststructure.c: (GST_START_TEST):
19865 * check/gst/gstsystemclock.c: (GST_START_TEST),
19866 (gst_systemclock_suite):
19867 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19868 * check/gst/gstvalue.c: (GST_START_TEST):
19869 * check/pipelines/cleanup.c: (GST_START_TEST):
19870 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19871 * check/states/sinks.c: (GST_START_TEST):
19872 * check/gstcheck.c: (gst_check_init):
19873 * check/gstcheck.h:
19874 add debugging category
19875 use GST_START_TEST now, so we add a debug line
19877 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19879 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19880 add test for state change message on a bin
19881 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19883 * gst/gstbin.c: (gst_bin_init):
19884 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19885 * gst/gstelement.c: (gst_element_post_message),
19886 (gst_element_set_state):
19887 * gst/gstelementfactory.c: (gst_element_factory_create):
19888 * gst/gstmessage.c: (gst_message_new):
19889 * gst/gstscheduler.c:
19890 various debugging additions and cleanups
19892 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19894 * check/Makefile.am:
19895 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19897 adding tests for elements
19898 * gst/gstelement.c: (gst_element_dispose):
19900 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19902 * gst/registries/gstlibxmlregistry.c: (load_feature):
19903 plug more leaks. A simple gst_init() now is leakfree, yay.
19905 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19907 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19908 (gst_xml_registry_load):
19909 plug another memleak
19911 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19914 use GST_SET_ERROR_CFLAGS
19915 * docs/faq/cvs.xml:
19916 change to ERROR_CFLAGS
19918 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19921 make GST_ERROR_CFLAGS overridable and re-enable Werror
19922 * docs/faq/cvs.xml:
19923 add a note about error CFLAGS
19924 * docs/gst/tmpl/gstfakesrc.sgml:
19925 * gst/elements/gstfakesrc.c:
19926 comment out some unused code
19927 * gst/gst.c: (split_and_iterate):
19928 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19932 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19934 * common/Makefile.am:
19935 * common/gtk-doc.mak:
19936 * docs/gst/Makefile.am:
19937 factor out gtk-doc.mak
19939 2005-07-07 Wim Taymans <wim@fluendo.com>
19941 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19942 (gst_thread_scheduler_dispose):
19943 Unlock the STREAM_LOCK completely.
19945 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19947 * check/Makefile.am:
19948 * check/elements/.cvsignore:
19949 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19950 (START_TEST), (fakesrc_suite), (main):
19951 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19952 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19953 (gst_fakesrc_create), (gst_fakesrc_start):
19954 * gst/elements/gstfakesrc.h:
19955 adding a first element test
19957 2005-07-07 Andy Wingo <wingo@pobox.com>
19959 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19962 2005-07-07 Wim Taymans <wim@fluendo.com>
19968 2005-07-07 Wim Taymans <wim@fluendo.com>
19970 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19971 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19972 Allow subclasses to implement their own negotiation.
19974 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19976 * docs/design/part-gstbin.txt:
19977 * docs/design/part-gstpipeline.txt:
19978 Update design notes to reflect the movement of
19979 responsibility for bus handling from GstPipeline to
19982 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19985 Remove unnecessary queue2/3/4 examples.
19987 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19989 * examples/Makefile.am:
19990 * examples/helloworld/helloworld.c: (event_loop), (main):
19991 * examples/queue/queue.c: (event_loop), (main):
19992 * examples/queue2/queue2.c: (main):
19993 Update a couple of the examples to work again.
19995 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19996 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19997 Spelling corrections and extra debug.
19999 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
20000 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
20001 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
20003 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20004 (gst_pipeline_change_state):
20005 * gst/gstpipeline.h:
20006 Move the bus handler for children to the GstBin, and create a
20007 separate bus for receiving messages from children to the one the
20008 bus sends 'upwards' on.
20010 2005-07-06 Wim Taymans <wim@fluendo.com>
20013 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20014 (gst_base_sink_handle_object), (gst_base_sink_loop),
20015 (gst_base_sink_change_state):
20016 * gst/base/gstbasesink.h:
20017 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20018 (gst_base_src_init), (gst_base_src_setcaps),
20019 (gst_base_src_getcaps), (gst_base_src_loop),
20020 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
20021 (gst_base_src_start), (gst_base_src_change_state):
20022 * gst/base/gstbasesrc.h:
20023 Make basesrc negotiate.
20024 Handle the case where preroll fails in basesink.
20027 2005-07-06 Wim Taymans <wim@fluendo.com>
20029 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
20030 Implement the fixate function.
20031 Clean up acceptcaps.
20033 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20035 * docs/pwg/building-filterfactory.xml:
20036 * docs/pwg/pwg.xml:
20037 Remove never-written filter-factory chapter; I'll add the various
20038 base classes to part 4 ("other element types") later on.
20040 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20042 * docs/pwg/advanced-negotiation.xml:
20043 * docs/pwg/building-boiler.xml:
20044 * docs/pwg/building-pads.xml:
20045 * docs/pwg/pwg.xml:
20046 * examples/pwg/Makefile.am:
20047 Add a chapter on caps negotiation, simplify the original code
20048 samples a bit w.r.t. caps negotiation, add link to the advanced
20049 section. Add a bunch of examples showing different use cases of
20050 different types of caps negotiation. Upstream renegotiation isn't
20051 fully documented yet since nobody knows how that works.
20053 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
20055 * check/gst/gstpad.c:
20056 * check/gstcheck.c:
20057 * gst/gstpad.c: (gst_pad_get_internal_links_default):
20058 if pad has no parent, return NULL as list of internal links
20060 2005-07-05 Andy Wingo <wingo@pobox.com>
20062 * gst/elements/gstfilesrc.c:
20063 * gst/elements/gstfakesrc.c:
20064 * gst/base/gstpushsrc.c:
20065 * gst/base/gstbasesrc.h:
20066 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
20068 2005-07-05 Stefan Kost <ensonic@users.sf.net>
20071 better report generation target (lcov needs a patch)
20073 2005-07-05 Andy Wingo <wingo@pobox.com>
20075 * gst/elements, testsuite: Null if we got it...
20077 2005-07-05 Wim Taymans <wim@fluendo.com>
20080 * libs/gst/dataprotocol/Makefile.am:
20081 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
20082 * libs/gst/dataprotocol/dataprotocol.h:
20083 * pkgconfig/Makefile.am:
20084 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
20085 * pkgconfig/gstreamer-dataprotocol.pc.in:
20086 Ported dataprotol to 0.9.
20087 Added pkgconfig files.
20089 2005-07-05 Andy Wingo <wingo@pobox.com>
20091 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
20092 Default to returning TRUE for the case when tranform_caps returns
20093 a fixed caps, like for identity or volume.
20095 * check/gst/gstbus.c (pound_bus_with_messages):
20096 * check/gst/gstmessage.c (START_TEST):
20097 * check/pipelines/simple_launch_lines.c (got_handoff): Application
20098 message API change.
20100 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
20101 logic weaks here: always run transform_caps, trying passthrough
20102 operation only if the original caps intersects with the transform.
20104 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
20105 source and sink caps.
20107 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
20108 Intersect the peer caps with the pad template before going into
20110 (gst_base_transform_transform_caps): More debugging.
20112 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
20115 2005-07-04 Edward Hervey <edward@fluendo.com>
20119 (gst_pad_add_*_probe): now returns the signal id for better wrapping
20122 2005-07-04 Andy Wingo <wingo@pobox.com>
20124 * check/gst/gstpad.c: Only set explicit caps on pads.
20126 2005-07-01 Andy Wingo <wingo@pobox.com>
20128 * tests/network-clock.scm: Commentary update.
20130 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
20131 Didn't really make sense, not implementable with basetransform,
20133 (gst_identity_transform): Unref inbuf via make_writable. Feeble
20134 attempt at implementing the sync property, needs an unlock method.
20136 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
20137 New func, by default returns the same caps (the identity
20139 (gst_base_transform_getcaps): Uses transform_caps to return
20140 something sensible.
20141 (gst_base_transform_setcaps): Complicated logic to get caps on
20142 both pads, even if they are different, and to call set_caps once
20143 for every time both pads get their caps set.
20144 (gst_base_transform_handle_buffer): Give the ref to the transform
20145 function. Allows in-place modification of the buffer.
20147 * gst/base/gstbasetransform.h (transform_caps): New class method.
20148 Given caps on one side, what can I do on the other.
20149 (set_caps): Take two caps, one for each side of the element.
20152 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
20153 caps in place. This is safe because we can check the mutability of
20154 the caps, and a good idea because fixate functions are just called
20155 as a matter of last resort. (Not actually implemented.)
20156 (gst_pad_set_caps): If the caps we're setting is actually the same
20157 as the existing pad caps, just update the pointer without calling
20158 setcaps. Assert that caps is either NULL or fixed, as per the
20161 * gst/gstghostpad.c: Update for fixate changes.
20163 2005-07-02 Andy Wingo <wingo@pobox.com>
20166 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
20167 two refcounts makes it immutable, which is enough. Doc more.
20169 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
20171 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
20172 Put the mini_object into GValue as a mini_object,
20173 not a gpointer, since that's how we declared
20176 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20178 * examples/pwg/Makefile.am:
20179 Fix buildbot again.
20181 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20183 * docs/pwg/building-testapp.xml:
20185 * examples/pwg/Makefile.am:
20188 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20191 * examples/Makefile.am:
20192 * examples/pwg/Makefile.am:
20193 * examples/pwg/extract.pl:
20194 Enable building the PWG examples.
20195 * docs/pwg/advanced-interfaces.xml:
20196 Add URI interface stub.
20197 * docs/pwg/advanced-types.xml:
20198 * docs/pwg/other-autoplugger.xml:
20199 * docs/pwg/appendix-porting.xml:
20200 * docs/pwg/pwg.xml:
20201 Add porting guide (mostly stubs), remove autoplugging (see ADM).
20202 * docs/pwg/building-boiler.xml:
20203 * docs/pwg/building-chainfn.xml:
20204 * docs/pwg/building-pads.xml:
20205 * docs/pwg/building-props.xml:
20206 * docs/pwg/building-state.xml:
20207 * docs/pwg/building-testapp.xml:
20208 Update the building-*.xml parts for 0.9 changes. All examples
20209 code blocks compile in examples/pwg/*.
20211 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20213 * docs/manual/advanced-autoplugging.xml:
20214 * docs/manual/appendix-checklist.xml:
20215 * docs/manual/appendix-integration.xml:
20216 * docs/manual/highlevel-components.xml:
20217 Fix playbin/decodebin examples, update docs a bit, mention bus
20218 instead of signals in various places, mention kmplayer and
20219 kaffeine since they have a working GStreamer backend in the KDE
20222 2005-06-30 Wim Taymans <wim@fluendo.com>
20225 * docs/design/draft-ghostpads.txt:
20226 * docs/design/draft-push-pull.txt:
20227 * docs/design/draft-query.txt:
20228 * docs/design/part-TODO.txt:
20229 * docs/design/part-query.txt:
20230 Added CHANGES-0.9 doc, updated status of other docs.
20235 2005-06-30 Wim Taymans <wim@fluendo.com>
20237 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20238 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20239 (gst_base_sink_change_state):
20240 * gst/base/gstbasesink.h:
20241 Some tweaks, only EOS and a buffer complete a preroll.
20243 2005-06-30 Andy Wingo <wingo@pobox.com>
20245 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
20246 activate_push down to the internal pad as well.
20248 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
20250 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20252 * gst/gsttaginterface.c:
20253 Some documentation fixes (#307394 and #307397).
20255 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
20257 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20259 * gst/gstvalue.c: (gst_value_intersect_list):
20260 Fix memleak (#309125).
20262 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20264 * docs/manual/advanced-dataaccess.xml:
20265 Fix fakesrc example to compile; doesn't work, bug somewhere...?
20266 * docs/manual/basics-pads.xml:
20267 Add reference for filtered caps to above chapter.
20269 2005-06-30 Wim Taymans <wim@fluendo.com>
20271 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
20272 (gst_bin_change_state):
20274 Lame attempt at making the state change function a bit
20277 2005-06-30 Wim Taymans <wim@fluendo.com>
20279 * docs/design/part-clocks.txt:
20280 * docs/design/part-element-sink.txt:
20281 * docs/design/part-events.txt:
20282 * docs/design/part-preroll.txt:
20283 * docs/design/part-states.txt:
20284 Some more tweeks and additions to the docs.
20286 2005-06-30 Wim Taymans <wim@fluendo.com>
20288 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20289 (default_have_data), (gst_pad_class_init), (gst_pad_init),
20290 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20291 (gst_pad_check_pull_range), (gst_pad_get_range),
20292 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
20294 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
20295 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20296 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20297 (gst_pad_remove_buffer_probe):
20298 Removed atomic operations, use existing LOCK.
20299 Move exception handling out of main code path.
20301 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20303 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20304 (silly_return_true_function), (gst_pad_class_init),
20305 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20306 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
20307 (gst_pad_send_event):
20308 Fix accumulator, add default value by using _emitv() instead
20309 of _emit() for signal emission.
20311 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20313 * docs/manual/advanced-dataaccess.xml:
20314 * examples/manual/Makefile.am:
20316 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
20319 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
20321 * gst/elements/gstfilesink.c: (gst_filesink_render):
20322 Simplify code so that we don't have to handle short
20323 writes and return GST_FLOW_ERROR if an error occured.
20325 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20327 * docs/gst/gstreamer-docs.sgml:
20328 Remove probes more.
20330 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20332 * docs/gst/gstreamer-sections.txt:
20333 * docs/gst/tmpl/gstpad.sgml:
20334 * docs/gst/tmpl/gstprobe.sgml:
20336 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20337 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
20338 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20339 (gst_pad_push_event), (gst_pad_send_event):
20341 * gst/gstutils.c: (gst_pad_add_data_probe),
20342 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20343 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20344 (gst_pad_remove_buffer_probe):
20346 Remove old probes, add new g-signal-based probes and some utility
20349 2005-06-29 Edward Hervey <edward@fluendo.com>
20351 * gst/gstelementfactory.c:
20354 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
20355 the definition to the header file.
20357 2005-06-29 Andy Wingo <wingo@pobox.com>
20359 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
20360 plugins from the source directory.
20362 2005-06-29 Wim Taymans <wim@fluendo.com>
20364 * docs/gst/tmpl/gstbuffer.sgml:
20365 * docs/gst/tmpl/gstclock.sgml:
20366 Some fixings for blantently wrong text.
20368 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
20370 * check/Makefile.am:
20371 * gst/gst.c: (add_path_func), (init_pre):
20372 * gst/gstregistry.c: (gst_registry_add_path):
20373 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
20374 only scan the GST_PLUGIN_PATH locations, and not add
20377 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
20379 * docs/gst/gstreamer-sections.txt:
20380 * docs/gst/tmpl/gstbasesrc.sgml:
20381 * gst/gstelement.c:
20382 * gst/gstelement.h:
20387 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20389 * docs/manual/advanced-autoplugging.xml:
20390 Fix autoplugging example.
20392 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20394 * docs/manual/advanced-autoplugging.xml:
20395 * docs/manual/mime-world.fig:
20396 Try to get autoplugging working, fix type detection. Fix text
20397 in hello-world image.
20399 2005-06-29 Wim Taymans <wim@fluendo.com>
20401 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20402 (gst_base_sink_change_state):
20406 map SIGNAL and BROADCAST to the right function.
20409 Remove redundant braces.
20411 * gst/gstpad.c: (gst_pad_set_caps):
20412 Don't call setcaps function when reseting caps to NULL.
20414 * gst/gstsystemclock.c: (gst_system_clock_dispose),
20415 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
20416 (gst_system_clock_id_unschedule):
20417 Use BROADCAST as this is what we do.
20419 2005-06-29 Wim Taymans <wim@fluendo.com>
20421 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20422 We are actually prerolling before commiting the state
20425 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20427 * docs/manual/advanced-clocks.xml:
20428 * docs/manual/advanced-interfaces.xml:
20429 * docs/manual/advanced-metadata.xml:
20430 * docs/manual/advanced-position.xml:
20431 * docs/manual/advanced-schedulers.xml:
20432 * docs/manual/advanced-threads.xml:
20433 * docs/manual/appendix-porting.xml:
20434 * docs/manual/basics-bins.xml:
20435 * docs/manual/basics-bus.xml:
20436 * docs/manual/basics-elements.xml:
20437 * docs/manual/basics-helloworld.xml:
20438 * docs/manual/basics-pads.xml:
20439 * docs/manual/highlevel-components.xml:
20440 * docs/manual/manual.xml:
20441 * docs/manual/thread.fig:
20442 Update (until threads/scheduling) Application Development Manual;
20443 remove GstThread, add GstBus, add simple porting checklist, add
20444 documentation for tag writing, clocks, make all examples until this
20445 part compile and run.
20446 * examples/manual/Makefile.am:
20447 Update from changes to Application Development Manual; add bus
20448 example, remove thread example.
20450 2005-06-28 Wim Taymans <wim@fluendo.com>
20452 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
20453 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
20454 (gst_bus_source_dispatch):
20455 Add debugging messages.
20456 Make internal methods static.
20457 Handle the case where the bus is flushed in the handler.
20459 * gst/gstelement.c: (gst_element_get_bus):
20460 Fix refcount in _get_bus();
20462 * gst/gstpipeline.c: (gst_pipeline_change_state),
20463 (gst_pipeline_get_clock_func):
20464 Clock refcounting fixes.
20465 Handle the case where preroll timed out more gracefully.
20467 * gst/gstsystemclock.c: (gst_system_clock_dispose):
20468 Clean up the internal thread in dispose. This is needed
20469 for subclasses that actually get disposed.
20471 * gst/schedulers/threadscheduler.c:
20472 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
20473 (gst_thread_scheduler_dispose):
20474 Free thread pool in dispose.
20476 2005-06-28 Andy Wingo <wingo@pobox.com>
20478 * tests/network-clock-utils.scm (debug, print-event): New utils.
20480 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
20481 (*packet-loss*): Unified loss probability.
20482 (network-time): Report out-of-band events.
20484 * tests/plot-data: Add support for out-of-band events. Hack it
20485 into this script instead of passing it down the pipe; should fix
20488 2005-06-28 Wim Taymans <wim@fluendo.com>
20490 * docs/gst/gstreamer.types:
20491 * docs/gst/tmpl/gstbasesrc.sgml:
20492 * docs/gst/tmpl/gstpad.sgml:
20495 2005-06-28 Wim Taymans <wim@fluendo.com>
20497 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20498 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
20499 (gst_proxy_pad_do_fixatecaps):
20500 Correctly proxy the check_pull_range function.
20502 2005-06-28 Andy Wingo <wingo@pobox.com>
20504 * tests/network-clock.scm: Removed need for slib.
20506 2005-06-28 Wim Taymans <wim@fluendo.com>
20508 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
20509 (gst_basesink_preroll_queue_flush):
20510 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
20511 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
20512 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20513 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20514 (gst_proxy_pad_set_property):
20517 * gst/gstqueue.c: (gst_queue_init):
20518 The deprecated pad loop function is removed now.
20520 2005-06-28 Andy Wingo <wingo@pobox.com>
20522 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
20523 New parameters, simulate network packet loss.
20525 * tests/network-clock-utils.scm: Initialize the RNG.
20527 2005-06-28 Wim Taymans <wim@fluendo.com>
20529 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
20530 (gst_basesink_event), (gst_basesink_deactivate):
20531 Flushing the preroll queue always needs to unlock the waiters.
20533 2005-06-28 Edward Hervey <edward@fluendo.com>
20535 * gst/gstpipeline.c: (gst_pipeline_send_event):
20536 Wheen a seek was successful on a pipeline, set the stream_time to the
20537 seek offset in order to have a synchronized stream_time.
20539 2005-06-28 Wim Taymans <wim@fluendo.com>
20541 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20542 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
20543 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
20544 (gst_proxy_pad_do_fixatecaps):
20545 Call wrapper function instead of just calling the function
20546 pointers. This takes care of any locking and whatmore.
20548 2005-06-28 Wim Taymans <wim@fluendo.com>
20550 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
20551 (gst_pad_pull_range):
20553 CONNECTED -> LINKED.
20555 2005-06-28 Andy Wingo <wingo@pobox.com>
20557 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
20558 source-munging commit!!!
20560 * gst/gstobject.c (gst_object_unref, gst_object_ref)
20561 (gst_object_sink): Take gpointer arguments, not GstObject --
20562 avoids casts. Like GLib.
20564 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
20567 2005-06-27 Andy Wingo <wingo@pobox.com>
20569 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
20572 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
20573 returns a sorted copy of the trace list.
20574 (gst_alloc_trace_print_live): New API, only prints traces with
20575 live objects. Sort the list.
20576 (gst_alloc_trace_print_all): Sort the list.
20577 (gst_alloc_trace_print): Align columns.
20579 * gst/elements/gstttypefindelement.c:
20580 * gst/elements/gsttee.c:
20581 * gst/base/gstbasesrc.c:
20582 * gst/base/gstbasesink.c:
20583 * gst/base/gstbasetransform.c:
20584 * gst/gstqueue.c: Adapt for pad activation changes.
20586 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
20588 (gst_pipeline_dispose): Drop ref on sched.
20590 * gst/gstpad.c (gst_pad_init): Set the default activate func.
20591 (gst_pad_activate_default): Push mode by default.
20592 (pre_activate_switch, post_activate_switch): New stubs, things to
20593 do before and after switching activation modes on pads.
20594 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
20595 the pad's activate function to choose which mode to activate.
20596 Shortcut on deactivation and call the right function directly.
20597 (gst_pad_activate_pull): New API, (de)activates a pad in pull
20599 (gst_pad_activate_push): New API, same for push mode.
20600 (gst_pad_set_activate_function)
20601 (gst_pad_set_activatepull_function)
20602 (gst_pad_set_activatepush_function): Setters for new API.
20604 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
20605 Trace all miniobjects.
20606 (gst_mini_object_make_writable): Unref the arg if we copy, like
20607 gst_caps_make_writable.
20609 * gst/gstmessage.c (_gst_message_initialize): No trace init.
20611 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
20612 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
20613 Adapt for new pad API.
20615 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
20617 * gst/gstelement.h:
20618 * gst/gstelement.c (gst_element_iterate_src_pads)
20619 (gst_element_iterate_sink_pads): New API functions.
20621 * gst/gstelement.c (iterator_fold_with_resync): New utility,
20622 should fold into gstiterator.c in some form.
20623 (gst_element_pads_activate): Simplified via use of fold and
20624 delegation of decisions to gstpad->activate.
20626 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
20629 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
20630 class once in init, like gstmessage. Didn't run into this issue
20631 but it seems correct. Don't initialize a trace, gstminiobject does
20634 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
20635 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
20637 (assert_live_count): New util function, uses alloc traces to check
20640 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20641 To be modified when unlink drops the internal pad.
20643 2005-06-27 Wim Taymans <wim@fluendo.com>
20645 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20646 (gst_bin_change_state):
20647 Cleanup the get_state() function a little, make sure it
20648 iterates the same set of elements.
20649 Added stub iterate_state_order().
20651 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
20653 * docs/gst/gstreamer-docs.sgml:
20654 * docs/gst/gstreamer-sections.txt:
20655 * docs/gst/gstreamer.types:
20656 * docs/gst/tmpl/gstbasesink.sgml:
20657 * docs/gst/tmpl/gstbasesrc.sgml:
20658 * docs/gst/tmpl/gstbasetransform.sgml:
20659 * docs/gst/tmpl/gstelement.sgml:
20660 * docs/gst/tmpl/gstiterator.sgml:
20661 * gst/base/gstbasesrc.c:
20662 * gst/base/gstbasesrc.h:
20663 * gst/base/gstbasetransform.h:
20664 * gst/gstelement.c:
20665 * gst/gstiterator.h:
20666 adding basetransform and iterator docs
20668 2005-06-27 Andy Wingo <wingo@pobox.com>
20670 * docs/design/part-activation.txt: Notes on how activation should
20671 work -- not quite implemented yet.
20673 2005-06-25 Wim Taymans <wim@fluendo.com>
20675 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20676 At least get the chain function correct, needs more
20679 2005-06-25 Wim Taymans <wim@fluendo.com>
20681 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20682 (gst_basesink_handle_object), (gst_basesink_event),
20683 (gst_basesink_do_sync), (gst_basesink_handle_event),
20684 (gst_basesink_change_state):
20686 Right, two problems here: ghostpads don't take locks and
20687 glib _rec_mutex_lock_full() with depth==0 still locks.
20688 Catch illegal locking and g_warn them.
20690 2005-06-25 Wim Taymans <wim@fluendo.com>
20692 * check/states/sinks.c: (START_TEST), (gst_object_suite):
20693 Have to check for completion now...
20695 2005-06-25 Wim Taymans <wim@fluendo.com>
20697 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20698 (gst_basesink_handle_object), (gst_basesink_event),
20699 (gst_basesink_do_sync), (gst_basesink_handle_event),
20700 (gst_basesink_change_state):
20702 Unlock STREAM_LOCK whatever the recursion was.
20704 2005-06-25 Wim Taymans <wim@fluendo.com>
20706 * gst/base/gstbasesink.c: (gst_basesink_set_property),
20707 (gst_basesink_preroll_queue_empty),
20708 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20709 (gst_basesink_event), (gst_basesink_do_sync),
20710 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20711 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20712 (gst_basesink_change_state):
20713 Reworked the base sink, handle event and buffer serialisation
20714 correctly and removed possible deadlock.
20715 Handle EOS correctly.
20717 2005-06-25 Wim Taymans <wim@fluendo.com>
20719 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20720 (gst_pipeline_change_state):
20721 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20722 Allow elements to post EOS in the state change function.
20723 Fix up -launch, make it exit the poll loop when the
20724 pipeline actually changed state.
20725 Fix up warning parsing in -launch.
20727 2005-06-25 Wim Taymans <wim@fluendo.com>
20729 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20730 (gst_tee_sink_activate):
20731 Core takes STREAM_LOCK for us now.
20733 2005-06-25 Wim Taymans <wim@fluendo.com>
20735 * gst/gstelement.c: (gst_element_get_state_func),
20736 (gst_element_set_state):
20737 * gst/gstelement.h:
20738 * gst/gstmessage.c: (gst_message_parse_error),
20739 (gst_message_parse_warning):
20740 Keep track of current target state while performing a state
20741 change so that subclasses can do something interesting.
20742 Fix parsing of warning/error messages when GError is NULL.
20744 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
20746 * docs/gst/Makefile.am:
20747 * docs/gst/gstreamer-docs.sgml:
20748 * docs/gst/gstreamer-sections.txt:
20749 * docs/gst/gstreamer.types:
20750 * docs/gst/tmpl/gstbasesink.sgml:
20751 * docs/gst/tmpl/gstbasesrc.sgml:
20752 * docs/gst/tmpl/gstbin.sgml:
20753 * docs/gst/tmpl/gstcompat.sgml:
20754 * docs/gst/tmpl/gstfakesink.sgml:
20755 * docs/gst/tmpl/gstfakesrc.sgml:
20756 * docs/gst/tmpl/gstfilesink.sgml:
20757 * docs/gst/tmpl/gstfilesrc.sgml:
20758 * docs/gst/tmpl/gstindex.sgml:
20759 * docs/manual/appendix-quotes.xml:
20760 * gst/base/gstbasesrc.h:
20761 * gst/elements/gstfakesrc.h:
20762 * gst/gstmessage.h:
20763 start pulling in base classes and elements in our docs
20765 2005-06-24 Stefan Kost <ensonic@users.sf.net>
20767 * docs/gst/Makefile.am:
20768 * docs/libs/Makefile.am:
20769 fixed make distcheck with gtk-doc 1.3
20771 2005-06-23 Wim Taymans <wim@fluendo.com>
20773 * gst/gstelement.c: (gst_element_get_state_func),
20774 (gst_element_set_state), (gst_element_change_state):
20775 When the state did not change, also report NO_PREROLL
20778 2005-06-23 Wim Taymans <wim@fluendo.com>
20780 * gst/gstpad.c: (gst_pad_event_default):
20781 * gst/gstqueue.c: (gst_queue_loop):
20782 No unsafe task pausing please.
20784 2005-06-23 Wim Taymans <wim@fluendo.com>
20786 * gst/schedulers/threadscheduler.c:
20787 (gst_thread_scheduler_task_start),
20788 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20789 Ref the task before pushing it on the threadpool. This
20790 makes sure that we have a ref when the threadfunction is
20793 2005-06-23 Andy Wingo <wingo@pobox.com>
20795 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20796 offset is greater than the file's size.
20798 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
20799 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20800 * gst/gstobject.c (gst_object_class_init): Make the class lock
20801 recursive. Wim won't let me drop deep_notify. Decodebin works
20802 again, whoopdy doo.
20804 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20805 internal pad, and hacks accordingly. Doesn't do it on the target
20806 pad because we change its caps. Probably catches all cases of
20808 (gst_ghost_pad_set_property): Connect to notify::caps as
20811 * tests/network-clock.scm (plot-simulation): Pipe data to the
20812 elite python skript.
20814 * tests/network-clock-utils.scm (define-parameter): New macro,
20815 defines a parameter that can be set via the command line.
20816 (set-parameter!, parse-parameter-arguments): Command line args
20819 * tests/plot-data: Simple matplotlib-based plotter, takes input on
20822 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
20824 * gst/elements/gsttypefindelement.c:
20825 (gst_type_find_element_handle_event):
20826 Don't restart typefinding on a discont.
20827 * gst/gstelement.c: (gst_element_set_state):
20828 Debug spelling fix.
20829 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20830 Allow changing mode of an active pad.
20831 Debug output fixes.
20832 * gst/registries/gstlibxmlregistry.c: (load_feature):
20833 Don't cast a static pad template to a normal pad template.
20835 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
20837 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20838 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20839 remove gst_strtoll completely, since it didn't actually do
20840 anything more than what g_ascii_strtoull already does.
20841 check for range errors when deserializing
20842 do a cast for the unsigned cases; but further fixing needs
20843 a decision on what the interpretation of "(int)" and
20844 deserialization should be for values that fall outside the
20845 type's boundaries (ie, refuse, or interpret as casting)
20847 2005-06-23 Wim Taymans <wim@fluendo.com>
20849 * check/Makefile.am:
20850 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20851 * docs/design/part-live-source.txt:
20852 * docs/design/part-states.txt:
20853 * gst/base/gstbasesrc.c: (gst_basesrc_init),
20854 (gst_basesrc_set_live), (gst_basesrc_is_live),
20855 (gst_basesrc_get_range), (gst_basesrc_activate),
20856 (gst_basesrc_change_state):
20857 * gst/base/gstbasesrc.h:
20858 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20859 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20860 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20861 * gst/gstelement.c: (gst_element_get_state_func),
20862 (gst_element_set_state):
20863 * gst/gstelement.h:
20865 * tools/gst-launch.c: (event_loop), (main):
20866 Added support for live sources and other elements that
20868 Updated design docs, added live-source design doc.
20869 Implemented live source functionality in basesrc
20870 Fix error condition in _bin_get_state()
20871 Implement live source handling in -launch.
20872 Added check for live sources.
20873 Fixed case in GstBin where elements were changed state
20877 2005-06-23 Andy Wingo <wingo@pobox.com>
20879 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20880 borken refcounting.
20882 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20883 gst_caps_replace takes care of this for us.
20885 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20886 gst_pad_set_caps on the target, not just its setcaps() function.
20888 * tests/network-clock.scm:
20889 * tests/network-clock-utils.scm: A network clock simulator.
20890 Something of an algorithmic testbed before doing something in C.
20892 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20894 * check/Makefile.am:
20895 * check/gst/capslist.h:
20896 copy over from 0.8, and add two with bitmasks specified with
20898 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20899 add test to parse everything from capslist.h
20900 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20902 add test for structure deserialization
20903 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20904 add tests for deserialization of strings to int types
20905 * gst/gststructure.c: (gst_structure_nth_field_name):
20906 * gst/gststructure.h:
20907 add a way to get the name of a field referenced by index
20908 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20909 instead of checking if the resulting long long lies between
20910 min and max, we check if the long long would fit into
20911 a number of bytes for the final type.
20912 This fixes cases where a string represents 2^32 - 1, which
20913 when cast to int would be the (valid) -1, but is bigger than
20916 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20918 * gst/parse/grammar.y:
20919 add a log line for type deserialization
20921 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20923 * check/gst/gstvalue.c: (START_TEST):
20924 * gst/gstvalue.c: (gst_value_deserialize):
20925 return long long, not int, so gint64 deserialization actually
20926 works. Is there any flag that makes the compiler check this ?
20929 2005-06-22 Wim Taymans <wim@fluendo.com>
20932 Added convenience macros for setting buffers in GValue.
20934 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20936 * check/gst/.cvsignore:
20937 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20938 add a test deserializing int64, and comment part out because
20941 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20943 * check/Makefile.am:
20944 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20945 * testsuite/Makefile.am:
20946 * testsuite/caps/Makefile.am:
20947 * testsuite/caps/value_serialize.c:
20948 * testsuite/test_gst_init.c:
20949 move a value_serialize test over
20951 2005-06-20 Wim Taymans <wim@fluendo.com>
20956 * gst/gstvalue.c: (gst_value_compare_buffer),
20957 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20958 (gst_value_compare_flags), (gst_value_serialize_flags),
20959 (gst_value_deserialize_flags), (_gst_value_initialize):
20960 Fix serialisation of buffers, they are not boxed types anymore
20962 2005-06-20 Wim Taymans <wim@fluendo.com>
20964 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20965 Testcase to show error in buffer-on-caps serialisation.
20967 2005-06-20 Andy Wingo <wingo@pobox.com>
20969 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20970 will be adding to later.
20972 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20973 if its socks fill with rocks.
20974 (gst_system_clock_obtain): Set the name on object construction.
20975 Avoid double-checked locking.
20977 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
20979 * gst/gsturi.c: (gst_element_make_from_uri):
20980 Fix potential endless loop.
20982 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20984 * check/Makefile.am:
20986 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20988 move over from testsuite dir and clean up
20991 * testsuite/Makefile.am:
20992 * testsuite/tags/.cvsignore:
20993 * testsuite/tags/Makefile.am:
20994 * testsuite/tags/merge.c:
20995 remove testsuite/tags
20997 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20999 * docs/gst/gstreamer-sections.txt:
21000 * docs/gst/tmpl/gstenumtypes.sgml:
21001 * win32/gstenumtypes.c:
21002 clean up documentation build a little
21004 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
21006 * check/gstcheck.h:
21007 add macros for checking refcounts on objects and caps
21008 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
21009 add some more unit tests
21010 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21011 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
21012 fix leaked refcounts (I hope :)) so unittest works
21016 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
21018 * configure.ac: back to HEAD
21020 === release 0.9.1 ===
21022 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
21028 2005-06-17 Andy Wingo <wingo@pobox.com>
21030 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
21031 assert; it's always possible that the pad gets deactivated in
21032 between the checks in gstpad.c and the implementation. Rely on
21033 finish_preroll() to return a FLUSHING or similar instead of on the
21036 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
21037 clock and post an EOS message if we come out of finish_preroll in
21040 2005-06-16 David Schleef <ds@schleef.org>
21042 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21043 (gst_capsfilter_set_property): Allow NULL as possible value
21044 for filter_caps property, indicating GST_CAPS_ANY.
21046 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
21048 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
21050 * gst/schedulers/Makefile.am:
21052 * gstreamer.spec.in:
21055 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
21057 * gstreamer.spec.in:
21060 2005-06-08 Andy Wingo <wingo@pobox.com>
21062 * gst/gstutils.c: RPAD fixes all around.
21063 (gst_element_link_pads): Refcounting fixes.
21065 * tools/gst-inspect.c:
21066 * tools/gst-xmlinspect.c:
21068 * gst/base/gsttypefindhelper.c:
21069 * gst/base/gstbasesink.c:
21070 * gst/gstqueue.c: RPAD fixes.
21072 * gst/gstghostpad.h:
21073 * gst/gstghostpad.c: New ghost pad implementation as full proxy
21074 pads. The tricky thing is they provide both source and sink
21075 interfaces, since they proxy the internal pad for the external
21076 pad, and vice versa. Implement with lower-level ProxyPad objects,
21077 with the interior proxy pad as a child of the exterior ghost pad.
21078 Should write a doc on this.
21080 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
21081 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
21084 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
21085 pads are real pads. No ghost pads in this file. Not documenting
21086 the myriad s/RPAD/PAD/ and REALIZE fixes.
21087 (gst_pad_class_init): Add properties for "direction" and
21088 "template". Both are construct-only, so they can't change during
21089 the life of the pad. Fixes properly deriving from GstPad.
21090 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
21091 derived objects, just set properties when creating the objects via
21093 (gst_pad_get_parent): Implement as a function, return NULL if the
21094 parent is not an element.
21095 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
21096 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
21098 * gst/gstobject.c (gst_object_class_init): Make name a construct
21099 property. Don't set it in the object init.
21101 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
21102 with UNKNOWN direction.
21103 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
21104 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
21105 (gst_element_remove_pad): Remove ghost-pad special cases.
21106 (gst_element_pads_activate): Remove rpad cruft.
21108 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
21109 catch the pad's-parent-not-an-element case.
21111 * gst/gst.h: Include gstghostpad.h.
21113 * gst/gst.c (init_post): No more real, ghost pads.
21115 * gst/Makefile.am: Add gstghostpad.[ch].
21117 * check/Makefile.am:
21118 * check/gst/gstbin.c:
21119 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
21120 into a bin creates ghost pads, and that the refcounts are right.
21121 Partly moved from gstbin.c.
21123 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
21125 * check/gst-libs/.cvsignore:
21126 * check/gst/.cvsignore:
21127 * check/pipelines/.cvsignore:
21129 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
21130 (START_TEST), (cleanup_suite), (main):
21131 add some tests related to cleanup after running pipelines
21133 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
21135 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
21136 add a testsuite for GstBuffer
21138 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
21140 * gst/gstminiobject.h:
21141 add defines for accessing the refcount
21143 2005-06-03 Stefan Kost <ensonic@users.sf.net>
21145 * Makefile.am: added support for html unit test coverage reports
21147 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
21149 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21150 Free existing caps if the capsfilter changes. Add a FIXME about
21151 setting those caps on the pads.
21153 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
21154 Before adding a ghost pad to a parent bin, check that there isn't
21155 already one for the element on the bin. Prevents infinite recursion
21156 when using decodebin in parse pipelines. Andy says he'll rewrite the
21157 way this works anyway, so ignore the hack.
21159 2005-06-02 Andy Wingo <wingo@pobox.com>
21161 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
21162 file size, pass it on to the type find helper.
21164 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
21165 segment_start and segment_end properly according to the seek
21166 method. Segment_end is still a bit flaky because offset can be
21167 negative for CUR and END cases, but it takes -1 as an "unset"
21170 2005-06-02 Wim Taymans <wim@fluendo.com>
21172 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
21173 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
21174 (gst_basesink_activate):
21175 * gst/base/gstbasesink.h:
21176 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21177 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
21178 (gst_pad_query), (gst_pad_start_task):
21180 * gst/gstqueue.c: (gst_queue_bufferalloc),
21181 (gst_queue_handle_sink_event), (gst_queue_chain):
21182 Bufferalloc: return GstFlowReturn to more accuratly report
21183 why allocation failed.
21185 2005-06-02 Wim Taymans <wim@fluendo.com>
21187 * gst/gstpipeline.c: (gst_pipeline_send_event):
21188 Take snapshot of state without blocking.
21190 2005-06-02 Wim Taymans <wim@fluendo.com>
21192 * docs/design/part-TODO.txt:
21193 * docs/design/part-caps.txt:
21194 * docs/design/part-clocks.txt:
21195 * docs/design/part-negotiation.txt:
21196 * docs/design/part-preroll.txt:
21199 2005-05-30 Wim Taymans <wim@fluendo.com>
21201 * gst/elements/gstidentity.c: (gst_identity_event),
21202 (gst_identity_transform), (gst_identity_get_property):
21203 Protect last_message property as it is accessed from
21206 2005-05-30 Wim Taymans <wim@fluendo.com>
21208 * gst/gstelement.c: (gst_element_init),
21209 (gst_element_pads_activate), (gst_element_change_state):
21210 Slicker pad activation code.
21212 2005-05-30 Wim Taymans <wim@fluendo.com>
21215 * gst/gstelement.h:
21216 * gst/gstelementfactory.h:
21218 Move elementfactory methods to separate .h file.
21220 2005-05-30 Wim Taymans <wim@fluendo.com>
21222 * docs/design/part-overview.txt:
21223 * gst/gstsystemclock.h:
21224 Small typo fixes, doc updates.
21226 2005-05-30 Wim Taymans <wim@fluendo.com>
21228 * gst/gst.c: (gst_init_get_popt_table), (init_post),
21229 (init_popt_callback):
21230 Remove cpu-opt flag.
21232 2005-05-30 Wim Taymans <wim@fluendo.com>
21234 * gst/gstbuffer.c: (gst_subbuffer_finalize),
21235 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
21237 Avoid typechecking in places where not needed.
21238 Added accessor for malloc_data.
21240 2005-05-30 Wim Taymans <wim@fluendo.com>
21242 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
21243 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
21244 (gst_pad_configure_sink), (gst_pad_configure_src),
21245 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
21246 (gst_pad_start_task):
21247 Propagate errors from _set_caps() in configure_src/sink
21248 functions instead of returning TRUE.
21249 FLUSH events can travel up and downstream
21252 2005-05-30 Wim Taymans <wim@fluendo.com>
21254 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21255 (gst_basesink_activate):
21256 Handle EOS in preroll.
21258 2005-05-30 Wim Taymans <wim@fluendo.com>
21260 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21261 (gst_queue_loop), (gst_queue_handle_src_event):
21262 Remove old pieces of code
21263 Flushing the queue in an upstream event is a very bad idea.
21265 2005-05-26 Andy Wingo <wingo@pobox.com>
21267 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
21268 gst_value_set_mini_object so as to add a ref on the object (which
21269 will be removed when the value is unset).
21271 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
21272 arg type in ::handoff.
21274 * gst/gstelement.c (gst_element_change_state): Also deactivate
21275 pads in READY->NULL, just in case the element didn't make it to
21276 PAUSED. Wingo tested, Wim approved.
21278 2005-05-26 Wim Taymans <wim@fluendo.com>
21280 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21281 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
21282 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
21283 A flushing pad cannot be used to alloc_buffer from.
21285 2005-05-26 Wim Taymans <wim@fluendo.com>
21287 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
21288 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
21289 (gst_bus_source_dispatch), (gst_bus_source_finalize),
21290 (gst_bus_create_watch), (gst_bus_add_watch_full):
21292 Implement a real GSource and use g_main_context_wakeup() to
21293 signal new messages instead of the socketpair.
21295 2005-05-25 Wim Taymans <wim@fluendo.com>
21297 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
21298 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
21299 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21300 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21301 (gst_pad_send_event), (gst_pad_start_task):
21302 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
21303 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21304 (gst_queue_sink_activate), (gst_queue_src_activate),
21305 (gst_queue_change_state):
21307 Fix state changes for non sinks. We now change sinks, then elements
21308 with unconnected srcpads, then the rest.
21309 More efficient queue unlocking in flush and state changes.
21310 Set the pad activate mode even if it does not have an activate
21313 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21315 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
21316 Don't go in pull mode for non-seekable sources.
21317 * gst/elements/gsttypefindelement.h:
21318 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21319 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
21320 (free_entry), (stop_typefinding),
21321 (gst_type_find_element_handle_event), (find_peek),
21322 (gst_type_find_element_chain), (do_pull_typefind),
21323 (gst_type_find_element_change_state):
21324 Allow typefinding (w/o seeking) in push-mode, simplified version
21325 of what was in 0.8.
21326 * gst/gstutils.c: (gst_buffer_join):
21328 gst_buffer_join() from 0.8.
21330 2005-05-25 Wim Taymans <wim@fluendo.com>
21332 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21333 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21334 (gst_pad_send_event), (gst_pad_start_task):
21335 Disable attempt at mode switching until it is figured out.
21337 2005-05-25 Wim Taymans <wim@fluendo.com>
21339 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
21340 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21341 (gst_basesink_finish_preroll), (gst_basesink_chain),
21342 (gst_basesink_loop), (gst_basesink_activate),
21343 (gst_basesink_change_state):
21344 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
21345 (gst_basesrc_get_range), (gst_basesrc_loop),
21346 (gst_basesrc_activate):
21347 * gst/elements/gsttee.c: (gst_tee_sink_activate):
21348 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
21349 (gst_real_pad_init), (gst_real_pad_set_property),
21350 (gst_real_pad_get_property), (gst_pad_set_active),
21351 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
21352 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
21353 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
21354 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
21355 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21356 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
21357 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
21358 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21359 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
21360 (gst_pad_stop_task):
21362 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21363 (gst_queue_loop), (gst_queue_src_activate):
21364 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
21365 (gst_task_get_state):
21367 * gst/schedulers/threadscheduler.c:
21368 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
21369 Implement gst_pad_pause/start/stop_task(), take STREAM lock
21371 Remove ACTIVE pad flag, use FLUSHING everywhere
21372 Added _pad_chain(), _pad_get_range() to call chain/getrange
21374 Add locks around IS_FLUSHING when reading.
21375 Take STREAM lock in chain(), get_range() functions so plugins
21376 don't need to take it anymore.
21380 2005-05-25 Wim Taymans <wim@fluendo.com>
21382 * tools/gst-launch.c: (event_loop):
21383 Unref message after using its contents instead of
21386 2005-05-24 Wim Taymans <wim@fluendo.com>
21388 * docs/design/draft-ghostpads.txt:
21389 * docs/design/draft-push-pull.txt:
21390 * docs/design/draft-query.txt:
21391 * docs/design/part-overview.txt:
21392 Docs updates, added general overview doc.
21394 2005-05-21 David Schleef <ds@schleef.org>
21396 * docs/gst/tmpl/old/GstBin.sgml:
21397 * docs/gst/tmpl/old/GstBuffer.sgml:
21398 * docs/gst/tmpl/old/GstCaps.sgml:
21399 * docs/gst/tmpl/old/GstClock.sgml:
21400 * docs/gst/tmpl/old/GstCompat.sgml:
21401 * docs/gst/tmpl/old/GstData.sgml:
21402 * docs/gst/tmpl/old/GstElement.sgml:
21403 * docs/gst/tmpl/old/GstEvent.sgml:
21404 * docs/gst/tmpl/old/GstIndex.sgml:
21405 * docs/gst/tmpl/old/GstStructure.sgml:
21406 * docs/gst/tmpl/old/GstTag.sgml:
21407 * docs/gst/tmpl/old/cothreads.sgml:
21408 * docs/gst/tmpl/old/cothreads_compat.sgml:
21409 * docs/gst/tmpl/old/gettext.sgml:
21410 * docs/gst/tmpl/old/gobject2gtk.sgml:
21411 * docs/gst/tmpl/old/grammar.tab.sgml:
21412 * docs/gst/tmpl/old/gst-i18n-app.sgml:
21413 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
21414 * docs/gst/tmpl/old/gst_private.sgml:
21415 * docs/gst/tmpl/old/gstaggregator.sgml:
21416 * docs/gst/tmpl/old/gstarch.sgml:
21417 * docs/gst/tmpl/old/gstatomic_impl.sgml:
21418 * docs/gst/tmpl/old/gstbufferstore.sgml:
21419 * docs/gst/tmpl/old/gstdata_private.sgml:
21420 * docs/gst/tmpl/old/gstdisksink.sgml:
21421 * docs/gst/tmpl/old/gstdisksrc.sgml:
21422 * docs/gst/tmpl/old/gstelementfactory.sgml:
21423 * docs/gst/tmpl/old/gstextratypes.sgml:
21424 * docs/gst/tmpl/old/gstfakesink.sgml:
21425 * docs/gst/tmpl/old/gstfakesrc.sgml:
21426 * docs/gst/tmpl/old/gstfdsink.sgml:
21427 * docs/gst/tmpl/old/gstfdsrc.sgml:
21428 * docs/gst/tmpl/old/gstfilesink.sgml:
21429 * docs/gst/tmpl/old/gstfilesrc.sgml:
21430 * docs/gst/tmpl/old/gsthttpsrc.sgml:
21431 * docs/gst/tmpl/old/gstidentity.sgml:
21432 * docs/gst/tmpl/old/gstindexfactory.sgml:
21433 * docs/gst/tmpl/old/gstmarshal.sgml:
21434 * docs/gst/tmpl/old/gstmd5sink.sgml:
21435 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
21436 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
21437 * docs/gst/tmpl/old/gstpadtemplate.sgml:
21438 * docs/gst/tmpl/old/gstpipefilter.sgml:
21439 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
21440 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
21441 * docs/gst/tmpl/old/gstshaper.sgml:
21442 * docs/gst/tmpl/old/gstspider.sgml:
21443 * docs/gst/tmpl/old/gstspideridentity.sgml:
21444 * docs/gst/tmpl/old/gststatistics.sgml:
21445 * docs/gst/tmpl/old/gsttee.sgml:
21446 * docs/gst/tmpl/old/gsttimecache.sgml:
21447 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
21448 * docs/gst/tmpl/old/gstxmlregistry.sgml:
21449 * docs/gst/tmpl/old/gthread-cothreads.sgml:
21450 * docs/gst/tmpl/old/types.sgml:
21451 I didn't intend to add these or check them in.
21453 2005-05-19 David Schleef <ds@schleef.org>
21455 * configure.ac: Use -no-common everywhere. In a sane world, it
21456 would be the default in libtool, because without it, you can't
21457 build DLLs on Windows.
21458 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
21459 * docs/gst/gstreamer-sections.txt:
21460 * docs/gst/tmpl/gstcpu.sgml:
21461 * docs/gst/tmpl/gstdata.sgml:
21462 * docs/gst/tmpl/gstthread.sgml:
21464 2005-05-19 David Schleef <ds@schleef.org>
21466 * gst/gstminiobject.c: (gst_value_set_mini_object),
21467 (gst_value_take_mini_object), (gst_value_get_mini_object):
21468 * gst/gstminiobject.h: Add GValue set/get functions.
21470 2005-05-19 Wim Taymans <wim@fluendo.com>
21472 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
21473 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
21474 (gst_subbuffer_init), (gst_buffer_is_span_fast):
21476 * gst/gstbus.c: (gst_bus_post):
21477 * gst/gstelement.c: (gst_element_get_random_pad):
21478 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
21479 Make subbufer unref the parent in finalize.
21480 some more debugging info.
21483 2005-05-19 Wim Taymans <wim@fluendo.com>
21485 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21486 (gst_basesink_init), (gst_basesink_finalize),
21487 (gst_basesink_activate), (gst_basesink_change_state):
21488 Don't free preroll queue too early.
21490 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21494 Hi, I'm outdated. Please shoot me.
21496 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21498 * gst/gstpipeline.c: (gst_pipeline_send_event):
21499 Do not access variables after they have been deleted.
21501 2005-05-19 Wim Taymans <wim@fluendo.com>
21503 * tools/gst-inspect.c: (print_plugin_features):
21504 A plugin feature does unfortunatly not use the
21507 2005-05-18 Wim Taymans <wim@fluendo.com>
21509 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
21510 Port _span() functions to new subbuffers.
21512 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21514 * gst/gstbin.c: (gst_bin_add_func):
21515 Fix clock settery in bins when adding kids after the clock has
21518 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21520 * gst/elements/gstidentity.c: (gst_identity_class_init):
21521 Workaround until signals support GstMiniObject.
21523 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
21526 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
21528 2005-05-18 Wim Taymans <wim@fluendo.com>
21530 * gst/base/Makefile.am:
21531 * gst/base/gstadapter.c: (gst_adapter_base_init),
21532 (gst_adapter_class_init), (gst_adapter_init),
21533 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
21534 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
21535 (gst_adapter_flush), (gst_adapter_available),
21536 (gst_adapter_available_fast):
21537 * gst/base/gstadapter.h:
21538 Ported and added adapter to the base classes.
21540 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21543 * gst/gstmessage.c:
21544 Make sure the class is reffed/unreffed once before threads can be
21545 used. Fixes #304551.
21547 2005-05-17 Wim Taymans <wim@fluendo.com>
21549 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
21550 (gst_basesink_chain_unlocked), (gst_basesink_activate):
21551 * gst/gstminiobject.c: (gst_mini_object_get_type),
21552 (gst_mini_object_free):
21553 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
21554 (gst_pad_push), (gst_pad_push_event):
21555 * gst/gstqueue.c: (gst_queue_change_state):
21556 Don't queue buffers in basesink when we are flushing.
21557 Unref buffer when flushing in basesink.
21558 Flush queue when going to READY
21559 Unref buffer when _push() returns an error.
21560 Don't free MiniObject instance when refcount is incremented
21561 in _finalize() so that we can recover objects.
21563 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
21565 * docs/manual/advanced-schedulers.xml:
21566 * docs/manual/appendix-checklist.xml:
21567 * docs/pwg/advanced-clock.xml:
21568 * docs/pwg/advanced-interfaces.xml:
21569 * docs/pwg/advanced-request.xml:
21570 * docs/pwg/advanced-types.xml:
21571 * docs/pwg/intro-preface.xml:
21572 * examples/plugins/example.c: (gst_example_get_type),
21573 (gst_example_class_init), (gst_example_chain),
21574 (gst_example_set_property), (gst_example_get_property),
21575 (gst_example_change_state), (plugin_init):
21576 * examples/plugins/example.h:
21579 2005-05-17 Wim Taymans <wim@fluendo.com>
21581 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
21582 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
21583 * gst/gstqueue.c: (gst_queue_change_state):
21584 Clear queue when going to READY.
21585 Remove IN_SETCAPS flag too.
21587 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
21589 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
21590 Remove implicit cast from gboolean to GstElementStateReturn;
21591 make sure we still return failure in paused => ready case if
21592 the parent class fails to change state and our own stop
21595 2005-05-17 Wim Taymans <wim@fluendo.com>
21597 * tools/gst-launch.c: (event_loop):
21598 Message was unreffed too soon.
21600 2005-05-16 Andy Wingo <wingo@pobox.com>
21602 * gst/gstbin.c (sink_iterator_filter): Err... um...
21604 * check/gst/gstbin.c (test_ghost_pads): New test for the
21605 ghosting-if-elements-not-in-same-bin behavior.
21607 2005-05-16 David Schleef <ds@schleef.org>
21609 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
21610 accessing refcount directly.
21612 2005-05-15 David Schleef <ds@schleef.org>
21614 * check/Makefile.am: remove GstData checks
21615 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
21616 * gst/Makefile.am: add miniobject, remove data
21617 * gst/gst.h: add miniobject, remove data
21618 * gst/gstdata.c: remove
21619 * gst/gstdata.h: remove
21620 * gst/gstdata_private.h: remove
21621 * gst/gsttypes.h: remove GstEvent and GstMessage
21622 * gst/gstelement.c: (gst_element_post_message): fix for API changes
21623 * gst/gstmarshal.list: change BOXED -> OBJECT
21625 Implement GstMiniObject.
21626 * gst/gstminiobject.c:
21627 * gst/gstminiobject.h:
21629 Modify to be subclasses of GstMiniObject.
21630 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
21631 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
21632 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
21633 (gst_subbuffer_get_type), (gst_subbuffer_init),
21634 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
21637 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21638 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21639 (_gst_event_copy), (gst_event_new):
21641 * gst/gstmessage.c: (_gst_message_initialize),
21642 (gst_message_get_type), (gst_message_class_init),
21643 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21644 (gst_message_new), (gst_message_new_error),
21645 (gst_message_new_warning), (gst_message_new_tag),
21646 (gst_message_new_state_changed), (gst_message_new_application):
21647 * gst/gstmessage.h:
21648 * gst/gstprobe.c: (gst_probe_perform),
21649 (gst_probe_dispatcher_dispatch):
21651 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21652 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21653 (_gst_query_copy), (gst_query_new):
21655 Update elements for GstData -> GstMiniObject changes
21657 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21658 (gst_queue_chain), (gst_queue_loop):
21659 * gst/elements/gstbufferstore.c:
21660 (gst_buffer_store_add_buffer_func),
21661 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21662 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21663 (gst_fakesink_render):
21664 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21665 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21666 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21667 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21668 (gst_filesrc_create_read):
21669 * gst/elements/gstidentity.c: (gst_identity_class_init):
21670 * gst/elements/gsttypefindelement.c:
21671 (gst_type_find_element_src_event), (free_entry_buffers),
21672 (gst_type_find_element_handle_event):
21673 * libs/gst/dataprotocol/dataprotocol.c:
21674 (gst_dp_header_from_buffer):
21675 * libs/gst/dataprotocol/dataprotocol.h:
21676 * libs/gst/dataprotocol/dp-private.h:
21678 2005-05-15 David Schleef <ds@schleef.org>
21680 * gst/elements/gstelements.c: Don't include headers that were
21683 2005-05-15 David Schleef <ds@schleef.org>
21685 * gst/elements/Makefile.am: Remove some elements that don't
21686 need to be in the core (or even exist at all).
21687 * gst/elements/gstaggregator.c:
21688 * gst/elements/gstaggregator.h:
21689 * gst/elements/gstmd5sink.c:
21690 * gst/elements/gstmd5sink.h:
21691 * gst/elements/gstmultifilesrc.c:
21692 * gst/elements/gstmultifilesrc.h:
21693 * gst/elements/gstpipefilter.c:
21694 * gst/elements/gstpipefilter.h:
21695 * gst/elements/gstshaper.c:
21696 * gst/elements/gstshaper.h:
21697 * gst/elements/gststatistics.c:
21698 * gst/elements/gststatistics.h:
21699 * po/POTFILES.in: Remove above files.
21701 2005-05-14 Andy Wingo <wingo@pobox.com>
21703 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21704 so as to get the refs right.
21705 (sink_iterator_filter): New function, wraps bin_element_is_sink,
21706 unreffing objects that don't pass the filter.
21708 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21709 gst_element_set_bus.
21710 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21711 normal cases, this will destroy the bus.
21713 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21716 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21719 2005-05-13 Andy Wingo <wingo@pobox.com>
21721 * gst/gstutils.c (gst_element_link_pads): Instead of calling
21722 gst_pad_link, call pad_link_maybe_ghosting,
21723 (pad_link_maybe_ghosting): Links pads, making sure that the
21724 elements being linked are in the same bin.
21725 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21726 Helpers for pad_link_maybe_ghosting.
21728 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21731 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21733 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21735 * docs/design/part-element-source.txt:
21738 2005-05-12 Wim Taymans <wim@fluendo.com>
21740 * gst/base/gstbasesink.c: (gst_basesink_init),
21741 (gst_basesink_activate):
21742 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21743 (gst_basesrc_is_seekable):
21744 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21745 (bin_element_is_sink), (gst_bin_change_state):
21746 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21747 * gst/gstelement.h:
21748 Identify sinks by their flag to avoid overly complicated
21750 Do state changes even for elements not reachable from the
21752 BaseSink is a sink now :)
21753 Some more debugging info in the basesrc.
21756 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21758 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21759 Implement _query on a bin, similar to _send_event.
21761 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
21763 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21764 Discont event offset format should be GST_FORMAT_BYTES,
21765 not GST_FORMAT_TIME.
21767 2005-05-12 Wim Taymans <wim@fluendo.com>
21769 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21770 Same fix as Ronald's but without the signal.
21772 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21774 * gst/gstutils.c: (gst_element_query_position):
21775 No, an element is not a pad.
21777 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21779 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21780 (gst_bin_get_state):
21781 If a child is removed from a bin while we remove the child from
21782 the bin and while we're retrieving its state, signal this to the
21783 get_state function so we abort the wait (instead of waiting for
21784 a timeout) and can immediately re-iterate over all other elements.
21786 2005-05-12 Wim Taymans <wim@fluendo.com>
21788 * gst/base/Makefile.am:
21789 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21790 (gst_basesrc_start):
21791 * gst/base/gstbasesrc.h:
21792 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21793 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21794 (gst_pushsrc_init), (gst_pushsrc_create):
21795 * gst/base/gstpushsrc.h:
21796 Added is_seekable to BaseSrc
21797 Added simple PushSrc.
21799 2005-05-11 Wim Taymans <wim@fluendo.com>
21801 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21802 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21803 (gst_element_link_pads), (gst_element_query_position),
21804 (gst_element_query_convert), (intersect_caps_func),
21805 (gst_pad_query_position), (gst_pad_query_convert):
21806 Fix refcounting in utils function.
21807 No point in trying to activate a pad when it's added, it could
21808 be added from the state change function and then we deadlock, the
21809 element has to decide what to do.
21811 2005-05-10 Andy Wingo <wingo@pobox.com>
21813 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21814 *all* the arguments.
21816 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21817 stream lock if it's a FLUSH_DONE; normal flushes don't get the
21818 lock (according to the docs -- if this is wrong change the docs).
21820 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21821 flush messages in the NULL state.
21823 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21824 message immediately and return.
21825 (gst_bus_set_flushing): New function. If a bus is flushing, it
21826 flushes out any queued messages and immediately unrefs new
21827 messages. This is so when an element goes to NULL, all of the
21828 unhandled messages coming from it can be freed, and their
21829 references to the element dropped. In other words: message source
21830 ref considered harmful :P
21832 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21833 we're finished with it.
21835 * gst/gstmessage.c (gst_message_new_state_changed):
21837 2005-05-10 Wim Taymans <wim@fluendo.com>
21839 * gst/gstvalue.c: (gst_value_compare_flags),
21840 (gst_value_serialize_flags), (gst_value_deserialize_flags),
21841 (_gst_value_initialize):
21842 Added flags serialize/deserialize/compare code.
21844 2005-05-09 Andy Wingo <wingo@pobox.com>
21846 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21847 Intersect the peer's caps with our caps.
21849 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21851 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21852 * gst/elements/gsttypefindelement.c: (find_peek):
21853 Handle negative offsets better. Fixes decodebin.
21855 2005-05-09 Wim Taymans <wim@fluendo.com>
21857 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21858 (gst_base_transform_event):
21859 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21860 Implement accept_caps.
21861 Fix silly lock/unlock mismatch in base class.
21863 2005-05-09 Wim Taymans <wim@fluendo.com>
21865 * docs/design/draft-push-pull.txt:
21866 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21867 * gst/elements/gstfilesink.c: (gst_filesink_init),
21868 (gst_filesink_query):
21869 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21870 (gst_type_find_handle_src_query), (find_element_get_length):
21871 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21872 * gst/gstelement.h:
21873 * gst/gstmessage.c:
21874 * gst/gstmessage.h:
21875 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21876 (gst_real_pad_get_caps_unlocked),
21877 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21878 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21879 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21880 (gst_real_pad_dispose), (gst_real_pad_finalize),
21881 (gst_pad_load_and_link), (gst_pad_save_thyself),
21882 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21883 (gst_pad_check_pull_range), (gst_pad_pull_range),
21884 (gst_pad_template_get_type), (gst_pad_template_class_init),
21885 (gst_pad_template_init), (gst_pad_template_dispose),
21886 (name_is_valid), (gst_static_pad_template_get),
21887 (gst_pad_template_new), (gst_static_pad_template_get_caps),
21888 (gst_pad_template_get_caps), (gst_pad_set_element_private),
21889 (gst_pad_get_element_private), (gst_pad_start_task),
21890 (gst_pad_pause_task), (gst_pad_stop_task),
21891 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21892 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21893 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21894 (gst_ghost_pad_new):
21896 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21897 (gst_query_new_position), (gst_query_set_position),
21898 (gst_query_parse_position), (gst_query_new_convert),
21899 (gst_query_set_convert), (gst_query_parse_convert):
21901 * gst/gstqueryutils.c:
21902 * gst/gstqueryutils.h:
21903 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21904 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21905 (gst_queue_handle_src_query):
21906 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21907 (gst_element_query_position), (gst_element_query_convert),
21908 (intersect_caps_func), (gst_pad_query_position),
21909 (gst_pad_query_convert):
21911 * tools/gst-inspect.c: (print_pad_info):
21912 * tools/gst-xmlinspect.c: (print_element_info):
21913 Remove old query functions. Ported old code.
21914 Added position/convert helper functions to gstutils.
21915 Reordered gstpad.c code, grouping relevant things.
21916 Remove gst_message_new(), always need to speficy a specific
21920 2005-05-09 Andy Wingo <wingo@pobox.com>
21922 * gst/gstiterator.h: Add some includes.
21924 * gst/gstqueryutils.h: Include more headers.
21927 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21928 some uses of gst_pad_query.
21930 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21931 NULL out parameters.
21932 (gst_query_new_position): New proc, allocates a new position
21935 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21936 gstqueryutils.c to the build.
21938 * gst/gststructure.c (gst_structure_set_valist): Implement with
21939 the generic G_VALUE_COLLECT.
21941 2005-05-08 Edward Hervey <bilboed@bilboed.com>
21943 * gst/Makefile.am: (gst_headers):
21944 Added gstqueryutils.h to the list of headers to install, that was
21945 a 'nachty' move wingo :)
21947 2005-05-06 Andy Wingo <wingo@pobox.com>
21950 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21951 GstData, init a memchunk.
21952 (standard_definitions): Add a few query types, deprecate a few.
21953 (gst_query_get_type): New proc.
21954 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21956 (gst_query_new_application, gst_query_get_structure): New public
21959 * docs/design/draft-query.txt: Removed LINKS from the query types,
21960 because all the rest can be dispatched to other pads -- seemed
21961 ugly to have a query that couldn't be dispatched. internal_links
21962 is fine as a pad method.
21964 * gst/gstpad.h: Add query2 as a pad method, add the new functions
21965 in gstpad.c, but maintain binary compatibility for the moment.
21966 Will fix before 0.9 is out.
21968 * gst/gstqueryutils.c:
21969 * gst/gstqueryutils.h: New files, implement 3 methods for each
21970 query type: parse_query, parse_response, and set. Probably need an
21973 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21975 * gst/elements/gstfilesink.c (gst_filesink_query2):
21976 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21977 query_types, and formats methods.
21979 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21980 (gst_pad_set_query2_function): New functions.
21981 (gst_real_pad_init): Set query2_default as the default query2
21982 function. Basically just dispatches to internally linked pads.
21986 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21987 without using the atomic operations. Only one thread can possibly
21988 be accessing the data at this point. Changed so as to avoid
21989 gst_atomic operations.
21991 2005-05-06 Wim Taymans <wim@fluendo.com>
21993 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21994 Also set caps if we use the fallback buffer alloc.
21996 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
21998 * docs/gst/Makefile.am:
21999 * docs/gst/gstreamer-docs.sgml:
22000 * docs/gst/gstreamer-sections.txt:
22001 * docs/gst/tmpl/gstatomic.sgml:
22002 * docs/gst/tmpl/gstmemchunk.sgml:
22003 * testsuite/elements/struct_i386.h:
22004 * win32/GStreamer.vcproj:
22006 Purge GstAtomic stuff from docs and win32 makefiles as well
22008 2005-05-06 Wim Taymans <wim@fluendo.com>
22010 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
22011 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
22012 * gst/gstpad.c: (gst_pad_peer_get_caps):
22013 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
22014 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
22015 (gst_queue_src_activate), (gst_queue_change_state):
22017 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22018 (intersect_caps_func):
22019 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
22020 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
22021 Some fixes for the peer_get_caps() change.
22023 2005-05-06 Wim Taymans <wim@fluendo.com>
22025 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22026 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
22027 (gst_basesink_activate):
22028 Actually do something with error codes returned from the push
22031 2005-05-06 Wim Taymans <wim@fluendo.com>
22033 * docs/design/part-element-sink.txt:
22034 * docs/design/part-element-source.txt:
22035 * gst/base/gstbasesink.c: (gst_basesink_class_init),
22036 (gst_basesink_event), (gst_basesink_activate):
22037 * gst/base/gstbasesink.h:
22038 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
22039 (gst_basesrc_activate):
22040 * gst/base/gstbasesrc.h:
22041 * gst/gstelement.c: (gst_element_pads_activate):
22042 Some more documentation.
22043 Fixed scheduling decision in _pads_activate().
22045 2005-05-05 Andy Wingo <wingo@pobox.com>
22047 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
22050 2005-05-05 Wim Taymans <wim@fluendo.com>
22052 * gst/base/Makefile.am:
22053 * gst/base/gstbasesink.h:
22054 * gst/base/gstbasesrc.c: (gst_basesrc_init),
22055 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
22056 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
22057 (gst_collectpads_class_init), (gst_collectpads_init),
22058 (gst_collectpads_finalize), (gst_collectpads_new),
22059 (gst_collectpads_set_function), (gst_collectpads_add_pad),
22060 (find_pad), (gst_collectpads_remove_pad),
22061 (gst_collectpads_is_active), (gst_collectpads_collect),
22062 (gst_collectpads_collect_range), (gst_collectpads_start),
22063 (gst_collectpads_stop), (gst_collectpads_peek),
22064 (gst_collectpads_pop), (gst_collectpads_available),
22065 (gst_collectpads_read), (gst_collectpads_flush),
22066 (gst_collectpads_chain):
22067 * gst/base/gstcollectpads.h:
22068 * gst/elements/Makefile.am:
22069 * gst/elements/gstelements.c:
22070 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22071 (gst_fakesink_get_times), (gst_fakesink_event),
22072 (gst_fakesink_preroll), (gst_fakesink_render):
22073 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22074 (gst_filesink_init), (gst_filesink_set_location),
22075 (gst_filesink_open_file), (gst_filesink_close_file),
22076 (gst_filesink_pad_query), (gst_filesink_event),
22077 (gst_filesink_render), (gst_filesink_change_state):
22078 * gst/elements/gstfilesink.h:
22079 Added object to help in making collect pad based elements.
22081 Make event function in sink baseclass return gboolean.
22083 2005-05-05 Wim Taymans <wim@fluendo.com>
22085 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
22086 (gst_bin_get_by_name):
22088 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
22089 (gst_clock_finalize):
22090 * gst/gstdata.c: (gst_data_replace):
22092 * gst/gstelement.c: (gst_element_request_pad),
22093 (gst_element_pads_activate):
22094 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
22095 (gst_object_unref):
22096 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22097 (gst_pad_set_checkgetrange_function),
22098 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
22099 (gst_pad_check_pull_range), (gst_pad_pull_range),
22100 (gst_static_pad_template_get_caps), (gst_pad_start_task),
22101 (gst_pad_pause_task), (gst_pad_stop_task):
22102 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22103 (gst_element_request_pad), (gst_pad_proxy_getcaps):
22104 Fix name lookup in GstBin.
22105 Added _data_replace() function and _buffer_replace()
22106 Use finalize method to clean up clock.
22107 Fix refcounting on request pads.
22108 Fix pad schedule mode error.
22109 Some more object refcounting debug info,
22112 2005-05-04 Andy Wingo <wingo@pobox.com>
22114 * check/Makefile.am:
22115 * docs/gst/tmpl/gstatomic.sgml:
22116 * docs/gst/tmpl/gstplugin.sgml:
22117 * gst/base/gstbasesink.c: (gst_basesink_activate):
22118 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
22119 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
22120 (gst_basesrc_query), (gst_basesrc_set_property),
22121 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
22122 (gst_basesrc_activate):
22123 * gst/base/gstbasesrc.h:
22124 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
22125 (gst_base_transform_src_activate):
22126 * gst/elements/gstelements.c:
22127 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22128 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22129 * gst/elements/gsttee.c: (gst_tee_sink_activate):
22130 * gst/elements/gsttypefindelement.c: (find_element_get_length),
22131 (gst_type_find_element_checkgetrange),
22132 (gst_type_find_element_activate):
22133 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
22134 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
22135 (gst_caps_load_thyself):
22136 * gst/gstelement.c: (gst_element_pads_activate),
22137 (gst_element_save_thyself), (gst_element_restore_thyself):
22138 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
22139 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
22141 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
22142 (gst_xml_parse_file), (gst_xml_parse_memory),
22143 (gst_xml_get_element), (gst_xml_make_element):
22144 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22145 (_file_index_id_save_xml), (gst_file_index_commit):
22146 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
22147 (read_enum), (load_pad_template), (load_feature), (load_plugin),
22149 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
22150 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
22151 * tools/gst-complete.c: (main):
22152 * tools/gst-compprep.c: (main):
22153 * tools/gst-inspect.c: (print_element_properties_info):
22154 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
22155 * tools/gst-xmlinspect.c: (print_element_properties):
22158 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
22160 * gst/gstplugin.c: (gst_plugin_check_module),
22161 (gst_plugin_check_file), (gst_plugin_load_file):
22162 apply patch from #172526 to make register work on MacOSX
22164 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
22166 * docs/gst/tmpl/gstconfig.sgml:
22167 * gst/gstconfig.h.in:
22168 move documentation for some symbols. Add doc for GST_PTR_FORMAT
22169 * testsuite/debug/printf_extension.c: (main):
22170 Do not use GST_PTR_FORMAT on pointers to types with
22171 sizeof < sizeof(gpointer). Fixes test on 64-bit
22172 * testsuite/elements/property.h:
22173 use correct printf format
22175 2005-05-02 Wim Taymans <wim@fluendo.com>
22177 * docs/design/draft-push-pull.txt:
22178 * docs/design/draft-query.txt:
22179 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
22180 (gst_basesrc_start):
22181 Added draft for new query API.
22182 Added draft for better selecting scheduling methods.
22183 Make basesrc ignore length if the subclass does not support
22186 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
22189 possible fixes for automake-1.5 - _LIBADD is reserved
22191 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
22193 * docs/faq/Makefile.am:
22194 * docs/manual/Makefile.am:
22195 * docs/manuals.mak:
22196 * docs/pwg/Makefile.am:
22198 possible fixes for automake-1.5
22200 2005-04-28 Wim Taymans <wim@fluendo.com>
22202 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22203 (gst_basesink_pad_getcaps), (gst_basesink_init),
22204 (gst_basesink_do_sync):
22205 * gst/gstclock.c: (gst_clock_entry_new):
22206 * gst/gstevent.c: (gst_event_discont_get_value):
22207 * gst/gstpipeline.c: (pipeline_bus_handler),
22208 (gst_pipeline_change_state):
22209 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
22210 Better debugging of clocking info.
22211 Allow NULL values when getting discont values.
22213 2005-04-27 Wim Taymans <wim@fluendo.com>
22215 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22216 * check/gst/gstpad.c: (gst_pad_suite):
22217 Increase timeout for checks.
22219 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
22221 * check/Makefile.am:
22222 fix the broken rule for cleanup. Apparently this rule is
22223 only needed on FC2, so maybe this warrants further autotool
22226 2005-04-26 Wim Taymans <wim@fluendo.com>
22228 * gst/gsttrashstack.h:
22229 Ooohh. a nasty one! After having a failed pop() from the stack,
22230 it's possible that the stack is empty. In that case, don't
22231 follow the NULL pointer.
22233 2005-04-25 Wim Taymans <wim@fluendo.com>
22235 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22236 (gst_pad_set_checkgetrange_function),
22237 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
22238 (gst_pad_check_pull_range), (gst_pad_pull_range),
22239 (gst_static_pad_template_get_caps), (gst_pad_start_task),
22240 (gst_pad_pause_task), (gst_pad_stop_task):
22241 * gst/gstplugin.c: (gst_plugin_load):
22243 Remove gst_library_load as it does more harm than good with
22244 the new g_module flags.
22245 Revert bogus caps template check in pad linking, pad caps
22246 are important when linking not the template, which is more
22247 general than the current caps.
22249 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22251 * gst/autoplug/.cvsignore:
22252 * gst/autoplug/Makefile.am:
22253 * gst/autoplug/gstsearchfuncs.c:
22254 * gst/autoplug/gstsearchfuncs.h:
22255 * gst/autoplug/gstspider.c:
22256 * gst/autoplug/gstspider.h:
22257 * gst/autoplug/gstspideridentity.c:
22258 * gst/autoplug/gstspideridentity.h:
22259 * gst/autoplug/spidertest.c:
22262 2005-04-25 Wim Taymans <wim@fluendo.com>
22264 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22265 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22266 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
22267 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
22269 Added stubs for unimplemented functions.
22271 2005-04-24 David Schleef <ds@schleef.org>
22273 * gst/gstpad.h: Disable some unimplemented functions. Wim,
22276 2005-04-24 David Schleef <ds@schleef.org>
22278 Convert everything from GstAtomicInt to g_atomic_int_*, and
22283 * gst/gstatomic_impl.h:
22291 * gst/gstdata_private.h:
22295 * gst/gstmessage.c:
22298 * gst/gststructure.c:
22299 * gst/gststructure.h:
22300 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
22303 2005-04-24 David Schleef <ds@schleef.org>
22305 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
22306 make the regressions tests work. Remove some code that is no
22308 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
22309 Disable warning for pads without templates.
22311 2005-04-24 David Schleef <ds@schleef.org>
22313 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
22314 functions that handle filtered links.
22315 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
22317 * gst/gstutils.c: Fix/remove utility functions that handle
22320 * gst/gstvalue.c: Add serialization/deserialization of caps
22321 * gst/parse/grammar.y: Ignore filtered caps when linking. This
22322 requires fixing so that the filter caps notation creates
22323 a capsfilter element and sets the filter_caps property. I
22324 think everyone probably wants to keep the shorthand notation.
22325 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
22326 * docs/gst/tmpl/gstpad.sgml:
22328 * gst/elements/gstelements.c: Register capsfilter element.
22329 * gst/Makefile.am: fix spacing
22330 * docs/random/ds/0.9-suggested-changes: random
22332 2005-04-23 David Schleef <ds@schleef.org>
22334 * gst/elements/Makefile.am:
22335 * gst/elements/gstcapsfilter.c: New element that acts like an
22336 identity, but filters caps. Will eventually replace filtered
22337 caps in pad linking.
22338 * gst/gstutils.c: (gst_element_create_all_pads): New function
22339 to create all the ALWAYS pads that are registered with an
22340 element class. This functionality should eventually be
22341 merged in with GstElement initialization.
22343 * testsuite/trigger/README: part of trigger test code that should
22344 have been checked in a long time ago.
22346 2005-04-23 David Schleef <ds@schleef.org>
22348 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
22349 needed with new versions of libtool (nobody will confirm this),
22350 and hard to carry around.
22351 * gst/autoplug/Makefile.am:
22352 * gst/base/Makefile.am:
22353 * gst/elements/Makefile.am:
22354 * gst/indexers/Makefile.am:
22355 * gst/schedulers/Makefile.am:
22356 * libs/gst/bytestream/Makefile.am:
22357 * libs/gst/control/Makefile.am:
22358 * libs/gst/dataprotocol/Makefile.am:
22359 * libs/gst/getbits/Makefile.am:
22361 2005-04-21 Wim Taymans <wim@fluendo.com>
22363 * docs/design/draft-push-pull.txt:
22364 * docs/design/part-MT-refcounting.txt:
22365 * docs/design/part-TODO.txt:
22366 * docs/design/part-caps.txt:
22367 * docs/design/part-events.txt:
22368 * docs/design/part-gstbus.txt:
22369 * docs/design/part-gstpipeline.txt:
22370 * docs/design/part-messages.txt:
22371 * docs/design/part-push-pull.txt:
22372 * docs/design/part-query.txt:
22375 2005-04-21 Wim Taymans <wim@fluendo.com>
22377 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
22378 (gst_message_new), (gst_message_new_error),
22379 (gst_message_new_warning), (gst_message_new_tag),
22380 (gst_message_new_state_changed), (gst_message_new_application),
22381 (gst_message_get_structure):
22382 * gst/gstmessage.h:
22383 * gst/gststructure.c: (gst_structure_set_parent_refcount),
22384 (gst_structure_copy_conditional):
22385 Use parent refcount in GstMessage to ensure GstStructure
22387 Cleaned up headers a bit.
22390 2005-04-20 Wim Taymans <wim@fluendo.com>
22392 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22393 (gst_basesink_pad_getcaps), (gst_basesink_init),
22394 (gst_basesink_chain_unlocked):
22395 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
22396 (gst_type_find_helper):
22397 * gst/elements/gsttypefindelement.c:
22398 (gst_type_find_element_have_type), (gst_type_find_element_init),
22399 (stop_typefinding), (gst_type_find_element_handle_event),
22400 (find_suggest), (gst_type_find_element_chain),
22401 (gst_type_find_element_checkgetrange),
22402 (gst_type_find_element_getrange), (do_typefind),
22403 (gst_type_find_element_activate):
22404 * gst/gstbuffer.c: (_gst_buffer_sub_free),
22405 (gst_buffer_default_free), (gst_buffer_default_copy),
22406 (gst_buffer_set_caps):
22407 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
22408 (gst_caps_replace):
22409 * gst/gstmessage.c: (gst_message_new),
22410 (gst_message_new_state_changed):
22411 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22412 (gst_pad_set_checkgetrange_function),
22413 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
22414 (gst_pad_set_caps), (gst_pad_check_pull_range),
22415 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
22417 * gst/gsttypefind.c: (gst_type_find_register):
22418 Make gst_caps_replace() work like other _replace() functions.
22419 Use _caps_replace() where possible.
22420 Make sure _message_new() initialises its field.
22421 Add gst_static_pad_template_get_caps()
22424 2005-04-18 Andy Wingo <wingo@pobox.com>
22426 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
22427 on the peer, not the pad. I think that was a typo. Pass an extra
22428 arg to see if random access is possible. Activate the pads as
22429 PULL_RANGE if possible.
22431 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
22433 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
22434 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
22437 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22439 * docs/faq/using.xml:
22440 Add note on gstreamer-properties (#154996).
22442 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22444 * docs/random/bbb/optional-properties:
22445 Some analysis on optional properties.
22447 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22449 * docs/gst/tmpl/gstelementfactory.sgml:
22450 * gst/gstelement.h:
22451 * gst/gstelementfactory.c: (gst_element_factory_init),
22452 (gst_element_factory_cleanup), (gst_element_register),
22453 (__gst_element_factory_add_static_pad_template),
22454 (gst_element_factory_get_static_pad_templates),
22455 (gst_element_factory_can_src_caps),
22456 (gst_element_factory_can_sink_caps):
22457 * gst/registries/Makefile.am:
22458 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
22459 (gst_xml_registry_class_init), (gst_xml_registry_init),
22460 (gst_xml_registry_new), (gst_xml_registry_set_property),
22461 (gst_xml_registry_get_property), (get_time), (make_dir),
22462 (gst_xml_registry_get_perms_func),
22463 (plugin_times_older_than_recurse), (plugin_times_older_than),
22464 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
22465 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
22466 (add_to_char_array), (read_string), (read_uint), (read_enum),
22467 (load_pad_template), (load_feature), (load_plugin), (load_paths),
22468 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
22469 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
22470 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
22471 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
22472 (gst_xml_registry_rebuild):
22473 * gst/registries/gstlibxmlregistry.h:
22474 * tools/gst-compprep.c: (main):
22475 * tools/gst-inspect.c: (print_pad_templates_info):
22476 * tools/gst-xmlinspect.c: (print_element_info):
22477 Use libxml2 for registry parsing, use staticpadtemplates in
22478 elementfactories. Makes gst_init() +/- 10x faster.
22480 2005-04-12 Wim Taymans <wim@fluendo.com>
22482 * gst/base/Makefile.am:
22483 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22484 (gst_basesink_pad_getcaps), (gst_basesink_init),
22485 (gst_basesink_event), (gst_basesink_change_state):
22486 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22487 (gst_basesrc_init), (gst_basesrc_query),
22488 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22489 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22490 (gst_basesrc_check_get_range), (gst_basesrc_loop),
22491 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22492 (gst_basesrc_stop), (gst_basesrc_activate),
22493 (gst_basesrc_change_state):
22494 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22495 (helper_find_suggest), (gst_type_find_helper):
22496 * gst/base/gsttypefindhelper.h:
22497 * gst/elements/Makefile.am:
22498 * gst/elements/gstelements.c:
22499 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22500 (gst_fakesink_get_times), (gst_fakesink_event),
22501 (gst_fakesink_preroll), (gst_fakesink_render):
22502 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22503 (gst_fakesrc_init), (gst_fakesrc_event_handler),
22504 (gst_fakesrc_get_property), (gst_fakesrc_create),
22505 (gst_fakesrc_start), (gst_fakesrc_stop):
22506 * gst/elements/gstfakesrc.h:
22507 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
22508 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22509 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22510 (gst_filesrc_create_read), (gst_filesrc_create),
22511 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
22512 (gst_filesrc_start):
22513 * gst/elements/gsttypefindelement.c:
22514 (gst_type_find_element_have_type), (gst_type_find_element_init),
22515 (start_typefinding), (stop_typefinding), (push_buffer_store),
22516 (gst_type_find_element_handle_event),
22517 (gst_type_find_element_chain),
22518 (gst_type_find_element_checkgetrange),
22519 (gst_type_find_element_getrange), (do_typefind),
22520 (gst_type_find_element_activate),
22521 (gst_type_find_element_change_state):
22522 * gst/elements/gsttypefindelement.h:
22523 * gst/gstpipeline.c: (pipeline_bus_handler):
22524 Added typefind helper.
22525 Small preroll fix in the base sink.
22526 Disable typefind code in basesrc.
22527 Crude port of typefindelement.
22531 2005-04-11 Wim Taymans <wim@fluendo.com>
22533 * check/gst/gstbus.c: (gstbus_suite):
22534 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
22535 * check/gstcheck.h:
22536 Fix up the timeout so that the test does not fail.
22538 2005-04-06 Wim Taymans <wim@fluendo.com>
22541 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22542 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
22543 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22544 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22545 (gst_basesrc_check_get_range), (gst_basesrc_loop),
22546 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22547 (gst_basesrc_stop), (gst_basesrc_activate),
22548 (gst_basesrc_change_state), (basesrc_find_peek),
22549 (basesrc_find_suggest), (gst_basesrc_type_find):
22550 * gst/base/gstbasesrc.h:
22551 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
22552 (gst_filesrc_class_init), (gst_filesrc_init),
22553 (gst_filesrc_finalize), (gst_filesrc_set_location),
22554 (gst_filesrc_set_property), (gst_filesrc_get_property),
22555 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22556 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22557 (gst_filesrc_create_read), (gst_filesrc_create),
22558 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
22559 * gst/elements/gstfilesrc.h:
22560 * gst/gstelement.c: (gst_element_get_state_func),
22561 (gst_element_lost_state), (gst_element_pads_activate):
22562 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22563 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22564 (gst_pad_pull_range):
22566 More work on the generic source base class, implement seeking,
22568 Make filesrc extend the base source class.
22569 Added gst_pad_set_checkgetrange_function to GstPad.
22571 2005-04-06 Andy Wingo <wingo@pobox.com>
22573 * pkgconfig/gstreamer-base.pc.in:
22574 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
22576 * pkgconfig/Makefile.am:
22577 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
22579 2005-04-04 Wim Taymans <wim@fluendo.com>
22581 * gst/base/Makefile.am:
22583 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22584 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22585 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22586 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
22587 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22588 (gst_basesrc_base_init), (gst_basesrc_class_init),
22589 (gst_basesrc_init), (gst_basesrc_get_formats),
22590 (gst_basesrc_get_query_types), (gst_basesrc_query),
22591 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
22592 (gst_basesrc_set_property), (gst_basesrc_get_property),
22593 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
22594 (gst_basesrc_loop), (gst_basesrc_activate),
22595 (gst_basesrc_change_state):
22596 * gst/base/gstbasesrc.h:
22597 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
22598 (gst_fakesrc_class_init), (gst_fakesrc_init),
22599 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
22600 (gst_fakesrc_get_property), (gst_fakesrc_create):
22601 * gst/elements/gstfakesrc.h:
22602 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
22603 (gst_filesrc_open_file), (gst_filesrc_loop),
22604 (gst_filesrc_activate), (filesrc_find_peek),
22605 (gst_filesrc_type_find):
22606 Made base source class, make fakesrc extend it.
22607 Add comments to basesink class.
22608 Some filesrc cleanup.
22610 2005-03-31 David Schleef <ds@schleef.org>
22612 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
22613 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
22614 expected to link against libgstreamer.
22615 * gst/base/Makefile.am: link against libgstreamer
22616 * gst/elements/Makefile.am: same
22618 2005-03-31 Andy Wingo <wingo@pobox.com>
22620 * tests/instantiate/Makefile.am:
22621 * tests/instantiate/caps.c: Add test to test speed of caps copy
22624 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
22625 GMemChunk to be fair.
22627 * gst/gsttrashstack.h: Remove warning about using the fallback
22628 trash stack implementation, it's still faster than malloc.
22630 2005-03-30 Andy Wingo <wingo@pobox.com>
22632 * tests/complexity.c: Add a copyright.
22634 2005-03-31 Wim Taymans <wim@fluendo.com>
22636 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
22637 (gst_base_transform_class_init), (gst_base_transform_init),
22638 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22639 (gst_base_transform_get_property),
22640 (gst_base_transform_sink_activate),
22641 (gst_base_transform_src_activate),
22642 (gst_base_transform_change_state):
22643 * gst/base/gstbasetransform.h:
22644 * gst/elements/gstidentity.c: (gst_identity_class_init),
22645 (gst_identity_event), (gst_identity_check_perfect),
22646 (gst_identity_transform), (gst_identity_start),
22647 (gst_identity_stop):
22648 Added start/stop methods to transform base class so subclasses
22649 don't need to deal with state changes even.
22651 2005-03-31 Wim Taymans <wim@fluendo.com>
22653 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22654 (gst_event_new_discontinuous), (gst_event_discont_get_value):
22656 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22657 (gst_pad_pull_range):
22658 Added rate to the discont event to prepare for variable speed
22659 and reverse playback.
22661 2005-03-29 David Schleef <ds@schleef.org>
22664 * testsuite/trigger/Makefile.am:
22665 * testsuite/trigger/trigger.c: A little example program to show
22666 how trigger-based elements can work.
22668 2005-03-29 Wim Taymans <wim@fluendo.com>
22670 * gst/base/Makefile.am:
22672 * gst/base/gstbasesink.c: (gst_basesink_get_type),
22673 (gst_basesink_base_init), (gst_basesink_class_init),
22674 (gst_basesink_pad_getcaps), (gst_basesink_init),
22675 (gst_basesink_activate), (gst_basesink_change_state):
22676 * gst/base/gstbasesink.h:
22677 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22678 (gst_base_transform_base_init), (gst_base_transform_finalize),
22679 (gst_base_transform_class_init), (gst_base_transform_init),
22680 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22681 (gst_base_transform_event), (gst_base_transform_getrange),
22682 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22683 (gst_base_transform_set_property),
22684 (gst_base_transform_get_property),
22685 (gst_base_transform_sink_activate),
22686 (gst_base_transform_src_activate),
22687 (gst_base_transform_change_state):
22688 * gst/base/gstbasetransform.h:
22689 * gst/elements/gstidentity.c: (gst_identity_finalize),
22690 (gst_identity_class_init), (gst_identity_init),
22691 (gst_identity_event), (gst_identity_check_perfect),
22692 (gst_identity_transform), (gst_identity_set_property),
22693 (gst_identity_get_property), (gst_identity_change_state):
22694 * gst/elements/gstidentity.h:
22695 * gst/gstelement.c: (gst_element_get_state_func),
22696 (gst_element_lost_state), (gst_element_pads_activate):
22697 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22698 (gst_pad_check_pull_range), (gst_pad_pull_range):
22700 Simplify pad activation.
22701 Added function to check if pull_range can be performed.
22702 Error out when pulling inactive or flushing pads.
22703 Removed const from refcounted types as it does not make sense.
22704 Simplify pad templates in basesink
22705 Added base class for simple 1-to-1 transforms.
22706 Make identity subclass the base transform.
22708 2005-03-29 Andy Wingo <wingo@pobox.com>
22710 * docs/libs/gstreamer-libs-overrides.txt:
22711 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22712 really don't understand what's going on, but like whatever. I want
22715 * docs/gst/Makefile.am:
22716 * docs/libs/Makefile.am: Dist the overrides files.
22718 * check/Makefile.am (clean-local): Remove .libs directories.
22720 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22721 elements to EXTRA_DIST, so po/ files are happy.
22723 * po/POTFILES.in: Er, remove it here.
22725 * po/POTFILES: Remove gstspider.c.
22727 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22729 * docs/libs/gstreamer-libs-docs.sgml:
22730 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22733 * tests/complexity.c (main): Set the length of the preroll queue
22734 on the sinks to prevent a lockup.
22736 * libs/gst/dataprotocol/Makefile.am:
22737 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22738 the same as the one in check/gst-libs/gdp.c.
22740 * po/, docs/gst/: Commit automatic changes to docs and po files.
22742 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22743 the versioned libgstbase.
22745 * check/Makefile.am: Depend on an unversioned gst-register, seems
22746 to make autoconf happier.
22748 * gst/base/Makefile.am: Make libgstbase a versioned lib.
22750 2005-03-28 Wim Taymans <wim@fluendo.com>
22753 * docs/design/part-gstelement.txt:
22754 * docs/design/part-negotiation.txt:
22755 * docs/design/part-preroll.txt:
22756 * docs/design/part-scheduling.txt:
22757 * docs/design/part-states.txt:
22759 * gst/base/Makefile.am:
22761 * gst/base/gstbasesink.c: (gst_basesink_get_template),
22762 (gst_basesink_base_init), (gst_basesink_class_init),
22763 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22764 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22765 (gst_basesink_set_pad_functions),
22766 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22767 (gst_basesink_set_property), (gst_basesink_get_property),
22768 (gst_base_sink_get_template), (gst_base_sink_get_caps),
22769 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22770 (gst_basesink_preroll_queue_push),
22771 (gst_basesink_preroll_queue_empty),
22772 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22773 (gst_basesink_event), (gst_basesink_get_times),
22774 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22775 (gst_basesink_chain_unlocked), (gst_basesink_chain),
22776 (gst_basesink_loop), (gst_basesink_activate),
22777 (gst_basesink_change_state):
22778 * gst/base/gstbasesink.h:
22779 * gst/elements/Makefile.am:
22780 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22781 (gst_fakesink_class_init), (gst_fakesink_init),
22782 (gst_fakesink_set_property), (gst_fakesink_get_property),
22783 (gst_fakesink_get_times), (gst_fakesink_event),
22784 (gst_fakesink_preroll), (gst_fakesink_render),
22785 (gst_fakesink_change_state):
22786 * gst/elements/gstfakesink.h:
22787 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22788 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22789 * gst/gstelement.c: (gst_element_add_pad),
22790 (gst_element_get_state_func), (gst_element_abort_state),
22791 (gst_element_commit_state), (gst_element_lost_state),
22792 (gst_element_set_state), (gst_element_pads_activate):
22793 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22794 * gst/gstpipeline.c: (gst_pipeline_send_event),
22795 (gst_pipeline_change_state):
22796 Added state change code.
22797 Added/updated docs.
22798 Added sink base class, make fakesink extend the base class.
22799 Small cleanups in GstPipeline.
22801 2005-03-26 David Schleef <ds@schleef.org>
22803 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
22804 is broken and should be implemented in a different library.
22805 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22806 * gst/gst.h: remove gstcpu.h
22807 * gst/gstcpu.c: remove
22808 * gst/gstcpu.h: remove
22809 * gst/Makefile.am.future: Remove this file. It's ancient.
22811 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22813 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22814 (gst_bin_send_event):
22815 Add default event/set_manager handlers. The set_manager handler
22816 takes care that the manager is distributed over kids that were
22817 already in the bin before the manager was set. The event handler
22818 is a utility virtual function that sends the event over all sinks,
22819 so that gst_element_send_event (bin, event); has the expected
22821 * gst/gstpad.c: (gst_pad_event_default):
22822 Re-install default event handling for discontinuities, so that
22823 seeking works without requiring hacks in applications or extra
22825 * gst/gstpipeline.c: (gst_pipeline_class_init),
22826 (gst_pipeline_send_event):
22827 Half hack, half utility: set a pipeline to PAUSED for seek events,
22828 since that is the only way we can guarantee a/v sync. Means that
22829 you can do gst_element_seek (pipeline, method, pos); on a pipeline
22830 and it "just works".
22832 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22834 * gst/gstpipeline.c: (gst_pipeline_use_clock):
22835 Lock/unlock mismatch.
22837 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
22839 * docs/faq/gst-uninstalled:
22840 add gst-plugins-base
22841 * docs/gst/Makefile.am:
22842 don't error out until docs are fixed
22843 * docs/gst/gstreamer.types:
22846 2005-03-22 Wim Taymans <wim@fluendo.com>
22848 * check/Makefile.am:
22849 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22850 * gst/gststructure.c: (gst_structure_set_valist),
22851 (gst_structure_copy_conditional):
22852 Activated more tests.
22853 Added message test.
22854 Added G_TYPE_POINTER to GstStructure.
22857 2005-03-22 Wim Taymans <wim@fluendo.com>
22859 * docs/design/part-TODO.txt:
22860 * docs/design/part-events.txt:
22861 * docs/design/part-gstbin.txt:
22862 * docs/design/part-gstbus.txt:
22863 * docs/design/part-gstpipeline.txt:
22864 * docs/design/part-messages.txt:
22866 * gst/gstmessage.c:
22869 2005-03-21 Wim Taymans <wim@fluendo.com>
22871 * gst/gstbus.c: (gst_bus_post):
22872 Fix copy-and-paste error.
22874 2005-03-21 Wim Taymans <wim@fluendo.com>
22876 * check/Makefile.am:
22878 * gst/elements/Makefile.am:
22879 * gst/elements/gstelements.c:
22880 * gst/elements/gstfakesink.c: (gst_fakesink_init),
22881 (gst_fakesink_event), (gst_fakesink_chain):
22882 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22883 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22884 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22885 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22886 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22887 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22888 (gst_fakesrc_loop), (gst_fakesrc_activate),
22889 (gst_fakesrc_change_state):
22890 * gst/elements/gstfakesrc.h:
22891 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22892 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22893 (gst_filesrc_open_file), (gst_filesrc_loop),
22894 (gst_filesrc_activate), (gst_filesrc_change_state),
22895 (filesrc_find_peek), (filesrc_find_suggest),
22896 (gst_filesrc_type_find):
22897 * gst/elements/gstidentity.c: (gst_identity_finalize),
22898 (gst_identity_class_init), (gst_identity_init),
22899 (gst_identity_proxy_getcaps), (identity_queue_push),
22900 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22901 (gst_identity_getrange), (gst_identity_chain),
22902 (gst_identity_sink_loop), (gst_identity_src_loop),
22903 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22904 (gst_identity_set_property), (gst_identity_get_property),
22905 (gst_identity_change_state):
22906 * gst/elements/gstidentity.h:
22907 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22908 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22909 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22910 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22911 (gst_tee_sink_activate):
22912 * gst/elements/gsttee.h:
22913 * gst/gst.c: (gst_register_core_elements), (init_post):
22915 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22916 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22917 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22918 (gst_bin_change_state):
22920 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22921 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22922 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22923 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22924 (gst_bus_set_sync_handler), (gst_bus_create_watch),
22925 (bus_watch_callback), (bus_watch_destroy),
22926 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22927 (poll_timeout), (gst_bus_poll):
22931 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22932 (gst_element_post_message), (gst_element_message_full),
22933 (gst_element_get_state_func), (gst_element_get_state),
22934 (gst_element_abort_state), (gst_element_commit_state),
22935 (gst_element_lost_state), (gst_element_set_state),
22936 (gst_element_pads_activate), (gst_element_change_state),
22937 (gst_element_dispose), (gst_element_set_manager_func),
22938 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22939 (gst_element_set_manager), (gst_element_get_manager),
22940 (gst_element_set_bus), (gst_element_get_bus),
22941 (gst_element_set_scheduler), (gst_element_get_scheduler):
22942 * gst/gstelement.h:
22943 * gst/gstevent.c: (gst_event_new_segment_seek),
22944 (gst_event_new_flush):
22946 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22947 (_gst_message_free), (gst_message_get_type), (gst_message_new),
22948 (gst_message_new_eos), (gst_message_new_error),
22949 (gst_message_new_warning), (gst_message_new_tag),
22950 (gst_message_new_state_changed), (gst_message_new_application),
22951 (gst_message_get_structure), (gst_message_parse_tag),
22952 (gst_message_parse_state_changed), (gst_message_parse_error),
22953 (gst_message_parse_warning):
22954 * gst/gstmessage.h:
22955 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22956 (gst_real_pad_set_property), (gst_pad_set_active),
22957 (gst_pad_is_active), (gst_pad_set_blocked_async),
22958 (gst_pad_set_blocked), (gst_pad_is_blocked),
22959 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22960 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22961 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22962 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22963 (gst_pad_link_filtered), (gst_pad_relink_filtered),
22964 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22965 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22966 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22967 (gst_pad_set_caps), (gst_pad_configure_sink),
22968 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22969 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22970 (gst_real_pad_dispose), (gst_real_pad_finalize),
22971 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22972 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22973 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22975 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22976 (pipeline_bus_handler), (gst_pipeline_change_state),
22977 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22978 * gst/gstpipeline.h:
22980 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22981 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22982 (gst_queue_link_src), (gst_queue_bufferalloc),
22983 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22984 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22985 (gst_queue_loop), (gst_queue_handle_src_event),
22986 (gst_queue_handle_src_query), (gst_queue_src_activate),
22987 (gst_queue_change_state):
22989 * gst/gstscheduler.c: (gst_scheduler_init),
22990 (gst_scheduler_dispose), (gst_scheduler_create_task),
22991 (gst_scheduler_factory_create):
22992 * gst/gstscheduler.h:
22993 * gst/gststructure.c: (gst_structure_get_type),
22994 (gst_structure_copy_conditional):
22995 * gst/gststructure.h:
22996 * gst/gsttaginterface.h:
22997 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22998 (gst_task_init), (gst_task_dispose), (gst_task_create),
22999 (gst_task_get_state), (gst_task_start), (gst_task_stop),
23005 * gst/schedulers/Makefile.am:
23006 * gst/schedulers/cothreads_compat.h:
23007 * gst/schedulers/entryscheduler.c:
23008 * gst/schedulers/faircothreads.c:
23009 * gst/schedulers/faircothreads.h:
23010 * gst/schedulers/fairscheduler.c:
23011 * gst/schedulers/gstbasicscheduler.c:
23012 * gst/schedulers/gstoptimalscheduler.c:
23013 * gst/schedulers/gthread-cothreads.h:
23014 * gst/schedulers/threadscheduler.c:
23015 (gst_thread_scheduler_task_get_type),
23016 (gst_thread_scheduler_task_class_init),
23017 (gst_thread_scheduler_task_init),
23018 (gst_thread_scheduler_task_start),
23019 (gst_thread_scheduler_task_stop),
23020 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
23021 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23022 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
23023 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
23025 * libs/gst/Makefile.am:
23026 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
23027 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
23028 (gst_file_pad_parent_set):
23029 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23030 (gst_dp_event_from_packet):
23031 * tests/complexity.c: (main):
23032 * tests/mass_elements.c: (main):
23033 * testsuite/states/locked.c: (message_received), (main):
23034 * testsuite/states/parent.c: (main):
23035 * tools/gst-inspect.c: (print_element_flag_info),
23036 (print_implementation_info), (print_pad_info):
23037 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
23039 * tools/gst-md5sum.c: (event_loop), (main):
23040 * tools/gst-typefind.c: (main):
23041 * tools/gst-xmlinspect.c: (print_element_info):
23043 Added GstBus for mainloop integration.
23044 Added GstMessage for sending notifications on the bus.
23045 Added GstTask as an abstraction for pipeline entry points.
23047 Removed Schedulers.
23048 Simplified GstQueue for multithreaded core.
23049 Made _link threadsafe, removed old capsnego.
23050 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
23051 Added pad blocking functions.
23052 Reworked scheduling functions in GstPad to prepare for
23053 scheduling updates soon.
23054 Moved events out of data stream.
23055 Simplified GstEvent types.
23056 Added return values to push/pull.
23057 Removed clocking from GstElement.
23058 Added prototypes for state change function for next merge.
23059 Removed iterate from bins and state change management.
23060 Fixed some elements, disabled others for now.
23061 Fixed -inspect and -launch.
23062 Added check for GstBus.
23064 2005-03-10 Wim Taymans <wim@fluendo.com>
23066 * docs/design/part-MT-refcounting.txt:
23067 * docs/design/part-clocks.txt:
23068 * docs/design/part-gstelement.txt:
23069 * docs/design/part-gstobject.txt:
23070 * docs/design/part-standards.txt:
23071 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23072 (gst_bin_remove_func), (gst_bin_remove):
23076 * testsuite/clock/clock1.c: (main):
23077 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
23079 * testsuite/dlopen/loadgst.c: (do_test):
23080 * testsuite/refcounting/bin.c: (add_remove_test1),
23081 (add_remove_test2), (main):
23082 * testsuite/refcounting/element.c: (main):
23083 * testsuite/refcounting/element_pad.c: (main):
23084 * testsuite/refcounting/pad.c: (main):
23085 * tools/gst-launch.c: (sigint_handler_sighandler):
23086 * tools/gst-typefind.c: (main):
23088 Added doc about clock.
23089 removed gst_bin_iterate_recurse_up(), marked methods
23091 Fix more testsuites.
23093 2005-03-09 Wim Taymans <wim@fluendo.com>
23095 * gst/gstpad.c: (gst_pad_get_direction),
23096 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
23097 (gst_pad_collect_valist):
23098 * testsuite/bins/interface.c: (main):
23099 * testsuite/caps/audioscale.c: (test_caps):
23100 * testsuite/caps/caps.c: (test1), (test2), (test3):
23101 * testsuite/caps/deserialize.c: (main):
23102 * testsuite/caps/enumcaps.c: (main):
23103 * testsuite/caps/filtercaps.c: (main):
23104 * testsuite/caps/intersect2.c: (main):
23105 * testsuite/caps/random.c: (main):
23106 * testsuite/caps/renegotiate.c: (my_fixate), (main):
23107 * testsuite/caps/sets.c: (check_caps):
23108 * testsuite/caps/simplify.c: (check_caps), (main):
23109 * testsuite/caps/subtract.c: (check_caps):
23110 Fix _pad_get_direction wrt ghostpads.
23111 Fix caps testsuite.
23113 2005-03-09 Wim Taymans <wim@fluendo.com>
23115 * check/Makefile.am:
23116 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
23117 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
23118 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
23119 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
23120 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
23121 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
23122 (gst_bin_remove), (gst_bin_iterate_recurse_up),
23123 (bin_element_is_sink), (gst_bin_iterate_sinks),
23124 (gst_bin_iterate_all_by_interface):
23126 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
23127 (gst_element_change_state), (gst_element_dispose),
23128 (gst_element_finalize), (gst_element_set_loop_function):
23129 * gst/gstelement.h:
23130 * gst/gstiterator.c: (find_custom_fold_func):
23131 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
23132 (gst_pad_collectv), (gst_pad_collect_valist),
23133 (gst_pad_template_new):
23134 * gst/gstpipeline.c: (gst_pipeline_class_init),
23135 (gst_pipeline_dispose), (gst_pipeline_set_property),
23136 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
23137 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
23138 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
23140 * gst/schedulers/entryscheduler.c:
23141 * gst/schedulers/gstbasicscheduler.c:
23142 (gst_basic_scheduler_cothreaded_chain),
23143 (gst_basic_scheduler_chain_add_element):
23144 * testsuite/bins/interface.c: (main):
23146 Added GstSystemClock test.
23147 Implemented clock distribution code in GstBin.
23148 Implemented iterate sinks method for future use.
23149 Rearranged gstelement.h
23150 Fix GstIterator comparison bug.
23151 Moved some code to GstPipeline, mostly clocking related.
23153 2005-03-09 Wim Taymans <wim@fluendo.com>
23156 * gst/gst_private.h:
23157 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23158 (gst_bin_remove_func), (gst_bin_remove),
23159 (gst_bin_get_by_name_recurse_up):
23160 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
23161 (gst_clock_id_compare_func), (gst_clock_id_wait),
23162 (gst_clock_id_wait_async), (gst_clock_init),
23163 (gst_clock_adjust_unlocked), (gst_clock_get_time):
23164 * gst/gstelement.h:
23165 * gst/gstinfo.c: (_gst_debug_init):
23167 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
23168 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
23170 Bump version number, we're now 0.9.0
23171 Add future debugging category.
23172 Fix NULL _unref() in _get_by_name_recurse_up
23173 Rearrange gstpad.h.
23176 2005-03-08 Wim Taymans <wim@fluendo.com>
23178 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
23179 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
23180 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23181 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
23182 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
23183 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
23184 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
23185 * gst/elements/gstidentity.c: (gst_identity_class_init):
23186 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
23187 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
23188 * gst/elements/gstshaper.c: (gst_shaper_class_init):
23189 * gst/elements/gststatistics.c: (gst_statistics_class_init):
23190 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
23192 * gst/gstelement.c: (gst_element_class_init),
23193 (gst_element_base_class_init), (gst_element_init),
23194 (gst_element_get_random_pad), (gst_element_wait_state_change),
23195 (gst_element_change_state), (gst_element_dispose),
23196 (gst_element_finalize), (gst_element_set_loop_function):
23197 * gst/gstelement.h:
23198 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
23199 * gst/gstthread.c: (gst_thread_class_init),
23200 (gst_thread_release_children_locks), (gst_thread_change_state):
23201 * gst/schedulers/gstbasicscheduler.c:
23202 (gst_basic_scheduler_loopfunc_wrapper),
23203 (gst_basic_scheduler_chain_wrapper),
23204 (gst_basic_scheduler_src_wrapper),
23205 (gst_basic_scheduler_remove_element):
23206 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
23207 Remove threadsafe properties. Fix elements because GObject
23208 complains when installing a property before declaring a
23209 set/get_property handler.
23210 Rearrange gstelement.h file, use STATE macros for state locks.
23211 Free mutexes in the finalize method instead of dispose.
23213 2005-03-08 Wim Taymans <wim@fluendo.com>
23215 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23216 * gst/gstthread.c: (gst_thread_release_children_locks):
23217 Added parentage check.
23218 Fix build og GstThread again.
23220 2005-03-08 Wim Taymans <wim@fluendo.com>
23222 * docs/design/part-MT-refcounting.txt:
23223 * docs/design/part-conventions.txt:
23224 * docs/design/part-gstobject.txt:
23225 * docs/design/part-relations.txt:
23226 * docs/design/part-standards.txt:
23227 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23228 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
23229 (gst_bin_get_by_name), (gst_bin_get_by_interface),
23230 (gst_bin_iterate_all_by_interface):
23233 * gst/gstelement.c: (gst_element_class_init),
23234 (gst_element_change_state), (gst_element_set_loop_function):
23235 * gst/gstelement.h:
23236 * gst/gstiterator.c:
23237 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
23238 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
23239 (gst_object_dispatch_properties_changed), (gst_object_set_name),
23240 (gst_object_set_parent), (gst_object_unparent),
23241 (gst_object_check_uniqueness):
23243 Docs updates, clean up some headers.
23245 2005-03-07 Wim Taymans <wim@fluendo.com>
23247 * check/.cvsignore:
23248 * check/Makefile.am:
23249 * check/gst-libs/.cvsignore:
23250 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
23251 * check/gst/.cvsignore:
23252 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
23253 (START_TEST), (gstbus_suite), (main):
23254 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
23255 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
23256 (gst_data_suite), (main):
23257 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
23258 (add_fold_func), (gstiterator_suite), (main):
23259 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
23260 (thread_name_object), (thread_name_object_default),
23261 (gst_object_name_compare), (gst_object_suite), (main):
23262 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
23263 (gst_pad_suite), (main):
23264 * check/gstcheck.c: (gst_check_log_message_func),
23265 (gst_check_log_critical_func), (gst_check_init):
23266 * check/gstcheck.h:
23267 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
23268 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
23271 2005-03-07 Wim Taymans <wim@fluendo.com>
23273 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23274 (gst_list_iterator_next), (gst_list_iterator_resync),
23275 (gst_list_iterator_free), (gst_iterator_new_list),
23276 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
23277 (gst_iterator_free), (gst_iterator_push), (filter_next),
23278 (filter_resync), (filter_uninit), (filter_free),
23279 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
23280 (gst_iterator_foreach), (find_custom_fold_func),
23281 (gst_iterator_find_custom):
23282 * gst/gstiterator.h:
23283 Added missing files.
23285 2005-03-07 Wim Taymans <wim@fluendo.com>
23289 * docs/design/part-MT-refcounting.txt:
23290 * docs/design/part-conventions.txt:
23291 * docs/design/part-gstobject.txt:
23292 * docs/design/part-relations.txt:
23293 * examples/mixer/mixer.c: (main):
23294 * examples/thread/thread.c: (eos), (main):
23296 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
23297 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
23298 (gst_spider_plug_from_srcpad):
23299 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
23300 (gst_spider_identity_change_state),
23301 (gst_spider_identity_sink_loop_type_finding):
23302 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
23303 * gst/elements/gstidentity.c: (gst_identity_init):
23304 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
23305 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
23306 * gst/elements/gsttypefindelement.c: (free_entry):
23309 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
23310 (gst_bin_set_clock_func), (gst_bin_auto_clock),
23311 (gst_bin_set_index), (gst_bin_set_element_sched),
23312 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
23313 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
23314 (gst_bin_iterate_elements), (iterate_child_recurse),
23315 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
23316 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
23317 (compare_interface), (gst_bin_get_by_interface),
23318 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
23320 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
23321 (gst_buffer_default_free), (gst_buffer_default_copy),
23322 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
23323 (gst_buffer_create_sub):
23325 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
23326 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
23327 (gst_caps_unref), (gst_static_caps_get),
23328 (gst_caps_remove_and_get_structure), (gst_caps_append),
23329 (gst_caps_append_structure), (gst_caps_remove_structure),
23330 (gst_caps_copy_nth), (gst_caps_set_simple),
23331 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
23332 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
23333 (gst_caps_structure_intersect_field), (gst_caps_intersect),
23334 (gst_caps_structure_subtract_field), (gst_caps_subtract),
23335 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
23336 (gst_caps_structure_figure_out_union),
23337 (gst_caps_switch_structures), (gst_caps_do_simplify),
23338 (gst_caps_replace), (gst_caps_from_string),
23339 (gst_caps_copy_conditional):
23341 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
23342 (_gst_clock_id_free), (gst_clock_id_unref),
23343 (gst_clock_id_compare_func), (gst_clock_id_wait),
23344 (gst_clock_id_wait_async), (gst_clock_class_init),
23345 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
23346 (gst_clock_get_time), (gst_clock_set_time_adjust),
23347 (gst_clock_set_property), (gst_clock_get_property):
23350 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
23351 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
23353 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
23354 (gst_element_requires_clock), (gst_element_provides_clock),
23355 (gst_element_set_clock), (gst_element_clock_wait),
23356 (gst_element_wait), (gst_element_set_time_delay),
23357 (gst_element_is_indexable), (gst_element_add_pad),
23358 (gst_element_add_ghost_pad), (gst_element_remove_pad),
23359 (pad_compare_name), (gst_element_get_static_pad),
23360 (gst_element_request_pad), (gst_element_get_request_pad),
23361 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
23362 (gst_element_class_get_pad_template_list),
23363 (gst_element_class_get_pad_template), (gst_element_error_func),
23364 (gst_element_get_random_pad), (gst_element_get_event_masks),
23365 (gst_element_send_event), (gst_element_seek),
23366 (gst_element_get_query_types), (gst_element_query),
23367 (gst_element_get_formats), (gst_element_convert),
23368 (gst_element_is_locked_state), (gst_element_set_locked_state),
23369 (gst_element_sync_state_with_parent), (gst_element_change_state),
23370 (gst_element_finalize), (gst_element_yield),
23371 (gst_element_interrupt), (gst_element_set_scheduler),
23372 (gst_element_get_scheduler), (gst_element_set_loop_function):
23373 * gst/gstelement.h:
23375 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
23376 (gst_format_get_by_nick), (gst_format_get_details),
23377 (gst_format_iterate_definitions):
23379 * gst/gstindex.c: (gst_index_gtype_resolver):
23382 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
23383 (gst_mem_chunk_free):
23384 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
23385 (gst_object_ref), (gst_object_unref), (gst_object_sink),
23386 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
23387 (gst_object_dispatch_properties_changed),
23388 (gst_object_set_name_default), (gst_object_set_name),
23389 (gst_object_get_name), (gst_object_set_name_prefix),
23390 (gst_object_get_name_prefix), (gst_object_set_parent),
23391 (gst_object_get_parent), (gst_object_unparent),
23392 (gst_object_check_uniqueness), (gst_object_save_thyself),
23393 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
23394 (gst_object_set_property), (gst_object_get_property),
23395 (gst_object_get_path_string):
23397 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23398 (gst_real_pad_init), (gst_real_pad_get_property),
23399 (gst_pad_custom_new), (gst_pad_get_direction),
23400 (gst_pad_set_active), (gst_pad_is_active),
23401 (gst_pad_set_event_function), (gst_pad_is_linked),
23402 (gst_pad_link_free), (gst_pad_link_intersect),
23403 (gst_pad_link_fixate), (gst_pad_set_caps),
23404 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
23405 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
23406 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
23407 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
23408 (gst_pad_get_caps), (gst_pad_peer_get_caps),
23409 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
23410 (gst_pad_realize), (gst_pad_get_allowed_caps),
23411 (gst_real_pad_dispose), (gst_real_pad_finalize),
23412 (gst_pad_collectv), (gst_pad_collect_valist),
23413 (gst_pad_template_dispose), (gst_pad_template_new),
23414 (gst_pad_get_internal_links):
23416 * gst/gstpipeline.c: (gst_pipeline_dispose),
23417 (gst_pipeline_change_state):
23418 * gst/gstpipeline.h:
23420 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
23421 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
23422 * gst/gstpluginfeature.h:
23423 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
23424 * gst/gstquery.c: (_gst_query_type_initialize),
23425 (gst_query_type_register), (gst_query_type_get_by_nick),
23426 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
23428 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
23429 * gst/gstscheduler.c: (gst_scheduler_add_element),
23430 (gst_scheduler_factory_create):
23431 * gst/gststructure.c: (gst_structure_set_parent_refcount),
23432 (gst_structure_free), (gst_structure_set_name),
23433 (gst_structure_id_set_value), (gst_structure_set_value),
23434 (gst_structure_set_valist), (gst_structure_remove_field),
23435 (gst_structure_remove_fields),
23436 (gst_structure_remove_fields_valist),
23437 (gst_structure_remove_all_fields), (gst_structure_foreach),
23438 (gst_structure_map_in_place),
23439 (gst_caps_structure_fixate_field_nearest_int),
23440 (gst_caps_structure_fixate_field_nearest_double):
23441 * gst/gststructure.h:
23442 * gst/gstsystemclock.c: (gst_system_clock_class_init),
23443 (gst_system_clock_init), (gst_system_clock_dispose),
23444 (gst_system_clock_async_thread),
23445 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
23446 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
23447 * gst/gstsystemclock.h:
23448 * gst/gsttag.c: (gst_tag_list_add_value_internal),
23449 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
23450 * gst/gsttaginterface.c:
23451 * gst/gstthread.c: (gst_thread_dispose),
23452 (gst_thread_release_children_locks), (gst_thread_change_state),
23453 (gst_thread_main_loop):
23454 * gst/gsttrashstack.h:
23455 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
23457 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23458 (gst_element_request_pad), (gst_element_get_pad_from_template),
23459 (gst_element_request_compatible_pad),
23460 (gst_element_get_compatible_pad_filtered),
23461 (gst_element_get_compatible_pad), (gst_element_state_get_name),
23462 (gst_element_link_pads_filtered), (gst_element_link_filtered),
23463 (gst_element_link_many), (gst_element_link),
23464 (gst_element_link_pads), (gst_element_unlink_pads),
23465 (gst_element_unlink_many), (gst_element_unlink),
23466 (gst_pad_can_link_filtered), (gst_pad_can_link),
23467 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
23468 (gst_object_default_error), (gst_bin_add_many),
23469 (gst_bin_remove_many), (gst_element_populate_std_props),
23470 (gst_element_class_install_std_props), (gst_buffer_merge),
23471 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
23472 (link_fold_func), (gst_pad_proxy_setcaps):
23474 * gst/gstvalue.c: (gst_value_deserialize_string):
23475 * gst/parse/grammar.y:
23476 * gst/schedulers/gstbasicscheduler.c:
23477 (gst_basic_scheduler_cothreaded_chain),
23478 (gst_basic_scheduler_chain_recursive_add),
23479 (gst_basic_scheduler_pad_link):
23480 * gst/schedulers/gstoptimalscheduler.c:
23481 (get_group_schedule_function),
23482 (gst_opt_scheduler_state_transition),
23483 (gst_opt_scheduler_add_element), (element_get_reachables_func):
23484 * libs/gst/bytestream/bytestream.c:
23485 * libs/gst/dataprotocol/dataprotocol.c:
23486 (gst_dp_header_from_buffer):
23489 * tests/threadstate/threadstate2.c: (eos):
23490 * tools/gst-compprep.c: (main):
23491 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
23492 (print_pad_info), (print_children_info):
23493 * tools/gst-launch.c: (idle_func), (main):
23494 * tools/gst-md5sum.c: (idle_func), (main):
23495 * tools/gst-xmlinspect.c: (print_element_info):
23496 First THREADED backport attempt, focusing on adding locks and
23497 making sure the API is threadsafe. Needs more work. More docs
23500 2005-02-24 Andy Wingo <wingo@pobox.com>
23502 * tests/bench-complexity.scm:
23503 * tests/complexity.gnuplot: New files, good for running complexity
23506 * tests/Makefile.am:
23507 * tests/complexity.c: New test, sets up N elements, at each level
23508 teeing into M streams per element. Eeeenteresting.
23510 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
23511 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
23512 running bench-mass_elements.scm.
23514 * tests/bench-mass_elements.scm: New script, runs mass_elements
23515 for various numbers of identities, outputting the results to a
23516 file. Requires guile 1.6. Just for testing.
23518 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
23520 * gst/schedulers/fairscheduler.c:
23521 compile with debug disabled
23523 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
23526 hunting season on 0.9 is now OPEN