1 2007-05-12 David Schleef <ds@schleef.org>
4 Add GST_DISABLE_OPTION_PARSING, in order to disable option
5 parsing for embedded systems.
6 * gst/gstelementfactory.c:
7 Allow gst_element_register() to be called with plugin==NULL.
8 Did nobody notice that static elements were broken?
10 2007-05-12 Wim Taymans <wim@fluendo.com>
12 * tools/gst-launch.c: (event_loop):
13 Give more interesting info when buffering starts and stops.
14 Fix case where buffering starts but we fail to update the buffering flag
15 because the target state is not PLAYING.
17 2007-05-12 Wim Taymans <wim@fluendo.com>
19 * plugins/elements/gstqueue.c: (gst_queue_init),
20 (gst_queue_finalize), (update_time_level), (apply_segment),
21 (apply_buffer), (gst_queue_locked_flush),
22 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
23 (gst_queue_handle_sink_event), (gst_queue_chain),
24 (gst_queue_push_one), (gst_queue_loop):
25 * plugins/elements/gstqueue.h:
26 Refactor an cleanup queue a bit.
27 Do better time level calculations that also work when the srcpad is not
29 Remove some unneeded debug lines.
31 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
32 Added testcase for time level measurement.
33 Try to make some stuff more racefree.
35 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
37 * gst/gsturi.c: (gst_element_make_from_uri):
38 Don't leak plugin feature.
40 * tests/check/Makefile.am:
41 * tests/check/gst/.cvsignore:
42 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
43 Add brain-dead unit test.
45 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
47 Patch by: Jeroen Wouters <woutersj at gmail com>
49 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
50 Treat protocol strings in a case-insensitive way (#437563).
52 2007-05-11 Michael Smith <msmith@fluendo.com>
54 * gst/gstplugin.c: (gst_plugin_load_file):
55 * gst/gstregistry.c: (gst_registry_scan_path_level):
56 Don't print a g_warning for any failure to load a shared object.
57 Instead, push this down into gstplugin.c, and warn _only_ if we
58 failed to open the module (i.e. failure to link).
59 Avoids warnings on normal, working, non-plugin .so files.
61 2007-05-11 Stefan Kost <ensonic@users.sf.net>
63 * gst/gstplugin.c (gst_plugin_load_file):
64 * gst/gstregistry.c (GST_CAT_DEFAULT,
65 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
66 Print a g_warning if there was an error when loading a plugins during
67 registry scan. The shuld help beginners starting with gst-plugin
70 2007-05-10 Wim Taymans <wim@fluendo.com>
72 * plugins/elements/gstqueue.c: (gst_queue_class_init),
73 (update_time_level), (gst_queue_locked_flush),
74 (gst_queue_handle_sink_event), (gst_queue_chain),
75 (gst_queue_push_one), (gst_queue_loop):
76 * plugins/elements/gstqueue.h:
77 Be smarter when calculating the current amount of data in the queue by
78 measuring the difference between start and end timestamps (in running
79 time) inside the queue. Fixes #432876.
80 API: GstQueue::pushing to notify elements that we are pushing data again
81 since the running signal is rather broken for this purpose.
83 2007-05-10 Stefan Kost <ensonic@users.sf.net>
85 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
86 gst_queue_base_init, gst_queue_init):
89 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
91 * win32/common/libgstreamer.def:
92 Add new exported functions.
93 * win32/vs6/grammar.dsp:
94 Use grammar pre-generated files.
96 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
98 Based on patch by: Peter Kjellerstedt <pkj at axis com>
101 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
103 * gst/gstutils.c: (gst_parse_bin_from_description):
105 Maintain API and ABI when --disable-parse is used. Now that
106 we have an appropriate error code, we can just return NULL and the
107 appropriate error when gst_parse_launch() is used despite it having
108 been disabled (#342564).
110 * tests/check/Makefile.am:
111 * tests/check/pipelines/.cvsignore:
112 * tests/check/pipelines/parse-disabled.c:
113 Make sure these functions exist and return NULL plus a GError when
114 --disable-parse is used.
116 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
118 * tests/benchmarks/complexity.c: (main):
119 * tests/benchmarks/mass-elements.c: (main):
120 Set a good example and don't leak messages.
122 2007-05-06 Stefan Kost <ensonic@users.sf.net>
124 * docs/gst/Makefile.am:
125 * docs/libs/Makefile.am:
126 Correct fixxrefs options.
128 * docs/plugins/Makefile.am:
129 * docs/plugins/gstreamer-plugins-docs.sgml:
130 * docs/plugins/gstreamer-plugins-sections.txt:
131 * plugins/elements/Makefile.am:
132 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
133 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
134 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
135 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
136 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
137 _GstCapsFilterClass, trans_class):
138 * plugins/elements/gstelements.c (name, rank, type, _elements):
139 * plugins/elements/gstidentity.c
140 (gst_identity_check_imperfect_timestamp,
141 gst_identity_check_imperfect_offset):
142 Document capsfilter and add doc-blurb to identity.
144 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
146 * libs/gst/controller/gstcontroller.c:
147 (gst_controlled_property_set_interpolation_mode):
148 * libs/gst/controller/gstinterpolation.c:
149 Don't crash if someone tries to set an interpolation mode that
150 is invalid or that isn't supported yet. Fixes #422295.
152 * tests/check/libs/controller.c: (GST_START_TEST),
153 (gst_controller_suite):
154 Add a test case for the above.
156 2007-05-03 Edward Hervey <edward@fluendo.com>
158 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
159 Properly set the last_stop position on GstSegment. This will only happen
160 if there is a buffer to push out.
162 2007-05-03 Wim Taymans <wim@fluendo.com>
164 * libs/gst/base/gstbasetransform.c:
165 (gst_base_transform_buffer_alloc):
166 always_in_place does not mean that the sink and source caps are the
167 same! Make sure we don't blindly proxy the buffer_alloc in this case.
169 2007-05-03 Wim Taymans <wim@fluendo.com>
171 * docs/libs/gstreamer-libs-sections.txt:
172 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
173 (gst_base_src_default_query), (gst_base_src_get_range):
174 * libs/gst/base/gstbasesrc.h:
175 API: gst_base_src_query_latency(). Added method so that subclasses can
176 easily get the latency values of the base source class.
178 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
180 * tools/gst-inspect.c (print_implementation_info):
183 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
186 * tools/gst-launch.1.in:
187 Don't create a customised man page based on the host architecture,
188 describe the default registry path generically. That way the man
189 page is the same for all architectures and packagers have one
190 multilib issue less to deal with. Fixes #434926.
192 2007-05-02 Wim Taymans <wim@fluendo.com>
195 Fix documentation as spotted by rg on IRC.
197 2007-04-29 Stefan Kost <ensonic@users.sf.net>
200 Improve docs for gst_element_{link,unlink}.
202 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
204 * docs/design/part-events.txt:
205 * docs/design/part-overview.txt:
209 * libs/gst/base/gstbasesink.c:
210 Typo fixes; minor docs addition.
212 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
214 * docs/gst/gstreamer-sections.txt:
215 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
216 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
218 API: Add gst_uri_protocol_is_supported(), which checks if an sink
219 or src that supports a given URI protocol exists.
221 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
223 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
224 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
225 Set the location to NULL if "file://" is set as URI. Otherwise
226 some random previous URI would still be set if "file://" is
227 set on an already used filesink/filesrc.
229 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
231 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
232 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
233 Special case the "file://" URI as as this is used by some
234 applications to test with gst_element_make_from_uri if there's
235 an element that supports the URI protocol.
236 Also move the g_path_is_absolute() check for the location part
237 of the URI to also check this for "file://localhost/bla" URIs.
239 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
241 * docs/gst/gstreamer-sections.txt:
242 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
244 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
246 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
248 2007-04-26 Stefan Kost <ensonic@users.sf.net>
250 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
251 (gst_registry_binary_load_pad_template),
252 (gst_registry_binary_load_plugin),
253 (gst_registry_binary_read_cache):
254 * gst/gstregistrybinary.h:
255 Implement no-mmap alternative for registry reading. Do code cleanups.
256 Add more comments about avoiding strdups for all text data. Comments
259 2007-04-25 Stefan Kost <ensonic@users.sf.net>
261 * gst/gstregistrybinary.h (GstBinaryPluginElement,
262 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
263 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
264 Comment structs and reformat to fix the build (that stuff should go
265 into a priv. header).
267 2007-04-25 Stefan Kost <ensonic@users.sf.net>
269 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
270 (gst_registry_binary_load_feature):
271 * gst/gstregistrybinary.h:
272 Refactor so that we can implement multiple features. Add support for
273 TypeFindFactory features.
275 2007-04-24 Stefan Kost <ensonic@users.sf.net>
277 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
280 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
282 2007-04-23 Stefan Kost <ensonic@users.sf.net>
284 * gst/gstbin.c: (gst_bin_element_set_state),
285 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
286 (bin_handle_async_done), (gst_bin_handle_message_func):
287 Fix build with --gst-disable-gst-debug
289 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
291 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
292 Make sure streaming has finished before calling the ::stop() vfunc,
293 since that vfunc might clear state which is being used in the
294 streaming thread. This fixes a race that caused crashes in
295 audioresample when shutting down a pipeline (#420106).
297 2007-04-20 Stefan Kost <ensonic@users.sf.net>
299 * docs/gst/gstreamer-sections.txt:
300 That was one byte missing.
302 2007-04-20 Stefan Kost <ensonic@users.sf.net>
305 * docs/gst/gstreamer-sections.txt:
307 * gst/gstconfig.h.in:
308 * gst/gstobject.c: (gst_object_class_init),
309 (gst_signal_object_class_init):
311 2nd attempt to have a xml-less build as a joined effort of #413123
314 2007-04-20 Stefan Kost <ensonic@users.sf.net>
316 * docs/design/draft-tagreading.txt:
317 Added open issues/thoughts to draft.
319 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
321 * gst/parse/grammar.tab.pre.c:
322 * gst/parse/grammar.tab.pre.h:
323 * gst/parse/lex._gst_parse_yy.pre.c:
324 Update the prebuild parser sources.
326 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
328 * gst/parse/Makefile.am:
329 And now fix the building of the flex sources. Now everything should
332 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
334 * gst/parse/Makefile.am:
335 Now hopefully fix the build failures by setting proper rule
336 dependencies and moving instead of copying.
338 2007-04-19 Stefan Kost <ensonic@users.sf.net>
340 * tests/benchmarks/complexity.gnuplot:
341 * tests/benchmarks/complexity.scm:
342 * tests/benchmarks/mass-elements.gnuplot:
343 * tests/benchmarks/mass-elements.scm:
344 Total licensification.
346 2007-04-19 Stefan Kost <ensonic@users.sf.net>
348 * gst/parse/Makefile.am:
349 Fix the build by correcting the rule that gave wrong files to flex.
351 2007-04-19 Stefan Kost <ensonic@users.sf.net>
353 * tests/benchmarks/complexity.c:
354 * tests/benchmarks/mass-elements.c:
355 Change licence to LGPL as granted by Benjamin and Andy.
357 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
359 * gst/parse/Makefile.am:
360 Add correct grammar.tab.h dependency if compiling without new enough
363 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
365 * gst/parse/Makefile.am:
366 Fix typo and use outdated sources if the flex/bison sources are newer
367 than the pregenerated ones but flex is too old. Print a warning in
368 that case. This should fix the build on the build bot.
370 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
372 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
373 * gst/parse/Makefile.am:
374 * gst/parse/grammar.y:
376 Make the parser reentrant and recursively callable. This requires flex
377 >= 2.5.31, for older versions pregenerated sources are used as we
378 can't bump the build dependency. Finally fixes #349180.
380 * gst/gstparse.c: (gst_parse_launch):
381 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
384 * docs/gst/Makefile.am:
385 * docs/gst/Makefile.am:
386 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
387 (__gst_parse_strfree), (__gst_parse_link_new),
388 (__gst_parse_link_free), (__gst_parse_chain_new),
389 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
390 (gst_parse_element_set), (gst_parse_free_link),
391 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
392 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
394 * gst/parse/grammar.tab.pre.h:
395 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
396 (yy_get_previous_state), (yy_try_NUL_trans), (input),
397 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
398 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
399 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
400 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
401 (_gst_parse_yypop_buffer_state),
402 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
403 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
404 (yy_fatal_error), (_gst_parse_yyget_extra),
405 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
406 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
407 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
408 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
409 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
410 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
411 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
412 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
413 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
414 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
416 If the installed flex version is too old use pre-generated parser
417 sources. These pre-generated parser sources are always updated when
418 the actual flex/bison sources change but require everybody who wants
419 to change something in the parser to have flex >= 2.5.31 installed.
421 2007-04-18 Stefan Kost <ensonic@users.sf.net>
423 * common/m4/gst-gettext.m4:
424 * gst/gst-i18n-lib.h:
425 Make --disable-nls to work
427 2007-04-17 Wim Taymans <wim@fluendo.com>
429 * gst/gstconfig.h.in:
430 Revert previous change that broke the build.
432 2007-04-17 Stefan Kost <ensonic@users.sf.net>
436 * gst/gstconfig.h.in:
437 Drop libxml2 dependency when building with
438 --enable-binary-registry --disable-loadsave
440 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
442 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
443 (gst_registry_binary_read_cache):
444 * gst/gstregistrybinary.h:
445 Remove unnecessary <sys/mman.h> include which broke the win32 build
446 with MingW; move includes from header file to .c file, even if the
447 header file isn't installed; use g_strerror() where UTF-8 strings
448 are expected, such as in GST_DEBUG messages.
450 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
452 * docs/libs/gstreamer-libs-sections.txt:
453 Remove bogus addition for API I didn't end up keeping.
455 * libs/gst/base/gstbasesrc.h:
456 Mention Since: 0.10.13 in the documentation.
458 Add the API keyword to the previous ChangeLog entry.
460 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
462 * docs/libs/gstreamer-libs-sections.txt:
463 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
464 (gst_base_src_default_prepare_seek_segment),
465 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
466 * libs/gst/base/gstbasesrc.h:
467 Allow basesrc derived classes to execute seeks in other formats
468 by providing a prepare_seek_segment vmethod. Sub-classes can choose
469 to prepare the GstSegment in any format that their perform_seek method
470 will be able to understand. The default implementation provides the
471 old behaviour of attempting to convert the seek offsets to the
472 configured native format.
474 API: basesrc::prepare_seek_segment vmethod.
476 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
478 * gst/gstelement.c: (gst_element_get_state_func):
479 Don't output the same debug statement twice.
481 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
482 (gst_adapter_peek), (gst_adapter_take_buffer):
483 Optimise the case where we have buffers at the head of the queue that
484 can be joined quickly (because they're contiguous sub-buffers) by
485 merging them together rather than copying data out into new memory.
487 * gst/parse/grammar.y:
488 * tests/check/pipelines/parse-launch.c:
489 Fix a leak in an error path for parse_launch, and add a check
490 for it to the testsuite.
492 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
494 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
495 Don't deadlock when releasing a pad - gst_pad_set_active may try
496 and take the multiqueue lock too.
498 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
500 * gst/gsterror.c: (_gst_core_errors_init):
502 API: add GST_CORE_ERROR_DISABLED (#392804).
504 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
506 * docs/faq/gst-uninstalled:
507 don't get empty paths on the PATH variables
508 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
509 Don't format for the uncommon terminal width of 84 characters.
511 2007-04-06 Wim Taymans <wim@fluendo.com>
513 * gst/gstpipeline.c: (reset_stream_time),
514 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
515 Only try to select a different pipeline clock when we went back to
516 PAUSED and not when we merely got flushed.
518 2007-04-05 Michael Smith <msmith@fluendo.com>
520 * tools/gst-launch.1.in:
521 fractions are better supported in gstreamer than ractions, so
524 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
526 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
530 Added Danish translation.
532 2007-04-05 Wim Taymans <wim@fluendo.com>
534 * libs/gst/base/gstbasesink.c:
535 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
536 Fix leak caused when refusing newsegment after EOS.
538 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
539 (gst_fake_sink_init), (gst_fake_sink_set_property),
540 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
541 (gst_fake_sink_render), (gst_fake_sink_change_state):
542 * plugins/elements/gstfakesink.h:
543 Add num-buffers property to make the element generate EOS after a
544 configurable amount of buffers.
545 API: fakesink::num-buffers property.
547 * tests/check/elements/fakesink.c: (GST_START_TEST),
549 Fix GstBus leak in test.
550 Test for fakesink num-buffers.
552 2007-04-05 Wim Taymans <wim@fluendo.com>
554 * libs/gst/base/gstbasesink.c:
555 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
556 (gst_base_sink_change_state):
557 Don't accept anything after an EOS, return UNEXPECTED instead.
559 * tests/check/elements/fakesink.c: (GST_START_TEST),
561 Unit test for new EOS behaviour.
563 2007-04-05 Wim Taymans <wim@fluendo.com>
565 * gst/gstelement.c: (gst_element_get_request_pad):
566 Make padtemplates also work when they don't contain %s or %d.
568 2007-04-05 Wim Taymans <wim@fluendo.com>
570 * docs/gst/gstreamer-sections.txt:
571 * gst/gstclock.c: (gst_clock_adjust_unlocked),
572 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
574 Improve _adjust_unlocked() so that it overflows less.
575 Add gst_clock_unadjust_unlocked to convert from external time to
576 internal time based on calibration.
578 API: GstClock::gst_clock_unadjust_unlocked()
580 2007-04-03 Wim Taymans <wim@fluendo.com>
582 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
584 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
585 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
586 when releasing sink pad. Fixes #425400.
588 2007-04-02 Stefan Kost <ensonic@users.sf.net>
590 * docs/random/ensonic/dynlink.txt:
591 More work on proposal for new core api.
593 * docs/libs/gstreamer-libs-sections.txt:
594 * libs/gst/base/gstbasetransform.h:
595 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
597 * libs/gst/controller/gstcontroller.c:
598 (on_object_controlled_property_changed),
599 (gst_controller_sync_values),
600 (gst_controller_set_interpolation_mode):
601 * libs/gst/controller/gstcontroller.h:
602 Less verbose logging add docs for unimplemented parts and correctly
603 return when using unavailable parts.
605 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
607 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
608 Move all the debug to the CLOCK category, and associate it with
611 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
613 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
614 Make take_buffer a bit quicker by removing redundant checks
615 caused by calling gst_adapter_take.
617 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
619 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
622 * tests/check/Makefile.am:
623 * tests/check/elements/.cvsignore:
624 * tests/check/elements/multiqueue.c: (setup_multiqueue),
625 (GST_START_TEST), (multiqueue_suite):
626 Add some dead simple unit tests for the 'multiqueue' element
627 (some bits don't work yet and are disabled for now).
629 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
631 * gst/gstelement.c: (gst_element_get_request_pad),
632 (gst_element_class_get_request_pad_template):
633 Make gst_element_get_request_pad() create request pads only for
634 request pad templates and not for, say, sometimes pad templates.
636 2007-03-28 Stefan Kost <ensonic@users.sf.net>
638 * docs/design/draft-klass.txt:
639 Add example that needs more thinking.
641 * docs/design/draft-missing-plugins.txt:
642 More thoughts about wrapper plugins.
644 * docs/random/ensonic/embedded.txt:
645 * docs/random/ensonic/profiling.txt:
648 2007-03-25 Wim Taymans <wim@fluendo.com>
650 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
652 Only push the segment events in the PLAYING state for live sources.
654 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
656 * gst/gstpipeline.c: (gst_pipeline_change_state):
657 Modify the clock distribution path in PAUSED->PLAYING so that we
658 never attempt to choose a new clock unless we're actually leaving
659 the PAUSED state for the first time. This prevents choosing a
660 different clock when the state_change gets called for a 2nd time due
661 to some element doing an async state change.
663 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
665 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
666 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
667 (gst_pad_chain_unchecked), (gst_pad_push):
668 Revert last commit. This needs some more thoughts.
670 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
672 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
673 (gst_pad_chain_unchecked), (gst_pad_push):
674 Check in set_caps if the caps are compatible with the pad and remove
675 two functions that are redundant now. Fixes #421543.
677 2007-03-22 Wim Taymans <wim@fluendo.com>
679 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
680 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
681 Unref some more to make valgrind happy.
683 2007-03-22 Wim Taymans <wim@fluendo.com>
685 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
686 (gst_system_clock_id_wait_jitter),
687 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
688 Fix anoying regression that survived a few releases. When adding an
689 async entry while blocking on a sync entry, the sync entry will unblock
690 but still be busy, so it should continue to wait instead of returning
692 Add some comments here and there.
694 * tests/check/gst/gstsystemclock.c: (mixed_thread),
695 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
696 Add testcase for this.
698 2007-03-22 Wim Taymans <wim@fluendo.com>
700 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
701 Handle errors from the clock sync better, only UNSCHEDULED indicates a
702 WRONG_STATE and can silently pause the task. All other cases should
705 2007-03-22 Wim Taymans <wim@fluendo.com>
707 Patch by: <syrjala at sci dot fi>
709 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
710 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
713 2007-03-21 Michael Smith <msmith@fluendo.com>
715 * docs/pwg/advanced-types.xml:
716 Fix some errors in the typefinding docs pointed out on irc.
718 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
720 * libs/gst/base/gstbasesrc.c:
721 Clarify FIXME comment in the face of having added unlock_stop()
723 2007-03-21 Wim Taymans <wim@fluendo.com>
725 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
726 Prepare for release where we warn against possible app breakage in the
727 case of live pipelines along with an env var to enable/disable live
728 preroll mode (GST_COMPAT=[no-]live-preroll).
730 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
732 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
733 So we should use correct constants for checking for None offset.
735 2007-03-20 Wim Taymans <wim@fluendo.com>
737 * docs/design/part-block.txt:
738 Mention the fact that the newly switched element should be set to at
741 2007-03-20 Wim Taymans <wim@fluendo.com>
744 Fix compilation with registry disabled as spotted by Saur.
746 2007-03-20 Wim Taymans <wim@fluendo.com>
748 Patch by: Olivier Crete <tester at tester dot ca>
750 * gst/gstelement.c: (gst_element_sync_state_with_parent):
751 Look at the pending state too when syncing the element state to the
752 parent. Fixes #420133.
754 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
756 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
757 (gst_base_sink_change_state):
758 * libs/gst/base/gstbasesink.h:
759 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
760 (gst_base_src_default_event), (gst_base_src_unlock_stop),
761 (gst_base_src_deactivate):
762 * libs/gst/base/gstbasesrc.h:
763 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
764 for sub-classes to correctly clear any state they set trying to
765 unlock, such as clearing out unlock commands from a command fd.
767 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
768 (gst_fd_sink_render), (gst_fd_sink_unlock),
769 (gst_fd_sink_unlock_stop):
770 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
771 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
772 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
774 Implement unlock_stop in fdsrc and fdsink.
775 Implement seeking in fdsrc when a seekable fd is passed, as in
776 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
778 2007-03-19 Wim Taymans <wim@fluendo.com>
780 Patch by: Evan Nemerson <evan at coeus dash group dot com>
782 * gst/gstelement.c: (gst_element_class_init):
783 Fix pad-added and pad-removed signal signatures so that the pad type is
784 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
786 2007-03-19 Wim Taymans <wim@fluendo.com>
788 * docs/gst/gstreamer-sections.txt:
789 Add new element field and method.
791 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
792 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
793 (gst_bin_recalc_state), (gst_bin_get_state_func),
794 (gst_bin_element_set_state), (gst_bin_change_state_func),
795 (gst_bin_continue_func), (bin_bus_handler),
796 (bin_push_state_continue), (bin_handle_async_start),
797 (bin_handle_async_done), (gst_bin_handle_message_func):
798 Make async state changes a bit smarter by using new ASYNC_START and
799 ASYNC_DONE messages. This reduces the number of times we run the state
800 recalculation thread.
801 Don't change state of element with a pending ASYNC_START message.
802 Deprecate STATE_DIRTY messages.
804 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
805 (gst_element_get_state_func), (gst_element_continue_state),
806 (gst_element_lost_state), (gst_element_set_state_func),
807 (gst_element_change_state):
809 Keep the state that was last set by the app in a new element field.
810 Don't allow state changes when handling an element event.
811 Post ASYNC_START and ASYNC_DONE messages.
812 Change lost_state so that we go to PAUSED and wait for the parent to set
813 us to PLAYING again (so latency calculation can be performed)
814 Export gst_element_change_state() method so that subclasses can use it.
815 API: gst_element_change_state()
816 API: GST_STATE_TARGET
818 * gst/gstpipeline.c: (gst_pipeline_class_init),
819 (reset_stream_time), (gst_pipeline_change_state),
820 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
821 Using the new ASYNC_START message we can reset the base_time when
822 needed. This can then be used to implement base_time redistribution in
823 flushing seeks so that we can remove the explicit seek handling.
824 Perform latency query and configuration when going to PLAYING.
826 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
827 (gst_base_sink_query), (gst_base_sink_change_state):
828 Post new ASYNC_START/ASYNC_DONE messages.
830 * tests/check/generic/sinks.c: (GST_START_TEST):
831 Fix test because the bin will not set the async element to PLAYING right
834 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
835 Make the message check a little stronger.
836 Handle ASYNC messages.
838 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
839 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
840 Expect ASYNC_DONE messages.
842 2007-03-19 Wim Taymans <wim@fluendo.com>
844 * docs/gst/gstreamer-sections.txt:
845 * gst/gstmessage.c: (gst_message_new_async_start),
846 (gst_message_new_async_done), (gst_message_parse_info),
847 (gst_message_parse_async_start):
849 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
852 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
854 * tools/gst-inspect.c:
855 (print_plugin_automatic_install_info_codecs):
856 Now that we don't check for the 'Codec' keyword any longer in the
857 klass, we shouldn't spew a warning if the klass isn't a decoder or
858 encoder (since it might be a Source/Network, for example).
860 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
862 * tools/gst-inspect.c:
863 (print_plugin_automatic_install_info_codecs):
864 Don't require decoder/demuxer/depayloader elements or
865 encoder/muxer/paylader elements to have 'Codec' as part of their
866 factory class string when introspecting a plugin's capabilities.
867 draft-klass.txt mentions that it might be removed in future, and
868 flump3dec doesn't have it as part of its class string, so chances
869 are others might also not have it.
871 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
893 Update translations from translation project
895 2007-03-14 Stefan Kost <ensonic@users.sf.net>
897 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
898 (gst_child_proxy_set_property):
899 Invert precondition check to be alike the ones in the mimiced gobject
902 2007-03-13 Stefan Kost <ensonic@users.sf.net>
904 * docs/design/draft-tagreading.txt:
905 * docs/random/ensonic/audiobaseclasses.txt:
906 Do some Architect work.
908 * gst/gstobject.c: (gst_object_set_name):
912 Add docs that point from gst_pad_get_range to gst_pad_pull_range
914 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
916 * gst/gstsystemclock.c: (gst_system_clock_init),
917 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
918 Defer starting the async system clock thread until the first async
919 wait is scheduled. Fixes #414986.
921 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
923 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
924 (gst_single_queue_free):
925 Fix small leak (free GstSingleQueue structure too, not only contents).
927 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
929 * gst/gstbin.c:(gst_bin_add):
930 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
931 * win32/common/libgstbase.def:
932 * win32/common/libgstreamer.def:
933 Add new exported functions.
935 2007-03-09 Wim Taymans <wim@fluendo.com>
937 * docs/plugins/gstreamer-plugins-sections.txt:
940 2007-03-09 Wim Taymans <wim@fluendo.com>
942 * docs/gst/gstreamer-sections.txt:
943 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
945 Add metadata copy functions. Fixes #393099.
947 * gst/gstutils.c: (gst_buffer_stamp):
948 * libs/gst/base/gstbasetransform.c:
949 (gst_base_transform_prepare_output_buffer):
950 Use new metadata copy functions.
952 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
954 * plugins/elements/gstidentity.c: (gst_identity_class_init),
955 (gst_identity_init), (gst_identity_check_perfect),
956 (gst_identity_check_imperfect_timestamp),
957 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
958 (gst_identity_set_property), (gst_identity_get_property):
959 * plugins/elements/gstidentity.h:
960 Separate out check-imperfect-timestamp and check-imperfect-offset.
961 Put back check-perfect as it was to keep compatibility.
963 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
965 * gst/gstelement.c: (gst_element_dispose):
966 There's no need to warn if VOID_PENDING is not NONE here, as
967 long as the state is NULL it's ok, and that's checked immediately
970 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
972 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
973 Fix check for perfect stream to ignore buffers with -1
974 offsets/offset ends when checking data contiguity.
976 2007-03-08 Wim Taymans <wim@fluendo.com>
978 * tools/gst-launch.c: (event_loop):
981 2007-03-08 Wim Taymans <wim@fluendo.com>
983 * libs/gst/base/gstbasetransform.c:
984 (gst_base_transform_sink_eventfunc),
985 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
986 (gst_base_transform_activate):
987 * libs/gst/base/gstbasetransform.h:
988 Add support for dropping buffers with custom GstFlowReturn.
989 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
990 buffers or dropped buffers.
992 * docs/libs/gstreamer-libs-sections.txt:
993 docs for new custom return code.
995 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
996 Use drop support in base class to implement drop-probability.
998 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
1000 * gst/gst.c: (load_plugin_func):
1001 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
1002 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1003 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
1004 Remove newlines at end of debug log strings.
1006 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1008 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1009 Only post bus message at max, once per buffer received.
1011 2007-03-07 Wim Taymans <wim@fluendo.com>
1013 * docs/design/Makefile.am:
1014 * docs/design/part-synchronisation.txt:
1015 Add doc about synchronisation
1017 * docs/design/draft-latency.txt:
1018 * docs/design/part-TODO.txt:
1019 * docs/design/part-clocks.txt:
1020 * docs/design/part-events.txt:
1021 * docs/design/part-gstbus.txt:
1022 * docs/design/part-gstpipeline.txt:
1023 * docs/design/part-live-source.txt:
1024 * docs/design/part-messages.txt:
1025 * docs/design/part-overview.txt:
1026 * docs/design/part-streams.txt:
1027 * docs/design/part-trickmodes.txt:
1028 Documentation updates.
1030 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1033 Update the doap file.
1035 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1037 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
1038 Rename non-perfect to imperfect for Mike and for the sanctity of the
1040 Also make sure bus message gets emitted for data-incontiguities.
1042 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
1044 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
1045 (gst_identity_start):
1046 * plugins/elements/gstidentity.h:
1047 Emit bus message if check-perfect is true and we encounter a
1048 non-perfect stream between 2 consecutive buffers.
1051 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1056 === release 0.10.12 ===
1058 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
1061 releasing 0.10.12, "Inevitable Demise"
1063 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
1066 Version 0.10.11.2 (0.10.12 pre-release)
1067 Bump libtool versioning.
1069 2007-03-01 Stefan Kost <ensonic@users.sf.net>
1071 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1072 Log flow-names and not numbers.
1074 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
1077 Convert to new AG_GST style.
1079 2007-02-28 Wim Taymans <wim@fluendo.com>
1081 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
1082 Don't unref query twice.
1084 2007-02-28 Wim Taymans <wim@fluendo.com>
1086 * gst/gstvalue.c: (gst_value_transform_object_string),
1087 (_gst_value_initialize):
1088 Implement GstObject -> string transform so we print object names
1089 when serializing GValues containing GstObjects.
1091 2007-02-28 Wim Taymans <wim@fluendo.com>
1093 * docs/gst/gstreamer-sections.txt:
1094 Add new stuff to docs.
1096 2007-02-28 Wim Taymans <wim@fluendo.com>
1098 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1099 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
1100 (gst_base_sink_change_state):
1101 Improve latency query code.
1102 Don't leak latency events.
1104 * tests/check/gst/gstbin.c: (GST_START_TEST):
1107 2007-02-28 Wim Taymans <wim@fluendo.com>
1109 * gst/gstelement.c: (gst_element_message_full),
1110 (gst_element_get_state_func):
1112 Improve docs a little. Added Since: for new macro.
1114 * gst/gstobject.c: (gst_object_sink):
1115 * gst/gstpipeline.c: (gst_pipeline_change_state),
1116 (gst_pipeline_set_new_stream_time):
1117 * gst/gstpipeline.h:
1118 Improve debugging and docs.
1120 * gst/gstutils.c: (gst_element_state_change_return_get_name):
1123 2007-02-28 Wim Taymans <wim@fluendo.com>
1125 * gst/gstelement.c: (gst_element_message_full),
1126 (gst_element_set_locked_state), (gst_element_get_state_func),
1127 (gst_element_change_state):
1128 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
1129 Documentation updates.
1130 Small code cleanups.
1132 * gst/gstmessage.c: (gst_message_new_info),
1133 (gst_message_parse_info):
1135 API: gst_message_new_info()
1136 API: gst_message_parse_info()
1137 Add INFO message create and parse code.
1139 2007-02-28 Wim Taymans <wim@fluendo.com>
1141 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
1142 (bin_query_latency_done):
1143 Also report the live parameter of a latency query.
1145 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
1147 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
1148 Copy the current generic/states example from -base and adapt so
1149 we can use the exact same code everywhere.
1150 Check a STATES_IGNORE_ELEMENTS env var which can be used
1151 to ignore certain element factories for this test, which is
1152 what is being done in -base
1153 * tests/check/Makefile.am:
1154 Mention this environment variable.
1156 2007-02-27 Wim Taymans <wim@fluendo.com>
1158 * docs/gst/gstreamer-sections.txt:
1159 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
1160 (gst_bus_timed_pop), (gst_bus_pop):
1162 API: gst_bus_timed_pop()
1163 Implement gst_bus_timed_pop() to do a blocking timed wait for a
1164 message to arrive on the bus.
1166 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
1168 Two unit tests for new _timed_pop() function.
1170 2007-02-23 Wim Taymans <wim@fluendo.com>
1172 * gst/gstpipeline.c: (gst_pipeline_change_state),
1173 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
1174 Don't ref a NULL clock in _provide_clock_func().
1175 Don't allow an INVALID delay.
1176 Don't try to calculate base_time with an invalid start_time.
1177 Also distribute and notify a NULL clock when it was selected.
1179 * tools/gst-launch.c: (event_loop):
1180 Don't crash when a NULL clock was selected in the pipeline.
1182 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
1184 * docs/design/Makefile.am:
1185 * docs/design/draft-missing-plugins.txt:
1186 * docs/random/draft-missing-plugins.txt:
1187 Some small updates: update plugin system identifier prefix
1188 ('gstreamer.net' to 'gstreamer'), mention our new install
1189 API in libgstbaseutils rather than libgimme-codec, add
1190 reference to the online docs.
1192 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1194 * win32/common/config.h:
1195 Pretty sure Bill never made a powerpc version. Powerpc hackers,
1196 use moap cl ci to only check in what is mentioned in the ChangeLog.
1198 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1200 * docs/gst/gstreamer-sections.txt:
1202 Fix up documentation to link to the correct GstGError section.
1203 Add GST_ELEMENT_INFO macro since someone else added a Info message.
1205 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1207 * tools/gst-launch.c: (event_loop):
1208 Make sure that we actually show the important message part of a
1210 No need to check if the gerror is not NULL to free; first of all
1211 g_free accepts NULL; and second the default error handler would
1212 segfault if gerror was NULL.
1214 2007-02-21 Wim Taymans <wim@fluendo.com>
1216 * docs/gst/gstreamer-sections.txt:
1217 Removed docs as well.
1219 2007-02-21 Wim Taymans <wim@fluendo.com>
1221 * gst/gstmessage.c: (gst_message_parse_duration):
1223 Remove new messages for release.
1225 2007-02-20 Wim Taymans <wim@fluendo.com>
1227 * docs/design/part-gstghostpad.txt:
1228 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
1229 (gst_ghost_pad_new_full):
1230 Make the ghostpad a parent of the internal pad again for better backward
1231 compatibility. Don't write code that relies on this however.
1233 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1234 (gst_pad_link_check_hierarchy):
1235 Require that parents should be GstElements in the hierarchy check.
1237 2007-02-20 Wim Taymans <wim@fluendo.com>
1239 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
1240 (gst_bin_change_state_func), (bin_query_min_max_init),
1241 (bin_query_latency_fold), (bin_query_latency_done),
1244 Implement latency query.
1246 2007-02-20 Wim Taymans <wim@fluendo.com>
1248 * docs/design/part-gstghostpad.txt:
1249 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
1250 (gst_ghost_pad_internal_do_activate_push),
1251 (gst_ghost_pad_internal_do_activate_pull),
1252 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1253 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
1254 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
1255 Do not set the internal pad as a parent anymore so we can avoid
1256 hierarchy linking errors when the ghostpad has no parent yet. This also
1257 fixes failed activation because of unlinked internal pads, which in
1258 turn fixes the impossible case where you have to activate a pad before
1259 you can add it to a running element.
1262 * gst/gstpad.c: (pre_activate), (post_activate),
1263 (gst_pad_set_active), (gst_pad_activate_pull),
1264 (gst_pad_activate_push), (gst_pad_check_pull_range):
1265 Add some more debug info.
1266 Mark activation mode in pre_activate so that we don't try to activate in
1267 endless loops. Fixes #385084.
1269 2007-02-19 Wim Taymans <wim@fluendo.com>
1271 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1272 (gst_base_transform_check_get_range):
1273 Implement a checkgetrange function instead of relying on the default
1274 core behaviour that assumes we can operate in pull mode if we have a
1275 getrange function. First step at fixing #385084.
1277 2007-02-15 Stefan Kost <ensonic@users.sf.net>
1279 * gst/gstchildproxy.h:
1280 * libs/gst/base/gstbasesink.h:
1281 * libs/gst/base/gstbasesrc.h:
1282 * libs/gst/base/gstbasetransform.h:
1283 More docs coverage and some ChangeLog surgery (add missing names)
1285 2007-02-15 Wim Taymans <wim@fluendo.com>
1287 * docs/design/part-TODO.txt:
1288 * docs/design/part-activation.txt:
1289 * docs/design/part-block.txt:
1290 * docs/design/part-buffering.txt:
1291 * docs/design/part-clocks.txt:
1292 * docs/design/part-element-source.txt:
1293 * docs/design/part-events.txt:
1294 * docs/design/part-gstbin.txt:
1295 * docs/design/part-gstbus.txt:
1296 * docs/design/part-gstpipeline.txt:
1297 * docs/design/part-live-source.txt:
1298 * docs/design/part-messages.txt:
1299 * docs/design/part-overview.txt:
1300 * docs/design/part-qos.txt:
1301 * docs/design/part-query.txt:
1302 * docs/design/part-states.txt:
1303 * docs/design/part-trickmodes.txt:
1304 Some doc updates. Start renaming from stream_time to running_time where
1305 it was used wrongly.
1307 2007-02-15 Wim Taymans <wim@fluendo.com>
1309 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1310 Answer LATENCY query.
1312 2007-02-15 Wim Taymans <wim@fluendo.com>
1314 * tests/check/gst/gstevent.c: (event_probe), (test_event),
1318 2007-02-15 Wim Taymans <wim@fluendo.com>
1320 * gst/gstpad.c: (gst_pad_get_internal_links_default),
1321 (gst_pad_dispatcher):
1322 Improve debugging of default pad dispatcher and query functions.
1324 2007-02-15 Wim Taymans <wim@fluendo.com>
1326 * docs/gst/gstreamer-sections.txt:
1327 Remove old unused method.
1329 2007-02-13 Wim Taymans <wim@fluendo.com>
1331 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1334 2007-02-13 Wim Taymans <wim@fluendo.com>
1336 * docs/design/part-seeking.txt:
1339 * gst/gstsegment.c: (gst_segment_set_seek):
1340 Revert old bogus change that should make seeking work again.
1342 2007-02-13 Stefan Kost <ensonic@users.sf.net>
1344 * docs/random/ensonic/dynlink.txt:
1345 * docs/random/ensonic/interfaces.txt:
1346 * docs/random/ensonic/receipies.txt:
1347 Possible dynamic reconnection api, plus some type fixes the other two
1350 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
1352 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1353 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1354 Also check for an absolute path following file:// in the filesrc
1355 element. Remove redundant check and call g_path_is_absolute() on the
1358 2007-02-13 Stefan Kost <ensonic@users.sf.net>
1360 * docs/design/draft-klass.txt:
1361 Add existing category analysis.
1364 Fix doc example, framerate is a fraction.
1366 2007-02-12 Stefan Kost <ensonic@users.sf.net>
1369 * docs/gst/Makefile.am:
1370 * docs/gst/gstreamer-sections.txt:
1371 * docs/libs/Makefile.am:
1372 Erm, forgot a bunch of --extra-dir.
1374 2007-02-12 Stefan Kost <ensonic@users.sf.net>
1377 * docs/gst/Makefile.am:
1378 * docs/libs/Makefile.am:
1379 * docs/plugins/Makefile.am:
1380 Add crossreferences to glib/gobject docs.
1382 2007-02-12 Wim Taymans <wim@fluendo.com>
1384 * docs/design/draft-latency.txt:
1387 * docs/libs/gstreamer-libs-sections.txt:
1388 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1389 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
1390 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
1391 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
1392 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
1393 (gst_base_sink_get_position), (gst_base_sink_query),
1394 (gst_base_sink_change_state):
1395 * libs/gst/base/gstbasesink.h:
1396 API: gst_base_sink_query_latency() to let subclasses query the upstream
1398 API: gst_base_sink_get_latency() to let subclasses query the configured
1399 latency in the sink.
1400 Implement query and set latency.
1402 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
1403 don't continue preroll when we are flushing. Fixes #405284.
1405 * tests/check/pipelines/stress.c: (change_state_timeout),
1406 (quit_timeout), (GST_START_TEST), (stress_suite):
1409 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
1411 Patch by: René Stadler <mail at renestadler de>
1413 * docs/gst/gstreamer-sections.txt:
1414 * gst/gsttaglist.c: (_gst_tag_initialize):
1416 API: add GST_TAG_REFERENCE_LEVEL (#403597).
1418 2007-02-11 Stefan Kost <ensonic@users.sf.net>
1420 * docs/libs/Makefile.am:
1421 Fix path to core docs.
1423 * gst/gstbin.c: (gst_bin_get_by_interface),
1424 (gst_bin_iterate_all_by_interface):
1425 Refix docs by also renaming 'interface' to 'iface' in implementation.
1427 * docs/gst/gstreamer-sections.txt:
1429 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1430 * gst/gstchildproxy.h:
1431 * gst/gstelementfactory.c:
1432 * gst/gstpadtemplate.h:
1433 * libs/gst/controller/gstcontroller.c:
1434 (gst_controlled_property_new):
1437 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
1439 * gst/gstbin.h:(gst_bin_get_by_interface),
1440 (gst_bin_iterate_all_by_interface):
1441 Replace interface parameter name by iface as interface is
1442 a reserved keyword in Visual Studio for C++ projects so it removes
1443 a build error for application developpers using VS.
1444 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
1445 Fix a bug on Windows in uri format check. Now the prefix checked
1446 is file:// and next we check if the path after file:// is absolute.
1447 * win32/common/libgstbase.def:
1448 * win32/common/libgstdataprotocol.def:
1449 * win32/common/libgstgstreamer.def:
1450 Add new exported functions.
1452 2007-02-09 Andy Wingo <wingo@pobox.com>
1454 * tests/check/pipelines/simple-launch-lines.c
1455 (simple_launch_lines_suite, test_tee): Disable tee test until I
1456 have time to fix it :-(
1458 * tests/check/Makefile.am (noinst_HEADERS):
1459 * tests/check/libs/libsabi.c:
1460 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1461 * tests/check/gst/gstabi.c:
1462 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1464 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1465 tests for push and pull tee behavior.
1467 * plugins/elements/gsttee.h:
1468 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1469 mark as deprecated as well as unimplemented. It was a crack idea.
1470 Add support for tee operating in pull mode, off by default.
1472 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1473 normal-case logs down to LOG, raise errors to WARNING.
1474 (gst_registry_xml_read_cache): Don't log before calling a function
1477 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1478 exit (registry finalize).
1479 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1480 DEBUG log when we emit signals that people don't even have the
1481 chance to connect to.
1482 (gst_registry_scan_path_level): Less logging in the normal case.
1484 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1486 Patch by: Michal Benes <michal dot benes at itonis dot tv>
1488 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1489 Correctly generate EOS for non-seekable files. We don't have a total
1490 length for them and would get an unexpected end of file if we only
1491 special-cased for regular files. (Fixes: #404569)
1493 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1495 * tests/check/elements/filesrc.c: (GST_START_TEST),
1497 Add unit test for the GstURIHandler interface in filesrc. This also
1498 tests the newly added file://localhost/foo/bar support.
1500 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
1502 * gst/gstelementfactory.h:
1503 The klass string is not a hierarchy. Add reference to the design doc
1504 for more information and common types.
1506 2007-02-02 Wim Taymans <wim@fluendo.com>
1508 * gst/gstquery.c: (gst_query_new_latency):
1509 Remove old structure field.
1511 2007-02-02 Stefan Kost <ensonic@users.sf.net>
1513 * tools/gst-launch.1.in:
1514 Give example for network streaming (#351998)
1516 2007-02-02 Wim Taymans <wim@fluendo.com>
1518 * docs/gst/gstreamer-sections.txt:
1519 Add docs for new methods.
1521 * gst/gstevent.c: (gst_event_new_latency),
1522 (gst_event_parse_latency):
1524 Add new LATENCY event to configure latency in a pipeline.
1525 API: gst_event_new_latency
1526 API: gst_event_parse_latency
1528 * gst/gstmessage.c: (gst_message_new_buffering),
1529 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1530 (gst_message_new_latency), (gst_message_parse_buffering),
1531 (gst_message_parse_lost_preroll):
1533 Added messages used in draft-latency.
1534 API: gst_message_new_lost_preroll
1535 API: gst_message_parse_lost_preroll
1536 API: gst_message_new_prerolled
1537 API: gst_message_new_latency
1539 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1540 (gst_query_parse_latency):
1542 Implemented new latency query as in design doc.
1543 API: gst_query_new_latency
1544 API: gst_query_set_latency
1545 API: gst_query_parse_latency
1547 2007-02-02 Wim Taymans <wim@fluendo.com>
1549 * docs/design/draft-latency.txt:
1550 Slight redesign to allow for dynamic latency adjustments.
1552 * docs/design/part-negotiation.txt:
1555 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
1557 reviewed by: Wim Taymans <wim@fluendo.com>
1559 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1560 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1561 Allow file://localhost/foo/bar URLs and correctly fail for every other
1562 hostname that one sets. This was gnomevfssrc is linked for those if
1563 installed as it can handle it (#403172)
1565 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1567 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1569 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1570 (unref_data), (gst_collect_pads_add_pad_full):
1571 * libs/gst/base/gstcollectpads.h:
1572 Don't put the previously added destroy notify in the GstCollectData
1573 struct as all it's padding is already used and we don't want to break
1574 ABI. Instead put in the pad's GObject data for now. This should be
1575 cleaned up for 0.11 (#402393).
1577 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1579 reviewed by: Wim Taymans <wim@fluendo.com>
1581 * docs/libs/gstreamer-libs-sections.txt:
1582 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1583 (unref_data), (gst_collect_pads_add_pad),
1584 (gst_collect_pads_add_pad_full):
1585 * libs/gst/base/gstcollectpads.h:
1586 API: Add function to specify a destroy notification for custom
1587 GstCollectData when adding new pads in GstCollectPads (#402393).
1589 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
1592 Update Swedish translation (#378255).
1594 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1596 * docs/design/draft-klass.txt:
1597 Fix the previous change, this is a list of categories and not a hierarchy.
1599 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1601 * docs/design/draft-klass.txt:
1602 Add info about how to get a list of used classes.
1604 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
1606 * plugins/elements/gsttypefindelement.c:
1607 (gst_type_find_element_chain_do_typefinding),
1608 (gst_type_find_element_change_state):
1609 Don't leak found caps in chain function (no idea why that never
1610 showed up as a leak anywhere).
1612 2007-01-30 Stefan Kost <ensonic@users.sf.net>
1615 Fix and expand GstPluginDesc API docs.
1617 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1620 * gst/gstelementfactory.c:
1621 * gst/gstpadtemplate.h:
1624 * libs/gst/controller/gstcontroller.c:
1625 (gst_controlled_property_new):
1626 * tests/examples/controller/audio-example.c:
1629 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1632 comment about refining the xml deps
1635 comments about moving away from jade for docs
1638 recommit the ifdefs to use the binary registry
1640 * gst/gstbin.c: (gst_bin_change_state_func):
1641 this break is obsolete
1643 * gst/gstelementfactory.h:
1644 better GST_ELEMENT_DETAILS docs, add comment about translation
1649 * gst/gstobject.c: (gst_signal_object_get_type):
1650 add G_UNLIKELY as usual
1652 * gst/gstpad.c: (gst_pad_event_default):
1653 add fall trhu comment
1655 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1656 (gst_registry_binary_initialize_magic),
1657 (gst_registry_binary_save_string),
1658 (gst_registry_binary_save_pad_template),
1659 (gst_registry_binary_save_feature),
1660 (gst_registry_binary_save_plugin),
1661 (gst_registry_binary_write_cache),
1662 (gst_registry_binary_check_magic),
1663 (gst_registry_binary_load_pad_template),
1664 (gst_registry_binary_load_feature),
1665 (gst_registry_binary_load_plugin),
1666 (gst_registry_binary_read_cache):
1667 comment typo and formatting
1669 * gst/gstutils.c: (gst_element_state_get_name),
1670 (gst_element_state_change_return_get_name):
1671 remove obsolete breaks
1673 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1674 add FIXME 0.11 and remove cpp comment
1676 2007-01-29 Edward Hervey <edward@fluendo.com>
1678 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1679 Fix print statement in an even more portable way.
1681 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
1683 * docs/gst/gstreamer-sections.txt:
1685 API: add GST_ROUND_DOWN_* macros (#401781).
1687 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
1689 * docs/gst/gstreamer.types.in:
1690 * gst/gstregistry.c: (gst_registry_class_init):
1691 Document registry signals and make gtk-doc pick them up (#401381).
1693 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1695 * docs/pwg/building-testapp.xml:
1696 Add some audioconverts and audioresample to the pipeline, and some
1697 more comments and error handling.
1699 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1701 * docs/manual/manual.xml:
1705 2007-01-26 Wim Taymans <wim@fluendo.com>
1707 * gst/gstcaps.c: (gst_static_caps_get):
1708 Init caps flags too.
1710 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
1712 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1714 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1715 If not using mmap'ed files try to seek to the end instead of the
1716 start to determine whether we can seek at all. This fixes the case
1717 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1718 seeks for everything afterwards fail. Fixes #400656
1720 2007-01-25 Wim Taymans <wim@fluendo.com>
1722 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1723 Add some refcount debugging.
1724 Make gst_static_caps_get threadsafe, which is needed when autoplugging
1725 in multiple streaming threads.
1727 2007-01-25 Wim Taymans <wim@fluendo.com>
1729 Patch by: David Schleef <ds at schleef dot org>
1731 * docs/libs/gstreamer-libs-sections.txt:
1732 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1733 * libs/gst/base/gstadapter.h:
1734 API: gst_adapter_copy() that can reduce the amount of memcpy when
1735 getting data from the adapter. Fixes #388201.
1737 2007-01-25 Edward Hervey <edward@fluendo.com>
1739 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1740 In print statements, "%x" is for guint. Fixes build on macosx.
1742 2007-01-24 Edward Hervey <edward@fluendo.com>
1744 * plugins/elements/gstmultiqueue.c:
1745 (gst_multi_queue_loop):
1747 (single_queue_overrun_cb), (single_queue_underrun_cb),
1748 (single_queue_check_full), (gst_single_queue_new):
1749 Implement single queue growth system.
1750 This uses the extra-size properties, and will grow single queues by
1751 that much if one goes full whereas there are others empty. This is
1752 called extra-mode in the code.
1753 When a single queue's levels go back below the initial max-size
1754 limits, it is no longer in extra-mode. This is to ensure we don't
1755 consume too much memory.
1758 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
1760 * gst/gst.c: (gst_init_get_option_group):
1761 Make warning about late g_thread_init() calls a bit more explicit,
1762 so that it's more obvious to application developers what they need
1763 to do if a user files a bug against their application.
1765 2007-01-22 Edward Hervey <edward@fluendo.com>
1767 * plugins/elements/gstmultiqueue.c:
1768 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1769 Remove previous hack of unsetting the flushing flag for the source pad
1770 instead of activating it. Instead, fix the source pad activate function
1771 so that it no longer depends on having a parent set or not.
1773 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
1775 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1777 * docs/manual/basics-bus.xml:
1778 Fix example code, gst_element_unref() doesn't exist any longer.
1780 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
1782 Patch by: Mark Nauwelaerts <manauw at skynet be>
1785 Fix two docs typoes (#399094).
1787 2007-01-19 Edward Hervey <edward@fluendo.com>
1789 * docs/faq/gst-uninstalled:
1790 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1791 depending on libgstbaseutils can work in uninstalled environment.
1793 2007-01-18 Stefan Kost <ensonic@users.sf.net>
1796 * gst/gsttagsetter.c:
1797 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1798 statement for new tag.
1800 2007-01-17 Edward Hervey <edward@fluendo.com>
1802 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1803 When dynamically creating single queues, activate sinkpad before adding
1805 We should be doing the same thing for the source pad, but we can't
1806 since it would call a method which needs the parent to be set in order
1807 to work propertly. Instead of activating the source pad, we just unset
1808 the flushing flag, which is the minimal requirement for adding a pad
1809 to an element in a state greater than READY.
1811 2007-01-17 Edward Hervey <edward@fluendo.com>
1813 * docs/faq/gst-uninstalled:
1814 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1817 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
1819 * tests/check/gst/gstabi.c:
1820 * tests/check/gst/struct_hppa.h:
1821 * tests/check/libs/libsabi.c:
1822 * tests/check/libs/struct_hppa.h:
1823 Add ABI structs for HPPA (see #393796).
1825 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
1827 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1828 Actually write ABI structs to the file specified in the GST_ABI
1829 environment variable, as the message we print claims we would.
1831 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1833 * tests/check/gst/gsttask.c:
1836 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1838 * gst/gsttaglist.c: (_gst_tag_initialize):
1839 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1840 previous two entries.
1842 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1844 * docs/gst/gstreamer-sections.txt:
1845 * gst/gsttaglist.c: (_gst_tag_initialize):
1847 Add tag support for beat-per-minute.
1849 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1851 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1852 (gst_registry_binary_initialize_magic),
1853 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1854 (gst_registry_binary_save_pad_template),
1855 (gst_registry_binary_save_feature),
1856 (gst_registry_binary_save_plugin),
1857 (gst_registry_binary_write_cache),
1858 (gst_registry_binary_check_magic),
1859 (gst_registry_binary_load_pad_template),
1860 (gst_registry_binary_load_feature),
1861 (gst_registry_binary_load_plugin),
1862 (gst_registry_binary_read_cache):
1863 * gst/gstregistrybinary.h:
1864 Use glib types, cleanup comments, impement interfaces and uri-types.
1866 2007-01-13 Andy Wingo <wingo@pobox.com>
1868 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1869 getrange() to return buffers with other caps, while we fix
1870 demuxers and typefind, or otherwise change part-negotiation.txt.
1872 2007-01-12 Andy Wingo <wingo@pobox.com>
1874 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1875 Factor start/stop into this private function instead of partially
1876 in activate functions and partially in the change_state function.
1877 Fixes setup before the element has changed from READY->PAUSED, as
1878 is the case in pull-mode pipelines.
1879 (gst_base_transform_sink_activate_push)
1880 (gst_base_transform_src_activate_pull): Refactor to use
1881 gst_base_transform_activate().
1882 (gst_base_transform_change_state): Removed, not needed any more.
1884 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1885 Truncate before fixating.
1887 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1888 Don't set_caps() if the result of fixating is ANY, as it's not
1889 supported, and not necessary in the case of a link with no
1890 template caps on either side. Fixes tests/check/libs/basesrc in
1891 some pull-mode tests.
1893 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1894 (gst_base_transform_init, gst_base_transform_sink_activate_push)
1895 (gst_base_transform_src_activate_pull):
1896 Track the activation mode.
1897 (gst_base_transform_setcaps): In pull mode, when activating the
1898 src pad, after activating the sink pad, activate the sink pad's
1899 peer, as discussed in part-negotiation.txt.
1901 * libs/gst/base/gstbasesrc.h:
1902 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1903 vmethod, as in basesink.
1905 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1907 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1908 mode, first proxy the setcaps to the peer pad.
1909 (gst_base_sink_pad_fixate): Add a fixate function that calls the
1911 (gst_base_sink_default_activate_pull): Rename from
1912 gst_base_sink_activate_pull.
1913 (gst_base_sink_negotiate_pull): New function, performs negotiation
1914 in pull mode before calling ::activate_pull().
1915 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1916 vmethod instead of the default implementation. I have no idea how
1917 this worked before. Negotiate before calling activate_pull.
1919 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1920 sink pads in pull mode. In addition to being correct, fixes
1921 filesrc ! decodebin ! identity ! fakesink.
1922 (gst_pad_get_range, gst_pad_pull_range): Don't call
1923 gst_pad_set_caps() if the caps changes; instead error out with
1924 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1926 2007-01-12 Andy Wingo <wingo@pobox.com>
1928 * docs/design/part-negotiation.txt: Update with more policy.
1930 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1932 * libs/gst/check/gstbufferstraw.h:
1933 * libs/gst/check/gstcheck.h:
1934 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1937 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1939 * tests/check/Makefile.am:
1940 * tests/check/gst/.cvsignore:
1941 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1942 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1943 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1944 (GST_START_TEST), (gst_tag_setter_suite):
1945 Add minimal unit test for beforementioned GstTagSetter bug.
1947 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1949 Patch by: René Stadler <mail at renestadler dot de>
1951 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1952 gst_tag_list_merge() returns a new list, so it's not the best idea
1953 to ingore its return value. Effectively meant that tags could only
1954 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1955 Also add function guard to require a non-NULL taglist as input (has
1956 always been so due to gst_tag_list_copy(), just making it explicit).
1958 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1960 * docs/random/draft-missing-plugins.txt:
1961 Some additions: mention new API that is supposed to be used at the
1962 various stages; short blob about new gst-inspect introspection
1963 option; mention potential future problem with plugins that have
1964 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1966 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1968 * tools/gst-inspect.c:
1969 (print_plugin_automatic_install_info_codecs),
1970 (print_plugin_automatic_install_info_protocols),
1971 (print_plugin_automatic_install_info), (main):
1972 Add --print-plugin-auto-install-info option to gst-inspect, so we can
1973 introspect plugin files and get machine-parsable output that corresponds
1974 to the last bit of the missing-plugin installer string (small gotcha:
1975 doesn't take into account ranks).
1977 2007-01-11 Stefan Kost <ensonic@users.sf.net>
1980 * docs/gst/gstreamer-sections.txt:
1982 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1983 (gst_registry_lookup_locked):
1984 * gst/gstregistry.h:
1985 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1986 (gst_registry_binary_initialize_magic),
1987 (gst_registry_binary_save_string),
1988 (gst_registry_binary_save_pad_template),
1989 (gst_registry_binary_save_feature),
1990 (gst_registry_binary_save_plugin),
1991 (gst_registry_binary_write_cache),
1992 (gst_registry_binary_check_magic),
1993 (gst_registry_binary_load_pad_template),
1994 (gst_registry_binary_load_feature),
1995 (gst_registry_binary_load_plugin),
1996 (gst_registry_binary_read_cache):
1997 * gst/gstregistrybinary.h:
1998 * gst/gstregistryxml.c: (load_feature),
1999 (gst_registry_xml_read_cache):
2000 commit binary registry (disabled by default, see #359653)
2002 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
2004 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
2005 Fix 'make check' too.
2007 2007-01-10 Andy Wingo <wingo@pobox.com>
2009 * docs/design/part-negotiation.txt: Fix a typo, add a couple
2012 * docs/design/part-negotiation.txt: Update with, um, one way that
2013 pull-mode negotiation might work?
2016 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
2017 that the pad must be a src pad; makes sense to call it the other
2018 way in pull mode, and the logic is symmetric anyway.
2020 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
2022 * plugins/elements/gstfilesink.c:
2023 Include <stdio.h> for fseeko().
2025 2007-01-10 Wim Taymans <wim@fluendo.com>
2029 Reserve LATENCY event.
2031 2007-01-09 Wim Taymans <wim@fluendo.com>
2033 * docs/design/draft-latency.txt:
2036 2007-01-09 Wim Taymans <wim@fluendo.com>
2038 * docs/design/draft-latency.txt:
2042 * gst/gststructure.c:
2046 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
2048 * tests/check/.cvsignore:
2049 Ignore test-registry.xml as well.
2051 2007-01-09 Wim Taymans <wim@fluendo.com>
2053 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2054 unref data at the end when we are done with the pad.
2056 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
2058 * docs/gst/gstreamer-sections.txt:
2059 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
2060 (init_post), (gst_deinit), (gst_update_registry):
2062 API: add gst_update_registry() (#391296).
2064 * tests/check/Makefile.am:
2065 * tests/check/gst/gstregistry.c:
2066 * tests/check/gst/.cvsignore:
2067 Simple unit test for the above.
2069 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
2071 * gst/gstregistry.c: (gst_registry_scan_path_level):
2072 Plugin extension on HP-UX is .sl, add that to the list of approved
2073 plugin extensions (see #393796).
2075 * tests/check/gst/gstpad.c: (GST_START_TEST):
2076 ulong => gulong. Fixes compilation with HP-UX compiler.
2078 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2079 Fix compilation if valgrind headers are not available.
2081 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
2083 * win32/common/libgstreamer.def:
2084 Add new exported function.
2085 * win32/vs6/libgstbase.dsp:
2086 Add gstdataqueue.c to the build.
2087 * win32/vs6/libgstcoreelements.dsp:
2088 Add gstmultiqueue.c to the build.
2090 2007-01-06 Andy Wingo <wingo@pobox.com>
2092 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
2093 activate_pull(), providing for a way to specialize the process of
2094 spawning a thread to pull on the sink pad. There is a default
2097 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
2098 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
2099 (gst_base_sink_init): Renamed pad activation functions (inserting
2100 "_pad" in their names). Refactor to use the new activate_pull
2101 vmethod, as appropriate.
2102 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
2103 default activate_pull function to start a task pulling from the
2104 sink pad, as before.
2106 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
2107 on the pads if necessary, as in push()/chain(). Update docs.
2108 Shouldn't affect existing pull() usage as it is currently only
2109 being used on buffers without caps.
2111 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2113 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2115 Call g_thread_init() first thing in gst_init() / gst_check_init().
2116 When initialisation is done via gst_init_get_option_group() and
2117 GOption parsing, issue a warning if the GLib thread system has not
2118 been initialised yet by the time gst_init_get_option_group() is
2119 called, as it's quite likely other GLib functions such as
2120 g_option_context_new() have been called already then, and
2121 g_thread_init() must be called before any other GLib function. The
2122 application in question must be fixed in that case, since memory
2123 corruption might happen otherwise.
2124 We issue the warning because even if the GLib folks decide to work
2125 around the problem on their end in future, this is still an issue
2126 with all GLib versions >= 2.10.0, so we should warn until we depend
2127 on a GLib version we know to be safe.
2128 Update documentation as well.
2131 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2133 * tools/gst-inspect.c: (main):
2134 * tools/gst-launch.c: (main):
2135 * tools/gst-typefind.c: (main):
2136 * tools/gst-xmlinspect.c: (main):
2137 Call g_thread_init() really really early, before any other GLib
2138 function (see #342564 and recent discussion on gtk-devel-list).
2140 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2142 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
2144 * gst/gst_private.h:
2145 * gst/gstconfig.h.in:
2147 On win32, all the __declspec stuff for symbol exporting is
2148 apparently only needed with MSVC, but doesn't work with MingW.
2149 Fixes compilation with MingW and #391909.
2151 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2153 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
2154 Change some GST_ERROR_OBJECT that aren't really errors to
2155 GST_WARNING_OBJECT in order to reduce terminal spam.
2157 2007-01-04 Stefan Kost <ensonic@users.sf.net>
2159 * tests/check/Makefile.am:
2160 disable test again, as there seem to be still race problems
2162 2007-01-04 Stefan Kost <ensonic@users.sf.net>
2164 * tests/check/Makefile.am:
2165 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2166 (GST_START_TEST), (queue_suite):
2167 enable queue test again, add tests for the leaky behaviour
2169 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
2172 * tests/examples/Makefile.am:
2173 Compile adapter test/example only if the required headers are
2174 available (fixes #391915).
2176 2007-01-01 David Schleef <ds@schleef.org>
2179 Restore the previous signal handler for SIGSEGV instead of
2180 setting to default, since we may have stolen it away from
2181 someone. (i.e., Mono)
2183 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
2185 * docs/random/draft-missing-plugins.txt:
2186 Some small additions and clarifications.
2188 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
2190 * gst/gstregistryxml.c: (gst_registry_save_escaped):
2191 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
2192 since that can lead to random memory corruptions and crashes
2193 (may or may not be related to #383244, #386711, and #386711).
2195 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2197 * tests/check/.cvsignore:
2198 * tests/check/Makefile.am:
2199 sync .cvsignome and CLEANFILES
2201 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2203 * tests/check/Makefile.am:
2206 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2208 * docs/design/part-states.txt:
2209 two tiny additional comments
2211 * gst/gststructure.c:
2214 * tests/check/Makefile.am:
2215 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2217 disable test for now, unless it gets fixed
2219 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2221 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2223 fix race in underrun test
2225 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2227 * tests/check/elements/.cvsignore:
2230 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2232 try to narrow test failure
2234 2006-12-21 David Schleef <ds@schleef.org>
2236 * plugins/elements/gstfakesrc.c:
2237 Use g_random_int_range(), since it produces better random
2238 numbers in a range than almost-correct floating point code.
2240 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2242 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2243 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2244 (gst_check_teardown_sink_pad):
2245 do not automatically (de)activate pads
2247 * tests/check/Makefile.am:
2248 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2249 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
2250 add new, yet simple tests for queue
2252 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
2253 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
2254 * tests/check/elements/filesrc.c: (cleanup_filesrc),
2256 * tests/check/elements/identity.c: (cleanup_identity):
2257 consistent pad (de)activation
2259 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
2261 Patch by: Sebastian Dröge <slomo ubuntu com>
2263 * libs/gst/base/gstcollectpads.c:
2264 Fix two doc typos (#387866).
2266 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
2268 * docs/manual/advanced-dparams.xml:
2269 Fix typo (g_object_control_properties() doesn't exist).
2271 2006-12-19 Edward Hervey <edward@fluendo.com>
2273 * gst/gstsegment.c: (gst_segment_set_seek):
2274 Fine tune the cases where the segment start/stop values are really
2276 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2277 Add tests for the return values of gst_segment_set_seek().
2279 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
2284 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2286 Fix incorrect documentation and flesh it out a bit more.
2287 Set default values for the max properties on the GParamSpec as well,
2288 so it shows up correctly in gst-inspect.
2290 2006-12-18 Stefan Kost <ensonic@users.sf.net>
2292 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2293 Correct docs of queue, add more detail and crosslink it more.
2295 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
2297 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2298 Print additional debug info when the stream isn't perfectly
2299 timestamped; don't try to use invalid durations.
2301 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
2303 * docs/design/Makefile.am:
2304 Dist new design docs.
2306 2006-12-16 Wim Taymans <wim@fluendo.com>
2308 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2310 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
2311 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2312 (gst_collect_pads_stop), (gst_collect_pads_event),
2313 (gst_collect_pads_chain):
2314 * libs/gst/base/gstcollectpads.h:
2315 Add refcounting to the collectpads data so we can track when it's safe
2316 to free the data. Fixes #383382.
2318 2006-12-15 Wim Taymans <wim@fluendo.com>
2320 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2321 (gst_collect_pads_remove_pad):
2322 Automatically activate/deactivate pads when they are added to a
2323 started/stoped collectpads.
2325 2006-12-15 Wim Taymans <wim@fluendo.com>
2327 * gst/gstelement.c: (gst_element_add_pad):
2328 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
2329 * gst/gstpad.c: (gst_pad_init):
2330 Set pads to FLUSHING when they are created. Check, warn and fix when a
2331 demuxer adds an inactive pad to itself when running. Fixes #339326.
2333 2006-12-15 Wim Taymans <wim@fluendo.com>
2335 * gst/gstelement.c: (gst_element_class_init),
2336 (gst_element_default_send_event), (gst_element_send_event),
2337 (gst_element_default_query), (gst_element_query):
2338 Expose default element send_event and query handling as vmethods that
2339 subclasses can chain up to.
2341 2006-12-15 Wim Taymans <wim@fluendo.com>
2343 * gst/gstelement.c: (gst_element_set_state_func):
2344 Small documentation fixes.
2346 2006-12-15 Wim Taymans <wim@fluendo.com>
2348 * docs/design/draft-latency.txt:
2349 Checked in draft for handling latency in pipelines.
2351 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
2355 * gstreamer.spec.in:
2358 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
2360 * gst/gst.c: (init_pre), (init_post):
2361 init_pre() and init_post() might be called via our GOptionGroup or
2362 from gst_init(), and we should skip both of them if we've already
2363 been initialised, otherwise we will init some things twice or add
2364 two default log functions.
2366 2006-12-13 Edward Hervey <edward@fluendo.com>
2368 * docs/manual/basics-bus.xml:
2369 No, gst_main_loop does not exist. Its g_main_loop.
2370 Discovered by somebody who abused the copy-paste technique of coding :)
2372 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
2374 * gst/gstghostpad.c:
2375 Log ghostpad debug stuff to the GST_PADS category as well rather
2376 than just to the default category.
2378 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
2381 * gst/gst.c: (init_pre):
2382 Add some basic system details such as OS and architecture
2383 to the debug output if possible, courtesy of uname().
2385 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
2387 * docs/gst/running.xml:
2388 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
2389 environment variables.
2391 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
2393 * tests/check/gst/gstbin.c: (GST_START_TEST):
2394 It is acceptable to have a refcount of 2 or 3 at this point in the
2395 test, because the pipeline might be just posting its state_change
2396 message. The next line then waits for that message to appear using
2397 bus_poll, so that should be fine too.
2399 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
2401 * gst/gst.c: (ensure_current_registry_forking):
2402 Ignore EINTR when reading from the child registry pipe.
2403 Explicitly ignore the return value from close, since it makes no
2406 * gst/gstminiobject.c: (gst_mini_object_ref),
2407 (gst_mini_object_unref):
2408 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
2410 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
2411 When removing cached plugins, remove their features too, so they're
2412 not visible after they've disappeared.
2414 * gst/gstutils.c: (prepare_link_maybe_ghosting):
2415 In the unlikely case that we are linking pads with no parents, don't
2416 crash trying to get the non-existent parent bin.
2418 * gst/parse/grammar.y:
2419 Output debug in the PIPELINE category
2421 2005-03-08 Wim Taymans <wim@fluendo.com>
2423 Patch by: René Stadler <mail at renestadler dot de>
2425 * gst/gstclock.c: (gst_clock_new_periodic_id):
2426 Reject invalid clock times for interval of periodic ids.
2429 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2431 * gst/gstelementfactory.c: (gst_element_factory_create):
2432 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2433 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
2434 * tools/gst-inspect.c: (print_element_info):
2435 Fix refcounting of gst_plugin_feature_load to match the docs.
2438 2006-12-07 Wim Taymans <wim@fluendo.com>
2440 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2441 (gst_base_sink_get_position):
2442 Improve debugging of events.
2444 2006-12-07 Wim Taymans <wim@fluendo.com>
2446 Patch by: René Stadler <mail at renestadler dot de>
2448 * gst/gstclock.c: (gst_clock_id_wait):
2449 Make period ids add the interval to the origial requested time instead
2450 of the possibly updated time which can be wrong when there are multiple
2451 waiters for the same id. Fixes #382592.
2453 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
2454 (gst_system_clock_id_wait_jitter_unlocked),
2455 (gst_system_clock_id_wait_jitter):
2456 Fix restart in the async notify thread when an async entry is added to
2457 the front of the list. Fixes #381492.
2459 * tests/check/gst/gstsystemclock.c: (store_callback),
2460 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2461 Added test for multiple async waits.
2462 Added test for async wait order.
2464 2006-12-07 Wim Taymans <wim@fluendo.com>
2466 * gst/gstbin.c: (gst_bin_query):
2467 Add some more docs about the POSITION query.
2469 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2472 Bump version nano - back to CVS.
2474 === release 0.10.11 ===
2476 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
2479 releasing 0.10.11, "Love never runs on time"
2481 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
2483 * win32/common/libgstbase.def:
2484 * win32/common/libgstreamer.def:
2485 * win32/vs8/libgstbase.vcproj:
2486 * win32/vs8/libgstcoreelements.vcproj:
2487 * win32/vs8/libgstreamer.vcproj:
2488 Fix compilation on win32 under VS8
2489 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2490 Partially fixes #381175
2492 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
2494 * gst/gstvalue.c: (gst_value_compare_fraction):
2495 If someone is foolish enough to compare 2 fractions with denominator =
2496 0, return UNORDERED rather than aborting.
2498 2006-11-28 Edward Hervey <edward@fluendo.com>
2500 * libs/gst/base/Makefile.am:
2501 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2502 (gst_data_queue_base_init), (gst_data_queue_class_init),
2503 (gst_data_queue_init), (gst_data_queue_new),
2504 (gst_data_queue_cleanup), (gst_data_queue_finalize),
2505 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2506 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2507 (gst_data_queue_is_empty), (gst_data_queue_is_full),
2508 (gst_data_queue_set_flushing), (gst_data_queue_push),
2509 (gst_data_queue_pop), (gst_data_queue_drop_head),
2510 (gst_data_queue_set_property), (gst_data_queue_get_property):
2511 * libs/gst/base/gstdataqueue.h:
2512 New GstDataQueue object for threadsafe queueing. Most useful for
2513 elements that need some queueing functionnality.
2514 * docs/libs/gstreamer-libs-docs.sgml:
2515 * docs/libs/gstreamer-libs-sections.txt:
2516 Insert documentation for GstDataQueue
2517 * plugins/elements/Makefile.am:
2518 * plugins/elements/gstelements.c:
2519 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2520 (gst_multi_queue_class_init), (gst_multi_queue_init),
2521 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2522 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2523 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2524 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2525 (gst_multi_queue_loop), (gst_multi_queue_chain),
2526 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2527 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2528 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2529 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2530 (wake_up_next_non_linked), (compute_next_non_linked),
2531 (single_queue_overrun_cb), (single_queue_underrun_cb),
2532 (single_queue_check_full), (gst_single_queue_new):
2533 * plugins/elements/gstmultiqueue.h:
2534 New multiqueue element, using GstDataQueue. Used for queuing multiple
2536 Closes #344639 and #347785
2538 2006-11-22 Stefan Kost <ensonic@users.sf.net>
2540 * docs/pwg/advanced-types.xml:
2541 add more missing type details
2543 * tools/gst-run.c: (main):
2544 remove unused variable
2546 2006-11-21 Stefan Kost <ensonic@users.sf.net>
2548 * docs/libs/Makefile.am:
2549 * docs/libs/gstreamer-libs.types:
2550 add types of base classes to enable gobject specific stuff in the docs
2552 * docs/random/ensonic/embedded.txt:
2553 more ideas about isolating platform specific things
2555 2006-11-20 Wim Taymans <wim@fluendo.com>
2557 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2559 * libs/gst/check/gstcheck.h:
2560 Fix compilation and running against 0.9.4. Fixes #377332.
2562 2006-11-20 Wim Taymans <wim@fluendo.com>
2564 * gst/gstsegment.c: (gst_segment_set_seek),
2565 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2566 (gst_segment_to_running_time):
2567 Fix boundary checking in to_running_time() and to_stream_time().
2570 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2571 stream and running time can now be calculated for the complete
2574 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
2576 * gst/gstpad.c: (gst_pad_push_event):
2577 Can't access event structure after giving away ownership of
2580 2006-11-15 Stefan Kost <ensonic@users.sf.net>
2582 * docs/random/ensonic/embedded.txt:
2583 * docs/random/ensonic/profiling.txt:
2584 * docs/random/ensonic/receipies.txt:
2587 2006-11-13 Wim Taymans <wim@fluendo.com>
2589 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2592 Fix documentation for gst_pad_dispatcher. Fixes #374475.
2594 2006-11-13 Wim Taymans <wim@fluendo.com>
2596 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2598 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2599 Store new length in segment duration so we don't keep on calling the
2600 potentially expensize get_size() call. Fixes #370865.
2602 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
2604 Patch by: Sergey Scobich <sergey.scobich at gmail com>
2606 * win32/common/libgstreamer.def:
2607 Add two missing symbols (#366492).
2609 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
2611 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2612 (gst_adapter_take_buffer):
2613 Fix format string to use all its arguments.
2614 Remove useless >= check on a guint
2616 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2618 * tests/examples/adapter/.cvsignore:
2619 Ignore build file as commanded by the build-bot
2621 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2623 * tests/examples/adapter/Makefile.am:
2624 * tests/examples/adapter/adapter_test.c: (run_test_take),
2625 (run_test_take_buffer), (run_tests), (main):
2627 Add new files from the previous commit
2629 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2633 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2634 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2635 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2636 * libs/gst/base/gstadapter.h:
2637 * tests/check/libs/adapter.c: (create_and_fill_adapter),
2638 (GST_START_TEST), (gst_adapter_suite):
2639 * tests/examples/Makefile.am:
2640 Do some optimisation work in GstAdapter to avoid copies in more cases.
2641 It could still do slightly better by merging buffers when
2642 gst_buffer_is_span_fast is true, but is already faster.
2644 Also, avoid traversing a single-linked list to append each incoming
2645 buffer inside the adapter.
2647 Add simple test app that times the adapter behaviour in different
2648 situations, and extend the unit test to check that bytes enter and
2649 exit the adapter in their original order.
2651 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
2653 * docs/random/draft-missing-plugins.txt:
2654 Update: use element message instead of adding a new message
2655 type to the core; don't provide GStreamer API to initiate the
2656 plugin download, just provide API to compose the strings needed
2657 and let an external libgimmestuff handle the rest.
2659 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
2661 * tools/gst-inspect.c: (print_element_properties_info):
2662 Print a string instead of 'unknown type' for GValueArray properties
2664 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
2666 * docs/random/draft-missing-plugins.txt:
2669 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2671 * tests/examples/typefind/typefind.c: (type_found), (main):
2672 Make typefind element example work again (#371894); add a
2675 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2677 * docs/random/draft-missing-plugins.txt:
2678 Commit initial draft about how to deal with missing plugins,
2679 needs work (API too).
2681 2006-11-07 Stefan Kost <ensonic@users.sf.net>
2683 * docs/pwg/advanced-types.xml:
2684 documents the new caps elements (see #363118)
2686 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2688 * gst/gstplugin.c: (gst_plugin_load_file):
2689 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2690 (gst_file_src_map_region), (gst_file_src_start):
2691 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2692 (gst_file_index_commit):
2693 Use g_strerror() instead of strerror() - we want UTF-8.
2695 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2697 Patch by: Peter Kjellerstedt <pkj at axis com>
2699 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2700 Another printf fix (#371493).
2702 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2704 * tests/check/gst/gsttag.c:
2705 relicence (okay with author=company)
2707 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2709 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2710 (gst_pad_push_event):
2711 Enhance debug and improve docs
2716 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2718 * docs/random/ensonic/distributed.txt:
2719 * docs/random/ensonic/profiling.txt:
2722 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2724 * docs/gst/gstreamer-sections.txt:
2725 add new API and fix the build
2727 * gst/gstbin.c: (gst_bin_recalc_state):
2728 * gst/gstelement.c: (gst_element_message_full),
2729 (gst_element_get_state_func), (gst_element_set_state_func):
2730 use new API and improve logging
2732 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2734 API: add function to get StateChangereturn names to improve logs
2736 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
2738 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2739 I'm considering shooting the next person to put strerror stuff
2740 in the translateable part of the message.
2742 2006-11-03 Wim Taymans <wim@fluendo.com>
2744 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2745 Get the type and printf conversion specifiers right.
2747 2006-11-03 Wim Taymans <wim@fluendo.com>
2749 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2751 * gst/gstpad.c: (gst_pad_init), (pre_activate),
2752 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2753 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2754 Some small cleanups. Improve debugging.
2756 Signal all waiting threads with a broadcast instead of just one.
2759 2006-11-03 Wim Taymans <wim@fluendo.com>
2761 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2762 (gst_fd_src_create):
2764 Only update fd when it's different from the old.
2766 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2768 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2769 Printf fixes for PPC/OSX, take two (#369366).
2771 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2773 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
2775 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2776 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2777 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2778 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2779 don't cast to long long for portability reasons, but use
2780 GLib's types instead.
2782 2006-10-30 Michael Smith <msmith@fluendo.com>
2784 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2785 Get the arguments to lseek() the right way around.
2788 2006-10-30 Wim Taymans <wim@fluendo.com>
2790 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2793 _declspec should be __declspec (two underscores, not one). Fixes 366572.
2795 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2797 Patch by: Kjartan Maraas <kmaraas at gnome org>
2799 * docs/design/part-MT-refcounting.txt:
2800 * docs/random/wtay/capsnego2-docs:
2803 Typo fixes (#366212).
2805 2006-10-28 Wim Taymans <wim@fluendo.com>
2807 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2810 * win32/common/libgstbase.def:
2811 * win32/common/libgstreamer.def:
2812 * win32/vs8/libgstbase.vcproj:
2813 * win32/vs8/libgstcontroller.vcproj:
2814 Add needed entries in .def files.
2816 Rearrange def files in vs8 solutions. Fixes #366286.
2818 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2820 * win32/common/gstconfig.h:
2821 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2822 hand-made win32 gstconfig.h. Fixes #366321.
2824 2006-10-27 Wim Taymans <wim@fluendo.com>
2826 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2827 (gst_ghost_pad_new_full):
2828 Make acceptcaps return TRUE when we don't have a target, just like
2831 2006-10-27 Wim Taymans <wim@fluendo.com>
2833 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2834 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2836 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
2838 * gst/gststructure.c: (gst_structure_id_set_value):
2839 If someone tries to set a non-UTF8 string field on a structure,
2840 don't just print a warning, but also ignore the request and do
2841 not change/add that field to the structure.
2843 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2846 2006-10-25 David Schleef <ds@schleef.org>
2849 g_hash_table_insert() needs a cast to a non-const pointer duh.
2851 2006-10-25 David Schleef <ds@schleef.org>
2855 Change name parameter of _gst_debug_register_funcptr to const
2856 to reflect the constness of its use in the function as well
2857 as to quiet a gcc warning.
2859 2006-10-25 Edward Hervey <edward@fluendo.com>
2861 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2862 Don't push the buffer if it's empty.
2865 2006-10-24 Wim Taymans <wim@fluendo.com>
2870 * libs/gst/base/gstbasetransform.c:
2871 (gst_base_transform_sink_eventfunc):
2872 Debug segment values *after* updating them as this is more
2875 2006-10-23 Wim Taymans <wim@fluendo.com>
2877 * docs/design/part-events.txt:
2880 * docs/design/part-block.txt:
2881 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2882 (gst_pad_push_event):
2883 Revert BLOCKING patch, it tries to be smart without really having a
2884 clear idea what or how. So, now we discard all FLUSHING events again on
2885 a blocking pad. Should fix gnonlin again.
2887 2006-10-23 Wim Taymans <wim@fluendo.com>
2889 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2891 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2892 (gst_base_src_start), (gst_base_src_activate_push):
2893 Make sure size is always initialized. Fixes #364388.
2895 2006-10-20 Stefan Kost <ensonic@users.sf.net>
2897 * docs/random/ensonic/distributed.txt:
2898 add some ideas about doing distributed processing
2900 * docs/random/ensonic/profiling.txt:
2901 get_rusage look promising
2903 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2905 * docs/manual/basics-helloworld.xml:
2906 Add a cast in example to fix compile warning
2908 2006-10-18 Wim Taymans <wim@fluendo.com>
2910 * gst/gstsegment.c: (gst_segment_set_last_stop),
2911 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2912 Relax arg checking again, -1 is allowed.
2914 2006-10-18 Wim Taymans <wim@fluendo.com>
2916 * gst/gstsegment.c: (gst_segment_set_last_stop),
2917 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2918 _set_last_stop() must be with a value != -1
2919 A _TYPE_SET to -1 means seek to 0.
2920 Calc last_stop correctly for negative rates.
2921 Make sure we work with positive durations when updating a segment.
2923 2006-10-18 Wim Taymans <wim@fluendo.com>
2925 * docs/design/part-live-source.txt:
2929 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
2932 Add an explicit cast to GstBuffer** to keep old code that added an
2933 explicit cast to GstMiniObject** for gst_mini_object_replace()
2934 compiling without warning.
2936 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2938 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2939 check for validity of dates
2941 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2943 * docs/gst/gstreamer-sections.txt:
2944 Forgot this one, makes gtk-doc shut up.
2946 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2948 Patch by: Peter Kjellerstedt <pkj at axis com>
2951 Don't define xmlNodePtr to gpointer if the core was built with
2952 --disable-loadsave and --disable-registry, this will break
2953 applications that want to use libxml2 but are buildling against a
2954 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2955 instead so we don't have to mess with the libxml2 namespace
2958 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2961 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2962 type-punned pointer warnings.
2964 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
2967 Add casts to the correct return type to state <=> state transition
2970 2006-10-16 Stefan Kost <ensonic@users.sf.net>
2972 * docs/design/part-live-source.txt:
2973 describe howto handle latency
2975 * docs/random/ensonic/profiling.txt:
2978 * tools/gst-plot-timeline.py:
2979 fix log parsing for solaris, remove unused function
2981 2006-10-16 Wim Taymans <wim@fluendo.com>
2983 * docs/design/part-trickmodes.txt:
2985 Update some docs regarding reverse playback.
2987 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
2989 Patch by: Marcus Granado <mrc dot gran at gmail com>
2991 * win32/vs8/grammar.vcproj:
2992 Error out with a warning if glib-genmarshal.exe is not in path,
2993 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2995 2006-10-13 Wim Taymans <wim@fluendo.com>
2997 * gst/gstsegment.c: (gst_segment_set_seek):
2998 When seeking to stop -1, set last_stop (current position) to the
2999 duration of the segment.
3001 2006-10-13 Wim Taymans <wim@fluendo.com>
3004 Clarify _NO_PREROLL a bit more.
3009 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
3010 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
3011 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
3012 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
3013 due to wrong locking order. Fixes #361769.
3014 Remove some redundant/misplaced checks in pad_block.
3016 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3017 For negative rates, count backwards from the duration.
3019 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
3021 * gst/gsterror.c: (_gst_library_errors_init):
3022 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
3023 up with something better).
3025 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
3027 * win32/vs6/libgstreamer.dsp:
3028 * win32/vs7/libgstreamer.vcproj:
3029 * win32/vs8/libgstreamer.vcproj:
3030 Don't reference glib-compat.c which is currently not used and not
3031 disted; add gstquark.c which was recently added. Fixes #361730.
3033 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
3035 * win32/common/libgstbase.def:
3036 * win32/common/libgstcontroller.def:
3037 * win32/common/libgstreamer.def:
3038 Add gst_caps_merge() and a bunch of other recently-added functions.
3041 2006-10-11 Wim Taymans <wim@fluendo.com>
3043 * docs/plugins/gstreamer-plugins.args:
3044 * docs/plugins/inspect/plugin-coreelements.xml:
3045 * docs/plugins/inspect/plugin-coreindexers.xml:
3046 Update element args.
3048 * gst/gstsystemclock.c:
3049 Small comment update.
3051 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
3052 (gst_tee_request_new_pad), (gst_tee_release_pad),
3053 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
3054 (gst_tee_sink_activate_pull):
3055 * plugins/elements/gsttee.h:
3057 Add default property defines.
3058 Implement release pad function.
3059 Give properties better blubs etc.
3060 Activate pads before adding them to a running tee.
3061 Do simple buffer_alloc on the first requested pad.
3062 Post error when activation fails.
3064 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
3066 * gst/gst.c: (ensure_current_registry_forking):
3067 Check return value of write() to make compiler happy.
3069 2006-10-11 Wim Taymans <wim@fluendo.com>
3071 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3073 * plugins/elements/gstqueue.c: (gst_queue_chain):
3074 Recheck queue filledness after signalling the overrun when we're about
3075 to leak downstream because we released the lock when emitting the signal
3076 and the queue could be empty again. Fixes #352345.
3078 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
3080 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
3081 Fix refcounting here too, just like we did for _new_valist() a few
3082 days ago (#357180) (thanks to René Stadler). Also remove all those
3083 'Since: 0.9' from the gtk-doc blobs.
3085 * tests/check/libs/controller.c: (controller_refcount_new_list),
3086 (gst_controller_suite):
3087 Unit test for the above.
3089 2006-10-10 Wim Taymans <wim@fluendo.com>
3091 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
3093 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3094 (gst_pad_save_thyself):
3096 Write pad direction in XML output. Fixes #345496.
3098 2006-10-10 Wim Taymans <wim@fluendo.com>
3100 Patch by: René Stadler <mail at renestadler dot de>
3102 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3103 (gst_controller_new_list), (_gst_controller_dispose),
3104 (_gst_controller_finalize), (_gst_controller_class_init):
3105 Take ref to controlled object so that it cannot disappear.
3108 2006-10-10 Wim Taymans <wim@fluendo.com>
3110 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3111 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3112 (gst_check_teardown_sink_pad):
3113 Activate/deactivate pads in setup/teardown respectively.
3115 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3117 Patch by: Josep Torre Valles <josep@fluendo.com>
3120 Cast values when making gstenumtypes.h. This pacifies Forte
3121 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
3124 2006-10-09 Wim Taymans <wim@fluendo.com>
3126 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
3127 Rename some more @cur to @start to fix docs.
3129 * gst/gstsegment.c: (gst_segment_set_seek):
3131 time and start must always stay in sync as defined in design doc.
3133 * gst/gsttaglist.c: (gst_tag_list_is_empty):
3134 Rename param to fix docs.
3136 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3137 Check that start and time are in sync.
3139 * tests/check/pipelines/parse-launch.c:
3140 (gst_parse_test_element_change_state):
3141 Activate pad before adding to the element.
3143 2006-10-09 Wim Taymans <wim@fluendo.com>
3145 * docs/design/part-qos.txt:
3150 Update seek event docs regarding negative rates.
3151 Rename @cur to @start.
3153 * gst/gstsegment.c: (gst_segment_set_seek):
3155 Update set_seek docs regarding negative rates.
3156 Correctly update last_stop to @stop when dealing with negative
3158 Rename @cur to @start.
3160 * tests/check/gst/gstpad.c: (GST_START_TEST):
3161 Activate pads before trying to use them.
3163 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3164 (gst_segment_suite):
3165 Add simple check for segments and negative rates.
3167 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
3169 * gst/gsttaglist.c: (gst_tag_list_is_empty):
3171 * docs/gst/gstreamer-sections.txt:
3172 API: add gst_tag_list_is_empty() (#360467).
3174 * tests/check/gst/gsttag.c: (GST_START_TEST):
3177 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3180 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
3181 a value that doesn't fit on enumeration.
3183 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3185 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3186 Remove local debugging system and use Gstreamer's instead.
3188 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3190 Patch by: Josep Torre Valles <josep@fluendo.com>
3192 * common/m4/gst-error.m4:
3193 Disable warning of statement not reached on Forte.
3195 Fix warning on Forte (value doesn't fit on enumeration).
3196 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
3197 Fix warning on Forte (value doesn't fit on enumeration).
3198 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3199 DEBUG macro says it takes minimum of 2 args and so Forte
3200 complains about the use with just 1 arg.
3201 * plugins/elements/gstfdsink.c:
3202 * plugins/elements/gstfdsrc.c:
3203 * plugins/elements/gstfilesink.c:
3204 * plugins/elements/gstfilesrc.c:
3205 Use correct return type for the uri handler implementations.
3207 All these fix warnings in Forte. Fixes bug #360860.
3209 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
3212 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
3213 format string, so don't use G_GNUC_PRINTF for those versions.
3215 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
3217 * gst/gsttaglist.c: (gst_is_tag_list):
3219 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
3221 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3222 Small test for the above.
3224 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
3227 Less tabs, more spaces.
3229 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
3232 Those two function declarations do actually belong there, revert
3233 commit from yesterday that turned them intro macros.
3235 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3237 Patch by: Josep Torre Valles <josep@fluendo.com>
3239 * gst/gst.c: (gst_init_get_option_group):
3240 Fix empty declaration and type mismatch.
3241 * gst/gstbin.c: (gst_bin_change_state_func):
3243 * gst/gstelement.c: (gst_element_continue_state),
3244 (gst_element_set_state_func), (gst_element_change_state),
3245 (gst_element_change_state_func):
3246 Fix type mismatches.
3247 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
3248 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
3249 Cast as appropriate.
3250 * gst/gstobject.c: (gst_class_signal_connect):
3251 Cast as appropriate. The function pointer parameter really
3252 has the wrong type but would break API if we change it.
3254 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
3255 order of including string.h.
3256 * gst/gstutils.c: (gst_element_state_get_name):
3257 Remove unreachable line.
3258 * gst/gstxml.c: (gst_xml_parse_doc):
3260 All these caught by Forte.
3262 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3264 Patch by: Josep Torre Valles <josep@fluendo.com>
3266 * common/m4/gst-error.m4:
3268 We need to disable warnings on Forte for empty declarations
3269 due to gst-indent adding ;s to lines that just use macros
3270 where the macro actually doesn't need a ; at end to end
3273 2006-10-06 Wim Taymans <wim@fluendo.com>
3275 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3276 (gst_file_sink_close_file), (gst_file_sink_event),
3277 (gst_file_sink_render):
3278 Add some FIXME for the NEWSEGMENT handling.
3280 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3282 * gst/parse/grammar.y:
3283 Remove static function gst_parse_element_lock as all it does
3284 is return. Looks like cruft from 0.8.
3286 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3288 Patch by: Josep Torre Valles <josep@fluendo.com>
3290 * common/m4/gst-error.m4:
3292 * libs/gst/net/Makefile.am:
3293 Fix a compilation issue with Forte on Solaris. inet_aton is in
3296 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
3298 * gst/gstpad.c: (pre_activate):
3299 * gst/gstregistry.c: (gst_registry_scan_path_level):
3300 * gst/gstregistryxml.c: (load_plugin):
3301 * libs/gst/controller/gstcontroller.c:
3302 (gst_controlled_property_set_interpolation_mode):
3303 * libs/gst/dataprotocol/dataprotocol.c:
3304 (gst_dp_packet_from_event_1_0):
3305 * libs/gst/net/gstnetclientclock.c:
3306 (gst_net_client_clock_observe_times):
3307 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3310 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
3313 * docs/gst/gstreamer-sections.txt:
3314 * gst/gstconfig.h.in:
3317 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
3318 whether we can use G_GNUC_PRINTF in other header files and at
3319 least check the printf format/arguments of debug messages and
3320 GST_ELEMENT_ERROR messages when the printf extension is not
3322 Replace more tabs with spaces in gstinfo.h and remove two spurious
3323 function declarations in GST_DISABLE_DEBUG part with macros.
3325 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
3327 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
3328 More docs for the sync-message signal (mention that it is not
3329 emitted by default); log message structures of messages posted on
3332 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
3334 * gst/gst.c: (ensure_current_registry_forking):
3335 Use a pipe pair to receive status results from the forked child, and
3336 ignore the result from waitpid. Fixes #355499
3338 2006-10-02 Wim Taymans <wim@fluendo.com>
3340 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3341 (gst_ghost_pad_suite):
3344 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
3347 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
3349 2006-10-02 Edward Hervey <edward@fluendo.com>
3351 * docs/design/part-block.txt:
3352 Further explain the use of flushing on blocked pads.
3353 * docs/gst/gstreamer-sections.txt:
3354 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3355 (gst_pad_push_event):
3357 Added new GstPadFlag : GST_PAD_BLOCKING.
3358 Adds the notion of pads really blocking, which enables to properly
3359 handle FLUSH_START/FLUSH_STOP events on blocked pads.
3361 API: gst_pad_is_blocking()
3362 API: GST_PAD_IS_BLOCKING() macro
3363 API: GST_PAD_BLOCKING GstPadFlag
3365 2006-10-02 Wim Taymans <wim@fluendo.com>
3367 Patch by: mrcgran <mrc.gran at gmail dot com>
3369 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
3370 Filter the proxied caps against the padtemplate if we have one.
3372 * gst/gstquery.c: (gst_query_new_segment):
3373 Add include for gstinfo.h so that compilation with
3374 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
3376 2006-10-02 Wim Taymans <wim@fluendo.com>
3378 Patch by: Alessandro Decina <alessandro at nnva org>
3380 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
3381 (gst_file_sink_set_location), (gst_file_sink_open_file),
3382 (gst_file_sink_close_file), (gst_file_sink_event),
3383 (gst_file_sink_render):
3384 Set file to NULL when closing filesink so that we can set a new filename
3385 in READY. Fixes #358613.
3387 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
3389 Patch by: Alessandro Decina <alessandro at nnva org>
3391 * gst/gstevent.c: (_gst_event_copy):
3392 Fix gst_mini_object_make_writable() and gst_event_copy() for events
3393 with event structures by setting the parent refcount address of the
3394 copied structure to the address of the refcount member of the newly
3395 copied event rather than the address of the refcount member of the
3396 original event. Fixes #358737.
3398 * tests/check/gst/gstevent.c: (GST_START_TEST):
3399 Unit test for the above.
3401 2006-09-29 Stefan Kost <ensonic@users.sf.net>
3403 * docs/design/Makefile.am:
3404 Dist some more files.
3406 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
3408 * tests/check/libs/controller.c: (GST_START_TEST),
3409 (gst_controller_suite):
3410 Add test for the previous fix; add some more tests
3411 for correct refcounting behaviour; fix a few leaks
3412 in test cases; call gst_controller_init() at start
3415 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
3417 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3418 (gst_controller_set_from_list):
3419 Don't g_return_val_if_fail() on timed values with invalid timestamps
3420 inside a critical section without unlocking the mutex. Spotted by
3421 René Stadler. (#357617)
3422 Also, fix up refcounting properly: when returning an existing
3423 controller, we should increase the reference only once and not
3424 once per property and when trying to control a property again
3425 we should also increase the refcount.
3427 2006-09-29 Wim Taymans <wim@fluendo.com>
3429 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3430 * libs/gst/net/gstnettimeprovider.c:
3431 (gst_net_time_provider_thread):
3432 Stop reading commands when EOF as well.
3434 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3435 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3436 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3437 Unify description of the dump property.
3439 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3441 * tests/examples/manual/.cvsignore:
3442 OK, so it's actually cvsignore that needs changing. Stop laughing.
3444 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3446 * tests/examples/manual/Makefile.am:
3447 Gah, declare vars *before* using them
3449 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3451 * gst/gst.c: (init_pre), (scan_and_update_registry),
3452 (ensure_current_registry_nonforking),
3453 (ensure_current_registry_forking), (ensure_current_registry),
3454 (init_post), (gst_debug_help), (gst_deinit):
3455 * gst/gst_private.h:
3456 * gst/gstregistry.c: (gst_registry_finalize),
3457 (gst_registry_remove_features_for_plugin_unlocked),
3458 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3459 (gst_registry_scan_path),
3460 (_priv_gst_registry_remove_cache_plugins),
3461 (_priv_gst_registry_cleanup):
3462 * gst/gstregistry.h:
3463 Re-commit the registry changes, along with an extra fix:
3464 When a cached plugin is encountered at a different file path,
3465 update the stored path in the registry cache so that the parent
3466 process knows where it actually is now when it re-reads the registry
3467 cache. Fixes the thing that broke distcheck with the previous commit.
3469 * tests/check/Makefile.am:
3470 Clean up files named 'core' too when running make clean.
3472 * tests/examples/manual/Makefile.am:
3473 Set up a registry path for running these tests, and clean it properly
3476 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3479 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3480 want gmodule-no-export-2.0.pc instead so that we don't drag in
3481 --export-dynamic on every project that links to GStreamer.
3483 Also, make our export regex only match the start of symbols, rather
3484 than any symbol that contains '_gst' somewhere.
3486 * libs/gst/check/Makefile.am:
3487 The libgstcheck we build does however need export-dynamic, as it
3488 produces some symbols that don't match our _gst... style regex.
3491 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3493 * gst/gst.c: (init_pre), (scan_and_update_registry),
3494 (ensure_current_registry_nonforking),
3495 (ensure_current_registry_forking), (ensure_current_registry),
3496 (init_post), (gst_debug_help), (gst_deinit):
3497 * gst/gst_private.h:
3498 * gst/gstregistry.c: (gst_registry_finalize),
3499 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3500 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3501 (_gst_registry_cleanup):
3502 * gst/gstregistry.h:
3503 Revert previous change until I figure out why it breaks distcheck.
3505 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3507 * gst/gst.c: (init_pre), (scan_and_update_registry),
3508 (ensure_current_registry_nonforking),
3509 (ensure_current_registry_forking), (ensure_current_registry),
3510 (init_post), (gst_debug_help), (gst_deinit):
3512 Make init_pre and init_post take the full complement of GOptionFunc
3513 args so they can return useful GErrors. Make the registry updating
3516 Call _priv_gst_registry_remove_cache_plugins after scanning files to
3517 ensure that the registry we're about to write out doesn't contain
3518 stale information about old-deleted plugin files.
3520 Make _priv_gst_registry_remove_cache_plugins return a boolean so
3521 that deletion of plugin files is considered a registry change.
3523 * gst/gst_private.h:
3524 * gst/gstregistry.c: (gst_registry_finalize),
3525 (gst_registry_remove_features_for_plugin_unlocked),
3526 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3527 (gst_registry_scan_path),
3528 (_priv_gst_registry_remove_cache_plugins),
3529 (_priv_gst_registry_cleanup):
3530 * gst/gstregistry.h:
3531 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3532 by adding _priv prefix, so that they won't appear in the global
3533 symbol table. They still do atm though because of #318031. Move the
3534 prototypes to gst_private.h
3536 When removing a plugin, remove all features for that plugin too.
3539 2006-09-27 Wim Taymans <wim@fluendo.com>
3541 * docs/random/moving-plugins:
3542 Make it clear that the "compiled-in descriptions" really mean
3543 the element details.
3545 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3546 (gst_base_sink_wait_preroll):
3549 * docs/libs/gstreamer-libs-sections.txt:
3550 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3551 (gst_base_src_get_range), (gst_base_src_activate_push):
3552 * libs/gst/base/gstbasesrc.h:
3553 Added function to block while waiting for PLAYING, this function
3554 is used by live sources that block on the clock.
3555 API: gst_base_src_wait_playing()
3557 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3559 Patch by: Peter Kjellerstedt <pkj at axis com>
3562 gst-element-check.m4 is generated and should therefore be
3563 copied from the build dir rather than the source dir (#357593).
3564 'make distcheck' hasn't noticed this because we were disting
3565 the file as well, so stop doing that.
3567 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3569 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3570 Add some tests for gst_caps_intersect().
3572 * tools/gst-launch.c: (event_loop):
3573 Print all buffering percentages we get, even the 100% one.
3575 2006-09-26 Wim Taymans <wim@fluendo.com>
3577 * tools/gst-inspect.c: (print_element_properties_info),
3578 (print_signal_info):
3579 Fix printing of flags to match the look of enums.
3581 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3583 * gst/gstelementfactory.c:
3584 Fix typo in docs blurb.
3586 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3588 * gst/gsturi.c: (search_by_entry):
3589 Don't assert/crash here if a uri handler doesn't return any
3590 supported protocols. The list of protocols could be generated
3591 dynamically at runtime or at plugin registration, and an error
3592 in the underlying library shouldn't be fatal (#353301).
3594 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3597 Fix warning if HAVE_PRINTF_EXTENSION is undefined
3598 (spotted by Peter Kjellerstedt).
3600 2006-09-23 Wim Taymans <wim@fluendo.com>
3602 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3604 * libs/gst/base/gstbasesrc.c:
3605 (gst_base_src_default_check_get_range), (gst_base_src_start),
3606 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3607 (gst_base_src_change_state):
3608 Match _start/_stop calls in the activate functions. Remove redundant
3609 _stop call from the state change function. Fixes #356910.
3610 Turn failure DEBUG into ERROR.
3612 2006-09-22 Wim Taymans <wim@fluendo.com>
3614 * docs/design/part-buffering.txt:
3615 * gst/gstmessage.c: (gst_message_new_buffering),
3616 (gst_message_parse_buffering):
3617 Update docs about buffering.
3619 * docs/design/part-trickmodes.txt:
3622 2006-09-22 Stefan Kost <ensonic@users.sf.net>
3624 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3625 (gst_controller_new_list):
3626 Ref instances when returning them again (fixes #357180)
3628 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
3630 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3631 Don't forget to release proxy lock when there's an error.
3633 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
3636 Add extra initialisers for Caps things, to fix some plugin warnings
3639 2006-09-18 Wim Taymans <wim@fluendo.com>
3641 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3642 Also set template on the internal pad so that a getcaps from the
3643 target pad returns the template caps.
3645 2006-09-18 Wim Taymans <wim@fluendo.com>
3647 * gst/gstelement.c: (gst_element_post_message),
3648 (gst_element_dispose):
3649 Use _DEBUG_OBJECT some more.
3651 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3654 * tools/gst-launch.c: (main):
3655 If the toplevel element is not a GstPipeline, it must be put in a
3656 pipeline so that a bus and clock is selected.
3658 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3660 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3661 JITTER, RATE, and LATENCY query should be handled by the
3662 default case and not by the CONVERT query code.
3664 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3666 * gst/gstformat.c: (gst_format_register):
3667 Fix locking order (must take lock before using n_values).
3669 * gst/gstvalue.c: (gst_value_serialize_enum),
3670 (gst_value_deserialize_enum_iter_cmp),
3671 (gst_value_deserialize_enum):
3672 Fix serialisation/deserialisation of custom registered GstFormats.
3674 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3675 Unit test for custom format serialisation/deserialisation.
3677 2006-09-17 Stefan Kost <ensonic@users.sf.net>
3679 * docs/pwg/building-boiler.xml:
3680 * plugins/elements/gstcapsfilter.c:
3681 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3684 2006-09-16 Edward Hervey <edward@fluendo.com>
3686 * libs/gst/base/gstbasetransform.c:
3687 (gst_base_transform_buffer_alloc):
3688 Check if requested caps are the same as the sinks caps IF
3689 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3691 This fixes the renegotiation issues stated in #352827.
3693 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3696 * docs/manual/advanced-autoplugging.xml:
3697 * tests/examples/Makefile.am:
3698 * tests/examples/manual/.cvsignore:
3699 * tests/examples/manual/Makefile.am:
3700 * tests/examples/manual/extract.pl:
3701 Extract the manual examples again like we used to do.
3704 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3706 * win32/common/config.h:
3709 2006-09-16 Stefan Kost <ensonic@users.sf.net>
3712 Documents how to receive errors.
3714 2006-09-15 Wim Taymans <wim@fluendo.com>
3716 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3717 (event_loop), (main):
3718 Added some comments here and there.
3719 Post an application message when an interrupt is caught instead of doing
3720 an uncontrolled state change.
3721 Clean up the event loop.
3722 Handle buffering messages, pause/resume the pipeline.
3723 Make shutdown because of an interrupt more reliable.
3725 2006-09-15 Wim Taymans <wim@fluendo.com>
3727 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3728 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3729 (gst_base_sink_preroll_object):
3730 Make sure that our internal state is correct when we commit our state
3731 asynchronously. This solves a race where a state change to PLAYING
3732 could cause the sink to remain blocked in preroll in some situations.
3734 2006-09-15 Wim Taymans <wim@fluendo.com>
3736 * tools/gst-inspect.c: (print_element_properties_info),
3737 (print_signal_info):
3738 List flags as hex so it's easier to deal with.
3740 2006-09-15 Wim Taymans <wim@fluendo.com>
3742 * docs/libs/gstreamer-libs-sections.txt:
3743 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3744 (gst_base_sink_do_sync):
3745 * libs/gst/base/gstbasesink.h:
3746 Expose logic to wait for preroll so that subclasses such as audiosink
3747 can also use this method.
3748 API: gst_base_sink_wait_preroll()
3750 2006-09-15 Wim Taymans <wim@fluendo.com>
3752 * gst/gstobject.c: (gst_object_set_parent):
3753 * gst/gstpipeline.c: (do_pipeline_seek):
3754 Small cleanups in docs and code.
3756 * gst/gstsegment.c: (gst_segment_clip):
3757 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3758 if stop == start and start is in the segment, no clipping should be
3759 done. Also add a test for this.
3761 2006-09-15 Wim Taymans <wim@fluendo.com>
3763 * docs/design/part-buffering.txt:
3764 * docs/gst/gstreamer-sections.txt:
3765 * gst/gstmessage.c: (gst_message_new_buffering),
3766 (gst_message_parse_buffering):
3768 Added methods to create and parse BUFFERING messages.
3769 Added preliminary docs about buffering.
3770 API: gst_message_new_buffering
3771 API: gst_message_parse_buffering
3773 2006-09-06 Wim Taymans <wim@fluendo.com>
3776 Update documentation.
3778 * gst/gstelement.c: (gst_element_class_init),
3779 (gst_element_release_request_pad), (gst_element_set_clock),
3780 (gst_element_get_index), (gst_element_add_pad),
3781 (gst_element_remove_pad), (gst_element_get_random_pad),
3782 (gst_element_send_event), (gst_element_get_query_types),
3783 (gst_element_query), (gst_element_post_message),
3784 (gst_element_message_full), (gst_element_continue_state),
3785 (gst_element_lost_state), (gst_element_save_thyself),
3786 (gst_element_restore_thyself):
3787 Documentation updates.
3788 Rename last bit of the new-pad -> pad-added signal rename.
3789 Fix the case where an element query would only work if the source
3791 Avoid some useless type checking in message handling.
3796 Documentation updates.
3798 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3800 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3801 add an INFO line for when we actually update the fd
3803 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3808 === release 0.10.10 ===
3810 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3813 releasing 0.10.10, "Pais"
3815 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
3817 * docs/manual/advanced-position.xml:
3818 Fix typo in sample code.
3820 2006-09-05 Wim Taymans <wim@fluendo.com>
3822 * libs/gst/net/gstnetclientclock.c: (inet_aton),
3823 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3824 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3825 * libs/gst/net/gstnetclientclock.h:
3826 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3827 * libs/gst/net/gstnettimepacket.h:
3828 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3829 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3830 (gst_net_time_provider_thread), (gst_net_time_provider_new):
3831 * libs/gst/net/gstnettimeprovider.h:
3832 Make stuff compile on windows. Fixes #345295.
3834 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3836 * gst/gst.c: (ensure_current_registry_forking):
3837 Print better details when child was terminated by signal.
3839 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3841 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3842 Print a warning rather than g_assert() if a plugin feature
3843 is a URI handler but returns no protocols (#353976).
3845 2006-09-02 Stefan Kost <ensonic@users.sf.net>
3847 * docs/random/moving-plugins:
3850 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
3852 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3853 Fix locking order, handle NULL function values properly.
3858 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3859 Initialise variable before using it and fix debug statement to
3860 print the address of the function rather than the address of the
3861 variable on the stack holding the address of the function.
3863 2006-09-01 Wim Taymans <wim@fluendo.com>
3865 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3866 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3867 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3868 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3869 (gst_ghost_pad_parent_unset),
3870 (gst_ghost_pad_internal_do_activate_push),
3871 (gst_ghost_pad_internal_do_activate_pull),
3872 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3873 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3874 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3875 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3876 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3877 (gst_ghost_pad_new_no_target_from_template),
3878 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3880 Avoid needless typechecking in macros.
3881 Since the internal pad is always present and never changes, there is
3882 no need to locking or ref when retrieving it.
3883 Improve debugging a bit.
3884 Handle link errors when setting the target. Fixes #341029.
3886 2006-09-01 Wim Taymans <wim@fluendo.com>
3888 * docs/libs/gstreamer-libs-sections.txt:
3889 * docs/plugins/gstreamer-plugins-sections.txt:
3892 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3893 (gst_collect_pads_event):
3894 * libs/gst/base/gstcollectpads.h:
3895 Documentation updates.
3896 Free queued buffer when removing a pad.
3898 2006-08-31 Michael Smith <msmith@fluendo.com>
3900 * gst/gstutils.c: (gst_element_link_pads),
3901 (gst_element_link_pads_filtered):
3902 Ensure that we set a capsfilter to NULL if we failed to link it
3903 when doing filtered linking, to avoid criticals.
3905 No need to check for unreffing srcpad, which is explicly NULLed
3906 above (a trivial code cleanup).
3908 2006-08-31 Wim Taymans <wim@fluendo.com>
3910 * docs/design/part-gstghostpad.txt:
3911 Update ascii art in documentation.
3913 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3914 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3915 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3916 (gst_ghost_pad_internal_do_activate_push),
3917 (gst_ghost_pad_internal_do_activate_pull),
3918 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3919 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3920 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3921 (gst_ghost_pad_set_target):
3922 Small cleanups and leak fixes.
3923 Remove some checks now that the internal pad is never NULL.
3924 Fix the case where linking pads without a target would create nasty
3925 criticals. Fixes #341029.
3926 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3927 value of _set_target().
3929 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3930 (gst_ghost_pad_suite):
3931 Some more tests for creating and linking untargeted ghostpads.
3933 2006-08-31 Edward Hervey <edward@fluendo.com>
3935 * docs/gst/gstreamer-sections.txt:
3936 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3937 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3938 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3939 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3940 (gst_ghost_pad_new_from_template),
3941 (gst_ghost_pad_new_no_target_from_template):
3942 * gst/gstghostpad.h:
3943 Refactored *_new() functions.
3944 Templates are now used as a g_object_new() parameter.
3945 Use template in _do_getcaps() if we don't have a target.
3946 Small documentation cleanups.
3947 Added two new constructors:
3948 gst_ghost_pad_new_from_template()
3949 gst_ghost_pad_new_no_target_from_template()
3950 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3951 (gst_ghost_pad_suite):
3952 Added tests for new ghostpad instanciation functions.
3954 API additions: gst_ghost_pad_new_from_template,
3955 gst_ghost_pad_new_no_target_from_template
3957 2006-08-30 Stefan Kost <ensonic@users.sf.net>
3959 * docs/random/ensonic/profiling.txt:
3960 Ideas about qos profiling.
3962 2006-08-29 Wim Taymans <wim@fluendo.com>
3964 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3968 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
3971 Improve and detypofy docs.
3973 * tests/check/Makefile.am:
3974 * tests/check/gst/.cvsignore:
3975 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3976 Add a basic test suite for GstXML.
3978 2006-08-29 Wim Taymans <wim@fluendo.com>
3980 * gst/gstelement.c: (activate_pads), (clear_caps),
3981 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3982 Clear the pad caps when the element shut down all of the pads and
3983 is not streaming data that could modify the caps.
3986 2006-08-28 Michael Smith <msmith@fluendo.com>
3988 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3989 Revert previous change; I misunderstood single-segment mode.
3991 2006-08-28 Michael Smith <msmith@fluendo.com>
3993 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3994 Unset DISCONT on buffers when using single-segment mode.
3996 2006-08-28 Wim Taymans <wim@fluendo.com>
3998 * gst/gstcaps.c: (gst_caps_merge_structure):
4000 Fix docs and indentation again.
4002 * tests/check/gst/gstquery.c: (GST_START_TEST):
4003 Fix leak in tests and add some more tests.
4005 2006-08-28 Edward Hervey <edward@fluendo.com>
4007 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4008 Inform GstSegment of the last stop position in order for the current
4009 segment to have a proper duration if it doesn't have a specific stop
4010 position from which a duration could be calculated.
4011 This bug was noticeable when a non-flushing, non-update new segment was
4012 followed by another segment (all buffers from the new segment were being
4015 2006-08-28 Wim Taymans <wim@fluendo.com>
4017 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
4018 Small comment update.
4020 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4021 (gst_identity_transform_ip):
4022 Drop-probability is broken, mention this in the code with a
4023 FIXME and also in the property description.
4024 Make silent also be silent about the drop messages.
4026 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
4028 * docs/manual/appendix-win32.xml:
4029 Remove mention of popt, we don't depend on that any
4030 longer (#353136). Add some comments pointing out that
4031 this section is slightly outdated.
4033 2006-08-28 Wim Taymans <wim@fluendo.com>
4035 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4037 * gst/gstquery.c: (gst_query_new_segment):
4038 * tests/check/gst/gstquery.c: (GST_START_TEST):
4039 Initialize variables when creating a new segment query.
4042 2006-08-28 Wim Taymans <wim@fluendo.com>
4044 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
4046 * gst/gstelement.c: (gst_element_get_bus):
4047 * tests/check/gst/gstelement.c: (GST_START_TEST):
4048 Check for NULL before _reffing the bus. Fixes #353122.
4050 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
4052 * docs/manual/basics-bus.xml:
4053 Docs update: fix wrong callback return value explanation; add
4054 some lines about the implicit relationship between main loop
4055 and main context; remove duplicate main loop variable declaration.
4057 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
4059 * tests/check/gst/gstcaps.c: (GST_START_TEST):
4060 Don't leak caps in unit test; add a few more simple
4063 2006-08-24 Stefan Kost <ensonic@users.sf.net>
4065 * docs/gst/gstreamer-sections.txt:
4066 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
4067 (gst_caps_structure_is_subset), (gst_caps_merge),
4068 (gst_caps_merge_structure):
4070 * libs/gst/base/gstbasetransform.c:
4071 (gst_base_transform_transform_caps):
4072 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4073 implement caps merging (fixes #352580)
4075 2006-08-23 Stefan Kost <ensonic@users.sf.net>
4077 * tools/Makefile.am:
4078 * tools/gst-plot-timeline.py:
4079 add debug-log plotting developer tool (#340674)
4081 2006-08-23 Wim Taymans <wim@fluendo.com>
4083 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
4084 (gst_pad_stop_task):
4085 Improve debugging for task functions.
4087 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
4088 (gst_task_start), (gst_task_pause), (gst_task_join):
4089 Make sure that the task function started and finished after a
4091 Don't try to push the task function on the threadpool multiple
4093 Improve the g_warning message with some useful suggestions
4094 about how to fix the problem.
4096 2006-08-23 Wim Taymans <wim@fluendo.com>
4098 * gst/gstutils.c: (gst_pad_proxy_getcaps):
4099 Handle RESYNC correctly in _proxy_getcaps.
4101 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
4103 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
4104 (gst_xml_parse_memory), (gst_xml_get_element):
4105 Chain up to parent class in dispose function and also
4106 unref the elements in the toplevel_elements GList.
4107 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
4108 Always return a reference in gst_xml_get_element() rather
4109 than only sometimes.
4111 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
4112 Don't leak GstXml object.
4114 2006-08-21 Stefan Kost <ensonic@users.sf.net>
4116 * docs/gst/gstreamer-sections.txt:
4117 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
4120 * libs/gst/base/gstbasetransform.c:
4121 (gst_base_transform_transform_caps):
4122 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
4125 2006-08-21 Edward Hervey <edward@fluendo.com>
4127 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
4128 Implement GObject::dispose virtual method in GstXML so we can free the
4131 2006-08-21 Wim Taymans <wim@fluendo.com>
4133 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
4134 (gst_buffer_create_sub):
4135 Copy duration/offset_end/caps when creating a subbuffer of the
4137 Make the subbuffer read-only when we make the metadata writable for
4140 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4141 Added check for metadata copy when creating subbuffers.
4143 2006-08-21 Edward Hervey <edward@fluendo.com>
4145 * libs/gst/base/gstbasetransform.c:
4146 (gst_base_transform_buffer_alloc):
4147 Only call downstream buffer_alloc if transform element is passthrough
4148 or always_in_place. Closes #350449.
4150 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4153 ChangeLog surgery to add comments to previous changes
4155 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4160 * gst/gstpad.c: (gst_pad_set_active):
4161 Be more verbose in the log
4163 * libs/gst/base/gstbasetransform.c:
4164 (gst_base_transform_transform_caps):
4165 Simplify caps to get rid of duplicates, fixes #345444
4167 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4171 Use these optimizations only internally.
4173 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4175 * gst/gstvalue.c: (gst_value_compare_list),
4176 (gst_value_compare_fraction_range),
4177 (gst_value_intersect_fraction_fraction_range),
4178 (gst_value_intersect_fraction_range_fraction_range),
4179 (gst_value_subtract_fraction_fraction_range),
4180 (gst_value_subtract_fraction_range_fraction_range),
4181 (gst_value_get_compare_func), (gst_value_compare),
4182 (gst_value_compare_with_func):
4184 Saves the expensive lookup of the compare function in many cases
4187 2006-08-18 Edward Hervey <edward@fluendo.com>
4189 * tests/check/gst/gstinfo.c: (gst_info_suite):
4190 Disable test that require gstdebug if it wasn't built in core.
4192 2006-08-18 Stefan Kost <ensonic@users.sf.net>
4194 * docs/random/ensonic/logging.txt:
4197 * gst/gstinfo.c: (gst_debug_log_default):
4198 reorder fields, save some columns, add optional color codes for log
4201 2006-08-18 Stefan Kost <ensonic@users.sf.net>
4203 * docs/random/ensonic/logging.txt:
4204 add ideas about making the logs a bit more useful
4206 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
4208 * docs/pwg/advanced-events.xml:
4209 * docs/pwg/titlepage.xml:
4210 Update for 0.10 API (#340627). Add myself
4213 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
4215 * docs/libs/gstreamer-libs-docs.sgml:
4216 * docs/libs/gstreamer-libs-sections.txt:
4217 * libs/gst/check/gstbufferstraw.c:
4218 Make gstcheck stuff show up in docs (still needs to
4219 be documented properly though).
4221 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
4223 * docs/gst/gstreamer-sections.txt:
4225 * gst/gst.c: (init_post):
4226 * gst/gst_private.h:
4227 * gst/gstquark.c: (_priv_gst_quarks_initialize):
4229 * gst/gstquery.c: (gst_query_new_position),
4230 (gst_query_set_position), (gst_query_parse_position),
4231 (gst_query_new_duration), (gst_query_set_duration),
4232 (gst_query_parse_duration), (gst_query_new_convert),
4233 (gst_query_set_convert), (gst_query_parse_convert),
4234 (gst_query_new_segment), (gst_query_set_segment),
4235 (gst_query_parse_segment), (gst_query_new_seeking),
4236 (gst_query_set_seeking), (gst_query_parse_seeking):
4237 Add internal helpers for pre-registering quarks from static strings
4238 and using the quark values directly instead of looking them up when
4239 creating and parsing queries. Can be used for event construction too.
4242 2006-08-16 Wim Taymans <wim@fluendo.com>
4247 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4249 * gst/gstutils.c: (gst_util_set_value_from_string):
4250 Fix memleak (#351502).
4252 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4253 Add unit test for most of gst_util_set_value_from_string()
4254 (not that one would want to encourage use of this function).
4256 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4258 * libs/gst/check/gstcheck.h:
4259 Use const gchar * variables in fail_unless_equals_string
4260 macro to avoid compiler warnings (and don't use tabs for
4263 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4265 * tools/gst-launch.c: (print_tag):
4266 More space on the left for the tag names, to cater
4267 for the 'extended comment' tag (not touching the
4268 string for the first line since it's translated).
4270 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4272 * libs/gst/check/gstcheck.h:
4273 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
4274 print something when they fail.
4276 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4278 * docs/gst/gstreamer-sections.txt:
4279 * gst/gsttaglist.c: (_gst_tag_initialize):
4281 API: add GST_TAG_EXTENDED_COMMENT (#350935).
4282 Also change merge function for GST_TAG_COMMENT to
4285 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4287 * gst/gstinfo.c: (gst_debug_print_object):
4288 Make GST_PTR_FORMAT print messages as well.
4290 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
4291 (GST_START_TEST), (gst_info_suite):
4294 2006-08-14 Edward Hervey <edward@fluendo.com>
4296 * gst/gstelementfactory.c: (gst_element_register):
4297 If the GstElementClass doesn't have a GstElementDetails with all fields
4298 filled up correctly (longname, description AND author), then error out
4299 nicely instead of crashing.
4301 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4303 * gst/gststructure.c:
4304 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
4307 Expand on the difference between arrays and lists as we use them.
4309 2006-08-14 Wim Taymans <wim@fluendo.com>
4311 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4312 If the parent state change function failed, don't assume we can safely
4313 stop the source, this will be done when the pads are deactivated.
4315 2006-08-14 Wim Taymans <wim@fluendo.com>
4318 * gst/gsttask.c: (gst_task_join):
4321 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4322 (gst_pad_stop_task):
4323 When pad (de)activation failed for some reason, restore the old
4324 activation mode and set the pad to flushing instead of assuming the
4326 If the _task_join() failed, reinstall the task on the pad so that it can
4327 be stopped later and return an error.
4329 2006-08-11 Andy Wingo <wingo@pobox.com>
4332 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4333 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
4334 is only for users of API that don't want to see deprecated
4335 functions in the headers; people that want to compile out
4336 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
4337 CFLAGS. Fixes the build of multifdsink, or will soon..
4339 2006-08-11 Wim Taymans <wim@fluendo.com>
4341 * docs/gst/gstreamer-sections.txt:
4342 Add GstClockClass vmethod docs.
4345 Mark #endif with comment for associated #if
4347 * gst/gstclock.c: (gst_clock_id_wait):
4349 Add vmethod wait_jitter to avoid an unneeded _get_time() for
4350 most clock implementations.
4352 Flesh out docs about resolution methods.
4353 API: GstClockClass::wait_jitter
4355 * gst/gstsystemclock.c: (gst_system_clock_class_init),
4356 (gst_system_clock_async_thread),
4357 (gst_system_clock_id_wait_jitter_unlocked),
4358 (gst_system_clock_id_wait_jitter):
4359 Use base class wait_jitter variant for improved performance
4360 due to less clock polling.
4362 2006-08-11 Edward Hervey <edward@fluendo.com>
4364 * gst/gst.c: (gst_init_check), (init_post):
4365 Set gst as being initialized before scanning/updating the registry,
4366 since there might be my python plugin loader that calls gst_init() and
4367 we don't want to loop back in.
4370 2006-08-11 Wim Taymans <wim@fluendo.com>
4372 * docs/design/part-qos.txt:
4373 Bring docs in line with the code. Mostly the sign of the jitter was
4374 wrong in the docs. Fixes #349943.
4377 Fix the docs for the jitter.
4379 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
4380 (gst_event_parse_tag), (gst_event_new_buffer_size),
4381 (gst_event_parse_buffer_size), (gst_event_parse_qos),
4382 (gst_event_new_seek), (gst_event_parse_seek),
4383 (gst_event_new_navigation):
4384 Make sure the GstStructure has no parent when creating custom
4386 Add some more argument checking so that we avoid 0.0 rates.
4387 Flesh out the docs for the QoS event some more.
4389 2006-08-11 Wim Taymans <wim@fluendo.com>
4391 * docs/gst/gstreamer-sections.txt:
4392 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4393 (ensure_current_registry_forking), (ensure_current_registry),
4394 (parse_one_option), (parse_goption_arg), (gst_deinit),
4395 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
4398 Added API and command line option to disable registry forking in
4399 addition to the environment variable.
4400 Constify some static arrays.
4401 Added some more debug.
4403 API: gst_registry_fork_is_enabled()
4404 API: gst_registry_fork_set_enabled()
4405 API: --gst-disable-registry-fork command line option
4408 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
4410 * gst/gst.c: (gst_init):
4411 Fix typo in error message.
4413 2006-08-10 Stefan Kost <ensonic@users.sf.net>
4415 * libs/gst/controller/gstcontroller.h:
4416 fix ABI size-correction
4418 * tests/check/libs/gdp.c: (gst_dp_suite):
4419 make tests that use deprecated API conditional
4421 2006-08-10 Stefan Kost <ensonic@users.sf.net>
4423 * docs/libs/gstreamer-libs-sections.txt:
4424 * libs/gst/controller/gstcontroller.c:
4425 (_gst_controller_get_property), (_gst_controller_set_property),
4426 (_gst_controller_init), (_gst_controller_class_init):
4427 * libs/gst/controller/gstcontroller.h:
4428 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
4429 (gst_object_set_control_rate):
4430 API: add gst_object_{s,g}et_control_rate(), add private data section,
4433 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4434 * libs/gst/dataprotocol/dataprotocol.h:
4435 add deprecation guards to make gtk-doc happy and allow disabling cruft
4437 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
4439 * tests/check/Makefile.am:
4440 * tests/check/gst/.cvsignore:
4441 Let's enable the new unit test as well.
4443 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
4446 * docs/gst/gstreamer-sections.txt:
4447 * gst/gstconfig.h.in:
4448 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
4449 (_gst_info_printf_extension_ptr),
4450 (_gst_info_printf_extension_segment):
4451 API: add GST_SEGMENT_FORMAT, which is a printf extension we
4452 register that lets us easily dump GstSegments into debug
4455 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
4456 (info_segment_format_printf_extension), (gst_info_suite):
4457 Add simple unit test that logs a bunch of different segments (not
4458 valgrinded at the moment because of leaks in
4459 gst_debug_add_log_function).
4461 2006-08-09 Edward Hervey <edward@fluendo.com>
4463 * libs/gst/base/gstbasetransform.c:
4464 (gst_base_transform_buffer_alloc):
4465 Even if we can't figure out the proper format to request downstream,
4466 call buffer_alloc() downstream with the input parameters without setting
4467 the caps on the srcpad. This will force negotiation in the chain
4471 2006-08-08 Edward Hervey <edward@fluendo.com>
4473 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4474 Unlinking from a pad without a target is now a perfectly valid case
4475 which should NOT raise an assertion.
4476 This case would happen if a linked ghostpad its target set to NULL after
4477 it was previously linked.
4479 2006-08-08 Edward Hervey <edward@fluendo.com>
4481 * tests/check/libs/gdp.c:
4482 Also comment out the test (see below).
4484 2006-08-08 Edward Hervey <edward@fluendo.com>
4486 * tests/check/libs/gdp.c: (gst_dp_suite):
4487 Use the architecture information from config.h and not gcc macros
4488 in order to properly disable a test that fails on PPC64.
4490 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
4492 * gst/gstelement.c: (gst_element_remove_pad):
4493 Don't crash printing the warning if the pad has no parent.
4495 2006-08-02 Wim Taymans <wim@fluendo.com>
4497 * libs/gst/dataprotocol/dataprotocol.c:
4498 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4499 (gst_dp_crc), (gst_dp_header_payload_length),
4500 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4501 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4502 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4503 (gst_dp_event_from_packet), (gst_dp_validate_header),
4504 (gst_dp_validate_payload):
4505 Make debug category static
4506 Constify the crc table.
4507 Do some more arg checking in public functions.
4508 Fix some docs and do some small cleanups.
4510 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4511 Add some more checks to see if GDP deals with bogus input.
4513 2006-07-31 Wim Taymans <wim@fluendo.com>
4515 * gst/gstvalue.c: (gst_value_compare_list):
4516 Fix GstValueList comparison code. Fixes #347293.
4518 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4519 Check to test GstValueList comparison.
4521 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4523 * gst/gstelementfactory.c: (gst_element_factory_create):
4524 Remove unnecessary ref/unref pair
4526 * gst/parse/grammar.y:
4527 Make sure to free the parse buffer on all code paths.
4528 Move a g_free up to the error handler where it's easier to see.
4530 * tests/check/gst/gstevent.c: (test_event):
4531 Extending timeout for downstream travelling events to 10 seconds to
4532 hopefully avoid intermittent failure on the buildbots.
4534 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4535 Don't manually set the state of the src element - it will happen as a
4536 natural consequence of the pipeline changing state, and that way it
4537 will do it in the right order too.
4539 2006-07-31 Wim Taymans <wim@fluendo.com>
4541 * libs/gst/base/gstbasetransform.c:
4542 (gst_base_transform_buffer_alloc):
4543 Use OBJECT_LOCK and refcounting to get the pad caps in the
4544 buffer_alloc function because the caps could change while we are
4545 busy with them. Fixes #349105
4547 2006-07-31 Wim Taymans <wim@fluendo.com>
4549 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4550 Protect _PAD_CAPS with OBJECT_LOCK.
4552 2006-07-31 Wim Taymans <wim@fluendo.com>
4554 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4555 (gst_pad_get_property), (gst_pad_activate_pull),
4556 (gst_pad_activate_push), (gst_pad_set_blocked_async),
4557 (gst_pad_set_activate_function),
4558 (gst_pad_set_activatepull_function),
4559 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4560 (gst_pad_set_getrange_function),
4561 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4562 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4563 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4564 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4565 (gst_pad_set_acceptcaps_function),
4566 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4567 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4568 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4569 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4570 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4571 (gst_pad_configure_sink), (gst_pad_configure_src),
4572 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4573 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4574 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4575 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4576 (gst_pad_send_event):
4577 Use _DEBUG_OBJECT when it makes sense.
4578 Protect GST_PAD_CAPS with the OBJECT_LOCK.
4579 Small cleanups and code reflows.
4580 Avoid caps refcounting in _accept_caps.
4581 Refactor alloc_buffer so that the code performed on the peer is in a
4582 separate function. Also if the pad does not implement a buffer alloc
4583 function, we should still check if the pad is flushing before falling
4584 back to the default allocator.
4586 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4588 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4589 Make all uses of identity and fakesink have silent=true to avoid
4590 serialising every passing data structure, which is breaking tests
4591 on FC4 for some unknown reason.
4593 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4595 * gst/parse/Makefile.am:
4596 * gst/parse/grammar.y:
4597 * gst/parse/parse.l:
4598 Reverted previous patch as it required to bump the flex dependency to
4599 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4601 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4603 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4605 * gst/parse/Makefile.am:
4606 * gst/parse/grammar.y:
4607 * gst/parse/parse.l:
4608 push & pop the state of the lexer for reentrant use case
4611 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
4613 * libs/gst/base/gstbasesrc.h:
4614 Note in the docs that the ::newsegment vfunc is not actually used by
4617 2006-07-28 Wim Taymans <wim@fluendo.com>
4619 * libs/gst/base/gstcollectpads.c:
4620 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4621 (gst_collect_pads_clear), (gst_collect_pads_flush),
4622 (gst_collect_pads_event), (gst_collect_pads_chain):
4623 When flushing a pad, also clear the queued buffer so that we don't
4624 accidentally use it when we shouldn't.
4625 Fix leaks by inreffing incomming buffer.
4626 Flush out queued buffers in case of errors.
4629 2006-07-28 Wim Taymans <wim@fluendo.com>
4631 * docs/random/phonon-gst:
4632 Random notes about a Phonon backend.
4634 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4636 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4638 * tests/check/libs/gdp.c: (gst_dp_suite):
4639 Take a whack at fixing the ppc compile using a different define to
4640 disable the broken test.
4642 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4643 Remove excess g_print()
4645 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4647 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4648 Oops, meant to uncomment this line too to dampen the noise a bit.
4650 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4652 * gst/parse/grammar.y:
4653 * gst/parse/parse.l:
4654 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4655 (GST_START_TEST), (parse_suite):
4656 Fix some of the leaks exposed by extending the parse-launch testsuite,
4657 and move the 3 I can't figure out into a separate test that won't run
4658 the pipelines unless the appropriate line is uncommented.
4660 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4662 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4663 Requesting 0 bytes before the end of the file should result in
4664 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4667 2006-07-27 Wim Taymans <wim@fluendo.com>
4669 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4670 Fix useless assert, a uint is always positive.
4672 * gst/gststructure.c: (gst_structure_nth_field_name),
4673 (gst_structure_foreach), (gst_structure_map_in_place):
4674 Check input arguments for public functions to avoid obvious crashes.
4676 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4677 * plugins/elements/gstfakesink.h:
4678 Do less useless typechecking.
4680 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4682 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4683 Do not use mmap() by default since there are a number of error
4684 conditions that we would like to handle in a non-fatal way that
4685 will result in a SIGBUS if we use mmap(). Examples: external
4686 devices (USB harddrive, portable music player) being unplugged
4687 while in use; file on mounted CD/DVD that can't be read because
4688 the medium is partly damaged. Fixes #348455 and #348475.
4690 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4693 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4696 2006-07-26 Stefan Kost <ensonic@users.sf.net>
4698 * gst/gstregistry.c:
4699 Move big documentation comment into class section header, so that it
4700 appears in the API docs.
4702 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4704 * docs/gst/gstreamer-sections.txt:
4705 Oops. Commit the docs additions too for new API.
4706 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4708 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4710 * gst/gststructure.c: (gst_structure_id_set),
4711 (gst_structure_id_set_valist):
4712 * gst/gststructure.h:
4713 Add API for setting values into structures without performing
4714 a quark lookup, if the appropriate quark is already known.
4716 API: gst_structure_id_set
4717 API: gst_structure_id_set_valist
4719 * gst/parse/grammar.y:
4720 * gst/parse/parse.l:
4721 Remove some dead code shown by the coverage information.
4722 Don't throw a critical g_warning when encountering a syntax error,
4723 just warn and let the normal error path handle it.
4725 * plugins/elements/gstelements.c:
4726 Bump the rank of filesink up to PRIMARY so that it is preferred over
4727 gnomevfssink for file:// sink uri's
4729 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4730 (GST_START_TEST), (run_delayed_test),
4731 (gst_parse_test_element_base_init),
4732 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4733 (gst_parse_test_element_change_state),
4734 (gst_register_parse_element), (parse_suite):
4735 Beef up the tests for parse syntax to check that more error cases
4736 fail as they are supposed to. Increases the test coverage a bit.
4738 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
4740 * docs/manual/basics-elements.xml:
4741 Fix gst_element_link() example.
4744 Mention in API docs that one should usually gst_bin_add()
4745 elements to a bin or pipeline before doing the linking.
4747 2006-07-26 Wim Taymans <wim@fluendo.com>
4749 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4750 (gst_subbuffer_get_type), (gst_buffer_create_sub):
4751 Avoid function call for known types by keeping the buffer and
4752 subbuffer GType global.
4754 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4755 Random silly optimisations in read() path.
4757 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4759 * tools/gst-launch.c: (main):
4760 If the top-level of the parse is a normal bin, it doesn't do the
4761 right logic to run as a top-level element, so place it inside a
4764 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
4766 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4767 Remove superfluous g_object_notify() calls, GObject does
4768 that for us automatically.
4770 2006-07-25 Stefan Kost <ensonic@users.sf.net>
4773 on Win32, use dllspec to export the debug category symbols
4775 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
4777 * gst/gsttaglist.c: (_gst_tag_initialize):
4778 Allow more than one GST_TAG_IMAGE per taglist.
4780 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
4782 * gst/gstminiobject.c:
4784 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4785 (gst_fd_src_create):
4786 log recurring events at LOG level
4787 add more debug for when the fd gets set
4789 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4791 * gst/gstparse.c: (gst_parse_launch):
4792 Also remove reentrance checks if flex is MT safe (#348179)
4793 Fix my empty ChangeLog entry below
4795 2006-07-21 Andy Wingo <wingo@pobox.com>
4797 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4799 * libs/gst/check/Makefile.am
4800 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4801 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
4802 * libs/gst/check/gstbufferstraw.h:
4803 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4804 functions, thus proving I am still a GStreamer haxor. OK I wrote
4805 them a long time ago, but anyways.
4807 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4810 * gst/gstparse.c: (gst_parse_launch):
4811 Check for flex version and omit mutex if we have a MT save flex
4814 2006-07-21 Wim Taymans <wim@fluendo.com>
4816 * gst/gstparse.c: (gst_parse_launch):
4817 Protect recursive calls to _parse with a recursive mutex
4820 2006-07-21 Wim Taymans <wim@fluendo.com>
4822 * tests/check/gst/gstpad.c: (GST_START_TEST):
4825 2006-07-20 Stefan Kost <ensonic@users.sf.net>
4827 * gst/gstparse.c: (gst_parse_launch):
4828 Do not hang on recursive usage of gst_parse_launch()
4830 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4833 Add some more docs, comments and FIXME 0.11s here and there
4834 and also fix some typos.
4836 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4839 Convert tabs to spaces for better readability.
4841 2006-07-20 Edward Hervey <edward@fluendo.com>
4843 * tests/check/libs/gdp.c: (gst_dp_suite):
4844 the test_buffer test fails at line 140 on ppc64 at the following
4846 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4847 GST_BUFFER_FLAG_IN_CAPS),
4848 "GST_BUFFER_IN_CAPS flag should have been copied !");
4849 See bug #348114 for more details.
4851 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
4853 * docs/pwg/advanced-scheduling.xml:
4855 Fix typos (#348000).
4857 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
4859 * docs/pwg/intro-basics.xml:
4860 Fix wrong links (#347927).
4862 2006-07-18 Stefan Kost <ensonic@users.sf.net>
4864 * gst/gstregistry.h:
4865 * gst/gstregistryxml.c: (load_feature),
4866 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4867 * win32/common/config.h:
4868 make --disable-index work (#342564)
4870 2006-07-18 Wim Taymans <wim@fluendo.com>
4872 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4876 The attached patch adds two missing defines to gsttrace.h when tracing
4877 is disabled. It also corrects one existing define.
4880 2006-07-17 Wim Taymans <wim@fluendo.com>
4882 * docs/gst/gstreamer-sections.txt:
4883 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4885 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4886 Add two functions to check and change the SIGSEGV behaviour
4887 when loading plugins.
4888 Don't mess with the SIGSEGV handler when we were told not to.
4890 API: gst_segtrap_is_enabled
4891 API: gst_segtrap_set_enabled
4893 2006-07-14 Wim Taymans <wim@fluendo.com>
4895 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4896 * tests/check/elements/filesrc.c: (GST_START_TEST):
4897 Revert fix for regression in #347408 after release.
4899 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
4901 Patch by: Antoine Tremblay <hexa00 at gmail com>
4903 * gst/gstutils.c: (gst_element_unlink):
4904 Free iterator when done (#347311).
4906 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4907 And add a test case for this.
4909 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
4912 Bump nano back to CVS
4914 === release 0.10.9 ===
4916 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
4919 releasing 0.10.9, "On the road again"
4921 2006-07-13 Wim Taymans <wim@fluendo.com>
4923 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4924 * tests/check/elements/filesrc.c: (GST_START_TEST):
4925 Revert pull-0 fix for release. Disable check. Fixes #347408.
4927 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4929 * libs/gst/dataprotocol/dataprotocol.c:
4930 (gst_dp_event_from_packet_1_0):
4931 Fixes #347337: failure to deserialize event packets with
4932 empty payload (only event type)
4934 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4937 do not install a .c file in the header directory
4939 2006-07-13 Edward Hervey <edward@fluendo.com>
4941 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4942 GhostPad no longer implicitely use the padtemplates of the targets.
4945 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
4947 * gst/gstvalue.c: (gst_value_compare_list),
4948 (gst_value_compare_array), (_gst_value_initialize):
4949 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4950 Make GstValueArray comparison be order dependent as designed.
4951 Add checks for value lists and value array comparisons.
4954 2006-07-11 Edward Hervey <edward@fluendo.com>
4956 * gst/gstbin.c: (activate_pads),
4957 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4958 (gst_bin_change_state_func):
4959 (de)activate src pads before calling state_change on the childs.
4960 This is to avoid the case where a src ghostpad is blocked (holding the
4961 stream lock), which would block the deactivation of the ghostpad's
4963 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4964 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4965 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4966 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4967 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4968 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4969 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4970 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4971 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4972 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4973 (gst_ghost_pad_class_init),
4974 (gst_ghost_pad_internal_do_activate_push),
4975 (gst_ghost_pad_internal_do_activate_pull),
4976 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4977 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4978 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4979 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4980 GhostPads now create their internal GstProxyPad at creation (and not
4981 when they're linked, as it was being done previously).
4982 The internal and target pads are linked straight away.
4983 The data will also travel through the other pad in order to make
4984 pad blocking and probes non-hackish (the probe/block now really happens
4985 on the GhostPad and not on the target).
4986 * gst/gstpad.c: (gst_pad_set_blocked_async),
4987 (gst_pad_link_prepare), (gst_pad_push_event):
4988 Remove previous ghostpad cruft.
4989 * gst/gstutils.c: (gst_pad_add_data_probe),
4990 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4991 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4992 (gst_pad_remove_buffer_probe):
4993 Remove previous ghost pad cruft.
4994 Added more detailed debug statements.
4995 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4996 Fix the testsuite for refcounting changes.
4997 The comments about who has references were correct, but the refcount
4998 being checked wasn't the same (!?!).
5002 2006-07-10 Stefan Kost <ensonic@users.sf.net>
5004 * docs/gst/gstreamer-sections.txt:
5005 * gst/gstconfig.h.in:
5006 More docs for configuration options, add docs to gtk-doc.
5008 2006-07-10 Stefan Kost <ensonic@users.sf.net>
5011 * gst/gstconfig.h.in:
5012 * win32/common/config.h:
5013 Fix build when disabling tracing (fixes #344016). Also start to document
5014 the defines that disable the sub-systems.
5016 2006-07-10 Edward Hervey <edward@fluendo.com>
5018 * gst/gst.c: (ensure_current_registry_forking):
5019 let's make valgrind happy...
5021 2006-07-09 Wim Taymans <wim@fluendo.com>
5023 * gst/gstelement.c: (activate_pads),
5024 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5025 Better pad activation code: Reset the collect value too on resync.
5028 2006-07-09 Wim Taymans <wim@fluendo.com>
5030 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
5031 (gst_pad_activate_push):
5032 Use some more macros where it makes sense.
5033 Allow pad mode switching instead of asserting. When a pad
5034 is activated in one mode and we activate it in another,
5035 deactivate it first before activating it in a different mode.
5038 2006-07-08 Andy Wingo <wingo@pobox.com>
5040 * tools/gst-launch.c (main): Handle err == NULL.
5042 * gst/gst.c (init_post, ensure_current_registry)
5043 (ensure_current_registry_forking)
5044 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
5045 factoring out the registry scanning into separate functions. Don't
5046 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
5047 Better environment var name/interface suggestions accepted.
5049 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5051 * gst/gstobject.c: (gst_object_set_name_default),
5052 (gst_object_set_name):
5053 Random micro-optimisation: don't use a hash table
5054 with strings as keys and the usual strdup/strcmp
5055 involved, but rather just use the GQuark of the
5056 type name as key, since it needs to be looked up
5057 anyway to get the type name string.
5059 * tests/check/gst/gstobject.c: (GST_START_TEST):
5062 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5064 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
5065 (gst_bin_iterate_all_by_interface):
5066 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
5067 GTypes are gulongs and thus the top 4 bytes might be cut
5068 off on some platforms when doing GPOINTER_TO_INT, leading
5069 to invalid GTypes and bad things happening (see RH bug #179654).
5070 Also add a check to make sure the type passed in is really
5073 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5078 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
5082 * gst-element-check.m4:
5083 * gst-element-check.m4.in:
5084 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
5085 instead of the unversioned gst-inspect (#324176, #168659).
5087 2006-07-06 Wim Taymans <wim@fluendo.com>
5090 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
5093 2006-07-06 Wim Taymans <wim@fluendo.com>
5095 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5096 (gst_base_src_wait), (gst_base_src_update_length),
5097 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
5098 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
5099 (gst_base_src_loop), (gst_base_src_start),
5100 (gst_base_src_activate_pull):
5102 blocksize == 0 now means the default blocksize when working in push
5104 Remove some pointless asserts in _wait function.
5105 Fix offset/length calculations and EOS handling. We can now pull 0
5106 bytes as well, which is allowed.
5107 use _check_get_range() to decide if we can operate in _pull based
5109 Fix refcounting leak when check_get_range function was not
5111 API GstBaseSrc::blocksize range can be 0 too now (default)
5113 * tests/check/elements/filesrc.c: (GST_START_TEST),
5115 Added check to test _get_range() behaviour.
5117 2006-07-06 Wim Taymans <wim@fluendo.com>
5119 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5120 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
5121 (gst_pad_pull_range):
5123 Lots of comments and docs added to the pad functions.
5124 Flesh out the expected behaviour of the get_range() functions.
5126 2006-07-06 Wim Taymans <wim@fluendo.com>
5131 * gst/gstiterator.h:
5135 Remove comma at end of enumerator list.
5137 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
5139 * win32/common/libgstbase.def:
5140 * win32/common/libgstdataprotocol.def:
5141 * win32/common/libsgtreamer.def:
5142 Add new exported functions.
5144 2006-07-05 Wim Taymans <wim@fluendo.com>
5146 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
5147 Add some more docs here and there.
5149 2006-07-05 Wim Taymans <wim@fluendo.com>
5151 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
5152 (gst_base_sink_loop), (gst_base_sink_get_position):
5153 When operating in pull mode update the offset so that we
5156 2006-07-05 Wim Taymans <wim@fluendo.com>
5158 * gst/gstregistryxml.c: (read_string):
5159 Avoid strdup. (will happen in libxml, but hey!)
5164 2006-07-05 Wim Taymans <wim@fluendo.com>
5166 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
5167 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
5169 No point in checking if the size of the subbuffer > 0, the
5170 code handles it correclty as demonstrated by unit test.
5171 Also add a unit test for the zero sized _new_and_alloc and
5172 _copy. Fixes #346663.
5174 2006-07-05 Wim Taymans <wim@fluendo.com>
5176 * libs/gst/base/gstbasetransform.c:
5177 (gst_base_transform_prepare_output_buffer),
5178 (gst_base_transform_buffer_alloc),
5179 (gst_base_transform_handle_buffer):
5180 Make sure the buffer we pass to transform_ip has a refcount of
5181 1 and thus is writable. Fixes #343196
5183 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
5185 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5186 (gst_file_src_init), (gst_file_src_set_property),
5187 (gst_file_src_get_property), (gst_file_src_map_region):
5188 * plugins/elements/gstfilesrc.h:
5189 Add "sequential" property, off by default, to use madvise and hint
5190 to the kernel that sequential access is desired.
5191 Touch all retrieved pages by default to ensure they are pulled
5192 into memory. (Closes #345720)
5194 2006-07-03 Wim Taymans <wim@fluendo.com>
5196 * docs/design/part-block.txt:
5197 * docs/design/part-dynamic.txt:
5200 2006-07-03 Wim Taymans <wim@fluendo.com>
5202 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
5203 (gst_caps_unref), (gst_static_caps_get),
5204 (gst_caps_append_structure):
5205 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
5206 Use GSlice when the glib we build against is >= 2.10
5208 2006-07-03 Wim Taymans <wim@fluendo.com>
5210 * gst/gstelement.c: (gst_element_pads_activate):
5211 Small cleanup in pad activation code.
5213 2006-07-03 Wim Taymans <wim@fluendo.com>
5215 Patch by: Peter Kjellerstedt <pkj at axis dot com>
5217 * gst/gst-i18n-app.h:
5218 * gst/gst-i18n-lib.h:
5219 * tools/gst-inspect.c: (print_signal_info):
5220 The attached patch will make the inclusion of gettext.h unconditional in
5221 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
5222 libintl.h in tools/gst-inspect.c.
5223 This allows use of --disable-nls again and fixes #344642.
5225 2006-07-03 Edward Hervey <edward@fluendo.com>
5227 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
5228 Implement pad blocking on events according to part-block.txt.
5229 More comments on behaviour.
5230 * tests/check/gst/gstevent.c: (test_event):
5231 Send event to peer pad of blocked pad (else it will block).
5233 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5235 * libs/gst/check/gstcheck.c: (gst_check_message_error),
5236 (gst_check_run_suite):
5237 if we get the wrong message, give us the types as string
5238 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5240 * tests/check/elements/filesrc.c: (GST_START_TEST):
5241 add a test for trying to open a non-existing file
5243 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5245 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5246 add a test for adding self
5248 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5250 * libs/gst/check/gstcheck.h:
5251 add some assert_ as alias for fail_unless_*
5252 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
5253 increase test coverage
5255 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5258 include lcov.mak for lcov coverage generation
5259 * tools/Makefile.am:
5262 2006-07-02 Edward Hervey <edward@fluendo.com>
5264 * tests/check/elements/.cvsignore:
5267 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5270 don't set CFLAGS and friends for gcov, done from GST_GCOV now
5271 * tests/check/Makefile.am:
5274 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5276 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
5277 remove gst_caps_simplify; it was not declared and not used
5278 and deprecated in 0.8
5280 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5282 * docs/faq/gst-uninstalled:
5283 don't put empty paths on PYTHONPATH
5284 * docs/gst/gstreamer-sections.txt:
5285 remove some symbols that are not there
5287 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5289 * gst/gstcaps.c: (gst_caps_compare_structures):
5291 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5292 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5295 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5297 * libs/gst/dataprotocol/Makefile.am:
5298 build dataprotocol test by linking to the lib, instead of
5299 compiling the source, so we get coverage
5300 * tests/check/Makefile.am:
5301 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
5302 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
5303 add a test for filesrc
5305 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5307 * tests/check/gst/gststructure.c: (GST_START_TEST),
5308 (gst_structure_suite):
5309 Push coverage from 59.04% to 70.00%
5311 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5313 * tests/check/Makefile.am:
5314 gst-inspect every element; this makes sure that we also get
5315 coverage on element's get/set functions
5317 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5320 set CFLAGS and friends to -O0 if gcov is being used
5323 * libs/gst/base/Makefile.am:
5324 * libs/gst/check/Makefile.am:
5325 * libs/gst/controller/Makefile.am:
5326 * libs/gst/dataprotocol/Makefile.am:
5327 * libs/gst/net/Makefile.am:
5328 * plugins/elements/Makefile.am:
5329 * plugins/indexers/Makefile.am:
5330 add makefile rules to generate gcov data and clean up
5331 * tests/check/Makefile.am:
5332 add a coverage target that generates an html overview
5335 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5337 * tests/check/elements/fakesink.c:
5338 * tests/check/elements/fakesrc.c:
5339 * tests/check/elements/fdsrc.c:
5340 * tests/check/elements/identity.c:
5341 * tests/check/generic/sinks.c: (gst_sinks_suite):
5342 * tests/check/generic/states.c:
5343 * tests/check/gst/gst.c:
5344 * tests/check/gst/gstabi.c:
5345 * tests/check/gst/gstbin.c:
5346 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
5347 * tests/check/gst/gstbus.c: (gst_bus_suite):
5348 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5349 * tests/check/gst/gstelement.c:
5350 * tests/check/gst/gstevent.c: (gst_event_suite):
5351 * tests/check/gst/gstghostpad.c:
5352 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
5353 * tests/check/gst/gstmessage.c: (gst_message_suite):
5354 * tests/check/gst/gstminiobject.c:
5355 * tests/check/gst/gstobject.c:
5356 * tests/check/gst/gstpad.c:
5357 * tests/check/gst/gstpipeline.c:
5358 * tests/check/gst/gstplugin.c:
5359 * tests/check/gst/gstquery.c: (gst_query_suite):
5360 * tests/check/gst/gstsegment.c: (gst_segment_suite):
5361 * tests/check/gst/gststructure.c:
5362 * tests/check/gst/gstsystemclock.c:
5363 * tests/check/gst/gsttag.c:
5364 * tests/check/gst/gsttask.c: (gst_task_suite):
5365 * tests/check/gst/gstutils.c:
5366 * tests/check/gst/gstvalue.c:
5367 * tests/check/libs/adapter.c:
5368 * tests/check/libs/basesrc.c:
5369 * tests/check/libs/collectpads.c:
5370 * tests/check/libs/controller.c:
5371 * tests/check/libs/gdp.c: (gst_dp_suite):
5372 * tests/check/libs/gstnetclientclock.c:
5373 * tests/check/libs/gstnettimeprovider.c:
5374 * tests/check/libs/libsabi.c: (libsabi_suite):
5375 * tests/check/libs/typefindhelper.c:
5376 * tests/check/pipelines/cleanup.c:
5377 * tests/check/pipelines/parse-launch.c:
5378 * tests/check/pipelines/simple-launch-lines.c:
5379 * tests/check/pipelines/stress.c: (stress_suite):
5382 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5384 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
5385 * libs/gst/check/gstcheck.h:
5386 create a macro and function so that the simple unit test
5387 case can be just one macro to create main()
5389 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
5391 * gst/gstbin.c: (gst_bin_restore_thyself):
5392 * gst/gstxml.c: (gst_xml_make_element):
5393 Fix deserialisation from XML. Set parent manually
5394 instead of using gst_bin_add(), since gst_bin_add()
5395 will unlink all pads of the element being added.
5398 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
5400 Patch by: Peter Kjellerstedt <pkj at axis com>
5402 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
5403 Fix missing g_strdup() and double free when using the
5404 --gst-plugin-load command line option (#346097).
5406 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
5409 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
5411 * libs/gst/net/gstnetclientclock.c:
5412 * libs/gst/net/gstnettimeprovider.c:
5413 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
5415 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
5417 * docs/manual/advanced-dataaccess.xml:
5418 Fix buffer probe example compilation in
5421 2006-06-22 Edward Hervey <edward@fluendo.com>
5423 * gst/gstelement.c: (gst_element_pads_activate):
5424 We need to deactivate src pads first and then sink pads.
5425 The reason is the src pads might be blocking while holding the streaming
5426 lock, so we need to deactivate them first so that deactivating the sink
5427 pads doesn't block (since it will require the streaming lock).
5429 2006-06-22 Wim Taymans <wim@fluendo.com>
5431 * libs/gst/base/gstbasetransform.c:
5432 (gst_base_transform_buffer_alloc):
5433 Forgot to remove two unneeded unrefs.
5434 Simplify a check _is_equal allready checks the obvious case.
5436 2006-06-22 Wim Taymans <wim@fluendo.com>
5438 * docs/design/part-block.txt:
5439 Some docs about what pad_block should do.
5441 2006-06-22 Wim Taymans <wim@fluendo.com>
5443 * gst/gstcaps.c: (gst_caps_replace):
5444 Fix crasher when passed NULL. Doc clarification.
5445 Optimize for the trivial case.
5447 * gst/gstpipeline.c: (gst_pipeline_change_state):
5450 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5451 Small documentation cleanup.
5453 * libs/gst/base/gstbasetransform.c:
5454 (gst_base_transform_buffer_alloc):
5455 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
5456 is what we need and it avoids a whole lot of redundant
5457 refcount operations.
5459 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
5461 Patch by: Philip Jägenstedt <philip at lysator liu se>
5463 * docs/manual/advanced-dataaccess.xml:
5464 Fix 'Embedding static elements' section to use
5465 GST_PLUGIN_DEFINE_STATIC (#345607).
5467 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5469 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5470 Attempt to 'fix' spuriously failing test case: it seems like the
5471 timeout of half a second is simply too small when the system is under
5472 load otherwise, and the timeout doesn't really seem to serve any
5473 particular purpose here. Give the pipeline a few seconds to preroll
5474 first, and then give it another half a second to go from PAUSED to
5475 PLAYING and marshal the message into the main thread.
5477 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5479 * tools/gst-feedback-m.m:
5480 Don't only use unversioned tools, try versioned tools as well
5483 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5485 * gst/gstbus.c: (gst_bus_class_init):
5486 Fix some typos, make docs more explicit.
5488 2006-06-20 Wim Taymans <wim@fluendo.com>
5490 * tests/check/gst/gstghostpad.c: (block_callback),
5491 (GST_START_TEST), (gst_ghost_pad_suite):
5492 Added some more ghostpad tests, mainly blocking
5495 2006-06-16 Wim Taymans <wim@fluendo.com>
5497 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5498 (gst_file_sink_close_file), (gst_file_sink_do_seek),
5499 (gst_file_sink_event), (gst_file_sink_render):
5500 * plugins/elements/gstfilesink.h:
5501 Check if we can seek in the file instead of assuming
5502 we always can. Post an error when we are asked to seek in a
5503 non-seekable file (like a fifo). Fixes #343312.
5506 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5508 * tools/gst-launch.1.in:
5509 Un-garble (fourcc) bit in filtered caps section.
5511 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5513 * docs/manual/advanced-autoplugging.xml:
5514 * docs/manual/basics-helloworld.xml:
5515 * docs/manual/highlevel-components.xml:
5516 Don't leak bus reference in sample code.
5518 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
5521 Add default for new --enable-plugin-docs switch.
5524 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5528 Use new ENABLE_PLUGIN_DOCS conditional.
5530 2006-06-14 Wim Taymans <wim@fluendo.com>
5532 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5533 Make it clear with a FIXME and a real define what the #if 0
5534 previously disabled.
5536 2006-06-14 Wim Taymans <wim@fluendo.com>
5538 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5539 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5540 * libs/gst/base/gstbasetransform.c:
5541 (gst_base_transform_sink_eventfunc):
5542 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5543 Don't randomly and silently reset a segment when the format
5544 changes as this is a bug somewhere upstream. Fixes #330379.
5546 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
5548 Patch by: Wouter Paesen <wouter at kangaroot net>
5550 * libs/gst/controller/gstcontroller.c:
5551 (gst_controlled_property_new):
5552 Fix controlling of float properties (#344849).
5554 * tests/check/libs/controller.c:
5555 (gst_test_mono_source_get_property),
5556 (gst_test_mono_source_set_property),
5557 (gst_test_mono_source_class_init), (GST_START_TEST):
5558 While we're at it, add some float stuff to unit test.
5560 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5563 * docs/images/gdp-header.svg:
5565 * docs/libs/Makefile.am:
5566 * docs/libs/gdp-header.png:
5567 * libs/gst/dataprotocol/dataprotocol.c:
5568 add it to the API docs
5569 * docs/manual/intro-motivation.xml:
5572 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5574 * gst/gst.c: (scan_and_update_registry), (init_post):
5575 If the fork()'ed child process can't write the updated registry cache
5576 file to disk for some reason, make it exit with a failure exit code,
5577 so that the parent can then re-scan the plugins itself and update the
5578 registry structures in memory and work with that (rather than failing
5579 when creating elements because seemingly no plugins are available).
5580 Refactor registry scanning code into separate function for this and
5581 also separate fork() and non-fork() code paths. Fixes #344748.
5583 2006-06-13 Wim Taymans <wim@fluendo.com>
5585 * docs/manual/advanced-dataaccess.xml:
5586 Fix wrong PluginDesc. Fixes #344755.
5588 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5590 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5591 Fix silly bug that prevented us from creating
5592 ~/.gstreamer-0.10 and writing the registry in one
5593 go (the first call to g_mkstemp() would overwrite the
5594 placeholder in the template string, so the second call
5595 to g_mkstemp() after creating the missing directory
5596 would then error out with 'invalid argument').
5598 2006-06-13 Edward Hervey <edward@fluendo.com>
5600 * gst/gst.c: (init_post):
5603 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5605 * gst/glib-compat-private.h:
5606 * gst/glib-compat.c:
5607 * gst/glib-compat.h:
5608 * gst/gstvalue.c: (gst_value_serialize_flags):
5609 remove GLib 2.6 compatibility code
5611 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
5613 * gst/parse/Makefile.am:
5614 Fix build with 'make -j N' even more (#340016).
5616 2006-06-12 Wim Taymans <wim@fluendo.com>
5618 * docs/gst/gstreamer-sections.txt:
5621 2006-06-12 Wim Taymans <wim@fluendo.com>
5623 * gst/gstsegment.c: (gst_segment_set_duration),
5624 (gst_segment_set_last_stop), (gst_segment_set_seek),
5625 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5626 (gst_segment_to_running_time), (gst_segment_clip):
5627 Use G_UNLIKELY to help the compiler a bit.
5629 2006-06-12 Wim Taymans <wim@fluendo.com>
5631 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5633 * gst/gstevent.c: (gst_event_get_type):
5635 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5637 constify quark registration strings. Fixes #344115
5638 Avoid unneeded type checking is _pad_push() by internally
5639 calling gst_pad_chain_unchecked().
5641 2006-06-12 Wim Taymans <wim@fluendo.com>
5643 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5644 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5645 (gst_subbuffer_finalize), (gst_buffer_create_sub),
5646 (gst_buffer_is_span_fast), (gst_buffer_span):
5647 Init _type for consistency.
5648 Use _FLAGS macro to avoid type check.
5649 Avoid unneeded type checks in subbufer code.
5651 2006-06-12 Wim Taymans <wim@fluendo.com>
5653 * gst/gst.c: (gst_debug_help):
5654 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5655 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5656 (gst_plugin_feature_list_free):
5657 * gst/gstregistry.c: (gst_registry_add_plugin),
5658 (gst_registry_add_feature), (gst_registry_plugin_filter),
5659 (gst_registry_feature_filter), (gst_registry_find_plugin),
5660 (gst_registry_find_feature), (gst_registry_get_plugin_list),
5661 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5662 * gst/gstregistryxml.c: (load_feature),
5663 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5664 * gst/gstminiobject.c: (gst_mini_object_unref),
5665 (gst_mini_object_replace), (gst_value_mini_object_free),
5666 (gst_value_mini_object_copy):
5667 Use _CAST macros to avoid unneeded type checking.
5668 Added some more G_UNLIKELY.
5670 2006-06-12 Wim Taymans <wim@fluendo.com>
5673 Avoid unneeded type checking.
5674 API: GST_BUFFER_IS_DISCONT
5676 * gst/gstminiobject.h:
5677 Avoid type check in flag accessor.
5679 * gst/gstelementfactory.h:
5681 * gst/gstpluginfeature.h:
5683 API: GST_ELEMENT_FACTORY_CAST
5684 API: GST_PLUGIN_CAST
5685 API: GST_PLUGIN_FEATURE_CAST
5687 2006-06-12 Wim Taymans <wim@fluendo.com>
5689 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5691 Add G_UNLIKELY in type registration.
5692 Avoid type check in _ref/_unref since that is also
5695 2006-06-12 Wim Taymans <wim@fluendo.com>
5697 * gst/gsterror.c: (gst_g_error_get_type):
5698 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5699 (gst_static_pad_template_get_type):
5700 * gst/gsttaglist.c: (gst_tag_list_get_type):
5701 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5702 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5703 * gst/gsturi.c: (gst_uri_handler_get_type):
5704 * gst/gstvalue.c: (gst_date_get_type):
5705 * gst/gstxml.c: (gst_xml_get_type):
5706 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5707 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5708 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5709 Add G_UNLIKELY in type registration.
5711 2006-06-12 Wim Taymans <wim@fluendo.com>
5713 * tools/gst-inspect.c: (print_signal_info):
5714 Properly print enum values.
5716 2006-06-12 Wim Taymans <wim@fluendo.com>
5718 * gst/gstinfo.c: (gst_debug_set_active),
5719 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5721 Add some G_[UN]LIKELY.
5722 Maintain __gst_debug_min to avoid formatting the arguments of
5723 debug messages that will be dropped anyway to avoid a lot of
5724 overhead from the debugging system.
5726 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5730 add missing files containing translatable strings, tell intltool about
5733 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5735 * tests/check/libs/.cvsignore:
5736 add test-binary to ignore list
5738 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5740 * docs/libs/gstreamer-libs-docs.sgml:
5741 reorder (put dp into a chapter) and indent
5743 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5748 === release 0.10.8 ===
5750 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5753 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5755 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5757 * gst/gst.c: (init_post):
5758 move pid declaration to declaration block
5760 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5762 * gst/gst.c: (init_post):
5763 use _exit() instead of exit() in our forked child; this ensures
5764 that none of the registered exit handlers from whatever is using
5765 GStreamer get executed. This fixes gnome-mixer-applet failing
5766 to load, because ORBit would shut down.
5767 Spotted by: Edward Hervey <edward@fluendo.com>
5768 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
5771 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5776 === release 0.10.7 ===
5778 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5781 releasing 0.10.7, "Soepeke, ik zie ou"
5783 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
5806 * win32/common/config.h:
5809 2006-06-07 Wim Taymans <wim@fluendo.com>
5811 * gst/gstindex.c: (gst_index_gtype_resolver):
5812 * tools/gst-xmlinspect.c: (print_plugin_info):
5813 Fix leak spotted by coverity checker. Fixes #343827
5814 Fix another other leak found by paolo borelli.
5816 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5818 * libs/gst/dataprotocol/dataprotocol.c:
5819 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5820 (gst_dp_version_get_type), (gst_dp_init),
5821 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5822 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5823 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5824 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5825 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5826 (gst_dp_packetizer_free):
5827 * libs/gst/dataprotocol/dataprotocol.h:
5828 API: add a GstDPPacketizer object, and create/free functions
5829 API: add GstDPVersion enum
5830 Add 1.0 event function that uses the string serialization
5831 Serialize more useful buffer flags
5834 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5836 * tests/check/Makefile.am:
5837 * tests/check/gst/gstabi.c:
5838 * tests/check/gst/struct_ppc64.h:
5839 * tests/check/libs/libsabi.c:
5840 * tests/check/libs/struct_ppc64.h:
5841 add ppc64 structure sizes
5843 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5845 * tests/check/Makefile.am:
5846 * tests/check/gst/gstabi.c:
5847 * tests/check/gst/struct_x86_64.h:
5848 * tests/check/libs/libsabi.c:
5849 * tests/check/libs/struct_x86_64.h:
5850 generate and add structure size lists for x86_64
5852 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5854 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5855 * libs/gst/check/gstcheck.h:
5856 factor out the method from tests that checks size of structures,
5857 and add code to generate the header containing these sizes
5858 * tests/check/gst/gstabi.c: (GST_START_TEST):
5859 * tests/check/gst/struct_i386.h:
5860 * tests/check/libs/libsabi.c: (GST_START_TEST):
5861 * tests/check/libs/struct_i386.h:
5864 2006-06-06 Michael Smith <msmith@fluendo.com>
5867 Don't use c++-style comments, fixes #343929
5869 2006-06-05 Edward Hervey <edward@fluendo.com>
5872 plugin_paths is not used if we build without registry support.
5874 * gst/gstsegment.c: (gst_segment_copy):
5875 _copy() was always returning NULL...
5877 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5879 * libs/gst/dataprotocol/dataprotocol.c:
5880 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5881 (gst_dp_packet_from_event):
5884 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5886 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5887 make sure we unset caps
5889 2006-06-02 Michael Smith <msmith@fluendo.com>
5891 * libs/gst/check/gstcheck.c: (gst_check_init),
5892 (gst_check_chain_func):
5893 * libs/gst/check/gstcheck.h:
5894 Add a cond/mutex to the check support lib, signal this whenever we
5895 add to the buffers list. This will allow tests to not busy-wait on
5898 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5900 * libs/gst/dataprotocol/dataprotocol.c:
5901 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5902 (gst_dp_packet_from_event):
5903 factor out some common header init code
5905 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5907 * docs/libs/gstreamer-libs-sections.txt:
5908 * docs/libs/tmpl/gstdataprotocol.sgml:
5909 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5910 * libs/gst/dataprotocol/dataprotocol.h:
5911 API: make gst_dp_crc() public
5913 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5915 * plugins/indexers/gstindexers.c: (plugin_init):
5916 conditionally register fileindexer (fixes #343598)
5918 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5920 * gst/gsttagsetter.h:
5921 Can't cast ifaces to a class
5923 * libs/gst/net/gstnetclientclock.h:
5924 * libs/gst/net/gstnettimeprovider.h:
5925 * plugins/elements/gstfakesink.h:
5926 * plugins/elements/gstfakesrc.h:
5927 * plugins/elements/gstfdsink.h:
5928 * plugins/elements/gstfdsrc.h:
5929 * plugins/elements/gstfilesink.h:
5930 * plugins/elements/gstfilesrc.h:
5931 * plugins/elements/gstidentity.h:
5932 * plugins/elements/gstqueue.h:
5933 * plugins/elements/gsttee.h:
5934 * plugins/indexers/gstfileindex.c:
5935 * plugins/indexers/gstmemindex.c:
5936 * tests/old/examples/plugins/example.h:
5937 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5939 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
5941 * libs/gst/dataprotocol/dataprotocol.c:
5942 (gst_dp_header_from_buffer):
5943 make sure we zero the whole ABI-compatible area
5945 2006-06-01 Wim Taymans <wim@fluendo.com>
5947 Patch by: Alessandro Decina <alessandro at nnva dot org>
5949 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5950 Make sure the EOS flag is cleared from pads after a flush
5951 or stop. Fixes #343538.
5953 * tests/check/libs/collectpads.c: (GST_START_TEST),
5954 (gst_collect_pads_suite):
5955 Added test for collectpads reusage after EOS.
5957 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
5960 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5961 * win32/common/libgstbase.def:
5962 export gst_collect_pads_set_flushing
5963 * win32/common/libgstreamer.def:
5964 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5965 gst_value_fraction_multiply
5966 * win32/vs6/gst_inspect.dsp:
5967 add a link to intl.lib
5969 2006-05-30 Wim Taymans <wim@fluendo.com>
5971 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5972 (gst_collect_pads_chain):
5973 Handle the case where a pad is removed from the collection
5974 that could cause the other pads to become collectable.
5976 2006-05-30 Wim Taymans <wim@fluendo.com>
5979 Clarify the use of _release_request_pad() and
5980 _get_request_pad() a bit better.
5982 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5983 (gst_adapter_take_buffer):
5984 Fix some doc and comment typos.
5986 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5988 * docs/gst/gstreamer-sections.txt:
5989 * docs/libs/gstreamer-libs-sections.txt:
5990 add declared symbols
5992 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
5994 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5995 Add debug that can be enabled using a #define at the top of the file,
5996 for dumping stats about how late/early we were when waking up from
5997 waiting on the clock.
5999 2006-05-30 Wim Taymans <wim@fluendo.com>
6001 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
6002 When rebuilding the pad list, don't leak the previous list.
6004 2006-05-30 Wim Taymans <wim@fluendo.com>
6006 Patch by: Lutz Mueller <lutz at topfrose dot de>
6008 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6009 (gst_base_src_get_query_types), (gst_base_src_update_length):
6010 Publish supported query types.
6011 Update last_stop field in get_range mode so the position
6012 query works. Fixes #342321.
6014 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
6016 * docs/gst/gstreamer-sections.txt:
6017 * gst/gsttaglist.c: (_gst_tag_initialize):
6019 API: add GST_TAG_PREVIEW_IMAGE (#343341).
6021 2006-05-30 Wim Taymans <wim@fluendo.com>
6023 Patch by: Alessandro Decina <alessandro at nnva dot org>
6025 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6026 Unlock mutex when removing an unknown pad.
6029 * tests/check/Makefile.am:
6030 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
6031 (push_event), (setup), (teardown), (GST_START_TEST),
6032 (gst_collect_pads_suite), (main):
6033 Added collecpads check, disabled for now as check crashes for
6036 2006-05-29 Wim Taymans <wim@fluendo.com>
6038 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
6039 Don't leak pads lists.
6041 2006-05-29 Wim Taymans <wim@fluendo.com>
6043 * docs/libs/gstreamer-libs-sections.txt:
6044 * libs/gst/base/gstcollectpads.c:
6045 (gst_collect_pads_set_flushing_unlocked),
6046 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6047 (gst_collect_pads_stop):
6048 * libs/gst/base/gstcollectpads.h:
6049 API: gst_collect_pads_set_flushing()
6050 Added api to set the pads to flushing, useful for seeking
6051 code in elements using collectpads.
6052 Clear segment when receiving a flush.
6054 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
6056 * gst/gst.c: (add_path_func), (init_post):
6057 Don't scan registry paths passed via --gst-plugin-path immediately
6058 (will crash, because absolutely nothing is set up and no types are
6059 registered etc.); do this later in init_post(). Fixes #343057.
6061 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
6063 * gst/gst.c: (init_post):
6064 if we have fork, fork while reading/rebuilding the registry
6065 so the parent doesn't take the hit of having all plugins loaded
6066 in memory. Fixes #342777.
6068 Check if we have fork()
6069 * win32/common/config.h.in:
6072 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
6074 * plugins/elements/gstelements.c:
6075 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6076 (gst_file_src_init), (gst_file_src_set_property),
6077 (gst_file_src_get_property), (gst_file_src_start):
6078 * plugins/elements/gstfilesrc.h:
6079 API: GstFileSrc::use-mmap
6081 Add a use-mmap property to enable easier testing of all code paths.
6082 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
6083 in the absence of gnomevfssrc. (Closes #340501)
6085 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6087 * tools/gst-inspect.c:
6088 Add missing include, removes warning of ngettext not being defined on
6091 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
6093 * gst/gstvalue.c: (gst_value_deserialize_fraction):
6094 Handle NULL input and output pointers silently as a failed conversion,
6095 rather than g_warnings.
6097 2006-05-25 Wim Taymans <wim@fluendo.com>
6099 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
6100 Initialize variable before using. Fixes #342820.
6102 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
6104 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
6105 Fix off-by-one bug that would only allow peeks of N-1 bytes
6106 from the start even if the buffer to typefind on contains
6107 in fact N bytes of data (makes vorbis typefinding from a
6108 vorbis identification header buffer work).
6110 * tests/check/Makefile.am:
6111 * tests/check/libs/.cvsignore:
6112 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
6113 (gst_typefindhelper_suite), (main), (foobar_typefind),
6115 Add very basic unit test for gst_type_find_helper_for_buffer()
6116 that checks for the problem fixed above.
6118 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
6120 * tools/gst-inspect.c: (print_interfaces),
6121 (print_element_properties_info), (print_element_list), (main):
6122 add more translatable strings
6124 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
6126 Patch by: Julien Moutte <julien at moutte net>
6128 * docs/gst/gstreamer-sections.txt:
6129 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
6131 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6132 (gst_fake_sink_preroll):
6133 * plugins/elements/gstfakesink.h:
6134 API: Add new GstFakeSink::preroll-handoff signal (#337100).
6136 2006-05-23 Wim Taymans <wim@fluendo.com>
6138 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
6140 Added _CUSTOM error and success GstFlowReturn that can be
6141 used be elements internally.
6142 Added macro to check for SUCCESS flowreturns.
6143 API: GST_FLOW_CUSTOM_SUCCESS
6144 API: GST_FLOW_CUSTOM_ERROR
6145 API: GST_FLOW_IS_SUCCESS
6147 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6148 Added check for GstFlowReturn sanity.
6150 2006-05-23 Wim Taymans <wim@fluendo.com>
6152 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6154 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6155 (gst_collect_pads_event):
6156 clear/reset segment info in FLUSH_STOP.
6159 2006-05-22 Stefan Kost <ensonic@users.sf.net>
6161 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
6162 (gst_collect_pads_check_collected):
6163 Flush queued buffer on _stop(), fixes playing again (#342454)
6165 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
6167 * tests/check/gst/gststructure.c: (GST_START_TEST),
6168 (gst_structure_suite):
6169 add a test for a complete structure
6171 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
6173 * docs/faq/developing.xml:
6175 * docs/faq/troubleshooting.xml:
6176 * docs/faq/using.xml:
6177 Some minor FAQ updates that won't change the fact that
6178 our FAQ is badly structured, full of information hardly
6179 anyone new to GStreamer needs to know and lacking lots
6180 of information people constantly ask for.
6182 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
6184 * gst/gstpad.c: (gst_pad_set_caps):
6185 Short-circuit gst_pad_set_caps if setting the existing
6186 caps pointer again, and avoid printing debug and
6187 reffing/unreffing the caps.
6189 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6190 There's actually no need to set the caps before pushing -
6191 the acceptcaps method will handle it anyway.
6193 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
6195 * docs/gst/gstreamer-sections.txt:
6196 * win32/common/libgstreamer.def:
6197 * gst/gstutils.c: (gst_element_seek_simple):
6199 API: add gst_element_seek_simple() (#342238).
6201 2006-05-18 Edward Hervey <edward@fluendo.com>
6203 * gst/gsttypefind.c: (gst_type_find_get_type):
6204 * gst/gsttypefind.h:
6205 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
6206 registered for GstTypeFind pointers. This allows wrapping the structure
6207 in bindings (i.e. gst-python).
6209 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
6211 * gst/gsttagsetter.c:
6212 Docs additions and fixes (see #339918).
6214 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
6216 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6217 The caps intersection algorithm can produce multiple copies of the
6218 caps. Until that is fixed, we need to simplify the result to be
6219 sure whether the allowed caps are fixed or not.
6221 * plugins/elements/gstqueue.c: (gst_queue_init),
6222 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
6223 (gst_queue_push_one):
6224 Proxied buffer alloc should not set the caps on the source pad.
6225 When pushing buffers, we always accept the caps change that triggers.
6226 This prevents negotiation errors caused by caps changing mid-stream
6227 and then being refused on our source pad (because upstream is now
6228 refusing those caps).
6230 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
6232 * tests/examples/helloworld/helloworld.c: (main):
6233 Must plug audioconvert and audioresample between decoder
6236 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
6238 * gst/gstregistryxml.c: (read_string), (load_pad_template),
6239 (load_feature), (load_plugin):
6240 Allow empty strings for some of the plugin fields so we don't
6241 drop valid plugin entries that were written out correctly
6244 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
6246 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6247 Use g_remove and g_rename instead of remove and rename that don't
6248 handle utf8 characters. rename was failing for users who had specific
6249 characters in their name then the registry was built at each
6251 * win32/vs6/gst_inspect.dsp:
6252 * win32/vs6/gst_launch.dsp:
6253 * win32/vs6/libgstbase.dsp:
6254 * win32/vs6/libgstcoreelements.dsp:
6255 * win32/vs6/libgstreamer.dsp:
6256 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
6257 build of libgstreamer and clean unused libraries in projects link
6260 2006-05-17 Edward Hervey <edward@fluendo.com>
6262 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6263 The queue is not responsible for pushing an EOS when receiving a fatal
6264 flow error. It's up to the real element driving the pipeline to do that.
6266 2006-05-16 Edward Hervey <edward@fluendo.com>
6268 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6269 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
6270 buffer returned a fatal error. It should just send an EOS and stop
6272 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
6273 when pushing buffers on the queue and will be able to handle the event.
6275 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
6277 * docs/manual/basics-bins.xml:
6278 * docs/manual/basics-init.xml:
6279 Fix typos and minor errors in sample code (#341856).
6281 2006-05-16 Wim Taymans <wim@fluendo.com>
6283 * docs/design/part-qos.txt:
6284 Fix indexes in formulas to make more sense.
6286 2006-05-15 Wim Taymans <wim@fluendo.com>
6288 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6289 Don't report POSITION based on clock time if sync is
6292 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
6295 Add cast to make compiler happy - refcount variable was a gint
6296 in GstObject but is a guint in GObject and g_atomic_int_get()
6299 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
6301 * gst/parse/Makefile.am:
6302 chain commands using &&, which also makes parallel make work
6304 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
6306 * docs/gst/gstreamer-sections.txt:
6312 === release 0.10.6 ===
6314 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
6317 releasing 0.10.6, "Take the cannoli"
6319 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
6321 * tools/gst-launch.c: (print_tag):
6322 Fix use of uninitialized variable in the hypothetical
6323 case that some broken plugin creates a GST_TAG_IMAGE
6324 tag containing a NULL buffer (#341667).
6326 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
6328 * tools/gst-launch.c: (print_tag):
6329 Print something more intelligible for image tags when
6330 using the -t switch (#341556).
6332 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
6337 define GST_MAJORMINOR so we have it available in win32/common/config.h
6338 Possibly remove it from our Makefile.am files later
6339 * win32/common/config.h:
6340 * win32/common/config.h.in:
6341 added GST_MAJORMINOR
6342 * win32/common/gstenumtypes.c: (register_gst_resource_error):
6343 * win32/common/gstversion.h:
6346 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
6349 Update win32 files listing.
6350 * win32/common/gstversion.h:
6351 Add GST_MAJORMINOR definition.
6352 * win32/common/libgstreamer.def:
6353 Add new exported functions.
6355 2006-05-12 Michael Smith <msmith@fluendo.com>
6357 * gst/gstplugin.c: (gst_plugin_load_file):
6358 If an so file has no plugin entry point, unload the module.
6360 2006-05-11 Wim Taymans <wim@fluendo.com>
6362 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
6363 (gst_queue_set_property):
6364 Don't forget to signal the _chain or _loop function
6365 when the queue size or thresholds change since that might
6366 cause them to make progres again.
6368 2006-05-11 Stefan Kost <ensonic@users.sf.net>
6370 * gst/gstclock.c: (gst_clock_class_init):
6371 * gst/gstindex.c: (gst_index_class_init):
6372 * gst/gstobject.c: (gst_object_class_init):
6373 * gst/gstpad.c: (gst_pad_class_init):
6374 * gst/gstpipeline.c: (gst_pipeline_class_init):
6375 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6376 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
6377 * libs/gst/base/gstbasetransform.c:
6378 (gst_base_transform_class_init):
6379 * libs/gst/net/gstnetclientclock.c:
6380 (gst_net_client_clock_class_init):
6381 * libs/gst/net/gstnettimeprovider.c:
6382 (gst_net_time_provider_class_init):
6383 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
6384 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6385 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6386 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
6387 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6388 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6389 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6390 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6391 * plugins/elements/gsttee.c: (gst_tee_class_init):
6392 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6393 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6394 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
6396 2006-05-11 Wim Taymans <wim@fluendo.com>
6398 * gst/gstbuffer.c: (_gst_buffer_initialize):
6399 Register subbufer along with the buffer type so that
6400 it does not accidentally gets registered from N
6401 different streaming threads in a non threadsafe way.
6403 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
6408 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
6409 gst_event_ref() and gst_message_ref() functions again
6410 (ugly hack, please do fix if there's a better way besides
6411 overrides.txt, which doesn't seem to work).
6413 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6415 * libs/gst/check/gstcheck.h:
6416 add an assert for setting state to avoid lots of repetitive code
6419 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6421 * gst/gstvalue.c: (gst_value_serialize_flags):
6422 fix a leak if no flags are set
6423 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6426 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
6428 * docs/manual/basics-pads.xml:
6429 Expand a bit on caps and filtered links and update
6430 examples that were still using the no longer existing
6431 gst_pad_link_filtered() (#338206).
6433 2006-05-10 Wim Taymans <wim@fluendo.com>
6435 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6436 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6437 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6438 (gst_collect_pads_stop):
6439 * libs/gst/base/gstcollectpads.h:
6440 No need to call _stop in _finalize.
6441 Iterate the main pad list in _finalize.
6442 Added some more debug.
6443 Free lists and data in the right order.
6444 Also free data whem doing _remove_pad when stopped for
6445 backward compatibility protect ::started with PAD_LOCK as
6448 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6450 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
6451 (gst_structure_parse_value):
6453 rename a method so that it actually says what it does better
6455 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6457 * gst/gstevent.c: (_gst_event_initialize):
6458 * gst/gstformat.c: (_gst_format_initialize):
6459 make sure some essential types used by events are registered
6460 as part of gst_init()
6461 * gst/gstvalue.c: (gst_value_serialize_flags):
6462 if no flags are set, serialize them to a value that represents NONE
6463 so that deserializing them works
6464 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6465 add tests for serialization and deserialization of flags
6467 2006-05-10 Wim Taymans <wim@fluendo.com>
6469 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6470 (gst_collect_pads_collect_range), (gst_collect_pads_available),
6471 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6472 (gst_collect_pads_event), (gst_collect_pads_chain):
6475 Catch and return errors from the collect function
6476 Refuse data on eos pads.
6478 2006-05-10 Edward Hervey <edward@fluendo.com>
6480 * gst/gstinterface.h:
6481 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6482 GInterface type checking.
6483 They were previously using non-defined macros.
6485 2006-05-09 Wim Taymans <wim@fluendo.com>
6487 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6488 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6489 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6490 (gst_collect_pads_start), (gst_collect_pads_stop),
6491 (gst_collect_pads_peek), (gst_collect_pads_pop),
6492 (gst_collect_pads_available), (gst_collect_pads_read),
6493 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6494 (gst_collect_pads_is_collected), (gst_collect_pads_event),
6495 (gst_collect_pads_chain):
6496 * libs/gst/base/gstcollectpads.h:
6497 Clean up the mess that is collectpads, add comments and
6498 FIXMEs where needed.
6499 Maintain a separate pad list so we can add pads while
6500 collecting the other ones. For this we need a new separate
6502 Fix memory leak in finalize.
6503 Refactor some weird code to set/unset pad flushing flags, mark
6505 Don't crash in _available, _read, _flush when we're EOS.
6507 * tests/check/libs/.cvsignore:
6508 Ignore adapter check binary.
6510 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6512 * gst/gstindex.c: (gst_index_resolver_get_type):
6513 * plugins/elements/gstfakesink.c:
6514 (gst_fake_sink_state_error_get_type):
6515 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6516 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6517 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6518 Const-ify GEnumValue arrays.
6520 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6522 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6523 Add test case for flags + gst_buffer_make_metadata_writable().
6525 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6527 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6528 gst_buffer_make_metadata_writable() should maintain the
6529 buffer flags (those that make sense at least) (see #340859).
6531 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6533 * tools/gst-inspect.c:
6534 * tools/gst-launch.c:
6535 * tools/gst-typefind.c:
6536 * tools/gst-xmlinspect.c:
6538 Fix up includes: need to include stdlib.h in tools.h for exit().
6540 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6542 * gst/gsttaglist.c: (_gst_tag_initialize):
6544 API: add GST_TAG_IMAGE tag (#340721).
6546 2006-05-08 Wim Taymans <wim@fluendo.com>
6549 Added some docs for the segment query.
6551 2006-05-08 Wim Taymans <wim@fluendo.com>
6553 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6554 (gst_base_src_loop), (gst_base_src_change_state):
6555 Always push non-flushing serialized events in the streaming
6558 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
6560 * gst/gsterror.c: (_gst_stream_errors_init):
6561 Add a missing error string.
6563 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
6565 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6566 Add applied_rate to the debug
6568 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6569 Copy applied_rate into the outgoing NEWSEGMENT event
6571 2006-05-08 Wim Taymans <wim@fluendo.com>
6573 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6575 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6576 (gst_base_sink_change_state):
6577 call ::unlock before taking the PREROLL_LOCK so we can safely
6578 handle elements that lock in ::render.
6581 2006-05-08 Edward Hervey <edward@fluendo.com>
6583 * autogen.sh: (CONFIGURE_DEF_OPT):
6584 Darwin's libtoolize is in fact called glibtoolize.
6585 Adding glibtoolize to the list of accepted names for libtoolize.
6587 2006-05-08 Wim Taymans <wim@fluendo.com>
6589 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6590 Unify error handling, don't post an error message
6591 when a push() returns EOS but perform our normal EOS
6592 handling code. Fixes #340772.
6594 2006-05-08 Wim Taymans <wim@fluendo.com>
6596 * docs/design/part-overview.txt:
6597 Make upsteam/downstream concepts more clear.
6598 Give an example of serialized/non-serialized events.
6600 * docs/design/part-events.txt:
6601 * docs/design/part-streams.txt:
6602 Mention applied_rate.
6604 * docs/design/part-trickmodes.txt:
6605 Mention applied rate, flesh out some more use cases.
6607 * gst/gstevent.c: (gst_event_new_new_segment),
6608 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6609 (gst_event_parse_new_segment_full), (gst_event_new_tag),
6610 (gst_event_parse_tag), (gst_event_new_buffer_size),
6611 (gst_event_parse_buffer_size), (gst_event_new_qos),
6612 (gst_event_parse_qos), (gst_event_parse_seek),
6613 (gst_event_new_navigation):
6615 Add applied_rate field to NEWSEGMENT event.
6616 API: gst_event_new_new_segment_full()
6617 API: gst_event_parse_new_segment_full()
6619 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6620 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6621 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6623 Add applied_rate to GstSegment structure.
6624 Make calculation of stream_time and running_time more correct
6625 wrt rate/applied_rate.
6627 API: GstSegment::applied_rate field
6628 API: gst_segment_set_newsegment_full();
6630 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6631 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6632 * libs/gst/base/gstbasetransform.c:
6633 (gst_base_transform_sink_eventfunc),
6634 (gst_base_transform_handle_buffer):
6635 Parse and use applied_rate in the GstSegment field.
6637 * tests/check/gst/gstevent.c: (GST_START_TEST):
6638 Add check for applied_rate field.
6640 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6641 (gstsegments_suite):
6642 Add more checks for various GstSegment operations.
6644 2006-05-08 Wim Taymans <wim@fluendo.com>
6646 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6647 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6648 (gst_base_sink_get_position), (gst_base_sink_change_state):
6649 Store the sync time of the buffer end position separatly in a
6650 new variable eos_rtime so we can properly sync the EOS event.
6652 Fix the docs for gst_base_sink_set_qos_enabled().
6653 Don't set segment start to invalid value when we receive a
6654 non TIME newsegment.
6655 get closer to handling position reporting for negative rates
6658 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6661 Docs about how to print caps for debug purposes.
6663 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6664 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6666 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6669 use full enum names and preprend a '%' in docs strings to make recent
6670 gtk-doc turn that into a link
6672 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6674 * docs/manual/basics-bins.xml:
6675 * docs/manual/basics-bus.xml:
6676 * docs/manual/basics-pads.xml:
6677 Some typo fixes, some additions, some clarifications.
6679 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6681 * tools/gst-inspect.c: (main):
6682 * tools/gst-launch.c: (main):
6683 * tools/gst-run.c: (main):
6684 * tools/gst-typefind.c: (main):
6685 * tools/gst-xmlinspect.c: (main):
6686 Use the string passed to g_option_context_new() for
6687 what it's intended for - the program name is already
6690 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6692 * tools/Makefile.am:
6693 * tools/gst-inspect.c: (main):
6694 * tools/gst-launch.c: (main):
6695 * tools/gst-xmlinspect.c: (main):
6697 Add back --version command line option (#340460).
6699 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6700 Add --version option and use GOption for argument parsing; refactor a
6701 bit; accept directories as arguments and recurse into them; lastly,
6702 print a decent error message when things go wrong.
6704 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6706 * docs/manual/basics-bins.xml:
6707 Don't mention GstThread (#340611)
6708 * docs/manual/basics-elements.xml:
6709 Update link to GObject tutorial (#340607)
6711 2006-05-05 Wim Taymans <wim@fluendo.com>
6714 * gst/gstminiobject.c:
6715 Add note about refcounting and miniobject/buffer writeability
6716 to docs. Fixes #340604
6718 * gst/gstelementfactory.h:
6719 Added some explanation about @klass.
6721 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6723 * docs/manual/intro-motivation.xml:
6724 * docs/manual/manual.xml:
6725 Avoid CORBA & Bonobo references (#340598)
6727 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6729 * docs/manual/basics-bus.xml:
6730 * docs/manual/basics-pads.xml:
6731 Fix up some inaccuracies and omissions (#340609)
6733 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6735 * gst/gstghostpad.c:
6736 Small typo in docs (#340625)
6738 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6740 * gst/parse/Makefile.am:
6741 Make 'make -j' proof (see #340698).
6743 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6746 Require GLib-2.8 here as well.
6748 2006-05-05 Wim Taymans <wim@fluendo.com>
6750 * gst/glib-compat.c:
6751 * gst/gst.c: (init_pre):
6752 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6753 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6754 (gst_object_dispatch_properties_changed):
6756 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6757 * gst/gststructure.c: (gst_structure_set_valist):
6758 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6759 Remove pre glib2.8 compatibility, fixes #340508
6761 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6764 Mention type of tags in doc blurbs.
6766 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
6768 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6769 (gst_pad_configure_src), (gst_pad_push):
6770 Restore acceptcaps checking behaviour now that good plugins have
6773 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6775 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6786 * gst/parse/Makefile.am:
6787 * libs/gst/base/gstadapter.c:
6788 * libs/gst/base/gstbasesrc.c:
6789 * libs/gst/base/gstpushsrc.c:
6790 * libs/gst/base/gsttypefindhelper.c:
6791 * plugins/elements/gstfakesrc.c:
6792 * plugins/elements/gstidentity.c:
6793 Make sure gstprivate.h and/or config.h are
6794 always included first, otherwise some of our
6795 defines (like _FILE_OFFSET_BITS) might be
6796 redefined in the system headers. Fixes build
6797 on opensolaris (#340016).
6799 2006-05-04 Wim Taymans <wim@fluendo.com>
6801 * docs/libs/gstreamer-libs-sections.txt:
6802 API: addition: gst_adapter_take_buffer()
6804 * libs/gst/base/gstadapter.c: (gst_adapter_push),
6805 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6806 (gst_adapter_available_fast):
6807 * libs/gst/base/gstadapter.h:
6808 Prepare for optimizing the hell out of this hugely inefficient
6810 Added gst_adapter_take_buffer() so we can at least start thinking
6811 about subbuffering and merging.
6812 Added some comments.
6814 * tests/check/Makefile.am:
6815 * tests/check/libs/adapter.c: (GST_START_TEST),
6816 (gst_adapter_suite), (main):
6817 Added GstAdapter check.
6819 2006-05-04 Wim Taymans <wim@fluendo.com>
6821 * docs/design/part-overview.txt:
6822 Fix some typos, add blurb about buffer flags.
6824 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6826 * docs/libs/gstreamer-libs-sections.txt:
6827 make sure GstBaseTransformClass shows up in the docs
6828 * libs/gst/base/gstbasetransform.c:
6829 * libs/gst/base/gstbasetransform.h:
6830 move docs so gtk-doc picks it up now
6832 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6834 * docs/libs/gstreamer-libs-sections.txt:
6835 add missing symbols to docs
6837 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6839 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6840 back out the newsegment handling change, see #340060 for ongoing
6843 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
6845 * tools/gst-run.c: (get_candidates), (main):
6846 Fix wrong g_file_test() usage (see glib docs for why it doesn't
6847 work); fix typo in error message. Fixes #340079.
6849 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6851 * common/Makefile.am:
6853 * docs/faq/Makefile.am:
6854 * docs/gst/Makefile.am:
6855 * docs/libs/Makefile.am:
6856 * docs/manual/Makefile.am:
6857 * docs/plugins/Makefile.am:
6858 * docs/pwg/Makefile.am:
6859 * docs/slides/Makefile.am:
6861 * common/upload.mak:
6862 move upload.mak to common
6864 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6866 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6867 add more asserts on refcounts
6868 do more cleanup at end of tests
6869 fix test leaks showing in FC5
6871 2006-04-29 Stefan Kost <ensonic@users.sf.net>
6873 * plugins/elements/gsttypefindelement.c:
6874 (gst_type_find_element_handle_event):
6875 reverted wrong change and reflowed code to avoid others falling into
6878 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6880 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6881 fix changelog entry about last collectpads change,
6882 add notes about proper fix
6884 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6887 * gst/gstregistry.c: (gst_registry_scan_path_level),
6888 (gst_registry_scan_path):
6889 * gst/gstregistry.h:
6890 only write out registry if it has changed, fixes #338339
6892 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6895 * gst/gstpipeline.c:
6896 * plugins/elements/gstcapsfilter.c:
6897 * plugins/elements/gstfakesink.c:
6898 * plugins/elements/gstfakesrc.c:
6899 * plugins/elements/gstfdsink.c:
6900 * plugins/elements/gstfdsrc.c:
6901 * plugins/elements/gstfilesink.c:
6902 * plugins/elements/gstfilesrc.c:
6903 * plugins/elements/gstidentity.c:
6904 * plugins/elements/gstqueue.c:
6905 * plugins/elements/gsttee.c:
6906 * plugins/elements/gsttypefindelement.c:
6907 (gst_type_find_element_handle_event):
6908 make GstElementDetails const
6910 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6912 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6913 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6914 (gst_collect_pads_is_collected), (gst_collect_pads_event):
6915 more detailed debug and formatting cleanup,
6916 forward newsegments to src-pad (so that e.g. adder not eats them)
6918 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6920 * gst/gstutils.c: (gst_element_link_pads):
6923 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6925 * libs/gst/controller/gstcontroller.c:
6926 (gst_controller_sync_values):
6928 * tests/check/libs/controller.c: (GST_START_TEST),
6929 (gst_controller_suite):
6930 a new test for live value handling
6932 2006-04-28 Wim Taymans <wim@fluendo.com>
6934 * gst/gstutils.c: (push_and_ref):
6935 Added some more docs.
6936 Fix refcount issue whith gst_element_found_tags() helper
6937 function. Fixes #338335
6939 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6940 Added testsuite for gst_element_found_tags().
6942 2006-04-28 Michael Smith <msmith@fluendo.com>
6944 * gst/gstvalue.c: (gst_value_serialize_flags):
6945 Avoid NULL dereference when trying to serialize flags containing
6948 2006-04-28 Michael Smith <msmith@fluendo.com>
6950 * plugins/elements/gsttypefindelement.c:
6951 (gst_type_find_element_handle_event):
6952 If we get EOS before any data is accumulated, don't use
6953 uninitialised local variables.
6955 2006-04-28 Michael Smith <msmith@fluendo.com>
6957 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6958 (gst_dp_event_from_packet):
6959 Fixes in reading/writing events over GDP (not currently used?) -
6960 dereferencing NULL events for unknown/invalid event types, memory
6961 leak, and change g_warning to GST_WARNING.
6963 2006-04-28 Wim Taymans <wim@fluendo.com>
6965 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6966 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6967 (gst_base_sink_get_position), (gst_base_sink_change_state):
6968 When frame dropping is enabled, we should not ignore frames
6970 Update some documentation.
6972 2006-04-28 Wim Taymans <wim@fluendo.com>
6974 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6975 (gst_base_src_send_event), (gst_base_src_change_state):
6976 Documentation updates.
6978 2006-04-28 Wim Taymans <wim@fluendo.com>
6980 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6981 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6982 handle EAGAIN, EINTR and short writes correctly. Also clean
6983 up some error cases, avoid a deadlock on bad file descriptors and
6984 use GST_DEBUG_OBJECT.
6987 2006-04-28 Wim Taymans <wim@fluendo.com>
6989 * gst/gstvalue.c: (gst_value_serialize_buffer),
6990 (gst_value_deserialize_buffer):
6991 Don't try to serialize a GValue with a NULL buffer.
6994 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6995 Added check for serialisation of NULL buffers.
6997 2006-04-28 Wim Taymans <wim@fluendo.com>
6999 * gst/gstminiobject.c: (gst_value_take_mini_object):
7000 Taking a NULL miniobject is valid, fix the case where
7001 we try to unref the NULL miniobject.
7003 2006-04-28 Wim Taymans <wim@fluendo.com>
7005 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7007 * gst/gstbin.c: (gst_bin_handle_message_func):
7009 Don't leak bin refcount when a state recalc is
7010 in progress and we delay another one #339808.
7012 2006-04-28 Wim Taymans <wim@fluendo.com>
7014 * docs/design/part-TODO.txt:
7015 Mention QoS as an ongoing work item.
7017 * docs/design/part-buffering.txt:
7018 New doc about buffering that needs to be fleshed out
7021 * docs/design/part-qos.txt:
7022 More QoS policy for decoders/demuxers/transforms
7024 * docs/design/part-trickmodes.txt:
7027 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
7032 === release 0.10.5 ===
7034 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
7037 releasing 0.10.5, "Fogo"
7039 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
7041 patch by: Wim Taymans
7043 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
7044 (gst_pad_configure_src), (gst_pad_push):
7045 * gst/gstpipeline.c: (gst_pipeline_init):
7046 Fix internal data flow errors. Fixes #338711.
7048 2006-04-12 Wim Taymans <wim@fluendo.com>
7050 * tests/check/gst/gstelement.c: (GST_START_TEST):
7051 Don't leak the factory.
7053 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7056 * win32/common/config.h:
7059 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
7061 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7062 (gst_controller_unset_all):
7063 Free allocated GstTimedValues when freeing list nodes.
7064 Should fix leaks 'make check-valgrind' complains about.
7066 * win32/common/libgstcontroller.def:
7067 Add gst_controller_unset_all.
7069 2006-04-11 Stefan Kost <ensonic@users.sf.net>
7071 * docs/libs/gstreamer-libs-sections.txt:
7072 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7073 (gst_controller_unset_all):
7074 * libs/gst/controller/gstcontroller.h:
7075 API: Added new method gst_controller_unset_all()
7076 fixed gst_controller_unset()
7077 * tests/check/libs/controller.c: (GST_START_TEST),
7078 (gst_controller_suite):
7079 Added two testcases for new and fixed method
7081 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
7083 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7084 MSG_DONTWAIT is not defined on Cygwin, so work
7085 around that (fixes #317048).
7087 2006-04-11 Wim Taymans <wim@fluendo.com>
7089 * gst/gstelementfactory.c: (gst_element_register),
7090 (gst_element_factory_create), (gst_element_factory_make):
7093 Updated docs (Fixes #131079)
7095 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7098 * tests/check/gst/gstelement.c: (GST_START_TEST),
7099 (gst_element_suite):
7100 Added testcase for elementfactory class field.
7102 2006-04-10 Wim Taymans <wim@fluendo.com>
7105 Added some more docs.
7107 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
7108 (gst_base_sink_reset_qos):
7109 Calculate more accurate rate values.
7111 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
7113 * gst/gst_private.h:
7114 add a new #ifdef to use __declspec(dllimport) only for
7115 other modules and not for gstreamer core
7116 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
7117 use gst_guint64_to_gdouble for conversion
7118 * win32/common/libgstreamer.def:
7119 add new exported functions
7120 * win32/vs6/gst_inspect.dsp:
7121 * win32/vs6/gst_launch.dsp:
7122 * win32/vs6/libgstbase.dsp:
7123 * win32/vs6/libgstcontroller.dsp:
7124 * win32/vs6/libgstcoreelements.dsp:
7125 * win32/vs6/libgstdataprotocol.dsp:
7126 * win32/vs6/libgstnet.dsp:
7127 update project files
7129 2006-04-08 Stefan Kost <ensonic@users.sf.net>
7131 * gst/gstbuffer.c: (gst_subbuffer_class_init):
7132 * gst/gstclock.c: (gst_clock_class_init):
7133 * gst/gstelement.c: (gst_element_class_init):
7134 * gst/gstindex.c: (gst_index_class_init):
7135 * gst/gstindexfactory.c: (gst_index_factory_class_init):
7136 * gst/gstobject.c: (gst_object_class_init),
7137 (gst_signal_object_class_init):
7138 * gst/gstpad.c: (gst_pad_class_init):
7139 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
7140 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
7141 * gst/gstregistry.c: (gst_registry_class_init):
7142 * gst/gstsystemclock.c: (gst_system_clock_class_init):
7143 * gst/gsttask.c: (gst_task_class_init):
7144 * gst/gstxml.c: (gst_xml_class_init):
7145 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7146 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7147 (gst_base_src_loop):
7148 * libs/gst/controller/gstcontroller.c:/
7149 (_gst_controller_class_init):
7150 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7151 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
7152 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
7153 * tests/old/examples/plugins/example.c: (gst_example_class_init):
7154 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7155 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
7157 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
7159 * gst/gstpad.c: (gst_pad_link):
7160 Must set peer pads before calling the link function, otherwise
7161 a task started from a link function might get a flow-not-linked
7162 result when trying to push because the other thread where the
7163 linking happens hasn't had a chance to set the peers yet. This
7164 might happen for example when a queue gets linked to a downstream
7165 element, as queue starts a streaming task when its source pad
7166 gets linked. Happens in real life when playing back flac/musepack
7167 files in playbin (#332390).
7169 2006-04-08 Stefan Kost <ensonic@users.sf.net>
7173 * libs/gst/base/gstadapter.h:
7174 * libs/gst/base/gstbasesink.h:
7175 * libs/gst/base/gstbasesrc.h:
7176 * libs/gst/base/gstbasetransform.h:
7177 * libs/gst/base/gstcollectpads.h:
7178 * libs/gst/base/gstpushsrc.h:
7179 Fix broken GObject macros
7181 2006-04-07 Wim Taymans <wim@fluendo.com>
7183 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7184 Initialize start and stop times, thanks valgrind.
7186 2006-04-07 Wim Taymans <wim@fluendo.com>
7188 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7189 Be a bit nicer to badly behaving upstream elements that expect
7190 us to deal with non TIME segments and timestamps (such as fakesrc
7193 2006-04-07 Wim Taymans <wim@fluendo.com>
7196 Small documentation clarification about the signal watch.
7198 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7199 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7200 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7201 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
7202 (gst_base_sink_get_position_last),
7203 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
7204 Convert and store timestamps in stream time and running time, the
7205 raw timestamps are not useful, also document this better.
7206 Use different window sizes for good and bad QoS observations so
7207 we react to badness a little quicker.
7208 Keep track of the amount of rendered and dropped buffers.
7209 Send QoS timestamps in running time.
7211 * libs/gst/base/gstbasetransform.c:
7212 (gst_base_transform_sink_eventfunc),
7213 (gst_base_transform_handle_buffer):
7214 Compare QoS timestamps against running time.
7216 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
7221 2006-04-06 Michael Smith <msmith@fluendo.com>
7223 * gst/gstpad.c: (gst_pad_set_property):
7224 Use g_value_get_object() instead of g_value_dup_gst_object(),
7225 to avoid double-reffing the pad template (which we then sink,
7226 so this worked previously if (and only if) the pad template
7229 * gst/gstpadtemplate.c: (gst_pad_template_init),
7230 (gst_pad_template_pad_created):
7231 Never return floating references to pad templates, create
7232 them as initially-sunken.
7234 Document an extra function (and make this stop sinking our
7235 pad template, since that is now guaranteed to do nothing,
7236 since we created it sunken).
7238 * gst/gstghostpad.c:
7241 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
7243 * gst/gstinfo.c: (__gst_in_valgrind):
7246 * plugins/elements/gsttypefindelement.c:
7247 (gst_type_find_element_chain):
7248 Don't leak buffer caps.
7250 2006-04-06 Michael Smith <msmith@fluendo.com>
7252 * gst/parse/grammar.y:
7253 Fix a leak in parse-launch for any source-or-sink named element
7256 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7257 Unref the pipeline if it exists after we've failed parsing.
7259 2006-04-05 Michael Smith <msmith@fluendo.com>
7261 * gst/gstpipeline.c: (gst_pipeline_init):
7262 When we create a pipeline bus, initially create it in flushing mode.
7263 Fixes leaks in at least one test, and makes a new pipeline work the
7264 same as one that has gone to READY and then back to NULL.
7269 2006-04-05 Michael Smith <msmith@fluendo.com>
7271 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7272 Unref a pad we reffed.
7273 * tests/check/gst/gstutils.c: (GST_START_TEST):
7276 2006-04-05 Michael Smith <msmith@fluendo.com>
7278 * gst/gstquery.c: (gst_query_set_formats),
7279 (gst_query_set_formatsv):
7280 Fix leaking GValues in queries, as shown by valgrind/testsuite.
7282 2006-04-05 Michael Smith <msmith@fluendo.com>
7284 * tests/check/generic/sinks.c: (GST_START_TEST):
7285 Fix a variety of memleaks in sinks check, which are only sometimes
7286 shown by running the tests under valgrind (weird?).
7288 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
7290 * docs/version.entities.in:
7291 Fix the substituted entity name after thomas' changes on the
7294 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7296 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
7299 2006-04-05 Andy Wingo <wingo@pobox.com>
7301 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
7303 * libs/gst/base/gstbasetransform.c
7304 (gst_base_transform_sink_eventfunc): When resetting our segment on
7305 FLUSH_STOP, also update the flag saying we haven't seen a
7308 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7310 Patch by: Paolo Borelli <pborelli at katamail dot com>
7312 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
7313 (gst_plugin_check_license):
7314 minor clean-ups: G_DEFINE_TYPE already takes care of the
7315 parent_class stuff, no need to do it twice. Mark array of
7316 license strings as constant. (#337103)
7318 2006-04-04 Michael Smith <msmith@fluendo.com>
7320 * tools/gst-inspect.c: (print_element_list):
7321 Free the right plugin list; fixes a memory leak.
7323 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7325 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7327 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7328 Don't error out on empty buffers (#336945).
7330 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
7332 * docs/libs/gstreamer-libs-sections.txt:
7334 * libs/gst/base/gstbasesink.c:
7335 * libs/gst/base/gstbasesink.h:
7336 * libs/gst/base/gstbasesrc.c:
7337 * libs/gst/base/gstbasesrc.h:
7338 Documentation updates. Make BaseSink and BaseSrc docs contain the
7339 class structure so that people can actually see the prototypes for
7340 virtual functions they're supposed to be overriding.
7342 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7344 * plugins/elements/gsttypefindelement.c:
7345 (gst_type_find_element_chain):
7346 More debug info; when skipping typefinding, send cached
7347 events in all cases.
7349 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
7352 use new AS_VERSION and AS_NANO macros
7353 * gst/gst-i18n-lib.h:
7356 * gst/gstversion.h.in:
7357 * win32/common/config.h:
7358 * win32/common/config.h.in:
7361 2006-03-31 Michael Smith <msmith@fluendo.com>
7363 * plugins/elements/gsttypefindelement.c:
7364 (gst_type_find_element_chain):
7365 Do not typefind content if the buffers already have caps.
7366 Neccesary for icydemux (#333657), and the right thing to do anyway.
7368 2006-03-30 Wim Taymans <wim@fluendo.com>
7370 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7371 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
7372 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
7373 (gst_base_sink_record_qos_observation),
7374 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7375 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7376 (gst_base_sink_change_state):
7377 More QoS measurements as described in the design doc.
7378 Get rid of ringbuffer with observations, running average is
7379 more simple and equally good.
7380 Calculates valid proportion now.
7381 Added beginning of flood measurement.
7383 2006-03-29 Wim Taymans <wim@fluendo.com>
7385 * docs/design/part-qos.txt:
7387 Small documentation updates and additions.
7389 2006-03-29 Wim Taymans <wim@fluendo.com>
7391 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7392 (gst_base_src_send_event), (gst_base_src_loop),
7393 (gst_base_src_change_state):
7394 Perform the EOS logic when we reach the segment stop position.
7395 Fix compilation on gcc4.1
7397 2006-03-29 Wim Taymans <wim@fluendo.com>
7399 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7401 * plugins/elements/gstqueue.c: (gst_queue_init),
7402 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7403 (gst_queue_set_property):
7404 * plugins/elements/gstqueue.h:
7405 In queue, when EOS is received, if minimum threshold > max_size -
7406 current_level, there is chance that queue blocks forever in conditional
7407 item del wait. This is because the queue is not emptied completely due
7408 to minimum threshold. Here is another approach. Instead of setting
7409 cur_levels to max in EOS, just zero all minimum threshold levels. This
7410 should make sure that queue gives out all data. When going to READY
7411 (stop) state, just reset the original minimum threshold levels.
7414 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
7416 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
7417 (gst_type_find_element_handle_event),
7418 (gst_type_find_element_send_cached_events),
7419 (gst_type_find_element_change_state):
7420 * plugins/elements/gsttypefindelement.h:
7421 When typefinding is done in push mode, we should cache
7422 events we receive during typefinding instead of just
7423 dropping them (e.g. newsegment, custom events from
7424 dvdreadsrc etc.) and then send them out once we've
7425 determined the type of the stream (and decodebin
7426 has had a chance to plug in a decoder/demuxer).
7428 2006-03-27 Wim Taymans <wim@fluendo.com>
7430 * docs/design/part-qos.txt:
7433 2006-03-27 Wim Taymans <wim@fluendo.com>
7435 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
7437 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7438 (gst_base_src_send_event), (gst_base_src_change_state):
7439 Handle element seek correctly when we are streaming.
7442 2006-03-24 Michael Smith <msmith@fluendo.com>
7444 * docs/faq/gst-uninstalled:
7445 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
7446 allow you to correctly run intalled applications built against old
7447 core, using plugins that require updated core (e.g. running
7448 installed totem against a full uninstalled gstreamer stack)
7450 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7452 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
7455 2006-03-24 Wim Taymans <wim@fluendo.com>
7457 * docs/gst/gstreamer-sections.txt:
7458 Rearrange the order of the methods so that related methods
7459 are grouped together in sections.
7461 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7464 Little clarification in the docs
7466 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7470 * plugins/elements/gstidentity.c:
7471 * plugins/elements/gstqueue.c:
7472 * plugins/elements/gsttee.c:
7473 * plugins/elements/gsttypefindelement.c:
7474 GST_ELEMENT_DETAILS formatting
7476 2006-03-24 Wim Taymans <wim@fluendo.com>
7478 * libs/gst/base/gstbasesink.h:
7479 Only add fields, not insert or we break ABI.
7481 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7483 * win32/common/libgstbase.def:
7484 * win32/common/libgstreamer.def:
7485 Update, add recently added functions.
7487 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7489 * docs/gst/gstreamer-sections.txt:
7490 * gst/gstutils.c: (gst_pad_query_peer_position),
7491 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7493 API: add some new utility functions:
7494 - gst_pad_query_peer_position()
7495 - gst_pad_query_peer_duration()
7496 - gst_pad_query_peer_convert()
7498 2006-03-23 Wim Taymans <wim@fluendo.com>
7500 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7501 (gst_base_sink_init), (gst_base_sink_finalize),
7502 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7503 (gst_base_sink_set_property), (gst_base_sink_get_property),
7504 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7505 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7506 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7507 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7508 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7509 (gst_base_sink_preroll_object), (gst_base_sink_event),
7510 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7511 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7512 (gst_base_sink_query), (gst_base_sink_change_state):
7513 Decouple max-lateness and the fact that QoS messages are generated
7514 with a new property (qos).
7515 added API: GstBaseSink::async_play()
7516 Add vmethod so subclasses can be notified of ASYNC playing
7518 Collect timestamp start and stop to report better current
7519 position in EOS/PLAYING/PAUSED/READY/NULL.
7520 Refactor QoS/frame dropping and other measurements.
7521 API: GstBaseSrc::qos
7524 * libs/gst/base/gstbasesink.h:
7525 Added Private struct.
7526 API: gst_base_sink_set_qos_enabled()
7527 API: gst_base_sink_is_qos_enabled()
7529 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7531 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7532 If compiling against GLib-2.8 or newer, try to read the
7533 registry file using GMappedFile first before falling back
7534 to fopen() + fread() (#332151).
7536 2006-03-22 Wim Taymans <wim@fluendo.com>
7538 * gst/gstinfo.c: (gst_debug_set_active),
7539 (gst_debug_category_set_threshold):
7540 Disable debugging unless explicitly activated.
7543 2006-03-22 Wim Taymans <wim@fluendo.com>
7545 * gst/gstelement.c: (gst_element_set_locked_state),
7546 (gst_element_dispose):
7547 Cleanup the error case.
7549 * gst/gstobject.c: (gst_object_dispose):
7550 print a critical when some object was disposed with
7551 a parent, also revive the object since it might
7554 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
7556 * tools/gst-launch.1.in:
7559 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7562 * tests/check/Makefile.am:
7563 disable some tests when we don't have a registry
7564 * tests/check/gst/gstutils.c: (gst_utils_suite):
7565 don't build the part that needs parsing
7567 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7570 * tests/examples/Makefile.am:
7571 fix --disable-parse build
7573 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7575 * tools/gst-feedback.1.in:
7576 Fix typo: s/feeback/feedback/ (#133494).
7578 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7580 * tools/Makefile.am:
7581 * tools/gst-launch.1.in:
7582 Add FILES section and correct entry about GST_REGISTRY_PATH
7583 environment variable (#133495; #133494).
7585 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7587 * tools/Makefile.am:
7588 * tools/gst-md5sum.1.in:
7589 * tools/gst-md5sum.c:
7590 Remove gst-md5sum and man page (the md5sink element
7591 required was removed ages ago)
7593 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7595 * gst/gststructure.c: (gst_structure_id_set_value):
7596 Make sure that string fields in structures/taglists
7597 contain valid UTF-8 - we don't want to pass rubbish to
7598 applications because of a buggy plugin (cp. #334167).
7600 2006-03-21 Edward Hervey <edward@fluendo.com>
7602 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7603 (gst_bin_handle_message_func):
7604 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7605 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7606 (gst_element_set_bus_func):
7607 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7608 * gst/gstminiobject.c: (gst_value_set_mini_object),
7609 (gst_value_take_mini_object):
7610 * gst/gstpad.c: (gst_pad_set_pad_template):
7611 * gst/gstpipeline.c: (gst_pipeline_dispose),
7612 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7613 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7614 (gst_collect_pads_chain):
7615 * libs/gst/net/gstnettimeprovider.c:
7616 (gst_net_time_provider_set_property):
7617 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7618 It's in fact all issues with gst_*object_replace().
7620 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7622 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
7624 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7625 * pkgconfig/gstreamer-check.pc.in:
7626 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7628 2006-03-21 Edward Hervey <edward@fluendo.com>
7633 gst_[buffer|event|message]_ref() macros are replaced by a static
7634 inline functions because gcc-4.1 will about if the return value
7636 * tests/check/gst/gstevent.c: (event_probe):
7637 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7639 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
7642 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7643 the type' case. (Closes: #335195 for now). In the future, when we
7644 depend on GLib 2.10, we could also intern the type name using
7645 g_intern_static_string()
7647 2006-03-20 Wim Taymans <wim@fluendo.com>
7649 * gst/gstbin.c: (gst_bin_handle_message_func),
7650 (bin_query_max_init), (bin_query_position_fold),
7651 (bin_query_position_done), (gst_bin_query):
7652 Position query should also take max of all streams.
7654 2006-03-20 Wim Taymans <wim@fluendo.com>
7656 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7657 (gst_fake_src_finalize):
7658 Fix leaks in fakesrc.
7660 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7661 Fix leaks in the testcase.
7663 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
7665 * gst/gst_private.h:
7666 add win32 specific import decoration(__declspec(dllimport))
7667 for all extern GstDebugCategory * variables
7668 * win32/common/libgstbase.def:
7669 * win32/common/libgstcontroller.def:
7670 * win32/common/libgstreamer.def:
7671 Add some exports, remove empty lines
7672 * win32/common/libgstdataprotocol.def:
7673 * win32/common/libgstdataprotocol.dsp:
7674 * win32/common/libgstnet.def:
7675 * win32/common/libgstnet.dsp:
7676 new project files and exportation files added
7678 2006-03-19 Wim Taymans <wim@fluendo.com>
7680 * tests/check/libs/basesrc.c: (eos_event_counter):
7681 Use proper return value for probe.
7683 2006-03-17 Wim Taymans <wim@fluendo.com>
7685 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7687 Don't leak buffers, caps and pads on negotiation errors.
7689 2006-03-16 Stefan Kost <ensonic@users.sf.net>
7692 * docs/faq/dependencies.xml:
7693 * docs/faq/developing.xml:
7695 * docs/faq/general.xml:
7696 * docs/faq/getting.xml:
7697 * docs/faq/legal.xml:
7698 * docs/faq/troubleshooting.xml:
7699 * docs/faq/using.xml:
7700 Faq review and update.
7702 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
7704 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7706 Don't pound the cpu to pieces by checking get_caps when accept_caps
7707 is called with the same caps as the pad already has.
7708 Use GST_DEBUG_OBJECT when outputting caps change information.
7710 2006-03-15 Wim Taymans <wim@fluendo.com>
7712 * gst/gstclock.c: (gst_clock_class_init):
7715 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
7720 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7721 (gst_pad_accept_caps), (gst_pad_configure_sink),
7722 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7723 Make the default acceptcaps behaviour be to check the requested
7724 caps against the gst_pad_get_caps output.
7726 Ensure that gst_pad_accept_caps is used to check caps when a pad
7727 doesn't have a setcaps function, so that pads automatically refuse
7728 caps that they don't allow in their pad template. (Fixes #332986)
7730 When a buffer with attached caps is pushed, ensure that the source
7731 pad receives those caps even if the element didn't call
7732 gst_pad_set_caps first.
7734 2006-03-15 Wim Taymans <wim@fluendo.com>
7736 * libs/gst/base/gstadapter.c:
7739 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
7741 * win32/common/libgstbase.def:
7742 * win32/common/libgstcontroller.def:
7743 * win32/common/libgstreamer.def:
7744 Add a whole bunch of missing functions (#334434).
7746 2006-03-14 Wim Taymans <wim@fluendo.com>
7748 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7749 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7750 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7751 Better debug info when we receive a segment event.
7752 Reorganize a bit so we can pass the get_times() results around.
7753 Use the segment format when calculating the running time.
7754 Don't do QoS is sync is disabled or we have no clock or the
7755 element does not want us to sync to the clock.
7756 Don't drop buffers if QoS is disabled for now.
7758 2006-03-14 Wim Taymans <wim@fluendo.com>
7760 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7761 Marked the stats property as unimplemented so people don't get
7763 Add debug message when regression goes wrong.
7764 Added some more docs.
7766 2006-03-14 Wim Taymans <wim@fluendo.com>
7768 * gst/gstsegment.c: (gst_segment_to_stream_time):
7769 Return correct return type in case of errors.
7771 2006-03-14 Wim Taymans <wim@fluendo.com>
7773 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7774 Don't segfault on invalid formats.
7776 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7778 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7779 Can't use gst_segment_to_running_time() when the segment
7780 is not in GST_TIME_FORMAT (like with filesink, for example).
7781 Stops flac encoding pipelines from spewing critical warnings
7784 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7786 * gst/gstpipeline.c: (gst_pipeline_class_init):
7787 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7789 * plugins/elements/gsttypefindelement.c:
7790 (gst_type_find_element_handle_event):
7791 Don't try to typefind empty streams.
7793 2006-03-14 Wim Taymans <wim@fluendo.com>
7795 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7796 (gst_base_sink_do_qos):
7797 Separate QoS calculation.
7798 Only drop buffers when lateness is bigger than the
7799 duration of the buffer.
7801 2006-03-13 Wim Taymans <wim@fluendo.com>
7803 * gst/gstpipeline.c: (gst_pipeline_set_property),
7804 (gst_pipeline_get_property), (do_pipeline_seek),
7805 (gst_pipeline_change_state), (gst_pipeline_set_delay),
7806 (gst_pipeline_get_delay):
7807 Don't deadlock when reading properties.
7809 2006-03-13 Wim Taymans <wim@fluendo.com>
7811 * libs/gst/base/gstbasetransform.c:
7812 (gst_base_transform_class_init), (gst_base_transform_init),
7813 (gst_base_transform_sink_event),
7814 (gst_base_transform_sink_eventfunc),
7815 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7816 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7817 (gst_base_transform_set_property),
7818 (gst_base_transform_get_property),
7819 (gst_base_transform_change_state), (gst_base_transform_update_qos),
7820 (gst_base_transform_set_qos_enabled),
7821 (gst_base_transform_is_qos_enabled):
7822 * libs/gst/base/gstbasetransform.h:
7823 Make basetransform virtual method for src events too.
7824 Handle QOS in basetransform.
7825 API: gst_base_transform_update_qos()
7826 API: gst_base_transform_set_qos_enabled()
7827 API: gst_base_transform_is_qos_enabled()
7829 2006-03-13 Wim Taymans <wim@fluendo.com>
7831 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7832 (gst_base_sink_do_sync):
7834 Use QOS debug category.
7836 2006-03-13 Wim Taymans <wim@fluendo.com>
7838 * plugins/elements/gstqueue.c:
7839 Very small doc update.
7841 2006-03-13 Wim Taymans <wim@fluendo.com>
7843 * gst/gst_private.h:
7844 * gst/gstinfo.c: (_gst_debug_init):
7845 Added QOS debug category
7847 2006-03-13 Wim Taymans <wim@fluendo.com>
7849 * docs/gst/gstreamer-sections.txt:
7850 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7852 * gst/gstbus.c: (gst_bus_class_init):
7855 * gst/gstelement.c: (gst_element_set_locked_state):
7857 Documentation updates.
7859 * gst/gstpipeline.c: (gst_pipeline_get_type),
7860 (gst_pipeline_class_init), (gst_pipeline_init),
7861 (gst_pipeline_dispose), (gst_pipeline_set_property),
7862 (gst_pipeline_get_property), (do_pipeline_seek),
7863 (gst_pipeline_send_event), (gst_pipeline_change_state),
7864 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7865 (gst_pipeline_get_delay):
7866 * gst/gstpipeline.h:
7867 Added methods for setting the delay.
7868 API: gst_pipeline_set_delay()
7869 API: gst_pipeline_get_delay()
7870 Add pipeline debug category
7873 Don't reset stream time when seek failed.
7875 2006-03-13 Wim Taymans <wim@fluendo.com>
7877 * docs/design/draft-klass.txt:
7878 * docs/design/part-clocks.txt:
7879 * docs/design/part-events.txt:
7880 * docs/design/part-gstbin.txt:
7881 * docs/design/part-gstpipeline.txt:
7882 * docs/design/part-messages.txt:
7883 * docs/design/part-negotiation.txt:
7884 * docs/design/part-overview.txt:
7885 * docs/design/part-preroll.txt:
7886 * docs/design/part-seeking.txt:
7887 * docs/design/part-states.txt:
7888 * docs/design/part-streams.txt:
7889 Documentation updates.
7891 2006-03-12 Julien MOUTTE <julien@moutte.net>
7893 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7894 us to leak strings...
7896 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
7898 * libs/gst/net/gstnettimeprovider.c:
7900 * win32/common/config.h:
7903 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
7905 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7908 Don't check for libgnomeui (leftover from old examples
7909 that aren't built or disted any longer) (#334303).
7911 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
7913 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7914 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7915 Emit RESOURCE_NO_SPACE_LEFT error here as well when
7916 there's no space left on the device.
7918 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
7921 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7922 to cast the input to GstClockTime before comparing with
7923 another GstClockTime value.
7925 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7930 === release 0.10.4 ===
7932 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7935 releasing 0.10.4, "Light"
7937 2006-03-10 Michael Smith <msmith@fluendo.com>
7939 * libs/gst/dataprotocol/dataprotocol.c:
7940 Fix docs for dataprocotol to not get the return types completely
7941 wrong for a few functions.
7943 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7945 * docs/gst/gstreamer-sections.txt:
7946 * gst/gstpipeline.c: (gst_pipeline_class_init),
7947 (gst_pipeline_init), (gst_pipeline_set_property),
7948 (gst_pipeline_get_property), (gst_pipeline_change_state),
7949 (gst_pipeline_set_auto_flush_bus),
7950 (gst_pipeline_get_auto_flush_bus):
7951 * gst/gstpipeline.h:
7952 Add new API: gst_pipeline_set_auto_flush_bus() and
7953 gst_pipeline_get_auto_flush_bus() to disable automatic
7954 flushing of the pipeline's GstBus when going from READY
7955 to NULL state (#332045).
7957 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7959 * docs/gst/gstreamer-sections.txt:
7960 * gst/gsturi.c: (gst_uri_has_protocol):
7962 Add new API: gst_uri_has_protocol() (#333779).
7964 2006-03-09 Wim Taymans <wim@fluendo.com>
7966 * gst/gstclock.c: (gst_clock_entry_new),
7967 (gst_clock_id_compare_func), (gst_clock_id_wait),
7968 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7969 (gst_clock_init), (gst_clock_get_internal_time),
7970 (gst_clock_set_master), (do_linear_regression),
7971 (gst_clock_add_observation), (gst_clock_set_property):
7975 Fix a possible segfault when the window-size is made smaller.
7976 Calculate jitter before performing the clock wait. Ideally
7977 the clock implementation should calculate jitter but we need
7978 API breakage for that.
7980 * gst/gstsystemclock.c: (gst_system_clock_init):
7983 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7984 Remove leftover else
7986 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7987 (gst_systemclock_suite):
7988 Added check to test GST_CLOCK_DIFF.
7990 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7992 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7993 (gst_type_find_helper_get_range):
7994 If we are provided with the size, we should implement
7995 GstTypeFind::get_length, so that typefind functions who
7996 want to can actually peek at the middle of a file.
7998 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
8000 * docs/manual/advanced-dataaccess.xml:
8001 Add some very very basic error checking.
8003 * docs/pwg/appendix-checklist.xml:
8004 Some updates to the list of things to check when writing an element.
8006 2006-03-08 Wim Taymans <wim@fluendo.com>
8008 * docs/design/part-element-transform.txt:
8009 Added some docs about the design of tranform elements.
8011 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8012 (gst_base_src_loop), (gst_base_src_change_state):
8013 Mark buffers with the DISCONT flag.
8015 2006-03-08 Michael Smith <msmith@fluendo.com>
8017 * gst/gstregistry.h:
8018 * gst/gstregistryxml.c: (gst_registry_save),
8019 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
8020 (gst_registry_xml_save_pad_template),
8021 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
8022 (gst_registry_xml_write_cache):
8023 Rewrite registry-saving to avoid race conditions and check for
8026 2006-03-08 Wim Taymans <wim@fluendo.com>
8028 * libs/gst/base/gstbasetransform.c:
8029 (gst_base_transform_transform_caps),
8030 (gst_base_transform_transform_size),
8031 (gst_base_transform_prepare_output_buffer),
8032 (gst_base_transform_get_unit_size),
8033 (gst_base_transform_buffer_alloc),
8034 (gst_base_transform_handle_buffer),
8035 (gst_base_transform_change_state):
8036 Cleanups, separate normal flow from errors, add sensible
8038 Don't try to renegotiate when allocating an output buffer.
8039 Also copy DISCONT buffer flag when copying a buffer.
8040 Reset the transform after we finish streaming, not during.
8042 2006-03-08 Wim Taymans <wim@fluendo.com>
8044 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8045 Use last buffer timestamp in qos message.
8047 2006-03-07 Wim Taymans <wim@fluendo.com>
8049 Patch by: Christophe Fergeau
8051 * docs/pwg/advanced-tagging.xml:
8052 * docs/pwg/building-pads.xml:
8055 2006-03-07 Wim Taymans <wim@fluendo.com>
8057 * docs/libs/gstreamer-libs-sections.txt:
8058 Added basesink new methods.
8062 Docs updates. Flesh out the QoS docs.
8064 * libs/gst/base/gstadapter.c:
8065 Small doc clarification about ownership and flushing.
8067 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
8068 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
8069 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
8070 (gst_base_sink_get_property), (gst_base_sink_do_sync):
8071 * libs/gst/base/gstbasesink.h:
8073 Added new methods to allow subclass to control max-lateness
8075 Generate very basic QoS events based on last sync observation.
8076 Updated docs, fix typo, added some QoS blurb.
8078 * libs/gst/base/gstbasesrc.c:
8079 Remove obsolete _get_state() calls from docs.
8081 2006-03-07 Wim Taymans <wim@fluendo.com>
8083 * docs/libs/gstreamer-libs-sections.txt:
8084 * libs/gst/base/gstbasetransform.h:
8085 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
8086 Fix docs for GstBaseSrc.
8088 2006-03-07 Wim Taymans <wim@fluendo.com>
8090 * docs/gst/gstreamer-sections.txt:
8093 * libs/gst/base/gstbasetransform.h:
8094 Small documentation fixes.
8096 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
8099 Document thread-unsafety of gst_value_register_foo_func()
8100 when used at the same time as gst_value_foo() (#322628).
8102 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
8104 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
8105 (gst_push_src_check_get_range):
8106 Push sources don't support pull mode by default.
8108 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
8110 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8111 (gst_base_src_init), (gst_base_src_pad_check_get_range),
8112 (gst_base_src_default_check_get_range):
8113 * libs/gst/base/gstbasesrc.h:
8114 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
8115 provide default implementation, and rename
8116 gst_base_src_check_get_range() to
8117 gst_base_src_pad_check_get_range() for clarity.
8119 2006-03-06 Wim Taymans <wim@fluendo.com>
8121 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8122 Make property overridable.
8124 2006-03-06 Wim Taymans <wim@fluendo.com>
8126 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8127 (gst_base_sink_init), (gst_base_sink_set_property),
8128 (gst_base_sink_get_property), (gst_base_sink_do_sync):
8129 * libs/gst/base/gstbasesink.h:
8130 API addition: Make max-lateness a property.
8132 2006-03-06 Wim Taymans <wim@fluendo.com>
8134 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
8135 (gst_base_sink_do_sync), (gst_base_sink_render_object):
8136 Don't ever draw a frame that is >10ms late.
8138 2006-03-06 Michael Smith <msmith@fluendo.com>
8140 * gst/gstmessage.c: (_gst_message_copy):
8141 When copying a message, set the parent_refcount of the enclosed
8142 structure to point at the copy, not the original message.
8144 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
8146 Patch by: Christophe Fergeau
8149 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
8150 usable in c++ code (#333417)
8152 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
8155 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
8157 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
8159 * libs/gst/base/gstbasetransform.c:
8160 (gst_base_transform_transform_caps):
8161 Make sure caps are writable before passing them to
8164 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
8167 Fix some minor docs errors.
8169 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
8171 Patch by: Ross Burton <ross at burtonini dot com>
8173 * gst/gsterror.c: (_gst_resource_errors_init):
8175 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
8177 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
8180 Add a check and output a g_warning when GStreamer is built
8181 against GLib 2.6 but running against 2.8 or higher, and vice
8182 versa. (Closes: #323542)
8184 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
8186 * gst/parse/parse.l:
8187 Commit patch for parse_launch syntax from #331255. Removes
8188 support for quoted strings and mimetypes when writing filtered
8189 caps. See the bug report for more details - I'm pretty sure this
8190 obscure feature is not in use by _anyone_ anywhere.
8192 With this simple change, the size of the gstreamer.so here
8193 drops from 2193KB to 1565KB.
8195 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8197 * plugins/elements/gsttypefindelement.h:
8198 * plugins/elements/gsttypefindelement.c:
8199 (gst_type_find_element_src_event), (start_typefinding),
8200 (stop_typefinding), (gst_type_find_element_handle_event),
8201 (gst_type_find_element_chain),
8202 (gst_type_find_element_chain_do_typefinding):
8203 Use gst_type_find_helper_for_buffer() for chain-based
8206 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8208 * plugins/elements/gsttypefindelement.c:
8209 (gst_type_find_element_class_init),
8210 (gst_type_find_element_set_property),
8211 (gst_type_find_element_get_property):
8212 Deprecate "maximum" property (not only was it only taken into
8213 account for typefinding in push-mode anyway, it also was never
8214 actually possible to set it in the first place because the
8215 property was registered with the numeric property ID for the
8216 "minimum" property). Register "maximum" property correctly,
8217 for the sake of future copy'n'pasters. Remove some cruft
8218 from property get/set functions.
8220 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8222 * plugins/elements/gsttypefindelement.c:
8223 (gst_type_find_element_activate):
8224 Use gst_type_find_helper_get_range() here, so we
8225 can honour the "minimum" property and also emit
8226 the signal with the correct probability of the found caps.
8228 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
8230 * docs/libs/gstreamer-libs-sections.txt:
8231 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
8232 (helper_find_suggest), (gst_type_find_helper_get_range),
8233 (gst_type_find_helper):
8234 * libs/gst/base/gsttypefindhelper.h:
8235 New API: gst_type_find_helper_get_range() (#333042).
8237 2006-03-02 Michael Smith <msmith@fluendo.com>
8239 * gst/gstregistryxml.c: (load_feature):
8240 Asserting on a failure to read part of the registry is Not Cool.
8241 Just log a warning and return NULL (which is already handled)
8243 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
8245 * win32/common/libgstbase.def:
8246 added export of gst_type_find_helper_for_buffer
8247 * win32/common/libgstbase.def:
8248 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
8249 gst_ghost_pad_get_target
8251 2006-02-28 Wim Taymans <wim@fluendo.com>
8253 * docs/design/draft-klass.txt:
8255 Added Connector to mark elements that are only used to
8256 allow pipeline connections.
8257 Moved Debug to extra feature since most of them are
8258 functionally something else.
8260 2006-02-28 Wim Taymans <wim@fluendo.com>
8262 * docs/design/draft-klass.txt:
8263 Some updates and clarifications.
8265 2006-02-28 Wim Taymans <wim@fluendo.com>
8267 * docs/design/draft-klass.txt:
8268 Proposal for klass field values.
8270 * docs/design/part-streams.txt:
8271 Start of a doc describing stream anatomy.
8273 2006-02-28 Wim Taymans <wim@fluendo.com>
8275 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
8276 Help the compiler a bit with type registration.
8277 Use existing forward cod path instead of duplicating it when
8280 * gst/gstbus.c: (gst_bus_get_type):
8281 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
8282 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
8283 * gst/gstclock.c: (gst_clock_get_type):
8284 * gst/gstelement.c: (gst_element_get_type),
8285 * gst/gstelementfactory.c: (gst_element_factory_get_type):
8286 * gst/gstindexfactory.c: (gst_index_factory_get_type):
8287 * gst/gstminiobject.c: (gst_mini_object_get_type):
8288 * gst/gstpad.c: (gst_pad_get_type):
8289 * gst/gstsegment.c: (gst_segment_get_type):
8290 * gst/gststructure.c: (gst_structure_get_type):
8291 * gst/gstsystemclock.c: (gst_system_clock_get_type):
8292 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
8294 Help compiler with type registration.
8296 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8299 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8301 * plugins/elements/gsttypefindelement.c:
8302 (gst_type_find_element_handle_event):
8303 When we get an EOS event and have not found a type yet
8304 (most likely because we had not yet accumulated
8305 TYPE_FIND_MIN_SIZE of data yet), try to determine the
8306 type given the data we have so far. Fixes typefinding
8307 for very short streams again, most notably quicktime
8308 redirections as used on Apple's trailer site (#331701).
8310 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8312 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
8313 (gst_type_find_helper):
8314 Try typefinding factories with the highest rank first.
8316 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8318 * docs/libs/gstreamer-libs-docs.sgml:
8319 * docs/libs/gstreamer-libs-sections.txt:
8320 * libs/gst/base/gsttypefindhelper.c:
8321 Add section for typefind helper and add documentation
8322 for the old and the new function.
8324 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8326 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
8327 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
8328 (gst_type_find_helper_for_buffer):
8329 * libs/gst/base/gsttypefindhelper.h:
8330 New API: gst_type_find_helper_for_buffer() (#332723).
8332 2006-02-27 Michael Smith <msmith@fluendo.com>
8334 Patch by: Loïc Minier
8338 * docs/slides/Makefile.am:
8339 prevent CVS directories getting disted.
8341 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8343 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
8344 Use the REFCOUNTING category for caps refcounting.
8346 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
8348 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
8349 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
8351 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
8353 * plugins/elements/gsttypefindelement.c:
8354 (gst_type_find_element_activate):
8355 Use gst_pad_check_pull_range() before _activate_pull()
8356 to avoid unnecessary open/close (see #331690).
8358 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
8361 Docs enhancement: make it crystal clear what the
8362 gst_pad_add_*_probe() callbacks should look like.
8364 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
8366 * libs/gst/base/gstbasesrc.c:
8367 Document how applications can stop recording from
8368 live sources (see #330996).
8370 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8372 * tests/check/Makefile.am:
8373 * tests/check/libs/basesrc.c: (eos_event_counter),
8374 (basesrc_eos_events_pull), (basesrc_eos_events_push),
8375 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
8376 (gst_basesrc_suite), (main):
8377 ... and add some tests for the base source EOS stuff.
8379 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8381 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
8382 Test case originally showed the problem fixed below,
8383 but was then amended. Add checks back at the place
8384 where they used to be.
8386 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8388 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8389 (gst_base_src_init), (gst_base_src_loop),
8390 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8391 (gst_base_src_change_state):
8392 * libs/gst/base/gstbasesrc.h:
8393 Don't unconditionally send EOS when going from PAUSED to
8394 READY state, esp. make sure we don't send two EOS events
8395 in some cases (e.g. one when reaching EOS and one when
8396 going from PAUSED to READY). Also, we don't want to send
8397 EOS events when operating in pull mode. However, we do
8398 want to send an EOS event when shutting down a live
8399 source explicitly, for example (fixes #330996).
8401 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8403 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8404 Update src->read_position after a seek when not using mmap.
8405 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
8407 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
8413 Make things work with --disable-parse as they do with
8414 --disable-load-save - the symbols involved disappear, but the
8415 header is still installed and GST_DISABLE_PARSE is included via
8418 2006-02-20 Julien MOUTTE <julien@moutte.net>
8420 * libs/gst/base/gstbasetransform.c:
8421 (gst_base_transform_change_state): Fix a stupid bug. I was
8422 sure I compiled that.
8424 2006-02-20 Julien MOUTTE <julien@moutte.net>
8426 * gst/gstpad.c: (gst_pad_set_blocked_async):
8427 * gst/gstutils.c: (gst_pad_add_data_probe),
8428 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8429 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8430 (gst_pad_remove_buffer_probe): Make those function act on the
8431 ghostpad target when it's a ghostpad. (Closes #331727)
8433 2006-02-20 Julien MOUTTE <julien@moutte.net>
8435 * libs/gst/base/gstbasetransform.c:
8436 (gst_base_transform_change_state): Make basetransform reusable.
8439 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
8441 * docs/random/release:
8442 Move the current documentation of how to do a release to the top
8445 * gst/gstbin.c: (gst_bin_class_init),
8446 (gst_bin_handle_message_func):
8447 Allow multiple state-recalculation threads. (Closes #328873)
8449 2006-02-19 Julien MOUTTE <julien@moutte.net>
8451 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
8452 * gst/gstpad.c: (gst_pad_set_event_function),
8453 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8454 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
8455 2 strings. You can't use the STR_NULL macro on that.
8457 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
8459 * gst/gstpad.c: (gst_pad_set_event_function),
8460 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8461 (gst_pad_set_getcaps_function)
8462 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8463 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8464 So now, we can use --gst-debug-level=5 on Windows
8465 * win32/common/libgstcontroller.def:
8466 Added export of gst_controller_init
8467 * win32/vs6/libgstcontroller.dsp:
8468 Fixed Release post build configuration
8470 2006-02-17 Wim Taymans <wim@fluendo.com>
8472 * tests/check/gst/gstquery.c: (GST_START_TEST):
8473 Added another check.
8475 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
8477 * plugins/elements/gsttypefindelement.c: (find_peek):
8478 We can do peeks at non-zero offsets, as long as they
8479 fall within the buffer we have.
8481 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
8483 * tests/check/Makefile.am:
8484 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8485 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8486 (parse_suite), (main):
8487 Add testsuite for parse launch syntax
8489 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
8491 * plugins/elements/gsttypefindelement.c:
8492 (gst_type_find_element_chain):
8493 When typefinding is unsuccessful in the chain function, don't
8494 error out immediately. Only error out with NO_CAPS_FOUND if
8495 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8496 otherwise simply wait for more data so we can try typefinding
8497 again with more data later. Also, don't attempt to typefind
8498 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8499 this should improve typefinding from network sources where the
8500 size of the first buffer can be somewhat random.
8502 2006-02-14 Wim Taymans <wim@fluendo.com>
8504 * docs/gst/gstreamer-sections.txt:
8505 * gst/gstpadtemplate.c:
8506 * gst/gstpadtemplate.h:
8507 Fix padtemplate docs, fixes #328805.
8509 2006-02-14 Wim Taymans <wim@fluendo.com>
8511 * tools/gst-launch.c: (main):
8512 NO_PREROLL is not an ERROR so don't send confusing messages
8515 2006-02-14 Wim Taymans <wim@fluendo.com>
8517 Patch by: Torsten Schoenfeld
8519 * gst/gstregistry.c: (gst_registry_get_default),
8520 (_gst_registry_cleanup):
8521 Protect default registry with lock and ref/sink it.
8524 2006-02-14 Wim Taymans <wim@fluendo.com>
8527 * gst/gstquery.c: (gst_query_list_add_format),
8528 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8529 (gst_query_parse_formats_nth):
8530 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8533 2006-02-14 Wim Taymans <wim@fluendo.com>
8535 * docs/gst/gstreamer-sections.txt:
8536 Reworked query docs.
8538 * gst/gstquery.c: (gst_query_new_formats),
8539 (gst_query_list_add_format), (gst_query_set_formats),
8540 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8541 (gst_query_parse_formats_nth):
8543 Flesh out formats query, added some new methods.
8544 Fix part of #324398.
8546 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8547 Added query creation tests.
8549 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
8551 * gst/gstpad.c: (fixate_value):
8552 Add a default fixation for fraction lists.
8554 2006-02-13 Wim Taymans <wim@fluendo.com>
8556 * gst/gsttask.c: (gst_task_init), (gst_task_func),
8557 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8560 Detect and warn for obvious deadlocks. fixes #320340
8561 Fix error case where lock was not released.
8563 * tests/check/Makefile.am:
8564 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8565 (task_func), (gst_element_suite), (main):
8568 2006-02-13 Wim Taymans <wim@fluendo.com>
8570 * docs/gst/gstreamer-sections.txt:
8572 Add new functions to docs.
8574 2006-02-13 Wim Taymans <wim@fluendo.com>
8576 * docs/design/part-TODO.txt:
8577 Updated TODO list, basesrc supports seeking to non-bytes
8580 * docs/design/part-element-sink.txt:
8583 * gst/gstbin.c: (bin_replace_message),
8584 (gst_bin_handle_message_func):
8585 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8586 * gst/gstevent.c: (gst_event_finalize):
8587 * gst/gstpad.c: (gst_pad_event_default_dispatch),
8588 (gst_pad_send_event):
8589 Use shiny new _TYPE_NAME macros.
8591 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8592 Move debug statement up.
8594 * gst/gstelement.c: (gst_element_set_locked_state):
8597 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
8599 * docs/gst/gstreamer-sections.txt:
8602 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8603 macros (#330906). Also, document the already existing
8604 GST_QUERY_TYPE macro.
8606 2006-02-13 Wim Taymans <wim@fluendo.com>
8608 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8609 (event_probe), (GST_START_TEST):
8610 Only events up to the pipeline EOS are counted, there are
8611 some more when going to NULL currently which we don't care
8614 2006-02-13 Wim Taymans <wim@fluendo.com>
8616 * gst/gstpad.c: (gst_pad_send_event):
8617 Correctly check flushing and emit probes. fixes #330125
8619 2006-02-10 Andy Wingo <wingo@pobox.com>
8621 * gst/gstbus.c (gst_bus_class_init): Declare our private data
8623 (gst_bus_init): Cache the location of the private data in the
8625 (gst_bus_enable_sync_message_emission)
8626 (gst_bus_disable_sync_message_emission): Implement new public
8628 (gst_bus_post): Emit the sync-message signal if the user asked for
8631 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8632 location of the bus-private structure.
8633 (gst_bus_enable_sync_message_emission)
8634 (gst_bus_disable_sync_message_emission): API addition
8636 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
8638 Patch by: Vincent Torri
8640 * docs/pwg/building-boiler.xml:
8641 PWG patch from #326800
8643 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
8647 * docs/design/Makefile.am:
8650 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8655 === release 0.10.3 ===
8657 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8660 releasing 0.10.3, "Like a virgin"
8662 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8665 2nd prerelease of 0.10.3
8666 Bump libtool versioning.
8668 2006-02-07 Andy Wingo <wingo@pobox.com>
8670 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8671 update last_stop if we're in TIME format and the timestamp is
8674 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
8675 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
8676 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8677 If we get a new newsegment with a different format, adapt
8680 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8681 of 0. Not a problem, really.
8683 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8686 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
8691 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
8694 project files updated to the default vs7 configuration
8695 * win32/common/libgstbase.def:
8696 * win32/common/libgstreamer.def:
8698 removed empty lines,
8699 sorted all exported symbols alphabetically
8700 * win32/common/dirent.c:
8701 * win32/common/dirent.h:
8702 * win32/common/gchar.h:
8703 use windows line end.
8705 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8707 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8708 Send EOS event when stopping.
8710 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8713 Tell folks what to do if the plugin-foobar.xml file
8714 hasn't been generated for a newly-added plugin.
8716 2006-02-05 Julien MOUTTE <julien@moutte.net>
8718 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8719 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8720 (gst_collect_pads_start), (gst_collect_pads_stop),
8721 (gst_collect_pads_event): Collectpads now holds a reference
8722 to the GstPad that was added. Indeed we don't want to look
8723 at pads that might just go away with no warning...
8725 2006-02-05 Julien MOUTTE <julien@moutte.net>
8727 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8728 (gst_collect_pads_start), (gst_collect_pads_stop),
8729 (gst_collect_pads_event), (gst_collect_pads_chain):
8730 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8731 Mark Nauwelaerts's patch on bug #328491.
8733 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8735 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8737 Add some simple tests for gst_parse_bin_from_description() and
8738 gst_bin_find_unconnected_pad() (#329069).
8740 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8742 * tools/gst-launch.c: (event_loop), (main):
8743 Catch errors during preroll (#320084).
8745 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
8747 * plugins/elements/gsttypefindelement.c:
8748 (gst_type_find_element_activate):
8749 Post TYPE_NOT_FOUND error message when typefinding
8750 is unsuccessful in the activate function as well.
8752 2006-02-02 Wim Taymans <wim@fluendo.com>
8754 * docs/design/part-element-sink.txt:
8757 2006-02-02 Wim Taymans <wim@fluendo.com>
8759 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8760 (gst_base_sink_render_object),
8761 (gst_base_sink_queue_object_unlocked):
8762 Only keep track of prerollable items when we are
8764 Before rendering after preroll, always check if we
8766 Added some more debugging.
8768 2006-02-02 Wim Taymans <wim@fluendo.com>
8770 * gst/gstelement.c: (gst_element_continue_state),
8771 (gst_element_set_state_func), (gst_element_change_state):
8772 Fixed #326576, been running this for quite some time with
8773 no regressions at all.
8775 2006-02-02 Wim Taymans <wim@fluendo.com>
8778 Added more suppressions
8780 2006-02-02 Wim Taymans <wim@fluendo.com>
8782 * docs/design/part-element-sink.txt:
8785 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8786 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8787 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8788 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8789 (gst_base_sink_do_sync), (gst_base_sink_render_object),
8790 (gst_base_sink_preroll_object),
8791 (gst_base_sink_queue_object_unlocked),
8792 (gst_base_sink_queue_object), (gst_base_sink_event),
8793 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8794 (gst_base_sink_loop), (gst_base_sink_activate_pull),
8795 (gst_base_sink_get_position), (gst_base_sink_change_state):
8796 * libs/gst/base/gstbasesink.h:
8797 Totally refactored matching the design doc.
8798 Use two segments, one to clip incomming buffers and another to
8800 Handle queueing correctly, bypass the queue when playing.
8801 Make EOS cancelable.
8802 Handle errors correctly when operating in pull based mode.
8804 * tests/check/elements/fakesink.c: (GST_START_TEST),
8806 Added new check for sinks.
8808 2006-02-02 Wim Taymans <wim@fluendo.com>
8810 * gst/gstsegment.c: (gst_segment_clip):
8811 No reason to refuse to clip when start == -1
8813 2006-02-02 Stefan Kost <ensonic@users.sf.net>
8816 * docs/manual/intro-basics.xml:
8817 * docs/manual/intro-preface.xml:
8818 * docs/manual/manual.xml:
8819 * docs/pwg/advanced-dparams.xml:
8820 * docs/pwg/intro-basics.xml:
8821 * docs/pwg/intro-preface.xml:
8823 describe dparams (controller) for plugins
8824 unify docs a little more
8826 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
8828 * docs/gst/gstreamer-sections.txt:
8829 * gst/gstutils.c: (element_find_unconnected_pad),
8830 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8832 Add new API: gst_parse_bin_from_description() and
8833 gst_bin_find_unconnected_pad() (#329069).
8835 2006-02-01 Stefan Kost <ensonic@users.sf.net>
8837 * docs/manual/README:
8838 uncover a nasty detail of the docs build
8840 2006-01-31 Wim Taymans <wim@fluendo.com>
8842 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8843 Don't cache duration messages if we're not going to use or
8846 2006-01-31 Stefan Kost <ensonic@users.sf.net>
8848 * docs/manual/advanced-dparams.xml:
8849 * docs/pwg/advanced-dparams.xml:
8853 * libs/gst/controller/lib.c: (gst_controller_init):
8856 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
8858 * gst/gstelement.c: (gst_element_message_full):
8859 also show file/line/func if no additional debug was given
8861 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
8863 * win32/vs7/grammar.vcproj:
8864 activate copy of autogenerated files for Release mode
8866 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8868 * win32/common/libgstreamer.def:
8869 export gst_value_compare
8871 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
8873 * plugins/elements/Makefile.am:
8874 * plugins/elements/gstelements.c:
8875 * plugins/elements/gstfdsink.c: (_do_init),
8876 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8877 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8878 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8879 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8880 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8881 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8882 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8883 * plugins/elements/gstfdsink.h:
8884 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8886 2006-01-30 Stefan Kost <ensonic@users.sf.net>
8888 * docs/manual/advanced-dparams.xml:
8890 * docs/manual/advanced-position.xml:
8891 * docs/manual/basics-init.xml:
8892 * docs/manual/manual.xml:
8893 * docs/manual/titlepage.xml:
8895 * docs/pwg/titlepage.xml:
8896 cleanup xml (more to come)
8897 * libs/gst/controller/gstcontroller.c:
8900 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8902 * win32/vs6/grammar.dsp:
8903 add autogen of gstmarshal.c,h for Release mode
8905 2006-01-30 Wim Taymans <wim@fluendo.com>
8907 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8908 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8909 (gst_base_sink_handle_object), (gst_base_sink_event),
8910 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8911 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8912 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8913 (gst_base_sink_deactivate), (gst_base_sink_activate),
8914 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8915 (gst_base_sink_query), (gst_base_sink_change_state):
8916 Basesink cleanups, remove some old code.
8917 Handle the case where a subclass can preroll in the render
8918 method (mostly audiosinks).
8920 Remove some locks around variables that are now protected
8921 with the PREROLL_LOCK (clock_id, flushing, ..).
8922 Optimize position query some more, do correct locking.
8923 Remove old code to push queue in state change, this is not
8924 needed anymore since preroll blocks on all prerollable items
8926 Almost implemented as described in design doc.
8928 2006-01-30 Wim Taymans <wim@fluendo.com>
8930 * tests/check/gst/gstbin.c: (GST_START_TEST):
8931 Wait for refcount to settle down before checking.
8933 2006-01-30 Wim Taymans <wim@fluendo.com>
8935 * docs/design/part-element-sink.txt:
8936 Pseudo code overview of desired sink behaviour regarding
8939 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8940 * win32/vs6/grammar.dsp:
8941 fix some bugs in Release mode for autogenerated files
8943 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8944 * win32/common/libgstbase.def:
8945 * win32/common/libgstreamer.def:
8946 export some new symbols: gst_base_src_set_format,
8947 gst_iterator_next, gst_structure_set_valist
8949 2006-01-29 Julien MOUTTE <julien@moutte.net>
8951 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8952 Set pad functions unconditionally. Fixes #329105.
8954 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8956 add vs8 project files created by Sergey Scobich
8958 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
8960 * gst/gstutils.c: (gst_element_unlink_pads):
8961 Don't leak pad references.
8963 * tests/check/elements/fakesink.c: (GST_START_TEST):
8964 * tests/check/generic/sinks.c: (GST_START_TEST):
8965 * tests/check/generic/states.c: (GST_START_TEST):
8966 * tests/check/gst/gstbin.c: (GST_START_TEST):
8967 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8968 * tests/check/gst/gstelement.c: (GST_START_TEST):
8969 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8970 * tests/check/gst/gstiterator.c: (GST_START_TEST):
8971 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8972 Fix a bunch of leaks. Make generic/sinks.c
8973 use a bit less cpu by slowing the buffer rate
8974 between fakesrc and fakesink.
8976 2006-01-27 Stefan Kost <ensonic@users.sf.net>
8978 * gst/gstelement.c: (gst_element_send_event):
8981 * gst/gstiterator.c:
8982 * gst/gstiterator.h:
8983 * gst/gstpad.c: (gst_pad_send_event):
8984 * gst/gststructure.c:
8988 * libs/gst/base/gstadapter.c:
8989 doc fixes, to link to function, just write gst_cool_function(), don't
8992 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8994 * plugins/elements/gsttee.c: (gst_tee_do_push),
8995 (gst_tee_handle_buffer):
8996 Always prefer an actual return value from a src
8997 pad in place of NOT_LINKED. This means we return
8998 WRONG_STATE when all src pads are WRONG_STATE
8999 instead of NOT_LINKED.
9001 Lock when replacing the last message to prevent
9002 racing with the get_property method.
9006 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
9008 * tests/check/Makefile.am:
9009 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
9011 Add a very simple check that should have caught the memleak I fixed
9012 last night (if not for the slice allocator hiding it)
9014 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
9016 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9017 (gst_bin_remove_func), (gst_bin_handle_message_func),
9018 (bin_query_duration_fold), (bin_query_generic_fold):
9019 Clean up references to the clock provider when disposed or when
9020 handling a clock-lost message from it.
9022 Unref sinks when performing a query via gst_iterator_fold, as the
9023 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
9025 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
9026 (gst_clock_set_master):
9027 Drop our reference to the master clock, if any, when we are disposed.
9029 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
9030 Chain up in dispose.
9032 2006-01-26 Wim Taymans <wim@fluendo.com>
9034 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9037 2006-01-26 Julien MOUTTE <julien@moutte.net>
9039 * plugins/elements/gsttee.c: (gst_tee_do_push),
9040 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
9041 handles pad being NOT_LINKED or in WRONG_STATE.
9043 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9048 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9051 remove obsolete entry
9053 2006-01-26 Stefan Kost <ensonic@users.sf.net>
9055 * docs/gst/gstreamer-sections.txt:
9056 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
9057 (gst_bin_iterate_sources), (gst_bin_send_event):
9059 * gst/gstelement.c: (gst_element_send_event):
9061 * gst/gstpad.c: (gst_pad_send_event):
9062 added code for downstream events, reviewed docs in gstevent.c
9064 2006-01-25 Julien MOUTTE <julien@moutte.net>
9066 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9067 We only query position using the clock in the playing state.
9068 Query peer in the other cases.
9069 * win32/common/config.h: Updates.
9071 2006-01-24 Wim Taymans <wim@fluendo.com>
9073 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9074 A clock entry that is scheduled for the exact time of the
9075 clock is still in time.
9077 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9078 (gst_base_sink_do_sync):
9079 Add some more debug info.
9081 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
9084 Add new vs7 project files and solution.
9086 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
9089 all files removed as they were out-dated.
9091 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
9093 * docs/random/release:
9095 * gst/gstbin.c: (gst_bin_init):
9096 * gst/gstbus.c: (gst_bus_new):
9098 * gst/gstpipeline.c: (gst_pipeline_init):
9099 use gst_bus_new(), improve logging, fix docs
9100 * win32/common/config.h:
9101 update for cvs build
9103 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
9106 up required version of automake to 1.7
9108 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
9110 * win32/common/libgstreamer.def:
9111 export gst_buffer_is_metadata_writable
9113 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
9115 * docs/gst/gstreamer-sections.txt:
9117 Add gst_event_replace() (#327001)
9119 2006-01-20 Wim Taymans <wim@fluendo.com>
9121 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9122 Make it actually compile too..
9124 2006-01-20 Wim Taymans <wim@fluendo.com>
9127 Clarify behaviour of _is_equal() when passing NULL parameters.
9129 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9131 Cleanups. Don't unref NULL caps.
9132 When setting the same caps, protect caps of the pad with
9134 Use full functionality of _is_equal() when comparing caps.
9136 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
9138 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9139 Don't loop infinitely if there are no buffers to present. Partially
9140 fixes #327197, but collectpads is just broken for reusing elements
9141 to do multiple encodes atm.
9143 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
9145 * tools/gst-inspect.c: (print_element_features):
9146 * tools/gst-xmlinspect.c: (main):
9147 URL_HANDLER is not a plugin feature we can search for in
9150 2006-01-19 Edward Hervey <edward@fluendo.com>
9152 * gst/gstelement.c: (gst_element_pads_activate):
9153 When activating, do src pads first, then sink pads.
9154 When de-activating, do sink pads first, then src pads.
9156 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9158 * docs/gst/gstreamer-sections.txt:
9159 Add gst_index_add_associationv to the docs
9161 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9166 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
9167 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
9168 Do some refactoring. Doesn't actually change functionality,
9169 but makes landing the DRAIN event easier later.
9171 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
9173 * docs/pwg/advanced-scheduling.xml:
9174 Update from 0.9.x to 0.10 API and make example a bit
9177 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9179 * docs/gst/gstreamer-sections.txt:
9180 Add gst_buffer_(is|make)_metadata_writable methods.
9182 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9184 * docs/design/part-sparsestreams.txt:
9185 Update sparse streams doc, hopefully for greater clarity
9187 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
9189 * docs/design/part-events.txt:
9190 Remove mention of FILLER events.
9193 * docs/design/part-sparsestreams.txt:
9194 Write some things about using NEWSEGMENT to keep sparse streams
9197 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
9199 * gst/gstbin.c: (gst_bin_dispose):
9200 Guard gst_object_unref call against a NULL object (dispose
9201 can theoretically be called multiple times).
9203 2006-01-18 Wim Taymans <wim@fluendo.com>
9205 * gst/gstbin.c: (gst_bin_element_set_state):
9206 * gst/gstclock.c: (gst_clock_id_wait):
9207 Added some more debug info.
9209 * libs/gst/base/gstadapter.c:
9212 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9213 (gst_base_sink_do_sync), (gst_base_sink_chain):
9214 Added some comments.
9216 2006-01-18 Wim Taymans <wim@fluendo.com>
9218 * tests/check/Makefile.am:
9219 * tests/check/elements/fakesink.c: (chain_async_buffer),
9220 (chain_async), (chain_async_return), (GST_START_TEST),
9221 (fakesink_suite), (main):
9222 Added fakesink test that checks prerolling and clipping
9225 * tests/check/gst/gstutils.c: (GST_START_TEST):
9226 Make check run faster so that buildbots don't timeout.
9228 2006-01-18 Wim Taymans <wim@fluendo.com>
9230 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9231 (gst_base_sink_do_sync):
9233 When the sink finishes blocking on the preroll buffer, it can
9234 immediatly render it instead of rendering when the next buffer
9237 2006-01-18 Wim Taymans <wim@fluendo.com>
9239 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
9240 (gst_base_sink_get_property), (gst_base_sink_do_sync),
9241 (gst_base_sink_chain):
9243 GST_ELEMENT_CLOCK and sync are protected with LOCK.
9244 Don't store _last_stop if the buffer is dropped.
9246 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
9248 * plugins/elements/gsttypefindelement.c:
9249 (gst_type_find_element_class_init):
9250 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
9251 object method handler that sets the caps on the pad and we want
9252 that to happen before we emit the signal (fixes e.g. feeding a
9253 plain text file to decodebin).
9255 2006-01-18 Christian Schaller <Christian@fluendo.com>
9257 * gst/gstplugin.c: Add MPL and Proprietary as license options
9259 2006-01-18 Andy Wingo <wingo@pobox.com>
9261 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
9262 symbol was exported before, it appears this was just an oversight.
9264 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
9266 * gst/gstindex.c (gst_index_add_associationv): Changed int in
9267 prototype to gint. OK since this prototype was not in the header.
9269 2006-01-17 Andy Wingo <wingo@pobox.com>
9271 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
9272 registry while we remove plugins.
9274 * tools/gst-inspect.c (print_element_info): Don't unref the
9275 factory arg, that should be the responsibility of whatever code
9276 received the ref. Fixes a double-free when called from
9277 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
9278 (main): Unref the factory if we have one.
9279 (print_element_list): No change -- relies on the
9280 plugin_feature_list_free to free the list of features.
9282 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
9284 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9285 (gst_buffer_make_metadata_writable):
9287 * libs/gst/base/gstbasetransform.c:
9288 (gst_base_transform_prepare_output_buf):
9289 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9290 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9291 Replace gst_buffer_(make|is)_metadata_writable patch now
9292 that the release is out.
9294 2006-01-17 Andy Wingo <wingo@pobox.com>
9296 * gst/gstregistry.c: Reflow design comment. Update so as to speak
9297 in the present tense without reference to versions.
9299 * gst/gstregistry.c (gst_registry_add_plugin)
9300 (gst_registry_remove_plugin, gst_registry_remove_feature)
9301 (gst_registry_find_feature, gst_registry_get_feature_list)
9302 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
9303 (gst_registry_lookup, gst_registry_scan_path)
9304 (_gst_registry_remove_cache_plugins)
9305 (gst_registry_get_feature_list_by_plugin): Add argument
9308 === release 0.10.2 ===
9310 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
9313 releasing 0.10.2, "If man is five"
9315 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9319 * libs/gst/base/gstbasetransform.c:
9320 (gst_base_transform_prepare_output_buf):
9321 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9322 * tests/check/gst/gstbuffer.c: (gst_test_suite):
9323 Back out patch until after the release.
9325 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9327 * gst/gstminiobject.c:
9328 Spelling fix in docs.
9329 * ChangeLog - remove conflict indicator
9331 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9333 Reviewed By: Andy Wingo
9335 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9336 (gst_buffer_make_metadata_writable):
9338 Add gst_buffer_(is|make)_metadata_writable as analogues of
9339 gst_buffer_(is|make)_writable.
9341 * libs/gst/base/gstbasetransform.c:
9342 (gst_base_transform_prepare_output_buf):
9343 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9344 Use name gst_buffer_(is|make)_metadata_writable functions.
9346 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9347 Test gst_buffer_(is|make)_metadata_writable
9351 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
9353 * docs/manual/Makefile.am:
9354 don't do parallel make
9357 * win32/common/config.h.in:
9358 add generations for HOST_CPU and GST_MAJORMINOR
9359 * win32/common/config.h:
9360 commit generated result
9362 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
9364 * docs/manual/appendix-integration.xml:
9365 Update GNOME integration section to use gst_init_get_option_group()
9366 instead of the old popt stuff (#322911). Also, GNOME applications
9367 should now use gconf*sink and gconf*src instead of the old gconf
9370 2006-01-13 Stefan Kost <ensonic@users.sf.net>
9373 * docs/gst/gstreamer-docs.sgml:
9374 * docs/gst/gstreamer-sections.txt:
9375 * docs/libs/gstreamer-libs-sections.txt:
9376 add new API entries to the docs
9377 * libs/gst/controller/Makefile.am:
9378 * libs/gst/controller/gstcontroller.c:
9379 * libs/gst/controller/gstcontroller.h:
9380 * libs/gst/controller/gstcontrollerprivate.h:
9381 * libs/gst/controller/gsthelper.c:
9382 * libs/gst/controller/gstinterpolation.c:
9383 move private structs to private header
9385 gstreamer-0.7 -> gstreamer-0.10
9386 * tests/check/libs/struct_i386.h:
9387 remove private structs
9389 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
9391 * plugins/indexers/Makefile.am:
9392 Fixes as part of #317048
9394 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
9396 * plugins/indexers/Makefile.am:
9397 fix #316086 - compilation when mmap is missing
9399 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
9401 * libs/gst/base/gstbasesink.c:
9402 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
9403 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
9404 * win32/common/config.h:
9405 added some defines GST_MAJORMINOR and HOST_CPU
9406 * win32/common/libgstbase.def:
9407 * win32/common/libgstreamer.def:
9408 added some exported functions.
9410 2006-01-12 Stefan Kost <ensonic@users.sf.net>
9412 * libs/gst/controller/gstcontroller.c:
9413 (gst_controlled_property_set_interpolation_mode),
9414 (gst_controlled_property_new):
9415 * libs/gst/controller/gstcontroller.h:
9416 * libs/gst/controller/gstinterpolation.c:
9417 (interpolate_none_get_string_value_array):
9418 make G_TYPE_STRING controlable
9420 2006-01-12 Stefan Kost <ensonic@users.sf.net>
9423 * tools/gst-feedback.1.in:
9424 * tools/gst-inspect.1.in:
9425 * tools/gst-launch.1.in:
9426 * tools/gst-md5sum.1.in:
9427 * tools/gst-typefind.1.in:
9428 * tools/gst-xmlinspect.1.in:
9429 * tools/gst-xmllaunch.1.in:
9430 cleanup man-pages, remove reference to gst-register, document env-vars
9432 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
9434 * gst/gstbuffer.c: (gst_buffer_span):
9435 gst_buffer_span should copy the timestamp of the first buffer
9436 if they were both originally overlapping subbuffers of the
9437 same parent, using the same logic as the 'slow copy' case.
9439 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
9441 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
9442 Need to awaken ALL the pads when we pop a buffer, otherwise
9443 collectpads only works when there is 2 input streams.
9445 2006-01-11 Stefan Kost <ensonic@users.sf.net>
9447 * docs/random/ensonic/media-device-daemon.txt:
9450 fix doc example, add clarification
9451 * tools/gst-launch.1.in:
9452 add initial info about GST_PLUGIN_PATH, needs more work
9454 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
9456 * docs/manual/basics-bins.xml:
9457 * docs/manual/basics-elements.xml:
9458 * docs/manual/intro-basics.xml:
9459 Some more minor docs additions and updates.
9461 2006-01-11 Wim Taymans <wim@fluendo.com>
9463 * docs/manual/basics-bins.xml:
9464 * docs/manual/basics-elements.xml:
9465 Some small fixes as pointed out by Ser-ver on IRC.
9467 2006-01-10 Edward Hervey <edward@fluendo.com>
9469 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9470 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9471 the single-segment mode.
9473 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
9475 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9477 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9478 (gst_base_src_perform_seek), (gst_base_src_send_event),
9479 (gst_base_src_set_property), (gst_base_src_get_property),
9480 (gst_base_src_loop), (gst_base_src_start),
9481 (gst_base_src_activate_push):
9482 * libs/gst/base/gstbasesrc.h:
9483 Name (private) union; makes Sun's Forte compiler happy (#324900).
9485 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
9488 gst-register is gone.
9490 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
9492 * gst/gstvalue.c: (_gst_value_initialize):
9493 make the G_TYPE_DATE instantiation work if debug is disabled
9495 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
9497 * gst/gstmessage.c: (gst_message_parse_tag),
9498 (gst_message_parse_error), (gst_message_parse_warning):
9499 Don't crash when return location for error/warning debug
9500 string is NULL; add fact that return locations can be
9501 NULL to docs where appropriate.
9503 2006-01-05 Wim Taymans <wim@fluendo.com>
9505 * gst/gstplugin.c: (gst_plugin_load_file):
9506 Replace strdup by g_strdup.
9508 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9510 * docs/pwg/advanced-types.xml:
9513 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9515 submitted by: Abel Cheung
9519 Added Chinese (traditional) translation
9521 2006-01-04 Wim Taymans <wim@fluendo.com>
9523 * docs/manual/basics-pads.xml:
9524 * docs/plugins/Makefile.am:
9525 * docs/plugins/gstreamer-plugins-docs.sgml:
9526 * docs/plugins/gstreamer-plugins-sections.txt:
9527 * docs/pwg/advanced-clock.xml:
9528 * docs/pwg/advanced-scheduling.xml:
9529 * docs/pwg/advanced-types.xml:
9530 * plugins/elements/gstfdsink.c:
9531 * plugins/elements/gstfdsrc.c:
9532 * plugins/elements/gstfdsrc.h:
9533 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9534 * plugins/elements/gstidentity.h:
9535 * plugins/elements/gstqueue.h:
9536 * plugins/elements/gsttee.c:
9537 * plugins/elements/gsttee.h:
9538 * plugins/elements/gsttypefindelement.c:
9539 (gst_type_find_element_class_init):
9540 * plugins/elements/gsttypefindelement.h:
9541 Small updates to various docs.
9542 Added core plugins to docs.
9544 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9547 add a suppression for liboil's uninitialized variable
9549 2006-01-02 James Livingston <jrl at ids dot org dot au>
9551 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9554 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9555 macro, so that gcc doesn't complain if the -Wmissing-prototypes
9556 compiler switch is being used (#325429).
9558 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
9560 * gst/gstbin.c: (gst_bin_query):
9561 Disable duration query caching in bins until it gets
9562 fixed (see #324807).
9564 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9566 * tools/gst-inspect.c: (print_element_properties_info):
9567 Handle properties of POINTER and BOXED type.
9569 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9571 * gst/gst.c: (init_post):
9572 Init tags stuff and some other things before loading
9573 any static plugins (there may be other static plugins
9574 than just the GStreamer ones, and they may want to
9575 register their own tags or formats or whatever, and
9576 preferably without segfaulting).
9578 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9579 Print at least a warning in the debug logs if we drop a
9580 query just because we don't know how to adjust the value
9581 in the particular format.
9583 2005-12-24 David Schleef <ds@schleef.org>
9585 * tools/gstreamer-completion:
9586 Replacement for gst-complete written in sh and sed. Only
9587 completes names of features, but that's 90% of what I want
9588 it for. Properties are not available in registry.xml. (Maybe
9591 === release 0.10.1 ===
9593 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
9596 releasing 0.10.1, "Nollaig chridheil"
9598 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
9601 Add missing quote, should be make ERROR_CFLAGS="".
9603 2005-12-20 Wim Taymans <wim@fluendo.com>
9605 * docs/design/part-trickmodes.txt:
9606 More documentation on trickmodes.
9608 2005-12-20 Edward Hervey <edward@fluendo.com>
9610 * gst/gstcaps.c: (gst_static_caps_get_type):
9612 API addition: GST_TYPE_STATIC_CAPS
9613 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9614 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9615 * gst/gstpadtemplate.h:
9616 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9617 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9620 2005-12-18 Wim Taymans <wim@fluendo.com>
9622 * libs/gst/base/gstadapter.c:
9623 * libs/gst/base/gstadapter.h:
9624 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9625 (gst_base_sink_get_position):
9626 * libs/gst/base/gstbasesink.h:
9627 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9628 (gst_base_src_default_query), (gst_base_src_default_do_seek),
9629 (gst_base_src_do_seek), (gst_base_src_perform_seek),
9630 (gst_base_src_send_event), (gst_base_src_update_length),
9631 (gst_base_src_get_range), (gst_base_src_loop),
9632 (gst_base_src_start):
9633 * libs/gst/base/gstbasesrc.h:
9634 * libs/gst/base/gstbasetransform.h:
9635 * libs/gst/base/gstcollectpads.h:
9636 * libs/gst/base/gstpushsrc.c:
9637 * libs/gst/base/gstpushsrc.h:
9638 * libs/gst/dataprotocol/dataprotocol.c:
9639 * libs/gst/dataprotocol/dataprotocol.h:
9640 * libs/gst/net/gstnetclientclock.h:
9641 * libs/gst/net/gstnettimeprovider.h:
9642 Documentation updates.
9644 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
9646 * docs/manual/basics-helloworld.xml:
9647 Remove superfluous closing bracket in helloworld example.
9649 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
9651 * tools/gst-launch.1.in:
9652 Update gst-launch man page; add a section with useful
9653 environment variables. Fixes #323882.
9655 2005-12-16 Stefan Kost <ensonic@users.sf.net>
9658 * gst/gst_private.h:
9659 change some char* into char[]
9661 2005-12-16 Wim Taymans <wim@fluendo.com>
9663 * gst/gstregistryxml.c: (load_feature):
9665 Don't use g_object_unref on GstObjects so that we avoid
9666 leaks on unsafe glibs.
9668 2005-12-16 Wim Taymans <wim@fluendo.com>
9670 * gst/gstbin.c: (gst_bin_recalc_state):
9673 2005-12-16 Wim Taymans <wim@fluendo.com>
9676 Added make forever target for check.
9678 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
9680 * gst/gst.c: (init_post):
9681 make the registry cache file HOST_CPU-dependent
9683 2005-12-16 Andy Wingo <wingo@pobox.com>
9685 * plugins/elements/gstbufferstore.c
9686 (gst_buffer_store_cleared_func): Pay attention to g_list_append
9689 * tests/check/gst/gstobject.c
9690 (test_fake_object_name_threaded_unique): Pay attention to
9691 g_list_sort return value.
9693 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
9695 * tools/gst-feedback-m.m:
9696 Update for 0.9/0.10 (fixes #323870).
9698 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
9700 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9701 Fix lcopy for mini objects, the mini object needs to be ref'ed.
9703 * tests/check/gst/gstminiobject.c: (my_foo_init),
9704 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9705 (test_value_collection), (gst_mini_object_suite):
9706 Add test to ensure refcounts end up as expected when passing
9707 GstMiniObjects through g_object_get() and g_object_set().
9709 2005-12-14 Julien MOUTTE <julien@moutte.net>
9711 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9712 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9713 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9714 of collectpads. This version removes a lot of races without
9715 touching API/ABI. Yay !
9717 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
9719 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9720 Don't allow activation of a srcpad in pull_range if it has no
9722 Change some debug statements to be a little clearer
9724 * plugins/elements/gsttypefindelement.c:
9725 (gst_type_find_handle_src_query):
9726 Check that we have a peer before executing queries thereupon.
9728 * tests/examples/metadata/read-metadata.c: (message_loop):
9729 Use gst_bus_pop instead of gst_bus_poll when we just want it to
9730 immediately return us any available message with 0 timeout.
9732 2005-12-12 Michael Smith <msmith@fluendo.com>
9734 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9735 Don't unref factories after calling them.
9736 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9737 * plugins/elements/gsttypefindelement.c:
9738 (gst_type_find_element_chain):
9739 Free lists of factories after using them. Fixing typefinding memory
9742 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9744 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9745 (gst_plugin_feature_load):
9746 more meaningful debug output
9748 * tests/Makefile.am:
9749 * tests/old/examples/Makefile.am:
9750 make make distcheck happy again
9752 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9754 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9755 Catch the special case where we are operating chain-based,
9756 but the downstream peer pad has no chain function. Emit a
9757 custom error message in this case instead of letting the
9758 core generate one implying that this is some sort of core
9759 bug. It's not, it just means that whatever got plugged
9760 into the pipeline downstream when we announced the type
9761 can only operate pull-based, while our source can only
9762 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9763 Error string has not been marked for translation yet, as
9764 it probably needs some more work first.
9766 (gst_type_find_element_get_best_possibility):
9767 Add helper function to find the best of all available
9768 found possibilities that qualify given the min. threshold.
9770 (gst_type_find_element_handle_event):
9771 Fix the case where we get an EOS while still in TYPEFIND
9772 mode (we want to chose the best of all possible types,
9773 not just the first type that happens to be in our unsorted
9774 list of possible types).
9776 (gst_type_find_element_chain):
9777 Make sure we return GST_FLOW_ERROR when we errored out
9778 in stop_typefinding(); also, don't just find the best of
9779 all found type entries and then use the last examined
9780 type entry, but actually use the best entry.
9782 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9784 * tests/examples/typefind/typefind.c: (type_found):
9785 * tests/examples/xml/runxml.c: (xml_loaded):
9786 More gcc4 fixes and a mem leak fix.
9788 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9790 * tests/examples/xml/createxml.c: (object_saved):
9793 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9795 * tests/Makefile.am:
9796 enable the examples even more
9798 2005-12-12 Andy Wingo <wingo@pobox.com>
9800 * libs/gst/net/gstnettimeprovider.c
9801 (gst_net_time_provider_class_init, gst_net_time_provider_init)
9802 (gst_net_time_provider_set_property)
9803 (gst_net_time_provider_get_property):
9804 API addition: Export "active" as a GObject property.
9805 (gst_net_time_provider_thread): Only respond to time queries if
9806 the time provider is active.
9808 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9809 NetTimeProvider, preserving binary compat.
9811 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9813 * tests/examples/controller/audio-example.c: (main):
9814 * tests/examples/launch/Makefile.am:
9815 convert comments again
9817 2005-12-12 Wim Taymans <wim@fluendo.com>
9819 * libs/gst/base/gstpushsrc.c:
9822 2005-12-12 Wim Taymans <wim@fluendo.com>
9824 * docs/libs/gstreamer-libs-sections.txt:
9825 Added new symbol to docs.
9827 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9828 (gst_base_src_init), (gst_base_src_set_format),
9829 (gst_base_src_default_query), (gst_base_src_query),
9830 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9831 (gst_base_src_perform_seek), (gst_base_src_send_event),
9832 (gst_base_src_default_event), (gst_base_src_event_handler),
9833 (gst_base_src_set_property), (gst_base_src_get_property),
9834 (gst_base_src_wait), (gst_base_src_do_sync),
9835 (gst_base_src_update_length), (gst_base_src_get_range),
9836 (gst_base_src_check_get_range), (gst_base_src_loop),
9837 (gst_base_src_default_negotiate), (gst_base_src_start),
9838 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9839 (gst_base_src_change_state):
9840 * libs/gst/base/gstbasesrc.h:
9841 Implement seeking to other formats than _BYTES.
9842 Implement more seeking methods correctly.
9844 Added query vmethod.
9845 Added do_seek vmethod to make life easier for subclasses
9847 API addition: gst_base_src_set_format()
9849 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9851 * tests/examples/Makefile.am:
9854 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9857 * docs/random/ensonic/media-device-daemon.txt:
9858 * tests/examples/controller/.cvsignore:
9859 * tests/examples/controller/Makefile.am:
9860 * tests/examples/controller/audio-example.c: (main):
9861 * tests/examples/helloworld/.cvsignore:
9862 * tests/examples/helloworld/Makefile.am:
9863 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9864 * tests/examples/launch/.cvsignore:
9865 * tests/examples/launch/Makefile.am:
9866 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9867 * tests/examples/metadata/.cvsignore:
9868 * tests/examples/metadata/Makefile.am:
9869 * tests/examples/metadata/read-metadata.c: (message_loop),
9870 (make_pipeline), (print_tag), (main):
9871 * tests/examples/queue/.cvsignore:
9872 * tests/examples/queue/Makefile.am:
9873 * tests/examples/queue/queue.c: (event_loop), (main):
9874 * tests/examples/typefind/.cvsignore:
9875 * tests/examples/typefind/Makefile.am:
9876 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9878 * tests/examples/xml/.cvsignore:
9879 * tests/examples/xml/Makefile.am:
9880 * tests/examples/xml/createxml.c: (object_saved), (main):
9881 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9882 * tests/old/examples/Makefile.am:
9883 * tests/old/examples/TODO:
9884 * tests/old/examples/controller/.cvsignore:
9885 * tests/old/examples/controller/Makefile.am:
9886 * tests/old/examples/controller/audio-example.c:
9887 * tests/old/examples/helloworld/.cvsignore:
9888 * tests/old/examples/helloworld/Makefile.am:
9889 * tests/old/examples/helloworld/helloworld.c:
9890 * tests/old/examples/launch/.cvsignore:
9891 * tests/old/examples/launch/Makefile.am:
9892 * tests/old/examples/launch/mp3parselaunch.c:
9893 * tests/old/examples/launch/mp3play:
9894 * tests/old/examples/manual/Makefile.am:
9895 * tests/old/examples/metadata/Makefile.am:
9896 * tests/old/examples/metadata/read-metadata.c:
9897 * tests/old/examples/queue/.cvsignore:
9898 * tests/old/examples/queue/Makefile.am:
9899 * tests/old/examples/queue/queue.c:
9900 * tests/old/examples/typefind/.cvsignore:
9901 * tests/old/examples/typefind/Makefile.am:
9902 * tests/old/examples/typefind/typefind.c:
9903 * tests/old/examples/xml/.cvsignore:
9904 * tests/old/examples/xml/Makefile.am:
9905 * tests/old/examples/xml/createxml.c:
9906 * tests/old/examples/xml/runxml.c:
9907 applied some simple fixing to some examples
9908 re-enabled the working examples
9910 2005-12-12 Wim Taymans <wim@fluendo.com>
9912 * gst/gstsegment.c: (gst_segment_init),
9913 (gst_segment_set_last_stop), (gst_segment_set_seek),
9914 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9915 (gst_segment_to_running_time):
9916 Added more documentation.
9917 Make sure the last_pos value is updated properly.
9918 Make sure to_stream_time and to_running_time don't
9919 operate on wrong values.
9921 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9924 2005-12-12 Michael Smith <msmith@fluendo.com>
9926 * plugins/elements/gsttypefindelement.c: (free_entry),
9927 (gst_type_find_element_chain):
9928 Now that we're not leaking factories, make sure we keep references
9929 to them while we need them.
9931 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9933 * tests/check/gst/struct_i386.h:
9934 ifdef out the XML structs
9936 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9938 * gst/gstvalue.c: (gst_value_transform_double_fraction):
9939 floor is not needed, F is always positive; this obviates the
9940 need for adding -lm when building without libxml
9942 2005-12-12 Wim Taymans <wim@fluendo.com>
9944 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9945 Take current playback rate into account when reporting
9948 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9950 * docs/manual/mime-world.fig:
9951 Let's try this again, this time with a file that is
9952 actually in XFig format.
9954 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9956 * docs/manual/mime-world.fig:
9957 Add audioconvert element to diagram so that it
9958 matches the text and the code (fixes #319526).
9960 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9962 * docs/pwg/building-chainfn.xml:
9963 * docs/pwg/building-pads.xml:
9964 * docs/pwg/building-state.xml:
9965 * docs/pwg/other-source.xml:
9966 Update state change stuff for 0.10 (fixes #322969).
9968 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9970 * docs/manual/advanced-dataaccess.xml:
9971 * docs/manual/appendix-checklist.xml:
9972 * docs/manual/appendix-programs.xml:
9973 * docs/manual/basics-pads.xml:
9974 * docs/manual/highlevel-components.xml:
9975 * docs/manual/manual.xml:
9976 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9977 add converters in front of pipelines; remove curly
9978 brackets for threads stuff, they no longer exist; use
9979 GST_TYPE_FRACTION for framerates; update some pieces of
9980 code to 0.10, but there's plenty more to do.
9982 * docs/manual/appendix-porting.xml:
9983 Expand on asynchroneous state changes; s/0.9/0.10/;
9984 mention disappearance of gst_init_get_popt_table()
9987 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9989 * docs/faq/using.xml:
9990 Spider no longer exists, and neither does gst-launch-ext.
9991 Update examples to use decodebin and playbin and put
9992 converters in front of sinks (fixes #323726).
9994 2005-12-09 Michael Smith <msmith@fluendo.com>
9996 * plugins/elements/gsttypefindelement.c: (find_peek),
9997 (gst_type_find_element_chain):
9998 Fix leaking element factories in typefinding.
9999 Fix problem where we forgot about a probable type on non-seekable
10000 files, and thus later mis-typefound it.
10002 2005-12-09 Michael Smith <msmith@fluendo.com>
10004 * common/m4/gst-makecontext.m4:
10005 * common/m4/gst-mcsc.m4:
10007 * win32/common/config.h:
10008 * win32/common/config.h.in:
10009 Remove makecontext stuff; not used in 0.10 and causes problems on
10010 HPUX according to bug #322441
10012 2005-12-07 Wim Taymans <wim@fluendo.com>
10014 * tests/check/Makefile.am:
10015 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
10017 * tests/check/libs/struct_i386.h:
10018 Added ABI check for libs
10020 2005-12-07 Wim Taymans <wim@fluendo.com>
10022 * tests/check/Makefile.am:
10023 And add the struct_i386.h to dist.
10025 2005-12-07 Wim Taymans <wim@fluendo.com>
10027 * tests/check/Makefile.am:
10028 * tests/check/gst/.cvsignore:
10029 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
10031 * tests/check/gst/struct_i386.h:
10032 Added check for ABI compatibility.
10034 2005-12-07 Wim Taymans <wim@fluendo.com>
10036 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10037 (gst_fake_src_get_times), (gst_fake_src_create):
10038 Fix broken sync option, fixes #323259
10040 2005-12-07 Wim Taymans <wim@fluendo.com>
10045 * gst/gstcaps.c: (gst_caps_is_equal):
10046 Don't assert on NULL <--> X. Fixes #323260
10048 * gst/gstminiobject.c: (gst_mini_object_replace):
10049 If we're doing atomic operations, we might just as well use
10050 the proper way to get an atomic pointer.
10052 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10053 Clean up debugging.
10055 2005-12-07 Michael Smith <msmith@fluendo.com>
10057 * gst/parse/grammar.y:
10058 Remove handling of { } for threads.
10060 2005-12-06 David Schleef <ds@schleef.org>
10062 * libs/gst/base/gstbasetransform.c: speling fix.
10064 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
10066 * docs/libs/tmpl/gstdataprotocol.sgml:
10067 * docs/random/omega/testing/gstobject.c:
10070 * gst/gstelement.c:
10071 * gst/gstelementfactory.c:
10074 * gst/gstghostpad.c:
10076 * gst/gstpadtemplate.c:
10077 * gst/gstregistryxml.c:
10078 * gst/gsttaglist.c:
10079 * gst/gsttagsetter.c:
10080 * gst/gsttypefind.c:
10082 * libs/gst/base/gstbasesrc.c:
10083 * libs/gst/net/gstnetclientclock.c:
10084 * libs/gst/net/gstnettimeprovider.c:
10085 * plugins/elements/gstfakesrc.c:
10086 * plugins/elements/gstfdsrc.c:
10087 * plugins/elements/gstfilesrc.c:
10088 * plugins/elements/gstidentity.c:
10089 * plugins/elements/gstqueue.c:
10090 * plugins/elements/gsttypefindelement.c:
10091 * plugins/indexers/gstfileindex.c:
10092 * plugins/indexers/gstmemindex.c:
10093 * tests/check/gst/gsttag.c:
10094 * tests/old/examples/cutter/cutter.c:
10095 * tests/old/examples/mixer/mixer.c:
10096 * tests/old/examples/xml/runxml.c: (main):
10097 * tests/old/testsuite/caps/normalisation.c:
10098 * tests/old/testsuite/debug/global.c:
10099 * tests/old/testsuite/parse/parse1.c:
10100 * tools/gst-xmlinspect.c:
10101 * win32/common/dirent.c:
10104 === release 0.10.0 ===
10106 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10109 releasing 0.10.0, "Maroilles"
10111 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10113 submitted by: Funda Wang <fundawang@linux.net.cn>
10117 added Chinese (Traditional) translation
10119 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10121 * docs/gst/gstreamer-sections.txt:
10122 * docs/libs/tmpl/gstdataprotocol.sgml:
10123 * docs/random/thomasvs/TODO:
10128 2005-12-05 Andy Wingo <wingo@pobox.com>
10130 patch by: Wim Taymans <wim@fluendo.com>
10132 * libs/gst/base/gstbasetransform.c
10133 (gst_base_transform_prepare_output_buf)
10134 (gst_base_transform_buffer_alloc):
10135 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
10136 alloc_buffer_and_set_caps.
10138 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
10139 set_caps on the source pad.
10140 (gst_pad_alloc_buffer_and_set_caps): New function, does what
10141 alloc_buffer used to do. Fixes #322874.
10143 * docs/gst/gstreamer-sections.txt:
10144 * docs/design/part-negotiation.txt:
10145 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
10148 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10150 patch by: Sebastien Moutte
10153 * win32/common/config.h.in:
10154 * win32/vs6/libgstcontroller.dsp:
10157 2005-12-05 Wim Taymans <wim@fluendo.com>
10159 * gst/gstcaps.c: (gst_caps_is_equal):
10160 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10161 (gst_fake_src_create):
10162 Back out previous code changes, leave doc updates, file bugs
10165 2005-12-05 Wim Taymans <wim@fluendo.com>
10167 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10168 (gst_fake_src_get_times), (gst_fake_src_create):
10169 * plugins/elements/gstfakesrc.h:
10170 Fix broken sync code.
10172 2005-12-05 Wim Taymans <wim@fluendo.com>
10174 * gst/gstcaps.c: (gst_caps_is_equal):
10175 Comparing NULL against !NULL yields different caps, not a
10178 2005-12-05 Wim Taymans <wim@fluendo.com>
10180 * gst/gstpipeline.c:
10181 Fix small typo in docs.
10183 2005-12-05 Andy Wingo <wingo@pobox.com>
10185 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
10187 * gst/gst.c (init_post): remove hard-coded 0.9 location for
10188 registries/plugins with a MAJORMINOR one.
10189 (plugin_desc): Rename library from gstcoreleements to
10190 staticelements. Fixes #323222.
10192 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
10194 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
10195 Change debug category to 'collectpads' from 'collect_pads'
10198 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
10200 patch by: Sebastien Moutte
10202 * libs/gst/controller/gstinterpolation.c:
10203 use convert function for uint64/double
10204 * win32/vs6/libgstcontroller.dsp:
10207 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
10209 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
10210 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
10212 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10213 add tests that seem to show that the guint64/gdouble conversions
10216 2005-12-02 Wim Taymans <wim@fluendo.com>
10218 * gst/gstregistry.c: (gst_registry_add_path):
10219 * gst/gstregistry.h:
10220 * gst/gstregistryxml.c:
10223 2005-12-02 Wim Taymans <wim@fluendo.com>
10225 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10226 (gst_util_uint64_scale_int):
10229 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10230 Add debug log line.
10232 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
10235 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
10238 * win32/common/config.h:
10239 * win32/vs6/gstreamer.dsw:
10240 * win32/vs6/libgstcoreelements.dsp:
10241 * win32/vs6/libgstelements.dsp:
10242 renamed core elements plugin
10244 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
10246 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
10248 do piece-wise major/minor comparison so 0.9 < 0.10
10249 also allow .exe extensions for tools
10251 2005-12-02 Michael Smith <msmith@fluendo.com>
10254 Escape a % to make gtkdoc happier; bug 322958.
10256 === release 0.9.7 ===
10258 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10261 releasing 0.9.7, "My Dog Has No Nose"
10263 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10265 * common/gst-xmlinspect.py:
10267 * docs/libs/tmpl/gstdataprotocol.sgml:
10268 * docs/random/release:
10287 * win32/common/config.h:
10288 * win32/common/config.h.in:
10289 * win32/vs6/gst_inspect.dsp:
10290 * win32/vs6/gst_launch.dsp:
10291 * win32/vs6/libgstbase.dsp:
10292 * win32/vs6/libgstelements.dsp:
10293 * win32/vs6/libgstreamer.dsp:
10294 * win32/vs7/GStreamer.vcproj:
10295 * win32/vs7/gst-inspect.vcproj:
10296 * win32/vs7/gst-launch.vcproj:
10297 * win32/vs7/libgstbase.vcproj:
10298 bump GST_MAJORMINOR to 0.10
10299 reset libtool version
10301 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10305 Added Bulgarian translation by (Alexander Shopov)
10307 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10309 * tests/check/gst/gstplugin.c:
10312 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10314 * common/gst-xmlinspect.py:
10315 * common/gtk-doc-plugins.mak:
10317 * docs/Makefile.am:
10318 * docs/gst/Makefile.am:
10319 * docs/gst/gstreamer-docs.sgml:
10320 * docs/gst/gstreamer-sections.txt:
10321 * docs/gst/gstreamer.types:
10322 * docs/gst/gstreamer.types.in:
10323 * docs/plugins/Makefile.am:
10324 * docs/plugins/gstreamer-plugins-docs.sgml:
10325 * docs/plugins/gstreamer-plugins-sections.txt:
10326 * docs/plugins/gstreamer-plugins.types:
10327 * docs/plugins/inspect.stamp:
10328 * docs/plugins/inspect/plugin-coreelements.xml:
10329 * docs/plugins/inspect/plugin-coreindexers.xml:
10330 * docs/plugins/scanobj-build.stamp:
10331 * gstreamer.spec.in:
10332 * plugins/elements/Makefile.am:
10333 * plugins/elements/gstelements.c:
10334 * plugins/elements/gstfakesink.c:
10335 * plugins/elements/gstfakesrc.c:
10336 * plugins/elements/gstfilesink.c:
10337 * plugins/elements/gstfilesrc.c:
10338 * plugins/elements/gstqueue.c:
10339 * plugins/indexers/Makefile.am:
10340 * plugins/indexers/gstindexers.c:
10341 document core plugins in a separate document just like all the
10343 rename these plugins to something starting with core
10345 2005-12-01 Andy Wingo <wingo@pobox.com>
10347 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
10348 padding here before, but it missed the commit.
10350 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10352 * libs/gst/controller/gstinterpolation.c:
10353 whitespace prices have crashed, we should feel free to use some now
10354 use gst_guint64_to_gdouble
10356 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10358 * libs/gst/controller/gstcontroller.c:
10359 * libs/gst/controller/gsthelper.c:
10360 * libs/gst/controller/gstinterpolation.c:
10361 * libs/gst/controller/lib.c:
10362 wrap config.h include
10364 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10366 * docs/gst/gstreamer-sections.txt:
10369 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10371 * plugins/elements/gstelements.c:
10372 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
10373 (gst_fd_sink__class_init), (gst_fd_sink__init),
10374 (gst_fd_sink__chain), (gst_fd_sink__set_property),
10375 (gst_fd_sink__get_property):
10376 * plugins/elements/gstfdsink.h:
10377 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
10378 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
10379 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
10380 (gst_fd_src_unlock), (gst_fd_src_set_property),
10381 (gst_fd_src_get_property), (gst_fd_src_create),
10382 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
10383 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
10384 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
10385 (gst_fd_src_uri_handler_init):
10386 * plugins/elements/gstfdsrc.h:
10387 * plugins/elements/gstqueue.c: (gst_queue_get_type):
10390 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10392 * docs/gst/Makefile.am:
10393 * docs/gst/gstreamer.types.in:
10397 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10403 * gst/gstregistry.h:
10404 * tests/benchmarks/complexity.c:
10405 * tests/benchmarks/mass-elements.c:
10406 * tests/check/Makefile.am:
10407 * tools/Makefile.am:
10408 * tools/gst-inspect.c:
10409 * tools/gst-xmlinspect.c:
10410 various fixes to make
10411 --disable-nls --disable-registry --disable-loadsave
10412 --disable-parse --disable-gst-debug
10413 work and get the core .so down to 360444 bytes after stripping
10415 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10420 * docs/random/thomasvs/TODO:
10421 * tests/Makefile.am:
10425 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10427 * win32/GStreamer.vcproj:
10430 * win32/Makefile.inspect:
10431 * win32/Makefile.launch:
10432 * win32/Makefile.register:
10433 * win32/README.txt:
10434 * win32/gst-inspect.vcproj:
10435 * win32/gst-launch.vcproj:
10436 * win32/gst-register.vcproj:
10437 * win32/gstelements.vcproj:
10438 * win32/gstgetbits.def:
10439 * win32/gstgetbits.vcproj:
10440 * win32/gstreamer-dbg.def:
10441 * win32/gstreamer.def:
10442 * win32/libgstbase.def:
10443 * win32/libgstbase.vcproj:
10444 * win32/link_oldruntime.c:
10448 * win32/msvc71.sln:
10449 move even more stuff, win32/ is nice and clean now
10451 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10453 * libs/gst/control/.cvsignore:
10458 * win32/gstbytestream.def:
10459 * win32/gstbytestream.vcproj:
10460 * win32/gstconfig.h:
10461 * win32/gstenumtypes.c:
10462 * win32/gstenumtypes.h:
10463 * win32/gstoptimalscheduler.vcproj:
10464 * win32/gstversion.h:
10466 * win32/testsuite/bins.vcproj:
10467 * win32/testsuite/bytestream.vcproj:
10468 * win32/testsuite/caps.vcproj:
10469 * win32/testsuite/cleanup.vcproj:
10470 * win32/testsuite/clock.vcproj:
10471 * win32/testsuite/debug.vcproj:
10472 * win32/testsuite/dlopen.vcproj:
10473 * win32/testsuite/dynparams.vcproj:
10474 * win32/testsuite/elements.vcproj:
10475 * win32/testsuite/ghostpads.vcproj:
10476 * win32/testsuite/indexers.vcproj:
10477 * win32/testsuite/negotiation.vcproj:
10478 * win32/testsuite/parse.vcproj:
10479 * win32/testsuite/plugin.vcproj:
10480 * win32/testsuite/refcounting.vcproj:
10481 * win32/testsuite/schedulers.vcproj:
10482 * win32/testsuite/states.vcproj:
10483 * win32/testsuite/tags.vcproj:
10484 * win32/testsuite/threads.vcproj:
10485 remove old win32 stuff that isn't maintained and should be
10488 2005-11-30 Andy Wingo <wingo@pobox.com>
10490 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10491 loading the gst.interfaces python module bork.
10493 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10494 available since GLib 2.2. Fixes #318031.
10496 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10499 * check/.cvsignore:
10500 * check/Makefile.am:
10501 * check/elements/.cvsignore:
10502 * check/elements/fakesrc.c:
10503 * check/elements/fdsrc.c:
10504 * check/elements/identity.c:
10505 * check/generic/.cvsignore:
10506 * check/generic/states.c:
10507 * check/gst-libs/.cvsignore:
10508 * check/gst-libs/controller.c:
10509 * check/gst-libs/gdp.c:
10510 * check/gst/.cvsignore:
10511 * check/gst/capslist.h:
10513 * check/gst/gstbin.c:
10514 * check/gst/gstbuffer.c:
10515 * check/gst/gstbus.c:
10516 * check/gst/gstcaps.c:
10517 * check/gst/gstelement.c:
10518 * check/gst/gstevent.c:
10519 * check/gst/gstghostpad.c:
10520 * check/gst/gstiterator.c:
10521 * check/gst/gstmessage.c:
10522 * check/gst/gstminiobject.c:
10523 * check/gst/gstobject.c:
10524 * check/gst/gstpad.c:
10525 * check/gst/gstpipeline.c:
10526 * check/gst/gstplugin.c:
10527 * check/gst/gstsegment.c:
10528 * check/gst/gststructure.c:
10529 * check/gst/gstsystemclock.c:
10530 * check/gst/gsttag.c:
10531 * check/gst/gstutils.c:
10532 * check/gst/gstvalue.c:
10533 * check/net/.cvsignore:
10534 * check/net/gstnetclientclock.c:
10535 * check/net/gstnettimeprovider.c:
10536 * check/pipelines/.cvsignore:
10537 * check/pipelines/cleanup.c:
10538 * check/pipelines/simple_launch_lines.c:
10539 * check/pipelines/stress.c:
10540 * check/states/.cvsignore:
10541 * check/states/sinks.c:
10543 * examples/Makefile.am:
10544 * examples/appreader/.cvsignore:
10545 * examples/appreader/Makefile.am:
10546 * examples/appreader/appreader.c:
10547 * examples/controller/.cvsignore:
10548 * examples/controller/Makefile.am:
10549 * examples/controller/audio-example.c:
10550 * examples/cutter/.cvsignore:
10551 * examples/cutter/Makefile.am:
10552 * examples/cutter/cutter.c:
10553 * examples/cutter/cutter.h:
10554 * examples/events/Makefile.am:
10555 * examples/events/seek.c:
10556 * examples/helloworld/.cvsignore:
10557 * examples/helloworld/Makefile.am:
10558 * examples/helloworld/helloworld.c:
10559 * examples/helloworld2/.cvsignore:
10560 * examples/helloworld2/Makefile.am:
10561 * examples/helloworld2/helloworld2.c:
10562 * examples/launch/.cvsignore:
10563 * examples/launch/Makefile.am:
10564 * examples/launch/mp3parselaunch.c:
10565 * examples/launch/mp3play:
10566 * examples/manual/.cvsignore:
10567 * examples/manual/Makefile.am:
10568 * examples/manual/extract.pl:
10569 * examples/metadata/Makefile.am:
10570 * examples/metadata/read-metadata.c:
10571 * examples/mixer/.cvsignore:
10572 * examples/mixer/Makefile.am:
10573 * examples/mixer/mixer.c:
10574 * examples/mixer/mixer.h:
10575 * examples/pingpong/.cvsignore:
10576 * examples/pingpong/Makefile.am:
10577 * examples/pingpong/pingpong.c:
10578 * examples/plugins/.cvsignore:
10579 * examples/plugins/Makefile.am:
10580 * examples/plugins/example.c:
10581 * examples/plugins/example.h:
10582 * examples/pwg/.cvsignore:
10583 * examples/pwg/Makefile.am:
10584 * examples/pwg/extract.pl:
10585 * examples/queue/.cvsignore:
10586 * examples/queue/Makefile.am:
10587 * examples/queue/queue.c:
10588 * examples/queue2/.cvsignore:
10589 * examples/queue2/Makefile.am:
10590 * examples/queue2/queue2.c:
10591 * examples/queue3/.cvsignore:
10592 * examples/queue3/Makefile.am:
10593 * examples/queue3/queue3.c:
10594 * examples/queue4/.cvsignore:
10595 * examples/queue4/Makefile.am:
10596 * examples/queue4/queue4.c:
10597 * examples/retag/.cvsignore:
10598 * examples/retag/Makefile.am:
10599 * examples/retag/retag.c:
10600 * examples/retag/transcode.c:
10601 * examples/thread/.cvsignore:
10602 * examples/thread/Makefile.am:
10603 * examples/thread/thread.c:
10604 * examples/typefind/.cvsignore:
10605 * examples/typefind/Makefile.am:
10606 * examples/typefind/typefind.c:
10607 * examples/xml/.cvsignore:
10608 * examples/xml/Makefile.am:
10609 * examples/xml/createxml.c:
10610 * examples/xml/runxml.c:
10611 * tests/Makefile.am:
10612 * tests/check/Makefile.am:
10613 * testsuite/.cvsignore:
10614 * testsuite/Makefile.am:
10616 * testsuite/caps/.cvsignore:
10617 * testsuite/caps/Makefile.am:
10618 * testsuite/caps/app_fixate.c:
10619 * testsuite/caps/audioscale.c:
10620 * testsuite/caps/caps.c:
10621 * testsuite/caps/caps.h:
10622 * testsuite/caps/caps_strings:
10623 * testsuite/caps/compatibility.c:
10624 * testsuite/caps/deserialize.c:
10625 * testsuite/caps/enumcaps.c:
10626 * testsuite/caps/eratosthenes.c:
10627 * testsuite/caps/filtercaps.c:
10628 * testsuite/caps/fixed.c:
10629 * testsuite/caps/fraction-convert.c:
10630 * testsuite/caps/fraction-multiply-and-zero.c:
10631 * testsuite/caps/intersect2.c:
10632 * testsuite/caps/intersection.c:
10633 * testsuite/caps/normalisation.c:
10634 * testsuite/caps/random.c:
10635 * testsuite/caps/renegotiate.c:
10636 * testsuite/caps/sets.c:
10637 * testsuite/caps/simplify.c:
10638 * testsuite/caps/string-conversions.c:
10639 * testsuite/caps/structure.c:
10640 * testsuite/caps/subtract.c:
10641 * testsuite/caps/union.c:
10642 * testsuite/debug/.cvsignore:
10643 * testsuite/debug/Makefile.am:
10644 * testsuite/debug/category.c:
10645 * testsuite/debug/commandline.c:
10646 * testsuite/debug/global.c:
10647 * testsuite/debug/output.c:
10648 * testsuite/debug/printf_extension.c:
10649 * testsuite/dlopen/.cvsignore:
10650 * testsuite/dlopen/Makefile.am:
10651 * testsuite/dlopen/dlopen_gst.c:
10652 * testsuite/dlopen/loadgst.c:
10653 * testsuite/elements/.cvsignore:
10654 * testsuite/elements/Makefile.am:
10655 * testsuite/elements/gst-inspect-check.in:
10656 * testsuite/elements/struct_i386.h:
10657 * testsuite/elements/struct_size.c:
10658 * testsuite/indexers/.cvsignore:
10659 * testsuite/indexers/Makefile.am:
10660 * testsuite/indexers/cache1.c:
10661 * testsuite/indexers/indexdump.c:
10662 * testsuite/parse/.cvsignore:
10663 * testsuite/parse/Makefile.am:
10664 * testsuite/parse/parse1.c:
10665 * testsuite/parse/parse2.c:
10666 * testsuite/plugin/.cvsignore:
10667 * testsuite/plugin/Makefile.am:
10668 * testsuite/plugin/README:
10669 * testsuite/plugin/dynamic.c:
10670 * testsuite/plugin/linked.c:
10671 * testsuite/plugin/loading.c:
10672 * testsuite/plugin/registry.c:
10673 * testsuite/plugin/static.c:
10674 * testsuite/plugin/static2.c:
10675 * testsuite/plugin/testplugin.c:
10676 * testsuite/plugin/testplugin2.c:
10677 * testsuite/plugin/testplugin2_s.c:
10678 * testsuite/plugin/testplugin_s.c:
10679 * testsuite/refcounting/.cvsignore:
10680 * testsuite/refcounting/Makefile.am:
10681 * testsuite/refcounting/bin.c:
10682 * testsuite/refcounting/element.c:
10683 * testsuite/refcounting/element_pad.c:
10684 * testsuite/refcounting/mainloop.c:
10685 * testsuite/refcounting/mem.c:
10686 * testsuite/refcounting/mem.h:
10687 * testsuite/refcounting/object.c:
10688 * testsuite/refcounting/pad.c:
10689 * testsuite/refcounting/sched.c:
10690 * testsuite/refcounting/thread.c:
10691 * testsuite/states/.cvsignore:
10692 * testsuite/states/Makefile.am:
10693 * testsuite/states/bin.c:
10694 * testsuite/states/locked.c:
10695 * testsuite/states/parent.c:
10696 * testsuite/threads/.cvsignore:
10697 * testsuite/threads/159566.c:
10698 * testsuite/threads/159852.c:
10699 * testsuite/threads/Makefile.am:
10700 * testsuite/threads/queue.c:
10701 * testsuite/threads/signals.c:
10702 * testsuite/threads/staticrec.c:
10703 * testsuite/threads/thread.c:
10704 * testsuite/threads/threadb.c:
10705 * testsuite/threads/threadc.c:
10706 * testsuite/threads/threadd.c:
10707 * testsuite/threads/threade.c:
10708 * testsuite/threads/threadf.c:
10709 * testsuite/threads/threadg.c:
10710 * testsuite/threads/threadh.c:
10711 * testsuite/threads/threadi.c:
10712 move all of these under tests
10714 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10717 * tests/Makefile.am:
10720 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10722 * docs/gst/gstreamer-sections.txt:
10723 * tests/sched/.cvsignore:
10724 * tests/sched/Makefile.am:
10725 * tests/sched/cases/(fs-fs).xml:
10726 * tests/sched/cases/(fs-i-fs).xml:
10727 * tests/sched/cases/(fs-i-i-fs).xml:
10728 * tests/sched/cases/(fs-i-q[i-fs]).xml:
10729 * tests/sched/dynamic-pipeline.c:
10730 * tests/sched/interrupt1.c:
10731 * tests/sched/interrupt2.c:
10732 * tests/sched/interrupt3.c:
10733 * tests/sched/runtestcases:
10734 * tests/sched/runxml.c:
10735 * tests/sched/sched-stress.c:
10736 * tests/sched/sort.c:
10737 * tests/sched/testcases:
10738 * tests/sched/testcases1.tc:
10739 * tests/seeking/.cvsignore:
10740 * tests/seeking/Makefile.am:
10741 * tests/seeking/seeking1.c:
10742 * tests/threadstate/.cvsignore:
10743 * tests/threadstate/Makefile.am:
10744 * tests/threadstate/test1.c:
10745 * tests/threadstate/test2.c:
10746 * tests/threadstate/threadstate1.c:
10747 * tests/threadstate/threadstate2.c:
10748 * tests/threadstate/threadstate3.c:
10749 * tests/threadstate/threadstate4.c:
10750 * tests/threadstate/threadstate5.c:
10751 remove obsolete tests
10753 * tests/bench-complexity.scm:
10754 * tests/bench-mass_elements.scm:
10755 * tests/complexity.c:
10756 * tests/complexity.gnuplot:
10757 * tests/instantiate/.cvsignore:
10758 * tests/instantiate/Makefile.am:
10759 * tests/instantiate/caps.c:
10760 * tests/mass_elements.c:
10761 * tests/network-clock-utils.scm:
10762 * tests/network-clock.scm:
10764 First pass at cleaning up tests/ dir before moving the rest
10765 Combined with CVS surgery
10767 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10770 queue has moved, update
10772 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10774 * docs/gst/gstreamer-sections.txt:
10775 remove double entries from the docs
10776 * gst/gst_private.h:
10777 * gst/gstinfo.c: (_gst_debug_init):
10778 remove the THREAD debug category
10782 * docs/gst/gstreamer.types:
10783 * plugins/elements/gstqueue.c: (gst_queue_get_type),
10784 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10785 completely move queue and fix up debugging categories
10787 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10789 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10790 make initialization portable, using LL is not
10792 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10794 * win32/common/gstconfig.h:
10797 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10799 * win32/common/libgstreamer.def:
10800 rename symbols; sort base section
10802 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10804 * gst/gstclock.c: (do_linear_regression):
10805 remove crack non-portable handrolled DEBUG macro
10807 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10809 * docs/random/release:
10811 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10812 (gst_object_flags_get_type), (register_gst_bin_flags),
10813 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10814 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10815 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10816 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10817 (gst_caps_flags_get_type), (register_gst_clock_return),
10818 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10819 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10820 (gst_clock_flags_get_type), (register_gst_state),
10821 (gst_state_get_type), (register_gst_state_change_return),
10822 (gst_state_change_return_get_type), (register_gst_state_change),
10823 (gst_state_change_get_type), (register_gst_element_flags),
10824 (gst_element_flags_get_type), (register_gst_core_error),
10825 (gst_core_error_get_type), (register_gst_library_error),
10826 (gst_library_error_get_type), (register_gst_resource_error),
10827 (gst_resource_error_get_type), (register_gst_stream_error),
10828 (gst_stream_error_get_type), (register_gst_event_type_flags),
10829 (gst_event_type_flags_get_type), (register_gst_event_type),
10830 (gst_event_type_get_type), (register_gst_seek_type),
10831 (gst_seek_type_get_type), (register_gst_seek_flags),
10832 (gst_seek_flags_get_type), (register_gst_format),
10833 (gst_format_get_type), (register_gst_index_certainty),
10834 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10835 (gst_index_entry_type_get_type),
10836 (register_gst_index_lookup_method),
10837 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10838 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10839 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10840 (gst_index_flags_get_type), (register_gst_debug_level),
10841 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10842 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10843 (gst_iterator_result_get_type), (register_gst_iterator_item),
10844 (gst_iterator_item_get_type), (register_gst_message_type),
10845 (gst_message_type_get_type), (register_gst_mini_object_flags),
10846 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10847 (gst_pad_link_return_get_type), (register_gst_flow_return),
10848 (gst_flow_return_get_type), (register_gst_activate_mode),
10849 (gst_activate_mode_get_type), (register_gst_pad_direction),
10850 (gst_pad_direction_get_type), (register_gst_pad_flags),
10851 (gst_pad_flags_get_type), (register_gst_pad_presence),
10852 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10853 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10854 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10855 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10856 (gst_plugin_flags_get_type), (register_gst_rank),
10857 (gst_rank_get_type), (register_gst_query_type),
10858 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10859 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10860 (gst_tag_flag_get_type), (register_gst_task_state),
10861 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10862 (gst_alloc_trace_flags_get_type),
10863 (register_gst_type_find_probability),
10864 (gst_type_find_probability_get_type), (register_gst_uri_type),
10865 (gst_uri_type_get_type), (register_gst_parse_error),
10866 (gst_parse_error_get_type):
10867 * win32/common/gstenumtypes.h:
10868 * win32/common/gstversion.h:
10869 update visual studio generated files
10871 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10873 * win32/vs6/libgstbase.dsp:
10874 * win32/vs6/libgstelements.dsp:
10875 update project files for new locations
10877 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10882 reinstate and update
10887 * docs/random/LICENSE:
10890 2005-11-30 Edward Hervey <edward@fluendo.com>
10892 * gst/gsttypefind.c: (gst_type_find_register):
10893 * gst/gsttypefind.h:
10894 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10895 (gst_type_find_factory_dispose):
10896 * gst/gsttypefindfactory.h:
10897 Fix memory leak in GstTypeFindFactory.
10899 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10902 * plugins/elements/Makefile.am:
10903 * plugins/elements/gstelements.c:
10904 * plugins/elements/gstqueue.c:
10905 move queue from core to the elements plugin
10907 2005-11-29 Andy Wingo <wingo@pobox.com>
10909 * libs/gst/base/gstbasetransform.h:
10910 * libs/gst/base/gstbasesrc.h:
10911 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10913 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10914 of pointers by which to pad very extensible base classes (like the
10915 ones in libs/gst/base).
10917 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10919 * docs/gst/gstreamer-docs.sgml:
10920 * docs/gst/gstreamer-sections.txt:
10921 * docs/libs/gstreamer-libs-docs.sgml:
10922 * docs/libs/gstreamer-libs-sections.txt:
10923 moving documentation from core to lib
10925 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10927 * check/Makefile.am:
10929 * docs/gst/Makefile.am:
10931 * gst/base/.cvsignore:
10932 * gst/base/Makefile.am:
10934 * gst/base/gstadapter.c:
10935 * gst/base/gstadapter.h:
10936 * gst/base/gstbasesink.c:
10937 * gst/base/gstbasesink.h:
10938 * gst/base/gstbasesrc.c:
10939 * gst/base/gstbasesrc.h:
10940 * gst/base/gstbasetransform.c:
10941 * gst/base/gstbasetransform.h:
10942 * gst/base/gstcollectpads.c:
10943 * gst/base/gstcollectpads.h:
10944 * gst/base/gstpushsrc.c:
10945 * gst/base/gstpushsrc.h:
10946 * gst/base/gsttypefindhelper.c:
10947 * gst/base/gsttypefindhelper.h:
10948 * gst/check/Makefile.am:
10949 * gst/check/gstcheck.c:
10950 * gst/check/gstcheck.h:
10951 * gst/net/Makefile.am:
10952 * gst/net/gstnet.h:
10953 * gst/net/gstnetclientclock.c:
10954 * gst/net/gstnetclientclock.h:
10955 * gst/net/gstnettimepacket.c:
10956 * gst/net/gstnettimepacket.h:
10957 * gst/net/gstnettimeprovider.c:
10958 * gst/net/gstnettimeprovider.h:
10959 * libs/gst/Makefile.am:
10960 * libs/gst/base/Makefile.am:
10961 * libs/gst/base/gstbasetransform.c:
10962 * libs/gst/check/Makefile.am:
10963 * plugins/elements/Makefile.am:
10965 CVS surgery + support to move base, check, and net out of gst
10968 2005-11-29 Andy Wingo <wingo@pobox.com>
10970 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10972 * gst/gststructure.h (struct _GstStructure): Only one pointer of
10975 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10977 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10979 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10981 * gst/gstobject.h: (struct _GstObject): Only one pointer of
10982 padding; reduces object size by about 30%. We don't expect
10983 anything else to go into gstobject.
10985 * gst/gstminiobject.h (struct _GstMiniObject)
10986 (struct _GstMiniObjectClass): Only one pointer of padding; the
10987 payload is only a pointer and two ints anyway. For the class there
10988 are only two methods as well.
10990 * gst/gstelement.h (struct _GstElementClass): Removed
10991 the state_changed signal callback, it is not used.
10993 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10995 * docs/gst/gstreamer.types:
10996 fix includes, though they are a little dinky
10998 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11000 * check/Makefile.am:
11001 look in the right place for elements, a lot more chance of
11004 remove indexers and elements subdirs
11005 * plugins/Makefile.am:
11006 make indexers conditional
11008 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11012 * plugins/elements/Makefile.am:
11013 * plugins/elements/gstcapsfilter.c:
11014 * plugins/elements/gstfilesink.c:
11015 * plugins/elements/gstfilesrc.c:
11016 * plugins/elements/gstidentity.c:
11017 * plugins/indexers/Makefile.am:
11018 do CVS surgery and related build fixery to move elements
11019 and indexers in a new gstreamer/plugins directory, out of the
11022 2005-11-29 Andy Wingo <wingo@pobox.com>
11024 * check/Makefile.am:
11025 * pkgconfig/gstreamer-net-uninstalled.pc.in:
11026 * pkgconfig/gstreamer-net.pc.in:
11027 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
11030 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
11032 * tools/Makefile.am:
11033 * tools/gst-complete.1.in:
11034 * tools/gst-complete.c:
11035 * tools/gst-compprep.1.in:
11036 * tools/gst-compprep.c:
11037 removing -compprep and -complete
11039 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
11041 * gst/gstevent.c: (gst_event_new_new_segment),
11042 (gst_event_parse_new_segment):
11044 fix #320529 - clean up new_segment API and structure.
11045 Let's hope everyone was using the methods, and not the structure.
11047 2005-11-29 Edward Hervey <edward@fluendo.com>
11049 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11050 (gst_base_sink_event), (gst_base_sink_do_sync),
11051 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
11052 Properly handle non GST_FORMAT_TIME segment
11053 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11054 Properly handle non GST_FORMAT_TIME segment
11055 * gst/gstsegment.c:
11056 This function is valid if the accumulator is 0 and the format
11057 is different from the requested format.
11059 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11061 * docs/gst/gstreamer-sections.txt:
11062 Add gst_query_new_seeking and gst_query_parse_seeking to the
11065 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11067 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
11068 Treat a pad alloc with new caps the same as if we were not
11069 negotiated, in order to allow a changing upstream output
11070 to produce a new format of data.
11072 2005-11-29 Edward Hervey <edward@fluendo.com>
11074 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11075 (gst_base_transform_event), (gst_base_transform_eventfunc):
11076 The event virtual method is now properly implemented, with a default
11078 Sub classes should call the parent_class event method. They should
11079 return FALSE if they had a problem handling the given event, or don't
11080 want GstBaseTransform to send that even downstream
11081 * gst/elements/gstidentity.c: (gst_identity_class_init),
11082 (gst_identity_init), (gst_identity_event),
11083 (gst_identity_transform_ip), (gst_identity_set_property),
11084 (gst_identity_get_property):
11085 * gst/elements/gstidentity.h:
11086 Added the single-segment boolean property.
11087 If set to TRUE, it will output a single segment of data, starting from
11088 0, will eat up all incoming newsegment, and modify the timestamp of the
11089 buffers accordingly
11091 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
11093 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
11094 Don't ref NULL target pad (#322751). Improve docs.
11096 2005-11-29 Michael Smith <msmith@fluendo.com>
11098 * gst/gstregistryxml.c: (load_plugin):
11099 Don't crash if we failed to load a feature from a plugin.
11101 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11103 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
11105 use more check API and less GLib API
11107 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11110 don't run checks if we don't have check
11111 * common/check.mak:
11112 remove the registry when running make torture
11113 * docs/gst/gstreamer-sections.txt:
11114 remove second multiply
11115 * gst/gstqueue.c: (gst_queue_loop):
11116 fix a compile warning when disabling debug
11118 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11121 Hey! Let's print the pad name if the pointer != NULL instead
11122 of when it == NULL :-)
11124 2005-11-28 Wim Taymans <wim@fluendo.com>
11126 * check/gst/gstutils.c: (GST_START_TEST):
11127 Updated check, add some scaling accuracy checking code.
11129 * gst/gstutils.c: (gst_util_div128_64),
11130 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
11131 (gst_util_uint64_scale_int):
11132 Fix 6 times faster division code. Optimize for common
11133 1/1 and less common X/1 cases.
11135 2005-11-28 Wim Taymans <wim@fluendo.com>
11137 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11140 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
11141 (do_linear_regression), (gst_clock_add_observation):
11143 Release lock when the clock cannot be slaved.
11144 Catch the case where the regression returned an invalid denominator.
11146 * gst/gstutils.c: (gst_util_div128_64_iterate),
11147 (gst_util_div128_64), (gst_util_uint64_scale_int64),
11148 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11149 Add protentially more performant non-iterative 128/64 divide function
11150 that unfortunatly does not work yet.
11151 Shortcut the trivial 0/X = 0 case.
11152 Remove the warnings on overflow.
11154 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11156 * gst/gstplugin.c: (gst_plugin_register_func):
11157 everything causing a plugin not to load should be at least a WARNING
11159 2005-11-28 Stefan Kost <ensonic@users.sf.net>
11161 * docs/random/ensonic/dparams.txt:
11162 some TODOs for the next dev cycle
11163 * libs/gst/controller/gstcontroller.c:
11164 (gst_controlled_property_set_interpolation_mode),
11165 (gst_controlled_property_new):
11166 * libs/gst/controller/gstcontroller.h:
11167 use base type to assign acccessor functions
11169 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11171 * check/Makefile.am:
11172 Oops, that should have been top_srcdir
11174 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11176 * check/Makefile.am:
11177 * check/elements/fdsrc.c: (GST_START_TEST):
11178 Use a cmdline define to specify the location of a file to use for
11179 testing, to avoid breaking distcheck.
11181 2005-11-28 Andy Wingo <wingo@pobox.com>
11183 * gst/gstpad.c (fixate_value): Use array functions for arrays.
11185 2005-11-28 Edward Hervey <edward@fluendo.com>
11187 * tools/gst-launch.c: (main):
11188 Clarify the output strings, makes it easier to translate.
11191 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11194 don't try and build net if we don't even have <sys/socket.h>
11196 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
11198 * check/Makefile.am:
11199 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
11200 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
11201 Add tests for fdsrc seekability
11203 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
11204 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
11205 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
11206 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
11207 * gst/elements/gstfdsrc.h:
11208 fdsrc should not be a 'live' source.
11209 Implement seeking on seekable fd's.
11211 * gst/gstquery.c: (gst_query_new_seeking),
11212 (gst_query_parse_seeking):
11214 Implement SEEKING query functions:
11215 *_new_seeking and *_parse_seeking
11217 2005-11-27 Stefan Kost <ensonic@users.sf.net>
11219 * gst/gstelement.c: (gst_element_dispose):
11222 * gst/gstiterator.c:
11223 * gst/gststructure.c:
11226 * libs/gst/controller/gstcontroller.c:
11227 (gst_controlled_property_set_interpolation_mode):
11228 * libs/gst/controller/gstcontroller.h:
11229 * libs/gst/controller/gstinterpolation.c:
11230 (interpolate_none_get_enum_value_array):
11231 support controlling enums
11233 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
11236 Improve documentation for gst_value_union().
11239 Change return value for union, intersect and subtract functions
11240 from gint to gboolean.
11242 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
11244 * gst/gstvalue.c: (gst_value_serialize_any_list),
11245 (gst_value_transform_any_list_string),
11246 (gst_value_deserialize_list), (gst_value_deserialize_array),
11247 (gst_value_set_int_range), (gst_value_deserialize_int_range),
11248 (gst_value_set_double_range), (gst_value_deserialize_double_range),
11249 (gst_value_set_fraction_range_full),
11250 (gst_value_deserialize_fraction_range),
11251 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
11252 (gst_value_deserialize_boolean),
11253 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
11254 (gst_value_serialize_float), (gst_value_deserialize_float),
11255 (gst_string_wrap), (gst_value_deserialize_string),
11256 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
11257 (gst_value_union_int_range_int_range),
11258 (gst_value_intersect_int_range_int_range),
11259 (gst_value_intersect_double_range_double_range),
11260 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
11261 (gst_value_subtract_int_range_int_range),
11262 (gst_value_subtract_double_double_range),
11263 (gst_value_subtract_double_range_double_range),
11264 (gst_value_deserialize_fraction):
11266 Use gint, gdouble and gchar in our API instead of int, double and
11267 char (and make usage in gstvalue.c more consistent).
11269 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11271 * check/Makefile.am:
11272 * libs/gst/controller/Makefile.am:
11273 * libs/gst/dataprotocol/Makefile.am:
11274 fix up Makefile.am and remove GST_ENABLE_NEW
11276 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11280 * gst/base/Makefile.am:
11281 * gst/check/Makefile.am:
11282 * gst/elements/Makefile.am:
11283 * gst/net/Makefile.am:
11284 update LDFLAGS use some more
11286 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11288 * common/m4/gst-doc.m4:
11291 2005-11-26 Edward Hervey <edward@fluendo.com>
11293 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11294 This shouldn't issue a g_warning since it returns NULL if it
11295 couldn't find the plugin, and all functions using this behave
11296 properly on a NULL return. Switching to a GST_WARNING.
11298 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
11300 * gst/gstbin.c: (gst_bin_handle_message_func):
11301 Don't leak clock messages.
11303 2005-11-25 Wim Taymans <wim@fluendo.com>
11305 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11306 (gst_util_uint64_scale_int):
11307 Optimisations, remove unneeded vars.
11309 2005-11-25 Wim Taymans <wim@fluendo.com>
11311 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11312 Added more checks for the high precision uint64 cases.
11314 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11315 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11316 Implement high precision (guint64 * guint64) / guint64.
11318 2005-11-24 Wim Taymans <wim@fluendo.com>
11320 * gst/base/gstbasesrc.c: (gst_base_src_query):
11321 Fix wrong percentage query.
11323 * gst/gstutils.c: (gst_util_uint64_scale),
11324 (gst_util_uint64_scale_int):
11325 Add some more common cases that can be handled
11326 efficiently to _scale.
11328 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
11330 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
11331 (gst_mini_object_suite):
11332 don't use check calls from threads; check probably isn't
11333 threadsafe and using a lock to make it threadsafe would
11334 defeat the purpose of this check
11335 * gst/check/gstcheck.c:
11336 * gst/check/gstcheck.h:
11337 use GST_DEBUG some more
11339 2005-11-24 Wim Taymans <wim@fluendo.com>
11341 * gst/gstutils.c: (gst_util_uint64_scale),
11342 (gst_util_uint64_scale_int):
11343 Chain trivial case to _scale_int.
11345 2005-11-24 Wim Taymans <wim@fluendo.com>
11347 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11348 Added test for scaling.
11353 * gst/gstutils.c: (gst_util_uint64_scale_int):
11354 Implemented high precision scaling code.
11356 2005-11-24 Stefan Kost <ensonic@users.sf.net>
11359 do not crash on pad==NULL
11361 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
11363 Patch by: Stefan Kost
11365 * common/gtk-doc.mak:
11366 * docs/gst/Makefile.am:
11367 * docs/libs/Makefile.am:
11368 Fix distcheck issues for the libraries docs build
11371 2005-11-24 Michael Smith <msmith@fluendo.com>
11373 * docs/manual/basics-helloworld.xml:
11374 Fix bug #315027: memory leak in example code in docs.
11376 2005-11-24 Michael Smith <msmith@fluendo.com>
11378 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11379 Unlock the PREROLL_LOCK in a failure case.
11381 2005-11-24 Wim Taymans <wim@fluendo.com>
11383 * docs/gst/gstreamer-sections.txt:
11384 * gst/base/gstadapter.h:
11385 * gst/base/gstbasesink.h:
11386 * gst/base/gstbasesrc.h:
11387 * gst/base/gstbasetransform.h:
11388 * gst/base/gstpushsrc.h:
11389 * gst/elements/gstfakesink.h:
11390 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
11391 * gst/elements/gstfakesrc.h:
11392 * gst/elements/gstfilesink.h:
11393 * gst/elements/gstfilesrc.h:
11396 * gst/gstbuffer.c: (_gst_buffer_copy):
11399 * gst/gstchildproxy.c:
11401 * gst/gstelement.c:
11402 * gst/gstelementfactory.c:
11403 * gst/gstelementfactory.h:
11405 * gst/gstghostpad.h:
11407 * gst/gstinterface.h:
11408 * gst/gstminiobject.c:
11409 * gst/gstminiobject.h:
11412 * gst/gstpadtemplate.h:
11413 * gst/gstpipeline.h:
11414 * gst/gstpluginfeature.h:
11417 * gst/gsttaglist.c:
11418 * gst/gsttaglist.h:
11419 * gst/gsttagsetter.c:
11420 * gst/gsttagsetter.h:
11423 * gst/gsttypefind.h:
11426 * gst/net/gstnetclientclock.c:
11427 * gst/net/gstnetclientclock.h:
11428 * gst/net/gstnettimepacket.c:
11429 * gst/net/gstnettimeprovider.c:
11430 * gst/net/gstnettimeprovider.h:
11433 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11435 * configure.ac: back to HEAD
11437 === release 0.9.6 ===
11439 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11442 releasing 0.9.6, "Always On Time"
11444 2005-11-23 Wim Taymans <wim@fluendo.com>
11446 * docs/gst/gstreamer-sections.txt:
11447 * gst/glib-compat.c:
11448 * gst/gsttagsetter.c:
11450 * gst/net/gstnetclientclock.c:
11451 * gst/net/gstnettimepacket.h:
11454 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11456 * docs/faq/using.xml:
11457 * docs/libs/tmpl/gstcontrol.sgml:
11458 * docs/manual/advanced-dparams.xml:
11459 * docs/manual/appendix-checklist.xml:
11460 * docs/manual/basics-elements.xml:
11461 * docs/pwg/other-source.xml:
11462 * docs/random/moving-plugins:
11464 * tools/gst-launch.1.in:
11465 remove mentions of sinesrc
11467 2005-11-23 Michael Smith <msmith@fluendo.com>
11469 * docs/gst/gstreamer-sections.txt:
11470 Update for new API and API changes.
11472 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11474 Documentation typo fix.
11475 * gst/net/gstnettimepacket.c:
11476 Documentation fixes for arguments.
11478 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
11480 * gst/gststructure.c: (gst_structure_get_fraction),
11481 (gst_structure_parse_value),
11482 (gst_structure_fixate_field_nearest_fraction):
11483 * gst/gststructure.h:
11484 * gst/gstutils.c: (gst_util_uint64_scale_int):
11486 * scripts/update-funcnames:
11488 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11489 Make gst_structure_fixate_field_nearest_fraction take a numerator
11490 and denominator argument instead of a GValue
11491 add gst_structure_get_fraction helper function.
11493 2005-11-23 Wim Taymans <wim@fluendo.com>
11495 * docs/design/part-TODO.txt:
11498 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11499 * gst/net/gstnetclientclock.h:
11500 Use parent fields for timeout and window_size.
11502 2005-11-23 Andy Wingo <wingo@pobox.com>
11504 * check/net/gstnetclientclock.c (test_functioning): Adjust to
11505 rate_num/rate_denom change.
11507 * gst/net/gstnetclientclock.c
11508 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11509 OBJECT_LOCK. Don't call add_observation with the lock.
11511 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11513 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11515 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11516 deal with rate as a fraction whose numerator and denominator are
11517 GstClockTime values.
11518 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11519 master; the other fields are protected by the SLAVE_LOCK.
11520 (do_linear_regression): Note that this must be called with the
11522 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11523 OBJECT_LOCK. Call set_calibration instead of touching the
11524 variables directly.
11525 (gst_clock_set_property, gst_clock_get_property): Protect
11526 master/slave parameters with the SLAVE_LOCK.
11528 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11529 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11530 note that all of the instance variables that add_observation and
11531 the set_master functions use are protected by that lock and not
11533 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11535 * gst/gstclock.c (gst_clock_add_observation): No longer requires
11536 the caller to take the object lock.
11538 2005-11-23 Wim Taymans <wim@fluendo.com>
11540 * gst/gsterror.c: (_gst_core_errors_init):
11542 Add error for clock stuff.
11544 * gst/gstpipeline.c: (gst_pipeline_change_state),
11545 (gst_pipeline_set_clock):
11546 Post clock error when clock cannot be used in a pipeline.
11548 2005-11-23 Stefan Kost <ensonic@users.sf.net>
11550 * docs/gst/gstreamer-sections.txt:
11551 make two symbols from gstinfo private for the docs
11552 * gst/base/gstcollectpads.h:
11554 fix doc typos, update docs
11556 2005-11-22 Wim Taymans <wim@fluendo.com>
11558 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11559 (gst_base_sink_wait), (gst_base_sink_do_sync),
11560 (gst_base_sink_handle_event):
11561 * gst/base/gstbasesink.h:
11562 No need to store the clock, the parent element class already
11565 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11566 Updates for clock_set returning a gboolean
11568 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11569 (gst_clock_id_wait_async), (gst_clock_class_init),
11570 (gst_clock_init), (gst_clock_finalize),
11571 (gst_clock_get_internal_time), (gst_clock_get_time),
11572 (gst_clock_slave_callback), (gst_clock_set_master),
11573 (gst_clock_get_master), (do_linear_regression),
11574 (gst_clock_add_observation), (gst_clock_set_property),
11575 (gst_clock_get_property):
11577 Implement master/slave. When setting a clock as a slave, a
11578 periodic timeout is scheduled to sample master and slave times.
11579 Then the slave clock is recalibrated to match offset and rate
11580 of the master clock.
11581 Update logging a bit.
11582 Add flag so that a clock can state that is cannot be slaved to
11585 * gst/gstelement.c: (gst_element_set_clock):
11586 * gst/gstelement.h:
11587 The set clock returns a gboolean for when an element cannot
11588 deal with the selected clock in the pipeline.
11590 * gst/gstpipeline.c: (gst_pipeline_change_state),
11591 (gst_pipeline_set_clock):
11592 * gst/gstpipeline.h:
11593 Handle the case where the selected clock cannot be set on
11596 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11597 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11598 (gst_net_client_clock_set_property),
11599 (gst_net_client_clock_get_property),
11600 (gst_net_client_clock_observe_times):
11601 * gst/net/gstnetclientclock.h:
11602 Use regression code in GstClock parent, remove duplicated
11605 2005-11-22 Michael Smith <msmith@fluendo.com>
11607 * gst/gstutils.c: (gst_util_clock_time_scale):
11609 * docs/gst/gstreamer-sections.txt:
11610 Rename method to have extra underscore.
11612 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
11614 * gst/elements/Makefile.am:
11615 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11616 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11617 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11618 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11619 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11620 * gst/elements/gstfakesrc.h:
11621 * gst/gstqueue.c: (queue_leaky_get_type):
11622 correctly fix GEnumValues so that nick is the short lowercase
11624 * tools/gst-inspect.c: (print_element_properties_info):
11625 also show the nick, since it's useful to use from parse_launch
11629 2005-11-22 Michael Smith <msmith@fluendo.com>
11631 * gst/gstutils.c: (gst_util_clocktime_scale):
11633 * docs/gst/gstreamer-sections.txt:
11634 Add util method for scaling a clocktime by a fraction. Useful
11635 implementation is left as an exercise for the reader.
11637 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11639 * gst/gstvalue.c: (gst_value_collect_fraction_range):
11640 If needed, allocate storage in the destination value during
11643 2005-11-22 Edward Hervey <edward@fluendo.com>
11645 * docs/gst/gstreamer-sections.txt:
11648 * gst/gsturitype.c:
11649 * gst/gsturitype.h:
11650 * gst/gstutils.c: (gst_util_set_object_arg):
11651 * tools/gst-compprep.c: (main):
11652 * tools/gst-inspect.c: (print_element_properties_info):
11653 Removed GstURI, closes bug #321061
11655 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11657 * check/gst/gststructure.c: (GST_START_TEST):
11658 * gst/gststructure.c: (gst_structure_parse_value):
11659 Oops, broke automatic string type parsing.
11660 Add a test to catch it in future.
11662 2005-11-22 Andy Wingo <wingo@pobox.com>
11664 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
11665 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11666 Actually rename the function implementations. Grr.
11668 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11670 * check/gst/capslist.h:
11672 * check/gst/gststructure.c: (GST_START_TEST),
11673 (gst_structure_suite):
11674 Test automatic value type detection in gst_structure_from_string.
11675 * gst/gststructure.c: (gst_structure_parse_value):
11676 Add fraction as a type we try and guess automatically in
11677 caps/structure strings.
11679 2005-11-22 Andy Wingo <wingo@pobox.com>
11681 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11683 * gst/gsttagsetter.h:
11684 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11685 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11686 (gst_tag_setter_add_tag_valist)
11687 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11688 _add_values, _add_valist, and _add_valist_values. Since this is an
11689 interface the function suffixes should be more explicit so
11690 language binding don't end up with element.add_valist ->
11691 gst_tag_setter_add_valist, for example. Fixes #322069.
11693 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11695 * check/gst/gstcaps.c: (GST_START_TEST):
11696 Extend caps string tests to check that a caps to string
11697 conversion is reversible and produces the same caps.
11699 * gst/gststructure.c: (gst_structure_value_get_generic_type):
11700 Output "fraction" as the generic type fraction range, so caps
11701 serialisation and deserialisation works.
11702 * check/gst/capslist.h:
11703 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11704 Support 'MIN' and 'MAX' for deserialising fractions.
11706 2005-11-22 Andy Wingo <wingo@pobox.com>
11708 * gst/gstevent.h (gst_event_new_new_segment)
11709 (gst_event_parse_new_segment, gst_event_new_buffer_size)
11710 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11711 Renamed from *_newsegment, *_buffersize, *_notarget.
11713 * scripts/update-funcnames: New script, performs the changes
11716 2005-11-22 Wim Taymans <wim@fluendo.com>
11718 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11719 Make sure the GstFlowReturn is returned.
11721 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11722 (gst_bus_add_signal_watch):
11724 add gst_bus_add_signal_watch_full.
11726 * gst/gstplugin.c: (gst_plugin_load_file):
11727 Small style cleanup.
11729 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11731 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11732 Block the fakesrc srcpad when we send an event, to avoid
11733 contention on the stream_lock causing random test failures.
11735 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11737 * check/gst/gstvalue.c: (GST_START_TEST):
11738 * gst/gstvalue.c: (gst_value_fraction_subtract):
11741 2005-11-22 Stefan Kost <ensonic@users.sf.net>
11744 include "gstchildproxy.h"
11745 * gst/gstchildproxy.h:
11746 * libs/gst/controller/gstcontroller.h:
11747 use G_GNUC_NULL_TERMINATED
11749 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11751 * check/gst/capslist.h:
11752 * check/gst/gstcaps.c: (GST_START_TEST):
11753 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11754 * gst/gststructure.c: (gst_structure_parse_range),
11755 (gst_structure_fixate_field_nearest_fraction):
11756 * gst/gststructure.h:
11757 * gst/gstvalue.c: (gst_value_init_fraction_range),
11758 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11759 (gst_value_collect_fraction_range),
11760 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11761 (gst_value_set_fraction_range_full),
11762 (gst_value_get_fraction_range_min),
11763 (gst_value_get_fraction_range_max),
11764 (gst_value_serialize_fraction_range),
11765 (gst_value_transform_fraction_range_string),
11766 (gst_value_compare_fraction_range),
11767 (gst_value_deserialize_fraction_range),
11768 (gst_value_intersect_fraction_fraction_range),
11769 (gst_value_intersect_fraction_range_fraction_range),
11770 (gst_value_subtract_fraction_fraction_range),
11771 (gst_value_subtract_fraction_range_fraction),
11772 (gst_value_subtract_fraction_range_fraction_range),
11773 (gst_value_collect_fraction), (gst_value_fraction_multiply),
11774 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11775 (gst_value_transform_string_fraction), (_gst_value_initialize):
11777 Implement fraction ranges and extend GstFraction to support
11778 arithmetic subtraction, as well as deserialization from integer
11779 strings such as "100"
11780 Add a testsuite as for int and double range set operations
11782 2005-11-21 Andy Wingo <wingo@pobox.com>
11784 * gst/gsttaglist.h:
11786 * gst/gststructure.h: Add glib-compat.h.
11788 2005-11-21 Wim Taymans <wim@fluendo.com>
11790 * gst/gstbin.c: (gst_bin_change_state_func):
11793 2005-11-21 Wim Taymans <wim@fluendo.com>
11795 * gst/gstsegment.h:
11796 And add a nice define too.
11798 2005-11-21 Wim Taymans <wim@fluendo.com>
11800 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11801 (gst_segment_new), (gst_segment_free), (gst_segment_init),
11802 (gst_segment_set_duration), (gst_segment_set_last_stop),
11803 (gst_segment_set_seek), (gst_segment_set_newsegment),
11804 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11805 (gst_segment_clip):
11806 * gst/gstsegment.h:
11807 Make binding friendly.
11809 2005-11-21 Andy Wingo <wingo@pobox.com>
11811 * gst/gsttagsetter.h:
11812 * gst/gsttaglist.h:
11813 * gst/gststructure.h:
11815 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11818 * gst/gsterror.c (_gst_core_errors_init):
11819 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11822 * gst/Makefile.am (gst_headers): Add glib-compat.h.
11823 (noinst_HEADERS): noinst the -private.
11825 2005-11-21 Michael Smith <msmith@fluendo.com>
11828 * gst/gstregistry.h:
11829 Remove unimplemented declarations for which we can see no sensible
11832 2005-11-21 Andy Wingo <wingo@pobox.com>
11834 * gst/gst.h: Include glib-compat.h.
11836 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11838 * gst/glib-compat.c: Include the public and the private header.
11840 * gst/glib-compat-private.h: Copied here from glib-compat.h.
11844 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11846 * check/gst/gstevent.c (create_custom_events): Check that
11847 FLUSH_STOP is serialized.
11849 * check/elements/identity.c (event_func):
11850 * check/elements/fakesrc.c (event_func): No stream lock, the core
11853 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11854 stream lock taking, yay.
11856 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11857 ensure that core takes the stream lock.
11859 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11862 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11863 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11864 it already. For the flush start we do take it though so we get the
11865 right preroll state change messages.
11867 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11868 the stream lock here, the core does it for us.
11870 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11871 GST_STREAM_GET_LOCK.
11872 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
11873 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
11874 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11875 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11876 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
11877 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11879 * gst/gstpad.c: Update for stream lock name change.
11881 * gst/base/gstbasesink.c: Update for preroll lock name change.
11883 2005-11-21 Wim Taymans <wim@fluendo.com>
11885 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11886 (gst_clock_get_master):
11888 * gst/gstsystemclock.c: (gst_system_clock_init):
11889 Convert Clock flags to object flags.
11890 Added methods to manage master/slave clocks.
11892 2005-11-21 Wim Taymans <wim@fluendo.com>
11894 * check/gst/gstsegment.c: (GST_START_TEST):
11895 * docs/design/part-TODO.txt:
11896 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11897 (gst_base_sink_event), (gst_base_sink_do_sync),
11898 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11899 (gst_base_sink_query), (gst_base_sink_change_state):
11900 * gst/base/gstbasesink.h:
11901 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11902 (gst_base_src_default_newsegment),
11903 (gst_base_src_configure_segment), (gst_base_src_do_seek),
11904 (gst_base_src_get_range), (gst_base_src_loop),
11905 (gst_base_src_change_state):
11906 * gst/base/gstbasesrc.h:
11907 * gst/base/gstbasetransform.c:
11908 (gst_base_transform_prepare_output_buf),
11909 (gst_base_transform_event), (gst_base_transform_change_state):
11910 * gst/base/gstbasetransform.h:
11911 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11912 (gst_collect_pads_event):
11913 * gst/base/gstcollectpads.h:
11914 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11915 (gst_fake_src_create):
11916 * gst/elements/gstfakesrc.h:
11917 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11918 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11919 (gst_segment_set_last_stop), (gst_segment_set_seek),
11920 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11921 (gst_segment_to_running_time), (gst_segment_clip):
11922 * gst/gstsegment.h:
11923 More segment updates, replace code in plugins with segment
11926 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11928 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11929 Don't ignore sscanf results
11931 2005-11-21 Andy Wingo <wingo@pobox.com>
11933 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11936 * *.c: Ran scripts/update-macros. Oh yes.
11938 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11939 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11942 * scripts/update-macros: New script. Run it on your files to
11943 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11946 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11948 * docs/gst/Makefile.am:
11949 * docs/gst/gstreamer-docs.sgml:
11950 * docs/gst/gstreamer-sections.txt:
11951 * docs/gst/gstreamer.types:
11953 more docs fixes, add new api to the docs
11955 2005-11-21 Andy Wingo <wingo@pobox.com>
11957 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11958 state_broadcast call.
11960 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11962 2005-11-21 Julien MOUTTE <julien@moutte.net>
11964 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11965 function calls for arrays.
11967 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11969 * docs/random/ensonic/media-device-daemon.txt:
11970 wild idea, can this be done?
11971 * docs/gst/gstreamer-sections.txt:
11976 * gst/gstpluginfeature.c:
11980 doc fixes and additions
11982 2005-11-21 Andy Wingo <wingo@pobox.com>
11984 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
11985 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
11986 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
11987 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11988 private to the basesrc implementation.
11990 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11991 behalf of event function if necessary. It should no longer be
11992 necessary to take the stream lock in pad's event functions. Fixes
11995 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11996 * docs/gst/gstreamer-sections.txt:
11997 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11998 (gst_structure_fixate_field_nearest_double),
11999 (gst_structure_fixate_field_boolean):
12000 * gst/gststructure.h:
12001 * win32/common/libgstreamer.def:
12002 * win32/gstreamer.def:
12004 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
12007 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
12009 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
12010 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
12011 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
12012 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
12013 (gst_fdsrc_uri_handler_init):
12014 * gst/elements/gstfdsrc.h:
12015 Port fd:// URI handler from 0.8 to fdsrc
12017 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12019 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
12020 (gst_value_serialize_fourcc):
12022 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
12023 consistent with our other format defines (#320324).
12025 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12027 * gst/gstvalue.c: (gst_value_is_fixed):
12028 Revert previous commit. Value lists are by definition
12029 not fixed, as they are a list of possible values.
12031 2005-11-21 Andy Wingo <wingo@pobox.com>
12033 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
12034 during the stable series if we need it. Fixes #319178.
12036 * gst/gstevent.c (gst_event_new_filler): Removed.
12038 * check/gst/gstevent.c: Update comment about filler events.
12040 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12042 * gst/gstvalue.c: (gst_value_is_fixed):
12043 Should handle both value arrays and value lists.
12045 2005-11-21 Andy Wingo <wingo@pobox.com>
12047 patch by: Alessandro Dessina <alessandro nnva org>
12049 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
12050 functions to access arrays. Fixes #321962.
12052 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12054 * docs/gst/gstreamer.types:
12055 gst_collectpads_get_type => gst_collect_pads_get_type.
12057 * gst/base/gstbasetransform.c:
12058 Remove unused SIGNAL_HANDOFF enum.
12060 2005-11-21 Andy Wingo <wingo@pobox.com>
12062 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
12063 the event type (upstream, downstream, serialized). Renamed
12064 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
12065 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
12066 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
12068 * gst/gstevent.c: Update for new CUSTOM event names.
12070 * check/gst/gstevent.c: Update check for new CUSTOM event names.
12073 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
12076 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12078 * docs/gst/gstreamer-sections.txt:
12079 * win32/common/libgstbase.def:
12080 * win32/libgstbase.def:
12081 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12082 (gst_collect_pads_class_init), (gst_collect_pads_init),
12083 (gst_collect_pads_finalize), (gst_collect_pads_new),
12084 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
12085 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
12086 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
12087 (gst_collect_pads_start), (gst_collect_pads_stop),
12088 (gst_collect_pads_peek), (gst_collect_pads_pop),
12089 (gst_collect_pads_available), (gst_collect_pads_read),
12090 (gst_collect_pads_flush), (gst_collect_pads_event),
12091 (gst_collect_pads_chain):
12092 * gst/base/gstcollectpads.h:
12093 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
12094 unimplemented functions as unimplemented. Add padding to
12095 GstCollectData. (#320766, #320423)
12097 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
12099 * gst/gstmessage.c:
12100 Improve docs for DURATION message (usage of duration parameter)
12103 2005-11-20 Wim Taymans <wim@fluendo.com>
12105 * check/Makefile.am:
12106 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
12110 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
12111 (gst_segment_set_seek), (gst_segment_set_newsegment),
12112 (gst_segment_to_stream_time), (gst_segment_to_running_time),
12113 (gst_segment_clip):
12114 * gst/gstsegment.h:
12115 Added segment helper structure and methods. Not fully implemented
12117 Added segment check.
12119 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
12121 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12122 Add a deserialisation test for fractions
12123 * examples/metadata/read-metadata.c: (message_loop),
12124 (make_pipeline), (main):
12125 Fix up metadata reading sample.
12126 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12128 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12129 Don't try and fixate empty caps
12130 * gst/gst_private.h:
12131 Wrap in G_BEGIN_DECLS/G_END_DECLS
12132 * gst/gstvalue.c: (gst_value_collect_fraction),
12133 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
12134 (gst_value_transform_string_fraction),
12135 (gst_value_compare_fraction):
12136 Add some extra guards to ensure that we don't end up
12137 with an invalid denominator of 0 in a gstfraction and
12138 that fractions always get reduced.
12140 2005-11-20 Wim Taymans <wim@fluendo.com>
12142 * docs/gst/gstreamer-sections.txt:
12144 * gst/gstelement.c:
12153 2005-11-20 Wim Taymans <wim@fluendo.com>
12155 * docs/design/part-TODO.txt:
12157 Make a proper enum of the flag.
12159 2005-11-19 Wim Taymans <wim@fluendo.com>
12161 * docs/design/part-TODO.txt:
12162 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
12163 (gst_format_to_quark), (gst_format_register):
12165 * gst/gstquery.c: (_gst_query_initialize),
12166 (gst_query_type_get_name), (gst_query_type_to_quark),
12167 (gst_query_type_register):
12169 Add type to quark and type to string conversions.
12171 2005-11-19 Andy Wingo <wingo@pobox.com>
12173 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
12176 2005-11-19 Wim Taymans <wim@fluendo.com>
12178 * docs/design/part-TODO.txt:
12179 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12180 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
12181 (gst_bin_handle_message_func):
12183 Make message handling overridable.
12185 2005-11-19 Andy Wingo <wingo@pobox.com>
12187 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
12190 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
12192 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
12193 is a GstClockTime. Fixes #321710.
12195 * gst/gstclock.h (GstClock): Remove offset property. Add
12196 internal_calibration and external_calibration. Fix padding. Pad
12197 also by GstClockTime so we don't run into problems.
12199 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
12200 (gst_clock_get_rate_offset): Remove.
12201 (gst_clock_set_time_adjust): Remove. Fixes #321712.
12204 * gst/gstutils.c (g_static_rec_cond_wait)
12205 (g_static_rec_cond_timed_wait): Removed, no longer needed.
12207 * gst/gstbin.c: Remove terrible continue_state prototype.
12209 * gst/gstelement.h (gst_element_continue_state): Make public.
12211 * gst/gstelement.h:
12212 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
12213 by continue_state. Fixes #319389.
12215 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
12216 Really fixes #168438. However I don't see anywhere where the
12217 filter function is called... stupid GStreamer...
12219 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
12220 don't have a dispose function, so it won't get called when the
12221 object is unreffed, but oh well!
12223 * gst/gstindex.c (gst_index_set_filter_full): New API function,
12224 allows a destroy function to be set so user_data can be freed.
12226 (gst_index_set_filter): Call gst_index_set_filter_full.
12228 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
12230 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
12231 string should produce an error, given the lack of a way to
12232 represent NULL strings. Fixes #165650.
12235 * gst/gstvalue.c (gst_value_array_append_value)
12236 (gst_value_array_prepend_value, gst_value_array_get_size)
12237 (gst_value_array_get_value): New API, copied from
12238 gst_value_list_*, only operates on arrays.
12239 (gst_value_list_append_value, gst_value_list_prepend_value)
12240 (gst_value_list_concat, gst_value_list_get_size)
12241 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
12243 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
12244 init_list, because it works on both.
12245 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
12246 (gst_value_copy_list_or_array): Renamed from copy_list.
12247 (gst_value_free_list_or_array): Renamed from free_list.
12248 (gst_value_collect_list_or_array): Renamed from collect_list.
12249 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
12250 (gst_value_list_or_array_peek_pointer): Renamed from
12252 (_gst_value_array_value_table, _gst_value_list_value_table):
12253 Update value table functions.
12254 (gst_value_compare_list_or_array): Renamed from compare_list.
12256 * gsttaglist.h: Whoops, foreach function returns void. Also fix
12259 * gst/gsttaglist.c:
12260 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
12261 GstTagList*. Fixes #143472.
12263 * gst/gststructure.h: Clarify what the foreach/map functions can
12264 or can't do to their arguments.
12266 2005-11-18 Wim Taymans <wim@fluendo.com>
12268 * gst/gstclock.c: (gst_clock_set_calibration),
12269 (gst_clock_get_calibration):
12271 Calibration can be set with internal time equal to current
12274 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
12280 2005-11-18 Andy Wingo <wingo@pobox.com>
12283 * pkgconfig/gstreamer-net.pc.in:
12284 * pkgconfig/gstreamer-net-uninstalled.pc.in:
12285 * pkgconfig/Makefile.am: Add net pkgconfig files.
12287 2005-11-18 Stefan Kost <ensonic@users.sf.net>
12290 * gst/gstghostpad.c:
12296 2005-11-18 Andy Wingo <wingo@pobox.com>
12298 * gst/net/gstnetclientclock.c: Turn off debugging.
12300 * check/net/gstnetclientclock.c (test_functioning): Assert that the
12301 times connverge somewhat. Can't make a real test.
12303 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
12304 integer arithmetic. Return the minimum of the domain, which can be
12305 set as "internal" for gst_clock_set_calibration.
12306 (gst_net_client_clock_observe_times): Call _set_calibration.
12307 (gst_net_client_clock_new): Call _set_calibration instead of
12310 * check/net/gstnetclientclock.c (test_functioning): Use the right
12314 * gst/gstclock.c (gst_clock_get_calibration)
12315 (gst_clock_set_calibration): New functions, obsolete the ones I
12316 added yesterday. Doh. Precision issues mean we have to extrapolate
12317 from a point in the more recent past than 1970.
12318 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
12320 (gst_clock_adjust_unlocked): Use the right calibration data.
12322 2005-11-18 Edward Hervey <edward@fluendo.com>
12324 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12325 Also reset the ->current_* values in READY->PAUSED
12327 2005-11-18 Andy Wingo <wingo@pobox.com>
12329 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
12330 Whoops, check the right fd. Also add some debugging.
12331 (gst_net_client_clock_observe_times): Adjust for int64 offset.
12332 (do_linear_regression): Add a crapload of debugging. Subtract off
12333 the minimum values from the input series to discard unneeded bits.
12334 Use only int arithmetic. There is still double arithmetic when
12335 calculating the intercept that needs fixing. Return boolean to
12336 indicate success; FALSE would mean the domain or range is too
12337 great. Still needs fixes.
12339 2005-11-18 Wim Taymans <wim@fluendo.com>
12341 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12342 For the current position in stream time, we need to subtract
12345 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12346 Release lock before calling the callback function of async
12349 2005-11-18 Andy Wingo <wingo@pobox.com>
12351 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
12352 Port goes all the way to MAXUINT16.
12354 * gst/net/gstnettimeprovider.c: Make the port range the same as
12355 for the kernel: 0 assigns, otherwise ports are less than
12358 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
12361 * check/net/gstnetclientclock.c (test_functioning): Add the start
12364 2005-11-18 Wim Taymans <wim@fluendo.com>
12366 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12367 (gst_bin_remove_func), (bin_bus_handler):
12369 Removing a clock provider from a bin, triggers a clock lost message
12370 so that a new clock will be selected.
12371 Adding a clock to a bin triggers a clock provider message.
12372 Make sure we reselect a clock when we received a clock lost message.
12373 Keep a reference to the element that provided the clock.
12375 2005-11-18 Andy Wingo <wingo@pobox.com>
12377 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
12378 the clock initially so it produces values around the base time.
12379 (gst_net_client_clock_class_init): Typo fix.
12380 (gst_net_client_clock_thread): Add note on when the socket gets
12383 2005-11-17 Wim Taymans <wim@fluendo.com>
12385 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
12386 Free remote and local time arrays.
12388 2005-11-17 Wim Taymans <wim@fluendo.com>
12390 * gst/net/gstnetclientclock.c: (do_linear_regression),
12391 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
12392 Fix compilation, uninitialized vars and a forgotten continue.
12394 2005-11-17 Andy Wingo <wingo@pobox.com>
12396 * check/Makefile.am (check_PROGRAMS):
12397 * check/net/gstnetclientclock.c: Add a most minimal test for the
12398 net client clock. More to come later.
12400 * gst/net/gstnet.h:
12401 * gst/net/Makefile.am: Add netclientclock.
12403 * gst/net/gstnetclientclock.h:
12404 * gst/net/gstnetclientclock.c: New files, implement an untested
12405 GstClock that takes its time from a network time provider.
12406 Implements the algorithm in network-clock.scm.
12408 * tests/network-clock.scm (*window-size*): Rename from
12410 * tests/network-clock.scm (network-time):
12411 * tests/network-clock-utils.scm (q-push): Update callers.
12413 2005-11-17 Wim Taymans <wim@fluendo.com>
12415 * gst/gstbin.c: (gst_bin_provide_clock_func),
12416 (gst_bin_sort_iterator_new):
12417 And unref the child too..
12419 2005-11-17 Wim Taymans <wim@fluendo.com>
12421 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12422 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
12423 Refactor the sort iterator so it can be used while holding the
12425 Make clock selection select a clock closest to the source.
12427 2005-11-17 Michael Smith <msmith@fluendo.com>
12429 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
12430 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
12432 Anonymous structs are a gcc (and some other compilers) extension, so
12433 don't use them. Since this is only for ABI-compatibility, and our
12434 API/ABI freeze is over in a few days, this whole thing will only
12435 last a few days, so don't bother trying to think up a meaningful
12436 name for the struct.
12438 2005-11-17 Andy Wingo <wingo@pobox.com>
12440 * gst/gstclock.h (GstClock): Add rate and offset properties,
12441 preserving ABI stability. Add rate/offset accessors. Will file bug
12442 for the freeze break.
12444 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
12445 and offset, trying to keep precision and avoiding
12446 underflow/overflow.
12447 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
12448 functions. Make gst_clock_set_time_adjust obsolete.
12449 (gst_clock_set_time_adjust): Note that this function is obsolete.
12450 Will file bug soon.
12452 * gst/base/gstbasetransform.h: Make the ABI-stability hack
12453 greppable by using GST_PADDING-1+1.
12455 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
12457 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12459 * gst/gstmessage.c: (gst_message_parse_clock_lost):
12460 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12462 * gst/gstpadtemplate.h:
12463 * gst/gstpluginfeature.h:
12464 Don't use c++ style comments in headers (#321638).
12466 2005-11-16 Andy Wingo <wingo@pobox.com>
12468 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12471 * check/net/gstnettimeprovider.c: Check to see that the time
12472 provider actually provides times. Works, yo!
12474 2005-11-16 Wim Taymans <wim@fluendo.com>
12476 * check/Makefile.am:
12479 * check/elements/fakesrc.c: (GST_START_TEST):
12480 Set element to NULL before disposing it.
12482 2005-11-16 Andy Wingo <wingo@pobox.com>
12484 * gst/net/Makefile.am:
12485 * gst/net/gstnet.h:
12486 * gst/net/gstnettimeprovider.c:
12487 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12488 provider, include it from gstnet.h, and add it to the build.
12490 * gst/net/gstnettimepacket.h:
12491 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12492 sending and receiving.
12494 2005-11-16 Wim Taymans <wim@fluendo.com>
12496 * check/Makefile.am:
12497 Enable valgrind check.
12499 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12500 (gst_fake_src_alloc_buffer):
12503 2005-11-16 Wim Taymans <wim@fluendo.com>
12505 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12506 Call parent finalize too.
12508 2005-11-16 Wim Taymans <wim@fluendo.com>
12510 * check/Makefile.am:
12511 Enable valgrind check that should work fine now.
12513 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12514 * gst/gstqueue.c: (gst_queue_init):
12515 Fix memleaks in pad allocation.
12517 2005-11-16 Andy Wingo <wingo@pobox.com>
12519 * gst/net/Makefile.am:
12520 * gst/net/gstnet.h: New part of core to hold network elements and
12521 objects. Put in core because it exposes API that applications want
12522 to use. The library is named libgstnet-tempname right now because
12523 of the existing libgstnet in gst-plugins-base. Solution is
12524 probably to rename the one in plugins-base; will file a bug for
12527 * gst/net/gstnettimeprovider.c:
12528 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12529 get_time call over the network.
12532 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12534 * check/Makefile.am:
12535 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12536 get additions shortly.
12538 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12540 * gst/gstpad.c: (gst_pad_new_from_static_template):
12542 add gst_pad_new_from_static_template functions
12543 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12544 (gst_check_setup_sink_pad):
12545 * gst/elements/gsttee.c: (gst_tee_init):
12548 2005-11-16 Wim Taymans <wim@fluendo.com>
12550 * gst/gstpad.c: (gst_pad_pause_task):
12551 Removed warning, it's not really an error either.
12553 2005-11-16 Wim Taymans <wim@fluendo.com>
12555 * gst/base/gstbasetransform.c:
12556 (gst_base_transform_prepare_output_buf),
12557 (gst_base_transform_event):
12558 Check if the caps are NULL, this can happen if the element
12559 is shutting down and the pad caps are set to NULL.
12561 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12563 * gst/elements/gsttee.c: (gst_tee_init):
12564 fix pad template leak in tee
12566 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12568 * gst/glib-compat.c: (g_value_dup_gst_object):
12569 * gst/glib-compat.h:
12570 * gst/gstpad.c: (gst_pad_set_property):
12571 use gst_object_ref when setting the pad template; this will
12572 trigger the pad template leaks on GLib 2.6 and the slaves
12574 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12576 * gst/glib-compat.c: (gst_flags_get_first_value):
12577 * gst/glib-compat.h:
12578 * gst/gstregistryxml.c:
12579 remove functions copied from GLib 2.6
12581 2005-11-16 Michael Smith <msmith@fluendo.com>
12584 Don't link against VALGRIND_LIBS. That was always the wrong thing to
12585 do, but only breaks with newer valgrind versions. We're not a
12586 valgrind tool, we have no link-time dependencies on libcoregrind.
12588 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12590 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12592 * gst/gstmessage.h:
12595 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12597 * gst/base/gstbasesrc.c: (gst_base_src_init):
12598 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12599 * gst/gstqueue.c: (gst_queue_init):
12600 * gst/gstregistryxml.c: (load_feature):
12601 Revert all these unrefs, they don't even pass make check !
12603 2005-11-15 Johan Dahlin <johan@gnome.org>
12605 * gst/base/gstbasesrc.c: (gst_base_src_init):
12606 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12607 * gst/gstqueue.c: (gst_queue_init):
12608 Free pad templates, fixes a couple of leaks.
12610 2005-11-15 Daniel Fischer <dan at f3c dot com>
12612 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12614 * gst/gstpad.c: (gst_pad_get_property):
12615 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12616 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12619 2005-11-15 Wim Taymans <wim@fluendo.com>
12624 2005-11-15 Andy Wingo <wingo@pobox.com>
12626 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12628 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12629 using GST_CLOCK_TIME_NONE to disable base time management.
12630 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12631 time if it was NONE before.
12632 (gst_pipeline_change_state): Only munge the base time if
12633 stream_time != GST_CLOCK_TIME_NONE.
12635 * check/gst/gstpipeline.c (test_base_time): Punt around the
12636 problem of the probe not being called, because that's not the
12637 issue I'm looking at. Add a check that setting stream_time to NONE
12638 disables base time management.
12640 2005-11-15 Wim Taymans <wim@fluendo.com>
12642 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12643 segment_stop == -1 at startup.
12645 * gst/base/gstbasetransform.c: (gst_base_transform_event),
12646 (gst_base_transform_change_state):
12647 Init segment values at start.
12649 2005-11-15 Wim Taymans <wim@fluendo.com>
12651 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12652 0 segment values are 0 in any format.
12654 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12655 * gst/base/gstbasetransform.h:
12656 Parse newsegment correctly in basetransform
12658 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12659 Sync to clock using updated segment values.
12661 2005-11-15 Andy Wingo <wingo@pobox.com>
12663 * check/gst/gstpipeline.c (test_base_time): Add check that the
12664 base time and stream time are reset correctly.
12666 2005-11-15 Wim Taymans <wim@fluendo.com>
12668 * docs/design/part-TODO.txt:
12669 Some more TODO items.
12671 2005-11-15 Andy Wingo <wingo@pobox.com>
12673 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12674 error if the user selected "no clock" as the clocking method.
12676 * check/gst/gstpipeline.c (test_base_time): New test for buffer
12677 timestamps with live capture.
12679 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12680 is 0 but we are a live source, timestamp the buffers using the
12683 2005-11-14 Stefan Kost <ensonic@users.sf.net>
12685 * docs/gst/gstreamer-sections.txt:
12687 * gst/gstghostpad.c:
12692 2005-11-14 Wim Taymans <wim@fluendo.com>
12695 add suppressions from Wim's Debian machine
12697 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
12700 add suppressions from Andy's AMD64 Ubuntu machine
12702 2005-11-14 Andy Wingo <wingo@pobox.com>
12704 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12705 STATE_LOCK not necessary. Fixes #311489.
12707 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12710 * gst/gstindex.c (gst_index_add_object): Note in the docs that
12711 this function is not implemented.
12713 2005-11-14 Julien MOUTTE <julien@moutte.net>
12715 * gst/base/gstbasetransform.c:
12716 (gst_base_transform_prepare_output_buf):
12717 Ref the source pad caps while we need them.
12720 2005-11-11 Wim Taymans <wim@fluendo.com>
12722 * docs/gst/gstreamer-sections.txt:
12723 Added some docs for GstCollectData.
12725 * gst/base/gstadapter.c:
12726 Some small code example fix.
12728 * gst/base/gstcollectpads.c:
12729 * gst/base/gstcollectpads.h:
12730 Document some more.
12732 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12734 * configure.ac: back to HEAD
12736 === release 0.9.5 ===
12738 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12741 releasing 0.9.5, "Bike Lunch Day"
12743 2005-11-11 Wim Taymans <wim@fluendo.com>
12745 * gst/gstbuffer.c: (_gst_buffer_copy):
12748 * gst/gstcaps.c: (gst_caps_is_equal):
12750 Make _is_equal fast in the trivial cases.
12752 * gst/gstminiobject.c:
12753 * gst/gstminiobject.h:
12754 More docs. Spifify .h file.
12759 2005-11-11 Wim Taymans <wim@fluendo.com>
12761 * gst/base/gstbasetransform.c:
12762 (gst_base_transform_prepare_output_buf),
12763 (gst_base_transform_handle_buffer):
12765 If we're processing a buffer and need to allocate an output
12766 buffer, we cannot accept a format change. If we did get a
12767 format change, we have to alloc a buffer ourselves of the
12770 2005-11-11 Wim Taymans <wim@fluendo.com>
12772 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12773 While checking the flag for reentrancy in the gstcaps function
12774 is nice to detect recursive invocations, it also makes it
12775 impossible to call getcaps from multiple threads, which must be
12776 possible. So, checking for recursive calls has to go.
12778 2005-11-11 Michael Smith <msmith@fluendo.com>
12780 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12781 Don't sync on buffers that fall partially outside our current
12782 segment. Prevents an assertion failure/abort playing some files.
12784 2005-11-10 Andy Wingo <wingo@pobox.com>
12786 * check/gst/gstbin.c (test_message_state_changed_children): Style
12789 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12790 gst_bus_poll with the signal watch. Ensures that poll and a signal
12791 watch see the same messages.
12793 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12794 a poll and a watch at the same time get the same messages.
12796 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12798 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12799 * gst/gstcaps.c: (gst_caps_intersect):
12800 Don't call gst_caps_do_simplify - it doesn't respect order of caps
12801 and it's not needed.
12803 2005-11-10 Wim Taymans <wim@fluendo.com>
12805 * docs/design/part-TODO.txt:
12808 2005-11-10 Wim Taymans <wim@fluendo.com>
12810 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12811 * gst/base/gstbasesrc.c: (gst_base_src_wait),
12812 (gst_base_src_do_sync), (gst_base_src_get_range):
12813 Implement clock sync in base class.
12815 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12817 patch by: Tim-Philipp Müller <tim at centricular dot net>
12819 * gst/gststructure.c: (gst_structure_parse_field),
12820 (gst_structure_from_string):
12821 Forward-port a 0.8 patch to handle escaped spaces in structure string,
12822 so that gst_parse_launch() can deal with spaces in filtered link
12823 caps (fixes #164479)
12824 * check/gst/capslist.h:
12825 * check/gst/gststructure.c: (GST_START_TEST):
12826 add unit tests for this change
12828 2005-11-10 Wim Taymans <wim@fluendo.com>
12830 * docs/gst/gstreamer-sections.txt:
12831 * gst/gstelement.c:
12832 * gst/gstelement.h:
12833 Fix docs, move some STATE macros to private.
12835 2005-11-10 Wim Taymans <wim@fluendo.com>
12837 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12838 Added check for bug #317341
12842 Some more spiffifying.
12844 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12845 Call peer linkfunction if we are a source pad. Totally fixes
12849 Update docs, source pads should call the peer linkfunction
12850 so they can atomically perform the pad link.
12852 2005-11-09 Wim Taymans <wim@fluendo.com>
12856 Uber-spiffy-spiffify some more.
12858 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
12860 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12861 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12862 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12863 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12864 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12865 * gst/gstpad.c: (gst_pad_init):
12866 Use GST_DEBUG_FUNCPTR() more extensively.
12868 2005-11-09 Wim Taymans <wim@fluendo.com>
12870 * gst/gstobject.c: (gst_object_class_init):
12872 Documentation fixes.
12874 2005-11-09 Edward Hervey <edward@fluendo.com>
12876 * gst/gsttypefindfactory.c:
12879 2005-11-09 Edward Hervey <edward@fluendo.com>
12881 * gst/base/gsttypefindhelper.c:
12882 * gst/gsttypefind.c:
12883 * gst/gsttypefind.h:
12886 2005-11-09 Wim Taymans <wim@fluendo.com>
12888 * gst/gstiterator.c:
12895 2005-11-09 Wim Taymans <wim@fluendo.com>
12901 2005-11-09 Wim Taymans <wim@fluendo.com>
12903 * docs/gst/gstreamer-sections.txt:
12904 Moved the message async delivery private lock and cond
12905 to the private section.
12907 * gst/gstmessage.c:
12908 * gst/gstmessage.h:
12911 2005-11-09 Edward Hervey <edward@fluendo.com>
12913 * docs/gst/gstreamer-sections.txt:
12916 Document GstURIHandler
12918 2005-11-09 Wim Taymans <wim@fluendo.com>
12920 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12921 (gst_iterator_find_custom):
12922 * gst/gstiterator.h:
12925 2005-11-09 Wim Taymans <wim@fluendo.com>
12928 Document another field.
12930 * gst/gststructure.c:
12931 * gst/gststructure.h:
12934 2005-11-09 Wim Taymans <wim@fluendo.com>
12937 Documented structs.
12939 2005-11-09 Wim Taymans <wim@fluendo.com>
12941 * docs/gst/gstreamer-sections.txt:
12942 Added some new macros.
12949 2005-11-09 Wim Taymans <wim@fluendo.com>
12951 * docs/design/part-TODO.txt:
12952 Some more items for the TODO
12958 2005-11-09 Andy Wingo <wingo@pobox.com>
12960 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12961 to work on something else now tho...
12963 * gst/base/gstadapter.c: More adapter docs.
12965 * gst/elements/gstfilesink.c (gst_file_sink_start)
12966 (gst_file_sink_stop): New functions, replace the state change
12968 (gst_file_sink_class_init): Hook up the start and stop functions.
12969 (gst_file_sink_base_init): Don't set the state change handler any
12970 more. It was a bit ugly too, being set from here...
12971 (gst_file_sink_get_property, gst_file_sink_set_property):
12973 (gst_file_sink_set_location): More robust check that doesn't call
12974 GST_STATE. Ugggggg.
12976 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
12978 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12979 Hold STREAM_LOCK while pushing newsegment or tag events as well.
12981 2005-11-08 Wim Taymans <wim@fluendo.com>
12983 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12984 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12985 (gst_base_sink_chain), (gst_base_sink_change_state):
12986 * gst/base/gstbasesink.h:
12987 * gst/base/gstbasesrc.h:
12988 * gst/gstelement.h:
12990 Avoid excessive typechecking in macros.
12992 * gst/gstminiobject.c: (gst_mini_object_get_type),
12993 (gst_mini_object_init), (gst_mini_object_new),
12994 (gst_mini_object_free):
12995 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12996 (gst_object_finalize):
12997 Remove cruft code, optimize alloc_trace.
12999 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
13001 * docs/faq/gst-uninstalled:
13002 fix up PS1 for systems that try to reset it
13004 2005-11-07 Wim Taymans <wim@fluendo.com>
13006 * gst/base/gstbasesrc.c: (gst_base_src_init),
13007 (gst_base_src_get_range):
13008 Set the segment_end to -1 initially. Fixed typefind.
13010 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
13012 * gst/base/gstadapter.c:
13013 Debug category should be 'adapter', not 'GstAdapter'.
13015 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
13016 (gst_collectpads_class_init), (gst_collectpads_init),
13017 (gst_collectpads_peek), (gst_collectpads_pop),
13018 (gst_collectpads_event), (gst_collectpads_chain):
13019 Add debug category and some debugging output. Use boilerplate
13020 macros. Remove some extraneous words from docs.
13022 2005-11-05 Andy Wingo <wingo@pobox.com>
13024 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
13027 2005-11-04 Stefan Kost <ensonic@users.sf.net>
13029 * docs/gst/gstreamer-sections.txt:
13032 * gst/gstminiobject.h:
13037 2005-11-04 Wim Taymans <wim@fluendo.com>
13039 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13040 Small update to stop at the configured segment_end
13043 2005-11-04 Stefan Kost <ensonic@users.sf.net>
13045 * gst/gstregistry.c:
13046 * gst/gstregistry.h:
13049 2005-11-04 Edward Hervey <edward@fluendo.com>
13051 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13052 Check if we are doing a segment seek and have arrived at the
13053 end of that segment.
13055 2005-11-04 Wim Taymans <wim@fluendo.com>
13057 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
13058 Don't leak a mutex unlock in case of an error.
13063 2005-11-04 Wim Taymans <wim@fluendo.com>
13065 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
13067 Get the context to wake up only once.
13069 2005-11-03 Wim Taymans <wim@fluendo.com>
13071 * check/states/sinks.c: (GST_START_TEST):
13072 Uncomment fixed check.
13074 * docs/design/part-TODO.txt:
13077 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13078 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13079 (gst_base_sink_get_position):
13080 If we are going to PLAYING, post the right pending state
13081 when we post the intermediate paused message.
13083 * gst/gstelement.c: (gst_element_continue_state),
13084 (gst_element_set_state_func), (gst_element_change_state):
13085 Don't post state changes that were between the same state
13086 and were not ASYNC.
13088 2005-11-03 Stefan Kost <ensonic@users.sf.net>
13090 * docs/gst/gstreamer-sections.txt:
13093 * gst/gstminiobject.h:
13096 more docs and doc style fixes
13098 2005-11-03 Stefan Kost <ensonic@users.sf.net>
13100 * docs/gst/gstreamer-sections.txt:
13101 * gst/gstelement.c:
13102 * gst/gstminiobject.c:
13105 2005-11-03 Andy Wingo <wingo@pobox.com>
13107 * check/states/sinks.c (test_livesrc_sink): Add checks that the
13108 state-changed messages actually have the right order and the right
13111 2005-11-03 Wim Taymans <wim@fluendo.com>
13113 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
13114 Added some more checks. Specifically the case where NO_PREROLL
13115 elements are in the pipeline.
13117 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13118 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13119 (gst_base_sink_get_position):
13120 Post READY->PAUSED state change messages too.
13121 Fix bug where VOID was posted as pending state...
13123 * gst/gstbin.c: (gst_bin_recalc_state):
13124 use _element_continue_state() to continue the state change.
13126 * gst/gstelement.c: (gst_element_continue_state),
13127 (gst_element_commit_state), (gst_element_set_state_func),
13128 (gst_element_change_state), (gst_element_change_state_func):
13129 Lots of state change cleanups, assign the STATE_RETURN in
13130 a new continue_state() function that also propagates the
13131 last return value from a state change to the app.
13132 Update some debug statements with proper category.
13134 2005-11-03 Wim Taymans <wim@fluendo.com>
13136 * docs/design/part-events.txt:
13137 * docs/design/part-gstpipeline.txt:
13138 * docs/design/part-messages.txt:
13139 * docs/design/part-overview.txt:
13140 * docs/design/part-seeking.txt:
13141 * docs/design/part-states.txt:
13142 * docs/design/part-trickmodes.txt:
13143 * docs/manual/advanced-position.xml:
13144 Small docs updates.
13147 People think !! is ugly, this looks better.
13149 * gst/gstpad.c: (gst_pad_set_blocked_async):
13150 Remove !! since it's fixed elsewhere now.
13152 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13154 * gst/gstminiobject.h:
13156 Add !! to _FLAG_IS_SET macros to make the result boolean.
13158 2005-11-03 Edward Hervey <edward@fluendo.com>
13160 * gst/gstpad.c: (gst_pad_set_blocked_async):
13161 comparing a flag and a gboolean rarely returns coherent results...
13162 Added two characters (!!) to make that work correctly.
13164 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13166 * gst/gstbus.c: (gst_bus_class_init):
13169 * gst/gstqueue.c: (gst_queue_loop):
13170 Don't assume a miniobject that isn't a buffer is an
13171 event (it could be that there is a refcounting
13172 problem somewhere and the pointer is stale and
13173 refers to an already destroyed miniobject).
13175 2005-11-03 Julien MOUTTE <julien@moutte.net>
13177 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
13179 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13181 * docs/manual/advanced-position.xml:
13182 Update seek example and explanations to current 0.9 API.
13184 * gst/elements/gsttypefindelement.c:
13185 (gst_type_find_element_activate):
13186 Remove FIXME comment now that the found caps
13189 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
13191 * gst/gstregistryxml.c: (load_feature):
13192 Add another GST_STR_NULL instance
13194 2005-11-02 Edward Hervey <edward@fluendo.com>
13196 * gst/gstpad.c: (handle_pad_block):
13197 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
13199 2005-11-02 Wim Taymans <wim@fluendo.com>
13204 * gst/gstelement.c: (gst_element_commit_state):
13205 Remove unused value.
13207 * gst/gstiterator.c:
13208 Mention that the returned element is reffed in the docs.
13210 2005-11-02 Wim Taymans <wim@fluendo.com>
13212 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
13213 (gst_pad_push), (gst_pad_push_event):
13214 Unlock blocked pads when they are flushed.
13216 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13219 * docs/gst/gstreamer-sections.txt:
13222 * gst/gstregistry.c: (gst_registry_scan_path_level):
13223 fix for a nasty little missed situation where an installed plug-in
13224 which was in the cache did not get overridden by an uninstalled one
13225 which was earlier in the plugin path because the newly created plugin
13226 for the uninstalled one (not in the registry) didn't get its
13227 ->registered set to TRUE
13229 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
13231 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
13232 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
13233 (gst_collectpads_is_active), (gst_collectpads_collect),
13234 (gst_collectpads_collect_range), (gst_collectpads_start),
13235 (gst_collectpads_stop), (gst_collectpads_peek),
13236 (gst_collectpads_pop), (gst_collectpads_available),
13237 (gst_collectpads_read), (gst_collectpads_flush):
13238 Guard public API with assertions.
13241 Fix docs for gst_pad_set_link_function().
13243 2005-11-02 Johan Dahlin <johan@gnome.org>
13245 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
13246 Unref found_caps after we used it.
13248 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
13250 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
13251 Don't try to ref NULL.
13253 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13255 * win32/common/config.h.in:
13256 provide a GST_FUNCTION that just gives a string for now
13258 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13260 * win32/common/gstenumtypes.c: (register_gst_object_flags),
13261 (gst_object_flags_get_type), (register_gst_bin_flags),
13262 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13263 (gst_buffer_flag_get_type), (register_gst_bus_flags),
13264 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13265 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
13266 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13267 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13268 (gst_clock_flags_get_type), (register_gst_state),
13269 (gst_state_get_type), (register_gst_state_change_return),
13270 (gst_state_change_return_get_type), (register_gst_state_change),
13271 (gst_state_change_get_type), (register_gst_element_flags),
13272 (gst_element_flags_get_type), (register_gst_core_error),
13273 (gst_core_error_get_type), (register_gst_library_error),
13274 (gst_library_error_get_type), (register_gst_resource_error),
13275 (gst_resource_error_get_type), (register_gst_stream_error),
13276 (gst_stream_error_get_type), (register_gst_event_type),
13277 (gst_event_type_get_type), (register_gst_seek_type),
13278 (gst_seek_type_get_type), (register_gst_seek_flags),
13279 (gst_seek_flags_get_type), (register_gst_format),
13280 (gst_format_get_type), (register_gst_index_certainty),
13281 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13282 (gst_index_entry_type_get_type),
13283 (register_gst_index_lookup_method),
13284 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13285 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13286 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13287 (gst_index_flags_get_type), (register_gst_debug_level),
13288 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13289 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13290 (gst_iterator_result_get_type), (register_gst_iterator_item),
13291 (gst_iterator_item_get_type), (register_gst_message_type),
13292 (gst_message_type_get_type), (register_gst_mini_object_flags),
13293 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13294 (gst_pad_link_return_get_type), (register_gst_flow_return),
13295 (gst_flow_return_get_type), (register_gst_activate_mode),
13296 (gst_activate_mode_get_type), (register_gst_pad_direction),
13297 (gst_pad_direction_get_type), (register_gst_pad_flags),
13298 (gst_pad_flags_get_type), (register_gst_pad_presence),
13299 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13300 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13301 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13302 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13303 (gst_plugin_flags_get_type), (register_gst_rank),
13304 (gst_rank_get_type), (register_gst_query_type),
13305 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13306 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13307 (gst_tag_flag_get_type), (register_gst_task_state),
13308 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13309 (gst_alloc_trace_flags_get_type),
13310 (register_gst_type_find_probability),
13311 (gst_type_find_probability_get_type), (register_gst_uri_type),
13312 (gst_uri_type_get_type), (register_gst_parse_error),
13313 (gst_parse_error_get_type):
13314 * win32/common/gstversion.h:
13315 update win32 copies
13317 2005-11-01 Luca Ognibene <luogni@tin.it>
13320 fix docs. popt is dead, long live GOption.
13322 2005-10-31 Wim Taymans <wim@fluendo.com>
13327 2005-10-31 Andy Wingo <wingo@pobox.com>
13331 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
13333 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
13334 need to serialize property notifications on GLib 2.8. GLib 2.6 has
13335 the possibility of deadlocks here if code calling notify() or
13336 set() has a lock that can be taken in another notify handler (ABBA
13337 with class lock and e.g. python GIL state lock).
13339 2005-10-28 Julien MOUTTE <julien@moutte.net>
13341 * gst/gstbus.c: Doc updates.
13343 2005-10-28 Wim Taymans <wim@fluendo.com>
13345 * docs/design/part-TODO.txt:
13346 * gst/gstiterator.c:
13347 * gst/gstsystemclock.c:
13348 * gst/gstsystemclock.h:
13351 2005-10-28 Edward Hervey <edward@fluendo.com>
13353 * docs/gst/gstreamer-docs.sgml:
13354 * docs/gst/gstreamer-sections.txt:
13355 the GstURIType documentation page is private, it only defines GstURIType
13356 which should be defined in the GstURIHandler page
13358 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
13360 * gst/gstbin.c: (gst_bin_class_init):
13363 Documentation updates.
13365 2005-10-28 Wim Taymans <wim@fluendo.com>
13367 * docs/gst/gstreamer-sections.txt:
13370 Documented the clocks.
13372 2005-10-28 Stefan Kost <ensonic@users.sf.net>
13374 * docs/gst/gstreamer-sections.txt:
13375 move some macros to private sections
13376 * gst/gstminiobject.c:
13377 * gst/gstminiobject.h:
13378 add descriptions provided by ds and some more
13380 mark macro as to be removed
13382 2005-10-28 Wim Taymans <wim@fluendo.com>
13384 * docs/design/part-TODO.txt:
13385 Add an item to TODO.
13387 * gst/gstiterator.c: (gst_iterator_fold),
13388 (gst_iterator_find_custom):
13389 * gst/gstiterator.h:
13392 2005-10-28 Wim Taymans <wim@fluendo.com>
13394 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13395 (gst_base_transform_init):
13398 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
13399 An EOS event marks the queue as completely filled.
13401 2005-10-27 Wim Taymans <wim@fluendo.com>
13403 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13404 (gst_base_sink_do_sync), (gst_base_sink_get_position):
13405 Some more debugging.
13407 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
13408 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
13409 (gst_base_transform_event), (gst_base_transform_getrange),
13410 (gst_base_transform_chain):
13411 * gst/base/gstbasetransform.h:
13413 Protect transform and concurrent buffer alloc with a new lock.
13414 Try not to break ABI/API.
13416 2005-10-27 Wim Taymans <wim@fluendo.com>
13418 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13419 (gst_base_src_init), (gst_base_src_query),
13420 (gst_base_src_default_newsegment),
13421 (gst_base_src_configure_segment), (gst_base_src_do_seek),
13422 (gst_base_src_send_event), (gst_base_src_event_handler),
13423 (gst_base_src_pad_get_range), (gst_base_src_loop),
13424 (gst_base_src_unlock), (gst_base_src_default_negotiate),
13425 (gst_base_src_start), (gst_base_src_deactivate),
13426 (gst_base_src_activate_push), (gst_base_src_change_state):
13427 Move some stuff around and cleanup things.
13429 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
13431 * gst/base/gstbasesrc.c: (gst_base_src_query):
13432 Add missing break statements.
13434 2005-10-27 Wim Taymans <wim@fluendo.com>
13436 * check/gst/gstbin.c: (GST_START_TEST):
13437 An extra refcount is taken in basesrc.
13439 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13440 (gst_base_src_get_range), (gst_base_src_pad_get_range),
13441 (gst_base_src_loop):
13442 Small cleanups, check for flushing after being unlocked from the
13443 LIVE_LOCK. take refcounts correctly (not yet everywhere).
13444 Don't send out EOS when going to READY.
13446 2005-10-27 Wim Taymans <wim@fluendo.com>
13448 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13449 (gst_base_sink_get_position):
13452 * gst/gstbin.c: (message_check), (bin_replace_message),
13453 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13454 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13455 (bin_query_duration_init), (bin_query_duration_fold),
13456 (bin_query_duration_done), (bin_query_generic_fold),
13458 * tools/gst-launch.c: (main):
13461 2005-10-26 Stefan Kost <ensonic@users.sf.net>
13463 * examples/controller/audio-example.c: (main):
13464 * examples/queue/queue.c: (event_loop):
13465 * gst/base/gstbasetransform.h:
13466 * gst/gstelement.c: (gst_element_send_event):
13468 * gst/gstpad.c: (gst_pad_send_event):
13471 changing log priority in error situations
13473 2005-10-25 Wim Taymans <wim@fluendo.com>
13475 * gst/gstbin.c: (message_check), (bin_replace_message),
13476 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13477 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13478 (bin_query_duration_init), (bin_query_duration_fold),
13479 (bin_query_duration_done), (bin_query_generic_fold),
13481 Some doc and debug updates.
13482 Cache previously requested query DURATION for speed. invalidate
13483 cached duration if element posts a DURATION message.
13485 2005-10-25 Wim Taymans <wim@fluendo.com>
13487 * docs/design/part-TODO.txt:
13490 * gst/gstbin.c: (message_check), (bin_replace_message),
13491 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13492 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13493 (bin_query_duration_init), (bin_query_duration_fold),
13494 (bin_query_duration_done), (bin_query_generic_fold),
13496 Handle SEGMENT_START/DONE messages correctly.
13497 More evolved query algorithm that handles duration queries
13500 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13501 (gst_element_get_state_func), (gst_element_abort_state),
13502 (gst_element_commit_state), (gst_element_lost_state):
13503 Some more debugging.
13505 * gst/gstmessage.h:
13508 2005-10-25 Wim Taymans <wim@fluendo.com>
13510 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13511 Don't use invalid stream_time.
13513 * gst/gstevent.c: (gst_event_new_newsegment):
13514 stream_time in newsegment cannot be undefined.
13516 2005-10-24 Wim Taymans <wim@fluendo.com>
13521 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13523 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13525 2005-10-24 Stefan Kost <ensonic@users.sf.net>
13527 * docs/libs/tmpl/gstdparam.sgml:
13528 * docs/libs/tmpl/gstdplinint.sgml:
13529 * docs/libs/tmpl/gstdpman.sgml:
13530 * docs/libs/tmpl/gstdpsmooth.sgml:
13531 * docs/libs/tmpl/gstunitconvert.sgml:
13534 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
13539 === release 0.9.4 ===
13541 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13544 releasing 0.9.4, "Tyrannosaurus Rex"
13546 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
13548 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13549 (gst_file_sink_get_current_offset):
13550 Use fseeko() and ftello() if available. When falling back on
13551 lseek() to get the current offset, fflush() first to make sure
13552 everything is up-to-date and we get the right offset.
13554 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13556 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13557 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13558 * gst/gsterror.c: (_gst_stream_errors_init):
13560 * gst/gstqueue.c: (gst_queue_loop):
13562 remove prematurely added error category and clean up the instances
13564 2005-10-21 Wim Taymans <wim@fluendo.com>
13566 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13567 (gst_base_sink_get_position), (gst_base_sink_query),
13568 (gst_base_sink_change_state):
13569 Simply set the right flag when going to playing, that's all
13570 we need to do instead of calling a function inside the object
13571 lock (that could take the lock as well and deadlock)
13573 2005-10-21 Wim Taymans <wim@fluendo.com>
13575 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13576 (gst_base_src_loop):
13577 Don't warn, the peer element knows what to do best when
13578 the seek failed, it might try something else.
13580 2005-10-21 Wim Taymans <wim@fluendo.com>
13582 * gst/base/gstbasesrc.c: (gst_base_src_init),
13583 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13586 2005-10-21 Wim Taymans <wim@fluendo.com>
13588 * docs/design/part-segments.txt:
13591 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13592 Correctly set caps, even on the subbufer.
13594 2005-10-21 Wim Taymans <wim@fluendo.com>
13596 * docs/gst/gstreamer-docs.sgml:
13597 * docs/gst/gstreamer-sections.txt:
13598 * gst/gstelement.h:
13601 * gst/gstmessage.h:
13604 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13608 And 2% more doc coverage.
13610 2005-10-21 Andy Wingo <wingo@pobox.com>
13612 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13613 position reporting.
13615 2005-10-20 Wim Taymans <wim@fluendo.com>
13617 * gst/gsterror.c: (gst_error_get_message):
13620 * gst/gststructure.c:
13625 2005-10-20 Wim Taymans <wim@fluendo.com>
13630 Another 1% more coverage.
13632 2005-10-20 Wim Taymans <wim@fluendo.com>
13634 * docs/gst/gstreamer-sections.txt:
13635 * gst/gstelement.c: (gst_element_get_state_func),
13636 (gst_element_abort_state), (gst_element_commit_state),
13637 (gst_element_lost_state):
13639 * gst/gstquery.c: (gst_query_set_position),
13640 (gst_query_parse_position), (gst_query_set_duration),
13641 (gst_query_parse_duration), (gst_query_new_convert):
13643 Yay! 1% more docs coverage.
13645 2005-10-20 Wim Taymans <wim@fluendo.com>
13648 * gst/gstquery.c: (gst_query_set_position),
13649 (gst_query_parse_position), (gst_query_set_duration),
13650 (gst_query_parse_duration), (gst_query_new_convert):
13652 * gst/gstutils.c: (gst_element_query_convert):
13654 Docs and consistency fixes.
13656 2005-10-20 Wim Taymans <wim@fluendo.com>
13662 2005-10-20 Wim Taymans <wim@fluendo.com>
13664 * gst/gstbin.c: (message_check), (bin_replace_message),
13665 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13666 (update_degree), (gst_bin_sort_iterator_next),
13667 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13668 Reworked the message handling a bit, cache the messages instead of
13669 only the senders. alows us to do more in the future.
13671 2005-10-20 Wim Taymans <wim@fluendo.com>
13673 * docs/design/part-TODO.txt:
13676 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13677 (gst_base_sink_query):
13678 Don't use clock time to report position when in EOS.
13680 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
13682 * tools/gst-inspect.c: (print_interfaces),
13683 (print_element_properties_info), (print_element_info):
13684 Fix interface output with gst-inspect -a; don't print
13685 newlines after double/float properties.
13687 2005-10-20 Wim Taymans <wim@fluendo.com>
13689 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13690 (gst_base_sink_query):
13691 Speed up current position calculation.
13693 * gst/base/gstbasesrc.c: (gst_base_src_query),
13694 (gst_base_src_default_newsegment):
13695 Correctly set stream position in newsegment.
13697 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13698 (update_degree), (gst_bin_sort_iterator_next),
13699 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13700 * gst/gstmessage.c: (gst_message_new_custom):
13701 Clean up debugging info
13703 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13704 (gst_queue_loop), (gst_queue_handle_src_query):
13707 2005-10-19 Wim Taymans <wim@fluendo.com>
13709 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13710 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13711 Fix query handling again.
13713 2005-10-19 Wim Taymans <wim@fluendo.com>
13715 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13716 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13717 * gst/base/gstbasesrc.c: (gst_base_src_query):
13718 * gst/elements/gstfilesink.c: (gst_file_sink_query):
13719 * gst/elements/gsttypefindelement.c:
13720 (gst_type_find_handle_src_query), (find_element_get_length),
13721 (gst_type_find_element_activate):
13724 * gst/gstquery.c: (gst_query_new_position),
13725 (gst_query_set_position), (gst_query_parse_position),
13726 (gst_query_new_duration), (gst_query_set_duration),
13727 (gst_query_parse_duration), (gst_query_set_segment),
13728 (gst_query_parse_segment):
13730 Bundling query position/duration is not a good idea since duration
13731 does not change much and we don't want to recalculate it for every
13732 position query, so they are separated again..
13733 Base value in segment query is not needed.
13735 * gst/gstqueue.c: (gst_queue_handle_src_query):
13736 * gst/gstutils.c: (gst_element_query_position),
13737 (gst_element_query_duration), (gst_pad_query_position),
13738 (gst_pad_query_duration):
13740 Updates for query API change.
13741 Added some docs here and there.
13743 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
13745 * check/gst/gstbin.c: (GST_START_TEST):
13746 * check/gst/gstghostpad.c: (GST_START_TEST):
13747 * check/pipelines/cleanup.c: (GST_START_TEST):
13748 wait on thread to die so we can check refcount correctly
13750 2005-10-18 Wim Taymans <wim@fluendo.com>
13752 * check/pipelines/stress.c: (GST_START_TEST):
13753 Make check a little more time consuming.
13755 2005-10-18 Wim Taymans <wim@fluendo.com>
13757 * check/Makefile.am:
13758 * check/pipelines/stress.c: (GST_START_TEST),
13759 (simple_launch_lines_suite), (main):
13760 Small state change torture test.
13762 * docs/design/part-states.txt:
13763 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13764 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13765 (gst_base_sink_change_state):
13766 Never take state lock from streaming thread, clean up ugly
13767 hacks. Unfortunatly core does not yet support nice ways to
13768 async commit state.
13770 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13772 Start state recalc if a STATE_DIRTY message is posted, but only
13773 on the toplevel bin.
13775 * gst/gstelement.c: (gst_element_sync_state_with_parent),
13776 (gst_element_get_state_func), (gst_element_abort_state),
13777 (gst_element_commit_state), (gst_element_lost_state),
13778 (gst_element_set_state_func), (gst_element_change_state):
13779 * gst/gstelement.h:
13780 State variables are now protected with the LOCK, the state
13781 lock is only used to serialize _set_state().
13783 2005-10-18 Wim Taymans <wim@fluendo.com>
13785 * check/gst/gstbin.c: (GST_START_TEST):
13786 * check/gst/gstmessage.c: (GST_START_TEST):
13787 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13788 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13790 * gst/gstelement.c: (gst_element_abort_state),
13791 (gst_element_commit_state), (gst_element_lost_state):
13792 * gst/gstmessage.c: (gst_message_new_state_changed),
13793 (gst_message_new_state_dirty), (gst_message_new_segment_start),
13794 (gst_message_new_segment_done), (gst_message_new_duration),
13795 (gst_message_parse_state_changed),
13796 (gst_message_parse_segment_start),
13797 (gst_message_parse_segment_done), (gst_message_parse_duration):
13798 * gst/gstmessage.h:
13799 * tools/gst-launch.c: (event_loop):
13800 Seriously, this is better than a previous commit as we only need
13801 to notify the fact that an element changed state in a streaming
13802 thread, marking the state of the parents dirty, hence the
13803 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13806 2005-10-18 Wim Taymans <wim@fluendo.com>
13808 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13809 (gst_bin_recalc_func):
13810 * gst/gstelement.c: (gst_element_set_clock),
13811 (gst_element_abort_state), (gst_element_lost_state):
13812 Cleanups, prepare for state change fixes.
13814 2005-10-18 Wim Taymans <wim@fluendo.com>
13817 * gst/gstelement.c: (gst_element_class_init),
13818 (gst_element_set_state), (gst_element_set_state_func):
13819 * gst/gstelement.h:
13820 Pending ABI changes.
13821 GThreadPool in GstBinClass to monitor async state changes.
13822 state_cookie in GstElement to detect concurrent gst/set state.
13823 set_state is now virtual too in case a very complicated element
13824 has to be constructed.
13826 2005-10-18 Wim Taymans <wim@fluendo.com>
13828 * check/gst/gstbin.c: (GST_START_TEST):
13829 * check/gst/gstmessage.c: (GST_START_TEST):
13830 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13831 * gst/gstbin.c: (bin_bus_handler):
13832 * gst/gstelement.c: (gst_element_commit_state),
13833 (gst_element_lost_state):
13834 * gst/gstmessage.c: (gst_message_new_state_changed),
13835 (gst_message_new_segment_start), (gst_message_new_segment_done),
13836 (gst_message_new_duration), (gst_message_parse_state_changed),
13837 (gst_message_parse_segment_start),
13838 (gst_message_parse_segment_done), (gst_message_parse_duration):
13839 * gst/gstmessage.h:
13840 * tools/gst-launch.c: (event_loop):
13841 Make messages future proof.
13842 state-change gets a flag if it was a message comming from the
13844 segment-start/stop can also be specified in other formats.
13845 A message to notify an app that a pipeline changed playback
13847 Also fix a GstMessage leak in -launch
13849 2005-10-18 Andy Wingo <wingo@pobox.com>
13851 * gst/gstelement.c (gst_element_dispose): More helpful message.
13853 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13855 reviewed by: <delete if not using a buddy>
13857 * common/gtk-doc.mak:
13859 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13861 * gst/gstregistry.c: (gst_registry_scan_path_level):
13862 unref a plug-in we get that was already initialized
13864 2005-10-18 Stefan Kost <ensonic@users.sf.net>
13866 * docs/gst/gstreamer-sections.txt:
13867 * docs/libs/gstreamer-libs-sections.txt:
13868 * gst/gstelement.h:
13869 add new api entries
13870 hide internal macro
13872 2005-10-17 Andy Wingo <wingo@pobox.com>
13874 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13877 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13879 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13881 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13882 (gst_element_get_state_func): Better debug message.
13883 (gst_element_commit_state): s/INFO/DEBUG/.
13884 (gst_element_lost_state, gst_element_change_state):
13886 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13887 (gst_message_new_custom): s/INFO/LOG/.
13889 2005-10-17 Michael Smith <msmith@fluendo.com>
13891 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13892 Check if end time is valid using end time, not start time.
13894 2005-10-17 Stefan Kost <ensonic@users.sf.net>
13896 * check/gst-libs/controller.c: (GST_START_TEST),
13897 (gst_controller_suite):
13898 * libs/gst/controller/gstcontroller.c:
13899 (gst_controlled_property_set_interpolation_mode):
13900 * libs/gst/controller/gstcontroller.h:
13901 * libs/gst/controller/gstinterpolation.c:
13902 * testsuite/controller/.cvsignore:
13903 * testsuite/controller/Makefile.am:
13904 * testsuite/controller/interpolator.c:
13905 merge controller testsuites
13907 remove mem-chunk from docs
13909 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13911 * gst/gstmemchunk.c:
13912 * gst/gstmemchunk.h:
13913 * gst/gsttrashstack.c:
13914 * gst/gsttrashstack.h:
13915 out. get out. you're fired. to the Attic !
13917 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13919 * gst/gstcaps.c: (gst_caps_intersect):
13920 fix signedness issues in a (hopefully) correct way
13921 * gst/gstelement.c: (gst_element_pads_activate):
13923 * gst/gstobject.c: (gst_object_set_parent):
13926 2005-10-17 Julien MOUTTE <julien@moutte.net>
13928 * gst/gstvalue.h: Fix prototypes.
13930 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13932 * docs/gst/gstreamer-sections.txt:
13933 * gst/gst.c: (gst_version_string):
13935 * gst/gstversion.h.in:
13936 * win32/common/libgstreamer.def:
13937 add gst_version_string ()
13939 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13943 * gst/gst.c: (init_post):
13944 * win32/common/config.h.in:
13946 * gst/gstcaps.c: (gst_caps_intersect):
13947 use gint64, the range could be bigger than a guint
13949 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13952 document potential problem in 2038
13954 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13956 * gst/gstcaps.c: (gst_caps_intersect):
13957 Fix guint j diving under 0
13959 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13962 * win32/common/config.h:
13963 * win32/common/config.h.in:
13964 check for process.h, declares getpid() on Windows
13966 include process.h if we have it
13967 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13968 * gst/gstmemchunk.h:
13969 fix signedness issues
13970 * win32/common/libgstreamer.def:
13973 2005-10-16 Julien MOUTTE <julien@moutte.net>
13975 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13976 fix. Because of unsigned ints, caps intersection was going nuts and
13977 trying to access structures with G_MAXUINT index. That fixes
13978 videotestsrc ! ffmpegcolorspace ! fakesink
13979 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13982 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13985 use the gettext macro
13986 * gst/elements/gstelements.c:
13988 * gst/indexers/gstindexers.c:
13989 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13990 * win32/common/config.h:
13992 * win32/common/config.h.in:
13993 add the template to generate config.h
13994 * win32/common/gstenumtypes.c:
13995 * win32/common/gstversion.h:
13998 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
14000 * gst/gst.c: (gst_version):
14001 * gst/gstversion.h.in:
14004 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
14007 Oops, add missing closing bracket.
14009 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14012 use common m4's for argument checking
14014 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
14016 * docs/gst/gstreamer-sections.txt:
14018 Add GST_EVENT_TYPE_NAME() macro.
14020 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14023 * gst/gstpluginfeature.c:
14025 privatize more symbols
14027 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14030 add srcdir, builddir includes to GST_ALL_CFLAGS, since
14031 everything that uses GStreamer API should have the includes
14033 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14035 * docs/gst/gstreamer-sections.txt:
14036 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
14038 give each value a _get_type, removes the DATA exports
14040 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14044 remove _gst_registry_auto_load, not used anymore
14045 * gst/gstbin.c: (gst_bin_get_type):
14047 * gst/gstelement.c: (gst_element_get_type):
14048 * gst/gstelement.h:
14049 * gst/gstobject.c: (gst_object_get_type):
14051 * gst/gstpad.c: (gst_pad_get_type):
14053 make _get_type functions similar, fixes data export from library
14055 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14058 correctly make conditionals
14059 * gst/elements/Makefile.am:
14060 * gst/elements/gstelements.c:
14061 fix typo causing fdsrc not to build
14063 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14065 * testsuite/Makefile.am:
14066 * testsuite/bytestream/.cvsignore:
14067 * testsuite/bytestream/Makefile.am:
14068 * testsuite/bytestream/filepadsink.c:
14069 * testsuite/bytestream/gstbstest.c:
14070 * testsuite/bytestream/test1.c:
14071 * testsuite/bytestream/testfile1:
14072 * testsuite/caps/normalisation.c:
14073 * testsuite/caps/random.c: (main):
14074 * testsuite/cleanup/.cvsignore:
14075 * testsuite/cleanup/Makefile.am:
14076 * testsuite/cleanup/cleanup1.c:
14077 * testsuite/cleanup/cleanup2.c:
14078 * testsuite/cleanup/cleanup3.c:
14079 * testsuite/cleanup/cleanup4.c:
14080 * testsuite/cleanup/cleanup5.c:
14081 * testsuite/controller/interpolator.c:
14082 * testsuite/debug/printf_extension.c: (main):
14083 * testsuite/elements/tee.c:
14084 * testsuite/negotiation/.cvsignore:
14085 * testsuite/negotiation/Makefile.am:
14086 * testsuite/negotiation/pad_link.c:
14087 * testsuite/pad/Makefile.am:
14088 * testsuite/pad/chainnopull.c:
14089 * testsuite/pad/getnopush.c:
14090 * testsuite/pad/link.c:
14091 * testsuite/refcounting/sched.c: (create_pipeline):
14092 * testsuite/registry/Makefile.am:
14093 * testsuite/registry/gst-print-formats.c:
14094 * testsuite/schedulers/.cvsignore:
14095 * testsuite/schedulers/142183-2.c:
14096 * testsuite/schedulers/142183.c:
14097 * testsuite/schedulers/143777-2.c:
14098 * testsuite/schedulers/143777.c:
14099 * testsuite/schedulers/147713.c:
14100 * testsuite/schedulers/147819.c:
14101 * testsuite/schedulers/147894-2.c:
14102 * testsuite/schedulers/147894.c:
14103 * testsuite/schedulers/Makefile.am:
14104 * testsuite/schedulers/group_link.c:
14105 * testsuite/schedulers/queue_link.c:
14106 * testsuite/schedulers/relink.c:
14107 * testsuite/schedulers/unlink.c:
14108 * testsuite/schedulers/unref.c:
14109 * testsuite/schedulers/useless_iteration.c:
14110 * testsuite/states/bin.c:
14111 clean out/remove some stuff from the testsuite directories
14113 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14116 check for some headers
14117 * gst/elements/Makefile.am:
14118 * gst/elements/gstelements.c:
14119 don't compile fdsrc without sys/socket.h
14120 * gst/indexers/Makefile.am:
14121 * gst/indexers/gstindexers.c: (plugin_init):
14122 don't compile fileindex without mmap
14124 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14131 * check/Makefile.am:
14132 * docs/gst/Makefile.am:
14133 * examples/helloworld/Makefile.am:
14135 * gst/base/Makefile.am:
14136 * gst/check/Makefile.am:
14137 * gst/elements/Makefile.am:
14138 * gst/indexers/Makefile.am:
14139 * gst/parse/Makefile.am:
14140 * libs/gst/controller/Makefile.am:
14141 * libs/gst/dataprotocol/Makefile.am:
14142 * examples/helloworld/helloworld.c: (event_loop):
14143 compile fixes, though it's not being compiled currently
14145 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14147 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
14148 Add some simple tests for the new taglist date API.
14150 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14152 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
14153 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
14154 Beautify 'last-message' output: print 'none' for buffer timestamps
14155 and durations if none is set; improve alignment with next messages.
14157 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14159 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
14160 * gst/gstpluginfeature.h:
14161 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
14162 * gst/gstregistry.h:
14163 * docs/gst/gstreamer-sections.txt:
14164 Add new API to check plugin feature version requirements.
14166 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
14167 Some basic tests for the above.
14169 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14171 * gst/gststructure.c: (gst_structure_to_string):
14172 guard against NULL printf - happens when for example
14173 a message structure with GstClock gets serialized
14175 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
14177 * gst/base/gstcollectpads.c: (gst_collectpads_event):
14178 Fix presumable copy'n'pasto.
14180 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14182 * gst/elements/gstfakesrc.h:
14183 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
14184 * gst/elements/gsttypefindelement.c:
14185 fix some signedness
14186 * gst/elements/gstfilesink.c: (gst_file_sink_render):
14187 I wonder if this could actually write +2GB files before
14189 2005-10-13 Andy Wingo <wingo@pobox.com>
14191 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
14192 Fix Timmeke Waymans bug.
14193 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
14194 string of the proper length to gst_caps_from_string. There's a
14195 potential for, before this fix, that this could cause someone
14196 connecting over the network to cause a segfault if the payload is
14197 not NUL-terminated.
14199 2005-10-13 Stefan Kost <ensonic@users.sf.net>
14201 * docs/design/draft-push-pull.txt:
14202 * docs/design/part-overview.txt:
14203 * docs/random/TODO-pre-0.9:
14204 * docs/random/old/ChangeLog.gstreamer:
14205 * gst/base/gstpushsrc.c:
14209 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14211 * gst/glib-compat.c: (gst_flags_get_first_value):
14212 * gst/glib-compat.h:
14213 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
14214 (gst_value_compare_double), (gst_value_serialize_flags):
14215 GLib 2.6 g_flags_get_first_value has a bug that triggers an
14218 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14220 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14221 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14223 * tools/gst-launch.c: (event_loop):
14224 print out clock nicely
14226 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
14228 * docs/gst/gstreamer-sections.txt:
14229 * gst/gsttaglist.h:
14230 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
14231 (gst_tag_list_get_date_index):
14232 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
14233 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
14235 2005-10-13 Julien MOUTTE <julien@moutte.net>
14237 * gst/base/gstcollectpads.c: (gst_collectpads_event),
14238 (gst_collectpads_chain):
14239 * gst/base/gstcollectpads.h: Handle newsegment and store informations
14242 2005-10-13 Stefan Kost <ensonic@users.sf.net>
14244 * docs/gst/gstreamer-sections.txt:
14247 * tools/gst-inspect.c: (main):
14248 * tools/gst-launch.c: (main):
14249 * tools/gst-run.c: (main):
14250 * tools/gst-xmlinspect.c: (main):
14251 fix GOption context leaks
14254 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14258 * win32/common/config.h:
14260 * win32/vs6/grammar.dsp:
14261 * win32/vs6/libgstelements.dsp:
14262 * win32/vs6/libgstreamer.dsp:
14265 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14267 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14268 * gst/base/gstbasesrc.c: (gst_base_src_query):
14269 fix more guint64<->gdouble conversions
14271 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14274 add win32-update target
14275 * win32/common/gstconfig.h:
14276 * win32/common/gstenumtypes.c:
14277 * win32/common/gstenumtypes.h:
14278 * win32/common/gstversion.h:
14279 add files that visual studio can't generate
14281 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14284 add a win32-update target
14287 2005-10-12 Wim Taymans <wim@fluendo.com>
14289 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14290 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
14291 * gst/gstelement.c: (gst_element_commit_state),
14292 (gst_element_set_state):
14293 Protect flags with proper lock.
14294 unref provided cached clock in dispose.
14296 2005-10-12 Stefan Kost <ensonic@users.sf.net>
14299 * gst/gstminiobject.h:
14301 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
14302 removed unused flags from miniobject
14305 2005-10-12 Wim Taymans <wim@fluendo.com>
14307 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14308 (gst_file_sink_event), (gst_file_sink_render):
14309 Flush before seeking.
14311 2005-10-12 Andy Wingo <wingo@pobox.com>
14313 * gst/gst.c (gst_init_check): Ignore unknown options, as has
14314 always been the case.
14316 2005-10-12 Stefan Kost <ensonic@users.sf.net>
14318 * check/gst/gstbin.c: (GST_START_TEST):
14319 * docs/gst/gstreamer-sections.txt:
14320 * gst/base/gstbasesink.c: (gst_base_sink_init):
14321 * gst/base/gstbasesrc.c: (gst_base_src_init),
14322 (gst_base_src_get_range), (gst_base_src_check_get_range),
14323 (gst_base_src_start), (gst_base_src_stop):
14324 * gst/base/gstbasesrc.h:
14325 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
14326 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14327 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
14331 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
14333 * gst/gstelement.c: (gst_element_is_locked_state),
14334 (gst_element_set_locked_state), (gst_element_commit_state),
14335 (gst_element_set_state):
14336 * gst/gstelement.h:
14337 * gst/gstindex.c: (gst_index_init):
14339 * gst/gstminiobject.h:
14340 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
14341 (gst_object_set_parent):
14343 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
14344 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
14346 * gst/gstpadtemplate.h:
14347 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
14348 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14349 * gst/gstpipeline.h:
14350 * gst/indexers/gstfileindex.c: (gst_file_index_load),
14351 (gst_file_index_commit):
14352 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
14353 * testsuite/pad/link.c: (gst_test_src_init),
14354 (gst_test_filter_init), (gst_test_sink_init):
14355 * testsuite/states/locked.c: (main):
14356 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
14357 moved bitshift from macro to enum definition
14359 2005-10-12 Wim Taymans <wim@fluendo.com>
14361 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
14362 * gst/elements/gstfilesink.c: (gst_file_sink_event),
14363 (gst_file_sink_render):
14364 Some more debugging info.
14366 2005-10-12 Wim Taymans <wim@fluendo.com>
14368 * docs/design/part-states.txt:
14369 * tools/gst-launch.c: (main):
14371 Revert non-intentional change.
14373 2005-10-12 Wim Taymans <wim@fluendo.com>
14375 * check/gst/gstbin.c: (GST_START_TEST):
14376 * check/gst/gstelement.c: (GST_START_TEST):
14377 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
14378 * check/gst/gstghostpad.c: (GST_START_TEST):
14379 * check/gst/gstpipeline.c: (GST_START_TEST):
14380 * check/pipelines/simple_launch_lines.c: (run_pipeline):
14381 * check/states/sinks.c: (GST_START_TEST):
14382 * gst/elements/gsttypefindelement.c: (stop_typefinding):
14383 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14384 (gst_bin_remove_func), (gst_bin_get_state_func),
14385 (gst_bin_recalc_state), (gst_bin_change_state_func),
14387 * gst/gstelement.c: (gst_element_get_state_func),
14388 (gst_element_get_state), (gst_element_abort_state),
14389 (gst_element_commit_state), (gst_element_set_state),
14390 (gst_element_change_state), (gst_element_change_state_func):
14391 * gst/gstelement.h:
14392 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
14393 (gst_pipeline_provide_clock_func):
14394 * gst/gstutils.c: (gst_element_link_pads_filtered):
14395 * tools/gst-launch.c: (main):
14396 * tools/gst-typefind.c: (main):
14397 Use GstClockTime in _get_state() instead of GTimeVal.
14398 Remove old code in gstutils.c
14400 2005-10-12 Andy Wingo <wingo@pobox.com>
14402 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
14405 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
14406 there is no task. Shouldn't affect any code, as nothing in our
14407 plugins checks this return value.
14408 (gst_pad_stop_task): Also take the stream lock if the pad has no
14409 task. Docs updated.
14411 2005-10-12 Wim Taymans <wim@fluendo.com>
14413 * gst/gstpad.c: (pre_activate), (post_activate),
14414 (gst_pad_activate_pull), (gst_pad_activate_push):
14415 Cleanup activation code. Reset old state if
14418 2005-10-12 Wim Taymans <wim@fluendo.com>
14420 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14421 (gst_base_sink_change_state):
14422 No need to prerol after receiving EOS.
14424 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14425 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
14426 * gst/elements/gstidentity.c: (gst_identity_event):
14427 Print events more verbosely.
14429 2005-10-12 Wim Taymans <wim@fluendo.com>
14431 * check/Makefile.am:
14432 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14433 * check/states/sinks2.c:
14434 Moved sinks2 testcode in sinks check.
14436 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14437 (gst_bin_remove_func), (gst_bin_recalc_state),
14438 (gst_bin_change_state_func), (bin_bus_handler):
14439 Fix potential race condition when _get_state() iterated over an
14440 ASYNC element right before it posted a state completion.
14443 Do proper cast here.
14445 * gst/gstevent.c: (gst_event_new_newsegment),
14446 (gst_event_parse_newsegment):
14447 A playback rate of 0.0 is not allowed.
14449 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14451 * win32/common/config.h:
14452 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
14453 (_trewinddir), (_ttelldir), (_tseekdir):
14454 * win32/common/dirent.h:
14455 * win32/common/gtchar.h:
14456 * win32/common/libgstbase.def:
14457 * win32/common/libgstreamer.def:
14458 * win32/vs6/grammar.dsp:
14459 * win32/vs6/gst_inspect.dsp:
14460 * win32/vs6/gst_launch.dsp:
14461 * win32/vs6/gstreamer.dsw:
14462 * win32/vs6/libgstbase.dsp:
14463 * win32/vs6/libgstelements.dsp:
14464 * win32/vs6/libgstreamer.dsp:
14465 Visual Studio 6 project files, and a new common directory.
14468 2005-10-11 Wim Taymans <wim@fluendo.com>
14470 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14471 (gst_base_sink_do_sync), (gst_base_sink_query),
14472 (gst_base_sink_change_state):
14473 * gst/base/gstbasesink.h:
14474 Correctly parse newsegment info.
14476 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14478 * gst/gst.c: (init_post):
14479 split plugin paths correctly
14481 2005-10-11 Wim Taymans <wim@fluendo.com>
14483 * check/gst/gstevent.c: (GST_START_TEST):
14484 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14485 (gst_base_sink_change_state):
14486 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14487 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14488 * gst/elements/gstfilesink.c: (gst_file_sink_event):
14489 * gst/gstevent.c: (gst_event_new_newsegment),
14490 (gst_event_parse_newsegment):
14492 Added extra flag to newsegment for future API freeze.
14493 Updated check and base elements.
14495 2005-10-11 Julien MOUTTE <julien@moutte.net>
14497 * gst/base/gstcollectpads.c: (gst_collectpads_init),
14498 (gst_collectpads_add_pad), (gst_collectpads_pop),
14499 (gst_collectpads_event), (gst_collectpads_chain):
14500 * gst/base/gstcollectpads.h: Handle EOS correctly.
14502 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14504 * tools/gst-launch.c: (main):
14505 more null protecting
14507 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14509 * gst/gst-i18n-lib.h:
14510 check for ENABLE_NLS, not GETTEXT_PACKAGE
14511 * gst/gstregistry.c: (gst_registry_add_plugin),
14512 (gst_registry_scan_path_level),
14513 (_gst_registry_remove_cache_plugins):
14514 protect possibly NULL strings
14515 * gst/parse/types.h:
14516 config.h already included before
14517 * tools/gst-inspect.c: (main):
14518 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14519 check for ENABLE_NLS, not GETTEXT_PACKAGE
14520 * tools/gst-launch.c: (main):
14521 check for ENABLE_NLS, not GETTEXT_PACKAGE
14523 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14526 if we don't have glib, fail before testing 2.8
14527 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14528 fix a leak, should fix plugins-base testsuite
14530 2005-10-11 Andy Wingo <wingo@pobox.com>
14532 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14533 take the mode we're going to as an arg. Go head and set the mode
14534 and flushing flags now, so that if the activate function starts a
14535 thread all the flags will be in the right state.
14536 (post_activate): Renamed also. Just handle making sure streaming
14537 finishes for the deactivation case, and setting the deactivated
14539 (gst_pad_set_active): Complain loudly if deactivation fails.
14540 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14541 (gst_pad_activate_push): Adapt to pre/post_activate changes,
14542 remove the terrible hack.
14544 2005-10-11 Wim Taymans <wim@fluendo.com>
14546 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14547 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14548 (gst_bin_recalc_state), (gst_bin_change_state_func),
14549 (gst_bin_dispose), (bin_bus_handler):
14551 Prepare to make current EOS message queue more generic.
14554 * gst/gstevent.c: (gst_event_new_newsegment),
14555 (gst_event_parse_newsegment):
14557 Rename base to stream_time.
14559 * gst/gstmessage.h:
14562 2005-10-11 Wim Taymans <wim@fluendo.com>
14564 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14565 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14566 (gst_bin_change_state_func), (bin_bus_handler):
14568 Work on proper clock selection.
14570 2005-10-11 Edward Hervey <edward@fluendo.com>
14572 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
14573 * libs/gst/controller/gstcontroller.h:
14574 Added GList* version of _remove_properties() in order to be able to wrap
14577 2005-10-11 Wim Taymans <wim@fluendo.com>
14579 * docs/design/part-states.txt:
14582 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14583 (gst_bin_change_state_func), (bin_bus_handler):
14584 Doc updates. Don't distribute the same clock over and over again.
14590 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14591 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14592 (gst_pad_send_event):
14594 Make probe emission threadsafe again.
14595 Register quarks and move _get_name() from utils.
14598 * gst/gstpipeline.c: (gst_pipeline_class_init),
14599 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14600 Only redistribute the clock of it changed.
14602 * gst/gstsystemclock.h:
14607 Moved the _flow_get_name() to GstPad.
14609 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14611 * check/gst-libs/gdp.c: (GST_START_TEST):
14612 * check/gst/gstcaps.c: (GST_START_TEST):
14613 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14614 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14615 (gst_dp_packet_from_caps):
14616 fix more valgrind warnings before turning up the heat
14618 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14620 * gst/parse/grammar.y:
14621 some cleanup before the hacking
14623 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14625 * gst/base/gstbasesrc.c: (gst_base_src_query):
14627 * gst/gstutils.c: (gst_guint64_to_gdouble),
14628 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14630 externalize, basesrc uses it
14631 obviously the implementation needs testing
14633 2005-10-10 Wim Taymans <wim@fluendo.com>
14635 * tests/sched/Makefile.am:
14636 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14637 (make_pipeline3), (make_pipeline4), (print_elem), (main):
14639 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14641 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14642 apparently converting from guint64 to double is not implemented
14645 2005-10-10 Wim Taymans <wim@fluendo.com>
14647 * check/Makefile.am:
14648 * check/generic/states.c: (GST_START_TEST):
14649 * check/gst/gstbin.c: (GST_START_TEST):
14650 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14651 * check/states/sinks.c: (GST_START_TEST):
14652 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14654 Check fixes, use API as stated in design docs, remove hacks.
14656 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14657 (gst_base_sink_change_state):
14658 Catch stopping our task while we're shutting down.
14660 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14661 (gst_bin_remove_func), (gst_bin_get_state_func),
14662 (gst_bin_recalc_state), (gst_bin_change_state_func),
14665 * gst/gstelement.c: (gst_element_init),
14666 (gst_element_get_state_func), (gst_element_abort_state),
14667 (gst_element_commit_state), (gst_element_lost_state),
14668 (gst_element_set_state), (gst_element_change_state),
14669 (gst_element_change_state_func):
14670 * gst/gstelement.h:
14671 New state change algorithm (see #318116)
14673 * gst/gstpipeline.c: (gst_pipeline_class_init),
14674 (gst_pipeline_init), (gst_pipeline_set_property),
14675 (gst_pipeline_get_property), (do_pipeline_seek),
14676 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14677 * gst/gstpipeline.h:
14678 Remove crude state change hacks.
14681 Remove crude hacks.
14683 * tools/gst-launch.c: (main):
14684 Fixes for state change. Needs some more work to fully use the
14687 2005-10-10 Andy Wingo <wingo@pobox.com>
14689 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14691 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14692 this flag, but it's not even in GLib 2.6. Odd. Hack around the
14695 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14697 * gst/gstiterator.c: (gst_iterator_new):
14698 Fix my previous commit: GTypes passed to gst_iterator_new()
14699 can be fundamental types.
14701 2005-10-10 Wim Taymans <wim@fluendo.com>
14703 * gst/gstelement.c: (gst_element_iterate_pad_list),
14704 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14705 (gst_element_iterate_sink_pads):
14706 Use src/sink pads lists for the respective iterators instead
14709 2005-10-10 Andy Wingo <wingo@pobox.com>
14711 Merged in popt removal + GOption addition patch from Ronald, bug
14714 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14715 GstElement macros around, remove popt-related symbols, add goption
14718 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14720 * docs/gst/Makefile.am:
14721 * docs/libs/Makefile.am: No POPT_CFLAGS.
14723 * examples/manual/Makefile.am:
14724 * docs/manual/basics-init.xml: Doc updates with an example.
14726 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14727 (gst_init), (parse_one_option), (parse_goption_arg):
14728 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14729 bit of hand merging and debugging to get the GOption stuff working
14732 * tests/Makefile.am:
14733 * tools/Makefile.am:
14734 * tools/gst-inspect.c: (main):
14735 * tools/gst-launch.c: (main):
14736 * tools/gst-run.c: (main):
14737 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14739 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14741 * gst/gstiterator.c: (gst_iterator_new):
14742 Add assertions to make sure passed GType is likely to really
14743 be a GType (as the compiler won't catch it if the size and
14744 GType arguments get mixed up, see #318447).
14746 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
14748 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14750 * gst/gstbin.c: (gst_bin_iterate_sorted):
14751 Pass GType and size arguments to gst_iterator_new() in the right
14752 order (maybe we should make _new() take the GType as first argument
14753 just like _new_list()?) (#318447).
14756 2005-10-10 Wim Taymans <wim@fluendo.com>
14758 * gst/gstelement.c: (gst_element_finalize):
14759 And free the GStaticRecMutex too
14761 2005-10-10 Andy Wingo <wingo@pobox.com>
14763 * gst/gstelement.c (gst_element_init, gst_element_finalize):
14764 Allocate and free the mutex properly.
14766 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14768 (GstElement): The state_lock is now recursive. Rebuild your
14769 plugins, suckers. Old macros adapted.
14771 * docs/gst/gstreamer-sections.txt: Doc updates.
14774 * gst/gstutils.c (g_static_rec_cond_timed_wait)
14775 (g_static_rec_cond_wait): Ported from state changes patch, while
14776 we wait on bug #317802 to be solved in a well-distributed GLib.
14778 * gst/gstelement.c (gst_element_change_state_func): Renamed from
14779 gst_element_change_state, variable name changes.
14780 (gst_element_change_state): Split out of gst_element_set_state in
14781 preparation for the state change merge. Doesn't pay attention to
14782 the 'transition' argument.
14783 (gst_element_set_state): Updates, hopefully purely cosmetic.
14784 (gst_element_sync_state_with_parent): MT-safety. Ported from the
14785 state change patch.
14786 (gst_element_get_state_func): Renamed from get_state, cosmetic
14789 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14791 * gst/elements/gstelements.c:
14792 * win32/GStreamer.vcproj:
14794 * win32/dirent.c: (_tseekdir):
14795 * win32/gst-inspect.vcproj:
14796 * win32/gst-launch.vcproj:
14797 * win32/gstconfig.h:
14798 * win32/gstelements.vcproj:
14799 * win32/gstenumtypes.c: (gst_object_flags_get_type):
14800 * win32/gstreamer.def:
14801 * win32/msvc71.sln:
14802 updates for the win32 build (patch from Sebastien Moutte)
14804 2005-10-10 Andy Wingo <wingo@pobox.com>
14806 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14807 gst_bin_get_state, cleaned up (but no logic changes).
14808 (bin_element_is_sink): Comment updates.
14809 (sink_iterator_filter): Remove needless cast.
14810 (gst_bin_iterate_sinks): Doc update.
14811 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14812 cleaned up (but no logic changes).
14814 * check/states/sinks.c (test_src_sink): Cleanups from the state
14816 (test_livesrc_sink): Sync on the state.
14818 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14819 the state change patch.
14821 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14824 * check/gst/gstbin.c: Merge in some style fixes and additional
14825 checks from Wim's state change patch.
14827 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14829 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14830 (gst_type_find_helper):
14831 Check whether we have the requested data already in our list of
14832 cached buffers before pulling a new buffer; also make the buffer
14833 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14835 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14840 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14841 don't use long long, it's not portable. Replacing with
14842 gint64 seems to work; let's hope no skeletons fall out of the closet.
14844 2005-10-10 Andy Wingo <wingo@pobox.com>
14846 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14848 2005-10-09 Stefan Kost <ensonic@users.sf.net>
14850 * docs/gst/gstreamer-sections.txt:
14855 * gst/gstmessage.c: (gst_message_parse_state_changed):
14858 more docs, fix compilation
14860 2005-10-09 Philippe Khalaf <burger@speedy.org>
14861 * gst/gstmessage.c:
14862 Fixed a few forgotten variables on previous commit
14864 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
14866 * gst/base/gsttypefindhelper.c: (helper_find_peek):
14867 Fix evil typefind crasher: getrange() might return a short
14868 buffer at the end of a file, but gst_type_find_peek() must
14869 either return the full data as requested or NULL, but
14870 never a short buffer.
14872 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
14874 * gst/gstmessage.c: (gst_message_new_state_changed),
14875 (gst_message_parse_state_changed):
14876 * gst/gstmessage.h:
14877 don't use "new", it's a C++ keyword
14879 2005-10-08 Wim Taymans <wim@fluendo.com>
14881 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14882 * gst/gstelement.c: (gst_element_post_message):
14883 * gst/gstpipeline.c: (gst_pipeline_change_state):
14884 Small docs and debug updates.
14886 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14888 * docs/gst/gstreamer-sections.txt:
14889 * gst/gstelementfactory.c:
14891 * gst/gsttaglist.c:
14894 2005-10-08 Wim Taymans <wim@fluendo.com>
14896 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14897 (gst_bin_dispose), (bin_bus_handler):
14898 Fix typos, add comments.
14899 Clear EOS list when going to PAUSED from any direction and do it
14900 in a threadsafe way.
14901 Get base time in a threadsafe way too.
14902 Fix confusing debug in the change_state function.
14903 Various other small cleanups.
14905 * gst/gstelement.c: (gst_element_post_message):
14906 Fix very verbose bus posting code.
14908 * gst/gstpipeline.c: (gst_pipeline_class_init),
14909 (gst_pipeline_set_property), (gst_pipeline_get_property),
14910 (gst_pipeline_change_state):
14911 Small ARG_ -> PROP_ cleanup
14913 2005-10-08 Wim Taymans <wim@fluendo.com>
14915 * gst/gstbin.c: (is_eos), (bin_bus_handler):
14916 Do a less CPU demanding EOS check because we can.
14918 2005-10-08 Wim Taymans <wim@fluendo.com>
14920 * libs/gst/dataprotocol/dataprotocol.c:
14921 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14922 (gst_dp_packet_from_event):
14923 * libs/gst/dataprotocol/dataprotocol.h:
14924 * libs/gst/dataprotocol/dp-private.h:
14925 It's about time we bump the version number.
14926 Since event types don't fit in the guint8 anymore describing
14927 the payload type, make payload type 16 bits wide.
14929 2005-10-08 Wim Taymans <wim@fluendo.com>
14931 * docs/design/part-TODO.txt:
14932 * docs/design/part-clocks.txt:
14933 * docs/design/part-events.txt:
14934 * docs/design/part-gstbin.txt:
14935 * docs/design/part-gstelement.txt:
14936 * docs/design/part-gstpipeline.txt:
14937 * docs/design/part-live-source.txt:
14938 * docs/design/part-messages.txt:
14939 * docs/design/part-overview.txt:
14940 * docs/design/part-states.txt:
14943 2005-10-08 Wim Taymans <wim@fluendo.com>
14947 Fix event quark registration.
14948 Add some space between events so we can insert them in the
14951 2005-10-08 Wim Taymans <wim@fluendo.com>
14953 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14954 (gst_base_sink_handle_buffer):
14955 Better log message.
14958 * gst/gstelement.h:
14961 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14962 (gst_queue_set_property), (gst_queue_get_property):
14964 Remove old unused properties.
14966 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14967 * docs/gst/gstreamer-sections.txt:
14968 * gst/gstmessage.c:
14969 * gst/gstmessage.h:
14970 * gst/gstminiobject.c:
14971 * gst/gstminiobject.h:
14975 lots of new docs and doc fixes
14977 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14979 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14981 * gst/gstregistry.c: (gst_registry_lookup_locked),
14982 (gst_registry_scan_path_level):
14983 * gst/gstregistryxml.c: (load_plugin):
14984 Only ever load one plugin for a given plugin basename.
14985 This ensures correct overriding of GST_PLUGIN_PATH over
14986 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14987 system installed plugins.
14989 2005-10-08 Wim Taymans <wim@fluendo.com>
14991 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14992 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14993 Prepare for doing QOS.
14995 2005-10-08 Wim Taymans <wim@fluendo.com>
14997 * check/gst/gstbin.c: (GST_START_TEST):
14998 * check/pipelines/cleanup.c: (GST_START_TEST):
14999 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15000 Allow new clock message too.
15002 2005-10-08 Wim Taymans <wim@fluendo.com>
15004 * gst/gstmessage.c: (gst_message_new_error),
15005 (gst_message_new_warning), (gst_message_new_tag),
15006 (gst_message_new_state_changed), (gst_message_new_clock_provide),
15007 (gst_message_new_clock_lost), (gst_message_new_new_clock),
15008 (gst_message_new_segment_start), (gst_message_new_segment_done),
15009 (gst_message_parse_state_changed),
15010 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
15011 (gst_message_parse_new_clock):
15012 * gst/gstmessage.h:
15013 Also carry the clock in question.
15015 2005-10-08 Wim Taymans <wim@fluendo.com>
15017 * gst/gstmessage.c: (gst_message_new_custom),
15018 (gst_message_new_eos), (gst_message_new_error),
15019 (gst_message_new_warning), (gst_message_new_tag),
15020 (gst_message_new_state_changed), (gst_message_new_clock_provide),
15021 (gst_message_new_new_clock), (gst_message_new_segment_start),
15022 (gst_message_new_segment_done), (gst_message_parse_state_changed),
15023 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
15024 * gst/gstmessage.h:
15026 Added clock related messages.
15028 * gst/gstpipeline.c: (gst_pipeline_change_state):
15029 Post message when the clock changed.
15031 * tools/gst-launch.c: (event_loop):
15034 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
15036 * tools/gst-inspect.c: (print_element_properties_info):
15037 Can't pass NULL strings to g_print() on windows.
15039 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15041 * docs/Makefile.am:
15042 * docs/gst/Makefile.am:
15043 * docs/gst/gstreamer-docs.sgml:
15044 * docs/gst/running.xml:
15045 * docs/version.entities.in:
15046 add a chapter on running GStreamer.
15047 document GST_DEBUG and GST_PLUGIN* env vars
15049 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15054 remove PLUGINS_BUILDDIR stuff
15055 * gst/gst.c: (init_post):
15056 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
15058 remove, it was condescending and not needed
15060 2005-10-08 Wim Taymans <wim@fluendo.com>
15062 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
15063 (gst_base_sink_handle_object), (gst_base_sink_event),
15064 (gst_base_sink_wait), (gst_base_sink_handle_event),
15065 (gst_base_sink_change_state):
15066 * gst/base/gstbasesink.h:
15067 Repost EOS message while going to PLAYING if still EOS.
15068 Make sure that when receiving a FLUSH_START we don't attempt
15069 to sync on the clock anymore.
15071 2005-10-08 Wim Taymans <wim@fluendo.com>
15073 * tools/gst-launch.c: (event_loop):
15074 Better message printout.
15076 2005-10-08 Wim Taymans <wim@fluendo.com>
15078 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
15079 (gst_bin_child_proxy_get_children_count):
15080 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
15081 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
15082 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
15083 (gst_child_proxy_set_valist):
15084 * gst/parse/grammar.y:
15085 Make ChildProxy threadsafe and fix mem leaks.
15087 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15089 * gst/gst.c: (init_post):
15090 debug the GST_PLUGIN_ env vars
15092 2005-10-08 Wim Taymans <wim@fluendo.com>
15094 * check/gst/gstbin.c: (GST_START_TEST):
15095 * check/gst/gstmessage.c: (GST_START_TEST):
15096 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15097 * gst/gstelement.c: (gst_element_commit_state),
15098 (gst_element_lost_state):
15099 * gst/gstmessage.c: (gst_message_new_state_changed),
15100 (gst_message_parse_state_changed):
15101 * gst/gstmessage.h:
15102 * tools/gst-launch.c: (event_loop):
15103 Added extra field to STATE_CHANGE message with the pending
15104 state, which will be different from the new state soon.
15106 2005-10-08 Wim Taymans <wim@fluendo.com>
15108 * gst/gstbus.c: (gst_bus_pop):
15110 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15111 Small cleanups and doc updates.
15113 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15115 * gst/gst.c: (init_pre):
15116 * gst/gstbin.c: (gst_bin_add_func):
15117 log distributing clocks and base time
15118 * gst/gstregistry.c: (gst_registry_add_plugin),
15119 (gst_registry_scan_path_level), (gst_registry_scan_path):
15120 clean up the debugging output a little
15121 * gst/gstutils.c: (gst_element_state_get_name):
15122 warn about a memleak (I've actually seen this be used, though
15123 it was probably a bug)
15125 2005-10-07 Wim Taymans <wim@fluendo.com>
15127 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15128 (gst_base_src_init), (gst_base_src_default_newsegment),
15129 (gst_base_src_newsegment), (gst_base_src_do_seek),
15130 (gst_base_src_loop), (gst_base_src_start):
15131 * gst/base/gstbasesrc.h:
15132 Make the newsegment event customizable by subclasses.
15134 2005-10-07 Wim Taymans <wim@fluendo.com>
15136 * gst/gstevent.c: (gst_event_new_buffersize),
15137 (gst_event_parse_buffersize):
15139 New event for future idea.
15141 2005-10-07 Andy Wingo <wingo@pobox.com>
15143 * gst/gstelement.c (gst_element_post_message): Doc update.
15145 * docs/gst/gstreamer-sections.txt: Update.
15147 * gst/gstmessage.c (gst_message_new_application): Made into a
15148 function like honest API calls.
15149 (gst_message_new_element): New message type.
15151 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
15153 * check/elements/fakesrc.c (test_no_preroll): New check, checks
15154 that setting a live fakesrc to PAUSED returns NO_PREROLL both
15157 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
15158 NO_PREROLL from gst_element_change_state to fall through.
15160 2005-10-07 Wim Taymans <wim@fluendo.com>
15162 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
15163 (gst_ghost_pad_do_activate_push):
15164 Activating a ghostpad with no internal pad in push mode
15167 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
15170 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
15171 Fixes compilation on Windows.
15173 2005-10-07 Michael Smith <msmith@fluendo.com>
15175 * tools/gst-inspect.c:
15176 Print out feature and plugin count at the end when printing out
15179 2005-10-04 Michael Smith <msmith@fluendo.com>
15181 * gst/gsterror.c: (_gst_stream_errors_init):
15182 Add another error string used in a few existing plugins.
15185 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15186 * tools/gst-inspect.c: (print_element_info):
15187 When a feature disappears from a plugin (and the feature exists in
15188 the cached registry file), things went horribly wrong. This isn't a
15189 complete fix, we should actually be removing the 'missing' features
15190 from the features list when we load the actual plugin. That's not
15193 2005-10-04 Johan Dahlin <johan@gnome.org>
15195 * check/gst/gstiterator.c: (GST_START_TEST):
15196 * gst/gstbin.c: (gst_bin_iterate_elements),
15197 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
15198 * gst/gstelement.c: (gst_element_iterate_pads):
15199 * gst/gstformat.c: (gst_format_iterate_definitions):
15200 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
15201 (gst_iterator_new_list), (gst_iterator_filter):
15202 * gst/gstiterator.h:
15203 * gst/gstquery.c: (gst_query_type_iterate_definitions):
15204 Add a GType to GstIterator, update callsites and tests.
15206 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15208 * gst/gstpad.c: (gst_pad_event_default_dispatch):
15209 give events a chance to be handled by event probes when the pad
15212 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15214 * gst/gstevent.c: (gst_event_type_get_name),
15215 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
15217 add string representations for event types
15219 2005-10-06 Wim Taymans <wim@fluendo.com>
15221 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
15222 Don't use NULL pointers.
15224 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15226 * gst/gst_private.h:
15228 * gst/gstelement.c:
15230 * gst/gstpluginfeature.c:
15231 widen the debug category in output to fit the biggest one we have
15232 add a bus category and use it
15233 play with the colors
15234 fix up some categories
15236 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15238 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
15239 add push activation of sink ghost pads.
15240 Andye, please verify
15242 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
15244 * gst/gstutils.c: (gst_element_link_pads):
15245 fix a bug in the case where neither element has a pad
15246 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15247 add a test for that case
15249 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
15251 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
15252 emit have-data before checking for peers. This allows
15253 for probe handlers to connect elements. This helps autopluggers.
15254 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
15256 add six checks, linked/unlinked with no/true/false probe
15258 2005-10-04 Wim Taymans <wim@fluendo.com>
15260 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
15261 (gst_fake_sink_event), (gst_fake_sink_preroll),
15262 (gst_fake_sink_render), (gst_fake_sink_change_state):
15263 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
15264 (gst_fake_src_get_property), (gst_fake_src_create),
15265 (gst_fake_src_stop):
15266 * gst/elements/gstidentity.c: (gst_identity_stop):
15267 Protect last_message with lock.
15269 2005-10-04 Edward Hervey <edward@fluendo.com>
15272 Added precision in the comments for GST_FORMAT_DEFAULT
15274 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
15276 * tools/gst-launch.c: (main):
15277 Don't try to run erroneous pipelines.
15279 2005-10-04 Julien MOUTTE <julien@moutte.net>
15281 * gst/gstbus.c: We don't need this header.
15283 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
15286 back to development
15288 === release 0.9.3 ===
15290 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
15294 Releasing 0.9.3, "Unregistered"
15296 2005-10-03 Andy Wingo <wingo@pobox.com>
15298 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
15299 whereby calling a pad's activatepush() function can start a thread
15300 that starts to push or pull before the pad gets the FLUSHING flag
15301 unset. Hack around it by holding the stream lock until the flag is
15302 set. Need to replace this with a proper solution. Together with
15303 the ghost pad fixes, this fixes mp3 playing/tagreading.
15305 * docs/design/part-gstghostpad.txt: Add a note about activation of
15306 proxy pads outside of ghost pads.
15308 * gst/gstghostpad.c: Implement the ghost pad activation design.
15310 2005-10-02 Andy Wingo <wingo@pobox.com>
15312 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
15313 It is volatile, after all.
15315 * docs/design/part-gstghostpad.txt: Flesh out activation with
15318 * gst/base/gstbasesrc.c (gst_base_src_init): Use
15321 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
15324 Fix (unused) AM_CONDITIONAL tests.
15326 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
15328 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15330 * gst/gstutils.c: (gst_pad_query_convert):
15331 Add assertion that makes sure src_val is >=0, just like
15332 gst_query_new_convert() has. (#315895)
15334 2005-09-30 Edward Hervey <edward@fluendo.com>
15336 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
15337 Let's not iterate pads we're not interested in, it avoids getting
15338 sky-high refcounts on sinkpad.
15340 2005-09-30 Wim Taymans <wim@fluendo.com>
15342 * gst/gstelement.c: (gst_element_set_state),
15343 (gst_element_change_state):
15344 Small tweak, element in ASYNC remains ASYNC.
15346 2005-09-30 Wim Taymans <wim@fluendo.com>
15348 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15349 Only error is an error.
15351 * gst/gstbin.c: (gst_bin_change_state):
15354 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
15355 Also call pad_block in pad alloc.
15357 * gst/gstutils.c: (gst_flow_get_name):
15360 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15362 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15363 (gst_base_src_get_range):
15364 Fix documentation typos. Add some more debug info.
15366 2005-09-29 David Schleef <ds@schleef.org>
15368 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
15369 more end-user friendly.
15370 * tools/gst-inspect.c: (main): Check if command-line argument is
15371 a file and attempt to load that file as a plugin.
15373 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15375 * check/gst/gstbin.c:
15376 * check/states/sinks.c:
15377 fix tests for the new warning
15378 * check/gst/gstpipeline.c:
15379 add a test for pipeline and bus interaction
15380 * gst/gstelement.c:
15381 elements should be NULL if they get disposed; add a warning if not
15383 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15386 for 2.6 refcounting, make debug log more correct by printing
15387 the actual refcounts at the time of swap (Wim)
15389 2005-09-29 Andy Wingo <wingo@pobox.com>
15391 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
15392 removes signal watches previously added via
15393 gst_bus_add_signal_watch.
15394 (gst_bus_add_signal_watch): Don't return the source id, just store
15395 it on the bus if there wasn't an id already.
15397 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
15398 add_signal_watch and remove_signal_watch.
15400 2005-09-29 Edward Hervey <edward@fluendo.com>
15402 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
15403 Better if we actually iterate the list :)
15405 2005-09-29 Wim Taymans <wim@fluendo.com>
15407 * check/gst/gstbin.c: (GST_START_TEST):
15408 Change for new bus API.
15410 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15411 (send_messages), (GST_START_TEST), (gstbus_suite):
15412 Change for new bus signal API.
15414 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
15415 (gst_bus_source_prepare), (gst_bus_source_check),
15416 (gst_bus_create_watch), (gst_bus_add_watch_full),
15417 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
15418 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
15420 Remove support for multiple GSources operating on different
15421 message types as it is too complex and unneeded when using
15423 Added support for receiving signals from the bus.
15425 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15427 * docs/libs/tmpl/gstdataprotocol.sgml:
15428 * docs/manual/advanced-dataaccess.xml:
15429 * gst/elements/gstcapsfilter.c:
15431 rename filter-caps to caps property
15433 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15435 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15436 More robust fraction string parsing.
15438 * docs/pwg/appendix-porting.xml:
15439 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
15441 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15443 * gst/gstcaps.c: (gst_caps_do_simplify):
15444 Thou shalt not free a structure and then continue using it
15445 in the next loop iteration.
15447 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
15449 Add test case for caps simplification.
15451 2005-09-29 Wim Taymans <wim@fluendo.com>
15453 * check/gst/gstbin.c: (GST_START_TEST):
15456 2005-09-29 Wim Taymans <wim@fluendo.com>
15458 * check/gst/gstbin.c: (GST_START_TEST):
15461 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15462 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15463 (find_element), (gst_bin_sort_iterator_next),
15464 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15465 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15466 (gst_bin_change_state), (gst_bin_dispose):
15467 A bin does not have a bus, it gets the bus from the parent.
15469 * gst/gstelement.c: (gst_element_requires_clock),
15470 (gst_element_provides_clock), (gst_element_is_indexable),
15471 (gst_element_is_locked_state), (gst_element_change_state),
15472 (gst_element_set_bus_func):
15475 * gst/gstpipeline.c: (gst_pipeline_class_init),
15476 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15477 The pipeline provides a bus.
15479 2005-09-28 Johan Dahlin <johan@gnome.org>
15481 * gst/gstmessage.c (gst_message_parse_state_changed): Use
15482 gst_structure_get_enum instead of gst_structure_get_int
15484 * gst/gststructure.c (gst_structure_get_enum): Impl.
15486 * gst/gststructure.h (gst_structure_get_enum): Add
15488 * docs/gst/gstreamer-sections.txt: Ditto
15490 * gst/gstmessage.c (gst_message_new_state_changed): Use
15491 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15492 which does introspection.
15493 Reviewed by Christian Schaller
15495 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15497 * gst/gstinfo.c: (gst_debug_log_default):
15498 don't do dummy g_strdup()s
15499 * libs/gst/controller/gstcontroller.c:
15500 (on_object_controlled_property_changed),
15501 (gst_controlled_property_new), (gst_controller_new_valist),
15502 (gst_controller_new_list),
15503 (gst_controller_remove_properties_valist), (gst_controller_set),
15504 (gst_controller_get), (gst_controller_sync_values),
15505 (gst_controller_get_value_array), (_gst_controller_class_init),
15506 (gst_controller_get_type):
15507 * libs/gst/controller/gstcontroller.h:
15508 * libs/gst/controller/gstinterpolation.c:
15509 (gst_controlled_property_find_timed_value_node):
15510 convert // to /**/ comments
15512 2005-09-28 Wim Taymans <wim@fluendo.com>
15514 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15515 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15516 (gst_bus_sync_signal_handler):
15518 Added async-message and sync-message signals to the bus.
15519 Added helper BusFunc to emit signals for all posted messages.
15521 * gst/gstmessage.c: (gst_message_type_get_name),
15522 (gst_message_type_to_quark), (gst_message_get_type):
15523 * gst/gstmessage.h:
15524 Register quarks for message names.
15526 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15528 * docs/libs/gstreamer-libs-sections.txt:
15529 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15530 (gst_controller_new_list):
15531 * libs/gst/controller/gstcontroller.h:
15532 added another constructor for language bindings
15534 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
15536 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15540 * gst/gstinfo.c: (_gst_debug_init):
15541 slightly more readable color for refcount debugging
15543 2005-09-28 Wim Taymans <wim@fluendo.com>
15545 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15546 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15547 (find_element), (gst_bin_sort_iterator_next),
15548 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15549 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15550 (gst_bin_change_state), (gst_bin_dispose):
15551 Small doc fixes. get_clock -> provide_clock.
15553 * gst/gstelement.c: (gst_element_class_init),
15554 (gst_element_provides_clock), (gst_element_provide_clock),
15555 (gst_element_get_clock), (gst_element_commit_state),
15556 (gst_element_lost_state):
15557 * gst/gstelement.h:
15558 Make get/set_clock() symetric. Add provide_clock vmethod since
15559 that is actually what this function does.
15561 * gst/gstpipeline.c: (gst_pipeline_class_init),
15562 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15563 (gst_pipeline_get_clock):
15564 get_clock -> provide_clock.
15566 2005-09-28 Andy Wingo <wingo@pobox.com>
15568 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15569 lieu of real docs...
15571 * gst/elements/gstfdsrc.c: Cleaned up a bit.
15573 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
15575 * gst/elements/gstcapsfilter.c:
15576 * gst/elements/gstfakesink.c:
15577 * gst/elements/gstfakesrc.c:
15578 * gst/elements/gstfdsink.c:
15579 * gst/elements/gstfdsrc.c:
15580 * gst/elements/gstfilesink.c:
15581 * gst/elements/gstfilesrc.c:
15582 * gst/elements/gstidentity.c:
15583 * gst/elements/gsttee.c:
15584 * gst/elements/gsttypefindelement.c:
15585 Make element details static.
15587 2005-09-28 Wim Taymans <wim@fluendo.com>
15589 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15590 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15591 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15592 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15593 (gst_bin_change_state), (gst_bin_dispose):
15594 Some documentation updates.
15595 Clean up dispose handlers.
15597 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15598 * gst/gstpad.c: (gst_pad_dispose):
15599 Clean up dispose handler.
15601 * gst/gstpipeline.c: (gst_pipeline_change_state):
15602 Removed spurious UNLOCK.
15604 2005-09-27 Stefan Kost <ensonic@users.sf.net>
15606 * docs/gst/gstreamer-sections.txt:
15607 * gst/base/gstbasesrc.h:
15608 * gst/gstelement.h:
15612 * gst/gstpipeline.c:
15613 * gst/gstpipeline.h:
15616 added two new functions to the docs
15617 documents all undocumented GstXXXFlags
15618 completed some incomplete docs
15620 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
15622 * gst/gstbin.c: (gst_bin_dispose):
15623 * gst/gstelement.c: (gst_element_dispose):
15624 remove now useless and leaky resurrection code in dispose
15625 * gst/base/gstbasesrc.c: (gst_base_src_init):
15626 * gst/gstelementfactory.c: (gst_element_factory_create):
15627 * gst/gstobject.c: (gst_object_set_parent):
15630 2005-09-27 Wim Taymans <wim@fluendo.com>
15632 * docs/design/part-TODO.txt:
15635 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15636 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15637 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15638 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15639 (gst_bin_change_state):
15640 * gst/gstelement.h:
15641 Remove element variable, we keep element info in the iterator now.
15643 2005-09-27 Andy Wingo <wingo@pobox.com>
15645 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15648 2005-09-27 Wim Taymans <wim@fluendo.com>
15650 * check/gst/gstbin.c: (GST_START_TEST):
15651 Enable check that works now.
15653 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15654 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15655 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15656 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15657 (gst_bin_change_state):
15659 Redid the state change algorithm using a topological sort algo.
15660 Handles all cases correctly.
15661 Exposed iterator for state change order.
15663 * gst/gstelement.h:
15664 Temp storage for state changes. Need to get rid of this soon.
15666 2005-09-27 Wim Taymans <wim@fluendo.com>
15668 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15669 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15670 (link_fold_func), (gst_pad_proxy_setcaps):
15671 Leak fixes, the fold functions need to unref the passed object and
15672 _get_parent_*() returns ref to parent.
15674 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15676 * check/gst/gstbuffer.c: (test_make_writable):
15677 Plug leak in test case and fix 'make check-valgrind'
15679 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15681 * gst/gstbuffer.c: (gst_subbuffer_init):
15682 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15683 works correctly in all circumstances (we could have just copied
15684 the parent buffer's readonly flag, but conceptually it seems
15685 cleaner to mark all subbuffers as read-only). (based on patch
15686 by Alessandro Decina, #314710).
15688 * check/gst/gstbuffer.c: (create_read_only_buffer),
15689 (test_make_writable), (test_subbuffer_make_writable),
15691 Add some tests for gst_buffer_make_writable().
15693 2005-09-27 Wim Taymans <wim@fluendo.com>
15695 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15696 use gst_object_has_ancestor().
15698 * gst/gstobject.c: (gst_object_has_ancestor):
15700 gst_object_has_ancestor() copied from gstbin.c as it is a
15703 * tests/instantiate/create.c: (create_all_elements):
15704 * tests/lat.c: (handoff_src), (handoff_sink):
15705 * tests/sched/runxml.c: (main):
15706 * tests/seeking/seeking1.c: (main):
15707 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15709 Fix compilation of some tests.
15711 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15714 Remove comment. GST_TYPE_G_ERROR is here to stay,
15715 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15716 (#316961, #300610).
15718 2005-09-26 Wim Taymans <wim@fluendo.com>
15720 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15721 Added check that shows error in state change order.
15723 2005-09-26 Wim Taymans <wim@fluendo.com>
15725 * gst/gstbin.c: (gst_bin_change_state):
15726 Make state change function use 3 queues again, we were
15727 adding elements in the wrong order.
15729 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15732 * gst/gstpad.c: (gst_pad_dispose):
15733 Added some debug info first.
15735 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
15737 * docs/design/draft-push-pull.txt:
15738 * docs/design/part-events.txt:
15739 * docs/design/part-overview.txt:
15740 * docs/design/part-scheduling.txt:
15741 Replace all _pull_region() with _pull_range()
15743 2005-09-26 Andy Wingo <wingo@pobox.com>
15745 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15747 * check/gst-libs/controller.c: Update for controller api change.
15750 * tests/Makefile.am:
15751 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15752 over by GLib bug 118439.
15754 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15755 routines to a function.
15757 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15759 * libs/gst/controller/gsthelper.c:
15760 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15761 (gst_object_sync_values): Renamed from sink_values. Ugh.
15763 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15765 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15766 Renamed from controller_key, as it is exported.
15768 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15770 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
15775 * gst/gstpadtemplate.h:
15778 * gst/gstqueryutils.c:
15779 * gst/gstqueryutils.h:
15780 remove queryutils headers after moving the two used functions
15781 to gstquery. also fixes build problem for gstsiddec
15783 2005-09-26 Michael Smith <msmith@fluendo.com>
15785 * tools/gst-launch.1.in:
15786 Correct documentation in manpage of debug syntax
15788 2005-09-26 Wim Taymans <wim@fluendo.com>
15790 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15791 (gst_base_src_is_seekable), (gst_base_src_change_state):
15792 Some more debugging info.
15794 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15796 * docs/gst/gstreamer-sections.txt:
15797 * gst/base/gstbasetransform.h:
15801 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15803 * docs/gst/.cvsignore:
15804 * docs/gst/tmpl/.cvsignore:
15805 * docs/gst/tmpl/gstpipeline.sgml:
15806 * docs/gst/tmpl/gstplugin.sgml:
15807 * gst/gstpipeline.c:
15810 inlined the last two docs files
15811 removed the tmpl directory from cvs (no more conflicts here!)
15813 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15815 * docs/gst/gstreamer-sections.txt:
15816 * docs/gst/tmpl/.cvsignore:
15817 * docs/gst/tmpl/gstpad.sgml:
15818 * docs/gst/tmpl/gstpadtemplate.sgml:
15820 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15821 (gst_pad_finalize), (gst_pad_set_pad_template):
15823 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15824 (gst_pad_template_class_init), (gst_pad_template_init),
15825 (gst_pad_template_dispose), (name_is_valid),
15826 (gst_static_pad_template_get), (gst_pad_template_new),
15827 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15828 (gst_pad_template_pad_created):
15829 * gst/gstpadtemplate.h:
15830 inlined two more docs
15831 factored gstpadtemplate out of gstpad
15833 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
15835 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15836 (test_children_state_change_order_semi_sink):
15837 Fix test case: we can't rely on a fixed state change order when
15838 going from READY => PAUSED because the sink might commit its
15839 new state first when the first buffer created by the source
15840 reaches the sink before the source has finished its change state.
15841 (Test case still fails at times, see #316856, comment 5 onwards)
15843 2005-09-24 Wim Taymans <wim@fluendo.com>
15845 * docs/design/part-events.txt:
15846 * docs/design/part-gstbus.txt:
15847 * docs/design/part-gstpipeline.txt:
15848 * docs/design/part-messages.txt:
15849 * docs/design/part-overview.txt:
15850 * docs/design/part-segments.txt:
15854 * gst/gstelement.c:
15857 * gst/gstiterator.c:
15858 Various documentation updates.
15860 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
15863 Well, that's embarassing. Luckily we weren't using
15864 GST_CLOCK_DIFF anywhere.
15866 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15868 * common/gtk-doc.mak:
15869 don't fail on building XML, FC4 slave shows a bunch of doc
15870 missing bits that I don't get
15872 * gst/gstpipeline.c:
15873 * gst/gststructure.c:
15876 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15878 * docs/design/part-gstbin.txt:
15879 * docs/design/part-gstbus.txt:
15881 Add blurb about how the bus goes into flushing mode and
15882 drops all messages when its bin goes from READY into NULL
15885 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15887 * docs/gst/gstreamer-sections.txt:
15888 * gst/gststructure.c: (gst_structure_get_clock_time):
15889 * gst/gststructure.h:
15890 add a method to get a GstClockTime out of a structure
15892 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15894 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15895 (test_children_state_change_order_semi_sink), (gst_bin_suite):
15896 Added test to check state change order in bins (can still be made
15897 to fail here under heavy disk load; bails out with 'Push on pad
15898 fakesink:sink0, but it was not activated in push mode').
15900 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15901 Fix state change order when there is only a semi sink (#316856)
15903 * gst/gstbus.c: (gst_bus_class_init):
15904 Use _class_peek_parent(), not _class_ref(); fix docs to say
15905 'default main context' instead of 'mainloop' where that is
15908 * gst/gstelement.c: (gst_element_commit_state),
15909 (gst_element_set_state):
15910 Fix typos in debug messages
15912 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15915 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15916 * gst/gstpluginfeature.c:
15918 various doc updates
15919 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15920 change an assert into an error until it gets fixed properly
15922 2005-09-23 Stefan Kost <ensonic@users.sf.net>
15924 * docs/gst/gstreamer-sections.txt:
15925 * docs/gst/tmpl/.cvsignore:
15926 * docs/gst/tmpl/gstelement.sgml:
15927 * docs/gst/tmpl/gstinfo.sgml:
15928 * docs/gst/tmpl/gstobject.sgml:
15929 * gst/gstelement.c:
15930 * gst/gstelement.h:
15933 * gst/gstobject.c: (gst_object_class_init):
15935 inlined 3 more biiiig doc files and added some missing docs on the fly
15937 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15939 * check/gst/.cvsignore:
15940 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15941 * gst/gstregistryxml.c: (load_plugin),
15942 (gst_registry_xml_save_plugin):
15943 put back source in registry. add checks for find_plugin.
15944 * testsuite/states/bin.c: (assert_state), (empty_bin),
15945 (test_adding_one_element), (main):
15946 * testsuite/states/locked.c: (main):
15947 some compile/run fixes
15949 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
15951 * check/gst/gstvalue.c: (GST_START_TEST):
15952 fix leaks in the test itself
15954 2005-09-22 Wim Taymans <wim@fluendo.com>
15956 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15957 (gst_base_sink_send_event), (gst_base_sink_peer_query),
15958 (gst_base_sink_query):
15959 Prepare for more accurate position reporting and query
15962 * gst/gstelement.c: (gst_element_send_event),
15963 (gst_element_set_state):
15966 2005-09-22 Wim Taymans <wim@fluendo.com>
15968 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15969 (gst_query_parse_segment):
15971 More documentation.
15972 Add segment query for future use.
15974 2005-09-22 Wim Taymans <wim@fluendo.com>
15976 * gst/gstbin.c: (gst_bin_add_func):
15977 Some more debug info.
15979 * gst/gstelement.c: (gst_element_send_event):
15980 Simplify send_event
15982 * gst/gstelement.h:
15983 Don't know how flags got broken.
15988 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15990 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15991 Add simplistic test suite for GST_TYPE_DATE serialisation and
15994 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15996 * docs/gst/gstreamer-sections.txt:
15997 * gst/gststructure.c: (gst_structure_set_valist),
15998 (gst_structure_get_date):
15999 * gst/gststructure.h:
16000 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
16001 (gst_date_copy), (gst_value_compare_date),
16002 (gst_value_serialize_date), (gst_value_deserialize_date),
16003 (gst_value_transform_date_string),
16004 (gst_value_transform_string_date), (_gst_value_initialize):
16006 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
16007 bunch of utility functions along with a hack that checks that
16008 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
16009 is required. Part of the grand scheme in #170777.
16011 2005-09-22 Andy Wingo <wingo@pobox.com>
16013 * gst/gstconfig.h.in: Psych out gtk-doc.
16015 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
16017 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
16019 * tools/gst-inspect.c (print_element_list): Plug some
16020 inconsequential leaks.
16022 * gst/gstregistry.c (gst_registry_get_default): Doc.
16024 * check/gst/gstplugin.c:
16025 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
16026 * gst/gstelementfactory.c (gst_element_factory_create):
16027 * gst/gstindexfactory.c (gst_index_factory_create): Update for
16030 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
16031 (gst_plugin_feature_load): Doc, don't eat refs.
16033 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
16034 (gst_plugin_list_free): Doc.
16035 (gst_plugin_load_file): Doc updates.
16037 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
16038 accessors returning refcounted objects, return a ref.
16040 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
16041 accessor for caps. IDEMPOTENCE. Oh yes.
16043 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
16045 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16047 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
16048 (_gst_debug_register_funcptr):
16049 Add mutex to serialise access to the hash table with
16050 the function pointer => function name string mapping;
16051 make that hash table static scope (#316809).
16053 * gst/registries/.cvsignore:
16054 Remove left-over file.
16056 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
16058 * docs/pwg/appendix-porting.xml:
16059 And something about newsegment events and caps-on-buffers to
16060 the porting guide (feel free to improve).
16062 2005-09-21 Andy Wingo <wingo@pobox.com>
16064 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
16065 data and event probes on the same pad.
16066 (test_buffer_probe_once): Test that removing probes from within
16067 the probe functions works.
16069 2005-09-21 Andy Wingo <wingo@pobox.com>
16071 * check/gst/gstutils.c: New file.
16072 (test_buffer_probe_n_times): A simple buffer probe test. More to
16075 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
16076 have-data::buffer, not have-data.
16077 (gst_pad_add_event_probe): Likewise for have-data::event.
16078 (gst_pad_add_data_probe): More docs. The part about 'resolving the
16079 peer' isn't quite right yet though.
16080 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
16081 (gst_pad_remove_data_probe): Change to take the guint handler_id
16082 as their arg, not the function+data, which is more glib-like.
16084 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
16085 the signal emission to indicate if the data is a buffer or an
16087 (gst_pad_get_type): Initialize buffer and event quarks.
16088 (gst_pad_class_init): have-data is now a detailed signal, yes it
16091 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
16093 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
16094 * gst/gstutils.c: (gst_util_set_value_from_string),
16095 (gst_util_set_object_arg):
16096 Don't put functional code in g_return_if_fail() or
16097 g_return_val_if_fail() statements, otherwise things will
16098 break when G_DISABLE_CHECKS is defined during compilation.
16100 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16102 * docs/gst/tmpl/.cvsignore:
16103 * docs/gst/tmpl/gstvalue.sgml:
16106 inlied another one and added some obvious docs
16108 2005-09-21 Wim Taymans <wim@fluendo.com>
16110 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
16111 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
16112 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
16113 (gst_fdsrc_get_property), (gst_fdsrc_create):
16114 * gst/elements/gstfdsrc.h:
16115 Properly implement fdsrc. Removed signal and timeout,
16116 better implemented somewhere else.
16118 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16120 * docs/gst/tmpl/.cvsignore:
16121 * docs/gst/tmpl/gstimplementsinterface.sgml:
16122 * gst/gstinterface.c:
16125 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16127 * docs/gst/gstreamer-sections.txt:
16128 * docs/gst/tmpl/.cvsignore:
16129 * docs/gst/tmpl/gstenumtypes.sgml:
16130 remove obsolete doc file
16132 2005-09-21 David Schleef <ds@schleef.org>
16134 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
16135 little beer, fix a little leak.
16137 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16139 * docs/gst/gstreamer-docs.sgml:
16140 * docs/gst/gstreamer-sections.txt:
16141 * docs/gst/tmpl/.cvsignore:
16145 * gst/gstelement.h:
16146 * gst/gstindex.c: (gst_index_class_init):
16148 * gst/gstindexfactory.c: (gst_index_factory_get_type),
16149 (gst_index_factory_class_init), (gst_index_factory_init),
16150 (gst_index_factory_finalize), (gst_index_factory_new),
16151 (gst_index_factory_destroy), (gst_index_factory_find),
16152 (gst_index_factory_create), (gst_index_factory_make):
16153 * gst/gstindexfactory.h:
16154 * gst/gstpluginfeature.c:
16155 * gst/gstpluginfeature.h:
16156 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16157 more docs inlined, splitted gstindex.{c,h}
16159 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16161 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16164 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
16166 * gst/elements/gstfilesink.c: (gst_file_sink_init):
16167 Set sync to FALSE by default.
16169 2005-09-20 Wim Taymans <wim@fluendo.com>
16171 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16172 (gst_base_sink_init):
16173 Make sync property settable from subclass.
16175 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16176 (gst_fake_sink_change_state):
16177 Set sync to FALSE by default.
16179 2005-09-20 Wim Taymans <wim@fluendo.com>
16181 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
16182 * tools/gst-launch.c: (main):
16183 The timeout handler should have lower priority than the source
16184 so we don't timeout before popping a message with 0 timeout.
16185 Dump error messages after failed state change.
16187 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
16189 * tools/gst-inspect.c: (print_element_properties_info):
16192 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16194 * check/gst/gstevent.c:
16195 * gst/elements/gstfakesink.c:
16196 * gst/elements/gstfakesink.h:
16197 remove the sync property from fakesink.
16198 has the side effect of setting sync TRUE
16199 for fakesink, which is a change. Anyone who knows how
16200 to fix this nicely in a GObject-y way, feel free.
16202 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16204 * docs/gst/gstreamer-docs.sgml:
16205 remove probe refsection
16207 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16209 * check/Makefile.am:
16210 disable valgrinding the controller test again
16211 * docs/gst/gstreamer-sections.txt:
16212 update for api-changes
16214 2005-09-20 Wim Taymans <wim@fluendo.com>
16216 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16217 (gst_base_sink_set_property), (gst_base_sink_get_property),
16218 (gst_base_sink_do_sync):
16219 * gst/base/gstbasesink.h:
16220 Added sync property to basesink to disable clock sync.
16222 2005-09-20 Andy Wingo <wingo@pobox.com>
16224 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
16225 eating the caller's refcount.
16227 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
16228 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
16231 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
16232 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
16233 of GLib 2.8 public, so we can know which refcount to check in
16236 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
16237 (gst_object_init): Only set the gst refcount if we're going ahead
16238 with the refcount hack.
16240 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16242 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16243 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16244 more leaks plumbed, added more debug-logging
16248 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16250 * gst/gstmessage.c:
16251 remove include of gstmemchunk.h
16253 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16255 * gst/gstclock.c: (_gst_clock_id_free):
16256 Commit from the Political Party For More Atomic CVS Commits,
16257 so that people don't waste too much of their day fishing
16258 out obvious leaks out of massive commits.
16259 Oh, and fix a pretty damn obvious leak in the memchunk
16262 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16264 * check/Makefile.am:
16265 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16266 plug mem-leak, re-add to valgrindable tests
16268 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16271 unbreak the build for those who have chronic arthritis
16272 and typing "make check" is just too taxing on the hands
16274 2005-09-20 Andy Wingo <wingo@pobox.com>
16276 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
16277 really want it out, you should fix plugins at the same time.
16279 2005-09-19 Stefan Kost <ensonic@users.sf.net>
16282 * docs/gst/gstreamer-sections.txt:
16284 added missing symbols to api docs
16285 disable ref-count hack if we have glib >= 2.8
16287 2005-09-19 David Schleef <ds@schleef.org>
16289 * docs/gst/Makefile.am: Ignore a few more internal headers
16290 * docs/gst/gstreamer-docs.sgml: Remove old sections
16291 * docs/gst/gstreamer-sections.txt: Remove old sections
16292 * docs/gst/tmpl/gstobject.sgml: update
16293 * docs/gst/tmpl/gstplugin.sgml: update
16294 * docs/gst/tmpl/gstpluginfeature.sgml: update
16295 * docs/random/ds/0.9-suggested-changes: update.
16296 * gst/Makefile.am: remove memchunk and trashstack, since they're
16298 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
16299 * gst/gst.h: don't include some headers
16300 * gst/gstchildproxy.c: add gstmarshal.h
16301 * gst/gstclock.c: Don't use memchunks
16302 * gst/gstminiobject.c: Add some docs
16303 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
16304 * gst/gstobject.h: same
16305 * gst/gstplugin.c: include gstmacros.h
16306 * gst/gstplugin.h: don't include gstmacros.h, since it's private
16307 * gst/gstquery.c: don't use memchunks
16308 * gst/gstregistry.c: rename gst_registry_deinit()
16309 * gst/gstregistry.h: same
16311 2005-09-19 David Schleef <ds@schleef.org>
16313 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
16314 * docs/libs/gstreamer-libs-sections.txt:
16315 * docs/libs/tmpl/gstgetbits.sgml:
16316 * docs/libs/tmpl/gstputbits.sgml:
16318 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
16320 * win32/gstenumtypes.c:
16321 * win32/gstenumtypes.h:
16324 2005-09-19 Wim Taymans <wim@fluendo.com>
16326 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
16327 Automatically PAUSE and RESUME a pipeline when a flushing seek
16330 2005-09-19 Andy Wingo <wingo@pobox.com>
16332 * gst/gstregistry.h: Spacing fixen.
16334 2005-09-19 Wim Taymans <wim@fluendo.com>
16336 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
16337 Handle state change failure more correctly.
16339 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16341 * check/Makefile.am:
16342 * check/pipelines/cleanup.c: (run_pipeline):
16343 * check/pipelines/simple_launch_lines.c: (run_pipeline),
16345 enable cleanup again after fixing the leak
16347 some more info on docs
16349 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16351 * check/Makefile.am:
16352 re-enable tests now that leaks are plugged
16354 * check/gst/gstbin.c:
16355 * check/gst/gstpipeline.c:
16356 add some more tests while fixing leaks
16357 * common/check.mak:
16358 make sure binaries are uptodate when valgrinding/gdbing
16360 * gst/gstelementfactory.c:
16361 remove a ref too many, and add a FIXME for when we get
16362 round to disposing of classes
16364 fix the refcounting when loading a plugin from a file and
16365 the code pretends that the pointer is the same even though
16366 of course it can change
16367 * gst/gstpluginfeature.c:
16368 unref plugins marked cached (a bit confusing as a name)
16369 as the docs state should be done
16370 various doc additions to explain refcounting
16371 * gst/gstregistry.c:
16372 * gst/gstregistryxml.c:
16375 2005-09-19 Wim Taymans <wim@fluendo.com>
16377 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16378 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16379 (send_messages), (GST_START_TEST), (gstbus_suite):
16380 * check/gst/gstpipeline.c: (GST_START_TEST):
16381 * check/pipelines/cleanup.c: (run_pipeline):
16382 * check/pipelines/simple_launch_lines.c: (run_pipeline),
16384 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
16385 (gst_bus_source_check), (gst_bus_source_dispatch),
16386 (gst_bus_create_watch), (gst_bus_add_watch_full),
16387 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
16389 * tools/gst-launch.c: (event_loop):
16390 * tools/gst-md5sum.c: (event_loop):
16391 GstBusHandler -> GstBusFunc, return value has the same meaning as
16392 any other GSource (FALSE == remove source).
16393 _add_watch() and _add_watch_full() now take a MessageType mask to
16394 only handle specific types of messages.
16395 _poll() returns the GstMessage instead of the message type to avoid
16397 _have_pending() takes a MessageType mask now too.
16398 Added testsuite for multiple bus watches.
16399 Fix testsuites and applications for new bus API.
16401 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16403 * check/Makefile.am:
16404 mark a bunch of the tests as to fix until we fix them
16406 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16408 * common/check.mak:
16409 use GST_PLUGIN settings for valgrind tests as well, so we're
16410 valgrinding the correct thing
16411 * gst/gst.c: (init_post):
16414 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16416 * gst/gst.c: (init_post), (gst_deinit):
16417 * gst/gstelementfactory.c: (gst_element_factory_class_init),
16418 (gst_element_factory_finalize), (gst_element_factory_cleanup):
16419 * gst/gstindex.c: (gst_index_factory_class_init),
16420 (gst_index_factory_finalize):
16421 * gst/gstobject.c: (gst_object_dispose):
16422 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16423 (gst_plugin_load_file), (gst_plugin_desc_free):
16424 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
16425 (gst_plugin_feature_finalize):
16426 * gst/gstregistry.c: (gst_registry_class_init),
16427 (gst_registry_init), (gst_registry_finalize),
16428 (gst_registry_get_default), (gst_registry_deinit):
16429 * gst/gstregistry.h:
16430 * gst/gstregistryxml.c: (load_feature), (load_plugin):
16431 various cleanups and memleak plugging. make valgrind is happy now.
16433 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16435 * common/check.mak:
16436 add a check-valgrind target
16438 2005-09-18 David Schleef <ds@schleef.org>
16440 * tools/gst-inspect.c: Revert the GOption code.
16442 2005-09-17 David Schleef <ds@schleef.org>
16444 * check/Makefile.am: Fix environment variables.
16445 * check/gst/gstplugin.c: Fix for API changes.
16446 * tools/gst-inspect.c: Fix for API changes.
16447 * tools/gst-xmlinspect.c: Fix for API changes.
16448 * gst/gstelementfactory.c:
16451 * gst/gstpluginfeature.c:
16452 * gst/gstpluginfeature.h:
16453 * gst/gstregistry.c:
16454 * gst/gstregistry.h:
16455 * gst/gstregistryxml.c:
16456 * gst/gsttypefind.c:
16457 * gst/gsttypefindfactory.c:
16458 * gst/indexers/gstfileindex.c:
16459 * gst/indexers/gstmemindex.c:
16460 * gst/schedulers/Makefile.am:
16461 Change registry to keep track of both plugins and features,
16462 removing the feature tracking from plugins themselves.
16464 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
16466 * check/Makefile.am:
16467 * tools/gst-register.1.in:
16468 remove gst-register
16470 2005-09-15 David Schleef <ds@schleef.org>
16472 * check/gst/gstplugin.c:
16473 * gst/gstelementfactory.c:
16475 * gst/gstpluginfeature.c:
16476 * gst/gstregistry.c:
16477 Getting tired of debugging. Disabled all the unreffing of
16478 plugins and features, which fixes the segfaults, but of
16479 course leaks like crazy. At least playbin works.
16481 2005-09-15 David Schleef <ds@schleef.org>
16483 * check/gst/gstplugin.c: (register_check_elements),
16484 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16486 * gst/elements/gsttypefindelement.c: Fix refcounting.
16487 * gst/gsttypefind.c:
16488 * gst/gsttypefindfactory.c:
16489 * gst/gsttypefindfactory.h:
16491 2005-09-15 David Schleef <ds@schleef.org>
16493 * gst/gstindex.c: get refcounting correct.
16494 * gst/gstregistry.c: Handle the case where a feature/plugin is
16497 2005-09-15 David Schleef <ds@schleef.org>
16499 * check/Makefile.am:
16500 * check/gst/gstplugin.c: Add test
16501 * gst/gstplugin.c: Fix problems noticed by testsuite
16503 * gst/gstregistry.c:
16504 * gst/gstregistry.h:
16506 2005-09-15 David Schleef <ds@schleef.org>
16508 * gst/gstplugin.c: Implement semi-decent recounting and locking
16509 in plugins and plugin features.
16511 * gst/gstpluginfeature.c:
16512 * gst/gstpluginfeature.h:
16513 * gst/gstregistry.c:
16515 2005-09-15 Michael Smith <msmith@fluendo.com>
16517 * gst/gstregistry.c: (gst_registry_get_feature_list):
16518 Implement this. Makes oggdemux work; decodebin still broken.
16520 2005-09-14 David Schleef <ds@schleef.org>
16522 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16524 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16525 * gst/check/Makefile.am:
16526 * libs/gst/controller/Makefile.am:
16527 * libs/gst/dataprotocol/Makefile.am:
16529 2005-09-14 David Schleef <ds@schleef.org>
16531 * configure.ac: Remove getbits library. Nothing uses it, and
16532 it should be in something like liboil if someone did want
16534 * libs/gst/Makefile.am:
16535 * libs/gst/getbits/Makefile.am:
16536 * libs/gst/getbits/gbtest.c:
16537 * libs/gst/getbits/getbits.c:
16538 * libs/gst/getbits/getbits.h:
16539 * libs/gst/getbits/gstgetbits_generic.c:
16540 * libs/gst/getbits/gstgetbits_i386.s:
16541 * libs/gst/getbits/gstgetbits_inl.h:
16543 2005-09-14 David Schleef <ds@schleef.org>
16545 * gst/Makefile.am: Dist glib-compat.h
16547 2005-09-14 David Schleef <ds@schleef.org>
16549 * configure.ac: Remove gst/registries, since it's no longer used.
16550 * gst/registries/Makefile.am:
16551 * gst/registries/gstlibxmlregistry.c:
16552 * gst/registries/gstlibxmlregistry.h:
16553 * gst/registries/gstxmlregistry.c:
16554 * gst/registries/gstxmlregistry.h:
16555 * gst/registries/registrytest.c:
16557 2005-09-14 David Schleef <ds@schleef.org>
16559 * gst/glib-compat.h:
16560 * gst/gstregistryxml.c:
16561 Convergence is near. Seriously.
16563 2005-09-14 David Schleef <ds@schleef.org>
16565 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16566 * gst/glib-compat.h:
16567 Attempt #4 to appease the buildbots.
16569 2005-09-14 David Schleef <ds@schleef.org>
16571 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16574 2005-09-14 David Schleef <ds@schleef.org>
16576 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16579 2005-09-14 David Schleef <ds@schleef.org>
16581 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16584 2005-09-14 David Schleef <ds@schleef.org>
16586 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16587 * gst/glib-compat.h: Add some functions that are in newer versions
16588 of glib than we care to require.
16589 * gst/gstregistryxml.c: Use them.
16591 2005-09-14 David Schleef <ds@schleef.org>
16593 * po/POTFILES.in: remove gst-register.c
16595 2005-09-14 David Schleef <ds@schleef.org>
16597 * docs/gst/gstreamer-docs.sgml:
16598 * docs/gst/gstreamer-sections.txt:
16599 * docs/gst/gstreamer.types:
16600 * docs/gst/tmpl/gstelement.sgml:
16601 * docs/gst/tmpl/gstplugin.sgml:
16602 * docs/gst/tmpl/gstpluginfeature.sgml:
16603 Documentation updates for registry changes.
16605 2005-09-14 David Schleef <ds@schleef.org>
16607 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16608 because we don't require glib-2.8.
16610 2005-09-14 David Schleef <ds@schleef.org>
16612 * gst/gstregistryxml.c: Added. Essentially moved out of the
16613 registries directory.
16615 2005-09-14 David Schleef <ds@schleef.org>
16617 * check/Makefile.am:
16618 * check/generic/states.c:
16622 * gst/gst_private.h:
16623 * gst/gstelementfactory.c:
16628 * gst/gstpluginfeature.c:
16629 * gst/gstpluginfeature.h:
16630 * gst/gstregistry.c:
16631 * gst/gstregistry.h:
16632 * gst/gstregistrypool.c: remove
16633 * gst/gstregistrypool.h: remove
16634 * gst/gsttypefind.c:
16635 * gst/gsttypefindfactory.c:
16637 * tools/Makefile.am:
16638 * tools/gst-compprep.c:
16639 * tools/gst-inspect.c:
16640 * tools/gst-register.c: remove
16641 * tools/gst-xmlinspect.c:
16642 Registry rewrite. Changes registry from being a file created
16643 by a tool into a simple cache file created automatically by
16644 libgstreamer. Removed gst-register (because it's no longer
16645 needed). Remove registry pools, because we only have one
16646 registry implementation (XML). Fix up other subsystems as
16649 2005-09-13 Michael Smith <msmith@fluendo.com>
16651 * gst/gstconfig.h.in:
16652 Don't Use windows linking attributes for MinGW. Fixes #316157
16654 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
16656 * gst/gstutils.c: (set_state_async_thread_func),
16657 (gst_element_set_state_async):
16658 Apparently people think it's better if this function doesn't
16659 try to set the state to whatever state was asked for on the first
16660 call to this function for any object. Seriously.
16662 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16664 * check/gst/gstpipeline.c: (GST_START_TEST):
16665 * docs/gst/gstreamer-sections.txt:
16666 * gst/gstutils.c: (set_state_async_thread_func),
16667 (gst_element_set_state_async):
16669 add a "gst_element_set_state_async" method that
16670 sets the state and starts a thread to make sure the state
16671 change completes as best as it can
16673 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16675 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16676 codify design+behaviour in testsuite after discussion
16678 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16680 * docs/gst/tmpl/gstelement.sgml:
16681 * docs/manual/appendix-quotes.xml:
16683 * gst/gstelement.c: (gst_element_set_state):
16686 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
16688 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16689 (gst_base_transform_prepare_output_buf),
16690 (gst_base_transform_handle_buffer):
16691 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16692 (gst_capsfilter_prepare_buf):
16693 Remove the requirement for sub-classes to call the parent
16694 implementation of prepare_output_buffer with a wrapper function.
16696 * gst/gsttaglist.h:
16697 * gst/gsttagsetter.h:
16698 Fix #define wrapper
16700 2005-09-11 Stefan Kost <ensonic@users.sf.net>
16702 * docs/gst/gstreamer-sections.txt:
16705 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16707 * docs/gst/gstreamer-sections.txt:
16708 * docs/gst/tmpl/gstelement.sgml:
16709 * docs/gst/tmpl/gstplugin.sgml:
16710 * gst/gstminiobject.c:
16712 docs now stop throwing warnings
16714 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16716 * docs/gst/gstreamer-sections.txt:
16717 * docs/gst/gstreamer.types:
16718 * docs/gst/tmpl/gstpad.sgml:
16719 * docs/gst/tmpl/gsttypes.sgml:
16720 * gst/base/gstadapter.h:
16721 * gst/base/gstbasesink.h:
16722 * gst/base/gstbasesrc.h:
16728 * gst/gstelement.h:
16730 * gst/gstmessage.h:
16732 * gst/gststructure.c:
16733 * gst/registries/gstlibxmlregistry.h:
16734 various documentation fixes
16736 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16738 * docs/gst/gstreamer-sections.txt:
16739 * docs/gst/tmpl/gstvalue.sgml:
16740 rearrange gstvalue section
16741 * gst/gstutils.c: (gst_element_state_get_name):
16743 * gst/gstvalue.c: (_gst_value_initialize):
16747 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
16749 * check/gst-libs/controller.c:
16750 Header include fix.
16751 * gst/base/gstbasetransform.c:
16752 (gst_base_transform_default_prepare_buf),
16753 (gst_base_transform_handle_buffer):
16754 * gst/base/gstbasetransform.h:
16755 Some more basetransform changes and fixes to enable sub-classes
16756 that modify buffer metadata only.
16757 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16758 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16759 (gst_capsfilter_prepare_buf):
16760 If the output pad has fixed allowed caps and input buffers
16761 don't have any, set the fixed caps on outgoing buffers.
16763 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
16764 * check/elements/identity.c: (GST_START_TEST):
16765 Make the error a little clearer when the test fails because
16766 identity made a copy of the buffer.
16767 * docs/gst/gstreamer-sections.txt:
16768 New symbols in gstbasetransform.h
16769 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16770 (gst_base_transform_init), (gst_base_transform_transform_size),
16771 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16772 (gst_base_transform_default_prepare_buf),
16773 (gst_base_transform_get_unit_size),
16774 (gst_base_transform_buffer_alloc),
16775 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16776 (gst_base_transform_change_state),
16777 (gst_base_transform_set_passthrough),
16778 (gst_base_transform_set_in_place),
16779 (gst_base_transform_is_in_place):
16780 * gst/base/gstbasetransform.h:
16781 Change BaseTransform to separate in_place operate from same_caps
16782 output. in_place implies that the element can perform the transform
16783 on incoming buffers in-place, even if the caps on the output are
16785 Sub-class elements can now implement special buffer allocation
16786 methods for outgoing buffers if they wish to.
16787 Big documentation addition.
16788 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16789 * gst/elements/gstelements.c:
16790 Changes for basetransform modifications.
16791 * gst/elements/Makefile.am:
16792 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16793 Compile fix. Extra debug output.
16795 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16797 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16799 add tests for valid pad naming
16800 * gst/check/gstcheck.c: (gst_check_log_message_func),
16801 (gst_check_log_critical_func):
16803 remove printing of code, it is fragile when the code contains
16804 % and the line number is enough info
16805 * gst/check/gstcheck.h:
16806 * gst/gstpad.c: (gst_pad_template_new):
16809 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16812 say what CHECK flags we use
16813 * docs/libs/gstreamer-libs.types:
16814 * libs/gst/controller/Makefile.am:
16815 * libs/gst/controller/gst-controller.c:
16816 * libs/gst/controller/gst-controller.h:
16817 * libs/gst/controller/gst-helper.c:
16818 * libs/gst/controller/gst-interpolation.c:
16819 * libs/gst/controller/gstcontroller.c:
16820 * libs/gst/controller/gsthelper.c:
16821 * libs/gst/controller/gstinterpolation.c:
16822 * tools/gst-inspect.c: (print_plugin_info):
16823 we don't use dashes in header names
16825 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16827 * check/Makefile.am:
16828 * check/gst/.cvsignore:
16829 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16830 (gst_pipeline_suite), (main):
16831 adding a test for pipelines and state changes
16832 * gst/gstutils.c: (get_state_func):
16834 * gstreamer.spec.in:
16837 2005-09-08 Michael Smith <msmith@fluendo.com>
16839 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16840 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16841 (gst_file_src_is_seekable), (gst_file_src_get_size),
16842 (gst_file_src_start):
16843 * gst/elements/gstfilesrc.h:
16844 Various fixes for unseekable, unmmapable, and non-normal files, so
16845 that fallback to read() rather than mmap() works.
16846 * gst/gstevent.c: (gst_event_new_newsegment):
16847 Allow newsegment events with segment_start == segment_end, as will
16848 correctly happen if you use filesrc on a zero-size file, for
16851 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16853 * gst/gstplugin.c: (gst_plugin_load_file):
16854 Call g_module_close when we don't load the module
16856 * gst/registries/gstlibxmlregistry.c:
16857 (gst_xml_registry_get_property):
16858 Port leak fix from 0.8
16860 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16862 * docs/gst/gstreamer-docs.sgml:
16863 * docs/gst/tmpl/.cvsignore:
16864 * docs/gst/tmpl/gsttrace.sgml:
16865 * docs/gst/tmpl/gsttrashstack.sgml:
16868 * gst/gstelement.h:
16870 * gst/gstmessage.c:
16871 * gst/gstmessage.h:
16874 * gst/gsttaginterface.c:
16875 * gst/gsttaginterface.h:
16876 * gst/gsttaglist.c:
16877 * gst/gsttaglist.h:
16878 * gst/gsttagsetter.c:
16879 * gst/gsttagsetter.h:
16882 * gst/gsttrashstack.c:
16883 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16884 inlined docs for gsttrace, gsttrashstack
16886 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16889 * gst/elements/gstbufferstore.h:
16890 * gst/elements/gsttypefindelement.c:
16891 * gst/elements/gsttypefindelement.h:
16893 * gst/gsttypefind.c:
16894 * gst/gsttypefind.h:
16895 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16896 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16897 (gst_type_find_factory_dispose),
16898 (gst_type_find_factory_unload_thyself),
16899 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16900 (gst_type_find_factory_get_caps),
16901 (gst_type_find_factory_get_extensions),
16902 (gst_type_find_factory_call_function):
16903 * gst/gsttypefindfactory.h:
16904 * gst/registries/gstlibxmlregistry.c:
16905 * gst/registries/gstxmlregistry.c:
16906 splitted gsttypefind into gsttypefind, gsttypefindfactory
16908 2005-09-07 Andy Wingo <wingo@pobox.com>
16910 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16911 condition whereby the pad's task function is entered before the
16912 pad_mode variable was set.
16914 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16916 * gst/gstpad.c: (gst_pad_alloc_buffer):
16917 Catch misbehaving pad_alloc functions that don't
16918 set up caps and do it for them.
16920 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16922 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16923 test for pipe!=NULL
16924 * docs/gst/tmpl/.cvsignore:
16925 * docs/gst/tmpl/gstmemchunk.sgml:
16926 * docs/gst/tmpl/gstparse.sgml:
16927 * docs/gst/tmpl/gsttaglist.sgml:
16928 * docs/gst/tmpl/gsttagsetter.sgml:
16929 * docs/gst/tmpl/gsttypefind.sgml:
16930 * docs/gst/tmpl/gsttypefindfactory.sgml:
16931 * gst/gstmemchunk.c:
16934 * gst/gsttaginterface.c:
16935 * gst/gsttypefind.c:
16936 * gst/gsttypefind.h:
16939 === release 0.9.2 ===
16941 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
16946 releasing 0.9.2, "South"
16948 2005-09-05 Andy Wingo <wingo@pobox.com>
16950 * gst/registries/gstxmlregistry.h:
16951 * gst/registries/gstxmlregistry.c: Um... resurrect...
16953 * gst/registries/gstxmlregistry.h:
16954 * gst/registries/gstxmlregistry.c: and update to newer API.
16955 Incidentally they should be a bit faster now that they don't have
16958 2005-09-05 Andy Wingo <wingo@pobox.com>
16960 * gst/registries/gstxmlregistry.h:
16961 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16962 replaced by the libxml registry a while back
16964 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16966 * docs/gst/tmpl/gstplugin.sgml:
16967 * gst/elements/gstelements.c:
16969 * gst/gstplugin.c: (gst_plugin_register_func),
16970 (gst_plugin_desc_copy), (gst_plugin_desc_free),
16971 (gst_plugin_get_source):
16973 * gst/registries/gstlibxmlregistry.c: (load_plugin),
16974 (gst_xml_registry_save_plugin):
16975 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16976 (gst_xml_registry_save_plugin):
16977 * tools/gst-inspect.c: (print_plugin_info):
16978 add a "source" plugin description field, to represent the source
16979 module this plugin is a part of. By default GST_PLUGIN_DEFINE
16980 will set it to PACKAGE, which is automake's idea of the name of
16981 the source project.
16983 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16988 * docs/Makefile.am:
16989 * docs/faq/Makefile.am:
16990 * docs/gst/tmpl/gstelement.sgml:
16991 * docs/gst/tmpl/gsttypes.sgml:
16992 * docs/htmlinstall.mak:
16993 * docs/manual/Makefile.am:
16994 * docs/pwg/Makefile.am:
16995 reorganize doc build a little
16996 split out docbook and gtk-doc stuff
16997 have two separate --enable's and enable them through autogen
16998 but disable by default in configure (to be similar to other
17000 * gstreamer.spec.in:
17001 clean up docs install
17019 translation updates
17021 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
17023 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
17026 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17027 (gst_fake_sink_change_state):
17028 Make state change function thread-safe.
17030 * gst/gstpad.c: (gst_pad_alloc_buffer):
17031 Set offset on generic buffer allocated by fallback.
17033 2005-09-03 Stefan Kost <ensonic@users.sf.net>
17035 * docs/gst/gstreamer-sections.txt:
17036 * docs/gst/tmpl/gstelement.sgml:
17038 * libs/gst/controller/gst-controller.c:
17039 (gst_controlled_property_set_interpolation_mode),
17040 (gst_controlled_property_new),
17041 (gst_controller_find_controlled_property):
17042 run the wingo-magic script against the docs
17044 2005-09-02 Stefan Kost <ensonic@users.sf.net>
17046 * docs/gst/gstreamer-docs.sgml:
17047 * docs/gst/gstreamer-sections.txt:
17048 * docs/gst/tmpl/.cvsignore:
17049 * docs/gst/tmpl/gstelementdetails.sgml:
17050 * docs/gst/tmpl/gstelementfactory.sgml:
17053 * gst/gstelementfactory.c:
17054 * gst/gstelementfactory.h:
17055 merged elementdetails docs into elementfactory docs
17058 2005-09-02 Andy Wingo <wingo@pobox.com>
17060 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
17061 consider this enum an enum and not a flags.
17063 2005-09-02 Stefan Kost <ensonic@users.sf.net>
17065 * docs/gst/gstreamer-docs.sgml:
17066 * docs/gst/tmpl/.cvsignore:
17067 * docs/gst/tmpl/gstghostpad.sgml:
17068 * docs/gst/tmpl/gstiterator.sgml:
17069 * docs/gst/tmpl/gstmacros.sgml:
17070 * docs/gst/tmpl/gstrealpad.sgml:
17071 * docs/gst/tmpl/gstregistry.sgml:
17072 * docs/gst/tmpl/gstregistrypool.sgml:
17073 * docs/gst/tmpl/gststructure.sgml:
17074 * docs/gst/tmpl/gstsystemclock.sgml:
17075 * docs/gst/tmpl/gsttrace.sgml:
17076 * gst/gstghostpad.c:
17078 * gst/gstmemchunk.c:
17079 * gst/gstmemchunk.h:
17081 * gst/gstregistry.c:
17082 * gst/gstregistrypool.c:
17083 * gst/gststructure.c:
17084 * gst/gstsystemclock.c:
17087 2005-09-02 Andy Wingo <wingo@pobox.com>
17089 * gst/gstelement.h (GstState): Renamed from GstElementState,
17090 changed to be a normal enum instead of flags.
17091 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
17092 munged to be GST_STATE_CHANGE_*.
17093 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
17094 work with the new state representation.
17095 (GstStateChange): New enumeration of possible state transitions.
17096 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
17097 (GstElementClass::change_state): Pass the GstStateChange along as
17098 an argument. Helps language bindings, so they don't have to use
17099 tricky lock-needing macros like GST_STATE_CHANGE ().
17101 * scripts/update-states (file): New script. Run it on a file to
17102 update it for state naming and API changes. Updates files in
17105 * All files updated for the new API.
17107 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
17109 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
17110 * gst/gstutils.c: (gst_util_set_value_from_string),
17111 (gst_util_set_object_arg):
17112 fix a bunch of unchecked return values
17113 * tools/gst-complete.c: (main):
17114 * gstreamer.spec.in:
17117 2005-09-01 Wim Taymans <wim@fluendo.com>
17119 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17120 (gst_base_sink_event), (gst_base_sink_do_sync),
17121 (gst_base_sink_handle_event):
17122 * gst/base/gstbasesink.h:
17123 Handle newsegments more correctly.
17128 * gst/gstevent.c: (gst_event_new_newsegment):
17129 A newsegment cannot have a start_time of -1
17131 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
17133 * win32/gstenumtypes.c:
17134 * win32/gstenumtypes.h:
17137 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17139 * libs/gst/controller/gst-controller.c:
17140 (gst_controlled_property_set_interpolation_mode),
17141 (gst_controlled_property_new):
17142 fixed boolean again
17144 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
17146 * docs/faq/gst-uninstalled:
17151 * gst/gstutils.c: (gst_element_link_filtered):
17153 add gst_element_link_filtered
17155 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17157 * docs/gst/gstreamer-docs.sgml:
17158 * docs/gst/gstreamer-sections.txt:
17159 * docs/gst/tmpl/.cvsignore:
17160 * docs/gst/tmpl/gsterror.sgml:
17161 * docs/gst/tmpl/gstfilter.sgml:
17162 * docs/gst/tmpl/gsturihandler.sgml:
17163 * docs/gst/tmpl/gsturitype.sgml:
17164 * docs/gst/tmpl/gstutils.sgml:
17165 * docs/gst/tmpl/gstxml.sgml:
17170 * gst/gsturitype.c:
17173 inlined more docs, fixed double id-ref
17175 2005-08-31 Wim Taymans <wim@fluendo.com>
17177 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17178 (gst_base_transform_handle_buffer):
17179 Passthrough elements don't need the caps as they don't care.
17181 2005-08-31 Wim Taymans <wim@fluendo.com>
17183 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17184 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
17185 Don't leak refcounts on buffers.
17187 2005-08-31 Wim Taymans <wim@fluendo.com>
17189 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
17190 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17191 (gst_base_transform_chain), (gst_base_transform_change_state):
17192 * gst/base/gstbasetransform.h:
17193 Handle the case where we are not negotiated more gracefully.
17195 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
17197 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
17198 (gst_file_src_map_region):
17199 Set READONLY flag on mmap'ed buffers, otherwise
17200 gst_buffer_make_writable() won't work properly (#314708).
17202 2005-08-31 Wim Taymans <wim@fluendo.com>
17204 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
17205 passthrough elements can even do inplace on non writable
17206 buffers (as they don't touch them).
17208 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17210 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17211 (gst_test_mono_source_set_property),
17212 (gst_test_mono_source_class_init), (GST_START_TEST),
17213 (gst_controller_suite):
17214 more tests (hehe I have the most)
17216 describe popping messages whenusing mulltiple sources
17217 * libs/gst/controller/gst-controller.c:
17218 (gst_controlled_property_set_interpolation_mode),
17219 (gst_controlled_property_new):
17220 * libs/gst/controller/gst-controller.h:
17221 * libs/gst/controller/gst-interpolation.c:
17222 implement boolean properties
17224 2005-08-31 Wim Taymans <wim@fluendo.com>
17226 * gst/gstminiobject.c: (gst_mini_object_ref):
17227 Cannot assert that the refcount has to be positive
17228 since a disposed object can be resurrected.
17230 2005-08-31 Wim Taymans <wim@fluendo.com>
17232 * gst/gstpad.c: (gst_pad_init):
17233 Revert change, need to first fix badly behaving
17236 2005-08-30 Wim Taymans <wim@fluendo.com>
17238 * check/elements/fakesrc.c: (setup_fakesrc):
17239 * check/elements/identity.c: (setup_identity):
17240 Activate pads before using them.
17242 2005-08-30 Wim Taymans <wim@fluendo.com>
17244 * gst/base/gstadapter.c: (gst_adapter_flush):
17245 Flushing out 0 bytes is ok for this function.
17247 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17248 no newsegment gives a warning and sets the start/stop to
17251 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
17252 (gst_base_transform_set_passthrough):
17255 * gst/gstminiobject.c: (gst_mini_object_ref):
17256 Check refcount here too.
17258 * gst/gstpad.c: (gst_pad_init):
17259 Pads are initially flushing and refusing data.
17261 * gst/gstutils.c: (gst_element_link_pads_filtered):
17262 When adding a capsfilter element make sure it has the
17263 same state as the parent bin.
17265 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17267 * docs/gst/tmpl/.cvsignore:
17268 * docs/gst/tmpl/gstformat.sgml:
17269 * docs/gst/tmpl/gstversion.sgml:
17273 * gst/gstversion.h.in:
17274 more docs and two more inlined
17276 2005-08-30 Wim Taymans <wim@fluendo.com>
17278 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
17279 Don't sync to clock.
17281 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17283 * docs/gst/gstreamer-sections.txt:
17284 ultral33t func10ns deserve to appear in the docs actually
17285 * docs/gst/tmpl/.cvsignore:
17286 * docs/gst/tmpl/gstcompat.sgml:
17287 * docs/gst/tmpl/gstconfig.sgml:
17288 * gst/check/gstcheck.c:
17290 * gst/gstconfig.h.in:
17293 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17295 * docs/gst/tmpl/.cvsignore:
17296 * docs/gst/tmpl/gstquery.sgml:
17297 * docs/gst/tmpl/gstutils.sgml:
17300 inlined and extended docs
17302 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17304 * check/gst-libs/controller.c: (GST_START_TEST),
17305 (gst_controller_suite):
17307 * docs/gst/tmpl/gstutils.sgml:
17308 * docs/libs/gstreamer-libs-sections.txt:
17309 * docs/libs/tmpl/gstdataprotocol.sgml:
17311 * examples/controller/audio-example.c: (main):
17312 controller example works now
17315 * tools/gst-inspect.c: (print_element_properties_info):
17316 show param spec flags
17318 2005-08-29 Andy Wingo <wingo@pobox.com>
17320 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
17322 2005-08-28 Andy Wingo <wingo@pobox.com>
17324 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
17325 as having two arguments instead of just one. Allows superclasses
17326 to access information on subclasses -- see the terrible for() loop
17327 in gtype.c:g_type_create_instance for the reason why. All callers
17330 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17332 * docs/design/part-messages.txt:
17334 * docs/gst/tmpl/.cvsignore:
17335 * docs/gst/tmpl/gstcaps.sgml:
17336 * docs/gst/tmpl/gstclock.sgml:
17342 * gst/gstmessage.c:
17343 added descriptions for bus and message
17344 inline caps and clock docs
17346 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17348 * gst/gstmessage.c:
17349 * gst/gstmessage.h:
17352 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17354 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17357 2005-08-26 Andy Wingo <wingo@pobox.com>
17359 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
17360 element_set_state's return val.
17361 (test_2_elements): Add test that's been disabled for months.
17363 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
17364 can-activate-pull properties.
17366 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
17367 can-activate-pull properties. Implement is_seekable so fakesrc can
17368 operate in pull mode.
17370 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
17372 (gst_base_sink_activate, gst_base_sink_activate_pull)
17373 (gst_base_sink_activate_push): Make activation mode choosing work.
17375 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
17376 is right. Make pull mode work. Post an eos before pausing in pull
17378 (gst_base_sink_change_state): Pay attention to the core's
17379 change_state() return val.
17381 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
17382 has-getrange properties. Cleanups.
17384 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
17385 has_getrange and replace with can_activate_pull and
17388 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
17389 locking comments. Remove has_loop, has_chain and replace with
17390 can_activate_pull and can_activate_push.
17392 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
17395 * examples/Makefile.am:
17396 * examples/metadata/Makefile.am:
17397 * examples/metadata/read-metadata.c: (message_loop),
17398 (have_pad_handler), (make_pipeline), (print_tag), (main):
17399 Add metadata reading example that loops over a list of filenames,
17400 dumping any tags found.
17402 * gst/gstbus.c: (gst_bus_dispose):
17403 * gst/gstelement.c: (gst_element_dispose):
17404 Release a few potentially-held references in dispose.
17406 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17408 * docs/gst/tmpl/gstminiobject.sgml:
17409 do *not* add tmpl/*.sgml files to CVS!
17411 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17413 * libs/gst/bytestream/.cvsignore:
17414 * libs/gst/bytestream/Makefile.am:
17415 * libs/gst/bytestream/adapter.c:
17416 * libs/gst/bytestream/adapter.h:
17417 * libs/gst/bytestream/bytestream.c:
17418 * libs/gst/bytestream/bytestream.h:
17419 * libs/gst/bytestream/filepad.c:
17420 * libs/gst/bytestream/filepad.h:
17421 removing obsolete files
17423 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17425 * docs/gst/gstreamer-docs.sgml:
17426 * docs/libs/gstreamer-libs-docs.sgml:
17427 disabed additional index entries again, as this makes docs-gen just
17428 slow and they aren't useful yet
17429 * docs/libs/gstreamer-libs-sections.txt:
17430 little -section.txt cleanup for libs
17432 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
17434 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17435 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
17436 fix up some debugging
17437 (gst_base_transform_get_unit_size),
17438 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
17439 (gst_base_transform_handle_buffer):
17440 * gst/base/gstbasetransform.h:
17441 handle and store timed NEWSEGMENT events so that subclasses that
17442 calculate time by counting samples have a segment_start time they
17443 need to add to their timestamps - see audioresample
17445 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17448 removed ';' from the end of macro defs
17449 * docs/gst/gstreamer-docs.sgml:
17450 * docs/gst/gstreamer-sections.txt:
17451 * docs/gst/tmpl/.cvsignore:
17453 * gst/gstelement.c: (gst_element_class_init),
17454 (gst_element_set_state), (activate_pads),
17455 (gst_element_save_thyself):
17456 * gst/gstevent.c: (gst_event_new_newsegment):
17458 * gst/gstiterator.c:
17459 * gst/gstiterator.h:
17462 * gst/gstutils.c: (gst_pad_query_convert):
17464 fixed parameter name mismatches between source, header and docs
17465 added some more docs, resolved the last batch of unused elements in
17466 docs (now someone needs to doc them)
17468 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17470 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17471 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17472 don't walk through the plugins backwards. Where is all this
17473 reversed logic coming from ?
17475 2005-08-25 Wim Taymans <wim@fluendo.com>
17477 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17478 (gst_base_transform_transform_size),
17479 (gst_base_transform_configure_caps),
17480 (gst_base_transform_get_unit_size),
17481 (gst_base_transform_buffer_alloc),
17482 (gst_base_transform_change_state):
17483 * gst/base/gstbasetransform.h:
17484 Cache caps unit_size.
17485 Make sure we cannot negotiate up and downstream at the
17488 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17490 * gst/gst.c: (init_pre), (init_post):
17491 register the installed plugin path after the env var
17492 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17493 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17494 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17495 directories, so the tests can prefer uninstalled over installed
17497 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17499 * gst/base/gstbasetransform.h:
17504 2005-08-25 Wim Taymans <wim@fluendo.com>
17506 * gst/gstbin.c: (bin_bus_handler):
17507 Be a bit more conservative about the posted message.
17509 * gst/gstbus.c: (gst_bus_post):
17510 Some cleanups, warn wrong return values.
17512 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
17514 * check/gst/gstbin.c: (GST_START_TEST):
17515 * gst/gstbin.c: (bin_bus_handler):
17516 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17517 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17518 (gst_message_new_warning), (gst_message_new_tag),
17519 (gst_message_new_state_changed), (gst_message_new_segment_start),
17520 (gst_message_new_segment_done), (gst_message_new_custom):
17521 * gst/gstmessage.h:
17522 * tools/gst-launch.c: (event_loop):
17523 * tools/gst-md5sum.c: (event_loop):
17524 Revert unpopular change for GST_MESSAGE_SRC to GObject.
17526 2005-08-25 Wim Taymans <wim@fluendo.com>
17528 * check/generic/states.c: (GST_START_TEST):
17529 Cleanup can be done at the end.
17531 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17532 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17533 (gst_task_get_state), (gst_task_start), (gst_task_pause):
17534 Oh boy.. Thanks for finding this, Thomas.
17536 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17538 * docs/gst/gstreamer.types:
17539 added missing types
17541 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17543 * docs/gst/gstreamer-docs.sgml:
17544 * docs/gst/gstreamer-sections.txt:
17545 * docs/gst/tmpl/.cvsignore:
17547 * gst/gstiterator.c:
17549 * gst/registries/gstxmlregistry.h:
17550 added missing classes and symbols (123 more to go)
17551 removed removed symbols from section file
17552 fixed many doc-comments
17554 2005-08-24 Wim Taymans <wim@fluendo.com>
17556 * check/generic/states.c: (GST_START_TEST):
17557 Make sure all tasks are stopped.
17559 * check/gst/gstbin.c: (GST_START_TEST):
17560 Unref after usage for proper valgrinding.
17562 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17563 Really wait for the task to stop before destroying the
17566 * gst/gstqueue.c: (gst_queue_sink_activate_push),
17567 (gst_queue_src_activate_push):
17568 Small cleanups. Don't stop the task when we did not start
17571 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17572 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17573 (gst_task_get_state), (gst_task_start), (gst_task_pause),
17576 Protect the stream lock with the object lock.
17577 Disallow setting the stream lock when running.
17578 Add cleanup_all to wait for the threadpool to finish.
17579 Remove code to autoallocate a mutex if none was provided.
17580 Add _join() to wait for a task to stop.
17581 Protect the thread pool with a global lock.
17583 2005-08-24 Wim Taymans <wim@fluendo.com>
17585 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17586 (gst_base_sink_get_times), (gst_base_sink_do_sync),
17587 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17588 * gst/base/gstbasesink.h:
17589 Handle newsegment events correctly.
17590 Drop buffers out of the segment range.
17592 2005-08-22 Andy Wingo <wingo@pobox.com>
17594 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17595 macro, implements an interface and gstimplementsinterface for a
17598 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17600 * check/Makefile.am:
17601 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17602 add a test that does a bunch of state changes on elements
17603 needs some fixing for valgrind
17604 * check/states/sinks.c: (gst_object_suite):
17607 add prototype for gst_caps_is_equal_fixed
17609 * gst/gstregistrypool.c:
17612 2005-08-24 Andy Wingo <wingo@pobox.com>
17614 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17615 convert a negative value. Doesn't make much sense. Mostly this is
17616 here to force callers to ensure -1 maps to -1.
17618 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17620 * docs/pwg/advanced-types.xml:
17621 Well done to Michael for catching my deliberate introduction
17622 of this spelling mistake.
17623 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17624 * gst/gstelement.h:
17625 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17626 unlink pads before removing the element from the bin.
17628 2005-08-24 Andy Wingo <wingo@pobox.com>
17630 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17631 the same thing as GST_DEBUG=*:4.
17632 (parse_debug_level, parse_debug_category): New helper parsers.
17634 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17636 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17637 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17638 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17639 (gst_base_transform_buffer_alloc),
17640 (gst_base_transform_handle_buffer):
17641 use gboolean return values and pointers to size so we can use the
17642 full GST_BUFFER_SIZE range (guint) for buffer sizes
17643 use GstPadDirection for transform_caps
17644 * gst/base/gstbasetransform.h:
17645 rename get_size to get_unit_size since that's what it is
17646 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17647 use GstPadDirection for transform_caps
17648 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17650 cleanup and debugging
17652 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17654 * gst/gstelement.c: (gst_element_class_init),
17655 (gst_element_set_state), (activate_pads),
17656 (gst_element_save_thyself):
17657 * tools/gst-compprep.c: (main):
17658 * tools/gst-inspect.c: (print_element_properties_info):
17659 * tools/gst-xmlinspect.c: (print_element_properties):
17660 Fixed long standing mem-leak
17662 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17664 * check/gst/gstbin.c: (GST_START_TEST):
17665 * gst/gstbin.c: (bin_bus_handler):
17666 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17667 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17668 (gst_message_new_warning), (gst_message_new_tag),
17669 (gst_message_new_state_changed), (gst_message_new_segment_start),
17670 (gst_message_new_segment_done), (gst_message_new_custom):
17671 * gst/gstmessage.h:
17672 * tools/gst-launch.c: (event_loop):
17673 * tools/gst-md5sum.c: (event_loop):
17674 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17675 that applications can sensibly post custom messages with references
17676 to their own objects.
17678 2005-08-24 Andy Wingo <wingo@pobox.com>
17680 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17683 2005-08-24 Wim Taymans <wim@fluendo.com>
17685 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17686 (gst_base_transform_transform_caps),
17687 (gst_base_transform_transform_size),
17688 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17689 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17690 (gst_base_transform_handle_buffer):
17691 * gst/base/gstbasetransform.h:
17692 Many fixes and new features added by Thomas. Can now also do
17693 transforms with variable sizes and a custom fixate_caps function.
17695 2005-08-24 Wim Taymans <wim@fluendo.com>
17697 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17701 Cast to ClockTime before formatting to time.
17706 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17708 * check/gst-libs/controller.c: (GST_START_TEST),
17709 (gst_controller_suite):
17710 * docs/gst/tmpl/gstcaps.sgml:
17711 * docs/gst/tmpl/gstghostpad.sgml:
17712 * docs/gst/tmpl/gstquery.sgml:
17713 * docs/gst/tmpl/gstutils.sgml:
17714 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17715 (gst_object_sink_values), (gst_object_get_value_arrays),
17716 (gst_object_get_value_array):
17717 gracefully handle helper method calls to objects that are not beeing
17718 controlled, added test case for that
17720 2005-08-23 Wim Taymans <wim@fluendo.com>
17722 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17723 (gst_event_new_newsegment), (gst_event_parse_newsegment),
17724 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17725 (gst_event_parse_qos), (gst_event_new_seek),
17726 (gst_event_parse_seek):
17728 Some more debugging output and doc cleanups.
17730 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17731 Fix possible deadlock.
17733 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17735 * docs/gst/gstreamer-docs.sgml:
17736 * docs/gst/gstreamer-sections.txt:
17737 * docs/gst/gstreamer.types:
17738 * docs/gst/tmpl/.cvsignore:
17741 * gst/gstelement.c:
17743 added 100 symbols from gstreamer-unused.txt to the right sections
17744 fixed more broken comments
17745 added GstBus to docs
17747 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17749 * docs/gst/gstreamer-sections.txt:
17750 * docs/gst/tmpl/.cvsignore:
17751 * docs/gst/tmpl/gstbin.sgml:
17752 * docs/gst/tmpl/gstbuffer.sgml:
17753 * gst/base/gstbasesrc.c:
17754 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17757 * tools/gst-launch.1.in:
17758 inlined more doc comments, added missing comments and fixed comments
17761 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
17763 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17767 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17769 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17770 * gst/gststructure.h:
17771 add a fixate function for booleans; add a FIXME that these func
17772 names should probably be gst_structure_fixate_*
17774 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17776 * docs/gst/gstreamer-docs.sgml:
17777 * docs/gst/gstreamer-sections.txt:
17779 * gst/gstbin.c: (gst_bin_get_type),
17780 (gst_bin_child_proxy_get_child_by_index),
17781 (gst_bin_child_proxy_get_children_count),
17782 (gst_bin_child_proxy_init):
17783 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17784 (gst_child_proxy_get_child_by_index),
17785 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17786 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17787 (gst_child_proxy_get), (gst_child_proxy_set_property),
17788 (gst_child_proxy_set_valist), (gst_child_proxy_set),
17789 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17790 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17791 * gst/gstchildproxy.h:
17792 * gst/parse/grammar.y:
17793 * tools/gst-inspect.c: (print_interfaces),
17794 (print_element_properties_info), (print_element_info):
17795 ported gstchildproxy over from 0.8
17796 ported gst-inspect fixes and enhancements over from 0.8
17798 2005-08-22 Wim Taymans <wim@fluendo.com>
17800 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17801 (gst_base_transform_handle_buffer):
17802 Also call the transform function if we have ANY caps.
17804 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17807 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17809 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17810 Don't pretend to handle seek events if the source is not seekable
17812 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17814 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17815 Remove extra parameter to debug output
17817 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17818 (gst_base_src_do_seek), (gst_base_src_activate_push):
17819 Fix seek event handling.
17821 * gst/gstpipeline.c: (gst_pipeline_change_state):
17822 * gst/gstqueue.c: (gst_queue_handle_sink_event),
17823 (gst_queue_src_activate_push):
17824 Don't start the src pad task on FLUSH_STOP if the pad
17828 2005-08-22 Wim Taymans <wim@fluendo.com>
17830 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17831 Added check for gst_static_caps_get() refcounting.
17833 2005-08-22 Wim Taymans <wim@fluendo.com>
17835 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17836 Make _static_caps_get() refcounting sane.
17838 * gst/gstelement.c: (gst_element_set_state):
17839 Add g_return_val_if_fail() to protect against segfaults.
17841 2005-08-22 Stefan Kost <ensonic@users.sf.net>
17843 * docs/gst/tmpl/gstevent.sgml:
17846 inlined remaining docs, added missing doc comments
17848 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
17850 * check/gst/gstbin.c: (GST_START_TEST):
17851 since we don't know when preroll is done, use refcount range
17853 * gst/check/gstcheck.h:
17854 add macro for checking refcount range
17856 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17858 * check/Makefile.am:
17859 clean up environment for when registry gets built versus
17860 when actual tests are run; valgrind seems to not report
17861 leaks if GST_PLUGIN_PATH is set to some specific values
17862 * check/gst/gstbin.c: (GST_START_TEST):
17863 add more refcounting checks; maybe this exposes a
17865 * common/check.mak:
17866 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17867 * gst/check/gstcheck.h:
17868 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17869 (gst_bin_change_state):
17870 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17871 add/fix debugging/whitespace
17873 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17875 * check/gst/gstevent.c: (event_probe), (test_event),
17877 Er, don't call gst_bin_watch_for_state_change you idiot.
17879 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17881 * check/Makefile.am:
17882 Use CHECK_CFLAGS and CHECK_LIBS
17883 * check/gst/gstevent.c: (event_probe), (test_event),
17886 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17887 (gst_base_src_start), (gst_base_src_stop),
17888 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17889 (gst_base_src_change_state):
17890 Sprinkle gst_base_src_stop liberally around error paths to fix
17891 problems reusing a source after failed state changes.
17892 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17893 (helper_find_suggest), (gst_type_find_helper):
17894 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17896 * docs/gst/tmpl/gstevent.sgml:
17897 Migrate part of the docs from the SGML file. Wait for ensonic to
17898 tell me how I did it wrong ;)
17899 * tools/gst-typefind.c: (main):
17900 Extra robustness to state changes between files.
17902 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17904 * check/Makefile.am:
17905 don't valgrind the controller test - it's leaking - Stefan, HELP
17906 * gst/check/gstcheck.c: (gst_check_message_error),
17907 (gst_check_chain_func), (gst_check_setup_element),
17908 (gst_check_teardown_element), (gst_check_setup_src_pad),
17909 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17910 (gst_check_teardown_sink_pad):
17911 * gst/check/gstcheck.h:
17912 add a bunch of methods to set up elements, and src and sink pads
17913 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17914 * check/elements/identity.c: (setup_identity), (cleanup_identity),
17917 * gst/gstmessage.c:
17919 whitespace/doc fixes
17921 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17923 * gst/gstelement.h:
17924 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17925 be handled by the application and not always printed as well
17927 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17929 * check/Makefile.am:
17931 * gst/check/gstcheck.c: (gst_check_message_error):
17932 * gst/check/gstcheck.h:
17933 add a fail_unless_equals_int
17934 add fail_unless for error messages
17936 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17938 * check/Makefile.am:
17940 * common/Makefile.am:
17941 * common/check.mak:
17943 factor out some of the common stuff so we can use it
17945 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17947 * check/Makefile.am:
17948 * check/gst/gstiterator.c: (GST_START_TEST):
17949 * check/gst/gstsystemclock.c: (GST_START_TEST),
17950 (gst_systemclock_suite):
17951 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17953 valgrind more tests
17955 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17957 * check/elements/.cvsignore:
17958 * check/elements/gstfakesrc.c:
17959 rename to name of element
17960 * check/elements/identity.c: (chain_func), (event_func),
17961 (setup_identity), (cleanup_identity), (GST_START_TEST),
17962 (identity_suite), (main):
17963 add a test for identity
17964 * check/Makefile.am:
17965 * pkgconfig/Makefile.am:
17966 * pkgconfig/gstreamer-check.pc.in:
17967 * pkgconfig/gstreamer-check-uninstalled.pc.in:
17971 move the check stuff to a library that gets installed
17972 * check/gst-libs/controller.c: (GST_START_TEST):
17973 * check/gst-libs/gdp.c:
17974 * check/gst/gst.c: (GST_START_TEST):
17975 * check/gst/gstbin.c:
17976 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17977 * check/gst/gstbus.c:
17978 * check/gst/gstcaps.c: (GST_START_TEST):
17979 * check/gst/gstelement.c:
17980 * check/gst/gstghostpad.c:
17981 * check/gst/gstiterator.c:
17982 * check/gst/gstmessage.c:
17983 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17984 * check/gst/gstobject.c:
17985 * check/gst/gstpad.c: (GST_START_TEST):
17986 * check/gst/gststructure.c: (GST_START_TEST):
17987 * check/gst/gstsystemclock.c: (GST_START_TEST),
17988 (gst_systemclock_suite):
17989 * check/gst/gsttag.c: (gst_tag_suite):
17990 * check/gst/gstvalue.c:
17991 * check/pipelines/cleanup.c:
17992 * check/pipelines/simple_launch_lines.c:
17993 * check/states/sinks.c:
17994 change include statement
17996 * docs/gst/gstreamer-sections.txt:
17997 * docs/gst/tmpl/gstpad.sgml:
17998 document more pad stuff
17999 * gst/gstminiobject.c: (gst_mini_object_ref),
18000 (gst_mini_object_unref):
18003 2005-08-19 Stefan Kost <ensonic@users.sf.net>
18005 * docs/gst/tmpl/gst.sgml:
18007 eliminate another tmpl file, fix spelling in the long-description
18009 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18011 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18012 (test_event), (timediff), (gstevents_suite):
18013 Should fix build on 64-bit arch's
18015 2005-08-18 Andy Wingo <wingo@pobox.com>
18017 Make sure that when a pipeline goes to PLAYING, that data has
18018 actually hit the sink.
18020 * check/states/sinks.c (test_sink): A sink that doesn't get any
18021 data shouldn't return SUCCESS for going to either PLAYING or
18022 PAUSED. Test also the return values on the way back down.
18024 * gst/gstelement.c (gst_element_set_state): When changing the
18025 state of an element currently changing state asynchronously, go to
18026 lost-state after commiting the pending state. Makes future calls
18027 to get_state continue to return ASYNC.
18029 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
18030 ASYNC when going to PLAYING if we still don't have preroll, as can
18031 happen with live sources.
18033 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18035 * docs/pwg/advanced-types.xml:
18036 Hack long paragraph into 2 chunks as a workaround for buggy
18037 jadetex version in sid and breezy that loops infinitely and
18040 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18042 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18043 (test_event), (timediff), (gstevents_suite):
18044 Provide more error margin in clock measurements to allow for
18045 g_get_current_time inaccuracies.
18047 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18049 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18050 (test_event), (timediff), (gstevents_suite):
18051 Fix error message output so I might be able to tell why the
18052 test works here but fails on the build farm.
18054 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
18056 * check/Makefile.am:
18057 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
18058 (test_event), (timediff), (gstevents_suite), (main):
18061 * docs/design/part-seeking.txt:
18062 Spelling correction
18064 * docs/gst/tmpl/gstevent.sgml:
18065 * docs/gst/tmpl/gstfakesrc.sgml:
18068 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18069 Treat a buffer-without-newsegment the same as a receiving
18070 a newsegment not in time format, and disable syncing to the clock
18073 * gst/gstbus.c: (gst_bus_set_sync_handler):
18074 Assert if anyone tries to replace the existing sync_handler for bus,
18075 as only the owner should be setting it.
18078 Have a fixed set of custom event enums with events identified by
18079 their structure name (as in 0.8), rather than a free-for-all
18080 allowing collisions between enum values from different plugins.
18082 * gst/gstpad.c: (gst_pad_class_init):
18085 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18086 Handle out-of-band downstream events from the sending thread.
18088 2005-08-17 Andy Wingo <wingo@pobox.com>
18090 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
18091 play-timeout==0 to mean no timeout at all. In that case, don't
18092 bother with a get_state or a warning, just return directly, even
18095 * gst/base/gstbasetransform.c: Debug changes.
18098 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
18099 ensure bins post state change messages. A bit of a hack but I can't
18100 think of a way to avoid it.
18102 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
18104 2005-08-16 Andy Wingo <wingo@pobox.com>
18106 * gst/base/gstadapter.h:
18107 * gst/base/gstadapter.c (gst_adapter_take): New function, like
18108 peek() but you own the data. Not terribly efficient atm.
18110 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18112 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
18113 (gst_element_found_tags):
18115 Add two utility functions for tag handling.
18117 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18119 * docs/manual/advanced-dataaccess.xml:
18120 * docs/manual/basics-helloworld.xml:
18121 Fix docs to use _bin_add() before _link(), which fixes the examples
18122 with recent core versions (reported by Madhan Raj M
18123 <raj_madan@rediffmail.com>, #313199).
18125 2005-08-16 Wim Taymans <wim@fluendo.com>
18127 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18128 Added subtract checks.
18130 * docs/design/part-events.txt:
18131 Some more docs about newsegment
18133 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
18136 * gst/gstcaps.c: (gst_caps_to_string):
18137 Add comments, cleanups.
18139 * gst/gstelement.c: (gst_element_save_thyself):
18142 * gst/gstvalue.c: (gst_value_collect_int_range),
18143 (gst_string_unwrap), (gst_value_union_int_int_range),
18144 (gst_value_union_int_range_int_range),
18145 (gst_value_intersect_int_int_range),
18146 (gst_value_intersect_int_range_int_range),
18147 (gst_value_intersect_double_double_range),
18148 (gst_value_intersect_double_range_double_range),
18149 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
18150 (gst_value_subtract_int_range_int),
18151 (gst_value_subtract_double_range_double),
18152 (gst_value_subtract_double_range_double_range),
18153 (gst_value_subtract_from_list), (gst_value_subtract_list),
18154 (gst_value_can_compare), (gst_value_compare_fraction):
18155 Cleanups, add comments, remove unneeded asserts.
18157 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
18159 * tools/gst-launch.c: (event_loop):
18160 don't convert NULL structures to strings
18162 2005-08-15 Stefan Kost <ensonic@users.sf.net>
18164 * docs/gst/gstreamer-sections.txt:
18165 made some defines private
18166 * docs/gst/tmpl/gstconfig.sgml:
18167 * docs/gst/tmpl/gstqueue.sgml:
18168 * docs/gst/tmpl/gsttaglist.sgml:
18169 * docs/gst/tmpl/gsttypes.sgml:
18170 * docs/gst/tmpl/gstutils.sgml:
18171 * docs/pwg/appendix-porting.xml:
18172 * gst/base/gstbasesink.h:
18173 * gst/base/gstbasesrc.c:
18174 * gst/base/gstbasesrc.h:
18175 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
18176 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
18177 * gst/gstelement.c: (gst_element_class_init):
18178 * gst/gstpad.c: (gst_pad_class_init):
18179 * gst/gstqueue.c: (gst_queue_class_init):
18180 * gst/gstxml.c: (gst_xml_class_init):
18181 documented all undocumented signal inline
18182 * libs/gst/controller/gst-controller.h:
18185 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18187 * docs/pwg/appendix-porting.xml:
18188 Document _set_link_function -> _set_setcaps_function.
18190 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
18192 * check/Makefile.am:
18193 add a .check target for running the check
18194 * check/gst-libs/controller.c: (GST_START_TEST):
18196 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18197 complete checks for gstbuffer; would be nice if I could get the
18198 gcov stuff to work so I can see if I actually completed gstbuffer.c
18199 * check/gstcheck.h:
18200 add ASSERT_BUFFER_REFCOUNT
18202 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
18204 * docs/gst/gstreamer-sections.txt:
18205 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
18207 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
18208 spew out a warning if a tag that is already registered
18209 is re-registered, unless it is re-registered with a
18210 different type (#308438).
18212 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
18214 * docs/pwg/appendix-porting.xml:
18215 * docs/pwg/building-state.xml:
18216 Add some paragraphs about state changes in 0.9 to the PWG
18217 and the porting guide, in particular about the new meaning
18218 of GST_STATE_PAUSED and how to write state change functions
18219 with concurrent access by multiple threads in mind.
18221 2005-08-11 Stefan Kost <ensonic@users.sf.net>
18223 * docs/gst/gstreamer-docs.sgml:
18224 * docs/libs/gstreamer-libs-docs.sgml:
18225 added deprecation and since indexes
18226 * libs/gst/controller/gst-controller.c:
18227 * libs/gst/controller/gst-helper.c:
18231 2005-08-11 Wim Taymans <wim@fluendo.com>
18233 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
18234 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
18235 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
18236 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
18237 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
18238 (gst_ghost_pad_set_target):
18239 Actually implement (re)setting the target on a ghostpad
18240 as described in the docs.
18242 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
18244 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
18245 Check whether GST_DEBUG_NO_COLOR environment variable is
18246 set and disable coloured debug output if that is the case.
18248 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
18250 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18251 (gst_type_find_helper):
18252 The memory returned by gst_type_find_peek() needs to
18253 stay valid until the end of a typefind function, and
18254 typefind functions may keep results from different
18255 offsets around, so we can't just unref the buffer from
18256 the previous _peek(), but have to save all buffers
18257 returned by _peek() until typefinding is done and only
18260 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
18262 * docs/gst/gstreamer-sections.txt:
18264 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
18266 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18268 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18269 Fix a pretty good memleak.
18271 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
18273 * gst/gstiterator.h:
18274 Fix wrong include and 'make distcheck'.
18276 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18278 * gst/gstbin.c: (bin_bus_handler):
18279 Use gst_element_post_message() instead.
18281 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
18283 * gst/base/gstadapter.h:
18284 * gst/base/gstbasesink.h:
18285 * gst/base/gstbasesrc.h:
18286 * gst/base/gstbasetransform.h:
18287 * gst/base/gstcollectpads.h:
18288 * gst/base/gstpushsrc.h:
18289 * gst/gstiterator.h:
18290 Add padding to our base elements' class and instance structs and
18291 to GstIterator (you will need to rebuild all plugins and apps!)
18293 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18295 * gst/gstbin.c: (bin_bus_handler):
18296 Make default message forwarding from child->bus to bin->bus
18297 threadsafe and make it not emit warnings if the parent has no bus.
18299 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18301 * gst/gstelement.c: (activate_pads):
18302 On paused->ready, set pad->caps to NULL, as is the documented
18303 behaviour in this state change. Fixes playback of series of
18304 media files when visualization is enabled in Totem.
18306 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18308 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18309 Allow NULL as filter-caps (which means "any").
18311 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18313 * docs/libs/gstreamer-libs-sections.txt:
18314 * libs/gst/controller/gst-controller.c:
18315 * libs/gst/controller/gst-controller.h:
18316 * libs/gst/controller/gst-helper.c:
18317 adding more entries to the docs and fix small doc-bugs
18319 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18321 * docs/gst/gstreamer-docs.sgml:
18322 * docs/gst/gstreamer-sections.txt:
18323 * docs/gst/gstreamer.types:
18324 * docs/gst/tmpl/gstbasesink.sgml:
18325 * docs/gst/tmpl/gstbasesrc.sgml:
18326 * docs/gst/tmpl/gstbasetransform.sgml:
18327 * docs/gst/tmpl/gstfakesrc.sgml:
18328 * gst/base/gstcollectpads.c:
18329 * gst/base/gstcollectpads.h:
18330 * libs/gst/controller/gst-controller.c:
18331 * libs/gst/controller/gst-controller.h:
18332 * libs/gst/controller/gst-helper.c:
18333 * libs/gst/controller/gst-interpolation.c:
18334 * libs/gst/controller/lib.c:
18335 added long/short desc for controller docs
18336 added collectpads base class docs
18337 added correct includes to base-class docs
18339 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18341 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18342 (gst_test_mono_source_set_property),
18343 (gst_test_mono_source_class_init), (GST_START_TEST),
18344 (gst_controller_suite):
18345 * docs/gst/gstreamer-docs.sgml:
18346 * docs/gst/gstreamer-sections.txt:
18347 * docs/gst/gstreamer.types:
18348 * docs/libs/gstreamer-libs-docs.sgml:
18349 * docs/libs/gstreamer-libs-sections.txt:
18350 * gst/base/gstadapter.c:
18351 * libs/gst/controller/gst-controller.c:
18352 (gst_controlled_property_new), (gst_controlled_property_free),
18353 (gst_controller_new_valist),
18354 (gst_controller_remove_properties_valist),
18355 (gst_controller_sink_values), (_gst_controller_finalize):
18356 * libs/gst/controller/gst-controller.h:
18357 * libs/gst/controller/gst-helper.c:
18358 (gst_object_control_properties), (gst_object_uncontrol_properties),
18359 (gst_object_get_controller), (gst_object_set_controller),
18360 (gst_object_sink_values), (gst_object_get_value_arrays),
18361 (gst_object_get_value_array):
18362 more tests (and fixes) for the controller
18363 more docs for the controller
18364 integrated companies docs for the adapter
18366 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
18368 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
18369 (GST_START_TEST), (fakesrc_suite):
18370 add tests for sizetype
18372 2005-08-04 Andy Wingo <wingo@pobox.com>
18374 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
18375 fixes buffer_alloc proxying among other things.
18377 * gst/base/gstbasetransform.c:
18378 * gst/base/gstbasetransform.h:
18379 Revert patch to gstbasetransform from 7-28 removing
18382 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
18383 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
18384 Semantics changed, should return not the size of the output buffer
18385 but the byte size of a buffer with a given caps.
18387 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
18389 (gst_base_transform_configure_caps): Don't set out_size here: (in,
18390 out) are not the pad caps until setcaps finishes.
18391 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
18392 not-in-place case as well. Deal with changing from in-place to
18393 not-in-place within calling pad_alloc_buffer. Still a bit
18394 concerned about the overhead here...
18396 2005-08-03 Andy Wingo <wingo@pobox.com>
18398 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
18399 fixating is an error.
18401 2005-08-04 Edward Hervey <edward@fluendo.com>
18403 * gst/base/gstadapter.h:
18404 Added gst_adapter_get_type() to the header
18406 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18408 * check/Makefile.am:
18409 * check/gst-libs/controller.c:
18410 * libs/gst/controller/gst-controller.c:
18411 (gst_controller_new_valist):
18412 added check test suite for the controller
18413 * gst/base/gstpushsrc.c:
18416 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18418 * docs/gst/Makefile.am:
18419 * docs/gst/gstreamer-docs.sgml:
18420 * docs/gst/gstreamer-sections.txt:
18421 * docs/gst/gstreamer.types:
18422 * docs/gst/tmpl/gstfakesrc.sgml:
18424 * gst/base/gstbasesink.c:
18425 * gst/base/gstbasesink.h:
18426 * gst/base/gstbasesrc.c:
18427 * gst/base/gstbasesrc.h:
18428 * gst/base/gstbasetransform.c:
18429 * gst/base/gstpushsrc.c:
18430 * gst/base/gstpushsrc.h:
18431 add short/long description docs to base classes
18432 add pushsrc to the docs
18433 remove consolidated doc fragments
18435 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18438 * docs/libs/Makefile.am:
18439 * docs/libs/gstreamer-libs-docs.sgml:
18440 * docs/libs/gstreamer-libs-sections.txt:
18441 * docs/libs/gstreamer-libs.types:
18442 * examples/Makefile.am:
18443 * examples/controller/.cvsignore:
18444 * examples/controller/Makefile.am:
18445 * examples/controller/audio-example.c: (main):
18446 * libs/gst/Makefile.am:
18447 * libs/gst/controller/.cvsignore:
18448 * libs/gst/controller/Makefile.am:
18449 * libs/gst/controller/gst-controller.c:
18450 (on_object_controlled_property_changed), (gst_timed_value_compare),
18451 (gst_timed_value_find),
18452 (gst_controlled_property_set_interpolation_mode),
18453 (gst_controlled_property_new), (gst_controlled_property_free),
18454 (gst_controller_find_controlled_property),
18455 (gst_controller_new_valist), (gst_controller_new),
18456 (gst_controller_remove_properties_valist),
18457 (gst_controller_remove_properties), (gst_controller_set),
18458 (gst_controller_set_from_list), (gst_controller_unset),
18459 (gst_controller_get), (gst_controller_get_all),
18460 (gst_controller_sink_values), (gst_controller_get_value_arrays),
18461 (gst_controller_get_value_array),
18462 (gst_controller_set_interpolation_mode),
18463 (_gst_controller_finalize), (_gst_controller_init),
18464 (_gst_controller_class_init), (gst_controller_get_type):
18465 * libs/gst/controller/gst-controller.h:
18466 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18467 (g_object_uncontrol_properties), (g_object_get_controller),
18468 (g_object_set_controller), (g_object_sink_values),
18469 (g_object_get_value_arrays), (g_object_get_value_array):
18470 * libs/gst/controller/gst-interpolation.c:
18471 (gst_controlled_property_find_timed_value_node),
18472 (interpolate_none_get), (interpolate_trigger_get),
18473 (interpolate_trigger_get_value_array):
18474 * libs/gst/controller/lib.c: (gst_controller_init):
18475 * pkgconfig/Makefile.am:
18476 * pkgconfig/gstreamer-control-uninstalled.pc.in:
18477 * pkgconfig/gstreamer-control.pc.in:
18478 * testsuite/Makefile.am:
18479 * testsuite/controller/.cvsignore:
18480 * testsuite/controller/Makefile.am:
18481 * testsuite/controller/interpolator.c: (main):
18482 added controller code
18483 removed dparam pc files
18485 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18486 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18487 (gst_collectpads_stop):
18488 Broadcast the condition when shutting down, to make sure we wake all
18489 threads up. Shut down pads on finalize, for safety.
18491 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18492 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18493 (gst_base_transform_handle_buffer),
18494 (gst_base_transform_change_state):
18495 Handle PAUSED->READY->PAUSED transition after negotiation
18497 * gst/gstmessage.c: (gst_message_init):
18498 Extra piece of debug for new messages.
18500 2005-08-01 Stefan Kost <ensonic@users.sf.net>
18503 * docs/gst/tmpl/gstbasesrc.sgml:
18504 * docs/gst/tmpl/gstelement.sgml:
18505 * docs/gst/tmpl/gstevent.sgml:
18506 * docs/gst/tmpl/gstfakesrc.sgml:
18507 * docs/gst/tmpl/gstformat.sgml:
18508 * docs/gst/tmpl/gstghostpad.sgml:
18509 * docs/gst/tmpl/gstpad.sgml:
18510 * docs/gst/tmpl/gstquery.sgml:
18511 * docs/gst/tmpl/gststructure.sgml:
18512 * docs/gst/tmpl/gsttaglist.sgml:
18513 * docs/gst/tmpl/gstvalue.sgml:
18514 * docs/libs/gstreamer-libs-docs.sgml:
18515 * docs/libs/gstreamer-libs-sections.txt:
18516 * docs/libs/gstreamer-libs.types:
18517 * libs/gst/Makefile.am:
18518 * libs/gst/control/.cvsignore:
18519 * libs/gst/control/Makefile.am:
18520 * libs/gst/control/control.c:
18521 * libs/gst/control/control.h:
18522 * libs/gst/control/dparam.c:
18523 * libs/gst/control/dparam.h:
18524 * libs/gst/control/dparam_smooth.c:
18525 * libs/gst/control/dparam_smooth.h:
18526 * libs/gst/control/dparamcommon.h:
18527 * libs/gst/control/dparammanager.c:
18528 * libs/gst/control/dparammanager.h:
18529 * libs/gst/control/dplinearinterp.c:
18530 * libs/gst/control/dplinearinterp.h:
18531 * libs/gst/control/unitconvert.c:
18532 * libs/gst/control/unitconvert.h:
18533 * testsuite/Makefile.am:
18534 * testsuite/dynparams/.cvsignore:
18535 * testsuite/dynparams/Makefile.am:
18536 * testsuite/dynparams/dparamstest.c:
18537 * tools/Makefile.am:
18538 * tools/gst-inspect.c: (print_element_info), (main):
18539 * tools/gst-xmlinspect.c: (print_element_info), (main):
18540 deactivate and remove dparams (libgstcontrol)
18542 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18544 * gst/elements/gsttypefindelement.c:
18545 (gst_type_find_element_have_type), (gst_type_find_element_init),
18546 (stop_typefinding), (gst_type_find_element_handle_event),
18547 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18548 * gst/elements/gsttypefindelement.h:
18549 Set caps on all outgoing buffers, not just the first one.
18551 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18553 * gst/elements/gsttypefindelement.c:
18554 (gst_type_find_element_have_type),
18555 (gst_type_find_element_check_set_buffer_caps),
18556 (gst_type_find_element_init), (stop_typefinding),
18557 (gst_type_find_element_handle_event),
18558 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18559 * gst/elements/gsttypefindelement.h:
18560 Set caps on first outgoing buffer when we've found the type.
18562 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18564 * docs/gst/gstreamer-docs.sgml:
18565 * docs/gst/gstreamer-sections.txt:
18566 * docs/gst/tmpl/gstscheduler.sgml:
18567 * docs/gst/tmpl/gstschedulerfactory.sgml:
18568 Remove some old cruft from docs.
18570 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
18573 Fix inline docs for GstPadLinkReturn.
18575 * gst/gststructure.c: (gst_structure_has_name):
18576 * gst/gststructure.h:
18577 * docs/gst/gstreamer-sections.txt:
18578 New API: gst_structure_has_name().
18580 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
18583 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18584 and _LARGEFILE_SOURCE in config.h as required. Do not
18585 export those flags in our .pc files any longer (#142209).
18587 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18589 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18590 (gst_file_sink_do_seek), (gst_file_sink_event),
18591 (gst_file_sink_get_current_offset), (gst_file_sink_render):
18592 Redo seek/tell calls with large file support in mind; add some
18593 debugging messages; add log message that tells us when large
18594 file support is unavailable or not enabled for some reason.
18596 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18597 Add log message that tells us when large file support
18598 is unavailable or not enabled for some reason.
18600 2005-07-29 Wim Taymans <wim@fluendo.com>
18602 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18603 Added test for removing an element with ghostpad from a bin.
18604 Fixed test as current implementation does the right thing.
18606 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18607 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18608 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18609 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18610 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18611 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18612 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18613 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18614 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18615 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18616 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18617 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18618 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18619 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18620 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18621 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18622 * gst/gstghostpad.h:
18623 Clean up ghostpads, remove properties for internal stuff.
18626 Prepare for switching targets, not all use cases work yet.
18628 2005-07-29 Wim Taymans <wim@fluendo.com>
18630 * docs/design/part-gstghostpad.txt:
18633 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18634 (gst_bin_remove_func):
18635 Unlinking pads while holding the bin LOCK is not a good
18638 * gst/gstpad.c: (gst_pad_class_init),
18639 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18640 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18641 No prob setting template after creating the pad.
18643 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
18645 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18646 (gst_bus_peek), (gst_bus_source_dispatch),
18647 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18648 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18649 gst_bus_poll may be called from other threads. Handle
18650 this nicely by not making poll_data disappear off the
18651 stack once gst_bus_poll returns.
18652 gst_bus_peek now increments the refcount on the returned
18655 2005-07-29 Wim Taymans <wim@fluendo.com>
18657 * docs/design/part-gstghostpad.txt:
18658 Overview of current GhostPad datastructures and use
18659 cases for changing the target.
18661 2005-07-28 Wim Taymans <wim@fluendo.com>
18663 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18664 Added checks for hierarchy consistency whan adding linked
18667 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18668 Added check to test element scheduling without bin/pipeline.
18670 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18671 First add elements to bin, then link.
18673 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18674 (gst_bin_remove_func):
18675 Unlink pads from elements added/removed from bin to maintain
18676 hierarchy consistency.
18678 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18680 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18681 (gst_base_transform_handle_buffer):
18682 * gst/base/gstbasetransform.h:
18683 Remove broken delay_configure (fixes renegotiation of software
18684 scaling pipelines); remove some leftover printf()s.
18686 2005-07-28 Wim Taymans <wim@fluendo.com>
18688 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18689 Added some more tests for wrong hierarchy
18691 * docs/design/part-overview.txt:
18694 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18697 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18698 (gst_element_dispose):
18699 Some more cleanups.
18701 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18702 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18703 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18704 (gst_pad_set_caps), (gst_pad_send_event):
18705 Check for correct hierarchy when linking pads. Moving to
18706 strict requirement for ghostpads when linking elements in
18710 Clean ups. Added WRONG_HIERARCHY return value.
18712 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18714 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18715 Better debug if no transform is possible.
18717 2005-07-27 Wim Taymans <wim@fluendo.com>
18719 * docs/random/wtay/network-transp:
18720 Some old doc I had.
18722 2005-07-27 Wim Taymans <wim@fluendo.com>
18724 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18725 (gst_dp_event_from_packet):
18726 Fix serialization of seek events.
18728 2005-07-27 Wim Taymans <wim@fluendo.com>
18730 * check/gst-libs/gdp.c: (GST_START_TEST):
18731 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18732 Fix compilation and fix event serialization.
18734 2005-07-27 Wim Taymans <wim@fluendo.com>
18737 * docs/design/part-TODO.txt:
18738 * docs/design/part-events.txt:
18741 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18742 (gst_base_sink_event), (gst_base_sink_do_sync),
18743 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18744 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18745 (gst_base_src_do_seek), (gst_base_src_event_handler),
18746 (gst_base_src_loop):
18747 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18748 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18749 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18750 (gst_base_transform_event), (gst_base_transform_handle_buffer),
18751 (gst_base_transform_set_passthrough),
18752 (gst_base_transform_is_passthrough):
18753 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18754 * gst/elements/gstfilesink.c: (gst_file_sink_event):
18760 * gst/gstelement.c: (gst_element_seek):
18761 * gst/gstelement.h:
18762 Update gst_element_seek.
18764 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18765 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18766 (gst_event_new_flush_start), (gst_event_new_flush_stop),
18767 (gst_event_new_eos), (gst_event_new_newsegment),
18768 (gst_event_parse_newsegment), (gst_event_new_tag),
18769 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18770 (gst_event_parse_qos), (gst_event_new_seek),
18771 (gst_event_parse_seek), (gst_event_new_navigation):
18773 Make GstEvent use GstStructure. Add parsing code, make sure the
18774 API is sufficiently generic.
18775 Mark possible directions of events and serialization.
18777 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18778 (_gst_message_copy), (gst_message_new_segment_start),
18779 (gst_message_new_segment_done), (gst_message_new_custom),
18780 (gst_message_parse_segment_start),
18781 (gst_message_parse_segment_done):
18784 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18785 (gst_pad_set_caps), (gst_pad_send_event):
18786 Update for new events.
18787 Catch events sent in wrong directions.
18789 * gst/gstqueue.c: (gst_queue_link_src),
18790 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18791 (gst_queue_handle_src_query):
18796 Remove event code from this file.
18798 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18799 (gst_dp_event_from_packet):
18802 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18804 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18805 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18806 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18807 Make debugging actually useful.
18809 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18811 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18812 (gst_pad_fixate_caps):
18813 Implement default fixation once again, so that gst_pad_fixate()
18814 actually does anything at all. This probably needs to be some
18815 sort of a last resort, and use profile-based fixation first, but
18816 since that doesn't exist yet, this is the best we have. Fixes
18817 visualization in Totem.
18819 2005-07-22 Wim Taymans <wim@fluendo.com>
18821 * docs/design/part-events.txt:
18824 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18825 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18826 (gst_base_sink_activate_pull):
18827 Some more comments.
18829 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18830 (gst_fake_src_create):
18831 Fix handoff marshall.
18833 * gst/elements/gstidentity.c: (gst_identity_class_init),
18834 (gst_identity_transform_ip):
18835 We're a real inplace element.
18837 * gst/gstbus.c: (gst_bus_post):
18838 Added some comments.
18840 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18841 * tests/muxing/case1.c: (main):
18842 * tests/sched/dynamic-pipeline.c: (main):
18843 * tests/sched/interrupt1.c: (main):
18844 * tests/sched/interrupt2.c: (main):
18845 * tests/sched/interrupt3.c: (main):
18846 * tests/sched/runxml.c: (main):
18847 * tests/sched/sched-stress.c: (main):
18848 * tests/seeking/seeking1.c: (event_received), (main):
18849 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18851 * tests/threadstate/threadstate3.c: (main):
18852 * tests/threadstate/threadstate4.c: (main):
18853 * tests/threadstate/threadstate5.c: (main):
18856 2005-07-21 Wim Taymans <wim@fluendo.com>
18858 * docs/design/part-seeking.txt:
18859 Some small additions.
18861 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18862 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18863 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18864 * gst/base/gstbasesink.h:
18865 discont values are gint64, handle the math correctly.
18867 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18868 Make the basesrc report error if the source pad is not linked.
18870 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18871 (gst_queue_loop), (gst_queue_handle_src_query),
18872 (gst_queue_src_activate_push):
18873 Make queue collect data even if the srcpad is not linked.
18874 Start pushing out data as soon as it is linked.
18876 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18878 Added gst_flow_get_name() to ease error reporting.
18880 2005-07-20 Wim Taymans <wim@fluendo.com>
18882 * gst/gstmessage.c: (gst_message_new_segment_start),
18883 (gst_message_new_segment_done), (gst_message_parse_segment_start),
18884 (gst_message_parse_segment_done):
18885 * gst/gstmessage.h:
18886 Added a bunch of messages for advanced seeking.
18888 * gst/parse/grammar.y:
18889 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18890 (gst_dpman_state_changed):
18891 Fix some new-pad -> pad-added signals
18893 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18895 * docs/manual/appendix-porting.xml:
18896 * docs/pwg/appendix-porting.xml:
18897 Document new-pad/state-change signal renames and the FixedList
18900 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18902 * docs/manual/advanced-autoplugging.xml:
18903 * docs/manual/basics-helloworld.xml:
18904 * docs/manual/basics-pads.xml:
18905 * docs/random/ds/0.9-suggested-changes:
18906 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18907 * gst/gstelement.h:
18911 * gst/gststructure.c: (gst_structure_value_get_generic_type),
18912 (gst_structure_parse_array), (gst_structure_parse_value):
18913 * gst/gstvalue.c: (gst_type_is_fixed),
18914 (gst_value_list_prepend_value), (gst_value_list_append_value),
18915 (gst_value_list_get_size), (gst_value_list_get_value),
18916 (gst_value_transform_array_string), (gst_value_serialize_array),
18917 (gst_value_deserialize_array), (gst_value_intersect_array),
18918 (gst_value_is_fixed), (_gst_value_initialize):
18920 GstElement::new-pad -> pad-added, GstElement::state-change ->
18921 state-changed, GstValueFixedList -> GstValueArray, add format and
18922 flags as their own arguments in gst_element_seek() (should improve
18923 "bindeability"), remove function generators since they don't work
18924 under a whole bunch of compilers (they were deprecated already
18927 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18929 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18930 (_gst_debug_register_funcptr):
18932 Fix illegal cast on some platforms (#309253).
18934 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18936 * gst/gstmessage.c: (gst_message_new_custom):
18937 * gst/gstmessage.h:
18938 Add _new_custom, make _new_application a macro to _new_custom.
18940 2005-07-20 Wim Taymans <wim@fluendo.com>
18942 * gst/base/gstbasesrc.c: (gst_base_src_init),
18943 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18944 * gst/base/gstbasesrc.h:
18945 Add a gboolean to decide when to push out a discont.
18947 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18948 (gst_queue_loop), (gst_queue_handle_src_query),
18949 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18950 (gst_queue_set_property), (gst_queue_get_property):
18953 * tests/threadstate/threadstate1.c: (main):
18954 Make a thread test compile and run... very silly..
18957 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18959 * docs/manual/appendix-porting.xml:
18960 Mention removal of libgstgconf-0.9.la and existence of gconf
18963 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18965 * docs/pwg/advanced-clock.xml:
18966 * docs/pwg/appendix-porting.xml:
18967 * docs/pwg/intro-preface.xml:
18968 * docs/pwg/other-base.xml:
18969 * docs/pwg/other-manager.xml:
18970 * docs/pwg/other-nton.xml:
18971 * docs/pwg/other-ntoone.xml:
18972 * docs/pwg/other-oneton.xml:
18973 * docs/pwg/pwg.xml:
18974 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18975 demuxer), remove n-to-n (was never written), fix some code examples
18976 and links and update the porting section to include all this.
18978 2005-07-19 Wim Taymans <wim@fluendo.com>
18980 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18981 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18982 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18983 (gst_queue_src_activate_push), (gst_queue_change_state),
18984 (gst_queue_get_property):
18986 Propagate GstFlowReturn more intelligently upstream and output
18987 an ERROR/EOS when streaming stopped due to fatal error.
18989 2005-07-19 Wim Taymans <wim@fluendo.com>
18991 * tools/gst-launch.c: (check_intr), (event_loop), (main):
18992 Don't block forever for the state change to complete, the
18993 pipeline already did with a sensible timeout.
18995 2005-07-19 Wim Taymans <wim@fluendo.com>
18997 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18998 Make sure we never call the create function is we
19001 2005-07-19 Andy Wingo <wingo@pobox.com>
19003 * gst/parse/parse.l: Attempt to solve bug #172815.
19005 2005-07-19 Wim Taymans <wim@fluendo.com>
19007 * docs/design/part-clocks.txt:
19008 * docs/design/part-events.txt:
19009 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
19010 Small docs updates.
19011 Only update the seeking values when we are not
19014 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
19016 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19017 Oops, ignore the result of gst_pad_push_event here.
19019 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
19021 * gst/base/gstbasesrc.c: (gst_base_src_loop),
19022 (gst_base_src_activate_push):
19023 Send discont event from the loop function, as pads
19024 aren't activated yet in the activate_push handler.
19026 * gst/gstbin.c: (bin_bus_handler):
19027 Don't leak element name.
19029 2005-07-18 Andy Wingo <wingo@pobox.com>
19031 * configure.ac: Use AS_LIBTOOL_TAGS.
19033 2005-07-18 Wim Taymans <wim@fluendo.com>
19035 * docs/gst/gstreamer.types:
19036 Remove deleted types.
19038 2005-07-18 Wim Taymans <wim@fluendo.com>
19040 * check/elements/gstfakesrc.c: (GST_START_TEST):
19043 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
19044 (init_popt_callback):
19046 * gst/gst_private.h:
19047 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
19048 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
19051 * gst/gstconfig.h.in:
19052 * gst/gstelement.c: (gst_element_class_init),
19053 (gst_element_set_base_time), (gst_element_get_base_time),
19054 (iterator_fold_with_resync), (gst_element_change_state),
19055 (gst_element_dispose), (gst_element_get_bus):
19056 * gst/gstelement.h:
19057 * gst/gstelementfactory.h:
19058 * gst/gsterror.c: (_gst_core_errors_init):
19061 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19063 * gst/gstinfo.c: (_gst_debug_init):
19064 * gst/gstmessage.c: (_gst_message_copy):
19065 * gst/gstmessage.h:
19066 * gst/gstminiobject.h:
19069 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19070 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
19073 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19074 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19075 (gst_pipeline_get_last_stream_time):
19076 * gst/gstpipeline.h:
19077 * gst/gstpluginfeature.h:
19079 * gst/gstscheduler.c:
19080 * gst/gstscheduler.h:
19081 * gst/gststructure.h:
19082 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19083 (gst_task_finalize), (gst_task_func), (gst_task_create),
19084 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
19085 (gst_task_stop), (gst_task_pause):
19087 * gst/gsttypefind.h:
19089 * gst/registries/gstlibxmlregistry.c: (load_feature),
19090 (gst_xml_registry_load), (gst_xml_registry_save_feature):
19091 * gst/registries/gstxmlregistry.c:
19092 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
19093 * gst/schedulers/threadscheduler.c:
19094 * libs/gst/control/dparammanager.h:
19095 * tools/gst-inspect.c: (print_element_list),
19096 (print_plugin_features), (print_element_features):
19097 * tools/gst-xmlinspect.c: (print_element_list),
19098 (print_plugin_info), (main):
19099 Removed plugable schedulers.
19100 Removed Scheduler/Manager from elements.
19101 Removed gsttypes.h, rearranged includes.
19102 Removed dependency pad<->element, element<>pipeline, and
19103 various others, fix includes.
19104 implement gst_pad_get_parent() with gst_object_get_parent()
19105 Make GstTask sefcontained.
19106 Fix _get_state() on GstBin, it did not return ASYNC with a 0
19108 Fix endless loop in iterator_fold_with_resync.
19111 2005-07-18 Wim Taymans <wim@fluendo.com>
19117 2005-07-18 Wim Taymans <wim@fluendo.com>
19120 No more cothreads.h
19122 2005-07-18 Wim Taymans <wim@fluendo.com>
19126 Let's remove these.
19128 2005-07-18 Wim Taymans <wim@fluendo.com>
19130 * docs/design/part-dynamic.txt:
19131 * docs/design/part-events.txt:
19132 * docs/design/part-seeking.txt:
19133 Some more docs in the works.
19135 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19136 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
19137 (gst_base_transform_setcaps), (gst_base_transform_get_size),
19138 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19139 (gst_base_transform_handle_buffer),
19140 (gst_base_transform_sink_activate_push),
19141 (gst_base_transform_src_activate_pull),
19142 (gst_base_transform_set_passthrough),
19143 (gst_base_transform_is_passthrough):
19146 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
19149 * gst/gstevent.c: (gst_event_finalize):
19152 * gst/gstutils.c: (gst_element_unlink),
19153 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
19154 (gst_pad_proxy_setcaps):
19156 Add _get_parent_element() to get a pads parent as an element.
19158 2005-07-18 Wim Taymans <wim@fluendo.com>
19160 * check/gst/gstbin.c: (GST_START_TEST):
19163 2005-07-18 Wim Taymans <wim@fluendo.com>
19165 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19166 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19167 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19168 (gst_base_sink_event), (gst_base_sink_do_sync),
19169 (gst_base_sink_chain), (gst_base_sink_loop),
19170 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
19171 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19173 Fix logic for returning ASYNC when not prerolled.
19175 2005-07-18 Wim Taymans <wim@fluendo.com>
19177 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19178 Fix nasty refcount bug.
19180 2005-07-16 Philippe Khalaf <burger@speedy.org>
19182 * gst/elements/gstfdsrc.c:
19183 * gst/elements/gstfdsrc.h:
19184 * gst/elements/gstelements.c:
19185 * gst/elements/Makefile.am:
19186 Ported fdsrc to 0.9.
19188 2005-07-16 Wim Taymans <wim@fluendo.com>
19190 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19191 (gst_base_sink_do_sync):
19194 2005-07-16 Wim Taymans <wim@fluendo.com>
19196 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19197 (gst_base_sink_event), (gst_base_sink_get_times),
19198 (gst_base_sink_do_sync), (gst_base_sink_change_state):
19199 * gst/base/gstbasesink.h:
19200 Store and use discont values when syncing buffers as described
19203 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19204 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
19205 (gst_base_src_activate_push):
19206 Push discont event when starting.
19208 * gst/elements/gstidentity.c: (gst_identity_transform):
19211 * gst/gstbin.c: (gst_bin_change_state):
19212 Small cleanups in base_time distribution.
19214 * gst/gstelement.c: (gst_element_set_base_time),
19215 (gst_element_get_base_time), (gst_element_change_state):
19216 * gst/gstelement.h:
19217 Added methods for the base_time of the element.
19220 * gst/gstpipeline.c: (gst_pipeline_send_event),
19221 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19222 (gst_pipeline_get_last_stream_time):
19223 * gst/gstpipeline.h:
19225 Handle seeking as described in design doc, remove stream_time
19227 Cleanups clock and stream_time selection code. Added accessors
19228 for the stream_time.
19231 2005-07-16 Andy Wingo <wingo@pobox.com>
19233 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
19236 2005-07-16 Wim Taymans <wim@fluendo.com>
19238 * check/gst/gstbin.c: (GST_START_TEST):
19239 Make elements silent as the deep_notify refs the
19240 parent, which might make the test fail.
19242 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19243 Don't hold the lock for too long.
19245 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
19247 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19248 Don't unref the caps we passed to gst_caps_make_writable() after
19249 passing them. gst_caps_make_writable() will do that for us.
19251 2005-07-15 Andy Wingo <wingo@pobox.com>
19253 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
19256 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
19257 own marshalling function for the handoff signal. Properly type the
19258 buffer as a buffer. Fixes some warnings. Should do a more general
19260 (gst_identity_class_init): Plug into the right marshaller.
19262 2005-07-15 Wim Taymans <wim@fluendo.com>
19264 * docs/design/part-TODO.txt:
19265 * docs/design/part-clocks.txt:
19266 * docs/design/part-element-sink.txt:
19267 * docs/design/part-events.txt:
19268 * docs/design/part-gstpipeline.txt:
19269 Updated docs, mostly DISCONT related.
19271 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
19273 * docs/pwg/building-pads.xml:
19274 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
19276 2005-07-15 Andy Wingo <wingo@pobox.com>
19278 * tools/gst-typefind.c: Update, add copyright block.
19280 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
19281 Normalize and truncate caps before fixation.
19284 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
19285 discards all but the first structure from its argument.
19287 2005-07-15 Wim Taymans <wim@fluendo.com>
19289 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19290 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
19291 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19292 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19293 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
19294 (gst_base_transform_chain), (gst_base_transform_change_state),
19295 (gst_base_transform_set_passthrough),
19296 (gst_base_transform_is_passthrough):
19297 * gst/base/gstbasetransform.h:
19298 Make passthrough work using the bufferpools.
19299 Changed API a bit, subclasses have to write into a buffer
19300 provided by the base class.
19301 More debug info in nego functions.
19303 * gst/elements/gstidentity.c: (gst_identity_init),
19304 (gst_identity_transform):
19305 Port to new base class.
19307 2005-07-15 Wim Taymans <wim@fluendo.com>
19309 * gst/gstmessage.c: (gst_message_new_state_changed):
19310 * tools/gst-launch.c: (event_loop), (main):
19311 Totally dump messages in -launch with the -m option.
19312 Fix message name for State messages,
19314 2005-07-14 Wim Taymans <wim@fluendo.com>
19316 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19317 Post error messages on errors.
19319 2005-07-14 Wim Taymans <wim@fluendo.com>
19321 * gst/gstcaps.c: (gst_caps_do_simplify):
19325 Define error for stream stopped.
19327 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19328 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
19329 Do proper return values.
19331 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19332 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
19333 (gst_pad_get_range):
19334 Better return values.
19337 Reorganise return values, add macro to check for fatal errors.
19339 * gst/gstqueue.c: (gst_queue_chain):
19340 Return proper GstFlowReturn values,
19342 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
19344 * docs/gst/gstreamer-sections.txt:
19345 * docs/gst/gstreamer.types:
19346 * docs/gst/tmpl/gst.sgml:
19347 * docs/gst/tmpl/gstbasesink.sgml:
19348 * docs/gst/tmpl/gstbasesrc.sgml:
19349 * docs/gst/tmpl/gstbasetransform.sgml:
19350 * docs/gst/tmpl/gstbin.sgml:
19351 * docs/gst/tmpl/gstbuffer.sgml:
19352 * docs/gst/tmpl/gstcaps.sgml:
19353 * docs/gst/tmpl/gstclock.sgml:
19354 * docs/gst/tmpl/gstcompat.sgml:
19355 * docs/gst/tmpl/gstconfig.sgml:
19356 * docs/gst/tmpl/gstelement.sgml:
19357 * docs/gst/tmpl/gstelementdetails.sgml:
19358 * docs/gst/tmpl/gstelementfactory.sgml:
19359 * docs/gst/tmpl/gstenumtypes.sgml:
19360 * docs/gst/tmpl/gsterror.sgml:
19361 * docs/gst/tmpl/gstevent.sgml:
19362 * docs/gst/tmpl/gstfakesink.sgml:
19363 * docs/gst/tmpl/gstfakesrc.sgml:
19364 * docs/gst/tmpl/gstfilesink.sgml:
19365 * docs/gst/tmpl/gstfilesrc.sgml:
19366 * docs/gst/tmpl/gstfilter.sgml:
19367 * docs/gst/tmpl/gstformat.sgml:
19368 * docs/gst/tmpl/gstghostpad.sgml:
19369 * docs/gst/tmpl/gstimplementsinterface.sgml:
19370 * docs/gst/tmpl/gstindex.sgml:
19371 * docs/gst/tmpl/gstindexfactory.sgml:
19372 * docs/gst/tmpl/gstinfo.sgml:
19373 * docs/gst/tmpl/gstiterator.sgml:
19374 * docs/gst/tmpl/gstmacros.sgml:
19375 * docs/gst/tmpl/gstmemchunk.sgml:
19376 * docs/gst/tmpl/gstminiobject.sgml:
19377 * docs/gst/tmpl/gstobject.sgml:
19378 * docs/gst/tmpl/gstpad.sgml:
19379 * docs/gst/tmpl/gstpadtemplate.sgml:
19380 * docs/gst/tmpl/gstparse.sgml:
19381 * docs/gst/tmpl/gstpipeline.sgml:
19382 * docs/gst/tmpl/gstplugin.sgml:
19383 * docs/gst/tmpl/gstpluginfeature.sgml:
19384 * docs/gst/tmpl/gstquery.sgml:
19385 * docs/gst/tmpl/gstqueue.sgml:
19386 * docs/gst/tmpl/gstregistry.sgml:
19387 * docs/gst/tmpl/gstregistrypool.sgml:
19388 * docs/gst/tmpl/gstscheduler.sgml:
19389 * docs/gst/tmpl/gstschedulerfactory.sgml:
19390 * docs/gst/tmpl/gststructure.sgml:
19391 * docs/gst/tmpl/gstsystemclock.sgml:
19392 * docs/gst/tmpl/gsttaglist.sgml:
19393 * docs/gst/tmpl/gsttagsetter.sgml:
19394 * docs/gst/tmpl/gsttrace.sgml:
19395 * docs/gst/tmpl/gsttrashstack.sgml:
19396 * docs/gst/tmpl/gsttypefind.sgml:
19397 * docs/gst/tmpl/gsttypefindfactory.sgml:
19398 * docs/gst/tmpl/gsttypes.sgml:
19399 * docs/gst/tmpl/gsturihandler.sgml:
19400 * docs/gst/tmpl/gsturitype.sgml:
19401 * docs/gst/tmpl/gstutils.sgml:
19402 * docs/gst/tmpl/gstvalue.sgml:
19403 * docs/gst/tmpl/gstversion.sgml:
19404 * docs/gst/tmpl/gstxml.sgml:
19405 * docs/libs/tmpl/gstcontrol.sgml:
19406 * docs/libs/tmpl/gstdataprotocol.sgml:
19407 * docs/libs/tmpl/gstdparam.sgml:
19408 * docs/libs/tmpl/gstdplinint.sgml:
19409 * docs/libs/tmpl/gstdpman.sgml:
19410 * docs/libs/tmpl/gstdpsmooth.sgml:
19411 * docs/libs/tmpl/gstgetbits.sgml:
19412 * docs/libs/tmpl/gstunitconvert.sgml:
19413 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
19414 (gst_push_src_base_init), (gst_push_src_class_init),
19415 (gst_push_src_init), (gst_push_src_create):
19416 * gst/base/gstpushsrc.h:
19417 * gst/elements/gstelements.c:
19418 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
19419 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
19420 (gst_fake_sink_init), (gst_fake_sink_set_property),
19421 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
19422 (gst_fake_sink_event), (gst_fake_sink_preroll),
19423 (gst_fake_sink_render), (gst_fake_sink_change_state):
19424 * gst/elements/gstfakesink.h:
19425 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19426 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19427 (gst_fake_src_base_init), (gst_fake_src_class_init),
19428 (gst_fake_src_init), (gst_fake_src_event_handler),
19429 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
19430 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
19431 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
19432 (gst_fake_src_create_buffer), (gst_fake_src_create),
19433 (gst_fake_src_start), (gst_fake_src_stop):
19434 * gst/elements/gstfakesrc.h:
19435 * gst/elements/gstfilesink.c: (_do_init),
19436 (gst_file_sink_base_init), (gst_file_sink_class_init),
19437 (gst_file_sink_init), (gst_file_sink_dispose),
19438 (gst_file_sink_set_location), (gst_file_sink_set_property),
19439 (gst_file_sink_get_property), (gst_file_sink_open_file),
19440 (gst_file_sink_close_file), (gst_file_sink_query),
19441 (gst_file_sink_event), (gst_file_sink_render),
19442 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
19443 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
19444 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
19445 * gst/elements/gstfilesink.h:
19446 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
19447 (gst_file_src_class_init), (gst_file_src_init),
19448 (gst_file_src_finalize), (gst_file_src_set_location),
19449 (gst_file_src_set_property), (gst_file_src_get_property),
19450 (gst_file_src_map_region), (gst_file_src_map_small_region),
19451 (gst_file_src_create_mmap), (gst_file_src_create_read),
19452 (gst_file_src_create), (gst_file_src_is_seekable),
19453 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
19454 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
19455 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
19456 (gst_file_src_uri_handler_init):
19457 * gst/elements/gstfilesrc.h:
19458 more autistic cleanliness in functions/names/defines
19460 2005-07-13 Andy Wingo <wingo@pobox.com>
19462 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19463 source couldn't negotiate.
19465 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19469 * gst/gstutils.c (gst_element_link_pads_filtered): New old
19470 function. I am channeling Hades. Put your boots on suckers!!!
19472 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
19474 * testsuite/caps/Makefile.am:
19475 * testsuite/caps/value_compare.c:
19476 * testsuite/caps/value_intersect.c:
19477 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19478 move two testsuite apps over to the check dir
19480 2005-07-12 Wim Taymans <wim@fluendo.com>
19482 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19483 Added more debug info in the negotiate process.
19485 * gst/gstmessage.h:
19486 Prepare for segment playback.
19488 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19494 * tools/gst-launch.c: (main):
19495 NULL pipeline on errors.
19497 2005-07-12 Andy Wingo <wingo@pobox.com>
19499 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19500 not it comes from a malloc region. Make sure our copy gets freed.
19502 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19504 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19505 * check/gst/gstmessage.c: (GST_START_TEST):
19506 * check/gst/gststructure.c: (GST_START_TEST),
19507 (gst_structure_suite), (main):
19509 * gst/gstelement.c: (gst_element_message_full):
19510 clean up GError and debug string now that they get copied
19511 * gst/gstmessage.c: (gst_message_new_error),
19512 (gst_message_new_warning), (gst_message_parse_error),
19513 (gst_message_parse_warning):
19514 use GST_TYPE_G_ERROR for structure_new, and take copies of
19515 arguments, so that we don't mess up refcounting
19517 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19519 * check/Makefile.am:
19520 add per-test valgrind targets
19521 * check/gst-libs/gdp.c: (GST_START_TEST),
19522 (gst_data_protocol_suite), (main):
19525 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19527 * check/Makefile.am:
19528 instate more valgrindable tests
19529 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19530 (GST_START_TEST), (fakesrc_suite):
19531 * check/gst/gstpad.c: (GST_START_TEST):
19532 * check/gst/gststructure.c: (GST_START_TEST):
19534 * docs/gst/tmpl/gstminiobject.sgml:
19535 * gst/gstpad.c: (gst_pad_finalize):
19536 fix the static mutex leak
19538 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19540 * check/Makefile.am:
19541 add two more tests for valgrinding
19542 * check/gst/gstvalue.c: (GST_START_TEST):
19543 test refcount of deserialized buffer, found a leak
19544 * docs/gst/gstreamer-docs.sgml:
19545 * docs/gst/gstreamer-sections.txt:
19546 * docs/gst/gstreamer.types:
19547 * docs/gst/tmpl/gstminiobject.sgml:
19548 add miniobject to docs
19549 * gst/gstminiobject.c:
19551 * gst/gstvalue.c: (gst_value_deserialize_buffer),
19552 (gst_string_unwrap):
19553 fix a hard-to-find invalid write for one of the tests
19554 fix a leak for deserialized buffers
19556 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19558 * docs/pwg/advanced-events.xml:
19559 * docs/pwg/advanced-request.xml:
19560 * docs/pwg/advanced-scheduling.xml:
19561 * docs/pwg/appendix-porting.xml:
19562 * docs/pwg/building-boiler.xml:
19563 * docs/pwg/intro-preface.xml:
19564 * docs/pwg/other-ntoone.xml:
19565 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19566 of example code and explanation for pad activation, loop() and
19567 getrange() functions and a bit more. Remove old comments pointing
19569 * examples/pwg/Makefile.am:
19570 Add loop/getrange examples.
19572 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19575 check for valgrind binary + some fixes
19577 valgrind suppressions for the tests
19578 * check/Makefile.am:
19579 add a valgrind: target that valgrinds the unit tests
19580 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19581 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19582 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19583 * check/gst/gstghostpad.c:
19585 * check/gst/gstdata.c:
19587 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19588 (thread_unref), (gst_mini_object_suite), (main):
19590 * gst/gst.c: (gst_deinit):
19592 add a method to clean up.
19593 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19594 (gst_system_clock_obtain):
19595 allow for disposing the system clock.
19596 * tools/gst-launch.c: (main):
19599 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19601 * docs/gst/tmpl/gstbasesrc.sgml:
19602 * docs/gst/tmpl/gstfakesrc.sgml:
19603 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19604 (gst_base_src_init), (gst_base_src_set_property),
19605 (gst_base_src_get_property), (gst_base_src_get_range),
19606 (gst_base_src_start):
19607 * gst/base/gstbasesrc.h:
19608 add num-buffers property
19609 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19610 (gst_fakesrc_init), (gst_fakesrc_set_property),
19611 (gst_fakesrc_get_property), (gst_fakesrc_create),
19612 (gst_fakesrc_start):
19613 remove num-buffers property
19615 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19617 * docs/gst/gstreamer-sections.txt:
19618 * docs/gst/tmpl/gstbasesink.sgml:
19619 * docs/gst/tmpl/gstbasesrc.sgml:
19620 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19621 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19622 (gst_base_sink_finalize), (gst_base_sink_set_clock),
19623 (gst_base_sink_set_property), (gst_base_sink_get_property),
19624 (gst_base_sink_handle_object), (gst_base_sink_event),
19625 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19626 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19627 (gst_base_sink_loop), (gst_base_sink_deactivate),
19628 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19629 (gst_base_sink_change_state):
19630 * gst/base/gstbasesink.h:
19631 * gst/base/gstbasesrc.h:
19632 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19633 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19634 (gst_filesink_init):
19635 more macro splitting
19637 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19639 * gst/gstelement.c: (gst_element_get_bus):
19641 * tools/gst-launch.c: (check_intr), (event_loop):
19644 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19646 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19649 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19651 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19652 (gst_base_src_finalize):
19653 add finalize method and clean up properly
19654 * gst/gstpipeline.c: (gst_pipeline_dispose):
19657 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19659 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19661 add more things to check
19662 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19663 * gst/gstelement.c:
19666 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19668 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19669 (GST_START_TEST), (fakesrc_suite):
19670 * check/gst-libs/gdp.c: (GST_START_TEST):
19671 * check/gst/gst.c: (GST_START_TEST):
19672 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19673 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19674 * check/gst/gstbus.c: (GST_START_TEST):
19675 * check/gst/gstcaps.c: (GST_START_TEST):
19676 * check/gst/gstdata.c: (GST_START_TEST):
19677 * check/gst/gstelement.c: (GST_START_TEST):
19678 * check/gst/gstghostpad.c: (GST_START_TEST):
19679 * check/gst/gstiterator.c: (GST_START_TEST):
19680 * check/gst/gstmessage.c: (GST_START_TEST):
19681 * check/gst/gstobject.c: (GST_START_TEST):
19682 * check/gst/gstpad.c: (GST_START_TEST):
19683 * check/gst/gststructure.c: (GST_START_TEST):
19684 * check/gst/gstsystemclock.c: (GST_START_TEST),
19685 (gst_systemclock_suite):
19686 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19687 * check/gst/gstvalue.c: (GST_START_TEST):
19688 * check/pipelines/cleanup.c: (GST_START_TEST):
19689 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19690 * check/states/sinks.c: (GST_START_TEST):
19691 * check/gstcheck.c: (gst_check_init):
19692 * check/gstcheck.h:
19693 add debugging category
19694 use GST_START_TEST now, so we add a debug line
19696 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19698 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19699 add test for state change message on a bin
19700 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19702 * gst/gstbin.c: (gst_bin_init):
19703 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19704 * gst/gstelement.c: (gst_element_post_message),
19705 (gst_element_set_state):
19706 * gst/gstelementfactory.c: (gst_element_factory_create):
19707 * gst/gstmessage.c: (gst_message_new):
19708 * gst/gstscheduler.c:
19709 various debugging additions and cleanups
19711 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19713 * check/Makefile.am:
19714 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19716 adding tests for elements
19717 * gst/gstelement.c: (gst_element_dispose):
19719 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19721 * gst/registries/gstlibxmlregistry.c: (load_feature):
19722 plug more leaks. A simple gst_init() now is leakfree, yay.
19724 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19726 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19727 (gst_xml_registry_load):
19728 plug another memleak
19730 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19733 use GST_SET_ERROR_CFLAGS
19734 * docs/faq/cvs.xml:
19735 change to ERROR_CFLAGS
19737 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19740 make GST_ERROR_CFLAGS overridable and re-enable Werror
19741 * docs/faq/cvs.xml:
19742 add a note about error CFLAGS
19743 * docs/gst/tmpl/gstfakesrc.sgml:
19744 * gst/elements/gstfakesrc.c:
19745 comment out some unused code
19746 * gst/gst.c: (split_and_iterate):
19747 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19751 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19753 * common/Makefile.am:
19754 * common/gtk-doc.mak:
19755 * docs/gst/Makefile.am:
19756 factor out gtk-doc.mak
19758 2005-07-07 Wim Taymans <wim@fluendo.com>
19760 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19761 (gst_thread_scheduler_dispose):
19762 Unlock the STREAM_LOCK completely.
19764 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19766 * check/Makefile.am:
19767 * check/elements/.cvsignore:
19768 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19769 (START_TEST), (fakesrc_suite), (main):
19770 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19771 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19772 (gst_fakesrc_create), (gst_fakesrc_start):
19773 * gst/elements/gstfakesrc.h:
19774 adding a first element test
19776 2005-07-07 Andy Wingo <wingo@pobox.com>
19778 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19781 2005-07-07 Wim Taymans <wim@fluendo.com>
19787 2005-07-07 Wim Taymans <wim@fluendo.com>
19789 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19790 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19791 Allow subclasses to implement their own negotiation.
19793 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19795 * docs/design/part-gstbin.txt:
19796 * docs/design/part-gstpipeline.txt:
19797 Update design notes to reflect the movement of
19798 responsibility for bus handling from GstPipeline to
19801 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19804 Remove unnecessary queue2/3/4 examples.
19806 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19808 * examples/Makefile.am:
19809 * examples/helloworld/helloworld.c: (event_loop), (main):
19810 * examples/queue/queue.c: (event_loop), (main):
19811 * examples/queue2/queue2.c: (main):
19812 Update a couple of the examples to work again.
19814 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19815 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19816 Spelling corrections and extra debug.
19818 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19819 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19820 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19822 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19823 (gst_pipeline_change_state):
19824 * gst/gstpipeline.h:
19825 Move the bus handler for children to the GstBin, and create a
19826 separate bus for receiving messages from children to the one the
19827 bus sends 'upwards' on.
19829 2005-07-06 Wim Taymans <wim@fluendo.com>
19832 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19833 (gst_base_sink_handle_object), (gst_base_sink_loop),
19834 (gst_base_sink_change_state):
19835 * gst/base/gstbasesink.h:
19836 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19837 (gst_base_src_init), (gst_base_src_setcaps),
19838 (gst_base_src_getcaps), (gst_base_src_loop),
19839 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19840 (gst_base_src_start), (gst_base_src_change_state):
19841 * gst/base/gstbasesrc.h:
19842 Make basesrc negotiate.
19843 Handle the case where preroll fails in basesink.
19846 2005-07-06 Wim Taymans <wim@fluendo.com>
19848 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19849 Implement the fixate function.
19850 Clean up acceptcaps.
19852 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19854 * docs/pwg/building-filterfactory.xml:
19855 * docs/pwg/pwg.xml:
19856 Remove never-written filter-factory chapter; I'll add the various
19857 base classes to part 4 ("other element types") later on.
19859 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19861 * docs/pwg/advanced-negotiation.xml:
19862 * docs/pwg/building-boiler.xml:
19863 * docs/pwg/building-pads.xml:
19864 * docs/pwg/pwg.xml:
19865 * examples/pwg/Makefile.am:
19866 Add a chapter on caps negotiation, simplify the original code
19867 samples a bit w.r.t. caps negotiation, add link to the advanced
19868 section. Add a bunch of examples showing different use cases of
19869 different types of caps negotiation. Upstream renegotiation isn't
19870 fully documented yet since nobody knows how that works.
19872 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
19874 * check/gst/gstpad.c:
19875 * check/gstcheck.c:
19876 * gst/gstpad.c: (gst_pad_get_internal_links_default):
19877 if pad has no parent, return NULL as list of internal links
19879 2005-07-05 Andy Wingo <wingo@pobox.com>
19881 * gst/elements/gstfilesrc.c:
19882 * gst/elements/gstfakesrc.c:
19883 * gst/base/gstpushsrc.c:
19884 * gst/base/gstbasesrc.h:
19885 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19887 2005-07-05 Stefan Kost <ensonic@users.sf.net>
19890 better report generation target (lcov needs a patch)
19892 2005-07-05 Andy Wingo <wingo@pobox.com>
19894 * gst/elements, testsuite: Null if we got it...
19896 2005-07-05 Wim Taymans <wim@fluendo.com>
19899 * libs/gst/dataprotocol/Makefile.am:
19900 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19901 * libs/gst/dataprotocol/dataprotocol.h:
19902 * pkgconfig/Makefile.am:
19903 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19904 * pkgconfig/gstreamer-dataprotocol.pc.in:
19905 Ported dataprotol to 0.9.
19906 Added pkgconfig files.
19908 2005-07-05 Andy Wingo <wingo@pobox.com>
19910 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19911 Default to returning TRUE for the case when tranform_caps returns
19912 a fixed caps, like for identity or volume.
19914 * check/gst/gstbus.c (pound_bus_with_messages):
19915 * check/gst/gstmessage.c (START_TEST):
19916 * check/pipelines/simple_launch_lines.c (got_handoff): Application
19917 message API change.
19919 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19920 logic weaks here: always run transform_caps, trying passthrough
19921 operation only if the original caps intersects with the transform.
19923 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19924 source and sink caps.
19926 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19927 Intersect the peer caps with the pad template before going into
19929 (gst_base_transform_transform_caps): More debugging.
19931 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19934 2005-07-04 Edward Hervey <edward@fluendo.com>
19938 (gst_pad_add_*_probe): now returns the signal id for better wrapping
19941 2005-07-04 Andy Wingo <wingo@pobox.com>
19943 * check/gst/gstpad.c: Only set explicit caps on pads.
19945 2005-07-01 Andy Wingo <wingo@pobox.com>
19947 * tests/network-clock.scm: Commentary update.
19949 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19950 Didn't really make sense, not implementable with basetransform,
19952 (gst_identity_transform): Unref inbuf via make_writable. Feeble
19953 attempt at implementing the sync property, needs an unlock method.
19955 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19956 New func, by default returns the same caps (the identity
19958 (gst_base_transform_getcaps): Uses transform_caps to return
19959 something sensible.
19960 (gst_base_transform_setcaps): Complicated logic to get caps on
19961 both pads, even if they are different, and to call set_caps once
19962 for every time both pads get their caps set.
19963 (gst_base_transform_handle_buffer): Give the ref to the transform
19964 function. Allows in-place modification of the buffer.
19966 * gst/base/gstbasetransform.h (transform_caps): New class method.
19967 Given caps on one side, what can I do on the other.
19968 (set_caps): Take two caps, one for each side of the element.
19971 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19972 caps in place. This is safe because we can check the mutability of
19973 the caps, and a good idea because fixate functions are just called
19974 as a matter of last resort. (Not actually implemented.)
19975 (gst_pad_set_caps): If the caps we're setting is actually the same
19976 as the existing pad caps, just update the pointer without calling
19977 setcaps. Assert that caps is either NULL or fixed, as per the
19980 * gst/gstghostpad.c: Update for fixate changes.
19982 2005-07-02 Andy Wingo <wingo@pobox.com>
19985 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19986 two refcounts makes it immutable, which is enough. Doc more.
19988 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
19990 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19991 Put the mini_object into GValue as a mini_object,
19992 not a gpointer, since that's how we declared
19995 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19997 * examples/pwg/Makefile.am:
19998 Fix buildbot again.
20000 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20002 * docs/pwg/building-testapp.xml:
20004 * examples/pwg/Makefile.am:
20007 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20010 * examples/Makefile.am:
20011 * examples/pwg/Makefile.am:
20012 * examples/pwg/extract.pl:
20013 Enable building the PWG examples.
20014 * docs/pwg/advanced-interfaces.xml:
20015 Add URI interface stub.
20016 * docs/pwg/advanced-types.xml:
20017 * docs/pwg/other-autoplugger.xml:
20018 * docs/pwg/appendix-porting.xml:
20019 * docs/pwg/pwg.xml:
20020 Add porting guide (mostly stubs), remove autoplugging (see ADM).
20021 * docs/pwg/building-boiler.xml:
20022 * docs/pwg/building-chainfn.xml:
20023 * docs/pwg/building-pads.xml:
20024 * docs/pwg/building-props.xml:
20025 * docs/pwg/building-state.xml:
20026 * docs/pwg/building-testapp.xml:
20027 Update the building-*.xml parts for 0.9 changes. All examples
20028 code blocks compile in examples/pwg/*.
20030 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20032 * docs/manual/advanced-autoplugging.xml:
20033 * docs/manual/appendix-checklist.xml:
20034 * docs/manual/appendix-integration.xml:
20035 * docs/manual/highlevel-components.xml:
20036 Fix playbin/decodebin examples, update docs a bit, mention bus
20037 instead of signals in various places, mention kmplayer and
20038 kaffeine since they have a working GStreamer backend in the KDE
20041 2005-06-30 Wim Taymans <wim@fluendo.com>
20044 * docs/design/draft-ghostpads.txt:
20045 * docs/design/draft-push-pull.txt:
20046 * docs/design/draft-query.txt:
20047 * docs/design/part-TODO.txt:
20048 * docs/design/part-query.txt:
20049 Added CHANGES-0.9 doc, updated status of other docs.
20054 2005-06-30 Wim Taymans <wim@fluendo.com>
20056 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20057 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20058 (gst_base_sink_change_state):
20059 * gst/base/gstbasesink.h:
20060 Some tweaks, only EOS and a buffer complete a preroll.
20062 2005-06-30 Andy Wingo <wingo@pobox.com>
20064 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
20065 activate_push down to the internal pad as well.
20067 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
20069 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20071 * gst/gsttaginterface.c:
20072 Some documentation fixes (#307394 and #307397).
20074 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
20076 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20078 * gst/gstvalue.c: (gst_value_intersect_list):
20079 Fix memleak (#309125).
20081 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20083 * docs/manual/advanced-dataaccess.xml:
20084 Fix fakesrc example to compile; doesn't work, bug somewhere...?
20085 * docs/manual/basics-pads.xml:
20086 Add reference for filtered caps to above chapter.
20088 2005-06-30 Wim Taymans <wim@fluendo.com>
20090 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
20091 (gst_bin_change_state):
20093 Lame attempt at making the state change function a bit
20096 2005-06-30 Wim Taymans <wim@fluendo.com>
20098 * docs/design/part-clocks.txt:
20099 * docs/design/part-element-sink.txt:
20100 * docs/design/part-events.txt:
20101 * docs/design/part-preroll.txt:
20102 * docs/design/part-states.txt:
20103 Some more tweeks and additions to the docs.
20105 2005-06-30 Wim Taymans <wim@fluendo.com>
20107 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20108 (default_have_data), (gst_pad_class_init), (gst_pad_init),
20109 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20110 (gst_pad_check_pull_range), (gst_pad_get_range),
20111 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
20113 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
20114 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20115 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20116 (gst_pad_remove_buffer_probe):
20117 Removed atomic operations, use existing LOCK.
20118 Move exception handling out of main code path.
20120 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20122 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20123 (silly_return_true_function), (gst_pad_class_init),
20124 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20125 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
20126 (gst_pad_send_event):
20127 Fix accumulator, add default value by using _emitv() instead
20128 of _emit() for signal emission.
20130 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20132 * docs/manual/advanced-dataaccess.xml:
20133 * examples/manual/Makefile.am:
20135 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
20138 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
20140 * gst/elements/gstfilesink.c: (gst_filesink_render):
20141 Simplify code so that we don't have to handle short
20142 writes and return GST_FLOW_ERROR if an error occured.
20144 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20146 * docs/gst/gstreamer-docs.sgml:
20147 Remove probes more.
20149 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20151 * docs/gst/gstreamer-sections.txt:
20152 * docs/gst/tmpl/gstpad.sgml:
20153 * docs/gst/tmpl/gstprobe.sgml:
20155 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20156 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
20157 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20158 (gst_pad_push_event), (gst_pad_send_event):
20160 * gst/gstutils.c: (gst_pad_add_data_probe),
20161 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20162 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20163 (gst_pad_remove_buffer_probe):
20165 Remove old probes, add new g-signal-based probes and some utility
20168 2005-06-29 Edward Hervey <edward@fluendo.com>
20170 * gst/gstelementfactory.c:
20173 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
20174 the definition to the header file.
20176 2005-06-29 Andy Wingo <wingo@pobox.com>
20178 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
20179 plugins from the source directory.
20181 2005-06-29 Wim Taymans <wim@fluendo.com>
20183 * docs/gst/tmpl/gstbuffer.sgml:
20184 * docs/gst/tmpl/gstclock.sgml:
20185 Some fixings for blantently wrong text.
20187 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
20189 * check/Makefile.am:
20190 * gst/gst.c: (add_path_func), (init_pre):
20191 * gst/gstregistry.c: (gst_registry_add_path):
20192 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
20193 only scan the GST_PLUGIN_PATH locations, and not add
20196 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
20198 * docs/gst/gstreamer-sections.txt:
20199 * docs/gst/tmpl/gstbasesrc.sgml:
20200 * gst/gstelement.c:
20201 * gst/gstelement.h:
20206 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20208 * docs/manual/advanced-autoplugging.xml:
20209 Fix autoplugging example.
20211 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20213 * docs/manual/advanced-autoplugging.xml:
20214 * docs/manual/mime-world.fig:
20215 Try to get autoplugging working, fix type detection. Fix text
20216 in hello-world image.
20218 2005-06-29 Wim Taymans <wim@fluendo.com>
20220 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20221 (gst_base_sink_change_state):
20225 map SIGNAL and BROADCAST to the right function.
20228 Remove redundant braces.
20230 * gst/gstpad.c: (gst_pad_set_caps):
20231 Don't call setcaps function when reseting caps to NULL.
20233 * gst/gstsystemclock.c: (gst_system_clock_dispose),
20234 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
20235 (gst_system_clock_id_unschedule):
20236 Use BROADCAST as this is what we do.
20238 2005-06-29 Wim Taymans <wim@fluendo.com>
20240 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20241 We are actually prerolling before commiting the state
20244 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20246 * docs/manual/advanced-clocks.xml:
20247 * docs/manual/advanced-interfaces.xml:
20248 * docs/manual/advanced-metadata.xml:
20249 * docs/manual/advanced-position.xml:
20250 * docs/manual/advanced-schedulers.xml:
20251 * docs/manual/advanced-threads.xml:
20252 * docs/manual/appendix-porting.xml:
20253 * docs/manual/basics-bins.xml:
20254 * docs/manual/basics-bus.xml:
20255 * docs/manual/basics-elements.xml:
20256 * docs/manual/basics-helloworld.xml:
20257 * docs/manual/basics-pads.xml:
20258 * docs/manual/highlevel-components.xml:
20259 * docs/manual/manual.xml:
20260 * docs/manual/thread.fig:
20261 Update (until threads/scheduling) Application Development Manual;
20262 remove GstThread, add GstBus, add simple porting checklist, add
20263 documentation for tag writing, clocks, make all examples until this
20264 part compile and run.
20265 * examples/manual/Makefile.am:
20266 Update from changes to Application Development Manual; add bus
20267 example, remove thread example.
20269 2005-06-28 Wim Taymans <wim@fluendo.com>
20271 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
20272 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
20273 (gst_bus_source_dispatch):
20274 Add debugging messages.
20275 Make internal methods static.
20276 Handle the case where the bus is flushed in the handler.
20278 * gst/gstelement.c: (gst_element_get_bus):
20279 Fix refcount in _get_bus();
20281 * gst/gstpipeline.c: (gst_pipeline_change_state),
20282 (gst_pipeline_get_clock_func):
20283 Clock refcounting fixes.
20284 Handle the case where preroll timed out more gracefully.
20286 * gst/gstsystemclock.c: (gst_system_clock_dispose):
20287 Clean up the internal thread in dispose. This is needed
20288 for subclasses that actually get disposed.
20290 * gst/schedulers/threadscheduler.c:
20291 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
20292 (gst_thread_scheduler_dispose):
20293 Free thread pool in dispose.
20295 2005-06-28 Andy Wingo <wingo@pobox.com>
20297 * tests/network-clock-utils.scm (debug, print-event): New utils.
20299 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
20300 (*packet-loss*): Unified loss probability.
20301 (network-time): Report out-of-band events.
20303 * tests/plot-data: Add support for out-of-band events. Hack it
20304 into this script instead of passing it down the pipe; should fix
20307 2005-06-28 Wim Taymans <wim@fluendo.com>
20309 * docs/gst/gstreamer.types:
20310 * docs/gst/tmpl/gstbasesrc.sgml:
20311 * docs/gst/tmpl/gstpad.sgml:
20314 2005-06-28 Wim Taymans <wim@fluendo.com>
20316 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20317 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
20318 (gst_proxy_pad_do_fixatecaps):
20319 Correctly proxy the check_pull_range function.
20321 2005-06-28 Andy Wingo <wingo@pobox.com>
20323 * tests/network-clock.scm: Removed need for slib.
20325 2005-06-28 Wim Taymans <wim@fluendo.com>
20327 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
20328 (gst_basesink_preroll_queue_flush):
20329 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
20330 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
20331 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20332 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20333 (gst_proxy_pad_set_property):
20336 * gst/gstqueue.c: (gst_queue_init):
20337 The deprecated pad loop function is removed now.
20339 2005-06-28 Andy Wingo <wingo@pobox.com>
20341 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
20342 New parameters, simulate network packet loss.
20344 * tests/network-clock-utils.scm: Initialize the RNG.
20346 2005-06-28 Wim Taymans <wim@fluendo.com>
20348 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
20349 (gst_basesink_event), (gst_basesink_deactivate):
20350 Flushing the preroll queue always needs to unlock the waiters.
20352 2005-06-28 Edward Hervey <edward@fluendo.com>
20354 * gst/gstpipeline.c: (gst_pipeline_send_event):
20355 Wheen a seek was successful on a pipeline, set the stream_time to the
20356 seek offset in order to have a synchronized stream_time.
20358 2005-06-28 Wim Taymans <wim@fluendo.com>
20360 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20361 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
20362 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
20363 (gst_proxy_pad_do_fixatecaps):
20364 Call wrapper function instead of just calling the function
20365 pointers. This takes care of any locking and whatmore.
20367 2005-06-28 Wim Taymans <wim@fluendo.com>
20369 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
20370 (gst_pad_pull_range):
20372 CONNECTED -> LINKED.
20374 2005-06-28 Andy Wingo <wingo@pobox.com>
20376 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
20377 source-munging commit!!!
20379 * gst/gstobject.c (gst_object_unref, gst_object_ref)
20380 (gst_object_sink): Take gpointer arguments, not GstObject --
20381 avoids casts. Like GLib.
20383 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
20386 2005-06-27 Andy Wingo <wingo@pobox.com>
20388 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
20391 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
20392 returns a sorted copy of the trace list.
20393 (gst_alloc_trace_print_live): New API, only prints traces with
20394 live objects. Sort the list.
20395 (gst_alloc_trace_print_all): Sort the list.
20396 (gst_alloc_trace_print): Align columns.
20398 * gst/elements/gstttypefindelement.c:
20399 * gst/elements/gsttee.c:
20400 * gst/base/gstbasesrc.c:
20401 * gst/base/gstbasesink.c:
20402 * gst/base/gstbasetransform.c:
20403 * gst/gstqueue.c: Adapt for pad activation changes.
20405 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
20407 (gst_pipeline_dispose): Drop ref on sched.
20409 * gst/gstpad.c (gst_pad_init): Set the default activate func.
20410 (gst_pad_activate_default): Push mode by default.
20411 (pre_activate_switch, post_activate_switch): New stubs, things to
20412 do before and after switching activation modes on pads.
20413 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
20414 the pad's activate function to choose which mode to activate.
20415 Shortcut on deactivation and call the right function directly.
20416 (gst_pad_activate_pull): New API, (de)activates a pad in pull
20418 (gst_pad_activate_push): New API, same for push mode.
20419 (gst_pad_set_activate_function)
20420 (gst_pad_set_activatepull_function)
20421 (gst_pad_set_activatepush_function): Setters for new API.
20423 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
20424 Trace all miniobjects.
20425 (gst_mini_object_make_writable): Unref the arg if we copy, like
20426 gst_caps_make_writable.
20428 * gst/gstmessage.c (_gst_message_initialize): No trace init.
20430 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
20431 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
20432 Adapt for new pad API.
20434 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
20436 * gst/gstelement.h:
20437 * gst/gstelement.c (gst_element_iterate_src_pads)
20438 (gst_element_iterate_sink_pads): New API functions.
20440 * gst/gstelement.c (iterator_fold_with_resync): New utility,
20441 should fold into gstiterator.c in some form.
20442 (gst_element_pads_activate): Simplified via use of fold and
20443 delegation of decisions to gstpad->activate.
20445 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
20448 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
20449 class once in init, like gstmessage. Didn't run into this issue
20450 but it seems correct. Don't initialize a trace, gstminiobject does
20453 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
20454 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
20456 (assert_live_count): New util function, uses alloc traces to check
20459 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20460 To be modified when unlink drops the internal pad.
20462 2005-06-27 Wim Taymans <wim@fluendo.com>
20464 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20465 (gst_bin_change_state):
20466 Cleanup the get_state() function a little, make sure it
20467 iterates the same set of elements.
20468 Added stub iterate_state_order().
20470 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
20472 * docs/gst/gstreamer-docs.sgml:
20473 * docs/gst/gstreamer-sections.txt:
20474 * docs/gst/gstreamer.types:
20475 * docs/gst/tmpl/gstbasesink.sgml:
20476 * docs/gst/tmpl/gstbasesrc.sgml:
20477 * docs/gst/tmpl/gstbasetransform.sgml:
20478 * docs/gst/tmpl/gstelement.sgml:
20479 * docs/gst/tmpl/gstiterator.sgml:
20480 * gst/base/gstbasesrc.c:
20481 * gst/base/gstbasesrc.h:
20482 * gst/base/gstbasetransform.h:
20483 * gst/gstelement.c:
20484 * gst/gstiterator.h:
20485 adding basetransform and iterator docs
20487 2005-06-27 Andy Wingo <wingo@pobox.com>
20489 * docs/design/part-activation.txt: Notes on how activation should
20490 work -- not quite implemented yet.
20492 2005-06-25 Wim Taymans <wim@fluendo.com>
20494 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20495 At least get the chain function correct, needs more
20498 2005-06-25 Wim Taymans <wim@fluendo.com>
20500 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20501 (gst_basesink_handle_object), (gst_basesink_event),
20502 (gst_basesink_do_sync), (gst_basesink_handle_event),
20503 (gst_basesink_change_state):
20505 Right, two problems here: ghostpads don't take locks and
20506 glib _rec_mutex_lock_full() with depth==0 still locks.
20507 Catch illegal locking and g_warn them.
20509 2005-06-25 Wim Taymans <wim@fluendo.com>
20511 * check/states/sinks.c: (START_TEST), (gst_object_suite):
20512 Have to check for completion now...
20514 2005-06-25 Wim Taymans <wim@fluendo.com>
20516 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20517 (gst_basesink_handle_object), (gst_basesink_event),
20518 (gst_basesink_do_sync), (gst_basesink_handle_event),
20519 (gst_basesink_change_state):
20521 Unlock STREAM_LOCK whatever the recursion was.
20523 2005-06-25 Wim Taymans <wim@fluendo.com>
20525 * gst/base/gstbasesink.c: (gst_basesink_set_property),
20526 (gst_basesink_preroll_queue_empty),
20527 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20528 (gst_basesink_event), (gst_basesink_do_sync),
20529 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20530 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20531 (gst_basesink_change_state):
20532 Reworked the base sink, handle event and buffer serialisation
20533 correctly and removed possible deadlock.
20534 Handle EOS correctly.
20536 2005-06-25 Wim Taymans <wim@fluendo.com>
20538 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20539 (gst_pipeline_change_state):
20540 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20541 Allow elements to post EOS in the state change function.
20542 Fix up -launch, make it exit the poll loop when the
20543 pipeline actually changed state.
20544 Fix up warning parsing in -launch.
20546 2005-06-25 Wim Taymans <wim@fluendo.com>
20548 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20549 (gst_tee_sink_activate):
20550 Core takes STREAM_LOCK for us now.
20552 2005-06-25 Wim Taymans <wim@fluendo.com>
20554 * gst/gstelement.c: (gst_element_get_state_func),
20555 (gst_element_set_state):
20556 * gst/gstelement.h:
20557 * gst/gstmessage.c: (gst_message_parse_error),
20558 (gst_message_parse_warning):
20559 Keep track of current target state while performing a state
20560 change so that subclasses can do something interesting.
20561 Fix parsing of warning/error messages when GError is NULL.
20563 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
20565 * docs/gst/Makefile.am:
20566 * docs/gst/gstreamer-docs.sgml:
20567 * docs/gst/gstreamer-sections.txt:
20568 * docs/gst/gstreamer.types:
20569 * docs/gst/tmpl/gstbasesink.sgml:
20570 * docs/gst/tmpl/gstbasesrc.sgml:
20571 * docs/gst/tmpl/gstbin.sgml:
20572 * docs/gst/tmpl/gstcompat.sgml:
20573 * docs/gst/tmpl/gstfakesink.sgml:
20574 * docs/gst/tmpl/gstfakesrc.sgml:
20575 * docs/gst/tmpl/gstfilesink.sgml:
20576 * docs/gst/tmpl/gstfilesrc.sgml:
20577 * docs/gst/tmpl/gstindex.sgml:
20578 * docs/manual/appendix-quotes.xml:
20579 * gst/base/gstbasesrc.h:
20580 * gst/elements/gstfakesrc.h:
20581 * gst/gstmessage.h:
20582 start pulling in base classes and elements in our docs
20584 2005-06-24 Stefan Kost <ensonic@users.sf.net>
20586 * docs/gst/Makefile.am:
20587 * docs/libs/Makefile.am:
20588 fixed make distcheck with gtk-doc 1.3
20590 2005-06-23 Wim Taymans <wim@fluendo.com>
20592 * gst/gstelement.c: (gst_element_get_state_func),
20593 (gst_element_set_state), (gst_element_change_state):
20594 When the state did not change, also report NO_PREROLL
20597 2005-06-23 Wim Taymans <wim@fluendo.com>
20599 * gst/gstpad.c: (gst_pad_event_default):
20600 * gst/gstqueue.c: (gst_queue_loop):
20601 No unsafe task pausing please.
20603 2005-06-23 Wim Taymans <wim@fluendo.com>
20605 * gst/schedulers/threadscheduler.c:
20606 (gst_thread_scheduler_task_start),
20607 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20608 Ref the task before pushing it on the threadpool. This
20609 makes sure that we have a ref when the threadfunction is
20612 2005-06-23 Andy Wingo <wingo@pobox.com>
20614 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20615 offset is greater than the file's size.
20617 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
20618 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20619 * gst/gstobject.c (gst_object_class_init): Make the class lock
20620 recursive. Wim won't let me drop deep_notify. Decodebin works
20621 again, whoopdy doo.
20623 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20624 internal pad, and hacks accordingly. Doesn't do it on the target
20625 pad because we change its caps. Probably catches all cases of
20627 (gst_ghost_pad_set_property): Connect to notify::caps as
20630 * tests/network-clock.scm (plot-simulation): Pipe data to the
20631 elite python skript.
20633 * tests/network-clock-utils.scm (define-parameter): New macro,
20634 defines a parameter that can be set via the command line.
20635 (set-parameter!, parse-parameter-arguments): Command line args
20638 * tests/plot-data: Simple matplotlib-based plotter, takes input on
20641 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
20643 * gst/elements/gsttypefindelement.c:
20644 (gst_type_find_element_handle_event):
20645 Don't restart typefinding on a discont.
20646 * gst/gstelement.c: (gst_element_set_state):
20647 Debug spelling fix.
20648 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20649 Allow changing mode of an active pad.
20650 Debug output fixes.
20651 * gst/registries/gstlibxmlregistry.c: (load_feature):
20652 Don't cast a static pad template to a normal pad template.
20654 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
20656 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20657 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20658 remove gst_strtoll completely, since it didn't actually do
20659 anything more than what g_ascii_strtoull already does.
20660 check for range errors when deserializing
20661 do a cast for the unsigned cases; but further fixing needs
20662 a decision on what the interpretation of "(int)" and
20663 deserialization should be for values that fall outside the
20664 type's boundaries (ie, refuse, or interpret as casting)
20666 2005-06-23 Wim Taymans <wim@fluendo.com>
20668 * check/Makefile.am:
20669 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20670 * docs/design/part-live-source.txt:
20671 * docs/design/part-states.txt:
20672 * gst/base/gstbasesrc.c: (gst_basesrc_init),
20673 (gst_basesrc_set_live), (gst_basesrc_is_live),
20674 (gst_basesrc_get_range), (gst_basesrc_activate),
20675 (gst_basesrc_change_state):
20676 * gst/base/gstbasesrc.h:
20677 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20678 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20679 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20680 * gst/gstelement.c: (gst_element_get_state_func),
20681 (gst_element_set_state):
20682 * gst/gstelement.h:
20684 * tools/gst-launch.c: (event_loop), (main):
20685 Added support for live sources and other elements that
20687 Updated design docs, added live-source design doc.
20688 Implemented live source functionality in basesrc
20689 Fix error condition in _bin_get_state()
20690 Implement live source handling in -launch.
20691 Added check for live sources.
20692 Fixed case in GstBin where elements were changed state
20696 2005-06-23 Andy Wingo <wingo@pobox.com>
20698 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20699 borken refcounting.
20701 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20702 gst_caps_replace takes care of this for us.
20704 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20705 gst_pad_set_caps on the target, not just its setcaps() function.
20707 * tests/network-clock.scm:
20708 * tests/network-clock-utils.scm: A network clock simulator.
20709 Something of an algorithmic testbed before doing something in C.
20711 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20713 * check/Makefile.am:
20714 * check/gst/capslist.h:
20715 copy over from 0.8, and add two with bitmasks specified with
20717 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20718 add test to parse everything from capslist.h
20719 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20721 add test for structure deserialization
20722 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20723 add tests for deserialization of strings to int types
20724 * gst/gststructure.c: (gst_structure_nth_field_name):
20725 * gst/gststructure.h:
20726 add a way to get the name of a field referenced by index
20727 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20728 instead of checking if the resulting long long lies between
20729 min and max, we check if the long long would fit into
20730 a number of bytes for the final type.
20731 This fixes cases where a string represents 2^32 - 1, which
20732 when cast to int would be the (valid) -1, but is bigger than
20735 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20737 * gst/parse/grammar.y:
20738 add a log line for type deserialization
20740 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20742 * check/gst/gstvalue.c: (START_TEST):
20743 * gst/gstvalue.c: (gst_value_deserialize):
20744 return long long, not int, so gint64 deserialization actually
20745 works. Is there any flag that makes the compiler check this ?
20748 2005-06-22 Wim Taymans <wim@fluendo.com>
20751 Added convenience macros for setting buffers in GValue.
20753 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20755 * check/gst/.cvsignore:
20756 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20757 add a test deserializing int64, and comment part out because
20760 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20762 * check/Makefile.am:
20763 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20764 * testsuite/Makefile.am:
20765 * testsuite/caps/Makefile.am:
20766 * testsuite/caps/value_serialize.c:
20767 * testsuite/test_gst_init.c:
20768 move a value_serialize test over
20770 2005-06-20 Wim Taymans <wim@fluendo.com>
20775 * gst/gstvalue.c: (gst_value_compare_buffer),
20776 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20777 (gst_value_compare_flags), (gst_value_serialize_flags),
20778 (gst_value_deserialize_flags), (_gst_value_initialize):
20779 Fix serialisation of buffers, they are not boxed types anymore
20781 2005-06-20 Wim Taymans <wim@fluendo.com>
20783 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20784 Testcase to show error in buffer-on-caps serialisation.
20786 2005-06-20 Andy Wingo <wingo@pobox.com>
20788 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20789 will be adding to later.
20791 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20792 if its socks fill with rocks.
20793 (gst_system_clock_obtain): Set the name on object construction.
20794 Avoid double-checked locking.
20796 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
20798 * gst/gsturi.c: (gst_element_make_from_uri):
20799 Fix potential endless loop.
20801 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20803 * check/Makefile.am:
20805 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20807 move over from testsuite dir and clean up
20810 * testsuite/Makefile.am:
20811 * testsuite/tags/.cvsignore:
20812 * testsuite/tags/Makefile.am:
20813 * testsuite/tags/merge.c:
20814 remove testsuite/tags
20816 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20818 * docs/gst/gstreamer-sections.txt:
20819 * docs/gst/tmpl/gstenumtypes.sgml:
20820 * win32/gstenumtypes.c:
20821 clean up documentation build a little
20823 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20825 * check/gstcheck.h:
20826 add macros for checking refcounts on objects and caps
20827 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20828 add some more unit tests
20829 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20830 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20831 fix leaked refcounts (I hope :)) so unittest works
20835 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20837 * configure.ac: back to HEAD
20839 === release 0.9.1 ===
20841 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
20847 2005-06-17 Andy Wingo <wingo@pobox.com>
20849 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20850 assert; it's always possible that the pad gets deactivated in
20851 between the checks in gstpad.c and the implementation. Rely on
20852 finish_preroll() to return a FLUSHING or similar instead of on the
20855 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20856 clock and post an EOS message if we come out of finish_preroll in
20859 2005-06-16 David Schleef <ds@schleef.org>
20861 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20862 (gst_capsfilter_set_property): Allow NULL as possible value
20863 for filter_caps property, indicating GST_CAPS_ANY.
20865 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20867 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20869 * gst/schedulers/Makefile.am:
20871 * gstreamer.spec.in:
20874 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20876 * gstreamer.spec.in:
20879 2005-06-08 Andy Wingo <wingo@pobox.com>
20881 * gst/gstutils.c: RPAD fixes all around.
20882 (gst_element_link_pads): Refcounting fixes.
20884 * tools/gst-inspect.c:
20885 * tools/gst-xmlinspect.c:
20887 * gst/base/gsttypefindhelper.c:
20888 * gst/base/gstbasesink.c:
20889 * gst/gstqueue.c: RPAD fixes.
20891 * gst/gstghostpad.h:
20892 * gst/gstghostpad.c: New ghost pad implementation as full proxy
20893 pads. The tricky thing is they provide both source and sink
20894 interfaces, since they proxy the internal pad for the external
20895 pad, and vice versa. Implement with lower-level ProxyPad objects,
20896 with the interior proxy pad as a child of the exterior ghost pad.
20897 Should write a doc on this.
20899 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20900 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20903 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20904 pads are real pads. No ghost pads in this file. Not documenting
20905 the myriad s/RPAD/PAD/ and REALIZE fixes.
20906 (gst_pad_class_init): Add properties for "direction" and
20907 "template". Both are construct-only, so they can't change during
20908 the life of the pad. Fixes properly deriving from GstPad.
20909 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20910 derived objects, just set properties when creating the objects via
20912 (gst_pad_get_parent): Implement as a function, return NULL if the
20913 parent is not an element.
20914 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20915 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20917 * gst/gstobject.c (gst_object_class_init): Make name a construct
20918 property. Don't set it in the object init.
20920 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20921 with UNKNOWN direction.
20922 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20923 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20924 (gst_element_remove_pad): Remove ghost-pad special cases.
20925 (gst_element_pads_activate): Remove rpad cruft.
20927 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20928 catch the pad's-parent-not-an-element case.
20930 * gst/gst.h: Include gstghostpad.h.
20932 * gst/gst.c (init_post): No more real, ghost pads.
20934 * gst/Makefile.am: Add gstghostpad.[ch].
20936 * check/Makefile.am:
20937 * check/gst/gstbin.c:
20938 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20939 into a bin creates ghost pads, and that the refcounts are right.
20940 Partly moved from gstbin.c.
20942 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20944 * check/gst-libs/.cvsignore:
20945 * check/gst/.cvsignore:
20946 * check/pipelines/.cvsignore:
20948 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20949 (START_TEST), (cleanup_suite), (main):
20950 add some tests related to cleanup after running pipelines
20952 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20954 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20955 add a testsuite for GstBuffer
20957 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20959 * gst/gstminiobject.h:
20960 add defines for accessing the refcount
20962 2005-06-03 Stefan Kost <ensonic@users.sf.net>
20964 * Makefile.am: added support for html unit test coverage reports
20966 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
20968 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20969 Free existing caps if the capsfilter changes. Add a FIXME about
20970 setting those caps on the pads.
20972 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20973 Before adding a ghost pad to a parent bin, check that there isn't
20974 already one for the element on the bin. Prevents infinite recursion
20975 when using decodebin in parse pipelines. Andy says he'll rewrite the
20976 way this works anyway, so ignore the hack.
20978 2005-06-02 Andy Wingo <wingo@pobox.com>
20980 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20981 file size, pass it on to the type find helper.
20983 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20984 segment_start and segment_end properly according to the seek
20985 method. Segment_end is still a bit flaky because offset can be
20986 negative for CUR and END cases, but it takes -1 as an "unset"
20989 2005-06-02 Wim Taymans <wim@fluendo.com>
20991 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20992 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20993 (gst_basesink_activate):
20994 * gst/base/gstbasesink.h:
20995 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20996 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20997 (gst_pad_query), (gst_pad_start_task):
20999 * gst/gstqueue.c: (gst_queue_bufferalloc),
21000 (gst_queue_handle_sink_event), (gst_queue_chain):
21001 Bufferalloc: return GstFlowReturn to more accuratly report
21002 why allocation failed.
21004 2005-06-02 Wim Taymans <wim@fluendo.com>
21006 * gst/gstpipeline.c: (gst_pipeline_send_event):
21007 Take snapshot of state without blocking.
21009 2005-06-02 Wim Taymans <wim@fluendo.com>
21011 * docs/design/part-TODO.txt:
21012 * docs/design/part-caps.txt:
21013 * docs/design/part-clocks.txt:
21014 * docs/design/part-negotiation.txt:
21015 * docs/design/part-preroll.txt:
21018 2005-05-30 Wim Taymans <wim@fluendo.com>
21020 * gst/elements/gstidentity.c: (gst_identity_event),
21021 (gst_identity_transform), (gst_identity_get_property):
21022 Protect last_message property as it is accessed from
21025 2005-05-30 Wim Taymans <wim@fluendo.com>
21027 * gst/gstelement.c: (gst_element_init),
21028 (gst_element_pads_activate), (gst_element_change_state):
21029 Slicker pad activation code.
21031 2005-05-30 Wim Taymans <wim@fluendo.com>
21034 * gst/gstelement.h:
21035 * gst/gstelementfactory.h:
21037 Move elementfactory methods to separate .h file.
21039 2005-05-30 Wim Taymans <wim@fluendo.com>
21041 * docs/design/part-overview.txt:
21042 * gst/gstsystemclock.h:
21043 Small typo fixes, doc updates.
21045 2005-05-30 Wim Taymans <wim@fluendo.com>
21047 * gst/gst.c: (gst_init_get_popt_table), (init_post),
21048 (init_popt_callback):
21049 Remove cpu-opt flag.
21051 2005-05-30 Wim Taymans <wim@fluendo.com>
21053 * gst/gstbuffer.c: (gst_subbuffer_finalize),
21054 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
21056 Avoid typechecking in places where not needed.
21057 Added accessor for malloc_data.
21059 2005-05-30 Wim Taymans <wim@fluendo.com>
21061 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
21062 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
21063 (gst_pad_configure_sink), (gst_pad_configure_src),
21064 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
21065 (gst_pad_start_task):
21066 Propagate errors from _set_caps() in configure_src/sink
21067 functions instead of returning TRUE.
21068 FLUSH events can travel up and downstream
21071 2005-05-30 Wim Taymans <wim@fluendo.com>
21073 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21074 (gst_basesink_activate):
21075 Handle EOS in preroll.
21077 2005-05-30 Wim Taymans <wim@fluendo.com>
21079 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21080 (gst_queue_loop), (gst_queue_handle_src_event):
21081 Remove old pieces of code
21082 Flushing the queue in an upstream event is a very bad idea.
21084 2005-05-26 Andy Wingo <wingo@pobox.com>
21086 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
21087 gst_value_set_mini_object so as to add a ref on the object (which
21088 will be removed when the value is unset).
21090 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
21091 arg type in ::handoff.
21093 * gst/gstelement.c (gst_element_change_state): Also deactivate
21094 pads in READY->NULL, just in case the element didn't make it to
21095 PAUSED. Wingo tested, Wim approved.
21097 2005-05-26 Wim Taymans <wim@fluendo.com>
21099 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21100 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
21101 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
21102 A flushing pad cannot be used to alloc_buffer from.
21104 2005-05-26 Wim Taymans <wim@fluendo.com>
21106 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
21107 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
21108 (gst_bus_source_dispatch), (gst_bus_source_finalize),
21109 (gst_bus_create_watch), (gst_bus_add_watch_full):
21111 Implement a real GSource and use g_main_context_wakeup() to
21112 signal new messages instead of the socketpair.
21114 2005-05-25 Wim Taymans <wim@fluendo.com>
21116 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
21117 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
21118 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21119 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21120 (gst_pad_send_event), (gst_pad_start_task):
21121 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
21122 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21123 (gst_queue_sink_activate), (gst_queue_src_activate),
21124 (gst_queue_change_state):
21126 Fix state changes for non sinks. We now change sinks, then elements
21127 with unconnected srcpads, then the rest.
21128 More efficient queue unlocking in flush and state changes.
21129 Set the pad activate mode even if it does not have an activate
21132 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21134 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
21135 Don't go in pull mode for non-seekable sources.
21136 * gst/elements/gsttypefindelement.h:
21137 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21138 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
21139 (free_entry), (stop_typefinding),
21140 (gst_type_find_element_handle_event), (find_peek),
21141 (gst_type_find_element_chain), (do_pull_typefind),
21142 (gst_type_find_element_change_state):
21143 Allow typefinding (w/o seeking) in push-mode, simplified version
21144 of what was in 0.8.
21145 * gst/gstutils.c: (gst_buffer_join):
21147 gst_buffer_join() from 0.8.
21149 2005-05-25 Wim Taymans <wim@fluendo.com>
21151 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21152 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21153 (gst_pad_send_event), (gst_pad_start_task):
21154 Disable attempt at mode switching until it is figured out.
21156 2005-05-25 Wim Taymans <wim@fluendo.com>
21158 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
21159 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21160 (gst_basesink_finish_preroll), (gst_basesink_chain),
21161 (gst_basesink_loop), (gst_basesink_activate),
21162 (gst_basesink_change_state):
21163 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
21164 (gst_basesrc_get_range), (gst_basesrc_loop),
21165 (gst_basesrc_activate):
21166 * gst/elements/gsttee.c: (gst_tee_sink_activate):
21167 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
21168 (gst_real_pad_init), (gst_real_pad_set_property),
21169 (gst_real_pad_get_property), (gst_pad_set_active),
21170 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
21171 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
21172 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
21173 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
21174 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21175 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
21176 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
21177 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21178 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
21179 (gst_pad_stop_task):
21181 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21182 (gst_queue_loop), (gst_queue_src_activate):
21183 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
21184 (gst_task_get_state):
21186 * gst/schedulers/threadscheduler.c:
21187 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
21188 Implement gst_pad_pause/start/stop_task(), take STREAM lock
21190 Remove ACTIVE pad flag, use FLUSHING everywhere
21191 Added _pad_chain(), _pad_get_range() to call chain/getrange
21193 Add locks around IS_FLUSHING when reading.
21194 Take STREAM lock in chain(), get_range() functions so plugins
21195 don't need to take it anymore.
21199 2005-05-25 Wim Taymans <wim@fluendo.com>
21201 * tools/gst-launch.c: (event_loop):
21202 Unref message after using its contents instead of
21205 2005-05-24 Wim Taymans <wim@fluendo.com>
21207 * docs/design/draft-ghostpads.txt:
21208 * docs/design/draft-push-pull.txt:
21209 * docs/design/draft-query.txt:
21210 * docs/design/part-overview.txt:
21211 Docs updates, added general overview doc.
21213 2005-05-21 David Schleef <ds@schleef.org>
21215 * docs/gst/tmpl/old/GstBin.sgml:
21216 * docs/gst/tmpl/old/GstBuffer.sgml:
21217 * docs/gst/tmpl/old/GstCaps.sgml:
21218 * docs/gst/tmpl/old/GstClock.sgml:
21219 * docs/gst/tmpl/old/GstCompat.sgml:
21220 * docs/gst/tmpl/old/GstData.sgml:
21221 * docs/gst/tmpl/old/GstElement.sgml:
21222 * docs/gst/tmpl/old/GstEvent.sgml:
21223 * docs/gst/tmpl/old/GstIndex.sgml:
21224 * docs/gst/tmpl/old/GstStructure.sgml:
21225 * docs/gst/tmpl/old/GstTag.sgml:
21226 * docs/gst/tmpl/old/cothreads.sgml:
21227 * docs/gst/tmpl/old/cothreads_compat.sgml:
21228 * docs/gst/tmpl/old/gettext.sgml:
21229 * docs/gst/tmpl/old/gobject2gtk.sgml:
21230 * docs/gst/tmpl/old/grammar.tab.sgml:
21231 * docs/gst/tmpl/old/gst-i18n-app.sgml:
21232 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
21233 * docs/gst/tmpl/old/gst_private.sgml:
21234 * docs/gst/tmpl/old/gstaggregator.sgml:
21235 * docs/gst/tmpl/old/gstarch.sgml:
21236 * docs/gst/tmpl/old/gstatomic_impl.sgml:
21237 * docs/gst/tmpl/old/gstbufferstore.sgml:
21238 * docs/gst/tmpl/old/gstdata_private.sgml:
21239 * docs/gst/tmpl/old/gstdisksink.sgml:
21240 * docs/gst/tmpl/old/gstdisksrc.sgml:
21241 * docs/gst/tmpl/old/gstelementfactory.sgml:
21242 * docs/gst/tmpl/old/gstextratypes.sgml:
21243 * docs/gst/tmpl/old/gstfakesink.sgml:
21244 * docs/gst/tmpl/old/gstfakesrc.sgml:
21245 * docs/gst/tmpl/old/gstfdsink.sgml:
21246 * docs/gst/tmpl/old/gstfdsrc.sgml:
21247 * docs/gst/tmpl/old/gstfilesink.sgml:
21248 * docs/gst/tmpl/old/gstfilesrc.sgml:
21249 * docs/gst/tmpl/old/gsthttpsrc.sgml:
21250 * docs/gst/tmpl/old/gstidentity.sgml:
21251 * docs/gst/tmpl/old/gstindexfactory.sgml:
21252 * docs/gst/tmpl/old/gstmarshal.sgml:
21253 * docs/gst/tmpl/old/gstmd5sink.sgml:
21254 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
21255 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
21256 * docs/gst/tmpl/old/gstpadtemplate.sgml:
21257 * docs/gst/tmpl/old/gstpipefilter.sgml:
21258 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
21259 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
21260 * docs/gst/tmpl/old/gstshaper.sgml:
21261 * docs/gst/tmpl/old/gstspider.sgml:
21262 * docs/gst/tmpl/old/gstspideridentity.sgml:
21263 * docs/gst/tmpl/old/gststatistics.sgml:
21264 * docs/gst/tmpl/old/gsttee.sgml:
21265 * docs/gst/tmpl/old/gsttimecache.sgml:
21266 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
21267 * docs/gst/tmpl/old/gstxmlregistry.sgml:
21268 * docs/gst/tmpl/old/gthread-cothreads.sgml:
21269 * docs/gst/tmpl/old/types.sgml:
21270 I didn't intend to add these or check them in.
21272 2005-05-19 David Schleef <ds@schleef.org>
21274 * configure.ac: Use -no-common everywhere. In a sane world, it
21275 would be the default in libtool, because without it, you can't
21276 build DLLs on Windows.
21277 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
21278 * docs/gst/gstreamer-sections.txt:
21279 * docs/gst/tmpl/gstcpu.sgml:
21280 * docs/gst/tmpl/gstdata.sgml:
21281 * docs/gst/tmpl/gstthread.sgml:
21283 2005-05-19 David Schleef <ds@schleef.org>
21285 * gst/gstminiobject.c: (gst_value_set_mini_object),
21286 (gst_value_take_mini_object), (gst_value_get_mini_object):
21287 * gst/gstminiobject.h: Add GValue set/get functions.
21289 2005-05-19 Wim Taymans <wim@fluendo.com>
21291 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
21292 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
21293 (gst_subbuffer_init), (gst_buffer_is_span_fast):
21295 * gst/gstbus.c: (gst_bus_post):
21296 * gst/gstelement.c: (gst_element_get_random_pad):
21297 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
21298 Make subbufer unref the parent in finalize.
21299 some more debugging info.
21302 2005-05-19 Wim Taymans <wim@fluendo.com>
21304 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21305 (gst_basesink_init), (gst_basesink_finalize),
21306 (gst_basesink_activate), (gst_basesink_change_state):
21307 Don't free preroll queue too early.
21309 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21313 Hi, I'm outdated. Please shoot me.
21315 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21317 * gst/gstpipeline.c: (gst_pipeline_send_event):
21318 Do not access variables after they have been deleted.
21320 2005-05-19 Wim Taymans <wim@fluendo.com>
21322 * tools/gst-inspect.c: (print_plugin_features):
21323 A plugin feature does unfortunatly not use the
21326 2005-05-18 Wim Taymans <wim@fluendo.com>
21328 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
21329 Port _span() functions to new subbuffers.
21331 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21333 * gst/gstbin.c: (gst_bin_add_func):
21334 Fix clock settery in bins when adding kids after the clock has
21337 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21339 * gst/elements/gstidentity.c: (gst_identity_class_init):
21340 Workaround until signals support GstMiniObject.
21342 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
21345 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
21347 2005-05-18 Wim Taymans <wim@fluendo.com>
21349 * gst/base/Makefile.am:
21350 * gst/base/gstadapter.c: (gst_adapter_base_init),
21351 (gst_adapter_class_init), (gst_adapter_init),
21352 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
21353 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
21354 (gst_adapter_flush), (gst_adapter_available),
21355 (gst_adapter_available_fast):
21356 * gst/base/gstadapter.h:
21357 Ported and added adapter to the base classes.
21359 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21362 * gst/gstmessage.c:
21363 Make sure the class is reffed/unreffed once before threads can be
21364 used. Fixes #304551.
21366 2005-05-17 Wim Taymans <wim@fluendo.com>
21368 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
21369 (gst_basesink_chain_unlocked), (gst_basesink_activate):
21370 * gst/gstminiobject.c: (gst_mini_object_get_type),
21371 (gst_mini_object_free):
21372 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
21373 (gst_pad_push), (gst_pad_push_event):
21374 * gst/gstqueue.c: (gst_queue_change_state):
21375 Don't queue buffers in basesink when we are flushing.
21376 Unref buffer when flushing in basesink.
21377 Flush queue when going to READY
21378 Unref buffer when _push() returns an error.
21379 Don't free MiniObject instance when refcount is incremented
21380 in _finalize() so that we can recover objects.
21382 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
21384 * docs/manual/advanced-schedulers.xml:
21385 * docs/manual/appendix-checklist.xml:
21386 * docs/pwg/advanced-clock.xml:
21387 * docs/pwg/advanced-interfaces.xml:
21388 * docs/pwg/advanced-request.xml:
21389 * docs/pwg/advanced-types.xml:
21390 * docs/pwg/intro-preface.xml:
21391 * examples/plugins/example.c: (gst_example_get_type),
21392 (gst_example_class_init), (gst_example_chain),
21393 (gst_example_set_property), (gst_example_get_property),
21394 (gst_example_change_state), (plugin_init):
21395 * examples/plugins/example.h:
21398 2005-05-17 Wim Taymans <wim@fluendo.com>
21400 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
21401 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
21402 * gst/gstqueue.c: (gst_queue_change_state):
21403 Clear queue when going to READY.
21404 Remove IN_SETCAPS flag too.
21406 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
21408 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
21409 Remove implicit cast from gboolean to GstElementStateReturn;
21410 make sure we still return failure in paused => ready case if
21411 the parent class fails to change state and our own stop
21414 2005-05-17 Wim Taymans <wim@fluendo.com>
21416 * tools/gst-launch.c: (event_loop):
21417 Message was unreffed too soon.
21419 2005-05-16 Andy Wingo <wingo@pobox.com>
21421 * gst/gstbin.c (sink_iterator_filter): Err... um...
21423 * check/gst/gstbin.c (test_ghost_pads): New test for the
21424 ghosting-if-elements-not-in-same-bin behavior.
21426 2005-05-16 David Schleef <ds@schleef.org>
21428 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
21429 accessing refcount directly.
21431 2005-05-15 David Schleef <ds@schleef.org>
21433 * check/Makefile.am: remove GstData checks
21434 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
21435 * gst/Makefile.am: add miniobject, remove data
21436 * gst/gst.h: add miniobject, remove data
21437 * gst/gstdata.c: remove
21438 * gst/gstdata.h: remove
21439 * gst/gstdata_private.h: remove
21440 * gst/gsttypes.h: remove GstEvent and GstMessage
21441 * gst/gstelement.c: (gst_element_post_message): fix for API changes
21442 * gst/gstmarshal.list: change BOXED -> OBJECT
21444 Implement GstMiniObject.
21445 * gst/gstminiobject.c:
21446 * gst/gstminiobject.h:
21448 Modify to be subclasses of GstMiniObject.
21449 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
21450 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
21451 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
21452 (gst_subbuffer_get_type), (gst_subbuffer_init),
21453 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
21456 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21457 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21458 (_gst_event_copy), (gst_event_new):
21460 * gst/gstmessage.c: (_gst_message_initialize),
21461 (gst_message_get_type), (gst_message_class_init),
21462 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21463 (gst_message_new), (gst_message_new_error),
21464 (gst_message_new_warning), (gst_message_new_tag),
21465 (gst_message_new_state_changed), (gst_message_new_application):
21466 * gst/gstmessage.h:
21467 * gst/gstprobe.c: (gst_probe_perform),
21468 (gst_probe_dispatcher_dispatch):
21470 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21471 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21472 (_gst_query_copy), (gst_query_new):
21474 Update elements for GstData -> GstMiniObject changes
21476 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21477 (gst_queue_chain), (gst_queue_loop):
21478 * gst/elements/gstbufferstore.c:
21479 (gst_buffer_store_add_buffer_func),
21480 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21481 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21482 (gst_fakesink_render):
21483 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21484 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21485 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21486 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21487 (gst_filesrc_create_read):
21488 * gst/elements/gstidentity.c: (gst_identity_class_init):
21489 * gst/elements/gsttypefindelement.c:
21490 (gst_type_find_element_src_event), (free_entry_buffers),
21491 (gst_type_find_element_handle_event):
21492 * libs/gst/dataprotocol/dataprotocol.c:
21493 (gst_dp_header_from_buffer):
21494 * libs/gst/dataprotocol/dataprotocol.h:
21495 * libs/gst/dataprotocol/dp-private.h:
21497 2005-05-15 David Schleef <ds@schleef.org>
21499 * gst/elements/gstelements.c: Don't include headers that were
21502 2005-05-15 David Schleef <ds@schleef.org>
21504 * gst/elements/Makefile.am: Remove some elements that don't
21505 need to be in the core (or even exist at all).
21506 * gst/elements/gstaggregator.c:
21507 * gst/elements/gstaggregator.h:
21508 * gst/elements/gstmd5sink.c:
21509 * gst/elements/gstmd5sink.h:
21510 * gst/elements/gstmultifilesrc.c:
21511 * gst/elements/gstmultifilesrc.h:
21512 * gst/elements/gstpipefilter.c:
21513 * gst/elements/gstpipefilter.h:
21514 * gst/elements/gstshaper.c:
21515 * gst/elements/gstshaper.h:
21516 * gst/elements/gststatistics.c:
21517 * gst/elements/gststatistics.h:
21518 * po/POTFILES.in: Remove above files.
21520 2005-05-14 Andy Wingo <wingo@pobox.com>
21522 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21523 so as to get the refs right.
21524 (sink_iterator_filter): New function, wraps bin_element_is_sink,
21525 unreffing objects that don't pass the filter.
21527 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21528 gst_element_set_bus.
21529 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21530 normal cases, this will destroy the bus.
21532 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21535 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21538 2005-05-13 Andy Wingo <wingo@pobox.com>
21540 * gst/gstutils.c (gst_element_link_pads): Instead of calling
21541 gst_pad_link, call pad_link_maybe_ghosting,
21542 (pad_link_maybe_ghosting): Links pads, making sure that the
21543 elements being linked are in the same bin.
21544 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21545 Helpers for pad_link_maybe_ghosting.
21547 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21550 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21552 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21554 * docs/design/part-element-source.txt:
21557 2005-05-12 Wim Taymans <wim@fluendo.com>
21559 * gst/base/gstbasesink.c: (gst_basesink_init),
21560 (gst_basesink_activate):
21561 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21562 (gst_basesrc_is_seekable):
21563 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21564 (bin_element_is_sink), (gst_bin_change_state):
21565 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21566 * gst/gstelement.h:
21567 Identify sinks by their flag to avoid overly complicated
21569 Do state changes even for elements not reachable from the
21571 BaseSink is a sink now :)
21572 Some more debugging info in the basesrc.
21575 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21577 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21578 Implement _query on a bin, similar to _send_event.
21580 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
21582 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21583 Discont event offset format should be GST_FORMAT_BYTES,
21584 not GST_FORMAT_TIME.
21586 2005-05-12 Wim Taymans <wim@fluendo.com>
21588 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21589 Same fix as Ronald's but without the signal.
21591 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21593 * gst/gstutils.c: (gst_element_query_position):
21594 No, an element is not a pad.
21596 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21598 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21599 (gst_bin_get_state):
21600 If a child is removed from a bin while we remove the child from
21601 the bin and while we're retrieving its state, signal this to the
21602 get_state function so we abort the wait (instead of waiting for
21603 a timeout) and can immediately re-iterate over all other elements.
21605 2005-05-12 Wim Taymans <wim@fluendo.com>
21607 * gst/base/Makefile.am:
21608 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21609 (gst_basesrc_start):
21610 * gst/base/gstbasesrc.h:
21611 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21612 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21613 (gst_pushsrc_init), (gst_pushsrc_create):
21614 * gst/base/gstpushsrc.h:
21615 Added is_seekable to BaseSrc
21616 Added simple PushSrc.
21618 2005-05-11 Wim Taymans <wim@fluendo.com>
21620 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21621 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21622 (gst_element_link_pads), (gst_element_query_position),
21623 (gst_element_query_convert), (intersect_caps_func),
21624 (gst_pad_query_position), (gst_pad_query_convert):
21625 Fix refcounting in utils function.
21626 No point in trying to activate a pad when it's added, it could
21627 be added from the state change function and then we deadlock, the
21628 element has to decide what to do.
21630 2005-05-10 Andy Wingo <wingo@pobox.com>
21632 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21633 *all* the arguments.
21635 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21636 stream lock if it's a FLUSH_DONE; normal flushes don't get the
21637 lock (according to the docs -- if this is wrong change the docs).
21639 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21640 flush messages in the NULL state.
21642 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21643 message immediately and return.
21644 (gst_bus_set_flushing): New function. If a bus is flushing, it
21645 flushes out any queued messages and immediately unrefs new
21646 messages. This is so when an element goes to NULL, all of the
21647 unhandled messages coming from it can be freed, and their
21648 references to the element dropped. In other words: message source
21649 ref considered harmful :P
21651 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21652 we're finished with it.
21654 * gst/gstmessage.c (gst_message_new_state_changed):
21656 2005-05-10 Wim Taymans <wim@fluendo.com>
21658 * gst/gstvalue.c: (gst_value_compare_flags),
21659 (gst_value_serialize_flags), (gst_value_deserialize_flags),
21660 (_gst_value_initialize):
21661 Added flags serialize/deserialize/compare code.
21663 2005-05-09 Andy Wingo <wingo@pobox.com>
21665 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21666 Intersect the peer's caps with our caps.
21668 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21670 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21671 * gst/elements/gsttypefindelement.c: (find_peek):
21672 Handle negative offsets better. Fixes decodebin.
21674 2005-05-09 Wim Taymans <wim@fluendo.com>
21676 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21677 (gst_base_transform_event):
21678 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21679 Implement accept_caps.
21680 Fix silly lock/unlock mismatch in base class.
21682 2005-05-09 Wim Taymans <wim@fluendo.com>
21684 * docs/design/draft-push-pull.txt:
21685 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21686 * gst/elements/gstfilesink.c: (gst_filesink_init),
21687 (gst_filesink_query):
21688 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21689 (gst_type_find_handle_src_query), (find_element_get_length):
21690 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21691 * gst/gstelement.h:
21692 * gst/gstmessage.c:
21693 * gst/gstmessage.h:
21694 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21695 (gst_real_pad_get_caps_unlocked),
21696 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21697 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21698 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21699 (gst_real_pad_dispose), (gst_real_pad_finalize),
21700 (gst_pad_load_and_link), (gst_pad_save_thyself),
21701 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21702 (gst_pad_check_pull_range), (gst_pad_pull_range),
21703 (gst_pad_template_get_type), (gst_pad_template_class_init),
21704 (gst_pad_template_init), (gst_pad_template_dispose),
21705 (name_is_valid), (gst_static_pad_template_get),
21706 (gst_pad_template_new), (gst_static_pad_template_get_caps),
21707 (gst_pad_template_get_caps), (gst_pad_set_element_private),
21708 (gst_pad_get_element_private), (gst_pad_start_task),
21709 (gst_pad_pause_task), (gst_pad_stop_task),
21710 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21711 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21712 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21713 (gst_ghost_pad_new):
21715 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21716 (gst_query_new_position), (gst_query_set_position),
21717 (gst_query_parse_position), (gst_query_new_convert),
21718 (gst_query_set_convert), (gst_query_parse_convert):
21720 * gst/gstqueryutils.c:
21721 * gst/gstqueryutils.h:
21722 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21723 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21724 (gst_queue_handle_src_query):
21725 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21726 (gst_element_query_position), (gst_element_query_convert),
21727 (intersect_caps_func), (gst_pad_query_position),
21728 (gst_pad_query_convert):
21730 * tools/gst-inspect.c: (print_pad_info):
21731 * tools/gst-xmlinspect.c: (print_element_info):
21732 Remove old query functions. Ported old code.
21733 Added position/convert helper functions to gstutils.
21734 Reordered gstpad.c code, grouping relevant things.
21735 Remove gst_message_new(), always need to speficy a specific
21739 2005-05-09 Andy Wingo <wingo@pobox.com>
21741 * gst/gstiterator.h: Add some includes.
21743 * gst/gstqueryutils.h: Include more headers.
21746 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21747 some uses of gst_pad_query.
21749 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21750 NULL out parameters.
21751 (gst_query_new_position): New proc, allocates a new position
21754 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21755 gstqueryutils.c to the build.
21757 * gst/gststructure.c (gst_structure_set_valist): Implement with
21758 the generic G_VALUE_COLLECT.
21760 2005-05-08 Edward Hervey <bilboed@bilboed.com>
21762 * gst/Makefile.am: (gst_headers):
21763 Added gstqueryutils.h to the list of headers to install, that was
21764 a 'nachty' move wingo :)
21766 2005-05-06 Andy Wingo <wingo@pobox.com>
21769 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21770 GstData, init a memchunk.
21771 (standard_definitions): Add a few query types, deprecate a few.
21772 (gst_query_get_type): New proc.
21773 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21775 (gst_query_new_application, gst_query_get_structure): New public
21778 * docs/design/draft-query.txt: Removed LINKS from the query types,
21779 because all the rest can be dispatched to other pads -- seemed
21780 ugly to have a query that couldn't be dispatched. internal_links
21781 is fine as a pad method.
21783 * gst/gstpad.h: Add query2 as a pad method, add the new functions
21784 in gstpad.c, but maintain binary compatibility for the moment.
21785 Will fix before 0.9 is out.
21787 * gst/gstqueryutils.c:
21788 * gst/gstqueryutils.h: New files, implement 3 methods for each
21789 query type: parse_query, parse_response, and set. Probably need an
21792 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21794 * gst/elements/gstfilesink.c (gst_filesink_query2):
21795 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21796 query_types, and formats methods.
21798 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21799 (gst_pad_set_query2_function): New functions.
21800 (gst_real_pad_init): Set query2_default as the default query2
21801 function. Basically just dispatches to internally linked pads.
21805 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21806 without using the atomic operations. Only one thread can possibly
21807 be accessing the data at this point. Changed so as to avoid
21808 gst_atomic operations.
21810 2005-05-06 Wim Taymans <wim@fluendo.com>
21812 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21813 Also set caps if we use the fallback buffer alloc.
21815 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
21817 * docs/gst/Makefile.am:
21818 * docs/gst/gstreamer-docs.sgml:
21819 * docs/gst/gstreamer-sections.txt:
21820 * docs/gst/tmpl/gstatomic.sgml:
21821 * docs/gst/tmpl/gstmemchunk.sgml:
21822 * testsuite/elements/struct_i386.h:
21823 * win32/GStreamer.vcproj:
21825 Purge GstAtomic stuff from docs and win32 makefiles as well
21827 2005-05-06 Wim Taymans <wim@fluendo.com>
21829 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21830 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21831 * gst/gstpad.c: (gst_pad_peer_get_caps):
21832 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21833 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21834 (gst_queue_src_activate), (gst_queue_change_state):
21836 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21837 (intersect_caps_func):
21838 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21839 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21840 Some fixes for the peer_get_caps() change.
21842 2005-05-06 Wim Taymans <wim@fluendo.com>
21844 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21845 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21846 (gst_basesink_activate):
21847 Actually do something with error codes returned from the push
21850 2005-05-06 Wim Taymans <wim@fluendo.com>
21852 * docs/design/part-element-sink.txt:
21853 * docs/design/part-element-source.txt:
21854 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21855 (gst_basesink_event), (gst_basesink_activate):
21856 * gst/base/gstbasesink.h:
21857 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21858 (gst_basesrc_activate):
21859 * gst/base/gstbasesrc.h:
21860 * gst/gstelement.c: (gst_element_pads_activate):
21861 Some more documentation.
21862 Fixed scheduling decision in _pads_activate().
21864 2005-05-05 Andy Wingo <wingo@pobox.com>
21866 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21869 2005-05-05 Wim Taymans <wim@fluendo.com>
21871 * gst/base/Makefile.am:
21872 * gst/base/gstbasesink.h:
21873 * gst/base/gstbasesrc.c: (gst_basesrc_init),
21874 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21875 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21876 (gst_collectpads_class_init), (gst_collectpads_init),
21877 (gst_collectpads_finalize), (gst_collectpads_new),
21878 (gst_collectpads_set_function), (gst_collectpads_add_pad),
21879 (find_pad), (gst_collectpads_remove_pad),
21880 (gst_collectpads_is_active), (gst_collectpads_collect),
21881 (gst_collectpads_collect_range), (gst_collectpads_start),
21882 (gst_collectpads_stop), (gst_collectpads_peek),
21883 (gst_collectpads_pop), (gst_collectpads_available),
21884 (gst_collectpads_read), (gst_collectpads_flush),
21885 (gst_collectpads_chain):
21886 * gst/base/gstcollectpads.h:
21887 * gst/elements/Makefile.am:
21888 * gst/elements/gstelements.c:
21889 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21890 (gst_fakesink_get_times), (gst_fakesink_event),
21891 (gst_fakesink_preroll), (gst_fakesink_render):
21892 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21893 (gst_filesink_init), (gst_filesink_set_location),
21894 (gst_filesink_open_file), (gst_filesink_close_file),
21895 (gst_filesink_pad_query), (gst_filesink_event),
21896 (gst_filesink_render), (gst_filesink_change_state):
21897 * gst/elements/gstfilesink.h:
21898 Added object to help in making collect pad based elements.
21900 Make event function in sink baseclass return gboolean.
21902 2005-05-05 Wim Taymans <wim@fluendo.com>
21904 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21905 (gst_bin_get_by_name):
21907 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21908 (gst_clock_finalize):
21909 * gst/gstdata.c: (gst_data_replace):
21911 * gst/gstelement.c: (gst_element_request_pad),
21912 (gst_element_pads_activate):
21913 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21914 (gst_object_unref):
21915 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21916 (gst_pad_set_checkgetrange_function),
21917 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21918 (gst_pad_check_pull_range), (gst_pad_pull_range),
21919 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21920 (gst_pad_pause_task), (gst_pad_stop_task):
21921 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21922 (gst_element_request_pad), (gst_pad_proxy_getcaps):
21923 Fix name lookup in GstBin.
21924 Added _data_replace() function and _buffer_replace()
21925 Use finalize method to clean up clock.
21926 Fix refcounting on request pads.
21927 Fix pad schedule mode error.
21928 Some more object refcounting debug info,
21931 2005-05-04 Andy Wingo <wingo@pobox.com>
21933 * check/Makefile.am:
21934 * docs/gst/tmpl/gstatomic.sgml:
21935 * docs/gst/tmpl/gstplugin.sgml:
21936 * gst/base/gstbasesink.c: (gst_basesink_activate):
21937 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21938 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21939 (gst_basesrc_query), (gst_basesrc_set_property),
21940 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21941 (gst_basesrc_activate):
21942 * gst/base/gstbasesrc.h:
21943 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21944 (gst_base_transform_src_activate):
21945 * gst/elements/gstelements.c:
21946 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21947 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21948 * gst/elements/gsttee.c: (gst_tee_sink_activate):
21949 * gst/elements/gsttypefindelement.c: (find_element_get_length),
21950 (gst_type_find_element_checkgetrange),
21951 (gst_type_find_element_activate):
21952 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21953 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21954 (gst_caps_load_thyself):
21955 * gst/gstelement.c: (gst_element_pads_activate),
21956 (gst_element_save_thyself), (gst_element_restore_thyself):
21957 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21958 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21960 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21961 (gst_xml_parse_file), (gst_xml_parse_memory),
21962 (gst_xml_get_element), (gst_xml_make_element):
21963 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21964 (_file_index_id_save_xml), (gst_file_index_commit):
21965 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21966 (read_enum), (load_pad_template), (load_feature), (load_plugin),
21968 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21969 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21970 * tools/gst-complete.c: (main):
21971 * tools/gst-compprep.c: (main):
21972 * tools/gst-inspect.c: (print_element_properties_info):
21973 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21974 * tools/gst-xmlinspect.c: (print_element_properties):
21977 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
21979 * gst/gstplugin.c: (gst_plugin_check_module),
21980 (gst_plugin_check_file), (gst_plugin_load_file):
21981 apply patch from #172526 to make register work on MacOSX
21983 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21985 * docs/gst/tmpl/gstconfig.sgml:
21986 * gst/gstconfig.h.in:
21987 move documentation for some symbols. Add doc for GST_PTR_FORMAT
21988 * testsuite/debug/printf_extension.c: (main):
21989 Do not use GST_PTR_FORMAT on pointers to types with
21990 sizeof < sizeof(gpointer). Fixes test on 64-bit
21991 * testsuite/elements/property.h:
21992 use correct printf format
21994 2005-05-02 Wim Taymans <wim@fluendo.com>
21996 * docs/design/draft-push-pull.txt:
21997 * docs/design/draft-query.txt:
21998 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21999 (gst_basesrc_start):
22000 Added draft for new query API.
22001 Added draft for better selecting scheduling methods.
22002 Make basesrc ignore length if the subclass does not support
22005 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
22008 possible fixes for automake-1.5 - _LIBADD is reserved
22010 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
22012 * docs/faq/Makefile.am:
22013 * docs/manual/Makefile.am:
22014 * docs/manuals.mak:
22015 * docs/pwg/Makefile.am:
22017 possible fixes for automake-1.5
22019 2005-04-28 Wim Taymans <wim@fluendo.com>
22021 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22022 (gst_basesink_pad_getcaps), (gst_basesink_init),
22023 (gst_basesink_do_sync):
22024 * gst/gstclock.c: (gst_clock_entry_new):
22025 * gst/gstevent.c: (gst_event_discont_get_value):
22026 * gst/gstpipeline.c: (pipeline_bus_handler),
22027 (gst_pipeline_change_state):
22028 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
22029 Better debugging of clocking info.
22030 Allow NULL values when getting discont values.
22032 2005-04-27 Wim Taymans <wim@fluendo.com>
22034 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22035 * check/gst/gstpad.c: (gst_pad_suite):
22036 Increase timeout for checks.
22038 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
22040 * check/Makefile.am:
22041 fix the broken rule for cleanup. Apparently this rule is
22042 only needed on FC2, so maybe this warrants further autotool
22045 2005-04-26 Wim Taymans <wim@fluendo.com>
22047 * gst/gsttrashstack.h:
22048 Ooohh. a nasty one! After having a failed pop() from the stack,
22049 it's possible that the stack is empty. In that case, don't
22050 follow the NULL pointer.
22052 2005-04-25 Wim Taymans <wim@fluendo.com>
22054 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22055 (gst_pad_set_checkgetrange_function),
22056 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
22057 (gst_pad_check_pull_range), (gst_pad_pull_range),
22058 (gst_static_pad_template_get_caps), (gst_pad_start_task),
22059 (gst_pad_pause_task), (gst_pad_stop_task):
22060 * gst/gstplugin.c: (gst_plugin_load):
22062 Remove gst_library_load as it does more harm than good with
22063 the new g_module flags.
22064 Revert bogus caps template check in pad linking, pad caps
22065 are important when linking not the template, which is more
22066 general than the current caps.
22068 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22070 * gst/autoplug/.cvsignore:
22071 * gst/autoplug/Makefile.am:
22072 * gst/autoplug/gstsearchfuncs.c:
22073 * gst/autoplug/gstsearchfuncs.h:
22074 * gst/autoplug/gstspider.c:
22075 * gst/autoplug/gstspider.h:
22076 * gst/autoplug/gstspideridentity.c:
22077 * gst/autoplug/gstspideridentity.h:
22078 * gst/autoplug/spidertest.c:
22081 2005-04-25 Wim Taymans <wim@fluendo.com>
22083 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22084 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22085 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
22086 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
22088 Added stubs for unimplemented functions.
22090 2005-04-24 David Schleef <ds@schleef.org>
22092 * gst/gstpad.h: Disable some unimplemented functions. Wim,
22095 2005-04-24 David Schleef <ds@schleef.org>
22097 Convert everything from GstAtomicInt to g_atomic_int_*, and
22102 * gst/gstatomic_impl.h:
22110 * gst/gstdata_private.h:
22114 * gst/gstmessage.c:
22117 * gst/gststructure.c:
22118 * gst/gststructure.h:
22119 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
22122 2005-04-24 David Schleef <ds@schleef.org>
22124 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
22125 make the regressions tests work. Remove some code that is no
22127 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
22128 Disable warning for pads without templates.
22130 2005-04-24 David Schleef <ds@schleef.org>
22132 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
22133 functions that handle filtered links.
22134 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
22136 * gst/gstutils.c: Fix/remove utility functions that handle
22139 * gst/gstvalue.c: Add serialization/deserialization of caps
22140 * gst/parse/grammar.y: Ignore filtered caps when linking. This
22141 requires fixing so that the filter caps notation creates
22142 a capsfilter element and sets the filter_caps property. I
22143 think everyone probably wants to keep the shorthand notation.
22144 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
22145 * docs/gst/tmpl/gstpad.sgml:
22147 * gst/elements/gstelements.c: Register capsfilter element.
22148 * gst/Makefile.am: fix spacing
22149 * docs/random/ds/0.9-suggested-changes: random
22151 2005-04-23 David Schleef <ds@schleef.org>
22153 * gst/elements/Makefile.am:
22154 * gst/elements/gstcapsfilter.c: New element that acts like an
22155 identity, but filters caps. Will eventually replace filtered
22156 caps in pad linking.
22157 * gst/gstutils.c: (gst_element_create_all_pads): New function
22158 to create all the ALWAYS pads that are registered with an
22159 element class. This functionality should eventually be
22160 merged in with GstElement initialization.
22162 * testsuite/trigger/README: part of trigger test code that should
22163 have been checked in a long time ago.
22165 2005-04-23 David Schleef <ds@schleef.org>
22167 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
22168 needed with new versions of libtool (nobody will confirm this),
22169 and hard to carry around.
22170 * gst/autoplug/Makefile.am:
22171 * gst/base/Makefile.am:
22172 * gst/elements/Makefile.am:
22173 * gst/indexers/Makefile.am:
22174 * gst/schedulers/Makefile.am:
22175 * libs/gst/bytestream/Makefile.am:
22176 * libs/gst/control/Makefile.am:
22177 * libs/gst/dataprotocol/Makefile.am:
22178 * libs/gst/getbits/Makefile.am:
22180 2005-04-21 Wim Taymans <wim@fluendo.com>
22182 * docs/design/draft-push-pull.txt:
22183 * docs/design/part-MT-refcounting.txt:
22184 * docs/design/part-TODO.txt:
22185 * docs/design/part-caps.txt:
22186 * docs/design/part-events.txt:
22187 * docs/design/part-gstbus.txt:
22188 * docs/design/part-gstpipeline.txt:
22189 * docs/design/part-messages.txt:
22190 * docs/design/part-push-pull.txt:
22191 * docs/design/part-query.txt:
22194 2005-04-21 Wim Taymans <wim@fluendo.com>
22196 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
22197 (gst_message_new), (gst_message_new_error),
22198 (gst_message_new_warning), (gst_message_new_tag),
22199 (gst_message_new_state_changed), (gst_message_new_application),
22200 (gst_message_get_structure):
22201 * gst/gstmessage.h:
22202 * gst/gststructure.c: (gst_structure_set_parent_refcount),
22203 (gst_structure_copy_conditional):
22204 Use parent refcount in GstMessage to ensure GstStructure
22206 Cleaned up headers a bit.
22209 2005-04-20 Wim Taymans <wim@fluendo.com>
22211 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22212 (gst_basesink_pad_getcaps), (gst_basesink_init),
22213 (gst_basesink_chain_unlocked):
22214 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
22215 (gst_type_find_helper):
22216 * gst/elements/gsttypefindelement.c:
22217 (gst_type_find_element_have_type), (gst_type_find_element_init),
22218 (stop_typefinding), (gst_type_find_element_handle_event),
22219 (find_suggest), (gst_type_find_element_chain),
22220 (gst_type_find_element_checkgetrange),
22221 (gst_type_find_element_getrange), (do_typefind),
22222 (gst_type_find_element_activate):
22223 * gst/gstbuffer.c: (_gst_buffer_sub_free),
22224 (gst_buffer_default_free), (gst_buffer_default_copy),
22225 (gst_buffer_set_caps):
22226 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
22227 (gst_caps_replace):
22228 * gst/gstmessage.c: (gst_message_new),
22229 (gst_message_new_state_changed):
22230 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22231 (gst_pad_set_checkgetrange_function),
22232 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
22233 (gst_pad_set_caps), (gst_pad_check_pull_range),
22234 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
22236 * gst/gsttypefind.c: (gst_type_find_register):
22237 Make gst_caps_replace() work like other _replace() functions.
22238 Use _caps_replace() where possible.
22239 Make sure _message_new() initialises its field.
22240 Add gst_static_pad_template_get_caps()
22243 2005-04-18 Andy Wingo <wingo@pobox.com>
22245 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
22246 on the peer, not the pad. I think that was a typo. Pass an extra
22247 arg to see if random access is possible. Activate the pads as
22248 PULL_RANGE if possible.
22250 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
22252 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
22253 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
22256 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22258 * docs/faq/using.xml:
22259 Add note on gstreamer-properties (#154996).
22261 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22263 * docs/random/bbb/optional-properties:
22264 Some analysis on optional properties.
22266 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22268 * docs/gst/tmpl/gstelementfactory.sgml:
22269 * gst/gstelement.h:
22270 * gst/gstelementfactory.c: (gst_element_factory_init),
22271 (gst_element_factory_cleanup), (gst_element_register),
22272 (__gst_element_factory_add_static_pad_template),
22273 (gst_element_factory_get_static_pad_templates),
22274 (gst_element_factory_can_src_caps),
22275 (gst_element_factory_can_sink_caps):
22276 * gst/registries/Makefile.am:
22277 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
22278 (gst_xml_registry_class_init), (gst_xml_registry_init),
22279 (gst_xml_registry_new), (gst_xml_registry_set_property),
22280 (gst_xml_registry_get_property), (get_time), (make_dir),
22281 (gst_xml_registry_get_perms_func),
22282 (plugin_times_older_than_recurse), (plugin_times_older_than),
22283 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
22284 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
22285 (add_to_char_array), (read_string), (read_uint), (read_enum),
22286 (load_pad_template), (load_feature), (load_plugin), (load_paths),
22287 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
22288 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
22289 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
22290 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
22291 (gst_xml_registry_rebuild):
22292 * gst/registries/gstlibxmlregistry.h:
22293 * tools/gst-compprep.c: (main):
22294 * tools/gst-inspect.c: (print_pad_templates_info):
22295 * tools/gst-xmlinspect.c: (print_element_info):
22296 Use libxml2 for registry parsing, use staticpadtemplates in
22297 elementfactories. Makes gst_init() +/- 10x faster.
22299 2005-04-12 Wim Taymans <wim@fluendo.com>
22301 * gst/base/Makefile.am:
22302 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22303 (gst_basesink_pad_getcaps), (gst_basesink_init),
22304 (gst_basesink_event), (gst_basesink_change_state):
22305 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22306 (gst_basesrc_init), (gst_basesrc_query),
22307 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22308 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22309 (gst_basesrc_check_get_range), (gst_basesrc_loop),
22310 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22311 (gst_basesrc_stop), (gst_basesrc_activate),
22312 (gst_basesrc_change_state):
22313 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22314 (helper_find_suggest), (gst_type_find_helper):
22315 * gst/base/gsttypefindhelper.h:
22316 * gst/elements/Makefile.am:
22317 * gst/elements/gstelements.c:
22318 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22319 (gst_fakesink_get_times), (gst_fakesink_event),
22320 (gst_fakesink_preroll), (gst_fakesink_render):
22321 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22322 (gst_fakesrc_init), (gst_fakesrc_event_handler),
22323 (gst_fakesrc_get_property), (gst_fakesrc_create),
22324 (gst_fakesrc_start), (gst_fakesrc_stop):
22325 * gst/elements/gstfakesrc.h:
22326 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
22327 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22328 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22329 (gst_filesrc_create_read), (gst_filesrc_create),
22330 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
22331 (gst_filesrc_start):
22332 * gst/elements/gsttypefindelement.c:
22333 (gst_type_find_element_have_type), (gst_type_find_element_init),
22334 (start_typefinding), (stop_typefinding), (push_buffer_store),
22335 (gst_type_find_element_handle_event),
22336 (gst_type_find_element_chain),
22337 (gst_type_find_element_checkgetrange),
22338 (gst_type_find_element_getrange), (do_typefind),
22339 (gst_type_find_element_activate),
22340 (gst_type_find_element_change_state):
22341 * gst/elements/gsttypefindelement.h:
22342 * gst/gstpipeline.c: (pipeline_bus_handler):
22343 Added typefind helper.
22344 Small preroll fix in the base sink.
22345 Disable typefind code in basesrc.
22346 Crude port of typefindelement.
22350 2005-04-11 Wim Taymans <wim@fluendo.com>
22352 * check/gst/gstbus.c: (gstbus_suite):
22353 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
22354 * check/gstcheck.h:
22355 Fix up the timeout so that the test does not fail.
22357 2005-04-06 Wim Taymans <wim@fluendo.com>
22360 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22361 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
22362 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22363 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22364 (gst_basesrc_check_get_range), (gst_basesrc_loop),
22365 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22366 (gst_basesrc_stop), (gst_basesrc_activate),
22367 (gst_basesrc_change_state), (basesrc_find_peek),
22368 (basesrc_find_suggest), (gst_basesrc_type_find):
22369 * gst/base/gstbasesrc.h:
22370 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
22371 (gst_filesrc_class_init), (gst_filesrc_init),
22372 (gst_filesrc_finalize), (gst_filesrc_set_location),
22373 (gst_filesrc_set_property), (gst_filesrc_get_property),
22374 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22375 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22376 (gst_filesrc_create_read), (gst_filesrc_create),
22377 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
22378 * gst/elements/gstfilesrc.h:
22379 * gst/gstelement.c: (gst_element_get_state_func),
22380 (gst_element_lost_state), (gst_element_pads_activate):
22381 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22382 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22383 (gst_pad_pull_range):
22385 More work on the generic source base class, implement seeking,
22387 Make filesrc extend the base source class.
22388 Added gst_pad_set_checkgetrange_function to GstPad.
22390 2005-04-06 Andy Wingo <wingo@pobox.com>
22392 * pkgconfig/gstreamer-base.pc.in:
22393 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
22395 * pkgconfig/Makefile.am:
22396 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
22398 2005-04-04 Wim Taymans <wim@fluendo.com>
22400 * gst/base/Makefile.am:
22402 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22403 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22404 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22405 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
22406 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22407 (gst_basesrc_base_init), (gst_basesrc_class_init),
22408 (gst_basesrc_init), (gst_basesrc_get_formats),
22409 (gst_basesrc_get_query_types), (gst_basesrc_query),
22410 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
22411 (gst_basesrc_set_property), (gst_basesrc_get_property),
22412 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
22413 (gst_basesrc_loop), (gst_basesrc_activate),
22414 (gst_basesrc_change_state):
22415 * gst/base/gstbasesrc.h:
22416 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
22417 (gst_fakesrc_class_init), (gst_fakesrc_init),
22418 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
22419 (gst_fakesrc_get_property), (gst_fakesrc_create):
22420 * gst/elements/gstfakesrc.h:
22421 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
22422 (gst_filesrc_open_file), (gst_filesrc_loop),
22423 (gst_filesrc_activate), (filesrc_find_peek),
22424 (gst_filesrc_type_find):
22425 Made base source class, make fakesrc extend it.
22426 Add comments to basesink class.
22427 Some filesrc cleanup.
22429 2005-03-31 David Schleef <ds@schleef.org>
22431 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
22432 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
22433 expected to link against libgstreamer.
22434 * gst/base/Makefile.am: link against libgstreamer
22435 * gst/elements/Makefile.am: same
22437 2005-03-31 Andy Wingo <wingo@pobox.com>
22439 * tests/instantiate/Makefile.am:
22440 * tests/instantiate/caps.c: Add test to test speed of caps copy
22443 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
22444 GMemChunk to be fair.
22446 * gst/gsttrashstack.h: Remove warning about using the fallback
22447 trash stack implementation, it's still faster than malloc.
22449 2005-03-30 Andy Wingo <wingo@pobox.com>
22451 * tests/complexity.c: Add a copyright.
22453 2005-03-31 Wim Taymans <wim@fluendo.com>
22455 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
22456 (gst_base_transform_class_init), (gst_base_transform_init),
22457 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22458 (gst_base_transform_get_property),
22459 (gst_base_transform_sink_activate),
22460 (gst_base_transform_src_activate),
22461 (gst_base_transform_change_state):
22462 * gst/base/gstbasetransform.h:
22463 * gst/elements/gstidentity.c: (gst_identity_class_init),
22464 (gst_identity_event), (gst_identity_check_perfect),
22465 (gst_identity_transform), (gst_identity_start),
22466 (gst_identity_stop):
22467 Added start/stop methods to transform base class so subclasses
22468 don't need to deal with state changes even.
22470 2005-03-31 Wim Taymans <wim@fluendo.com>
22472 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22473 (gst_event_new_discontinuous), (gst_event_discont_get_value):
22475 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22476 (gst_pad_pull_range):
22477 Added rate to the discont event to prepare for variable speed
22478 and reverse playback.
22480 2005-03-29 David Schleef <ds@schleef.org>
22483 * testsuite/trigger/Makefile.am:
22484 * testsuite/trigger/trigger.c: A little example program to show
22485 how trigger-based elements can work.
22487 2005-03-29 Wim Taymans <wim@fluendo.com>
22489 * gst/base/Makefile.am:
22491 * gst/base/gstbasesink.c: (gst_basesink_get_type),
22492 (gst_basesink_base_init), (gst_basesink_class_init),
22493 (gst_basesink_pad_getcaps), (gst_basesink_init),
22494 (gst_basesink_activate), (gst_basesink_change_state):
22495 * gst/base/gstbasesink.h:
22496 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22497 (gst_base_transform_base_init), (gst_base_transform_finalize),
22498 (gst_base_transform_class_init), (gst_base_transform_init),
22499 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22500 (gst_base_transform_event), (gst_base_transform_getrange),
22501 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22502 (gst_base_transform_set_property),
22503 (gst_base_transform_get_property),
22504 (gst_base_transform_sink_activate),
22505 (gst_base_transform_src_activate),
22506 (gst_base_transform_change_state):
22507 * gst/base/gstbasetransform.h:
22508 * gst/elements/gstidentity.c: (gst_identity_finalize),
22509 (gst_identity_class_init), (gst_identity_init),
22510 (gst_identity_event), (gst_identity_check_perfect),
22511 (gst_identity_transform), (gst_identity_set_property),
22512 (gst_identity_get_property), (gst_identity_change_state):
22513 * gst/elements/gstidentity.h:
22514 * gst/gstelement.c: (gst_element_get_state_func),
22515 (gst_element_lost_state), (gst_element_pads_activate):
22516 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22517 (gst_pad_check_pull_range), (gst_pad_pull_range):
22519 Simplify pad activation.
22520 Added function to check if pull_range can be performed.
22521 Error out when pulling inactive or flushing pads.
22522 Removed const from refcounted types as it does not make sense.
22523 Simplify pad templates in basesink
22524 Added base class for simple 1-to-1 transforms.
22525 Make identity subclass the base transform.
22527 2005-03-29 Andy Wingo <wingo@pobox.com>
22529 * docs/libs/gstreamer-libs-overrides.txt:
22530 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22531 really don't understand what's going on, but like whatever. I want
22534 * docs/gst/Makefile.am:
22535 * docs/libs/Makefile.am: Dist the overrides files.
22537 * check/Makefile.am (clean-local): Remove .libs directories.
22539 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22540 elements to EXTRA_DIST, so po/ files are happy.
22542 * po/POTFILES.in: Er, remove it here.
22544 * po/POTFILES: Remove gstspider.c.
22546 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22548 * docs/libs/gstreamer-libs-docs.sgml:
22549 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22552 * tests/complexity.c (main): Set the length of the preroll queue
22553 on the sinks to prevent a lockup.
22555 * libs/gst/dataprotocol/Makefile.am:
22556 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22557 the same as the one in check/gst-libs/gdp.c.
22559 * po/, docs/gst/: Commit automatic changes to docs and po files.
22561 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22562 the versioned libgstbase.
22564 * check/Makefile.am: Depend on an unversioned gst-register, seems
22565 to make autoconf happier.
22567 * gst/base/Makefile.am: Make libgstbase a versioned lib.
22569 2005-03-28 Wim Taymans <wim@fluendo.com>
22572 * docs/design/part-gstelement.txt:
22573 * docs/design/part-negotiation.txt:
22574 * docs/design/part-preroll.txt:
22575 * docs/design/part-scheduling.txt:
22576 * docs/design/part-states.txt:
22578 * gst/base/Makefile.am:
22580 * gst/base/gstbasesink.c: (gst_basesink_get_template),
22581 (gst_basesink_base_init), (gst_basesink_class_init),
22582 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22583 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22584 (gst_basesink_set_pad_functions),
22585 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22586 (gst_basesink_set_property), (gst_basesink_get_property),
22587 (gst_base_sink_get_template), (gst_base_sink_get_caps),
22588 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22589 (gst_basesink_preroll_queue_push),
22590 (gst_basesink_preroll_queue_empty),
22591 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22592 (gst_basesink_event), (gst_basesink_get_times),
22593 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22594 (gst_basesink_chain_unlocked), (gst_basesink_chain),
22595 (gst_basesink_loop), (gst_basesink_activate),
22596 (gst_basesink_change_state):
22597 * gst/base/gstbasesink.h:
22598 * gst/elements/Makefile.am:
22599 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22600 (gst_fakesink_class_init), (gst_fakesink_init),
22601 (gst_fakesink_set_property), (gst_fakesink_get_property),
22602 (gst_fakesink_get_times), (gst_fakesink_event),
22603 (gst_fakesink_preroll), (gst_fakesink_render),
22604 (gst_fakesink_change_state):
22605 * gst/elements/gstfakesink.h:
22606 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22607 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22608 * gst/gstelement.c: (gst_element_add_pad),
22609 (gst_element_get_state_func), (gst_element_abort_state),
22610 (gst_element_commit_state), (gst_element_lost_state),
22611 (gst_element_set_state), (gst_element_pads_activate):
22612 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22613 * gst/gstpipeline.c: (gst_pipeline_send_event),
22614 (gst_pipeline_change_state):
22615 Added state change code.
22616 Added/updated docs.
22617 Added sink base class, make fakesink extend the base class.
22618 Small cleanups in GstPipeline.
22620 2005-03-26 David Schleef <ds@schleef.org>
22622 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
22623 is broken and should be implemented in a different library.
22624 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22625 * gst/gst.h: remove gstcpu.h
22626 * gst/gstcpu.c: remove
22627 * gst/gstcpu.h: remove
22628 * gst/Makefile.am.future: Remove this file. It's ancient.
22630 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22632 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22633 (gst_bin_send_event):
22634 Add default event/set_manager handlers. The set_manager handler
22635 takes care that the manager is distributed over kids that were
22636 already in the bin before the manager was set. The event handler
22637 is a utility virtual function that sends the event over all sinks,
22638 so that gst_element_send_event (bin, event); has the expected
22640 * gst/gstpad.c: (gst_pad_event_default):
22641 Re-install default event handling for discontinuities, so that
22642 seeking works without requiring hacks in applications or extra
22644 * gst/gstpipeline.c: (gst_pipeline_class_init),
22645 (gst_pipeline_send_event):
22646 Half hack, half utility: set a pipeline to PAUSED for seek events,
22647 since that is the only way we can guarantee a/v sync. Means that
22648 you can do gst_element_seek (pipeline, method, pos); on a pipeline
22649 and it "just works".
22651 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22653 * gst/gstpipeline.c: (gst_pipeline_use_clock):
22654 Lock/unlock mismatch.
22656 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
22658 * docs/faq/gst-uninstalled:
22659 add gst-plugins-base
22660 * docs/gst/Makefile.am:
22661 don't error out until docs are fixed
22662 * docs/gst/gstreamer.types:
22665 2005-03-22 Wim Taymans <wim@fluendo.com>
22667 * check/Makefile.am:
22668 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22669 * gst/gststructure.c: (gst_structure_set_valist),
22670 (gst_structure_copy_conditional):
22671 Activated more tests.
22672 Added message test.
22673 Added G_TYPE_POINTER to GstStructure.
22676 2005-03-22 Wim Taymans <wim@fluendo.com>
22678 * docs/design/part-TODO.txt:
22679 * docs/design/part-events.txt:
22680 * docs/design/part-gstbin.txt:
22681 * docs/design/part-gstbus.txt:
22682 * docs/design/part-gstpipeline.txt:
22683 * docs/design/part-messages.txt:
22685 * gst/gstmessage.c:
22688 2005-03-21 Wim Taymans <wim@fluendo.com>
22690 * gst/gstbus.c: (gst_bus_post):
22691 Fix copy-and-paste error.
22693 2005-03-21 Wim Taymans <wim@fluendo.com>
22695 * check/Makefile.am:
22697 * gst/elements/Makefile.am:
22698 * gst/elements/gstelements.c:
22699 * gst/elements/gstfakesink.c: (gst_fakesink_init),
22700 (gst_fakesink_event), (gst_fakesink_chain):
22701 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22702 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22703 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22704 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22705 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22706 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22707 (gst_fakesrc_loop), (gst_fakesrc_activate),
22708 (gst_fakesrc_change_state):
22709 * gst/elements/gstfakesrc.h:
22710 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22711 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22712 (gst_filesrc_open_file), (gst_filesrc_loop),
22713 (gst_filesrc_activate), (gst_filesrc_change_state),
22714 (filesrc_find_peek), (filesrc_find_suggest),
22715 (gst_filesrc_type_find):
22716 * gst/elements/gstidentity.c: (gst_identity_finalize),
22717 (gst_identity_class_init), (gst_identity_init),
22718 (gst_identity_proxy_getcaps), (identity_queue_push),
22719 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22720 (gst_identity_getrange), (gst_identity_chain),
22721 (gst_identity_sink_loop), (gst_identity_src_loop),
22722 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22723 (gst_identity_set_property), (gst_identity_get_property),
22724 (gst_identity_change_state):
22725 * gst/elements/gstidentity.h:
22726 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22727 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22728 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22729 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22730 (gst_tee_sink_activate):
22731 * gst/elements/gsttee.h:
22732 * gst/gst.c: (gst_register_core_elements), (init_post):
22734 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22735 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22736 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22737 (gst_bin_change_state):
22739 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22740 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22741 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22742 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22743 (gst_bus_set_sync_handler), (gst_bus_create_watch),
22744 (bus_watch_callback), (bus_watch_destroy),
22745 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22746 (poll_timeout), (gst_bus_poll):
22750 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22751 (gst_element_post_message), (gst_element_message_full),
22752 (gst_element_get_state_func), (gst_element_get_state),
22753 (gst_element_abort_state), (gst_element_commit_state),
22754 (gst_element_lost_state), (gst_element_set_state),
22755 (gst_element_pads_activate), (gst_element_change_state),
22756 (gst_element_dispose), (gst_element_set_manager_func),
22757 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22758 (gst_element_set_manager), (gst_element_get_manager),
22759 (gst_element_set_bus), (gst_element_get_bus),
22760 (gst_element_set_scheduler), (gst_element_get_scheduler):
22761 * gst/gstelement.h:
22762 * gst/gstevent.c: (gst_event_new_segment_seek),
22763 (gst_event_new_flush):
22765 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22766 (_gst_message_free), (gst_message_get_type), (gst_message_new),
22767 (gst_message_new_eos), (gst_message_new_error),
22768 (gst_message_new_warning), (gst_message_new_tag),
22769 (gst_message_new_state_changed), (gst_message_new_application),
22770 (gst_message_get_structure), (gst_message_parse_tag),
22771 (gst_message_parse_state_changed), (gst_message_parse_error),
22772 (gst_message_parse_warning):
22773 * gst/gstmessage.h:
22774 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22775 (gst_real_pad_set_property), (gst_pad_set_active),
22776 (gst_pad_is_active), (gst_pad_set_blocked_async),
22777 (gst_pad_set_blocked), (gst_pad_is_blocked),
22778 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22779 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22780 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22781 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22782 (gst_pad_link_filtered), (gst_pad_relink_filtered),
22783 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22784 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22785 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22786 (gst_pad_set_caps), (gst_pad_configure_sink),
22787 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22788 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22789 (gst_real_pad_dispose), (gst_real_pad_finalize),
22790 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22791 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22792 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22794 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22795 (pipeline_bus_handler), (gst_pipeline_change_state),
22796 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22797 * gst/gstpipeline.h:
22799 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22800 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22801 (gst_queue_link_src), (gst_queue_bufferalloc),
22802 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22803 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22804 (gst_queue_loop), (gst_queue_handle_src_event),
22805 (gst_queue_handle_src_query), (gst_queue_src_activate),
22806 (gst_queue_change_state):
22808 * gst/gstscheduler.c: (gst_scheduler_init),
22809 (gst_scheduler_dispose), (gst_scheduler_create_task),
22810 (gst_scheduler_factory_create):
22811 * gst/gstscheduler.h:
22812 * gst/gststructure.c: (gst_structure_get_type),
22813 (gst_structure_copy_conditional):
22814 * gst/gststructure.h:
22815 * gst/gsttaginterface.h:
22816 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22817 (gst_task_init), (gst_task_dispose), (gst_task_create),
22818 (gst_task_get_state), (gst_task_start), (gst_task_stop),
22824 * gst/schedulers/Makefile.am:
22825 * gst/schedulers/cothreads_compat.h:
22826 * gst/schedulers/entryscheduler.c:
22827 * gst/schedulers/faircothreads.c:
22828 * gst/schedulers/faircothreads.h:
22829 * gst/schedulers/fairscheduler.c:
22830 * gst/schedulers/gstbasicscheduler.c:
22831 * gst/schedulers/gstoptimalscheduler.c:
22832 * gst/schedulers/gthread-cothreads.h:
22833 * gst/schedulers/threadscheduler.c:
22834 (gst_thread_scheduler_task_get_type),
22835 (gst_thread_scheduler_task_class_init),
22836 (gst_thread_scheduler_task_init),
22837 (gst_thread_scheduler_task_start),
22838 (gst_thread_scheduler_task_stop),
22839 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22840 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22841 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22842 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22844 * libs/gst/Makefile.am:
22845 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22846 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22847 (gst_file_pad_parent_set):
22848 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22849 (gst_dp_event_from_packet):
22850 * tests/complexity.c: (main):
22851 * tests/mass_elements.c: (main):
22852 * testsuite/states/locked.c: (message_received), (main):
22853 * testsuite/states/parent.c: (main):
22854 * tools/gst-inspect.c: (print_element_flag_info),
22855 (print_implementation_info), (print_pad_info):
22856 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22858 * tools/gst-md5sum.c: (event_loop), (main):
22859 * tools/gst-typefind.c: (main):
22860 * tools/gst-xmlinspect.c: (print_element_info):
22862 Added GstBus for mainloop integration.
22863 Added GstMessage for sending notifications on the bus.
22864 Added GstTask as an abstraction for pipeline entry points.
22866 Removed Schedulers.
22867 Simplified GstQueue for multithreaded core.
22868 Made _link threadsafe, removed old capsnego.
22869 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22870 Added pad blocking functions.
22871 Reworked scheduling functions in GstPad to prepare for
22872 scheduling updates soon.
22873 Moved events out of data stream.
22874 Simplified GstEvent types.
22875 Added return values to push/pull.
22876 Removed clocking from GstElement.
22877 Added prototypes for state change function for next merge.
22878 Removed iterate from bins and state change management.
22879 Fixed some elements, disabled others for now.
22880 Fixed -inspect and -launch.
22881 Added check for GstBus.
22883 2005-03-10 Wim Taymans <wim@fluendo.com>
22885 * docs/design/part-MT-refcounting.txt:
22886 * docs/design/part-clocks.txt:
22887 * docs/design/part-gstelement.txt:
22888 * docs/design/part-gstobject.txt:
22889 * docs/design/part-standards.txt:
22890 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22891 (gst_bin_remove_func), (gst_bin_remove):
22895 * testsuite/clock/clock1.c: (main):
22896 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22898 * testsuite/dlopen/loadgst.c: (do_test):
22899 * testsuite/refcounting/bin.c: (add_remove_test1),
22900 (add_remove_test2), (main):
22901 * testsuite/refcounting/element.c: (main):
22902 * testsuite/refcounting/element_pad.c: (main):
22903 * testsuite/refcounting/pad.c: (main):
22904 * tools/gst-launch.c: (sigint_handler_sighandler):
22905 * tools/gst-typefind.c: (main):
22907 Added doc about clock.
22908 removed gst_bin_iterate_recurse_up(), marked methods
22910 Fix more testsuites.
22912 2005-03-09 Wim Taymans <wim@fluendo.com>
22914 * gst/gstpad.c: (gst_pad_get_direction),
22915 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22916 (gst_pad_collect_valist):
22917 * testsuite/bins/interface.c: (main):
22918 * testsuite/caps/audioscale.c: (test_caps):
22919 * testsuite/caps/caps.c: (test1), (test2), (test3):
22920 * testsuite/caps/deserialize.c: (main):
22921 * testsuite/caps/enumcaps.c: (main):
22922 * testsuite/caps/filtercaps.c: (main):
22923 * testsuite/caps/intersect2.c: (main):
22924 * testsuite/caps/random.c: (main):
22925 * testsuite/caps/renegotiate.c: (my_fixate), (main):
22926 * testsuite/caps/sets.c: (check_caps):
22927 * testsuite/caps/simplify.c: (check_caps), (main):
22928 * testsuite/caps/subtract.c: (check_caps):
22929 Fix _pad_get_direction wrt ghostpads.
22930 Fix caps testsuite.
22932 2005-03-09 Wim Taymans <wim@fluendo.com>
22934 * check/Makefile.am:
22935 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22936 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22937 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22938 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22939 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22940 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22941 (gst_bin_remove), (gst_bin_iterate_recurse_up),
22942 (bin_element_is_sink), (gst_bin_iterate_sinks),
22943 (gst_bin_iterate_all_by_interface):
22945 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22946 (gst_element_change_state), (gst_element_dispose),
22947 (gst_element_finalize), (gst_element_set_loop_function):
22948 * gst/gstelement.h:
22949 * gst/gstiterator.c: (find_custom_fold_func):
22950 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22951 (gst_pad_collectv), (gst_pad_collect_valist),
22952 (gst_pad_template_new):
22953 * gst/gstpipeline.c: (gst_pipeline_class_init),
22954 (gst_pipeline_dispose), (gst_pipeline_set_property),
22955 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22956 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22957 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22959 * gst/schedulers/entryscheduler.c:
22960 * gst/schedulers/gstbasicscheduler.c:
22961 (gst_basic_scheduler_cothreaded_chain),
22962 (gst_basic_scheduler_chain_add_element):
22963 * testsuite/bins/interface.c: (main):
22965 Added GstSystemClock test.
22966 Implemented clock distribution code in GstBin.
22967 Implemented iterate sinks method for future use.
22968 Rearranged gstelement.h
22969 Fix GstIterator comparison bug.
22970 Moved some code to GstPipeline, mostly clocking related.
22972 2005-03-09 Wim Taymans <wim@fluendo.com>
22975 * gst/gst_private.h:
22976 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22977 (gst_bin_remove_func), (gst_bin_remove),
22978 (gst_bin_get_by_name_recurse_up):
22979 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22980 (gst_clock_id_compare_func), (gst_clock_id_wait),
22981 (gst_clock_id_wait_async), (gst_clock_init),
22982 (gst_clock_adjust_unlocked), (gst_clock_get_time):
22983 * gst/gstelement.h:
22984 * gst/gstinfo.c: (_gst_debug_init):
22986 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22987 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22989 Bump version number, we're now 0.9.0
22990 Add future debugging category.
22991 Fix NULL _unref() in _get_by_name_recurse_up
22992 Rearrange gstpad.h.
22995 2005-03-08 Wim Taymans <wim@fluendo.com>
22997 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22998 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22999 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23000 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
23001 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
23002 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
23003 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
23004 * gst/elements/gstidentity.c: (gst_identity_class_init):
23005 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
23006 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
23007 * gst/elements/gstshaper.c: (gst_shaper_class_init):
23008 * gst/elements/gststatistics.c: (gst_statistics_class_init):
23009 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
23011 * gst/gstelement.c: (gst_element_class_init),
23012 (gst_element_base_class_init), (gst_element_init),
23013 (gst_element_get_random_pad), (gst_element_wait_state_change),
23014 (gst_element_change_state), (gst_element_dispose),
23015 (gst_element_finalize), (gst_element_set_loop_function):
23016 * gst/gstelement.h:
23017 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
23018 * gst/gstthread.c: (gst_thread_class_init),
23019 (gst_thread_release_children_locks), (gst_thread_change_state):
23020 * gst/schedulers/gstbasicscheduler.c:
23021 (gst_basic_scheduler_loopfunc_wrapper),
23022 (gst_basic_scheduler_chain_wrapper),
23023 (gst_basic_scheduler_src_wrapper),
23024 (gst_basic_scheduler_remove_element):
23025 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
23026 Remove threadsafe properties. Fix elements because GObject
23027 complains when installing a property before declaring a
23028 set/get_property handler.
23029 Rearrange gstelement.h file, use STATE macros for state locks.
23030 Free mutexes in the finalize method instead of dispose.
23032 2005-03-08 Wim Taymans <wim@fluendo.com>
23034 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23035 * gst/gstthread.c: (gst_thread_release_children_locks):
23036 Added parentage check.
23037 Fix build og GstThread again.
23039 2005-03-08 Wim Taymans <wim@fluendo.com>
23041 * docs/design/part-MT-refcounting.txt:
23042 * docs/design/part-conventions.txt:
23043 * docs/design/part-gstobject.txt:
23044 * docs/design/part-relations.txt:
23045 * docs/design/part-standards.txt:
23046 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
23047 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
23048 (gst_bin_get_by_name), (gst_bin_get_by_interface),
23049 (gst_bin_iterate_all_by_interface):
23052 * gst/gstelement.c: (gst_element_class_init),
23053 (gst_element_change_state), (gst_element_set_loop_function):
23054 * gst/gstelement.h:
23055 * gst/gstiterator.c:
23056 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
23057 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
23058 (gst_object_dispatch_properties_changed), (gst_object_set_name),
23059 (gst_object_set_parent), (gst_object_unparent),
23060 (gst_object_check_uniqueness):
23062 Docs updates, clean up some headers.
23064 2005-03-07 Wim Taymans <wim@fluendo.com>
23066 * check/.cvsignore:
23067 * check/Makefile.am:
23068 * check/gst-libs/.cvsignore:
23069 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
23070 * check/gst/.cvsignore:
23071 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
23072 (START_TEST), (gstbus_suite), (main):
23073 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
23074 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
23075 (gst_data_suite), (main):
23076 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
23077 (add_fold_func), (gstiterator_suite), (main):
23078 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
23079 (thread_name_object), (thread_name_object_default),
23080 (gst_object_name_compare), (gst_object_suite), (main):
23081 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
23082 (gst_pad_suite), (main):
23083 * check/gstcheck.c: (gst_check_log_message_func),
23084 (gst_check_log_critical_func), (gst_check_init):
23085 * check/gstcheck.h:
23086 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
23087 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
23090 2005-03-07 Wim Taymans <wim@fluendo.com>
23092 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23093 (gst_list_iterator_next), (gst_list_iterator_resync),
23094 (gst_list_iterator_free), (gst_iterator_new_list),
23095 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
23096 (gst_iterator_free), (gst_iterator_push), (filter_next),
23097 (filter_resync), (filter_uninit), (filter_free),
23098 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
23099 (gst_iterator_foreach), (find_custom_fold_func),
23100 (gst_iterator_find_custom):
23101 * gst/gstiterator.h:
23102 Added missing files.
23104 2005-03-07 Wim Taymans <wim@fluendo.com>
23108 * docs/design/part-MT-refcounting.txt:
23109 * docs/design/part-conventions.txt:
23110 * docs/design/part-gstobject.txt:
23111 * docs/design/part-relations.txt:
23112 * examples/mixer/mixer.c: (main):
23113 * examples/thread/thread.c: (eos), (main):
23115 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
23116 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
23117 (gst_spider_plug_from_srcpad):
23118 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
23119 (gst_spider_identity_change_state),
23120 (gst_spider_identity_sink_loop_type_finding):
23121 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
23122 * gst/elements/gstidentity.c: (gst_identity_init):
23123 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
23124 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
23125 * gst/elements/gsttypefindelement.c: (free_entry):
23128 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
23129 (gst_bin_set_clock_func), (gst_bin_auto_clock),
23130 (gst_bin_set_index), (gst_bin_set_element_sched),
23131 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
23132 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
23133 (gst_bin_iterate_elements), (iterate_child_recurse),
23134 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
23135 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
23136 (compare_interface), (gst_bin_get_by_interface),
23137 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
23139 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
23140 (gst_buffer_default_free), (gst_buffer_default_copy),
23141 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
23142 (gst_buffer_create_sub):
23144 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
23145 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
23146 (gst_caps_unref), (gst_static_caps_get),
23147 (gst_caps_remove_and_get_structure), (gst_caps_append),
23148 (gst_caps_append_structure), (gst_caps_remove_structure),
23149 (gst_caps_copy_nth), (gst_caps_set_simple),
23150 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
23151 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
23152 (gst_caps_structure_intersect_field), (gst_caps_intersect),
23153 (gst_caps_structure_subtract_field), (gst_caps_subtract),
23154 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
23155 (gst_caps_structure_figure_out_union),
23156 (gst_caps_switch_structures), (gst_caps_do_simplify),
23157 (gst_caps_replace), (gst_caps_from_string),
23158 (gst_caps_copy_conditional):
23160 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
23161 (_gst_clock_id_free), (gst_clock_id_unref),
23162 (gst_clock_id_compare_func), (gst_clock_id_wait),
23163 (gst_clock_id_wait_async), (gst_clock_class_init),
23164 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
23165 (gst_clock_get_time), (gst_clock_set_time_adjust),
23166 (gst_clock_set_property), (gst_clock_get_property):
23169 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
23170 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
23172 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
23173 (gst_element_requires_clock), (gst_element_provides_clock),
23174 (gst_element_set_clock), (gst_element_clock_wait),
23175 (gst_element_wait), (gst_element_set_time_delay),
23176 (gst_element_is_indexable), (gst_element_add_pad),
23177 (gst_element_add_ghost_pad), (gst_element_remove_pad),
23178 (pad_compare_name), (gst_element_get_static_pad),
23179 (gst_element_request_pad), (gst_element_get_request_pad),
23180 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
23181 (gst_element_class_get_pad_template_list),
23182 (gst_element_class_get_pad_template), (gst_element_error_func),
23183 (gst_element_get_random_pad), (gst_element_get_event_masks),
23184 (gst_element_send_event), (gst_element_seek),
23185 (gst_element_get_query_types), (gst_element_query),
23186 (gst_element_get_formats), (gst_element_convert),
23187 (gst_element_is_locked_state), (gst_element_set_locked_state),
23188 (gst_element_sync_state_with_parent), (gst_element_change_state),
23189 (gst_element_finalize), (gst_element_yield),
23190 (gst_element_interrupt), (gst_element_set_scheduler),
23191 (gst_element_get_scheduler), (gst_element_set_loop_function):
23192 * gst/gstelement.h:
23194 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
23195 (gst_format_get_by_nick), (gst_format_get_details),
23196 (gst_format_iterate_definitions):
23198 * gst/gstindex.c: (gst_index_gtype_resolver):
23201 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
23202 (gst_mem_chunk_free):
23203 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
23204 (gst_object_ref), (gst_object_unref), (gst_object_sink),
23205 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
23206 (gst_object_dispatch_properties_changed),
23207 (gst_object_set_name_default), (gst_object_set_name),
23208 (gst_object_get_name), (gst_object_set_name_prefix),
23209 (gst_object_get_name_prefix), (gst_object_set_parent),
23210 (gst_object_get_parent), (gst_object_unparent),
23211 (gst_object_check_uniqueness), (gst_object_save_thyself),
23212 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
23213 (gst_object_set_property), (gst_object_get_property),
23214 (gst_object_get_path_string):
23216 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23217 (gst_real_pad_init), (gst_real_pad_get_property),
23218 (gst_pad_custom_new), (gst_pad_get_direction),
23219 (gst_pad_set_active), (gst_pad_is_active),
23220 (gst_pad_set_event_function), (gst_pad_is_linked),
23221 (gst_pad_link_free), (gst_pad_link_intersect),
23222 (gst_pad_link_fixate), (gst_pad_set_caps),
23223 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
23224 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
23225 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
23226 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
23227 (gst_pad_get_caps), (gst_pad_peer_get_caps),
23228 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
23229 (gst_pad_realize), (gst_pad_get_allowed_caps),
23230 (gst_real_pad_dispose), (gst_real_pad_finalize),
23231 (gst_pad_collectv), (gst_pad_collect_valist),
23232 (gst_pad_template_dispose), (gst_pad_template_new),
23233 (gst_pad_get_internal_links):
23235 * gst/gstpipeline.c: (gst_pipeline_dispose),
23236 (gst_pipeline_change_state):
23237 * gst/gstpipeline.h:
23239 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
23240 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
23241 * gst/gstpluginfeature.h:
23242 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
23243 * gst/gstquery.c: (_gst_query_type_initialize),
23244 (gst_query_type_register), (gst_query_type_get_by_nick),
23245 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
23247 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
23248 * gst/gstscheduler.c: (gst_scheduler_add_element),
23249 (gst_scheduler_factory_create):
23250 * gst/gststructure.c: (gst_structure_set_parent_refcount),
23251 (gst_structure_free), (gst_structure_set_name),
23252 (gst_structure_id_set_value), (gst_structure_set_value),
23253 (gst_structure_set_valist), (gst_structure_remove_field),
23254 (gst_structure_remove_fields),
23255 (gst_structure_remove_fields_valist),
23256 (gst_structure_remove_all_fields), (gst_structure_foreach),
23257 (gst_structure_map_in_place),
23258 (gst_caps_structure_fixate_field_nearest_int),
23259 (gst_caps_structure_fixate_field_nearest_double):
23260 * gst/gststructure.h:
23261 * gst/gstsystemclock.c: (gst_system_clock_class_init),
23262 (gst_system_clock_init), (gst_system_clock_dispose),
23263 (gst_system_clock_async_thread),
23264 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
23265 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
23266 * gst/gstsystemclock.h:
23267 * gst/gsttag.c: (gst_tag_list_add_value_internal),
23268 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
23269 * gst/gsttaginterface.c:
23270 * gst/gstthread.c: (gst_thread_dispose),
23271 (gst_thread_release_children_locks), (gst_thread_change_state),
23272 (gst_thread_main_loop):
23273 * gst/gsttrashstack.h:
23274 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
23276 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23277 (gst_element_request_pad), (gst_element_get_pad_from_template),
23278 (gst_element_request_compatible_pad),
23279 (gst_element_get_compatible_pad_filtered),
23280 (gst_element_get_compatible_pad), (gst_element_state_get_name),
23281 (gst_element_link_pads_filtered), (gst_element_link_filtered),
23282 (gst_element_link_many), (gst_element_link),
23283 (gst_element_link_pads), (gst_element_unlink_pads),
23284 (gst_element_unlink_many), (gst_element_unlink),
23285 (gst_pad_can_link_filtered), (gst_pad_can_link),
23286 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
23287 (gst_object_default_error), (gst_bin_add_many),
23288 (gst_bin_remove_many), (gst_element_populate_std_props),
23289 (gst_element_class_install_std_props), (gst_buffer_merge),
23290 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
23291 (link_fold_func), (gst_pad_proxy_setcaps):
23293 * gst/gstvalue.c: (gst_value_deserialize_string):
23294 * gst/parse/grammar.y:
23295 * gst/schedulers/gstbasicscheduler.c:
23296 (gst_basic_scheduler_cothreaded_chain),
23297 (gst_basic_scheduler_chain_recursive_add),
23298 (gst_basic_scheduler_pad_link):
23299 * gst/schedulers/gstoptimalscheduler.c:
23300 (get_group_schedule_function),
23301 (gst_opt_scheduler_state_transition),
23302 (gst_opt_scheduler_add_element), (element_get_reachables_func):
23303 * libs/gst/bytestream/bytestream.c:
23304 * libs/gst/dataprotocol/dataprotocol.c:
23305 (gst_dp_header_from_buffer):
23308 * tests/threadstate/threadstate2.c: (eos):
23309 * tools/gst-compprep.c: (main):
23310 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
23311 (print_pad_info), (print_children_info):
23312 * tools/gst-launch.c: (idle_func), (main):
23313 * tools/gst-md5sum.c: (idle_func), (main):
23314 * tools/gst-xmlinspect.c: (print_element_info):
23315 First THREADED backport attempt, focusing on adding locks and
23316 making sure the API is threadsafe. Needs more work. More docs
23319 2005-02-24 Andy Wingo <wingo@pobox.com>
23321 * tests/bench-complexity.scm:
23322 * tests/complexity.gnuplot: New files, good for running complexity
23325 * tests/Makefile.am:
23326 * tests/complexity.c: New test, sets up N elements, at each level
23327 teeing into M streams per element. Eeeenteresting.
23329 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
23330 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
23331 running bench-mass_elements.scm.
23333 * tests/bench-mass_elements.scm: New script, runs mass_elements
23334 for various numbers of identities, outputting the results to a
23335 file. Requires guile 1.6. Just for testing.
23337 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
23339 * gst/schedulers/fairscheduler.c:
23340 compile with debug disabled
23342 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
23345 hunting season on 0.9 is now OPEN