1 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
3 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5 Disable part of the gst_buffer_try_new_and_alloc test, because
6 it can happily succeed on 64-bit systems where there's more address
9 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
11 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12 Add unit test for the improved caps checking from bug #421543.
14 2007-05-21 Wim Taymans <wim@fluendo.com>
16 * docs/design/part-synchronisation.txt:
19 * gst/gstbin.c: (gst_bin_query):
20 * plugins/elements/gstqueue.c: (apply_segment):
26 2007-05-21 Wim Taymans <wim@fluendo.com>
28 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
29 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
30 (gst_pad_configure_src):
31 Added simple version of improved caps checking. It was previously
32 assumed that a setcaps function would check the validity of the caps but
33 people prefer us to check caps against the template automatically.
36 2007-05-21 Wim Taymans <wim@fluendo.com>
38 * libs/gst/base/gstbasetransform.h:
39 Fix macro for locking/unlocking the transform lock.
41 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
43 * docs/plugins/tmpl/.cvsignore:
46 2007-05-18 Edward Hervey <edward@fluendo.com>
48 * plugins/elements/gstqueue.c: (gst_queue_loop):
49 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
50 for the subtle art of warning a potentially blocking thread that it
51 should check the source pad return value, and relay the information
54 2007-05-18 Edward Hervey <edward@fluendo.com>
56 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
57 Release the queue lock !
59 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
61 * docs/libs/gstreamer-libs-sections.txt:
62 Add the two new controller functions to the appropiate places.
64 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
66 reviewed by: Stefan Kost <ensonic@users.sf.net>
68 * libs/gst/controller/gstcontroller.c:
69 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
70 (_gst_controller_get_property), (_gst_controller_set_property),
71 (_gst_controller_init), (_gst_controller_class_init):
72 * libs/gst/controller/gstcontroller.h:
73 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
74 (gst_object_get_control_rate), (gst_object_set_control_rate):
75 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
76 Add API that provides sync suggestion timestamps for elements that
77 call gst_object_sync_values() from which those elements can subdivide
78 their processing loop to get the best results for the controlled
79 properties. For now it just suggests last_sync + control_rate as
80 new timestamp but this will be improved in the future.
82 While doing that change the control-rate property to a GstClockTime
83 from guint and change it's meaning from samples to nanoseconds as
84 the GstController doesn't know anything about sampling rate. Strictly
85 speaking this breaks ABI but as the control-rate property didn't do
86 anything in the past and as such couldn't be used this should be no
89 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
91 reviewed by: Stefan Kost <ensonic@users.sf.net>
93 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
94 (gst_controller_unset_all):
95 * libs/gst/controller/gstcontrollerprivate.h:
96 * libs/gst/controller/gstinterpolation.c:
97 (gst_controlled_property_find_control_point_node):
98 Save last synced value from the list to continue searching from there
99 in future syncs. This speeds everything up a bit.
101 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
103 reviewed by: Stefan Kost <ensonic@users.sf.net>
105 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
106 (gst_control_point_find), (gst_controlled_property_new),
107 (gst_control_point_free), (gst_controlled_property_free),
108 (gst_controller_set), (gst_controller_set_from_list),
109 (gst_controller_unset), (gst_controller_unset_all),
110 (gst_controller_sync_values):
111 * libs/gst/controller/gstcontroller.h:
112 * libs/gst/controller/gstcontrollerprivate.h:
113 * libs/gst/controller/gstinterpolation.c:
114 (gst_controlled_property_find_control_point_node),
115 (interpolate_none_get), (interpolate_trigger_get):
116 Add a new private GstControlPoint struct which "inherits" from
117 GstTimedValue to allow different interpolators to store internal
118 values next to each control point. From the outside everything is
119 still a GstControlPoint so we don't loose binary compatibility.
120 Also fixup all the GValue handling to not leak GValues or list nodes.
121 * tests/check/libs/controller.c: (GST_START_TEST):
122 Free the list nodes and GValues in the controller_misc test.
124 2007-05-17 Edward Hervey <edward@fluendo.com>
129 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
131 * gst/gstplugin.c: (gst_plugin_load_file):
132 If we fail to load a plugin because of unresolved symbols or missing
133 libraries and spew a warning to stderr, we may just as well mention
134 which plugin it was that failed to load.
136 2007-05-13 David Schleef <ds@schleef.org>
138 * docs/Makefile.am: the gtk-doc makefile snippet correctly
139 handles the case when ENABLE_GTK_DOC is false, and installs
140 the prebuilt documentation. So gtk-doc subdirs are
141 unconditionally enabled. Fixes: #349099.
143 2007-05-13 David Schleef <ds@schleef.org>
145 * gst/gstutils.h: Reword some documentation.
147 2007-05-12 David Schleef <ds@schleef.org>
149 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
150 do anything with the passed "module" parameter, so remove it.
151 Allows removal of additional vestigal code.
153 2007-05-12 David Schleef <ds@schleef.org>
156 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
157 Switch to using g_stat() because it's more portable.
159 2007-05-12 David Schleef <ds@schleef.org>
162 Add GST_DISABLE_OPTION_PARSING, in order to disable option
163 parsing for embedded systems.
164 * gst/gstelementfactory.c:
165 Allow gst_element_register() to be called with plugin==NULL.
166 Did nobody notice that static elements were broken?
168 2007-05-12 Wim Taymans <wim@fluendo.com>
170 * tools/gst-launch.c: (event_loop):
171 Give more interesting info when buffering starts and stops.
172 Fix case where buffering starts but we fail to update the buffering flag
173 because the target state is not PLAYING.
175 2007-05-12 Wim Taymans <wim@fluendo.com>
177 * plugins/elements/gstqueue.c: (gst_queue_init),
178 (gst_queue_finalize), (update_time_level), (apply_segment),
179 (apply_buffer), (gst_queue_locked_flush),
180 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
181 (gst_queue_handle_sink_event), (gst_queue_chain),
182 (gst_queue_push_one), (gst_queue_loop):
183 * plugins/elements/gstqueue.h:
184 Refactor an cleanup queue a bit.
185 Do better time level calculations that also work when the srcpad is not
187 Remove some unneeded debug lines.
189 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
190 Added testcase for time level measurement.
191 Try to make some stuff more racefree.
193 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
195 * gst/gsturi.c: (gst_element_make_from_uri):
196 Don't leak plugin feature.
198 * tests/check/Makefile.am:
199 * tests/check/gst/.cvsignore:
200 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
201 Add brain-dead unit test.
203 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
205 Patch by: Jeroen Wouters <woutersj at gmail com>
207 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
208 Treat protocol strings in a case-insensitive way (#437563).
210 2007-05-11 Michael Smith <msmith@fluendo.com>
212 * gst/gstplugin.c: (gst_plugin_load_file):
213 * gst/gstregistry.c: (gst_registry_scan_path_level):
214 Don't print a g_warning for any failure to load a shared object.
215 Instead, push this down into gstplugin.c, and warn _only_ if we
216 failed to open the module (i.e. failure to link).
217 Avoids warnings on normal, working, non-plugin .so files.
219 2007-05-11 Stefan Kost <ensonic@users.sf.net>
221 * gst/gstplugin.c (gst_plugin_load_file):
222 * gst/gstregistry.c (GST_CAT_DEFAULT,
223 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
224 Print a g_warning if there was an error when loading a plugins during
225 registry scan. The shuld help beginners starting with gst-plugin
228 2007-05-10 Wim Taymans <wim@fluendo.com>
230 * plugins/elements/gstqueue.c: (gst_queue_class_init),
231 (update_time_level), (gst_queue_locked_flush),
232 (gst_queue_handle_sink_event), (gst_queue_chain),
233 (gst_queue_push_one), (gst_queue_loop):
234 * plugins/elements/gstqueue.h:
235 Be smarter when calculating the current amount of data in the queue by
236 measuring the difference between start and end timestamps (in running
237 time) inside the queue. Fixes #432876.
238 API: GstQueue::pushing to notify elements that we are pushing data again
239 since the running signal is rather broken for this purpose.
241 2007-05-10 Stefan Kost <ensonic@users.sf.net>
243 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
244 gst_queue_base_init, gst_queue_init):
247 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
249 * win32/common/libgstreamer.def:
250 Add new exported functions.
251 * win32/vs6/grammar.dsp:
252 Use grammar pre-generated files.
254 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
256 Based on patch by: Peter Kjellerstedt <pkj at axis com>
259 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
261 * gst/gstutils.c: (gst_parse_bin_from_description):
263 Maintain API and ABI when --disable-parse is used. Now that
264 we have an appropriate error code, we can just return NULL and the
265 appropriate error when gst_parse_launch() is used despite it having
266 been disabled (#342564).
268 * tests/check/Makefile.am:
269 * tests/check/pipelines/.cvsignore:
270 * tests/check/pipelines/parse-disabled.c:
271 Make sure these functions exist and return NULL plus a GError when
272 --disable-parse is used.
274 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
276 * tests/benchmarks/complexity.c: (main):
277 * tests/benchmarks/mass-elements.c: (main):
278 Set a good example and don't leak messages.
280 2007-05-06 Stefan Kost <ensonic@users.sf.net>
282 * docs/gst/Makefile.am:
283 * docs/libs/Makefile.am:
284 Correct fixxrefs options.
286 * docs/plugins/Makefile.am:
287 * docs/plugins/gstreamer-plugins-docs.sgml:
288 * docs/plugins/gstreamer-plugins-sections.txt:
289 * plugins/elements/Makefile.am:
290 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
291 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
292 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
293 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
294 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
295 _GstCapsFilterClass, trans_class):
296 * plugins/elements/gstelements.c (name, rank, type, _elements):
297 * plugins/elements/gstidentity.c
298 (gst_identity_check_imperfect_timestamp,
299 gst_identity_check_imperfect_offset):
300 Document capsfilter and add doc-blurb to identity.
302 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
304 * libs/gst/controller/gstcontroller.c:
305 (gst_controlled_property_set_interpolation_mode):
306 * libs/gst/controller/gstinterpolation.c:
307 Don't crash if someone tries to set an interpolation mode that
308 is invalid or that isn't supported yet. Fixes #422295.
310 * tests/check/libs/controller.c: (GST_START_TEST),
311 (gst_controller_suite):
312 Add a test case for the above.
314 2007-05-03 Edward Hervey <edward@fluendo.com>
316 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
317 Properly set the last_stop position on GstSegment. This will only happen
318 if there is a buffer to push out.
320 2007-05-03 Wim Taymans <wim@fluendo.com>
322 * libs/gst/base/gstbasetransform.c:
323 (gst_base_transform_buffer_alloc):
324 always_in_place does not mean that the sink and source caps are the
325 same! Make sure we don't blindly proxy the buffer_alloc in this case.
327 2007-05-03 Wim Taymans <wim@fluendo.com>
329 * docs/libs/gstreamer-libs-sections.txt:
330 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
331 (gst_base_src_default_query), (gst_base_src_get_range):
332 * libs/gst/base/gstbasesrc.h:
333 API: gst_base_src_query_latency(). Added method so that subclasses can
334 easily get the latency values of the base source class.
336 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
338 * tools/gst-inspect.c (print_implementation_info):
341 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
344 * tools/gst-launch.1.in:
345 Don't create a customised man page based on the host architecture,
346 describe the default registry path generically. That way the man
347 page is the same for all architectures and packagers have one
348 multilib issue less to deal with. Fixes #434926.
350 2007-05-02 Wim Taymans <wim@fluendo.com>
353 Fix documentation as spotted by rg on IRC.
355 2007-04-29 Stefan Kost <ensonic@users.sf.net>
358 Improve docs for gst_element_{link,unlink}.
360 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
362 * docs/design/part-events.txt:
363 * docs/design/part-overview.txt:
367 * libs/gst/base/gstbasesink.c:
368 Typo fixes; minor docs addition.
370 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
372 * docs/gst/gstreamer-sections.txt:
373 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
374 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
376 API: Add gst_uri_protocol_is_supported(), which checks if an sink
377 or src that supports a given URI protocol exists.
379 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
381 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
382 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
383 Set the location to NULL if "file://" is set as URI. Otherwise
384 some random previous URI would still be set if "file://" is
385 set on an already used filesink/filesrc.
387 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
389 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
390 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
391 Special case the "file://" URI as as this is used by some
392 applications to test with gst_element_make_from_uri if there's
393 an element that supports the URI protocol.
394 Also move the g_path_is_absolute() check for the location part
395 of the URI to also check this for "file://localhost/bla" URIs.
397 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
399 * docs/gst/gstreamer-sections.txt:
400 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
402 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
404 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
406 2007-04-26 Stefan Kost <ensonic@users.sf.net>
408 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
409 (gst_registry_binary_load_pad_template),
410 (gst_registry_binary_load_plugin),
411 (gst_registry_binary_read_cache):
412 * gst/gstregistrybinary.h:
413 Implement no-mmap alternative for registry reading. Do code cleanups.
414 Add more comments about avoiding strdups for all text data. Comments
417 2007-04-25 Stefan Kost <ensonic@users.sf.net>
419 * gst/gstregistrybinary.h (GstBinaryPluginElement,
420 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
421 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
422 Comment structs and reformat to fix the build (that stuff should go
423 into a priv. header).
425 2007-04-25 Stefan Kost <ensonic@users.sf.net>
427 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
428 (gst_registry_binary_load_feature):
429 * gst/gstregistrybinary.h:
430 Refactor so that we can implement multiple features. Add support for
431 TypeFindFactory features.
433 2007-04-24 Stefan Kost <ensonic@users.sf.net>
435 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
438 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
440 2007-04-23 Stefan Kost <ensonic@users.sf.net>
442 * gst/gstbin.c: (gst_bin_element_set_state),
443 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
444 (bin_handle_async_done), (gst_bin_handle_message_func):
445 Fix build with --gst-disable-gst-debug
447 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
449 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
450 Make sure streaming has finished before calling the ::stop() vfunc,
451 since that vfunc might clear state which is being used in the
452 streaming thread. This fixes a race that caused crashes in
453 audioresample when shutting down a pipeline (#420106).
455 2007-04-20 Stefan Kost <ensonic@users.sf.net>
457 * docs/gst/gstreamer-sections.txt:
458 That was one byte missing.
460 2007-04-20 Stefan Kost <ensonic@users.sf.net>
463 * docs/gst/gstreamer-sections.txt:
465 * gst/gstconfig.h.in:
466 * gst/gstobject.c: (gst_object_class_init),
467 (gst_signal_object_class_init):
469 2nd attempt to have a xml-less build as a joined effort of #413123
472 2007-04-20 Stefan Kost <ensonic@users.sf.net>
474 * docs/design/draft-tagreading.txt:
475 Added open issues/thoughts to draft.
477 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
479 * gst/parse/grammar.tab.pre.c:
480 * gst/parse/grammar.tab.pre.h:
481 * gst/parse/lex._gst_parse_yy.pre.c:
482 Update the prebuild parser sources.
484 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
486 * gst/parse/Makefile.am:
487 And now fix the building of the flex sources. Now everything should
490 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
492 * gst/parse/Makefile.am:
493 Now hopefully fix the build failures by setting proper rule
494 dependencies and moving instead of copying.
496 2007-04-19 Stefan Kost <ensonic@users.sf.net>
498 * tests/benchmarks/complexity.gnuplot:
499 * tests/benchmarks/complexity.scm:
500 * tests/benchmarks/mass-elements.gnuplot:
501 * tests/benchmarks/mass-elements.scm:
502 Total licensification.
504 2007-04-19 Stefan Kost <ensonic@users.sf.net>
506 * gst/parse/Makefile.am:
507 Fix the build by correcting the rule that gave wrong files to flex.
509 2007-04-19 Stefan Kost <ensonic@users.sf.net>
511 * tests/benchmarks/complexity.c:
512 * tests/benchmarks/mass-elements.c:
513 Change licence to LGPL as granted by Benjamin and Andy.
515 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
517 * gst/parse/Makefile.am:
518 Add correct grammar.tab.h dependency if compiling without new enough
521 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
523 * gst/parse/Makefile.am:
524 Fix typo and use outdated sources if the flex/bison sources are newer
525 than the pregenerated ones but flex is too old. Print a warning in
526 that case. This should fix the build on the build bot.
528 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
530 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
531 * gst/parse/Makefile.am:
532 * gst/parse/grammar.y:
534 Make the parser reentrant and recursively callable. This requires flex
535 >= 2.5.31, for older versions pregenerated sources are used as we
536 can't bump the build dependency. Finally fixes #349180.
538 * gst/gstparse.c: (gst_parse_launch):
539 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
542 * docs/gst/Makefile.am:
543 * docs/gst/Makefile.am:
544 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
545 (__gst_parse_strfree), (__gst_parse_link_new),
546 (__gst_parse_link_free), (__gst_parse_chain_new),
547 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
548 (gst_parse_element_set), (gst_parse_free_link),
549 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
550 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
552 * gst/parse/grammar.tab.pre.h:
553 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
554 (yy_get_previous_state), (yy_try_NUL_trans), (input),
555 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
556 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
557 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
558 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
559 (_gst_parse_yypop_buffer_state),
560 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
561 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
562 (yy_fatal_error), (_gst_parse_yyget_extra),
563 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
564 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
565 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
566 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
567 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
568 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
569 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
570 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
571 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
572 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
574 If the installed flex version is too old use pre-generated parser
575 sources. These pre-generated parser sources are always updated when
576 the actual flex/bison sources change but require everybody who wants
577 to change something in the parser to have flex >= 2.5.31 installed.
579 2007-04-18 Stefan Kost <ensonic@users.sf.net>
581 * common/m4/gst-gettext.m4:
582 * gst/gst-i18n-lib.h:
583 Make --disable-nls to work
585 2007-04-17 Wim Taymans <wim@fluendo.com>
587 * gst/gstconfig.h.in:
588 Revert previous change that broke the build.
590 2007-04-17 Stefan Kost <ensonic@users.sf.net>
594 * gst/gstconfig.h.in:
595 Drop libxml2 dependency when building with
596 --enable-binary-registry --disable-loadsave
598 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
600 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
601 (gst_registry_binary_read_cache):
602 * gst/gstregistrybinary.h:
603 Remove unnecessary <sys/mman.h> include which broke the win32 build
604 with MingW; move includes from header file to .c file, even if the
605 header file isn't installed; use g_strerror() where UTF-8 strings
606 are expected, such as in GST_DEBUG messages.
608 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
610 * docs/libs/gstreamer-libs-sections.txt:
611 Remove bogus addition for API I didn't end up keeping.
613 * libs/gst/base/gstbasesrc.h:
614 Mention Since: 0.10.13 in the documentation.
616 Add the API keyword to the previous ChangeLog entry.
618 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
620 * docs/libs/gstreamer-libs-sections.txt:
621 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
622 (gst_base_src_default_prepare_seek_segment),
623 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
624 * libs/gst/base/gstbasesrc.h:
625 Allow basesrc derived classes to execute seeks in other formats
626 by providing a prepare_seek_segment vmethod. Sub-classes can choose
627 to prepare the GstSegment in any format that their perform_seek method
628 will be able to understand. The default implementation provides the
629 old behaviour of attempting to convert the seek offsets to the
630 configured native format.
632 API: basesrc::prepare_seek_segment vmethod.
634 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
636 * gst/gstelement.c: (gst_element_get_state_func):
637 Don't output the same debug statement twice.
639 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
640 (gst_adapter_peek), (gst_adapter_take_buffer):
641 Optimise the case where we have buffers at the head of the queue that
642 can be joined quickly (because they're contiguous sub-buffers) by
643 merging them together rather than copying data out into new memory.
645 * gst/parse/grammar.y:
646 * tests/check/pipelines/parse-launch.c:
647 Fix a leak in an error path for parse_launch, and add a check
648 for it to the testsuite.
650 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
652 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
653 Don't deadlock when releasing a pad - gst_pad_set_active may try
654 and take the multiqueue lock too.
656 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
658 * gst/gsterror.c: (_gst_core_errors_init):
660 API: add GST_CORE_ERROR_DISABLED (#392804).
662 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
664 * docs/faq/gst-uninstalled:
665 don't get empty paths on the PATH variables
666 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
667 Don't format for the uncommon terminal width of 84 characters.
669 2007-04-06 Wim Taymans <wim@fluendo.com>
671 * gst/gstpipeline.c: (reset_stream_time),
672 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
673 Only try to select a different pipeline clock when we went back to
674 PAUSED and not when we merely got flushed.
676 2007-04-05 Michael Smith <msmith@fluendo.com>
678 * tools/gst-launch.1.in:
679 fractions are better supported in gstreamer than ractions, so
682 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
684 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
688 Added Danish translation.
690 2007-04-05 Wim Taymans <wim@fluendo.com>
692 * libs/gst/base/gstbasesink.c:
693 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
694 Fix leak caused when refusing newsegment after EOS.
696 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
697 (gst_fake_sink_init), (gst_fake_sink_set_property),
698 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
699 (gst_fake_sink_render), (gst_fake_sink_change_state):
700 * plugins/elements/gstfakesink.h:
701 Add num-buffers property to make the element generate EOS after a
702 configurable amount of buffers.
703 API: fakesink::num-buffers property.
705 * tests/check/elements/fakesink.c: (GST_START_TEST),
707 Fix GstBus leak in test.
708 Test for fakesink num-buffers.
710 2007-04-05 Wim Taymans <wim@fluendo.com>
712 * libs/gst/base/gstbasesink.c:
713 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
714 (gst_base_sink_change_state):
715 Don't accept anything after an EOS, return UNEXPECTED instead.
717 * tests/check/elements/fakesink.c: (GST_START_TEST),
719 Unit test for new EOS behaviour.
721 2007-04-05 Wim Taymans <wim@fluendo.com>
723 * gst/gstelement.c: (gst_element_get_request_pad):
724 Make padtemplates also work when they don't contain %s or %d.
726 2007-04-05 Wim Taymans <wim@fluendo.com>
728 * docs/gst/gstreamer-sections.txt:
729 * gst/gstclock.c: (gst_clock_adjust_unlocked),
730 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
732 Improve _adjust_unlocked() so that it overflows less.
733 Add gst_clock_unadjust_unlocked to convert from external time to
734 internal time based on calibration.
736 API: GstClock::gst_clock_unadjust_unlocked()
738 2007-04-03 Wim Taymans <wim@fluendo.com>
740 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
742 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
743 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
744 when releasing sink pad. Fixes #425400.
746 2007-04-02 Stefan Kost <ensonic@users.sf.net>
748 * docs/random/ensonic/dynlink.txt:
749 More work on proposal for new core api.
751 * docs/libs/gstreamer-libs-sections.txt:
752 * libs/gst/base/gstbasetransform.h:
753 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
755 * libs/gst/controller/gstcontroller.c:
756 (on_object_controlled_property_changed),
757 (gst_controller_sync_values),
758 (gst_controller_set_interpolation_mode):
759 * libs/gst/controller/gstcontroller.h:
760 Less verbose logging add docs for unimplemented parts and correctly
761 return when using unavailable parts.
763 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
765 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
766 Move all the debug to the CLOCK category, and associate it with
769 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
771 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
772 Make take_buffer a bit quicker by removing redundant checks
773 caused by calling gst_adapter_take.
775 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
777 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
780 * tests/check/Makefile.am:
781 * tests/check/elements/.cvsignore:
782 * tests/check/elements/multiqueue.c: (setup_multiqueue),
783 (GST_START_TEST), (multiqueue_suite):
784 Add some dead simple unit tests for the 'multiqueue' element
785 (some bits don't work yet and are disabled for now).
787 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
789 * gst/gstelement.c: (gst_element_get_request_pad),
790 (gst_element_class_get_request_pad_template):
791 Make gst_element_get_request_pad() create request pads only for
792 request pad templates and not for, say, sometimes pad templates.
794 2007-03-28 Stefan Kost <ensonic@users.sf.net>
796 * docs/design/draft-klass.txt:
797 Add example that needs more thinking.
799 * docs/design/draft-missing-plugins.txt:
800 More thoughts about wrapper plugins.
802 * docs/random/ensonic/embedded.txt:
803 * docs/random/ensonic/profiling.txt:
806 2007-03-25 Wim Taymans <wim@fluendo.com>
808 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
810 Only push the segment events in the PLAYING state for live sources.
812 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
814 * gst/gstpipeline.c: (gst_pipeline_change_state):
815 Modify the clock distribution path in PAUSED->PLAYING so that we
816 never attempt to choose a new clock unless we're actually leaving
817 the PAUSED state for the first time. This prevents choosing a
818 different clock when the state_change gets called for a 2nd time due
819 to some element doing an async state change.
821 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
823 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
824 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
825 (gst_pad_chain_unchecked), (gst_pad_push):
826 Revert last commit. This needs some more thoughts.
828 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
830 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
831 (gst_pad_chain_unchecked), (gst_pad_push):
832 Check in set_caps if the caps are compatible with the pad and remove
833 two functions that are redundant now. Fixes #421543.
835 2007-03-22 Wim Taymans <wim@fluendo.com>
837 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
838 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
839 Unref some more to make valgrind happy.
841 2007-03-22 Wim Taymans <wim@fluendo.com>
843 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
844 (gst_system_clock_id_wait_jitter),
845 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
846 Fix anoying regression that survived a few releases. When adding an
847 async entry while blocking on a sync entry, the sync entry will unblock
848 but still be busy, so it should continue to wait instead of returning
850 Add some comments here and there.
852 * tests/check/gst/gstsystemclock.c: (mixed_thread),
853 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
854 Add testcase for this.
856 2007-03-22 Wim Taymans <wim@fluendo.com>
858 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
859 Handle errors from the clock sync better, only UNSCHEDULED indicates a
860 WRONG_STATE and can silently pause the task. All other cases should
863 2007-03-22 Wim Taymans <wim@fluendo.com>
865 Patch by: <syrjala at sci dot fi>
867 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
868 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
871 2007-03-21 Michael Smith <msmith@fluendo.com>
873 * docs/pwg/advanced-types.xml:
874 Fix some errors in the typefinding docs pointed out on irc.
876 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
878 * libs/gst/base/gstbasesrc.c:
879 Clarify FIXME comment in the face of having added unlock_stop()
881 2007-03-21 Wim Taymans <wim@fluendo.com>
883 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
884 Prepare for release where we warn against possible app breakage in the
885 case of live pipelines along with an env var to enable/disable live
886 preroll mode (GST_COMPAT=[no-]live-preroll).
888 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
890 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
891 So we should use correct constants for checking for None offset.
893 2007-03-20 Wim Taymans <wim@fluendo.com>
895 * docs/design/part-block.txt:
896 Mention the fact that the newly switched element should be set to at
899 2007-03-20 Wim Taymans <wim@fluendo.com>
902 Fix compilation with registry disabled as spotted by Saur.
904 2007-03-20 Wim Taymans <wim@fluendo.com>
906 Patch by: Olivier Crete <tester at tester dot ca>
908 * gst/gstelement.c: (gst_element_sync_state_with_parent):
909 Look at the pending state too when syncing the element state to the
910 parent. Fixes #420133.
912 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
914 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
915 (gst_base_sink_change_state):
916 * libs/gst/base/gstbasesink.h:
917 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
918 (gst_base_src_default_event), (gst_base_src_unlock_stop),
919 (gst_base_src_deactivate):
920 * libs/gst/base/gstbasesrc.h:
921 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
922 for sub-classes to correctly clear any state they set trying to
923 unlock, such as clearing out unlock commands from a command fd.
925 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
926 (gst_fd_sink_render), (gst_fd_sink_unlock),
927 (gst_fd_sink_unlock_stop):
928 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
929 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
930 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
932 Implement unlock_stop in fdsrc and fdsink.
933 Implement seeking in fdsrc when a seekable fd is passed, as in
934 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
936 2007-03-19 Wim Taymans <wim@fluendo.com>
938 Patch by: Evan Nemerson <evan at coeus dash group dot com>
940 * gst/gstelement.c: (gst_element_class_init):
941 Fix pad-added and pad-removed signal signatures so that the pad type is
942 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
944 2007-03-19 Wim Taymans <wim@fluendo.com>
946 * docs/gst/gstreamer-sections.txt:
947 Add new element field and method.
949 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
950 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
951 (gst_bin_recalc_state), (gst_bin_get_state_func),
952 (gst_bin_element_set_state), (gst_bin_change_state_func),
953 (gst_bin_continue_func), (bin_bus_handler),
954 (bin_push_state_continue), (bin_handle_async_start),
955 (bin_handle_async_done), (gst_bin_handle_message_func):
956 Make async state changes a bit smarter by using new ASYNC_START and
957 ASYNC_DONE messages. This reduces the number of times we run the state
958 recalculation thread.
959 Don't change state of element with a pending ASYNC_START message.
960 Deprecate STATE_DIRTY messages.
962 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
963 (gst_element_get_state_func), (gst_element_continue_state),
964 (gst_element_lost_state), (gst_element_set_state_func),
965 (gst_element_change_state):
967 Keep the state that was last set by the app in a new element field.
968 Don't allow state changes when handling an element event.
969 Post ASYNC_START and ASYNC_DONE messages.
970 Change lost_state so that we go to PAUSED and wait for the parent to set
971 us to PLAYING again (so latency calculation can be performed)
972 Export gst_element_change_state() method so that subclasses can use it.
973 API: gst_element_change_state()
974 API: GST_STATE_TARGET
976 * gst/gstpipeline.c: (gst_pipeline_class_init),
977 (reset_stream_time), (gst_pipeline_change_state),
978 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
979 Using the new ASYNC_START message we can reset the base_time when
980 needed. This can then be used to implement base_time redistribution in
981 flushing seeks so that we can remove the explicit seek handling.
982 Perform latency query and configuration when going to PLAYING.
984 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
985 (gst_base_sink_query), (gst_base_sink_change_state):
986 Post new ASYNC_START/ASYNC_DONE messages.
988 * tests/check/generic/sinks.c: (GST_START_TEST):
989 Fix test because the bin will not set the async element to PLAYING right
992 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
993 Make the message check a little stronger.
994 Handle ASYNC messages.
996 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
997 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
998 Expect ASYNC_DONE messages.
1000 2007-03-19 Wim Taymans <wim@fluendo.com>
1002 * docs/gst/gstreamer-sections.txt:
1003 * gst/gstmessage.c: (gst_message_new_async_start),
1004 (gst_message_new_async_done), (gst_message_parse_info),
1005 (gst_message_parse_async_start):
1007 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
1010 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
1012 * tools/gst-inspect.c:
1013 (print_plugin_automatic_install_info_codecs):
1014 Now that we don't check for the 'Codec' keyword any longer in the
1015 klass, we shouldn't spew a warning if the klass isn't a decoder or
1016 encoder (since it might be a Source/Network, for example).
1018 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
1020 * tools/gst-inspect.c:
1021 (print_plugin_automatic_install_info_codecs):
1022 Don't require decoder/demuxer/depayloader elements or
1023 encoder/muxer/paylader elements to have 'Codec' as part of their
1024 factory class string when introspecting a plugin's capabilities.
1025 draft-klass.txt mentions that it might be removed in future, and
1026 flump3dec doesn't have it as part of its class string, so chances
1027 are others might also not have it.
1029 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
1051 Update translations from translation project
1053 2007-03-14 Stefan Kost <ensonic@users.sf.net>
1055 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
1056 (gst_child_proxy_set_property):
1057 Invert precondition check to be alike the ones in the mimiced gobject
1060 2007-03-13 Stefan Kost <ensonic@users.sf.net>
1062 * docs/design/draft-tagreading.txt:
1063 * docs/random/ensonic/audiobaseclasses.txt:
1064 Do some Architect work.
1066 * gst/gstobject.c: (gst_object_set_name):
1070 Add docs that point from gst_pad_get_range to gst_pad_pull_range
1072 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
1074 * gst/gstsystemclock.c: (gst_system_clock_init),
1075 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
1076 Defer starting the async system clock thread until the first async
1077 wait is scheduled. Fixes #414986.
1079 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
1081 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
1082 (gst_single_queue_free):
1083 Fix small leak (free GstSingleQueue structure too, not only contents).
1085 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
1087 * gst/gstbin.c:(gst_bin_add):
1088 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
1089 * win32/common/libgstbase.def:
1090 * win32/common/libgstreamer.def:
1091 Add new exported functions.
1093 2007-03-09 Wim Taymans <wim@fluendo.com>
1095 * docs/plugins/gstreamer-plugins-sections.txt:
1098 2007-03-09 Wim Taymans <wim@fluendo.com>
1100 * docs/gst/gstreamer-sections.txt:
1101 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
1103 Add metadata copy functions. Fixes #393099.
1105 * gst/gstutils.c: (gst_buffer_stamp):
1106 * libs/gst/base/gstbasetransform.c:
1107 (gst_base_transform_prepare_output_buffer):
1108 Use new metadata copy functions.
1110 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
1112 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1113 (gst_identity_init), (gst_identity_check_perfect),
1114 (gst_identity_check_imperfect_timestamp),
1115 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
1116 (gst_identity_set_property), (gst_identity_get_property):
1117 * plugins/elements/gstidentity.h:
1118 Separate out check-imperfect-timestamp and check-imperfect-offset.
1119 Put back check-perfect as it was to keep compatibility.
1121 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
1123 * gst/gstelement.c: (gst_element_dispose):
1124 There's no need to warn if VOID_PENDING is not NONE here, as
1125 long as the state is NULL it's ok, and that's checked immediately
1128 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1130 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1131 Fix check for perfect stream to ignore buffers with -1
1132 offsets/offset ends when checking data contiguity.
1134 2007-03-08 Wim Taymans <wim@fluendo.com>
1136 * tools/gst-launch.c: (event_loop):
1137 Print INFO messages.
1139 2007-03-08 Wim Taymans <wim@fluendo.com>
1141 * libs/gst/base/gstbasetransform.c:
1142 (gst_base_transform_sink_eventfunc),
1143 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1144 (gst_base_transform_activate):
1145 * libs/gst/base/gstbasetransform.h:
1146 Add support for dropping buffers with custom GstFlowReturn.
1147 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
1148 buffers or dropped buffers.
1150 * docs/libs/gstreamer-libs-sections.txt:
1151 docs for new custom return code.
1153 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1154 Use drop support in base class to implement drop-probability.
1156 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
1158 * gst/gst.c: (load_plugin_func):
1159 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
1160 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1161 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
1162 Remove newlines at end of debug log strings.
1164 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1166 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1167 Only post bus message at max, once per buffer received.
1169 2007-03-07 Wim Taymans <wim@fluendo.com>
1171 * docs/design/Makefile.am:
1172 * docs/design/part-synchronisation.txt:
1173 Add doc about synchronisation
1175 * docs/design/draft-latency.txt:
1176 * docs/design/part-TODO.txt:
1177 * docs/design/part-clocks.txt:
1178 * docs/design/part-events.txt:
1179 * docs/design/part-gstbus.txt:
1180 * docs/design/part-gstpipeline.txt:
1181 * docs/design/part-live-source.txt:
1182 * docs/design/part-messages.txt:
1183 * docs/design/part-overview.txt:
1184 * docs/design/part-streams.txt:
1185 * docs/design/part-trickmodes.txt:
1186 Documentation updates.
1188 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1191 Update the doap file.
1193 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1195 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1196 Rename non-perfect to imperfect for Mike and for the sanctity of the
1198 Also make sure bus message gets emitted for data-incontiguities.
1200 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1202 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
1203 (gst_identity_start):
1204 * plugins/elements/gstidentity.h:
1205 Emit bus message if check-perfect is true and we encounter a
1206 non-perfect stream between 2 consecutive buffers.
1209 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1214 === release 0.10.12 ===
1216 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1219 releasing 0.10.12, "Inevitable Demise"
1221 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
1224 Version 0.10.11.2 (0.10.12 pre-release)
1225 Bump libtool versioning.
1227 2007-03-01 Stefan Kost <ensonic@users.sf.net>
1229 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1230 Log flow-names and not numbers.
1232 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
1235 Convert to new AG_GST style.
1237 2007-02-28 Wim Taymans <wim@fluendo.com>
1239 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
1240 Don't unref query twice.
1242 2007-02-28 Wim Taymans <wim@fluendo.com>
1244 * gst/gstvalue.c: (gst_value_transform_object_string),
1245 (_gst_value_initialize):
1246 Implement GstObject -> string transform so we print object names
1247 when serializing GValues containing GstObjects.
1249 2007-02-28 Wim Taymans <wim@fluendo.com>
1251 * docs/gst/gstreamer-sections.txt:
1252 Add new stuff to docs.
1254 2007-02-28 Wim Taymans <wim@fluendo.com>
1256 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1257 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
1258 (gst_base_sink_change_state):
1259 Improve latency query code.
1260 Don't leak latency events.
1262 * tests/check/gst/gstbin.c: (GST_START_TEST):
1265 2007-02-28 Wim Taymans <wim@fluendo.com>
1267 * gst/gstelement.c: (gst_element_message_full),
1268 (gst_element_get_state_func):
1270 Improve docs a little. Added Since: for new macro.
1272 * gst/gstobject.c: (gst_object_sink):
1273 * gst/gstpipeline.c: (gst_pipeline_change_state),
1274 (gst_pipeline_set_new_stream_time):
1275 * gst/gstpipeline.h:
1276 Improve debugging and docs.
1278 * gst/gstutils.c: (gst_element_state_change_return_get_name):
1281 2007-02-28 Wim Taymans <wim@fluendo.com>
1283 * gst/gstelement.c: (gst_element_message_full),
1284 (gst_element_set_locked_state), (gst_element_get_state_func),
1285 (gst_element_change_state):
1286 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
1287 Documentation updates.
1288 Small code cleanups.
1290 * gst/gstmessage.c: (gst_message_new_info),
1291 (gst_message_parse_info):
1293 API: gst_message_new_info()
1294 API: gst_message_parse_info()
1295 Add INFO message create and parse code.
1297 2007-02-28 Wim Taymans <wim@fluendo.com>
1299 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
1300 (bin_query_latency_done):
1301 Also report the live parameter of a latency query.
1303 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
1305 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
1306 Copy the current generic/states example from -base and adapt so
1307 we can use the exact same code everywhere.
1308 Check a STATES_IGNORE_ELEMENTS env var which can be used
1309 to ignore certain element factories for this test, which is
1310 what is being done in -base
1311 * tests/check/Makefile.am:
1312 Mention this environment variable.
1314 2007-02-27 Wim Taymans <wim@fluendo.com>
1316 * docs/gst/gstreamer-sections.txt:
1317 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
1318 (gst_bus_timed_pop), (gst_bus_pop):
1320 API: gst_bus_timed_pop()
1321 Implement gst_bus_timed_pop() to do a blocking timed wait for a
1322 message to arrive on the bus.
1324 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
1326 Two unit tests for new _timed_pop() function.
1328 2007-02-23 Wim Taymans <wim@fluendo.com>
1330 * gst/gstpipeline.c: (gst_pipeline_change_state),
1331 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
1332 Don't ref a NULL clock in _provide_clock_func().
1333 Don't allow an INVALID delay.
1334 Don't try to calculate base_time with an invalid start_time.
1335 Also distribute and notify a NULL clock when it was selected.
1337 * tools/gst-launch.c: (event_loop):
1338 Don't crash when a NULL clock was selected in the pipeline.
1340 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
1342 * docs/design/Makefile.am:
1343 * docs/design/draft-missing-plugins.txt:
1344 * docs/random/draft-missing-plugins.txt:
1345 Some small updates: update plugin system identifier prefix
1346 ('gstreamer.net' to 'gstreamer'), mention our new install
1347 API in libgstbaseutils rather than libgimme-codec, add
1348 reference to the online docs.
1350 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1352 * win32/common/config.h:
1353 Pretty sure Bill never made a powerpc version. Powerpc hackers,
1354 use moap cl ci to only check in what is mentioned in the ChangeLog.
1356 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1358 * docs/gst/gstreamer-sections.txt:
1360 Fix up documentation to link to the correct GstGError section.
1361 Add GST_ELEMENT_INFO macro since someone else added a Info message.
1363 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1365 * tools/gst-launch.c: (event_loop):
1366 Make sure that we actually show the important message part of a
1368 No need to check if the gerror is not NULL to free; first of all
1369 g_free accepts NULL; and second the default error handler would
1370 segfault if gerror was NULL.
1372 2007-02-21 Wim Taymans <wim@fluendo.com>
1374 * docs/gst/gstreamer-sections.txt:
1375 Removed docs as well.
1377 2007-02-21 Wim Taymans <wim@fluendo.com>
1379 * gst/gstmessage.c: (gst_message_parse_duration):
1381 Remove new messages for release.
1383 2007-02-20 Wim Taymans <wim@fluendo.com>
1385 * docs/design/part-gstghostpad.txt:
1386 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
1387 (gst_ghost_pad_new_full):
1388 Make the ghostpad a parent of the internal pad again for better backward
1389 compatibility. Don't write code that relies on this however.
1391 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1392 (gst_pad_link_check_hierarchy):
1393 Require that parents should be GstElements in the hierarchy check.
1395 2007-02-20 Wim Taymans <wim@fluendo.com>
1397 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
1398 (gst_bin_change_state_func), (bin_query_min_max_init),
1399 (bin_query_latency_fold), (bin_query_latency_done),
1402 Implement latency query.
1404 2007-02-20 Wim Taymans <wim@fluendo.com>
1406 * docs/design/part-gstghostpad.txt:
1407 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
1408 (gst_ghost_pad_internal_do_activate_push),
1409 (gst_ghost_pad_internal_do_activate_pull),
1410 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1411 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
1412 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
1413 Do not set the internal pad as a parent anymore so we can avoid
1414 hierarchy linking errors when the ghostpad has no parent yet. This also
1415 fixes failed activation because of unlinked internal pads, which in
1416 turn fixes the impossible case where you have to activate a pad before
1417 you can add it to a running element.
1420 * gst/gstpad.c: (pre_activate), (post_activate),
1421 (gst_pad_set_active), (gst_pad_activate_pull),
1422 (gst_pad_activate_push), (gst_pad_check_pull_range):
1423 Add some more debug info.
1424 Mark activation mode in pre_activate so that we don't try to activate in
1425 endless loops. Fixes #385084.
1427 2007-02-19 Wim Taymans <wim@fluendo.com>
1429 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1430 (gst_base_transform_check_get_range):
1431 Implement a checkgetrange function instead of relying on the default
1432 core behaviour that assumes we can operate in pull mode if we have a
1433 getrange function. First step at fixing #385084.
1435 2007-02-15 Stefan Kost <ensonic@users.sf.net>
1437 * gst/gstchildproxy.h:
1438 * libs/gst/base/gstbasesink.h:
1439 * libs/gst/base/gstbasesrc.h:
1440 * libs/gst/base/gstbasetransform.h:
1441 More docs coverage and some ChangeLog surgery (add missing names)
1443 2007-02-15 Wim Taymans <wim@fluendo.com>
1445 * docs/design/part-TODO.txt:
1446 * docs/design/part-activation.txt:
1447 * docs/design/part-block.txt:
1448 * docs/design/part-buffering.txt:
1449 * docs/design/part-clocks.txt:
1450 * docs/design/part-element-source.txt:
1451 * docs/design/part-events.txt:
1452 * docs/design/part-gstbin.txt:
1453 * docs/design/part-gstbus.txt:
1454 * docs/design/part-gstpipeline.txt:
1455 * docs/design/part-live-source.txt:
1456 * docs/design/part-messages.txt:
1457 * docs/design/part-overview.txt:
1458 * docs/design/part-qos.txt:
1459 * docs/design/part-query.txt:
1460 * docs/design/part-states.txt:
1461 * docs/design/part-trickmodes.txt:
1462 Some doc updates. Start renaming from stream_time to running_time where
1463 it was used wrongly.
1465 2007-02-15 Wim Taymans <wim@fluendo.com>
1467 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1468 Answer LATENCY query.
1470 2007-02-15 Wim Taymans <wim@fluendo.com>
1472 * tests/check/gst/gstevent.c: (event_probe), (test_event),
1476 2007-02-15 Wim Taymans <wim@fluendo.com>
1478 * gst/gstpad.c: (gst_pad_get_internal_links_default),
1479 (gst_pad_dispatcher):
1480 Improve debugging of default pad dispatcher and query functions.
1482 2007-02-15 Wim Taymans <wim@fluendo.com>
1484 * docs/gst/gstreamer-sections.txt:
1485 Remove old unused method.
1487 2007-02-13 Wim Taymans <wim@fluendo.com>
1489 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1492 2007-02-13 Wim Taymans <wim@fluendo.com>
1494 * docs/design/part-seeking.txt:
1497 * gst/gstsegment.c: (gst_segment_set_seek):
1498 Revert old bogus change that should make seeking work again.
1500 2007-02-13 Stefan Kost <ensonic@users.sf.net>
1502 * docs/random/ensonic/dynlink.txt:
1503 * docs/random/ensonic/interfaces.txt:
1504 * docs/random/ensonic/receipies.txt:
1505 Possible dynamic reconnection api, plus some type fixes the other two
1508 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
1510 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1511 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1512 Also check for an absolute path following file:// in the filesrc
1513 element. Remove redundant check and call g_path_is_absolute() on the
1516 2007-02-13 Stefan Kost <ensonic@users.sf.net>
1518 * docs/design/draft-klass.txt:
1519 Add existing category analysis.
1522 Fix doc example, framerate is a fraction.
1524 2007-02-12 Stefan Kost <ensonic@users.sf.net>
1527 * docs/gst/Makefile.am:
1528 * docs/gst/gstreamer-sections.txt:
1529 * docs/libs/Makefile.am:
1530 Erm, forgot a bunch of --extra-dir.
1532 2007-02-12 Stefan Kost <ensonic@users.sf.net>
1535 * docs/gst/Makefile.am:
1536 * docs/libs/Makefile.am:
1537 * docs/plugins/Makefile.am:
1538 Add crossreferences to glib/gobject docs.
1540 2007-02-12 Wim Taymans <wim@fluendo.com>
1542 * docs/design/draft-latency.txt:
1545 * docs/libs/gstreamer-libs-sections.txt:
1546 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1547 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
1548 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
1549 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
1550 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
1551 (gst_base_sink_get_position), (gst_base_sink_query),
1552 (gst_base_sink_change_state):
1553 * libs/gst/base/gstbasesink.h:
1554 API: gst_base_sink_query_latency() to let subclasses query the upstream
1556 API: gst_base_sink_get_latency() to let subclasses query the configured
1557 latency in the sink.
1558 Implement query and set latency.
1560 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
1561 don't continue preroll when we are flushing. Fixes #405284.
1563 * tests/check/pipelines/stress.c: (change_state_timeout),
1564 (quit_timeout), (GST_START_TEST), (stress_suite):
1567 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
1569 Patch by: René Stadler <mail at renestadler de>
1571 * docs/gst/gstreamer-sections.txt:
1572 * gst/gsttaglist.c: (_gst_tag_initialize):
1574 API: add GST_TAG_REFERENCE_LEVEL (#403597).
1576 2007-02-11 Stefan Kost <ensonic@users.sf.net>
1578 * docs/libs/Makefile.am:
1579 Fix path to core docs.
1581 * gst/gstbin.c: (gst_bin_get_by_interface),
1582 (gst_bin_iterate_all_by_interface):
1583 Refix docs by also renaming 'interface' to 'iface' in implementation.
1585 * docs/gst/gstreamer-sections.txt:
1587 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1588 * gst/gstchildproxy.h:
1589 * gst/gstelementfactory.c:
1590 * gst/gstpadtemplate.h:
1591 * libs/gst/controller/gstcontroller.c:
1592 (gst_controlled_property_new):
1595 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
1597 * gst/gstbin.h:(gst_bin_get_by_interface),
1598 (gst_bin_iterate_all_by_interface):
1599 Replace interface parameter name by iface as interface is
1600 a reserved keyword in Visual Studio for C++ projects so it removes
1601 a build error for application developpers using VS.
1602 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
1603 Fix a bug on Windows in uri format check. Now the prefix checked
1604 is file:// and next we check if the path after file:// is absolute.
1605 * win32/common/libgstbase.def:
1606 * win32/common/libgstdataprotocol.def:
1607 * win32/common/libgstgstreamer.def:
1608 Add new exported functions.
1610 2007-02-09 Andy Wingo <wingo@pobox.com>
1612 * tests/check/pipelines/simple-launch-lines.c
1613 (simple_launch_lines_suite, test_tee): Disable tee test until I
1614 have time to fix it :-(
1616 * tests/check/Makefile.am (noinst_HEADERS):
1617 * tests/check/libs/libsabi.c:
1618 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1619 * tests/check/gst/gstabi.c:
1620 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1622 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1623 tests for push and pull tee behavior.
1625 * plugins/elements/gsttee.h:
1626 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1627 mark as deprecated as well as unimplemented. It was a crack idea.
1628 Add support for tee operating in pull mode, off by default.
1630 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1631 normal-case logs down to LOG, raise errors to WARNING.
1632 (gst_registry_xml_read_cache): Don't log before calling a function
1635 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1636 exit (registry finalize).
1637 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1638 DEBUG log when we emit signals that people don't even have the
1639 chance to connect to.
1640 (gst_registry_scan_path_level): Less logging in the normal case.
1642 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1644 Patch by: Michal Benes <michal dot benes at itonis dot tv>
1646 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1647 Correctly generate EOS for non-seekable files. We don't have a total
1648 length for them and would get an unexpected end of file if we only
1649 special-cased for regular files. (Fixes: #404569)
1651 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1653 * tests/check/elements/filesrc.c: (GST_START_TEST),
1655 Add unit test for the GstURIHandler interface in filesrc. This also
1656 tests the newly added file://localhost/foo/bar support.
1658 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
1660 * gst/gstelementfactory.h:
1661 The klass string is not a hierarchy. Add reference to the design doc
1662 for more information and common types.
1664 2007-02-02 Wim Taymans <wim@fluendo.com>
1666 * gst/gstquery.c: (gst_query_new_latency):
1667 Remove old structure field.
1669 2007-02-02 Stefan Kost <ensonic@users.sf.net>
1671 * tools/gst-launch.1.in:
1672 Give example for network streaming (#351998)
1674 2007-02-02 Wim Taymans <wim@fluendo.com>
1676 * docs/gst/gstreamer-sections.txt:
1677 Add docs for new methods.
1679 * gst/gstevent.c: (gst_event_new_latency),
1680 (gst_event_parse_latency):
1682 Add new LATENCY event to configure latency in a pipeline.
1683 API: gst_event_new_latency
1684 API: gst_event_parse_latency
1686 * gst/gstmessage.c: (gst_message_new_buffering),
1687 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1688 (gst_message_new_latency), (gst_message_parse_buffering),
1689 (gst_message_parse_lost_preroll):
1691 Added messages used in draft-latency.
1692 API: gst_message_new_lost_preroll
1693 API: gst_message_parse_lost_preroll
1694 API: gst_message_new_prerolled
1695 API: gst_message_new_latency
1697 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1698 (gst_query_parse_latency):
1700 Implemented new latency query as in design doc.
1701 API: gst_query_new_latency
1702 API: gst_query_set_latency
1703 API: gst_query_parse_latency
1705 2007-02-02 Wim Taymans <wim@fluendo.com>
1707 * docs/design/draft-latency.txt:
1708 Slight redesign to allow for dynamic latency adjustments.
1710 * docs/design/part-negotiation.txt:
1713 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
1715 reviewed by: Wim Taymans <wim@fluendo.com>
1717 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1718 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1719 Allow file://localhost/foo/bar URLs and correctly fail for every other
1720 hostname that one sets. This was gnomevfssrc is linked for those if
1721 installed as it can handle it (#403172)
1723 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1725 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1727 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1728 (unref_data), (gst_collect_pads_add_pad_full):
1729 * libs/gst/base/gstcollectpads.h:
1730 Don't put the previously added destroy notify in the GstCollectData
1731 struct as all it's padding is already used and we don't want to break
1732 ABI. Instead put in the pad's GObject data for now. This should be
1733 cleaned up for 0.11 (#402393).
1735 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1737 reviewed by: Wim Taymans <wim@fluendo.com>
1739 * docs/libs/gstreamer-libs-sections.txt:
1740 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1741 (unref_data), (gst_collect_pads_add_pad),
1742 (gst_collect_pads_add_pad_full):
1743 * libs/gst/base/gstcollectpads.h:
1744 API: Add function to specify a destroy notification for custom
1745 GstCollectData when adding new pads in GstCollectPads (#402393).
1747 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
1750 Update Swedish translation (#378255).
1752 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1754 * docs/design/draft-klass.txt:
1755 Fix the previous change, this is a list of categories and not a hierarchy.
1757 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1759 * docs/design/draft-klass.txt:
1760 Add info about how to get a list of used classes.
1762 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
1764 * plugins/elements/gsttypefindelement.c:
1765 (gst_type_find_element_chain_do_typefinding),
1766 (gst_type_find_element_change_state):
1767 Don't leak found caps in chain function (no idea why that never
1768 showed up as a leak anywhere).
1770 2007-01-30 Stefan Kost <ensonic@users.sf.net>
1773 Fix and expand GstPluginDesc API docs.
1775 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1778 * gst/gstelementfactory.c:
1779 * gst/gstpadtemplate.h:
1782 * libs/gst/controller/gstcontroller.c:
1783 (gst_controlled_property_new):
1784 * tests/examples/controller/audio-example.c:
1787 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1790 comment about refining the xml deps
1793 comments about moving away from jade for docs
1796 recommit the ifdefs to use the binary registry
1798 * gst/gstbin.c: (gst_bin_change_state_func):
1799 this break is obsolete
1801 * gst/gstelementfactory.h:
1802 better GST_ELEMENT_DETAILS docs, add comment about translation
1807 * gst/gstobject.c: (gst_signal_object_get_type):
1808 add G_UNLIKELY as usual
1810 * gst/gstpad.c: (gst_pad_event_default):
1811 add fall trhu comment
1813 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1814 (gst_registry_binary_initialize_magic),
1815 (gst_registry_binary_save_string),
1816 (gst_registry_binary_save_pad_template),
1817 (gst_registry_binary_save_feature),
1818 (gst_registry_binary_save_plugin),
1819 (gst_registry_binary_write_cache),
1820 (gst_registry_binary_check_magic),
1821 (gst_registry_binary_load_pad_template),
1822 (gst_registry_binary_load_feature),
1823 (gst_registry_binary_load_plugin),
1824 (gst_registry_binary_read_cache):
1825 comment typo and formatting
1827 * gst/gstutils.c: (gst_element_state_get_name),
1828 (gst_element_state_change_return_get_name):
1829 remove obsolete breaks
1831 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1832 add FIXME 0.11 and remove cpp comment
1834 2007-01-29 Edward Hervey <edward@fluendo.com>
1836 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1837 Fix print statement in an even more portable way.
1839 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
1841 * docs/gst/gstreamer-sections.txt:
1843 API: add GST_ROUND_DOWN_* macros (#401781).
1845 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
1847 * docs/gst/gstreamer.types.in:
1848 * gst/gstregistry.c: (gst_registry_class_init):
1849 Document registry signals and make gtk-doc pick them up (#401381).
1851 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1853 * docs/pwg/building-testapp.xml:
1854 Add some audioconverts and audioresample to the pipeline, and some
1855 more comments and error handling.
1857 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1859 * docs/manual/manual.xml:
1863 2007-01-26 Wim Taymans <wim@fluendo.com>
1865 * gst/gstcaps.c: (gst_static_caps_get):
1866 Init caps flags too.
1868 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
1870 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1872 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1873 If not using mmap'ed files try to seek to the end instead of the
1874 start to determine whether we can seek at all. This fixes the case
1875 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1876 seeks for everything afterwards fail. Fixes #400656
1878 2007-01-25 Wim Taymans <wim@fluendo.com>
1880 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1881 Add some refcount debugging.
1882 Make gst_static_caps_get threadsafe, which is needed when autoplugging
1883 in multiple streaming threads.
1885 2007-01-25 Wim Taymans <wim@fluendo.com>
1887 Patch by: David Schleef <ds at schleef dot org>
1889 * docs/libs/gstreamer-libs-sections.txt:
1890 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1891 * libs/gst/base/gstadapter.h:
1892 API: gst_adapter_copy() that can reduce the amount of memcpy when
1893 getting data from the adapter. Fixes #388201.
1895 2007-01-25 Edward Hervey <edward@fluendo.com>
1897 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1898 In print statements, "%x" is for guint. Fixes build on macosx.
1900 2007-01-24 Edward Hervey <edward@fluendo.com>
1902 * plugins/elements/gstmultiqueue.c:
1903 (gst_multi_queue_loop):
1905 (single_queue_overrun_cb), (single_queue_underrun_cb),
1906 (single_queue_check_full), (gst_single_queue_new):
1907 Implement single queue growth system.
1908 This uses the extra-size properties, and will grow single queues by
1909 that much if one goes full whereas there are others empty. This is
1910 called extra-mode in the code.
1911 When a single queue's levels go back below the initial max-size
1912 limits, it is no longer in extra-mode. This is to ensure we don't
1913 consume too much memory.
1916 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
1918 * gst/gst.c: (gst_init_get_option_group):
1919 Make warning about late g_thread_init() calls a bit more explicit,
1920 so that it's more obvious to application developers what they need
1921 to do if a user files a bug against their application.
1923 2007-01-22 Edward Hervey <edward@fluendo.com>
1925 * plugins/elements/gstmultiqueue.c:
1926 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1927 Remove previous hack of unsetting the flushing flag for the source pad
1928 instead of activating it. Instead, fix the source pad activate function
1929 so that it no longer depends on having a parent set or not.
1931 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
1933 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1935 * docs/manual/basics-bus.xml:
1936 Fix example code, gst_element_unref() doesn't exist any longer.
1938 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
1940 Patch by: Mark Nauwelaerts <manauw at skynet be>
1943 Fix two docs typoes (#399094).
1945 2007-01-19 Edward Hervey <edward@fluendo.com>
1947 * docs/faq/gst-uninstalled:
1948 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1949 depending on libgstbaseutils can work in uninstalled environment.
1951 2007-01-18 Stefan Kost <ensonic@users.sf.net>
1954 * gst/gsttagsetter.c:
1955 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1956 statement for new tag.
1958 2007-01-17 Edward Hervey <edward@fluendo.com>
1960 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1961 When dynamically creating single queues, activate sinkpad before adding
1963 We should be doing the same thing for the source pad, but we can't
1964 since it would call a method which needs the parent to be set in order
1965 to work propertly. Instead of activating the source pad, we just unset
1966 the flushing flag, which is the minimal requirement for adding a pad
1967 to an element in a state greater than READY.
1969 2007-01-17 Edward Hervey <edward@fluendo.com>
1971 * docs/faq/gst-uninstalled:
1972 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1975 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
1977 * tests/check/gst/gstabi.c:
1978 * tests/check/gst/struct_hppa.h:
1979 * tests/check/libs/libsabi.c:
1980 * tests/check/libs/struct_hppa.h:
1981 Add ABI structs for HPPA (see #393796).
1983 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
1985 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1986 Actually write ABI structs to the file specified in the GST_ABI
1987 environment variable, as the message we print claims we would.
1989 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1991 * tests/check/gst/gsttask.c:
1994 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1996 * gst/gsttaglist.c: (_gst_tag_initialize):
1997 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1998 previous two entries.
2000 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2002 * docs/gst/gstreamer-sections.txt:
2003 * gst/gsttaglist.c: (_gst_tag_initialize):
2005 Add tag support for beat-per-minute.
2007 2007-01-15 Stefan Kost <ensonic@users.sf.net>
2009 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2010 (gst_registry_binary_initialize_magic),
2011 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
2012 (gst_registry_binary_save_pad_template),
2013 (gst_registry_binary_save_feature),
2014 (gst_registry_binary_save_plugin),
2015 (gst_registry_binary_write_cache),
2016 (gst_registry_binary_check_magic),
2017 (gst_registry_binary_load_pad_template),
2018 (gst_registry_binary_load_feature),
2019 (gst_registry_binary_load_plugin),
2020 (gst_registry_binary_read_cache):
2021 * gst/gstregistrybinary.h:
2022 Use glib types, cleanup comments, impement interfaces and uri-types.
2024 2007-01-13 Andy Wingo <wingo@pobox.com>
2026 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
2027 getrange() to return buffers with other caps, while we fix
2028 demuxers and typefind, or otherwise change part-negotiation.txt.
2030 2007-01-12 Andy Wingo <wingo@pobox.com>
2032 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
2033 Factor start/stop into this private function instead of partially
2034 in activate functions and partially in the change_state function.
2035 Fixes setup before the element has changed from READY->PAUSED, as
2036 is the case in pull-mode pipelines.
2037 (gst_base_transform_sink_activate_push)
2038 (gst_base_transform_src_activate_pull): Refactor to use
2039 gst_base_transform_activate().
2040 (gst_base_transform_change_state): Removed, not needed any more.
2042 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
2043 Truncate before fixating.
2045 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
2046 Don't set_caps() if the result of fixating is ANY, as it's not
2047 supported, and not necessary in the case of a link with no
2048 template caps on either side. Fixes tests/check/libs/basesrc in
2049 some pull-mode tests.
2051 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
2052 (gst_base_transform_init, gst_base_transform_sink_activate_push)
2053 (gst_base_transform_src_activate_pull):
2054 Track the activation mode.
2055 (gst_base_transform_setcaps): In pull mode, when activating the
2056 src pad, after activating the sink pad, activate the sink pad's
2057 peer, as discussed in part-negotiation.txt.
2059 * libs/gst/base/gstbasesrc.h:
2060 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
2061 vmethod, as in basesink.
2063 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
2065 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
2066 mode, first proxy the setcaps to the peer pad.
2067 (gst_base_sink_pad_fixate): Add a fixate function that calls the
2069 (gst_base_sink_default_activate_pull): Rename from
2070 gst_base_sink_activate_pull.
2071 (gst_base_sink_negotiate_pull): New function, performs negotiation
2072 in pull mode before calling ::activate_pull().
2073 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
2074 vmethod instead of the default implementation. I have no idea how
2075 this worked before. Negotiate before calling activate_pull.
2077 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
2078 sink pads in pull mode. In addition to being correct, fixes
2079 filesrc ! decodebin ! identity ! fakesink.
2080 (gst_pad_get_range, gst_pad_pull_range): Don't call
2081 gst_pad_set_caps() if the caps changes; instead error out with
2082 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
2084 2007-01-12 Andy Wingo <wingo@pobox.com>
2086 * docs/design/part-negotiation.txt: Update with more policy.
2088 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
2090 * libs/gst/check/gstbufferstraw.h:
2091 * libs/gst/check/gstcheck.h:
2092 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
2095 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
2097 * tests/check/Makefile.am:
2098 * tests/check/gst/.cvsignore:
2099 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
2100 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
2101 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
2102 (GST_START_TEST), (gst_tag_setter_suite):
2103 Add minimal unit test for beforementioned GstTagSetter bug.
2105 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
2107 Patch by: René Stadler <mail at renestadler dot de>
2109 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
2110 gst_tag_list_merge() returns a new list, so it's not the best idea
2111 to ingore its return value. Effectively meant that tags could only
2112 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
2113 Also add function guard to require a non-NULL taglist as input (has
2114 always been so due to gst_tag_list_copy(), just making it explicit).
2116 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
2118 * docs/random/draft-missing-plugins.txt:
2119 Some additions: mention new API that is supposed to be used at the
2120 various stages; short blob about new gst-inspect introspection
2121 option; mention potential future problem with plugins that have
2122 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
2124 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
2126 * tools/gst-inspect.c:
2127 (print_plugin_automatic_install_info_codecs),
2128 (print_plugin_automatic_install_info_protocols),
2129 (print_plugin_automatic_install_info), (main):
2130 Add --print-plugin-auto-install-info option to gst-inspect, so we can
2131 introspect plugin files and get machine-parsable output that corresponds
2132 to the last bit of the missing-plugin installer string (small gotcha:
2133 doesn't take into account ranks).
2135 2007-01-11 Stefan Kost <ensonic@users.sf.net>
2138 * docs/gst/gstreamer-sections.txt:
2140 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
2141 (gst_registry_lookup_locked):
2142 * gst/gstregistry.h:
2143 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2144 (gst_registry_binary_initialize_magic),
2145 (gst_registry_binary_save_string),
2146 (gst_registry_binary_save_pad_template),
2147 (gst_registry_binary_save_feature),
2148 (gst_registry_binary_save_plugin),
2149 (gst_registry_binary_write_cache),
2150 (gst_registry_binary_check_magic),
2151 (gst_registry_binary_load_pad_template),
2152 (gst_registry_binary_load_feature),
2153 (gst_registry_binary_load_plugin),
2154 (gst_registry_binary_read_cache):
2155 * gst/gstregistrybinary.h:
2156 * gst/gstregistryxml.c: (load_feature),
2157 (gst_registry_xml_read_cache):
2158 commit binary registry (disabled by default, see #359653)
2160 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
2162 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
2163 Fix 'make check' too.
2165 2007-01-10 Andy Wingo <wingo@pobox.com>
2167 * docs/design/part-negotiation.txt: Fix a typo, add a couple
2170 * docs/design/part-negotiation.txt: Update with, um, one way that
2171 pull-mode negotiation might work?
2174 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
2175 that the pad must be a src pad; makes sense to call it the other
2176 way in pull mode, and the logic is symmetric anyway.
2178 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
2180 * plugins/elements/gstfilesink.c:
2181 Include <stdio.h> for fseeko().
2183 2007-01-10 Wim Taymans <wim@fluendo.com>
2187 Reserve LATENCY event.
2189 2007-01-09 Wim Taymans <wim@fluendo.com>
2191 * docs/design/draft-latency.txt:
2194 2007-01-09 Wim Taymans <wim@fluendo.com>
2196 * docs/design/draft-latency.txt:
2200 * gst/gststructure.c:
2204 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
2206 * tests/check/.cvsignore:
2207 Ignore test-registry.xml as well.
2209 2007-01-09 Wim Taymans <wim@fluendo.com>
2211 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2212 unref data at the end when we are done with the pad.
2214 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
2216 * docs/gst/gstreamer-sections.txt:
2217 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
2218 (init_post), (gst_deinit), (gst_update_registry):
2220 API: add gst_update_registry() (#391296).
2222 * tests/check/Makefile.am:
2223 * tests/check/gst/gstregistry.c:
2224 * tests/check/gst/.cvsignore:
2225 Simple unit test for the above.
2227 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
2229 * gst/gstregistry.c: (gst_registry_scan_path_level):
2230 Plugin extension on HP-UX is .sl, add that to the list of approved
2231 plugin extensions (see #393796).
2233 * tests/check/gst/gstpad.c: (GST_START_TEST):
2234 ulong => gulong. Fixes compilation with HP-UX compiler.
2236 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2237 Fix compilation if valgrind headers are not available.
2239 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
2241 * win32/common/libgstreamer.def:
2242 Add new exported function.
2243 * win32/vs6/libgstbase.dsp:
2244 Add gstdataqueue.c to the build.
2245 * win32/vs6/libgstcoreelements.dsp:
2246 Add gstmultiqueue.c to the build.
2248 2007-01-06 Andy Wingo <wingo@pobox.com>
2250 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
2251 activate_pull(), providing for a way to specialize the process of
2252 spawning a thread to pull on the sink pad. There is a default
2255 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
2256 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
2257 (gst_base_sink_init): Renamed pad activation functions (inserting
2258 "_pad" in their names). Refactor to use the new activate_pull
2259 vmethod, as appropriate.
2260 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
2261 default activate_pull function to start a task pulling from the
2262 sink pad, as before.
2264 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
2265 on the pads if necessary, as in push()/chain(). Update docs.
2266 Shouldn't affect existing pull() usage as it is currently only
2267 being used on buffers without caps.
2269 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2271 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2273 Call g_thread_init() first thing in gst_init() / gst_check_init().
2274 When initialisation is done via gst_init_get_option_group() and
2275 GOption parsing, issue a warning if the GLib thread system has not
2276 been initialised yet by the time gst_init_get_option_group() is
2277 called, as it's quite likely other GLib functions such as
2278 g_option_context_new() have been called already then, and
2279 g_thread_init() must be called before any other GLib function. The
2280 application in question must be fixed in that case, since memory
2281 corruption might happen otherwise.
2282 We issue the warning because even if the GLib folks decide to work
2283 around the problem on their end in future, this is still an issue
2284 with all GLib versions >= 2.10.0, so we should warn until we depend
2285 on a GLib version we know to be safe.
2286 Update documentation as well.
2289 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2291 * tools/gst-inspect.c: (main):
2292 * tools/gst-launch.c: (main):
2293 * tools/gst-typefind.c: (main):
2294 * tools/gst-xmlinspect.c: (main):
2295 Call g_thread_init() really really early, before any other GLib
2296 function (see #342564 and recent discussion on gtk-devel-list).
2298 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2300 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
2302 * gst/gst_private.h:
2303 * gst/gstconfig.h.in:
2305 On win32, all the __declspec stuff for symbol exporting is
2306 apparently only needed with MSVC, but doesn't work with MingW.
2307 Fixes compilation with MingW and #391909.
2309 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2311 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
2312 Change some GST_ERROR_OBJECT that aren't really errors to
2313 GST_WARNING_OBJECT in order to reduce terminal spam.
2315 2007-01-04 Stefan Kost <ensonic@users.sf.net>
2317 * tests/check/Makefile.am:
2318 disable test again, as there seem to be still race problems
2320 2007-01-04 Stefan Kost <ensonic@users.sf.net>
2322 * tests/check/Makefile.am:
2323 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2324 (GST_START_TEST), (queue_suite):
2325 enable queue test again, add tests for the leaky behaviour
2327 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
2330 * tests/examples/Makefile.am:
2331 Compile adapter test/example only if the required headers are
2332 available (fixes #391915).
2334 2007-01-01 David Schleef <ds@schleef.org>
2337 Restore the previous signal handler for SIGSEGV instead of
2338 setting to default, since we may have stolen it away from
2339 someone. (i.e., Mono)
2341 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
2343 * docs/random/draft-missing-plugins.txt:
2344 Some small additions and clarifications.
2346 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
2348 * gst/gstregistryxml.c: (gst_registry_save_escaped):
2349 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
2350 since that can lead to random memory corruptions and crashes
2351 (may or may not be related to #383244, #386711, and #386711).
2353 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2355 * tests/check/.cvsignore:
2356 * tests/check/Makefile.am:
2357 sync .cvsignome and CLEANFILES
2359 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2361 * tests/check/Makefile.am:
2364 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2366 * docs/design/part-states.txt:
2367 two tiny additional comments
2369 * gst/gststructure.c:
2372 * tests/check/Makefile.am:
2373 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2375 disable test for now, unless it gets fixed
2377 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2379 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2381 fix race in underrun test
2383 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2385 * tests/check/elements/.cvsignore:
2388 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2390 try to narrow test failure
2392 2006-12-21 David Schleef <ds@schleef.org>
2394 * plugins/elements/gstfakesrc.c:
2395 Use g_random_int_range(), since it produces better random
2396 numbers in a range than almost-correct floating point code.
2398 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2400 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2401 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2402 (gst_check_teardown_sink_pad):
2403 do not automatically (de)activate pads
2405 * tests/check/Makefile.am:
2406 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2407 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
2408 add new, yet simple tests for queue
2410 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
2411 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
2412 * tests/check/elements/filesrc.c: (cleanup_filesrc),
2414 * tests/check/elements/identity.c: (cleanup_identity):
2415 consistent pad (de)activation
2417 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
2419 Patch by: Sebastian Dröge <slomo ubuntu com>
2421 * libs/gst/base/gstcollectpads.c:
2422 Fix two doc typos (#387866).
2424 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
2426 * docs/manual/advanced-dparams.xml:
2427 Fix typo (g_object_control_properties() doesn't exist).
2429 2006-12-19 Edward Hervey <edward@fluendo.com>
2431 * gst/gstsegment.c: (gst_segment_set_seek):
2432 Fine tune the cases where the segment start/stop values are really
2434 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2435 Add tests for the return values of gst_segment_set_seek().
2437 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
2442 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2444 Fix incorrect documentation and flesh it out a bit more.
2445 Set default values for the max properties on the GParamSpec as well,
2446 so it shows up correctly in gst-inspect.
2448 2006-12-18 Stefan Kost <ensonic@users.sf.net>
2450 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2451 Correct docs of queue, add more detail and crosslink it more.
2453 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
2455 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2456 Print additional debug info when the stream isn't perfectly
2457 timestamped; don't try to use invalid durations.
2459 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
2461 * docs/design/Makefile.am:
2462 Dist new design docs.
2464 2006-12-16 Wim Taymans <wim@fluendo.com>
2466 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2468 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
2469 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2470 (gst_collect_pads_stop), (gst_collect_pads_event),
2471 (gst_collect_pads_chain):
2472 * libs/gst/base/gstcollectpads.h:
2473 Add refcounting to the collectpads data so we can track when it's safe
2474 to free the data. Fixes #383382.
2476 2006-12-15 Wim Taymans <wim@fluendo.com>
2478 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2479 (gst_collect_pads_remove_pad):
2480 Automatically activate/deactivate pads when they are added to a
2481 started/stoped collectpads.
2483 2006-12-15 Wim Taymans <wim@fluendo.com>
2485 * gst/gstelement.c: (gst_element_add_pad):
2486 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
2487 * gst/gstpad.c: (gst_pad_init):
2488 Set pads to FLUSHING when they are created. Check, warn and fix when a
2489 demuxer adds an inactive pad to itself when running. Fixes #339326.
2491 2006-12-15 Wim Taymans <wim@fluendo.com>
2493 * gst/gstelement.c: (gst_element_class_init),
2494 (gst_element_default_send_event), (gst_element_send_event),
2495 (gst_element_default_query), (gst_element_query):
2496 Expose default element send_event and query handling as vmethods that
2497 subclasses can chain up to.
2499 2006-12-15 Wim Taymans <wim@fluendo.com>
2501 * gst/gstelement.c: (gst_element_set_state_func):
2502 Small documentation fixes.
2504 2006-12-15 Wim Taymans <wim@fluendo.com>
2506 * docs/design/draft-latency.txt:
2507 Checked in draft for handling latency in pipelines.
2509 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
2513 * gstreamer.spec.in:
2516 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
2518 * gst/gst.c: (init_pre), (init_post):
2519 init_pre() and init_post() might be called via our GOptionGroup or
2520 from gst_init(), and we should skip both of them if we've already
2521 been initialised, otherwise we will init some things twice or add
2522 two default log functions.
2524 2006-12-13 Edward Hervey <edward@fluendo.com>
2526 * docs/manual/basics-bus.xml:
2527 No, gst_main_loop does not exist. Its g_main_loop.
2528 Discovered by somebody who abused the copy-paste technique of coding :)
2530 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
2532 * gst/gstghostpad.c:
2533 Log ghostpad debug stuff to the GST_PADS category as well rather
2534 than just to the default category.
2536 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
2539 * gst/gst.c: (init_pre):
2540 Add some basic system details such as OS and architecture
2541 to the debug output if possible, courtesy of uname().
2543 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
2545 * docs/gst/running.xml:
2546 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
2547 environment variables.
2549 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
2551 * tests/check/gst/gstbin.c: (GST_START_TEST):
2552 It is acceptable to have a refcount of 2 or 3 at this point in the
2553 test, because the pipeline might be just posting its state_change
2554 message. The next line then waits for that message to appear using
2555 bus_poll, so that should be fine too.
2557 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
2559 * gst/gst.c: (ensure_current_registry_forking):
2560 Ignore EINTR when reading from the child registry pipe.
2561 Explicitly ignore the return value from close, since it makes no
2564 * gst/gstminiobject.c: (gst_mini_object_ref),
2565 (gst_mini_object_unref):
2566 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
2568 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
2569 When removing cached plugins, remove their features too, so they're
2570 not visible after they've disappeared.
2572 * gst/gstutils.c: (prepare_link_maybe_ghosting):
2573 In the unlikely case that we are linking pads with no parents, don't
2574 crash trying to get the non-existent parent bin.
2576 * gst/parse/grammar.y:
2577 Output debug in the PIPELINE category
2579 2005-03-08 Wim Taymans <wim@fluendo.com>
2581 Patch by: René Stadler <mail at renestadler dot de>
2583 * gst/gstclock.c: (gst_clock_new_periodic_id):
2584 Reject invalid clock times for interval of periodic ids.
2587 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2589 * gst/gstelementfactory.c: (gst_element_factory_create):
2590 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2591 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
2592 * tools/gst-inspect.c: (print_element_info):
2593 Fix refcounting of gst_plugin_feature_load to match the docs.
2596 2006-12-07 Wim Taymans <wim@fluendo.com>
2598 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2599 (gst_base_sink_get_position):
2600 Improve debugging of events.
2602 2006-12-07 Wim Taymans <wim@fluendo.com>
2604 Patch by: René Stadler <mail at renestadler dot de>
2606 * gst/gstclock.c: (gst_clock_id_wait):
2607 Make period ids add the interval to the origial requested time instead
2608 of the possibly updated time which can be wrong when there are multiple
2609 waiters for the same id. Fixes #382592.
2611 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
2612 (gst_system_clock_id_wait_jitter_unlocked),
2613 (gst_system_clock_id_wait_jitter):
2614 Fix restart in the async notify thread when an async entry is added to
2615 the front of the list. Fixes #381492.
2617 * tests/check/gst/gstsystemclock.c: (store_callback),
2618 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2619 Added test for multiple async waits.
2620 Added test for async wait order.
2622 2006-12-07 Wim Taymans <wim@fluendo.com>
2624 * gst/gstbin.c: (gst_bin_query):
2625 Add some more docs about the POSITION query.
2627 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2630 Bump version nano - back to CVS.
2632 === release 0.10.11 ===
2634 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
2637 releasing 0.10.11, "Love never runs on time"
2639 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
2641 * win32/common/libgstbase.def:
2642 * win32/common/libgstreamer.def:
2643 * win32/vs8/libgstbase.vcproj:
2644 * win32/vs8/libgstcoreelements.vcproj:
2645 * win32/vs8/libgstreamer.vcproj:
2646 Fix compilation on win32 under VS8
2647 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2648 Partially fixes #381175
2650 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
2652 * gst/gstvalue.c: (gst_value_compare_fraction):
2653 If someone is foolish enough to compare 2 fractions with denominator =
2654 0, return UNORDERED rather than aborting.
2656 2006-11-28 Edward Hervey <edward@fluendo.com>
2658 * libs/gst/base/Makefile.am:
2659 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2660 (gst_data_queue_base_init), (gst_data_queue_class_init),
2661 (gst_data_queue_init), (gst_data_queue_new),
2662 (gst_data_queue_cleanup), (gst_data_queue_finalize),
2663 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2664 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2665 (gst_data_queue_is_empty), (gst_data_queue_is_full),
2666 (gst_data_queue_set_flushing), (gst_data_queue_push),
2667 (gst_data_queue_pop), (gst_data_queue_drop_head),
2668 (gst_data_queue_set_property), (gst_data_queue_get_property):
2669 * libs/gst/base/gstdataqueue.h:
2670 New GstDataQueue object for threadsafe queueing. Most useful for
2671 elements that need some queueing functionnality.
2672 * docs/libs/gstreamer-libs-docs.sgml:
2673 * docs/libs/gstreamer-libs-sections.txt:
2674 Insert documentation for GstDataQueue
2675 * plugins/elements/Makefile.am:
2676 * plugins/elements/gstelements.c:
2677 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2678 (gst_multi_queue_class_init), (gst_multi_queue_init),
2679 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2680 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2681 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2682 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2683 (gst_multi_queue_loop), (gst_multi_queue_chain),
2684 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2685 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2686 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2687 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2688 (wake_up_next_non_linked), (compute_next_non_linked),
2689 (single_queue_overrun_cb), (single_queue_underrun_cb),
2690 (single_queue_check_full), (gst_single_queue_new):
2691 * plugins/elements/gstmultiqueue.h:
2692 New multiqueue element, using GstDataQueue. Used for queuing multiple
2694 Closes #344639 and #347785
2696 2006-11-22 Stefan Kost <ensonic@users.sf.net>
2698 * docs/pwg/advanced-types.xml:
2699 add more missing type details
2701 * tools/gst-run.c: (main):
2702 remove unused variable
2704 2006-11-21 Stefan Kost <ensonic@users.sf.net>
2706 * docs/libs/Makefile.am:
2707 * docs/libs/gstreamer-libs.types:
2708 add types of base classes to enable gobject specific stuff in the docs
2710 * docs/random/ensonic/embedded.txt:
2711 more ideas about isolating platform specific things
2713 2006-11-20 Wim Taymans <wim@fluendo.com>
2715 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2717 * libs/gst/check/gstcheck.h:
2718 Fix compilation and running against 0.9.4. Fixes #377332.
2720 2006-11-20 Wim Taymans <wim@fluendo.com>
2722 * gst/gstsegment.c: (gst_segment_set_seek),
2723 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2724 (gst_segment_to_running_time):
2725 Fix boundary checking in to_running_time() and to_stream_time().
2728 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2729 stream and running time can now be calculated for the complete
2732 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
2734 * gst/gstpad.c: (gst_pad_push_event):
2735 Can't access event structure after giving away ownership of
2738 2006-11-15 Stefan Kost <ensonic@users.sf.net>
2740 * docs/random/ensonic/embedded.txt:
2741 * docs/random/ensonic/profiling.txt:
2742 * docs/random/ensonic/receipies.txt:
2745 2006-11-13 Wim Taymans <wim@fluendo.com>
2747 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2750 Fix documentation for gst_pad_dispatcher. Fixes #374475.
2752 2006-11-13 Wim Taymans <wim@fluendo.com>
2754 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2756 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2757 Store new length in segment duration so we don't keep on calling the
2758 potentially expensize get_size() call. Fixes #370865.
2760 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
2762 Patch by: Sergey Scobich <sergey.scobich at gmail com>
2764 * win32/common/libgstreamer.def:
2765 Add two missing symbols (#366492).
2767 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
2769 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2770 (gst_adapter_take_buffer):
2771 Fix format string to use all its arguments.
2772 Remove useless >= check on a guint
2774 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2776 * tests/examples/adapter/.cvsignore:
2777 Ignore build file as commanded by the build-bot
2779 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2781 * tests/examples/adapter/Makefile.am:
2782 * tests/examples/adapter/adapter_test.c: (run_test_take),
2783 (run_test_take_buffer), (run_tests), (main):
2785 Add new files from the previous commit
2787 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2791 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2792 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2793 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2794 * libs/gst/base/gstadapter.h:
2795 * tests/check/libs/adapter.c: (create_and_fill_adapter),
2796 (GST_START_TEST), (gst_adapter_suite):
2797 * tests/examples/Makefile.am:
2798 Do some optimisation work in GstAdapter to avoid copies in more cases.
2799 It could still do slightly better by merging buffers when
2800 gst_buffer_is_span_fast is true, but is already faster.
2802 Also, avoid traversing a single-linked list to append each incoming
2803 buffer inside the adapter.
2805 Add simple test app that times the adapter behaviour in different
2806 situations, and extend the unit test to check that bytes enter and
2807 exit the adapter in their original order.
2809 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
2811 * docs/random/draft-missing-plugins.txt:
2812 Update: use element message instead of adding a new message
2813 type to the core; don't provide GStreamer API to initiate the
2814 plugin download, just provide API to compose the strings needed
2815 and let an external libgimmestuff handle the rest.
2817 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
2819 * tools/gst-inspect.c: (print_element_properties_info):
2820 Print a string instead of 'unknown type' for GValueArray properties
2822 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
2824 * docs/random/draft-missing-plugins.txt:
2827 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2829 * tests/examples/typefind/typefind.c: (type_found), (main):
2830 Make typefind element example work again (#371894); add a
2833 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2835 * docs/random/draft-missing-plugins.txt:
2836 Commit initial draft about how to deal with missing plugins,
2837 needs work (API too).
2839 2006-11-07 Stefan Kost <ensonic@users.sf.net>
2841 * docs/pwg/advanced-types.xml:
2842 documents the new caps elements (see #363118)
2844 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2846 * gst/gstplugin.c: (gst_plugin_load_file):
2847 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2848 (gst_file_src_map_region), (gst_file_src_start):
2849 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2850 (gst_file_index_commit):
2851 Use g_strerror() instead of strerror() - we want UTF-8.
2853 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2855 Patch by: Peter Kjellerstedt <pkj at axis com>
2857 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2858 Another printf fix (#371493).
2860 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2862 * tests/check/gst/gsttag.c:
2863 relicence (okay with author=company)
2865 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2867 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2868 (gst_pad_push_event):
2869 Enhance debug and improve docs
2874 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2876 * docs/random/ensonic/distributed.txt:
2877 * docs/random/ensonic/profiling.txt:
2880 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2882 * docs/gst/gstreamer-sections.txt:
2883 add new API and fix the build
2885 * gst/gstbin.c: (gst_bin_recalc_state):
2886 * gst/gstelement.c: (gst_element_message_full),
2887 (gst_element_get_state_func), (gst_element_set_state_func):
2888 use new API and improve logging
2890 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2892 API: add function to get StateChangereturn names to improve logs
2894 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
2896 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2897 I'm considering shooting the next person to put strerror stuff
2898 in the translateable part of the message.
2900 2006-11-03 Wim Taymans <wim@fluendo.com>
2902 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2903 Get the type and printf conversion specifiers right.
2905 2006-11-03 Wim Taymans <wim@fluendo.com>
2907 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2909 * gst/gstpad.c: (gst_pad_init), (pre_activate),
2910 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2911 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2912 Some small cleanups. Improve debugging.
2914 Signal all waiting threads with a broadcast instead of just one.
2917 2006-11-03 Wim Taymans <wim@fluendo.com>
2919 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2920 (gst_fd_src_create):
2922 Only update fd when it's different from the old.
2924 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2926 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2927 Printf fixes for PPC/OSX, take two (#369366).
2929 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2931 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
2933 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2934 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2935 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2936 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2937 don't cast to long long for portability reasons, but use
2938 GLib's types instead.
2940 2006-10-30 Michael Smith <msmith@fluendo.com>
2942 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2943 Get the arguments to lseek() the right way around.
2946 2006-10-30 Wim Taymans <wim@fluendo.com>
2948 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2951 _declspec should be __declspec (two underscores, not one). Fixes 366572.
2953 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2955 Patch by: Kjartan Maraas <kmaraas at gnome org>
2957 * docs/design/part-MT-refcounting.txt:
2958 * docs/random/wtay/capsnego2-docs:
2961 Typo fixes (#366212).
2963 2006-10-28 Wim Taymans <wim@fluendo.com>
2965 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2968 * win32/common/libgstbase.def:
2969 * win32/common/libgstreamer.def:
2970 * win32/vs8/libgstbase.vcproj:
2971 * win32/vs8/libgstcontroller.vcproj:
2972 Add needed entries in .def files.
2974 Rearrange def files in vs8 solutions. Fixes #366286.
2976 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2978 * win32/common/gstconfig.h:
2979 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2980 hand-made win32 gstconfig.h. Fixes #366321.
2982 2006-10-27 Wim Taymans <wim@fluendo.com>
2984 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2985 (gst_ghost_pad_new_full):
2986 Make acceptcaps return TRUE when we don't have a target, just like
2989 2006-10-27 Wim Taymans <wim@fluendo.com>
2991 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2992 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2994 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
2996 * gst/gststructure.c: (gst_structure_id_set_value):
2997 If someone tries to set a non-UTF8 string field on a structure,
2998 don't just print a warning, but also ignore the request and do
2999 not change/add that field to the structure.
3001 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3004 2006-10-25 David Schleef <ds@schleef.org>
3007 g_hash_table_insert() needs a cast to a non-const pointer duh.
3009 2006-10-25 David Schleef <ds@schleef.org>
3013 Change name parameter of _gst_debug_register_funcptr to const
3014 to reflect the constness of its use in the function as well
3015 as to quiet a gcc warning.
3017 2006-10-25 Edward Hervey <edward@fluendo.com>
3019 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3020 Don't push the buffer if it's empty.
3023 2006-10-24 Wim Taymans <wim@fluendo.com>
3028 * libs/gst/base/gstbasetransform.c:
3029 (gst_base_transform_sink_eventfunc):
3030 Debug segment values *after* updating them as this is more
3033 2006-10-23 Wim Taymans <wim@fluendo.com>
3035 * docs/design/part-events.txt:
3038 * docs/design/part-block.txt:
3039 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3040 (gst_pad_push_event):
3041 Revert BLOCKING patch, it tries to be smart without really having a
3042 clear idea what or how. So, now we discard all FLUSHING events again on
3043 a blocking pad. Should fix gnonlin again.
3045 2006-10-23 Wim Taymans <wim@fluendo.com>
3047 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3049 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3050 (gst_base_src_start), (gst_base_src_activate_push):
3051 Make sure size is always initialized. Fixes #364388.
3053 2006-10-20 Stefan Kost <ensonic@users.sf.net>
3055 * docs/random/ensonic/distributed.txt:
3056 add some ideas about doing distributed processing
3058 * docs/random/ensonic/profiling.txt:
3059 get_rusage look promising
3061 2006-10-18 Stefan Kost <ensonic@users.sf.net>
3063 * docs/manual/basics-helloworld.xml:
3064 Add a cast in example to fix compile warning
3066 2006-10-18 Wim Taymans <wim@fluendo.com>
3068 * gst/gstsegment.c: (gst_segment_set_last_stop),
3069 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
3070 Relax arg checking again, -1 is allowed.
3072 2006-10-18 Wim Taymans <wim@fluendo.com>
3074 * gst/gstsegment.c: (gst_segment_set_last_stop),
3075 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
3076 _set_last_stop() must be with a value != -1
3077 A _TYPE_SET to -1 means seek to 0.
3078 Calc last_stop correctly for negative rates.
3079 Make sure we work with positive durations when updating a segment.
3081 2006-10-18 Wim Taymans <wim@fluendo.com>
3083 * docs/design/part-live-source.txt:
3087 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
3090 Add an explicit cast to GstBuffer** to keep old code that added an
3091 explicit cast to GstMiniObject** for gst_mini_object_replace()
3092 compiling without warning.
3094 2006-10-18 Stefan Kost <ensonic@users.sf.net>
3096 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
3097 check for validity of dates
3099 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
3101 * docs/gst/gstreamer-sections.txt:
3102 Forgot this one, makes gtk-doc shut up.
3104 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
3106 Patch by: Peter Kjellerstedt <pkj at axis com>
3109 Don't define xmlNodePtr to gpointer if the core was built with
3110 --disable-loadsave and --disable-registry, this will break
3111 applications that want to use libxml2 but are buildling against a
3112 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
3113 instead so we don't have to mess with the libxml2 namespace
3116 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
3119 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
3120 type-punned pointer warnings.
3122 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
3125 Add casts to the correct return type to state <=> state transition
3128 2006-10-16 Stefan Kost <ensonic@users.sf.net>
3130 * docs/design/part-live-source.txt:
3131 describe howto handle latency
3133 * docs/random/ensonic/profiling.txt:
3136 * tools/gst-plot-timeline.py:
3137 fix log parsing for solaris, remove unused function
3139 2006-10-16 Wim Taymans <wim@fluendo.com>
3141 * docs/design/part-trickmodes.txt:
3143 Update some docs regarding reverse playback.
3145 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
3147 Patch by: Marcus Granado <mrc dot gran at gmail com>
3149 * win32/vs8/grammar.vcproj:
3150 Error out with a warning if glib-genmarshal.exe is not in path,
3151 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
3153 2006-10-13 Wim Taymans <wim@fluendo.com>
3155 * gst/gstsegment.c: (gst_segment_set_seek):
3156 When seeking to stop -1, set last_stop (current position) to the
3157 duration of the segment.
3159 2006-10-13 Wim Taymans <wim@fluendo.com>
3162 Clarify _NO_PREROLL a bit more.
3167 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
3168 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
3169 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
3170 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
3171 due to wrong locking order. Fixes #361769.
3172 Remove some redundant/misplaced checks in pad_block.
3174 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3175 For negative rates, count backwards from the duration.
3177 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
3179 * gst/gsterror.c: (_gst_library_errors_init):
3180 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
3181 up with something better).
3183 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
3185 * win32/vs6/libgstreamer.dsp:
3186 * win32/vs7/libgstreamer.vcproj:
3187 * win32/vs8/libgstreamer.vcproj:
3188 Don't reference glib-compat.c which is currently not used and not
3189 disted; add gstquark.c which was recently added. Fixes #361730.
3191 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
3193 * win32/common/libgstbase.def:
3194 * win32/common/libgstcontroller.def:
3195 * win32/common/libgstreamer.def:
3196 Add gst_caps_merge() and a bunch of other recently-added functions.
3199 2006-10-11 Wim Taymans <wim@fluendo.com>
3201 * docs/plugins/gstreamer-plugins.args:
3202 * docs/plugins/inspect/plugin-coreelements.xml:
3203 * docs/plugins/inspect/plugin-coreindexers.xml:
3204 Update element args.
3206 * gst/gstsystemclock.c:
3207 Small comment update.
3209 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
3210 (gst_tee_request_new_pad), (gst_tee_release_pad),
3211 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
3212 (gst_tee_sink_activate_pull):
3213 * plugins/elements/gsttee.h:
3215 Add default property defines.
3216 Implement release pad function.
3217 Give properties better blubs etc.
3218 Activate pads before adding them to a running tee.
3219 Do simple buffer_alloc on the first requested pad.
3220 Post error when activation fails.
3222 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
3224 * gst/gst.c: (ensure_current_registry_forking):
3225 Check return value of write() to make compiler happy.
3227 2006-10-11 Wim Taymans <wim@fluendo.com>
3229 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3231 * plugins/elements/gstqueue.c: (gst_queue_chain):
3232 Recheck queue filledness after signalling the overrun when we're about
3233 to leak downstream because we released the lock when emitting the signal
3234 and the queue could be empty again. Fixes #352345.
3236 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
3238 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
3239 Fix refcounting here too, just like we did for _new_valist() a few
3240 days ago (#357180) (thanks to René Stadler). Also remove all those
3241 'Since: 0.9' from the gtk-doc blobs.
3243 * tests/check/libs/controller.c: (controller_refcount_new_list),
3244 (gst_controller_suite):
3245 Unit test for the above.
3247 2006-10-10 Wim Taymans <wim@fluendo.com>
3249 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
3251 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3252 (gst_pad_save_thyself):
3254 Write pad direction in XML output. Fixes #345496.
3256 2006-10-10 Wim Taymans <wim@fluendo.com>
3258 Patch by: René Stadler <mail at renestadler dot de>
3260 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3261 (gst_controller_new_list), (_gst_controller_dispose),
3262 (_gst_controller_finalize), (_gst_controller_class_init):
3263 Take ref to controlled object so that it cannot disappear.
3266 2006-10-10 Wim Taymans <wim@fluendo.com>
3268 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3269 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3270 (gst_check_teardown_sink_pad):
3271 Activate/deactivate pads in setup/teardown respectively.
3273 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3275 Patch by: Josep Torre Valles <josep@fluendo.com>
3278 Cast values when making gstenumtypes.h. This pacifies Forte
3279 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
3282 2006-10-09 Wim Taymans <wim@fluendo.com>
3284 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
3285 Rename some more @cur to @start to fix docs.
3287 * gst/gstsegment.c: (gst_segment_set_seek):
3289 time and start must always stay in sync as defined in design doc.
3291 * gst/gsttaglist.c: (gst_tag_list_is_empty):
3292 Rename param to fix docs.
3294 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3295 Check that start and time are in sync.
3297 * tests/check/pipelines/parse-launch.c:
3298 (gst_parse_test_element_change_state):
3299 Activate pad before adding to the element.
3301 2006-10-09 Wim Taymans <wim@fluendo.com>
3303 * docs/design/part-qos.txt:
3308 Update seek event docs regarding negative rates.
3309 Rename @cur to @start.
3311 * gst/gstsegment.c: (gst_segment_set_seek):
3313 Update set_seek docs regarding negative rates.
3314 Correctly update last_stop to @stop when dealing with negative
3316 Rename @cur to @start.
3318 * tests/check/gst/gstpad.c: (GST_START_TEST):
3319 Activate pads before trying to use them.
3321 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3322 (gst_segment_suite):
3323 Add simple check for segments and negative rates.
3325 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
3327 * gst/gsttaglist.c: (gst_tag_list_is_empty):
3329 * docs/gst/gstreamer-sections.txt:
3330 API: add gst_tag_list_is_empty() (#360467).
3332 * tests/check/gst/gsttag.c: (GST_START_TEST):
3335 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3338 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
3339 a value that doesn't fit on enumeration.
3341 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3343 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3344 Remove local debugging system and use Gstreamer's instead.
3346 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3348 Patch by: Josep Torre Valles <josep@fluendo.com>
3350 * common/m4/gst-error.m4:
3351 Disable warning of statement not reached on Forte.
3353 Fix warning on Forte (value doesn't fit on enumeration).
3354 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
3355 Fix warning on Forte (value doesn't fit on enumeration).
3356 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3357 DEBUG macro says it takes minimum of 2 args and so Forte
3358 complains about the use with just 1 arg.
3359 * plugins/elements/gstfdsink.c:
3360 * plugins/elements/gstfdsrc.c:
3361 * plugins/elements/gstfilesink.c:
3362 * plugins/elements/gstfilesrc.c:
3363 Use correct return type for the uri handler implementations.
3365 All these fix warnings in Forte. Fixes bug #360860.
3367 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
3370 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
3371 format string, so don't use G_GNUC_PRINTF for those versions.
3373 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
3375 * gst/gsttaglist.c: (gst_is_tag_list):
3377 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
3379 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3380 Small test for the above.
3382 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
3385 Less tabs, more spaces.
3387 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
3390 Those two function declarations do actually belong there, revert
3391 commit from yesterday that turned them intro macros.
3393 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3395 Patch by: Josep Torre Valles <josep@fluendo.com>
3397 * gst/gst.c: (gst_init_get_option_group):
3398 Fix empty declaration and type mismatch.
3399 * gst/gstbin.c: (gst_bin_change_state_func):
3401 * gst/gstelement.c: (gst_element_continue_state),
3402 (gst_element_set_state_func), (gst_element_change_state),
3403 (gst_element_change_state_func):
3404 Fix type mismatches.
3405 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
3406 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
3407 Cast as appropriate.
3408 * gst/gstobject.c: (gst_class_signal_connect):
3409 Cast as appropriate. The function pointer parameter really
3410 has the wrong type but would break API if we change it.
3412 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
3413 order of including string.h.
3414 * gst/gstutils.c: (gst_element_state_get_name):
3415 Remove unreachable line.
3416 * gst/gstxml.c: (gst_xml_parse_doc):
3418 All these caught by Forte.
3420 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3422 Patch by: Josep Torre Valles <josep@fluendo.com>
3424 * common/m4/gst-error.m4:
3426 We need to disable warnings on Forte for empty declarations
3427 due to gst-indent adding ;s to lines that just use macros
3428 where the macro actually doesn't need a ; at end to end
3431 2006-10-06 Wim Taymans <wim@fluendo.com>
3433 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3434 (gst_file_sink_close_file), (gst_file_sink_event),
3435 (gst_file_sink_render):
3436 Add some FIXME for the NEWSEGMENT handling.
3438 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3440 * gst/parse/grammar.y:
3441 Remove static function gst_parse_element_lock as all it does
3442 is return. Looks like cruft from 0.8.
3444 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3446 Patch by: Josep Torre Valles <josep@fluendo.com>
3448 * common/m4/gst-error.m4:
3450 * libs/gst/net/Makefile.am:
3451 Fix a compilation issue with Forte on Solaris. inet_aton is in
3454 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
3456 * gst/gstpad.c: (pre_activate):
3457 * gst/gstregistry.c: (gst_registry_scan_path_level):
3458 * gst/gstregistryxml.c: (load_plugin):
3459 * libs/gst/controller/gstcontroller.c:
3460 (gst_controlled_property_set_interpolation_mode):
3461 * libs/gst/dataprotocol/dataprotocol.c:
3462 (gst_dp_packet_from_event_1_0):
3463 * libs/gst/net/gstnetclientclock.c:
3464 (gst_net_client_clock_observe_times):
3465 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3468 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
3471 * docs/gst/gstreamer-sections.txt:
3472 * gst/gstconfig.h.in:
3475 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
3476 whether we can use G_GNUC_PRINTF in other header files and at
3477 least check the printf format/arguments of debug messages and
3478 GST_ELEMENT_ERROR messages when the printf extension is not
3480 Replace more tabs with spaces in gstinfo.h and remove two spurious
3481 function declarations in GST_DISABLE_DEBUG part with macros.
3483 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
3485 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
3486 More docs for the sync-message signal (mention that it is not
3487 emitted by default); log message structures of messages posted on
3490 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
3492 * gst/gst.c: (ensure_current_registry_forking):
3493 Use a pipe pair to receive status results from the forked child, and
3494 ignore the result from waitpid. Fixes #355499
3496 2006-10-02 Wim Taymans <wim@fluendo.com>
3498 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3499 (gst_ghost_pad_suite):
3502 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
3505 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
3507 2006-10-02 Edward Hervey <edward@fluendo.com>
3509 * docs/design/part-block.txt:
3510 Further explain the use of flushing on blocked pads.
3511 * docs/gst/gstreamer-sections.txt:
3512 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3513 (gst_pad_push_event):
3515 Added new GstPadFlag : GST_PAD_BLOCKING.
3516 Adds the notion of pads really blocking, which enables to properly
3517 handle FLUSH_START/FLUSH_STOP events on blocked pads.
3519 API: gst_pad_is_blocking()
3520 API: GST_PAD_IS_BLOCKING() macro
3521 API: GST_PAD_BLOCKING GstPadFlag
3523 2006-10-02 Wim Taymans <wim@fluendo.com>
3525 Patch by: mrcgran <mrc.gran at gmail dot com>
3527 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
3528 Filter the proxied caps against the padtemplate if we have one.
3530 * gst/gstquery.c: (gst_query_new_segment):
3531 Add include for gstinfo.h so that compilation with
3532 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
3534 2006-10-02 Wim Taymans <wim@fluendo.com>
3536 Patch by: Alessandro Decina <alessandro at nnva org>
3538 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
3539 (gst_file_sink_set_location), (gst_file_sink_open_file),
3540 (gst_file_sink_close_file), (gst_file_sink_event),
3541 (gst_file_sink_render):
3542 Set file to NULL when closing filesink so that we can set a new filename
3543 in READY. Fixes #358613.
3545 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
3547 Patch by: Alessandro Decina <alessandro at nnva org>
3549 * gst/gstevent.c: (_gst_event_copy):
3550 Fix gst_mini_object_make_writable() and gst_event_copy() for events
3551 with event structures by setting the parent refcount address of the
3552 copied structure to the address of the refcount member of the newly
3553 copied event rather than the address of the refcount member of the
3554 original event. Fixes #358737.
3556 * tests/check/gst/gstevent.c: (GST_START_TEST):
3557 Unit test for the above.
3559 2006-09-29 Stefan Kost <ensonic@users.sf.net>
3561 * docs/design/Makefile.am:
3562 Dist some more files.
3564 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
3566 * tests/check/libs/controller.c: (GST_START_TEST),
3567 (gst_controller_suite):
3568 Add test for the previous fix; add some more tests
3569 for correct refcounting behaviour; fix a few leaks
3570 in test cases; call gst_controller_init() at start
3573 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
3575 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3576 (gst_controller_set_from_list):
3577 Don't g_return_val_if_fail() on timed values with invalid timestamps
3578 inside a critical section without unlocking the mutex. Spotted by
3579 René Stadler. (#357617)
3580 Also, fix up refcounting properly: when returning an existing
3581 controller, we should increase the reference only once and not
3582 once per property and when trying to control a property again
3583 we should also increase the refcount.
3585 2006-09-29 Wim Taymans <wim@fluendo.com>
3587 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3588 * libs/gst/net/gstnettimeprovider.c:
3589 (gst_net_time_provider_thread):
3590 Stop reading commands when EOF as well.
3592 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3593 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3594 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3595 Unify description of the dump property.
3597 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3599 * tests/examples/manual/.cvsignore:
3600 OK, so it's actually cvsignore that needs changing. Stop laughing.
3602 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3604 * tests/examples/manual/Makefile.am:
3605 Gah, declare vars *before* using them
3607 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3609 * gst/gst.c: (init_pre), (scan_and_update_registry),
3610 (ensure_current_registry_nonforking),
3611 (ensure_current_registry_forking), (ensure_current_registry),
3612 (init_post), (gst_debug_help), (gst_deinit):
3613 * gst/gst_private.h:
3614 * gst/gstregistry.c: (gst_registry_finalize),
3615 (gst_registry_remove_features_for_plugin_unlocked),
3616 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3617 (gst_registry_scan_path),
3618 (_priv_gst_registry_remove_cache_plugins),
3619 (_priv_gst_registry_cleanup):
3620 * gst/gstregistry.h:
3621 Re-commit the registry changes, along with an extra fix:
3622 When a cached plugin is encountered at a different file path,
3623 update the stored path in the registry cache so that the parent
3624 process knows where it actually is now when it re-reads the registry
3625 cache. Fixes the thing that broke distcheck with the previous commit.
3627 * tests/check/Makefile.am:
3628 Clean up files named 'core' too when running make clean.
3630 * tests/examples/manual/Makefile.am:
3631 Set up a registry path for running these tests, and clean it properly
3634 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3637 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3638 want gmodule-no-export-2.0.pc instead so that we don't drag in
3639 --export-dynamic on every project that links to GStreamer.
3641 Also, make our export regex only match the start of symbols, rather
3642 than any symbol that contains '_gst' somewhere.
3644 * libs/gst/check/Makefile.am:
3645 The libgstcheck we build does however need export-dynamic, as it
3646 produces some symbols that don't match our _gst... style regex.
3649 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3651 * gst/gst.c: (init_pre), (scan_and_update_registry),
3652 (ensure_current_registry_nonforking),
3653 (ensure_current_registry_forking), (ensure_current_registry),
3654 (init_post), (gst_debug_help), (gst_deinit):
3655 * gst/gst_private.h:
3656 * gst/gstregistry.c: (gst_registry_finalize),
3657 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3658 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3659 (_gst_registry_cleanup):
3660 * gst/gstregistry.h:
3661 Revert previous change until I figure out why it breaks distcheck.
3663 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3665 * gst/gst.c: (init_pre), (scan_and_update_registry),
3666 (ensure_current_registry_nonforking),
3667 (ensure_current_registry_forking), (ensure_current_registry),
3668 (init_post), (gst_debug_help), (gst_deinit):
3670 Make init_pre and init_post take the full complement of GOptionFunc
3671 args so they can return useful GErrors. Make the registry updating
3674 Call _priv_gst_registry_remove_cache_plugins after scanning files to
3675 ensure that the registry we're about to write out doesn't contain
3676 stale information about old-deleted plugin files.
3678 Make _priv_gst_registry_remove_cache_plugins return a boolean so
3679 that deletion of plugin files is considered a registry change.
3681 * gst/gst_private.h:
3682 * gst/gstregistry.c: (gst_registry_finalize),
3683 (gst_registry_remove_features_for_plugin_unlocked),
3684 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3685 (gst_registry_scan_path),
3686 (_priv_gst_registry_remove_cache_plugins),
3687 (_priv_gst_registry_cleanup):
3688 * gst/gstregistry.h:
3689 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3690 by adding _priv prefix, so that they won't appear in the global
3691 symbol table. They still do atm though because of #318031. Move the
3692 prototypes to gst_private.h
3694 When removing a plugin, remove all features for that plugin too.
3697 2006-09-27 Wim Taymans <wim@fluendo.com>
3699 * docs/random/moving-plugins:
3700 Make it clear that the "compiled-in descriptions" really mean
3701 the element details.
3703 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3704 (gst_base_sink_wait_preroll):
3707 * docs/libs/gstreamer-libs-sections.txt:
3708 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3709 (gst_base_src_get_range), (gst_base_src_activate_push):
3710 * libs/gst/base/gstbasesrc.h:
3711 Added function to block while waiting for PLAYING, this function
3712 is used by live sources that block on the clock.
3713 API: gst_base_src_wait_playing()
3715 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3717 Patch by: Peter Kjellerstedt <pkj at axis com>
3720 gst-element-check.m4 is generated and should therefore be
3721 copied from the build dir rather than the source dir (#357593).
3722 'make distcheck' hasn't noticed this because we were disting
3723 the file as well, so stop doing that.
3725 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3727 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3728 Add some tests for gst_caps_intersect().
3730 * tools/gst-launch.c: (event_loop):
3731 Print all buffering percentages we get, even the 100% one.
3733 2006-09-26 Wim Taymans <wim@fluendo.com>
3735 * tools/gst-inspect.c: (print_element_properties_info),
3736 (print_signal_info):
3737 Fix printing of flags to match the look of enums.
3739 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3741 * gst/gstelementfactory.c:
3742 Fix typo in docs blurb.
3744 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3746 * gst/gsturi.c: (search_by_entry):
3747 Don't assert/crash here if a uri handler doesn't return any
3748 supported protocols. The list of protocols could be generated
3749 dynamically at runtime or at plugin registration, and an error
3750 in the underlying library shouldn't be fatal (#353301).
3752 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3755 Fix warning if HAVE_PRINTF_EXTENSION is undefined
3756 (spotted by Peter Kjellerstedt).
3758 2006-09-23 Wim Taymans <wim@fluendo.com>
3760 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3762 * libs/gst/base/gstbasesrc.c:
3763 (gst_base_src_default_check_get_range), (gst_base_src_start),
3764 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3765 (gst_base_src_change_state):
3766 Match _start/_stop calls in the activate functions. Remove redundant
3767 _stop call from the state change function. Fixes #356910.
3768 Turn failure DEBUG into ERROR.
3770 2006-09-22 Wim Taymans <wim@fluendo.com>
3772 * docs/design/part-buffering.txt:
3773 * gst/gstmessage.c: (gst_message_new_buffering),
3774 (gst_message_parse_buffering):
3775 Update docs about buffering.
3777 * docs/design/part-trickmodes.txt:
3780 2006-09-22 Stefan Kost <ensonic@users.sf.net>
3782 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3783 (gst_controller_new_list):
3784 Ref instances when returning them again (fixes #357180)
3786 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
3788 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3789 Don't forget to release proxy lock when there's an error.
3791 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
3794 Add extra initialisers for Caps things, to fix some plugin warnings
3797 2006-09-18 Wim Taymans <wim@fluendo.com>
3799 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3800 Also set template on the internal pad so that a getcaps from the
3801 target pad returns the template caps.
3803 2006-09-18 Wim Taymans <wim@fluendo.com>
3805 * gst/gstelement.c: (gst_element_post_message),
3806 (gst_element_dispose):
3807 Use _DEBUG_OBJECT some more.
3809 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3812 * tools/gst-launch.c: (main):
3813 If the toplevel element is not a GstPipeline, it must be put in a
3814 pipeline so that a bus and clock is selected.
3816 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3818 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3819 JITTER, RATE, and LATENCY query should be handled by the
3820 default case and not by the CONVERT query code.
3822 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3824 * gst/gstformat.c: (gst_format_register):
3825 Fix locking order (must take lock before using n_values).
3827 * gst/gstvalue.c: (gst_value_serialize_enum),
3828 (gst_value_deserialize_enum_iter_cmp),
3829 (gst_value_deserialize_enum):
3830 Fix serialisation/deserialisation of custom registered GstFormats.
3832 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3833 Unit test for custom format serialisation/deserialisation.
3835 2006-09-17 Stefan Kost <ensonic@users.sf.net>
3837 * docs/pwg/building-boiler.xml:
3838 * plugins/elements/gstcapsfilter.c:
3839 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3842 2006-09-16 Edward Hervey <edward@fluendo.com>
3844 * libs/gst/base/gstbasetransform.c:
3845 (gst_base_transform_buffer_alloc):
3846 Check if requested caps are the same as the sinks caps IF
3847 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3849 This fixes the renegotiation issues stated in #352827.
3851 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3854 * docs/manual/advanced-autoplugging.xml:
3855 * tests/examples/Makefile.am:
3856 * tests/examples/manual/.cvsignore:
3857 * tests/examples/manual/Makefile.am:
3858 * tests/examples/manual/extract.pl:
3859 Extract the manual examples again like we used to do.
3862 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3864 * win32/common/config.h:
3867 2006-09-16 Stefan Kost <ensonic@users.sf.net>
3870 Documents how to receive errors.
3872 2006-09-15 Wim Taymans <wim@fluendo.com>
3874 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3875 (event_loop), (main):
3876 Added some comments here and there.
3877 Post an application message when an interrupt is caught instead of doing
3878 an uncontrolled state change.
3879 Clean up the event loop.
3880 Handle buffering messages, pause/resume the pipeline.
3881 Make shutdown because of an interrupt more reliable.
3883 2006-09-15 Wim Taymans <wim@fluendo.com>
3885 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3886 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3887 (gst_base_sink_preroll_object):
3888 Make sure that our internal state is correct when we commit our state
3889 asynchronously. This solves a race where a state change to PLAYING
3890 could cause the sink to remain blocked in preroll in some situations.
3892 2006-09-15 Wim Taymans <wim@fluendo.com>
3894 * tools/gst-inspect.c: (print_element_properties_info),
3895 (print_signal_info):
3896 List flags as hex so it's easier to deal with.
3898 2006-09-15 Wim Taymans <wim@fluendo.com>
3900 * docs/libs/gstreamer-libs-sections.txt:
3901 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3902 (gst_base_sink_do_sync):
3903 * libs/gst/base/gstbasesink.h:
3904 Expose logic to wait for preroll so that subclasses such as audiosink
3905 can also use this method.
3906 API: gst_base_sink_wait_preroll()
3908 2006-09-15 Wim Taymans <wim@fluendo.com>
3910 * gst/gstobject.c: (gst_object_set_parent):
3911 * gst/gstpipeline.c: (do_pipeline_seek):
3912 Small cleanups in docs and code.
3914 * gst/gstsegment.c: (gst_segment_clip):
3915 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3916 if stop == start and start is in the segment, no clipping should be
3917 done. Also add a test for this.
3919 2006-09-15 Wim Taymans <wim@fluendo.com>
3921 * docs/design/part-buffering.txt:
3922 * docs/gst/gstreamer-sections.txt:
3923 * gst/gstmessage.c: (gst_message_new_buffering),
3924 (gst_message_parse_buffering):
3926 Added methods to create and parse BUFFERING messages.
3927 Added preliminary docs about buffering.
3928 API: gst_message_new_buffering
3929 API: gst_message_parse_buffering
3931 2006-09-06 Wim Taymans <wim@fluendo.com>
3934 Update documentation.
3936 * gst/gstelement.c: (gst_element_class_init),
3937 (gst_element_release_request_pad), (gst_element_set_clock),
3938 (gst_element_get_index), (gst_element_add_pad),
3939 (gst_element_remove_pad), (gst_element_get_random_pad),
3940 (gst_element_send_event), (gst_element_get_query_types),
3941 (gst_element_query), (gst_element_post_message),
3942 (gst_element_message_full), (gst_element_continue_state),
3943 (gst_element_lost_state), (gst_element_save_thyself),
3944 (gst_element_restore_thyself):
3945 Documentation updates.
3946 Rename last bit of the new-pad -> pad-added signal rename.
3947 Fix the case where an element query would only work if the source
3949 Avoid some useless type checking in message handling.
3954 Documentation updates.
3956 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3958 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3959 add an INFO line for when we actually update the fd
3961 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3966 === release 0.10.10 ===
3968 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3971 releasing 0.10.10, "Pais"
3973 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
3975 * docs/manual/advanced-position.xml:
3976 Fix typo in sample code.
3978 2006-09-05 Wim Taymans <wim@fluendo.com>
3980 * libs/gst/net/gstnetclientclock.c: (inet_aton),
3981 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3982 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3983 * libs/gst/net/gstnetclientclock.h:
3984 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3985 * libs/gst/net/gstnettimepacket.h:
3986 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3987 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3988 (gst_net_time_provider_thread), (gst_net_time_provider_new):
3989 * libs/gst/net/gstnettimeprovider.h:
3990 Make stuff compile on windows. Fixes #345295.
3992 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3994 * gst/gst.c: (ensure_current_registry_forking):
3995 Print better details when child was terminated by signal.
3997 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3999 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
4000 Print a warning rather than g_assert() if a plugin feature
4001 is a URI handler but returns no protocols (#353976).
4003 2006-09-02 Stefan Kost <ensonic@users.sf.net>
4005 * docs/random/moving-plugins:
4008 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
4010 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
4011 Fix locking order, handle NULL function values properly.
4016 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
4017 Initialise variable before using it and fix debug statement to
4018 print the address of the function rather than the address of the
4019 variable on the stack holding the address of the function.
4021 2006-09-01 Wim Taymans <wim@fluendo.com>
4023 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
4024 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
4025 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
4026 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
4027 (gst_ghost_pad_parent_unset),
4028 (gst_ghost_pad_internal_do_activate_push),
4029 (gst_ghost_pad_internal_do_activate_pull),
4030 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4031 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4032 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
4033 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
4034 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
4035 (gst_ghost_pad_new_no_target_from_template),
4036 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
4038 Avoid needless typechecking in macros.
4039 Since the internal pad is always present and never changes, there is
4040 no need to locking or ref when retrieving it.
4041 Improve debugging a bit.
4042 Handle link errors when setting the target. Fixes #341029.
4044 2006-09-01 Wim Taymans <wim@fluendo.com>
4046 * docs/libs/gstreamer-libs-sections.txt:
4047 * docs/plugins/gstreamer-plugins-sections.txt:
4050 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
4051 (gst_collect_pads_event):
4052 * libs/gst/base/gstcollectpads.h:
4053 Documentation updates.
4054 Free queued buffer when removing a pad.
4056 2006-08-31 Michael Smith <msmith@fluendo.com>
4058 * gst/gstutils.c: (gst_element_link_pads),
4059 (gst_element_link_pads_filtered):
4060 Ensure that we set a capsfilter to NULL if we failed to link it
4061 when doing filtered linking, to avoid criticals.
4063 No need to check for unreffing srcpad, which is explicly NULLed
4064 above (a trivial code cleanup).
4066 2006-08-31 Wim Taymans <wim@fluendo.com>
4068 * docs/design/part-gstghostpad.txt:
4069 Update ascii art in documentation.
4071 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
4072 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
4073 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4074 (gst_ghost_pad_internal_do_activate_push),
4075 (gst_ghost_pad_internal_do_activate_pull),
4076 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4077 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4078 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
4079 (gst_ghost_pad_set_target):
4080 Small cleanups and leak fixes.
4081 Remove some checks now that the internal pad is never NULL.
4082 Fix the case where linking pads without a target would create nasty
4083 criticals. Fixes #341029.
4084 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
4085 value of _set_target().
4087 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4088 (gst_ghost_pad_suite):
4089 Some more tests for creating and linking untargeted ghostpads.
4091 2006-08-31 Edward Hervey <edward@fluendo.com>
4093 * docs/gst/gstreamer-sections.txt:
4094 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
4095 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4096 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
4097 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
4098 (gst_ghost_pad_new_from_template),
4099 (gst_ghost_pad_new_no_target_from_template):
4100 * gst/gstghostpad.h:
4101 Refactored *_new() functions.
4102 Templates are now used as a g_object_new() parameter.
4103 Use template in _do_getcaps() if we don't have a target.
4104 Small documentation cleanups.
4105 Added two new constructors:
4106 gst_ghost_pad_new_from_template()
4107 gst_ghost_pad_new_no_target_from_template()
4108 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4109 (gst_ghost_pad_suite):
4110 Added tests for new ghostpad instanciation functions.
4112 API additions: gst_ghost_pad_new_from_template,
4113 gst_ghost_pad_new_no_target_from_template
4115 2006-08-30 Stefan Kost <ensonic@users.sf.net>
4117 * docs/random/ensonic/profiling.txt:
4118 Ideas about qos profiling.
4120 2006-08-29 Wim Taymans <wim@fluendo.com>
4122 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
4126 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
4129 Improve and detypofy docs.
4131 * tests/check/Makefile.am:
4132 * tests/check/gst/.cvsignore:
4133 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
4134 Add a basic test suite for GstXML.
4136 2006-08-29 Wim Taymans <wim@fluendo.com>
4138 * gst/gstelement.c: (activate_pads), (clear_caps),
4139 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4140 Clear the pad caps when the element shut down all of the pads and
4141 is not streaming data that could modify the caps.
4144 2006-08-28 Michael Smith <msmith@fluendo.com>
4146 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4147 Revert previous change; I misunderstood single-segment mode.
4149 2006-08-28 Michael Smith <msmith@fluendo.com>
4151 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4152 Unset DISCONT on buffers when using single-segment mode.
4154 2006-08-28 Wim Taymans <wim@fluendo.com>
4156 * gst/gstcaps.c: (gst_caps_merge_structure):
4158 Fix docs and indentation again.
4160 * tests/check/gst/gstquery.c: (GST_START_TEST):
4161 Fix leak in tests and add some more tests.
4163 2006-08-28 Edward Hervey <edward@fluendo.com>
4165 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4166 Inform GstSegment of the last stop position in order for the current
4167 segment to have a proper duration if it doesn't have a specific stop
4168 position from which a duration could be calculated.
4169 This bug was noticeable when a non-flushing, non-update new segment was
4170 followed by another segment (all buffers from the new segment were being
4173 2006-08-28 Wim Taymans <wim@fluendo.com>
4175 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
4176 Small comment update.
4178 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4179 (gst_identity_transform_ip):
4180 Drop-probability is broken, mention this in the code with a
4181 FIXME and also in the property description.
4182 Make silent also be silent about the drop messages.
4184 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
4186 * docs/manual/appendix-win32.xml:
4187 Remove mention of popt, we don't depend on that any
4188 longer (#353136). Add some comments pointing out that
4189 this section is slightly outdated.
4191 2006-08-28 Wim Taymans <wim@fluendo.com>
4193 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4195 * gst/gstquery.c: (gst_query_new_segment):
4196 * tests/check/gst/gstquery.c: (GST_START_TEST):
4197 Initialize variables when creating a new segment query.
4200 2006-08-28 Wim Taymans <wim@fluendo.com>
4202 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4204 * gst/gstelement.c: (gst_element_get_bus):
4205 * tests/check/gst/gstelement.c: (GST_START_TEST):
4206 Check for NULL before _reffing the bus. Fixes #353122.
4208 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
4210 * docs/manual/basics-bus.xml:
4211 Docs update: fix wrong callback return value explanation; add
4212 some lines about the implicit relationship between main loop
4213 and main context; remove duplicate main loop variable declaration.
4215 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
4217 * tests/check/gst/gstcaps.c: (GST_START_TEST):
4218 Don't leak caps in unit test; add a few more simple
4221 2006-08-24 Stefan Kost <ensonic@users.sf.net>
4223 * docs/gst/gstreamer-sections.txt:
4224 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
4225 (gst_caps_structure_is_subset), (gst_caps_merge),
4226 (gst_caps_merge_structure):
4228 * libs/gst/base/gstbasetransform.c:
4229 (gst_base_transform_transform_caps):
4230 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4231 implement caps merging (fixes #352580)
4233 2006-08-23 Stefan Kost <ensonic@users.sf.net>
4235 * tools/Makefile.am:
4236 * tools/gst-plot-timeline.py:
4237 add debug-log plotting developer tool (#340674)
4239 2006-08-23 Wim Taymans <wim@fluendo.com>
4241 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
4242 (gst_pad_stop_task):
4243 Improve debugging for task functions.
4245 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
4246 (gst_task_start), (gst_task_pause), (gst_task_join):
4247 Make sure that the task function started and finished after a
4249 Don't try to push the task function on the threadpool multiple
4251 Improve the g_warning message with some useful suggestions
4252 about how to fix the problem.
4254 2006-08-23 Wim Taymans <wim@fluendo.com>
4256 * gst/gstutils.c: (gst_pad_proxy_getcaps):
4257 Handle RESYNC correctly in _proxy_getcaps.
4259 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
4261 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
4262 (gst_xml_parse_memory), (gst_xml_get_element):
4263 Chain up to parent class in dispose function and also
4264 unref the elements in the toplevel_elements GList.
4265 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
4266 Always return a reference in gst_xml_get_element() rather
4267 than only sometimes.
4269 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
4270 Don't leak GstXml object.
4272 2006-08-21 Stefan Kost <ensonic@users.sf.net>
4274 * docs/gst/gstreamer-sections.txt:
4275 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
4278 * libs/gst/base/gstbasetransform.c:
4279 (gst_base_transform_transform_caps):
4280 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
4283 2006-08-21 Edward Hervey <edward@fluendo.com>
4285 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
4286 Implement GObject::dispose virtual method in GstXML so we can free the
4289 2006-08-21 Wim Taymans <wim@fluendo.com>
4291 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
4292 (gst_buffer_create_sub):
4293 Copy duration/offset_end/caps when creating a subbuffer of the
4295 Make the subbuffer read-only when we make the metadata writable for
4298 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4299 Added check for metadata copy when creating subbuffers.
4301 2006-08-21 Edward Hervey <edward@fluendo.com>
4303 * libs/gst/base/gstbasetransform.c:
4304 (gst_base_transform_buffer_alloc):
4305 Only call downstream buffer_alloc if transform element is passthrough
4306 or always_in_place. Closes #350449.
4308 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4311 ChangeLog surgery to add comments to previous changes
4313 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4318 * gst/gstpad.c: (gst_pad_set_active):
4319 Be more verbose in the log
4321 * libs/gst/base/gstbasetransform.c:
4322 (gst_base_transform_transform_caps):
4323 Simplify caps to get rid of duplicates, fixes #345444
4325 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4329 Use these optimizations only internally.
4331 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4333 * gst/gstvalue.c: (gst_value_compare_list),
4334 (gst_value_compare_fraction_range),
4335 (gst_value_intersect_fraction_fraction_range),
4336 (gst_value_intersect_fraction_range_fraction_range),
4337 (gst_value_subtract_fraction_fraction_range),
4338 (gst_value_subtract_fraction_range_fraction_range),
4339 (gst_value_get_compare_func), (gst_value_compare),
4340 (gst_value_compare_with_func):
4342 Saves the expensive lookup of the compare function in many cases
4345 2006-08-18 Edward Hervey <edward@fluendo.com>
4347 * tests/check/gst/gstinfo.c: (gst_info_suite):
4348 Disable test that require gstdebug if it wasn't built in core.
4350 2006-08-18 Stefan Kost <ensonic@users.sf.net>
4352 * docs/random/ensonic/logging.txt:
4355 * gst/gstinfo.c: (gst_debug_log_default):
4356 reorder fields, save some columns, add optional color codes for log
4359 2006-08-18 Stefan Kost <ensonic@users.sf.net>
4361 * docs/random/ensonic/logging.txt:
4362 add ideas about making the logs a bit more useful
4364 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
4366 * docs/pwg/advanced-events.xml:
4367 * docs/pwg/titlepage.xml:
4368 Update for 0.10 API (#340627). Add myself
4371 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
4373 * docs/libs/gstreamer-libs-docs.sgml:
4374 * docs/libs/gstreamer-libs-sections.txt:
4375 * libs/gst/check/gstbufferstraw.c:
4376 Make gstcheck stuff show up in docs (still needs to
4377 be documented properly though).
4379 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
4381 * docs/gst/gstreamer-sections.txt:
4383 * gst/gst.c: (init_post):
4384 * gst/gst_private.h:
4385 * gst/gstquark.c: (_priv_gst_quarks_initialize):
4387 * gst/gstquery.c: (gst_query_new_position),
4388 (gst_query_set_position), (gst_query_parse_position),
4389 (gst_query_new_duration), (gst_query_set_duration),
4390 (gst_query_parse_duration), (gst_query_new_convert),
4391 (gst_query_set_convert), (gst_query_parse_convert),
4392 (gst_query_new_segment), (gst_query_set_segment),
4393 (gst_query_parse_segment), (gst_query_new_seeking),
4394 (gst_query_set_seeking), (gst_query_parse_seeking):
4395 Add internal helpers for pre-registering quarks from static strings
4396 and using the quark values directly instead of looking them up when
4397 creating and parsing queries. Can be used for event construction too.
4400 2006-08-16 Wim Taymans <wim@fluendo.com>
4405 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4407 * gst/gstutils.c: (gst_util_set_value_from_string):
4408 Fix memleak (#351502).
4410 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4411 Add unit test for most of gst_util_set_value_from_string()
4412 (not that one would want to encourage use of this function).
4414 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4416 * libs/gst/check/gstcheck.h:
4417 Use const gchar * variables in fail_unless_equals_string
4418 macro to avoid compiler warnings (and don't use tabs for
4421 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4423 * tools/gst-launch.c: (print_tag):
4424 More space on the left for the tag names, to cater
4425 for the 'extended comment' tag (not touching the
4426 string for the first line since it's translated).
4428 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4430 * libs/gst/check/gstcheck.h:
4431 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
4432 print something when they fail.
4434 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4436 * docs/gst/gstreamer-sections.txt:
4437 * gst/gsttaglist.c: (_gst_tag_initialize):
4439 API: add GST_TAG_EXTENDED_COMMENT (#350935).
4440 Also change merge function for GST_TAG_COMMENT to
4443 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4445 * gst/gstinfo.c: (gst_debug_print_object):
4446 Make GST_PTR_FORMAT print messages as well.
4448 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
4449 (GST_START_TEST), (gst_info_suite):
4452 2006-08-14 Edward Hervey <edward@fluendo.com>
4454 * gst/gstelementfactory.c: (gst_element_register):
4455 If the GstElementClass doesn't have a GstElementDetails with all fields
4456 filled up correctly (longname, description AND author), then error out
4457 nicely instead of crashing.
4459 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4461 * gst/gststructure.c:
4462 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
4465 Expand on the difference between arrays and lists as we use them.
4467 2006-08-14 Wim Taymans <wim@fluendo.com>
4469 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4470 If the parent state change function failed, don't assume we can safely
4471 stop the source, this will be done when the pads are deactivated.
4473 2006-08-14 Wim Taymans <wim@fluendo.com>
4476 * gst/gsttask.c: (gst_task_join):
4479 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4480 (gst_pad_stop_task):
4481 When pad (de)activation failed for some reason, restore the old
4482 activation mode and set the pad to flushing instead of assuming the
4484 If the _task_join() failed, reinstall the task on the pad so that it can
4485 be stopped later and return an error.
4487 2006-08-11 Andy Wingo <wingo@pobox.com>
4490 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4491 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
4492 is only for users of API that don't want to see deprecated
4493 functions in the headers; people that want to compile out
4494 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
4495 CFLAGS. Fixes the build of multifdsink, or will soon..
4497 2006-08-11 Wim Taymans <wim@fluendo.com>
4499 * docs/gst/gstreamer-sections.txt:
4500 Add GstClockClass vmethod docs.
4503 Mark #endif with comment for associated #if
4505 * gst/gstclock.c: (gst_clock_id_wait):
4507 Add vmethod wait_jitter to avoid an unneeded _get_time() for
4508 most clock implementations.
4510 Flesh out docs about resolution methods.
4511 API: GstClockClass::wait_jitter
4513 * gst/gstsystemclock.c: (gst_system_clock_class_init),
4514 (gst_system_clock_async_thread),
4515 (gst_system_clock_id_wait_jitter_unlocked),
4516 (gst_system_clock_id_wait_jitter):
4517 Use base class wait_jitter variant for improved performance
4518 due to less clock polling.
4520 2006-08-11 Edward Hervey <edward@fluendo.com>
4522 * gst/gst.c: (gst_init_check), (init_post):
4523 Set gst as being initialized before scanning/updating the registry,
4524 since there might be my python plugin loader that calls gst_init() and
4525 we don't want to loop back in.
4528 2006-08-11 Wim Taymans <wim@fluendo.com>
4530 * docs/design/part-qos.txt:
4531 Bring docs in line with the code. Mostly the sign of the jitter was
4532 wrong in the docs. Fixes #349943.
4535 Fix the docs for the jitter.
4537 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
4538 (gst_event_parse_tag), (gst_event_new_buffer_size),
4539 (gst_event_parse_buffer_size), (gst_event_parse_qos),
4540 (gst_event_new_seek), (gst_event_parse_seek),
4541 (gst_event_new_navigation):
4542 Make sure the GstStructure has no parent when creating custom
4544 Add some more argument checking so that we avoid 0.0 rates.
4545 Flesh out the docs for the QoS event some more.
4547 2006-08-11 Wim Taymans <wim@fluendo.com>
4549 * docs/gst/gstreamer-sections.txt:
4550 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4551 (ensure_current_registry_forking), (ensure_current_registry),
4552 (parse_one_option), (parse_goption_arg), (gst_deinit),
4553 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
4556 Added API and command line option to disable registry forking in
4557 addition to the environment variable.
4558 Constify some static arrays.
4559 Added some more debug.
4561 API: gst_registry_fork_is_enabled()
4562 API: gst_registry_fork_set_enabled()
4563 API: --gst-disable-registry-fork command line option
4566 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
4568 * gst/gst.c: (gst_init):
4569 Fix typo in error message.
4571 2006-08-10 Stefan Kost <ensonic@users.sf.net>
4573 * libs/gst/controller/gstcontroller.h:
4574 fix ABI size-correction
4576 * tests/check/libs/gdp.c: (gst_dp_suite):
4577 make tests that use deprecated API conditional
4579 2006-08-10 Stefan Kost <ensonic@users.sf.net>
4581 * docs/libs/gstreamer-libs-sections.txt:
4582 * libs/gst/controller/gstcontroller.c:
4583 (_gst_controller_get_property), (_gst_controller_set_property),
4584 (_gst_controller_init), (_gst_controller_class_init):
4585 * libs/gst/controller/gstcontroller.h:
4586 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
4587 (gst_object_set_control_rate):
4588 API: add gst_object_{s,g}et_control_rate(), add private data section,
4591 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4592 * libs/gst/dataprotocol/dataprotocol.h:
4593 add deprecation guards to make gtk-doc happy and allow disabling cruft
4595 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
4597 * tests/check/Makefile.am:
4598 * tests/check/gst/.cvsignore:
4599 Let's enable the new unit test as well.
4601 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
4604 * docs/gst/gstreamer-sections.txt:
4605 * gst/gstconfig.h.in:
4606 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
4607 (_gst_info_printf_extension_ptr),
4608 (_gst_info_printf_extension_segment):
4609 API: add GST_SEGMENT_FORMAT, which is a printf extension we
4610 register that lets us easily dump GstSegments into debug
4613 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
4614 (info_segment_format_printf_extension), (gst_info_suite):
4615 Add simple unit test that logs a bunch of different segments (not
4616 valgrinded at the moment because of leaks in
4617 gst_debug_add_log_function).
4619 2006-08-09 Edward Hervey <edward@fluendo.com>
4621 * libs/gst/base/gstbasetransform.c:
4622 (gst_base_transform_buffer_alloc):
4623 Even if we can't figure out the proper format to request downstream,
4624 call buffer_alloc() downstream with the input parameters without setting
4625 the caps on the srcpad. This will force negotiation in the chain
4629 2006-08-08 Edward Hervey <edward@fluendo.com>
4631 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4632 Unlinking from a pad without a target is now a perfectly valid case
4633 which should NOT raise an assertion.
4634 This case would happen if a linked ghostpad its target set to NULL after
4635 it was previously linked.
4637 2006-08-08 Edward Hervey <edward@fluendo.com>
4639 * tests/check/libs/gdp.c:
4640 Also comment out the test (see below).
4642 2006-08-08 Edward Hervey <edward@fluendo.com>
4644 * tests/check/libs/gdp.c: (gst_dp_suite):
4645 Use the architecture information from config.h and not gcc macros
4646 in order to properly disable a test that fails on PPC64.
4648 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
4650 * gst/gstelement.c: (gst_element_remove_pad):
4651 Don't crash printing the warning if the pad has no parent.
4653 2006-08-02 Wim Taymans <wim@fluendo.com>
4655 * libs/gst/dataprotocol/dataprotocol.c:
4656 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4657 (gst_dp_crc), (gst_dp_header_payload_length),
4658 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4659 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4660 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4661 (gst_dp_event_from_packet), (gst_dp_validate_header),
4662 (gst_dp_validate_payload):
4663 Make debug category static
4664 Constify the crc table.
4665 Do some more arg checking in public functions.
4666 Fix some docs and do some small cleanups.
4668 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4669 Add some more checks to see if GDP deals with bogus input.
4671 2006-07-31 Wim Taymans <wim@fluendo.com>
4673 * gst/gstvalue.c: (gst_value_compare_list):
4674 Fix GstValueList comparison code. Fixes #347293.
4676 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4677 Check to test GstValueList comparison.
4679 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4681 * gst/gstelementfactory.c: (gst_element_factory_create):
4682 Remove unnecessary ref/unref pair
4684 * gst/parse/grammar.y:
4685 Make sure to free the parse buffer on all code paths.
4686 Move a g_free up to the error handler where it's easier to see.
4688 * tests/check/gst/gstevent.c: (test_event):
4689 Extending timeout for downstream travelling events to 10 seconds to
4690 hopefully avoid intermittent failure on the buildbots.
4692 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4693 Don't manually set the state of the src element - it will happen as a
4694 natural consequence of the pipeline changing state, and that way it
4695 will do it in the right order too.
4697 2006-07-31 Wim Taymans <wim@fluendo.com>
4699 * libs/gst/base/gstbasetransform.c:
4700 (gst_base_transform_buffer_alloc):
4701 Use OBJECT_LOCK and refcounting to get the pad caps in the
4702 buffer_alloc function because the caps could change while we are
4703 busy with them. Fixes #349105
4705 2006-07-31 Wim Taymans <wim@fluendo.com>
4707 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4708 Protect _PAD_CAPS with OBJECT_LOCK.
4710 2006-07-31 Wim Taymans <wim@fluendo.com>
4712 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4713 (gst_pad_get_property), (gst_pad_activate_pull),
4714 (gst_pad_activate_push), (gst_pad_set_blocked_async),
4715 (gst_pad_set_activate_function),
4716 (gst_pad_set_activatepull_function),
4717 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4718 (gst_pad_set_getrange_function),
4719 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4720 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4721 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4722 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4723 (gst_pad_set_acceptcaps_function),
4724 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4725 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4726 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4727 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4728 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4729 (gst_pad_configure_sink), (gst_pad_configure_src),
4730 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4731 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4732 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4733 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4734 (gst_pad_send_event):
4735 Use _DEBUG_OBJECT when it makes sense.
4736 Protect GST_PAD_CAPS with the OBJECT_LOCK.
4737 Small cleanups and code reflows.
4738 Avoid caps refcounting in _accept_caps.
4739 Refactor alloc_buffer so that the code performed on the peer is in a
4740 separate function. Also if the pad does not implement a buffer alloc
4741 function, we should still check if the pad is flushing before falling
4742 back to the default allocator.
4744 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4746 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4747 Make all uses of identity and fakesink have silent=true to avoid
4748 serialising every passing data structure, which is breaking tests
4749 on FC4 for some unknown reason.
4751 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4753 * gst/parse/Makefile.am:
4754 * gst/parse/grammar.y:
4755 * gst/parse/parse.l:
4756 Reverted previous patch as it required to bump the flex dependency to
4757 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4759 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4761 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4763 * gst/parse/Makefile.am:
4764 * gst/parse/grammar.y:
4765 * gst/parse/parse.l:
4766 push & pop the state of the lexer for reentrant use case
4769 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
4771 * libs/gst/base/gstbasesrc.h:
4772 Note in the docs that the ::newsegment vfunc is not actually used by
4775 2006-07-28 Wim Taymans <wim@fluendo.com>
4777 * libs/gst/base/gstcollectpads.c:
4778 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4779 (gst_collect_pads_clear), (gst_collect_pads_flush),
4780 (gst_collect_pads_event), (gst_collect_pads_chain):
4781 When flushing a pad, also clear the queued buffer so that we don't
4782 accidentally use it when we shouldn't.
4783 Fix leaks by inreffing incomming buffer.
4784 Flush out queued buffers in case of errors.
4787 2006-07-28 Wim Taymans <wim@fluendo.com>
4789 * docs/random/phonon-gst:
4790 Random notes about a Phonon backend.
4792 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4794 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4796 * tests/check/libs/gdp.c: (gst_dp_suite):
4797 Take a whack at fixing the ppc compile using a different define to
4798 disable the broken test.
4800 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4801 Remove excess g_print()
4803 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4805 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4806 Oops, meant to uncomment this line too to dampen the noise a bit.
4808 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4810 * gst/parse/grammar.y:
4811 * gst/parse/parse.l:
4812 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4813 (GST_START_TEST), (parse_suite):
4814 Fix some of the leaks exposed by extending the parse-launch testsuite,
4815 and move the 3 I can't figure out into a separate test that won't run
4816 the pipelines unless the appropriate line is uncommented.
4818 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4820 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4821 Requesting 0 bytes before the end of the file should result in
4822 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4825 2006-07-27 Wim Taymans <wim@fluendo.com>
4827 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4828 Fix useless assert, a uint is always positive.
4830 * gst/gststructure.c: (gst_structure_nth_field_name),
4831 (gst_structure_foreach), (gst_structure_map_in_place):
4832 Check input arguments for public functions to avoid obvious crashes.
4834 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4835 * plugins/elements/gstfakesink.h:
4836 Do less useless typechecking.
4838 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4840 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4841 Do not use mmap() by default since there are a number of error
4842 conditions that we would like to handle in a non-fatal way that
4843 will result in a SIGBUS if we use mmap(). Examples: external
4844 devices (USB harddrive, portable music player) being unplugged
4845 while in use; file on mounted CD/DVD that can't be read because
4846 the medium is partly damaged. Fixes #348455 and #348475.
4848 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4851 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4854 2006-07-26 Stefan Kost <ensonic@users.sf.net>
4856 * gst/gstregistry.c:
4857 Move big documentation comment into class section header, so that it
4858 appears in the API docs.
4860 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4862 * docs/gst/gstreamer-sections.txt:
4863 Oops. Commit the docs additions too for new API.
4864 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4866 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4868 * gst/gststructure.c: (gst_structure_id_set),
4869 (gst_structure_id_set_valist):
4870 * gst/gststructure.h:
4871 Add API for setting values into structures without performing
4872 a quark lookup, if the appropriate quark is already known.
4874 API: gst_structure_id_set
4875 API: gst_structure_id_set_valist
4877 * gst/parse/grammar.y:
4878 * gst/parse/parse.l:
4879 Remove some dead code shown by the coverage information.
4880 Don't throw a critical g_warning when encountering a syntax error,
4881 just warn and let the normal error path handle it.
4883 * plugins/elements/gstelements.c:
4884 Bump the rank of filesink up to PRIMARY so that it is preferred over
4885 gnomevfssink for file:// sink uri's
4887 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4888 (GST_START_TEST), (run_delayed_test),
4889 (gst_parse_test_element_base_init),
4890 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4891 (gst_parse_test_element_change_state),
4892 (gst_register_parse_element), (parse_suite):
4893 Beef up the tests for parse syntax to check that more error cases
4894 fail as they are supposed to. Increases the test coverage a bit.
4896 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
4898 * docs/manual/basics-elements.xml:
4899 Fix gst_element_link() example.
4902 Mention in API docs that one should usually gst_bin_add()
4903 elements to a bin or pipeline before doing the linking.
4905 2006-07-26 Wim Taymans <wim@fluendo.com>
4907 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4908 (gst_subbuffer_get_type), (gst_buffer_create_sub):
4909 Avoid function call for known types by keeping the buffer and
4910 subbuffer GType global.
4912 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4913 Random silly optimisations in read() path.
4915 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4917 * tools/gst-launch.c: (main):
4918 If the top-level of the parse is a normal bin, it doesn't do the
4919 right logic to run as a top-level element, so place it inside a
4922 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
4924 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4925 Remove superfluous g_object_notify() calls, GObject does
4926 that for us automatically.
4928 2006-07-25 Stefan Kost <ensonic@users.sf.net>
4931 on Win32, use dllspec to export the debug category symbols
4933 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
4935 * gst/gsttaglist.c: (_gst_tag_initialize):
4936 Allow more than one GST_TAG_IMAGE per taglist.
4938 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
4940 * gst/gstminiobject.c:
4942 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4943 (gst_fd_src_create):
4944 log recurring events at LOG level
4945 add more debug for when the fd gets set
4947 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4949 * gst/gstparse.c: (gst_parse_launch):
4950 Also remove reentrance checks if flex is MT safe (#348179)
4951 Fix my empty ChangeLog entry below
4953 2006-07-21 Andy Wingo <wingo@pobox.com>
4955 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4957 * libs/gst/check/Makefile.am
4958 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4959 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
4960 * libs/gst/check/gstbufferstraw.h:
4961 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4962 functions, thus proving I am still a GStreamer haxor. OK I wrote
4963 them a long time ago, but anyways.
4965 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4968 * gst/gstparse.c: (gst_parse_launch):
4969 Check for flex version and omit mutex if we have a MT save flex
4972 2006-07-21 Wim Taymans <wim@fluendo.com>
4974 * gst/gstparse.c: (gst_parse_launch):
4975 Protect recursive calls to _parse with a recursive mutex
4978 2006-07-21 Wim Taymans <wim@fluendo.com>
4980 * tests/check/gst/gstpad.c: (GST_START_TEST):
4983 2006-07-20 Stefan Kost <ensonic@users.sf.net>
4985 * gst/gstparse.c: (gst_parse_launch):
4986 Do not hang on recursive usage of gst_parse_launch()
4988 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4991 Add some more docs, comments and FIXME 0.11s here and there
4992 and also fix some typos.
4994 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4997 Convert tabs to spaces for better readability.
4999 2006-07-20 Edward Hervey <edward@fluendo.com>
5001 * tests/check/libs/gdp.c: (gst_dp_suite):
5002 the test_buffer test fails at line 140 on ppc64 at the following
5004 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
5005 GST_BUFFER_FLAG_IN_CAPS),
5006 "GST_BUFFER_IN_CAPS flag should have been copied !");
5007 See bug #348114 for more details.
5009 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
5011 * docs/pwg/advanced-scheduling.xml:
5013 Fix typos (#348000).
5015 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
5017 * docs/pwg/intro-basics.xml:
5018 Fix wrong links (#347927).
5020 2006-07-18 Stefan Kost <ensonic@users.sf.net>
5022 * gst/gstregistry.h:
5023 * gst/gstregistryxml.c: (load_feature),
5024 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
5025 * win32/common/config.h:
5026 make --disable-index work (#342564)
5028 2006-07-18 Wim Taymans <wim@fluendo.com>
5030 Patch by: Peter Kjellerstedt <pkj at axis dot com>
5034 The attached patch adds two missing defines to gsttrace.h when tracing
5035 is disabled. It also corrects one existing define.
5038 2006-07-17 Wim Taymans <wim@fluendo.com>
5040 * docs/gst/gstreamer-sections.txt:
5041 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
5043 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
5044 Add two functions to check and change the SIGSEGV behaviour
5045 when loading plugins.
5046 Don't mess with the SIGSEGV handler when we were told not to.
5048 API: gst_segtrap_is_enabled
5049 API: gst_segtrap_set_enabled
5051 2006-07-14 Wim Taymans <wim@fluendo.com>
5053 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5054 * tests/check/elements/filesrc.c: (GST_START_TEST):
5055 Revert fix for regression in #347408 after release.
5057 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
5059 Patch by: Antoine Tremblay <hexa00 at gmail com>
5061 * gst/gstutils.c: (gst_element_unlink):
5062 Free iterator when done (#347311).
5064 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5065 And add a test case for this.
5067 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
5070 Bump nano back to CVS
5072 === release 0.10.9 ===
5074 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5077 releasing 0.10.9, "On the road again"
5079 2006-07-13 Wim Taymans <wim@fluendo.com>
5081 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5082 * tests/check/elements/filesrc.c: (GST_START_TEST):
5083 Revert pull-0 fix for release. Disable check. Fixes #347408.
5085 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5087 * libs/gst/dataprotocol/dataprotocol.c:
5088 (gst_dp_event_from_packet_1_0):
5089 Fixes #347337: failure to deserialize event packets with
5090 empty payload (only event type)
5092 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5095 do not install a .c file in the header directory
5097 2006-07-13 Edward Hervey <edward@fluendo.com>
5099 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5100 GhostPad no longer implicitely use the padtemplates of the targets.
5103 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
5105 * gst/gstvalue.c: (gst_value_compare_list),
5106 (gst_value_compare_array), (_gst_value_initialize):
5107 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5108 Make GstValueArray comparison be order dependent as designed.
5109 Add checks for value lists and value array comparisons.
5112 2006-07-11 Edward Hervey <edward@fluendo.com>
5114 * gst/gstbin.c: (activate_pads),
5115 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
5116 (gst_bin_change_state_func):
5117 (de)activate src pads before calling state_change on the childs.
5118 This is to avoid the case where a src ghostpad is blocked (holding the
5119 stream lock), which would block the deactivation of the ghostpad's
5121 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
5122 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
5123 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
5124 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5125 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5126 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5127 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5128 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
5129 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
5130 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5131 (gst_ghost_pad_class_init),
5132 (gst_ghost_pad_internal_do_activate_push),
5133 (gst_ghost_pad_internal_do_activate_pull),
5134 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5135 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5136 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
5137 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
5138 GhostPads now create their internal GstProxyPad at creation (and not
5139 when they're linked, as it was being done previously).
5140 The internal and target pads are linked straight away.
5141 The data will also travel through the other pad in order to make
5142 pad blocking and probes non-hackish (the probe/block now really happens
5143 on the GhostPad and not on the target).
5144 * gst/gstpad.c: (gst_pad_set_blocked_async),
5145 (gst_pad_link_prepare), (gst_pad_push_event):
5146 Remove previous ghostpad cruft.
5147 * gst/gstutils.c: (gst_pad_add_data_probe),
5148 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5149 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5150 (gst_pad_remove_buffer_probe):
5151 Remove previous ghost pad cruft.
5152 Added more detailed debug statements.
5153 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5154 Fix the testsuite for refcounting changes.
5155 The comments about who has references were correct, but the refcount
5156 being checked wasn't the same (!?!).
5160 2006-07-10 Stefan Kost <ensonic@users.sf.net>
5162 * docs/gst/gstreamer-sections.txt:
5163 * gst/gstconfig.h.in:
5164 More docs for configuration options, add docs to gtk-doc.
5166 2006-07-10 Stefan Kost <ensonic@users.sf.net>
5169 * gst/gstconfig.h.in:
5170 * win32/common/config.h:
5171 Fix build when disabling tracing (fixes #344016). Also start to document
5172 the defines that disable the sub-systems.
5174 2006-07-10 Edward Hervey <edward@fluendo.com>
5176 * gst/gst.c: (ensure_current_registry_forking):
5177 let's make valgrind happy...
5179 2006-07-09 Wim Taymans <wim@fluendo.com>
5181 * gst/gstelement.c: (activate_pads),
5182 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5183 Better pad activation code: Reset the collect value too on resync.
5186 2006-07-09 Wim Taymans <wim@fluendo.com>
5188 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
5189 (gst_pad_activate_push):
5190 Use some more macros where it makes sense.
5191 Allow pad mode switching instead of asserting. When a pad
5192 is activated in one mode and we activate it in another,
5193 deactivate it first before activating it in a different mode.
5196 2006-07-08 Andy Wingo <wingo@pobox.com>
5198 * tools/gst-launch.c (main): Handle err == NULL.
5200 * gst/gst.c (init_post, ensure_current_registry)
5201 (ensure_current_registry_forking)
5202 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
5203 factoring out the registry scanning into separate functions. Don't
5204 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
5205 Better environment var name/interface suggestions accepted.
5207 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5209 * gst/gstobject.c: (gst_object_set_name_default),
5210 (gst_object_set_name):
5211 Random micro-optimisation: don't use a hash table
5212 with strings as keys and the usual strdup/strcmp
5213 involved, but rather just use the GQuark of the
5214 type name as key, since it needs to be looked up
5215 anyway to get the type name string.
5217 * tests/check/gst/gstobject.c: (GST_START_TEST):
5220 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5222 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
5223 (gst_bin_iterate_all_by_interface):
5224 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
5225 GTypes are gulongs and thus the top 4 bytes might be cut
5226 off on some platforms when doing GPOINTER_TO_INT, leading
5227 to invalid GTypes and bad things happening (see RH bug #179654).
5228 Also add a check to make sure the type passed in is really
5231 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5236 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5240 * gst-element-check.m4:
5241 * gst-element-check.m4.in:
5242 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
5243 instead of the unversioned gst-inspect (#324176, #168659).
5245 2006-07-06 Wim Taymans <wim@fluendo.com>
5248 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
5251 2006-07-06 Wim Taymans <wim@fluendo.com>
5253 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5254 (gst_base_src_wait), (gst_base_src_update_length),
5255 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
5256 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
5257 (gst_base_src_loop), (gst_base_src_start),
5258 (gst_base_src_activate_pull):
5260 blocksize == 0 now means the default blocksize when working in push
5262 Remove some pointless asserts in _wait function.
5263 Fix offset/length calculations and EOS handling. We can now pull 0
5264 bytes as well, which is allowed.
5265 use _check_get_range() to decide if we can operate in _pull based
5267 Fix refcounting leak when check_get_range function was not
5269 API GstBaseSrc::blocksize range can be 0 too now (default)
5271 * tests/check/elements/filesrc.c: (GST_START_TEST),
5273 Added check to test _get_range() behaviour.
5275 2006-07-06 Wim Taymans <wim@fluendo.com>
5277 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5278 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
5279 (gst_pad_pull_range):
5281 Lots of comments and docs added to the pad functions.
5282 Flesh out the expected behaviour of the get_range() functions.
5284 2006-07-06 Wim Taymans <wim@fluendo.com>
5289 * gst/gstiterator.h:
5293 Remove comma at end of enumerator list.
5295 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
5297 * win32/common/libgstbase.def:
5298 * win32/common/libgstdataprotocol.def:
5299 * win32/common/libsgtreamer.def:
5300 Add new exported functions.
5302 2006-07-05 Wim Taymans <wim@fluendo.com>
5304 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
5305 Add some more docs here and there.
5307 2006-07-05 Wim Taymans <wim@fluendo.com>
5309 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
5310 (gst_base_sink_loop), (gst_base_sink_get_position):
5311 When operating in pull mode update the offset so that we
5314 2006-07-05 Wim Taymans <wim@fluendo.com>
5316 * gst/gstregistryxml.c: (read_string):
5317 Avoid strdup. (will happen in libxml, but hey!)
5322 2006-07-05 Wim Taymans <wim@fluendo.com>
5324 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
5325 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
5327 No point in checking if the size of the subbuffer > 0, the
5328 code handles it correclty as demonstrated by unit test.
5329 Also add a unit test for the zero sized _new_and_alloc and
5330 _copy. Fixes #346663.
5332 2006-07-05 Wim Taymans <wim@fluendo.com>
5334 * libs/gst/base/gstbasetransform.c:
5335 (gst_base_transform_prepare_output_buffer),
5336 (gst_base_transform_buffer_alloc),
5337 (gst_base_transform_handle_buffer):
5338 Make sure the buffer we pass to transform_ip has a refcount of
5339 1 and thus is writable. Fixes #343196
5341 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
5343 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5344 (gst_file_src_init), (gst_file_src_set_property),
5345 (gst_file_src_get_property), (gst_file_src_map_region):
5346 * plugins/elements/gstfilesrc.h:
5347 Add "sequential" property, off by default, to use madvise and hint
5348 to the kernel that sequential access is desired.
5349 Touch all retrieved pages by default to ensure they are pulled
5350 into memory. (Closes #345720)
5352 2006-07-03 Wim Taymans <wim@fluendo.com>
5354 * docs/design/part-block.txt:
5355 * docs/design/part-dynamic.txt:
5358 2006-07-03 Wim Taymans <wim@fluendo.com>
5360 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
5361 (gst_caps_unref), (gst_static_caps_get),
5362 (gst_caps_append_structure):
5363 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
5364 Use GSlice when the glib we build against is >= 2.10
5366 2006-07-03 Wim Taymans <wim@fluendo.com>
5368 * gst/gstelement.c: (gst_element_pads_activate):
5369 Small cleanup in pad activation code.
5371 2006-07-03 Wim Taymans <wim@fluendo.com>
5373 Patch by: Peter Kjellerstedt <pkj at axis dot com>
5375 * gst/gst-i18n-app.h:
5376 * gst/gst-i18n-lib.h:
5377 * tools/gst-inspect.c: (print_signal_info):
5378 The attached patch will make the inclusion of gettext.h unconditional in
5379 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
5380 libintl.h in tools/gst-inspect.c.
5381 This allows use of --disable-nls again and fixes #344642.
5383 2006-07-03 Edward Hervey <edward@fluendo.com>
5385 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
5386 Implement pad blocking on events according to part-block.txt.
5387 More comments on behaviour.
5388 * tests/check/gst/gstevent.c: (test_event):
5389 Send event to peer pad of blocked pad (else it will block).
5391 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5393 * libs/gst/check/gstcheck.c: (gst_check_message_error),
5394 (gst_check_run_suite):
5395 if we get the wrong message, give us the types as string
5396 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5398 * tests/check/elements/filesrc.c: (GST_START_TEST):
5399 add a test for trying to open a non-existing file
5401 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5403 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5404 add a test for adding self
5406 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5408 * libs/gst/check/gstcheck.h:
5409 add some assert_ as alias for fail_unless_*
5410 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
5411 increase test coverage
5413 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5416 include lcov.mak for lcov coverage generation
5417 * tools/Makefile.am:
5420 2006-07-02 Edward Hervey <edward@fluendo.com>
5422 * tests/check/elements/.cvsignore:
5425 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5428 don't set CFLAGS and friends for gcov, done from GST_GCOV now
5429 * tests/check/Makefile.am:
5432 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5434 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
5435 remove gst_caps_simplify; it was not declared and not used
5436 and deprecated in 0.8
5438 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5440 * docs/faq/gst-uninstalled:
5441 don't put empty paths on PYTHONPATH
5442 * docs/gst/gstreamer-sections.txt:
5443 remove some symbols that are not there
5445 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5447 * gst/gstcaps.c: (gst_caps_compare_structures):
5449 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5450 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5453 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5455 * libs/gst/dataprotocol/Makefile.am:
5456 build dataprotocol test by linking to the lib, instead of
5457 compiling the source, so we get coverage
5458 * tests/check/Makefile.am:
5459 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
5460 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
5461 add a test for filesrc
5463 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5465 * tests/check/gst/gststructure.c: (GST_START_TEST),
5466 (gst_structure_suite):
5467 Push coverage from 59.04% to 70.00%
5469 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5471 * tests/check/Makefile.am:
5472 gst-inspect every element; this makes sure that we also get
5473 coverage on element's get/set functions
5475 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5478 set CFLAGS and friends to -O0 if gcov is being used
5481 * libs/gst/base/Makefile.am:
5482 * libs/gst/check/Makefile.am:
5483 * libs/gst/controller/Makefile.am:
5484 * libs/gst/dataprotocol/Makefile.am:
5485 * libs/gst/net/Makefile.am:
5486 * plugins/elements/Makefile.am:
5487 * plugins/indexers/Makefile.am:
5488 add makefile rules to generate gcov data and clean up
5489 * tests/check/Makefile.am:
5490 add a coverage target that generates an html overview
5493 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5495 * tests/check/elements/fakesink.c:
5496 * tests/check/elements/fakesrc.c:
5497 * tests/check/elements/fdsrc.c:
5498 * tests/check/elements/identity.c:
5499 * tests/check/generic/sinks.c: (gst_sinks_suite):
5500 * tests/check/generic/states.c:
5501 * tests/check/gst/gst.c:
5502 * tests/check/gst/gstabi.c:
5503 * tests/check/gst/gstbin.c:
5504 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
5505 * tests/check/gst/gstbus.c: (gst_bus_suite):
5506 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5507 * tests/check/gst/gstelement.c:
5508 * tests/check/gst/gstevent.c: (gst_event_suite):
5509 * tests/check/gst/gstghostpad.c:
5510 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
5511 * tests/check/gst/gstmessage.c: (gst_message_suite):
5512 * tests/check/gst/gstminiobject.c:
5513 * tests/check/gst/gstobject.c:
5514 * tests/check/gst/gstpad.c:
5515 * tests/check/gst/gstpipeline.c:
5516 * tests/check/gst/gstplugin.c:
5517 * tests/check/gst/gstquery.c: (gst_query_suite):
5518 * tests/check/gst/gstsegment.c: (gst_segment_suite):
5519 * tests/check/gst/gststructure.c:
5520 * tests/check/gst/gstsystemclock.c:
5521 * tests/check/gst/gsttag.c:
5522 * tests/check/gst/gsttask.c: (gst_task_suite):
5523 * tests/check/gst/gstutils.c:
5524 * tests/check/gst/gstvalue.c:
5525 * tests/check/libs/adapter.c:
5526 * tests/check/libs/basesrc.c:
5527 * tests/check/libs/collectpads.c:
5528 * tests/check/libs/controller.c:
5529 * tests/check/libs/gdp.c: (gst_dp_suite):
5530 * tests/check/libs/gstnetclientclock.c:
5531 * tests/check/libs/gstnettimeprovider.c:
5532 * tests/check/libs/libsabi.c: (libsabi_suite):
5533 * tests/check/libs/typefindhelper.c:
5534 * tests/check/pipelines/cleanup.c:
5535 * tests/check/pipelines/parse-launch.c:
5536 * tests/check/pipelines/simple-launch-lines.c:
5537 * tests/check/pipelines/stress.c: (stress_suite):
5540 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5542 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
5543 * libs/gst/check/gstcheck.h:
5544 create a macro and function so that the simple unit test
5545 case can be just one macro to create main()
5547 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
5549 * gst/gstbin.c: (gst_bin_restore_thyself):
5550 * gst/gstxml.c: (gst_xml_make_element):
5551 Fix deserialisation from XML. Set parent manually
5552 instead of using gst_bin_add(), since gst_bin_add()
5553 will unlink all pads of the element being added.
5556 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
5558 Patch by: Peter Kjellerstedt <pkj at axis com>
5560 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
5561 Fix missing g_strdup() and double free when using the
5562 --gst-plugin-load command line option (#346097).
5564 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
5567 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
5569 * libs/gst/net/gstnetclientclock.c:
5570 * libs/gst/net/gstnettimeprovider.c:
5571 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
5573 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
5575 * docs/manual/advanced-dataaccess.xml:
5576 Fix buffer probe example compilation in
5579 2006-06-22 Edward Hervey <edward@fluendo.com>
5581 * gst/gstelement.c: (gst_element_pads_activate):
5582 We need to deactivate src pads first and then sink pads.
5583 The reason is the src pads might be blocking while holding the streaming
5584 lock, so we need to deactivate them first so that deactivating the sink
5585 pads doesn't block (since it will require the streaming lock).
5587 2006-06-22 Wim Taymans <wim@fluendo.com>
5589 * libs/gst/base/gstbasetransform.c:
5590 (gst_base_transform_buffer_alloc):
5591 Forgot to remove two unneeded unrefs.
5592 Simplify a check _is_equal allready checks the obvious case.
5594 2006-06-22 Wim Taymans <wim@fluendo.com>
5596 * docs/design/part-block.txt:
5597 Some docs about what pad_block should do.
5599 2006-06-22 Wim Taymans <wim@fluendo.com>
5601 * gst/gstcaps.c: (gst_caps_replace):
5602 Fix crasher when passed NULL. Doc clarification.
5603 Optimize for the trivial case.
5605 * gst/gstpipeline.c: (gst_pipeline_change_state):
5608 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5609 Small documentation cleanup.
5611 * libs/gst/base/gstbasetransform.c:
5612 (gst_base_transform_buffer_alloc):
5613 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
5614 is what we need and it avoids a whole lot of redundant
5615 refcount operations.
5617 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
5619 Patch by: Philip Jägenstedt <philip at lysator liu se>
5621 * docs/manual/advanced-dataaccess.xml:
5622 Fix 'Embedding static elements' section to use
5623 GST_PLUGIN_DEFINE_STATIC (#345607).
5625 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5627 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5628 Attempt to 'fix' spuriously failing test case: it seems like the
5629 timeout of half a second is simply too small when the system is under
5630 load otherwise, and the timeout doesn't really seem to serve any
5631 particular purpose here. Give the pipeline a few seconds to preroll
5632 first, and then give it another half a second to go from PAUSED to
5633 PLAYING and marshal the message into the main thread.
5635 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5637 * tools/gst-feedback-m.m:
5638 Don't only use unversioned tools, try versioned tools as well
5641 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5643 * gst/gstbus.c: (gst_bus_class_init):
5644 Fix some typos, make docs more explicit.
5646 2006-06-20 Wim Taymans <wim@fluendo.com>
5648 * tests/check/gst/gstghostpad.c: (block_callback),
5649 (GST_START_TEST), (gst_ghost_pad_suite):
5650 Added some more ghostpad tests, mainly blocking
5653 2006-06-16 Wim Taymans <wim@fluendo.com>
5655 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5656 (gst_file_sink_close_file), (gst_file_sink_do_seek),
5657 (gst_file_sink_event), (gst_file_sink_render):
5658 * plugins/elements/gstfilesink.h:
5659 Check if we can seek in the file instead of assuming
5660 we always can. Post an error when we are asked to seek in a
5661 non-seekable file (like a fifo). Fixes #343312.
5664 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5666 * tools/gst-launch.1.in:
5667 Un-garble (fourcc) bit in filtered caps section.
5669 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5671 * docs/manual/advanced-autoplugging.xml:
5672 * docs/manual/basics-helloworld.xml:
5673 * docs/manual/highlevel-components.xml:
5674 Don't leak bus reference in sample code.
5676 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
5679 Add default for new --enable-plugin-docs switch.
5682 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5686 Use new ENABLE_PLUGIN_DOCS conditional.
5688 2006-06-14 Wim Taymans <wim@fluendo.com>
5690 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5691 Make it clear with a FIXME and a real define what the #if 0
5692 previously disabled.
5694 2006-06-14 Wim Taymans <wim@fluendo.com>
5696 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5697 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5698 * libs/gst/base/gstbasetransform.c:
5699 (gst_base_transform_sink_eventfunc):
5700 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5701 Don't randomly and silently reset a segment when the format
5702 changes as this is a bug somewhere upstream. Fixes #330379.
5704 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
5706 Patch by: Wouter Paesen <wouter at kangaroot net>
5708 * libs/gst/controller/gstcontroller.c:
5709 (gst_controlled_property_new):
5710 Fix controlling of float properties (#344849).
5712 * tests/check/libs/controller.c:
5713 (gst_test_mono_source_get_property),
5714 (gst_test_mono_source_set_property),
5715 (gst_test_mono_source_class_init), (GST_START_TEST):
5716 While we're at it, add some float stuff to unit test.
5718 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5721 * docs/images/gdp-header.svg:
5723 * docs/libs/Makefile.am:
5724 * docs/libs/gdp-header.png:
5725 * libs/gst/dataprotocol/dataprotocol.c:
5726 add it to the API docs
5727 * docs/manual/intro-motivation.xml:
5730 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5732 * gst/gst.c: (scan_and_update_registry), (init_post):
5733 If the fork()'ed child process can't write the updated registry cache
5734 file to disk for some reason, make it exit with a failure exit code,
5735 so that the parent can then re-scan the plugins itself and update the
5736 registry structures in memory and work with that (rather than failing
5737 when creating elements because seemingly no plugins are available).
5738 Refactor registry scanning code into separate function for this and
5739 also separate fork() and non-fork() code paths. Fixes #344748.
5741 2006-06-13 Wim Taymans <wim@fluendo.com>
5743 * docs/manual/advanced-dataaccess.xml:
5744 Fix wrong PluginDesc. Fixes #344755.
5746 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5748 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5749 Fix silly bug that prevented us from creating
5750 ~/.gstreamer-0.10 and writing the registry in one
5751 go (the first call to g_mkstemp() would overwrite the
5752 placeholder in the template string, so the second call
5753 to g_mkstemp() after creating the missing directory
5754 would then error out with 'invalid argument').
5756 2006-06-13 Edward Hervey <edward@fluendo.com>
5758 * gst/gst.c: (init_post):
5761 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5763 * gst/glib-compat-private.h:
5764 * gst/glib-compat.c:
5765 * gst/glib-compat.h:
5766 * gst/gstvalue.c: (gst_value_serialize_flags):
5767 remove GLib 2.6 compatibility code
5769 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
5771 * gst/parse/Makefile.am:
5772 Fix build with 'make -j N' even more (#340016).
5774 2006-06-12 Wim Taymans <wim@fluendo.com>
5776 * docs/gst/gstreamer-sections.txt:
5779 2006-06-12 Wim Taymans <wim@fluendo.com>
5781 * gst/gstsegment.c: (gst_segment_set_duration),
5782 (gst_segment_set_last_stop), (gst_segment_set_seek),
5783 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5784 (gst_segment_to_running_time), (gst_segment_clip):
5785 Use G_UNLIKELY to help the compiler a bit.
5787 2006-06-12 Wim Taymans <wim@fluendo.com>
5789 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5791 * gst/gstevent.c: (gst_event_get_type):
5793 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5795 constify quark registration strings. Fixes #344115
5796 Avoid unneeded type checking is _pad_push() by internally
5797 calling gst_pad_chain_unchecked().
5799 2006-06-12 Wim Taymans <wim@fluendo.com>
5801 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5802 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5803 (gst_subbuffer_finalize), (gst_buffer_create_sub),
5804 (gst_buffer_is_span_fast), (gst_buffer_span):
5805 Init _type for consistency.
5806 Use _FLAGS macro to avoid type check.
5807 Avoid unneeded type checks in subbufer code.
5809 2006-06-12 Wim Taymans <wim@fluendo.com>
5811 * gst/gst.c: (gst_debug_help):
5812 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5813 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5814 (gst_plugin_feature_list_free):
5815 * gst/gstregistry.c: (gst_registry_add_plugin),
5816 (gst_registry_add_feature), (gst_registry_plugin_filter),
5817 (gst_registry_feature_filter), (gst_registry_find_plugin),
5818 (gst_registry_find_feature), (gst_registry_get_plugin_list),
5819 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5820 * gst/gstregistryxml.c: (load_feature),
5821 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5822 * gst/gstminiobject.c: (gst_mini_object_unref),
5823 (gst_mini_object_replace), (gst_value_mini_object_free),
5824 (gst_value_mini_object_copy):
5825 Use _CAST macros to avoid unneeded type checking.
5826 Added some more G_UNLIKELY.
5828 2006-06-12 Wim Taymans <wim@fluendo.com>
5831 Avoid unneeded type checking.
5832 API: GST_BUFFER_IS_DISCONT
5834 * gst/gstminiobject.h:
5835 Avoid type check in flag accessor.
5837 * gst/gstelementfactory.h:
5839 * gst/gstpluginfeature.h:
5841 API: GST_ELEMENT_FACTORY_CAST
5842 API: GST_PLUGIN_CAST
5843 API: GST_PLUGIN_FEATURE_CAST
5845 2006-06-12 Wim Taymans <wim@fluendo.com>
5847 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5849 Add G_UNLIKELY in type registration.
5850 Avoid type check in _ref/_unref since that is also
5853 2006-06-12 Wim Taymans <wim@fluendo.com>
5855 * gst/gsterror.c: (gst_g_error_get_type):
5856 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5857 (gst_static_pad_template_get_type):
5858 * gst/gsttaglist.c: (gst_tag_list_get_type):
5859 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5860 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5861 * gst/gsturi.c: (gst_uri_handler_get_type):
5862 * gst/gstvalue.c: (gst_date_get_type):
5863 * gst/gstxml.c: (gst_xml_get_type):
5864 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5865 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5866 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5867 Add G_UNLIKELY in type registration.
5869 2006-06-12 Wim Taymans <wim@fluendo.com>
5871 * tools/gst-inspect.c: (print_signal_info):
5872 Properly print enum values.
5874 2006-06-12 Wim Taymans <wim@fluendo.com>
5876 * gst/gstinfo.c: (gst_debug_set_active),
5877 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5879 Add some G_[UN]LIKELY.
5880 Maintain __gst_debug_min to avoid formatting the arguments of
5881 debug messages that will be dropped anyway to avoid a lot of
5882 overhead from the debugging system.
5884 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5888 add missing files containing translatable strings, tell intltool about
5891 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5893 * tests/check/libs/.cvsignore:
5894 add test-binary to ignore list
5896 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5898 * docs/libs/gstreamer-libs-docs.sgml:
5899 reorder (put dp into a chapter) and indent
5901 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5906 === release 0.10.8 ===
5908 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5911 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5913 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5915 * gst/gst.c: (init_post):
5916 move pid declaration to declaration block
5918 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5920 * gst/gst.c: (init_post):
5921 use _exit() instead of exit() in our forked child; this ensures
5922 that none of the registered exit handlers from whatever is using
5923 GStreamer get executed. This fixes gnome-mixer-applet failing
5924 to load, because ORBit would shut down.
5925 Spotted by: Edward Hervey <edward@fluendo.com>
5926 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
5929 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5934 === release 0.10.7 ===
5936 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5939 releasing 0.10.7, "Soepeke, ik zie ou"
5941 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
5964 * win32/common/config.h:
5967 2006-06-07 Wim Taymans <wim@fluendo.com>
5969 * gst/gstindex.c: (gst_index_gtype_resolver):
5970 * tools/gst-xmlinspect.c: (print_plugin_info):
5971 Fix leak spotted by coverity checker. Fixes #343827
5972 Fix another other leak found by paolo borelli.
5974 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5976 * libs/gst/dataprotocol/dataprotocol.c:
5977 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5978 (gst_dp_version_get_type), (gst_dp_init),
5979 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5980 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5981 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5982 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5983 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5984 (gst_dp_packetizer_free):
5985 * libs/gst/dataprotocol/dataprotocol.h:
5986 API: add a GstDPPacketizer object, and create/free functions
5987 API: add GstDPVersion enum
5988 Add 1.0 event function that uses the string serialization
5989 Serialize more useful buffer flags
5992 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5994 * tests/check/Makefile.am:
5995 * tests/check/gst/gstabi.c:
5996 * tests/check/gst/struct_ppc64.h:
5997 * tests/check/libs/libsabi.c:
5998 * tests/check/libs/struct_ppc64.h:
5999 add ppc64 structure sizes
6001 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6003 * tests/check/Makefile.am:
6004 * tests/check/gst/gstabi.c:
6005 * tests/check/gst/struct_x86_64.h:
6006 * tests/check/libs/libsabi.c:
6007 * tests/check/libs/struct_x86_64.h:
6008 generate and add structure size lists for x86_64
6010 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
6012 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6013 * libs/gst/check/gstcheck.h:
6014 factor out the method from tests that checks size of structures,
6015 and add code to generate the header containing these sizes
6016 * tests/check/gst/gstabi.c: (GST_START_TEST):
6017 * tests/check/gst/struct_i386.h:
6018 * tests/check/libs/libsabi.c: (GST_START_TEST):
6019 * tests/check/libs/struct_i386.h:
6022 2006-06-06 Michael Smith <msmith@fluendo.com>
6025 Don't use c++-style comments, fixes #343929
6027 2006-06-05 Edward Hervey <edward@fluendo.com>
6030 plugin_paths is not used if we build without registry support.
6032 * gst/gstsegment.c: (gst_segment_copy):
6033 _copy() was always returning NULL...
6035 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6037 * libs/gst/dataprotocol/dataprotocol.c:
6038 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6039 (gst_dp_packet_from_event):
6042 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6044 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
6045 make sure we unset caps
6047 2006-06-02 Michael Smith <msmith@fluendo.com>
6049 * libs/gst/check/gstcheck.c: (gst_check_init),
6050 (gst_check_chain_func):
6051 * libs/gst/check/gstcheck.h:
6052 Add a cond/mutex to the check support lib, signal this whenever we
6053 add to the buffers list. This will allow tests to not busy-wait on
6056 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6058 * libs/gst/dataprotocol/dataprotocol.c:
6059 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
6060 (gst_dp_packet_from_event):
6061 factor out some common header init code
6063 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
6065 * docs/libs/gstreamer-libs-sections.txt:
6066 * docs/libs/tmpl/gstdataprotocol.sgml:
6067 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
6068 * libs/gst/dataprotocol/dataprotocol.h:
6069 API: make gst_dp_crc() public
6071 2006-06-01 Stefan Kost <ensonic@users.sf.net>
6073 * plugins/indexers/gstindexers.c: (plugin_init):
6074 conditionally register fileindexer (fixes #343598)
6076 2006-06-01 Stefan Kost <ensonic@users.sf.net>
6078 * gst/gsttagsetter.h:
6079 Can't cast ifaces to a class
6081 * libs/gst/net/gstnetclientclock.h:
6082 * libs/gst/net/gstnettimeprovider.h:
6083 * plugins/elements/gstfakesink.h:
6084 * plugins/elements/gstfakesrc.h:
6085 * plugins/elements/gstfdsink.h:
6086 * plugins/elements/gstfdsrc.h:
6087 * plugins/elements/gstfilesink.h:
6088 * plugins/elements/gstfilesrc.h:
6089 * plugins/elements/gstidentity.h:
6090 * plugins/elements/gstqueue.h:
6091 * plugins/elements/gsttee.h:
6092 * plugins/indexers/gstfileindex.c:
6093 * plugins/indexers/gstmemindex.c:
6094 * tests/old/examples/plugins/example.h:
6095 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
6097 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
6099 * libs/gst/dataprotocol/dataprotocol.c:
6100 (gst_dp_header_from_buffer):
6101 make sure we zero the whole ABI-compatible area
6103 2006-06-01 Wim Taymans <wim@fluendo.com>
6105 Patch by: Alessandro Decina <alessandro at nnva dot org>
6107 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
6108 Make sure the EOS flag is cleared from pads after a flush
6109 or stop. Fixes #343538.
6111 * tests/check/libs/collectpads.c: (GST_START_TEST),
6112 (gst_collect_pads_suite):
6113 Added test for collectpads reusage after EOS.
6115 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
6118 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
6119 * win32/common/libgstbase.def:
6120 export gst_collect_pads_set_flushing
6121 * win32/common/libgstreamer.def:
6122 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
6123 gst_value_fraction_multiply
6124 * win32/vs6/gst_inspect.dsp:
6125 add a link to intl.lib
6127 2006-05-30 Wim Taymans <wim@fluendo.com>
6129 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6130 (gst_collect_pads_chain):
6131 Handle the case where a pad is removed from the collection
6132 that could cause the other pads to become collectable.
6134 2006-05-30 Wim Taymans <wim@fluendo.com>
6137 Clarify the use of _release_request_pad() and
6138 _get_request_pad() a bit better.
6140 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
6141 (gst_adapter_take_buffer):
6142 Fix some doc and comment typos.
6144 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6146 * docs/gst/gstreamer-sections.txt:
6147 * docs/libs/gstreamer-libs-sections.txt:
6148 add declared symbols
6150 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
6152 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6153 Add debug that can be enabled using a #define at the top of the file,
6154 for dumping stats about how late/early we were when waking up from
6155 waiting on the clock.
6157 2006-05-30 Wim Taymans <wim@fluendo.com>
6159 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
6160 When rebuilding the pad list, don't leak the previous list.
6162 2006-05-30 Wim Taymans <wim@fluendo.com>
6164 Patch by: Lutz Mueller <lutz at topfrose dot de>
6166 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6167 (gst_base_src_get_query_types), (gst_base_src_update_length):
6168 Publish supported query types.
6169 Update last_stop field in get_range mode so the position
6170 query works. Fixes #342321.
6172 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
6174 * docs/gst/gstreamer-sections.txt:
6175 * gst/gsttaglist.c: (_gst_tag_initialize):
6177 API: add GST_TAG_PREVIEW_IMAGE (#343341).
6179 2006-05-30 Wim Taymans <wim@fluendo.com>
6181 Patch by: Alessandro Decina <alessandro at nnva dot org>
6183 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6184 Unlock mutex when removing an unknown pad.
6187 * tests/check/Makefile.am:
6188 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
6189 (push_event), (setup), (teardown), (GST_START_TEST),
6190 (gst_collect_pads_suite), (main):
6191 Added collecpads check, disabled for now as check crashes for
6194 2006-05-29 Wim Taymans <wim@fluendo.com>
6196 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
6197 Don't leak pads lists.
6199 2006-05-29 Wim Taymans <wim@fluendo.com>
6201 * docs/libs/gstreamer-libs-sections.txt:
6202 * libs/gst/base/gstcollectpads.c:
6203 (gst_collect_pads_set_flushing_unlocked),
6204 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6205 (gst_collect_pads_stop):
6206 * libs/gst/base/gstcollectpads.h:
6207 API: gst_collect_pads_set_flushing()
6208 Added api to set the pads to flushing, useful for seeking
6209 code in elements using collectpads.
6210 Clear segment when receiving a flush.
6212 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
6214 * gst/gst.c: (add_path_func), (init_post):
6215 Don't scan registry paths passed via --gst-plugin-path immediately
6216 (will crash, because absolutely nothing is set up and no types are
6217 registered etc.); do this later in init_post(). Fixes #343057.
6219 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
6221 * gst/gst.c: (init_post):
6222 if we have fork, fork while reading/rebuilding the registry
6223 so the parent doesn't take the hit of having all plugins loaded
6224 in memory. Fixes #342777.
6226 Check if we have fork()
6227 * win32/common/config.h.in:
6230 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
6232 * plugins/elements/gstelements.c:
6233 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6234 (gst_file_src_init), (gst_file_src_set_property),
6235 (gst_file_src_get_property), (gst_file_src_start):
6236 * plugins/elements/gstfilesrc.h:
6237 API: GstFileSrc::use-mmap
6239 Add a use-mmap property to enable easier testing of all code paths.
6240 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
6241 in the absence of gnomevfssrc. (Closes #340501)
6243 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6245 * tools/gst-inspect.c:
6246 Add missing include, removes warning of ngettext not being defined on
6249 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
6251 * gst/gstvalue.c: (gst_value_deserialize_fraction):
6252 Handle NULL input and output pointers silently as a failed conversion,
6253 rather than g_warnings.
6255 2006-05-25 Wim Taymans <wim@fluendo.com>
6257 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
6258 Initialize variable before using. Fixes #342820.
6260 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
6262 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
6263 Fix off-by-one bug that would only allow peeks of N-1 bytes
6264 from the start even if the buffer to typefind on contains
6265 in fact N bytes of data (makes vorbis typefinding from a
6266 vorbis identification header buffer work).
6268 * tests/check/Makefile.am:
6269 * tests/check/libs/.cvsignore:
6270 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
6271 (gst_typefindhelper_suite), (main), (foobar_typefind),
6273 Add very basic unit test for gst_type_find_helper_for_buffer()
6274 that checks for the problem fixed above.
6276 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
6278 * tools/gst-inspect.c: (print_interfaces),
6279 (print_element_properties_info), (print_element_list), (main):
6280 add more translatable strings
6282 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
6284 Patch by: Julien Moutte <julien at moutte net>
6286 * docs/gst/gstreamer-sections.txt:
6287 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
6289 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6290 (gst_fake_sink_preroll):
6291 * plugins/elements/gstfakesink.h:
6292 API: Add new GstFakeSink::preroll-handoff signal (#337100).
6294 2006-05-23 Wim Taymans <wim@fluendo.com>
6296 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
6298 Added _CUSTOM error and success GstFlowReturn that can be
6299 used be elements internally.
6300 Added macro to check for SUCCESS flowreturns.
6301 API: GST_FLOW_CUSTOM_SUCCESS
6302 API: GST_FLOW_CUSTOM_ERROR
6303 API: GST_FLOW_IS_SUCCESS
6305 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6306 Added check for GstFlowReturn sanity.
6308 2006-05-23 Wim Taymans <wim@fluendo.com>
6310 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6312 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6313 (gst_collect_pads_event):
6314 clear/reset segment info in FLUSH_STOP.
6317 2006-05-22 Stefan Kost <ensonic@users.sf.net>
6319 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
6320 (gst_collect_pads_check_collected):
6321 Flush queued buffer on _stop(), fixes playing again (#342454)
6323 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
6325 * tests/check/gst/gststructure.c: (GST_START_TEST),
6326 (gst_structure_suite):
6327 add a test for a complete structure
6329 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
6331 * docs/faq/developing.xml:
6333 * docs/faq/troubleshooting.xml:
6334 * docs/faq/using.xml:
6335 Some minor FAQ updates that won't change the fact that
6336 our FAQ is badly structured, full of information hardly
6337 anyone new to GStreamer needs to know and lacking lots
6338 of information people constantly ask for.
6340 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
6342 * gst/gstpad.c: (gst_pad_set_caps):
6343 Short-circuit gst_pad_set_caps if setting the existing
6344 caps pointer again, and avoid printing debug and
6345 reffing/unreffing the caps.
6347 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6348 There's actually no need to set the caps before pushing -
6349 the acceptcaps method will handle it anyway.
6351 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
6353 * docs/gst/gstreamer-sections.txt:
6354 * win32/common/libgstreamer.def:
6355 * gst/gstutils.c: (gst_element_seek_simple):
6357 API: add gst_element_seek_simple() (#342238).
6359 2006-05-18 Edward Hervey <edward@fluendo.com>
6361 * gst/gsttypefind.c: (gst_type_find_get_type):
6362 * gst/gsttypefind.h:
6363 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
6364 registered for GstTypeFind pointers. This allows wrapping the structure
6365 in bindings (i.e. gst-python).
6367 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
6369 * gst/gsttagsetter.c:
6370 Docs additions and fixes (see #339918).
6372 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
6374 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6375 The caps intersection algorithm can produce multiple copies of the
6376 caps. Until that is fixed, we need to simplify the result to be
6377 sure whether the allowed caps are fixed or not.
6379 * plugins/elements/gstqueue.c: (gst_queue_init),
6380 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
6381 (gst_queue_push_one):
6382 Proxied buffer alloc should not set the caps on the source pad.
6383 When pushing buffers, we always accept the caps change that triggers.
6384 This prevents negotiation errors caused by caps changing mid-stream
6385 and then being refused on our source pad (because upstream is now
6386 refusing those caps).
6388 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
6390 * tests/examples/helloworld/helloworld.c: (main):
6391 Must plug audioconvert and audioresample between decoder
6394 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
6396 * gst/gstregistryxml.c: (read_string), (load_pad_template),
6397 (load_feature), (load_plugin):
6398 Allow empty strings for some of the plugin fields so we don't
6399 drop valid plugin entries that were written out correctly
6402 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
6404 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6405 Use g_remove and g_rename instead of remove and rename that don't
6406 handle utf8 characters. rename was failing for users who had specific
6407 characters in their name then the registry was built at each
6409 * win32/vs6/gst_inspect.dsp:
6410 * win32/vs6/gst_launch.dsp:
6411 * win32/vs6/libgstbase.dsp:
6412 * win32/vs6/libgstcoreelements.dsp:
6413 * win32/vs6/libgstreamer.dsp:
6414 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
6415 build of libgstreamer and clean unused libraries in projects link
6418 2006-05-17 Edward Hervey <edward@fluendo.com>
6420 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6421 The queue is not responsible for pushing an EOS when receiving a fatal
6422 flow error. It's up to the real element driving the pipeline to do that.
6424 2006-05-16 Edward Hervey <edward@fluendo.com>
6426 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6427 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
6428 buffer returned a fatal error. It should just send an EOS and stop
6430 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
6431 when pushing buffers on the queue and will be able to handle the event.
6433 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
6435 * docs/manual/basics-bins.xml:
6436 * docs/manual/basics-init.xml:
6437 Fix typos and minor errors in sample code (#341856).
6439 2006-05-16 Wim Taymans <wim@fluendo.com>
6441 * docs/design/part-qos.txt:
6442 Fix indexes in formulas to make more sense.
6444 2006-05-15 Wim Taymans <wim@fluendo.com>
6446 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6447 Don't report POSITION based on clock time if sync is
6450 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
6453 Add cast to make compiler happy - refcount variable was a gint
6454 in GstObject but is a guint in GObject and g_atomic_int_get()
6457 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
6459 * gst/parse/Makefile.am:
6460 chain commands using &&, which also makes parallel make work
6462 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
6464 * docs/gst/gstreamer-sections.txt:
6470 === release 0.10.6 ===
6472 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
6475 releasing 0.10.6, "Take the cannoli"
6477 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
6479 * tools/gst-launch.c: (print_tag):
6480 Fix use of uninitialized variable in the hypothetical
6481 case that some broken plugin creates a GST_TAG_IMAGE
6482 tag containing a NULL buffer (#341667).
6484 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
6486 * tools/gst-launch.c: (print_tag):
6487 Print something more intelligible for image tags when
6488 using the -t switch (#341556).
6490 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
6495 define GST_MAJORMINOR so we have it available in win32/common/config.h
6496 Possibly remove it from our Makefile.am files later
6497 * win32/common/config.h:
6498 * win32/common/config.h.in:
6499 added GST_MAJORMINOR
6500 * win32/common/gstenumtypes.c: (register_gst_resource_error):
6501 * win32/common/gstversion.h:
6504 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
6507 Update win32 files listing.
6508 * win32/common/gstversion.h:
6509 Add GST_MAJORMINOR definition.
6510 * win32/common/libgstreamer.def:
6511 Add new exported functions.
6513 2006-05-12 Michael Smith <msmith@fluendo.com>
6515 * gst/gstplugin.c: (gst_plugin_load_file):
6516 If an so file has no plugin entry point, unload the module.
6518 2006-05-11 Wim Taymans <wim@fluendo.com>
6520 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
6521 (gst_queue_set_property):
6522 Don't forget to signal the _chain or _loop function
6523 when the queue size or thresholds change since that might
6524 cause them to make progres again.
6526 2006-05-11 Stefan Kost <ensonic@users.sf.net>
6528 * gst/gstclock.c: (gst_clock_class_init):
6529 * gst/gstindex.c: (gst_index_class_init):
6530 * gst/gstobject.c: (gst_object_class_init):
6531 * gst/gstpad.c: (gst_pad_class_init):
6532 * gst/gstpipeline.c: (gst_pipeline_class_init):
6533 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6534 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
6535 * libs/gst/base/gstbasetransform.c:
6536 (gst_base_transform_class_init):
6537 * libs/gst/net/gstnetclientclock.c:
6538 (gst_net_client_clock_class_init):
6539 * libs/gst/net/gstnettimeprovider.c:
6540 (gst_net_time_provider_class_init):
6541 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
6542 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6543 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6544 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
6545 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6546 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6547 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6548 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6549 * plugins/elements/gsttee.c: (gst_tee_class_init):
6550 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6551 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6552 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
6554 2006-05-11 Wim Taymans <wim@fluendo.com>
6556 * gst/gstbuffer.c: (_gst_buffer_initialize):
6557 Register subbufer along with the buffer type so that
6558 it does not accidentally gets registered from N
6559 different streaming threads in a non threadsafe way.
6561 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
6566 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
6567 gst_event_ref() and gst_message_ref() functions again
6568 (ugly hack, please do fix if there's a better way besides
6569 overrides.txt, which doesn't seem to work).
6571 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6573 * libs/gst/check/gstcheck.h:
6574 add an assert for setting state to avoid lots of repetitive code
6577 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6579 * gst/gstvalue.c: (gst_value_serialize_flags):
6580 fix a leak if no flags are set
6581 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6584 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
6586 * docs/manual/basics-pads.xml:
6587 Expand a bit on caps and filtered links and update
6588 examples that were still using the no longer existing
6589 gst_pad_link_filtered() (#338206).
6591 2006-05-10 Wim Taymans <wim@fluendo.com>
6593 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6594 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6595 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6596 (gst_collect_pads_stop):
6597 * libs/gst/base/gstcollectpads.h:
6598 No need to call _stop in _finalize.
6599 Iterate the main pad list in _finalize.
6600 Added some more debug.
6601 Free lists and data in the right order.
6602 Also free data whem doing _remove_pad when stopped for
6603 backward compatibility protect ::started with PAD_LOCK as
6606 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6608 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
6609 (gst_structure_parse_value):
6611 rename a method so that it actually says what it does better
6613 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6615 * gst/gstevent.c: (_gst_event_initialize):
6616 * gst/gstformat.c: (_gst_format_initialize):
6617 make sure some essential types used by events are registered
6618 as part of gst_init()
6619 * gst/gstvalue.c: (gst_value_serialize_flags):
6620 if no flags are set, serialize them to a value that represents NONE
6621 so that deserializing them works
6622 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6623 add tests for serialization and deserialization of flags
6625 2006-05-10 Wim Taymans <wim@fluendo.com>
6627 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6628 (gst_collect_pads_collect_range), (gst_collect_pads_available),
6629 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6630 (gst_collect_pads_event), (gst_collect_pads_chain):
6633 Catch and return errors from the collect function
6634 Refuse data on eos pads.
6636 2006-05-10 Edward Hervey <edward@fluendo.com>
6638 * gst/gstinterface.h:
6639 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6640 GInterface type checking.
6641 They were previously using non-defined macros.
6643 2006-05-09 Wim Taymans <wim@fluendo.com>
6645 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6646 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6647 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6648 (gst_collect_pads_start), (gst_collect_pads_stop),
6649 (gst_collect_pads_peek), (gst_collect_pads_pop),
6650 (gst_collect_pads_available), (gst_collect_pads_read),
6651 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6652 (gst_collect_pads_is_collected), (gst_collect_pads_event),
6653 (gst_collect_pads_chain):
6654 * libs/gst/base/gstcollectpads.h:
6655 Clean up the mess that is collectpads, add comments and
6656 FIXMEs where needed.
6657 Maintain a separate pad list so we can add pads while
6658 collecting the other ones. For this we need a new separate
6660 Fix memory leak in finalize.
6661 Refactor some weird code to set/unset pad flushing flags, mark
6663 Don't crash in _available, _read, _flush when we're EOS.
6665 * tests/check/libs/.cvsignore:
6666 Ignore adapter check binary.
6668 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6670 * gst/gstindex.c: (gst_index_resolver_get_type):
6671 * plugins/elements/gstfakesink.c:
6672 (gst_fake_sink_state_error_get_type):
6673 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6674 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6675 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6676 Const-ify GEnumValue arrays.
6678 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6680 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6681 Add test case for flags + gst_buffer_make_metadata_writable().
6683 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6685 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6686 gst_buffer_make_metadata_writable() should maintain the
6687 buffer flags (those that make sense at least) (see #340859).
6689 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6691 * tools/gst-inspect.c:
6692 * tools/gst-launch.c:
6693 * tools/gst-typefind.c:
6694 * tools/gst-xmlinspect.c:
6696 Fix up includes: need to include stdlib.h in tools.h for exit().
6698 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6700 * gst/gsttaglist.c: (_gst_tag_initialize):
6702 API: add GST_TAG_IMAGE tag (#340721).
6704 2006-05-08 Wim Taymans <wim@fluendo.com>
6707 Added some docs for the segment query.
6709 2006-05-08 Wim Taymans <wim@fluendo.com>
6711 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6712 (gst_base_src_loop), (gst_base_src_change_state):
6713 Always push non-flushing serialized events in the streaming
6716 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
6718 * gst/gsterror.c: (_gst_stream_errors_init):
6719 Add a missing error string.
6721 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
6723 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6724 Add applied_rate to the debug
6726 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6727 Copy applied_rate into the outgoing NEWSEGMENT event
6729 2006-05-08 Wim Taymans <wim@fluendo.com>
6731 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6733 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6734 (gst_base_sink_change_state):
6735 call ::unlock before taking the PREROLL_LOCK so we can safely
6736 handle elements that lock in ::render.
6739 2006-05-08 Edward Hervey <edward@fluendo.com>
6741 * autogen.sh: (CONFIGURE_DEF_OPT):
6742 Darwin's libtoolize is in fact called glibtoolize.
6743 Adding glibtoolize to the list of accepted names for libtoolize.
6745 2006-05-08 Wim Taymans <wim@fluendo.com>
6747 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6748 Unify error handling, don't post an error message
6749 when a push() returns EOS but perform our normal EOS
6750 handling code. Fixes #340772.
6752 2006-05-08 Wim Taymans <wim@fluendo.com>
6754 * docs/design/part-overview.txt:
6755 Make upsteam/downstream concepts more clear.
6756 Give an example of serialized/non-serialized events.
6758 * docs/design/part-events.txt:
6759 * docs/design/part-streams.txt:
6760 Mention applied_rate.
6762 * docs/design/part-trickmodes.txt:
6763 Mention applied rate, flesh out some more use cases.
6765 * gst/gstevent.c: (gst_event_new_new_segment),
6766 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6767 (gst_event_parse_new_segment_full), (gst_event_new_tag),
6768 (gst_event_parse_tag), (gst_event_new_buffer_size),
6769 (gst_event_parse_buffer_size), (gst_event_new_qos),
6770 (gst_event_parse_qos), (gst_event_parse_seek),
6771 (gst_event_new_navigation):
6773 Add applied_rate field to NEWSEGMENT event.
6774 API: gst_event_new_new_segment_full()
6775 API: gst_event_parse_new_segment_full()
6777 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6778 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6779 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6781 Add applied_rate to GstSegment structure.
6782 Make calculation of stream_time and running_time more correct
6783 wrt rate/applied_rate.
6785 API: GstSegment::applied_rate field
6786 API: gst_segment_set_newsegment_full();
6788 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6789 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6790 * libs/gst/base/gstbasetransform.c:
6791 (gst_base_transform_sink_eventfunc),
6792 (gst_base_transform_handle_buffer):
6793 Parse and use applied_rate in the GstSegment field.
6795 * tests/check/gst/gstevent.c: (GST_START_TEST):
6796 Add check for applied_rate field.
6798 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6799 (gstsegments_suite):
6800 Add more checks for various GstSegment operations.
6802 2006-05-08 Wim Taymans <wim@fluendo.com>
6804 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6805 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6806 (gst_base_sink_get_position), (gst_base_sink_change_state):
6807 Store the sync time of the buffer end position separatly in a
6808 new variable eos_rtime so we can properly sync the EOS event.
6810 Fix the docs for gst_base_sink_set_qos_enabled().
6811 Don't set segment start to invalid value when we receive a
6812 non TIME newsegment.
6813 get closer to handling position reporting for negative rates
6816 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6819 Docs about how to print caps for debug purposes.
6821 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6822 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6824 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6827 use full enum names and preprend a '%' in docs strings to make recent
6828 gtk-doc turn that into a link
6830 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6832 * docs/manual/basics-bins.xml:
6833 * docs/manual/basics-bus.xml:
6834 * docs/manual/basics-pads.xml:
6835 Some typo fixes, some additions, some clarifications.
6837 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6839 * tools/gst-inspect.c: (main):
6840 * tools/gst-launch.c: (main):
6841 * tools/gst-run.c: (main):
6842 * tools/gst-typefind.c: (main):
6843 * tools/gst-xmlinspect.c: (main):
6844 Use the string passed to g_option_context_new() for
6845 what it's intended for - the program name is already
6848 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6850 * tools/Makefile.am:
6851 * tools/gst-inspect.c: (main):
6852 * tools/gst-launch.c: (main):
6853 * tools/gst-xmlinspect.c: (main):
6855 Add back --version command line option (#340460).
6857 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6858 Add --version option and use GOption for argument parsing; refactor a
6859 bit; accept directories as arguments and recurse into them; lastly,
6860 print a decent error message when things go wrong.
6862 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6864 * docs/manual/basics-bins.xml:
6865 Don't mention GstThread (#340611)
6866 * docs/manual/basics-elements.xml:
6867 Update link to GObject tutorial (#340607)
6869 2006-05-05 Wim Taymans <wim@fluendo.com>
6872 * gst/gstminiobject.c:
6873 Add note about refcounting and miniobject/buffer writeability
6874 to docs. Fixes #340604
6876 * gst/gstelementfactory.h:
6877 Added some explanation about @klass.
6879 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6881 * docs/manual/intro-motivation.xml:
6882 * docs/manual/manual.xml:
6883 Avoid CORBA & Bonobo references (#340598)
6885 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6887 * docs/manual/basics-bus.xml:
6888 * docs/manual/basics-pads.xml:
6889 Fix up some inaccuracies and omissions (#340609)
6891 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6893 * gst/gstghostpad.c:
6894 Small typo in docs (#340625)
6896 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6898 * gst/parse/Makefile.am:
6899 Make 'make -j' proof (see #340698).
6901 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6904 Require GLib-2.8 here as well.
6906 2006-05-05 Wim Taymans <wim@fluendo.com>
6908 * gst/glib-compat.c:
6909 * gst/gst.c: (init_pre):
6910 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6911 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6912 (gst_object_dispatch_properties_changed):
6914 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6915 * gst/gststructure.c: (gst_structure_set_valist):
6916 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6917 Remove pre glib2.8 compatibility, fixes #340508
6919 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6922 Mention type of tags in doc blurbs.
6924 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
6926 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6927 (gst_pad_configure_src), (gst_pad_push):
6928 Restore acceptcaps checking behaviour now that good plugins have
6931 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6933 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6944 * gst/parse/Makefile.am:
6945 * libs/gst/base/gstadapter.c:
6946 * libs/gst/base/gstbasesrc.c:
6947 * libs/gst/base/gstpushsrc.c:
6948 * libs/gst/base/gsttypefindhelper.c:
6949 * plugins/elements/gstfakesrc.c:
6950 * plugins/elements/gstidentity.c:
6951 Make sure gstprivate.h and/or config.h are
6952 always included first, otherwise some of our
6953 defines (like _FILE_OFFSET_BITS) might be
6954 redefined in the system headers. Fixes build
6955 on opensolaris (#340016).
6957 2006-05-04 Wim Taymans <wim@fluendo.com>
6959 * docs/libs/gstreamer-libs-sections.txt:
6960 API: addition: gst_adapter_take_buffer()
6962 * libs/gst/base/gstadapter.c: (gst_adapter_push),
6963 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6964 (gst_adapter_available_fast):
6965 * libs/gst/base/gstadapter.h:
6966 Prepare for optimizing the hell out of this hugely inefficient
6968 Added gst_adapter_take_buffer() so we can at least start thinking
6969 about subbuffering and merging.
6970 Added some comments.
6972 * tests/check/Makefile.am:
6973 * tests/check/libs/adapter.c: (GST_START_TEST),
6974 (gst_adapter_suite), (main):
6975 Added GstAdapter check.
6977 2006-05-04 Wim Taymans <wim@fluendo.com>
6979 * docs/design/part-overview.txt:
6980 Fix some typos, add blurb about buffer flags.
6982 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6984 * docs/libs/gstreamer-libs-sections.txt:
6985 make sure GstBaseTransformClass shows up in the docs
6986 * libs/gst/base/gstbasetransform.c:
6987 * libs/gst/base/gstbasetransform.h:
6988 move docs so gtk-doc picks it up now
6990 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6992 * docs/libs/gstreamer-libs-sections.txt:
6993 add missing symbols to docs
6995 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6997 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6998 back out the newsegment handling change, see #340060 for ongoing
7001 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
7003 * tools/gst-run.c: (get_candidates), (main):
7004 Fix wrong g_file_test() usage (see glib docs for why it doesn't
7005 work); fix typo in error message. Fixes #340079.
7007 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
7009 * common/Makefile.am:
7011 * docs/faq/Makefile.am:
7012 * docs/gst/Makefile.am:
7013 * docs/libs/Makefile.am:
7014 * docs/manual/Makefile.am:
7015 * docs/plugins/Makefile.am:
7016 * docs/pwg/Makefile.am:
7017 * docs/slides/Makefile.am:
7019 * common/upload.mak:
7020 move upload.mak to common
7022 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
7024 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7025 add more asserts on refcounts
7026 do more cleanup at end of tests
7027 fix test leaks showing in FC5
7029 2006-04-29 Stefan Kost <ensonic@users.sf.net>
7031 * plugins/elements/gsttypefindelement.c:
7032 (gst_type_find_element_handle_event):
7033 reverted wrong change and reflowed code to avoid others falling into
7036 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7038 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7039 fix changelog entry about last collectpads change,
7040 add notes about proper fix
7042 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7045 * gst/gstregistry.c: (gst_registry_scan_path_level),
7046 (gst_registry_scan_path):
7047 * gst/gstregistry.h:
7048 only write out registry if it has changed, fixes #338339
7050 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7053 * gst/gstpipeline.c:
7054 * plugins/elements/gstcapsfilter.c:
7055 * plugins/elements/gstfakesink.c:
7056 * plugins/elements/gstfakesrc.c:
7057 * plugins/elements/gstfdsink.c:
7058 * plugins/elements/gstfdsrc.c:
7059 * plugins/elements/gstfilesink.c:
7060 * plugins/elements/gstfilesrc.c:
7061 * plugins/elements/gstidentity.c:
7062 * plugins/elements/gstqueue.c:
7063 * plugins/elements/gsttee.c:
7064 * plugins/elements/gsttypefindelement.c:
7065 (gst_type_find_element_handle_event):
7066 make GstElementDetails const
7068 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7070 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
7071 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
7072 (gst_collect_pads_is_collected), (gst_collect_pads_event):
7073 more detailed debug and formatting cleanup,
7074 forward newsegments to src-pad (so that e.g. adder not eats them)
7076 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7078 * gst/gstutils.c: (gst_element_link_pads):
7081 2006-04-28 Stefan Kost <ensonic@users.sf.net>
7083 * libs/gst/controller/gstcontroller.c:
7084 (gst_controller_sync_values):
7086 * tests/check/libs/controller.c: (GST_START_TEST),
7087 (gst_controller_suite):
7088 a new test for live value handling
7090 2006-04-28 Wim Taymans <wim@fluendo.com>
7092 * gst/gstutils.c: (push_and_ref):
7093 Added some more docs.
7094 Fix refcount issue whith gst_element_found_tags() helper
7095 function. Fixes #338335
7097 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7098 Added testsuite for gst_element_found_tags().
7100 2006-04-28 Michael Smith <msmith@fluendo.com>
7102 * gst/gstvalue.c: (gst_value_serialize_flags):
7103 Avoid NULL dereference when trying to serialize flags containing
7106 2006-04-28 Michael Smith <msmith@fluendo.com>
7108 * plugins/elements/gsttypefindelement.c:
7109 (gst_type_find_element_handle_event):
7110 If we get EOS before any data is accumulated, don't use
7111 uninitialised local variables.
7113 2006-04-28 Michael Smith <msmith@fluendo.com>
7115 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7116 (gst_dp_event_from_packet):
7117 Fixes in reading/writing events over GDP (not currently used?) -
7118 dereferencing NULL events for unknown/invalid event types, memory
7119 leak, and change g_warning to GST_WARNING.
7121 2006-04-28 Wim Taymans <wim@fluendo.com>
7123 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
7124 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
7125 (gst_base_sink_get_position), (gst_base_sink_change_state):
7126 When frame dropping is enabled, we should not ignore frames
7128 Update some documentation.
7130 2006-04-28 Wim Taymans <wim@fluendo.com>
7132 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7133 (gst_base_src_send_event), (gst_base_src_change_state):
7134 Documentation updates.
7136 2006-04-28 Wim Taymans <wim@fluendo.com>
7138 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
7139 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
7140 handle EAGAIN, EINTR and short writes correctly. Also clean
7141 up some error cases, avoid a deadlock on bad file descriptors and
7142 use GST_DEBUG_OBJECT.
7145 2006-04-28 Wim Taymans <wim@fluendo.com>
7147 * gst/gstvalue.c: (gst_value_serialize_buffer),
7148 (gst_value_deserialize_buffer):
7149 Don't try to serialize a GValue with a NULL buffer.
7152 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7153 Added check for serialisation of NULL buffers.
7155 2006-04-28 Wim Taymans <wim@fluendo.com>
7157 * gst/gstminiobject.c: (gst_value_take_mini_object):
7158 Taking a NULL miniobject is valid, fix the case where
7159 we try to unref the NULL miniobject.
7161 2006-04-28 Wim Taymans <wim@fluendo.com>
7163 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7165 * gst/gstbin.c: (gst_bin_handle_message_func):
7167 Don't leak bin refcount when a state recalc is
7168 in progress and we delay another one #339808.
7170 2006-04-28 Wim Taymans <wim@fluendo.com>
7172 * docs/design/part-TODO.txt:
7173 Mention QoS as an ongoing work item.
7175 * docs/design/part-buffering.txt:
7176 New doc about buffering that needs to be fleshed out
7179 * docs/design/part-qos.txt:
7180 More QoS policy for decoders/demuxers/transforms
7182 * docs/design/part-trickmodes.txt:
7185 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
7190 === release 0.10.5 ===
7192 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
7195 releasing 0.10.5, "Fogo"
7197 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
7199 patch by: Wim Taymans
7201 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
7202 (gst_pad_configure_src), (gst_pad_push):
7203 * gst/gstpipeline.c: (gst_pipeline_init):
7204 Fix internal data flow errors. Fixes #338711.
7206 2006-04-12 Wim Taymans <wim@fluendo.com>
7208 * tests/check/gst/gstelement.c: (GST_START_TEST):
7209 Don't leak the factory.
7211 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7214 * win32/common/config.h:
7217 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
7219 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7220 (gst_controller_unset_all):
7221 Free allocated GstTimedValues when freeing list nodes.
7222 Should fix leaks 'make check-valgrind' complains about.
7224 * win32/common/libgstcontroller.def:
7225 Add gst_controller_unset_all.
7227 2006-04-11 Stefan Kost <ensonic@users.sf.net>
7229 * docs/libs/gstreamer-libs-sections.txt:
7230 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7231 (gst_controller_unset_all):
7232 * libs/gst/controller/gstcontroller.h:
7233 API: Added new method gst_controller_unset_all()
7234 fixed gst_controller_unset()
7235 * tests/check/libs/controller.c: (GST_START_TEST),
7236 (gst_controller_suite):
7237 Added two testcases for new and fixed method
7239 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
7241 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7242 MSG_DONTWAIT is not defined on Cygwin, so work
7243 around that (fixes #317048).
7245 2006-04-11 Wim Taymans <wim@fluendo.com>
7247 * gst/gstelementfactory.c: (gst_element_register),
7248 (gst_element_factory_create), (gst_element_factory_make):
7251 Updated docs (Fixes #131079)
7253 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7256 * tests/check/gst/gstelement.c: (GST_START_TEST),
7257 (gst_element_suite):
7258 Added testcase for elementfactory class field.
7260 2006-04-10 Wim Taymans <wim@fluendo.com>
7263 Added some more docs.
7265 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
7266 (gst_base_sink_reset_qos):
7267 Calculate more accurate rate values.
7269 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
7271 * gst/gst_private.h:
7272 add a new #ifdef to use __declspec(dllimport) only for
7273 other modules and not for gstreamer core
7274 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
7275 use gst_guint64_to_gdouble for conversion
7276 * win32/common/libgstreamer.def:
7277 add new exported functions
7278 * win32/vs6/gst_inspect.dsp:
7279 * win32/vs6/gst_launch.dsp:
7280 * win32/vs6/libgstbase.dsp:
7281 * win32/vs6/libgstcontroller.dsp:
7282 * win32/vs6/libgstcoreelements.dsp:
7283 * win32/vs6/libgstdataprotocol.dsp:
7284 * win32/vs6/libgstnet.dsp:
7285 update project files
7287 2006-04-08 Stefan Kost <ensonic@users.sf.net>
7289 * gst/gstbuffer.c: (gst_subbuffer_class_init):
7290 * gst/gstclock.c: (gst_clock_class_init):
7291 * gst/gstelement.c: (gst_element_class_init):
7292 * gst/gstindex.c: (gst_index_class_init):
7293 * gst/gstindexfactory.c: (gst_index_factory_class_init):
7294 * gst/gstobject.c: (gst_object_class_init),
7295 (gst_signal_object_class_init):
7296 * gst/gstpad.c: (gst_pad_class_init):
7297 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
7298 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
7299 * gst/gstregistry.c: (gst_registry_class_init):
7300 * gst/gstsystemclock.c: (gst_system_clock_class_init):
7301 * gst/gsttask.c: (gst_task_class_init):
7302 * gst/gstxml.c: (gst_xml_class_init):
7303 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7304 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7305 (gst_base_src_loop):
7306 * libs/gst/controller/gstcontroller.c:/
7307 (_gst_controller_class_init):
7308 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7309 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
7310 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
7311 * tests/old/examples/plugins/example.c: (gst_example_class_init):
7312 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7313 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
7315 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
7317 * gst/gstpad.c: (gst_pad_link):
7318 Must set peer pads before calling the link function, otherwise
7319 a task started from a link function might get a flow-not-linked
7320 result when trying to push because the other thread where the
7321 linking happens hasn't had a chance to set the peers yet. This
7322 might happen for example when a queue gets linked to a downstream
7323 element, as queue starts a streaming task when its source pad
7324 gets linked. Happens in real life when playing back flac/musepack
7325 files in playbin (#332390).
7327 2006-04-08 Stefan Kost <ensonic@users.sf.net>
7331 * libs/gst/base/gstadapter.h:
7332 * libs/gst/base/gstbasesink.h:
7333 * libs/gst/base/gstbasesrc.h:
7334 * libs/gst/base/gstbasetransform.h:
7335 * libs/gst/base/gstcollectpads.h:
7336 * libs/gst/base/gstpushsrc.h:
7337 Fix broken GObject macros
7339 2006-04-07 Wim Taymans <wim@fluendo.com>
7341 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7342 Initialize start and stop times, thanks valgrind.
7344 2006-04-07 Wim Taymans <wim@fluendo.com>
7346 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7347 Be a bit nicer to badly behaving upstream elements that expect
7348 us to deal with non TIME segments and timestamps (such as fakesrc
7351 2006-04-07 Wim Taymans <wim@fluendo.com>
7354 Small documentation clarification about the signal watch.
7356 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7357 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7358 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7359 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
7360 (gst_base_sink_get_position_last),
7361 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
7362 Convert and store timestamps in stream time and running time, the
7363 raw timestamps are not useful, also document this better.
7364 Use different window sizes for good and bad QoS observations so
7365 we react to badness a little quicker.
7366 Keep track of the amount of rendered and dropped buffers.
7367 Send QoS timestamps in running time.
7369 * libs/gst/base/gstbasetransform.c:
7370 (gst_base_transform_sink_eventfunc),
7371 (gst_base_transform_handle_buffer):
7372 Compare QoS timestamps against running time.
7374 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
7379 2006-04-06 Michael Smith <msmith@fluendo.com>
7381 * gst/gstpad.c: (gst_pad_set_property):
7382 Use g_value_get_object() instead of g_value_dup_gst_object(),
7383 to avoid double-reffing the pad template (which we then sink,
7384 so this worked previously if (and only if) the pad template
7387 * gst/gstpadtemplate.c: (gst_pad_template_init),
7388 (gst_pad_template_pad_created):
7389 Never return floating references to pad templates, create
7390 them as initially-sunken.
7392 Document an extra function (and make this stop sinking our
7393 pad template, since that is now guaranteed to do nothing,
7394 since we created it sunken).
7396 * gst/gstghostpad.c:
7399 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
7401 * gst/gstinfo.c: (__gst_in_valgrind):
7404 * plugins/elements/gsttypefindelement.c:
7405 (gst_type_find_element_chain):
7406 Don't leak buffer caps.
7408 2006-04-06 Michael Smith <msmith@fluendo.com>
7410 * gst/parse/grammar.y:
7411 Fix a leak in parse-launch for any source-or-sink named element
7414 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7415 Unref the pipeline if it exists after we've failed parsing.
7417 2006-04-05 Michael Smith <msmith@fluendo.com>
7419 * gst/gstpipeline.c: (gst_pipeline_init):
7420 When we create a pipeline bus, initially create it in flushing mode.
7421 Fixes leaks in at least one test, and makes a new pipeline work the
7422 same as one that has gone to READY and then back to NULL.
7427 2006-04-05 Michael Smith <msmith@fluendo.com>
7429 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7430 Unref a pad we reffed.
7431 * tests/check/gst/gstutils.c: (GST_START_TEST):
7434 2006-04-05 Michael Smith <msmith@fluendo.com>
7436 * gst/gstquery.c: (gst_query_set_formats),
7437 (gst_query_set_formatsv):
7438 Fix leaking GValues in queries, as shown by valgrind/testsuite.
7440 2006-04-05 Michael Smith <msmith@fluendo.com>
7442 * tests/check/generic/sinks.c: (GST_START_TEST):
7443 Fix a variety of memleaks in sinks check, which are only sometimes
7444 shown by running the tests under valgrind (weird?).
7446 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
7448 * docs/version.entities.in:
7449 Fix the substituted entity name after thomas' changes on the
7452 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7454 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
7457 2006-04-05 Andy Wingo <wingo@pobox.com>
7459 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
7461 * libs/gst/base/gstbasetransform.c
7462 (gst_base_transform_sink_eventfunc): When resetting our segment on
7463 FLUSH_STOP, also update the flag saying we haven't seen a
7466 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7468 Patch by: Paolo Borelli <pborelli at katamail dot com>
7470 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
7471 (gst_plugin_check_license):
7472 minor clean-ups: G_DEFINE_TYPE already takes care of the
7473 parent_class stuff, no need to do it twice. Mark array of
7474 license strings as constant. (#337103)
7476 2006-04-04 Michael Smith <msmith@fluendo.com>
7478 * tools/gst-inspect.c: (print_element_list):
7479 Free the right plugin list; fixes a memory leak.
7481 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7483 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7485 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7486 Don't error out on empty buffers (#336945).
7488 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
7490 * docs/libs/gstreamer-libs-sections.txt:
7492 * libs/gst/base/gstbasesink.c:
7493 * libs/gst/base/gstbasesink.h:
7494 * libs/gst/base/gstbasesrc.c:
7495 * libs/gst/base/gstbasesrc.h:
7496 Documentation updates. Make BaseSink and BaseSrc docs contain the
7497 class structure so that people can actually see the prototypes for
7498 virtual functions they're supposed to be overriding.
7500 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7502 * plugins/elements/gsttypefindelement.c:
7503 (gst_type_find_element_chain):
7504 More debug info; when skipping typefinding, send cached
7505 events in all cases.
7507 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
7510 use new AS_VERSION and AS_NANO macros
7511 * gst/gst-i18n-lib.h:
7514 * gst/gstversion.h.in:
7515 * win32/common/config.h:
7516 * win32/common/config.h.in:
7519 2006-03-31 Michael Smith <msmith@fluendo.com>
7521 * plugins/elements/gsttypefindelement.c:
7522 (gst_type_find_element_chain):
7523 Do not typefind content if the buffers already have caps.
7524 Neccesary for icydemux (#333657), and the right thing to do anyway.
7526 2006-03-30 Wim Taymans <wim@fluendo.com>
7528 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7529 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
7530 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
7531 (gst_base_sink_record_qos_observation),
7532 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7533 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7534 (gst_base_sink_change_state):
7535 More QoS measurements as described in the design doc.
7536 Get rid of ringbuffer with observations, running average is
7537 more simple and equally good.
7538 Calculates valid proportion now.
7539 Added beginning of flood measurement.
7541 2006-03-29 Wim Taymans <wim@fluendo.com>
7543 * docs/design/part-qos.txt:
7545 Small documentation updates and additions.
7547 2006-03-29 Wim Taymans <wim@fluendo.com>
7549 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7550 (gst_base_src_send_event), (gst_base_src_loop),
7551 (gst_base_src_change_state):
7552 Perform the EOS logic when we reach the segment stop position.
7553 Fix compilation on gcc4.1
7555 2006-03-29 Wim Taymans <wim@fluendo.com>
7557 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7559 * plugins/elements/gstqueue.c: (gst_queue_init),
7560 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7561 (gst_queue_set_property):
7562 * plugins/elements/gstqueue.h:
7563 In queue, when EOS is received, if minimum threshold > max_size -
7564 current_level, there is chance that queue blocks forever in conditional
7565 item del wait. This is because the queue is not emptied completely due
7566 to minimum threshold. Here is another approach. Instead of setting
7567 cur_levels to max in EOS, just zero all minimum threshold levels. This
7568 should make sure that queue gives out all data. When going to READY
7569 (stop) state, just reset the original minimum threshold levels.
7572 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
7574 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
7575 (gst_type_find_element_handle_event),
7576 (gst_type_find_element_send_cached_events),
7577 (gst_type_find_element_change_state):
7578 * plugins/elements/gsttypefindelement.h:
7579 When typefinding is done in push mode, we should cache
7580 events we receive during typefinding instead of just
7581 dropping them (e.g. newsegment, custom events from
7582 dvdreadsrc etc.) and then send them out once we've
7583 determined the type of the stream (and decodebin
7584 has had a chance to plug in a decoder/demuxer).
7586 2006-03-27 Wim Taymans <wim@fluendo.com>
7588 * docs/design/part-qos.txt:
7591 2006-03-27 Wim Taymans <wim@fluendo.com>
7593 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
7595 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7596 (gst_base_src_send_event), (gst_base_src_change_state):
7597 Handle element seek correctly when we are streaming.
7600 2006-03-24 Michael Smith <msmith@fluendo.com>
7602 * docs/faq/gst-uninstalled:
7603 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
7604 allow you to correctly run intalled applications built against old
7605 core, using plugins that require updated core (e.g. running
7606 installed totem against a full uninstalled gstreamer stack)
7608 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7610 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
7613 2006-03-24 Wim Taymans <wim@fluendo.com>
7615 * docs/gst/gstreamer-sections.txt:
7616 Rearrange the order of the methods so that related methods
7617 are grouped together in sections.
7619 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7622 Little clarification in the docs
7624 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7628 * plugins/elements/gstidentity.c:
7629 * plugins/elements/gstqueue.c:
7630 * plugins/elements/gsttee.c:
7631 * plugins/elements/gsttypefindelement.c:
7632 GST_ELEMENT_DETAILS formatting
7634 2006-03-24 Wim Taymans <wim@fluendo.com>
7636 * libs/gst/base/gstbasesink.h:
7637 Only add fields, not insert or we break ABI.
7639 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7641 * win32/common/libgstbase.def:
7642 * win32/common/libgstreamer.def:
7643 Update, add recently added functions.
7645 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7647 * docs/gst/gstreamer-sections.txt:
7648 * gst/gstutils.c: (gst_pad_query_peer_position),
7649 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7651 API: add some new utility functions:
7652 - gst_pad_query_peer_position()
7653 - gst_pad_query_peer_duration()
7654 - gst_pad_query_peer_convert()
7656 2006-03-23 Wim Taymans <wim@fluendo.com>
7658 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7659 (gst_base_sink_init), (gst_base_sink_finalize),
7660 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7661 (gst_base_sink_set_property), (gst_base_sink_get_property),
7662 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7663 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7664 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7665 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7666 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7667 (gst_base_sink_preroll_object), (gst_base_sink_event),
7668 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7669 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7670 (gst_base_sink_query), (gst_base_sink_change_state):
7671 Decouple max-lateness and the fact that QoS messages are generated
7672 with a new property (qos).
7673 added API: GstBaseSink::async_play()
7674 Add vmethod so subclasses can be notified of ASYNC playing
7676 Collect timestamp start and stop to report better current
7677 position in EOS/PLAYING/PAUSED/READY/NULL.
7678 Refactor QoS/frame dropping and other measurements.
7679 API: GstBaseSrc::qos
7682 * libs/gst/base/gstbasesink.h:
7683 Added Private struct.
7684 API: gst_base_sink_set_qos_enabled()
7685 API: gst_base_sink_is_qos_enabled()
7687 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7689 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7690 If compiling against GLib-2.8 or newer, try to read the
7691 registry file using GMappedFile first before falling back
7692 to fopen() + fread() (#332151).
7694 2006-03-22 Wim Taymans <wim@fluendo.com>
7696 * gst/gstinfo.c: (gst_debug_set_active),
7697 (gst_debug_category_set_threshold):
7698 Disable debugging unless explicitly activated.
7701 2006-03-22 Wim Taymans <wim@fluendo.com>
7703 * gst/gstelement.c: (gst_element_set_locked_state),
7704 (gst_element_dispose):
7705 Cleanup the error case.
7707 * gst/gstobject.c: (gst_object_dispose):
7708 print a critical when some object was disposed with
7709 a parent, also revive the object since it might
7712 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
7714 * tools/gst-launch.1.in:
7717 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7720 * tests/check/Makefile.am:
7721 disable some tests when we don't have a registry
7722 * tests/check/gst/gstutils.c: (gst_utils_suite):
7723 don't build the part that needs parsing
7725 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7728 * tests/examples/Makefile.am:
7729 fix --disable-parse build
7731 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7733 * tools/gst-feedback.1.in:
7734 Fix typo: s/feeback/feedback/ (#133494).
7736 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7738 * tools/Makefile.am:
7739 * tools/gst-launch.1.in:
7740 Add FILES section and correct entry about GST_REGISTRY_PATH
7741 environment variable (#133495; #133494).
7743 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7745 * tools/Makefile.am:
7746 * tools/gst-md5sum.1.in:
7747 * tools/gst-md5sum.c:
7748 Remove gst-md5sum and man page (the md5sink element
7749 required was removed ages ago)
7751 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7753 * gst/gststructure.c: (gst_structure_id_set_value):
7754 Make sure that string fields in structures/taglists
7755 contain valid UTF-8 - we don't want to pass rubbish to
7756 applications because of a buggy plugin (cp. #334167).
7758 2006-03-21 Edward Hervey <edward@fluendo.com>
7760 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7761 (gst_bin_handle_message_func):
7762 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7763 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7764 (gst_element_set_bus_func):
7765 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7766 * gst/gstminiobject.c: (gst_value_set_mini_object),
7767 (gst_value_take_mini_object):
7768 * gst/gstpad.c: (gst_pad_set_pad_template):
7769 * gst/gstpipeline.c: (gst_pipeline_dispose),
7770 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7771 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7772 (gst_collect_pads_chain):
7773 * libs/gst/net/gstnettimeprovider.c:
7774 (gst_net_time_provider_set_property):
7775 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7776 It's in fact all issues with gst_*object_replace().
7778 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7780 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
7782 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7783 * pkgconfig/gstreamer-check.pc.in:
7784 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7786 2006-03-21 Edward Hervey <edward@fluendo.com>
7791 gst_[buffer|event|message]_ref() macros are replaced by a static
7792 inline functions because gcc-4.1 will about if the return value
7794 * tests/check/gst/gstevent.c: (event_probe):
7795 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7797 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
7800 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7801 the type' case. (Closes: #335195 for now). In the future, when we
7802 depend on GLib 2.10, we could also intern the type name using
7803 g_intern_static_string()
7805 2006-03-20 Wim Taymans <wim@fluendo.com>
7807 * gst/gstbin.c: (gst_bin_handle_message_func),
7808 (bin_query_max_init), (bin_query_position_fold),
7809 (bin_query_position_done), (gst_bin_query):
7810 Position query should also take max of all streams.
7812 2006-03-20 Wim Taymans <wim@fluendo.com>
7814 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7815 (gst_fake_src_finalize):
7816 Fix leaks in fakesrc.
7818 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7819 Fix leaks in the testcase.
7821 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
7823 * gst/gst_private.h:
7824 add win32 specific import decoration(__declspec(dllimport))
7825 for all extern GstDebugCategory * variables
7826 * win32/common/libgstbase.def:
7827 * win32/common/libgstcontroller.def:
7828 * win32/common/libgstreamer.def:
7829 Add some exports, remove empty lines
7830 * win32/common/libgstdataprotocol.def:
7831 * win32/common/libgstdataprotocol.dsp:
7832 * win32/common/libgstnet.def:
7833 * win32/common/libgstnet.dsp:
7834 new project files and exportation files added
7836 2006-03-19 Wim Taymans <wim@fluendo.com>
7838 * tests/check/libs/basesrc.c: (eos_event_counter):
7839 Use proper return value for probe.
7841 2006-03-17 Wim Taymans <wim@fluendo.com>
7843 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7845 Don't leak buffers, caps and pads on negotiation errors.
7847 2006-03-16 Stefan Kost <ensonic@users.sf.net>
7850 * docs/faq/dependencies.xml:
7851 * docs/faq/developing.xml:
7853 * docs/faq/general.xml:
7854 * docs/faq/getting.xml:
7855 * docs/faq/legal.xml:
7856 * docs/faq/troubleshooting.xml:
7857 * docs/faq/using.xml:
7858 Faq review and update.
7860 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
7862 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7864 Don't pound the cpu to pieces by checking get_caps when accept_caps
7865 is called with the same caps as the pad already has.
7866 Use GST_DEBUG_OBJECT when outputting caps change information.
7868 2006-03-15 Wim Taymans <wim@fluendo.com>
7870 * gst/gstclock.c: (gst_clock_class_init):
7873 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
7878 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7879 (gst_pad_accept_caps), (gst_pad_configure_sink),
7880 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7881 Make the default acceptcaps behaviour be to check the requested
7882 caps against the gst_pad_get_caps output.
7884 Ensure that gst_pad_accept_caps is used to check caps when a pad
7885 doesn't have a setcaps function, so that pads automatically refuse
7886 caps that they don't allow in their pad template. (Fixes #332986)
7888 When a buffer with attached caps is pushed, ensure that the source
7889 pad receives those caps even if the element didn't call
7890 gst_pad_set_caps first.
7892 2006-03-15 Wim Taymans <wim@fluendo.com>
7894 * libs/gst/base/gstadapter.c:
7897 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
7899 * win32/common/libgstbase.def:
7900 * win32/common/libgstcontroller.def:
7901 * win32/common/libgstreamer.def:
7902 Add a whole bunch of missing functions (#334434).
7904 2006-03-14 Wim Taymans <wim@fluendo.com>
7906 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7907 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7908 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7909 Better debug info when we receive a segment event.
7910 Reorganize a bit so we can pass the get_times() results around.
7911 Use the segment format when calculating the running time.
7912 Don't do QoS is sync is disabled or we have no clock or the
7913 element does not want us to sync to the clock.
7914 Don't drop buffers if QoS is disabled for now.
7916 2006-03-14 Wim Taymans <wim@fluendo.com>
7918 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7919 Marked the stats property as unimplemented so people don't get
7921 Add debug message when regression goes wrong.
7922 Added some more docs.
7924 2006-03-14 Wim Taymans <wim@fluendo.com>
7926 * gst/gstsegment.c: (gst_segment_to_stream_time):
7927 Return correct return type in case of errors.
7929 2006-03-14 Wim Taymans <wim@fluendo.com>
7931 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7932 Don't segfault on invalid formats.
7934 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7936 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7937 Can't use gst_segment_to_running_time() when the segment
7938 is not in GST_TIME_FORMAT (like with filesink, for example).
7939 Stops flac encoding pipelines from spewing critical warnings
7942 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7944 * gst/gstpipeline.c: (gst_pipeline_class_init):
7945 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7947 * plugins/elements/gsttypefindelement.c:
7948 (gst_type_find_element_handle_event):
7949 Don't try to typefind empty streams.
7951 2006-03-14 Wim Taymans <wim@fluendo.com>
7953 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7954 (gst_base_sink_do_qos):
7955 Separate QoS calculation.
7956 Only drop buffers when lateness is bigger than the
7957 duration of the buffer.
7959 2006-03-13 Wim Taymans <wim@fluendo.com>
7961 * gst/gstpipeline.c: (gst_pipeline_set_property),
7962 (gst_pipeline_get_property), (do_pipeline_seek),
7963 (gst_pipeline_change_state), (gst_pipeline_set_delay),
7964 (gst_pipeline_get_delay):
7965 Don't deadlock when reading properties.
7967 2006-03-13 Wim Taymans <wim@fluendo.com>
7969 * libs/gst/base/gstbasetransform.c:
7970 (gst_base_transform_class_init), (gst_base_transform_init),
7971 (gst_base_transform_sink_event),
7972 (gst_base_transform_sink_eventfunc),
7973 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7974 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7975 (gst_base_transform_set_property),
7976 (gst_base_transform_get_property),
7977 (gst_base_transform_change_state), (gst_base_transform_update_qos),
7978 (gst_base_transform_set_qos_enabled),
7979 (gst_base_transform_is_qos_enabled):
7980 * libs/gst/base/gstbasetransform.h:
7981 Make basetransform virtual method for src events too.
7982 Handle QOS in basetransform.
7983 API: gst_base_transform_update_qos()
7984 API: gst_base_transform_set_qos_enabled()
7985 API: gst_base_transform_is_qos_enabled()
7987 2006-03-13 Wim Taymans <wim@fluendo.com>
7989 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7990 (gst_base_sink_do_sync):
7992 Use QOS debug category.
7994 2006-03-13 Wim Taymans <wim@fluendo.com>
7996 * plugins/elements/gstqueue.c:
7997 Very small doc update.
7999 2006-03-13 Wim Taymans <wim@fluendo.com>
8001 * gst/gst_private.h:
8002 * gst/gstinfo.c: (_gst_debug_init):
8003 Added QOS debug category
8005 2006-03-13 Wim Taymans <wim@fluendo.com>
8007 * docs/gst/gstreamer-sections.txt:
8008 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
8010 * gst/gstbus.c: (gst_bus_class_init):
8013 * gst/gstelement.c: (gst_element_set_locked_state):
8015 Documentation updates.
8017 * gst/gstpipeline.c: (gst_pipeline_get_type),
8018 (gst_pipeline_class_init), (gst_pipeline_init),
8019 (gst_pipeline_dispose), (gst_pipeline_set_property),
8020 (gst_pipeline_get_property), (do_pipeline_seek),
8021 (gst_pipeline_send_event), (gst_pipeline_change_state),
8022 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
8023 (gst_pipeline_get_delay):
8024 * gst/gstpipeline.h:
8025 Added methods for setting the delay.
8026 API: gst_pipeline_set_delay()
8027 API: gst_pipeline_get_delay()
8028 Add pipeline debug category
8031 Don't reset stream time when seek failed.
8033 2006-03-13 Wim Taymans <wim@fluendo.com>
8035 * docs/design/draft-klass.txt:
8036 * docs/design/part-clocks.txt:
8037 * docs/design/part-events.txt:
8038 * docs/design/part-gstbin.txt:
8039 * docs/design/part-gstpipeline.txt:
8040 * docs/design/part-messages.txt:
8041 * docs/design/part-negotiation.txt:
8042 * docs/design/part-overview.txt:
8043 * docs/design/part-preroll.txt:
8044 * docs/design/part-seeking.txt:
8045 * docs/design/part-states.txt:
8046 * docs/design/part-streams.txt:
8047 Documentation updates.
8049 2006-03-12 Julien MOUTTE <julien@moutte.net>
8051 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
8052 us to leak strings...
8054 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
8056 * libs/gst/net/gstnettimeprovider.c:
8058 * win32/common/config.h:
8061 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
8063 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
8066 Don't check for libgnomeui (leftover from old examples
8067 that aren't built or disted any longer) (#334303).
8069 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
8071 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
8072 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8073 Emit RESOURCE_NO_SPACE_LEFT error here as well when
8074 there's no space left on the device.
8076 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
8079 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
8080 to cast the input to GstClockTime before comparing with
8081 another GstClockTime value.
8083 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
8088 === release 0.10.4 ===
8090 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
8093 releasing 0.10.4, "Light"
8095 2006-03-10 Michael Smith <msmith@fluendo.com>
8097 * libs/gst/dataprotocol/dataprotocol.c:
8098 Fix docs for dataprocotol to not get the return types completely
8099 wrong for a few functions.
8101 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
8103 * docs/gst/gstreamer-sections.txt:
8104 * gst/gstpipeline.c: (gst_pipeline_class_init),
8105 (gst_pipeline_init), (gst_pipeline_set_property),
8106 (gst_pipeline_get_property), (gst_pipeline_change_state),
8107 (gst_pipeline_set_auto_flush_bus),
8108 (gst_pipeline_get_auto_flush_bus):
8109 * gst/gstpipeline.h:
8110 Add new API: gst_pipeline_set_auto_flush_bus() and
8111 gst_pipeline_get_auto_flush_bus() to disable automatic
8112 flushing of the pipeline's GstBus when going from READY
8113 to NULL state (#332045).
8115 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
8117 * docs/gst/gstreamer-sections.txt:
8118 * gst/gsturi.c: (gst_uri_has_protocol):
8120 Add new API: gst_uri_has_protocol() (#333779).
8122 2006-03-09 Wim Taymans <wim@fluendo.com>
8124 * gst/gstclock.c: (gst_clock_entry_new),
8125 (gst_clock_id_compare_func), (gst_clock_id_wait),
8126 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
8127 (gst_clock_init), (gst_clock_get_internal_time),
8128 (gst_clock_set_master), (do_linear_regression),
8129 (gst_clock_add_observation), (gst_clock_set_property):
8133 Fix a possible segfault when the window-size is made smaller.
8134 Calculate jitter before performing the clock wait. Ideally
8135 the clock implementation should calculate jitter but we need
8136 API breakage for that.
8138 * gst/gstsystemclock.c: (gst_system_clock_init):
8141 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8142 Remove leftover else
8144 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
8145 (gst_systemclock_suite):
8146 Added check to test GST_CLOCK_DIFF.
8148 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
8150 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
8151 (gst_type_find_helper_get_range):
8152 If we are provided with the size, we should implement
8153 GstTypeFind::get_length, so that typefind functions who
8154 want to can actually peek at the middle of a file.
8156 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
8158 * docs/manual/advanced-dataaccess.xml:
8159 Add some very very basic error checking.
8161 * docs/pwg/appendix-checklist.xml:
8162 Some updates to the list of things to check when writing an element.
8164 2006-03-08 Wim Taymans <wim@fluendo.com>
8166 * docs/design/part-element-transform.txt:
8167 Added some docs about the design of tranform elements.
8169 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8170 (gst_base_src_loop), (gst_base_src_change_state):
8171 Mark buffers with the DISCONT flag.
8173 2006-03-08 Michael Smith <msmith@fluendo.com>
8175 * gst/gstregistry.h:
8176 * gst/gstregistryxml.c: (gst_registry_save),
8177 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
8178 (gst_registry_xml_save_pad_template),
8179 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
8180 (gst_registry_xml_write_cache):
8181 Rewrite registry-saving to avoid race conditions and check for
8184 2006-03-08 Wim Taymans <wim@fluendo.com>
8186 * libs/gst/base/gstbasetransform.c:
8187 (gst_base_transform_transform_caps),
8188 (gst_base_transform_transform_size),
8189 (gst_base_transform_prepare_output_buffer),
8190 (gst_base_transform_get_unit_size),
8191 (gst_base_transform_buffer_alloc),
8192 (gst_base_transform_handle_buffer),
8193 (gst_base_transform_change_state):
8194 Cleanups, separate normal flow from errors, add sensible
8196 Don't try to renegotiate when allocating an output buffer.
8197 Also copy DISCONT buffer flag when copying a buffer.
8198 Reset the transform after we finish streaming, not during.
8200 2006-03-08 Wim Taymans <wim@fluendo.com>
8202 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8203 Use last buffer timestamp in qos message.
8205 2006-03-07 Wim Taymans <wim@fluendo.com>
8207 Patch by: Christophe Fergeau
8209 * docs/pwg/advanced-tagging.xml:
8210 * docs/pwg/building-pads.xml:
8213 2006-03-07 Wim Taymans <wim@fluendo.com>
8215 * docs/libs/gstreamer-libs-sections.txt:
8216 Added basesink new methods.
8220 Docs updates. Flesh out the QoS docs.
8222 * libs/gst/base/gstadapter.c:
8223 Small doc clarification about ownership and flushing.
8225 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
8226 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
8227 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
8228 (gst_base_sink_get_property), (gst_base_sink_do_sync):
8229 * libs/gst/base/gstbasesink.h:
8231 Added new methods to allow subclass to control max-lateness
8233 Generate very basic QoS events based on last sync observation.
8234 Updated docs, fix typo, added some QoS blurb.
8236 * libs/gst/base/gstbasesrc.c:
8237 Remove obsolete _get_state() calls from docs.
8239 2006-03-07 Wim Taymans <wim@fluendo.com>
8241 * docs/libs/gstreamer-libs-sections.txt:
8242 * libs/gst/base/gstbasetransform.h:
8243 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
8244 Fix docs for GstBaseSrc.
8246 2006-03-07 Wim Taymans <wim@fluendo.com>
8248 * docs/gst/gstreamer-sections.txt:
8251 * libs/gst/base/gstbasetransform.h:
8252 Small documentation fixes.
8254 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
8257 Document thread-unsafety of gst_value_register_foo_func()
8258 when used at the same time as gst_value_foo() (#322628).
8260 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
8262 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
8263 (gst_push_src_check_get_range):
8264 Push sources don't support pull mode by default.
8266 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
8268 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8269 (gst_base_src_init), (gst_base_src_pad_check_get_range),
8270 (gst_base_src_default_check_get_range):
8271 * libs/gst/base/gstbasesrc.h:
8272 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
8273 provide default implementation, and rename
8274 gst_base_src_check_get_range() to
8275 gst_base_src_pad_check_get_range() for clarity.
8277 2006-03-06 Wim Taymans <wim@fluendo.com>
8279 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8280 Make property overridable.
8282 2006-03-06 Wim Taymans <wim@fluendo.com>
8284 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8285 (gst_base_sink_init), (gst_base_sink_set_property),
8286 (gst_base_sink_get_property), (gst_base_sink_do_sync):
8287 * libs/gst/base/gstbasesink.h:
8288 API addition: Make max-lateness a property.
8290 2006-03-06 Wim Taymans <wim@fluendo.com>
8292 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
8293 (gst_base_sink_do_sync), (gst_base_sink_render_object):
8294 Don't ever draw a frame that is >10ms late.
8296 2006-03-06 Michael Smith <msmith@fluendo.com>
8298 * gst/gstmessage.c: (_gst_message_copy):
8299 When copying a message, set the parent_refcount of the enclosed
8300 structure to point at the copy, not the original message.
8302 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
8304 Patch by: Christophe Fergeau
8307 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
8308 usable in c++ code (#333417)
8310 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
8313 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
8315 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
8317 * libs/gst/base/gstbasetransform.c:
8318 (gst_base_transform_transform_caps):
8319 Make sure caps are writable before passing them to
8322 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
8325 Fix some minor docs errors.
8327 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
8329 Patch by: Ross Burton <ross at burtonini dot com>
8331 * gst/gsterror.c: (_gst_resource_errors_init):
8333 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
8335 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
8338 Add a check and output a g_warning when GStreamer is built
8339 against GLib 2.6 but running against 2.8 or higher, and vice
8340 versa. (Closes: #323542)
8342 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
8344 * gst/parse/parse.l:
8345 Commit patch for parse_launch syntax from #331255. Removes
8346 support for quoted strings and mimetypes when writing filtered
8347 caps. See the bug report for more details - I'm pretty sure this
8348 obscure feature is not in use by _anyone_ anywhere.
8350 With this simple change, the size of the gstreamer.so here
8351 drops from 2193KB to 1565KB.
8353 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8355 * plugins/elements/gsttypefindelement.h:
8356 * plugins/elements/gsttypefindelement.c:
8357 (gst_type_find_element_src_event), (start_typefinding),
8358 (stop_typefinding), (gst_type_find_element_handle_event),
8359 (gst_type_find_element_chain),
8360 (gst_type_find_element_chain_do_typefinding):
8361 Use gst_type_find_helper_for_buffer() for chain-based
8364 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8366 * plugins/elements/gsttypefindelement.c:
8367 (gst_type_find_element_class_init),
8368 (gst_type_find_element_set_property),
8369 (gst_type_find_element_get_property):
8370 Deprecate "maximum" property (not only was it only taken into
8371 account for typefinding in push-mode anyway, it also was never
8372 actually possible to set it in the first place because the
8373 property was registered with the numeric property ID for the
8374 "minimum" property). Register "maximum" property correctly,
8375 for the sake of future copy'n'pasters. Remove some cruft
8376 from property get/set functions.
8378 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8380 * plugins/elements/gsttypefindelement.c:
8381 (gst_type_find_element_activate):
8382 Use gst_type_find_helper_get_range() here, so we
8383 can honour the "minimum" property and also emit
8384 the signal with the correct probability of the found caps.
8386 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
8388 * docs/libs/gstreamer-libs-sections.txt:
8389 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
8390 (helper_find_suggest), (gst_type_find_helper_get_range),
8391 (gst_type_find_helper):
8392 * libs/gst/base/gsttypefindhelper.h:
8393 New API: gst_type_find_helper_get_range() (#333042).
8395 2006-03-02 Michael Smith <msmith@fluendo.com>
8397 * gst/gstregistryxml.c: (load_feature):
8398 Asserting on a failure to read part of the registry is Not Cool.
8399 Just log a warning and return NULL (which is already handled)
8401 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
8403 * win32/common/libgstbase.def:
8404 added export of gst_type_find_helper_for_buffer
8405 * win32/common/libgstbase.def:
8406 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
8407 gst_ghost_pad_get_target
8409 2006-02-28 Wim Taymans <wim@fluendo.com>
8411 * docs/design/draft-klass.txt:
8413 Added Connector to mark elements that are only used to
8414 allow pipeline connections.
8415 Moved Debug to extra feature since most of them are
8416 functionally something else.
8418 2006-02-28 Wim Taymans <wim@fluendo.com>
8420 * docs/design/draft-klass.txt:
8421 Some updates and clarifications.
8423 2006-02-28 Wim Taymans <wim@fluendo.com>
8425 * docs/design/draft-klass.txt:
8426 Proposal for klass field values.
8428 * docs/design/part-streams.txt:
8429 Start of a doc describing stream anatomy.
8431 2006-02-28 Wim Taymans <wim@fluendo.com>
8433 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
8434 Help the compiler a bit with type registration.
8435 Use existing forward cod path instead of duplicating it when
8438 * gst/gstbus.c: (gst_bus_get_type):
8439 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
8440 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
8441 * gst/gstclock.c: (gst_clock_get_type):
8442 * gst/gstelement.c: (gst_element_get_type),
8443 * gst/gstelementfactory.c: (gst_element_factory_get_type):
8444 * gst/gstindexfactory.c: (gst_index_factory_get_type):
8445 * gst/gstminiobject.c: (gst_mini_object_get_type):
8446 * gst/gstpad.c: (gst_pad_get_type):
8447 * gst/gstsegment.c: (gst_segment_get_type):
8448 * gst/gststructure.c: (gst_structure_get_type):
8449 * gst/gstsystemclock.c: (gst_system_clock_get_type):
8450 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
8452 Help compiler with type registration.
8454 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8457 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8459 * plugins/elements/gsttypefindelement.c:
8460 (gst_type_find_element_handle_event):
8461 When we get an EOS event and have not found a type yet
8462 (most likely because we had not yet accumulated
8463 TYPE_FIND_MIN_SIZE of data yet), try to determine the
8464 type given the data we have so far. Fixes typefinding
8465 for very short streams again, most notably quicktime
8466 redirections as used on Apple's trailer site (#331701).
8468 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8470 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
8471 (gst_type_find_helper):
8472 Try typefinding factories with the highest rank first.
8474 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8476 * docs/libs/gstreamer-libs-docs.sgml:
8477 * docs/libs/gstreamer-libs-sections.txt:
8478 * libs/gst/base/gsttypefindhelper.c:
8479 Add section for typefind helper and add documentation
8480 for the old and the new function.
8482 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8484 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
8485 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
8486 (gst_type_find_helper_for_buffer):
8487 * libs/gst/base/gsttypefindhelper.h:
8488 New API: gst_type_find_helper_for_buffer() (#332723).
8490 2006-02-27 Michael Smith <msmith@fluendo.com>
8492 Patch by: Loïc Minier
8496 * docs/slides/Makefile.am:
8497 prevent CVS directories getting disted.
8499 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8501 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
8502 Use the REFCOUNTING category for caps refcounting.
8504 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
8506 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
8507 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
8509 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
8511 * plugins/elements/gsttypefindelement.c:
8512 (gst_type_find_element_activate):
8513 Use gst_pad_check_pull_range() before _activate_pull()
8514 to avoid unnecessary open/close (see #331690).
8516 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
8519 Docs enhancement: make it crystal clear what the
8520 gst_pad_add_*_probe() callbacks should look like.
8522 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
8524 * libs/gst/base/gstbasesrc.c:
8525 Document how applications can stop recording from
8526 live sources (see #330996).
8528 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8530 * tests/check/Makefile.am:
8531 * tests/check/libs/basesrc.c: (eos_event_counter),
8532 (basesrc_eos_events_pull), (basesrc_eos_events_push),
8533 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
8534 (gst_basesrc_suite), (main):
8535 ... and add some tests for the base source EOS stuff.
8537 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8539 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
8540 Test case originally showed the problem fixed below,
8541 but was then amended. Add checks back at the place
8542 where they used to be.
8544 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8546 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8547 (gst_base_src_init), (gst_base_src_loop),
8548 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8549 (gst_base_src_change_state):
8550 * libs/gst/base/gstbasesrc.h:
8551 Don't unconditionally send EOS when going from PAUSED to
8552 READY state, esp. make sure we don't send two EOS events
8553 in some cases (e.g. one when reaching EOS and one when
8554 going from PAUSED to READY). Also, we don't want to send
8555 EOS events when operating in pull mode. However, we do
8556 want to send an EOS event when shutting down a live
8557 source explicitly, for example (fixes #330996).
8559 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8561 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8562 Update src->read_position after a seek when not using mmap.
8563 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
8565 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
8571 Make things work with --disable-parse as they do with
8572 --disable-load-save - the symbols involved disappear, but the
8573 header is still installed and GST_DISABLE_PARSE is included via
8576 2006-02-20 Julien MOUTTE <julien@moutte.net>
8578 * libs/gst/base/gstbasetransform.c:
8579 (gst_base_transform_change_state): Fix a stupid bug. I was
8580 sure I compiled that.
8582 2006-02-20 Julien MOUTTE <julien@moutte.net>
8584 * gst/gstpad.c: (gst_pad_set_blocked_async):
8585 * gst/gstutils.c: (gst_pad_add_data_probe),
8586 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8587 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8588 (gst_pad_remove_buffer_probe): Make those function act on the
8589 ghostpad target when it's a ghostpad. (Closes #331727)
8591 2006-02-20 Julien MOUTTE <julien@moutte.net>
8593 * libs/gst/base/gstbasetransform.c:
8594 (gst_base_transform_change_state): Make basetransform reusable.
8597 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
8599 * docs/random/release:
8600 Move the current documentation of how to do a release to the top
8603 * gst/gstbin.c: (gst_bin_class_init),
8604 (gst_bin_handle_message_func):
8605 Allow multiple state-recalculation threads. (Closes #328873)
8607 2006-02-19 Julien MOUTTE <julien@moutte.net>
8609 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
8610 * gst/gstpad.c: (gst_pad_set_event_function),
8611 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8612 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
8613 2 strings. You can't use the STR_NULL macro on that.
8615 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
8617 * gst/gstpad.c: (gst_pad_set_event_function),
8618 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8619 (gst_pad_set_getcaps_function)
8620 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8621 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8622 So now, we can use --gst-debug-level=5 on Windows
8623 * win32/common/libgstcontroller.def:
8624 Added export of gst_controller_init
8625 * win32/vs6/libgstcontroller.dsp:
8626 Fixed Release post build configuration
8628 2006-02-17 Wim Taymans <wim@fluendo.com>
8630 * tests/check/gst/gstquery.c: (GST_START_TEST):
8631 Added another check.
8633 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
8635 * plugins/elements/gsttypefindelement.c: (find_peek):
8636 We can do peeks at non-zero offsets, as long as they
8637 fall within the buffer we have.
8639 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
8641 * tests/check/Makefile.am:
8642 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8643 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8644 (parse_suite), (main):
8645 Add testsuite for parse launch syntax
8647 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
8649 * plugins/elements/gsttypefindelement.c:
8650 (gst_type_find_element_chain):
8651 When typefinding is unsuccessful in the chain function, don't
8652 error out immediately. Only error out with NO_CAPS_FOUND if
8653 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8654 otherwise simply wait for more data so we can try typefinding
8655 again with more data later. Also, don't attempt to typefind
8656 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8657 this should improve typefinding from network sources where the
8658 size of the first buffer can be somewhat random.
8660 2006-02-14 Wim Taymans <wim@fluendo.com>
8662 * docs/gst/gstreamer-sections.txt:
8663 * gst/gstpadtemplate.c:
8664 * gst/gstpadtemplate.h:
8665 Fix padtemplate docs, fixes #328805.
8667 2006-02-14 Wim Taymans <wim@fluendo.com>
8669 * tools/gst-launch.c: (main):
8670 NO_PREROLL is not an ERROR so don't send confusing messages
8673 2006-02-14 Wim Taymans <wim@fluendo.com>
8675 Patch by: Torsten Schoenfeld
8677 * gst/gstregistry.c: (gst_registry_get_default),
8678 (_gst_registry_cleanup):
8679 Protect default registry with lock and ref/sink it.
8682 2006-02-14 Wim Taymans <wim@fluendo.com>
8685 * gst/gstquery.c: (gst_query_list_add_format),
8686 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8687 (gst_query_parse_formats_nth):
8688 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8691 2006-02-14 Wim Taymans <wim@fluendo.com>
8693 * docs/gst/gstreamer-sections.txt:
8694 Reworked query docs.
8696 * gst/gstquery.c: (gst_query_new_formats),
8697 (gst_query_list_add_format), (gst_query_set_formats),
8698 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8699 (gst_query_parse_formats_nth):
8701 Flesh out formats query, added some new methods.
8702 Fix part of #324398.
8704 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8705 Added query creation tests.
8707 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
8709 * gst/gstpad.c: (fixate_value):
8710 Add a default fixation for fraction lists.
8712 2006-02-13 Wim Taymans <wim@fluendo.com>
8714 * gst/gsttask.c: (gst_task_init), (gst_task_func),
8715 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8718 Detect and warn for obvious deadlocks. fixes #320340
8719 Fix error case where lock was not released.
8721 * tests/check/Makefile.am:
8722 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8723 (task_func), (gst_element_suite), (main):
8726 2006-02-13 Wim Taymans <wim@fluendo.com>
8728 * docs/gst/gstreamer-sections.txt:
8730 Add new functions to docs.
8732 2006-02-13 Wim Taymans <wim@fluendo.com>
8734 * docs/design/part-TODO.txt:
8735 Updated TODO list, basesrc supports seeking to non-bytes
8738 * docs/design/part-element-sink.txt:
8741 * gst/gstbin.c: (bin_replace_message),
8742 (gst_bin_handle_message_func):
8743 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8744 * gst/gstevent.c: (gst_event_finalize):
8745 * gst/gstpad.c: (gst_pad_event_default_dispatch),
8746 (gst_pad_send_event):
8747 Use shiny new _TYPE_NAME macros.
8749 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8750 Move debug statement up.
8752 * gst/gstelement.c: (gst_element_set_locked_state):
8755 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
8757 * docs/gst/gstreamer-sections.txt:
8760 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8761 macros (#330906). Also, document the already existing
8762 GST_QUERY_TYPE macro.
8764 2006-02-13 Wim Taymans <wim@fluendo.com>
8766 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8767 (event_probe), (GST_START_TEST):
8768 Only events up to the pipeline EOS are counted, there are
8769 some more when going to NULL currently which we don't care
8772 2006-02-13 Wim Taymans <wim@fluendo.com>
8774 * gst/gstpad.c: (gst_pad_send_event):
8775 Correctly check flushing and emit probes. fixes #330125
8777 2006-02-10 Andy Wingo <wingo@pobox.com>
8779 * gst/gstbus.c (gst_bus_class_init): Declare our private data
8781 (gst_bus_init): Cache the location of the private data in the
8783 (gst_bus_enable_sync_message_emission)
8784 (gst_bus_disable_sync_message_emission): Implement new public
8786 (gst_bus_post): Emit the sync-message signal if the user asked for
8789 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8790 location of the bus-private structure.
8791 (gst_bus_enable_sync_message_emission)
8792 (gst_bus_disable_sync_message_emission): API addition
8794 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
8796 Patch by: Vincent Torri
8798 * docs/pwg/building-boiler.xml:
8799 PWG patch from #326800
8801 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
8805 * docs/design/Makefile.am:
8808 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8813 === release 0.10.3 ===
8815 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8818 releasing 0.10.3, "Like a virgin"
8820 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8823 2nd prerelease of 0.10.3
8824 Bump libtool versioning.
8826 2006-02-07 Andy Wingo <wingo@pobox.com>
8828 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8829 update last_stop if we're in TIME format and the timestamp is
8832 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
8833 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
8834 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8835 If we get a new newsegment with a different format, adapt
8838 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8839 of 0. Not a problem, really.
8841 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8844 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
8849 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
8852 project files updated to the default vs7 configuration
8853 * win32/common/libgstbase.def:
8854 * win32/common/libgstreamer.def:
8856 removed empty lines,
8857 sorted all exported symbols alphabetically
8858 * win32/common/dirent.c:
8859 * win32/common/dirent.h:
8860 * win32/common/gchar.h:
8861 use windows line end.
8863 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8865 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8866 Send EOS event when stopping.
8868 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8871 Tell folks what to do if the plugin-foobar.xml file
8872 hasn't been generated for a newly-added plugin.
8874 2006-02-05 Julien MOUTTE <julien@moutte.net>
8876 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8877 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8878 (gst_collect_pads_start), (gst_collect_pads_stop),
8879 (gst_collect_pads_event): Collectpads now holds a reference
8880 to the GstPad that was added. Indeed we don't want to look
8881 at pads that might just go away with no warning...
8883 2006-02-05 Julien MOUTTE <julien@moutte.net>
8885 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8886 (gst_collect_pads_start), (gst_collect_pads_stop),
8887 (gst_collect_pads_event), (gst_collect_pads_chain):
8888 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8889 Mark Nauwelaerts's patch on bug #328491.
8891 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8893 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8895 Add some simple tests for gst_parse_bin_from_description() and
8896 gst_bin_find_unconnected_pad() (#329069).
8898 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8900 * tools/gst-launch.c: (event_loop), (main):
8901 Catch errors during preroll (#320084).
8903 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
8905 * plugins/elements/gsttypefindelement.c:
8906 (gst_type_find_element_activate):
8907 Post TYPE_NOT_FOUND error message when typefinding
8908 is unsuccessful in the activate function as well.
8910 2006-02-02 Wim Taymans <wim@fluendo.com>
8912 * docs/design/part-element-sink.txt:
8915 2006-02-02 Wim Taymans <wim@fluendo.com>
8917 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8918 (gst_base_sink_render_object),
8919 (gst_base_sink_queue_object_unlocked):
8920 Only keep track of prerollable items when we are
8922 Before rendering after preroll, always check if we
8924 Added some more debugging.
8926 2006-02-02 Wim Taymans <wim@fluendo.com>
8928 * gst/gstelement.c: (gst_element_continue_state),
8929 (gst_element_set_state_func), (gst_element_change_state):
8930 Fixed #326576, been running this for quite some time with
8931 no regressions at all.
8933 2006-02-02 Wim Taymans <wim@fluendo.com>
8936 Added more suppressions
8938 2006-02-02 Wim Taymans <wim@fluendo.com>
8940 * docs/design/part-element-sink.txt:
8943 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8944 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8945 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8946 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8947 (gst_base_sink_do_sync), (gst_base_sink_render_object),
8948 (gst_base_sink_preroll_object),
8949 (gst_base_sink_queue_object_unlocked),
8950 (gst_base_sink_queue_object), (gst_base_sink_event),
8951 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8952 (gst_base_sink_loop), (gst_base_sink_activate_pull),
8953 (gst_base_sink_get_position), (gst_base_sink_change_state):
8954 * libs/gst/base/gstbasesink.h:
8955 Totally refactored matching the design doc.
8956 Use two segments, one to clip incomming buffers and another to
8958 Handle queueing correctly, bypass the queue when playing.
8959 Make EOS cancelable.
8960 Handle errors correctly when operating in pull based mode.
8962 * tests/check/elements/fakesink.c: (GST_START_TEST),
8964 Added new check for sinks.
8966 2006-02-02 Wim Taymans <wim@fluendo.com>
8968 * gst/gstsegment.c: (gst_segment_clip):
8969 No reason to refuse to clip when start == -1
8971 2006-02-02 Stefan Kost <ensonic@users.sf.net>
8974 * docs/manual/intro-basics.xml:
8975 * docs/manual/intro-preface.xml:
8976 * docs/manual/manual.xml:
8977 * docs/pwg/advanced-dparams.xml:
8978 * docs/pwg/intro-basics.xml:
8979 * docs/pwg/intro-preface.xml:
8981 describe dparams (controller) for plugins
8982 unify docs a little more
8984 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
8986 * docs/gst/gstreamer-sections.txt:
8987 * gst/gstutils.c: (element_find_unconnected_pad),
8988 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8990 Add new API: gst_parse_bin_from_description() and
8991 gst_bin_find_unconnected_pad() (#329069).
8993 2006-02-01 Stefan Kost <ensonic@users.sf.net>
8995 * docs/manual/README:
8996 uncover a nasty detail of the docs build
8998 2006-01-31 Wim Taymans <wim@fluendo.com>
9000 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
9001 Don't cache duration messages if we're not going to use or
9004 2006-01-31 Stefan Kost <ensonic@users.sf.net>
9006 * docs/manual/advanced-dparams.xml:
9007 * docs/pwg/advanced-dparams.xml:
9011 * libs/gst/controller/lib.c: (gst_controller_init):
9014 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
9016 * gst/gstelement.c: (gst_element_message_full):
9017 also show file/line/func if no additional debug was given
9019 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
9021 * win32/vs7/grammar.vcproj:
9022 activate copy of autogenerated files for Release mode
9024 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
9026 * win32/common/libgstreamer.def:
9027 export gst_value_compare
9029 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
9031 * plugins/elements/Makefile.am:
9032 * plugins/elements/gstelements.c:
9033 * plugins/elements/gstfdsink.c: (_do_init),
9034 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
9035 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
9036 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
9037 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
9038 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
9039 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
9040 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
9041 * plugins/elements/gstfdsink.h:
9042 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
9044 2006-01-30 Stefan Kost <ensonic@users.sf.net>
9046 * docs/manual/advanced-dparams.xml:
9048 * docs/manual/advanced-position.xml:
9049 * docs/manual/basics-init.xml:
9050 * docs/manual/manual.xml:
9051 * docs/manual/titlepage.xml:
9053 * docs/pwg/titlepage.xml:
9054 cleanup xml (more to come)
9055 * libs/gst/controller/gstcontroller.c:
9058 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
9060 * win32/vs6/grammar.dsp:
9061 add autogen of gstmarshal.c,h for Release mode
9063 2006-01-30 Wim Taymans <wim@fluendo.com>
9065 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9066 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
9067 (gst_base_sink_handle_object), (gst_base_sink_event),
9068 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
9069 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9070 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
9071 (gst_base_sink_deactivate), (gst_base_sink_activate),
9072 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
9073 (gst_base_sink_query), (gst_base_sink_change_state):
9074 Basesink cleanups, remove some old code.
9075 Handle the case where a subclass can preroll in the render
9076 method (mostly audiosinks).
9078 Remove some locks around variables that are now protected
9079 with the PREROLL_LOCK (clock_id, flushing, ..).
9080 Optimize position query some more, do correct locking.
9081 Remove old code to push queue in state change, this is not
9082 needed anymore since preroll blocks on all prerollable items
9084 Almost implemented as described in design doc.
9086 2006-01-30 Wim Taymans <wim@fluendo.com>
9088 * tests/check/gst/gstbin.c: (GST_START_TEST):
9089 Wait for refcount to settle down before checking.
9091 2006-01-30 Wim Taymans <wim@fluendo.com>
9093 * docs/design/part-element-sink.txt:
9094 Pseudo code overview of desired sink behaviour regarding
9097 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
9098 * win32/vs6/grammar.dsp:
9099 fix some bugs in Release mode for autogenerated files
9101 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
9102 * win32/common/libgstbase.def:
9103 * win32/common/libgstreamer.def:
9104 export some new symbols: gst_base_src_set_format,
9105 gst_iterator_next, gst_structure_set_valist
9107 2006-01-29 Julien MOUTTE <julien@moutte.net>
9109 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
9110 Set pad functions unconditionally. Fixes #329105.
9112 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
9114 add vs8 project files created by Sergey Scobich
9116 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
9118 * gst/gstutils.c: (gst_element_unlink_pads):
9119 Don't leak pad references.
9121 * tests/check/elements/fakesink.c: (GST_START_TEST):
9122 * tests/check/generic/sinks.c: (GST_START_TEST):
9123 * tests/check/generic/states.c: (GST_START_TEST):
9124 * tests/check/gst/gstbin.c: (GST_START_TEST):
9125 * tests/check/gst/gstcaps.c: (GST_START_TEST):
9126 * tests/check/gst/gstelement.c: (GST_START_TEST):
9127 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9128 * tests/check/gst/gstiterator.c: (GST_START_TEST):
9129 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9130 Fix a bunch of leaks. Make generic/sinks.c
9131 use a bit less cpu by slowing the buffer rate
9132 between fakesrc and fakesink.
9134 2006-01-27 Stefan Kost <ensonic@users.sf.net>
9136 * gst/gstelement.c: (gst_element_send_event):
9139 * gst/gstiterator.c:
9140 * gst/gstiterator.h:
9141 * gst/gstpad.c: (gst_pad_send_event):
9142 * gst/gststructure.c:
9146 * libs/gst/base/gstadapter.c:
9147 doc fixes, to link to function, just write gst_cool_function(), don't
9150 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
9152 * plugins/elements/gsttee.c: (gst_tee_do_push),
9153 (gst_tee_handle_buffer):
9154 Always prefer an actual return value from a src
9155 pad in place of NOT_LINKED. This means we return
9156 WRONG_STATE when all src pads are WRONG_STATE
9157 instead of NOT_LINKED.
9159 Lock when replacing the last message to prevent
9160 racing with the get_property method.
9164 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
9166 * tests/check/Makefile.am:
9167 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
9169 Add a very simple check that should have caught the memleak I fixed
9170 last night (if not for the slice allocator hiding it)
9172 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
9174 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9175 (gst_bin_remove_func), (gst_bin_handle_message_func),
9176 (bin_query_duration_fold), (bin_query_generic_fold):
9177 Clean up references to the clock provider when disposed or when
9178 handling a clock-lost message from it.
9180 Unref sinks when performing a query via gst_iterator_fold, as the
9181 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
9183 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
9184 (gst_clock_set_master):
9185 Drop our reference to the master clock, if any, when we are disposed.
9187 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
9188 Chain up in dispose.
9190 2006-01-26 Wim Taymans <wim@fluendo.com>
9192 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9195 2006-01-26 Julien MOUTTE <julien@moutte.net>
9197 * plugins/elements/gsttee.c: (gst_tee_do_push),
9198 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
9199 handles pad being NOT_LINKED or in WRONG_STATE.
9201 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9206 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9209 remove obsolete entry
9211 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9213 * docs/gst/gstreamer-sections.txt:
9214 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
9215 (gst_bin_iterate_sources), (gst_bin_send_event):
9217 * gst/gstelement.c: (gst_element_send_event):
9219 * gst/gstpad.c: (gst_pad_send_event):
9220 added code for downstream events, reviewed docs in gstevent.c
9222 2006-01-25 Julien MOUTTE <julien@moutte.net>
9224 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9225 We only query position using the clock in the playing state.
9226 Query peer in the other cases.
9227 * win32/common/config.h: Updates.
9229 2006-01-24 Wim Taymans <wim@fluendo.com>
9231 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9232 A clock entry that is scheduled for the exact time of the
9233 clock is still in time.
9235 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9236 (gst_base_sink_do_sync):
9237 Add some more debug info.
9239 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
9242 Add new vs7 project files and solution.
9244 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
9247 all files removed as they were out-dated.
9249 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
9251 * docs/random/release:
9253 * gst/gstbin.c: (gst_bin_init):
9254 * gst/gstbus.c: (gst_bus_new):
9256 * gst/gstpipeline.c: (gst_pipeline_init):
9257 use gst_bus_new(), improve logging, fix docs
9258 * win32/common/config.h:
9259 update for cvs build
9261 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
9264 up required version of automake to 1.7
9266 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
9268 * win32/common/libgstreamer.def:
9269 export gst_buffer_is_metadata_writable
9271 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
9273 * docs/gst/gstreamer-sections.txt:
9275 Add gst_event_replace() (#327001)
9277 2006-01-20 Wim Taymans <wim@fluendo.com>
9279 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9280 Make it actually compile too..
9282 2006-01-20 Wim Taymans <wim@fluendo.com>
9285 Clarify behaviour of _is_equal() when passing NULL parameters.
9287 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9289 Cleanups. Don't unref NULL caps.
9290 When setting the same caps, protect caps of the pad with
9292 Use full functionality of _is_equal() when comparing caps.
9294 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
9296 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9297 Don't loop infinitely if there are no buffers to present. Partially
9298 fixes #327197, but collectpads is just broken for reusing elements
9299 to do multiple encodes atm.
9301 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
9303 * tools/gst-inspect.c: (print_element_features):
9304 * tools/gst-xmlinspect.c: (main):
9305 URL_HANDLER is not a plugin feature we can search for in
9308 2006-01-19 Edward Hervey <edward@fluendo.com>
9310 * gst/gstelement.c: (gst_element_pads_activate):
9311 When activating, do src pads first, then sink pads.
9312 When de-activating, do sink pads first, then src pads.
9314 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9316 * docs/gst/gstreamer-sections.txt:
9317 Add gst_index_add_associationv to the docs
9319 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9324 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
9325 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
9326 Do some refactoring. Doesn't actually change functionality,
9327 but makes landing the DRAIN event easier later.
9329 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
9331 * docs/pwg/advanced-scheduling.xml:
9332 Update from 0.9.x to 0.10 API and make example a bit
9335 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9337 * docs/gst/gstreamer-sections.txt:
9338 Add gst_buffer_(is|make)_metadata_writable methods.
9340 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9342 * docs/design/part-sparsestreams.txt:
9343 Update sparse streams doc, hopefully for greater clarity
9345 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
9347 * docs/design/part-events.txt:
9348 Remove mention of FILLER events.
9351 * docs/design/part-sparsestreams.txt:
9352 Write some things about using NEWSEGMENT to keep sparse streams
9355 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
9357 * gst/gstbin.c: (gst_bin_dispose):
9358 Guard gst_object_unref call against a NULL object (dispose
9359 can theoretically be called multiple times).
9361 2006-01-18 Wim Taymans <wim@fluendo.com>
9363 * gst/gstbin.c: (gst_bin_element_set_state):
9364 * gst/gstclock.c: (gst_clock_id_wait):
9365 Added some more debug info.
9367 * libs/gst/base/gstadapter.c:
9370 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9371 (gst_base_sink_do_sync), (gst_base_sink_chain):
9372 Added some comments.
9374 2006-01-18 Wim Taymans <wim@fluendo.com>
9376 * tests/check/Makefile.am:
9377 * tests/check/elements/fakesink.c: (chain_async_buffer),
9378 (chain_async), (chain_async_return), (GST_START_TEST),
9379 (fakesink_suite), (main):
9380 Added fakesink test that checks prerolling and clipping
9383 * tests/check/gst/gstutils.c: (GST_START_TEST):
9384 Make check run faster so that buildbots don't timeout.
9386 2006-01-18 Wim Taymans <wim@fluendo.com>
9388 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9389 (gst_base_sink_do_sync):
9391 When the sink finishes blocking on the preroll buffer, it can
9392 immediatly render it instead of rendering when the next buffer
9395 2006-01-18 Wim Taymans <wim@fluendo.com>
9397 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
9398 (gst_base_sink_get_property), (gst_base_sink_do_sync),
9399 (gst_base_sink_chain):
9401 GST_ELEMENT_CLOCK and sync are protected with LOCK.
9402 Don't store _last_stop if the buffer is dropped.
9404 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
9406 * plugins/elements/gsttypefindelement.c:
9407 (gst_type_find_element_class_init):
9408 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
9409 object method handler that sets the caps on the pad and we want
9410 that to happen before we emit the signal (fixes e.g. feeding a
9411 plain text file to decodebin).
9413 2006-01-18 Christian Schaller <Christian@fluendo.com>
9415 * gst/gstplugin.c: Add MPL and Proprietary as license options
9417 2006-01-18 Andy Wingo <wingo@pobox.com>
9419 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
9420 symbol was exported before, it appears this was just an oversight.
9422 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
9424 * gst/gstindex.c (gst_index_add_associationv): Changed int in
9425 prototype to gint. OK since this prototype was not in the header.
9427 2006-01-17 Andy Wingo <wingo@pobox.com>
9429 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
9430 registry while we remove plugins.
9432 * tools/gst-inspect.c (print_element_info): Don't unref the
9433 factory arg, that should be the responsibility of whatever code
9434 received the ref. Fixes a double-free when called from
9435 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
9436 (main): Unref the factory if we have one.
9437 (print_element_list): No change -- relies on the
9438 plugin_feature_list_free to free the list of features.
9440 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
9442 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9443 (gst_buffer_make_metadata_writable):
9445 * libs/gst/base/gstbasetransform.c:
9446 (gst_base_transform_prepare_output_buf):
9447 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9448 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9449 Replace gst_buffer_(make|is)_metadata_writable patch now
9450 that the release is out.
9452 2006-01-17 Andy Wingo <wingo@pobox.com>
9454 * gst/gstregistry.c: Reflow design comment. Update so as to speak
9455 in the present tense without reference to versions.
9457 * gst/gstregistry.c (gst_registry_add_plugin)
9458 (gst_registry_remove_plugin, gst_registry_remove_feature)
9459 (gst_registry_find_feature, gst_registry_get_feature_list)
9460 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
9461 (gst_registry_lookup, gst_registry_scan_path)
9462 (_gst_registry_remove_cache_plugins)
9463 (gst_registry_get_feature_list_by_plugin): Add argument
9466 === release 0.10.2 ===
9468 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
9471 releasing 0.10.2, "If man is five"
9473 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9477 * libs/gst/base/gstbasetransform.c:
9478 (gst_base_transform_prepare_output_buf):
9479 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9480 * tests/check/gst/gstbuffer.c: (gst_test_suite):
9481 Back out patch until after the release.
9483 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9485 * gst/gstminiobject.c:
9486 Spelling fix in docs.
9487 * ChangeLog - remove conflict indicator
9489 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9491 Reviewed By: Andy Wingo
9493 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9494 (gst_buffer_make_metadata_writable):
9496 Add gst_buffer_(is|make)_metadata_writable as analogues of
9497 gst_buffer_(is|make)_writable.
9499 * libs/gst/base/gstbasetransform.c:
9500 (gst_base_transform_prepare_output_buf):
9501 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9502 Use name gst_buffer_(is|make)_metadata_writable functions.
9504 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9505 Test gst_buffer_(is|make)_metadata_writable
9509 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
9511 * docs/manual/Makefile.am:
9512 don't do parallel make
9515 * win32/common/config.h.in:
9516 add generations for HOST_CPU and GST_MAJORMINOR
9517 * win32/common/config.h:
9518 commit generated result
9520 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
9522 * docs/manual/appendix-integration.xml:
9523 Update GNOME integration section to use gst_init_get_option_group()
9524 instead of the old popt stuff (#322911). Also, GNOME applications
9525 should now use gconf*sink and gconf*src instead of the old gconf
9528 2006-01-13 Stefan Kost <ensonic@users.sf.net>
9531 * docs/gst/gstreamer-docs.sgml:
9532 * docs/gst/gstreamer-sections.txt:
9533 * docs/libs/gstreamer-libs-sections.txt:
9534 add new API entries to the docs
9535 * libs/gst/controller/Makefile.am:
9536 * libs/gst/controller/gstcontroller.c:
9537 * libs/gst/controller/gstcontroller.h:
9538 * libs/gst/controller/gstcontrollerprivate.h:
9539 * libs/gst/controller/gsthelper.c:
9540 * libs/gst/controller/gstinterpolation.c:
9541 move private structs to private header
9543 gstreamer-0.7 -> gstreamer-0.10
9544 * tests/check/libs/struct_i386.h:
9545 remove private structs
9547 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
9549 * plugins/indexers/Makefile.am:
9550 Fixes as part of #317048
9552 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
9554 * plugins/indexers/Makefile.am:
9555 fix #316086 - compilation when mmap is missing
9557 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
9559 * libs/gst/base/gstbasesink.c:
9560 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
9561 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
9562 * win32/common/config.h:
9563 added some defines GST_MAJORMINOR and HOST_CPU
9564 * win32/common/libgstbase.def:
9565 * win32/common/libgstreamer.def:
9566 added some exported functions.
9568 2006-01-12 Stefan Kost <ensonic@users.sf.net>
9570 * libs/gst/controller/gstcontroller.c:
9571 (gst_controlled_property_set_interpolation_mode),
9572 (gst_controlled_property_new):
9573 * libs/gst/controller/gstcontroller.h:
9574 * libs/gst/controller/gstinterpolation.c:
9575 (interpolate_none_get_string_value_array):
9576 make G_TYPE_STRING controlable
9578 2006-01-12 Stefan Kost <ensonic@users.sf.net>
9581 * tools/gst-feedback.1.in:
9582 * tools/gst-inspect.1.in:
9583 * tools/gst-launch.1.in:
9584 * tools/gst-md5sum.1.in:
9585 * tools/gst-typefind.1.in:
9586 * tools/gst-xmlinspect.1.in:
9587 * tools/gst-xmllaunch.1.in:
9588 cleanup man-pages, remove reference to gst-register, document env-vars
9590 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
9592 * gst/gstbuffer.c: (gst_buffer_span):
9593 gst_buffer_span should copy the timestamp of the first buffer
9594 if they were both originally overlapping subbuffers of the
9595 same parent, using the same logic as the 'slow copy' case.
9597 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
9599 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
9600 Need to awaken ALL the pads when we pop a buffer, otherwise
9601 collectpads only works when there is 2 input streams.
9603 2006-01-11 Stefan Kost <ensonic@users.sf.net>
9605 * docs/random/ensonic/media-device-daemon.txt:
9608 fix doc example, add clarification
9609 * tools/gst-launch.1.in:
9610 add initial info about GST_PLUGIN_PATH, needs more work
9612 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
9614 * docs/manual/basics-bins.xml:
9615 * docs/manual/basics-elements.xml:
9616 * docs/manual/intro-basics.xml:
9617 Some more minor docs additions and updates.
9619 2006-01-11 Wim Taymans <wim@fluendo.com>
9621 * docs/manual/basics-bins.xml:
9622 * docs/manual/basics-elements.xml:
9623 Some small fixes as pointed out by Ser-ver on IRC.
9625 2006-01-10 Edward Hervey <edward@fluendo.com>
9627 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9628 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9629 the single-segment mode.
9631 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
9633 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9635 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9636 (gst_base_src_perform_seek), (gst_base_src_send_event),
9637 (gst_base_src_set_property), (gst_base_src_get_property),
9638 (gst_base_src_loop), (gst_base_src_start),
9639 (gst_base_src_activate_push):
9640 * libs/gst/base/gstbasesrc.h:
9641 Name (private) union; makes Sun's Forte compiler happy (#324900).
9643 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
9646 gst-register is gone.
9648 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
9650 * gst/gstvalue.c: (_gst_value_initialize):
9651 make the G_TYPE_DATE instantiation work if debug is disabled
9653 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
9655 * gst/gstmessage.c: (gst_message_parse_tag),
9656 (gst_message_parse_error), (gst_message_parse_warning):
9657 Don't crash when return location for error/warning debug
9658 string is NULL; add fact that return locations can be
9659 NULL to docs where appropriate.
9661 2006-01-05 Wim Taymans <wim@fluendo.com>
9663 * gst/gstplugin.c: (gst_plugin_load_file):
9664 Replace strdup by g_strdup.
9666 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9668 * docs/pwg/advanced-types.xml:
9671 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9673 submitted by: Abel Cheung
9677 Added Chinese (traditional) translation
9679 2006-01-04 Wim Taymans <wim@fluendo.com>
9681 * docs/manual/basics-pads.xml:
9682 * docs/plugins/Makefile.am:
9683 * docs/plugins/gstreamer-plugins-docs.sgml:
9684 * docs/plugins/gstreamer-plugins-sections.txt:
9685 * docs/pwg/advanced-clock.xml:
9686 * docs/pwg/advanced-scheduling.xml:
9687 * docs/pwg/advanced-types.xml:
9688 * plugins/elements/gstfdsink.c:
9689 * plugins/elements/gstfdsrc.c:
9690 * plugins/elements/gstfdsrc.h:
9691 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9692 * plugins/elements/gstidentity.h:
9693 * plugins/elements/gstqueue.h:
9694 * plugins/elements/gsttee.c:
9695 * plugins/elements/gsttee.h:
9696 * plugins/elements/gsttypefindelement.c:
9697 (gst_type_find_element_class_init):
9698 * plugins/elements/gsttypefindelement.h:
9699 Small updates to various docs.
9700 Added core plugins to docs.
9702 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9705 add a suppression for liboil's uninitialized variable
9707 2006-01-02 James Livingston <jrl at ids dot org dot au>
9709 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9712 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9713 macro, so that gcc doesn't complain if the -Wmissing-prototypes
9714 compiler switch is being used (#325429).
9716 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
9718 * gst/gstbin.c: (gst_bin_query):
9719 Disable duration query caching in bins until it gets
9720 fixed (see #324807).
9722 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9724 * tools/gst-inspect.c: (print_element_properties_info):
9725 Handle properties of POINTER and BOXED type.
9727 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9729 * gst/gst.c: (init_post):
9730 Init tags stuff and some other things before loading
9731 any static plugins (there may be other static plugins
9732 than just the GStreamer ones, and they may want to
9733 register their own tags or formats or whatever, and
9734 preferably without segfaulting).
9736 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9737 Print at least a warning in the debug logs if we drop a
9738 query just because we don't know how to adjust the value
9739 in the particular format.
9741 2005-12-24 David Schleef <ds@schleef.org>
9743 * tools/gstreamer-completion:
9744 Replacement for gst-complete written in sh and sed. Only
9745 completes names of features, but that's 90% of what I want
9746 it for. Properties are not available in registry.xml. (Maybe
9749 === release 0.10.1 ===
9751 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
9754 releasing 0.10.1, "Nollaig chridheil"
9756 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
9759 Add missing quote, should be make ERROR_CFLAGS="".
9761 2005-12-20 Wim Taymans <wim@fluendo.com>
9763 * docs/design/part-trickmodes.txt:
9764 More documentation on trickmodes.
9766 2005-12-20 Edward Hervey <edward@fluendo.com>
9768 * gst/gstcaps.c: (gst_static_caps_get_type):
9770 API addition: GST_TYPE_STATIC_CAPS
9771 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9772 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9773 * gst/gstpadtemplate.h:
9774 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9775 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9778 2005-12-18 Wim Taymans <wim@fluendo.com>
9780 * libs/gst/base/gstadapter.c:
9781 * libs/gst/base/gstadapter.h:
9782 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9783 (gst_base_sink_get_position):
9784 * libs/gst/base/gstbasesink.h:
9785 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9786 (gst_base_src_default_query), (gst_base_src_default_do_seek),
9787 (gst_base_src_do_seek), (gst_base_src_perform_seek),
9788 (gst_base_src_send_event), (gst_base_src_update_length),
9789 (gst_base_src_get_range), (gst_base_src_loop),
9790 (gst_base_src_start):
9791 * libs/gst/base/gstbasesrc.h:
9792 * libs/gst/base/gstbasetransform.h:
9793 * libs/gst/base/gstcollectpads.h:
9794 * libs/gst/base/gstpushsrc.c:
9795 * libs/gst/base/gstpushsrc.h:
9796 * libs/gst/dataprotocol/dataprotocol.c:
9797 * libs/gst/dataprotocol/dataprotocol.h:
9798 * libs/gst/net/gstnetclientclock.h:
9799 * libs/gst/net/gstnettimeprovider.h:
9800 Documentation updates.
9802 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
9804 * docs/manual/basics-helloworld.xml:
9805 Remove superfluous closing bracket in helloworld example.
9807 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
9809 * tools/gst-launch.1.in:
9810 Update gst-launch man page; add a section with useful
9811 environment variables. Fixes #323882.
9813 2005-12-16 Stefan Kost <ensonic@users.sf.net>
9816 * gst/gst_private.h:
9817 change some char* into char[]
9819 2005-12-16 Wim Taymans <wim@fluendo.com>
9821 * gst/gstregistryxml.c: (load_feature):
9823 Don't use g_object_unref on GstObjects so that we avoid
9824 leaks on unsafe glibs.
9826 2005-12-16 Wim Taymans <wim@fluendo.com>
9828 * gst/gstbin.c: (gst_bin_recalc_state):
9831 2005-12-16 Wim Taymans <wim@fluendo.com>
9834 Added make forever target for check.
9836 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
9838 * gst/gst.c: (init_post):
9839 make the registry cache file HOST_CPU-dependent
9841 2005-12-16 Andy Wingo <wingo@pobox.com>
9843 * plugins/elements/gstbufferstore.c
9844 (gst_buffer_store_cleared_func): Pay attention to g_list_append
9847 * tests/check/gst/gstobject.c
9848 (test_fake_object_name_threaded_unique): Pay attention to
9849 g_list_sort return value.
9851 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
9853 * tools/gst-feedback-m.m:
9854 Update for 0.9/0.10 (fixes #323870).
9856 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
9858 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9859 Fix lcopy for mini objects, the mini object needs to be ref'ed.
9861 * tests/check/gst/gstminiobject.c: (my_foo_init),
9862 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9863 (test_value_collection), (gst_mini_object_suite):
9864 Add test to ensure refcounts end up as expected when passing
9865 GstMiniObjects through g_object_get() and g_object_set().
9867 2005-12-14 Julien MOUTTE <julien@moutte.net>
9869 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9870 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9871 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9872 of collectpads. This version removes a lot of races without
9873 touching API/ABI. Yay !
9875 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
9877 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9878 Don't allow activation of a srcpad in pull_range if it has no
9880 Change some debug statements to be a little clearer
9882 * plugins/elements/gsttypefindelement.c:
9883 (gst_type_find_handle_src_query):
9884 Check that we have a peer before executing queries thereupon.
9886 * tests/examples/metadata/read-metadata.c: (message_loop):
9887 Use gst_bus_pop instead of gst_bus_poll when we just want it to
9888 immediately return us any available message with 0 timeout.
9890 2005-12-12 Michael Smith <msmith@fluendo.com>
9892 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9893 Don't unref factories after calling them.
9894 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9895 * plugins/elements/gsttypefindelement.c:
9896 (gst_type_find_element_chain):
9897 Free lists of factories after using them. Fixing typefinding memory
9900 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9902 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9903 (gst_plugin_feature_load):
9904 more meaningful debug output
9906 * tests/Makefile.am:
9907 * tests/old/examples/Makefile.am:
9908 make make distcheck happy again
9910 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9912 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9913 Catch the special case where we are operating chain-based,
9914 but the downstream peer pad has no chain function. Emit a
9915 custom error message in this case instead of letting the
9916 core generate one implying that this is some sort of core
9917 bug. It's not, it just means that whatever got plugged
9918 into the pipeline downstream when we announced the type
9919 can only operate pull-based, while our source can only
9920 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9921 Error string has not been marked for translation yet, as
9922 it probably needs some more work first.
9924 (gst_type_find_element_get_best_possibility):
9925 Add helper function to find the best of all available
9926 found possibilities that qualify given the min. threshold.
9928 (gst_type_find_element_handle_event):
9929 Fix the case where we get an EOS while still in TYPEFIND
9930 mode (we want to chose the best of all possible types,
9931 not just the first type that happens to be in our unsorted
9932 list of possible types).
9934 (gst_type_find_element_chain):
9935 Make sure we return GST_FLOW_ERROR when we errored out
9936 in stop_typefinding(); also, don't just find the best of
9937 all found type entries and then use the last examined
9938 type entry, but actually use the best entry.
9940 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9942 * tests/examples/typefind/typefind.c: (type_found):
9943 * tests/examples/xml/runxml.c: (xml_loaded):
9944 More gcc4 fixes and a mem leak fix.
9946 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9948 * tests/examples/xml/createxml.c: (object_saved):
9951 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9953 * tests/Makefile.am:
9954 enable the examples even more
9956 2005-12-12 Andy Wingo <wingo@pobox.com>
9958 * libs/gst/net/gstnettimeprovider.c
9959 (gst_net_time_provider_class_init, gst_net_time_provider_init)
9960 (gst_net_time_provider_set_property)
9961 (gst_net_time_provider_get_property):
9962 API addition: Export "active" as a GObject property.
9963 (gst_net_time_provider_thread): Only respond to time queries if
9964 the time provider is active.
9966 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9967 NetTimeProvider, preserving binary compat.
9969 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9971 * tests/examples/controller/audio-example.c: (main):
9972 * tests/examples/launch/Makefile.am:
9973 convert comments again
9975 2005-12-12 Wim Taymans <wim@fluendo.com>
9977 * libs/gst/base/gstpushsrc.c:
9980 2005-12-12 Wim Taymans <wim@fluendo.com>
9982 * docs/libs/gstreamer-libs-sections.txt:
9983 Added new symbol to docs.
9985 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9986 (gst_base_src_init), (gst_base_src_set_format),
9987 (gst_base_src_default_query), (gst_base_src_query),
9988 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9989 (gst_base_src_perform_seek), (gst_base_src_send_event),
9990 (gst_base_src_default_event), (gst_base_src_event_handler),
9991 (gst_base_src_set_property), (gst_base_src_get_property),
9992 (gst_base_src_wait), (gst_base_src_do_sync),
9993 (gst_base_src_update_length), (gst_base_src_get_range),
9994 (gst_base_src_check_get_range), (gst_base_src_loop),
9995 (gst_base_src_default_negotiate), (gst_base_src_start),
9996 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9997 (gst_base_src_change_state):
9998 * libs/gst/base/gstbasesrc.h:
9999 Implement seeking to other formats than _BYTES.
10000 Implement more seeking methods correctly.
10002 Added query vmethod.
10003 Added do_seek vmethod to make life easier for subclasses
10005 API addition: gst_base_src_set_format()
10007 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10009 * tests/examples/Makefile.am:
10012 2005-12-12 Stefan Kost <ensonic@users.sf.net>
10015 * docs/random/ensonic/media-device-daemon.txt:
10016 * tests/examples/controller/.cvsignore:
10017 * tests/examples/controller/Makefile.am:
10018 * tests/examples/controller/audio-example.c: (main):
10019 * tests/examples/helloworld/.cvsignore:
10020 * tests/examples/helloworld/Makefile.am:
10021 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
10022 * tests/examples/launch/.cvsignore:
10023 * tests/examples/launch/Makefile.am:
10024 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
10025 * tests/examples/metadata/.cvsignore:
10026 * tests/examples/metadata/Makefile.am:
10027 * tests/examples/metadata/read-metadata.c: (message_loop),
10028 (make_pipeline), (print_tag), (main):
10029 * tests/examples/queue/.cvsignore:
10030 * tests/examples/queue/Makefile.am:
10031 * tests/examples/queue/queue.c: (event_loop), (main):
10032 * tests/examples/typefind/.cvsignore:
10033 * tests/examples/typefind/Makefile.am:
10034 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
10036 * tests/examples/xml/.cvsignore:
10037 * tests/examples/xml/Makefile.am:
10038 * tests/examples/xml/createxml.c: (object_saved), (main):
10039 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
10040 * tests/old/examples/Makefile.am:
10041 * tests/old/examples/TODO:
10042 * tests/old/examples/controller/.cvsignore:
10043 * tests/old/examples/controller/Makefile.am:
10044 * tests/old/examples/controller/audio-example.c:
10045 * tests/old/examples/helloworld/.cvsignore:
10046 * tests/old/examples/helloworld/Makefile.am:
10047 * tests/old/examples/helloworld/helloworld.c:
10048 * tests/old/examples/launch/.cvsignore:
10049 * tests/old/examples/launch/Makefile.am:
10050 * tests/old/examples/launch/mp3parselaunch.c:
10051 * tests/old/examples/launch/mp3play:
10052 * tests/old/examples/manual/Makefile.am:
10053 * tests/old/examples/metadata/Makefile.am:
10054 * tests/old/examples/metadata/read-metadata.c:
10055 * tests/old/examples/queue/.cvsignore:
10056 * tests/old/examples/queue/Makefile.am:
10057 * tests/old/examples/queue/queue.c:
10058 * tests/old/examples/typefind/.cvsignore:
10059 * tests/old/examples/typefind/Makefile.am:
10060 * tests/old/examples/typefind/typefind.c:
10061 * tests/old/examples/xml/.cvsignore:
10062 * tests/old/examples/xml/Makefile.am:
10063 * tests/old/examples/xml/createxml.c:
10064 * tests/old/examples/xml/runxml.c:
10065 applied some simple fixing to some examples
10066 re-enabled the working examples
10068 2005-12-12 Wim Taymans <wim@fluendo.com>
10070 * gst/gstsegment.c: (gst_segment_init),
10071 (gst_segment_set_last_stop), (gst_segment_set_seek),
10072 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
10073 (gst_segment_to_running_time):
10074 Added more documentation.
10075 Make sure the last_pos value is updated properly.
10076 Make sure to_stream_time and to_running_time don't
10077 operate on wrong values.
10079 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10082 2005-12-12 Michael Smith <msmith@fluendo.com>
10084 * plugins/elements/gsttypefindelement.c: (free_entry),
10085 (gst_type_find_element_chain):
10086 Now that we're not leaking factories, make sure we keep references
10087 to them while we need them.
10089 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
10091 * tests/check/gst/struct_i386.h:
10092 ifdef out the XML structs
10094 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
10096 * gst/gstvalue.c: (gst_value_transform_double_fraction):
10097 floor is not needed, F is always positive; this obviates the
10098 need for adding -lm when building without libxml
10100 2005-12-12 Wim Taymans <wim@fluendo.com>
10102 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10103 Take current playback rate into account when reporting
10106 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10108 * docs/manual/mime-world.fig:
10109 Let's try this again, this time with a file that is
10110 actually in XFig format.
10112 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10114 * docs/manual/mime-world.fig:
10115 Add audioconvert element to diagram so that it
10116 matches the text and the code (fixes #319526).
10118 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10120 * docs/pwg/building-chainfn.xml:
10121 * docs/pwg/building-pads.xml:
10122 * docs/pwg/building-state.xml:
10123 * docs/pwg/other-source.xml:
10124 Update state change stuff for 0.10 (fixes #322969).
10126 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10128 * docs/manual/advanced-dataaccess.xml:
10129 * docs/manual/appendix-checklist.xml:
10130 * docs/manual/appendix-programs.xml:
10131 * docs/manual/basics-pads.xml:
10132 * docs/manual/highlevel-components.xml:
10133 * docs/manual/manual.xml:
10134 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
10135 add converters in front of pipelines; remove curly
10136 brackets for threads stuff, they no longer exist; use
10137 GST_TYPE_FRACTION for framerates; update some pieces of
10138 code to 0.10, but there's plenty more to do.
10140 * docs/manual/appendix-porting.xml:
10141 Expand on asynchroneous state changes; s/0.9/0.10/;
10142 mention disappearance of gst_init_get_popt_table()
10145 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
10147 * docs/faq/using.xml:
10148 Spider no longer exists, and neither does gst-launch-ext.
10149 Update examples to use decodebin and playbin and put
10150 converters in front of sinks (fixes #323726).
10152 2005-12-09 Michael Smith <msmith@fluendo.com>
10154 * plugins/elements/gsttypefindelement.c: (find_peek),
10155 (gst_type_find_element_chain):
10156 Fix leaking element factories in typefinding.
10157 Fix problem where we forgot about a probable type on non-seekable
10158 files, and thus later mis-typefound it.
10160 2005-12-09 Michael Smith <msmith@fluendo.com>
10162 * common/m4/gst-makecontext.m4:
10163 * common/m4/gst-mcsc.m4:
10165 * win32/common/config.h:
10166 * win32/common/config.h.in:
10167 Remove makecontext stuff; not used in 0.10 and causes problems on
10168 HPUX according to bug #322441
10170 2005-12-07 Wim Taymans <wim@fluendo.com>
10172 * tests/check/Makefile.am:
10173 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
10175 * tests/check/libs/struct_i386.h:
10176 Added ABI check for libs
10178 2005-12-07 Wim Taymans <wim@fluendo.com>
10180 * tests/check/Makefile.am:
10181 And add the struct_i386.h to dist.
10183 2005-12-07 Wim Taymans <wim@fluendo.com>
10185 * tests/check/Makefile.am:
10186 * tests/check/gst/.cvsignore:
10187 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
10189 * tests/check/gst/struct_i386.h:
10190 Added check for ABI compatibility.
10192 2005-12-07 Wim Taymans <wim@fluendo.com>
10194 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10195 (gst_fake_src_get_times), (gst_fake_src_create):
10196 Fix broken sync option, fixes #323259
10198 2005-12-07 Wim Taymans <wim@fluendo.com>
10203 * gst/gstcaps.c: (gst_caps_is_equal):
10204 Don't assert on NULL <--> X. Fixes #323260
10206 * gst/gstminiobject.c: (gst_mini_object_replace):
10207 If we're doing atomic operations, we might just as well use
10208 the proper way to get an atomic pointer.
10210 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10211 Clean up debugging.
10213 2005-12-07 Michael Smith <msmith@fluendo.com>
10215 * gst/parse/grammar.y:
10216 Remove handling of { } for threads.
10218 2005-12-06 David Schleef <ds@schleef.org>
10220 * libs/gst/base/gstbasetransform.c: speling fix.
10222 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
10224 * docs/libs/tmpl/gstdataprotocol.sgml:
10225 * docs/random/omega/testing/gstobject.c:
10228 * gst/gstelement.c:
10229 * gst/gstelementfactory.c:
10232 * gst/gstghostpad.c:
10234 * gst/gstpadtemplate.c:
10235 * gst/gstregistryxml.c:
10236 * gst/gsttaglist.c:
10237 * gst/gsttagsetter.c:
10238 * gst/gsttypefind.c:
10240 * libs/gst/base/gstbasesrc.c:
10241 * libs/gst/net/gstnetclientclock.c:
10242 * libs/gst/net/gstnettimeprovider.c:
10243 * plugins/elements/gstfakesrc.c:
10244 * plugins/elements/gstfdsrc.c:
10245 * plugins/elements/gstfilesrc.c:
10246 * plugins/elements/gstidentity.c:
10247 * plugins/elements/gstqueue.c:
10248 * plugins/elements/gsttypefindelement.c:
10249 * plugins/indexers/gstfileindex.c:
10250 * plugins/indexers/gstmemindex.c:
10251 * tests/check/gst/gsttag.c:
10252 * tests/old/examples/cutter/cutter.c:
10253 * tests/old/examples/mixer/mixer.c:
10254 * tests/old/examples/xml/runxml.c: (main):
10255 * tests/old/testsuite/caps/normalisation.c:
10256 * tests/old/testsuite/debug/global.c:
10257 * tests/old/testsuite/parse/parse1.c:
10258 * tools/gst-xmlinspect.c:
10259 * win32/common/dirent.c:
10262 === release 0.10.0 ===
10264 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10267 releasing 0.10.0, "Maroilles"
10269 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10271 submitted by: Funda Wang <fundawang@linux.net.cn>
10275 added Chinese (Traditional) translation
10277 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10279 * docs/gst/gstreamer-sections.txt:
10280 * docs/libs/tmpl/gstdataprotocol.sgml:
10281 * docs/random/thomasvs/TODO:
10286 2005-12-05 Andy Wingo <wingo@pobox.com>
10288 patch by: Wim Taymans <wim@fluendo.com>
10290 * libs/gst/base/gstbasetransform.c
10291 (gst_base_transform_prepare_output_buf)
10292 (gst_base_transform_buffer_alloc):
10293 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
10294 alloc_buffer_and_set_caps.
10296 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
10297 set_caps on the source pad.
10298 (gst_pad_alloc_buffer_and_set_caps): New function, does what
10299 alloc_buffer used to do. Fixes #322874.
10301 * docs/gst/gstreamer-sections.txt:
10302 * docs/design/part-negotiation.txt:
10303 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
10306 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10308 patch by: Sebastien Moutte
10311 * win32/common/config.h.in:
10312 * win32/vs6/libgstcontroller.dsp:
10315 2005-12-05 Wim Taymans <wim@fluendo.com>
10317 * gst/gstcaps.c: (gst_caps_is_equal):
10318 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10319 (gst_fake_src_create):
10320 Back out previous code changes, leave doc updates, file bugs
10323 2005-12-05 Wim Taymans <wim@fluendo.com>
10325 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10326 (gst_fake_src_get_times), (gst_fake_src_create):
10327 * plugins/elements/gstfakesrc.h:
10328 Fix broken sync code.
10330 2005-12-05 Wim Taymans <wim@fluendo.com>
10332 * gst/gstcaps.c: (gst_caps_is_equal):
10333 Comparing NULL against !NULL yields different caps, not a
10336 2005-12-05 Wim Taymans <wim@fluendo.com>
10338 * gst/gstpipeline.c:
10339 Fix small typo in docs.
10341 2005-12-05 Andy Wingo <wingo@pobox.com>
10343 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
10345 * gst/gst.c (init_post): remove hard-coded 0.9 location for
10346 registries/plugins with a MAJORMINOR one.
10347 (plugin_desc): Rename library from gstcoreleements to
10348 staticelements. Fixes #323222.
10350 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
10352 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
10353 Change debug category to 'collectpads' from 'collect_pads'
10356 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
10358 patch by: Sebastien Moutte
10360 * libs/gst/controller/gstinterpolation.c:
10361 use convert function for uint64/double
10362 * win32/vs6/libgstcontroller.dsp:
10365 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
10367 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
10368 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
10370 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10371 add tests that seem to show that the guint64/gdouble conversions
10374 2005-12-02 Wim Taymans <wim@fluendo.com>
10376 * gst/gstregistry.c: (gst_registry_add_path):
10377 * gst/gstregistry.h:
10378 * gst/gstregistryxml.c:
10381 2005-12-02 Wim Taymans <wim@fluendo.com>
10383 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10384 (gst_util_uint64_scale_int):
10387 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10388 Add debug log line.
10390 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
10393 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
10396 * win32/common/config.h:
10397 * win32/vs6/gstreamer.dsw:
10398 * win32/vs6/libgstcoreelements.dsp:
10399 * win32/vs6/libgstelements.dsp:
10400 renamed core elements plugin
10402 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
10404 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
10406 do piece-wise major/minor comparison so 0.9 < 0.10
10407 also allow .exe extensions for tools
10409 2005-12-02 Michael Smith <msmith@fluendo.com>
10412 Escape a % to make gtkdoc happier; bug 322958.
10414 === release 0.9.7 ===
10416 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10419 releasing 0.9.7, "My Dog Has No Nose"
10421 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10423 * common/gst-xmlinspect.py:
10425 * docs/libs/tmpl/gstdataprotocol.sgml:
10426 * docs/random/release:
10445 * win32/common/config.h:
10446 * win32/common/config.h.in:
10447 * win32/vs6/gst_inspect.dsp:
10448 * win32/vs6/gst_launch.dsp:
10449 * win32/vs6/libgstbase.dsp:
10450 * win32/vs6/libgstelements.dsp:
10451 * win32/vs6/libgstreamer.dsp:
10452 * win32/vs7/GStreamer.vcproj:
10453 * win32/vs7/gst-inspect.vcproj:
10454 * win32/vs7/gst-launch.vcproj:
10455 * win32/vs7/libgstbase.vcproj:
10456 bump GST_MAJORMINOR to 0.10
10457 reset libtool version
10459 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10463 Added Bulgarian translation by (Alexander Shopov)
10465 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10467 * tests/check/gst/gstplugin.c:
10470 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10472 * common/gst-xmlinspect.py:
10473 * common/gtk-doc-plugins.mak:
10475 * docs/Makefile.am:
10476 * docs/gst/Makefile.am:
10477 * docs/gst/gstreamer-docs.sgml:
10478 * docs/gst/gstreamer-sections.txt:
10479 * docs/gst/gstreamer.types:
10480 * docs/gst/gstreamer.types.in:
10481 * docs/plugins/Makefile.am:
10482 * docs/plugins/gstreamer-plugins-docs.sgml:
10483 * docs/plugins/gstreamer-plugins-sections.txt:
10484 * docs/plugins/gstreamer-plugins.types:
10485 * docs/plugins/inspect.stamp:
10486 * docs/plugins/inspect/plugin-coreelements.xml:
10487 * docs/plugins/inspect/plugin-coreindexers.xml:
10488 * docs/plugins/scanobj-build.stamp:
10489 * gstreamer.spec.in:
10490 * plugins/elements/Makefile.am:
10491 * plugins/elements/gstelements.c:
10492 * plugins/elements/gstfakesink.c:
10493 * plugins/elements/gstfakesrc.c:
10494 * plugins/elements/gstfilesink.c:
10495 * plugins/elements/gstfilesrc.c:
10496 * plugins/elements/gstqueue.c:
10497 * plugins/indexers/Makefile.am:
10498 * plugins/indexers/gstindexers.c:
10499 document core plugins in a separate document just like all the
10501 rename these plugins to something starting with core
10503 2005-12-01 Andy Wingo <wingo@pobox.com>
10505 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
10506 padding here before, but it missed the commit.
10508 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10510 * libs/gst/controller/gstinterpolation.c:
10511 whitespace prices have crashed, we should feel free to use some now
10512 use gst_guint64_to_gdouble
10514 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10516 * libs/gst/controller/gstcontroller.c:
10517 * libs/gst/controller/gsthelper.c:
10518 * libs/gst/controller/gstinterpolation.c:
10519 * libs/gst/controller/lib.c:
10520 wrap config.h include
10522 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10524 * docs/gst/gstreamer-sections.txt:
10527 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10529 * plugins/elements/gstelements.c:
10530 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
10531 (gst_fd_sink__class_init), (gst_fd_sink__init),
10532 (gst_fd_sink__chain), (gst_fd_sink__set_property),
10533 (gst_fd_sink__get_property):
10534 * plugins/elements/gstfdsink.h:
10535 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
10536 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
10537 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
10538 (gst_fd_src_unlock), (gst_fd_src_set_property),
10539 (gst_fd_src_get_property), (gst_fd_src_create),
10540 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
10541 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
10542 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
10543 (gst_fd_src_uri_handler_init):
10544 * plugins/elements/gstfdsrc.h:
10545 * plugins/elements/gstqueue.c: (gst_queue_get_type):
10548 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10550 * docs/gst/Makefile.am:
10551 * docs/gst/gstreamer.types.in:
10555 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10561 * gst/gstregistry.h:
10562 * tests/benchmarks/complexity.c:
10563 * tests/benchmarks/mass-elements.c:
10564 * tests/check/Makefile.am:
10565 * tools/Makefile.am:
10566 * tools/gst-inspect.c:
10567 * tools/gst-xmlinspect.c:
10568 various fixes to make
10569 --disable-nls --disable-registry --disable-loadsave
10570 --disable-parse --disable-gst-debug
10571 work and get the core .so down to 360444 bytes after stripping
10573 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10578 * docs/random/thomasvs/TODO:
10579 * tests/Makefile.am:
10583 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10585 * win32/GStreamer.vcproj:
10588 * win32/Makefile.inspect:
10589 * win32/Makefile.launch:
10590 * win32/Makefile.register:
10591 * win32/README.txt:
10592 * win32/gst-inspect.vcproj:
10593 * win32/gst-launch.vcproj:
10594 * win32/gst-register.vcproj:
10595 * win32/gstelements.vcproj:
10596 * win32/gstgetbits.def:
10597 * win32/gstgetbits.vcproj:
10598 * win32/gstreamer-dbg.def:
10599 * win32/gstreamer.def:
10600 * win32/libgstbase.def:
10601 * win32/libgstbase.vcproj:
10602 * win32/link_oldruntime.c:
10606 * win32/msvc71.sln:
10607 move even more stuff, win32/ is nice and clean now
10609 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10611 * libs/gst/control/.cvsignore:
10616 * win32/gstbytestream.def:
10617 * win32/gstbytestream.vcproj:
10618 * win32/gstconfig.h:
10619 * win32/gstenumtypes.c:
10620 * win32/gstenumtypes.h:
10621 * win32/gstoptimalscheduler.vcproj:
10622 * win32/gstversion.h:
10624 * win32/testsuite/bins.vcproj:
10625 * win32/testsuite/bytestream.vcproj:
10626 * win32/testsuite/caps.vcproj:
10627 * win32/testsuite/cleanup.vcproj:
10628 * win32/testsuite/clock.vcproj:
10629 * win32/testsuite/debug.vcproj:
10630 * win32/testsuite/dlopen.vcproj:
10631 * win32/testsuite/dynparams.vcproj:
10632 * win32/testsuite/elements.vcproj:
10633 * win32/testsuite/ghostpads.vcproj:
10634 * win32/testsuite/indexers.vcproj:
10635 * win32/testsuite/negotiation.vcproj:
10636 * win32/testsuite/parse.vcproj:
10637 * win32/testsuite/plugin.vcproj:
10638 * win32/testsuite/refcounting.vcproj:
10639 * win32/testsuite/schedulers.vcproj:
10640 * win32/testsuite/states.vcproj:
10641 * win32/testsuite/tags.vcproj:
10642 * win32/testsuite/threads.vcproj:
10643 remove old win32 stuff that isn't maintained and should be
10646 2005-11-30 Andy Wingo <wingo@pobox.com>
10648 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10649 loading the gst.interfaces python module bork.
10651 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10652 available since GLib 2.2. Fixes #318031.
10654 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10657 * check/.cvsignore:
10658 * check/Makefile.am:
10659 * check/elements/.cvsignore:
10660 * check/elements/fakesrc.c:
10661 * check/elements/fdsrc.c:
10662 * check/elements/identity.c:
10663 * check/generic/.cvsignore:
10664 * check/generic/states.c:
10665 * check/gst-libs/.cvsignore:
10666 * check/gst-libs/controller.c:
10667 * check/gst-libs/gdp.c:
10668 * check/gst/.cvsignore:
10669 * check/gst/capslist.h:
10671 * check/gst/gstbin.c:
10672 * check/gst/gstbuffer.c:
10673 * check/gst/gstbus.c:
10674 * check/gst/gstcaps.c:
10675 * check/gst/gstelement.c:
10676 * check/gst/gstevent.c:
10677 * check/gst/gstghostpad.c:
10678 * check/gst/gstiterator.c:
10679 * check/gst/gstmessage.c:
10680 * check/gst/gstminiobject.c:
10681 * check/gst/gstobject.c:
10682 * check/gst/gstpad.c:
10683 * check/gst/gstpipeline.c:
10684 * check/gst/gstplugin.c:
10685 * check/gst/gstsegment.c:
10686 * check/gst/gststructure.c:
10687 * check/gst/gstsystemclock.c:
10688 * check/gst/gsttag.c:
10689 * check/gst/gstutils.c:
10690 * check/gst/gstvalue.c:
10691 * check/net/.cvsignore:
10692 * check/net/gstnetclientclock.c:
10693 * check/net/gstnettimeprovider.c:
10694 * check/pipelines/.cvsignore:
10695 * check/pipelines/cleanup.c:
10696 * check/pipelines/simple_launch_lines.c:
10697 * check/pipelines/stress.c:
10698 * check/states/.cvsignore:
10699 * check/states/sinks.c:
10701 * examples/Makefile.am:
10702 * examples/appreader/.cvsignore:
10703 * examples/appreader/Makefile.am:
10704 * examples/appreader/appreader.c:
10705 * examples/controller/.cvsignore:
10706 * examples/controller/Makefile.am:
10707 * examples/controller/audio-example.c:
10708 * examples/cutter/.cvsignore:
10709 * examples/cutter/Makefile.am:
10710 * examples/cutter/cutter.c:
10711 * examples/cutter/cutter.h:
10712 * examples/events/Makefile.am:
10713 * examples/events/seek.c:
10714 * examples/helloworld/.cvsignore:
10715 * examples/helloworld/Makefile.am:
10716 * examples/helloworld/helloworld.c:
10717 * examples/helloworld2/.cvsignore:
10718 * examples/helloworld2/Makefile.am:
10719 * examples/helloworld2/helloworld2.c:
10720 * examples/launch/.cvsignore:
10721 * examples/launch/Makefile.am:
10722 * examples/launch/mp3parselaunch.c:
10723 * examples/launch/mp3play:
10724 * examples/manual/.cvsignore:
10725 * examples/manual/Makefile.am:
10726 * examples/manual/extract.pl:
10727 * examples/metadata/Makefile.am:
10728 * examples/metadata/read-metadata.c:
10729 * examples/mixer/.cvsignore:
10730 * examples/mixer/Makefile.am:
10731 * examples/mixer/mixer.c:
10732 * examples/mixer/mixer.h:
10733 * examples/pingpong/.cvsignore:
10734 * examples/pingpong/Makefile.am:
10735 * examples/pingpong/pingpong.c:
10736 * examples/plugins/.cvsignore:
10737 * examples/plugins/Makefile.am:
10738 * examples/plugins/example.c:
10739 * examples/plugins/example.h:
10740 * examples/pwg/.cvsignore:
10741 * examples/pwg/Makefile.am:
10742 * examples/pwg/extract.pl:
10743 * examples/queue/.cvsignore:
10744 * examples/queue/Makefile.am:
10745 * examples/queue/queue.c:
10746 * examples/queue2/.cvsignore:
10747 * examples/queue2/Makefile.am:
10748 * examples/queue2/queue2.c:
10749 * examples/queue3/.cvsignore:
10750 * examples/queue3/Makefile.am:
10751 * examples/queue3/queue3.c:
10752 * examples/queue4/.cvsignore:
10753 * examples/queue4/Makefile.am:
10754 * examples/queue4/queue4.c:
10755 * examples/retag/.cvsignore:
10756 * examples/retag/Makefile.am:
10757 * examples/retag/retag.c:
10758 * examples/retag/transcode.c:
10759 * examples/thread/.cvsignore:
10760 * examples/thread/Makefile.am:
10761 * examples/thread/thread.c:
10762 * examples/typefind/.cvsignore:
10763 * examples/typefind/Makefile.am:
10764 * examples/typefind/typefind.c:
10765 * examples/xml/.cvsignore:
10766 * examples/xml/Makefile.am:
10767 * examples/xml/createxml.c:
10768 * examples/xml/runxml.c:
10769 * tests/Makefile.am:
10770 * tests/check/Makefile.am:
10771 * testsuite/.cvsignore:
10772 * testsuite/Makefile.am:
10774 * testsuite/caps/.cvsignore:
10775 * testsuite/caps/Makefile.am:
10776 * testsuite/caps/app_fixate.c:
10777 * testsuite/caps/audioscale.c:
10778 * testsuite/caps/caps.c:
10779 * testsuite/caps/caps.h:
10780 * testsuite/caps/caps_strings:
10781 * testsuite/caps/compatibility.c:
10782 * testsuite/caps/deserialize.c:
10783 * testsuite/caps/enumcaps.c:
10784 * testsuite/caps/eratosthenes.c:
10785 * testsuite/caps/filtercaps.c:
10786 * testsuite/caps/fixed.c:
10787 * testsuite/caps/fraction-convert.c:
10788 * testsuite/caps/fraction-multiply-and-zero.c:
10789 * testsuite/caps/intersect2.c:
10790 * testsuite/caps/intersection.c:
10791 * testsuite/caps/normalisation.c:
10792 * testsuite/caps/random.c:
10793 * testsuite/caps/renegotiate.c:
10794 * testsuite/caps/sets.c:
10795 * testsuite/caps/simplify.c:
10796 * testsuite/caps/string-conversions.c:
10797 * testsuite/caps/structure.c:
10798 * testsuite/caps/subtract.c:
10799 * testsuite/caps/union.c:
10800 * testsuite/debug/.cvsignore:
10801 * testsuite/debug/Makefile.am:
10802 * testsuite/debug/category.c:
10803 * testsuite/debug/commandline.c:
10804 * testsuite/debug/global.c:
10805 * testsuite/debug/output.c:
10806 * testsuite/debug/printf_extension.c:
10807 * testsuite/dlopen/.cvsignore:
10808 * testsuite/dlopen/Makefile.am:
10809 * testsuite/dlopen/dlopen_gst.c:
10810 * testsuite/dlopen/loadgst.c:
10811 * testsuite/elements/.cvsignore:
10812 * testsuite/elements/Makefile.am:
10813 * testsuite/elements/gst-inspect-check.in:
10814 * testsuite/elements/struct_i386.h:
10815 * testsuite/elements/struct_size.c:
10816 * testsuite/indexers/.cvsignore:
10817 * testsuite/indexers/Makefile.am:
10818 * testsuite/indexers/cache1.c:
10819 * testsuite/indexers/indexdump.c:
10820 * testsuite/parse/.cvsignore:
10821 * testsuite/parse/Makefile.am:
10822 * testsuite/parse/parse1.c:
10823 * testsuite/parse/parse2.c:
10824 * testsuite/plugin/.cvsignore:
10825 * testsuite/plugin/Makefile.am:
10826 * testsuite/plugin/README:
10827 * testsuite/plugin/dynamic.c:
10828 * testsuite/plugin/linked.c:
10829 * testsuite/plugin/loading.c:
10830 * testsuite/plugin/registry.c:
10831 * testsuite/plugin/static.c:
10832 * testsuite/plugin/static2.c:
10833 * testsuite/plugin/testplugin.c:
10834 * testsuite/plugin/testplugin2.c:
10835 * testsuite/plugin/testplugin2_s.c:
10836 * testsuite/plugin/testplugin_s.c:
10837 * testsuite/refcounting/.cvsignore:
10838 * testsuite/refcounting/Makefile.am:
10839 * testsuite/refcounting/bin.c:
10840 * testsuite/refcounting/element.c:
10841 * testsuite/refcounting/element_pad.c:
10842 * testsuite/refcounting/mainloop.c:
10843 * testsuite/refcounting/mem.c:
10844 * testsuite/refcounting/mem.h:
10845 * testsuite/refcounting/object.c:
10846 * testsuite/refcounting/pad.c:
10847 * testsuite/refcounting/sched.c:
10848 * testsuite/refcounting/thread.c:
10849 * testsuite/states/.cvsignore:
10850 * testsuite/states/Makefile.am:
10851 * testsuite/states/bin.c:
10852 * testsuite/states/locked.c:
10853 * testsuite/states/parent.c:
10854 * testsuite/threads/.cvsignore:
10855 * testsuite/threads/159566.c:
10856 * testsuite/threads/159852.c:
10857 * testsuite/threads/Makefile.am:
10858 * testsuite/threads/queue.c:
10859 * testsuite/threads/signals.c:
10860 * testsuite/threads/staticrec.c:
10861 * testsuite/threads/thread.c:
10862 * testsuite/threads/threadb.c:
10863 * testsuite/threads/threadc.c:
10864 * testsuite/threads/threadd.c:
10865 * testsuite/threads/threade.c:
10866 * testsuite/threads/threadf.c:
10867 * testsuite/threads/threadg.c:
10868 * testsuite/threads/threadh.c:
10869 * testsuite/threads/threadi.c:
10870 move all of these under tests
10872 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10875 * tests/Makefile.am:
10878 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10880 * docs/gst/gstreamer-sections.txt:
10881 * tests/sched/.cvsignore:
10882 * tests/sched/Makefile.am:
10883 * tests/sched/cases/(fs-fs).xml:
10884 * tests/sched/cases/(fs-i-fs).xml:
10885 * tests/sched/cases/(fs-i-i-fs).xml:
10886 * tests/sched/cases/(fs-i-q[i-fs]).xml:
10887 * tests/sched/dynamic-pipeline.c:
10888 * tests/sched/interrupt1.c:
10889 * tests/sched/interrupt2.c:
10890 * tests/sched/interrupt3.c:
10891 * tests/sched/runtestcases:
10892 * tests/sched/runxml.c:
10893 * tests/sched/sched-stress.c:
10894 * tests/sched/sort.c:
10895 * tests/sched/testcases:
10896 * tests/sched/testcases1.tc:
10897 * tests/seeking/.cvsignore:
10898 * tests/seeking/Makefile.am:
10899 * tests/seeking/seeking1.c:
10900 * tests/threadstate/.cvsignore:
10901 * tests/threadstate/Makefile.am:
10902 * tests/threadstate/test1.c:
10903 * tests/threadstate/test2.c:
10904 * tests/threadstate/threadstate1.c:
10905 * tests/threadstate/threadstate2.c:
10906 * tests/threadstate/threadstate3.c:
10907 * tests/threadstate/threadstate4.c:
10908 * tests/threadstate/threadstate5.c:
10909 remove obsolete tests
10911 * tests/bench-complexity.scm:
10912 * tests/bench-mass_elements.scm:
10913 * tests/complexity.c:
10914 * tests/complexity.gnuplot:
10915 * tests/instantiate/.cvsignore:
10916 * tests/instantiate/Makefile.am:
10917 * tests/instantiate/caps.c:
10918 * tests/mass_elements.c:
10919 * tests/network-clock-utils.scm:
10920 * tests/network-clock.scm:
10922 First pass at cleaning up tests/ dir before moving the rest
10923 Combined with CVS surgery
10925 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10928 queue has moved, update
10930 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10932 * docs/gst/gstreamer-sections.txt:
10933 remove double entries from the docs
10934 * gst/gst_private.h:
10935 * gst/gstinfo.c: (_gst_debug_init):
10936 remove the THREAD debug category
10940 * docs/gst/gstreamer.types:
10941 * plugins/elements/gstqueue.c: (gst_queue_get_type),
10942 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10943 completely move queue and fix up debugging categories
10945 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10947 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10948 make initialization portable, using LL is not
10950 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10952 * win32/common/gstconfig.h:
10955 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10957 * win32/common/libgstreamer.def:
10958 rename symbols; sort base section
10960 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10962 * gst/gstclock.c: (do_linear_regression):
10963 remove crack non-portable handrolled DEBUG macro
10965 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10967 * docs/random/release:
10969 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10970 (gst_object_flags_get_type), (register_gst_bin_flags),
10971 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10972 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10973 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10974 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10975 (gst_caps_flags_get_type), (register_gst_clock_return),
10976 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10977 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10978 (gst_clock_flags_get_type), (register_gst_state),
10979 (gst_state_get_type), (register_gst_state_change_return),
10980 (gst_state_change_return_get_type), (register_gst_state_change),
10981 (gst_state_change_get_type), (register_gst_element_flags),
10982 (gst_element_flags_get_type), (register_gst_core_error),
10983 (gst_core_error_get_type), (register_gst_library_error),
10984 (gst_library_error_get_type), (register_gst_resource_error),
10985 (gst_resource_error_get_type), (register_gst_stream_error),
10986 (gst_stream_error_get_type), (register_gst_event_type_flags),
10987 (gst_event_type_flags_get_type), (register_gst_event_type),
10988 (gst_event_type_get_type), (register_gst_seek_type),
10989 (gst_seek_type_get_type), (register_gst_seek_flags),
10990 (gst_seek_flags_get_type), (register_gst_format),
10991 (gst_format_get_type), (register_gst_index_certainty),
10992 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10993 (gst_index_entry_type_get_type),
10994 (register_gst_index_lookup_method),
10995 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10996 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10997 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10998 (gst_index_flags_get_type), (register_gst_debug_level),
10999 (gst_debug_level_get_type), (register_gst_debug_color_flags),
11000 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
11001 (gst_iterator_result_get_type), (register_gst_iterator_item),
11002 (gst_iterator_item_get_type), (register_gst_message_type),
11003 (gst_message_type_get_type), (register_gst_mini_object_flags),
11004 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
11005 (gst_pad_link_return_get_type), (register_gst_flow_return),
11006 (gst_flow_return_get_type), (register_gst_activate_mode),
11007 (gst_activate_mode_get_type), (register_gst_pad_direction),
11008 (gst_pad_direction_get_type), (register_gst_pad_flags),
11009 (gst_pad_flags_get_type), (register_gst_pad_presence),
11010 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
11011 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
11012 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
11013 (gst_plugin_error_get_type), (register_gst_plugin_flags),
11014 (gst_plugin_flags_get_type), (register_gst_rank),
11015 (gst_rank_get_type), (register_gst_query_type),
11016 (gst_query_type_get_type), (register_gst_tag_merge_mode),
11017 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
11018 (gst_tag_flag_get_type), (register_gst_task_state),
11019 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
11020 (gst_alloc_trace_flags_get_type),
11021 (register_gst_type_find_probability),
11022 (gst_type_find_probability_get_type), (register_gst_uri_type),
11023 (gst_uri_type_get_type), (register_gst_parse_error),
11024 (gst_parse_error_get_type):
11025 * win32/common/gstenumtypes.h:
11026 * win32/common/gstversion.h:
11027 update visual studio generated files
11029 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11031 * win32/vs6/libgstbase.dsp:
11032 * win32/vs6/libgstelements.dsp:
11033 update project files for new locations
11035 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11040 reinstate and update
11045 * docs/random/LICENSE:
11048 2005-11-30 Edward Hervey <edward@fluendo.com>
11050 * gst/gsttypefind.c: (gst_type_find_register):
11051 * gst/gsttypefind.h:
11052 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
11053 (gst_type_find_factory_dispose):
11054 * gst/gsttypefindfactory.h:
11055 Fix memory leak in GstTypeFindFactory.
11057 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11060 * plugins/elements/Makefile.am:
11061 * plugins/elements/gstelements.c:
11062 * plugins/elements/gstqueue.c:
11063 move queue from core to the elements plugin
11065 2005-11-29 Andy Wingo <wingo@pobox.com>
11067 * libs/gst/base/gstbasetransform.h:
11068 * libs/gst/base/gstbasesrc.h:
11069 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
11071 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
11072 of pointers by which to pad very extensible base classes (like the
11073 ones in libs/gst/base).
11075 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11077 * docs/gst/gstreamer-docs.sgml:
11078 * docs/gst/gstreamer-sections.txt:
11079 * docs/libs/gstreamer-libs-docs.sgml:
11080 * docs/libs/gstreamer-libs-sections.txt:
11081 moving documentation from core to lib
11083 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11085 * check/Makefile.am:
11087 * docs/gst/Makefile.am:
11089 * gst/base/.cvsignore:
11090 * gst/base/Makefile.am:
11092 * gst/base/gstadapter.c:
11093 * gst/base/gstadapter.h:
11094 * gst/base/gstbasesink.c:
11095 * gst/base/gstbasesink.h:
11096 * gst/base/gstbasesrc.c:
11097 * gst/base/gstbasesrc.h:
11098 * gst/base/gstbasetransform.c:
11099 * gst/base/gstbasetransform.h:
11100 * gst/base/gstcollectpads.c:
11101 * gst/base/gstcollectpads.h:
11102 * gst/base/gstpushsrc.c:
11103 * gst/base/gstpushsrc.h:
11104 * gst/base/gsttypefindhelper.c:
11105 * gst/base/gsttypefindhelper.h:
11106 * gst/check/Makefile.am:
11107 * gst/check/gstcheck.c:
11108 * gst/check/gstcheck.h:
11109 * gst/net/Makefile.am:
11110 * gst/net/gstnet.h:
11111 * gst/net/gstnetclientclock.c:
11112 * gst/net/gstnetclientclock.h:
11113 * gst/net/gstnettimepacket.c:
11114 * gst/net/gstnettimepacket.h:
11115 * gst/net/gstnettimeprovider.c:
11116 * gst/net/gstnettimeprovider.h:
11117 * libs/gst/Makefile.am:
11118 * libs/gst/base/Makefile.am:
11119 * libs/gst/base/gstbasetransform.c:
11120 * libs/gst/check/Makefile.am:
11121 * plugins/elements/Makefile.am:
11123 CVS surgery + support to move base, check, and net out of gst
11126 2005-11-29 Andy Wingo <wingo@pobox.com>
11128 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
11130 * gst/gststructure.h (struct _GstStructure): Only one pointer of
11133 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
11135 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
11137 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
11139 * gst/gstobject.h: (struct _GstObject): Only one pointer of
11140 padding; reduces object size by about 30%. We don't expect
11141 anything else to go into gstobject.
11143 * gst/gstminiobject.h (struct _GstMiniObject)
11144 (struct _GstMiniObjectClass): Only one pointer of padding; the
11145 payload is only a pointer and two ints anyway. For the class there
11146 are only two methods as well.
11148 * gst/gstelement.h (struct _GstElementClass): Removed
11149 the state_changed signal callback, it is not used.
11151 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
11153 * docs/gst/gstreamer.types:
11154 fix includes, though they are a little dinky
11156 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11158 * check/Makefile.am:
11159 look in the right place for elements, a lot more chance of
11162 remove indexers and elements subdirs
11163 * plugins/Makefile.am:
11164 make indexers conditional
11166 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11170 * plugins/elements/Makefile.am:
11171 * plugins/elements/gstcapsfilter.c:
11172 * plugins/elements/gstfilesink.c:
11173 * plugins/elements/gstfilesrc.c:
11174 * plugins/elements/gstidentity.c:
11175 * plugins/indexers/Makefile.am:
11176 do CVS surgery and related build fixery to move elements
11177 and indexers in a new gstreamer/plugins directory, out of the
11180 2005-11-29 Andy Wingo <wingo@pobox.com>
11182 * check/Makefile.am:
11183 * pkgconfig/gstreamer-net-uninstalled.pc.in:
11184 * pkgconfig/gstreamer-net.pc.in:
11185 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
11188 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
11190 * tools/Makefile.am:
11191 * tools/gst-complete.1.in:
11192 * tools/gst-complete.c:
11193 * tools/gst-compprep.1.in:
11194 * tools/gst-compprep.c:
11195 removing -compprep and -complete
11197 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
11199 * gst/gstevent.c: (gst_event_new_new_segment),
11200 (gst_event_parse_new_segment):
11202 fix #320529 - clean up new_segment API and structure.
11203 Let's hope everyone was using the methods, and not the structure.
11205 2005-11-29 Edward Hervey <edward@fluendo.com>
11207 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11208 (gst_base_sink_event), (gst_base_sink_do_sync),
11209 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
11210 Properly handle non GST_FORMAT_TIME segment
11211 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11212 Properly handle non GST_FORMAT_TIME segment
11213 * gst/gstsegment.c:
11214 This function is valid if the accumulator is 0 and the format
11215 is different from the requested format.
11217 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11219 * docs/gst/gstreamer-sections.txt:
11220 Add gst_query_new_seeking and gst_query_parse_seeking to the
11223 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11225 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
11226 Treat a pad alloc with new caps the same as if we were not
11227 negotiated, in order to allow a changing upstream output
11228 to produce a new format of data.
11230 2005-11-29 Edward Hervey <edward@fluendo.com>
11232 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11233 (gst_base_transform_event), (gst_base_transform_eventfunc):
11234 The event virtual method is now properly implemented, with a default
11236 Sub classes should call the parent_class event method. They should
11237 return FALSE if they had a problem handling the given event, or don't
11238 want GstBaseTransform to send that even downstream
11239 * gst/elements/gstidentity.c: (gst_identity_class_init),
11240 (gst_identity_init), (gst_identity_event),
11241 (gst_identity_transform_ip), (gst_identity_set_property),
11242 (gst_identity_get_property):
11243 * gst/elements/gstidentity.h:
11244 Added the single-segment boolean property.
11245 If set to TRUE, it will output a single segment of data, starting from
11246 0, will eat up all incoming newsegment, and modify the timestamp of the
11247 buffers accordingly
11249 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
11251 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
11252 Don't ref NULL target pad (#322751). Improve docs.
11254 2005-11-29 Michael Smith <msmith@fluendo.com>
11256 * gst/gstregistryxml.c: (load_plugin):
11257 Don't crash if we failed to load a feature from a plugin.
11259 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11261 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11263 use more check API and less GLib API
11265 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11268 don't run checks if we don't have check
11269 * common/check.mak:
11270 remove the registry when running make torture
11271 * docs/gst/gstreamer-sections.txt:
11272 remove second multiply
11273 * gst/gstqueue.c: (gst_queue_loop):
11274 fix a compile warning when disabling debug
11276 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11279 Hey! Let's print the pad name if the pointer != NULL instead
11280 of when it == NULL :-)
11282 2005-11-28 Wim Taymans <wim@fluendo.com>
11284 * check/gst/gstutils.c: (GST_START_TEST):
11285 Updated check, add some scaling accuracy checking code.
11287 * gst/gstutils.c: (gst_util_div128_64),
11288 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
11289 (gst_util_uint64_scale_int):
11290 Fix 6 times faster division code. Optimize for common
11291 1/1 and less common X/1 cases.
11293 2005-11-28 Wim Taymans <wim@fluendo.com>
11295 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11298 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
11299 (do_linear_regression), (gst_clock_add_observation):
11301 Release lock when the clock cannot be slaved.
11302 Catch the case where the regression returned an invalid denominator.
11304 * gst/gstutils.c: (gst_util_div128_64_iterate),
11305 (gst_util_div128_64), (gst_util_uint64_scale_int64),
11306 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11307 Add protentially more performant non-iterative 128/64 divide function
11308 that unfortunatly does not work yet.
11309 Shortcut the trivial 0/X = 0 case.
11310 Remove the warnings on overflow.
11312 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11314 * gst/gstplugin.c: (gst_plugin_register_func):
11315 everything causing a plugin not to load should be at least a WARNING
11317 2005-11-28 Stefan Kost <ensonic@users.sf.net>
11319 * docs/random/ensonic/dparams.txt:
11320 some TODOs for the next dev cycle
11321 * libs/gst/controller/gstcontroller.c:
11322 (gst_controlled_property_set_interpolation_mode),
11323 (gst_controlled_property_new):
11324 * libs/gst/controller/gstcontroller.h:
11325 use base type to assign acccessor functions
11327 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11329 * check/Makefile.am:
11330 Oops, that should have been top_srcdir
11332 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11334 * check/Makefile.am:
11335 * check/elements/fdsrc.c: (GST_START_TEST):
11336 Use a cmdline define to specify the location of a file to use for
11337 testing, to avoid breaking distcheck.
11339 2005-11-28 Andy Wingo <wingo@pobox.com>
11341 * gst/gstpad.c (fixate_value): Use array functions for arrays.
11343 2005-11-28 Edward Hervey <edward@fluendo.com>
11345 * tools/gst-launch.c: (main):
11346 Clarify the output strings, makes it easier to translate.
11349 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11352 don't try and build net if we don't even have <sys/socket.h>
11354 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
11356 * check/Makefile.am:
11357 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
11358 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
11359 Add tests for fdsrc seekability
11361 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
11362 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
11363 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
11364 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
11365 * gst/elements/gstfdsrc.h:
11366 fdsrc should not be a 'live' source.
11367 Implement seeking on seekable fd's.
11369 * gst/gstquery.c: (gst_query_new_seeking),
11370 (gst_query_parse_seeking):
11372 Implement SEEKING query functions:
11373 *_new_seeking and *_parse_seeking
11375 2005-11-27 Stefan Kost <ensonic@users.sf.net>
11377 * gst/gstelement.c: (gst_element_dispose):
11380 * gst/gstiterator.c:
11381 * gst/gststructure.c:
11384 * libs/gst/controller/gstcontroller.c:
11385 (gst_controlled_property_set_interpolation_mode):
11386 * libs/gst/controller/gstcontroller.h:
11387 * libs/gst/controller/gstinterpolation.c:
11388 (interpolate_none_get_enum_value_array):
11389 support controlling enums
11391 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
11394 Improve documentation for gst_value_union().
11397 Change return value for union, intersect and subtract functions
11398 from gint to gboolean.
11400 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
11402 * gst/gstvalue.c: (gst_value_serialize_any_list),
11403 (gst_value_transform_any_list_string),
11404 (gst_value_deserialize_list), (gst_value_deserialize_array),
11405 (gst_value_set_int_range), (gst_value_deserialize_int_range),
11406 (gst_value_set_double_range), (gst_value_deserialize_double_range),
11407 (gst_value_set_fraction_range_full),
11408 (gst_value_deserialize_fraction_range),
11409 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
11410 (gst_value_deserialize_boolean),
11411 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
11412 (gst_value_serialize_float), (gst_value_deserialize_float),
11413 (gst_string_wrap), (gst_value_deserialize_string),
11414 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
11415 (gst_value_union_int_range_int_range),
11416 (gst_value_intersect_int_range_int_range),
11417 (gst_value_intersect_double_range_double_range),
11418 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
11419 (gst_value_subtract_int_range_int_range),
11420 (gst_value_subtract_double_double_range),
11421 (gst_value_subtract_double_range_double_range),
11422 (gst_value_deserialize_fraction):
11424 Use gint, gdouble and gchar in our API instead of int, double and
11425 char (and make usage in gstvalue.c more consistent).
11427 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11429 * check/Makefile.am:
11430 * libs/gst/controller/Makefile.am:
11431 * libs/gst/dataprotocol/Makefile.am:
11432 fix up Makefile.am and remove GST_ENABLE_NEW
11434 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11438 * gst/base/Makefile.am:
11439 * gst/check/Makefile.am:
11440 * gst/elements/Makefile.am:
11441 * gst/net/Makefile.am:
11442 update LDFLAGS use some more
11444 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11446 * common/m4/gst-doc.m4:
11449 2005-11-26 Edward Hervey <edward@fluendo.com>
11451 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11452 This shouldn't issue a g_warning since it returns NULL if it
11453 couldn't find the plugin, and all functions using this behave
11454 properly on a NULL return. Switching to a GST_WARNING.
11456 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
11458 * gst/gstbin.c: (gst_bin_handle_message_func):
11459 Don't leak clock messages.
11461 2005-11-25 Wim Taymans <wim@fluendo.com>
11463 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11464 (gst_util_uint64_scale_int):
11465 Optimisations, remove unneeded vars.
11467 2005-11-25 Wim Taymans <wim@fluendo.com>
11469 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11470 Added more checks for the high precision uint64 cases.
11472 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11473 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11474 Implement high precision (guint64 * guint64) / guint64.
11476 2005-11-24 Wim Taymans <wim@fluendo.com>
11478 * gst/base/gstbasesrc.c: (gst_base_src_query):
11479 Fix wrong percentage query.
11481 * gst/gstutils.c: (gst_util_uint64_scale),
11482 (gst_util_uint64_scale_int):
11483 Add some more common cases that can be handled
11484 efficiently to _scale.
11486 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
11488 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
11489 (gst_mini_object_suite):
11490 don't use check calls from threads; check probably isn't
11491 threadsafe and using a lock to make it threadsafe would
11492 defeat the purpose of this check
11493 * gst/check/gstcheck.c:
11494 * gst/check/gstcheck.h:
11495 use GST_DEBUG some more
11497 2005-11-24 Wim Taymans <wim@fluendo.com>
11499 * gst/gstutils.c: (gst_util_uint64_scale),
11500 (gst_util_uint64_scale_int):
11501 Chain trivial case to _scale_int.
11503 2005-11-24 Wim Taymans <wim@fluendo.com>
11505 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11506 Added test for scaling.
11511 * gst/gstutils.c: (gst_util_uint64_scale_int):
11512 Implemented high precision scaling code.
11514 2005-11-24 Stefan Kost <ensonic@users.sf.net>
11517 do not crash on pad==NULL
11519 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
11521 Patch by: Stefan Kost
11523 * common/gtk-doc.mak:
11524 * docs/gst/Makefile.am:
11525 * docs/libs/Makefile.am:
11526 Fix distcheck issues for the libraries docs build
11529 2005-11-24 Michael Smith <msmith@fluendo.com>
11531 * docs/manual/basics-helloworld.xml:
11532 Fix bug #315027: memory leak in example code in docs.
11534 2005-11-24 Michael Smith <msmith@fluendo.com>
11536 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11537 Unlock the PREROLL_LOCK in a failure case.
11539 2005-11-24 Wim Taymans <wim@fluendo.com>
11541 * docs/gst/gstreamer-sections.txt:
11542 * gst/base/gstadapter.h:
11543 * gst/base/gstbasesink.h:
11544 * gst/base/gstbasesrc.h:
11545 * gst/base/gstbasetransform.h:
11546 * gst/base/gstpushsrc.h:
11547 * gst/elements/gstfakesink.h:
11548 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
11549 * gst/elements/gstfakesrc.h:
11550 * gst/elements/gstfilesink.h:
11551 * gst/elements/gstfilesrc.h:
11554 * gst/gstbuffer.c: (_gst_buffer_copy):
11557 * gst/gstchildproxy.c:
11559 * gst/gstelement.c:
11560 * gst/gstelementfactory.c:
11561 * gst/gstelementfactory.h:
11563 * gst/gstghostpad.h:
11565 * gst/gstinterface.h:
11566 * gst/gstminiobject.c:
11567 * gst/gstminiobject.h:
11570 * gst/gstpadtemplate.h:
11571 * gst/gstpipeline.h:
11572 * gst/gstpluginfeature.h:
11575 * gst/gsttaglist.c:
11576 * gst/gsttaglist.h:
11577 * gst/gsttagsetter.c:
11578 * gst/gsttagsetter.h:
11581 * gst/gsttypefind.h:
11584 * gst/net/gstnetclientclock.c:
11585 * gst/net/gstnetclientclock.h:
11586 * gst/net/gstnettimepacket.c:
11587 * gst/net/gstnettimeprovider.c:
11588 * gst/net/gstnettimeprovider.h:
11591 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11593 * configure.ac: back to HEAD
11595 === release 0.9.6 ===
11597 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11600 releasing 0.9.6, "Always On Time"
11602 2005-11-23 Wim Taymans <wim@fluendo.com>
11604 * docs/gst/gstreamer-sections.txt:
11605 * gst/glib-compat.c:
11606 * gst/gsttagsetter.c:
11608 * gst/net/gstnetclientclock.c:
11609 * gst/net/gstnettimepacket.h:
11612 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11614 * docs/faq/using.xml:
11615 * docs/libs/tmpl/gstcontrol.sgml:
11616 * docs/manual/advanced-dparams.xml:
11617 * docs/manual/appendix-checklist.xml:
11618 * docs/manual/basics-elements.xml:
11619 * docs/pwg/other-source.xml:
11620 * docs/random/moving-plugins:
11622 * tools/gst-launch.1.in:
11623 remove mentions of sinesrc
11625 2005-11-23 Michael Smith <msmith@fluendo.com>
11627 * docs/gst/gstreamer-sections.txt:
11628 Update for new API and API changes.
11630 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11632 Documentation typo fix.
11633 * gst/net/gstnettimepacket.c:
11634 Documentation fixes for arguments.
11636 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
11638 * gst/gststructure.c: (gst_structure_get_fraction),
11639 (gst_structure_parse_value),
11640 (gst_structure_fixate_field_nearest_fraction):
11641 * gst/gststructure.h:
11642 * gst/gstutils.c: (gst_util_uint64_scale_int):
11644 * scripts/update-funcnames:
11646 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11647 Make gst_structure_fixate_field_nearest_fraction take a numerator
11648 and denominator argument instead of a GValue
11649 add gst_structure_get_fraction helper function.
11651 2005-11-23 Wim Taymans <wim@fluendo.com>
11653 * docs/design/part-TODO.txt:
11656 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11657 * gst/net/gstnetclientclock.h:
11658 Use parent fields for timeout and window_size.
11660 2005-11-23 Andy Wingo <wingo@pobox.com>
11662 * check/net/gstnetclientclock.c (test_functioning): Adjust to
11663 rate_num/rate_denom change.
11665 * gst/net/gstnetclientclock.c
11666 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11667 OBJECT_LOCK. Don't call add_observation with the lock.
11669 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11671 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11673 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11674 deal with rate as a fraction whose numerator and denominator are
11675 GstClockTime values.
11676 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11677 master; the other fields are protected by the SLAVE_LOCK.
11678 (do_linear_regression): Note that this must be called with the
11680 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11681 OBJECT_LOCK. Call set_calibration instead of touching the
11682 variables directly.
11683 (gst_clock_set_property, gst_clock_get_property): Protect
11684 master/slave parameters with the SLAVE_LOCK.
11686 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11687 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11688 note that all of the instance variables that add_observation and
11689 the set_master functions use are protected by that lock and not
11691 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11693 * gst/gstclock.c (gst_clock_add_observation): No longer requires
11694 the caller to take the object lock.
11696 2005-11-23 Wim Taymans <wim@fluendo.com>
11698 * gst/gsterror.c: (_gst_core_errors_init):
11700 Add error for clock stuff.
11702 * gst/gstpipeline.c: (gst_pipeline_change_state),
11703 (gst_pipeline_set_clock):
11704 Post clock error when clock cannot be used in a pipeline.
11706 2005-11-23 Stefan Kost <ensonic@users.sf.net>
11708 * docs/gst/gstreamer-sections.txt:
11709 make two symbols from gstinfo private for the docs
11710 * gst/base/gstcollectpads.h:
11712 fix doc typos, update docs
11714 2005-11-22 Wim Taymans <wim@fluendo.com>
11716 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11717 (gst_base_sink_wait), (gst_base_sink_do_sync),
11718 (gst_base_sink_handle_event):
11719 * gst/base/gstbasesink.h:
11720 No need to store the clock, the parent element class already
11723 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11724 Updates for clock_set returning a gboolean
11726 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11727 (gst_clock_id_wait_async), (gst_clock_class_init),
11728 (gst_clock_init), (gst_clock_finalize),
11729 (gst_clock_get_internal_time), (gst_clock_get_time),
11730 (gst_clock_slave_callback), (gst_clock_set_master),
11731 (gst_clock_get_master), (do_linear_regression),
11732 (gst_clock_add_observation), (gst_clock_set_property),
11733 (gst_clock_get_property):
11735 Implement master/slave. When setting a clock as a slave, a
11736 periodic timeout is scheduled to sample master and slave times.
11737 Then the slave clock is recalibrated to match offset and rate
11738 of the master clock.
11739 Update logging a bit.
11740 Add flag so that a clock can state that is cannot be slaved to
11743 * gst/gstelement.c: (gst_element_set_clock):
11744 * gst/gstelement.h:
11745 The set clock returns a gboolean for when an element cannot
11746 deal with the selected clock in the pipeline.
11748 * gst/gstpipeline.c: (gst_pipeline_change_state),
11749 (gst_pipeline_set_clock):
11750 * gst/gstpipeline.h:
11751 Handle the case where the selected clock cannot be set on
11754 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11755 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11756 (gst_net_client_clock_set_property),
11757 (gst_net_client_clock_get_property),
11758 (gst_net_client_clock_observe_times):
11759 * gst/net/gstnetclientclock.h:
11760 Use regression code in GstClock parent, remove duplicated
11763 2005-11-22 Michael Smith <msmith@fluendo.com>
11765 * gst/gstutils.c: (gst_util_clock_time_scale):
11767 * docs/gst/gstreamer-sections.txt:
11768 Rename method to have extra underscore.
11770 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
11772 * gst/elements/Makefile.am:
11773 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11774 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11775 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11776 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11777 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11778 * gst/elements/gstfakesrc.h:
11779 * gst/gstqueue.c: (queue_leaky_get_type):
11780 correctly fix GEnumValues so that nick is the short lowercase
11782 * tools/gst-inspect.c: (print_element_properties_info):
11783 also show the nick, since it's useful to use from parse_launch
11787 2005-11-22 Michael Smith <msmith@fluendo.com>
11789 * gst/gstutils.c: (gst_util_clocktime_scale):
11791 * docs/gst/gstreamer-sections.txt:
11792 Add util method for scaling a clocktime by a fraction. Useful
11793 implementation is left as an exercise for the reader.
11795 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11797 * gst/gstvalue.c: (gst_value_collect_fraction_range):
11798 If needed, allocate storage in the destination value during
11801 2005-11-22 Edward Hervey <edward@fluendo.com>
11803 * docs/gst/gstreamer-sections.txt:
11806 * gst/gsturitype.c:
11807 * gst/gsturitype.h:
11808 * gst/gstutils.c: (gst_util_set_object_arg):
11809 * tools/gst-compprep.c: (main):
11810 * tools/gst-inspect.c: (print_element_properties_info):
11811 Removed GstURI, closes bug #321061
11813 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11815 * check/gst/gststructure.c: (GST_START_TEST):
11816 * gst/gststructure.c: (gst_structure_parse_value):
11817 Oops, broke automatic string type parsing.
11818 Add a test to catch it in future.
11820 2005-11-22 Andy Wingo <wingo@pobox.com>
11822 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
11823 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11824 Actually rename the function implementations. Grr.
11826 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11828 * check/gst/capslist.h:
11830 * check/gst/gststructure.c: (GST_START_TEST),
11831 (gst_structure_suite):
11832 Test automatic value type detection in gst_structure_from_string.
11833 * gst/gststructure.c: (gst_structure_parse_value):
11834 Add fraction as a type we try and guess automatically in
11835 caps/structure strings.
11837 2005-11-22 Andy Wingo <wingo@pobox.com>
11839 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11841 * gst/gsttagsetter.h:
11842 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11843 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11844 (gst_tag_setter_add_tag_valist)
11845 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11846 _add_values, _add_valist, and _add_valist_values. Since this is an
11847 interface the function suffixes should be more explicit so
11848 language binding don't end up with element.add_valist ->
11849 gst_tag_setter_add_valist, for example. Fixes #322069.
11851 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11853 * check/gst/gstcaps.c: (GST_START_TEST):
11854 Extend caps string tests to check that a caps to string
11855 conversion is reversible and produces the same caps.
11857 * gst/gststructure.c: (gst_structure_value_get_generic_type):
11858 Output "fraction" as the generic type fraction range, so caps
11859 serialisation and deserialisation works.
11860 * check/gst/capslist.h:
11861 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11862 Support 'MIN' and 'MAX' for deserialising fractions.
11864 2005-11-22 Andy Wingo <wingo@pobox.com>
11866 * gst/gstevent.h (gst_event_new_new_segment)
11867 (gst_event_parse_new_segment, gst_event_new_buffer_size)
11868 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11869 Renamed from *_newsegment, *_buffersize, *_notarget.
11871 * scripts/update-funcnames: New script, performs the changes
11874 2005-11-22 Wim Taymans <wim@fluendo.com>
11876 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11877 Make sure the GstFlowReturn is returned.
11879 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11880 (gst_bus_add_signal_watch):
11882 add gst_bus_add_signal_watch_full.
11884 * gst/gstplugin.c: (gst_plugin_load_file):
11885 Small style cleanup.
11887 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11889 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11890 Block the fakesrc srcpad when we send an event, to avoid
11891 contention on the stream_lock causing random test failures.
11893 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11895 * check/gst/gstvalue.c: (GST_START_TEST):
11896 * gst/gstvalue.c: (gst_value_fraction_subtract):
11899 2005-11-22 Stefan Kost <ensonic@users.sf.net>
11902 include "gstchildproxy.h"
11903 * gst/gstchildproxy.h:
11904 * libs/gst/controller/gstcontroller.h:
11905 use G_GNUC_NULL_TERMINATED
11907 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11909 * check/gst/capslist.h:
11910 * check/gst/gstcaps.c: (GST_START_TEST):
11911 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11912 * gst/gststructure.c: (gst_structure_parse_range),
11913 (gst_structure_fixate_field_nearest_fraction):
11914 * gst/gststructure.h:
11915 * gst/gstvalue.c: (gst_value_init_fraction_range),
11916 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11917 (gst_value_collect_fraction_range),
11918 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11919 (gst_value_set_fraction_range_full),
11920 (gst_value_get_fraction_range_min),
11921 (gst_value_get_fraction_range_max),
11922 (gst_value_serialize_fraction_range),
11923 (gst_value_transform_fraction_range_string),
11924 (gst_value_compare_fraction_range),
11925 (gst_value_deserialize_fraction_range),
11926 (gst_value_intersect_fraction_fraction_range),
11927 (gst_value_intersect_fraction_range_fraction_range),
11928 (gst_value_subtract_fraction_fraction_range),
11929 (gst_value_subtract_fraction_range_fraction),
11930 (gst_value_subtract_fraction_range_fraction_range),
11931 (gst_value_collect_fraction), (gst_value_fraction_multiply),
11932 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11933 (gst_value_transform_string_fraction), (_gst_value_initialize):
11935 Implement fraction ranges and extend GstFraction to support
11936 arithmetic subtraction, as well as deserialization from integer
11937 strings such as "100"
11938 Add a testsuite as for int and double range set operations
11940 2005-11-21 Andy Wingo <wingo@pobox.com>
11942 * gst/gsttaglist.h:
11944 * gst/gststructure.h: Add glib-compat.h.
11946 2005-11-21 Wim Taymans <wim@fluendo.com>
11948 * gst/gstbin.c: (gst_bin_change_state_func):
11951 2005-11-21 Wim Taymans <wim@fluendo.com>
11953 * gst/gstsegment.h:
11954 And add a nice define too.
11956 2005-11-21 Wim Taymans <wim@fluendo.com>
11958 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11959 (gst_segment_new), (gst_segment_free), (gst_segment_init),
11960 (gst_segment_set_duration), (gst_segment_set_last_stop),
11961 (gst_segment_set_seek), (gst_segment_set_newsegment),
11962 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11963 (gst_segment_clip):
11964 * gst/gstsegment.h:
11965 Make binding friendly.
11967 2005-11-21 Andy Wingo <wingo@pobox.com>
11969 * gst/gsttagsetter.h:
11970 * gst/gsttaglist.h:
11971 * gst/gststructure.h:
11973 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11976 * gst/gsterror.c (_gst_core_errors_init):
11977 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11980 * gst/Makefile.am (gst_headers): Add glib-compat.h.
11981 (noinst_HEADERS): noinst the -private.
11983 2005-11-21 Michael Smith <msmith@fluendo.com>
11986 * gst/gstregistry.h:
11987 Remove unimplemented declarations for which we can see no sensible
11990 2005-11-21 Andy Wingo <wingo@pobox.com>
11992 * gst/gst.h: Include glib-compat.h.
11994 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11996 * gst/glib-compat.c: Include the public and the private header.
11998 * gst/glib-compat-private.h: Copied here from glib-compat.h.
12002 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
12004 * check/gst/gstevent.c (create_custom_events): Check that
12005 FLUSH_STOP is serialized.
12007 * check/elements/identity.c (event_func):
12008 * check/elements/fakesrc.c (event_func): No stream lock, the core
12011 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
12012 stream lock taking, yay.
12014 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
12015 ensure that core takes the stream lock.
12017 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
12020 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
12021 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
12022 it already. For the flush start we do take it though so we get the
12023 right preroll state change messages.
12025 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
12026 the stream lock here, the core does it for us.
12028 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
12029 GST_STREAM_GET_LOCK.
12030 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
12031 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
12032 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
12033 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
12034 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
12035 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
12037 * gst/gstpad.c: Update for stream lock name change.
12039 * gst/base/gstbasesink.c: Update for preroll lock name change.
12041 2005-11-21 Wim Taymans <wim@fluendo.com>
12043 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
12044 (gst_clock_get_master):
12046 * gst/gstsystemclock.c: (gst_system_clock_init):
12047 Convert Clock flags to object flags.
12048 Added methods to manage master/slave clocks.
12050 2005-11-21 Wim Taymans <wim@fluendo.com>
12052 * check/gst/gstsegment.c: (GST_START_TEST):
12053 * docs/design/part-TODO.txt:
12054 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12055 (gst_base_sink_event), (gst_base_sink_do_sync),
12056 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12057 (gst_base_sink_query), (gst_base_sink_change_state):
12058 * gst/base/gstbasesink.h:
12059 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
12060 (gst_base_src_default_newsegment),
12061 (gst_base_src_configure_segment), (gst_base_src_do_seek),
12062 (gst_base_src_get_range), (gst_base_src_loop),
12063 (gst_base_src_change_state):
12064 * gst/base/gstbasesrc.h:
12065 * gst/base/gstbasetransform.c:
12066 (gst_base_transform_prepare_output_buf),
12067 (gst_base_transform_event), (gst_base_transform_change_state):
12068 * gst/base/gstbasetransform.h:
12069 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12070 (gst_collect_pads_event):
12071 * gst/base/gstcollectpads.h:
12072 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
12073 (gst_fake_src_create):
12074 * gst/elements/gstfakesrc.h:
12075 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12076 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
12077 (gst_segment_set_last_stop), (gst_segment_set_seek),
12078 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12079 (gst_segment_to_running_time), (gst_segment_clip):
12080 * gst/gstsegment.h:
12081 More segment updates, replace code in plugins with segment
12084 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
12086 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
12087 Don't ignore sscanf results
12089 2005-11-21 Andy Wingo <wingo@pobox.com>
12091 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
12094 * *.c: Ran scripts/update-macros. Oh yes.
12096 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
12097 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
12100 * scripts/update-macros: New script. Run it on your files to
12101 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
12104 2005-11-21 Stefan Kost <ensonic@users.sf.net>
12106 * docs/gst/Makefile.am:
12107 * docs/gst/gstreamer-docs.sgml:
12108 * docs/gst/gstreamer-sections.txt:
12109 * docs/gst/gstreamer.types:
12111 more docs fixes, add new api to the docs
12113 2005-11-21 Andy Wingo <wingo@pobox.com>
12115 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
12116 state_broadcast call.
12118 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
12120 2005-11-21 Julien MOUTTE <julien@moutte.net>
12122 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
12123 function calls for arrays.
12125 2005-11-21 Stefan Kost <ensonic@users.sf.net>
12127 * docs/random/ensonic/media-device-daemon.txt:
12128 wild idea, can this be done?
12129 * docs/gst/gstreamer-sections.txt:
12134 * gst/gstpluginfeature.c:
12138 doc fixes and additions
12140 2005-11-21 Andy Wingo <wingo@pobox.com>
12142 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
12143 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
12144 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
12145 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
12146 private to the basesrc implementation.
12148 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
12149 behalf of event function if necessary. It should no longer be
12150 necessary to take the stream lock in pad's event functions. Fixes
12153 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
12154 * docs/gst/gstreamer-sections.txt:
12155 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
12156 (gst_structure_fixate_field_nearest_double),
12157 (gst_structure_fixate_field_boolean):
12158 * gst/gststructure.h:
12159 * win32/common/libgstreamer.def:
12160 * win32/gstreamer.def:
12162 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
12165 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
12167 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
12168 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
12169 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
12170 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
12171 (gst_fdsrc_uri_handler_init):
12172 * gst/elements/gstfdsrc.h:
12173 Port fd:// URI handler from 0.8 to fdsrc
12175 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12177 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
12178 (gst_value_serialize_fourcc):
12180 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
12181 consistent with our other format defines (#320324).
12183 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12185 * gst/gstvalue.c: (gst_value_is_fixed):
12186 Revert previous commit. Value lists are by definition
12187 not fixed, as they are a list of possible values.
12189 2005-11-21 Andy Wingo <wingo@pobox.com>
12191 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
12192 during the stable series if we need it. Fixes #319178.
12194 * gst/gstevent.c (gst_event_new_filler): Removed.
12196 * check/gst/gstevent.c: Update comment about filler events.
12198 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12200 * gst/gstvalue.c: (gst_value_is_fixed):
12201 Should handle both value arrays and value lists.
12203 2005-11-21 Andy Wingo <wingo@pobox.com>
12205 patch by: Alessandro Dessina <alessandro nnva org>
12207 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
12208 functions to access arrays. Fixes #321962.
12210 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12212 * docs/gst/gstreamer.types:
12213 gst_collectpads_get_type => gst_collect_pads_get_type.
12215 * gst/base/gstbasetransform.c:
12216 Remove unused SIGNAL_HANDOFF enum.
12218 2005-11-21 Andy Wingo <wingo@pobox.com>
12220 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
12221 the event type (upstream, downstream, serialized). Renamed
12222 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
12223 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
12224 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
12226 * gst/gstevent.c: Update for new CUSTOM event names.
12228 * check/gst/gstevent.c: Update check for new CUSTOM event names.
12231 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
12234 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12236 * docs/gst/gstreamer-sections.txt:
12237 * win32/common/libgstbase.def:
12238 * win32/libgstbase.def:
12239 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12240 (gst_collect_pads_class_init), (gst_collect_pads_init),
12241 (gst_collect_pads_finalize), (gst_collect_pads_new),
12242 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
12243 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
12244 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
12245 (gst_collect_pads_start), (gst_collect_pads_stop),
12246 (gst_collect_pads_peek), (gst_collect_pads_pop),
12247 (gst_collect_pads_available), (gst_collect_pads_read),
12248 (gst_collect_pads_flush), (gst_collect_pads_event),
12249 (gst_collect_pads_chain):
12250 * gst/base/gstcollectpads.h:
12251 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
12252 unimplemented functions as unimplemented. Add padding to
12253 GstCollectData. (#320766, #320423)
12255 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12257 * gst/gstmessage.c:
12258 Improve docs for DURATION message (usage of duration parameter)
12261 2005-11-20 Wim Taymans <wim@fluendo.com>
12263 * check/Makefile.am:
12264 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
12268 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
12269 (gst_segment_set_seek), (gst_segment_set_newsegment),
12270 (gst_segment_to_stream_time), (gst_segment_to_running_time),
12271 (gst_segment_clip):
12272 * gst/gstsegment.h:
12273 Added segment helper structure and methods. Not fully implemented
12275 Added segment check.
12277 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
12279 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12280 Add a deserialisation test for fractions
12281 * examples/metadata/read-metadata.c: (message_loop),
12282 (make_pipeline), (main):
12283 Fix up metadata reading sample.
12284 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12286 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12287 Don't try and fixate empty caps
12288 * gst/gst_private.h:
12289 Wrap in G_BEGIN_DECLS/G_END_DECLS
12290 * gst/gstvalue.c: (gst_value_collect_fraction),
12291 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
12292 (gst_value_transform_string_fraction),
12293 (gst_value_compare_fraction):
12294 Add some extra guards to ensure that we don't end up
12295 with an invalid denominator of 0 in a gstfraction and
12296 that fractions always get reduced.
12298 2005-11-20 Wim Taymans <wim@fluendo.com>
12300 * docs/gst/gstreamer-sections.txt:
12302 * gst/gstelement.c:
12311 2005-11-20 Wim Taymans <wim@fluendo.com>
12313 * docs/design/part-TODO.txt:
12315 Make a proper enum of the flag.
12317 2005-11-19 Wim Taymans <wim@fluendo.com>
12319 * docs/design/part-TODO.txt:
12320 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
12321 (gst_format_to_quark), (gst_format_register):
12323 * gst/gstquery.c: (_gst_query_initialize),
12324 (gst_query_type_get_name), (gst_query_type_to_quark),
12325 (gst_query_type_register):
12327 Add type to quark and type to string conversions.
12329 2005-11-19 Andy Wingo <wingo@pobox.com>
12331 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
12334 2005-11-19 Wim Taymans <wim@fluendo.com>
12336 * docs/design/part-TODO.txt:
12337 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12338 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
12339 (gst_bin_handle_message_func):
12341 Make message handling overridable.
12343 2005-11-19 Andy Wingo <wingo@pobox.com>
12345 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
12348 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
12350 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
12351 is a GstClockTime. Fixes #321710.
12353 * gst/gstclock.h (GstClock): Remove offset property. Add
12354 internal_calibration and external_calibration. Fix padding. Pad
12355 also by GstClockTime so we don't run into problems.
12357 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
12358 (gst_clock_get_rate_offset): Remove.
12359 (gst_clock_set_time_adjust): Remove. Fixes #321712.
12362 * gst/gstutils.c (g_static_rec_cond_wait)
12363 (g_static_rec_cond_timed_wait): Removed, no longer needed.
12365 * gst/gstbin.c: Remove terrible continue_state prototype.
12367 * gst/gstelement.h (gst_element_continue_state): Make public.
12369 * gst/gstelement.h:
12370 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
12371 by continue_state. Fixes #319389.
12373 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
12374 Really fixes #168438. However I don't see anywhere where the
12375 filter function is called... stupid GStreamer...
12377 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
12378 don't have a dispose function, so it won't get called when the
12379 object is unreffed, but oh well!
12381 * gst/gstindex.c (gst_index_set_filter_full): New API function,
12382 allows a destroy function to be set so user_data can be freed.
12384 (gst_index_set_filter): Call gst_index_set_filter_full.
12386 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
12388 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
12389 string should produce an error, given the lack of a way to
12390 represent NULL strings. Fixes #165650.
12393 * gst/gstvalue.c (gst_value_array_append_value)
12394 (gst_value_array_prepend_value, gst_value_array_get_size)
12395 (gst_value_array_get_value): New API, copied from
12396 gst_value_list_*, only operates on arrays.
12397 (gst_value_list_append_value, gst_value_list_prepend_value)
12398 (gst_value_list_concat, gst_value_list_get_size)
12399 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
12401 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
12402 init_list, because it works on both.
12403 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
12404 (gst_value_copy_list_or_array): Renamed from copy_list.
12405 (gst_value_free_list_or_array): Renamed from free_list.
12406 (gst_value_collect_list_or_array): Renamed from collect_list.
12407 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
12408 (gst_value_list_or_array_peek_pointer): Renamed from
12410 (_gst_value_array_value_table, _gst_value_list_value_table):
12411 Update value table functions.
12412 (gst_value_compare_list_or_array): Renamed from compare_list.
12414 * gsttaglist.h: Whoops, foreach function returns void. Also fix
12417 * gst/gsttaglist.c:
12418 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
12419 GstTagList*. Fixes #143472.
12421 * gst/gststructure.h: Clarify what the foreach/map functions can
12422 or can't do to their arguments.
12424 2005-11-18 Wim Taymans <wim@fluendo.com>
12426 * gst/gstclock.c: (gst_clock_set_calibration),
12427 (gst_clock_get_calibration):
12429 Calibration can be set with internal time equal to current
12432 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
12438 2005-11-18 Andy Wingo <wingo@pobox.com>
12441 * pkgconfig/gstreamer-net.pc.in:
12442 * pkgconfig/gstreamer-net-uninstalled.pc.in:
12443 * pkgconfig/Makefile.am: Add net pkgconfig files.
12445 2005-11-18 Stefan Kost <ensonic@users.sf.net>
12448 * gst/gstghostpad.c:
12454 2005-11-18 Andy Wingo <wingo@pobox.com>
12456 * gst/net/gstnetclientclock.c: Turn off debugging.
12458 * check/net/gstnetclientclock.c (test_functioning): Assert that the
12459 times connverge somewhat. Can't make a real test.
12461 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
12462 integer arithmetic. Return the minimum of the domain, which can be
12463 set as "internal" for gst_clock_set_calibration.
12464 (gst_net_client_clock_observe_times): Call _set_calibration.
12465 (gst_net_client_clock_new): Call _set_calibration instead of
12468 * check/net/gstnetclientclock.c (test_functioning): Use the right
12472 * gst/gstclock.c (gst_clock_get_calibration)
12473 (gst_clock_set_calibration): New functions, obsolete the ones I
12474 added yesterday. Doh. Precision issues mean we have to extrapolate
12475 from a point in the more recent past than 1970.
12476 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
12478 (gst_clock_adjust_unlocked): Use the right calibration data.
12480 2005-11-18 Edward Hervey <edward@fluendo.com>
12482 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12483 Also reset the ->current_* values in READY->PAUSED
12485 2005-11-18 Andy Wingo <wingo@pobox.com>
12487 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
12488 Whoops, check the right fd. Also add some debugging.
12489 (gst_net_client_clock_observe_times): Adjust for int64 offset.
12490 (do_linear_regression): Add a crapload of debugging. Subtract off
12491 the minimum values from the input series to discard unneeded bits.
12492 Use only int arithmetic. There is still double arithmetic when
12493 calculating the intercept that needs fixing. Return boolean to
12494 indicate success; FALSE would mean the domain or range is too
12495 great. Still needs fixes.
12497 2005-11-18 Wim Taymans <wim@fluendo.com>
12499 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12500 For the current position in stream time, we need to subtract
12503 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12504 Release lock before calling the callback function of async
12507 2005-11-18 Andy Wingo <wingo@pobox.com>
12509 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
12510 Port goes all the way to MAXUINT16.
12512 * gst/net/gstnettimeprovider.c: Make the port range the same as
12513 for the kernel: 0 assigns, otherwise ports are less than
12516 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
12519 * check/net/gstnetclientclock.c (test_functioning): Add the start
12522 2005-11-18 Wim Taymans <wim@fluendo.com>
12524 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12525 (gst_bin_remove_func), (bin_bus_handler):
12527 Removing a clock provider from a bin, triggers a clock lost message
12528 so that a new clock will be selected.
12529 Adding a clock to a bin triggers a clock provider message.
12530 Make sure we reselect a clock when we received a clock lost message.
12531 Keep a reference to the element that provided the clock.
12533 2005-11-18 Andy Wingo <wingo@pobox.com>
12535 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
12536 the clock initially so it produces values around the base time.
12537 (gst_net_client_clock_class_init): Typo fix.
12538 (gst_net_client_clock_thread): Add note on when the socket gets
12541 2005-11-17 Wim Taymans <wim@fluendo.com>
12543 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
12544 Free remote and local time arrays.
12546 2005-11-17 Wim Taymans <wim@fluendo.com>
12548 * gst/net/gstnetclientclock.c: (do_linear_regression),
12549 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
12550 Fix compilation, uninitialized vars and a forgotten continue.
12552 2005-11-17 Andy Wingo <wingo@pobox.com>
12554 * check/Makefile.am (check_PROGRAMS):
12555 * check/net/gstnetclientclock.c: Add a most minimal test for the
12556 net client clock. More to come later.
12558 * gst/net/gstnet.h:
12559 * gst/net/Makefile.am: Add netclientclock.
12561 * gst/net/gstnetclientclock.h:
12562 * gst/net/gstnetclientclock.c: New files, implement an untested
12563 GstClock that takes its time from a network time provider.
12564 Implements the algorithm in network-clock.scm.
12566 * tests/network-clock.scm (*window-size*): Rename from
12568 * tests/network-clock.scm (network-time):
12569 * tests/network-clock-utils.scm (q-push): Update callers.
12571 2005-11-17 Wim Taymans <wim@fluendo.com>
12573 * gst/gstbin.c: (gst_bin_provide_clock_func),
12574 (gst_bin_sort_iterator_new):
12575 And unref the child too..
12577 2005-11-17 Wim Taymans <wim@fluendo.com>
12579 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12580 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
12581 Refactor the sort iterator so it can be used while holding the
12583 Make clock selection select a clock closest to the source.
12585 2005-11-17 Michael Smith <msmith@fluendo.com>
12587 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
12588 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
12590 Anonymous structs are a gcc (and some other compilers) extension, so
12591 don't use them. Since this is only for ABI-compatibility, and our
12592 API/ABI freeze is over in a few days, this whole thing will only
12593 last a few days, so don't bother trying to think up a meaningful
12594 name for the struct.
12596 2005-11-17 Andy Wingo <wingo@pobox.com>
12598 * gst/gstclock.h (GstClock): Add rate and offset properties,
12599 preserving ABI stability. Add rate/offset accessors. Will file bug
12600 for the freeze break.
12602 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
12603 and offset, trying to keep precision and avoiding
12604 underflow/overflow.
12605 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
12606 functions. Make gst_clock_set_time_adjust obsolete.
12607 (gst_clock_set_time_adjust): Note that this function is obsolete.
12608 Will file bug soon.
12610 * gst/base/gstbasetransform.h: Make the ABI-stability hack
12611 greppable by using GST_PADDING-1+1.
12613 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
12615 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12617 * gst/gstmessage.c: (gst_message_parse_clock_lost):
12618 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12620 * gst/gstpadtemplate.h:
12621 * gst/gstpluginfeature.h:
12622 Don't use c++ style comments in headers (#321638).
12624 2005-11-16 Andy Wingo <wingo@pobox.com>
12626 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12629 * check/net/gstnettimeprovider.c: Check to see that the time
12630 provider actually provides times. Works, yo!
12632 2005-11-16 Wim Taymans <wim@fluendo.com>
12634 * check/Makefile.am:
12637 * check/elements/fakesrc.c: (GST_START_TEST):
12638 Set element to NULL before disposing it.
12640 2005-11-16 Andy Wingo <wingo@pobox.com>
12642 * gst/net/Makefile.am:
12643 * gst/net/gstnet.h:
12644 * gst/net/gstnettimeprovider.c:
12645 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12646 provider, include it from gstnet.h, and add it to the build.
12648 * gst/net/gstnettimepacket.h:
12649 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12650 sending and receiving.
12652 2005-11-16 Wim Taymans <wim@fluendo.com>
12654 * check/Makefile.am:
12655 Enable valgrind check.
12657 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12658 (gst_fake_src_alloc_buffer):
12661 2005-11-16 Wim Taymans <wim@fluendo.com>
12663 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12664 Call parent finalize too.
12666 2005-11-16 Wim Taymans <wim@fluendo.com>
12668 * check/Makefile.am:
12669 Enable valgrind check that should work fine now.
12671 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12672 * gst/gstqueue.c: (gst_queue_init):
12673 Fix memleaks in pad allocation.
12675 2005-11-16 Andy Wingo <wingo@pobox.com>
12677 * gst/net/Makefile.am:
12678 * gst/net/gstnet.h: New part of core to hold network elements and
12679 objects. Put in core because it exposes API that applications want
12680 to use. The library is named libgstnet-tempname right now because
12681 of the existing libgstnet in gst-plugins-base. Solution is
12682 probably to rename the one in plugins-base; will file a bug for
12685 * gst/net/gstnettimeprovider.c:
12686 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12687 get_time call over the network.
12690 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12692 * check/Makefile.am:
12693 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12694 get additions shortly.
12696 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12698 * gst/gstpad.c: (gst_pad_new_from_static_template):
12700 add gst_pad_new_from_static_template functions
12701 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12702 (gst_check_setup_sink_pad):
12703 * gst/elements/gsttee.c: (gst_tee_init):
12706 2005-11-16 Wim Taymans <wim@fluendo.com>
12708 * gst/gstpad.c: (gst_pad_pause_task):
12709 Removed warning, it's not really an error either.
12711 2005-11-16 Wim Taymans <wim@fluendo.com>
12713 * gst/base/gstbasetransform.c:
12714 (gst_base_transform_prepare_output_buf),
12715 (gst_base_transform_event):
12716 Check if the caps are NULL, this can happen if the element
12717 is shutting down and the pad caps are set to NULL.
12719 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12721 * gst/elements/gsttee.c: (gst_tee_init):
12722 fix pad template leak in tee
12724 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12726 * gst/glib-compat.c: (g_value_dup_gst_object):
12727 * gst/glib-compat.h:
12728 * gst/gstpad.c: (gst_pad_set_property):
12729 use gst_object_ref when setting the pad template; this will
12730 trigger the pad template leaks on GLib 2.6 and the slaves
12732 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12734 * gst/glib-compat.c: (gst_flags_get_first_value):
12735 * gst/glib-compat.h:
12736 * gst/gstregistryxml.c:
12737 remove functions copied from GLib 2.6
12739 2005-11-16 Michael Smith <msmith@fluendo.com>
12742 Don't link against VALGRIND_LIBS. That was always the wrong thing to
12743 do, but only breaks with newer valgrind versions. We're not a
12744 valgrind tool, we have no link-time dependencies on libcoregrind.
12746 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12748 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12750 * gst/gstmessage.h:
12753 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12755 * gst/base/gstbasesrc.c: (gst_base_src_init):
12756 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12757 * gst/gstqueue.c: (gst_queue_init):
12758 * gst/gstregistryxml.c: (load_feature):
12759 Revert all these unrefs, they don't even pass make check !
12761 2005-11-15 Johan Dahlin <johan@gnome.org>
12763 * gst/base/gstbasesrc.c: (gst_base_src_init):
12764 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12765 * gst/gstqueue.c: (gst_queue_init):
12766 Free pad templates, fixes a couple of leaks.
12768 2005-11-15 Daniel Fischer <dan at f3c dot com>
12770 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12772 * gst/gstpad.c: (gst_pad_get_property):
12773 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12774 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12777 2005-11-15 Wim Taymans <wim@fluendo.com>
12782 2005-11-15 Andy Wingo <wingo@pobox.com>
12784 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12786 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12787 using GST_CLOCK_TIME_NONE to disable base time management.
12788 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12789 time if it was NONE before.
12790 (gst_pipeline_change_state): Only munge the base time if
12791 stream_time != GST_CLOCK_TIME_NONE.
12793 * check/gst/gstpipeline.c (test_base_time): Punt around the
12794 problem of the probe not being called, because that's not the
12795 issue I'm looking at. Add a check that setting stream_time to NONE
12796 disables base time management.
12798 2005-11-15 Wim Taymans <wim@fluendo.com>
12800 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12801 segment_stop == -1 at startup.
12803 * gst/base/gstbasetransform.c: (gst_base_transform_event),
12804 (gst_base_transform_change_state):
12805 Init segment values at start.
12807 2005-11-15 Wim Taymans <wim@fluendo.com>
12809 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12810 0 segment values are 0 in any format.
12812 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12813 * gst/base/gstbasetransform.h:
12814 Parse newsegment correctly in basetransform
12816 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12817 Sync to clock using updated segment values.
12819 2005-11-15 Andy Wingo <wingo@pobox.com>
12821 * check/gst/gstpipeline.c (test_base_time): Add check that the
12822 base time and stream time are reset correctly.
12824 2005-11-15 Wim Taymans <wim@fluendo.com>
12826 * docs/design/part-TODO.txt:
12827 Some more TODO items.
12829 2005-11-15 Andy Wingo <wingo@pobox.com>
12831 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12832 error if the user selected "no clock" as the clocking method.
12834 * check/gst/gstpipeline.c (test_base_time): New test for buffer
12835 timestamps with live capture.
12837 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12838 is 0 but we are a live source, timestamp the buffers using the
12841 2005-11-14 Stefan Kost <ensonic@users.sf.net>
12843 * docs/gst/gstreamer-sections.txt:
12845 * gst/gstghostpad.c:
12850 2005-11-14 Wim Taymans <wim@fluendo.com>
12853 add suppressions from Wim's Debian machine
12855 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
12858 add suppressions from Andy's AMD64 Ubuntu machine
12860 2005-11-14 Andy Wingo <wingo@pobox.com>
12862 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12863 STATE_LOCK not necessary. Fixes #311489.
12865 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12868 * gst/gstindex.c (gst_index_add_object): Note in the docs that
12869 this function is not implemented.
12871 2005-11-14 Julien MOUTTE <julien@moutte.net>
12873 * gst/base/gstbasetransform.c:
12874 (gst_base_transform_prepare_output_buf):
12875 Ref the source pad caps while we need them.
12878 2005-11-11 Wim Taymans <wim@fluendo.com>
12880 * docs/gst/gstreamer-sections.txt:
12881 Added some docs for GstCollectData.
12883 * gst/base/gstadapter.c:
12884 Some small code example fix.
12886 * gst/base/gstcollectpads.c:
12887 * gst/base/gstcollectpads.h:
12888 Document some more.
12890 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12892 * configure.ac: back to HEAD
12894 === release 0.9.5 ===
12896 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12899 releasing 0.9.5, "Bike Lunch Day"
12901 2005-11-11 Wim Taymans <wim@fluendo.com>
12903 * gst/gstbuffer.c: (_gst_buffer_copy):
12906 * gst/gstcaps.c: (gst_caps_is_equal):
12908 Make _is_equal fast in the trivial cases.
12910 * gst/gstminiobject.c:
12911 * gst/gstminiobject.h:
12912 More docs. Spifify .h file.
12917 2005-11-11 Wim Taymans <wim@fluendo.com>
12919 * gst/base/gstbasetransform.c:
12920 (gst_base_transform_prepare_output_buf),
12921 (gst_base_transform_handle_buffer):
12923 If we're processing a buffer and need to allocate an output
12924 buffer, we cannot accept a format change. If we did get a
12925 format change, we have to alloc a buffer ourselves of the
12928 2005-11-11 Wim Taymans <wim@fluendo.com>
12930 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12931 While checking the flag for reentrancy in the gstcaps function
12932 is nice to detect recursive invocations, it also makes it
12933 impossible to call getcaps from multiple threads, which must be
12934 possible. So, checking for recursive calls has to go.
12936 2005-11-11 Michael Smith <msmith@fluendo.com>
12938 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12939 Don't sync on buffers that fall partially outside our current
12940 segment. Prevents an assertion failure/abort playing some files.
12942 2005-11-10 Andy Wingo <wingo@pobox.com>
12944 * check/gst/gstbin.c (test_message_state_changed_children): Style
12947 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12948 gst_bus_poll with the signal watch. Ensures that poll and a signal
12949 watch see the same messages.
12951 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12952 a poll and a watch at the same time get the same messages.
12954 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12956 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12957 * gst/gstcaps.c: (gst_caps_intersect):
12958 Don't call gst_caps_do_simplify - it doesn't respect order of caps
12959 and it's not needed.
12961 2005-11-10 Wim Taymans <wim@fluendo.com>
12963 * docs/design/part-TODO.txt:
12966 2005-11-10 Wim Taymans <wim@fluendo.com>
12968 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12969 * gst/base/gstbasesrc.c: (gst_base_src_wait),
12970 (gst_base_src_do_sync), (gst_base_src_get_range):
12971 Implement clock sync in base class.
12973 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12975 patch by: Tim-Philipp Müller <tim at centricular dot net>
12977 * gst/gststructure.c: (gst_structure_parse_field),
12978 (gst_structure_from_string):
12979 Forward-port a 0.8 patch to handle escaped spaces in structure string,
12980 so that gst_parse_launch() can deal with spaces in filtered link
12981 caps (fixes #164479)
12982 * check/gst/capslist.h:
12983 * check/gst/gststructure.c: (GST_START_TEST):
12984 add unit tests for this change
12986 2005-11-10 Wim Taymans <wim@fluendo.com>
12988 * docs/gst/gstreamer-sections.txt:
12989 * gst/gstelement.c:
12990 * gst/gstelement.h:
12991 Fix docs, move some STATE macros to private.
12993 2005-11-10 Wim Taymans <wim@fluendo.com>
12995 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12996 Added check for bug #317341
13000 Some more spiffifying.
13002 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
13003 Call peer linkfunction if we are a source pad. Totally fixes
13007 Update docs, source pads should call the peer linkfunction
13008 so they can atomically perform the pad link.
13010 2005-11-09 Wim Taymans <wim@fluendo.com>
13014 Uber-spiffy-spiffify some more.
13016 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
13018 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
13019 * gst/elements/gstfilesink.c: (gst_file_sink_init):
13020 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13021 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
13022 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
13023 * gst/gstpad.c: (gst_pad_init):
13024 Use GST_DEBUG_FUNCPTR() more extensively.
13026 2005-11-09 Wim Taymans <wim@fluendo.com>
13028 * gst/gstobject.c: (gst_object_class_init):
13030 Documentation fixes.
13032 2005-11-09 Edward Hervey <edward@fluendo.com>
13034 * gst/gsttypefindfactory.c:
13037 2005-11-09 Edward Hervey <edward@fluendo.com>
13039 * gst/base/gsttypefindhelper.c:
13040 * gst/gsttypefind.c:
13041 * gst/gsttypefind.h:
13044 2005-11-09 Wim Taymans <wim@fluendo.com>
13046 * gst/gstiterator.c:
13053 2005-11-09 Wim Taymans <wim@fluendo.com>
13059 2005-11-09 Wim Taymans <wim@fluendo.com>
13061 * docs/gst/gstreamer-sections.txt:
13062 Moved the message async delivery private lock and cond
13063 to the private section.
13065 * gst/gstmessage.c:
13066 * gst/gstmessage.h:
13069 2005-11-09 Edward Hervey <edward@fluendo.com>
13071 * docs/gst/gstreamer-sections.txt:
13074 Document GstURIHandler
13076 2005-11-09 Wim Taymans <wim@fluendo.com>
13078 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
13079 (gst_iterator_find_custom):
13080 * gst/gstiterator.h:
13083 2005-11-09 Wim Taymans <wim@fluendo.com>
13086 Document another field.
13088 * gst/gststructure.c:
13089 * gst/gststructure.h:
13092 2005-11-09 Wim Taymans <wim@fluendo.com>
13095 Documented structs.
13097 2005-11-09 Wim Taymans <wim@fluendo.com>
13099 * docs/gst/gstreamer-sections.txt:
13100 Added some new macros.
13107 2005-11-09 Wim Taymans <wim@fluendo.com>
13109 * docs/design/part-TODO.txt:
13110 Some more items for the TODO
13116 2005-11-09 Andy Wingo <wingo@pobox.com>
13118 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
13119 to work on something else now tho...
13121 * gst/base/gstadapter.c: More adapter docs.
13123 * gst/elements/gstfilesink.c (gst_file_sink_start)
13124 (gst_file_sink_stop): New functions, replace the state change
13126 (gst_file_sink_class_init): Hook up the start and stop functions.
13127 (gst_file_sink_base_init): Don't set the state change handler any
13128 more. It was a bit ugly too, being set from here...
13129 (gst_file_sink_get_property, gst_file_sink_set_property):
13131 (gst_file_sink_set_location): More robust check that doesn't call
13132 GST_STATE. Ugggggg.
13134 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
13136 * gst/base/gstbasetransform.c: (gst_base_transform_event):
13137 Hold STREAM_LOCK while pushing newsegment or tag events as well.
13139 2005-11-08 Wim Taymans <wim@fluendo.com>
13141 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
13142 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13143 (gst_base_sink_chain), (gst_base_sink_change_state):
13144 * gst/base/gstbasesink.h:
13145 * gst/base/gstbasesrc.h:
13146 * gst/gstelement.h:
13148 Avoid excessive typechecking in macros.
13150 * gst/gstminiobject.c: (gst_mini_object_get_type),
13151 (gst_mini_object_init), (gst_mini_object_new),
13152 (gst_mini_object_free):
13153 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13154 (gst_object_finalize):
13155 Remove cruft code, optimize alloc_trace.
13157 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
13159 * docs/faq/gst-uninstalled:
13160 fix up PS1 for systems that try to reset it
13162 2005-11-07 Wim Taymans <wim@fluendo.com>
13164 * gst/base/gstbasesrc.c: (gst_base_src_init),
13165 (gst_base_src_get_range):
13166 Set the segment_end to -1 initially. Fixed typefind.
13168 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
13170 * gst/base/gstadapter.c:
13171 Debug category should be 'adapter', not 'GstAdapter'.
13173 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
13174 (gst_collectpads_class_init), (gst_collectpads_init),
13175 (gst_collectpads_peek), (gst_collectpads_pop),
13176 (gst_collectpads_event), (gst_collectpads_chain):
13177 Add debug category and some debugging output. Use boilerplate
13178 macros. Remove some extraneous words from docs.
13180 2005-11-05 Andy Wingo <wingo@pobox.com>
13182 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
13185 2005-11-04 Stefan Kost <ensonic@users.sf.net>
13187 * docs/gst/gstreamer-sections.txt:
13190 * gst/gstminiobject.h:
13195 2005-11-04 Wim Taymans <wim@fluendo.com>
13197 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13198 Small update to stop at the configured segment_end
13201 2005-11-04 Stefan Kost <ensonic@users.sf.net>
13203 * gst/gstregistry.c:
13204 * gst/gstregistry.h:
13207 2005-11-04 Edward Hervey <edward@fluendo.com>
13209 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13210 Check if we are doing a segment seek and have arrived at the
13211 end of that segment.
13213 2005-11-04 Wim Taymans <wim@fluendo.com>
13215 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
13216 Don't leak a mutex unlock in case of an error.
13221 2005-11-04 Wim Taymans <wim@fluendo.com>
13223 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
13225 Get the context to wake up only once.
13227 2005-11-03 Wim Taymans <wim@fluendo.com>
13229 * check/states/sinks.c: (GST_START_TEST):
13230 Uncomment fixed check.
13232 * docs/design/part-TODO.txt:
13235 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13236 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13237 (gst_base_sink_get_position):
13238 If we are going to PLAYING, post the right pending state
13239 when we post the intermediate paused message.
13241 * gst/gstelement.c: (gst_element_continue_state),
13242 (gst_element_set_state_func), (gst_element_change_state):
13243 Don't post state changes that were between the same state
13244 and were not ASYNC.
13246 2005-11-03 Stefan Kost <ensonic@users.sf.net>
13248 * docs/gst/gstreamer-sections.txt:
13251 * gst/gstminiobject.h:
13254 more docs and doc style fixes
13256 2005-11-03 Stefan Kost <ensonic@users.sf.net>
13258 * docs/gst/gstreamer-sections.txt:
13259 * gst/gstelement.c:
13260 * gst/gstminiobject.c:
13263 2005-11-03 Andy Wingo <wingo@pobox.com>
13265 * check/states/sinks.c (test_livesrc_sink): Add checks that the
13266 state-changed messages actually have the right order and the right
13269 2005-11-03 Wim Taymans <wim@fluendo.com>
13271 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13272 Added some more checks. Specifically the case where NO_PREROLL
13273 elements are in the pipeline.
13275 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13276 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13277 (gst_base_sink_get_position):
13278 Post READY->PAUSED state change messages too.
13279 Fix bug where VOID was posted as pending state...
13281 * gst/gstbin.c: (gst_bin_recalc_state):
13282 use _element_continue_state() to continue the state change.
13284 * gst/gstelement.c: (gst_element_continue_state),
13285 (gst_element_commit_state), (gst_element_set_state_func),
13286 (gst_element_change_state), (gst_element_change_state_func):
13287 Lots of state change cleanups, assign the STATE_RETURN in
13288 a new continue_state() function that also propagates the
13289 last return value from a state change to the app.
13290 Update some debug statements with proper category.
13292 2005-11-03 Wim Taymans <wim@fluendo.com>
13294 * docs/design/part-events.txt:
13295 * docs/design/part-gstpipeline.txt:
13296 * docs/design/part-messages.txt:
13297 * docs/design/part-overview.txt:
13298 * docs/design/part-seeking.txt:
13299 * docs/design/part-states.txt:
13300 * docs/design/part-trickmodes.txt:
13301 * docs/manual/advanced-position.xml:
13302 Small docs updates.
13305 People think !! is ugly, this looks better.
13307 * gst/gstpad.c: (gst_pad_set_blocked_async):
13308 Remove !! since it's fixed elsewhere now.
13310 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13312 * gst/gstminiobject.h:
13314 Add !! to _FLAG_IS_SET macros to make the result boolean.
13316 2005-11-03 Edward Hervey <edward@fluendo.com>
13318 * gst/gstpad.c: (gst_pad_set_blocked_async):
13319 comparing a flag and a gboolean rarely returns coherent results...
13320 Added two characters (!!) to make that work correctly.
13322 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13324 * gst/gstbus.c: (gst_bus_class_init):
13327 * gst/gstqueue.c: (gst_queue_loop):
13328 Don't assume a miniobject that isn't a buffer is an
13329 event (it could be that there is a refcounting
13330 problem somewhere and the pointer is stale and
13331 refers to an already destroyed miniobject).
13333 2005-11-03 Julien MOUTTE <julien@moutte.net>
13335 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
13337 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13339 * docs/manual/advanced-position.xml:
13340 Update seek example and explanations to current 0.9 API.
13342 * gst/elements/gsttypefindelement.c:
13343 (gst_type_find_element_activate):
13344 Remove FIXME comment now that the found caps
13347 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
13349 * gst/gstregistryxml.c: (load_feature):
13350 Add another GST_STR_NULL instance
13352 2005-11-02 Edward Hervey <edward@fluendo.com>
13354 * gst/gstpad.c: (handle_pad_block):
13355 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
13357 2005-11-02 Wim Taymans <wim@fluendo.com>
13362 * gst/gstelement.c: (gst_element_commit_state):
13363 Remove unused value.
13365 * gst/gstiterator.c:
13366 Mention that the returned element is reffed in the docs.
13368 2005-11-02 Wim Taymans <wim@fluendo.com>
13370 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
13371 (gst_pad_push), (gst_pad_push_event):
13372 Unlock blocked pads when they are flushed.
13374 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13377 * docs/gst/gstreamer-sections.txt:
13380 * gst/gstregistry.c: (gst_registry_scan_path_level):
13381 fix for a nasty little missed situation where an installed plug-in
13382 which was in the cache did not get overridden by an uninstalled one
13383 which was earlier in the plugin path because the newly created plugin
13384 for the uninstalled one (not in the registry) didn't get its
13385 ->registered set to TRUE
13387 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
13389 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
13390 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
13391 (gst_collectpads_is_active), (gst_collectpads_collect),
13392 (gst_collectpads_collect_range), (gst_collectpads_start),
13393 (gst_collectpads_stop), (gst_collectpads_peek),
13394 (gst_collectpads_pop), (gst_collectpads_available),
13395 (gst_collectpads_read), (gst_collectpads_flush):
13396 Guard public API with assertions.
13399 Fix docs for gst_pad_set_link_function().
13401 2005-11-02 Johan Dahlin <johan@gnome.org>
13403 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
13404 Unref found_caps after we used it.
13406 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
13408 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
13409 Don't try to ref NULL.
13411 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13413 * win32/common/config.h.in:
13414 provide a GST_FUNCTION that just gives a string for now
13416 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13418 * win32/common/gstenumtypes.c: (register_gst_object_flags),
13419 (gst_object_flags_get_type), (register_gst_bin_flags),
13420 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13421 (gst_buffer_flag_get_type), (register_gst_bus_flags),
13422 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13423 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
13424 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13425 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13426 (gst_clock_flags_get_type), (register_gst_state),
13427 (gst_state_get_type), (register_gst_state_change_return),
13428 (gst_state_change_return_get_type), (register_gst_state_change),
13429 (gst_state_change_get_type), (register_gst_element_flags),
13430 (gst_element_flags_get_type), (register_gst_core_error),
13431 (gst_core_error_get_type), (register_gst_library_error),
13432 (gst_library_error_get_type), (register_gst_resource_error),
13433 (gst_resource_error_get_type), (register_gst_stream_error),
13434 (gst_stream_error_get_type), (register_gst_event_type),
13435 (gst_event_type_get_type), (register_gst_seek_type),
13436 (gst_seek_type_get_type), (register_gst_seek_flags),
13437 (gst_seek_flags_get_type), (register_gst_format),
13438 (gst_format_get_type), (register_gst_index_certainty),
13439 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13440 (gst_index_entry_type_get_type),
13441 (register_gst_index_lookup_method),
13442 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13443 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13444 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13445 (gst_index_flags_get_type), (register_gst_debug_level),
13446 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13447 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13448 (gst_iterator_result_get_type), (register_gst_iterator_item),
13449 (gst_iterator_item_get_type), (register_gst_message_type),
13450 (gst_message_type_get_type), (register_gst_mini_object_flags),
13451 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13452 (gst_pad_link_return_get_type), (register_gst_flow_return),
13453 (gst_flow_return_get_type), (register_gst_activate_mode),
13454 (gst_activate_mode_get_type), (register_gst_pad_direction),
13455 (gst_pad_direction_get_type), (register_gst_pad_flags),
13456 (gst_pad_flags_get_type), (register_gst_pad_presence),
13457 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13458 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13459 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13460 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13461 (gst_plugin_flags_get_type), (register_gst_rank),
13462 (gst_rank_get_type), (register_gst_query_type),
13463 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13464 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13465 (gst_tag_flag_get_type), (register_gst_task_state),
13466 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13467 (gst_alloc_trace_flags_get_type),
13468 (register_gst_type_find_probability),
13469 (gst_type_find_probability_get_type), (register_gst_uri_type),
13470 (gst_uri_type_get_type), (register_gst_parse_error),
13471 (gst_parse_error_get_type):
13472 * win32/common/gstversion.h:
13473 update win32 copies
13475 2005-11-01 Luca Ognibene <luogni@tin.it>
13478 fix docs. popt is dead, long live GOption.
13480 2005-10-31 Wim Taymans <wim@fluendo.com>
13485 2005-10-31 Andy Wingo <wingo@pobox.com>
13489 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
13491 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
13492 need to serialize property notifications on GLib 2.8. GLib 2.6 has
13493 the possibility of deadlocks here if code calling notify() or
13494 set() has a lock that can be taken in another notify handler (ABBA
13495 with class lock and e.g. python GIL state lock).
13497 2005-10-28 Julien MOUTTE <julien@moutte.net>
13499 * gst/gstbus.c: Doc updates.
13501 2005-10-28 Wim Taymans <wim@fluendo.com>
13503 * docs/design/part-TODO.txt:
13504 * gst/gstiterator.c:
13505 * gst/gstsystemclock.c:
13506 * gst/gstsystemclock.h:
13509 2005-10-28 Edward Hervey <edward@fluendo.com>
13511 * docs/gst/gstreamer-docs.sgml:
13512 * docs/gst/gstreamer-sections.txt:
13513 the GstURIType documentation page is private, it only defines GstURIType
13514 which should be defined in the GstURIHandler page
13516 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
13518 * gst/gstbin.c: (gst_bin_class_init):
13521 Documentation updates.
13523 2005-10-28 Wim Taymans <wim@fluendo.com>
13525 * docs/gst/gstreamer-sections.txt:
13528 Documented the clocks.
13530 2005-10-28 Stefan Kost <ensonic@users.sf.net>
13532 * docs/gst/gstreamer-sections.txt:
13533 move some macros to private sections
13534 * gst/gstminiobject.c:
13535 * gst/gstminiobject.h:
13536 add descriptions provided by ds and some more
13538 mark macro as to be removed
13540 2005-10-28 Wim Taymans <wim@fluendo.com>
13542 * docs/design/part-TODO.txt:
13543 Add an item to TODO.
13545 * gst/gstiterator.c: (gst_iterator_fold),
13546 (gst_iterator_find_custom):
13547 * gst/gstiterator.h:
13550 2005-10-28 Wim Taymans <wim@fluendo.com>
13552 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13553 (gst_base_transform_init):
13556 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
13557 An EOS event marks the queue as completely filled.
13559 2005-10-27 Wim Taymans <wim@fluendo.com>
13561 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13562 (gst_base_sink_do_sync), (gst_base_sink_get_position):
13563 Some more debugging.
13565 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
13566 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
13567 (gst_base_transform_event), (gst_base_transform_getrange),
13568 (gst_base_transform_chain):
13569 * gst/base/gstbasetransform.h:
13571 Protect transform and concurrent buffer alloc with a new lock.
13572 Try not to break ABI/API.
13574 2005-10-27 Wim Taymans <wim@fluendo.com>
13576 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13577 (gst_base_src_init), (gst_base_src_query),
13578 (gst_base_src_default_newsegment),
13579 (gst_base_src_configure_segment), (gst_base_src_do_seek),
13580 (gst_base_src_send_event), (gst_base_src_event_handler),
13581 (gst_base_src_pad_get_range), (gst_base_src_loop),
13582 (gst_base_src_unlock), (gst_base_src_default_negotiate),
13583 (gst_base_src_start), (gst_base_src_deactivate),
13584 (gst_base_src_activate_push), (gst_base_src_change_state):
13585 Move some stuff around and cleanup things.
13587 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
13589 * gst/base/gstbasesrc.c: (gst_base_src_query):
13590 Add missing break statements.
13592 2005-10-27 Wim Taymans <wim@fluendo.com>
13594 * check/gst/gstbin.c: (GST_START_TEST):
13595 An extra refcount is taken in basesrc.
13597 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13598 (gst_base_src_get_range), (gst_base_src_pad_get_range),
13599 (gst_base_src_loop):
13600 Small cleanups, check for flushing after being unlocked from the
13601 LIVE_LOCK. take refcounts correctly (not yet everywhere).
13602 Don't send out EOS when going to READY.
13604 2005-10-27 Wim Taymans <wim@fluendo.com>
13606 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13607 (gst_base_sink_get_position):
13610 * gst/gstbin.c: (message_check), (bin_replace_message),
13611 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13612 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13613 (bin_query_duration_init), (bin_query_duration_fold),
13614 (bin_query_duration_done), (bin_query_generic_fold),
13616 * tools/gst-launch.c: (main):
13619 2005-10-26 Stefan Kost <ensonic@users.sf.net>
13621 * examples/controller/audio-example.c: (main):
13622 * examples/queue/queue.c: (event_loop):
13623 * gst/base/gstbasetransform.h:
13624 * gst/gstelement.c: (gst_element_send_event):
13626 * gst/gstpad.c: (gst_pad_send_event):
13629 changing log priority in error situations
13631 2005-10-25 Wim Taymans <wim@fluendo.com>
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 Some doc and debug updates.
13640 Cache previously requested query DURATION for speed. invalidate
13641 cached duration if element posts a DURATION message.
13643 2005-10-25 Wim Taymans <wim@fluendo.com>
13645 * docs/design/part-TODO.txt:
13648 * gst/gstbin.c: (message_check), (bin_replace_message),
13649 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13650 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13651 (bin_query_duration_init), (bin_query_duration_fold),
13652 (bin_query_duration_done), (bin_query_generic_fold),
13654 Handle SEGMENT_START/DONE messages correctly.
13655 More evolved query algorithm that handles duration queries
13658 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13659 (gst_element_get_state_func), (gst_element_abort_state),
13660 (gst_element_commit_state), (gst_element_lost_state):
13661 Some more debugging.
13663 * gst/gstmessage.h:
13666 2005-10-25 Wim Taymans <wim@fluendo.com>
13668 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13669 Don't use invalid stream_time.
13671 * gst/gstevent.c: (gst_event_new_newsegment):
13672 stream_time in newsegment cannot be undefined.
13674 2005-10-24 Wim Taymans <wim@fluendo.com>
13679 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13681 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13683 2005-10-24 Stefan Kost <ensonic@users.sf.net>
13685 * docs/libs/tmpl/gstdparam.sgml:
13686 * docs/libs/tmpl/gstdplinint.sgml:
13687 * docs/libs/tmpl/gstdpman.sgml:
13688 * docs/libs/tmpl/gstdpsmooth.sgml:
13689 * docs/libs/tmpl/gstunitconvert.sgml:
13692 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
13697 === release 0.9.4 ===
13699 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13702 releasing 0.9.4, "Tyrannosaurus Rex"
13704 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
13706 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13707 (gst_file_sink_get_current_offset):
13708 Use fseeko() and ftello() if available. When falling back on
13709 lseek() to get the current offset, fflush() first to make sure
13710 everything is up-to-date and we get the right offset.
13712 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13714 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13715 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13716 * gst/gsterror.c: (_gst_stream_errors_init):
13718 * gst/gstqueue.c: (gst_queue_loop):
13720 remove prematurely added error category and clean up the instances
13722 2005-10-21 Wim Taymans <wim@fluendo.com>
13724 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13725 (gst_base_sink_get_position), (gst_base_sink_query),
13726 (gst_base_sink_change_state):
13727 Simply set the right flag when going to playing, that's all
13728 we need to do instead of calling a function inside the object
13729 lock (that could take the lock as well and deadlock)
13731 2005-10-21 Wim Taymans <wim@fluendo.com>
13733 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13734 (gst_base_src_loop):
13735 Don't warn, the peer element knows what to do best when
13736 the seek failed, it might try something else.
13738 2005-10-21 Wim Taymans <wim@fluendo.com>
13740 * gst/base/gstbasesrc.c: (gst_base_src_init),
13741 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13744 2005-10-21 Wim Taymans <wim@fluendo.com>
13746 * docs/design/part-segments.txt:
13749 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13750 Correctly set caps, even on the subbufer.
13752 2005-10-21 Wim Taymans <wim@fluendo.com>
13754 * docs/gst/gstreamer-docs.sgml:
13755 * docs/gst/gstreamer-sections.txt:
13756 * gst/gstelement.h:
13759 * gst/gstmessage.h:
13762 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13766 And 2% more doc coverage.
13768 2005-10-21 Andy Wingo <wingo@pobox.com>
13770 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13771 position reporting.
13773 2005-10-20 Wim Taymans <wim@fluendo.com>
13775 * gst/gsterror.c: (gst_error_get_message):
13778 * gst/gststructure.c:
13783 2005-10-20 Wim Taymans <wim@fluendo.com>
13788 Another 1% more coverage.
13790 2005-10-20 Wim Taymans <wim@fluendo.com>
13792 * docs/gst/gstreamer-sections.txt:
13793 * gst/gstelement.c: (gst_element_get_state_func),
13794 (gst_element_abort_state), (gst_element_commit_state),
13795 (gst_element_lost_state):
13797 * gst/gstquery.c: (gst_query_set_position),
13798 (gst_query_parse_position), (gst_query_set_duration),
13799 (gst_query_parse_duration), (gst_query_new_convert):
13801 Yay! 1% more docs coverage.
13803 2005-10-20 Wim Taymans <wim@fluendo.com>
13806 * gst/gstquery.c: (gst_query_set_position),
13807 (gst_query_parse_position), (gst_query_set_duration),
13808 (gst_query_parse_duration), (gst_query_new_convert):
13810 * gst/gstutils.c: (gst_element_query_convert):
13812 Docs and consistency fixes.
13814 2005-10-20 Wim Taymans <wim@fluendo.com>
13820 2005-10-20 Wim Taymans <wim@fluendo.com>
13822 * gst/gstbin.c: (message_check), (bin_replace_message),
13823 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13824 (update_degree), (gst_bin_sort_iterator_next),
13825 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13826 Reworked the message handling a bit, cache the messages instead of
13827 only the senders. alows us to do more in the future.
13829 2005-10-20 Wim Taymans <wim@fluendo.com>
13831 * docs/design/part-TODO.txt:
13834 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13835 (gst_base_sink_query):
13836 Don't use clock time to report position when in EOS.
13838 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
13840 * tools/gst-inspect.c: (print_interfaces),
13841 (print_element_properties_info), (print_element_info):
13842 Fix interface output with gst-inspect -a; don't print
13843 newlines after double/float properties.
13845 2005-10-20 Wim Taymans <wim@fluendo.com>
13847 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13848 (gst_base_sink_query):
13849 Speed up current position calculation.
13851 * gst/base/gstbasesrc.c: (gst_base_src_query),
13852 (gst_base_src_default_newsegment):
13853 Correctly set stream position in newsegment.
13855 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13856 (update_degree), (gst_bin_sort_iterator_next),
13857 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13858 * gst/gstmessage.c: (gst_message_new_custom):
13859 Clean up debugging info
13861 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13862 (gst_queue_loop), (gst_queue_handle_src_query):
13865 2005-10-19 Wim Taymans <wim@fluendo.com>
13867 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13868 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13869 Fix query handling again.
13871 2005-10-19 Wim Taymans <wim@fluendo.com>
13873 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13874 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13875 * gst/base/gstbasesrc.c: (gst_base_src_query):
13876 * gst/elements/gstfilesink.c: (gst_file_sink_query):
13877 * gst/elements/gsttypefindelement.c:
13878 (gst_type_find_handle_src_query), (find_element_get_length),
13879 (gst_type_find_element_activate):
13882 * gst/gstquery.c: (gst_query_new_position),
13883 (gst_query_set_position), (gst_query_parse_position),
13884 (gst_query_new_duration), (gst_query_set_duration),
13885 (gst_query_parse_duration), (gst_query_set_segment),
13886 (gst_query_parse_segment):
13888 Bundling query position/duration is not a good idea since duration
13889 does not change much and we don't want to recalculate it for every
13890 position query, so they are separated again..
13891 Base value in segment query is not needed.
13893 * gst/gstqueue.c: (gst_queue_handle_src_query):
13894 * gst/gstutils.c: (gst_element_query_position),
13895 (gst_element_query_duration), (gst_pad_query_position),
13896 (gst_pad_query_duration):
13898 Updates for query API change.
13899 Added some docs here and there.
13901 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
13903 * check/gst/gstbin.c: (GST_START_TEST):
13904 * check/gst/gstghostpad.c: (GST_START_TEST):
13905 * check/pipelines/cleanup.c: (GST_START_TEST):
13906 wait on thread to die so we can check refcount correctly
13908 2005-10-18 Wim Taymans <wim@fluendo.com>
13910 * check/pipelines/stress.c: (GST_START_TEST):
13911 Make check a little more time consuming.
13913 2005-10-18 Wim Taymans <wim@fluendo.com>
13915 * check/Makefile.am:
13916 * check/pipelines/stress.c: (GST_START_TEST),
13917 (simple_launch_lines_suite), (main):
13918 Small state change torture test.
13920 * docs/design/part-states.txt:
13921 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13922 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13923 (gst_base_sink_change_state):
13924 Never take state lock from streaming thread, clean up ugly
13925 hacks. Unfortunatly core does not yet support nice ways to
13926 async commit state.
13928 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13930 Start state recalc if a STATE_DIRTY message is posted, but only
13931 on the toplevel bin.
13933 * gst/gstelement.c: (gst_element_sync_state_with_parent),
13934 (gst_element_get_state_func), (gst_element_abort_state),
13935 (gst_element_commit_state), (gst_element_lost_state),
13936 (gst_element_set_state_func), (gst_element_change_state):
13937 * gst/gstelement.h:
13938 State variables are now protected with the LOCK, the state
13939 lock is only used to serialize _set_state().
13941 2005-10-18 Wim Taymans <wim@fluendo.com>
13943 * check/gst/gstbin.c: (GST_START_TEST):
13944 * check/gst/gstmessage.c: (GST_START_TEST):
13945 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13946 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13948 * gst/gstelement.c: (gst_element_abort_state),
13949 (gst_element_commit_state), (gst_element_lost_state):
13950 * gst/gstmessage.c: (gst_message_new_state_changed),
13951 (gst_message_new_state_dirty), (gst_message_new_segment_start),
13952 (gst_message_new_segment_done), (gst_message_new_duration),
13953 (gst_message_parse_state_changed),
13954 (gst_message_parse_segment_start),
13955 (gst_message_parse_segment_done), (gst_message_parse_duration):
13956 * gst/gstmessage.h:
13957 * tools/gst-launch.c: (event_loop):
13958 Seriously, this is better than a previous commit as we only need
13959 to notify the fact that an element changed state in a streaming
13960 thread, marking the state of the parents dirty, hence the
13961 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13964 2005-10-18 Wim Taymans <wim@fluendo.com>
13966 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13967 (gst_bin_recalc_func):
13968 * gst/gstelement.c: (gst_element_set_clock),
13969 (gst_element_abort_state), (gst_element_lost_state):
13970 Cleanups, prepare for state change fixes.
13972 2005-10-18 Wim Taymans <wim@fluendo.com>
13975 * gst/gstelement.c: (gst_element_class_init),
13976 (gst_element_set_state), (gst_element_set_state_func):
13977 * gst/gstelement.h:
13978 Pending ABI changes.
13979 GThreadPool in GstBinClass to monitor async state changes.
13980 state_cookie in GstElement to detect concurrent gst/set state.
13981 set_state is now virtual too in case a very complicated element
13982 has to be constructed.
13984 2005-10-18 Wim Taymans <wim@fluendo.com>
13986 * check/gst/gstbin.c: (GST_START_TEST):
13987 * check/gst/gstmessage.c: (GST_START_TEST):
13988 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13989 * gst/gstbin.c: (bin_bus_handler):
13990 * gst/gstelement.c: (gst_element_commit_state),
13991 (gst_element_lost_state):
13992 * gst/gstmessage.c: (gst_message_new_state_changed),
13993 (gst_message_new_segment_start), (gst_message_new_segment_done),
13994 (gst_message_new_duration), (gst_message_parse_state_changed),
13995 (gst_message_parse_segment_start),
13996 (gst_message_parse_segment_done), (gst_message_parse_duration):
13997 * gst/gstmessage.h:
13998 * tools/gst-launch.c: (event_loop):
13999 Make messages future proof.
14000 state-change gets a flag if it was a message comming from the
14002 segment-start/stop can also be specified in other formats.
14003 A message to notify an app that a pipeline changed playback
14005 Also fix a GstMessage leak in -launch
14007 2005-10-18 Andy Wingo <wingo@pobox.com>
14009 * gst/gstelement.c (gst_element_dispose): More helpful message.
14011 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
14013 reviewed by: <delete if not using a buddy>
14015 * common/gtk-doc.mak:
14017 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
14019 * gst/gstregistry.c: (gst_registry_scan_path_level):
14020 unref a plug-in we get that was already initialized
14022 2005-10-18 Stefan Kost <ensonic@users.sf.net>
14024 * docs/gst/gstreamer-sections.txt:
14025 * docs/libs/gstreamer-libs-sections.txt:
14026 * gst/gstelement.h:
14027 add new api entries
14028 hide internal macro
14030 2005-10-17 Andy Wingo <wingo@pobox.com>
14032 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
14035 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
14037 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
14039 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
14040 (gst_element_get_state_func): Better debug message.
14041 (gst_element_commit_state): s/INFO/DEBUG/.
14042 (gst_element_lost_state, gst_element_change_state):
14044 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
14045 (gst_message_new_custom): s/INFO/LOG/.
14047 2005-10-17 Michael Smith <msmith@fluendo.com>
14049 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14050 Check if end time is valid using end time, not start time.
14052 2005-10-17 Stefan Kost <ensonic@users.sf.net>
14054 * check/gst-libs/controller.c: (GST_START_TEST),
14055 (gst_controller_suite):
14056 * libs/gst/controller/gstcontroller.c:
14057 (gst_controlled_property_set_interpolation_mode):
14058 * libs/gst/controller/gstcontroller.h:
14059 * libs/gst/controller/gstinterpolation.c:
14060 * testsuite/controller/.cvsignore:
14061 * testsuite/controller/Makefile.am:
14062 * testsuite/controller/interpolator.c:
14063 merge controller testsuites
14065 remove mem-chunk from docs
14067 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
14069 * gst/gstmemchunk.c:
14070 * gst/gstmemchunk.h:
14071 * gst/gsttrashstack.c:
14072 * gst/gsttrashstack.h:
14073 out. get out. you're fired. to the Attic !
14075 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
14077 * gst/gstcaps.c: (gst_caps_intersect):
14078 fix signedness issues in a (hopefully) correct way
14079 * gst/gstelement.c: (gst_element_pads_activate):
14081 * gst/gstobject.c: (gst_object_set_parent):
14084 2005-10-17 Julien MOUTTE <julien@moutte.net>
14086 * gst/gstvalue.h: Fix prototypes.
14088 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14090 * docs/gst/gstreamer-sections.txt:
14091 * gst/gst.c: (gst_version_string):
14093 * gst/gstversion.h.in:
14094 * win32/common/libgstreamer.def:
14095 add gst_version_string ()
14097 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14101 * gst/gst.c: (init_post):
14102 * win32/common/config.h.in:
14104 * gst/gstcaps.c: (gst_caps_intersect):
14105 use gint64, the range could be bigger than a guint
14107 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14110 document potential problem in 2038
14112 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14114 * gst/gstcaps.c: (gst_caps_intersect):
14115 Fix guint j diving under 0
14117 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14120 * win32/common/config.h:
14121 * win32/common/config.h.in:
14122 check for process.h, declares getpid() on Windows
14124 include process.h if we have it
14125 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
14126 * gst/gstmemchunk.h:
14127 fix signedness issues
14128 * win32/common/libgstreamer.def:
14131 2005-10-16 Julien MOUTTE <julien@moutte.net>
14133 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
14134 fix. Because of unsigned ints, caps intersection was going nuts and
14135 trying to access structures with G_MAXUINT index. That fixes
14136 videotestsrc ! ffmpegcolorspace ! fakesink
14137 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
14140 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14143 use the gettext macro
14144 * gst/elements/gstelements.c:
14146 * gst/indexers/gstindexers.c:
14147 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
14148 * win32/common/config.h:
14150 * win32/common/config.h.in:
14151 add the template to generate config.h
14152 * win32/common/gstenumtypes.c:
14153 * win32/common/gstversion.h:
14156 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14158 * gst/gst.c: (gst_version):
14159 * gst/gstversion.h.in:
14162 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
14165 Oops, add missing closing bracket.
14167 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14170 use common m4's for argument checking
14172 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
14174 * docs/gst/gstreamer-sections.txt:
14176 Add GST_EVENT_TYPE_NAME() macro.
14178 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14181 * gst/gstpluginfeature.c:
14183 privatize more symbols
14185 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14188 add srcdir, builddir includes to GST_ALL_CFLAGS, since
14189 everything that uses GStreamer API should have the includes
14191 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14193 * docs/gst/gstreamer-sections.txt:
14194 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
14196 give each value a _get_type, removes the DATA exports
14198 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14202 remove _gst_registry_auto_load, not used anymore
14203 * gst/gstbin.c: (gst_bin_get_type):
14205 * gst/gstelement.c: (gst_element_get_type):
14206 * gst/gstelement.h:
14207 * gst/gstobject.c: (gst_object_get_type):
14209 * gst/gstpad.c: (gst_pad_get_type):
14211 make _get_type functions similar, fixes data export from library
14213 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14216 correctly make conditionals
14217 * gst/elements/Makefile.am:
14218 * gst/elements/gstelements.c:
14219 fix typo causing fdsrc not to build
14221 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14223 * testsuite/Makefile.am:
14224 * testsuite/bytestream/.cvsignore:
14225 * testsuite/bytestream/Makefile.am:
14226 * testsuite/bytestream/filepadsink.c:
14227 * testsuite/bytestream/gstbstest.c:
14228 * testsuite/bytestream/test1.c:
14229 * testsuite/bytestream/testfile1:
14230 * testsuite/caps/normalisation.c:
14231 * testsuite/caps/random.c: (main):
14232 * testsuite/cleanup/.cvsignore:
14233 * testsuite/cleanup/Makefile.am:
14234 * testsuite/cleanup/cleanup1.c:
14235 * testsuite/cleanup/cleanup2.c:
14236 * testsuite/cleanup/cleanup3.c:
14237 * testsuite/cleanup/cleanup4.c:
14238 * testsuite/cleanup/cleanup5.c:
14239 * testsuite/controller/interpolator.c:
14240 * testsuite/debug/printf_extension.c: (main):
14241 * testsuite/elements/tee.c:
14242 * testsuite/negotiation/.cvsignore:
14243 * testsuite/negotiation/Makefile.am:
14244 * testsuite/negotiation/pad_link.c:
14245 * testsuite/pad/Makefile.am:
14246 * testsuite/pad/chainnopull.c:
14247 * testsuite/pad/getnopush.c:
14248 * testsuite/pad/link.c:
14249 * testsuite/refcounting/sched.c: (create_pipeline):
14250 * testsuite/registry/Makefile.am:
14251 * testsuite/registry/gst-print-formats.c:
14252 * testsuite/schedulers/.cvsignore:
14253 * testsuite/schedulers/142183-2.c:
14254 * testsuite/schedulers/142183.c:
14255 * testsuite/schedulers/143777-2.c:
14256 * testsuite/schedulers/143777.c:
14257 * testsuite/schedulers/147713.c:
14258 * testsuite/schedulers/147819.c:
14259 * testsuite/schedulers/147894-2.c:
14260 * testsuite/schedulers/147894.c:
14261 * testsuite/schedulers/Makefile.am:
14262 * testsuite/schedulers/group_link.c:
14263 * testsuite/schedulers/queue_link.c:
14264 * testsuite/schedulers/relink.c:
14265 * testsuite/schedulers/unlink.c:
14266 * testsuite/schedulers/unref.c:
14267 * testsuite/schedulers/useless_iteration.c:
14268 * testsuite/states/bin.c:
14269 clean out/remove some stuff from the testsuite directories
14271 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14274 check for some headers
14275 * gst/elements/Makefile.am:
14276 * gst/elements/gstelements.c:
14277 don't compile fdsrc without sys/socket.h
14278 * gst/indexers/Makefile.am:
14279 * gst/indexers/gstindexers.c: (plugin_init):
14280 don't compile fileindex without mmap
14282 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14289 * check/Makefile.am:
14290 * docs/gst/Makefile.am:
14291 * examples/helloworld/Makefile.am:
14293 * gst/base/Makefile.am:
14294 * gst/check/Makefile.am:
14295 * gst/elements/Makefile.am:
14296 * gst/indexers/Makefile.am:
14297 * gst/parse/Makefile.am:
14298 * libs/gst/controller/Makefile.am:
14299 * libs/gst/dataprotocol/Makefile.am:
14300 * examples/helloworld/helloworld.c: (event_loop):
14301 compile fixes, though it's not being compiled currently
14303 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14305 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
14306 Add some simple tests for the new taglist date API.
14308 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14310 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
14311 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
14312 Beautify 'last-message' output: print 'none' for buffer timestamps
14313 and durations if none is set; improve alignment with next messages.
14315 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14317 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
14318 * gst/gstpluginfeature.h:
14319 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
14320 * gst/gstregistry.h:
14321 * docs/gst/gstreamer-sections.txt:
14322 Add new API to check plugin feature version requirements.
14324 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
14325 Some basic tests for the above.
14327 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14329 * gst/gststructure.c: (gst_structure_to_string):
14330 guard against NULL printf - happens when for example
14331 a message structure with GstClock gets serialized
14333 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
14335 * gst/base/gstcollectpads.c: (gst_collectpads_event):
14336 Fix presumable copy'n'pasto.
14338 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14340 * gst/elements/gstfakesrc.h:
14341 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
14342 * gst/elements/gsttypefindelement.c:
14343 fix some signedness
14344 * gst/elements/gstfilesink.c: (gst_file_sink_render):
14345 I wonder if this could actually write +2GB files before
14347 2005-10-13 Andy Wingo <wingo@pobox.com>
14349 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
14350 Fix Timmeke Waymans bug.
14351 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
14352 string of the proper length to gst_caps_from_string. There's a
14353 potential for, before this fix, that this could cause someone
14354 connecting over the network to cause a segfault if the payload is
14355 not NUL-terminated.
14357 2005-10-13 Stefan Kost <ensonic@users.sf.net>
14359 * docs/design/draft-push-pull.txt:
14360 * docs/design/part-overview.txt:
14361 * docs/random/TODO-pre-0.9:
14362 * docs/random/old/ChangeLog.gstreamer:
14363 * gst/base/gstpushsrc.c:
14367 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14369 * gst/glib-compat.c: (gst_flags_get_first_value):
14370 * gst/glib-compat.h:
14371 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
14372 (gst_value_compare_double), (gst_value_serialize_flags):
14373 GLib 2.6 g_flags_get_first_value has a bug that triggers an
14376 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14378 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14379 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14381 * tools/gst-launch.c: (event_loop):
14382 print out clock nicely
14384 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
14386 * docs/gst/gstreamer-sections.txt:
14387 * gst/gsttaglist.h:
14388 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
14389 (gst_tag_list_get_date_index):
14390 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
14391 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
14393 2005-10-13 Julien MOUTTE <julien@moutte.net>
14395 * gst/base/gstcollectpads.c: (gst_collectpads_event),
14396 (gst_collectpads_chain):
14397 * gst/base/gstcollectpads.h: Handle newsegment and store informations
14400 2005-10-13 Stefan Kost <ensonic@users.sf.net>
14402 * docs/gst/gstreamer-sections.txt:
14405 * tools/gst-inspect.c: (main):
14406 * tools/gst-launch.c: (main):
14407 * tools/gst-run.c: (main):
14408 * tools/gst-xmlinspect.c: (main):
14409 fix GOption context leaks
14412 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14416 * win32/common/config.h:
14418 * win32/vs6/grammar.dsp:
14419 * win32/vs6/libgstelements.dsp:
14420 * win32/vs6/libgstreamer.dsp:
14423 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14425 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14426 * gst/base/gstbasesrc.c: (gst_base_src_query):
14427 fix more guint64<->gdouble conversions
14429 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14432 add win32-update target
14433 * win32/common/gstconfig.h:
14434 * win32/common/gstenumtypes.c:
14435 * win32/common/gstenumtypes.h:
14436 * win32/common/gstversion.h:
14437 add files that visual studio can't generate
14439 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14442 add a win32-update target
14445 2005-10-12 Wim Taymans <wim@fluendo.com>
14447 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14448 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
14449 * gst/gstelement.c: (gst_element_commit_state),
14450 (gst_element_set_state):
14451 Protect flags with proper lock.
14452 unref provided cached clock in dispose.
14454 2005-10-12 Stefan Kost <ensonic@users.sf.net>
14457 * gst/gstminiobject.h:
14459 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
14460 removed unused flags from miniobject
14463 2005-10-12 Wim Taymans <wim@fluendo.com>
14465 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14466 (gst_file_sink_event), (gst_file_sink_render):
14467 Flush before seeking.
14469 2005-10-12 Andy Wingo <wingo@pobox.com>
14471 * gst/gst.c (gst_init_check): Ignore unknown options, as has
14472 always been the case.
14474 2005-10-12 Stefan Kost <ensonic@users.sf.net>
14476 * check/gst/gstbin.c: (GST_START_TEST):
14477 * docs/gst/gstreamer-sections.txt:
14478 * gst/base/gstbasesink.c: (gst_base_sink_init):
14479 * gst/base/gstbasesrc.c: (gst_base_src_init),
14480 (gst_base_src_get_range), (gst_base_src_check_get_range),
14481 (gst_base_src_start), (gst_base_src_stop):
14482 * gst/base/gstbasesrc.h:
14483 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
14484 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14485 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
14489 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
14491 * gst/gstelement.c: (gst_element_is_locked_state),
14492 (gst_element_set_locked_state), (gst_element_commit_state),
14493 (gst_element_set_state):
14494 * gst/gstelement.h:
14495 * gst/gstindex.c: (gst_index_init):
14497 * gst/gstminiobject.h:
14498 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
14499 (gst_object_set_parent):
14501 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
14502 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
14504 * gst/gstpadtemplate.h:
14505 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
14506 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14507 * gst/gstpipeline.h:
14508 * gst/indexers/gstfileindex.c: (gst_file_index_load),
14509 (gst_file_index_commit):
14510 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
14511 * testsuite/pad/link.c: (gst_test_src_init),
14512 (gst_test_filter_init), (gst_test_sink_init):
14513 * testsuite/states/locked.c: (main):
14514 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
14515 moved bitshift from macro to enum definition
14517 2005-10-12 Wim Taymans <wim@fluendo.com>
14519 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
14520 * gst/elements/gstfilesink.c: (gst_file_sink_event),
14521 (gst_file_sink_render):
14522 Some more debugging info.
14524 2005-10-12 Wim Taymans <wim@fluendo.com>
14526 * docs/design/part-states.txt:
14527 * tools/gst-launch.c: (main):
14529 Revert non-intentional change.
14531 2005-10-12 Wim Taymans <wim@fluendo.com>
14533 * check/gst/gstbin.c: (GST_START_TEST):
14534 * check/gst/gstelement.c: (GST_START_TEST):
14535 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
14536 * check/gst/gstghostpad.c: (GST_START_TEST):
14537 * check/gst/gstpipeline.c: (GST_START_TEST):
14538 * check/pipelines/simple_launch_lines.c: (run_pipeline):
14539 * check/states/sinks.c: (GST_START_TEST):
14540 * gst/elements/gsttypefindelement.c: (stop_typefinding):
14541 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14542 (gst_bin_remove_func), (gst_bin_get_state_func),
14543 (gst_bin_recalc_state), (gst_bin_change_state_func),
14545 * gst/gstelement.c: (gst_element_get_state_func),
14546 (gst_element_get_state), (gst_element_abort_state),
14547 (gst_element_commit_state), (gst_element_set_state),
14548 (gst_element_change_state), (gst_element_change_state_func):
14549 * gst/gstelement.h:
14550 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
14551 (gst_pipeline_provide_clock_func):
14552 * gst/gstutils.c: (gst_element_link_pads_filtered):
14553 * tools/gst-launch.c: (main):
14554 * tools/gst-typefind.c: (main):
14555 Use GstClockTime in _get_state() instead of GTimeVal.
14556 Remove old code in gstutils.c
14558 2005-10-12 Andy Wingo <wingo@pobox.com>
14560 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
14563 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
14564 there is no task. Shouldn't affect any code, as nothing in our
14565 plugins checks this return value.
14566 (gst_pad_stop_task): Also take the stream lock if the pad has no
14567 task. Docs updated.
14569 2005-10-12 Wim Taymans <wim@fluendo.com>
14571 * gst/gstpad.c: (pre_activate), (post_activate),
14572 (gst_pad_activate_pull), (gst_pad_activate_push):
14573 Cleanup activation code. Reset old state if
14576 2005-10-12 Wim Taymans <wim@fluendo.com>
14578 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14579 (gst_base_sink_change_state):
14580 No need to prerol after receiving EOS.
14582 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14583 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
14584 * gst/elements/gstidentity.c: (gst_identity_event):
14585 Print events more verbosely.
14587 2005-10-12 Wim Taymans <wim@fluendo.com>
14589 * check/Makefile.am:
14590 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14591 * check/states/sinks2.c:
14592 Moved sinks2 testcode in sinks check.
14594 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14595 (gst_bin_remove_func), (gst_bin_recalc_state),
14596 (gst_bin_change_state_func), (bin_bus_handler):
14597 Fix potential race condition when _get_state() iterated over an
14598 ASYNC element right before it posted a state completion.
14601 Do proper cast here.
14603 * gst/gstevent.c: (gst_event_new_newsegment),
14604 (gst_event_parse_newsegment):
14605 A playback rate of 0.0 is not allowed.
14607 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14609 * win32/common/config.h:
14610 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
14611 (_trewinddir), (_ttelldir), (_tseekdir):
14612 * win32/common/dirent.h:
14613 * win32/common/gtchar.h:
14614 * win32/common/libgstbase.def:
14615 * win32/common/libgstreamer.def:
14616 * win32/vs6/grammar.dsp:
14617 * win32/vs6/gst_inspect.dsp:
14618 * win32/vs6/gst_launch.dsp:
14619 * win32/vs6/gstreamer.dsw:
14620 * win32/vs6/libgstbase.dsp:
14621 * win32/vs6/libgstelements.dsp:
14622 * win32/vs6/libgstreamer.dsp:
14623 Visual Studio 6 project files, and a new common directory.
14626 2005-10-11 Wim Taymans <wim@fluendo.com>
14628 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14629 (gst_base_sink_do_sync), (gst_base_sink_query),
14630 (gst_base_sink_change_state):
14631 * gst/base/gstbasesink.h:
14632 Correctly parse newsegment info.
14634 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14636 * gst/gst.c: (init_post):
14637 split plugin paths correctly
14639 2005-10-11 Wim Taymans <wim@fluendo.com>
14641 * check/gst/gstevent.c: (GST_START_TEST):
14642 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14643 (gst_base_sink_change_state):
14644 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14645 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14646 * gst/elements/gstfilesink.c: (gst_file_sink_event):
14647 * gst/gstevent.c: (gst_event_new_newsegment),
14648 (gst_event_parse_newsegment):
14650 Added extra flag to newsegment for future API freeze.
14651 Updated check and base elements.
14653 2005-10-11 Julien MOUTTE <julien@moutte.net>
14655 * gst/base/gstcollectpads.c: (gst_collectpads_init),
14656 (gst_collectpads_add_pad), (gst_collectpads_pop),
14657 (gst_collectpads_event), (gst_collectpads_chain):
14658 * gst/base/gstcollectpads.h: Handle EOS correctly.
14660 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14662 * tools/gst-launch.c: (main):
14663 more null protecting
14665 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14667 * gst/gst-i18n-lib.h:
14668 check for ENABLE_NLS, not GETTEXT_PACKAGE
14669 * gst/gstregistry.c: (gst_registry_add_plugin),
14670 (gst_registry_scan_path_level),
14671 (_gst_registry_remove_cache_plugins):
14672 protect possibly NULL strings
14673 * gst/parse/types.h:
14674 config.h already included before
14675 * tools/gst-inspect.c: (main):
14676 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14677 check for ENABLE_NLS, not GETTEXT_PACKAGE
14678 * tools/gst-launch.c: (main):
14679 check for ENABLE_NLS, not GETTEXT_PACKAGE
14681 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14684 if we don't have glib, fail before testing 2.8
14685 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14686 fix a leak, should fix plugins-base testsuite
14688 2005-10-11 Andy Wingo <wingo@pobox.com>
14690 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14691 take the mode we're going to as an arg. Go head and set the mode
14692 and flushing flags now, so that if the activate function starts a
14693 thread all the flags will be in the right state.
14694 (post_activate): Renamed also. Just handle making sure streaming
14695 finishes for the deactivation case, and setting the deactivated
14697 (gst_pad_set_active): Complain loudly if deactivation fails.
14698 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14699 (gst_pad_activate_push): Adapt to pre/post_activate changes,
14700 remove the terrible hack.
14702 2005-10-11 Wim Taymans <wim@fluendo.com>
14704 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14705 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14706 (gst_bin_recalc_state), (gst_bin_change_state_func),
14707 (gst_bin_dispose), (bin_bus_handler):
14709 Prepare to make current EOS message queue more generic.
14712 * gst/gstevent.c: (gst_event_new_newsegment),
14713 (gst_event_parse_newsegment):
14715 Rename base to stream_time.
14717 * gst/gstmessage.h:
14720 2005-10-11 Wim Taymans <wim@fluendo.com>
14722 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14723 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14724 (gst_bin_change_state_func), (bin_bus_handler):
14726 Work on proper clock selection.
14728 2005-10-11 Edward Hervey <edward@fluendo.com>
14730 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
14731 * libs/gst/controller/gstcontroller.h:
14732 Added GList* version of _remove_properties() in order to be able to wrap
14735 2005-10-11 Wim Taymans <wim@fluendo.com>
14737 * docs/design/part-states.txt:
14740 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14741 (gst_bin_change_state_func), (bin_bus_handler):
14742 Doc updates. Don't distribute the same clock over and over again.
14748 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14749 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14750 (gst_pad_send_event):
14752 Make probe emission threadsafe again.
14753 Register quarks and move _get_name() from utils.
14756 * gst/gstpipeline.c: (gst_pipeline_class_init),
14757 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14758 Only redistribute the clock of it changed.
14760 * gst/gstsystemclock.h:
14765 Moved the _flow_get_name() to GstPad.
14767 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14769 * check/gst-libs/gdp.c: (GST_START_TEST):
14770 * check/gst/gstcaps.c: (GST_START_TEST):
14771 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14772 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14773 (gst_dp_packet_from_caps):
14774 fix more valgrind warnings before turning up the heat
14776 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14778 * gst/parse/grammar.y:
14779 some cleanup before the hacking
14781 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14783 * gst/base/gstbasesrc.c: (gst_base_src_query):
14785 * gst/gstutils.c: (gst_guint64_to_gdouble),
14786 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14788 externalize, basesrc uses it
14789 obviously the implementation needs testing
14791 2005-10-10 Wim Taymans <wim@fluendo.com>
14793 * tests/sched/Makefile.am:
14794 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14795 (make_pipeline3), (make_pipeline4), (print_elem), (main):
14797 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14799 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14800 apparently converting from guint64 to double is not implemented
14803 2005-10-10 Wim Taymans <wim@fluendo.com>
14805 * check/Makefile.am:
14806 * check/generic/states.c: (GST_START_TEST):
14807 * check/gst/gstbin.c: (GST_START_TEST):
14808 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14809 * check/states/sinks.c: (GST_START_TEST):
14810 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14812 Check fixes, use API as stated in design docs, remove hacks.
14814 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14815 (gst_base_sink_change_state):
14816 Catch stopping our task while we're shutting down.
14818 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14819 (gst_bin_remove_func), (gst_bin_get_state_func),
14820 (gst_bin_recalc_state), (gst_bin_change_state_func),
14823 * gst/gstelement.c: (gst_element_init),
14824 (gst_element_get_state_func), (gst_element_abort_state),
14825 (gst_element_commit_state), (gst_element_lost_state),
14826 (gst_element_set_state), (gst_element_change_state),
14827 (gst_element_change_state_func):
14828 * gst/gstelement.h:
14829 New state change algorithm (see #318116)
14831 * gst/gstpipeline.c: (gst_pipeline_class_init),
14832 (gst_pipeline_init), (gst_pipeline_set_property),
14833 (gst_pipeline_get_property), (do_pipeline_seek),
14834 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14835 * gst/gstpipeline.h:
14836 Remove crude state change hacks.
14839 Remove crude hacks.
14841 * tools/gst-launch.c: (main):
14842 Fixes for state change. Needs some more work to fully use the
14845 2005-10-10 Andy Wingo <wingo@pobox.com>
14847 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14849 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14850 this flag, but it's not even in GLib 2.6. Odd. Hack around the
14853 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14855 * gst/gstiterator.c: (gst_iterator_new):
14856 Fix my previous commit: GTypes passed to gst_iterator_new()
14857 can be fundamental types.
14859 2005-10-10 Wim Taymans <wim@fluendo.com>
14861 * gst/gstelement.c: (gst_element_iterate_pad_list),
14862 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14863 (gst_element_iterate_sink_pads):
14864 Use src/sink pads lists for the respective iterators instead
14867 2005-10-10 Andy Wingo <wingo@pobox.com>
14869 Merged in popt removal + GOption addition patch from Ronald, bug
14872 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14873 GstElement macros around, remove popt-related symbols, add goption
14876 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14878 * docs/gst/Makefile.am:
14879 * docs/libs/Makefile.am: No POPT_CFLAGS.
14881 * examples/manual/Makefile.am:
14882 * docs/manual/basics-init.xml: Doc updates with an example.
14884 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14885 (gst_init), (parse_one_option), (parse_goption_arg):
14886 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14887 bit of hand merging and debugging to get the GOption stuff working
14890 * tests/Makefile.am:
14891 * tools/Makefile.am:
14892 * tools/gst-inspect.c: (main):
14893 * tools/gst-launch.c: (main):
14894 * tools/gst-run.c: (main):
14895 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14897 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14899 * gst/gstiterator.c: (gst_iterator_new):
14900 Add assertions to make sure passed GType is likely to really
14901 be a GType (as the compiler won't catch it if the size and
14902 GType arguments get mixed up, see #318447).
14904 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
14906 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14908 * gst/gstbin.c: (gst_bin_iterate_sorted):
14909 Pass GType and size arguments to gst_iterator_new() in the right
14910 order (maybe we should make _new() take the GType as first argument
14911 just like _new_list()?) (#318447).
14914 2005-10-10 Wim Taymans <wim@fluendo.com>
14916 * gst/gstelement.c: (gst_element_finalize):
14917 And free the GStaticRecMutex too
14919 2005-10-10 Andy Wingo <wingo@pobox.com>
14921 * gst/gstelement.c (gst_element_init, gst_element_finalize):
14922 Allocate and free the mutex properly.
14924 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14926 (GstElement): The state_lock is now recursive. Rebuild your
14927 plugins, suckers. Old macros adapted.
14929 * docs/gst/gstreamer-sections.txt: Doc updates.
14932 * gst/gstutils.c (g_static_rec_cond_timed_wait)
14933 (g_static_rec_cond_wait): Ported from state changes patch, while
14934 we wait on bug #317802 to be solved in a well-distributed GLib.
14936 * gst/gstelement.c (gst_element_change_state_func): Renamed from
14937 gst_element_change_state, variable name changes.
14938 (gst_element_change_state): Split out of gst_element_set_state in
14939 preparation for the state change merge. Doesn't pay attention to
14940 the 'transition' argument.
14941 (gst_element_set_state): Updates, hopefully purely cosmetic.
14942 (gst_element_sync_state_with_parent): MT-safety. Ported from the
14943 state change patch.
14944 (gst_element_get_state_func): Renamed from get_state, cosmetic
14947 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14949 * gst/elements/gstelements.c:
14950 * win32/GStreamer.vcproj:
14952 * win32/dirent.c: (_tseekdir):
14953 * win32/gst-inspect.vcproj:
14954 * win32/gst-launch.vcproj:
14955 * win32/gstconfig.h:
14956 * win32/gstelements.vcproj:
14957 * win32/gstenumtypes.c: (gst_object_flags_get_type):
14958 * win32/gstreamer.def:
14959 * win32/msvc71.sln:
14960 updates for the win32 build (patch from Sebastien Moutte)
14962 2005-10-10 Andy Wingo <wingo@pobox.com>
14964 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14965 gst_bin_get_state, cleaned up (but no logic changes).
14966 (bin_element_is_sink): Comment updates.
14967 (sink_iterator_filter): Remove needless cast.
14968 (gst_bin_iterate_sinks): Doc update.
14969 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14970 cleaned up (but no logic changes).
14972 * check/states/sinks.c (test_src_sink): Cleanups from the state
14974 (test_livesrc_sink): Sync on the state.
14976 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14977 the state change patch.
14979 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14982 * check/gst/gstbin.c: Merge in some style fixes and additional
14983 checks from Wim's state change patch.
14985 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14987 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14988 (gst_type_find_helper):
14989 Check whether we have the requested data already in our list of
14990 cached buffers before pulling a new buffer; also make the buffer
14991 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14993 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14998 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14999 don't use long long, it's not portable. Replacing with
15000 gint64 seems to work; let's hope no skeletons fall out of the closet.
15002 2005-10-10 Andy Wingo <wingo@pobox.com>
15004 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
15006 2005-10-09 Stefan Kost <ensonic@users.sf.net>
15008 * docs/gst/gstreamer-sections.txt:
15013 * gst/gstmessage.c: (gst_message_parse_state_changed):
15016 more docs, fix compilation
15018 2005-10-09 Philippe Khalaf <burger@speedy.org>
15019 * gst/gstmessage.c:
15020 Fixed a few forgotten variables on previous commit
15022 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
15024 * gst/base/gsttypefindhelper.c: (helper_find_peek):
15025 Fix evil typefind crasher: getrange() might return a short
15026 buffer at the end of a file, but gst_type_find_peek() must
15027 either return the full data as requested or NULL, but
15028 never a short buffer.
15030 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
15032 * gst/gstmessage.c: (gst_message_new_state_changed),
15033 (gst_message_parse_state_changed):
15034 * gst/gstmessage.h:
15035 don't use "new", it's a C++ keyword
15037 2005-10-08 Wim Taymans <wim@fluendo.com>
15039 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
15040 * gst/gstelement.c: (gst_element_post_message):
15041 * gst/gstpipeline.c: (gst_pipeline_change_state):
15042 Small docs and debug updates.
15044 2005-10-08 Stefan Kost <ensonic@users.sf.net>
15046 * docs/gst/gstreamer-sections.txt:
15047 * gst/gstelementfactory.c:
15049 * gst/gsttaglist.c:
15052 2005-10-08 Wim Taymans <wim@fluendo.com>
15054 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
15055 (gst_bin_dispose), (bin_bus_handler):
15056 Fix typos, add comments.
15057 Clear EOS list when going to PAUSED from any direction and do it
15058 in a threadsafe way.
15059 Get base time in a threadsafe way too.
15060 Fix confusing debug in the change_state function.
15061 Various other small cleanups.
15063 * gst/gstelement.c: (gst_element_post_message):
15064 Fix very verbose bus posting code.
15066 * gst/gstpipeline.c: (gst_pipeline_class_init),
15067 (gst_pipeline_set_property), (gst_pipeline_get_property),
15068 (gst_pipeline_change_state):
15069 Small ARG_ -> PROP_ cleanup
15071 2005-10-08 Wim Taymans <wim@fluendo.com>
15073 * gst/gstbin.c: (is_eos), (bin_bus_handler):
15074 Do a less CPU demanding EOS check because we can.
15076 2005-10-08 Wim Taymans <wim@fluendo.com>
15078 * libs/gst/dataprotocol/dataprotocol.c:
15079 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
15080 (gst_dp_packet_from_event):
15081 * libs/gst/dataprotocol/dataprotocol.h:
15082 * libs/gst/dataprotocol/dp-private.h:
15083 It's about time we bump the version number.
15084 Since event types don't fit in the guint8 anymore describing
15085 the payload type, make payload type 16 bits wide.
15087 2005-10-08 Wim Taymans <wim@fluendo.com>
15089 * docs/design/part-TODO.txt:
15090 * docs/design/part-clocks.txt:
15091 * docs/design/part-events.txt:
15092 * docs/design/part-gstbin.txt:
15093 * docs/design/part-gstelement.txt:
15094 * docs/design/part-gstpipeline.txt:
15095 * docs/design/part-live-source.txt:
15096 * docs/design/part-messages.txt:
15097 * docs/design/part-overview.txt:
15098 * docs/design/part-states.txt:
15101 2005-10-08 Wim Taymans <wim@fluendo.com>
15105 Fix event quark registration.
15106 Add some space between events so we can insert them in the
15109 2005-10-08 Wim Taymans <wim@fluendo.com>
15111 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15112 (gst_base_sink_handle_buffer):
15113 Better log message.
15116 * gst/gstelement.h:
15119 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
15120 (gst_queue_set_property), (gst_queue_get_property):
15122 Remove old unused properties.
15124 2005-10-08 Stefan Kost <ensonic@users.sf.net>
15125 * docs/gst/gstreamer-sections.txt:
15126 * gst/gstmessage.c:
15127 * gst/gstmessage.h:
15128 * gst/gstminiobject.c:
15129 * gst/gstminiobject.h:
15133 lots of new docs and doc fixes
15135 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15137 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
15139 * gst/gstregistry.c: (gst_registry_lookup_locked),
15140 (gst_registry_scan_path_level):
15141 * gst/gstregistryxml.c: (load_plugin):
15142 Only ever load one plugin for a given plugin basename.
15143 This ensures correct overriding of GST_PLUGIN_PATH over
15144 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
15145 system installed plugins.
15147 2005-10-08 Wim Taymans <wim@fluendo.com>
15149 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15150 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
15151 Prepare for doing QOS.
15153 2005-10-08 Wim Taymans <wim@fluendo.com>
15155 * check/gst/gstbin.c: (GST_START_TEST):
15156 * check/pipelines/cleanup.c: (GST_START_TEST):
15157 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15158 Allow new clock message too.
15160 2005-10-08 Wim Taymans <wim@fluendo.com>
15162 * gst/gstmessage.c: (gst_message_new_error),
15163 (gst_message_new_warning), (gst_message_new_tag),
15164 (gst_message_new_state_changed), (gst_message_new_clock_provide),
15165 (gst_message_new_clock_lost), (gst_message_new_new_clock),
15166 (gst_message_new_segment_start), (gst_message_new_segment_done),
15167 (gst_message_parse_state_changed),
15168 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
15169 (gst_message_parse_new_clock):
15170 * gst/gstmessage.h:
15171 Also carry the clock in question.
15173 2005-10-08 Wim Taymans <wim@fluendo.com>
15175 * gst/gstmessage.c: (gst_message_new_custom),
15176 (gst_message_new_eos), (gst_message_new_error),
15177 (gst_message_new_warning), (gst_message_new_tag),
15178 (gst_message_new_state_changed), (gst_message_new_clock_provide),
15179 (gst_message_new_new_clock), (gst_message_new_segment_start),
15180 (gst_message_new_segment_done), (gst_message_parse_state_changed),
15181 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
15182 * gst/gstmessage.h:
15184 Added clock related messages.
15186 * gst/gstpipeline.c: (gst_pipeline_change_state):
15187 Post message when the clock changed.
15189 * tools/gst-launch.c: (event_loop):
15192 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
15194 * tools/gst-inspect.c: (print_element_properties_info):
15195 Can't pass NULL strings to g_print() on windows.
15197 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15199 * docs/Makefile.am:
15200 * docs/gst/Makefile.am:
15201 * docs/gst/gstreamer-docs.sgml:
15202 * docs/gst/running.xml:
15203 * docs/version.entities.in:
15204 add a chapter on running GStreamer.
15205 document GST_DEBUG and GST_PLUGIN* env vars
15207 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15212 remove PLUGINS_BUILDDIR stuff
15213 * gst/gst.c: (init_post):
15214 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
15216 remove, it was condescending and not needed
15218 2005-10-08 Wim Taymans <wim@fluendo.com>
15220 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
15221 (gst_base_sink_handle_object), (gst_base_sink_event),
15222 (gst_base_sink_wait), (gst_base_sink_handle_event),
15223 (gst_base_sink_change_state):
15224 * gst/base/gstbasesink.h:
15225 Repost EOS message while going to PLAYING if still EOS.
15226 Make sure that when receiving a FLUSH_START we don't attempt
15227 to sync on the clock anymore.
15229 2005-10-08 Wim Taymans <wim@fluendo.com>
15231 * tools/gst-launch.c: (event_loop):
15232 Better message printout.
15234 2005-10-08 Wim Taymans <wim@fluendo.com>
15236 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
15237 (gst_bin_child_proxy_get_children_count):
15238 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
15239 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
15240 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
15241 (gst_child_proxy_set_valist):
15242 * gst/parse/grammar.y:
15243 Make ChildProxy threadsafe and fix mem leaks.
15245 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15247 * gst/gst.c: (init_post):
15248 debug the GST_PLUGIN_ env vars
15250 2005-10-08 Wim Taymans <wim@fluendo.com>
15252 * check/gst/gstbin.c: (GST_START_TEST):
15253 * check/gst/gstmessage.c: (GST_START_TEST):
15254 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15255 * gst/gstelement.c: (gst_element_commit_state),
15256 (gst_element_lost_state):
15257 * gst/gstmessage.c: (gst_message_new_state_changed),
15258 (gst_message_parse_state_changed):
15259 * gst/gstmessage.h:
15260 * tools/gst-launch.c: (event_loop):
15261 Added extra field to STATE_CHANGE message with the pending
15262 state, which will be different from the new state soon.
15264 2005-10-08 Wim Taymans <wim@fluendo.com>
15266 * gst/gstbus.c: (gst_bus_pop):
15268 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15269 Small cleanups and doc updates.
15271 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15273 * gst/gst.c: (init_pre):
15274 * gst/gstbin.c: (gst_bin_add_func):
15275 log distributing clocks and base time
15276 * gst/gstregistry.c: (gst_registry_add_plugin),
15277 (gst_registry_scan_path_level), (gst_registry_scan_path):
15278 clean up the debugging output a little
15279 * gst/gstutils.c: (gst_element_state_get_name):
15280 warn about a memleak (I've actually seen this be used, though
15281 it was probably a bug)
15283 2005-10-07 Wim Taymans <wim@fluendo.com>
15285 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15286 (gst_base_src_init), (gst_base_src_default_newsegment),
15287 (gst_base_src_newsegment), (gst_base_src_do_seek),
15288 (gst_base_src_loop), (gst_base_src_start):
15289 * gst/base/gstbasesrc.h:
15290 Make the newsegment event customizable by subclasses.
15292 2005-10-07 Wim Taymans <wim@fluendo.com>
15294 * gst/gstevent.c: (gst_event_new_buffersize),
15295 (gst_event_parse_buffersize):
15297 New event for future idea.
15299 2005-10-07 Andy Wingo <wingo@pobox.com>
15301 * gst/gstelement.c (gst_element_post_message): Doc update.
15303 * docs/gst/gstreamer-sections.txt: Update.
15305 * gst/gstmessage.c (gst_message_new_application): Made into a
15306 function like honest API calls.
15307 (gst_message_new_element): New message type.
15309 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
15311 * check/elements/fakesrc.c (test_no_preroll): New check, checks
15312 that setting a live fakesrc to PAUSED returns NO_PREROLL both
15315 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
15316 NO_PREROLL from gst_element_change_state to fall through.
15318 2005-10-07 Wim Taymans <wim@fluendo.com>
15320 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
15321 (gst_ghost_pad_do_activate_push):
15322 Activating a ghostpad with no internal pad in push mode
15325 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
15328 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
15329 Fixes compilation on Windows.
15331 2005-10-07 Michael Smith <msmith@fluendo.com>
15333 * tools/gst-inspect.c:
15334 Print out feature and plugin count at the end when printing out
15337 2005-10-04 Michael Smith <msmith@fluendo.com>
15339 * gst/gsterror.c: (_gst_stream_errors_init):
15340 Add another error string used in a few existing plugins.
15343 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15344 * tools/gst-inspect.c: (print_element_info):
15345 When a feature disappears from a plugin (and the feature exists in
15346 the cached registry file), things went horribly wrong. This isn't a
15347 complete fix, we should actually be removing the 'missing' features
15348 from the features list when we load the actual plugin. That's not
15351 2005-10-04 Johan Dahlin <johan@gnome.org>
15353 * check/gst/gstiterator.c: (GST_START_TEST):
15354 * gst/gstbin.c: (gst_bin_iterate_elements),
15355 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
15356 * gst/gstelement.c: (gst_element_iterate_pads):
15357 * gst/gstformat.c: (gst_format_iterate_definitions):
15358 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
15359 (gst_iterator_new_list), (gst_iterator_filter):
15360 * gst/gstiterator.h:
15361 * gst/gstquery.c: (gst_query_type_iterate_definitions):
15362 Add a GType to GstIterator, update callsites and tests.
15364 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15366 * gst/gstpad.c: (gst_pad_event_default_dispatch):
15367 give events a chance to be handled by event probes when the pad
15370 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15372 * gst/gstevent.c: (gst_event_type_get_name),
15373 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
15375 add string representations for event types
15377 2005-10-06 Wim Taymans <wim@fluendo.com>
15379 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
15380 Don't use NULL pointers.
15382 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15384 * gst/gst_private.h:
15386 * gst/gstelement.c:
15388 * gst/gstpluginfeature.c:
15389 widen the debug category in output to fit the biggest one we have
15390 add a bus category and use it
15391 play with the colors
15392 fix up some categories
15394 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15396 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
15397 add push activation of sink ghost pads.
15398 Andye, please verify
15400 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
15402 * gst/gstutils.c: (gst_element_link_pads):
15403 fix a bug in the case where neither element has a pad
15404 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15405 add a test for that case
15407 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
15409 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
15410 emit have-data before checking for peers. This allows
15411 for probe handlers to connect elements. This helps autopluggers.
15412 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
15414 add six checks, linked/unlinked with no/true/false probe
15416 2005-10-04 Wim Taymans <wim@fluendo.com>
15418 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
15419 (gst_fake_sink_event), (gst_fake_sink_preroll),
15420 (gst_fake_sink_render), (gst_fake_sink_change_state):
15421 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
15422 (gst_fake_src_get_property), (gst_fake_src_create),
15423 (gst_fake_src_stop):
15424 * gst/elements/gstidentity.c: (gst_identity_stop):
15425 Protect last_message with lock.
15427 2005-10-04 Edward Hervey <edward@fluendo.com>
15430 Added precision in the comments for GST_FORMAT_DEFAULT
15432 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
15434 * tools/gst-launch.c: (main):
15435 Don't try to run erroneous pipelines.
15437 2005-10-04 Julien MOUTTE <julien@moutte.net>
15439 * gst/gstbus.c: We don't need this header.
15441 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
15444 back to development
15446 === release 0.9.3 ===
15448 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
15452 Releasing 0.9.3, "Unregistered"
15454 2005-10-03 Andy Wingo <wingo@pobox.com>
15456 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
15457 whereby calling a pad's activatepush() function can start a thread
15458 that starts to push or pull before the pad gets the FLUSHING flag
15459 unset. Hack around it by holding the stream lock until the flag is
15460 set. Need to replace this with a proper solution. Together with
15461 the ghost pad fixes, this fixes mp3 playing/tagreading.
15463 * docs/design/part-gstghostpad.txt: Add a note about activation of
15464 proxy pads outside of ghost pads.
15466 * gst/gstghostpad.c: Implement the ghost pad activation design.
15468 2005-10-02 Andy Wingo <wingo@pobox.com>
15470 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
15471 It is volatile, after all.
15473 * docs/design/part-gstghostpad.txt: Flesh out activation with
15476 * gst/base/gstbasesrc.c (gst_base_src_init): Use
15479 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
15482 Fix (unused) AM_CONDITIONAL tests.
15484 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
15486 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15488 * gst/gstutils.c: (gst_pad_query_convert):
15489 Add assertion that makes sure src_val is >=0, just like
15490 gst_query_new_convert() has. (#315895)
15492 2005-09-30 Edward Hervey <edward@fluendo.com>
15494 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
15495 Let's not iterate pads we're not interested in, it avoids getting
15496 sky-high refcounts on sinkpad.
15498 2005-09-30 Wim Taymans <wim@fluendo.com>
15500 * gst/gstelement.c: (gst_element_set_state),
15501 (gst_element_change_state):
15502 Small tweak, element in ASYNC remains ASYNC.
15504 2005-09-30 Wim Taymans <wim@fluendo.com>
15506 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15507 Only error is an error.
15509 * gst/gstbin.c: (gst_bin_change_state):
15512 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
15513 Also call pad_block in pad alloc.
15515 * gst/gstutils.c: (gst_flow_get_name):
15518 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15520 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15521 (gst_base_src_get_range):
15522 Fix documentation typos. Add some more debug info.
15524 2005-09-29 David Schleef <ds@schleef.org>
15526 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
15527 more end-user friendly.
15528 * tools/gst-inspect.c: (main): Check if command-line argument is
15529 a file and attempt to load that file as a plugin.
15531 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15533 * check/gst/gstbin.c:
15534 * check/states/sinks.c:
15535 fix tests for the new warning
15536 * check/gst/gstpipeline.c:
15537 add a test for pipeline and bus interaction
15538 * gst/gstelement.c:
15539 elements should be NULL if they get disposed; add a warning if not
15541 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15544 for 2.6 refcounting, make debug log more correct by printing
15545 the actual refcounts at the time of swap (Wim)
15547 2005-09-29 Andy Wingo <wingo@pobox.com>
15549 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
15550 removes signal watches previously added via
15551 gst_bus_add_signal_watch.
15552 (gst_bus_add_signal_watch): Don't return the source id, just store
15553 it on the bus if there wasn't an id already.
15555 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
15556 add_signal_watch and remove_signal_watch.
15558 2005-09-29 Edward Hervey <edward@fluendo.com>
15560 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
15561 Better if we actually iterate the list :)
15563 2005-09-29 Wim Taymans <wim@fluendo.com>
15565 * check/gst/gstbin.c: (GST_START_TEST):
15566 Change for new bus API.
15568 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15569 (send_messages), (GST_START_TEST), (gstbus_suite):
15570 Change for new bus signal API.
15572 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
15573 (gst_bus_source_prepare), (gst_bus_source_check),
15574 (gst_bus_create_watch), (gst_bus_add_watch_full),
15575 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
15576 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
15578 Remove support for multiple GSources operating on different
15579 message types as it is too complex and unneeded when using
15581 Added support for receiving signals from the bus.
15583 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15585 * docs/libs/tmpl/gstdataprotocol.sgml:
15586 * docs/manual/advanced-dataaccess.xml:
15587 * gst/elements/gstcapsfilter.c:
15589 rename filter-caps to caps property
15591 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15593 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15594 More robust fraction string parsing.
15596 * docs/pwg/appendix-porting.xml:
15597 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
15599 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15601 * gst/gstcaps.c: (gst_caps_do_simplify):
15602 Thou shalt not free a structure and then continue using it
15603 in the next loop iteration.
15605 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
15607 Add test case for caps simplification.
15609 2005-09-29 Wim Taymans <wim@fluendo.com>
15611 * check/gst/gstbin.c: (GST_START_TEST):
15614 2005-09-29 Wim Taymans <wim@fluendo.com>
15616 * check/gst/gstbin.c: (GST_START_TEST):
15619 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15620 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15621 (find_element), (gst_bin_sort_iterator_next),
15622 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15623 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15624 (gst_bin_change_state), (gst_bin_dispose):
15625 A bin does not have a bus, it gets the bus from the parent.
15627 * gst/gstelement.c: (gst_element_requires_clock),
15628 (gst_element_provides_clock), (gst_element_is_indexable),
15629 (gst_element_is_locked_state), (gst_element_change_state),
15630 (gst_element_set_bus_func):
15633 * gst/gstpipeline.c: (gst_pipeline_class_init),
15634 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15635 The pipeline provides a bus.
15637 2005-09-28 Johan Dahlin <johan@gnome.org>
15639 * gst/gstmessage.c (gst_message_parse_state_changed): Use
15640 gst_structure_get_enum instead of gst_structure_get_int
15642 * gst/gststructure.c (gst_structure_get_enum): Impl.
15644 * gst/gststructure.h (gst_structure_get_enum): Add
15646 * docs/gst/gstreamer-sections.txt: Ditto
15648 * gst/gstmessage.c (gst_message_new_state_changed): Use
15649 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15650 which does introspection.
15651 Reviewed by Christian Schaller
15653 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15655 * gst/gstinfo.c: (gst_debug_log_default):
15656 don't do dummy g_strdup()s
15657 * libs/gst/controller/gstcontroller.c:
15658 (on_object_controlled_property_changed),
15659 (gst_controlled_property_new), (gst_controller_new_valist),
15660 (gst_controller_new_list),
15661 (gst_controller_remove_properties_valist), (gst_controller_set),
15662 (gst_controller_get), (gst_controller_sync_values),
15663 (gst_controller_get_value_array), (_gst_controller_class_init),
15664 (gst_controller_get_type):
15665 * libs/gst/controller/gstcontroller.h:
15666 * libs/gst/controller/gstinterpolation.c:
15667 (gst_controlled_property_find_timed_value_node):
15668 convert // to /**/ comments
15670 2005-09-28 Wim Taymans <wim@fluendo.com>
15672 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15673 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15674 (gst_bus_sync_signal_handler):
15676 Added async-message and sync-message signals to the bus.
15677 Added helper BusFunc to emit signals for all posted messages.
15679 * gst/gstmessage.c: (gst_message_type_get_name),
15680 (gst_message_type_to_quark), (gst_message_get_type):
15681 * gst/gstmessage.h:
15682 Register quarks for message names.
15684 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15686 * docs/libs/gstreamer-libs-sections.txt:
15687 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15688 (gst_controller_new_list):
15689 * libs/gst/controller/gstcontroller.h:
15690 added another constructor for language bindings
15692 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
15694 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15698 * gst/gstinfo.c: (_gst_debug_init):
15699 slightly more readable color for refcount debugging
15701 2005-09-28 Wim Taymans <wim@fluendo.com>
15703 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15704 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15705 (find_element), (gst_bin_sort_iterator_next),
15706 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15707 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15708 (gst_bin_change_state), (gst_bin_dispose):
15709 Small doc fixes. get_clock -> provide_clock.
15711 * gst/gstelement.c: (gst_element_class_init),
15712 (gst_element_provides_clock), (gst_element_provide_clock),
15713 (gst_element_get_clock), (gst_element_commit_state),
15714 (gst_element_lost_state):
15715 * gst/gstelement.h:
15716 Make get/set_clock() symetric. Add provide_clock vmethod since
15717 that is actually what this function does.
15719 * gst/gstpipeline.c: (gst_pipeline_class_init),
15720 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15721 (gst_pipeline_get_clock):
15722 get_clock -> provide_clock.
15724 2005-09-28 Andy Wingo <wingo@pobox.com>
15726 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15727 lieu of real docs...
15729 * gst/elements/gstfdsrc.c: Cleaned up a bit.
15731 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
15733 * gst/elements/gstcapsfilter.c:
15734 * gst/elements/gstfakesink.c:
15735 * gst/elements/gstfakesrc.c:
15736 * gst/elements/gstfdsink.c:
15737 * gst/elements/gstfdsrc.c:
15738 * gst/elements/gstfilesink.c:
15739 * gst/elements/gstfilesrc.c:
15740 * gst/elements/gstidentity.c:
15741 * gst/elements/gsttee.c:
15742 * gst/elements/gsttypefindelement.c:
15743 Make element details static.
15745 2005-09-28 Wim Taymans <wim@fluendo.com>
15747 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15748 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15749 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15750 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15751 (gst_bin_change_state), (gst_bin_dispose):
15752 Some documentation updates.
15753 Clean up dispose handlers.
15755 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15756 * gst/gstpad.c: (gst_pad_dispose):
15757 Clean up dispose handler.
15759 * gst/gstpipeline.c: (gst_pipeline_change_state):
15760 Removed spurious UNLOCK.
15762 2005-09-27 Stefan Kost <ensonic@users.sf.net>
15764 * docs/gst/gstreamer-sections.txt:
15765 * gst/base/gstbasesrc.h:
15766 * gst/gstelement.h:
15770 * gst/gstpipeline.c:
15771 * gst/gstpipeline.h:
15774 added two new functions to the docs
15775 documents all undocumented GstXXXFlags
15776 completed some incomplete docs
15778 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
15780 * gst/gstbin.c: (gst_bin_dispose):
15781 * gst/gstelement.c: (gst_element_dispose):
15782 remove now useless and leaky resurrection code in dispose
15783 * gst/base/gstbasesrc.c: (gst_base_src_init):
15784 * gst/gstelementfactory.c: (gst_element_factory_create):
15785 * gst/gstobject.c: (gst_object_set_parent):
15788 2005-09-27 Wim Taymans <wim@fluendo.com>
15790 * docs/design/part-TODO.txt:
15793 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15794 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15795 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15796 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15797 (gst_bin_change_state):
15798 * gst/gstelement.h:
15799 Remove element variable, we keep element info in the iterator now.
15801 2005-09-27 Andy Wingo <wingo@pobox.com>
15803 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15806 2005-09-27 Wim Taymans <wim@fluendo.com>
15808 * check/gst/gstbin.c: (GST_START_TEST):
15809 Enable check that works now.
15811 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15812 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15813 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15814 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15815 (gst_bin_change_state):
15817 Redid the state change algorithm using a topological sort algo.
15818 Handles all cases correctly.
15819 Exposed iterator for state change order.
15821 * gst/gstelement.h:
15822 Temp storage for state changes. Need to get rid of this soon.
15824 2005-09-27 Wim Taymans <wim@fluendo.com>
15826 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15827 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15828 (link_fold_func), (gst_pad_proxy_setcaps):
15829 Leak fixes, the fold functions need to unref the passed object and
15830 _get_parent_*() returns ref to parent.
15832 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15834 * check/gst/gstbuffer.c: (test_make_writable):
15835 Plug leak in test case and fix 'make check-valgrind'
15837 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15839 * gst/gstbuffer.c: (gst_subbuffer_init):
15840 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15841 works correctly in all circumstances (we could have just copied
15842 the parent buffer's readonly flag, but conceptually it seems
15843 cleaner to mark all subbuffers as read-only). (based on patch
15844 by Alessandro Decina, #314710).
15846 * check/gst/gstbuffer.c: (create_read_only_buffer),
15847 (test_make_writable), (test_subbuffer_make_writable),
15849 Add some tests for gst_buffer_make_writable().
15851 2005-09-27 Wim Taymans <wim@fluendo.com>
15853 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15854 use gst_object_has_ancestor().
15856 * gst/gstobject.c: (gst_object_has_ancestor):
15858 gst_object_has_ancestor() copied from gstbin.c as it is a
15861 * tests/instantiate/create.c: (create_all_elements):
15862 * tests/lat.c: (handoff_src), (handoff_sink):
15863 * tests/sched/runxml.c: (main):
15864 * tests/seeking/seeking1.c: (main):
15865 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15867 Fix compilation of some tests.
15869 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15872 Remove comment. GST_TYPE_G_ERROR is here to stay,
15873 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15874 (#316961, #300610).
15876 2005-09-26 Wim Taymans <wim@fluendo.com>
15878 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15879 Added check that shows error in state change order.
15881 2005-09-26 Wim Taymans <wim@fluendo.com>
15883 * gst/gstbin.c: (gst_bin_change_state):
15884 Make state change function use 3 queues again, we were
15885 adding elements in the wrong order.
15887 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15890 * gst/gstpad.c: (gst_pad_dispose):
15891 Added some debug info first.
15893 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
15895 * docs/design/draft-push-pull.txt:
15896 * docs/design/part-events.txt:
15897 * docs/design/part-overview.txt:
15898 * docs/design/part-scheduling.txt:
15899 Replace all _pull_region() with _pull_range()
15901 2005-09-26 Andy Wingo <wingo@pobox.com>
15903 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15905 * check/gst-libs/controller.c: Update for controller api change.
15908 * tests/Makefile.am:
15909 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15910 over by GLib bug 118439.
15912 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15913 routines to a function.
15915 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15917 * libs/gst/controller/gsthelper.c:
15918 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15919 (gst_object_sync_values): Renamed from sink_values. Ugh.
15921 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15923 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15924 Renamed from controller_key, as it is exported.
15926 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15928 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
15933 * gst/gstpadtemplate.h:
15936 * gst/gstqueryutils.c:
15937 * gst/gstqueryutils.h:
15938 remove queryutils headers after moving the two used functions
15939 to gstquery. also fixes build problem for gstsiddec
15941 2005-09-26 Michael Smith <msmith@fluendo.com>
15943 * tools/gst-launch.1.in:
15944 Correct documentation in manpage of debug syntax
15946 2005-09-26 Wim Taymans <wim@fluendo.com>
15948 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15949 (gst_base_src_is_seekable), (gst_base_src_change_state):
15950 Some more debugging info.
15952 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15954 * docs/gst/gstreamer-sections.txt:
15955 * gst/base/gstbasetransform.h:
15959 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15961 * docs/gst/.cvsignore:
15962 * docs/gst/tmpl/.cvsignore:
15963 * docs/gst/tmpl/gstpipeline.sgml:
15964 * docs/gst/tmpl/gstplugin.sgml:
15965 * gst/gstpipeline.c:
15968 inlined the last two docs files
15969 removed the tmpl directory from cvs (no more conflicts here!)
15971 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15973 * docs/gst/gstreamer-sections.txt:
15974 * docs/gst/tmpl/.cvsignore:
15975 * docs/gst/tmpl/gstpad.sgml:
15976 * docs/gst/tmpl/gstpadtemplate.sgml:
15978 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15979 (gst_pad_finalize), (gst_pad_set_pad_template):
15981 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15982 (gst_pad_template_class_init), (gst_pad_template_init),
15983 (gst_pad_template_dispose), (name_is_valid),
15984 (gst_static_pad_template_get), (gst_pad_template_new),
15985 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15986 (gst_pad_template_pad_created):
15987 * gst/gstpadtemplate.h:
15988 inlined two more docs
15989 factored gstpadtemplate out of gstpad
15991 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
15993 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15994 (test_children_state_change_order_semi_sink):
15995 Fix test case: we can't rely on a fixed state change order when
15996 going from READY => PAUSED because the sink might commit its
15997 new state first when the first buffer created by the source
15998 reaches the sink before the source has finished its change state.
15999 (Test case still fails at times, see #316856, comment 5 onwards)
16001 2005-09-24 Wim Taymans <wim@fluendo.com>
16003 * docs/design/part-events.txt:
16004 * docs/design/part-gstbus.txt:
16005 * docs/design/part-gstpipeline.txt:
16006 * docs/design/part-messages.txt:
16007 * docs/design/part-overview.txt:
16008 * docs/design/part-segments.txt:
16012 * gst/gstelement.c:
16015 * gst/gstiterator.c:
16016 Various documentation updates.
16018 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
16021 Well, that's embarassing. Luckily we weren't using
16022 GST_CLOCK_DIFF anywhere.
16024 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16026 * common/gtk-doc.mak:
16027 don't fail on building XML, FC4 slave shows a bunch of doc
16028 missing bits that I don't get
16030 * gst/gstpipeline.c:
16031 * gst/gststructure.c:
16034 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
16036 * docs/design/part-gstbin.txt:
16037 * docs/design/part-gstbus.txt:
16039 Add blurb about how the bus goes into flushing mode and
16040 drops all messages when its bin goes from READY into NULL
16043 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16045 * docs/gst/gstreamer-sections.txt:
16046 * gst/gststructure.c: (gst_structure_get_clock_time):
16047 * gst/gststructure.h:
16048 add a method to get a GstClockTime out of a structure
16050 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
16052 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
16053 (test_children_state_change_order_semi_sink), (gst_bin_suite):
16054 Added test to check state change order in bins (can still be made
16055 to fail here under heavy disk load; bails out with 'Push on pad
16056 fakesink:sink0, but it was not activated in push mode').
16058 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
16059 Fix state change order when there is only a semi sink (#316856)
16061 * gst/gstbus.c: (gst_bus_class_init):
16062 Use _class_peek_parent(), not _class_ref(); fix docs to say
16063 'default main context' instead of 'mainloop' where that is
16066 * gst/gstelement.c: (gst_element_commit_state),
16067 (gst_element_set_state):
16068 Fix typos in debug messages
16070 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16073 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
16074 * gst/gstpluginfeature.c:
16076 various doc updates
16077 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16078 change an assert into an error until it gets fixed properly
16080 2005-09-23 Stefan Kost <ensonic@users.sf.net>
16082 * docs/gst/gstreamer-sections.txt:
16083 * docs/gst/tmpl/.cvsignore:
16084 * docs/gst/tmpl/gstelement.sgml:
16085 * docs/gst/tmpl/gstinfo.sgml:
16086 * docs/gst/tmpl/gstobject.sgml:
16087 * gst/gstelement.c:
16088 * gst/gstelement.h:
16091 * gst/gstobject.c: (gst_object_class_init):
16093 inlined 3 more biiiig doc files and added some missing docs on the fly
16095 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
16097 * check/gst/.cvsignore:
16098 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
16099 * gst/gstregistryxml.c: (load_plugin),
16100 (gst_registry_xml_save_plugin):
16101 put back source in registry. add checks for find_plugin.
16102 * testsuite/states/bin.c: (assert_state), (empty_bin),
16103 (test_adding_one_element), (main):
16104 * testsuite/states/locked.c: (main):
16105 some compile/run fixes
16107 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
16109 * check/gst/gstvalue.c: (GST_START_TEST):
16110 fix leaks in the test itself
16112 2005-09-22 Wim Taymans <wim@fluendo.com>
16114 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16115 (gst_base_sink_send_event), (gst_base_sink_peer_query),
16116 (gst_base_sink_query):
16117 Prepare for more accurate position reporting and query
16120 * gst/gstelement.c: (gst_element_send_event),
16121 (gst_element_set_state):
16124 2005-09-22 Wim Taymans <wim@fluendo.com>
16126 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
16127 (gst_query_parse_segment):
16129 More documentation.
16130 Add segment query for future use.
16132 2005-09-22 Wim Taymans <wim@fluendo.com>
16134 * gst/gstbin.c: (gst_bin_add_func):
16135 Some more debug info.
16137 * gst/gstelement.c: (gst_element_send_event):
16138 Simplify send_event
16140 * gst/gstelement.h:
16141 Don't know how flags got broken.
16146 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
16148 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
16149 Add simplistic test suite for GST_TYPE_DATE serialisation and
16152 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
16154 * docs/gst/gstreamer-sections.txt:
16155 * gst/gststructure.c: (gst_structure_set_valist),
16156 (gst_structure_get_date):
16157 * gst/gststructure.h:
16158 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
16159 (gst_date_copy), (gst_value_compare_date),
16160 (gst_value_serialize_date), (gst_value_deserialize_date),
16161 (gst_value_transform_date_string),
16162 (gst_value_transform_string_date), (_gst_value_initialize):
16164 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
16165 bunch of utility functions along with a hack that checks that
16166 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
16167 is required. Part of the grand scheme in #170777.
16169 2005-09-22 Andy Wingo <wingo@pobox.com>
16171 * gst/gstconfig.h.in: Psych out gtk-doc.
16173 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
16175 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
16177 * tools/gst-inspect.c (print_element_list): Plug some
16178 inconsequential leaks.
16180 * gst/gstregistry.c (gst_registry_get_default): Doc.
16182 * check/gst/gstplugin.c:
16183 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
16184 * gst/gstelementfactory.c (gst_element_factory_create):
16185 * gst/gstindexfactory.c (gst_index_factory_create): Update for
16188 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
16189 (gst_plugin_feature_load): Doc, don't eat refs.
16191 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
16192 (gst_plugin_list_free): Doc.
16193 (gst_plugin_load_file): Doc updates.
16195 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
16196 accessors returning refcounted objects, return a ref.
16198 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
16199 accessor for caps. IDEMPOTENCE. Oh yes.
16201 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
16203 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16205 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
16206 (_gst_debug_register_funcptr):
16207 Add mutex to serialise access to the hash table with
16208 the function pointer => function name string mapping;
16209 make that hash table static scope (#316809).
16211 * gst/registries/.cvsignore:
16212 Remove left-over file.
16214 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
16216 * docs/pwg/appendix-porting.xml:
16217 And something about newsegment events and caps-on-buffers to
16218 the porting guide (feel free to improve).
16220 2005-09-21 Andy Wingo <wingo@pobox.com>
16222 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
16223 data and event probes on the same pad.
16224 (test_buffer_probe_once): Test that removing probes from within
16225 the probe functions works.
16227 2005-09-21 Andy Wingo <wingo@pobox.com>
16229 * check/gst/gstutils.c: New file.
16230 (test_buffer_probe_n_times): A simple buffer probe test. More to
16233 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
16234 have-data::buffer, not have-data.
16235 (gst_pad_add_event_probe): Likewise for have-data::event.
16236 (gst_pad_add_data_probe): More docs. The part about 'resolving the
16237 peer' isn't quite right yet though.
16238 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
16239 (gst_pad_remove_data_probe): Change to take the guint handler_id
16240 as their arg, not the function+data, which is more glib-like.
16242 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
16243 the signal emission to indicate if the data is a buffer or an
16245 (gst_pad_get_type): Initialize buffer and event quarks.
16246 (gst_pad_class_init): have-data is now a detailed signal, yes it
16249 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
16251 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16252 * gst/gstutils.c: (gst_util_set_value_from_string),
16253 (gst_util_set_object_arg):
16254 Don't put functional code in g_return_if_fail() or
16255 g_return_val_if_fail() statements, otherwise things will
16256 break when G_DISABLE_CHECKS is defined during compilation.
16258 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16260 * docs/gst/tmpl/.cvsignore:
16261 * docs/gst/tmpl/gstvalue.sgml:
16264 inlied another one and added some obvious docs
16266 2005-09-21 Wim Taymans <wim@fluendo.com>
16268 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
16269 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
16270 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
16271 (gst_fdsrc_get_property), (gst_fdsrc_create):
16272 * gst/elements/gstfdsrc.h:
16273 Properly implement fdsrc. Removed signal and timeout,
16274 better implemented somewhere else.
16276 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16278 * docs/gst/tmpl/.cvsignore:
16279 * docs/gst/tmpl/gstimplementsinterface.sgml:
16280 * gst/gstinterface.c:
16283 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16285 * docs/gst/gstreamer-sections.txt:
16286 * docs/gst/tmpl/.cvsignore:
16287 * docs/gst/tmpl/gstenumtypes.sgml:
16288 remove obsolete doc file
16290 2005-09-21 David Schleef <ds@schleef.org>
16292 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
16293 little beer, fix a little leak.
16295 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16297 * docs/gst/gstreamer-docs.sgml:
16298 * docs/gst/gstreamer-sections.txt:
16299 * docs/gst/tmpl/.cvsignore:
16303 * gst/gstelement.h:
16304 * gst/gstindex.c: (gst_index_class_init):
16306 * gst/gstindexfactory.c: (gst_index_factory_get_type),
16307 (gst_index_factory_class_init), (gst_index_factory_init),
16308 (gst_index_factory_finalize), (gst_index_factory_new),
16309 (gst_index_factory_destroy), (gst_index_factory_find),
16310 (gst_index_factory_create), (gst_index_factory_make):
16311 * gst/gstindexfactory.h:
16312 * gst/gstpluginfeature.c:
16313 * gst/gstpluginfeature.h:
16314 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16315 more docs inlined, splitted gstindex.{c,h}
16317 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16319 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16322 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
16324 * gst/elements/gstfilesink.c: (gst_file_sink_init):
16325 Set sync to FALSE by default.
16327 2005-09-20 Wim Taymans <wim@fluendo.com>
16329 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16330 (gst_base_sink_init):
16331 Make sync property settable from subclass.
16333 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16334 (gst_fake_sink_change_state):
16335 Set sync to FALSE by default.
16337 2005-09-20 Wim Taymans <wim@fluendo.com>
16339 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
16340 * tools/gst-launch.c: (main):
16341 The timeout handler should have lower priority than the source
16342 so we don't timeout before popping a message with 0 timeout.
16343 Dump error messages after failed state change.
16345 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
16347 * tools/gst-inspect.c: (print_element_properties_info):
16350 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16352 * check/gst/gstevent.c:
16353 * gst/elements/gstfakesink.c:
16354 * gst/elements/gstfakesink.h:
16355 remove the sync property from fakesink.
16356 has the side effect of setting sync TRUE
16357 for fakesink, which is a change. Anyone who knows how
16358 to fix this nicely in a GObject-y way, feel free.
16360 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16362 * docs/gst/gstreamer-docs.sgml:
16363 remove probe refsection
16365 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16367 * check/Makefile.am:
16368 disable valgrinding the controller test again
16369 * docs/gst/gstreamer-sections.txt:
16370 update for api-changes
16372 2005-09-20 Wim Taymans <wim@fluendo.com>
16374 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16375 (gst_base_sink_set_property), (gst_base_sink_get_property),
16376 (gst_base_sink_do_sync):
16377 * gst/base/gstbasesink.h:
16378 Added sync property to basesink to disable clock sync.
16380 2005-09-20 Andy Wingo <wingo@pobox.com>
16382 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
16383 eating the caller's refcount.
16385 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
16386 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
16389 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
16390 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
16391 of GLib 2.8 public, so we can know which refcount to check in
16394 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
16395 (gst_object_init): Only set the gst refcount if we're going ahead
16396 with the refcount hack.
16398 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16400 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16401 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16402 more leaks plumbed, added more debug-logging
16406 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16408 * gst/gstmessage.c:
16409 remove include of gstmemchunk.h
16411 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16413 * gst/gstclock.c: (_gst_clock_id_free):
16414 Commit from the Political Party For More Atomic CVS Commits,
16415 so that people don't waste too much of their day fishing
16416 out obvious leaks out of massive commits.
16417 Oh, and fix a pretty damn obvious leak in the memchunk
16420 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16422 * check/Makefile.am:
16423 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16424 plug mem-leak, re-add to valgrindable tests
16426 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16429 unbreak the build for those who have chronic arthritis
16430 and typing "make check" is just too taxing on the hands
16432 2005-09-20 Andy Wingo <wingo@pobox.com>
16434 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
16435 really want it out, you should fix plugins at the same time.
16437 2005-09-19 Stefan Kost <ensonic@users.sf.net>
16440 * docs/gst/gstreamer-sections.txt:
16442 added missing symbols to api docs
16443 disable ref-count hack if we have glib >= 2.8
16445 2005-09-19 David Schleef <ds@schleef.org>
16447 * docs/gst/Makefile.am: Ignore a few more internal headers
16448 * docs/gst/gstreamer-docs.sgml: Remove old sections
16449 * docs/gst/gstreamer-sections.txt: Remove old sections
16450 * docs/gst/tmpl/gstobject.sgml: update
16451 * docs/gst/tmpl/gstplugin.sgml: update
16452 * docs/gst/tmpl/gstpluginfeature.sgml: update
16453 * docs/random/ds/0.9-suggested-changes: update.
16454 * gst/Makefile.am: remove memchunk and trashstack, since they're
16456 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
16457 * gst/gst.h: don't include some headers
16458 * gst/gstchildproxy.c: add gstmarshal.h
16459 * gst/gstclock.c: Don't use memchunks
16460 * gst/gstminiobject.c: Add some docs
16461 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
16462 * gst/gstobject.h: same
16463 * gst/gstplugin.c: include gstmacros.h
16464 * gst/gstplugin.h: don't include gstmacros.h, since it's private
16465 * gst/gstquery.c: don't use memchunks
16466 * gst/gstregistry.c: rename gst_registry_deinit()
16467 * gst/gstregistry.h: same
16469 2005-09-19 David Schleef <ds@schleef.org>
16471 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
16472 * docs/libs/gstreamer-libs-sections.txt:
16473 * docs/libs/tmpl/gstgetbits.sgml:
16474 * docs/libs/tmpl/gstputbits.sgml:
16476 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
16478 * win32/gstenumtypes.c:
16479 * win32/gstenumtypes.h:
16482 2005-09-19 Wim Taymans <wim@fluendo.com>
16484 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
16485 Automatically PAUSE and RESUME a pipeline when a flushing seek
16488 2005-09-19 Andy Wingo <wingo@pobox.com>
16490 * gst/gstregistry.h: Spacing fixen.
16492 2005-09-19 Wim Taymans <wim@fluendo.com>
16494 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
16495 Handle state change failure more correctly.
16497 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16499 * check/Makefile.am:
16500 * check/pipelines/cleanup.c: (run_pipeline):
16501 * check/pipelines/simple_launch_lines.c: (run_pipeline),
16503 enable cleanup again after fixing the leak
16505 some more info on docs
16507 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16509 * check/Makefile.am:
16510 re-enable tests now that leaks are plugged
16512 * check/gst/gstbin.c:
16513 * check/gst/gstpipeline.c:
16514 add some more tests while fixing leaks
16515 * common/check.mak:
16516 make sure binaries are uptodate when valgrinding/gdbing
16518 * gst/gstelementfactory.c:
16519 remove a ref too many, and add a FIXME for when we get
16520 round to disposing of classes
16522 fix the refcounting when loading a plugin from a file and
16523 the code pretends that the pointer is the same even though
16524 of course it can change
16525 * gst/gstpluginfeature.c:
16526 unref plugins marked cached (a bit confusing as a name)
16527 as the docs state should be done
16528 various doc additions to explain refcounting
16529 * gst/gstregistry.c:
16530 * gst/gstregistryxml.c:
16533 2005-09-19 Wim Taymans <wim@fluendo.com>
16535 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16536 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16537 (send_messages), (GST_START_TEST), (gstbus_suite):
16538 * check/gst/gstpipeline.c: (GST_START_TEST):
16539 * check/pipelines/cleanup.c: (run_pipeline):
16540 * check/pipelines/simple_launch_lines.c: (run_pipeline),
16542 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
16543 (gst_bus_source_check), (gst_bus_source_dispatch),
16544 (gst_bus_create_watch), (gst_bus_add_watch_full),
16545 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
16547 * tools/gst-launch.c: (event_loop):
16548 * tools/gst-md5sum.c: (event_loop):
16549 GstBusHandler -> GstBusFunc, return value has the same meaning as
16550 any other GSource (FALSE == remove source).
16551 _add_watch() and _add_watch_full() now take a MessageType mask to
16552 only handle specific types of messages.
16553 _poll() returns the GstMessage instead of the message type to avoid
16555 _have_pending() takes a MessageType mask now too.
16556 Added testsuite for multiple bus watches.
16557 Fix testsuites and applications for new bus API.
16559 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16561 * check/Makefile.am:
16562 mark a bunch of the tests as to fix until we fix them
16564 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16566 * common/check.mak:
16567 use GST_PLUGIN settings for valgrind tests as well, so we're
16568 valgrinding the correct thing
16569 * gst/gst.c: (init_post):
16572 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16574 * gst/gst.c: (init_post), (gst_deinit):
16575 * gst/gstelementfactory.c: (gst_element_factory_class_init),
16576 (gst_element_factory_finalize), (gst_element_factory_cleanup):
16577 * gst/gstindex.c: (gst_index_factory_class_init),
16578 (gst_index_factory_finalize):
16579 * gst/gstobject.c: (gst_object_dispose):
16580 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16581 (gst_plugin_load_file), (gst_plugin_desc_free):
16582 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
16583 (gst_plugin_feature_finalize):
16584 * gst/gstregistry.c: (gst_registry_class_init),
16585 (gst_registry_init), (gst_registry_finalize),
16586 (gst_registry_get_default), (gst_registry_deinit):
16587 * gst/gstregistry.h:
16588 * gst/gstregistryxml.c: (load_feature), (load_plugin):
16589 various cleanups and memleak plugging. make valgrind is happy now.
16591 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16593 * common/check.mak:
16594 add a check-valgrind target
16596 2005-09-18 David Schleef <ds@schleef.org>
16598 * tools/gst-inspect.c: Revert the GOption code.
16600 2005-09-17 David Schleef <ds@schleef.org>
16602 * check/Makefile.am: Fix environment variables.
16603 * check/gst/gstplugin.c: Fix for API changes.
16604 * tools/gst-inspect.c: Fix for API changes.
16605 * tools/gst-xmlinspect.c: Fix for API changes.
16606 * gst/gstelementfactory.c:
16609 * gst/gstpluginfeature.c:
16610 * gst/gstpluginfeature.h:
16611 * gst/gstregistry.c:
16612 * gst/gstregistry.h:
16613 * gst/gstregistryxml.c:
16614 * gst/gsttypefind.c:
16615 * gst/gsttypefindfactory.c:
16616 * gst/indexers/gstfileindex.c:
16617 * gst/indexers/gstmemindex.c:
16618 * gst/schedulers/Makefile.am:
16619 Change registry to keep track of both plugins and features,
16620 removing the feature tracking from plugins themselves.
16622 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
16624 * check/Makefile.am:
16625 * tools/gst-register.1.in:
16626 remove gst-register
16628 2005-09-15 David Schleef <ds@schleef.org>
16630 * check/gst/gstplugin.c:
16631 * gst/gstelementfactory.c:
16633 * gst/gstpluginfeature.c:
16634 * gst/gstregistry.c:
16635 Getting tired of debugging. Disabled all the unreffing of
16636 plugins and features, which fixes the segfaults, but of
16637 course leaks like crazy. At least playbin works.
16639 2005-09-15 David Schleef <ds@schleef.org>
16641 * check/gst/gstplugin.c: (register_check_elements),
16642 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16644 * gst/elements/gsttypefindelement.c: Fix refcounting.
16645 * gst/gsttypefind.c:
16646 * gst/gsttypefindfactory.c:
16647 * gst/gsttypefindfactory.h:
16649 2005-09-15 David Schleef <ds@schleef.org>
16651 * gst/gstindex.c: get refcounting correct.
16652 * gst/gstregistry.c: Handle the case where a feature/plugin is
16655 2005-09-15 David Schleef <ds@schleef.org>
16657 * check/Makefile.am:
16658 * check/gst/gstplugin.c: Add test
16659 * gst/gstplugin.c: Fix problems noticed by testsuite
16661 * gst/gstregistry.c:
16662 * gst/gstregistry.h:
16664 2005-09-15 David Schleef <ds@schleef.org>
16666 * gst/gstplugin.c: Implement semi-decent recounting and locking
16667 in plugins and plugin features.
16669 * gst/gstpluginfeature.c:
16670 * gst/gstpluginfeature.h:
16671 * gst/gstregistry.c:
16673 2005-09-15 Michael Smith <msmith@fluendo.com>
16675 * gst/gstregistry.c: (gst_registry_get_feature_list):
16676 Implement this. Makes oggdemux work; decodebin still broken.
16678 2005-09-14 David Schleef <ds@schleef.org>
16680 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16682 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16683 * gst/check/Makefile.am:
16684 * libs/gst/controller/Makefile.am:
16685 * libs/gst/dataprotocol/Makefile.am:
16687 2005-09-14 David Schleef <ds@schleef.org>
16689 * configure.ac: Remove getbits library. Nothing uses it, and
16690 it should be in something like liboil if someone did want
16692 * libs/gst/Makefile.am:
16693 * libs/gst/getbits/Makefile.am:
16694 * libs/gst/getbits/gbtest.c:
16695 * libs/gst/getbits/getbits.c:
16696 * libs/gst/getbits/getbits.h:
16697 * libs/gst/getbits/gstgetbits_generic.c:
16698 * libs/gst/getbits/gstgetbits_i386.s:
16699 * libs/gst/getbits/gstgetbits_inl.h:
16701 2005-09-14 David Schleef <ds@schleef.org>
16703 * gst/Makefile.am: Dist glib-compat.h
16705 2005-09-14 David Schleef <ds@schleef.org>
16707 * configure.ac: Remove gst/registries, since it's no longer used.
16708 * gst/registries/Makefile.am:
16709 * gst/registries/gstlibxmlregistry.c:
16710 * gst/registries/gstlibxmlregistry.h:
16711 * gst/registries/gstxmlregistry.c:
16712 * gst/registries/gstxmlregistry.h:
16713 * gst/registries/registrytest.c:
16715 2005-09-14 David Schleef <ds@schleef.org>
16717 * gst/glib-compat.h:
16718 * gst/gstregistryxml.c:
16719 Convergence is near. Seriously.
16721 2005-09-14 David Schleef <ds@schleef.org>
16723 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16724 * gst/glib-compat.h:
16725 Attempt #4 to appease the buildbots.
16727 2005-09-14 David Schleef <ds@schleef.org>
16729 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16732 2005-09-14 David Schleef <ds@schleef.org>
16734 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16737 2005-09-14 David Schleef <ds@schleef.org>
16739 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16742 2005-09-14 David Schleef <ds@schleef.org>
16744 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16745 * gst/glib-compat.h: Add some functions that are in newer versions
16746 of glib than we care to require.
16747 * gst/gstregistryxml.c: Use them.
16749 2005-09-14 David Schleef <ds@schleef.org>
16751 * po/POTFILES.in: remove gst-register.c
16753 2005-09-14 David Schleef <ds@schleef.org>
16755 * docs/gst/gstreamer-docs.sgml:
16756 * docs/gst/gstreamer-sections.txt:
16757 * docs/gst/gstreamer.types:
16758 * docs/gst/tmpl/gstelement.sgml:
16759 * docs/gst/tmpl/gstplugin.sgml:
16760 * docs/gst/tmpl/gstpluginfeature.sgml:
16761 Documentation updates for registry changes.
16763 2005-09-14 David Schleef <ds@schleef.org>
16765 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16766 because we don't require glib-2.8.
16768 2005-09-14 David Schleef <ds@schleef.org>
16770 * gst/gstregistryxml.c: Added. Essentially moved out of the
16771 registries directory.
16773 2005-09-14 David Schleef <ds@schleef.org>
16775 * check/Makefile.am:
16776 * check/generic/states.c:
16780 * gst/gst_private.h:
16781 * gst/gstelementfactory.c:
16786 * gst/gstpluginfeature.c:
16787 * gst/gstpluginfeature.h:
16788 * gst/gstregistry.c:
16789 * gst/gstregistry.h:
16790 * gst/gstregistrypool.c: remove
16791 * gst/gstregistrypool.h: remove
16792 * gst/gsttypefind.c:
16793 * gst/gsttypefindfactory.c:
16795 * tools/Makefile.am:
16796 * tools/gst-compprep.c:
16797 * tools/gst-inspect.c:
16798 * tools/gst-register.c: remove
16799 * tools/gst-xmlinspect.c:
16800 Registry rewrite. Changes registry from being a file created
16801 by a tool into a simple cache file created automatically by
16802 libgstreamer. Removed gst-register (because it's no longer
16803 needed). Remove registry pools, because we only have one
16804 registry implementation (XML). Fix up other subsystems as
16807 2005-09-13 Michael Smith <msmith@fluendo.com>
16809 * gst/gstconfig.h.in:
16810 Don't Use windows linking attributes for MinGW. Fixes #316157
16812 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
16814 * gst/gstutils.c: (set_state_async_thread_func),
16815 (gst_element_set_state_async):
16816 Apparently people think it's better if this function doesn't
16817 try to set the state to whatever state was asked for on the first
16818 call to this function for any object. Seriously.
16820 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16822 * check/gst/gstpipeline.c: (GST_START_TEST):
16823 * docs/gst/gstreamer-sections.txt:
16824 * gst/gstutils.c: (set_state_async_thread_func),
16825 (gst_element_set_state_async):
16827 add a "gst_element_set_state_async" method that
16828 sets the state and starts a thread to make sure the state
16829 change completes as best as it can
16831 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16833 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16834 codify design+behaviour in testsuite after discussion
16836 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16838 * docs/gst/tmpl/gstelement.sgml:
16839 * docs/manual/appendix-quotes.xml:
16841 * gst/gstelement.c: (gst_element_set_state):
16844 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
16846 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16847 (gst_base_transform_prepare_output_buf),
16848 (gst_base_transform_handle_buffer):
16849 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16850 (gst_capsfilter_prepare_buf):
16851 Remove the requirement for sub-classes to call the parent
16852 implementation of prepare_output_buffer with a wrapper function.
16854 * gst/gsttaglist.h:
16855 * gst/gsttagsetter.h:
16856 Fix #define wrapper
16858 2005-09-11 Stefan Kost <ensonic@users.sf.net>
16860 * docs/gst/gstreamer-sections.txt:
16863 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16865 * docs/gst/gstreamer-sections.txt:
16866 * docs/gst/tmpl/gstelement.sgml:
16867 * docs/gst/tmpl/gstplugin.sgml:
16868 * gst/gstminiobject.c:
16870 docs now stop throwing warnings
16872 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16874 * docs/gst/gstreamer-sections.txt:
16875 * docs/gst/gstreamer.types:
16876 * docs/gst/tmpl/gstpad.sgml:
16877 * docs/gst/tmpl/gsttypes.sgml:
16878 * gst/base/gstadapter.h:
16879 * gst/base/gstbasesink.h:
16880 * gst/base/gstbasesrc.h:
16886 * gst/gstelement.h:
16888 * gst/gstmessage.h:
16890 * gst/gststructure.c:
16891 * gst/registries/gstlibxmlregistry.h:
16892 various documentation fixes
16894 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16896 * docs/gst/gstreamer-sections.txt:
16897 * docs/gst/tmpl/gstvalue.sgml:
16898 rearrange gstvalue section
16899 * gst/gstutils.c: (gst_element_state_get_name):
16901 * gst/gstvalue.c: (_gst_value_initialize):
16905 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
16907 * check/gst-libs/controller.c:
16908 Header include fix.
16909 * gst/base/gstbasetransform.c:
16910 (gst_base_transform_default_prepare_buf),
16911 (gst_base_transform_handle_buffer):
16912 * gst/base/gstbasetransform.h:
16913 Some more basetransform changes and fixes to enable sub-classes
16914 that modify buffer metadata only.
16915 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16916 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16917 (gst_capsfilter_prepare_buf):
16918 If the output pad has fixed allowed caps and input buffers
16919 don't have any, set the fixed caps on outgoing buffers.
16921 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
16922 * check/elements/identity.c: (GST_START_TEST):
16923 Make the error a little clearer when the test fails because
16924 identity made a copy of the buffer.
16925 * docs/gst/gstreamer-sections.txt:
16926 New symbols in gstbasetransform.h
16927 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16928 (gst_base_transform_init), (gst_base_transform_transform_size),
16929 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16930 (gst_base_transform_default_prepare_buf),
16931 (gst_base_transform_get_unit_size),
16932 (gst_base_transform_buffer_alloc),
16933 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16934 (gst_base_transform_change_state),
16935 (gst_base_transform_set_passthrough),
16936 (gst_base_transform_set_in_place),
16937 (gst_base_transform_is_in_place):
16938 * gst/base/gstbasetransform.h:
16939 Change BaseTransform to separate in_place operate from same_caps
16940 output. in_place implies that the element can perform the transform
16941 on incoming buffers in-place, even if the caps on the output are
16943 Sub-class elements can now implement special buffer allocation
16944 methods for outgoing buffers if they wish to.
16945 Big documentation addition.
16946 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16947 * gst/elements/gstelements.c:
16948 Changes for basetransform modifications.
16949 * gst/elements/Makefile.am:
16950 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16951 Compile fix. Extra debug output.
16953 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16955 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16957 add tests for valid pad naming
16958 * gst/check/gstcheck.c: (gst_check_log_message_func),
16959 (gst_check_log_critical_func):
16961 remove printing of code, it is fragile when the code contains
16962 % and the line number is enough info
16963 * gst/check/gstcheck.h:
16964 * gst/gstpad.c: (gst_pad_template_new):
16967 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16970 say what CHECK flags we use
16971 * docs/libs/gstreamer-libs.types:
16972 * libs/gst/controller/Makefile.am:
16973 * libs/gst/controller/gst-controller.c:
16974 * libs/gst/controller/gst-controller.h:
16975 * libs/gst/controller/gst-helper.c:
16976 * libs/gst/controller/gst-interpolation.c:
16977 * libs/gst/controller/gstcontroller.c:
16978 * libs/gst/controller/gsthelper.c:
16979 * libs/gst/controller/gstinterpolation.c:
16980 * tools/gst-inspect.c: (print_plugin_info):
16981 we don't use dashes in header names
16983 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16985 * check/Makefile.am:
16986 * check/gst/.cvsignore:
16987 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16988 (gst_pipeline_suite), (main):
16989 adding a test for pipelines and state changes
16990 * gst/gstutils.c: (get_state_func):
16992 * gstreamer.spec.in:
16995 2005-09-08 Michael Smith <msmith@fluendo.com>
16997 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16998 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16999 (gst_file_src_is_seekable), (gst_file_src_get_size),
17000 (gst_file_src_start):
17001 * gst/elements/gstfilesrc.h:
17002 Various fixes for unseekable, unmmapable, and non-normal files, so
17003 that fallback to read() rather than mmap() works.
17004 * gst/gstevent.c: (gst_event_new_newsegment):
17005 Allow newsegment events with segment_start == segment_end, as will
17006 correctly happen if you use filesrc on a zero-size file, for
17009 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
17011 * gst/gstplugin.c: (gst_plugin_load_file):
17012 Call g_module_close when we don't load the module
17014 * gst/registries/gstlibxmlregistry.c:
17015 (gst_xml_registry_get_property):
17016 Port leak fix from 0.8
17018 2005-09-07 Stefan Kost <ensonic@users.sf.net>
17020 * docs/gst/gstreamer-docs.sgml:
17021 * docs/gst/tmpl/.cvsignore:
17022 * docs/gst/tmpl/gsttrace.sgml:
17023 * docs/gst/tmpl/gsttrashstack.sgml:
17026 * gst/gstelement.h:
17028 * gst/gstmessage.c:
17029 * gst/gstmessage.h:
17032 * gst/gsttaginterface.c:
17033 * gst/gsttaginterface.h:
17034 * gst/gsttaglist.c:
17035 * gst/gsttaglist.h:
17036 * gst/gsttagsetter.c:
17037 * gst/gsttagsetter.h:
17040 * gst/gsttrashstack.c:
17041 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
17042 inlined docs for gsttrace, gsttrashstack
17044 2005-09-07 Stefan Kost <ensonic@users.sf.net>
17047 * gst/elements/gstbufferstore.h:
17048 * gst/elements/gsttypefindelement.c:
17049 * gst/elements/gsttypefindelement.h:
17051 * gst/gsttypefind.c:
17052 * gst/gsttypefind.h:
17053 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
17054 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
17055 (gst_type_find_factory_dispose),
17056 (gst_type_find_factory_unload_thyself),
17057 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
17058 (gst_type_find_factory_get_caps),
17059 (gst_type_find_factory_get_extensions),
17060 (gst_type_find_factory_call_function):
17061 * gst/gsttypefindfactory.h:
17062 * gst/registries/gstlibxmlregistry.c:
17063 * gst/registries/gstxmlregistry.c:
17064 splitted gsttypefind into gsttypefind, gsttypefindfactory
17066 2005-09-07 Andy Wingo <wingo@pobox.com>
17068 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
17069 condition whereby the pad's task function is entered before the
17070 pad_mode variable was set.
17072 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
17074 * gst/gstpad.c: (gst_pad_alloc_buffer):
17075 Catch misbehaving pad_alloc functions that don't
17076 set up caps and do it for them.
17078 2005-09-07 Stefan Kost <ensonic@users.sf.net>
17080 * check/pipelines/simple_launch_lines.c: (run_pipeline):
17081 test for pipe!=NULL
17082 * docs/gst/tmpl/.cvsignore:
17083 * docs/gst/tmpl/gstmemchunk.sgml:
17084 * docs/gst/tmpl/gstparse.sgml:
17085 * docs/gst/tmpl/gsttaglist.sgml:
17086 * docs/gst/tmpl/gsttagsetter.sgml:
17087 * docs/gst/tmpl/gsttypefind.sgml:
17088 * docs/gst/tmpl/gsttypefindfactory.sgml:
17089 * gst/gstmemchunk.c:
17092 * gst/gsttaginterface.c:
17093 * gst/gsttypefind.c:
17094 * gst/gsttypefind.h:
17097 === release 0.9.2 ===
17099 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
17104 releasing 0.9.2, "South"
17106 2005-09-05 Andy Wingo <wingo@pobox.com>
17108 * gst/registries/gstxmlregistry.h:
17109 * gst/registries/gstxmlregistry.c: Um... resurrect...
17111 * gst/registries/gstxmlregistry.h:
17112 * gst/registries/gstxmlregistry.c: and update to newer API.
17113 Incidentally they should be a bit faster now that they don't have
17116 2005-09-05 Andy Wingo <wingo@pobox.com>
17118 * gst/registries/gstxmlregistry.h:
17119 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
17120 replaced by the libxml registry a while back
17122 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
17124 * docs/gst/tmpl/gstplugin.sgml:
17125 * gst/elements/gstelements.c:
17127 * gst/gstplugin.c: (gst_plugin_register_func),
17128 (gst_plugin_desc_copy), (gst_plugin_desc_free),
17129 (gst_plugin_get_source):
17131 * gst/registries/gstlibxmlregistry.c: (load_plugin),
17132 (gst_xml_registry_save_plugin):
17133 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
17134 (gst_xml_registry_save_plugin):
17135 * tools/gst-inspect.c: (print_plugin_info):
17136 add a "source" plugin description field, to represent the source
17137 module this plugin is a part of. By default GST_PLUGIN_DEFINE
17138 will set it to PACKAGE, which is automake's idea of the name of
17139 the source project.
17141 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
17146 * docs/Makefile.am:
17147 * docs/faq/Makefile.am:
17148 * docs/gst/tmpl/gstelement.sgml:
17149 * docs/gst/tmpl/gsttypes.sgml:
17150 * docs/htmlinstall.mak:
17151 * docs/manual/Makefile.am:
17152 * docs/pwg/Makefile.am:
17153 reorganize doc build a little
17154 split out docbook and gtk-doc stuff
17155 have two separate --enable's and enable them through autogen
17156 but disable by default in configure (to be similar to other
17158 * gstreamer.spec.in:
17159 clean up docs install
17177 translation updates
17179 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
17181 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
17184 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17185 (gst_fake_sink_change_state):
17186 Make state change function thread-safe.
17188 * gst/gstpad.c: (gst_pad_alloc_buffer):
17189 Set offset on generic buffer allocated by fallback.
17191 2005-09-03 Stefan Kost <ensonic@users.sf.net>
17193 * docs/gst/gstreamer-sections.txt:
17194 * docs/gst/tmpl/gstelement.sgml:
17196 * libs/gst/controller/gst-controller.c:
17197 (gst_controlled_property_set_interpolation_mode),
17198 (gst_controlled_property_new),
17199 (gst_controller_find_controlled_property):
17200 run the wingo-magic script against the docs
17202 2005-09-02 Stefan Kost <ensonic@users.sf.net>
17204 * docs/gst/gstreamer-docs.sgml:
17205 * docs/gst/gstreamer-sections.txt:
17206 * docs/gst/tmpl/.cvsignore:
17207 * docs/gst/tmpl/gstelementdetails.sgml:
17208 * docs/gst/tmpl/gstelementfactory.sgml:
17211 * gst/gstelementfactory.c:
17212 * gst/gstelementfactory.h:
17213 merged elementdetails docs into elementfactory docs
17216 2005-09-02 Andy Wingo <wingo@pobox.com>
17218 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
17219 consider this enum an enum and not a flags.
17221 2005-09-02 Stefan Kost <ensonic@users.sf.net>
17223 * docs/gst/gstreamer-docs.sgml:
17224 * docs/gst/tmpl/.cvsignore:
17225 * docs/gst/tmpl/gstghostpad.sgml:
17226 * docs/gst/tmpl/gstiterator.sgml:
17227 * docs/gst/tmpl/gstmacros.sgml:
17228 * docs/gst/tmpl/gstrealpad.sgml:
17229 * docs/gst/tmpl/gstregistry.sgml:
17230 * docs/gst/tmpl/gstregistrypool.sgml:
17231 * docs/gst/tmpl/gststructure.sgml:
17232 * docs/gst/tmpl/gstsystemclock.sgml:
17233 * docs/gst/tmpl/gsttrace.sgml:
17234 * gst/gstghostpad.c:
17236 * gst/gstmemchunk.c:
17237 * gst/gstmemchunk.h:
17239 * gst/gstregistry.c:
17240 * gst/gstregistrypool.c:
17241 * gst/gststructure.c:
17242 * gst/gstsystemclock.c:
17245 2005-09-02 Andy Wingo <wingo@pobox.com>
17247 * gst/gstelement.h (GstState): Renamed from GstElementState,
17248 changed to be a normal enum instead of flags.
17249 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
17250 munged to be GST_STATE_CHANGE_*.
17251 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
17252 work with the new state representation.
17253 (GstStateChange): New enumeration of possible state transitions.
17254 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
17255 (GstElementClass::change_state): Pass the GstStateChange along as
17256 an argument. Helps language bindings, so they don't have to use
17257 tricky lock-needing macros like GST_STATE_CHANGE ().
17259 * scripts/update-states (file): New script. Run it on a file to
17260 update it for state naming and API changes. Updates files in
17263 * All files updated for the new API.
17265 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
17267 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
17268 * gst/gstutils.c: (gst_util_set_value_from_string),
17269 (gst_util_set_object_arg):
17270 fix a bunch of unchecked return values
17271 * tools/gst-complete.c: (main):
17272 * gstreamer.spec.in:
17275 2005-09-01 Wim Taymans <wim@fluendo.com>
17277 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17278 (gst_base_sink_event), (gst_base_sink_do_sync),
17279 (gst_base_sink_handle_event):
17280 * gst/base/gstbasesink.h:
17281 Handle newsegments more correctly.
17286 * gst/gstevent.c: (gst_event_new_newsegment):
17287 A newsegment cannot have a start_time of -1
17289 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
17291 * win32/gstenumtypes.c:
17292 * win32/gstenumtypes.h:
17295 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17297 * libs/gst/controller/gst-controller.c:
17298 (gst_controlled_property_set_interpolation_mode),
17299 (gst_controlled_property_new):
17300 fixed boolean again
17302 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
17304 * docs/faq/gst-uninstalled:
17309 * gst/gstutils.c: (gst_element_link_filtered):
17311 add gst_element_link_filtered
17313 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17315 * docs/gst/gstreamer-docs.sgml:
17316 * docs/gst/gstreamer-sections.txt:
17317 * docs/gst/tmpl/.cvsignore:
17318 * docs/gst/tmpl/gsterror.sgml:
17319 * docs/gst/tmpl/gstfilter.sgml:
17320 * docs/gst/tmpl/gsturihandler.sgml:
17321 * docs/gst/tmpl/gsturitype.sgml:
17322 * docs/gst/tmpl/gstutils.sgml:
17323 * docs/gst/tmpl/gstxml.sgml:
17328 * gst/gsturitype.c:
17331 inlined more docs, fixed double id-ref
17333 2005-08-31 Wim Taymans <wim@fluendo.com>
17335 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17336 (gst_base_transform_handle_buffer):
17337 Passthrough elements don't need the caps as they don't care.
17339 2005-08-31 Wim Taymans <wim@fluendo.com>
17341 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17342 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
17343 Don't leak refcounts on buffers.
17345 2005-08-31 Wim Taymans <wim@fluendo.com>
17347 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
17348 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17349 (gst_base_transform_chain), (gst_base_transform_change_state):
17350 * gst/base/gstbasetransform.h:
17351 Handle the case where we are not negotiated more gracefully.
17353 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
17355 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
17356 (gst_file_src_map_region):
17357 Set READONLY flag on mmap'ed buffers, otherwise
17358 gst_buffer_make_writable() won't work properly (#314708).
17360 2005-08-31 Wim Taymans <wim@fluendo.com>
17362 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
17363 passthrough elements can even do inplace on non writable
17364 buffers (as they don't touch them).
17366 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17368 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17369 (gst_test_mono_source_set_property),
17370 (gst_test_mono_source_class_init), (GST_START_TEST),
17371 (gst_controller_suite):
17372 more tests (hehe I have the most)
17374 describe popping messages whenusing mulltiple sources
17375 * libs/gst/controller/gst-controller.c:
17376 (gst_controlled_property_set_interpolation_mode),
17377 (gst_controlled_property_new):
17378 * libs/gst/controller/gst-controller.h:
17379 * libs/gst/controller/gst-interpolation.c:
17380 implement boolean properties
17382 2005-08-31 Wim Taymans <wim@fluendo.com>
17384 * gst/gstminiobject.c: (gst_mini_object_ref):
17385 Cannot assert that the refcount has to be positive
17386 since a disposed object can be resurrected.
17388 2005-08-31 Wim Taymans <wim@fluendo.com>
17390 * gst/gstpad.c: (gst_pad_init):
17391 Revert change, need to first fix badly behaving
17394 2005-08-30 Wim Taymans <wim@fluendo.com>
17396 * check/elements/fakesrc.c: (setup_fakesrc):
17397 * check/elements/identity.c: (setup_identity):
17398 Activate pads before using them.
17400 2005-08-30 Wim Taymans <wim@fluendo.com>
17402 * gst/base/gstadapter.c: (gst_adapter_flush):
17403 Flushing out 0 bytes is ok for this function.
17405 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17406 no newsegment gives a warning and sets the start/stop to
17409 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
17410 (gst_base_transform_set_passthrough):
17413 * gst/gstminiobject.c: (gst_mini_object_ref):
17414 Check refcount here too.
17416 * gst/gstpad.c: (gst_pad_init):
17417 Pads are initially flushing and refusing data.
17419 * gst/gstutils.c: (gst_element_link_pads_filtered):
17420 When adding a capsfilter element make sure it has the
17421 same state as the parent bin.
17423 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17425 * docs/gst/tmpl/.cvsignore:
17426 * docs/gst/tmpl/gstformat.sgml:
17427 * docs/gst/tmpl/gstversion.sgml:
17431 * gst/gstversion.h.in:
17432 more docs and two more inlined
17434 2005-08-30 Wim Taymans <wim@fluendo.com>
17436 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
17437 Don't sync to clock.
17439 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17441 * docs/gst/gstreamer-sections.txt:
17442 ultral33t func10ns deserve to appear in the docs actually
17443 * docs/gst/tmpl/.cvsignore:
17444 * docs/gst/tmpl/gstcompat.sgml:
17445 * docs/gst/tmpl/gstconfig.sgml:
17446 * gst/check/gstcheck.c:
17448 * gst/gstconfig.h.in:
17451 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17453 * docs/gst/tmpl/.cvsignore:
17454 * docs/gst/tmpl/gstquery.sgml:
17455 * docs/gst/tmpl/gstutils.sgml:
17458 inlined and extended docs
17460 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17462 * check/gst-libs/controller.c: (GST_START_TEST),
17463 (gst_controller_suite):
17465 * docs/gst/tmpl/gstutils.sgml:
17466 * docs/libs/gstreamer-libs-sections.txt:
17467 * docs/libs/tmpl/gstdataprotocol.sgml:
17469 * examples/controller/audio-example.c: (main):
17470 controller example works now
17473 * tools/gst-inspect.c: (print_element_properties_info):
17474 show param spec flags
17476 2005-08-29 Andy Wingo <wingo@pobox.com>
17478 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
17480 2005-08-28 Andy Wingo <wingo@pobox.com>
17482 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
17483 as having two arguments instead of just one. Allows superclasses
17484 to access information on subclasses -- see the terrible for() loop
17485 in gtype.c:g_type_create_instance for the reason why. All callers
17488 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17490 * docs/design/part-messages.txt:
17492 * docs/gst/tmpl/.cvsignore:
17493 * docs/gst/tmpl/gstcaps.sgml:
17494 * docs/gst/tmpl/gstclock.sgml:
17500 * gst/gstmessage.c:
17501 added descriptions for bus and message
17502 inline caps and clock docs
17504 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17506 * gst/gstmessage.c:
17507 * gst/gstmessage.h:
17510 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17512 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17515 2005-08-26 Andy Wingo <wingo@pobox.com>
17517 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
17518 element_set_state's return val.
17519 (test_2_elements): Add test that's been disabled for months.
17521 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
17522 can-activate-pull properties.
17524 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
17525 can-activate-pull properties. Implement is_seekable so fakesrc can
17526 operate in pull mode.
17528 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
17530 (gst_base_sink_activate, gst_base_sink_activate_pull)
17531 (gst_base_sink_activate_push): Make activation mode choosing work.
17533 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
17534 is right. Make pull mode work. Post an eos before pausing in pull
17536 (gst_base_sink_change_state): Pay attention to the core's
17537 change_state() return val.
17539 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
17540 has-getrange properties. Cleanups.
17542 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
17543 has_getrange and replace with can_activate_pull and
17546 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
17547 locking comments. Remove has_loop, has_chain and replace with
17548 can_activate_pull and can_activate_push.
17550 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
17553 * examples/Makefile.am:
17554 * examples/metadata/Makefile.am:
17555 * examples/metadata/read-metadata.c: (message_loop),
17556 (have_pad_handler), (make_pipeline), (print_tag), (main):
17557 Add metadata reading example that loops over a list of filenames,
17558 dumping any tags found.
17560 * gst/gstbus.c: (gst_bus_dispose):
17561 * gst/gstelement.c: (gst_element_dispose):
17562 Release a few potentially-held references in dispose.
17564 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17566 * docs/gst/tmpl/gstminiobject.sgml:
17567 do *not* add tmpl/*.sgml files to CVS!
17569 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17571 * libs/gst/bytestream/.cvsignore:
17572 * libs/gst/bytestream/Makefile.am:
17573 * libs/gst/bytestream/adapter.c:
17574 * libs/gst/bytestream/adapter.h:
17575 * libs/gst/bytestream/bytestream.c:
17576 * libs/gst/bytestream/bytestream.h:
17577 * libs/gst/bytestream/filepad.c:
17578 * libs/gst/bytestream/filepad.h:
17579 removing obsolete files
17581 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17583 * docs/gst/gstreamer-docs.sgml:
17584 * docs/libs/gstreamer-libs-docs.sgml:
17585 disabed additional index entries again, as this makes docs-gen just
17586 slow and they aren't useful yet
17587 * docs/libs/gstreamer-libs-sections.txt:
17588 little -section.txt cleanup for libs
17590 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
17592 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17593 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
17594 fix up some debugging
17595 (gst_base_transform_get_unit_size),
17596 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
17597 (gst_base_transform_handle_buffer):
17598 * gst/base/gstbasetransform.h:
17599 handle and store timed NEWSEGMENT events so that subclasses that
17600 calculate time by counting samples have a segment_start time they
17601 need to add to their timestamps - see audioresample
17603 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17606 removed ';' from the end of macro defs
17607 * docs/gst/gstreamer-docs.sgml:
17608 * docs/gst/gstreamer-sections.txt:
17609 * docs/gst/tmpl/.cvsignore:
17611 * gst/gstelement.c: (gst_element_class_init),
17612 (gst_element_set_state), (activate_pads),
17613 (gst_element_save_thyself):
17614 * gst/gstevent.c: (gst_event_new_newsegment):
17616 * gst/gstiterator.c:
17617 * gst/gstiterator.h:
17620 * gst/gstutils.c: (gst_pad_query_convert):
17622 fixed parameter name mismatches between source, header and docs
17623 added some more docs, resolved the last batch of unused elements in
17624 docs (now someone needs to doc them)
17626 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17628 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17629 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17630 don't walk through the plugins backwards. Where is all this
17631 reversed logic coming from ?
17633 2005-08-25 Wim Taymans <wim@fluendo.com>
17635 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17636 (gst_base_transform_transform_size),
17637 (gst_base_transform_configure_caps),
17638 (gst_base_transform_get_unit_size),
17639 (gst_base_transform_buffer_alloc),
17640 (gst_base_transform_change_state):
17641 * gst/base/gstbasetransform.h:
17642 Cache caps unit_size.
17643 Make sure we cannot negotiate up and downstream at the
17646 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17648 * gst/gst.c: (init_pre), (init_post):
17649 register the installed plugin path after the env var
17650 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17651 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17652 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17653 directories, so the tests can prefer uninstalled over installed
17655 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17657 * gst/base/gstbasetransform.h:
17662 2005-08-25 Wim Taymans <wim@fluendo.com>
17664 * gst/gstbin.c: (bin_bus_handler):
17665 Be a bit more conservative about the posted message.
17667 * gst/gstbus.c: (gst_bus_post):
17668 Some cleanups, warn wrong return values.
17670 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
17672 * check/gst/gstbin.c: (GST_START_TEST):
17673 * gst/gstbin.c: (bin_bus_handler):
17674 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17675 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17676 (gst_message_new_warning), (gst_message_new_tag),
17677 (gst_message_new_state_changed), (gst_message_new_segment_start),
17678 (gst_message_new_segment_done), (gst_message_new_custom):
17679 * gst/gstmessage.h:
17680 * tools/gst-launch.c: (event_loop):
17681 * tools/gst-md5sum.c: (event_loop):
17682 Revert unpopular change for GST_MESSAGE_SRC to GObject.
17684 2005-08-25 Wim Taymans <wim@fluendo.com>
17686 * check/generic/states.c: (GST_START_TEST):
17687 Cleanup can be done at the end.
17689 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17690 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17691 (gst_task_get_state), (gst_task_start), (gst_task_pause):
17692 Oh boy.. Thanks for finding this, Thomas.
17694 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17696 * docs/gst/gstreamer.types:
17697 added missing types
17699 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17701 * docs/gst/gstreamer-docs.sgml:
17702 * docs/gst/gstreamer-sections.txt:
17703 * docs/gst/tmpl/.cvsignore:
17705 * gst/gstiterator.c:
17707 * gst/registries/gstxmlregistry.h:
17708 added missing classes and symbols (123 more to go)
17709 removed removed symbols from section file
17710 fixed many doc-comments
17712 2005-08-24 Wim Taymans <wim@fluendo.com>
17714 * check/generic/states.c: (GST_START_TEST):
17715 Make sure all tasks are stopped.
17717 * check/gst/gstbin.c: (GST_START_TEST):
17718 Unref after usage for proper valgrinding.
17720 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17721 Really wait for the task to stop before destroying the
17724 * gst/gstqueue.c: (gst_queue_sink_activate_push),
17725 (gst_queue_src_activate_push):
17726 Small cleanups. Don't stop the task when we did not start
17729 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17730 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17731 (gst_task_get_state), (gst_task_start), (gst_task_pause),
17734 Protect the stream lock with the object lock.
17735 Disallow setting the stream lock when running.
17736 Add cleanup_all to wait for the threadpool to finish.
17737 Remove code to autoallocate a mutex if none was provided.
17738 Add _join() to wait for a task to stop.
17739 Protect the thread pool with a global lock.
17741 2005-08-24 Wim Taymans <wim@fluendo.com>
17743 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17744 (gst_base_sink_get_times), (gst_base_sink_do_sync),
17745 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17746 * gst/base/gstbasesink.h:
17747 Handle newsegment events correctly.
17748 Drop buffers out of the segment range.
17750 2005-08-22 Andy Wingo <wingo@pobox.com>
17752 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17753 macro, implements an interface and gstimplementsinterface for a
17756 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17758 * check/Makefile.am:
17759 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17760 add a test that does a bunch of state changes on elements
17761 needs some fixing for valgrind
17762 * check/states/sinks.c: (gst_object_suite):
17765 add prototype for gst_caps_is_equal_fixed
17767 * gst/gstregistrypool.c:
17770 2005-08-24 Andy Wingo <wingo@pobox.com>
17772 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17773 convert a negative value. Doesn't make much sense. Mostly this is
17774 here to force callers to ensure -1 maps to -1.
17776 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17778 * docs/pwg/advanced-types.xml:
17779 Well done to Michael for catching my deliberate introduction
17780 of this spelling mistake.
17781 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17782 * gst/gstelement.h:
17783 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17784 unlink pads before removing the element from the bin.
17786 2005-08-24 Andy Wingo <wingo@pobox.com>
17788 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17789 the same thing as GST_DEBUG=*:4.
17790 (parse_debug_level, parse_debug_category): New helper parsers.
17792 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17794 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17795 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17796 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17797 (gst_base_transform_buffer_alloc),
17798 (gst_base_transform_handle_buffer):
17799 use gboolean return values and pointers to size so we can use the
17800 full GST_BUFFER_SIZE range (guint) for buffer sizes
17801 use GstPadDirection for transform_caps
17802 * gst/base/gstbasetransform.h:
17803 rename get_size to get_unit_size since that's what it is
17804 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17805 use GstPadDirection for transform_caps
17806 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17808 cleanup and debugging
17810 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17812 * gst/gstelement.c: (gst_element_class_init),
17813 (gst_element_set_state), (activate_pads),
17814 (gst_element_save_thyself):
17815 * tools/gst-compprep.c: (main):
17816 * tools/gst-inspect.c: (print_element_properties_info):
17817 * tools/gst-xmlinspect.c: (print_element_properties):
17818 Fixed long standing mem-leak
17820 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17822 * check/gst/gstbin.c: (GST_START_TEST):
17823 * gst/gstbin.c: (bin_bus_handler):
17824 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17825 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17826 (gst_message_new_warning), (gst_message_new_tag),
17827 (gst_message_new_state_changed), (gst_message_new_segment_start),
17828 (gst_message_new_segment_done), (gst_message_new_custom):
17829 * gst/gstmessage.h:
17830 * tools/gst-launch.c: (event_loop):
17831 * tools/gst-md5sum.c: (event_loop):
17832 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17833 that applications can sensibly post custom messages with references
17834 to their own objects.
17836 2005-08-24 Andy Wingo <wingo@pobox.com>
17838 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17841 2005-08-24 Wim Taymans <wim@fluendo.com>
17843 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17844 (gst_base_transform_transform_caps),
17845 (gst_base_transform_transform_size),
17846 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17847 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17848 (gst_base_transform_handle_buffer):
17849 * gst/base/gstbasetransform.h:
17850 Many fixes and new features added by Thomas. Can now also do
17851 transforms with variable sizes and a custom fixate_caps function.
17853 2005-08-24 Wim Taymans <wim@fluendo.com>
17855 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17859 Cast to ClockTime before formatting to time.
17864 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17866 * check/gst-libs/controller.c: (GST_START_TEST),
17867 (gst_controller_suite):
17868 * docs/gst/tmpl/gstcaps.sgml:
17869 * docs/gst/tmpl/gstghostpad.sgml:
17870 * docs/gst/tmpl/gstquery.sgml:
17871 * docs/gst/tmpl/gstutils.sgml:
17872 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17873 (gst_object_sink_values), (gst_object_get_value_arrays),
17874 (gst_object_get_value_array):
17875 gracefully handle helper method calls to objects that are not beeing
17876 controlled, added test case for that
17878 2005-08-23 Wim Taymans <wim@fluendo.com>
17880 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17881 (gst_event_new_newsegment), (gst_event_parse_newsegment),
17882 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17883 (gst_event_parse_qos), (gst_event_new_seek),
17884 (gst_event_parse_seek):
17886 Some more debugging output and doc cleanups.
17888 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17889 Fix possible deadlock.
17891 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17893 * docs/gst/gstreamer-docs.sgml:
17894 * docs/gst/gstreamer-sections.txt:
17895 * docs/gst/gstreamer.types:
17896 * docs/gst/tmpl/.cvsignore:
17899 * gst/gstelement.c:
17901 added 100 symbols from gstreamer-unused.txt to the right sections
17902 fixed more broken comments
17903 added GstBus to docs
17905 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17907 * docs/gst/gstreamer-sections.txt:
17908 * docs/gst/tmpl/.cvsignore:
17909 * docs/gst/tmpl/gstbin.sgml:
17910 * docs/gst/tmpl/gstbuffer.sgml:
17911 * gst/base/gstbasesrc.c:
17912 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17915 * tools/gst-launch.1.in:
17916 inlined more doc comments, added missing comments and fixed comments
17919 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
17921 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17925 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17927 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17928 * gst/gststructure.h:
17929 add a fixate function for booleans; add a FIXME that these func
17930 names should probably be gst_structure_fixate_*
17932 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17934 * docs/gst/gstreamer-docs.sgml:
17935 * docs/gst/gstreamer-sections.txt:
17937 * gst/gstbin.c: (gst_bin_get_type),
17938 (gst_bin_child_proxy_get_child_by_index),
17939 (gst_bin_child_proxy_get_children_count),
17940 (gst_bin_child_proxy_init):
17941 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17942 (gst_child_proxy_get_child_by_index),
17943 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17944 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17945 (gst_child_proxy_get), (gst_child_proxy_set_property),
17946 (gst_child_proxy_set_valist), (gst_child_proxy_set),
17947 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17948 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17949 * gst/gstchildproxy.h:
17950 * gst/parse/grammar.y:
17951 * tools/gst-inspect.c: (print_interfaces),
17952 (print_element_properties_info), (print_element_info):
17953 ported gstchildproxy over from 0.8
17954 ported gst-inspect fixes and enhancements over from 0.8
17956 2005-08-22 Wim Taymans <wim@fluendo.com>
17958 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17959 (gst_base_transform_handle_buffer):
17960 Also call the transform function if we have ANY caps.
17962 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17965 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17967 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17968 Don't pretend to handle seek events if the source is not seekable
17970 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17972 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17973 Remove extra parameter to debug output
17975 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17976 (gst_base_src_do_seek), (gst_base_src_activate_push):
17977 Fix seek event handling.
17979 * gst/gstpipeline.c: (gst_pipeline_change_state):
17980 * gst/gstqueue.c: (gst_queue_handle_sink_event),
17981 (gst_queue_src_activate_push):
17982 Don't start the src pad task on FLUSH_STOP if the pad
17986 2005-08-22 Wim Taymans <wim@fluendo.com>
17988 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17989 Added check for gst_static_caps_get() refcounting.
17991 2005-08-22 Wim Taymans <wim@fluendo.com>
17993 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17994 Make _static_caps_get() refcounting sane.
17996 * gst/gstelement.c: (gst_element_set_state):
17997 Add g_return_val_if_fail() to protect against segfaults.
17999 2005-08-22 Stefan Kost <ensonic@users.sf.net>
18001 * docs/gst/tmpl/gstevent.sgml:
18004 inlined remaining docs, added missing doc comments
18006 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
18008 * check/gst/gstbin.c: (GST_START_TEST):
18009 since we don't know when preroll is done, use refcount range
18011 * gst/check/gstcheck.h:
18012 add macro for checking refcount range
18014 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
18016 * check/Makefile.am:
18017 clean up environment for when registry gets built versus
18018 when actual tests are run; valgrind seems to not report
18019 leaks if GST_PLUGIN_PATH is set to some specific values
18020 * check/gst/gstbin.c: (GST_START_TEST):
18021 add more refcounting checks; maybe this exposes a
18023 * common/check.mak:
18024 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18025 * gst/check/gstcheck.h:
18026 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
18027 (gst_bin_change_state):
18028 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
18029 add/fix debugging/whitespace
18031 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
18033 * check/gst/gstevent.c: (event_probe), (test_event),
18035 Er, don't call gst_bin_watch_for_state_change you idiot.
18037 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
18039 * check/Makefile.am:
18040 Use CHECK_CFLAGS and CHECK_LIBS
18041 * check/gst/gstevent.c: (event_probe), (test_event),
18044 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18045 (gst_base_src_start), (gst_base_src_stop),
18046 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18047 (gst_base_src_change_state):
18048 Sprinkle gst_base_src_stop liberally around error paths to fix
18049 problems reusing a source after failed state changes.
18050 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18051 (helper_find_suggest), (gst_type_find_helper):
18052 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
18054 * docs/gst/tmpl/gstevent.sgml:
18055 Migrate part of the docs from the SGML file. Wait for ensonic to
18056 tell me how I did it wrong ;)
18057 * tools/gst-typefind.c: (main):
18058 Extra robustness to state changes between files.
18060 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
18062 * check/Makefile.am:
18063 don't valgrind the controller test - it's leaking - Stefan, HELP
18064 * gst/check/gstcheck.c: (gst_check_message_error),
18065 (gst_check_chain_func), (gst_check_setup_element),
18066 (gst_check_teardown_element), (gst_check_setup_src_pad),
18067 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
18068 (gst_check_teardown_sink_pad):
18069 * gst/check/gstcheck.h:
18070 add a bunch of methods to set up elements, and src and sink pads
18071 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
18072 * check/elements/identity.c: (setup_identity), (cleanup_identity),
18075 * gst/gstmessage.c:
18077 whitespace/doc fixes
18079 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18081 * gst/gstelement.h:
18082 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
18083 be handled by the application and not always printed as well
18085 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18087 * check/Makefile.am:
18089 * gst/check/gstcheck.c: (gst_check_message_error):
18090 * gst/check/gstcheck.h:
18091 add a fail_unless_equals_int
18092 add fail_unless for error messages
18094 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18096 * check/Makefile.am:
18098 * common/Makefile.am:
18099 * common/check.mak:
18101 factor out some of the common stuff so we can use it
18103 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18105 * check/Makefile.am:
18106 * check/gst/gstiterator.c: (GST_START_TEST):
18107 * check/gst/gstsystemclock.c: (GST_START_TEST),
18108 (gst_systemclock_suite):
18109 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
18111 valgrind more tests
18113 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
18115 * check/elements/.cvsignore:
18116 * check/elements/gstfakesrc.c:
18117 rename to name of element
18118 * check/elements/identity.c: (chain_func), (event_func),
18119 (setup_identity), (cleanup_identity), (GST_START_TEST),
18120 (identity_suite), (main):
18121 add a test for identity
18122 * check/Makefile.am:
18123 * pkgconfig/Makefile.am:
18124 * pkgconfig/gstreamer-check.pc.in:
18125 * pkgconfig/gstreamer-check-uninstalled.pc.in:
18129 move the check stuff to a library that gets installed
18130 * check/gst-libs/controller.c: (GST_START_TEST):
18131 * check/gst-libs/gdp.c:
18132 * check/gst/gst.c: (GST_START_TEST):
18133 * check/gst/gstbin.c:
18134 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18135 * check/gst/gstbus.c:
18136 * check/gst/gstcaps.c: (GST_START_TEST):
18137 * check/gst/gstelement.c:
18138 * check/gst/gstghostpad.c:
18139 * check/gst/gstiterator.c:
18140 * check/gst/gstmessage.c:
18141 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
18142 * check/gst/gstobject.c:
18143 * check/gst/gstpad.c: (GST_START_TEST):
18144 * check/gst/gststructure.c: (GST_START_TEST):
18145 * check/gst/gstsystemclock.c: (GST_START_TEST),
18146 (gst_systemclock_suite):
18147 * check/gst/gsttag.c: (gst_tag_suite):
18148 * check/gst/gstvalue.c:
18149 * check/pipelines/cleanup.c:
18150 * check/pipelines/simple_launch_lines.c:
18151 * check/states/sinks.c:
18152 change include statement
18154 * docs/gst/gstreamer-sections.txt:
18155 * docs/gst/tmpl/gstpad.sgml:
18156 document more pad stuff
18157 * gst/gstminiobject.c: (gst_mini_object_ref),
18158 (gst_mini_object_unref):
18161 2005-08-19 Stefan Kost <ensonic@users.sf.net>
18163 * docs/gst/tmpl/gst.sgml:
18165 eliminate another tmpl file, fix spelling in the long-description
18167 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18169 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18170 (test_event), (timediff), (gstevents_suite):
18171 Should fix build on 64-bit arch's
18173 2005-08-18 Andy Wingo <wingo@pobox.com>
18175 Make sure that when a pipeline goes to PLAYING, that data has
18176 actually hit the sink.
18178 * check/states/sinks.c (test_sink): A sink that doesn't get any
18179 data shouldn't return SUCCESS for going to either PLAYING or
18180 PAUSED. Test also the return values on the way back down.
18182 * gst/gstelement.c (gst_element_set_state): When changing the
18183 state of an element currently changing state asynchronously, go to
18184 lost-state after commiting the pending state. Makes future calls
18185 to get_state continue to return ASYNC.
18187 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
18188 ASYNC when going to PLAYING if we still don't have preroll, as can
18189 happen with live sources.
18191 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18193 * docs/pwg/advanced-types.xml:
18194 Hack long paragraph into 2 chunks as a workaround for buggy
18195 jadetex version in sid and breezy that loops infinitely and
18198 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18200 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18201 (test_event), (timediff), (gstevents_suite):
18202 Provide more error margin in clock measurements to allow for
18203 g_get_current_time inaccuracies.
18205 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18207 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18208 (test_event), (timediff), (gstevents_suite):
18209 Fix error message output so I might be able to tell why the
18210 test works here but fails on the build farm.
18212 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18214 * check/Makefile.am:
18215 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18216 (test_event), (timediff), (gstevents_suite), (main):
18219 * docs/design/part-seeking.txt:
18220 Spelling correction
18222 * docs/gst/tmpl/gstevent.sgml:
18223 * docs/gst/tmpl/gstfakesrc.sgml:
18226 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18227 Treat a buffer-without-newsegment the same as a receiving
18228 a newsegment not in time format, and disable syncing to the clock
18231 * gst/gstbus.c: (gst_bus_set_sync_handler):
18232 Assert if anyone tries to replace the existing sync_handler for bus,
18233 as only the owner should be setting it.
18236 Have a fixed set of custom event enums with events identified by
18237 their structure name (as in 0.8), rather than a free-for-all
18238 allowing collisions between enum values from different plugins.
18240 * gst/gstpad.c: (gst_pad_class_init):
18243 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18244 Handle out-of-band downstream events from the sending thread.
18246 2005-08-17 Andy Wingo <wingo@pobox.com>
18248 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
18249 play-timeout==0 to mean no timeout at all. In that case, don't
18250 bother with a get_state or a warning, just return directly, even
18253 * gst/base/gstbasetransform.c: Debug changes.
18256 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
18257 ensure bins post state change messages. A bit of a hack but I can't
18258 think of a way to avoid it.
18260 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
18262 2005-08-16 Andy Wingo <wingo@pobox.com>
18264 * gst/base/gstadapter.h:
18265 * gst/base/gstadapter.c (gst_adapter_take): New function, like
18266 peek() but you own the data. Not terribly efficient atm.
18268 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18270 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
18271 (gst_element_found_tags):
18273 Add two utility functions for tag handling.
18275 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18277 * docs/manual/advanced-dataaccess.xml:
18278 * docs/manual/basics-helloworld.xml:
18279 Fix docs to use _bin_add() before _link(), which fixes the examples
18280 with recent core versions (reported by Madhan Raj M
18281 <raj_madan@rediffmail.com>, #313199).
18283 2005-08-16 Wim Taymans <wim@fluendo.com>
18285 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18286 Added subtract checks.
18288 * docs/design/part-events.txt:
18289 Some more docs about newsegment
18291 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
18294 * gst/gstcaps.c: (gst_caps_to_string):
18295 Add comments, cleanups.
18297 * gst/gstelement.c: (gst_element_save_thyself):
18300 * gst/gstvalue.c: (gst_value_collect_int_range),
18301 (gst_string_unwrap), (gst_value_union_int_int_range),
18302 (gst_value_union_int_range_int_range),
18303 (gst_value_intersect_int_int_range),
18304 (gst_value_intersect_int_range_int_range),
18305 (gst_value_intersect_double_double_range),
18306 (gst_value_intersect_double_range_double_range),
18307 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
18308 (gst_value_subtract_int_range_int),
18309 (gst_value_subtract_double_range_double),
18310 (gst_value_subtract_double_range_double_range),
18311 (gst_value_subtract_from_list), (gst_value_subtract_list),
18312 (gst_value_can_compare), (gst_value_compare_fraction):
18313 Cleanups, add comments, remove unneeded asserts.
18315 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
18317 * tools/gst-launch.c: (event_loop):
18318 don't convert NULL structures to strings
18320 2005-08-15 Stefan Kost <ensonic@users.sf.net>
18322 * docs/gst/gstreamer-sections.txt:
18323 made some defines private
18324 * docs/gst/tmpl/gstconfig.sgml:
18325 * docs/gst/tmpl/gstqueue.sgml:
18326 * docs/gst/tmpl/gsttaglist.sgml:
18327 * docs/gst/tmpl/gsttypes.sgml:
18328 * docs/gst/tmpl/gstutils.sgml:
18329 * docs/pwg/appendix-porting.xml:
18330 * gst/base/gstbasesink.h:
18331 * gst/base/gstbasesrc.c:
18332 * gst/base/gstbasesrc.h:
18333 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
18334 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
18335 * gst/gstelement.c: (gst_element_class_init):
18336 * gst/gstpad.c: (gst_pad_class_init):
18337 * gst/gstqueue.c: (gst_queue_class_init):
18338 * gst/gstxml.c: (gst_xml_class_init):
18339 documented all undocumented signal inline
18340 * libs/gst/controller/gst-controller.h:
18343 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18345 * docs/pwg/appendix-porting.xml:
18346 Document _set_link_function -> _set_setcaps_function.
18348 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
18350 * check/Makefile.am:
18351 add a .check target for running the check
18352 * check/gst-libs/controller.c: (GST_START_TEST):
18354 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18355 complete checks for gstbuffer; would be nice if I could get the
18356 gcov stuff to work so I can see if I actually completed gstbuffer.c
18357 * check/gstcheck.h:
18358 add ASSERT_BUFFER_REFCOUNT
18360 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
18362 * docs/gst/gstreamer-sections.txt:
18363 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
18365 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
18366 spew out a warning if a tag that is already registered
18367 is re-registered, unless it is re-registered with a
18368 different type (#308438).
18370 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
18372 * docs/pwg/appendix-porting.xml:
18373 * docs/pwg/building-state.xml:
18374 Add some paragraphs about state changes in 0.9 to the PWG
18375 and the porting guide, in particular about the new meaning
18376 of GST_STATE_PAUSED and how to write state change functions
18377 with concurrent access by multiple threads in mind.
18379 2005-08-11 Stefan Kost <ensonic@users.sf.net>
18381 * docs/gst/gstreamer-docs.sgml:
18382 * docs/libs/gstreamer-libs-docs.sgml:
18383 added deprecation and since indexes
18384 * libs/gst/controller/gst-controller.c:
18385 * libs/gst/controller/gst-helper.c:
18389 2005-08-11 Wim Taymans <wim@fluendo.com>
18391 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
18392 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
18393 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
18394 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
18395 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
18396 (gst_ghost_pad_set_target):
18397 Actually implement (re)setting the target on a ghostpad
18398 as described in the docs.
18400 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
18402 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
18403 Check whether GST_DEBUG_NO_COLOR environment variable is
18404 set and disable coloured debug output if that is the case.
18406 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
18408 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18409 (gst_type_find_helper):
18410 The memory returned by gst_type_find_peek() needs to
18411 stay valid until the end of a typefind function, and
18412 typefind functions may keep results from different
18413 offsets around, so we can't just unref the buffer from
18414 the previous _peek(), but have to save all buffers
18415 returned by _peek() until typefinding is done and only
18418 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
18420 * docs/gst/gstreamer-sections.txt:
18422 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
18424 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18426 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18427 Fix a pretty good memleak.
18429 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
18431 * gst/gstiterator.h:
18432 Fix wrong include and 'make distcheck'.
18434 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18436 * gst/gstbin.c: (bin_bus_handler):
18437 Use gst_element_post_message() instead.
18439 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
18441 * gst/base/gstadapter.h:
18442 * gst/base/gstbasesink.h:
18443 * gst/base/gstbasesrc.h:
18444 * gst/base/gstbasetransform.h:
18445 * gst/base/gstcollectpads.h:
18446 * gst/base/gstpushsrc.h:
18447 * gst/gstiterator.h:
18448 Add padding to our base elements' class and instance structs and
18449 to GstIterator (you will need to rebuild all plugins and apps!)
18451 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18453 * gst/gstbin.c: (bin_bus_handler):
18454 Make default message forwarding from child->bus to bin->bus
18455 threadsafe and make it not emit warnings if the parent has no bus.
18457 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18459 * gst/gstelement.c: (activate_pads):
18460 On paused->ready, set pad->caps to NULL, as is the documented
18461 behaviour in this state change. Fixes playback of series of
18462 media files when visualization is enabled in Totem.
18464 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18466 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18467 Allow NULL as filter-caps (which means "any").
18469 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18471 * docs/libs/gstreamer-libs-sections.txt:
18472 * libs/gst/controller/gst-controller.c:
18473 * libs/gst/controller/gst-controller.h:
18474 * libs/gst/controller/gst-helper.c:
18475 adding more entries to the docs and fix small doc-bugs
18477 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18479 * docs/gst/gstreamer-docs.sgml:
18480 * docs/gst/gstreamer-sections.txt:
18481 * docs/gst/gstreamer.types:
18482 * docs/gst/tmpl/gstbasesink.sgml:
18483 * docs/gst/tmpl/gstbasesrc.sgml:
18484 * docs/gst/tmpl/gstbasetransform.sgml:
18485 * docs/gst/tmpl/gstfakesrc.sgml:
18486 * gst/base/gstcollectpads.c:
18487 * gst/base/gstcollectpads.h:
18488 * libs/gst/controller/gst-controller.c:
18489 * libs/gst/controller/gst-controller.h:
18490 * libs/gst/controller/gst-helper.c:
18491 * libs/gst/controller/gst-interpolation.c:
18492 * libs/gst/controller/lib.c:
18493 added long/short desc for controller docs
18494 added collectpads base class docs
18495 added correct includes to base-class docs
18497 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18499 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18500 (gst_test_mono_source_set_property),
18501 (gst_test_mono_source_class_init), (GST_START_TEST),
18502 (gst_controller_suite):
18503 * docs/gst/gstreamer-docs.sgml:
18504 * docs/gst/gstreamer-sections.txt:
18505 * docs/gst/gstreamer.types:
18506 * docs/libs/gstreamer-libs-docs.sgml:
18507 * docs/libs/gstreamer-libs-sections.txt:
18508 * gst/base/gstadapter.c:
18509 * libs/gst/controller/gst-controller.c:
18510 (gst_controlled_property_new), (gst_controlled_property_free),
18511 (gst_controller_new_valist),
18512 (gst_controller_remove_properties_valist),
18513 (gst_controller_sink_values), (_gst_controller_finalize):
18514 * libs/gst/controller/gst-controller.h:
18515 * libs/gst/controller/gst-helper.c:
18516 (gst_object_control_properties), (gst_object_uncontrol_properties),
18517 (gst_object_get_controller), (gst_object_set_controller),
18518 (gst_object_sink_values), (gst_object_get_value_arrays),
18519 (gst_object_get_value_array):
18520 more tests (and fixes) for the controller
18521 more docs for the controller
18522 integrated companies docs for the adapter
18524 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
18526 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
18527 (GST_START_TEST), (fakesrc_suite):
18528 add tests for sizetype
18530 2005-08-04 Andy Wingo <wingo@pobox.com>
18532 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
18533 fixes buffer_alloc proxying among other things.
18535 * gst/base/gstbasetransform.c:
18536 * gst/base/gstbasetransform.h:
18537 Revert patch to gstbasetransform from 7-28 removing
18540 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
18541 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
18542 Semantics changed, should return not the size of the output buffer
18543 but the byte size of a buffer with a given caps.
18545 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
18547 (gst_base_transform_configure_caps): Don't set out_size here: (in,
18548 out) are not the pad caps until setcaps finishes.
18549 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
18550 not-in-place case as well. Deal with changing from in-place to
18551 not-in-place within calling pad_alloc_buffer. Still a bit
18552 concerned about the overhead here...
18554 2005-08-03 Andy Wingo <wingo@pobox.com>
18556 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
18557 fixating is an error.
18559 2005-08-04 Edward Hervey <edward@fluendo.com>
18561 * gst/base/gstadapter.h:
18562 Added gst_adapter_get_type() to the header
18564 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18566 * check/Makefile.am:
18567 * check/gst-libs/controller.c:
18568 * libs/gst/controller/gst-controller.c:
18569 (gst_controller_new_valist):
18570 added check test suite for the controller
18571 * gst/base/gstpushsrc.c:
18574 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18576 * docs/gst/Makefile.am:
18577 * docs/gst/gstreamer-docs.sgml:
18578 * docs/gst/gstreamer-sections.txt:
18579 * docs/gst/gstreamer.types:
18580 * docs/gst/tmpl/gstfakesrc.sgml:
18582 * gst/base/gstbasesink.c:
18583 * gst/base/gstbasesink.h:
18584 * gst/base/gstbasesrc.c:
18585 * gst/base/gstbasesrc.h:
18586 * gst/base/gstbasetransform.c:
18587 * gst/base/gstpushsrc.c:
18588 * gst/base/gstpushsrc.h:
18589 add short/long description docs to base classes
18590 add pushsrc to the docs
18591 remove consolidated doc fragments
18593 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18596 * docs/libs/Makefile.am:
18597 * docs/libs/gstreamer-libs-docs.sgml:
18598 * docs/libs/gstreamer-libs-sections.txt:
18599 * docs/libs/gstreamer-libs.types:
18600 * examples/Makefile.am:
18601 * examples/controller/.cvsignore:
18602 * examples/controller/Makefile.am:
18603 * examples/controller/audio-example.c: (main):
18604 * libs/gst/Makefile.am:
18605 * libs/gst/controller/.cvsignore:
18606 * libs/gst/controller/Makefile.am:
18607 * libs/gst/controller/gst-controller.c:
18608 (on_object_controlled_property_changed), (gst_timed_value_compare),
18609 (gst_timed_value_find),
18610 (gst_controlled_property_set_interpolation_mode),
18611 (gst_controlled_property_new), (gst_controlled_property_free),
18612 (gst_controller_find_controlled_property),
18613 (gst_controller_new_valist), (gst_controller_new),
18614 (gst_controller_remove_properties_valist),
18615 (gst_controller_remove_properties), (gst_controller_set),
18616 (gst_controller_set_from_list), (gst_controller_unset),
18617 (gst_controller_get), (gst_controller_get_all),
18618 (gst_controller_sink_values), (gst_controller_get_value_arrays),
18619 (gst_controller_get_value_array),
18620 (gst_controller_set_interpolation_mode),
18621 (_gst_controller_finalize), (_gst_controller_init),
18622 (_gst_controller_class_init), (gst_controller_get_type):
18623 * libs/gst/controller/gst-controller.h:
18624 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18625 (g_object_uncontrol_properties), (g_object_get_controller),
18626 (g_object_set_controller), (g_object_sink_values),
18627 (g_object_get_value_arrays), (g_object_get_value_array):
18628 * libs/gst/controller/gst-interpolation.c:
18629 (gst_controlled_property_find_timed_value_node),
18630 (interpolate_none_get), (interpolate_trigger_get),
18631 (interpolate_trigger_get_value_array):
18632 * libs/gst/controller/lib.c: (gst_controller_init):
18633 * pkgconfig/Makefile.am:
18634 * pkgconfig/gstreamer-control-uninstalled.pc.in:
18635 * pkgconfig/gstreamer-control.pc.in:
18636 * testsuite/Makefile.am:
18637 * testsuite/controller/.cvsignore:
18638 * testsuite/controller/Makefile.am:
18639 * testsuite/controller/interpolator.c: (main):
18640 added controller code
18641 removed dparam pc files
18643 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18644 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18645 (gst_collectpads_stop):
18646 Broadcast the condition when shutting down, to make sure we wake all
18647 threads up. Shut down pads on finalize, for safety.
18649 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18650 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18651 (gst_base_transform_handle_buffer),
18652 (gst_base_transform_change_state):
18653 Handle PAUSED->READY->PAUSED transition after negotiation
18655 * gst/gstmessage.c: (gst_message_init):
18656 Extra piece of debug for new messages.
18658 2005-08-01 Stefan Kost <ensonic@users.sf.net>
18661 * docs/gst/tmpl/gstbasesrc.sgml:
18662 * docs/gst/tmpl/gstelement.sgml:
18663 * docs/gst/tmpl/gstevent.sgml:
18664 * docs/gst/tmpl/gstfakesrc.sgml:
18665 * docs/gst/tmpl/gstformat.sgml:
18666 * docs/gst/tmpl/gstghostpad.sgml:
18667 * docs/gst/tmpl/gstpad.sgml:
18668 * docs/gst/tmpl/gstquery.sgml:
18669 * docs/gst/tmpl/gststructure.sgml:
18670 * docs/gst/tmpl/gsttaglist.sgml:
18671 * docs/gst/tmpl/gstvalue.sgml:
18672 * docs/libs/gstreamer-libs-docs.sgml:
18673 * docs/libs/gstreamer-libs-sections.txt:
18674 * docs/libs/gstreamer-libs.types:
18675 * libs/gst/Makefile.am:
18676 * libs/gst/control/.cvsignore:
18677 * libs/gst/control/Makefile.am:
18678 * libs/gst/control/control.c:
18679 * libs/gst/control/control.h:
18680 * libs/gst/control/dparam.c:
18681 * libs/gst/control/dparam.h:
18682 * libs/gst/control/dparam_smooth.c:
18683 * libs/gst/control/dparam_smooth.h:
18684 * libs/gst/control/dparamcommon.h:
18685 * libs/gst/control/dparammanager.c:
18686 * libs/gst/control/dparammanager.h:
18687 * libs/gst/control/dplinearinterp.c:
18688 * libs/gst/control/dplinearinterp.h:
18689 * libs/gst/control/unitconvert.c:
18690 * libs/gst/control/unitconvert.h:
18691 * testsuite/Makefile.am:
18692 * testsuite/dynparams/.cvsignore:
18693 * testsuite/dynparams/Makefile.am:
18694 * testsuite/dynparams/dparamstest.c:
18695 * tools/Makefile.am:
18696 * tools/gst-inspect.c: (print_element_info), (main):
18697 * tools/gst-xmlinspect.c: (print_element_info), (main):
18698 deactivate and remove dparams (libgstcontrol)
18700 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18702 * gst/elements/gsttypefindelement.c:
18703 (gst_type_find_element_have_type), (gst_type_find_element_init),
18704 (stop_typefinding), (gst_type_find_element_handle_event),
18705 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18706 * gst/elements/gsttypefindelement.h:
18707 Set caps on all outgoing buffers, not just the first one.
18709 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18711 * gst/elements/gsttypefindelement.c:
18712 (gst_type_find_element_have_type),
18713 (gst_type_find_element_check_set_buffer_caps),
18714 (gst_type_find_element_init), (stop_typefinding),
18715 (gst_type_find_element_handle_event),
18716 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18717 * gst/elements/gsttypefindelement.h:
18718 Set caps on first outgoing buffer when we've found the type.
18720 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18722 * docs/gst/gstreamer-docs.sgml:
18723 * docs/gst/gstreamer-sections.txt:
18724 * docs/gst/tmpl/gstscheduler.sgml:
18725 * docs/gst/tmpl/gstschedulerfactory.sgml:
18726 Remove some old cruft from docs.
18728 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
18731 Fix inline docs for GstPadLinkReturn.
18733 * gst/gststructure.c: (gst_structure_has_name):
18734 * gst/gststructure.h:
18735 * docs/gst/gstreamer-sections.txt:
18736 New API: gst_structure_has_name().
18738 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
18741 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18742 and _LARGEFILE_SOURCE in config.h as required. Do not
18743 export those flags in our .pc files any longer (#142209).
18745 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18747 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18748 (gst_file_sink_do_seek), (gst_file_sink_event),
18749 (gst_file_sink_get_current_offset), (gst_file_sink_render):
18750 Redo seek/tell calls with large file support in mind; add some
18751 debugging messages; add log message that tells us when large
18752 file support is unavailable or not enabled for some reason.
18754 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18755 Add log message that tells us when large file support
18756 is unavailable or not enabled for some reason.
18758 2005-07-29 Wim Taymans <wim@fluendo.com>
18760 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18761 Added test for removing an element with ghostpad from a bin.
18762 Fixed test as current implementation does the right thing.
18764 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18765 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18766 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18767 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18768 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18769 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18770 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18771 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18772 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18773 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18774 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18775 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18776 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18777 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18778 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18779 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18780 * gst/gstghostpad.h:
18781 Clean up ghostpads, remove properties for internal stuff.
18784 Prepare for switching targets, not all use cases work yet.
18786 2005-07-29 Wim Taymans <wim@fluendo.com>
18788 * docs/design/part-gstghostpad.txt:
18791 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18792 (gst_bin_remove_func):
18793 Unlinking pads while holding the bin LOCK is not a good
18796 * gst/gstpad.c: (gst_pad_class_init),
18797 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18798 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18799 No prob setting template after creating the pad.
18801 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
18803 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18804 (gst_bus_peek), (gst_bus_source_dispatch),
18805 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18806 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18807 gst_bus_poll may be called from other threads. Handle
18808 this nicely by not making poll_data disappear off the
18809 stack once gst_bus_poll returns.
18810 gst_bus_peek now increments the refcount on the returned
18813 2005-07-29 Wim Taymans <wim@fluendo.com>
18815 * docs/design/part-gstghostpad.txt:
18816 Overview of current GhostPad datastructures and use
18817 cases for changing the target.
18819 2005-07-28 Wim Taymans <wim@fluendo.com>
18821 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18822 Added checks for hierarchy consistency whan adding linked
18825 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18826 Added check to test element scheduling without bin/pipeline.
18828 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18829 First add elements to bin, then link.
18831 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18832 (gst_bin_remove_func):
18833 Unlink pads from elements added/removed from bin to maintain
18834 hierarchy consistency.
18836 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18838 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18839 (gst_base_transform_handle_buffer):
18840 * gst/base/gstbasetransform.h:
18841 Remove broken delay_configure (fixes renegotiation of software
18842 scaling pipelines); remove some leftover printf()s.
18844 2005-07-28 Wim Taymans <wim@fluendo.com>
18846 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18847 Added some more tests for wrong hierarchy
18849 * docs/design/part-overview.txt:
18852 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18855 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18856 (gst_element_dispose):
18857 Some more cleanups.
18859 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18860 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18861 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18862 (gst_pad_set_caps), (gst_pad_send_event):
18863 Check for correct hierarchy when linking pads. Moving to
18864 strict requirement for ghostpads when linking elements in
18868 Clean ups. Added WRONG_HIERARCHY return value.
18870 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18872 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18873 Better debug if no transform is possible.
18875 2005-07-27 Wim Taymans <wim@fluendo.com>
18877 * docs/random/wtay/network-transp:
18878 Some old doc I had.
18880 2005-07-27 Wim Taymans <wim@fluendo.com>
18882 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18883 (gst_dp_event_from_packet):
18884 Fix serialization of seek events.
18886 2005-07-27 Wim Taymans <wim@fluendo.com>
18888 * check/gst-libs/gdp.c: (GST_START_TEST):
18889 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18890 Fix compilation and fix event serialization.
18892 2005-07-27 Wim Taymans <wim@fluendo.com>
18895 * docs/design/part-TODO.txt:
18896 * docs/design/part-events.txt:
18899 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18900 (gst_base_sink_event), (gst_base_sink_do_sync),
18901 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18902 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18903 (gst_base_src_do_seek), (gst_base_src_event_handler),
18904 (gst_base_src_loop):
18905 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18906 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18907 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18908 (gst_base_transform_event), (gst_base_transform_handle_buffer),
18909 (gst_base_transform_set_passthrough),
18910 (gst_base_transform_is_passthrough):
18911 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18912 * gst/elements/gstfilesink.c: (gst_file_sink_event):
18918 * gst/gstelement.c: (gst_element_seek):
18919 * gst/gstelement.h:
18920 Update gst_element_seek.
18922 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18923 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18924 (gst_event_new_flush_start), (gst_event_new_flush_stop),
18925 (gst_event_new_eos), (gst_event_new_newsegment),
18926 (gst_event_parse_newsegment), (gst_event_new_tag),
18927 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18928 (gst_event_parse_qos), (gst_event_new_seek),
18929 (gst_event_parse_seek), (gst_event_new_navigation):
18931 Make GstEvent use GstStructure. Add parsing code, make sure the
18932 API is sufficiently generic.
18933 Mark possible directions of events and serialization.
18935 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18936 (_gst_message_copy), (gst_message_new_segment_start),
18937 (gst_message_new_segment_done), (gst_message_new_custom),
18938 (gst_message_parse_segment_start),
18939 (gst_message_parse_segment_done):
18942 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18943 (gst_pad_set_caps), (gst_pad_send_event):
18944 Update for new events.
18945 Catch events sent in wrong directions.
18947 * gst/gstqueue.c: (gst_queue_link_src),
18948 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18949 (gst_queue_handle_src_query):
18954 Remove event code from this file.
18956 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18957 (gst_dp_event_from_packet):
18960 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18962 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18963 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18964 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18965 Make debugging actually useful.
18967 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18969 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18970 (gst_pad_fixate_caps):
18971 Implement default fixation once again, so that gst_pad_fixate()
18972 actually does anything at all. This probably needs to be some
18973 sort of a last resort, and use profile-based fixation first, but
18974 since that doesn't exist yet, this is the best we have. Fixes
18975 visualization in Totem.
18977 2005-07-22 Wim Taymans <wim@fluendo.com>
18979 * docs/design/part-events.txt:
18982 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18983 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18984 (gst_base_sink_activate_pull):
18985 Some more comments.
18987 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18988 (gst_fake_src_create):
18989 Fix handoff marshall.
18991 * gst/elements/gstidentity.c: (gst_identity_class_init),
18992 (gst_identity_transform_ip):
18993 We're a real inplace element.
18995 * gst/gstbus.c: (gst_bus_post):
18996 Added some comments.
18998 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18999 * tests/muxing/case1.c: (main):
19000 * tests/sched/dynamic-pipeline.c: (main):
19001 * tests/sched/interrupt1.c: (main):
19002 * tests/sched/interrupt2.c: (main):
19003 * tests/sched/interrupt3.c: (main):
19004 * tests/sched/runxml.c: (main):
19005 * tests/sched/sched-stress.c: (main):
19006 * tests/seeking/seeking1.c: (event_received), (main):
19007 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
19009 * tests/threadstate/threadstate3.c: (main):
19010 * tests/threadstate/threadstate4.c: (main):
19011 * tests/threadstate/threadstate5.c: (main):
19014 2005-07-21 Wim Taymans <wim@fluendo.com>
19016 * docs/design/part-seeking.txt:
19017 Some small additions.
19019 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19020 (gst_base_sink_get_times), (gst_base_sink_do_sync),
19021 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
19022 * gst/base/gstbasesink.h:
19023 discont values are gint64, handle the math correctly.
19025 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19026 Make the basesrc report error if the source pad is not linked.
19028 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
19029 (gst_queue_loop), (gst_queue_handle_src_query),
19030 (gst_queue_src_activate_push):
19031 Make queue collect data even if the srcpad is not linked.
19032 Start pushing out data as soon as it is linked.
19034 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
19036 Added gst_flow_get_name() to ease error reporting.
19038 2005-07-20 Wim Taymans <wim@fluendo.com>
19040 * gst/gstmessage.c: (gst_message_new_segment_start),
19041 (gst_message_new_segment_done), (gst_message_parse_segment_start),
19042 (gst_message_parse_segment_done):
19043 * gst/gstmessage.h:
19044 Added a bunch of messages for advanced seeking.
19046 * gst/parse/grammar.y:
19047 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
19048 (gst_dpman_state_changed):
19049 Fix some new-pad -> pad-added signals
19051 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19053 * docs/manual/appendix-porting.xml:
19054 * docs/pwg/appendix-porting.xml:
19055 Document new-pad/state-change signal renames and the FixedList
19058 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19060 * docs/manual/advanced-autoplugging.xml:
19061 * docs/manual/basics-helloworld.xml:
19062 * docs/manual/basics-pads.xml:
19063 * docs/random/ds/0.9-suggested-changes:
19064 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
19065 * gst/gstelement.h:
19069 * gst/gststructure.c: (gst_structure_value_get_generic_type),
19070 (gst_structure_parse_array), (gst_structure_parse_value):
19071 * gst/gstvalue.c: (gst_type_is_fixed),
19072 (gst_value_list_prepend_value), (gst_value_list_append_value),
19073 (gst_value_list_get_size), (gst_value_list_get_value),
19074 (gst_value_transform_array_string), (gst_value_serialize_array),
19075 (gst_value_deserialize_array), (gst_value_intersect_array),
19076 (gst_value_is_fixed), (_gst_value_initialize):
19078 GstElement::new-pad -> pad-added, GstElement::state-change ->
19079 state-changed, GstValueFixedList -> GstValueArray, add format and
19080 flags as their own arguments in gst_element_seek() (should improve
19081 "bindeability"), remove function generators since they don't work
19082 under a whole bunch of compilers (they were deprecated already
19085 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19087 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19088 (_gst_debug_register_funcptr):
19090 Fix illegal cast on some platforms (#309253).
19092 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19094 * gst/gstmessage.c: (gst_message_new_custom):
19095 * gst/gstmessage.h:
19096 Add _new_custom, make _new_application a macro to _new_custom.
19098 2005-07-20 Wim Taymans <wim@fluendo.com>
19100 * gst/base/gstbasesrc.c: (gst_base_src_init),
19101 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
19102 * gst/base/gstbasesrc.h:
19103 Add a gboolean to decide when to push out a discont.
19105 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19106 (gst_queue_loop), (gst_queue_handle_src_query),
19107 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
19108 (gst_queue_set_property), (gst_queue_get_property):
19111 * tests/threadstate/threadstate1.c: (main):
19112 Make a thread test compile and run... very silly..
19115 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19117 * docs/manual/appendix-porting.xml:
19118 Mention removal of libgstgconf-0.9.la and existence of gconf
19121 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19123 * docs/pwg/advanced-clock.xml:
19124 * docs/pwg/appendix-porting.xml:
19125 * docs/pwg/intro-preface.xml:
19126 * docs/pwg/other-base.xml:
19127 * docs/pwg/other-manager.xml:
19128 * docs/pwg/other-nton.xml:
19129 * docs/pwg/other-ntoone.xml:
19130 * docs/pwg/other-oneton.xml:
19131 * docs/pwg/pwg.xml:
19132 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
19133 demuxer), remove n-to-n (was never written), fix some code examples
19134 and links and update the porting section to include all this.
19136 2005-07-19 Wim Taymans <wim@fluendo.com>
19138 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
19139 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
19140 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
19141 (gst_queue_src_activate_push), (gst_queue_change_state),
19142 (gst_queue_get_property):
19144 Propagate GstFlowReturn more intelligently upstream and output
19145 an ERROR/EOS when streaming stopped due to fatal error.
19147 2005-07-19 Wim Taymans <wim@fluendo.com>
19149 * tools/gst-launch.c: (check_intr), (event_loop), (main):
19150 Don't block forever for the state change to complete, the
19151 pipeline already did with a sensible timeout.
19153 2005-07-19 Wim Taymans <wim@fluendo.com>
19155 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19156 Make sure we never call the create function is we
19159 2005-07-19 Andy Wingo <wingo@pobox.com>
19161 * gst/parse/parse.l: Attempt to solve bug #172815.
19163 2005-07-19 Wim Taymans <wim@fluendo.com>
19165 * docs/design/part-clocks.txt:
19166 * docs/design/part-events.txt:
19167 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
19168 Small docs updates.
19169 Only update the seeking values when we are not
19172 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
19174 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19175 Oops, ignore the result of gst_pad_push_event here.
19177 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
19179 * gst/base/gstbasesrc.c: (gst_base_src_loop),
19180 (gst_base_src_activate_push):
19181 Send discont event from the loop function, as pads
19182 aren't activated yet in the activate_push handler.
19184 * gst/gstbin.c: (bin_bus_handler):
19185 Don't leak element name.
19187 2005-07-18 Andy Wingo <wingo@pobox.com>
19189 * configure.ac: Use AS_LIBTOOL_TAGS.
19191 2005-07-18 Wim Taymans <wim@fluendo.com>
19193 * docs/gst/gstreamer.types:
19194 Remove deleted types.
19196 2005-07-18 Wim Taymans <wim@fluendo.com>
19198 * check/elements/gstfakesrc.c: (GST_START_TEST):
19201 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
19202 (init_popt_callback):
19204 * gst/gst_private.h:
19205 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
19206 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
19209 * gst/gstconfig.h.in:
19210 * gst/gstelement.c: (gst_element_class_init),
19211 (gst_element_set_base_time), (gst_element_get_base_time),
19212 (iterator_fold_with_resync), (gst_element_change_state),
19213 (gst_element_dispose), (gst_element_get_bus):
19214 * gst/gstelement.h:
19215 * gst/gstelementfactory.h:
19216 * gst/gsterror.c: (_gst_core_errors_init):
19219 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19221 * gst/gstinfo.c: (_gst_debug_init):
19222 * gst/gstmessage.c: (_gst_message_copy):
19223 * gst/gstmessage.h:
19224 * gst/gstminiobject.h:
19227 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19228 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
19231 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19232 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19233 (gst_pipeline_get_last_stream_time):
19234 * gst/gstpipeline.h:
19235 * gst/gstpluginfeature.h:
19237 * gst/gstscheduler.c:
19238 * gst/gstscheduler.h:
19239 * gst/gststructure.h:
19240 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19241 (gst_task_finalize), (gst_task_func), (gst_task_create),
19242 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
19243 (gst_task_stop), (gst_task_pause):
19245 * gst/gsttypefind.h:
19247 * gst/registries/gstlibxmlregistry.c: (load_feature),
19248 (gst_xml_registry_load), (gst_xml_registry_save_feature):
19249 * gst/registries/gstxmlregistry.c:
19250 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
19251 * gst/schedulers/threadscheduler.c:
19252 * libs/gst/control/dparammanager.h:
19253 * tools/gst-inspect.c: (print_element_list),
19254 (print_plugin_features), (print_element_features):
19255 * tools/gst-xmlinspect.c: (print_element_list),
19256 (print_plugin_info), (main):
19257 Removed plugable schedulers.
19258 Removed Scheduler/Manager from elements.
19259 Removed gsttypes.h, rearranged includes.
19260 Removed dependency pad<->element, element<>pipeline, and
19261 various others, fix includes.
19262 implement gst_pad_get_parent() with gst_object_get_parent()
19263 Make GstTask sefcontained.
19264 Fix _get_state() on GstBin, it did not return ASYNC with a 0
19266 Fix endless loop in iterator_fold_with_resync.
19269 2005-07-18 Wim Taymans <wim@fluendo.com>
19275 2005-07-18 Wim Taymans <wim@fluendo.com>
19278 No more cothreads.h
19280 2005-07-18 Wim Taymans <wim@fluendo.com>
19284 Let's remove these.
19286 2005-07-18 Wim Taymans <wim@fluendo.com>
19288 * docs/design/part-dynamic.txt:
19289 * docs/design/part-events.txt:
19290 * docs/design/part-seeking.txt:
19291 Some more docs in the works.
19293 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19294 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
19295 (gst_base_transform_setcaps), (gst_base_transform_get_size),
19296 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19297 (gst_base_transform_handle_buffer),
19298 (gst_base_transform_sink_activate_push),
19299 (gst_base_transform_src_activate_pull),
19300 (gst_base_transform_set_passthrough),
19301 (gst_base_transform_is_passthrough):
19304 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
19307 * gst/gstevent.c: (gst_event_finalize):
19310 * gst/gstutils.c: (gst_element_unlink),
19311 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
19312 (gst_pad_proxy_setcaps):
19314 Add _get_parent_element() to get a pads parent as an element.
19316 2005-07-18 Wim Taymans <wim@fluendo.com>
19318 * check/gst/gstbin.c: (GST_START_TEST):
19321 2005-07-18 Wim Taymans <wim@fluendo.com>
19323 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19324 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19325 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19326 (gst_base_sink_event), (gst_base_sink_do_sync),
19327 (gst_base_sink_chain), (gst_base_sink_loop),
19328 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
19329 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19331 Fix logic for returning ASYNC when not prerolled.
19333 2005-07-18 Wim Taymans <wim@fluendo.com>
19335 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19336 Fix nasty refcount bug.
19338 2005-07-16 Philippe Khalaf <burger@speedy.org>
19340 * gst/elements/gstfdsrc.c:
19341 * gst/elements/gstfdsrc.h:
19342 * gst/elements/gstelements.c:
19343 * gst/elements/Makefile.am:
19344 Ported fdsrc to 0.9.
19346 2005-07-16 Wim Taymans <wim@fluendo.com>
19348 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19349 (gst_base_sink_do_sync):
19352 2005-07-16 Wim Taymans <wim@fluendo.com>
19354 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19355 (gst_base_sink_event), (gst_base_sink_get_times),
19356 (gst_base_sink_do_sync), (gst_base_sink_change_state):
19357 * gst/base/gstbasesink.h:
19358 Store and use discont values when syncing buffers as described
19361 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19362 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
19363 (gst_base_src_activate_push):
19364 Push discont event when starting.
19366 * gst/elements/gstidentity.c: (gst_identity_transform):
19369 * gst/gstbin.c: (gst_bin_change_state):
19370 Small cleanups in base_time distribution.
19372 * gst/gstelement.c: (gst_element_set_base_time),
19373 (gst_element_get_base_time), (gst_element_change_state):
19374 * gst/gstelement.h:
19375 Added methods for the base_time of the element.
19378 * gst/gstpipeline.c: (gst_pipeline_send_event),
19379 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19380 (gst_pipeline_get_last_stream_time):
19381 * gst/gstpipeline.h:
19383 Handle seeking as described in design doc, remove stream_time
19385 Cleanups clock and stream_time selection code. Added accessors
19386 for the stream_time.
19389 2005-07-16 Andy Wingo <wingo@pobox.com>
19391 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
19394 2005-07-16 Wim Taymans <wim@fluendo.com>
19396 * check/gst/gstbin.c: (GST_START_TEST):
19397 Make elements silent as the deep_notify refs the
19398 parent, which might make the test fail.
19400 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19401 Don't hold the lock for too long.
19403 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
19405 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19406 Don't unref the caps we passed to gst_caps_make_writable() after
19407 passing them. gst_caps_make_writable() will do that for us.
19409 2005-07-15 Andy Wingo <wingo@pobox.com>
19411 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
19414 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
19415 own marshalling function for the handoff signal. Properly type the
19416 buffer as a buffer. Fixes some warnings. Should do a more general
19418 (gst_identity_class_init): Plug into the right marshaller.
19420 2005-07-15 Wim Taymans <wim@fluendo.com>
19422 * docs/design/part-TODO.txt:
19423 * docs/design/part-clocks.txt:
19424 * docs/design/part-element-sink.txt:
19425 * docs/design/part-events.txt:
19426 * docs/design/part-gstpipeline.txt:
19427 Updated docs, mostly DISCONT related.
19429 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
19431 * docs/pwg/building-pads.xml:
19432 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
19434 2005-07-15 Andy Wingo <wingo@pobox.com>
19436 * tools/gst-typefind.c: Update, add copyright block.
19438 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
19439 Normalize and truncate caps before fixation.
19442 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
19443 discards all but the first structure from its argument.
19445 2005-07-15 Wim Taymans <wim@fluendo.com>
19447 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19448 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
19449 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19450 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19451 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
19452 (gst_base_transform_chain), (gst_base_transform_change_state),
19453 (gst_base_transform_set_passthrough),
19454 (gst_base_transform_is_passthrough):
19455 * gst/base/gstbasetransform.h:
19456 Make passthrough work using the bufferpools.
19457 Changed API a bit, subclasses have to write into a buffer
19458 provided by the base class.
19459 More debug info in nego functions.
19461 * gst/elements/gstidentity.c: (gst_identity_init),
19462 (gst_identity_transform):
19463 Port to new base class.
19465 2005-07-15 Wim Taymans <wim@fluendo.com>
19467 * gst/gstmessage.c: (gst_message_new_state_changed):
19468 * tools/gst-launch.c: (event_loop), (main):
19469 Totally dump messages in -launch with the -m option.
19470 Fix message name for State messages,
19472 2005-07-14 Wim Taymans <wim@fluendo.com>
19474 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19475 Post error messages on errors.
19477 2005-07-14 Wim Taymans <wim@fluendo.com>
19479 * gst/gstcaps.c: (gst_caps_do_simplify):
19483 Define error for stream stopped.
19485 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19486 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
19487 Do proper return values.
19489 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19490 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
19491 (gst_pad_get_range):
19492 Better return values.
19495 Reorganise return values, add macro to check for fatal errors.
19497 * gst/gstqueue.c: (gst_queue_chain):
19498 Return proper GstFlowReturn values,
19500 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
19502 * docs/gst/gstreamer-sections.txt:
19503 * docs/gst/gstreamer.types:
19504 * docs/gst/tmpl/gst.sgml:
19505 * docs/gst/tmpl/gstbasesink.sgml:
19506 * docs/gst/tmpl/gstbasesrc.sgml:
19507 * docs/gst/tmpl/gstbasetransform.sgml:
19508 * docs/gst/tmpl/gstbin.sgml:
19509 * docs/gst/tmpl/gstbuffer.sgml:
19510 * docs/gst/tmpl/gstcaps.sgml:
19511 * docs/gst/tmpl/gstclock.sgml:
19512 * docs/gst/tmpl/gstcompat.sgml:
19513 * docs/gst/tmpl/gstconfig.sgml:
19514 * docs/gst/tmpl/gstelement.sgml:
19515 * docs/gst/tmpl/gstelementdetails.sgml:
19516 * docs/gst/tmpl/gstelementfactory.sgml:
19517 * docs/gst/tmpl/gstenumtypes.sgml:
19518 * docs/gst/tmpl/gsterror.sgml:
19519 * docs/gst/tmpl/gstevent.sgml:
19520 * docs/gst/tmpl/gstfakesink.sgml:
19521 * docs/gst/tmpl/gstfakesrc.sgml:
19522 * docs/gst/tmpl/gstfilesink.sgml:
19523 * docs/gst/tmpl/gstfilesrc.sgml:
19524 * docs/gst/tmpl/gstfilter.sgml:
19525 * docs/gst/tmpl/gstformat.sgml:
19526 * docs/gst/tmpl/gstghostpad.sgml:
19527 * docs/gst/tmpl/gstimplementsinterface.sgml:
19528 * docs/gst/tmpl/gstindex.sgml:
19529 * docs/gst/tmpl/gstindexfactory.sgml:
19530 * docs/gst/tmpl/gstinfo.sgml:
19531 * docs/gst/tmpl/gstiterator.sgml:
19532 * docs/gst/tmpl/gstmacros.sgml:
19533 * docs/gst/tmpl/gstmemchunk.sgml:
19534 * docs/gst/tmpl/gstminiobject.sgml:
19535 * docs/gst/tmpl/gstobject.sgml:
19536 * docs/gst/tmpl/gstpad.sgml:
19537 * docs/gst/tmpl/gstpadtemplate.sgml:
19538 * docs/gst/tmpl/gstparse.sgml:
19539 * docs/gst/tmpl/gstpipeline.sgml:
19540 * docs/gst/tmpl/gstplugin.sgml:
19541 * docs/gst/tmpl/gstpluginfeature.sgml:
19542 * docs/gst/tmpl/gstquery.sgml:
19543 * docs/gst/tmpl/gstqueue.sgml:
19544 * docs/gst/tmpl/gstregistry.sgml:
19545 * docs/gst/tmpl/gstregistrypool.sgml:
19546 * docs/gst/tmpl/gstscheduler.sgml:
19547 * docs/gst/tmpl/gstschedulerfactory.sgml:
19548 * docs/gst/tmpl/gststructure.sgml:
19549 * docs/gst/tmpl/gstsystemclock.sgml:
19550 * docs/gst/tmpl/gsttaglist.sgml:
19551 * docs/gst/tmpl/gsttagsetter.sgml:
19552 * docs/gst/tmpl/gsttrace.sgml:
19553 * docs/gst/tmpl/gsttrashstack.sgml:
19554 * docs/gst/tmpl/gsttypefind.sgml:
19555 * docs/gst/tmpl/gsttypefindfactory.sgml:
19556 * docs/gst/tmpl/gsttypes.sgml:
19557 * docs/gst/tmpl/gsturihandler.sgml:
19558 * docs/gst/tmpl/gsturitype.sgml:
19559 * docs/gst/tmpl/gstutils.sgml:
19560 * docs/gst/tmpl/gstvalue.sgml:
19561 * docs/gst/tmpl/gstversion.sgml:
19562 * docs/gst/tmpl/gstxml.sgml:
19563 * docs/libs/tmpl/gstcontrol.sgml:
19564 * docs/libs/tmpl/gstdataprotocol.sgml:
19565 * docs/libs/tmpl/gstdparam.sgml:
19566 * docs/libs/tmpl/gstdplinint.sgml:
19567 * docs/libs/tmpl/gstdpman.sgml:
19568 * docs/libs/tmpl/gstdpsmooth.sgml:
19569 * docs/libs/tmpl/gstgetbits.sgml:
19570 * docs/libs/tmpl/gstunitconvert.sgml:
19571 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
19572 (gst_push_src_base_init), (gst_push_src_class_init),
19573 (gst_push_src_init), (gst_push_src_create):
19574 * gst/base/gstpushsrc.h:
19575 * gst/elements/gstelements.c:
19576 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
19577 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
19578 (gst_fake_sink_init), (gst_fake_sink_set_property),
19579 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
19580 (gst_fake_sink_event), (gst_fake_sink_preroll),
19581 (gst_fake_sink_render), (gst_fake_sink_change_state):
19582 * gst/elements/gstfakesink.h:
19583 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19584 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19585 (gst_fake_src_base_init), (gst_fake_src_class_init),
19586 (gst_fake_src_init), (gst_fake_src_event_handler),
19587 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
19588 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
19589 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
19590 (gst_fake_src_create_buffer), (gst_fake_src_create),
19591 (gst_fake_src_start), (gst_fake_src_stop):
19592 * gst/elements/gstfakesrc.h:
19593 * gst/elements/gstfilesink.c: (_do_init),
19594 (gst_file_sink_base_init), (gst_file_sink_class_init),
19595 (gst_file_sink_init), (gst_file_sink_dispose),
19596 (gst_file_sink_set_location), (gst_file_sink_set_property),
19597 (gst_file_sink_get_property), (gst_file_sink_open_file),
19598 (gst_file_sink_close_file), (gst_file_sink_query),
19599 (gst_file_sink_event), (gst_file_sink_render),
19600 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
19601 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
19602 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
19603 * gst/elements/gstfilesink.h:
19604 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
19605 (gst_file_src_class_init), (gst_file_src_init),
19606 (gst_file_src_finalize), (gst_file_src_set_location),
19607 (gst_file_src_set_property), (gst_file_src_get_property),
19608 (gst_file_src_map_region), (gst_file_src_map_small_region),
19609 (gst_file_src_create_mmap), (gst_file_src_create_read),
19610 (gst_file_src_create), (gst_file_src_is_seekable),
19611 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
19612 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
19613 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
19614 (gst_file_src_uri_handler_init):
19615 * gst/elements/gstfilesrc.h:
19616 more autistic cleanliness in functions/names/defines
19618 2005-07-13 Andy Wingo <wingo@pobox.com>
19620 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19621 source couldn't negotiate.
19623 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19627 * gst/gstutils.c (gst_element_link_pads_filtered): New old
19628 function. I am channeling Hades. Put your boots on suckers!!!
19630 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
19632 * testsuite/caps/Makefile.am:
19633 * testsuite/caps/value_compare.c:
19634 * testsuite/caps/value_intersect.c:
19635 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19636 move two testsuite apps over to the check dir
19638 2005-07-12 Wim Taymans <wim@fluendo.com>
19640 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19641 Added more debug info in the negotiate process.
19643 * gst/gstmessage.h:
19644 Prepare for segment playback.
19646 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19652 * tools/gst-launch.c: (main):
19653 NULL pipeline on errors.
19655 2005-07-12 Andy Wingo <wingo@pobox.com>
19657 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19658 not it comes from a malloc region. Make sure our copy gets freed.
19660 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19662 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19663 * check/gst/gstmessage.c: (GST_START_TEST):
19664 * check/gst/gststructure.c: (GST_START_TEST),
19665 (gst_structure_suite), (main):
19667 * gst/gstelement.c: (gst_element_message_full):
19668 clean up GError and debug string now that they get copied
19669 * gst/gstmessage.c: (gst_message_new_error),
19670 (gst_message_new_warning), (gst_message_parse_error),
19671 (gst_message_parse_warning):
19672 use GST_TYPE_G_ERROR for structure_new, and take copies of
19673 arguments, so that we don't mess up refcounting
19675 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19677 * check/Makefile.am:
19678 add per-test valgrind targets
19679 * check/gst-libs/gdp.c: (GST_START_TEST),
19680 (gst_data_protocol_suite), (main):
19683 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19685 * check/Makefile.am:
19686 instate more valgrindable tests
19687 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19688 (GST_START_TEST), (fakesrc_suite):
19689 * check/gst/gstpad.c: (GST_START_TEST):
19690 * check/gst/gststructure.c: (GST_START_TEST):
19692 * docs/gst/tmpl/gstminiobject.sgml:
19693 * gst/gstpad.c: (gst_pad_finalize):
19694 fix the static mutex leak
19696 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19698 * check/Makefile.am:
19699 add two more tests for valgrinding
19700 * check/gst/gstvalue.c: (GST_START_TEST):
19701 test refcount of deserialized buffer, found a leak
19702 * docs/gst/gstreamer-docs.sgml:
19703 * docs/gst/gstreamer-sections.txt:
19704 * docs/gst/gstreamer.types:
19705 * docs/gst/tmpl/gstminiobject.sgml:
19706 add miniobject to docs
19707 * gst/gstminiobject.c:
19709 * gst/gstvalue.c: (gst_value_deserialize_buffer),
19710 (gst_string_unwrap):
19711 fix a hard-to-find invalid write for one of the tests
19712 fix a leak for deserialized buffers
19714 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19716 * docs/pwg/advanced-events.xml:
19717 * docs/pwg/advanced-request.xml:
19718 * docs/pwg/advanced-scheduling.xml:
19719 * docs/pwg/appendix-porting.xml:
19720 * docs/pwg/building-boiler.xml:
19721 * docs/pwg/intro-preface.xml:
19722 * docs/pwg/other-ntoone.xml:
19723 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19724 of example code and explanation for pad activation, loop() and
19725 getrange() functions and a bit more. Remove old comments pointing
19727 * examples/pwg/Makefile.am:
19728 Add loop/getrange examples.
19730 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19733 check for valgrind binary + some fixes
19735 valgrind suppressions for the tests
19736 * check/Makefile.am:
19737 add a valgrind: target that valgrinds the unit tests
19738 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19739 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19740 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19741 * check/gst/gstghostpad.c:
19743 * check/gst/gstdata.c:
19745 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19746 (thread_unref), (gst_mini_object_suite), (main):
19748 * gst/gst.c: (gst_deinit):
19750 add a method to clean up.
19751 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19752 (gst_system_clock_obtain):
19753 allow for disposing the system clock.
19754 * tools/gst-launch.c: (main):
19757 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19759 * docs/gst/tmpl/gstbasesrc.sgml:
19760 * docs/gst/tmpl/gstfakesrc.sgml:
19761 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19762 (gst_base_src_init), (gst_base_src_set_property),
19763 (gst_base_src_get_property), (gst_base_src_get_range),
19764 (gst_base_src_start):
19765 * gst/base/gstbasesrc.h:
19766 add num-buffers property
19767 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19768 (gst_fakesrc_init), (gst_fakesrc_set_property),
19769 (gst_fakesrc_get_property), (gst_fakesrc_create),
19770 (gst_fakesrc_start):
19771 remove num-buffers property
19773 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19775 * docs/gst/gstreamer-sections.txt:
19776 * docs/gst/tmpl/gstbasesink.sgml:
19777 * docs/gst/tmpl/gstbasesrc.sgml:
19778 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19779 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19780 (gst_base_sink_finalize), (gst_base_sink_set_clock),
19781 (gst_base_sink_set_property), (gst_base_sink_get_property),
19782 (gst_base_sink_handle_object), (gst_base_sink_event),
19783 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19784 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19785 (gst_base_sink_loop), (gst_base_sink_deactivate),
19786 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19787 (gst_base_sink_change_state):
19788 * gst/base/gstbasesink.h:
19789 * gst/base/gstbasesrc.h:
19790 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19791 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19792 (gst_filesink_init):
19793 more macro splitting
19795 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19797 * gst/gstelement.c: (gst_element_get_bus):
19799 * tools/gst-launch.c: (check_intr), (event_loop):
19802 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19804 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19807 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19809 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19810 (gst_base_src_finalize):
19811 add finalize method and clean up properly
19812 * gst/gstpipeline.c: (gst_pipeline_dispose):
19815 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19817 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19819 add more things to check
19820 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19821 * gst/gstelement.c:
19824 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19826 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19827 (GST_START_TEST), (fakesrc_suite):
19828 * check/gst-libs/gdp.c: (GST_START_TEST):
19829 * check/gst/gst.c: (GST_START_TEST):
19830 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19831 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19832 * check/gst/gstbus.c: (GST_START_TEST):
19833 * check/gst/gstcaps.c: (GST_START_TEST):
19834 * check/gst/gstdata.c: (GST_START_TEST):
19835 * check/gst/gstelement.c: (GST_START_TEST):
19836 * check/gst/gstghostpad.c: (GST_START_TEST):
19837 * check/gst/gstiterator.c: (GST_START_TEST):
19838 * check/gst/gstmessage.c: (GST_START_TEST):
19839 * check/gst/gstobject.c: (GST_START_TEST):
19840 * check/gst/gstpad.c: (GST_START_TEST):
19841 * check/gst/gststructure.c: (GST_START_TEST):
19842 * check/gst/gstsystemclock.c: (GST_START_TEST),
19843 (gst_systemclock_suite):
19844 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19845 * check/gst/gstvalue.c: (GST_START_TEST):
19846 * check/pipelines/cleanup.c: (GST_START_TEST):
19847 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19848 * check/states/sinks.c: (GST_START_TEST):
19849 * check/gstcheck.c: (gst_check_init):
19850 * check/gstcheck.h:
19851 add debugging category
19852 use GST_START_TEST now, so we add a debug line
19854 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19856 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19857 add test for state change message on a bin
19858 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19860 * gst/gstbin.c: (gst_bin_init):
19861 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19862 * gst/gstelement.c: (gst_element_post_message),
19863 (gst_element_set_state):
19864 * gst/gstelementfactory.c: (gst_element_factory_create):
19865 * gst/gstmessage.c: (gst_message_new):
19866 * gst/gstscheduler.c:
19867 various debugging additions and cleanups
19869 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19871 * check/Makefile.am:
19872 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19874 adding tests for elements
19875 * gst/gstelement.c: (gst_element_dispose):
19877 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19879 * gst/registries/gstlibxmlregistry.c: (load_feature):
19880 plug more leaks. A simple gst_init() now is leakfree, yay.
19882 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19884 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19885 (gst_xml_registry_load):
19886 plug another memleak
19888 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19891 use GST_SET_ERROR_CFLAGS
19892 * docs/faq/cvs.xml:
19893 change to ERROR_CFLAGS
19895 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19898 make GST_ERROR_CFLAGS overridable and re-enable Werror
19899 * docs/faq/cvs.xml:
19900 add a note about error CFLAGS
19901 * docs/gst/tmpl/gstfakesrc.sgml:
19902 * gst/elements/gstfakesrc.c:
19903 comment out some unused code
19904 * gst/gst.c: (split_and_iterate):
19905 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19909 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19911 * common/Makefile.am:
19912 * common/gtk-doc.mak:
19913 * docs/gst/Makefile.am:
19914 factor out gtk-doc.mak
19916 2005-07-07 Wim Taymans <wim@fluendo.com>
19918 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19919 (gst_thread_scheduler_dispose):
19920 Unlock the STREAM_LOCK completely.
19922 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19924 * check/Makefile.am:
19925 * check/elements/.cvsignore:
19926 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19927 (START_TEST), (fakesrc_suite), (main):
19928 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19929 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19930 (gst_fakesrc_create), (gst_fakesrc_start):
19931 * gst/elements/gstfakesrc.h:
19932 adding a first element test
19934 2005-07-07 Andy Wingo <wingo@pobox.com>
19936 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19939 2005-07-07 Wim Taymans <wim@fluendo.com>
19945 2005-07-07 Wim Taymans <wim@fluendo.com>
19947 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19948 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19949 Allow subclasses to implement their own negotiation.
19951 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19953 * docs/design/part-gstbin.txt:
19954 * docs/design/part-gstpipeline.txt:
19955 Update design notes to reflect the movement of
19956 responsibility for bus handling from GstPipeline to
19959 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19962 Remove unnecessary queue2/3/4 examples.
19964 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19966 * examples/Makefile.am:
19967 * examples/helloworld/helloworld.c: (event_loop), (main):
19968 * examples/queue/queue.c: (event_loop), (main):
19969 * examples/queue2/queue2.c: (main):
19970 Update a couple of the examples to work again.
19972 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19973 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19974 Spelling corrections and extra debug.
19976 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19977 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19978 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19980 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19981 (gst_pipeline_change_state):
19982 * gst/gstpipeline.h:
19983 Move the bus handler for children to the GstBin, and create a
19984 separate bus for receiving messages from children to the one the
19985 bus sends 'upwards' on.
19987 2005-07-06 Wim Taymans <wim@fluendo.com>
19990 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19991 (gst_base_sink_handle_object), (gst_base_sink_loop),
19992 (gst_base_sink_change_state):
19993 * gst/base/gstbasesink.h:
19994 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19995 (gst_base_src_init), (gst_base_src_setcaps),
19996 (gst_base_src_getcaps), (gst_base_src_loop),
19997 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19998 (gst_base_src_start), (gst_base_src_change_state):
19999 * gst/base/gstbasesrc.h:
20000 Make basesrc negotiate.
20001 Handle the case where preroll fails in basesink.
20004 2005-07-06 Wim Taymans <wim@fluendo.com>
20006 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
20007 Implement the fixate function.
20008 Clean up acceptcaps.
20010 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20012 * docs/pwg/building-filterfactory.xml:
20013 * docs/pwg/pwg.xml:
20014 Remove never-written filter-factory chapter; I'll add the various
20015 base classes to part 4 ("other element types") later on.
20017 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20019 * docs/pwg/advanced-negotiation.xml:
20020 * docs/pwg/building-boiler.xml:
20021 * docs/pwg/building-pads.xml:
20022 * docs/pwg/pwg.xml:
20023 * examples/pwg/Makefile.am:
20024 Add a chapter on caps negotiation, simplify the original code
20025 samples a bit w.r.t. caps negotiation, add link to the advanced
20026 section. Add a bunch of examples showing different use cases of
20027 different types of caps negotiation. Upstream renegotiation isn't
20028 fully documented yet since nobody knows how that works.
20030 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
20032 * check/gst/gstpad.c:
20033 * check/gstcheck.c:
20034 * gst/gstpad.c: (gst_pad_get_internal_links_default):
20035 if pad has no parent, return NULL as list of internal links
20037 2005-07-05 Andy Wingo <wingo@pobox.com>
20039 * gst/elements/gstfilesrc.c:
20040 * gst/elements/gstfakesrc.c:
20041 * gst/base/gstpushsrc.c:
20042 * gst/base/gstbasesrc.h:
20043 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
20045 2005-07-05 Stefan Kost <ensonic@users.sf.net>
20048 better report generation target (lcov needs a patch)
20050 2005-07-05 Andy Wingo <wingo@pobox.com>
20052 * gst/elements, testsuite: Null if we got it...
20054 2005-07-05 Wim Taymans <wim@fluendo.com>
20057 * libs/gst/dataprotocol/Makefile.am:
20058 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
20059 * libs/gst/dataprotocol/dataprotocol.h:
20060 * pkgconfig/Makefile.am:
20061 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
20062 * pkgconfig/gstreamer-dataprotocol.pc.in:
20063 Ported dataprotol to 0.9.
20064 Added pkgconfig files.
20066 2005-07-05 Andy Wingo <wingo@pobox.com>
20068 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
20069 Default to returning TRUE for the case when tranform_caps returns
20070 a fixed caps, like for identity or volume.
20072 * check/gst/gstbus.c (pound_bus_with_messages):
20073 * check/gst/gstmessage.c (START_TEST):
20074 * check/pipelines/simple_launch_lines.c (got_handoff): Application
20075 message API change.
20077 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
20078 logic weaks here: always run transform_caps, trying passthrough
20079 operation only if the original caps intersects with the transform.
20081 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
20082 source and sink caps.
20084 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
20085 Intersect the peer caps with the pad template before going into
20087 (gst_base_transform_transform_caps): More debugging.
20089 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
20092 2005-07-04 Edward Hervey <edward@fluendo.com>
20096 (gst_pad_add_*_probe): now returns the signal id for better wrapping
20099 2005-07-04 Andy Wingo <wingo@pobox.com>
20101 * check/gst/gstpad.c: Only set explicit caps on pads.
20103 2005-07-01 Andy Wingo <wingo@pobox.com>
20105 * tests/network-clock.scm: Commentary update.
20107 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
20108 Didn't really make sense, not implementable with basetransform,
20110 (gst_identity_transform): Unref inbuf via make_writable. Feeble
20111 attempt at implementing the sync property, needs an unlock method.
20113 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
20114 New func, by default returns the same caps (the identity
20116 (gst_base_transform_getcaps): Uses transform_caps to return
20117 something sensible.
20118 (gst_base_transform_setcaps): Complicated logic to get caps on
20119 both pads, even if they are different, and to call set_caps once
20120 for every time both pads get their caps set.
20121 (gst_base_transform_handle_buffer): Give the ref to the transform
20122 function. Allows in-place modification of the buffer.
20124 * gst/base/gstbasetransform.h (transform_caps): New class method.
20125 Given caps on one side, what can I do on the other.
20126 (set_caps): Take two caps, one for each side of the element.
20129 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
20130 caps in place. This is safe because we can check the mutability of
20131 the caps, and a good idea because fixate functions are just called
20132 as a matter of last resort. (Not actually implemented.)
20133 (gst_pad_set_caps): If the caps we're setting is actually the same
20134 as the existing pad caps, just update the pointer without calling
20135 setcaps. Assert that caps is either NULL or fixed, as per the
20138 * gst/gstghostpad.c: Update for fixate changes.
20140 2005-07-02 Andy Wingo <wingo@pobox.com>
20143 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
20144 two refcounts makes it immutable, which is enough. Doc more.
20146 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
20148 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
20149 Put the mini_object into GValue as a mini_object,
20150 not a gpointer, since that's how we declared
20153 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20155 * examples/pwg/Makefile.am:
20156 Fix buildbot again.
20158 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20160 * docs/pwg/building-testapp.xml:
20162 * examples/pwg/Makefile.am:
20165 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20168 * examples/Makefile.am:
20169 * examples/pwg/Makefile.am:
20170 * examples/pwg/extract.pl:
20171 Enable building the PWG examples.
20172 * docs/pwg/advanced-interfaces.xml:
20173 Add URI interface stub.
20174 * docs/pwg/advanced-types.xml:
20175 * docs/pwg/other-autoplugger.xml:
20176 * docs/pwg/appendix-porting.xml:
20177 * docs/pwg/pwg.xml:
20178 Add porting guide (mostly stubs), remove autoplugging (see ADM).
20179 * docs/pwg/building-boiler.xml:
20180 * docs/pwg/building-chainfn.xml:
20181 * docs/pwg/building-pads.xml:
20182 * docs/pwg/building-props.xml:
20183 * docs/pwg/building-state.xml:
20184 * docs/pwg/building-testapp.xml:
20185 Update the building-*.xml parts for 0.9 changes. All examples
20186 code blocks compile in examples/pwg/*.
20188 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20190 * docs/manual/advanced-autoplugging.xml:
20191 * docs/manual/appendix-checklist.xml:
20192 * docs/manual/appendix-integration.xml:
20193 * docs/manual/highlevel-components.xml:
20194 Fix playbin/decodebin examples, update docs a bit, mention bus
20195 instead of signals in various places, mention kmplayer and
20196 kaffeine since they have a working GStreamer backend in the KDE
20199 2005-06-30 Wim Taymans <wim@fluendo.com>
20202 * docs/design/draft-ghostpads.txt:
20203 * docs/design/draft-push-pull.txt:
20204 * docs/design/draft-query.txt:
20205 * docs/design/part-TODO.txt:
20206 * docs/design/part-query.txt:
20207 Added CHANGES-0.9 doc, updated status of other docs.
20212 2005-06-30 Wim Taymans <wim@fluendo.com>
20214 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20215 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20216 (gst_base_sink_change_state):
20217 * gst/base/gstbasesink.h:
20218 Some tweaks, only EOS and a buffer complete a preroll.
20220 2005-06-30 Andy Wingo <wingo@pobox.com>
20222 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
20223 activate_push down to the internal pad as well.
20225 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
20227 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20229 * gst/gsttaginterface.c:
20230 Some documentation fixes (#307394 and #307397).
20232 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
20234 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20236 * gst/gstvalue.c: (gst_value_intersect_list):
20237 Fix memleak (#309125).
20239 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20241 * docs/manual/advanced-dataaccess.xml:
20242 Fix fakesrc example to compile; doesn't work, bug somewhere...?
20243 * docs/manual/basics-pads.xml:
20244 Add reference for filtered caps to above chapter.
20246 2005-06-30 Wim Taymans <wim@fluendo.com>
20248 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
20249 (gst_bin_change_state):
20251 Lame attempt at making the state change function a bit
20254 2005-06-30 Wim Taymans <wim@fluendo.com>
20256 * docs/design/part-clocks.txt:
20257 * docs/design/part-element-sink.txt:
20258 * docs/design/part-events.txt:
20259 * docs/design/part-preroll.txt:
20260 * docs/design/part-states.txt:
20261 Some more tweeks and additions to the docs.
20263 2005-06-30 Wim Taymans <wim@fluendo.com>
20265 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20266 (default_have_data), (gst_pad_class_init), (gst_pad_init),
20267 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20268 (gst_pad_check_pull_range), (gst_pad_get_range),
20269 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
20271 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
20272 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20273 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20274 (gst_pad_remove_buffer_probe):
20275 Removed atomic operations, use existing LOCK.
20276 Move exception handling out of main code path.
20278 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20280 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20281 (silly_return_true_function), (gst_pad_class_init),
20282 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20283 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
20284 (gst_pad_send_event):
20285 Fix accumulator, add default value by using _emitv() instead
20286 of _emit() for signal emission.
20288 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20290 * docs/manual/advanced-dataaccess.xml:
20291 * examples/manual/Makefile.am:
20293 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
20296 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
20298 * gst/elements/gstfilesink.c: (gst_filesink_render):
20299 Simplify code so that we don't have to handle short
20300 writes and return GST_FLOW_ERROR if an error occured.
20302 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20304 * docs/gst/gstreamer-docs.sgml:
20305 Remove probes more.
20307 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20309 * docs/gst/gstreamer-sections.txt:
20310 * docs/gst/tmpl/gstpad.sgml:
20311 * docs/gst/tmpl/gstprobe.sgml:
20313 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20314 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
20315 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20316 (gst_pad_push_event), (gst_pad_send_event):
20318 * gst/gstutils.c: (gst_pad_add_data_probe),
20319 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20320 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20321 (gst_pad_remove_buffer_probe):
20323 Remove old probes, add new g-signal-based probes and some utility
20326 2005-06-29 Edward Hervey <edward@fluendo.com>
20328 * gst/gstelementfactory.c:
20331 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
20332 the definition to the header file.
20334 2005-06-29 Andy Wingo <wingo@pobox.com>
20336 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
20337 plugins from the source directory.
20339 2005-06-29 Wim Taymans <wim@fluendo.com>
20341 * docs/gst/tmpl/gstbuffer.sgml:
20342 * docs/gst/tmpl/gstclock.sgml:
20343 Some fixings for blantently wrong text.
20345 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
20347 * check/Makefile.am:
20348 * gst/gst.c: (add_path_func), (init_pre):
20349 * gst/gstregistry.c: (gst_registry_add_path):
20350 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
20351 only scan the GST_PLUGIN_PATH locations, and not add
20354 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
20356 * docs/gst/gstreamer-sections.txt:
20357 * docs/gst/tmpl/gstbasesrc.sgml:
20358 * gst/gstelement.c:
20359 * gst/gstelement.h:
20364 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20366 * docs/manual/advanced-autoplugging.xml:
20367 Fix autoplugging example.
20369 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20371 * docs/manual/advanced-autoplugging.xml:
20372 * docs/manual/mime-world.fig:
20373 Try to get autoplugging working, fix type detection. Fix text
20374 in hello-world image.
20376 2005-06-29 Wim Taymans <wim@fluendo.com>
20378 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20379 (gst_base_sink_change_state):
20383 map SIGNAL and BROADCAST to the right function.
20386 Remove redundant braces.
20388 * gst/gstpad.c: (gst_pad_set_caps):
20389 Don't call setcaps function when reseting caps to NULL.
20391 * gst/gstsystemclock.c: (gst_system_clock_dispose),
20392 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
20393 (gst_system_clock_id_unschedule):
20394 Use BROADCAST as this is what we do.
20396 2005-06-29 Wim Taymans <wim@fluendo.com>
20398 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20399 We are actually prerolling before commiting the state
20402 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20404 * docs/manual/advanced-clocks.xml:
20405 * docs/manual/advanced-interfaces.xml:
20406 * docs/manual/advanced-metadata.xml:
20407 * docs/manual/advanced-position.xml:
20408 * docs/manual/advanced-schedulers.xml:
20409 * docs/manual/advanced-threads.xml:
20410 * docs/manual/appendix-porting.xml:
20411 * docs/manual/basics-bins.xml:
20412 * docs/manual/basics-bus.xml:
20413 * docs/manual/basics-elements.xml:
20414 * docs/manual/basics-helloworld.xml:
20415 * docs/manual/basics-pads.xml:
20416 * docs/manual/highlevel-components.xml:
20417 * docs/manual/manual.xml:
20418 * docs/manual/thread.fig:
20419 Update (until threads/scheduling) Application Development Manual;
20420 remove GstThread, add GstBus, add simple porting checklist, add
20421 documentation for tag writing, clocks, make all examples until this
20422 part compile and run.
20423 * examples/manual/Makefile.am:
20424 Update from changes to Application Development Manual; add bus
20425 example, remove thread example.
20427 2005-06-28 Wim Taymans <wim@fluendo.com>
20429 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
20430 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
20431 (gst_bus_source_dispatch):
20432 Add debugging messages.
20433 Make internal methods static.
20434 Handle the case where the bus is flushed in the handler.
20436 * gst/gstelement.c: (gst_element_get_bus):
20437 Fix refcount in _get_bus();
20439 * gst/gstpipeline.c: (gst_pipeline_change_state),
20440 (gst_pipeline_get_clock_func):
20441 Clock refcounting fixes.
20442 Handle the case where preroll timed out more gracefully.
20444 * gst/gstsystemclock.c: (gst_system_clock_dispose):
20445 Clean up the internal thread in dispose. This is needed
20446 for subclasses that actually get disposed.
20448 * gst/schedulers/threadscheduler.c:
20449 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
20450 (gst_thread_scheduler_dispose):
20451 Free thread pool in dispose.
20453 2005-06-28 Andy Wingo <wingo@pobox.com>
20455 * tests/network-clock-utils.scm (debug, print-event): New utils.
20457 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
20458 (*packet-loss*): Unified loss probability.
20459 (network-time): Report out-of-band events.
20461 * tests/plot-data: Add support for out-of-band events. Hack it
20462 into this script instead of passing it down the pipe; should fix
20465 2005-06-28 Wim Taymans <wim@fluendo.com>
20467 * docs/gst/gstreamer.types:
20468 * docs/gst/tmpl/gstbasesrc.sgml:
20469 * docs/gst/tmpl/gstpad.sgml:
20472 2005-06-28 Wim Taymans <wim@fluendo.com>
20474 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20475 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
20476 (gst_proxy_pad_do_fixatecaps):
20477 Correctly proxy the check_pull_range function.
20479 2005-06-28 Andy Wingo <wingo@pobox.com>
20481 * tests/network-clock.scm: Removed need for slib.
20483 2005-06-28 Wim Taymans <wim@fluendo.com>
20485 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
20486 (gst_basesink_preroll_queue_flush):
20487 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
20488 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
20489 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20490 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20491 (gst_proxy_pad_set_property):
20494 * gst/gstqueue.c: (gst_queue_init):
20495 The deprecated pad loop function is removed now.
20497 2005-06-28 Andy Wingo <wingo@pobox.com>
20499 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
20500 New parameters, simulate network packet loss.
20502 * tests/network-clock-utils.scm: Initialize the RNG.
20504 2005-06-28 Wim Taymans <wim@fluendo.com>
20506 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
20507 (gst_basesink_event), (gst_basesink_deactivate):
20508 Flushing the preroll queue always needs to unlock the waiters.
20510 2005-06-28 Edward Hervey <edward@fluendo.com>
20512 * gst/gstpipeline.c: (gst_pipeline_send_event):
20513 Wheen a seek was successful on a pipeline, set the stream_time to the
20514 seek offset in order to have a synchronized stream_time.
20516 2005-06-28 Wim Taymans <wim@fluendo.com>
20518 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20519 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
20520 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
20521 (gst_proxy_pad_do_fixatecaps):
20522 Call wrapper function instead of just calling the function
20523 pointers. This takes care of any locking and whatmore.
20525 2005-06-28 Wim Taymans <wim@fluendo.com>
20527 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
20528 (gst_pad_pull_range):
20530 CONNECTED -> LINKED.
20532 2005-06-28 Andy Wingo <wingo@pobox.com>
20534 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
20535 source-munging commit!!!
20537 * gst/gstobject.c (gst_object_unref, gst_object_ref)
20538 (gst_object_sink): Take gpointer arguments, not GstObject --
20539 avoids casts. Like GLib.
20541 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
20544 2005-06-27 Andy Wingo <wingo@pobox.com>
20546 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
20549 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
20550 returns a sorted copy of the trace list.
20551 (gst_alloc_trace_print_live): New API, only prints traces with
20552 live objects. Sort the list.
20553 (gst_alloc_trace_print_all): Sort the list.
20554 (gst_alloc_trace_print): Align columns.
20556 * gst/elements/gstttypefindelement.c:
20557 * gst/elements/gsttee.c:
20558 * gst/base/gstbasesrc.c:
20559 * gst/base/gstbasesink.c:
20560 * gst/base/gstbasetransform.c:
20561 * gst/gstqueue.c: Adapt for pad activation changes.
20563 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
20565 (gst_pipeline_dispose): Drop ref on sched.
20567 * gst/gstpad.c (gst_pad_init): Set the default activate func.
20568 (gst_pad_activate_default): Push mode by default.
20569 (pre_activate_switch, post_activate_switch): New stubs, things to
20570 do before and after switching activation modes on pads.
20571 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
20572 the pad's activate function to choose which mode to activate.
20573 Shortcut on deactivation and call the right function directly.
20574 (gst_pad_activate_pull): New API, (de)activates a pad in pull
20576 (gst_pad_activate_push): New API, same for push mode.
20577 (gst_pad_set_activate_function)
20578 (gst_pad_set_activatepull_function)
20579 (gst_pad_set_activatepush_function): Setters for new API.
20581 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
20582 Trace all miniobjects.
20583 (gst_mini_object_make_writable): Unref the arg if we copy, like
20584 gst_caps_make_writable.
20586 * gst/gstmessage.c (_gst_message_initialize): No trace init.
20588 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
20589 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
20590 Adapt for new pad API.
20592 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
20594 * gst/gstelement.h:
20595 * gst/gstelement.c (gst_element_iterate_src_pads)
20596 (gst_element_iterate_sink_pads): New API functions.
20598 * gst/gstelement.c (iterator_fold_with_resync): New utility,
20599 should fold into gstiterator.c in some form.
20600 (gst_element_pads_activate): Simplified via use of fold and
20601 delegation of decisions to gstpad->activate.
20603 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
20606 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
20607 class once in init, like gstmessage. Didn't run into this issue
20608 but it seems correct. Don't initialize a trace, gstminiobject does
20611 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
20612 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
20614 (assert_live_count): New util function, uses alloc traces to check
20617 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20618 To be modified when unlink drops the internal pad.
20620 2005-06-27 Wim Taymans <wim@fluendo.com>
20622 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20623 (gst_bin_change_state):
20624 Cleanup the get_state() function a little, make sure it
20625 iterates the same set of elements.
20626 Added stub iterate_state_order().
20628 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
20630 * docs/gst/gstreamer-docs.sgml:
20631 * docs/gst/gstreamer-sections.txt:
20632 * docs/gst/gstreamer.types:
20633 * docs/gst/tmpl/gstbasesink.sgml:
20634 * docs/gst/tmpl/gstbasesrc.sgml:
20635 * docs/gst/tmpl/gstbasetransform.sgml:
20636 * docs/gst/tmpl/gstelement.sgml:
20637 * docs/gst/tmpl/gstiterator.sgml:
20638 * gst/base/gstbasesrc.c:
20639 * gst/base/gstbasesrc.h:
20640 * gst/base/gstbasetransform.h:
20641 * gst/gstelement.c:
20642 * gst/gstiterator.h:
20643 adding basetransform and iterator docs
20645 2005-06-27 Andy Wingo <wingo@pobox.com>
20647 * docs/design/part-activation.txt: Notes on how activation should
20648 work -- not quite implemented yet.
20650 2005-06-25 Wim Taymans <wim@fluendo.com>
20652 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20653 At least get the chain function correct, needs more
20656 2005-06-25 Wim Taymans <wim@fluendo.com>
20658 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20659 (gst_basesink_handle_object), (gst_basesink_event),
20660 (gst_basesink_do_sync), (gst_basesink_handle_event),
20661 (gst_basesink_change_state):
20663 Right, two problems here: ghostpads don't take locks and
20664 glib _rec_mutex_lock_full() with depth==0 still locks.
20665 Catch illegal locking and g_warn them.
20667 2005-06-25 Wim Taymans <wim@fluendo.com>
20669 * check/states/sinks.c: (START_TEST), (gst_object_suite):
20670 Have to check for completion now...
20672 2005-06-25 Wim Taymans <wim@fluendo.com>
20674 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20675 (gst_basesink_handle_object), (gst_basesink_event),
20676 (gst_basesink_do_sync), (gst_basesink_handle_event),
20677 (gst_basesink_change_state):
20679 Unlock STREAM_LOCK whatever the recursion was.
20681 2005-06-25 Wim Taymans <wim@fluendo.com>
20683 * gst/base/gstbasesink.c: (gst_basesink_set_property),
20684 (gst_basesink_preroll_queue_empty),
20685 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20686 (gst_basesink_event), (gst_basesink_do_sync),
20687 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20688 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20689 (gst_basesink_change_state):
20690 Reworked the base sink, handle event and buffer serialisation
20691 correctly and removed possible deadlock.
20692 Handle EOS correctly.
20694 2005-06-25 Wim Taymans <wim@fluendo.com>
20696 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20697 (gst_pipeline_change_state):
20698 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20699 Allow elements to post EOS in the state change function.
20700 Fix up -launch, make it exit the poll loop when the
20701 pipeline actually changed state.
20702 Fix up warning parsing in -launch.
20704 2005-06-25 Wim Taymans <wim@fluendo.com>
20706 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20707 (gst_tee_sink_activate):
20708 Core takes STREAM_LOCK for us now.
20710 2005-06-25 Wim Taymans <wim@fluendo.com>
20712 * gst/gstelement.c: (gst_element_get_state_func),
20713 (gst_element_set_state):
20714 * gst/gstelement.h:
20715 * gst/gstmessage.c: (gst_message_parse_error),
20716 (gst_message_parse_warning):
20717 Keep track of current target state while performing a state
20718 change so that subclasses can do something interesting.
20719 Fix parsing of warning/error messages when GError is NULL.
20721 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
20723 * docs/gst/Makefile.am:
20724 * docs/gst/gstreamer-docs.sgml:
20725 * docs/gst/gstreamer-sections.txt:
20726 * docs/gst/gstreamer.types:
20727 * docs/gst/tmpl/gstbasesink.sgml:
20728 * docs/gst/tmpl/gstbasesrc.sgml:
20729 * docs/gst/tmpl/gstbin.sgml:
20730 * docs/gst/tmpl/gstcompat.sgml:
20731 * docs/gst/tmpl/gstfakesink.sgml:
20732 * docs/gst/tmpl/gstfakesrc.sgml:
20733 * docs/gst/tmpl/gstfilesink.sgml:
20734 * docs/gst/tmpl/gstfilesrc.sgml:
20735 * docs/gst/tmpl/gstindex.sgml:
20736 * docs/manual/appendix-quotes.xml:
20737 * gst/base/gstbasesrc.h:
20738 * gst/elements/gstfakesrc.h:
20739 * gst/gstmessage.h:
20740 start pulling in base classes and elements in our docs
20742 2005-06-24 Stefan Kost <ensonic@users.sf.net>
20744 * docs/gst/Makefile.am:
20745 * docs/libs/Makefile.am:
20746 fixed make distcheck with gtk-doc 1.3
20748 2005-06-23 Wim Taymans <wim@fluendo.com>
20750 * gst/gstelement.c: (gst_element_get_state_func),
20751 (gst_element_set_state), (gst_element_change_state):
20752 When the state did not change, also report NO_PREROLL
20755 2005-06-23 Wim Taymans <wim@fluendo.com>
20757 * gst/gstpad.c: (gst_pad_event_default):
20758 * gst/gstqueue.c: (gst_queue_loop):
20759 No unsafe task pausing please.
20761 2005-06-23 Wim Taymans <wim@fluendo.com>
20763 * gst/schedulers/threadscheduler.c:
20764 (gst_thread_scheduler_task_start),
20765 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20766 Ref the task before pushing it on the threadpool. This
20767 makes sure that we have a ref when the threadfunction is
20770 2005-06-23 Andy Wingo <wingo@pobox.com>
20772 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20773 offset is greater than the file's size.
20775 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
20776 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20777 * gst/gstobject.c (gst_object_class_init): Make the class lock
20778 recursive. Wim won't let me drop deep_notify. Decodebin works
20779 again, whoopdy doo.
20781 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20782 internal pad, and hacks accordingly. Doesn't do it on the target
20783 pad because we change its caps. Probably catches all cases of
20785 (gst_ghost_pad_set_property): Connect to notify::caps as
20788 * tests/network-clock.scm (plot-simulation): Pipe data to the
20789 elite python skript.
20791 * tests/network-clock-utils.scm (define-parameter): New macro,
20792 defines a parameter that can be set via the command line.
20793 (set-parameter!, parse-parameter-arguments): Command line args
20796 * tests/plot-data: Simple matplotlib-based plotter, takes input on
20799 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
20801 * gst/elements/gsttypefindelement.c:
20802 (gst_type_find_element_handle_event):
20803 Don't restart typefinding on a discont.
20804 * gst/gstelement.c: (gst_element_set_state):
20805 Debug spelling fix.
20806 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20807 Allow changing mode of an active pad.
20808 Debug output fixes.
20809 * gst/registries/gstlibxmlregistry.c: (load_feature):
20810 Don't cast a static pad template to a normal pad template.
20812 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
20814 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20815 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20816 remove gst_strtoll completely, since it didn't actually do
20817 anything more than what g_ascii_strtoull already does.
20818 check for range errors when deserializing
20819 do a cast for the unsigned cases; but further fixing needs
20820 a decision on what the interpretation of "(int)" and
20821 deserialization should be for values that fall outside the
20822 type's boundaries (ie, refuse, or interpret as casting)
20824 2005-06-23 Wim Taymans <wim@fluendo.com>
20826 * check/Makefile.am:
20827 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20828 * docs/design/part-live-source.txt:
20829 * docs/design/part-states.txt:
20830 * gst/base/gstbasesrc.c: (gst_basesrc_init),
20831 (gst_basesrc_set_live), (gst_basesrc_is_live),
20832 (gst_basesrc_get_range), (gst_basesrc_activate),
20833 (gst_basesrc_change_state):
20834 * gst/base/gstbasesrc.h:
20835 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20836 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20837 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20838 * gst/gstelement.c: (gst_element_get_state_func),
20839 (gst_element_set_state):
20840 * gst/gstelement.h:
20842 * tools/gst-launch.c: (event_loop), (main):
20843 Added support for live sources and other elements that
20845 Updated design docs, added live-source design doc.
20846 Implemented live source functionality in basesrc
20847 Fix error condition in _bin_get_state()
20848 Implement live source handling in -launch.
20849 Added check for live sources.
20850 Fixed case in GstBin where elements were changed state
20854 2005-06-23 Andy Wingo <wingo@pobox.com>
20856 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20857 borken refcounting.
20859 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20860 gst_caps_replace takes care of this for us.
20862 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20863 gst_pad_set_caps on the target, not just its setcaps() function.
20865 * tests/network-clock.scm:
20866 * tests/network-clock-utils.scm: A network clock simulator.
20867 Something of an algorithmic testbed before doing something in C.
20869 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20871 * check/Makefile.am:
20872 * check/gst/capslist.h:
20873 copy over from 0.8, and add two with bitmasks specified with
20875 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20876 add test to parse everything from capslist.h
20877 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20879 add test for structure deserialization
20880 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20881 add tests for deserialization of strings to int types
20882 * gst/gststructure.c: (gst_structure_nth_field_name):
20883 * gst/gststructure.h:
20884 add a way to get the name of a field referenced by index
20885 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20886 instead of checking if the resulting long long lies between
20887 min and max, we check if the long long would fit into
20888 a number of bytes for the final type.
20889 This fixes cases where a string represents 2^32 - 1, which
20890 when cast to int would be the (valid) -1, but is bigger than
20893 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20895 * gst/parse/grammar.y:
20896 add a log line for type deserialization
20898 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20900 * check/gst/gstvalue.c: (START_TEST):
20901 * gst/gstvalue.c: (gst_value_deserialize):
20902 return long long, not int, so gint64 deserialization actually
20903 works. Is there any flag that makes the compiler check this ?
20906 2005-06-22 Wim Taymans <wim@fluendo.com>
20909 Added convenience macros for setting buffers in GValue.
20911 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20913 * check/gst/.cvsignore:
20914 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20915 add a test deserializing int64, and comment part out because
20918 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20920 * check/Makefile.am:
20921 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20922 * testsuite/Makefile.am:
20923 * testsuite/caps/Makefile.am:
20924 * testsuite/caps/value_serialize.c:
20925 * testsuite/test_gst_init.c:
20926 move a value_serialize test over
20928 2005-06-20 Wim Taymans <wim@fluendo.com>
20933 * gst/gstvalue.c: (gst_value_compare_buffer),
20934 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20935 (gst_value_compare_flags), (gst_value_serialize_flags),
20936 (gst_value_deserialize_flags), (_gst_value_initialize):
20937 Fix serialisation of buffers, they are not boxed types anymore
20939 2005-06-20 Wim Taymans <wim@fluendo.com>
20941 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20942 Testcase to show error in buffer-on-caps serialisation.
20944 2005-06-20 Andy Wingo <wingo@pobox.com>
20946 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20947 will be adding to later.
20949 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20950 if its socks fill with rocks.
20951 (gst_system_clock_obtain): Set the name on object construction.
20952 Avoid double-checked locking.
20954 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
20956 * gst/gsturi.c: (gst_element_make_from_uri):
20957 Fix potential endless loop.
20959 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20961 * check/Makefile.am:
20963 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20965 move over from testsuite dir and clean up
20968 * testsuite/Makefile.am:
20969 * testsuite/tags/.cvsignore:
20970 * testsuite/tags/Makefile.am:
20971 * testsuite/tags/merge.c:
20972 remove testsuite/tags
20974 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20976 * docs/gst/gstreamer-sections.txt:
20977 * docs/gst/tmpl/gstenumtypes.sgml:
20978 * win32/gstenumtypes.c:
20979 clean up documentation build a little
20981 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20983 * check/gstcheck.h:
20984 add macros for checking refcounts on objects and caps
20985 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20986 add some more unit tests
20987 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20988 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20989 fix leaked refcounts (I hope :)) so unittest works
20993 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20995 * configure.ac: back to HEAD
20997 === release 0.9.1 ===
20999 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
21005 2005-06-17 Andy Wingo <wingo@pobox.com>
21007 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
21008 assert; it's always possible that the pad gets deactivated in
21009 between the checks in gstpad.c and the implementation. Rely on
21010 finish_preroll() to return a FLUSHING or similar instead of on the
21013 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
21014 clock and post an EOS message if we come out of finish_preroll in
21017 2005-06-16 David Schleef <ds@schleef.org>
21019 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21020 (gst_capsfilter_set_property): Allow NULL as possible value
21021 for filter_caps property, indicating GST_CAPS_ANY.
21023 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
21025 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
21027 * gst/schedulers/Makefile.am:
21029 * gstreamer.spec.in:
21032 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
21034 * gstreamer.spec.in:
21037 2005-06-08 Andy Wingo <wingo@pobox.com>
21039 * gst/gstutils.c: RPAD fixes all around.
21040 (gst_element_link_pads): Refcounting fixes.
21042 * tools/gst-inspect.c:
21043 * tools/gst-xmlinspect.c:
21045 * gst/base/gsttypefindhelper.c:
21046 * gst/base/gstbasesink.c:
21047 * gst/gstqueue.c: RPAD fixes.
21049 * gst/gstghostpad.h:
21050 * gst/gstghostpad.c: New ghost pad implementation as full proxy
21051 pads. The tricky thing is they provide both source and sink
21052 interfaces, since they proxy the internal pad for the external
21053 pad, and vice versa. Implement with lower-level ProxyPad objects,
21054 with the interior proxy pad as a child of the exterior ghost pad.
21055 Should write a doc on this.
21057 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
21058 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
21061 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
21062 pads are real pads. No ghost pads in this file. Not documenting
21063 the myriad s/RPAD/PAD/ and REALIZE fixes.
21064 (gst_pad_class_init): Add properties for "direction" and
21065 "template". Both are construct-only, so they can't change during
21066 the life of the pad. Fixes properly deriving from GstPad.
21067 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
21068 derived objects, just set properties when creating the objects via
21070 (gst_pad_get_parent): Implement as a function, return NULL if the
21071 parent is not an element.
21072 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
21073 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
21075 * gst/gstobject.c (gst_object_class_init): Make name a construct
21076 property. Don't set it in the object init.
21078 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
21079 with UNKNOWN direction.
21080 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
21081 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
21082 (gst_element_remove_pad): Remove ghost-pad special cases.
21083 (gst_element_pads_activate): Remove rpad cruft.
21085 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
21086 catch the pad's-parent-not-an-element case.
21088 * gst/gst.h: Include gstghostpad.h.
21090 * gst/gst.c (init_post): No more real, ghost pads.
21092 * gst/Makefile.am: Add gstghostpad.[ch].
21094 * check/Makefile.am:
21095 * check/gst/gstbin.c:
21096 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
21097 into a bin creates ghost pads, and that the refcounts are right.
21098 Partly moved from gstbin.c.
21100 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
21102 * check/gst-libs/.cvsignore:
21103 * check/gst/.cvsignore:
21104 * check/pipelines/.cvsignore:
21106 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
21107 (START_TEST), (cleanup_suite), (main):
21108 add some tests related to cleanup after running pipelines
21110 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
21112 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
21113 add a testsuite for GstBuffer
21115 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
21117 * gst/gstminiobject.h:
21118 add defines for accessing the refcount
21120 2005-06-03 Stefan Kost <ensonic@users.sf.net>
21122 * Makefile.am: added support for html unit test coverage reports
21124 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
21126 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21127 Free existing caps if the capsfilter changes. Add a FIXME about
21128 setting those caps on the pads.
21130 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
21131 Before adding a ghost pad to a parent bin, check that there isn't
21132 already one for the element on the bin. Prevents infinite recursion
21133 when using decodebin in parse pipelines. Andy says he'll rewrite the
21134 way this works anyway, so ignore the hack.
21136 2005-06-02 Andy Wingo <wingo@pobox.com>
21138 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
21139 file size, pass it on to the type find helper.
21141 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
21142 segment_start and segment_end properly according to the seek
21143 method. Segment_end is still a bit flaky because offset can be
21144 negative for CUR and END cases, but it takes -1 as an "unset"
21147 2005-06-02 Wim Taymans <wim@fluendo.com>
21149 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
21150 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
21151 (gst_basesink_activate):
21152 * gst/base/gstbasesink.h:
21153 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21154 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
21155 (gst_pad_query), (gst_pad_start_task):
21157 * gst/gstqueue.c: (gst_queue_bufferalloc),
21158 (gst_queue_handle_sink_event), (gst_queue_chain):
21159 Bufferalloc: return GstFlowReturn to more accuratly report
21160 why allocation failed.
21162 2005-06-02 Wim Taymans <wim@fluendo.com>
21164 * gst/gstpipeline.c: (gst_pipeline_send_event):
21165 Take snapshot of state without blocking.
21167 2005-06-02 Wim Taymans <wim@fluendo.com>
21169 * docs/design/part-TODO.txt:
21170 * docs/design/part-caps.txt:
21171 * docs/design/part-clocks.txt:
21172 * docs/design/part-negotiation.txt:
21173 * docs/design/part-preroll.txt:
21176 2005-05-30 Wim Taymans <wim@fluendo.com>
21178 * gst/elements/gstidentity.c: (gst_identity_event),
21179 (gst_identity_transform), (gst_identity_get_property):
21180 Protect last_message property as it is accessed from
21183 2005-05-30 Wim Taymans <wim@fluendo.com>
21185 * gst/gstelement.c: (gst_element_init),
21186 (gst_element_pads_activate), (gst_element_change_state):
21187 Slicker pad activation code.
21189 2005-05-30 Wim Taymans <wim@fluendo.com>
21192 * gst/gstelement.h:
21193 * gst/gstelementfactory.h:
21195 Move elementfactory methods to separate .h file.
21197 2005-05-30 Wim Taymans <wim@fluendo.com>
21199 * docs/design/part-overview.txt:
21200 * gst/gstsystemclock.h:
21201 Small typo fixes, doc updates.
21203 2005-05-30 Wim Taymans <wim@fluendo.com>
21205 * gst/gst.c: (gst_init_get_popt_table), (init_post),
21206 (init_popt_callback):
21207 Remove cpu-opt flag.
21209 2005-05-30 Wim Taymans <wim@fluendo.com>
21211 * gst/gstbuffer.c: (gst_subbuffer_finalize),
21212 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
21214 Avoid typechecking in places where not needed.
21215 Added accessor for malloc_data.
21217 2005-05-30 Wim Taymans <wim@fluendo.com>
21219 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
21220 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
21221 (gst_pad_configure_sink), (gst_pad_configure_src),
21222 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
21223 (gst_pad_start_task):
21224 Propagate errors from _set_caps() in configure_src/sink
21225 functions instead of returning TRUE.
21226 FLUSH events can travel up and downstream
21229 2005-05-30 Wim Taymans <wim@fluendo.com>
21231 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21232 (gst_basesink_activate):
21233 Handle EOS in preroll.
21235 2005-05-30 Wim Taymans <wim@fluendo.com>
21237 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21238 (gst_queue_loop), (gst_queue_handle_src_event):
21239 Remove old pieces of code
21240 Flushing the queue in an upstream event is a very bad idea.
21242 2005-05-26 Andy Wingo <wingo@pobox.com>
21244 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
21245 gst_value_set_mini_object so as to add a ref on the object (which
21246 will be removed when the value is unset).
21248 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
21249 arg type in ::handoff.
21251 * gst/gstelement.c (gst_element_change_state): Also deactivate
21252 pads in READY->NULL, just in case the element didn't make it to
21253 PAUSED. Wingo tested, Wim approved.
21255 2005-05-26 Wim Taymans <wim@fluendo.com>
21257 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21258 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
21259 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
21260 A flushing pad cannot be used to alloc_buffer from.
21262 2005-05-26 Wim Taymans <wim@fluendo.com>
21264 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
21265 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
21266 (gst_bus_source_dispatch), (gst_bus_source_finalize),
21267 (gst_bus_create_watch), (gst_bus_add_watch_full):
21269 Implement a real GSource and use g_main_context_wakeup() to
21270 signal new messages instead of the socketpair.
21272 2005-05-25 Wim Taymans <wim@fluendo.com>
21274 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
21275 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
21276 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21277 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21278 (gst_pad_send_event), (gst_pad_start_task):
21279 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
21280 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21281 (gst_queue_sink_activate), (gst_queue_src_activate),
21282 (gst_queue_change_state):
21284 Fix state changes for non sinks. We now change sinks, then elements
21285 with unconnected srcpads, then the rest.
21286 More efficient queue unlocking in flush and state changes.
21287 Set the pad activate mode even if it does not have an activate
21290 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21292 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
21293 Don't go in pull mode for non-seekable sources.
21294 * gst/elements/gsttypefindelement.h:
21295 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21296 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
21297 (free_entry), (stop_typefinding),
21298 (gst_type_find_element_handle_event), (find_peek),
21299 (gst_type_find_element_chain), (do_pull_typefind),
21300 (gst_type_find_element_change_state):
21301 Allow typefinding (w/o seeking) in push-mode, simplified version
21302 of what was in 0.8.
21303 * gst/gstutils.c: (gst_buffer_join):
21305 gst_buffer_join() from 0.8.
21307 2005-05-25 Wim Taymans <wim@fluendo.com>
21309 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21310 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21311 (gst_pad_send_event), (gst_pad_start_task):
21312 Disable attempt at mode switching until it is figured out.
21314 2005-05-25 Wim Taymans <wim@fluendo.com>
21316 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
21317 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21318 (gst_basesink_finish_preroll), (gst_basesink_chain),
21319 (gst_basesink_loop), (gst_basesink_activate),
21320 (gst_basesink_change_state):
21321 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
21322 (gst_basesrc_get_range), (gst_basesrc_loop),
21323 (gst_basesrc_activate):
21324 * gst/elements/gsttee.c: (gst_tee_sink_activate):
21325 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
21326 (gst_real_pad_init), (gst_real_pad_set_property),
21327 (gst_real_pad_get_property), (gst_pad_set_active),
21328 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
21329 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
21330 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
21331 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
21332 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21333 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
21334 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
21335 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21336 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
21337 (gst_pad_stop_task):
21339 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21340 (gst_queue_loop), (gst_queue_src_activate):
21341 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
21342 (gst_task_get_state):
21344 * gst/schedulers/threadscheduler.c:
21345 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
21346 Implement gst_pad_pause/start/stop_task(), take STREAM lock
21348 Remove ACTIVE pad flag, use FLUSHING everywhere
21349 Added _pad_chain(), _pad_get_range() to call chain/getrange
21351 Add locks around IS_FLUSHING when reading.
21352 Take STREAM lock in chain(), get_range() functions so plugins
21353 don't need to take it anymore.
21357 2005-05-25 Wim Taymans <wim@fluendo.com>
21359 * tools/gst-launch.c: (event_loop):
21360 Unref message after using its contents instead of
21363 2005-05-24 Wim Taymans <wim@fluendo.com>
21365 * docs/design/draft-ghostpads.txt:
21366 * docs/design/draft-push-pull.txt:
21367 * docs/design/draft-query.txt:
21368 * docs/design/part-overview.txt:
21369 Docs updates, added general overview doc.
21371 2005-05-21 David Schleef <ds@schleef.org>
21373 * docs/gst/tmpl/old/GstBin.sgml:
21374 * docs/gst/tmpl/old/GstBuffer.sgml:
21375 * docs/gst/tmpl/old/GstCaps.sgml:
21376 * docs/gst/tmpl/old/GstClock.sgml:
21377 * docs/gst/tmpl/old/GstCompat.sgml:
21378 * docs/gst/tmpl/old/GstData.sgml:
21379 * docs/gst/tmpl/old/GstElement.sgml:
21380 * docs/gst/tmpl/old/GstEvent.sgml:
21381 * docs/gst/tmpl/old/GstIndex.sgml:
21382 * docs/gst/tmpl/old/GstStructure.sgml:
21383 * docs/gst/tmpl/old/GstTag.sgml:
21384 * docs/gst/tmpl/old/cothreads.sgml:
21385 * docs/gst/tmpl/old/cothreads_compat.sgml:
21386 * docs/gst/tmpl/old/gettext.sgml:
21387 * docs/gst/tmpl/old/gobject2gtk.sgml:
21388 * docs/gst/tmpl/old/grammar.tab.sgml:
21389 * docs/gst/tmpl/old/gst-i18n-app.sgml:
21390 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
21391 * docs/gst/tmpl/old/gst_private.sgml:
21392 * docs/gst/tmpl/old/gstaggregator.sgml:
21393 * docs/gst/tmpl/old/gstarch.sgml:
21394 * docs/gst/tmpl/old/gstatomic_impl.sgml:
21395 * docs/gst/tmpl/old/gstbufferstore.sgml:
21396 * docs/gst/tmpl/old/gstdata_private.sgml:
21397 * docs/gst/tmpl/old/gstdisksink.sgml:
21398 * docs/gst/tmpl/old/gstdisksrc.sgml:
21399 * docs/gst/tmpl/old/gstelementfactory.sgml:
21400 * docs/gst/tmpl/old/gstextratypes.sgml:
21401 * docs/gst/tmpl/old/gstfakesink.sgml:
21402 * docs/gst/tmpl/old/gstfakesrc.sgml:
21403 * docs/gst/tmpl/old/gstfdsink.sgml:
21404 * docs/gst/tmpl/old/gstfdsrc.sgml:
21405 * docs/gst/tmpl/old/gstfilesink.sgml:
21406 * docs/gst/tmpl/old/gstfilesrc.sgml:
21407 * docs/gst/tmpl/old/gsthttpsrc.sgml:
21408 * docs/gst/tmpl/old/gstidentity.sgml:
21409 * docs/gst/tmpl/old/gstindexfactory.sgml:
21410 * docs/gst/tmpl/old/gstmarshal.sgml:
21411 * docs/gst/tmpl/old/gstmd5sink.sgml:
21412 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
21413 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
21414 * docs/gst/tmpl/old/gstpadtemplate.sgml:
21415 * docs/gst/tmpl/old/gstpipefilter.sgml:
21416 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
21417 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
21418 * docs/gst/tmpl/old/gstshaper.sgml:
21419 * docs/gst/tmpl/old/gstspider.sgml:
21420 * docs/gst/tmpl/old/gstspideridentity.sgml:
21421 * docs/gst/tmpl/old/gststatistics.sgml:
21422 * docs/gst/tmpl/old/gsttee.sgml:
21423 * docs/gst/tmpl/old/gsttimecache.sgml:
21424 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
21425 * docs/gst/tmpl/old/gstxmlregistry.sgml:
21426 * docs/gst/tmpl/old/gthread-cothreads.sgml:
21427 * docs/gst/tmpl/old/types.sgml:
21428 I didn't intend to add these or check them in.
21430 2005-05-19 David Schleef <ds@schleef.org>
21432 * configure.ac: Use -no-common everywhere. In a sane world, it
21433 would be the default in libtool, because without it, you can't
21434 build DLLs on Windows.
21435 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
21436 * docs/gst/gstreamer-sections.txt:
21437 * docs/gst/tmpl/gstcpu.sgml:
21438 * docs/gst/tmpl/gstdata.sgml:
21439 * docs/gst/tmpl/gstthread.sgml:
21441 2005-05-19 David Schleef <ds@schleef.org>
21443 * gst/gstminiobject.c: (gst_value_set_mini_object),
21444 (gst_value_take_mini_object), (gst_value_get_mini_object):
21445 * gst/gstminiobject.h: Add GValue set/get functions.
21447 2005-05-19 Wim Taymans <wim@fluendo.com>
21449 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
21450 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
21451 (gst_subbuffer_init), (gst_buffer_is_span_fast):
21453 * gst/gstbus.c: (gst_bus_post):
21454 * gst/gstelement.c: (gst_element_get_random_pad):
21455 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
21456 Make subbufer unref the parent in finalize.
21457 some more debugging info.
21460 2005-05-19 Wim Taymans <wim@fluendo.com>
21462 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21463 (gst_basesink_init), (gst_basesink_finalize),
21464 (gst_basesink_activate), (gst_basesink_change_state):
21465 Don't free preroll queue too early.
21467 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21471 Hi, I'm outdated. Please shoot me.
21473 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21475 * gst/gstpipeline.c: (gst_pipeline_send_event):
21476 Do not access variables after they have been deleted.
21478 2005-05-19 Wim Taymans <wim@fluendo.com>
21480 * tools/gst-inspect.c: (print_plugin_features):
21481 A plugin feature does unfortunatly not use the
21484 2005-05-18 Wim Taymans <wim@fluendo.com>
21486 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
21487 Port _span() functions to new subbuffers.
21489 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21491 * gst/gstbin.c: (gst_bin_add_func):
21492 Fix clock settery in bins when adding kids after the clock has
21495 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21497 * gst/elements/gstidentity.c: (gst_identity_class_init):
21498 Workaround until signals support GstMiniObject.
21500 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
21503 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
21505 2005-05-18 Wim Taymans <wim@fluendo.com>
21507 * gst/base/Makefile.am:
21508 * gst/base/gstadapter.c: (gst_adapter_base_init),
21509 (gst_adapter_class_init), (gst_adapter_init),
21510 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
21511 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
21512 (gst_adapter_flush), (gst_adapter_available),
21513 (gst_adapter_available_fast):
21514 * gst/base/gstadapter.h:
21515 Ported and added adapter to the base classes.
21517 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21520 * gst/gstmessage.c:
21521 Make sure the class is reffed/unreffed once before threads can be
21522 used. Fixes #304551.
21524 2005-05-17 Wim Taymans <wim@fluendo.com>
21526 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
21527 (gst_basesink_chain_unlocked), (gst_basesink_activate):
21528 * gst/gstminiobject.c: (gst_mini_object_get_type),
21529 (gst_mini_object_free):
21530 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
21531 (gst_pad_push), (gst_pad_push_event):
21532 * gst/gstqueue.c: (gst_queue_change_state):
21533 Don't queue buffers in basesink when we are flushing.
21534 Unref buffer when flushing in basesink.
21535 Flush queue when going to READY
21536 Unref buffer when _push() returns an error.
21537 Don't free MiniObject instance when refcount is incremented
21538 in _finalize() so that we can recover objects.
21540 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
21542 * docs/manual/advanced-schedulers.xml:
21543 * docs/manual/appendix-checklist.xml:
21544 * docs/pwg/advanced-clock.xml:
21545 * docs/pwg/advanced-interfaces.xml:
21546 * docs/pwg/advanced-request.xml:
21547 * docs/pwg/advanced-types.xml:
21548 * docs/pwg/intro-preface.xml:
21549 * examples/plugins/example.c: (gst_example_get_type),
21550 (gst_example_class_init), (gst_example_chain),
21551 (gst_example_set_property), (gst_example_get_property),
21552 (gst_example_change_state), (plugin_init):
21553 * examples/plugins/example.h:
21556 2005-05-17 Wim Taymans <wim@fluendo.com>
21558 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
21559 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
21560 * gst/gstqueue.c: (gst_queue_change_state):
21561 Clear queue when going to READY.
21562 Remove IN_SETCAPS flag too.
21564 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
21566 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
21567 Remove implicit cast from gboolean to GstElementStateReturn;
21568 make sure we still return failure in paused => ready case if
21569 the parent class fails to change state and our own stop
21572 2005-05-17 Wim Taymans <wim@fluendo.com>
21574 * tools/gst-launch.c: (event_loop):
21575 Message was unreffed too soon.
21577 2005-05-16 Andy Wingo <wingo@pobox.com>
21579 * gst/gstbin.c (sink_iterator_filter): Err... um...
21581 * check/gst/gstbin.c (test_ghost_pads): New test for the
21582 ghosting-if-elements-not-in-same-bin behavior.
21584 2005-05-16 David Schleef <ds@schleef.org>
21586 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
21587 accessing refcount directly.
21589 2005-05-15 David Schleef <ds@schleef.org>
21591 * check/Makefile.am: remove GstData checks
21592 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
21593 * gst/Makefile.am: add miniobject, remove data
21594 * gst/gst.h: add miniobject, remove data
21595 * gst/gstdata.c: remove
21596 * gst/gstdata.h: remove
21597 * gst/gstdata_private.h: remove
21598 * gst/gsttypes.h: remove GstEvent and GstMessage
21599 * gst/gstelement.c: (gst_element_post_message): fix for API changes
21600 * gst/gstmarshal.list: change BOXED -> OBJECT
21602 Implement GstMiniObject.
21603 * gst/gstminiobject.c:
21604 * gst/gstminiobject.h:
21606 Modify to be subclasses of GstMiniObject.
21607 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
21608 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
21609 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
21610 (gst_subbuffer_get_type), (gst_subbuffer_init),
21611 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
21614 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21615 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21616 (_gst_event_copy), (gst_event_new):
21618 * gst/gstmessage.c: (_gst_message_initialize),
21619 (gst_message_get_type), (gst_message_class_init),
21620 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21621 (gst_message_new), (gst_message_new_error),
21622 (gst_message_new_warning), (gst_message_new_tag),
21623 (gst_message_new_state_changed), (gst_message_new_application):
21624 * gst/gstmessage.h:
21625 * gst/gstprobe.c: (gst_probe_perform),
21626 (gst_probe_dispatcher_dispatch):
21628 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21629 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21630 (_gst_query_copy), (gst_query_new):
21632 Update elements for GstData -> GstMiniObject changes
21634 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21635 (gst_queue_chain), (gst_queue_loop):
21636 * gst/elements/gstbufferstore.c:
21637 (gst_buffer_store_add_buffer_func),
21638 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21639 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21640 (gst_fakesink_render):
21641 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21642 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21643 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21644 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21645 (gst_filesrc_create_read):
21646 * gst/elements/gstidentity.c: (gst_identity_class_init):
21647 * gst/elements/gsttypefindelement.c:
21648 (gst_type_find_element_src_event), (free_entry_buffers),
21649 (gst_type_find_element_handle_event):
21650 * libs/gst/dataprotocol/dataprotocol.c:
21651 (gst_dp_header_from_buffer):
21652 * libs/gst/dataprotocol/dataprotocol.h:
21653 * libs/gst/dataprotocol/dp-private.h:
21655 2005-05-15 David Schleef <ds@schleef.org>
21657 * gst/elements/gstelements.c: Don't include headers that were
21660 2005-05-15 David Schleef <ds@schleef.org>
21662 * gst/elements/Makefile.am: Remove some elements that don't
21663 need to be in the core (or even exist at all).
21664 * gst/elements/gstaggregator.c:
21665 * gst/elements/gstaggregator.h:
21666 * gst/elements/gstmd5sink.c:
21667 * gst/elements/gstmd5sink.h:
21668 * gst/elements/gstmultifilesrc.c:
21669 * gst/elements/gstmultifilesrc.h:
21670 * gst/elements/gstpipefilter.c:
21671 * gst/elements/gstpipefilter.h:
21672 * gst/elements/gstshaper.c:
21673 * gst/elements/gstshaper.h:
21674 * gst/elements/gststatistics.c:
21675 * gst/elements/gststatistics.h:
21676 * po/POTFILES.in: Remove above files.
21678 2005-05-14 Andy Wingo <wingo@pobox.com>
21680 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21681 so as to get the refs right.
21682 (sink_iterator_filter): New function, wraps bin_element_is_sink,
21683 unreffing objects that don't pass the filter.
21685 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21686 gst_element_set_bus.
21687 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21688 normal cases, this will destroy the bus.
21690 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21693 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21696 2005-05-13 Andy Wingo <wingo@pobox.com>
21698 * gst/gstutils.c (gst_element_link_pads): Instead of calling
21699 gst_pad_link, call pad_link_maybe_ghosting,
21700 (pad_link_maybe_ghosting): Links pads, making sure that the
21701 elements being linked are in the same bin.
21702 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21703 Helpers for pad_link_maybe_ghosting.
21705 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21708 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21710 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21712 * docs/design/part-element-source.txt:
21715 2005-05-12 Wim Taymans <wim@fluendo.com>
21717 * gst/base/gstbasesink.c: (gst_basesink_init),
21718 (gst_basesink_activate):
21719 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21720 (gst_basesrc_is_seekable):
21721 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21722 (bin_element_is_sink), (gst_bin_change_state):
21723 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21724 * gst/gstelement.h:
21725 Identify sinks by their flag to avoid overly complicated
21727 Do state changes even for elements not reachable from the
21729 BaseSink is a sink now :)
21730 Some more debugging info in the basesrc.
21733 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21735 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21736 Implement _query on a bin, similar to _send_event.
21738 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
21740 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21741 Discont event offset format should be GST_FORMAT_BYTES,
21742 not GST_FORMAT_TIME.
21744 2005-05-12 Wim Taymans <wim@fluendo.com>
21746 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21747 Same fix as Ronald's but without the signal.
21749 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21751 * gst/gstutils.c: (gst_element_query_position):
21752 No, an element is not a pad.
21754 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21756 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21757 (gst_bin_get_state):
21758 If a child is removed from a bin while we remove the child from
21759 the bin and while we're retrieving its state, signal this to the
21760 get_state function so we abort the wait (instead of waiting for
21761 a timeout) and can immediately re-iterate over all other elements.
21763 2005-05-12 Wim Taymans <wim@fluendo.com>
21765 * gst/base/Makefile.am:
21766 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21767 (gst_basesrc_start):
21768 * gst/base/gstbasesrc.h:
21769 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21770 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21771 (gst_pushsrc_init), (gst_pushsrc_create):
21772 * gst/base/gstpushsrc.h:
21773 Added is_seekable to BaseSrc
21774 Added simple PushSrc.
21776 2005-05-11 Wim Taymans <wim@fluendo.com>
21778 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21779 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21780 (gst_element_link_pads), (gst_element_query_position),
21781 (gst_element_query_convert), (intersect_caps_func),
21782 (gst_pad_query_position), (gst_pad_query_convert):
21783 Fix refcounting in utils function.
21784 No point in trying to activate a pad when it's added, it could
21785 be added from the state change function and then we deadlock, the
21786 element has to decide what to do.
21788 2005-05-10 Andy Wingo <wingo@pobox.com>
21790 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21791 *all* the arguments.
21793 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21794 stream lock if it's a FLUSH_DONE; normal flushes don't get the
21795 lock (according to the docs -- if this is wrong change the docs).
21797 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21798 flush messages in the NULL state.
21800 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21801 message immediately and return.
21802 (gst_bus_set_flushing): New function. If a bus is flushing, it
21803 flushes out any queued messages and immediately unrefs new
21804 messages. This is so when an element goes to NULL, all of the
21805 unhandled messages coming from it can be freed, and their
21806 references to the element dropped. In other words: message source
21807 ref considered harmful :P
21809 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21810 we're finished with it.
21812 * gst/gstmessage.c (gst_message_new_state_changed):
21814 2005-05-10 Wim Taymans <wim@fluendo.com>
21816 * gst/gstvalue.c: (gst_value_compare_flags),
21817 (gst_value_serialize_flags), (gst_value_deserialize_flags),
21818 (_gst_value_initialize):
21819 Added flags serialize/deserialize/compare code.
21821 2005-05-09 Andy Wingo <wingo@pobox.com>
21823 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21824 Intersect the peer's caps with our caps.
21826 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21828 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21829 * gst/elements/gsttypefindelement.c: (find_peek):
21830 Handle negative offsets better. Fixes decodebin.
21832 2005-05-09 Wim Taymans <wim@fluendo.com>
21834 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21835 (gst_base_transform_event):
21836 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21837 Implement accept_caps.
21838 Fix silly lock/unlock mismatch in base class.
21840 2005-05-09 Wim Taymans <wim@fluendo.com>
21842 * docs/design/draft-push-pull.txt:
21843 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21844 * gst/elements/gstfilesink.c: (gst_filesink_init),
21845 (gst_filesink_query):
21846 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21847 (gst_type_find_handle_src_query), (find_element_get_length):
21848 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21849 * gst/gstelement.h:
21850 * gst/gstmessage.c:
21851 * gst/gstmessage.h:
21852 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21853 (gst_real_pad_get_caps_unlocked),
21854 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21855 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21856 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21857 (gst_real_pad_dispose), (gst_real_pad_finalize),
21858 (gst_pad_load_and_link), (gst_pad_save_thyself),
21859 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21860 (gst_pad_check_pull_range), (gst_pad_pull_range),
21861 (gst_pad_template_get_type), (gst_pad_template_class_init),
21862 (gst_pad_template_init), (gst_pad_template_dispose),
21863 (name_is_valid), (gst_static_pad_template_get),
21864 (gst_pad_template_new), (gst_static_pad_template_get_caps),
21865 (gst_pad_template_get_caps), (gst_pad_set_element_private),
21866 (gst_pad_get_element_private), (gst_pad_start_task),
21867 (gst_pad_pause_task), (gst_pad_stop_task),
21868 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21869 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21870 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21871 (gst_ghost_pad_new):
21873 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21874 (gst_query_new_position), (gst_query_set_position),
21875 (gst_query_parse_position), (gst_query_new_convert),
21876 (gst_query_set_convert), (gst_query_parse_convert):
21878 * gst/gstqueryutils.c:
21879 * gst/gstqueryutils.h:
21880 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21881 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21882 (gst_queue_handle_src_query):
21883 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21884 (gst_element_query_position), (gst_element_query_convert),
21885 (intersect_caps_func), (gst_pad_query_position),
21886 (gst_pad_query_convert):
21888 * tools/gst-inspect.c: (print_pad_info):
21889 * tools/gst-xmlinspect.c: (print_element_info):
21890 Remove old query functions. Ported old code.
21891 Added position/convert helper functions to gstutils.
21892 Reordered gstpad.c code, grouping relevant things.
21893 Remove gst_message_new(), always need to speficy a specific
21897 2005-05-09 Andy Wingo <wingo@pobox.com>
21899 * gst/gstiterator.h: Add some includes.
21901 * gst/gstqueryutils.h: Include more headers.
21904 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21905 some uses of gst_pad_query.
21907 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21908 NULL out parameters.
21909 (gst_query_new_position): New proc, allocates a new position
21912 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21913 gstqueryutils.c to the build.
21915 * gst/gststructure.c (gst_structure_set_valist): Implement with
21916 the generic G_VALUE_COLLECT.
21918 2005-05-08 Edward Hervey <bilboed@bilboed.com>
21920 * gst/Makefile.am: (gst_headers):
21921 Added gstqueryutils.h to the list of headers to install, that was
21922 a 'nachty' move wingo :)
21924 2005-05-06 Andy Wingo <wingo@pobox.com>
21927 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21928 GstData, init a memchunk.
21929 (standard_definitions): Add a few query types, deprecate a few.
21930 (gst_query_get_type): New proc.
21931 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21933 (gst_query_new_application, gst_query_get_structure): New public
21936 * docs/design/draft-query.txt: Removed LINKS from the query types,
21937 because all the rest can be dispatched to other pads -- seemed
21938 ugly to have a query that couldn't be dispatched. internal_links
21939 is fine as a pad method.
21941 * gst/gstpad.h: Add query2 as a pad method, add the new functions
21942 in gstpad.c, but maintain binary compatibility for the moment.
21943 Will fix before 0.9 is out.
21945 * gst/gstqueryutils.c:
21946 * gst/gstqueryutils.h: New files, implement 3 methods for each
21947 query type: parse_query, parse_response, and set. Probably need an
21950 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21952 * gst/elements/gstfilesink.c (gst_filesink_query2):
21953 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21954 query_types, and formats methods.
21956 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21957 (gst_pad_set_query2_function): New functions.
21958 (gst_real_pad_init): Set query2_default as the default query2
21959 function. Basically just dispatches to internally linked pads.
21963 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21964 without using the atomic operations. Only one thread can possibly
21965 be accessing the data at this point. Changed so as to avoid
21966 gst_atomic operations.
21968 2005-05-06 Wim Taymans <wim@fluendo.com>
21970 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21971 Also set caps if we use the fallback buffer alloc.
21973 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
21975 * docs/gst/Makefile.am:
21976 * docs/gst/gstreamer-docs.sgml:
21977 * docs/gst/gstreamer-sections.txt:
21978 * docs/gst/tmpl/gstatomic.sgml:
21979 * docs/gst/tmpl/gstmemchunk.sgml:
21980 * testsuite/elements/struct_i386.h:
21981 * win32/GStreamer.vcproj:
21983 Purge GstAtomic stuff from docs and win32 makefiles as well
21985 2005-05-06 Wim Taymans <wim@fluendo.com>
21987 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21988 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21989 * gst/gstpad.c: (gst_pad_peer_get_caps):
21990 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21991 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21992 (gst_queue_src_activate), (gst_queue_change_state):
21994 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21995 (intersect_caps_func):
21996 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21997 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21998 Some fixes for the peer_get_caps() change.
22000 2005-05-06 Wim Taymans <wim@fluendo.com>
22002 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22003 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
22004 (gst_basesink_activate):
22005 Actually do something with error codes returned from the push
22008 2005-05-06 Wim Taymans <wim@fluendo.com>
22010 * docs/design/part-element-sink.txt:
22011 * docs/design/part-element-source.txt:
22012 * gst/base/gstbasesink.c: (gst_basesink_class_init),
22013 (gst_basesink_event), (gst_basesink_activate):
22014 * gst/base/gstbasesink.h:
22015 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
22016 (gst_basesrc_activate):
22017 * gst/base/gstbasesrc.h:
22018 * gst/gstelement.c: (gst_element_pads_activate):
22019 Some more documentation.
22020 Fixed scheduling decision in _pads_activate().
22022 2005-05-05 Andy Wingo <wingo@pobox.com>
22024 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
22027 2005-05-05 Wim Taymans <wim@fluendo.com>
22029 * gst/base/Makefile.am:
22030 * gst/base/gstbasesink.h:
22031 * gst/base/gstbasesrc.c: (gst_basesrc_init),
22032 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
22033 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
22034 (gst_collectpads_class_init), (gst_collectpads_init),
22035 (gst_collectpads_finalize), (gst_collectpads_new),
22036 (gst_collectpads_set_function), (gst_collectpads_add_pad),
22037 (find_pad), (gst_collectpads_remove_pad),
22038 (gst_collectpads_is_active), (gst_collectpads_collect),
22039 (gst_collectpads_collect_range), (gst_collectpads_start),
22040 (gst_collectpads_stop), (gst_collectpads_peek),
22041 (gst_collectpads_pop), (gst_collectpads_available),
22042 (gst_collectpads_read), (gst_collectpads_flush),
22043 (gst_collectpads_chain):
22044 * gst/base/gstcollectpads.h:
22045 * gst/elements/Makefile.am:
22046 * gst/elements/gstelements.c:
22047 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22048 (gst_fakesink_get_times), (gst_fakesink_event),
22049 (gst_fakesink_preroll), (gst_fakesink_render):
22050 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22051 (gst_filesink_init), (gst_filesink_set_location),
22052 (gst_filesink_open_file), (gst_filesink_close_file),
22053 (gst_filesink_pad_query), (gst_filesink_event),
22054 (gst_filesink_render), (gst_filesink_change_state):
22055 * gst/elements/gstfilesink.h:
22056 Added object to help in making collect pad based elements.
22058 Make event function in sink baseclass return gboolean.
22060 2005-05-05 Wim Taymans <wim@fluendo.com>
22062 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
22063 (gst_bin_get_by_name):
22065 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
22066 (gst_clock_finalize):
22067 * gst/gstdata.c: (gst_data_replace):
22069 * gst/gstelement.c: (gst_element_request_pad),
22070 (gst_element_pads_activate):
22071 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
22072 (gst_object_unref):
22073 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22074 (gst_pad_set_checkgetrange_function),
22075 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
22076 (gst_pad_check_pull_range), (gst_pad_pull_range),
22077 (gst_static_pad_template_get_caps), (gst_pad_start_task),
22078 (gst_pad_pause_task), (gst_pad_stop_task):
22079 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
22080 (gst_element_request_pad), (gst_pad_proxy_getcaps):
22081 Fix name lookup in GstBin.
22082 Added _data_replace() function and _buffer_replace()
22083 Use finalize method to clean up clock.
22084 Fix refcounting on request pads.
22085 Fix pad schedule mode error.
22086 Some more object refcounting debug info,
22089 2005-05-04 Andy Wingo <wingo@pobox.com>
22091 * check/Makefile.am:
22092 * docs/gst/tmpl/gstatomic.sgml:
22093 * docs/gst/tmpl/gstplugin.sgml:
22094 * gst/base/gstbasesink.c: (gst_basesink_activate):
22095 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
22096 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
22097 (gst_basesrc_query), (gst_basesrc_set_property),
22098 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
22099 (gst_basesrc_activate):
22100 * gst/base/gstbasesrc.h:
22101 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
22102 (gst_base_transform_src_activate):
22103 * gst/elements/gstelements.c:
22104 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22105 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22106 * gst/elements/gsttee.c: (gst_tee_sink_activate):
22107 * gst/elements/gsttypefindelement.c: (find_element_get_length),
22108 (gst_type_find_element_checkgetrange),
22109 (gst_type_find_element_activate):
22110 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
22111 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
22112 (gst_caps_load_thyself):
22113 * gst/gstelement.c: (gst_element_pads_activate),
22114 (gst_element_save_thyself), (gst_element_restore_thyself):
22115 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
22116 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
22118 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
22119 (gst_xml_parse_file), (gst_xml_parse_memory),
22120 (gst_xml_get_element), (gst_xml_make_element):
22121 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22122 (_file_index_id_save_xml), (gst_file_index_commit):
22123 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
22124 (read_enum), (load_pad_template), (load_feature), (load_plugin),
22126 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
22127 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
22128 * tools/gst-complete.c: (main):
22129 * tools/gst-compprep.c: (main):
22130 * tools/gst-inspect.c: (print_element_properties_info):
22131 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
22132 * tools/gst-xmlinspect.c: (print_element_properties):
22135 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
22137 * gst/gstplugin.c: (gst_plugin_check_module),
22138 (gst_plugin_check_file), (gst_plugin_load_file):
22139 apply patch from #172526 to make register work on MacOSX
22141 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
22143 * docs/gst/tmpl/gstconfig.sgml:
22144 * gst/gstconfig.h.in:
22145 move documentation for some symbols. Add doc for GST_PTR_FORMAT
22146 * testsuite/debug/printf_extension.c: (main):
22147 Do not use GST_PTR_FORMAT on pointers to types with
22148 sizeof < sizeof(gpointer). Fixes test on 64-bit
22149 * testsuite/elements/property.h:
22150 use correct printf format
22152 2005-05-02 Wim Taymans <wim@fluendo.com>
22154 * docs/design/draft-push-pull.txt:
22155 * docs/design/draft-query.txt:
22156 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
22157 (gst_basesrc_start):
22158 Added draft for new query API.
22159 Added draft for better selecting scheduling methods.
22160 Make basesrc ignore length if the subclass does not support
22163 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
22166 possible fixes for automake-1.5 - _LIBADD is reserved
22168 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
22170 * docs/faq/Makefile.am:
22171 * docs/manual/Makefile.am:
22172 * docs/manuals.mak:
22173 * docs/pwg/Makefile.am:
22175 possible fixes for automake-1.5
22177 2005-04-28 Wim Taymans <wim@fluendo.com>
22179 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22180 (gst_basesink_pad_getcaps), (gst_basesink_init),
22181 (gst_basesink_do_sync):
22182 * gst/gstclock.c: (gst_clock_entry_new):
22183 * gst/gstevent.c: (gst_event_discont_get_value):
22184 * gst/gstpipeline.c: (pipeline_bus_handler),
22185 (gst_pipeline_change_state):
22186 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
22187 Better debugging of clocking info.
22188 Allow NULL values when getting discont values.
22190 2005-04-27 Wim Taymans <wim@fluendo.com>
22192 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22193 * check/gst/gstpad.c: (gst_pad_suite):
22194 Increase timeout for checks.
22196 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
22198 * check/Makefile.am:
22199 fix the broken rule for cleanup. Apparently this rule is
22200 only needed on FC2, so maybe this warrants further autotool
22203 2005-04-26 Wim Taymans <wim@fluendo.com>
22205 * gst/gsttrashstack.h:
22206 Ooohh. a nasty one! After having a failed pop() from the stack,
22207 it's possible that the stack is empty. In that case, don't
22208 follow the NULL pointer.
22210 2005-04-25 Wim Taymans <wim@fluendo.com>
22212 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22213 (gst_pad_set_checkgetrange_function),
22214 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
22215 (gst_pad_check_pull_range), (gst_pad_pull_range),
22216 (gst_static_pad_template_get_caps), (gst_pad_start_task),
22217 (gst_pad_pause_task), (gst_pad_stop_task):
22218 * gst/gstplugin.c: (gst_plugin_load):
22220 Remove gst_library_load as it does more harm than good with
22221 the new g_module flags.
22222 Revert bogus caps template check in pad linking, pad caps
22223 are important when linking not the template, which is more
22224 general than the current caps.
22226 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22228 * gst/autoplug/.cvsignore:
22229 * gst/autoplug/Makefile.am:
22230 * gst/autoplug/gstsearchfuncs.c:
22231 * gst/autoplug/gstsearchfuncs.h:
22232 * gst/autoplug/gstspider.c:
22233 * gst/autoplug/gstspider.h:
22234 * gst/autoplug/gstspideridentity.c:
22235 * gst/autoplug/gstspideridentity.h:
22236 * gst/autoplug/spidertest.c:
22239 2005-04-25 Wim Taymans <wim@fluendo.com>
22241 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22242 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22243 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
22244 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
22246 Added stubs for unimplemented functions.
22248 2005-04-24 David Schleef <ds@schleef.org>
22250 * gst/gstpad.h: Disable some unimplemented functions. Wim,
22253 2005-04-24 David Schleef <ds@schleef.org>
22255 Convert everything from GstAtomicInt to g_atomic_int_*, and
22260 * gst/gstatomic_impl.h:
22268 * gst/gstdata_private.h:
22272 * gst/gstmessage.c:
22275 * gst/gststructure.c:
22276 * gst/gststructure.h:
22277 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
22280 2005-04-24 David Schleef <ds@schleef.org>
22282 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
22283 make the regressions tests work. Remove some code that is no
22285 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
22286 Disable warning for pads without templates.
22288 2005-04-24 David Schleef <ds@schleef.org>
22290 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
22291 functions that handle filtered links.
22292 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
22294 * gst/gstutils.c: Fix/remove utility functions that handle
22297 * gst/gstvalue.c: Add serialization/deserialization of caps
22298 * gst/parse/grammar.y: Ignore filtered caps when linking. This
22299 requires fixing so that the filter caps notation creates
22300 a capsfilter element and sets the filter_caps property. I
22301 think everyone probably wants to keep the shorthand notation.
22302 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
22303 * docs/gst/tmpl/gstpad.sgml:
22305 * gst/elements/gstelements.c: Register capsfilter element.
22306 * gst/Makefile.am: fix spacing
22307 * docs/random/ds/0.9-suggested-changes: random
22309 2005-04-23 David Schleef <ds@schleef.org>
22311 * gst/elements/Makefile.am:
22312 * gst/elements/gstcapsfilter.c: New element that acts like an
22313 identity, but filters caps. Will eventually replace filtered
22314 caps in pad linking.
22315 * gst/gstutils.c: (gst_element_create_all_pads): New function
22316 to create all the ALWAYS pads that are registered with an
22317 element class. This functionality should eventually be
22318 merged in with GstElement initialization.
22320 * testsuite/trigger/README: part of trigger test code that should
22321 have been checked in a long time ago.
22323 2005-04-23 David Schleef <ds@schleef.org>
22325 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
22326 needed with new versions of libtool (nobody will confirm this),
22327 and hard to carry around.
22328 * gst/autoplug/Makefile.am:
22329 * gst/base/Makefile.am:
22330 * gst/elements/Makefile.am:
22331 * gst/indexers/Makefile.am:
22332 * gst/schedulers/Makefile.am:
22333 * libs/gst/bytestream/Makefile.am:
22334 * libs/gst/control/Makefile.am:
22335 * libs/gst/dataprotocol/Makefile.am:
22336 * libs/gst/getbits/Makefile.am:
22338 2005-04-21 Wim Taymans <wim@fluendo.com>
22340 * docs/design/draft-push-pull.txt:
22341 * docs/design/part-MT-refcounting.txt:
22342 * docs/design/part-TODO.txt:
22343 * docs/design/part-caps.txt:
22344 * docs/design/part-events.txt:
22345 * docs/design/part-gstbus.txt:
22346 * docs/design/part-gstpipeline.txt:
22347 * docs/design/part-messages.txt:
22348 * docs/design/part-push-pull.txt:
22349 * docs/design/part-query.txt:
22352 2005-04-21 Wim Taymans <wim@fluendo.com>
22354 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
22355 (gst_message_new), (gst_message_new_error),
22356 (gst_message_new_warning), (gst_message_new_tag),
22357 (gst_message_new_state_changed), (gst_message_new_application),
22358 (gst_message_get_structure):
22359 * gst/gstmessage.h:
22360 * gst/gststructure.c: (gst_structure_set_parent_refcount),
22361 (gst_structure_copy_conditional):
22362 Use parent refcount in GstMessage to ensure GstStructure
22364 Cleaned up headers a bit.
22367 2005-04-20 Wim Taymans <wim@fluendo.com>
22369 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22370 (gst_basesink_pad_getcaps), (gst_basesink_init),
22371 (gst_basesink_chain_unlocked):
22372 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
22373 (gst_type_find_helper):
22374 * gst/elements/gsttypefindelement.c:
22375 (gst_type_find_element_have_type), (gst_type_find_element_init),
22376 (stop_typefinding), (gst_type_find_element_handle_event),
22377 (find_suggest), (gst_type_find_element_chain),
22378 (gst_type_find_element_checkgetrange),
22379 (gst_type_find_element_getrange), (do_typefind),
22380 (gst_type_find_element_activate):
22381 * gst/gstbuffer.c: (_gst_buffer_sub_free),
22382 (gst_buffer_default_free), (gst_buffer_default_copy),
22383 (gst_buffer_set_caps):
22384 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
22385 (gst_caps_replace):
22386 * gst/gstmessage.c: (gst_message_new),
22387 (gst_message_new_state_changed):
22388 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22389 (gst_pad_set_checkgetrange_function),
22390 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
22391 (gst_pad_set_caps), (gst_pad_check_pull_range),
22392 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
22394 * gst/gsttypefind.c: (gst_type_find_register):
22395 Make gst_caps_replace() work like other _replace() functions.
22396 Use _caps_replace() where possible.
22397 Make sure _message_new() initialises its field.
22398 Add gst_static_pad_template_get_caps()
22401 2005-04-18 Andy Wingo <wingo@pobox.com>
22403 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
22404 on the peer, not the pad. I think that was a typo. Pass an extra
22405 arg to see if random access is possible. Activate the pads as
22406 PULL_RANGE if possible.
22408 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
22410 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
22411 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
22414 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22416 * docs/faq/using.xml:
22417 Add note on gstreamer-properties (#154996).
22419 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22421 * docs/random/bbb/optional-properties:
22422 Some analysis on optional properties.
22424 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22426 * docs/gst/tmpl/gstelementfactory.sgml:
22427 * gst/gstelement.h:
22428 * gst/gstelementfactory.c: (gst_element_factory_init),
22429 (gst_element_factory_cleanup), (gst_element_register),
22430 (__gst_element_factory_add_static_pad_template),
22431 (gst_element_factory_get_static_pad_templates),
22432 (gst_element_factory_can_src_caps),
22433 (gst_element_factory_can_sink_caps):
22434 * gst/registries/Makefile.am:
22435 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
22436 (gst_xml_registry_class_init), (gst_xml_registry_init),
22437 (gst_xml_registry_new), (gst_xml_registry_set_property),
22438 (gst_xml_registry_get_property), (get_time), (make_dir),
22439 (gst_xml_registry_get_perms_func),
22440 (plugin_times_older_than_recurse), (plugin_times_older_than),
22441 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
22442 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
22443 (add_to_char_array), (read_string), (read_uint), (read_enum),
22444 (load_pad_template), (load_feature), (load_plugin), (load_paths),
22445 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
22446 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
22447 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
22448 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
22449 (gst_xml_registry_rebuild):
22450 * gst/registries/gstlibxmlregistry.h:
22451 * tools/gst-compprep.c: (main):
22452 * tools/gst-inspect.c: (print_pad_templates_info):
22453 * tools/gst-xmlinspect.c: (print_element_info):
22454 Use libxml2 for registry parsing, use staticpadtemplates in
22455 elementfactories. Makes gst_init() +/- 10x faster.
22457 2005-04-12 Wim Taymans <wim@fluendo.com>
22459 * gst/base/Makefile.am:
22460 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22461 (gst_basesink_pad_getcaps), (gst_basesink_init),
22462 (gst_basesink_event), (gst_basesink_change_state):
22463 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22464 (gst_basesrc_init), (gst_basesrc_query),
22465 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22466 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22467 (gst_basesrc_check_get_range), (gst_basesrc_loop),
22468 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22469 (gst_basesrc_stop), (gst_basesrc_activate),
22470 (gst_basesrc_change_state):
22471 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22472 (helper_find_suggest), (gst_type_find_helper):
22473 * gst/base/gsttypefindhelper.h:
22474 * gst/elements/Makefile.am:
22475 * gst/elements/gstelements.c:
22476 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22477 (gst_fakesink_get_times), (gst_fakesink_event),
22478 (gst_fakesink_preroll), (gst_fakesink_render):
22479 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22480 (gst_fakesrc_init), (gst_fakesrc_event_handler),
22481 (gst_fakesrc_get_property), (gst_fakesrc_create),
22482 (gst_fakesrc_start), (gst_fakesrc_stop):
22483 * gst/elements/gstfakesrc.h:
22484 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
22485 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22486 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22487 (gst_filesrc_create_read), (gst_filesrc_create),
22488 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
22489 (gst_filesrc_start):
22490 * gst/elements/gsttypefindelement.c:
22491 (gst_type_find_element_have_type), (gst_type_find_element_init),
22492 (start_typefinding), (stop_typefinding), (push_buffer_store),
22493 (gst_type_find_element_handle_event),
22494 (gst_type_find_element_chain),
22495 (gst_type_find_element_checkgetrange),
22496 (gst_type_find_element_getrange), (do_typefind),
22497 (gst_type_find_element_activate),
22498 (gst_type_find_element_change_state):
22499 * gst/elements/gsttypefindelement.h:
22500 * gst/gstpipeline.c: (pipeline_bus_handler):
22501 Added typefind helper.
22502 Small preroll fix in the base sink.
22503 Disable typefind code in basesrc.
22504 Crude port of typefindelement.
22508 2005-04-11 Wim Taymans <wim@fluendo.com>
22510 * check/gst/gstbus.c: (gstbus_suite):
22511 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
22512 * check/gstcheck.h:
22513 Fix up the timeout so that the test does not fail.
22515 2005-04-06 Wim Taymans <wim@fluendo.com>
22518 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22519 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
22520 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22521 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22522 (gst_basesrc_check_get_range), (gst_basesrc_loop),
22523 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22524 (gst_basesrc_stop), (gst_basesrc_activate),
22525 (gst_basesrc_change_state), (basesrc_find_peek),
22526 (basesrc_find_suggest), (gst_basesrc_type_find):
22527 * gst/base/gstbasesrc.h:
22528 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
22529 (gst_filesrc_class_init), (gst_filesrc_init),
22530 (gst_filesrc_finalize), (gst_filesrc_set_location),
22531 (gst_filesrc_set_property), (gst_filesrc_get_property),
22532 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22533 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22534 (gst_filesrc_create_read), (gst_filesrc_create),
22535 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
22536 * gst/elements/gstfilesrc.h:
22537 * gst/gstelement.c: (gst_element_get_state_func),
22538 (gst_element_lost_state), (gst_element_pads_activate):
22539 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22540 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22541 (gst_pad_pull_range):
22543 More work on the generic source base class, implement seeking,
22545 Make filesrc extend the base source class.
22546 Added gst_pad_set_checkgetrange_function to GstPad.
22548 2005-04-06 Andy Wingo <wingo@pobox.com>
22550 * pkgconfig/gstreamer-base.pc.in:
22551 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
22553 * pkgconfig/Makefile.am:
22554 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
22556 2005-04-04 Wim Taymans <wim@fluendo.com>
22558 * gst/base/Makefile.am:
22560 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22561 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22562 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22563 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
22564 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22565 (gst_basesrc_base_init), (gst_basesrc_class_init),
22566 (gst_basesrc_init), (gst_basesrc_get_formats),
22567 (gst_basesrc_get_query_types), (gst_basesrc_query),
22568 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
22569 (gst_basesrc_set_property), (gst_basesrc_get_property),
22570 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
22571 (gst_basesrc_loop), (gst_basesrc_activate),
22572 (gst_basesrc_change_state):
22573 * gst/base/gstbasesrc.h:
22574 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
22575 (gst_fakesrc_class_init), (gst_fakesrc_init),
22576 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
22577 (gst_fakesrc_get_property), (gst_fakesrc_create):
22578 * gst/elements/gstfakesrc.h:
22579 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
22580 (gst_filesrc_open_file), (gst_filesrc_loop),
22581 (gst_filesrc_activate), (filesrc_find_peek),
22582 (gst_filesrc_type_find):
22583 Made base source class, make fakesrc extend it.
22584 Add comments to basesink class.
22585 Some filesrc cleanup.
22587 2005-03-31 David Schleef <ds@schleef.org>
22589 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
22590 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
22591 expected to link against libgstreamer.
22592 * gst/base/Makefile.am: link against libgstreamer
22593 * gst/elements/Makefile.am: same
22595 2005-03-31 Andy Wingo <wingo@pobox.com>
22597 * tests/instantiate/Makefile.am:
22598 * tests/instantiate/caps.c: Add test to test speed of caps copy
22601 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
22602 GMemChunk to be fair.
22604 * gst/gsttrashstack.h: Remove warning about using the fallback
22605 trash stack implementation, it's still faster than malloc.
22607 2005-03-30 Andy Wingo <wingo@pobox.com>
22609 * tests/complexity.c: Add a copyright.
22611 2005-03-31 Wim Taymans <wim@fluendo.com>
22613 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
22614 (gst_base_transform_class_init), (gst_base_transform_init),
22615 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22616 (gst_base_transform_get_property),
22617 (gst_base_transform_sink_activate),
22618 (gst_base_transform_src_activate),
22619 (gst_base_transform_change_state):
22620 * gst/base/gstbasetransform.h:
22621 * gst/elements/gstidentity.c: (gst_identity_class_init),
22622 (gst_identity_event), (gst_identity_check_perfect),
22623 (gst_identity_transform), (gst_identity_start),
22624 (gst_identity_stop):
22625 Added start/stop methods to transform base class so subclasses
22626 don't need to deal with state changes even.
22628 2005-03-31 Wim Taymans <wim@fluendo.com>
22630 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22631 (gst_event_new_discontinuous), (gst_event_discont_get_value):
22633 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22634 (gst_pad_pull_range):
22635 Added rate to the discont event to prepare for variable speed
22636 and reverse playback.
22638 2005-03-29 David Schleef <ds@schleef.org>
22641 * testsuite/trigger/Makefile.am:
22642 * testsuite/trigger/trigger.c: A little example program to show
22643 how trigger-based elements can work.
22645 2005-03-29 Wim Taymans <wim@fluendo.com>
22647 * gst/base/Makefile.am:
22649 * gst/base/gstbasesink.c: (gst_basesink_get_type),
22650 (gst_basesink_base_init), (gst_basesink_class_init),
22651 (gst_basesink_pad_getcaps), (gst_basesink_init),
22652 (gst_basesink_activate), (gst_basesink_change_state):
22653 * gst/base/gstbasesink.h:
22654 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22655 (gst_base_transform_base_init), (gst_base_transform_finalize),
22656 (gst_base_transform_class_init), (gst_base_transform_init),
22657 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22658 (gst_base_transform_event), (gst_base_transform_getrange),
22659 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22660 (gst_base_transform_set_property),
22661 (gst_base_transform_get_property),
22662 (gst_base_transform_sink_activate),
22663 (gst_base_transform_src_activate),
22664 (gst_base_transform_change_state):
22665 * gst/base/gstbasetransform.h:
22666 * gst/elements/gstidentity.c: (gst_identity_finalize),
22667 (gst_identity_class_init), (gst_identity_init),
22668 (gst_identity_event), (gst_identity_check_perfect),
22669 (gst_identity_transform), (gst_identity_set_property),
22670 (gst_identity_get_property), (gst_identity_change_state):
22671 * gst/elements/gstidentity.h:
22672 * gst/gstelement.c: (gst_element_get_state_func),
22673 (gst_element_lost_state), (gst_element_pads_activate):
22674 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22675 (gst_pad_check_pull_range), (gst_pad_pull_range):
22677 Simplify pad activation.
22678 Added function to check if pull_range can be performed.
22679 Error out when pulling inactive or flushing pads.
22680 Removed const from refcounted types as it does not make sense.
22681 Simplify pad templates in basesink
22682 Added base class for simple 1-to-1 transforms.
22683 Make identity subclass the base transform.
22685 2005-03-29 Andy Wingo <wingo@pobox.com>
22687 * docs/libs/gstreamer-libs-overrides.txt:
22688 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22689 really don't understand what's going on, but like whatever. I want
22692 * docs/gst/Makefile.am:
22693 * docs/libs/Makefile.am: Dist the overrides files.
22695 * check/Makefile.am (clean-local): Remove .libs directories.
22697 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22698 elements to EXTRA_DIST, so po/ files are happy.
22700 * po/POTFILES.in: Er, remove it here.
22702 * po/POTFILES: Remove gstspider.c.
22704 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22706 * docs/libs/gstreamer-libs-docs.sgml:
22707 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22710 * tests/complexity.c (main): Set the length of the preroll queue
22711 on the sinks to prevent a lockup.
22713 * libs/gst/dataprotocol/Makefile.am:
22714 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22715 the same as the one in check/gst-libs/gdp.c.
22717 * po/, docs/gst/: Commit automatic changes to docs and po files.
22719 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22720 the versioned libgstbase.
22722 * check/Makefile.am: Depend on an unversioned gst-register, seems
22723 to make autoconf happier.
22725 * gst/base/Makefile.am: Make libgstbase a versioned lib.
22727 2005-03-28 Wim Taymans <wim@fluendo.com>
22730 * docs/design/part-gstelement.txt:
22731 * docs/design/part-negotiation.txt:
22732 * docs/design/part-preroll.txt:
22733 * docs/design/part-scheduling.txt:
22734 * docs/design/part-states.txt:
22736 * gst/base/Makefile.am:
22738 * gst/base/gstbasesink.c: (gst_basesink_get_template),
22739 (gst_basesink_base_init), (gst_basesink_class_init),
22740 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22741 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22742 (gst_basesink_set_pad_functions),
22743 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22744 (gst_basesink_set_property), (gst_basesink_get_property),
22745 (gst_base_sink_get_template), (gst_base_sink_get_caps),
22746 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22747 (gst_basesink_preroll_queue_push),
22748 (gst_basesink_preroll_queue_empty),
22749 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22750 (gst_basesink_event), (gst_basesink_get_times),
22751 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22752 (gst_basesink_chain_unlocked), (gst_basesink_chain),
22753 (gst_basesink_loop), (gst_basesink_activate),
22754 (gst_basesink_change_state):
22755 * gst/base/gstbasesink.h:
22756 * gst/elements/Makefile.am:
22757 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22758 (gst_fakesink_class_init), (gst_fakesink_init),
22759 (gst_fakesink_set_property), (gst_fakesink_get_property),
22760 (gst_fakesink_get_times), (gst_fakesink_event),
22761 (gst_fakesink_preroll), (gst_fakesink_render),
22762 (gst_fakesink_change_state):
22763 * gst/elements/gstfakesink.h:
22764 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22765 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22766 * gst/gstelement.c: (gst_element_add_pad),
22767 (gst_element_get_state_func), (gst_element_abort_state),
22768 (gst_element_commit_state), (gst_element_lost_state),
22769 (gst_element_set_state), (gst_element_pads_activate):
22770 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22771 * gst/gstpipeline.c: (gst_pipeline_send_event),
22772 (gst_pipeline_change_state):
22773 Added state change code.
22774 Added/updated docs.
22775 Added sink base class, make fakesink extend the base class.
22776 Small cleanups in GstPipeline.
22778 2005-03-26 David Schleef <ds@schleef.org>
22780 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
22781 is broken and should be implemented in a different library.
22782 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22783 * gst/gst.h: remove gstcpu.h
22784 * gst/gstcpu.c: remove
22785 * gst/gstcpu.h: remove
22786 * gst/Makefile.am.future: Remove this file. It's ancient.
22788 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22790 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22791 (gst_bin_send_event):
22792 Add default event/set_manager handlers. The set_manager handler
22793 takes care that the manager is distributed over kids that were
22794 already in the bin before the manager was set. The event handler
22795 is a utility virtual function that sends the event over all sinks,
22796 so that gst_element_send_event (bin, event); has the expected
22798 * gst/gstpad.c: (gst_pad_event_default):
22799 Re-install default event handling for discontinuities, so that
22800 seeking works without requiring hacks in applications or extra
22802 * gst/gstpipeline.c: (gst_pipeline_class_init),
22803 (gst_pipeline_send_event):
22804 Half hack, half utility: set a pipeline to PAUSED for seek events,
22805 since that is the only way we can guarantee a/v sync. Means that
22806 you can do gst_element_seek (pipeline, method, pos); on a pipeline
22807 and it "just works".
22809 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22811 * gst/gstpipeline.c: (gst_pipeline_use_clock):
22812 Lock/unlock mismatch.
22814 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
22816 * docs/faq/gst-uninstalled:
22817 add gst-plugins-base
22818 * docs/gst/Makefile.am:
22819 don't error out until docs are fixed
22820 * docs/gst/gstreamer.types:
22823 2005-03-22 Wim Taymans <wim@fluendo.com>
22825 * check/Makefile.am:
22826 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22827 * gst/gststructure.c: (gst_structure_set_valist),
22828 (gst_structure_copy_conditional):
22829 Activated more tests.
22830 Added message test.
22831 Added G_TYPE_POINTER to GstStructure.
22834 2005-03-22 Wim Taymans <wim@fluendo.com>
22836 * docs/design/part-TODO.txt:
22837 * docs/design/part-events.txt:
22838 * docs/design/part-gstbin.txt:
22839 * docs/design/part-gstbus.txt:
22840 * docs/design/part-gstpipeline.txt:
22841 * docs/design/part-messages.txt:
22843 * gst/gstmessage.c:
22846 2005-03-21 Wim Taymans <wim@fluendo.com>
22848 * gst/gstbus.c: (gst_bus_post):
22849 Fix copy-and-paste error.
22851 2005-03-21 Wim Taymans <wim@fluendo.com>
22853 * check/Makefile.am:
22855 * gst/elements/Makefile.am:
22856 * gst/elements/gstelements.c:
22857 * gst/elements/gstfakesink.c: (gst_fakesink_init),
22858 (gst_fakesink_event), (gst_fakesink_chain):
22859 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22860 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22861 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22862 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22863 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22864 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22865 (gst_fakesrc_loop), (gst_fakesrc_activate),
22866 (gst_fakesrc_change_state):
22867 * gst/elements/gstfakesrc.h:
22868 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22869 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22870 (gst_filesrc_open_file), (gst_filesrc_loop),
22871 (gst_filesrc_activate), (gst_filesrc_change_state),
22872 (filesrc_find_peek), (filesrc_find_suggest),
22873 (gst_filesrc_type_find):
22874 * gst/elements/gstidentity.c: (gst_identity_finalize),
22875 (gst_identity_class_init), (gst_identity_init),
22876 (gst_identity_proxy_getcaps), (identity_queue_push),
22877 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22878 (gst_identity_getrange), (gst_identity_chain),
22879 (gst_identity_sink_loop), (gst_identity_src_loop),
22880 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22881 (gst_identity_set_property), (gst_identity_get_property),
22882 (gst_identity_change_state):
22883 * gst/elements/gstidentity.h:
22884 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22885 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22886 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22887 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22888 (gst_tee_sink_activate):
22889 * gst/elements/gsttee.h:
22890 * gst/gst.c: (gst_register_core_elements), (init_post):
22892 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22893 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22894 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22895 (gst_bin_change_state):
22897 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22898 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22899 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22900 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22901 (gst_bus_set_sync_handler), (gst_bus_create_watch),
22902 (bus_watch_callback), (bus_watch_destroy),
22903 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22904 (poll_timeout), (gst_bus_poll):
22908 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22909 (gst_element_post_message), (gst_element_message_full),
22910 (gst_element_get_state_func), (gst_element_get_state),
22911 (gst_element_abort_state), (gst_element_commit_state),
22912 (gst_element_lost_state), (gst_element_set_state),
22913 (gst_element_pads_activate), (gst_element_change_state),
22914 (gst_element_dispose), (gst_element_set_manager_func),
22915 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22916 (gst_element_set_manager), (gst_element_get_manager),
22917 (gst_element_set_bus), (gst_element_get_bus),
22918 (gst_element_set_scheduler), (gst_element_get_scheduler):
22919 * gst/gstelement.h:
22920 * gst/gstevent.c: (gst_event_new_segment_seek),
22921 (gst_event_new_flush):
22923 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22924 (_gst_message_free), (gst_message_get_type), (gst_message_new),
22925 (gst_message_new_eos), (gst_message_new_error),
22926 (gst_message_new_warning), (gst_message_new_tag),
22927 (gst_message_new_state_changed), (gst_message_new_application),
22928 (gst_message_get_structure), (gst_message_parse_tag),
22929 (gst_message_parse_state_changed), (gst_message_parse_error),
22930 (gst_message_parse_warning):
22931 * gst/gstmessage.h:
22932 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22933 (gst_real_pad_set_property), (gst_pad_set_active),
22934 (gst_pad_is_active), (gst_pad_set_blocked_async),
22935 (gst_pad_set_blocked), (gst_pad_is_blocked),
22936 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22937 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22938 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22939 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22940 (gst_pad_link_filtered), (gst_pad_relink_filtered),
22941 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22942 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22943 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22944 (gst_pad_set_caps), (gst_pad_configure_sink),
22945 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22946 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22947 (gst_real_pad_dispose), (gst_real_pad_finalize),
22948 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22949 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22950 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22952 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22953 (pipeline_bus_handler), (gst_pipeline_change_state),
22954 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22955 * gst/gstpipeline.h:
22957 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22958 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22959 (gst_queue_link_src), (gst_queue_bufferalloc),
22960 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22961 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22962 (gst_queue_loop), (gst_queue_handle_src_event),
22963 (gst_queue_handle_src_query), (gst_queue_src_activate),
22964 (gst_queue_change_state):
22966 * gst/gstscheduler.c: (gst_scheduler_init),
22967 (gst_scheduler_dispose), (gst_scheduler_create_task),
22968 (gst_scheduler_factory_create):
22969 * gst/gstscheduler.h:
22970 * gst/gststructure.c: (gst_structure_get_type),
22971 (gst_structure_copy_conditional):
22972 * gst/gststructure.h:
22973 * gst/gsttaginterface.h:
22974 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22975 (gst_task_init), (gst_task_dispose), (gst_task_create),
22976 (gst_task_get_state), (gst_task_start), (gst_task_stop),
22982 * gst/schedulers/Makefile.am:
22983 * gst/schedulers/cothreads_compat.h:
22984 * gst/schedulers/entryscheduler.c:
22985 * gst/schedulers/faircothreads.c:
22986 * gst/schedulers/faircothreads.h:
22987 * gst/schedulers/fairscheduler.c:
22988 * gst/schedulers/gstbasicscheduler.c:
22989 * gst/schedulers/gstoptimalscheduler.c:
22990 * gst/schedulers/gthread-cothreads.h:
22991 * gst/schedulers/threadscheduler.c:
22992 (gst_thread_scheduler_task_get_type),
22993 (gst_thread_scheduler_task_class_init),
22994 (gst_thread_scheduler_task_init),
22995 (gst_thread_scheduler_task_start),
22996 (gst_thread_scheduler_task_stop),
22997 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22998 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22999 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
23000 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
23002 * libs/gst/Makefile.am:
23003 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
23004 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
23005 (gst_file_pad_parent_set):
23006 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23007 (gst_dp_event_from_packet):
23008 * tests/complexity.c: (main):
23009 * tests/mass_elements.c: (main):
23010 * testsuite/states/locked.c: (message_received), (main):
23011 * testsuite/states/parent.c: (main):
23012 * tools/gst-inspect.c: (print_element_flag_info),
23013 (print_implementation_info), (print_pad_info):
23014 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
23016 * tools/gst-md5sum.c: (event_loop), (main):
23017 * tools/gst-typefind.c: (main):
23018 * tools/gst-xmlinspect.c: (print_element_info):
23020 Added GstBus for mainloop integration.
23021 Added GstMessage for sending notifications on the bus.
23022 Added GstTask as an abstraction for pipeline entry points.
23024 Removed Schedulers.
23025 Simplified GstQueue for multithreaded core.
23026 Made _link threadsafe, removed old capsnego.
23027 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
23028 Added pad blocking functions.
23029 Reworked scheduling functions in GstPad to prepare for
23030 scheduling updates soon.
23031 Moved events out of data stream.
23032 Simplified GstEvent types.
23033 Added return values to push/pull.
23034 Removed clocking from GstElement.
23035 Added prototypes for state change function for next merge.
23036 Removed iterate from bins and state change management.
23037 Fixed some elements, disabled others for now.
23038 Fixed -inspect and -launch.
23039 Added check for GstBus.
23041 2005-03-10 Wim Taymans <wim@fluendo.com>
23043 * docs/design/part-MT-refcounting.txt:
23044 * docs/design/part-clocks.txt:
23045 * docs/design/part-gstelement.txt:
23046 * docs/design/part-gstobject.txt:
23047 * docs/design/part-standards.txt:
23048 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23049 (gst_bin_remove_func), (gst_bin_remove):
23053 * testsuite/clock/clock1.c: (main):
23054 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
23056 * testsuite/dlopen/loadgst.c: (do_test):
23057 * testsuite/refcounting/bin.c: (add_remove_test1),
23058 (add_remove_test2), (main):
23059 * testsuite/refcounting/element.c: (main):
23060 * testsuite/refcounting/element_pad.c: (main):
23061 * testsuite/refcounting/pad.c: (main):
23062 * tools/gst-launch.c: (sigint_handler_sighandler):
23063 * tools/gst-typefind.c: (main):
23065 Added doc about clock.
23066 removed gst_bin_iterate_recurse_up(), marked methods
23068 Fix more testsuites.
23070 2005-03-09 Wim Taymans <wim@fluendo.com>
23072 * gst/gstpad.c: (gst_pad_get_direction),
23073 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
23074 (gst_pad_collect_valist):
23075 * testsuite/bins/interface.c: (main):
23076 * testsuite/caps/audioscale.c: (test_caps):
23077 * testsuite/caps/caps.c: (test1), (test2), (test3):
23078 * testsuite/caps/deserialize.c: (main):
23079 * testsuite/caps/enumcaps.c: (main):
23080 * testsuite/caps/filtercaps.c: (main):
23081 * testsuite/caps/intersect2.c: (main):
23082 * testsuite/caps/random.c: (main):
23083 * testsuite/caps/renegotiate.c: (my_fixate), (main):
23084 * testsuite/caps/sets.c: (check_caps):
23085 * testsuite/caps/simplify.c: (check_caps), (main):
23086 * testsuite/caps/subtract.c: (check_caps):
23087 Fix _pad_get_direction wrt ghostpads.
23088 Fix caps testsuite.
23090 2005-03-09 Wim Taymans <wim@fluendo.com>
23092 * check/Makefile.am:
23093 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
23094 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
23095 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
23096 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
23097 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
23098 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
23099 (gst_bin_remove), (gst_bin_iterate_recurse_up),
23100 (bin_element_is_sink), (gst_bin_iterate_sinks),
23101 (gst_bin_iterate_all_by_interface):
23103 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
23104 (gst_element_change_state), (gst_element_dispose),
23105 (gst_element_finalize), (gst_element_set_loop_function):
23106 * gst/gstelement.h:
23107 * gst/gstiterator.c: (find_custom_fold_func):
23108 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
23109 (gst_pad_collectv), (gst_pad_collect_valist),
23110 (gst_pad_template_new):
23111 * gst/gstpipeline.c: (gst_pipeline_class_init),
23112 (gst_pipeline_dispose), (gst_pipeline_set_property),
23113 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
23114 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
23115 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
23117 * gst/schedulers/entryscheduler.c:
23118 * gst/schedulers/gstbasicscheduler.c:
23119 (gst_basic_scheduler_cothreaded_chain),
23120 (gst_basic_scheduler_chain_add_element):
23121 * testsuite/bins/interface.c: (main):
23123 Added GstSystemClock test.
23124 Implemented clock distribution code in GstBin.
23125 Implemented iterate sinks method for future use.
23126 Rearranged gstelement.h
23127 Fix GstIterator comparison bug.
23128 Moved some code to GstPipeline, mostly clocking related.
23130 2005-03-09 Wim Taymans <wim@fluendo.com>
23133 * gst/gst_private.h:
23134 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23135 (gst_bin_remove_func), (gst_bin_remove),
23136 (gst_bin_get_by_name_recurse_up):
23137 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
23138 (gst_clock_id_compare_func), (gst_clock_id_wait),
23139 (gst_clock_id_wait_async), (gst_clock_init),
23140 (gst_clock_adjust_unlocked), (gst_clock_get_time):
23141 * gst/gstelement.h:
23142 * gst/gstinfo.c: (_gst_debug_init):
23144 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
23145 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
23147 Bump version number, we're now 0.9.0
23148 Add future debugging category.
23149 Fix NULL _unref() in _get_by_name_recurse_up
23150 Rearrange gstpad.h.
23153 2005-03-08 Wim Taymans <wim@fluendo.com>
23155 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
23156 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
23157 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23158 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
23159 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
23160 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
23161 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
23162 * gst/elements/gstidentity.c: (gst_identity_class_init):
23163 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
23164 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
23165 * gst/elements/gstshaper.c: (gst_shaper_class_init):
23166 * gst/elements/gststatistics.c: (gst_statistics_class_init):
23167 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
23169 * gst/gstelement.c: (gst_element_class_init),
23170 (gst_element_base_class_init), (gst_element_init),
23171 (gst_element_get_random_pad), (gst_element_wait_state_change),
23172 (gst_element_change_state), (gst_element_dispose),
23173 (gst_element_finalize), (gst_element_set_loop_function):
23174 * gst/gstelement.h:
23175 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
23176 * gst/gstthread.c: (gst_thread_class_init),
23177 (gst_thread_release_children_locks), (gst_thread_change_state):
23178 * gst/schedulers/gstbasicscheduler.c:
23179 (gst_basic_scheduler_loopfunc_wrapper),
23180 (gst_basic_scheduler_chain_wrapper),
23181 (gst_basic_scheduler_src_wrapper),
23182 (gst_basic_scheduler_remove_element):
23183 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
23184 Remove threadsafe properties. Fix elements because GObject
23185 complains when installing a property before declaring a
23186 set/get_property handler.
23187 Rearrange gstelement.h file, use STATE macros for state locks.
23188 Free mutexes in the finalize method instead of dispose.
23190 2005-03-08 Wim Taymans <wim@fluendo.com>
23192 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23193 * gst/gstthread.c: (gst_thread_release_children_locks):
23194 Added parentage check.
23195 Fix build og GstThread again.
23197 2005-03-08 Wim Taymans <wim@fluendo.com>
23199 * docs/design/part-MT-refcounting.txt:
23200 * docs/design/part-conventions.txt:
23201 * docs/design/part-gstobject.txt:
23202 * docs/design/part-relations.txt:
23203 * docs/design/part-standards.txt:
23204 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23205 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
23206 (gst_bin_get_by_name), (gst_bin_get_by_interface),
23207 (gst_bin_iterate_all_by_interface):
23210 * gst/gstelement.c: (gst_element_class_init),
23211 (gst_element_change_state), (gst_element_set_loop_function):
23212 * gst/gstelement.h:
23213 * gst/gstiterator.c:
23214 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
23215 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
23216 (gst_object_dispatch_properties_changed), (gst_object_set_name),
23217 (gst_object_set_parent), (gst_object_unparent),
23218 (gst_object_check_uniqueness):
23220 Docs updates, clean up some headers.
23222 2005-03-07 Wim Taymans <wim@fluendo.com>
23224 * check/.cvsignore:
23225 * check/Makefile.am:
23226 * check/gst-libs/.cvsignore:
23227 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
23228 * check/gst/.cvsignore:
23229 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
23230 (START_TEST), (gstbus_suite), (main):
23231 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
23232 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
23233 (gst_data_suite), (main):
23234 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
23235 (add_fold_func), (gstiterator_suite), (main):
23236 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
23237 (thread_name_object), (thread_name_object_default),
23238 (gst_object_name_compare), (gst_object_suite), (main):
23239 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
23240 (gst_pad_suite), (main):
23241 * check/gstcheck.c: (gst_check_log_message_func),
23242 (gst_check_log_critical_func), (gst_check_init):
23243 * check/gstcheck.h:
23244 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
23245 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
23248 2005-03-07 Wim Taymans <wim@fluendo.com>
23250 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23251 (gst_list_iterator_next), (gst_list_iterator_resync),
23252 (gst_list_iterator_free), (gst_iterator_new_list),
23253 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
23254 (gst_iterator_free), (gst_iterator_push), (filter_next),
23255 (filter_resync), (filter_uninit), (filter_free),
23256 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
23257 (gst_iterator_foreach), (find_custom_fold_func),
23258 (gst_iterator_find_custom):
23259 * gst/gstiterator.h:
23260 Added missing files.
23262 2005-03-07 Wim Taymans <wim@fluendo.com>
23266 * docs/design/part-MT-refcounting.txt:
23267 * docs/design/part-conventions.txt:
23268 * docs/design/part-gstobject.txt:
23269 * docs/design/part-relations.txt:
23270 * examples/mixer/mixer.c: (main):
23271 * examples/thread/thread.c: (eos), (main):
23273 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
23274 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
23275 (gst_spider_plug_from_srcpad):
23276 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
23277 (gst_spider_identity_change_state),
23278 (gst_spider_identity_sink_loop_type_finding):
23279 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
23280 * gst/elements/gstidentity.c: (gst_identity_init):
23281 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
23282 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
23283 * gst/elements/gsttypefindelement.c: (free_entry):
23286 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
23287 (gst_bin_set_clock_func), (gst_bin_auto_clock),
23288 (gst_bin_set_index), (gst_bin_set_element_sched),
23289 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
23290 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
23291 (gst_bin_iterate_elements), (iterate_child_recurse),
23292 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
23293 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
23294 (compare_interface), (gst_bin_get_by_interface),
23295 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
23297 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
23298 (gst_buffer_default_free), (gst_buffer_default_copy),
23299 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
23300 (gst_buffer_create_sub):
23302 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
23303 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
23304 (gst_caps_unref), (gst_static_caps_get),
23305 (gst_caps_remove_and_get_structure), (gst_caps_append),
23306 (gst_caps_append_structure), (gst_caps_remove_structure),
23307 (gst_caps_copy_nth), (gst_caps_set_simple),
23308 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
23309 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
23310 (gst_caps_structure_intersect_field), (gst_caps_intersect),
23311 (gst_caps_structure_subtract_field), (gst_caps_subtract),
23312 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
23313 (gst_caps_structure_figure_out_union),
23314 (gst_caps_switch_structures), (gst_caps_do_simplify),
23315 (gst_caps_replace), (gst_caps_from_string),
23316 (gst_caps_copy_conditional):
23318 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
23319 (_gst_clock_id_free), (gst_clock_id_unref),
23320 (gst_clock_id_compare_func), (gst_clock_id_wait),
23321 (gst_clock_id_wait_async), (gst_clock_class_init),
23322 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
23323 (gst_clock_get_time), (gst_clock_set_time_adjust),
23324 (gst_clock_set_property), (gst_clock_get_property):
23327 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
23328 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
23330 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
23331 (gst_element_requires_clock), (gst_element_provides_clock),
23332 (gst_element_set_clock), (gst_element_clock_wait),
23333 (gst_element_wait), (gst_element_set_time_delay),
23334 (gst_element_is_indexable), (gst_element_add_pad),
23335 (gst_element_add_ghost_pad), (gst_element_remove_pad),
23336 (pad_compare_name), (gst_element_get_static_pad),
23337 (gst_element_request_pad), (gst_element_get_request_pad),
23338 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
23339 (gst_element_class_get_pad_template_list),
23340 (gst_element_class_get_pad_template), (gst_element_error_func),
23341 (gst_element_get_random_pad), (gst_element_get_event_masks),
23342 (gst_element_send_event), (gst_element_seek),
23343 (gst_element_get_query_types), (gst_element_query),
23344 (gst_element_get_formats), (gst_element_convert),
23345 (gst_element_is_locked_state), (gst_element_set_locked_state),
23346 (gst_element_sync_state_with_parent), (gst_element_change_state),
23347 (gst_element_finalize), (gst_element_yield),
23348 (gst_element_interrupt), (gst_element_set_scheduler),
23349 (gst_element_get_scheduler), (gst_element_set_loop_function):
23350 * gst/gstelement.h:
23352 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
23353 (gst_format_get_by_nick), (gst_format_get_details),
23354 (gst_format_iterate_definitions):
23356 * gst/gstindex.c: (gst_index_gtype_resolver):
23359 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
23360 (gst_mem_chunk_free):
23361 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
23362 (gst_object_ref), (gst_object_unref), (gst_object_sink),
23363 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
23364 (gst_object_dispatch_properties_changed),
23365 (gst_object_set_name_default), (gst_object_set_name),
23366 (gst_object_get_name), (gst_object_set_name_prefix),
23367 (gst_object_get_name_prefix), (gst_object_set_parent),
23368 (gst_object_get_parent), (gst_object_unparent),
23369 (gst_object_check_uniqueness), (gst_object_save_thyself),
23370 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
23371 (gst_object_set_property), (gst_object_get_property),
23372 (gst_object_get_path_string):
23374 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23375 (gst_real_pad_init), (gst_real_pad_get_property),
23376 (gst_pad_custom_new), (gst_pad_get_direction),
23377 (gst_pad_set_active), (gst_pad_is_active),
23378 (gst_pad_set_event_function), (gst_pad_is_linked),
23379 (gst_pad_link_free), (gst_pad_link_intersect),
23380 (gst_pad_link_fixate), (gst_pad_set_caps),
23381 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
23382 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
23383 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
23384 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
23385 (gst_pad_get_caps), (gst_pad_peer_get_caps),
23386 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
23387 (gst_pad_realize), (gst_pad_get_allowed_caps),
23388 (gst_real_pad_dispose), (gst_real_pad_finalize),
23389 (gst_pad_collectv), (gst_pad_collect_valist),
23390 (gst_pad_template_dispose), (gst_pad_template_new),
23391 (gst_pad_get_internal_links):
23393 * gst/gstpipeline.c: (gst_pipeline_dispose),
23394 (gst_pipeline_change_state):
23395 * gst/gstpipeline.h:
23397 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
23398 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
23399 * gst/gstpluginfeature.h:
23400 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
23401 * gst/gstquery.c: (_gst_query_type_initialize),
23402 (gst_query_type_register), (gst_query_type_get_by_nick),
23403 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
23405 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
23406 * gst/gstscheduler.c: (gst_scheduler_add_element),
23407 (gst_scheduler_factory_create):
23408 * gst/gststructure.c: (gst_structure_set_parent_refcount),
23409 (gst_structure_free), (gst_structure_set_name),
23410 (gst_structure_id_set_value), (gst_structure_set_value),
23411 (gst_structure_set_valist), (gst_structure_remove_field),
23412 (gst_structure_remove_fields),
23413 (gst_structure_remove_fields_valist),
23414 (gst_structure_remove_all_fields), (gst_structure_foreach),
23415 (gst_structure_map_in_place),
23416 (gst_caps_structure_fixate_field_nearest_int),
23417 (gst_caps_structure_fixate_field_nearest_double):
23418 * gst/gststructure.h:
23419 * gst/gstsystemclock.c: (gst_system_clock_class_init),
23420 (gst_system_clock_init), (gst_system_clock_dispose),
23421 (gst_system_clock_async_thread),
23422 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
23423 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
23424 * gst/gstsystemclock.h:
23425 * gst/gsttag.c: (gst_tag_list_add_value_internal),
23426 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
23427 * gst/gsttaginterface.c:
23428 * gst/gstthread.c: (gst_thread_dispose),
23429 (gst_thread_release_children_locks), (gst_thread_change_state),
23430 (gst_thread_main_loop):
23431 * gst/gsttrashstack.h:
23432 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
23434 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23435 (gst_element_request_pad), (gst_element_get_pad_from_template),
23436 (gst_element_request_compatible_pad),
23437 (gst_element_get_compatible_pad_filtered),
23438 (gst_element_get_compatible_pad), (gst_element_state_get_name),
23439 (gst_element_link_pads_filtered), (gst_element_link_filtered),
23440 (gst_element_link_many), (gst_element_link),
23441 (gst_element_link_pads), (gst_element_unlink_pads),
23442 (gst_element_unlink_many), (gst_element_unlink),
23443 (gst_pad_can_link_filtered), (gst_pad_can_link),
23444 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
23445 (gst_object_default_error), (gst_bin_add_many),
23446 (gst_bin_remove_many), (gst_element_populate_std_props),
23447 (gst_element_class_install_std_props), (gst_buffer_merge),
23448 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
23449 (link_fold_func), (gst_pad_proxy_setcaps):
23451 * gst/gstvalue.c: (gst_value_deserialize_string):
23452 * gst/parse/grammar.y:
23453 * gst/schedulers/gstbasicscheduler.c:
23454 (gst_basic_scheduler_cothreaded_chain),
23455 (gst_basic_scheduler_chain_recursive_add),
23456 (gst_basic_scheduler_pad_link):
23457 * gst/schedulers/gstoptimalscheduler.c:
23458 (get_group_schedule_function),
23459 (gst_opt_scheduler_state_transition),
23460 (gst_opt_scheduler_add_element), (element_get_reachables_func):
23461 * libs/gst/bytestream/bytestream.c:
23462 * libs/gst/dataprotocol/dataprotocol.c:
23463 (gst_dp_header_from_buffer):
23466 * tests/threadstate/threadstate2.c: (eos):
23467 * tools/gst-compprep.c: (main):
23468 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
23469 (print_pad_info), (print_children_info):
23470 * tools/gst-launch.c: (idle_func), (main):
23471 * tools/gst-md5sum.c: (idle_func), (main):
23472 * tools/gst-xmlinspect.c: (print_element_info):
23473 First THREADED backport attempt, focusing on adding locks and
23474 making sure the API is threadsafe. Needs more work. More docs
23477 2005-02-24 Andy Wingo <wingo@pobox.com>
23479 * tests/bench-complexity.scm:
23480 * tests/complexity.gnuplot: New files, good for running complexity
23483 * tests/Makefile.am:
23484 * tests/complexity.c: New test, sets up N elements, at each level
23485 teeing into M streams per element. Eeeenteresting.
23487 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
23488 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
23489 running bench-mass_elements.scm.
23491 * tests/bench-mass_elements.scm: New script, runs mass_elements
23492 for various numbers of identities, outputting the results to a
23493 file. Requires guile 1.6. Just for testing.
23495 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
23497 * gst/schedulers/fairscheduler.c:
23498 compile with debug disabled
23500 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
23503 hunting season on 0.9 is now OPEN