1 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3 * tests/benchmarks/complexity.c: (main):
4 * tests/benchmarks/mass-elements.c: (main):
5 Set a good example and don't leak messages.
7 2007-05-06 Stefan Kost <ensonic@users.sf.net>
9 * docs/gst/Makefile.am:
10 * docs/libs/Makefile.am:
11 Correct fixxrefs options.
13 * docs/plugins/Makefile.am:
14 * docs/plugins/gstreamer-plugins-docs.sgml:
15 * docs/plugins/gstreamer-plugins-sections.txt:
16 * plugins/elements/Makefile.am:
17 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
18 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
19 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
20 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
21 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
22 _GstCapsFilterClass, trans_class):
23 * plugins/elements/gstelements.c (name, rank, type, _elements):
24 * plugins/elements/gstidentity.c
25 (gst_identity_check_imperfect_timestamp,
26 gst_identity_check_imperfect_offset):
27 Document capsfilter and add doc-blurb to identity.
29 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
31 * libs/gst/controller/gstcontroller.c:
32 (gst_controlled_property_set_interpolation_mode):
33 * libs/gst/controller/gstinterpolation.c:
34 Don't crash if someone tries to set an interpolation mode that
35 is invalid or that isn't supported yet. Fixes #422295.
37 * tests/check/libs/controller.c: (GST_START_TEST),
38 (gst_controller_suite):
39 Add a test case for the above.
41 2007-05-03 Edward Hervey <edward@fluendo.com>
43 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
44 Properly set the last_stop position on GstSegment. This will only happen
45 if there is a buffer to push out.
47 2007-05-03 Wim Taymans <wim@fluendo.com>
49 * libs/gst/base/gstbasetransform.c:
50 (gst_base_transform_buffer_alloc):
51 always_in_place does not mean that the sink and source caps are the
52 same! Make sure we don't blindly proxy the buffer_alloc in this case.
54 2007-05-03 Wim Taymans <wim@fluendo.com>
56 * docs/libs/gstreamer-libs-sections.txt:
57 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
58 (gst_base_src_default_query), (gst_base_src_get_range):
59 * libs/gst/base/gstbasesrc.h:
60 API: gst_base_src_query_latency(). Added method so that subclasses can
61 easily get the latency values of the base source class.
63 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
65 * tools/gst-inspect.c (print_implementation_info):
68 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
71 * tools/gst-launch.1.in:
72 Don't create a customised man page based on the host architecture,
73 describe the default registry path generically. That way the man
74 page is the same for all architectures and packagers have one
75 multilib issue less to deal with. Fixes #434926.
77 2007-05-02 Wim Taymans <wim@fluendo.com>
80 Fix documentation as spotted by rg on IRC.
82 2007-04-29 Stefan Kost <ensonic@users.sf.net>
85 Improve docs for gst_element_{link,unlink}.
87 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
89 * docs/design/part-events.txt:
90 * docs/design/part-overview.txt:
94 * libs/gst/base/gstbasesink.c:
95 Typo fixes; minor docs addition.
97 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
99 * docs/gst/gstreamer-sections.txt:
100 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
101 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
103 API: Add gst_uri_protocol_is_supported(), which checks if an sink
104 or src that supports a given URI protocol exists.
106 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
108 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
109 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
110 Set the location to NULL if "file://" is set as URI. Otherwise
111 some random previous URI would still be set if "file://" is
112 set on an already used filesink/filesrc.
114 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
116 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
117 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
118 Special case the "file://" URI as as this is used by some
119 applications to test with gst_element_make_from_uri if there's
120 an element that supports the URI protocol.
121 Also move the g_path_is_absolute() check for the location part
122 of the URI to also check this for "file://localhost/bla" URIs.
124 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
126 * docs/gst/gstreamer-sections.txt:
127 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
129 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
131 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
133 2007-04-26 Stefan Kost <ensonic@users.sf.net>
135 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
136 (gst_registry_binary_load_pad_template),
137 (gst_registry_binary_load_plugin),
138 (gst_registry_binary_read_cache):
139 * gst/gstregistrybinary.h:
140 Implement no-mmap alternative for registry reading. Do code cleanups.
141 Add more comments about avoiding strdups for all text data. Comments
144 2007-04-25 Stefan Kost <ensonic@users.sf.net>
146 * gst/gstregistrybinary.h (GstBinaryPluginElement,
147 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
148 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
149 Comment structs and reformat to fix the build (that stuff should go
150 into a priv. header).
152 2007-04-25 Stefan Kost <ensonic@users.sf.net>
154 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
155 (gst_registry_binary_load_feature):
156 * gst/gstregistrybinary.h:
157 Refactor so that we can implement multiple features. Add support for
158 TypeFindFactory features.
160 2007-04-24 Stefan Kost <ensonic@users.sf.net>
162 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
165 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
167 2007-04-23 Stefan Kost <ensonic@users.sf.net>
169 * gst/gstbin.c: (gst_bin_element_set_state),
170 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
171 (bin_handle_async_done), (gst_bin_handle_message_func):
172 Fix build with --gst-disable-gst-debug
174 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
176 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
177 Make sure streaming has finished before calling the ::stop() vfunc,
178 since that vfunc might clear state which is being used in the
179 streaming thread. This fixes a race that caused crashes in
180 audioresample when shutting down a pipeline (#420106).
182 2007-04-20 Stefan Kost <ensonic@users.sf.net>
184 * docs/gst/gstreamer-sections.txt:
185 That was one byte missing.
187 2007-04-20 Stefan Kost <ensonic@users.sf.net>
190 * docs/gst/gstreamer-sections.txt:
192 * gst/gstconfig.h.in:
193 * gst/gstobject.c: (gst_object_class_init),
194 (gst_signal_object_class_init):
196 2nd attempt to have a xml-less build as a joined effort of #413123
199 2007-04-20 Stefan Kost <ensonic@users.sf.net>
201 * docs/design/draft-tagreading.txt:
202 Added open issues/thoughts to draft.
204 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
206 * gst/parse/grammar.tab.pre.c:
207 * gst/parse/grammar.tab.pre.h:
208 * gst/parse/lex._gst_parse_yy.pre.c:
209 Update the prebuild parser sources.
211 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
213 * gst/parse/Makefile.am:
214 And now fix the building of the flex sources. Now everything should
217 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
219 * gst/parse/Makefile.am:
220 Now hopefully fix the build failures by setting proper rule
221 dependencies and moving instead of copying.
223 2007-04-19 Stefan Kost <ensonic@users.sf.net>
225 * tests/benchmarks/complexity.gnuplot:
226 * tests/benchmarks/complexity.scm:
227 * tests/benchmarks/mass-elements.gnuplot:
228 * tests/benchmarks/mass-elements.scm:
229 Total licensification.
231 2007-04-19 Stefan Kost <ensonic@users.sf.net>
233 * gst/parse/Makefile.am:
234 Fix the build by correcting the rule that gave wrong files to flex.
236 2007-04-19 Stefan Kost <ensonic@users.sf.net>
238 * tests/benchmarks/complexity.c:
239 * tests/benchmarks/mass-elements.c:
240 Change licence to LGPL as granted by Benjamin and Andy.
242 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
244 * gst/parse/Makefile.am:
245 Add correct grammar.tab.h dependency if compiling without new enough
248 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
250 * gst/parse/Makefile.am:
251 Fix typo and use outdated sources if the flex/bison sources are newer
252 than the pregenerated ones but flex is too old. Print a warning in
253 that case. This should fix the build on the build bot.
255 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
257 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
258 * gst/parse/Makefile.am:
259 * gst/parse/grammar.y:
261 Make the parser reentrant and recursively callable. This requires flex
262 >= 2.5.31, for older versions pregenerated sources are used as we
263 can't bump the build dependency. Finally fixes #349180.
265 * gst/gstparse.c: (gst_parse_launch):
266 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
269 * docs/gst/Makefile.am:
270 * docs/gst/Makefile.am:
271 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
272 (__gst_parse_strfree), (__gst_parse_link_new),
273 (__gst_parse_link_free), (__gst_parse_chain_new),
274 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
275 (gst_parse_element_set), (gst_parse_free_link),
276 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
277 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
279 * gst/parse/grammar.tab.pre.h:
280 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
281 (yy_get_previous_state), (yy_try_NUL_trans), (input),
282 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
283 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
284 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
285 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
286 (_gst_parse_yypop_buffer_state),
287 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
288 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
289 (yy_fatal_error), (_gst_parse_yyget_extra),
290 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
291 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
292 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
293 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
294 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
295 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
296 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
297 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
298 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
299 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
301 If the installed flex version is too old use pre-generated parser
302 sources. These pre-generated parser sources are always updated when
303 the actual flex/bison sources change but require everybody who wants
304 to change something in the parser to have flex >= 2.5.31 installed.
306 2007-04-18 Stefan Kost <ensonic@users.sf.net>
308 * common/m4/gst-gettext.m4:
309 * gst/gst-i18n-lib.h:
310 Make --disable-nls to work
312 2007-04-17 Wim Taymans <wim@fluendo.com>
314 * gst/gstconfig.h.in:
315 Revert previous change that broke the build.
317 2007-04-17 Stefan Kost <ensonic@users.sf.net>
321 * gst/gstconfig.h.in:
322 Drop libxml2 dependency when building with
323 --enable-binary-registry --disable-loadsave
325 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
327 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
328 (gst_registry_binary_read_cache):
329 * gst/gstregistrybinary.h:
330 Remove unnecessary <sys/mman.h> include which broke the win32 build
331 with MingW; move includes from header file to .c file, even if the
332 header file isn't installed; use g_strerror() where UTF-8 strings
333 are expected, such as in GST_DEBUG messages.
335 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
337 * docs/libs/gstreamer-libs-sections.txt:
338 Remove bogus addition for API I didn't end up keeping.
340 * libs/gst/base/gstbasesrc.h:
341 Mention Since: 0.10.13 in the documentation.
343 Add the API keyword to the previous ChangeLog entry.
345 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
347 * docs/libs/gstreamer-libs-sections.txt:
348 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
349 (gst_base_src_default_prepare_seek_segment),
350 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
351 * libs/gst/base/gstbasesrc.h:
352 Allow basesrc derived classes to execute seeks in other formats
353 by providing a prepare_seek_segment vmethod. Sub-classes can choose
354 to prepare the GstSegment in any format that their perform_seek method
355 will be able to understand. The default implementation provides the
356 old behaviour of attempting to convert the seek offsets to the
357 configured native format.
359 API: basesrc::prepare_seek_segment vmethod.
361 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
363 * gst/gstelement.c: (gst_element_get_state_func):
364 Don't output the same debug statement twice.
366 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
367 (gst_adapter_peek), (gst_adapter_take_buffer):
368 Optimise the case where we have buffers at the head of the queue that
369 can be joined quickly (because they're contiguous sub-buffers) by
370 merging them together rather than copying data out into new memory.
372 * gst/parse/grammar.y:
373 * tests/check/pipelines/parse-launch.c:
374 Fix a leak in an error path for parse_launch, and add a check
375 for it to the testsuite.
377 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
379 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
380 Don't deadlock when releasing a pad - gst_pad_set_active may try
381 and take the multiqueue lock too.
383 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
385 * gst/gsterror.c: (_gst_core_errors_init):
387 API: add GST_CORE_ERROR_DISABLED (#392804).
389 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
391 * docs/faq/gst-uninstalled:
392 don't get empty paths on the PATH variables
393 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
394 Don't format for the uncommon terminal width of 84 characters.
396 2007-04-06 Wim Taymans <wim@fluendo.com>
398 * gst/gstpipeline.c: (reset_stream_time),
399 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
400 Only try to select a different pipeline clock when we went back to
401 PAUSED and not when we merely got flushed.
403 2007-04-05 Michael Smith <msmith@fluendo.com>
405 * tools/gst-launch.1.in:
406 fractions are better supported in gstreamer than ractions, so
409 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
411 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
415 Added Danish translation.
417 2007-04-05 Wim Taymans <wim@fluendo.com>
419 * libs/gst/base/gstbasesink.c:
420 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
421 Fix leak caused when refusing newsegment after EOS.
423 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
424 (gst_fake_sink_init), (gst_fake_sink_set_property),
425 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
426 (gst_fake_sink_render), (gst_fake_sink_change_state):
427 * plugins/elements/gstfakesink.h:
428 Add num-buffers property to make the element generate EOS after a
429 configurable amount of buffers.
430 API: fakesink::num-buffers property.
432 * tests/check/elements/fakesink.c: (GST_START_TEST),
434 Fix GstBus leak in test.
435 Test for fakesink num-buffers.
437 2007-04-05 Wim Taymans <wim@fluendo.com>
439 * libs/gst/base/gstbasesink.c:
440 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
441 (gst_base_sink_change_state):
442 Don't accept anything after an EOS, return UNEXPECTED instead.
444 * tests/check/elements/fakesink.c: (GST_START_TEST),
446 Unit test for new EOS behaviour.
448 2007-04-05 Wim Taymans <wim@fluendo.com>
450 * gst/gstelement.c: (gst_element_get_request_pad):
451 Make padtemplates also work when they don't contain %s or %d.
453 2007-04-05 Wim Taymans <wim@fluendo.com>
455 * docs/gst/gstreamer-sections.txt:
456 * gst/gstclock.c: (gst_clock_adjust_unlocked),
457 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
459 Improve _adjust_unlocked() so that it overflows less.
460 Add gst_clock_unadjust_unlocked to convert from external time to
461 internal time based on calibration.
463 API: GstClock::gst_clock_unadjust_unlocked()
465 2007-04-03 Wim Taymans <wim@fluendo.com>
467 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
469 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
470 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
471 when releasing sink pad. Fixes #425400.
473 2007-04-02 Stefan Kost <ensonic@users.sf.net>
475 * docs/random/ensonic/dynlink.txt:
476 More work on proposal for new core api.
478 * docs/libs/gstreamer-libs-sections.txt:
479 * libs/gst/base/gstbasetransform.h:
480 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
482 * libs/gst/controller/gstcontroller.c:
483 (on_object_controlled_property_changed),
484 (gst_controller_sync_values),
485 (gst_controller_set_interpolation_mode):
486 * libs/gst/controller/gstcontroller.h:
487 Less verbose logging add docs for unimplemented parts and correctly
488 return when using unavailable parts.
490 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
492 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
493 Move all the debug to the CLOCK category, and associate it with
496 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
498 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
499 Make take_buffer a bit quicker by removing redundant checks
500 caused by calling gst_adapter_take.
502 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
504 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
507 * tests/check/Makefile.am:
508 * tests/check/elements/.cvsignore:
509 * tests/check/elements/multiqueue.c: (setup_multiqueue),
510 (GST_START_TEST), (multiqueue_suite):
511 Add some dead simple unit tests for the 'multiqueue' element
512 (some bits don't work yet and are disabled for now).
514 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
516 * gst/gstelement.c: (gst_element_get_request_pad),
517 (gst_element_class_get_request_pad_template):
518 Make gst_element_get_request_pad() create request pads only for
519 request pad templates and not for, say, sometimes pad templates.
521 2007-03-28 Stefan Kost <ensonic@users.sf.net>
523 * docs/design/draft-klass.txt:
524 Add example that needs more thinking.
526 * docs/design/draft-missing-plugins.txt:
527 More thoughts about wrapper plugins.
529 * docs/random/ensonic/embedded.txt:
530 * docs/random/ensonic/profiling.txt:
533 2007-03-25 Wim Taymans <wim@fluendo.com>
535 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
537 Only push the segment events in the PLAYING state for live sources.
539 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
541 * gst/gstpipeline.c: (gst_pipeline_change_state):
542 Modify the clock distribution path in PAUSED->PLAYING so that we
543 never attempt to choose a new clock unless we're actually leaving
544 the PAUSED state for the first time. This prevents choosing a
545 different clock when the state_change gets called for a 2nd time due
546 to some element doing an async state change.
548 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
550 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
551 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
552 (gst_pad_chain_unchecked), (gst_pad_push):
553 Revert last commit. This needs some more thoughts.
555 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
557 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
558 (gst_pad_chain_unchecked), (gst_pad_push):
559 Check in set_caps if the caps are compatible with the pad and remove
560 two functions that are redundant now. Fixes #421543.
562 2007-03-22 Wim Taymans <wim@fluendo.com>
564 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
565 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
566 Unref some more to make valgrind happy.
568 2007-03-22 Wim Taymans <wim@fluendo.com>
570 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
571 (gst_system_clock_id_wait_jitter),
572 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
573 Fix anoying regression that survived a few releases. When adding an
574 async entry while blocking on a sync entry, the sync entry will unblock
575 but still be busy, so it should continue to wait instead of returning
577 Add some comments here and there.
579 * tests/check/gst/gstsystemclock.c: (mixed_thread),
580 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
581 Add testcase for this.
583 2007-03-22 Wim Taymans <wim@fluendo.com>
585 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
586 Handle errors from the clock sync better, only UNSCHEDULED indicates a
587 WRONG_STATE and can silently pause the task. All other cases should
590 2007-03-22 Wim Taymans <wim@fluendo.com>
592 Patch by: <syrjala at sci dot fi>
594 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
595 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
598 2007-03-21 Michael Smith <msmith@fluendo.com>
600 * docs/pwg/advanced-types.xml:
601 Fix some errors in the typefinding docs pointed out on irc.
603 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
605 * libs/gst/base/gstbasesrc.c:
606 Clarify FIXME comment in the face of having added unlock_stop()
608 2007-03-21 Wim Taymans <wim@fluendo.com>
610 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
611 Prepare for release where we warn against possible app breakage in the
612 case of live pipelines along with an env var to enable/disable live
613 preroll mode (GST_COMPAT=[no-]live-preroll).
615 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
617 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
618 So we should use correct constants for checking for None offset.
620 2007-03-20 Wim Taymans <wim@fluendo.com>
622 * docs/design/part-block.txt:
623 Mention the fact that the newly switched element should be set to at
626 2007-03-20 Wim Taymans <wim@fluendo.com>
629 Fix compilation with registry disabled as spotted by Saur.
631 2007-03-20 Wim Taymans <wim@fluendo.com>
633 Patch by: Olivier Crete <tester at tester dot ca>
635 * gst/gstelement.c: (gst_element_sync_state_with_parent):
636 Look at the pending state too when syncing the element state to the
637 parent. Fixes #420133.
639 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
641 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
642 (gst_base_sink_change_state):
643 * libs/gst/base/gstbasesink.h:
644 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
645 (gst_base_src_default_event), (gst_base_src_unlock_stop),
646 (gst_base_src_deactivate):
647 * libs/gst/base/gstbasesrc.h:
648 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
649 for sub-classes to correctly clear any state they set trying to
650 unlock, such as clearing out unlock commands from a command fd.
652 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
653 (gst_fd_sink_render), (gst_fd_sink_unlock),
654 (gst_fd_sink_unlock_stop):
655 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
656 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
657 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
659 Implement unlock_stop in fdsrc and fdsink.
660 Implement seeking in fdsrc when a seekable fd is passed, as in
661 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
663 2007-03-19 Wim Taymans <wim@fluendo.com>
665 Patch by: Evan Nemerson <evan at coeus dash group dot com>
667 * gst/gstelement.c: (gst_element_class_init):
668 Fix pad-added and pad-removed signal signatures so that the pad type is
669 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
671 2007-03-19 Wim Taymans <wim@fluendo.com>
673 * docs/gst/gstreamer-sections.txt:
674 Add new element field and method.
676 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
677 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
678 (gst_bin_recalc_state), (gst_bin_get_state_func),
679 (gst_bin_element_set_state), (gst_bin_change_state_func),
680 (gst_bin_continue_func), (bin_bus_handler),
681 (bin_push_state_continue), (bin_handle_async_start),
682 (bin_handle_async_done), (gst_bin_handle_message_func):
683 Make async state changes a bit smarter by using new ASYNC_START and
684 ASYNC_DONE messages. This reduces the number of times we run the state
685 recalculation thread.
686 Don't change state of element with a pending ASYNC_START message.
687 Deprecate STATE_DIRTY messages.
689 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
690 (gst_element_get_state_func), (gst_element_continue_state),
691 (gst_element_lost_state), (gst_element_set_state_func),
692 (gst_element_change_state):
694 Keep the state that was last set by the app in a new element field.
695 Don't allow state changes when handling an element event.
696 Post ASYNC_START and ASYNC_DONE messages.
697 Change lost_state so that we go to PAUSED and wait for the parent to set
698 us to PLAYING again (so latency calculation can be performed)
699 Export gst_element_change_state() method so that subclasses can use it.
700 API: gst_element_change_state()
701 API: GST_STATE_TARGET
703 * gst/gstpipeline.c: (gst_pipeline_class_init),
704 (reset_stream_time), (gst_pipeline_change_state),
705 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
706 Using the new ASYNC_START message we can reset the base_time when
707 needed. This can then be used to implement base_time redistribution in
708 flushing seeks so that we can remove the explicit seek handling.
709 Perform latency query and configuration when going to PLAYING.
711 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
712 (gst_base_sink_query), (gst_base_sink_change_state):
713 Post new ASYNC_START/ASYNC_DONE messages.
715 * tests/check/generic/sinks.c: (GST_START_TEST):
716 Fix test because the bin will not set the async element to PLAYING right
719 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
720 Make the message check a little stronger.
721 Handle ASYNC messages.
723 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
724 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
725 Expect ASYNC_DONE messages.
727 2007-03-19 Wim Taymans <wim@fluendo.com>
729 * docs/gst/gstreamer-sections.txt:
730 * gst/gstmessage.c: (gst_message_new_async_start),
731 (gst_message_new_async_done), (gst_message_parse_info),
732 (gst_message_parse_async_start):
734 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
737 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
739 * tools/gst-inspect.c:
740 (print_plugin_automatic_install_info_codecs):
741 Now that we don't check for the 'Codec' keyword any longer in the
742 klass, we shouldn't spew a warning if the klass isn't a decoder or
743 encoder (since it might be a Source/Network, for example).
745 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
747 * tools/gst-inspect.c:
748 (print_plugin_automatic_install_info_codecs):
749 Don't require decoder/demuxer/depayloader elements or
750 encoder/muxer/paylader elements to have 'Codec' as part of their
751 factory class string when introspecting a plugin's capabilities.
752 draft-klass.txt mentions that it might be removed in future, and
753 flump3dec doesn't have it as part of its class string, so chances
754 are others might also not have it.
756 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
778 Update translations from translation project
780 2007-03-14 Stefan Kost <ensonic@users.sf.net>
782 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
783 (gst_child_proxy_set_property):
784 Invert precondition check to be alike the ones in the mimiced gobject
787 2007-03-13 Stefan Kost <ensonic@users.sf.net>
789 * docs/design/draft-tagreading.txt:
790 * docs/random/ensonic/audiobaseclasses.txt:
791 Do some Architect work.
793 * gst/gstobject.c: (gst_object_set_name):
797 Add docs that point from gst_pad_get_range to gst_pad_pull_range
799 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
801 * gst/gstsystemclock.c: (gst_system_clock_init),
802 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
803 Defer starting the async system clock thread until the first async
804 wait is scheduled. Fixes #414986.
806 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
808 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
809 (gst_single_queue_free):
810 Fix small leak (free GstSingleQueue structure too, not only contents).
812 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
814 * gst/gstbin.c:(gst_bin_add):
815 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
816 * win32/common/libgstbase.def:
817 * win32/common/libgstreamer.def:
818 Add new exported functions.
820 2007-03-09 Wim Taymans <wim@fluendo.com>
822 * docs/plugins/gstreamer-plugins-sections.txt:
825 2007-03-09 Wim Taymans <wim@fluendo.com>
827 * docs/gst/gstreamer-sections.txt:
828 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
830 Add metadata copy functions. Fixes #393099.
832 * gst/gstutils.c: (gst_buffer_stamp):
833 * libs/gst/base/gstbasetransform.c:
834 (gst_base_transform_prepare_output_buffer):
835 Use new metadata copy functions.
837 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
839 * plugins/elements/gstidentity.c: (gst_identity_class_init),
840 (gst_identity_init), (gst_identity_check_perfect),
841 (gst_identity_check_imperfect_timestamp),
842 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
843 (gst_identity_set_property), (gst_identity_get_property):
844 * plugins/elements/gstidentity.h:
845 Separate out check-imperfect-timestamp and check-imperfect-offset.
846 Put back check-perfect as it was to keep compatibility.
848 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
850 * gst/gstelement.c: (gst_element_dispose):
851 There's no need to warn if VOID_PENDING is not NONE here, as
852 long as the state is NULL it's ok, and that's checked immediately
855 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
857 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
858 Fix check for perfect stream to ignore buffers with -1
859 offsets/offset ends when checking data contiguity.
861 2007-03-08 Wim Taymans <wim@fluendo.com>
863 * tools/gst-launch.c: (event_loop):
866 2007-03-08 Wim Taymans <wim@fluendo.com>
868 * libs/gst/base/gstbasetransform.c:
869 (gst_base_transform_sink_eventfunc),
870 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
871 (gst_base_transform_activate):
872 * libs/gst/base/gstbasetransform.h:
873 Add support for dropping buffers with custom GstFlowReturn.
874 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
875 buffers or dropped buffers.
877 * docs/libs/gstreamer-libs-sections.txt:
878 docs for new custom return code.
880 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
881 Use drop support in base class to implement drop-probability.
883 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
885 * gst/gst.c: (load_plugin_func):
886 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
887 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
888 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
889 Remove newlines at end of debug log strings.
891 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
893 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
894 Only post bus message at max, once per buffer received.
896 2007-03-07 Wim Taymans <wim@fluendo.com>
898 * docs/design/Makefile.am:
899 * docs/design/part-synchronisation.txt:
900 Add doc about synchronisation
902 * docs/design/draft-latency.txt:
903 * docs/design/part-TODO.txt:
904 * docs/design/part-clocks.txt:
905 * docs/design/part-events.txt:
906 * docs/design/part-gstbus.txt:
907 * docs/design/part-gstpipeline.txt:
908 * docs/design/part-live-source.txt:
909 * docs/design/part-messages.txt:
910 * docs/design/part-overview.txt:
911 * docs/design/part-streams.txt:
912 * docs/design/part-trickmodes.txt:
913 Documentation updates.
915 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
918 Update the doap file.
920 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
922 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
923 Rename non-perfect to imperfect for Mike and for the sanctity of the
925 Also make sure bus message gets emitted for data-incontiguities.
927 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
929 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
930 (gst_identity_start):
931 * plugins/elements/gstidentity.h:
932 Emit bus message if check-perfect is true and we encounter a
933 non-perfect stream between 2 consecutive buffers.
936 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
941 === release 0.10.12 ===
943 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
946 releasing 0.10.12, "Inevitable Demise"
948 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
951 Version 0.10.11.2 (0.10.12 pre-release)
952 Bump libtool versioning.
954 2007-03-01 Stefan Kost <ensonic@users.sf.net>
956 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
957 Log flow-names and not numbers.
959 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
962 Convert to new AG_GST style.
964 2007-02-28 Wim Taymans <wim@fluendo.com>
966 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
967 Don't unref query twice.
969 2007-02-28 Wim Taymans <wim@fluendo.com>
971 * gst/gstvalue.c: (gst_value_transform_object_string),
972 (_gst_value_initialize):
973 Implement GstObject -> string transform so we print object names
974 when serializing GValues containing GstObjects.
976 2007-02-28 Wim Taymans <wim@fluendo.com>
978 * docs/gst/gstreamer-sections.txt:
979 Add new stuff to docs.
981 2007-02-28 Wim Taymans <wim@fluendo.com>
983 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
984 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
985 (gst_base_sink_change_state):
986 Improve latency query code.
987 Don't leak latency events.
989 * tests/check/gst/gstbin.c: (GST_START_TEST):
992 2007-02-28 Wim Taymans <wim@fluendo.com>
994 * gst/gstelement.c: (gst_element_message_full),
995 (gst_element_get_state_func):
997 Improve docs a little. Added Since: for new macro.
999 * gst/gstobject.c: (gst_object_sink):
1000 * gst/gstpipeline.c: (gst_pipeline_change_state),
1001 (gst_pipeline_set_new_stream_time):
1002 * gst/gstpipeline.h:
1003 Improve debugging and docs.
1005 * gst/gstutils.c: (gst_element_state_change_return_get_name):
1008 2007-02-28 Wim Taymans <wim@fluendo.com>
1010 * gst/gstelement.c: (gst_element_message_full),
1011 (gst_element_set_locked_state), (gst_element_get_state_func),
1012 (gst_element_change_state):
1013 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
1014 Documentation updates.
1015 Small code cleanups.
1017 * gst/gstmessage.c: (gst_message_new_info),
1018 (gst_message_parse_info):
1020 API: gst_message_new_info()
1021 API: gst_message_parse_info()
1022 Add INFO message create and parse code.
1024 2007-02-28 Wim Taymans <wim@fluendo.com>
1026 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
1027 (bin_query_latency_done):
1028 Also report the live parameter of a latency query.
1030 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
1032 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
1033 Copy the current generic/states example from -base and adapt so
1034 we can use the exact same code everywhere.
1035 Check a STATES_IGNORE_ELEMENTS env var which can be used
1036 to ignore certain element factories for this test, which is
1037 what is being done in -base
1038 * tests/check/Makefile.am:
1039 Mention this environment variable.
1041 2007-02-27 Wim Taymans <wim@fluendo.com>
1043 * docs/gst/gstreamer-sections.txt:
1044 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
1045 (gst_bus_timed_pop), (gst_bus_pop):
1047 API: gst_bus_timed_pop()
1048 Implement gst_bus_timed_pop() to do a blocking timed wait for a
1049 message to arrive on the bus.
1051 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
1053 Two unit tests for new _timed_pop() function.
1055 2007-02-23 Wim Taymans <wim@fluendo.com>
1057 * gst/gstpipeline.c: (gst_pipeline_change_state),
1058 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
1059 Don't ref a NULL clock in _provide_clock_func().
1060 Don't allow an INVALID delay.
1061 Don't try to calculate base_time with an invalid start_time.
1062 Also distribute and notify a NULL clock when it was selected.
1064 * tools/gst-launch.c: (event_loop):
1065 Don't crash when a NULL clock was selected in the pipeline.
1067 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
1069 * docs/design/Makefile.am:
1070 * docs/design/draft-missing-plugins.txt:
1071 * docs/random/draft-missing-plugins.txt:
1072 Some small updates: update plugin system identifier prefix
1073 ('gstreamer.net' to 'gstreamer'), mention our new install
1074 API in libgstbaseutils rather than libgimme-codec, add
1075 reference to the online docs.
1077 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1079 * win32/common/config.h:
1080 Pretty sure Bill never made a powerpc version. Powerpc hackers,
1081 use moap cl ci to only check in what is mentioned in the ChangeLog.
1083 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1085 * docs/gst/gstreamer-sections.txt:
1087 Fix up documentation to link to the correct GstGError section.
1088 Add GST_ELEMENT_INFO macro since someone else added a Info message.
1090 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1092 * tools/gst-launch.c: (event_loop):
1093 Make sure that we actually show the important message part of a
1095 No need to check if the gerror is not NULL to free; first of all
1096 g_free accepts NULL; and second the default error handler would
1097 segfault if gerror was NULL.
1099 2007-02-21 Wim Taymans <wim@fluendo.com>
1101 * docs/gst/gstreamer-sections.txt:
1102 Removed docs as well.
1104 2007-02-21 Wim Taymans <wim@fluendo.com>
1106 * gst/gstmessage.c: (gst_message_parse_duration):
1108 Remove new messages for release.
1110 2007-02-20 Wim Taymans <wim@fluendo.com>
1112 * docs/design/part-gstghostpad.txt:
1113 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
1114 (gst_ghost_pad_new_full):
1115 Make the ghostpad a parent of the internal pad again for better backward
1116 compatibility. Don't write code that relies on this however.
1118 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1119 (gst_pad_link_check_hierarchy):
1120 Require that parents should be GstElements in the hierarchy check.
1122 2007-02-20 Wim Taymans <wim@fluendo.com>
1124 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
1125 (gst_bin_change_state_func), (bin_query_min_max_init),
1126 (bin_query_latency_fold), (bin_query_latency_done),
1129 Implement latency query.
1131 2007-02-20 Wim Taymans <wim@fluendo.com>
1133 * docs/design/part-gstghostpad.txt:
1134 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
1135 (gst_ghost_pad_internal_do_activate_push),
1136 (gst_ghost_pad_internal_do_activate_pull),
1137 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1138 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
1139 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
1140 Do not set the internal pad as a parent anymore so we can avoid
1141 hierarchy linking errors when the ghostpad has no parent yet. This also
1142 fixes failed activation because of unlinked internal pads, which in
1143 turn fixes the impossible case where you have to activate a pad before
1144 you can add it to a running element.
1147 * gst/gstpad.c: (pre_activate), (post_activate),
1148 (gst_pad_set_active), (gst_pad_activate_pull),
1149 (gst_pad_activate_push), (gst_pad_check_pull_range):
1150 Add some more debug info.
1151 Mark activation mode in pre_activate so that we don't try to activate in
1152 endless loops. Fixes #385084.
1154 2007-02-19 Wim Taymans <wim@fluendo.com>
1156 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1157 (gst_base_transform_check_get_range):
1158 Implement a checkgetrange function instead of relying on the default
1159 core behaviour that assumes we can operate in pull mode if we have a
1160 getrange function. First step at fixing #385084.
1162 2007-02-15 Stefan Kost <ensonic@users.sf.net>
1164 * gst/gstchildproxy.h:
1165 * libs/gst/base/gstbasesink.h:
1166 * libs/gst/base/gstbasesrc.h:
1167 * libs/gst/base/gstbasetransform.h:
1168 More docs coverage and some ChangeLog surgery (add missing names)
1170 2007-02-15 Wim Taymans <wim@fluendo.com>
1172 * docs/design/part-TODO.txt:
1173 * docs/design/part-activation.txt:
1174 * docs/design/part-block.txt:
1175 * docs/design/part-buffering.txt:
1176 * docs/design/part-clocks.txt:
1177 * docs/design/part-element-source.txt:
1178 * docs/design/part-events.txt:
1179 * docs/design/part-gstbin.txt:
1180 * docs/design/part-gstbus.txt:
1181 * docs/design/part-gstpipeline.txt:
1182 * docs/design/part-live-source.txt:
1183 * docs/design/part-messages.txt:
1184 * docs/design/part-overview.txt:
1185 * docs/design/part-qos.txt:
1186 * docs/design/part-query.txt:
1187 * docs/design/part-states.txt:
1188 * docs/design/part-trickmodes.txt:
1189 Some doc updates. Start renaming from stream_time to running_time where
1190 it was used wrongly.
1192 2007-02-15 Wim Taymans <wim@fluendo.com>
1194 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1195 Answer LATENCY query.
1197 2007-02-15 Wim Taymans <wim@fluendo.com>
1199 * tests/check/gst/gstevent.c: (event_probe), (test_event),
1203 2007-02-15 Wim Taymans <wim@fluendo.com>
1205 * gst/gstpad.c: (gst_pad_get_internal_links_default),
1206 (gst_pad_dispatcher):
1207 Improve debugging of default pad dispatcher and query functions.
1209 2007-02-15 Wim Taymans <wim@fluendo.com>
1211 * docs/gst/gstreamer-sections.txt:
1212 Remove old unused method.
1214 2007-02-13 Wim Taymans <wim@fluendo.com>
1216 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1219 2007-02-13 Wim Taymans <wim@fluendo.com>
1221 * docs/design/part-seeking.txt:
1224 * gst/gstsegment.c: (gst_segment_set_seek):
1225 Revert old bogus change that should make seeking work again.
1227 2007-02-13 Stefan Kost <ensonic@users.sf.net>
1229 * docs/random/ensonic/dynlink.txt:
1230 * docs/random/ensonic/interfaces.txt:
1231 * docs/random/ensonic/receipies.txt:
1232 Possible dynamic reconnection api, plus some type fixes the other two
1235 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
1237 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1238 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1239 Also check for an absolute path following file:// in the filesrc
1240 element. Remove redundant check and call g_path_is_absolute() on the
1243 2007-02-13 Stefan Kost <ensonic@users.sf.net>
1245 * docs/design/draft-klass.txt:
1246 Add existing category analysis.
1249 Fix doc example, framerate is a fraction.
1251 2007-02-12 Stefan Kost <ensonic@users.sf.net>
1254 * docs/gst/Makefile.am:
1255 * docs/gst/gstreamer-sections.txt:
1256 * docs/libs/Makefile.am:
1257 Erm, forgot a bunch of --extra-dir.
1259 2007-02-12 Stefan Kost <ensonic@users.sf.net>
1262 * docs/gst/Makefile.am:
1263 * docs/libs/Makefile.am:
1264 * docs/plugins/Makefile.am:
1265 Add crossreferences to glib/gobject docs.
1267 2007-02-12 Wim Taymans <wim@fluendo.com>
1269 * docs/design/draft-latency.txt:
1272 * docs/libs/gstreamer-libs-sections.txt:
1273 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1274 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
1275 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
1276 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
1277 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
1278 (gst_base_sink_get_position), (gst_base_sink_query),
1279 (gst_base_sink_change_state):
1280 * libs/gst/base/gstbasesink.h:
1281 API: gst_base_sink_query_latency() to let subclasses query the upstream
1283 API: gst_base_sink_get_latency() to let subclasses query the configured
1284 latency in the sink.
1285 Implement query and set latency.
1287 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
1288 don't continue preroll when we are flushing. Fixes #405284.
1290 * tests/check/pipelines/stress.c: (change_state_timeout),
1291 (quit_timeout), (GST_START_TEST), (stress_suite):
1294 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
1296 Patch by: René Stadler <mail at renestadler de>
1298 * docs/gst/gstreamer-sections.txt:
1299 * gst/gsttaglist.c: (_gst_tag_initialize):
1301 API: add GST_TAG_REFERENCE_LEVEL (#403597).
1303 2007-02-11 Stefan Kost <ensonic@users.sf.net>
1305 * docs/libs/Makefile.am:
1306 Fix path to core docs.
1308 * gst/gstbin.c: (gst_bin_get_by_interface),
1309 (gst_bin_iterate_all_by_interface):
1310 Refix docs by also renaming 'interface' to 'iface' in implementation.
1312 * docs/gst/gstreamer-sections.txt:
1314 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1315 * gst/gstchildproxy.h:
1316 * gst/gstelementfactory.c:
1317 * gst/gstpadtemplate.h:
1318 * libs/gst/controller/gstcontroller.c:
1319 (gst_controlled_property_new):
1322 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
1324 * gst/gstbin.h:(gst_bin_get_by_interface),
1325 (gst_bin_iterate_all_by_interface):
1326 Replace interface parameter name by iface as interface is
1327 a reserved keyword in Visual Studio for C++ projects so it removes
1328 a build error for application developpers using VS.
1329 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
1330 Fix a bug on Windows in uri format check. Now the prefix checked
1331 is file:// and next we check if the path after file:// is absolute.
1332 * win32/common/libgstbase.def:
1333 * win32/common/libgstdataprotocol.def:
1334 * win32/common/libgstgstreamer.def:
1335 Add new exported functions.
1337 2007-02-09 Andy Wingo <wingo@pobox.com>
1339 * tests/check/pipelines/simple-launch-lines.c
1340 (simple_launch_lines_suite, test_tee): Disable tee test until I
1341 have time to fix it :-(
1343 * tests/check/Makefile.am (noinst_HEADERS):
1344 * tests/check/libs/libsabi.c:
1345 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1346 * tests/check/gst/gstabi.c:
1347 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1349 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1350 tests for push and pull tee behavior.
1352 * plugins/elements/gsttee.h:
1353 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1354 mark as deprecated as well as unimplemented. It was a crack idea.
1355 Add support for tee operating in pull mode, off by default.
1357 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1358 normal-case logs down to LOG, raise errors to WARNING.
1359 (gst_registry_xml_read_cache): Don't log before calling a function
1362 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1363 exit (registry finalize).
1364 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1365 DEBUG log when we emit signals that people don't even have the
1366 chance to connect to.
1367 (gst_registry_scan_path_level): Less logging in the normal case.
1369 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1371 Patch by: Michal Benes <michal dot benes at itonis dot tv>
1373 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1374 Correctly generate EOS for non-seekable files. We don't have a total
1375 length for them and would get an unexpected end of file if we only
1376 special-cased for regular files. (Fixes: #404569)
1378 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1380 * tests/check/elements/filesrc.c: (GST_START_TEST),
1382 Add unit test for the GstURIHandler interface in filesrc. This also
1383 tests the newly added file://localhost/foo/bar support.
1385 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
1387 * gst/gstelementfactory.h:
1388 The klass string is not a hierarchy. Add reference to the design doc
1389 for more information and common types.
1391 2007-02-02 Wim Taymans <wim@fluendo.com>
1393 * gst/gstquery.c: (gst_query_new_latency):
1394 Remove old structure field.
1396 2007-02-02 Stefan Kost <ensonic@users.sf.net>
1398 * tools/gst-launch.1.in:
1399 Give example for network streaming (#351998)
1401 2007-02-02 Wim Taymans <wim@fluendo.com>
1403 * docs/gst/gstreamer-sections.txt:
1404 Add docs for new methods.
1406 * gst/gstevent.c: (gst_event_new_latency),
1407 (gst_event_parse_latency):
1409 Add new LATENCY event to configure latency in a pipeline.
1410 API: gst_event_new_latency
1411 API: gst_event_parse_latency
1413 * gst/gstmessage.c: (gst_message_new_buffering),
1414 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1415 (gst_message_new_latency), (gst_message_parse_buffering),
1416 (gst_message_parse_lost_preroll):
1418 Added messages used in draft-latency.
1419 API: gst_message_new_lost_preroll
1420 API: gst_message_parse_lost_preroll
1421 API: gst_message_new_prerolled
1422 API: gst_message_new_latency
1424 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1425 (gst_query_parse_latency):
1427 Implemented new latency query as in design doc.
1428 API: gst_query_new_latency
1429 API: gst_query_set_latency
1430 API: gst_query_parse_latency
1432 2007-02-02 Wim Taymans <wim@fluendo.com>
1434 * docs/design/draft-latency.txt:
1435 Slight redesign to allow for dynamic latency adjustments.
1437 * docs/design/part-negotiation.txt:
1440 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
1442 reviewed by: Wim Taymans <wim@fluendo.com>
1444 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1445 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1446 Allow file://localhost/foo/bar URLs and correctly fail for every other
1447 hostname that one sets. This was gnomevfssrc is linked for those if
1448 installed as it can handle it (#403172)
1450 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1452 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1454 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1455 (unref_data), (gst_collect_pads_add_pad_full):
1456 * libs/gst/base/gstcollectpads.h:
1457 Don't put the previously added destroy notify in the GstCollectData
1458 struct as all it's padding is already used and we don't want to break
1459 ABI. Instead put in the pad's GObject data for now. This should be
1460 cleaned up for 0.11 (#402393).
1462 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1464 reviewed by: Wim Taymans <wim@fluendo.com>
1466 * docs/libs/gstreamer-libs-sections.txt:
1467 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1468 (unref_data), (gst_collect_pads_add_pad),
1469 (gst_collect_pads_add_pad_full):
1470 * libs/gst/base/gstcollectpads.h:
1471 API: Add function to specify a destroy notification for custom
1472 GstCollectData when adding new pads in GstCollectPads (#402393).
1474 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
1477 Update Swedish translation (#378255).
1479 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1481 * docs/design/draft-klass.txt:
1482 Fix the previous change, this is a list of categories and not a hierarchy.
1484 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1486 * docs/design/draft-klass.txt:
1487 Add info about how to get a list of used classes.
1489 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
1491 * plugins/elements/gsttypefindelement.c:
1492 (gst_type_find_element_chain_do_typefinding),
1493 (gst_type_find_element_change_state):
1494 Don't leak found caps in chain function (no idea why that never
1495 showed up as a leak anywhere).
1497 2007-01-30 Stefan Kost <ensonic@users.sf.net>
1500 Fix and expand GstPluginDesc API docs.
1502 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1505 * gst/gstelementfactory.c:
1506 * gst/gstpadtemplate.h:
1509 * libs/gst/controller/gstcontroller.c:
1510 (gst_controlled_property_new):
1511 * tests/examples/controller/audio-example.c:
1514 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1517 comment about refining the xml deps
1520 comments about moving away from jade for docs
1523 recommit the ifdefs to use the binary registry
1525 * gst/gstbin.c: (gst_bin_change_state_func):
1526 this break is obsolete
1528 * gst/gstelementfactory.h:
1529 better GST_ELEMENT_DETAILS docs, add comment about translation
1534 * gst/gstobject.c: (gst_signal_object_get_type):
1535 add G_UNLIKELY as usual
1537 * gst/gstpad.c: (gst_pad_event_default):
1538 add fall trhu comment
1540 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1541 (gst_registry_binary_initialize_magic),
1542 (gst_registry_binary_save_string),
1543 (gst_registry_binary_save_pad_template),
1544 (gst_registry_binary_save_feature),
1545 (gst_registry_binary_save_plugin),
1546 (gst_registry_binary_write_cache),
1547 (gst_registry_binary_check_magic),
1548 (gst_registry_binary_load_pad_template),
1549 (gst_registry_binary_load_feature),
1550 (gst_registry_binary_load_plugin),
1551 (gst_registry_binary_read_cache):
1552 comment typo and formatting
1554 * gst/gstutils.c: (gst_element_state_get_name),
1555 (gst_element_state_change_return_get_name):
1556 remove obsolete breaks
1558 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1559 add FIXME 0.11 and remove cpp comment
1561 2007-01-29 Edward Hervey <edward@fluendo.com>
1563 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1564 Fix print statement in an even more portable way.
1566 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
1568 * docs/gst/gstreamer-sections.txt:
1570 API: add GST_ROUND_DOWN_* macros (#401781).
1572 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
1574 * docs/gst/gstreamer.types.in:
1575 * gst/gstregistry.c: (gst_registry_class_init):
1576 Document registry signals and make gtk-doc pick them up (#401381).
1578 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1580 * docs/pwg/building-testapp.xml:
1581 Add some audioconverts and audioresample to the pipeline, and some
1582 more comments and error handling.
1584 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1586 * docs/manual/manual.xml:
1590 2007-01-26 Wim Taymans <wim@fluendo.com>
1592 * gst/gstcaps.c: (gst_static_caps_get):
1593 Init caps flags too.
1595 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
1597 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1599 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1600 If not using mmap'ed files try to seek to the end instead of the
1601 start to determine whether we can seek at all. This fixes the case
1602 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1603 seeks for everything afterwards fail. Fixes #400656
1605 2007-01-25 Wim Taymans <wim@fluendo.com>
1607 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1608 Add some refcount debugging.
1609 Make gst_static_caps_get threadsafe, which is needed when autoplugging
1610 in multiple streaming threads.
1612 2007-01-25 Wim Taymans <wim@fluendo.com>
1614 Patch by: David Schleef <ds at schleef dot org>
1616 * docs/libs/gstreamer-libs-sections.txt:
1617 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1618 * libs/gst/base/gstadapter.h:
1619 API: gst_adapter_copy() that can reduce the amount of memcpy when
1620 getting data from the adapter. Fixes #388201.
1622 2007-01-25 Edward Hervey <edward@fluendo.com>
1624 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1625 In print statements, "%x" is for guint. Fixes build on macosx.
1627 2007-01-24 Edward Hervey <edward@fluendo.com>
1629 * plugins/elements/gstmultiqueue.c:
1630 (gst_multi_queue_loop):
1632 (single_queue_overrun_cb), (single_queue_underrun_cb),
1633 (single_queue_check_full), (gst_single_queue_new):
1634 Implement single queue growth system.
1635 This uses the extra-size properties, and will grow single queues by
1636 that much if one goes full whereas there are others empty. This is
1637 called extra-mode in the code.
1638 When a single queue's levels go back below the initial max-size
1639 limits, it is no longer in extra-mode. This is to ensure we don't
1640 consume too much memory.
1643 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
1645 * gst/gst.c: (gst_init_get_option_group):
1646 Make warning about late g_thread_init() calls a bit more explicit,
1647 so that it's more obvious to application developers what they need
1648 to do if a user files a bug against their application.
1650 2007-01-22 Edward Hervey <edward@fluendo.com>
1652 * plugins/elements/gstmultiqueue.c:
1653 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1654 Remove previous hack of unsetting the flushing flag for the source pad
1655 instead of activating it. Instead, fix the source pad activate function
1656 so that it no longer depends on having a parent set or not.
1658 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
1660 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1662 * docs/manual/basics-bus.xml:
1663 Fix example code, gst_element_unref() doesn't exist any longer.
1665 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
1667 Patch by: Mark Nauwelaerts <manauw at skynet be>
1670 Fix two docs typoes (#399094).
1672 2007-01-19 Edward Hervey <edward@fluendo.com>
1674 * docs/faq/gst-uninstalled:
1675 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1676 depending on libgstbaseutils can work in uninstalled environment.
1678 2007-01-18 Stefan Kost <ensonic@users.sf.net>
1681 * gst/gsttagsetter.c:
1682 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1683 statement for new tag.
1685 2007-01-17 Edward Hervey <edward@fluendo.com>
1687 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1688 When dynamically creating single queues, activate sinkpad before adding
1690 We should be doing the same thing for the source pad, but we can't
1691 since it would call a method which needs the parent to be set in order
1692 to work propertly. Instead of activating the source pad, we just unset
1693 the flushing flag, which is the minimal requirement for adding a pad
1694 to an element in a state greater than READY.
1696 2007-01-17 Edward Hervey <edward@fluendo.com>
1698 * docs/faq/gst-uninstalled:
1699 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1702 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
1704 * tests/check/gst/gstabi.c:
1705 * tests/check/gst/struct_hppa.h:
1706 * tests/check/libs/libsabi.c:
1707 * tests/check/libs/struct_hppa.h:
1708 Add ABI structs for HPPA (see #393796).
1710 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
1712 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1713 Actually write ABI structs to the file specified in the GST_ABI
1714 environment variable, as the message we print claims we would.
1716 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1718 * tests/check/gst/gsttask.c:
1721 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1723 * gst/gsttaglist.c: (_gst_tag_initialize):
1724 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1725 previous two entries.
1727 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1729 * docs/gst/gstreamer-sections.txt:
1730 * gst/gsttaglist.c: (_gst_tag_initialize):
1732 Add tag support for beat-per-minute.
1734 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1736 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1737 (gst_registry_binary_initialize_magic),
1738 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1739 (gst_registry_binary_save_pad_template),
1740 (gst_registry_binary_save_feature),
1741 (gst_registry_binary_save_plugin),
1742 (gst_registry_binary_write_cache),
1743 (gst_registry_binary_check_magic),
1744 (gst_registry_binary_load_pad_template),
1745 (gst_registry_binary_load_feature),
1746 (gst_registry_binary_load_plugin),
1747 (gst_registry_binary_read_cache):
1748 * gst/gstregistrybinary.h:
1749 Use glib types, cleanup comments, impement interfaces and uri-types.
1751 2007-01-13 Andy Wingo <wingo@pobox.com>
1753 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1754 getrange() to return buffers with other caps, while we fix
1755 demuxers and typefind, or otherwise change part-negotiation.txt.
1757 2007-01-12 Andy Wingo <wingo@pobox.com>
1759 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1760 Factor start/stop into this private function instead of partially
1761 in activate functions and partially in the change_state function.
1762 Fixes setup before the element has changed from READY->PAUSED, as
1763 is the case in pull-mode pipelines.
1764 (gst_base_transform_sink_activate_push)
1765 (gst_base_transform_src_activate_pull): Refactor to use
1766 gst_base_transform_activate().
1767 (gst_base_transform_change_state): Removed, not needed any more.
1769 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1770 Truncate before fixating.
1772 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1773 Don't set_caps() if the result of fixating is ANY, as it's not
1774 supported, and not necessary in the case of a link with no
1775 template caps on either side. Fixes tests/check/libs/basesrc in
1776 some pull-mode tests.
1778 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1779 (gst_base_transform_init, gst_base_transform_sink_activate_push)
1780 (gst_base_transform_src_activate_pull):
1781 Track the activation mode.
1782 (gst_base_transform_setcaps): In pull mode, when activating the
1783 src pad, after activating the sink pad, activate the sink pad's
1784 peer, as discussed in part-negotiation.txt.
1786 * libs/gst/base/gstbasesrc.h:
1787 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1788 vmethod, as in basesink.
1790 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1792 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1793 mode, first proxy the setcaps to the peer pad.
1794 (gst_base_sink_pad_fixate): Add a fixate function that calls the
1796 (gst_base_sink_default_activate_pull): Rename from
1797 gst_base_sink_activate_pull.
1798 (gst_base_sink_negotiate_pull): New function, performs negotiation
1799 in pull mode before calling ::activate_pull().
1800 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1801 vmethod instead of the default implementation. I have no idea how
1802 this worked before. Negotiate before calling activate_pull.
1804 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1805 sink pads in pull mode. In addition to being correct, fixes
1806 filesrc ! decodebin ! identity ! fakesink.
1807 (gst_pad_get_range, gst_pad_pull_range): Don't call
1808 gst_pad_set_caps() if the caps changes; instead error out with
1809 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1811 2007-01-12 Andy Wingo <wingo@pobox.com>
1813 * docs/design/part-negotiation.txt: Update with more policy.
1815 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1817 * libs/gst/check/gstbufferstraw.h:
1818 * libs/gst/check/gstcheck.h:
1819 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1822 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1824 * tests/check/Makefile.am:
1825 * tests/check/gst/.cvsignore:
1826 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1827 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1828 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1829 (GST_START_TEST), (gst_tag_setter_suite):
1830 Add minimal unit test for beforementioned GstTagSetter bug.
1832 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1834 Patch by: René Stadler <mail at renestadler dot de>
1836 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1837 gst_tag_list_merge() returns a new list, so it's not the best idea
1838 to ingore its return value. Effectively meant that tags could only
1839 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1840 Also add function guard to require a non-NULL taglist as input (has
1841 always been so due to gst_tag_list_copy(), just making it explicit).
1843 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1845 * docs/random/draft-missing-plugins.txt:
1846 Some additions: mention new API that is supposed to be used at the
1847 various stages; short blob about new gst-inspect introspection
1848 option; mention potential future problem with plugins that have
1849 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1851 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1853 * tools/gst-inspect.c:
1854 (print_plugin_automatic_install_info_codecs),
1855 (print_plugin_automatic_install_info_protocols),
1856 (print_plugin_automatic_install_info), (main):
1857 Add --print-plugin-auto-install-info option to gst-inspect, so we can
1858 introspect plugin files and get machine-parsable output that corresponds
1859 to the last bit of the missing-plugin installer string (small gotcha:
1860 doesn't take into account ranks).
1862 2007-01-11 Stefan Kost <ensonic@users.sf.net>
1865 * docs/gst/gstreamer-sections.txt:
1867 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1868 (gst_registry_lookup_locked):
1869 * gst/gstregistry.h:
1870 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1871 (gst_registry_binary_initialize_magic),
1872 (gst_registry_binary_save_string),
1873 (gst_registry_binary_save_pad_template),
1874 (gst_registry_binary_save_feature),
1875 (gst_registry_binary_save_plugin),
1876 (gst_registry_binary_write_cache),
1877 (gst_registry_binary_check_magic),
1878 (gst_registry_binary_load_pad_template),
1879 (gst_registry_binary_load_feature),
1880 (gst_registry_binary_load_plugin),
1881 (gst_registry_binary_read_cache):
1882 * gst/gstregistrybinary.h:
1883 * gst/gstregistryxml.c: (load_feature),
1884 (gst_registry_xml_read_cache):
1885 commit binary registry (disabled by default, see #359653)
1887 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1889 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1890 Fix 'make check' too.
1892 2007-01-10 Andy Wingo <wingo@pobox.com>
1894 * docs/design/part-negotiation.txt: Fix a typo, add a couple
1897 * docs/design/part-negotiation.txt: Update with, um, one way that
1898 pull-mode negotiation might work?
1901 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1902 that the pad must be a src pad; makes sense to call it the other
1903 way in pull mode, and the logic is symmetric anyway.
1905 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
1907 * plugins/elements/gstfilesink.c:
1908 Include <stdio.h> for fseeko().
1910 2007-01-10 Wim Taymans <wim@fluendo.com>
1914 Reserve LATENCY event.
1916 2007-01-09 Wim Taymans <wim@fluendo.com>
1918 * docs/design/draft-latency.txt:
1921 2007-01-09 Wim Taymans <wim@fluendo.com>
1923 * docs/design/draft-latency.txt:
1927 * gst/gststructure.c:
1931 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
1933 * tests/check/.cvsignore:
1934 Ignore test-registry.xml as well.
1936 2007-01-09 Wim Taymans <wim@fluendo.com>
1938 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1939 unref data at the end when we are done with the pad.
1941 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1943 * docs/gst/gstreamer-sections.txt:
1944 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1945 (init_post), (gst_deinit), (gst_update_registry):
1947 API: add gst_update_registry() (#391296).
1949 * tests/check/Makefile.am:
1950 * tests/check/gst/gstregistry.c:
1951 * tests/check/gst/.cvsignore:
1952 Simple unit test for the above.
1954 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1956 * gst/gstregistry.c: (gst_registry_scan_path_level):
1957 Plugin extension on HP-UX is .sl, add that to the list of approved
1958 plugin extensions (see #393796).
1960 * tests/check/gst/gstpad.c: (GST_START_TEST):
1961 ulong => gulong. Fixes compilation with HP-UX compiler.
1963 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1964 Fix compilation if valgrind headers are not available.
1966 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
1968 * win32/common/libgstreamer.def:
1969 Add new exported function.
1970 * win32/vs6/libgstbase.dsp:
1971 Add gstdataqueue.c to the build.
1972 * win32/vs6/libgstcoreelements.dsp:
1973 Add gstmultiqueue.c to the build.
1975 2007-01-06 Andy Wingo <wingo@pobox.com>
1977 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1978 activate_pull(), providing for a way to specialize the process of
1979 spawning a thread to pull on the sink pad. There is a default
1982 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1983 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1984 (gst_base_sink_init): Renamed pad activation functions (inserting
1985 "_pad" in their names). Refactor to use the new activate_pull
1986 vmethod, as appropriate.
1987 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1988 default activate_pull function to start a task pulling from the
1989 sink pad, as before.
1991 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1992 on the pads if necessary, as in push()/chain(). Update docs.
1993 Shouldn't affect existing pull() usage as it is currently only
1994 being used on buffers without caps.
1996 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1998 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2000 Call g_thread_init() first thing in gst_init() / gst_check_init().
2001 When initialisation is done via gst_init_get_option_group() and
2002 GOption parsing, issue a warning if the GLib thread system has not
2003 been initialised yet by the time gst_init_get_option_group() is
2004 called, as it's quite likely other GLib functions such as
2005 g_option_context_new() have been called already then, and
2006 g_thread_init() must be called before any other GLib function. The
2007 application in question must be fixed in that case, since memory
2008 corruption might happen otherwise.
2009 We issue the warning because even if the GLib folks decide to work
2010 around the problem on their end in future, this is still an issue
2011 with all GLib versions >= 2.10.0, so we should warn until we depend
2012 on a GLib version we know to be safe.
2013 Update documentation as well.
2016 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2018 * tools/gst-inspect.c: (main):
2019 * tools/gst-launch.c: (main):
2020 * tools/gst-typefind.c: (main):
2021 * tools/gst-xmlinspect.c: (main):
2022 Call g_thread_init() really really early, before any other GLib
2023 function (see #342564 and recent discussion on gtk-devel-list).
2025 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2027 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
2029 * gst/gst_private.h:
2030 * gst/gstconfig.h.in:
2032 On win32, all the __declspec stuff for symbol exporting is
2033 apparently only needed with MSVC, but doesn't work with MingW.
2034 Fixes compilation with MingW and #391909.
2036 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
2038 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
2039 Change some GST_ERROR_OBJECT that aren't really errors to
2040 GST_WARNING_OBJECT in order to reduce terminal spam.
2042 2007-01-04 Stefan Kost <ensonic@users.sf.net>
2044 * tests/check/Makefile.am:
2045 disable test again, as there seem to be still race problems
2047 2007-01-04 Stefan Kost <ensonic@users.sf.net>
2049 * tests/check/Makefile.am:
2050 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2051 (GST_START_TEST), (queue_suite):
2052 enable queue test again, add tests for the leaky behaviour
2054 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
2057 * tests/examples/Makefile.am:
2058 Compile adapter test/example only if the required headers are
2059 available (fixes #391915).
2061 2007-01-01 David Schleef <ds@schleef.org>
2064 Restore the previous signal handler for SIGSEGV instead of
2065 setting to default, since we may have stolen it away from
2066 someone. (i.e., Mono)
2068 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
2070 * docs/random/draft-missing-plugins.txt:
2071 Some small additions and clarifications.
2073 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
2075 * gst/gstregistryxml.c: (gst_registry_save_escaped):
2076 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
2077 since that can lead to random memory corruptions and crashes
2078 (may or may not be related to #383244, #386711, and #386711).
2080 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2082 * tests/check/.cvsignore:
2083 * tests/check/Makefile.am:
2084 sync .cvsignome and CLEANFILES
2086 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2088 * tests/check/Makefile.am:
2091 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2093 * docs/design/part-states.txt:
2094 two tiny additional comments
2096 * gst/gststructure.c:
2099 * tests/check/Makefile.am:
2100 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2102 disable test for now, unless it gets fixed
2104 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2106 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2108 fix race in underrun test
2110 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2112 * tests/check/elements/.cvsignore:
2115 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2117 try to narrow test failure
2119 2006-12-21 David Schleef <ds@schleef.org>
2121 * plugins/elements/gstfakesrc.c:
2122 Use g_random_int_range(), since it produces better random
2123 numbers in a range than almost-correct floating point code.
2125 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2127 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2128 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2129 (gst_check_teardown_sink_pad):
2130 do not automatically (de)activate pads
2132 * tests/check/Makefile.am:
2133 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2134 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
2135 add new, yet simple tests for queue
2137 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
2138 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
2139 * tests/check/elements/filesrc.c: (cleanup_filesrc),
2141 * tests/check/elements/identity.c: (cleanup_identity):
2142 consistent pad (de)activation
2144 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
2146 Patch by: Sebastian Dröge <slomo ubuntu com>
2148 * libs/gst/base/gstcollectpads.c:
2149 Fix two doc typos (#387866).
2151 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
2153 * docs/manual/advanced-dparams.xml:
2154 Fix typo (g_object_control_properties() doesn't exist).
2156 2006-12-19 Edward Hervey <edward@fluendo.com>
2158 * gst/gstsegment.c: (gst_segment_set_seek):
2159 Fine tune the cases where the segment start/stop values are really
2161 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2162 Add tests for the return values of gst_segment_set_seek().
2164 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
2169 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2171 Fix incorrect documentation and flesh it out a bit more.
2172 Set default values for the max properties on the GParamSpec as well,
2173 so it shows up correctly in gst-inspect.
2175 2006-12-18 Stefan Kost <ensonic@users.sf.net>
2177 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2178 Correct docs of queue, add more detail and crosslink it more.
2180 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
2182 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2183 Print additional debug info when the stream isn't perfectly
2184 timestamped; don't try to use invalid durations.
2186 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
2188 * docs/design/Makefile.am:
2189 Dist new design docs.
2191 2006-12-16 Wim Taymans <wim@fluendo.com>
2193 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2195 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
2196 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2197 (gst_collect_pads_stop), (gst_collect_pads_event),
2198 (gst_collect_pads_chain):
2199 * libs/gst/base/gstcollectpads.h:
2200 Add refcounting to the collectpads data so we can track when it's safe
2201 to free the data. Fixes #383382.
2203 2006-12-15 Wim Taymans <wim@fluendo.com>
2205 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2206 (gst_collect_pads_remove_pad):
2207 Automatically activate/deactivate pads when they are added to a
2208 started/stoped collectpads.
2210 2006-12-15 Wim Taymans <wim@fluendo.com>
2212 * gst/gstelement.c: (gst_element_add_pad):
2213 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
2214 * gst/gstpad.c: (gst_pad_init):
2215 Set pads to FLUSHING when they are created. Check, warn and fix when a
2216 demuxer adds an inactive pad to itself when running. Fixes #339326.
2218 2006-12-15 Wim Taymans <wim@fluendo.com>
2220 * gst/gstelement.c: (gst_element_class_init),
2221 (gst_element_default_send_event), (gst_element_send_event),
2222 (gst_element_default_query), (gst_element_query):
2223 Expose default element send_event and query handling as vmethods that
2224 subclasses can chain up to.
2226 2006-12-15 Wim Taymans <wim@fluendo.com>
2228 * gst/gstelement.c: (gst_element_set_state_func):
2229 Small documentation fixes.
2231 2006-12-15 Wim Taymans <wim@fluendo.com>
2233 * docs/design/draft-latency.txt:
2234 Checked in draft for handling latency in pipelines.
2236 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
2240 * gstreamer.spec.in:
2243 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
2245 * gst/gst.c: (init_pre), (init_post):
2246 init_pre() and init_post() might be called via our GOptionGroup or
2247 from gst_init(), and we should skip both of them if we've already
2248 been initialised, otherwise we will init some things twice or add
2249 two default log functions.
2251 2006-12-13 Edward Hervey <edward@fluendo.com>
2253 * docs/manual/basics-bus.xml:
2254 No, gst_main_loop does not exist. Its g_main_loop.
2255 Discovered by somebody who abused the copy-paste technique of coding :)
2257 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
2259 * gst/gstghostpad.c:
2260 Log ghostpad debug stuff to the GST_PADS category as well rather
2261 than just to the default category.
2263 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
2266 * gst/gst.c: (init_pre):
2267 Add some basic system details such as OS and architecture
2268 to the debug output if possible, courtesy of uname().
2270 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
2272 * docs/gst/running.xml:
2273 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
2274 environment variables.
2276 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
2278 * tests/check/gst/gstbin.c: (GST_START_TEST):
2279 It is acceptable to have a refcount of 2 or 3 at this point in the
2280 test, because the pipeline might be just posting its state_change
2281 message. The next line then waits for that message to appear using
2282 bus_poll, so that should be fine too.
2284 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
2286 * gst/gst.c: (ensure_current_registry_forking):
2287 Ignore EINTR when reading from the child registry pipe.
2288 Explicitly ignore the return value from close, since it makes no
2291 * gst/gstminiobject.c: (gst_mini_object_ref),
2292 (gst_mini_object_unref):
2293 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
2295 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
2296 When removing cached plugins, remove their features too, so they're
2297 not visible after they've disappeared.
2299 * gst/gstutils.c: (prepare_link_maybe_ghosting):
2300 In the unlikely case that we are linking pads with no parents, don't
2301 crash trying to get the non-existent parent bin.
2303 * gst/parse/grammar.y:
2304 Output debug in the PIPELINE category
2306 2005-03-08 Wim Taymans <wim@fluendo.com>
2308 Patch by: René Stadler <mail at renestadler dot de>
2310 * gst/gstclock.c: (gst_clock_new_periodic_id):
2311 Reject invalid clock times for interval of periodic ids.
2314 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2316 * gst/gstelementfactory.c: (gst_element_factory_create):
2317 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2318 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
2319 * tools/gst-inspect.c: (print_element_info):
2320 Fix refcounting of gst_plugin_feature_load to match the docs.
2323 2006-12-07 Wim Taymans <wim@fluendo.com>
2325 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2326 (gst_base_sink_get_position):
2327 Improve debugging of events.
2329 2006-12-07 Wim Taymans <wim@fluendo.com>
2331 Patch by: René Stadler <mail at renestadler dot de>
2333 * gst/gstclock.c: (gst_clock_id_wait):
2334 Make period ids add the interval to the origial requested time instead
2335 of the possibly updated time which can be wrong when there are multiple
2336 waiters for the same id. Fixes #382592.
2338 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
2339 (gst_system_clock_id_wait_jitter_unlocked),
2340 (gst_system_clock_id_wait_jitter):
2341 Fix restart in the async notify thread when an async entry is added to
2342 the front of the list. Fixes #381492.
2344 * tests/check/gst/gstsystemclock.c: (store_callback),
2345 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2346 Added test for multiple async waits.
2347 Added test for async wait order.
2349 2006-12-07 Wim Taymans <wim@fluendo.com>
2351 * gst/gstbin.c: (gst_bin_query):
2352 Add some more docs about the POSITION query.
2354 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2357 Bump version nano - back to CVS.
2359 === release 0.10.11 ===
2361 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
2364 releasing 0.10.11, "Love never runs on time"
2366 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
2368 * win32/common/libgstbase.def:
2369 * win32/common/libgstreamer.def:
2370 * win32/vs8/libgstbase.vcproj:
2371 * win32/vs8/libgstcoreelements.vcproj:
2372 * win32/vs8/libgstreamer.vcproj:
2373 Fix compilation on win32 under VS8
2374 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2375 Partially fixes #381175
2377 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
2379 * gst/gstvalue.c: (gst_value_compare_fraction):
2380 If someone is foolish enough to compare 2 fractions with denominator =
2381 0, return UNORDERED rather than aborting.
2383 2006-11-28 Edward Hervey <edward@fluendo.com>
2385 * libs/gst/base/Makefile.am:
2386 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2387 (gst_data_queue_base_init), (gst_data_queue_class_init),
2388 (gst_data_queue_init), (gst_data_queue_new),
2389 (gst_data_queue_cleanup), (gst_data_queue_finalize),
2390 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2391 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2392 (gst_data_queue_is_empty), (gst_data_queue_is_full),
2393 (gst_data_queue_set_flushing), (gst_data_queue_push),
2394 (gst_data_queue_pop), (gst_data_queue_drop_head),
2395 (gst_data_queue_set_property), (gst_data_queue_get_property):
2396 * libs/gst/base/gstdataqueue.h:
2397 New GstDataQueue object for threadsafe queueing. Most useful for
2398 elements that need some queueing functionnality.
2399 * docs/libs/gstreamer-libs-docs.sgml:
2400 * docs/libs/gstreamer-libs-sections.txt:
2401 Insert documentation for GstDataQueue
2402 * plugins/elements/Makefile.am:
2403 * plugins/elements/gstelements.c:
2404 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2405 (gst_multi_queue_class_init), (gst_multi_queue_init),
2406 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2407 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2408 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2409 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2410 (gst_multi_queue_loop), (gst_multi_queue_chain),
2411 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2412 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2413 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2414 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2415 (wake_up_next_non_linked), (compute_next_non_linked),
2416 (single_queue_overrun_cb), (single_queue_underrun_cb),
2417 (single_queue_check_full), (gst_single_queue_new):
2418 * plugins/elements/gstmultiqueue.h:
2419 New multiqueue element, using GstDataQueue. Used for queuing multiple
2421 Closes #344639 and #347785
2423 2006-11-22 Stefan Kost <ensonic@users.sf.net>
2425 * docs/pwg/advanced-types.xml:
2426 add more missing type details
2428 * tools/gst-run.c: (main):
2429 remove unused variable
2431 2006-11-21 Stefan Kost <ensonic@users.sf.net>
2433 * docs/libs/Makefile.am:
2434 * docs/libs/gstreamer-libs.types:
2435 add types of base classes to enable gobject specific stuff in the docs
2437 * docs/random/ensonic/embedded.txt:
2438 more ideas about isolating platform specific things
2440 2006-11-20 Wim Taymans <wim@fluendo.com>
2442 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2444 * libs/gst/check/gstcheck.h:
2445 Fix compilation and running against 0.9.4. Fixes #377332.
2447 2006-11-20 Wim Taymans <wim@fluendo.com>
2449 * gst/gstsegment.c: (gst_segment_set_seek),
2450 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2451 (gst_segment_to_running_time):
2452 Fix boundary checking in to_running_time() and to_stream_time().
2455 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2456 stream and running time can now be calculated for the complete
2459 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
2461 * gst/gstpad.c: (gst_pad_push_event):
2462 Can't access event structure after giving away ownership of
2465 2006-11-15 Stefan Kost <ensonic@users.sf.net>
2467 * docs/random/ensonic/embedded.txt:
2468 * docs/random/ensonic/profiling.txt:
2469 * docs/random/ensonic/receipies.txt:
2472 2006-11-13 Wim Taymans <wim@fluendo.com>
2474 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2477 Fix documentation for gst_pad_dispatcher. Fixes #374475.
2479 2006-11-13 Wim Taymans <wim@fluendo.com>
2481 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2483 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2484 Store new length in segment duration so we don't keep on calling the
2485 potentially expensize get_size() call. Fixes #370865.
2487 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
2489 Patch by: Sergey Scobich <sergey.scobich at gmail com>
2491 * win32/common/libgstreamer.def:
2492 Add two missing symbols (#366492).
2494 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
2496 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2497 (gst_adapter_take_buffer):
2498 Fix format string to use all its arguments.
2499 Remove useless >= check on a guint
2501 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2503 * tests/examples/adapter/.cvsignore:
2504 Ignore build file as commanded by the build-bot
2506 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2508 * tests/examples/adapter/Makefile.am:
2509 * tests/examples/adapter/adapter_test.c: (run_test_take),
2510 (run_test_take_buffer), (run_tests), (main):
2512 Add new files from the previous commit
2514 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2518 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2519 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2520 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2521 * libs/gst/base/gstadapter.h:
2522 * tests/check/libs/adapter.c: (create_and_fill_adapter),
2523 (GST_START_TEST), (gst_adapter_suite):
2524 * tests/examples/Makefile.am:
2525 Do some optimisation work in GstAdapter to avoid copies in more cases.
2526 It could still do slightly better by merging buffers when
2527 gst_buffer_is_span_fast is true, but is already faster.
2529 Also, avoid traversing a single-linked list to append each incoming
2530 buffer inside the adapter.
2532 Add simple test app that times the adapter behaviour in different
2533 situations, and extend the unit test to check that bytes enter and
2534 exit the adapter in their original order.
2536 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
2538 * docs/random/draft-missing-plugins.txt:
2539 Update: use element message instead of adding a new message
2540 type to the core; don't provide GStreamer API to initiate the
2541 plugin download, just provide API to compose the strings needed
2542 and let an external libgimmestuff handle the rest.
2544 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
2546 * tools/gst-inspect.c: (print_element_properties_info):
2547 Print a string instead of 'unknown type' for GValueArray properties
2549 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
2551 * docs/random/draft-missing-plugins.txt:
2554 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2556 * tests/examples/typefind/typefind.c: (type_found), (main):
2557 Make typefind element example work again (#371894); add a
2560 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2562 * docs/random/draft-missing-plugins.txt:
2563 Commit initial draft about how to deal with missing plugins,
2564 needs work (API too).
2566 2006-11-07 Stefan Kost <ensonic@users.sf.net>
2568 * docs/pwg/advanced-types.xml:
2569 documents the new caps elements (see #363118)
2571 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2573 * gst/gstplugin.c: (gst_plugin_load_file):
2574 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2575 (gst_file_src_map_region), (gst_file_src_start):
2576 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2577 (gst_file_index_commit):
2578 Use g_strerror() instead of strerror() - we want UTF-8.
2580 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2582 Patch by: Peter Kjellerstedt <pkj at axis com>
2584 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2585 Another printf fix (#371493).
2587 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2589 * tests/check/gst/gsttag.c:
2590 relicence (okay with author=company)
2592 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2594 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2595 (gst_pad_push_event):
2596 Enhance debug and improve docs
2601 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2603 * docs/random/ensonic/distributed.txt:
2604 * docs/random/ensonic/profiling.txt:
2607 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2609 * docs/gst/gstreamer-sections.txt:
2610 add new API and fix the build
2612 * gst/gstbin.c: (gst_bin_recalc_state):
2613 * gst/gstelement.c: (gst_element_message_full),
2614 (gst_element_get_state_func), (gst_element_set_state_func):
2615 use new API and improve logging
2617 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2619 API: add function to get StateChangereturn names to improve logs
2621 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
2623 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2624 I'm considering shooting the next person to put strerror stuff
2625 in the translateable part of the message.
2627 2006-11-03 Wim Taymans <wim@fluendo.com>
2629 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2630 Get the type and printf conversion specifiers right.
2632 2006-11-03 Wim Taymans <wim@fluendo.com>
2634 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2636 * gst/gstpad.c: (gst_pad_init), (pre_activate),
2637 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2638 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2639 Some small cleanups. Improve debugging.
2641 Signal all waiting threads with a broadcast instead of just one.
2644 2006-11-03 Wim Taymans <wim@fluendo.com>
2646 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2647 (gst_fd_src_create):
2649 Only update fd when it's different from the old.
2651 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2653 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2654 Printf fixes for PPC/OSX, take two (#369366).
2656 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2658 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
2660 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2661 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2662 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2663 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2664 don't cast to long long for portability reasons, but use
2665 GLib's types instead.
2667 2006-10-30 Michael Smith <msmith@fluendo.com>
2669 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2670 Get the arguments to lseek() the right way around.
2673 2006-10-30 Wim Taymans <wim@fluendo.com>
2675 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2678 _declspec should be __declspec (two underscores, not one). Fixes 366572.
2680 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2682 Patch by: Kjartan Maraas <kmaraas at gnome org>
2684 * docs/design/part-MT-refcounting.txt:
2685 * docs/random/wtay/capsnego2-docs:
2688 Typo fixes (#366212).
2690 2006-10-28 Wim Taymans <wim@fluendo.com>
2692 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2695 * win32/common/libgstbase.def:
2696 * win32/common/libgstreamer.def:
2697 * win32/vs8/libgstbase.vcproj:
2698 * win32/vs8/libgstcontroller.vcproj:
2699 Add needed entries in .def files.
2701 Rearrange def files in vs8 solutions. Fixes #366286.
2703 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2705 * win32/common/gstconfig.h:
2706 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2707 hand-made win32 gstconfig.h. Fixes #366321.
2709 2006-10-27 Wim Taymans <wim@fluendo.com>
2711 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2712 (gst_ghost_pad_new_full):
2713 Make acceptcaps return TRUE when we don't have a target, just like
2716 2006-10-27 Wim Taymans <wim@fluendo.com>
2718 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2719 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2721 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
2723 * gst/gststructure.c: (gst_structure_id_set_value):
2724 If someone tries to set a non-UTF8 string field on a structure,
2725 don't just print a warning, but also ignore the request and do
2726 not change/add that field to the structure.
2728 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2731 2006-10-25 David Schleef <ds@schleef.org>
2734 g_hash_table_insert() needs a cast to a non-const pointer duh.
2736 2006-10-25 David Schleef <ds@schleef.org>
2740 Change name parameter of _gst_debug_register_funcptr to const
2741 to reflect the constness of its use in the function as well
2742 as to quiet a gcc warning.
2744 2006-10-25 Edward Hervey <edward@fluendo.com>
2746 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2747 Don't push the buffer if it's empty.
2750 2006-10-24 Wim Taymans <wim@fluendo.com>
2755 * libs/gst/base/gstbasetransform.c:
2756 (gst_base_transform_sink_eventfunc):
2757 Debug segment values *after* updating them as this is more
2760 2006-10-23 Wim Taymans <wim@fluendo.com>
2762 * docs/design/part-events.txt:
2765 * docs/design/part-block.txt:
2766 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2767 (gst_pad_push_event):
2768 Revert BLOCKING patch, it tries to be smart without really having a
2769 clear idea what or how. So, now we discard all FLUSHING events again on
2770 a blocking pad. Should fix gnonlin again.
2772 2006-10-23 Wim Taymans <wim@fluendo.com>
2774 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2776 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2777 (gst_base_src_start), (gst_base_src_activate_push):
2778 Make sure size is always initialized. Fixes #364388.
2780 2006-10-20 Stefan Kost <ensonic@users.sf.net>
2782 * docs/random/ensonic/distributed.txt:
2783 add some ideas about doing distributed processing
2785 * docs/random/ensonic/profiling.txt:
2786 get_rusage look promising
2788 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2790 * docs/manual/basics-helloworld.xml:
2791 Add a cast in example to fix compile warning
2793 2006-10-18 Wim Taymans <wim@fluendo.com>
2795 * gst/gstsegment.c: (gst_segment_set_last_stop),
2796 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2797 Relax arg checking again, -1 is allowed.
2799 2006-10-18 Wim Taymans <wim@fluendo.com>
2801 * gst/gstsegment.c: (gst_segment_set_last_stop),
2802 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2803 _set_last_stop() must be with a value != -1
2804 A _TYPE_SET to -1 means seek to 0.
2805 Calc last_stop correctly for negative rates.
2806 Make sure we work with positive durations when updating a segment.
2808 2006-10-18 Wim Taymans <wim@fluendo.com>
2810 * docs/design/part-live-source.txt:
2814 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
2817 Add an explicit cast to GstBuffer** to keep old code that added an
2818 explicit cast to GstMiniObject** for gst_mini_object_replace()
2819 compiling without warning.
2821 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2823 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2824 check for validity of dates
2826 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2828 * docs/gst/gstreamer-sections.txt:
2829 Forgot this one, makes gtk-doc shut up.
2831 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2833 Patch by: Peter Kjellerstedt <pkj at axis com>
2836 Don't define xmlNodePtr to gpointer if the core was built with
2837 --disable-loadsave and --disable-registry, this will break
2838 applications that want to use libxml2 but are buildling against a
2839 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2840 instead so we don't have to mess with the libxml2 namespace
2843 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2846 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2847 type-punned pointer warnings.
2849 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
2852 Add casts to the correct return type to state <=> state transition
2855 2006-10-16 Stefan Kost <ensonic@users.sf.net>
2857 * docs/design/part-live-source.txt:
2858 describe howto handle latency
2860 * docs/random/ensonic/profiling.txt:
2863 * tools/gst-plot-timeline.py:
2864 fix log parsing for solaris, remove unused function
2866 2006-10-16 Wim Taymans <wim@fluendo.com>
2868 * docs/design/part-trickmodes.txt:
2870 Update some docs regarding reverse playback.
2872 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
2874 Patch by: Marcus Granado <mrc dot gran at gmail com>
2876 * win32/vs8/grammar.vcproj:
2877 Error out with a warning if glib-genmarshal.exe is not in path,
2878 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2880 2006-10-13 Wim Taymans <wim@fluendo.com>
2882 * gst/gstsegment.c: (gst_segment_set_seek):
2883 When seeking to stop -1, set last_stop (current position) to the
2884 duration of the segment.
2886 2006-10-13 Wim Taymans <wim@fluendo.com>
2889 Clarify _NO_PREROLL a bit more.
2894 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2895 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2896 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2897 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2898 due to wrong locking order. Fixes #361769.
2899 Remove some redundant/misplaced checks in pad_block.
2901 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2902 For negative rates, count backwards from the duration.
2904 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
2906 * gst/gsterror.c: (_gst_library_errors_init):
2907 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2908 up with something better).
2910 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2912 * win32/vs6/libgstreamer.dsp:
2913 * win32/vs7/libgstreamer.vcproj:
2914 * win32/vs8/libgstreamer.vcproj:
2915 Don't reference glib-compat.c which is currently not used and not
2916 disted; add gstquark.c which was recently added. Fixes #361730.
2918 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2920 * win32/common/libgstbase.def:
2921 * win32/common/libgstcontroller.def:
2922 * win32/common/libgstreamer.def:
2923 Add gst_caps_merge() and a bunch of other recently-added functions.
2926 2006-10-11 Wim Taymans <wim@fluendo.com>
2928 * docs/plugins/gstreamer-plugins.args:
2929 * docs/plugins/inspect/plugin-coreelements.xml:
2930 * docs/plugins/inspect/plugin-coreindexers.xml:
2931 Update element args.
2933 * gst/gstsystemclock.c:
2934 Small comment update.
2936 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2937 (gst_tee_request_new_pad), (gst_tee_release_pad),
2938 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2939 (gst_tee_sink_activate_pull):
2940 * plugins/elements/gsttee.h:
2942 Add default property defines.
2943 Implement release pad function.
2944 Give properties better blubs etc.
2945 Activate pads before adding them to a running tee.
2946 Do simple buffer_alloc on the first requested pad.
2947 Post error when activation fails.
2949 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2951 * gst/gst.c: (ensure_current_registry_forking):
2952 Check return value of write() to make compiler happy.
2954 2006-10-11 Wim Taymans <wim@fluendo.com>
2956 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2958 * plugins/elements/gstqueue.c: (gst_queue_chain):
2959 Recheck queue filledness after signalling the overrun when we're about
2960 to leak downstream because we released the lock when emitting the signal
2961 and the queue could be empty again. Fixes #352345.
2963 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2965 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2966 Fix refcounting here too, just like we did for _new_valist() a few
2967 days ago (#357180) (thanks to René Stadler). Also remove all those
2968 'Since: 0.9' from the gtk-doc blobs.
2970 * tests/check/libs/controller.c: (controller_refcount_new_list),
2971 (gst_controller_suite):
2972 Unit test for the above.
2974 2006-10-10 Wim Taymans <wim@fluendo.com>
2976 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2978 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2979 (gst_pad_save_thyself):
2981 Write pad direction in XML output. Fixes #345496.
2983 2006-10-10 Wim Taymans <wim@fluendo.com>
2985 Patch by: René Stadler <mail at renestadler dot de>
2987 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2988 (gst_controller_new_list), (_gst_controller_dispose),
2989 (_gst_controller_finalize), (_gst_controller_class_init):
2990 Take ref to controlled object so that it cannot disappear.
2993 2006-10-10 Wim Taymans <wim@fluendo.com>
2995 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2996 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2997 (gst_check_teardown_sink_pad):
2998 Activate/deactivate pads in setup/teardown respectively.
3000 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3002 Patch by: Josep Torre Valles <josep@fluendo.com>
3005 Cast values when making gstenumtypes.h. This pacifies Forte
3006 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
3009 2006-10-09 Wim Taymans <wim@fluendo.com>
3011 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
3012 Rename some more @cur to @start to fix docs.
3014 * gst/gstsegment.c: (gst_segment_set_seek):
3016 time and start must always stay in sync as defined in design doc.
3018 * gst/gsttaglist.c: (gst_tag_list_is_empty):
3019 Rename param to fix docs.
3021 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3022 Check that start and time are in sync.
3024 * tests/check/pipelines/parse-launch.c:
3025 (gst_parse_test_element_change_state):
3026 Activate pad before adding to the element.
3028 2006-10-09 Wim Taymans <wim@fluendo.com>
3030 * docs/design/part-qos.txt:
3035 Update seek event docs regarding negative rates.
3036 Rename @cur to @start.
3038 * gst/gstsegment.c: (gst_segment_set_seek):
3040 Update set_seek docs regarding negative rates.
3041 Correctly update last_stop to @stop when dealing with negative
3043 Rename @cur to @start.
3045 * tests/check/gst/gstpad.c: (GST_START_TEST):
3046 Activate pads before trying to use them.
3048 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3049 (gst_segment_suite):
3050 Add simple check for segments and negative rates.
3052 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
3054 * gst/gsttaglist.c: (gst_tag_list_is_empty):
3056 * docs/gst/gstreamer-sections.txt:
3057 API: add gst_tag_list_is_empty() (#360467).
3059 * tests/check/gst/gsttag.c: (GST_START_TEST):
3062 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3065 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
3066 a value that doesn't fit on enumeration.
3068 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3070 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3071 Remove local debugging system and use Gstreamer's instead.
3073 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3075 Patch by: Josep Torre Valles <josep@fluendo.com>
3077 * common/m4/gst-error.m4:
3078 Disable warning of statement not reached on Forte.
3080 Fix warning on Forte (value doesn't fit on enumeration).
3081 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
3082 Fix warning on Forte (value doesn't fit on enumeration).
3083 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3084 DEBUG macro says it takes minimum of 2 args and so Forte
3085 complains about the use with just 1 arg.
3086 * plugins/elements/gstfdsink.c:
3087 * plugins/elements/gstfdsrc.c:
3088 * plugins/elements/gstfilesink.c:
3089 * plugins/elements/gstfilesrc.c:
3090 Use correct return type for the uri handler implementations.
3092 All these fix warnings in Forte. Fixes bug #360860.
3094 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
3097 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
3098 format string, so don't use G_GNUC_PRINTF for those versions.
3100 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
3102 * gst/gsttaglist.c: (gst_is_tag_list):
3104 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
3106 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3107 Small test for the above.
3109 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
3112 Less tabs, more spaces.
3114 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
3117 Those two function declarations do actually belong there, revert
3118 commit from yesterday that turned them intro macros.
3120 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3122 Patch by: Josep Torre Valles <josep@fluendo.com>
3124 * gst/gst.c: (gst_init_get_option_group):
3125 Fix empty declaration and type mismatch.
3126 * gst/gstbin.c: (gst_bin_change_state_func):
3128 * gst/gstelement.c: (gst_element_continue_state),
3129 (gst_element_set_state_func), (gst_element_change_state),
3130 (gst_element_change_state_func):
3131 Fix type mismatches.
3132 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
3133 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
3134 Cast as appropriate.
3135 * gst/gstobject.c: (gst_class_signal_connect):
3136 Cast as appropriate. The function pointer parameter really
3137 has the wrong type but would break API if we change it.
3139 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
3140 order of including string.h.
3141 * gst/gstutils.c: (gst_element_state_get_name):
3142 Remove unreachable line.
3143 * gst/gstxml.c: (gst_xml_parse_doc):
3145 All these caught by Forte.
3147 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3149 Patch by: Josep Torre Valles <josep@fluendo.com>
3151 * common/m4/gst-error.m4:
3153 We need to disable warnings on Forte for empty declarations
3154 due to gst-indent adding ;s to lines that just use macros
3155 where the macro actually doesn't need a ; at end to end
3158 2006-10-06 Wim Taymans <wim@fluendo.com>
3160 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3161 (gst_file_sink_close_file), (gst_file_sink_event),
3162 (gst_file_sink_render):
3163 Add some FIXME for the NEWSEGMENT handling.
3165 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3167 * gst/parse/grammar.y:
3168 Remove static function gst_parse_element_lock as all it does
3169 is return. Looks like cruft from 0.8.
3171 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3173 Patch by: Josep Torre Valles <josep@fluendo.com>
3175 * common/m4/gst-error.m4:
3177 * libs/gst/net/Makefile.am:
3178 Fix a compilation issue with Forte on Solaris. inet_aton is in
3181 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
3183 * gst/gstpad.c: (pre_activate):
3184 * gst/gstregistry.c: (gst_registry_scan_path_level):
3185 * gst/gstregistryxml.c: (load_plugin):
3186 * libs/gst/controller/gstcontroller.c:
3187 (gst_controlled_property_set_interpolation_mode):
3188 * libs/gst/dataprotocol/dataprotocol.c:
3189 (gst_dp_packet_from_event_1_0):
3190 * libs/gst/net/gstnetclientclock.c:
3191 (gst_net_client_clock_observe_times):
3192 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3195 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
3198 * docs/gst/gstreamer-sections.txt:
3199 * gst/gstconfig.h.in:
3202 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
3203 whether we can use G_GNUC_PRINTF in other header files and at
3204 least check the printf format/arguments of debug messages and
3205 GST_ELEMENT_ERROR messages when the printf extension is not
3207 Replace more tabs with spaces in gstinfo.h and remove two spurious
3208 function declarations in GST_DISABLE_DEBUG part with macros.
3210 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
3212 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
3213 More docs for the sync-message signal (mention that it is not
3214 emitted by default); log message structures of messages posted on
3217 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
3219 * gst/gst.c: (ensure_current_registry_forking):
3220 Use a pipe pair to receive status results from the forked child, and
3221 ignore the result from waitpid. Fixes #355499
3223 2006-10-02 Wim Taymans <wim@fluendo.com>
3225 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3226 (gst_ghost_pad_suite):
3229 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
3232 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
3234 2006-10-02 Edward Hervey <edward@fluendo.com>
3236 * docs/design/part-block.txt:
3237 Further explain the use of flushing on blocked pads.
3238 * docs/gst/gstreamer-sections.txt:
3239 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3240 (gst_pad_push_event):
3242 Added new GstPadFlag : GST_PAD_BLOCKING.
3243 Adds the notion of pads really blocking, which enables to properly
3244 handle FLUSH_START/FLUSH_STOP events on blocked pads.
3246 API: gst_pad_is_blocking()
3247 API: GST_PAD_IS_BLOCKING() macro
3248 API: GST_PAD_BLOCKING GstPadFlag
3250 2006-10-02 Wim Taymans <wim@fluendo.com>
3252 Patch by: mrcgran <mrc.gran at gmail dot com>
3254 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
3255 Filter the proxied caps against the padtemplate if we have one.
3257 * gst/gstquery.c: (gst_query_new_segment):
3258 Add include for gstinfo.h so that compilation with
3259 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
3261 2006-10-02 Wim Taymans <wim@fluendo.com>
3263 Patch by: Alessandro Decina <alessandro at nnva org>
3265 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
3266 (gst_file_sink_set_location), (gst_file_sink_open_file),
3267 (gst_file_sink_close_file), (gst_file_sink_event),
3268 (gst_file_sink_render):
3269 Set file to NULL when closing filesink so that we can set a new filename
3270 in READY. Fixes #358613.
3272 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
3274 Patch by: Alessandro Decina <alessandro at nnva org>
3276 * gst/gstevent.c: (_gst_event_copy):
3277 Fix gst_mini_object_make_writable() and gst_event_copy() for events
3278 with event structures by setting the parent refcount address of the
3279 copied structure to the address of the refcount member of the newly
3280 copied event rather than the address of the refcount member of the
3281 original event. Fixes #358737.
3283 * tests/check/gst/gstevent.c: (GST_START_TEST):
3284 Unit test for the above.
3286 2006-09-29 Stefan Kost <ensonic@users.sf.net>
3288 * docs/design/Makefile.am:
3289 Dist some more files.
3291 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
3293 * tests/check/libs/controller.c: (GST_START_TEST),
3294 (gst_controller_suite):
3295 Add test for the previous fix; add some more tests
3296 for correct refcounting behaviour; fix a few leaks
3297 in test cases; call gst_controller_init() at start
3300 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
3302 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3303 (gst_controller_set_from_list):
3304 Don't g_return_val_if_fail() on timed values with invalid timestamps
3305 inside a critical section without unlocking the mutex. Spotted by
3306 René Stadler. (#357617)
3307 Also, fix up refcounting properly: when returning an existing
3308 controller, we should increase the reference only once and not
3309 once per property and when trying to control a property again
3310 we should also increase the refcount.
3312 2006-09-29 Wim Taymans <wim@fluendo.com>
3314 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3315 * libs/gst/net/gstnettimeprovider.c:
3316 (gst_net_time_provider_thread):
3317 Stop reading commands when EOF as well.
3319 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3320 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3321 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3322 Unify description of the dump property.
3324 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3326 * tests/examples/manual/.cvsignore:
3327 OK, so it's actually cvsignore that needs changing. Stop laughing.
3329 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3331 * tests/examples/manual/Makefile.am:
3332 Gah, declare vars *before* using them
3334 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3336 * gst/gst.c: (init_pre), (scan_and_update_registry),
3337 (ensure_current_registry_nonforking),
3338 (ensure_current_registry_forking), (ensure_current_registry),
3339 (init_post), (gst_debug_help), (gst_deinit):
3340 * gst/gst_private.h:
3341 * gst/gstregistry.c: (gst_registry_finalize),
3342 (gst_registry_remove_features_for_plugin_unlocked),
3343 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3344 (gst_registry_scan_path),
3345 (_priv_gst_registry_remove_cache_plugins),
3346 (_priv_gst_registry_cleanup):
3347 * gst/gstregistry.h:
3348 Re-commit the registry changes, along with an extra fix:
3349 When a cached plugin is encountered at a different file path,
3350 update the stored path in the registry cache so that the parent
3351 process knows where it actually is now when it re-reads the registry
3352 cache. Fixes the thing that broke distcheck with the previous commit.
3354 * tests/check/Makefile.am:
3355 Clean up files named 'core' too when running make clean.
3357 * tests/examples/manual/Makefile.am:
3358 Set up a registry path for running these tests, and clean it properly
3361 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3364 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3365 want gmodule-no-export-2.0.pc instead so that we don't drag in
3366 --export-dynamic on every project that links to GStreamer.
3368 Also, make our export regex only match the start of symbols, rather
3369 than any symbol that contains '_gst' somewhere.
3371 * libs/gst/check/Makefile.am:
3372 The libgstcheck we build does however need export-dynamic, as it
3373 produces some symbols that don't match our _gst... style regex.
3376 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3378 * gst/gst.c: (init_pre), (scan_and_update_registry),
3379 (ensure_current_registry_nonforking),
3380 (ensure_current_registry_forking), (ensure_current_registry),
3381 (init_post), (gst_debug_help), (gst_deinit):
3382 * gst/gst_private.h:
3383 * gst/gstregistry.c: (gst_registry_finalize),
3384 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3385 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3386 (_gst_registry_cleanup):
3387 * gst/gstregistry.h:
3388 Revert previous change until I figure out why it breaks distcheck.
3390 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3392 * gst/gst.c: (init_pre), (scan_and_update_registry),
3393 (ensure_current_registry_nonforking),
3394 (ensure_current_registry_forking), (ensure_current_registry),
3395 (init_post), (gst_debug_help), (gst_deinit):
3397 Make init_pre and init_post take the full complement of GOptionFunc
3398 args so they can return useful GErrors. Make the registry updating
3401 Call _priv_gst_registry_remove_cache_plugins after scanning files to
3402 ensure that the registry we're about to write out doesn't contain
3403 stale information about old-deleted plugin files.
3405 Make _priv_gst_registry_remove_cache_plugins return a boolean so
3406 that deletion of plugin files is considered a registry change.
3408 * gst/gst_private.h:
3409 * gst/gstregistry.c: (gst_registry_finalize),
3410 (gst_registry_remove_features_for_plugin_unlocked),
3411 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3412 (gst_registry_scan_path),
3413 (_priv_gst_registry_remove_cache_plugins),
3414 (_priv_gst_registry_cleanup):
3415 * gst/gstregistry.h:
3416 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3417 by adding _priv prefix, so that they won't appear in the global
3418 symbol table. They still do atm though because of #318031. Move the
3419 prototypes to gst_private.h
3421 When removing a plugin, remove all features for that plugin too.
3424 2006-09-27 Wim Taymans <wim@fluendo.com>
3426 * docs/random/moving-plugins:
3427 Make it clear that the "compiled-in descriptions" really mean
3428 the element details.
3430 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3431 (gst_base_sink_wait_preroll):
3434 * docs/libs/gstreamer-libs-sections.txt:
3435 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3436 (gst_base_src_get_range), (gst_base_src_activate_push):
3437 * libs/gst/base/gstbasesrc.h:
3438 Added function to block while waiting for PLAYING, this function
3439 is used by live sources that block on the clock.
3440 API: gst_base_src_wait_playing()
3442 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3444 Patch by: Peter Kjellerstedt <pkj at axis com>
3447 gst-element-check.m4 is generated and should therefore be
3448 copied from the build dir rather than the source dir (#357593).
3449 'make distcheck' hasn't noticed this because we were disting
3450 the file as well, so stop doing that.
3452 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3454 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3455 Add some tests for gst_caps_intersect().
3457 * tools/gst-launch.c: (event_loop):
3458 Print all buffering percentages we get, even the 100% one.
3460 2006-09-26 Wim Taymans <wim@fluendo.com>
3462 * tools/gst-inspect.c: (print_element_properties_info),
3463 (print_signal_info):
3464 Fix printing of flags to match the look of enums.
3466 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3468 * gst/gstelementfactory.c:
3469 Fix typo in docs blurb.
3471 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3473 * gst/gsturi.c: (search_by_entry):
3474 Don't assert/crash here if a uri handler doesn't return any
3475 supported protocols. The list of protocols could be generated
3476 dynamically at runtime or at plugin registration, and an error
3477 in the underlying library shouldn't be fatal (#353301).
3479 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3482 Fix warning if HAVE_PRINTF_EXTENSION is undefined
3483 (spotted by Peter Kjellerstedt).
3485 2006-09-23 Wim Taymans <wim@fluendo.com>
3487 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3489 * libs/gst/base/gstbasesrc.c:
3490 (gst_base_src_default_check_get_range), (gst_base_src_start),
3491 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3492 (gst_base_src_change_state):
3493 Match _start/_stop calls in the activate functions. Remove redundant
3494 _stop call from the state change function. Fixes #356910.
3495 Turn failure DEBUG into ERROR.
3497 2006-09-22 Wim Taymans <wim@fluendo.com>
3499 * docs/design/part-buffering.txt:
3500 * gst/gstmessage.c: (gst_message_new_buffering),
3501 (gst_message_parse_buffering):
3502 Update docs about buffering.
3504 * docs/design/part-trickmodes.txt:
3507 2006-09-22 Stefan Kost <ensonic@users.sf.net>
3509 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3510 (gst_controller_new_list):
3511 Ref instances when returning them again (fixes #357180)
3513 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
3515 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3516 Don't forget to release proxy lock when there's an error.
3518 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
3521 Add extra initialisers for Caps things, to fix some plugin warnings
3524 2006-09-18 Wim Taymans <wim@fluendo.com>
3526 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3527 Also set template on the internal pad so that a getcaps from the
3528 target pad returns the template caps.
3530 2006-09-18 Wim Taymans <wim@fluendo.com>
3532 * gst/gstelement.c: (gst_element_post_message),
3533 (gst_element_dispose):
3534 Use _DEBUG_OBJECT some more.
3536 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3539 * tools/gst-launch.c: (main):
3540 If the toplevel element is not a GstPipeline, it must be put in a
3541 pipeline so that a bus and clock is selected.
3543 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3545 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3546 JITTER, RATE, and LATENCY query should be handled by the
3547 default case and not by the CONVERT query code.
3549 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3551 * gst/gstformat.c: (gst_format_register):
3552 Fix locking order (must take lock before using n_values).
3554 * gst/gstvalue.c: (gst_value_serialize_enum),
3555 (gst_value_deserialize_enum_iter_cmp),
3556 (gst_value_deserialize_enum):
3557 Fix serialisation/deserialisation of custom registered GstFormats.
3559 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3560 Unit test for custom format serialisation/deserialisation.
3562 2006-09-17 Stefan Kost <ensonic@users.sf.net>
3564 * docs/pwg/building-boiler.xml:
3565 * plugins/elements/gstcapsfilter.c:
3566 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3569 2006-09-16 Edward Hervey <edward@fluendo.com>
3571 * libs/gst/base/gstbasetransform.c:
3572 (gst_base_transform_buffer_alloc):
3573 Check if requested caps are the same as the sinks caps IF
3574 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3576 This fixes the renegotiation issues stated in #352827.
3578 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3581 * docs/manual/advanced-autoplugging.xml:
3582 * tests/examples/Makefile.am:
3583 * tests/examples/manual/.cvsignore:
3584 * tests/examples/manual/Makefile.am:
3585 * tests/examples/manual/extract.pl:
3586 Extract the manual examples again like we used to do.
3589 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3591 * win32/common/config.h:
3594 2006-09-16 Stefan Kost <ensonic@users.sf.net>
3597 Documents how to receive errors.
3599 2006-09-15 Wim Taymans <wim@fluendo.com>
3601 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3602 (event_loop), (main):
3603 Added some comments here and there.
3604 Post an application message when an interrupt is caught instead of doing
3605 an uncontrolled state change.
3606 Clean up the event loop.
3607 Handle buffering messages, pause/resume the pipeline.
3608 Make shutdown because of an interrupt more reliable.
3610 2006-09-15 Wim Taymans <wim@fluendo.com>
3612 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3613 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3614 (gst_base_sink_preroll_object):
3615 Make sure that our internal state is correct when we commit our state
3616 asynchronously. This solves a race where a state change to PLAYING
3617 could cause the sink to remain blocked in preroll in some situations.
3619 2006-09-15 Wim Taymans <wim@fluendo.com>
3621 * tools/gst-inspect.c: (print_element_properties_info),
3622 (print_signal_info):
3623 List flags as hex so it's easier to deal with.
3625 2006-09-15 Wim Taymans <wim@fluendo.com>
3627 * docs/libs/gstreamer-libs-sections.txt:
3628 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3629 (gst_base_sink_do_sync):
3630 * libs/gst/base/gstbasesink.h:
3631 Expose logic to wait for preroll so that subclasses such as audiosink
3632 can also use this method.
3633 API: gst_base_sink_wait_preroll()
3635 2006-09-15 Wim Taymans <wim@fluendo.com>
3637 * gst/gstobject.c: (gst_object_set_parent):
3638 * gst/gstpipeline.c: (do_pipeline_seek):
3639 Small cleanups in docs and code.
3641 * gst/gstsegment.c: (gst_segment_clip):
3642 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3643 if stop == start and start is in the segment, no clipping should be
3644 done. Also add a test for this.
3646 2006-09-15 Wim Taymans <wim@fluendo.com>
3648 * docs/design/part-buffering.txt:
3649 * docs/gst/gstreamer-sections.txt:
3650 * gst/gstmessage.c: (gst_message_new_buffering),
3651 (gst_message_parse_buffering):
3653 Added methods to create and parse BUFFERING messages.
3654 Added preliminary docs about buffering.
3655 API: gst_message_new_buffering
3656 API: gst_message_parse_buffering
3658 2006-09-06 Wim Taymans <wim@fluendo.com>
3661 Update documentation.
3663 * gst/gstelement.c: (gst_element_class_init),
3664 (gst_element_release_request_pad), (gst_element_set_clock),
3665 (gst_element_get_index), (gst_element_add_pad),
3666 (gst_element_remove_pad), (gst_element_get_random_pad),
3667 (gst_element_send_event), (gst_element_get_query_types),
3668 (gst_element_query), (gst_element_post_message),
3669 (gst_element_message_full), (gst_element_continue_state),
3670 (gst_element_lost_state), (gst_element_save_thyself),
3671 (gst_element_restore_thyself):
3672 Documentation updates.
3673 Rename last bit of the new-pad -> pad-added signal rename.
3674 Fix the case where an element query would only work if the source
3676 Avoid some useless type checking in message handling.
3681 Documentation updates.
3683 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3685 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3686 add an INFO line for when we actually update the fd
3688 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3693 === release 0.10.10 ===
3695 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3698 releasing 0.10.10, "Pais"
3700 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
3702 * docs/manual/advanced-position.xml:
3703 Fix typo in sample code.
3705 2006-09-05 Wim Taymans <wim@fluendo.com>
3707 * libs/gst/net/gstnetclientclock.c: (inet_aton),
3708 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3709 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3710 * libs/gst/net/gstnetclientclock.h:
3711 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3712 * libs/gst/net/gstnettimepacket.h:
3713 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3714 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3715 (gst_net_time_provider_thread), (gst_net_time_provider_new):
3716 * libs/gst/net/gstnettimeprovider.h:
3717 Make stuff compile on windows. Fixes #345295.
3719 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3721 * gst/gst.c: (ensure_current_registry_forking):
3722 Print better details when child was terminated by signal.
3724 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3726 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3727 Print a warning rather than g_assert() if a plugin feature
3728 is a URI handler but returns no protocols (#353976).
3730 2006-09-02 Stefan Kost <ensonic@users.sf.net>
3732 * docs/random/moving-plugins:
3735 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
3737 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3738 Fix locking order, handle NULL function values properly.
3743 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3744 Initialise variable before using it and fix debug statement to
3745 print the address of the function rather than the address of the
3746 variable on the stack holding the address of the function.
3748 2006-09-01 Wim Taymans <wim@fluendo.com>
3750 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3751 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3752 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3753 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3754 (gst_ghost_pad_parent_unset),
3755 (gst_ghost_pad_internal_do_activate_push),
3756 (gst_ghost_pad_internal_do_activate_pull),
3757 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3758 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3759 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3760 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3761 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3762 (gst_ghost_pad_new_no_target_from_template),
3763 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3765 Avoid needless typechecking in macros.
3766 Since the internal pad is always present and never changes, there is
3767 no need to locking or ref when retrieving it.
3768 Improve debugging a bit.
3769 Handle link errors when setting the target. Fixes #341029.
3771 2006-09-01 Wim Taymans <wim@fluendo.com>
3773 * docs/libs/gstreamer-libs-sections.txt:
3774 * docs/plugins/gstreamer-plugins-sections.txt:
3777 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3778 (gst_collect_pads_event):
3779 * libs/gst/base/gstcollectpads.h:
3780 Documentation updates.
3781 Free queued buffer when removing a pad.
3783 2006-08-31 Michael Smith <msmith@fluendo.com>
3785 * gst/gstutils.c: (gst_element_link_pads),
3786 (gst_element_link_pads_filtered):
3787 Ensure that we set a capsfilter to NULL if we failed to link it
3788 when doing filtered linking, to avoid criticals.
3790 No need to check for unreffing srcpad, which is explicly NULLed
3791 above (a trivial code cleanup).
3793 2006-08-31 Wim Taymans <wim@fluendo.com>
3795 * docs/design/part-gstghostpad.txt:
3796 Update ascii art in documentation.
3798 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3799 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3800 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3801 (gst_ghost_pad_internal_do_activate_push),
3802 (gst_ghost_pad_internal_do_activate_pull),
3803 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3804 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3805 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3806 (gst_ghost_pad_set_target):
3807 Small cleanups and leak fixes.
3808 Remove some checks now that the internal pad is never NULL.
3809 Fix the case where linking pads without a target would create nasty
3810 criticals. Fixes #341029.
3811 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3812 value of _set_target().
3814 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3815 (gst_ghost_pad_suite):
3816 Some more tests for creating and linking untargeted ghostpads.
3818 2006-08-31 Edward Hervey <edward@fluendo.com>
3820 * docs/gst/gstreamer-sections.txt:
3821 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3822 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3823 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3824 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3825 (gst_ghost_pad_new_from_template),
3826 (gst_ghost_pad_new_no_target_from_template):
3827 * gst/gstghostpad.h:
3828 Refactored *_new() functions.
3829 Templates are now used as a g_object_new() parameter.
3830 Use template in _do_getcaps() if we don't have a target.
3831 Small documentation cleanups.
3832 Added two new constructors:
3833 gst_ghost_pad_new_from_template()
3834 gst_ghost_pad_new_no_target_from_template()
3835 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3836 (gst_ghost_pad_suite):
3837 Added tests for new ghostpad instanciation functions.
3839 API additions: gst_ghost_pad_new_from_template,
3840 gst_ghost_pad_new_no_target_from_template
3842 2006-08-30 Stefan Kost <ensonic@users.sf.net>
3844 * docs/random/ensonic/profiling.txt:
3845 Ideas about qos profiling.
3847 2006-08-29 Wim Taymans <wim@fluendo.com>
3849 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3853 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
3856 Improve and detypofy docs.
3858 * tests/check/Makefile.am:
3859 * tests/check/gst/.cvsignore:
3860 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3861 Add a basic test suite for GstXML.
3863 2006-08-29 Wim Taymans <wim@fluendo.com>
3865 * gst/gstelement.c: (activate_pads), (clear_caps),
3866 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3867 Clear the pad caps when the element shut down all of the pads and
3868 is not streaming data that could modify the caps.
3871 2006-08-28 Michael Smith <msmith@fluendo.com>
3873 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3874 Revert previous change; I misunderstood single-segment mode.
3876 2006-08-28 Michael Smith <msmith@fluendo.com>
3878 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3879 Unset DISCONT on buffers when using single-segment mode.
3881 2006-08-28 Wim Taymans <wim@fluendo.com>
3883 * gst/gstcaps.c: (gst_caps_merge_structure):
3885 Fix docs and indentation again.
3887 * tests/check/gst/gstquery.c: (GST_START_TEST):
3888 Fix leak in tests and add some more tests.
3890 2006-08-28 Edward Hervey <edward@fluendo.com>
3892 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3893 Inform GstSegment of the last stop position in order for the current
3894 segment to have a proper duration if it doesn't have a specific stop
3895 position from which a duration could be calculated.
3896 This bug was noticeable when a non-flushing, non-update new segment was
3897 followed by another segment (all buffers from the new segment were being
3900 2006-08-28 Wim Taymans <wim@fluendo.com>
3902 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3903 Small comment update.
3905 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3906 (gst_identity_transform_ip):
3907 Drop-probability is broken, mention this in the code with a
3908 FIXME and also in the property description.
3909 Make silent also be silent about the drop messages.
3911 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
3913 * docs/manual/appendix-win32.xml:
3914 Remove mention of popt, we don't depend on that any
3915 longer (#353136). Add some comments pointing out that
3916 this section is slightly outdated.
3918 2006-08-28 Wim Taymans <wim@fluendo.com>
3920 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3922 * gst/gstquery.c: (gst_query_new_segment):
3923 * tests/check/gst/gstquery.c: (GST_START_TEST):
3924 Initialize variables when creating a new segment query.
3927 2006-08-28 Wim Taymans <wim@fluendo.com>
3929 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3931 * gst/gstelement.c: (gst_element_get_bus):
3932 * tests/check/gst/gstelement.c: (GST_START_TEST):
3933 Check for NULL before _reffing the bus. Fixes #353122.
3935 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
3937 * docs/manual/basics-bus.xml:
3938 Docs update: fix wrong callback return value explanation; add
3939 some lines about the implicit relationship between main loop
3940 and main context; remove duplicate main loop variable declaration.
3942 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
3944 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3945 Don't leak caps in unit test; add a few more simple
3948 2006-08-24 Stefan Kost <ensonic@users.sf.net>
3950 * docs/gst/gstreamer-sections.txt:
3951 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3952 (gst_caps_structure_is_subset), (gst_caps_merge),
3953 (gst_caps_merge_structure):
3955 * libs/gst/base/gstbasetransform.c:
3956 (gst_base_transform_transform_caps):
3957 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3958 implement caps merging (fixes #352580)
3960 2006-08-23 Stefan Kost <ensonic@users.sf.net>
3962 * tools/Makefile.am:
3963 * tools/gst-plot-timeline.py:
3964 add debug-log plotting developer tool (#340674)
3966 2006-08-23 Wim Taymans <wim@fluendo.com>
3968 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3969 (gst_pad_stop_task):
3970 Improve debugging for task functions.
3972 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3973 (gst_task_start), (gst_task_pause), (gst_task_join):
3974 Make sure that the task function started and finished after a
3976 Don't try to push the task function on the threadpool multiple
3978 Improve the g_warning message with some useful suggestions
3979 about how to fix the problem.
3981 2006-08-23 Wim Taymans <wim@fluendo.com>
3983 * gst/gstutils.c: (gst_pad_proxy_getcaps):
3984 Handle RESYNC correctly in _proxy_getcaps.
3986 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
3988 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3989 (gst_xml_parse_memory), (gst_xml_get_element):
3990 Chain up to parent class in dispose function and also
3991 unref the elements in the toplevel_elements GList.
3992 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3993 Always return a reference in gst_xml_get_element() rather
3994 than only sometimes.
3996 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3997 Don't leak GstXml object.
3999 2006-08-21 Stefan Kost <ensonic@users.sf.net>
4001 * docs/gst/gstreamer-sections.txt:
4002 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
4005 * libs/gst/base/gstbasetransform.c:
4006 (gst_base_transform_transform_caps):
4007 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
4010 2006-08-21 Edward Hervey <edward@fluendo.com>
4012 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
4013 Implement GObject::dispose virtual method in GstXML so we can free the
4016 2006-08-21 Wim Taymans <wim@fluendo.com>
4018 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
4019 (gst_buffer_create_sub):
4020 Copy duration/offset_end/caps when creating a subbuffer of the
4022 Make the subbuffer read-only when we make the metadata writable for
4025 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4026 Added check for metadata copy when creating subbuffers.
4028 2006-08-21 Edward Hervey <edward@fluendo.com>
4030 * libs/gst/base/gstbasetransform.c:
4031 (gst_base_transform_buffer_alloc):
4032 Only call downstream buffer_alloc if transform element is passthrough
4033 or always_in_place. Closes #350449.
4035 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4038 ChangeLog surgery to add comments to previous changes
4040 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4045 * gst/gstpad.c: (gst_pad_set_active):
4046 Be more verbose in the log
4048 * libs/gst/base/gstbasetransform.c:
4049 (gst_base_transform_transform_caps):
4050 Simplify caps to get rid of duplicates, fixes #345444
4052 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4056 Use these optimizations only internally.
4058 2006-08-20 Stefan Kost <ensonic@users.sf.net>
4060 * gst/gstvalue.c: (gst_value_compare_list),
4061 (gst_value_compare_fraction_range),
4062 (gst_value_intersect_fraction_fraction_range),
4063 (gst_value_intersect_fraction_range_fraction_range),
4064 (gst_value_subtract_fraction_fraction_range),
4065 (gst_value_subtract_fraction_range_fraction_range),
4066 (gst_value_get_compare_func), (gst_value_compare),
4067 (gst_value_compare_with_func):
4069 Saves the expensive lookup of the compare function in many cases
4072 2006-08-18 Edward Hervey <edward@fluendo.com>
4074 * tests/check/gst/gstinfo.c: (gst_info_suite):
4075 Disable test that require gstdebug if it wasn't built in core.
4077 2006-08-18 Stefan Kost <ensonic@users.sf.net>
4079 * docs/random/ensonic/logging.txt:
4082 * gst/gstinfo.c: (gst_debug_log_default):
4083 reorder fields, save some columns, add optional color codes for log
4086 2006-08-18 Stefan Kost <ensonic@users.sf.net>
4088 * docs/random/ensonic/logging.txt:
4089 add ideas about making the logs a bit more useful
4091 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
4093 * docs/pwg/advanced-events.xml:
4094 * docs/pwg/titlepage.xml:
4095 Update for 0.10 API (#340627). Add myself
4098 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
4100 * docs/libs/gstreamer-libs-docs.sgml:
4101 * docs/libs/gstreamer-libs-sections.txt:
4102 * libs/gst/check/gstbufferstraw.c:
4103 Make gstcheck stuff show up in docs (still needs to
4104 be documented properly though).
4106 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
4108 * docs/gst/gstreamer-sections.txt:
4110 * gst/gst.c: (init_post):
4111 * gst/gst_private.h:
4112 * gst/gstquark.c: (_priv_gst_quarks_initialize):
4114 * gst/gstquery.c: (gst_query_new_position),
4115 (gst_query_set_position), (gst_query_parse_position),
4116 (gst_query_new_duration), (gst_query_set_duration),
4117 (gst_query_parse_duration), (gst_query_new_convert),
4118 (gst_query_set_convert), (gst_query_parse_convert),
4119 (gst_query_new_segment), (gst_query_set_segment),
4120 (gst_query_parse_segment), (gst_query_new_seeking),
4121 (gst_query_set_seeking), (gst_query_parse_seeking):
4122 Add internal helpers for pre-registering quarks from static strings
4123 and using the quark values directly instead of looking them up when
4124 creating and parsing queries. Can be used for event construction too.
4127 2006-08-16 Wim Taymans <wim@fluendo.com>
4132 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4134 * gst/gstutils.c: (gst_util_set_value_from_string):
4135 Fix memleak (#351502).
4137 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4138 Add unit test for most of gst_util_set_value_from_string()
4139 (not that one would want to encourage use of this function).
4141 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4143 * libs/gst/check/gstcheck.h:
4144 Use const gchar * variables in fail_unless_equals_string
4145 macro to avoid compiler warnings (and don't use tabs for
4148 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4150 * tools/gst-launch.c: (print_tag):
4151 More space on the left for the tag names, to cater
4152 for the 'extended comment' tag (not touching the
4153 string for the first line since it's translated).
4155 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4157 * libs/gst/check/gstcheck.h:
4158 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
4159 print something when they fail.
4161 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4163 * docs/gst/gstreamer-sections.txt:
4164 * gst/gsttaglist.c: (_gst_tag_initialize):
4166 API: add GST_TAG_EXTENDED_COMMENT (#350935).
4167 Also change merge function for GST_TAG_COMMENT to
4170 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4172 * gst/gstinfo.c: (gst_debug_print_object):
4173 Make GST_PTR_FORMAT print messages as well.
4175 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
4176 (GST_START_TEST), (gst_info_suite):
4179 2006-08-14 Edward Hervey <edward@fluendo.com>
4181 * gst/gstelementfactory.c: (gst_element_register):
4182 If the GstElementClass doesn't have a GstElementDetails with all fields
4183 filled up correctly (longname, description AND author), then error out
4184 nicely instead of crashing.
4186 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4188 * gst/gststructure.c:
4189 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
4192 Expand on the difference between arrays and lists as we use them.
4194 2006-08-14 Wim Taymans <wim@fluendo.com>
4196 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4197 If the parent state change function failed, don't assume we can safely
4198 stop the source, this will be done when the pads are deactivated.
4200 2006-08-14 Wim Taymans <wim@fluendo.com>
4203 * gst/gsttask.c: (gst_task_join):
4206 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4207 (gst_pad_stop_task):
4208 When pad (de)activation failed for some reason, restore the old
4209 activation mode and set the pad to flushing instead of assuming the
4211 If the _task_join() failed, reinstall the task on the pad so that it can
4212 be stopped later and return an error.
4214 2006-08-11 Andy Wingo <wingo@pobox.com>
4217 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4218 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
4219 is only for users of API that don't want to see deprecated
4220 functions in the headers; people that want to compile out
4221 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
4222 CFLAGS. Fixes the build of multifdsink, or will soon..
4224 2006-08-11 Wim Taymans <wim@fluendo.com>
4226 * docs/gst/gstreamer-sections.txt:
4227 Add GstClockClass vmethod docs.
4230 Mark #endif with comment for associated #if
4232 * gst/gstclock.c: (gst_clock_id_wait):
4234 Add vmethod wait_jitter to avoid an unneeded _get_time() for
4235 most clock implementations.
4237 Flesh out docs about resolution methods.
4238 API: GstClockClass::wait_jitter
4240 * gst/gstsystemclock.c: (gst_system_clock_class_init),
4241 (gst_system_clock_async_thread),
4242 (gst_system_clock_id_wait_jitter_unlocked),
4243 (gst_system_clock_id_wait_jitter):
4244 Use base class wait_jitter variant for improved performance
4245 due to less clock polling.
4247 2006-08-11 Edward Hervey <edward@fluendo.com>
4249 * gst/gst.c: (gst_init_check), (init_post):
4250 Set gst as being initialized before scanning/updating the registry,
4251 since there might be my python plugin loader that calls gst_init() and
4252 we don't want to loop back in.
4255 2006-08-11 Wim Taymans <wim@fluendo.com>
4257 * docs/design/part-qos.txt:
4258 Bring docs in line with the code. Mostly the sign of the jitter was
4259 wrong in the docs. Fixes #349943.
4262 Fix the docs for the jitter.
4264 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
4265 (gst_event_parse_tag), (gst_event_new_buffer_size),
4266 (gst_event_parse_buffer_size), (gst_event_parse_qos),
4267 (gst_event_new_seek), (gst_event_parse_seek),
4268 (gst_event_new_navigation):
4269 Make sure the GstStructure has no parent when creating custom
4271 Add some more argument checking so that we avoid 0.0 rates.
4272 Flesh out the docs for the QoS event some more.
4274 2006-08-11 Wim Taymans <wim@fluendo.com>
4276 * docs/gst/gstreamer-sections.txt:
4277 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4278 (ensure_current_registry_forking), (ensure_current_registry),
4279 (parse_one_option), (parse_goption_arg), (gst_deinit),
4280 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
4283 Added API and command line option to disable registry forking in
4284 addition to the environment variable.
4285 Constify some static arrays.
4286 Added some more debug.
4288 API: gst_registry_fork_is_enabled()
4289 API: gst_registry_fork_set_enabled()
4290 API: --gst-disable-registry-fork command line option
4293 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
4295 * gst/gst.c: (gst_init):
4296 Fix typo in error message.
4298 2006-08-10 Stefan Kost <ensonic@users.sf.net>
4300 * libs/gst/controller/gstcontroller.h:
4301 fix ABI size-correction
4303 * tests/check/libs/gdp.c: (gst_dp_suite):
4304 make tests that use deprecated API conditional
4306 2006-08-10 Stefan Kost <ensonic@users.sf.net>
4308 * docs/libs/gstreamer-libs-sections.txt:
4309 * libs/gst/controller/gstcontroller.c:
4310 (_gst_controller_get_property), (_gst_controller_set_property),
4311 (_gst_controller_init), (_gst_controller_class_init):
4312 * libs/gst/controller/gstcontroller.h:
4313 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
4314 (gst_object_set_control_rate):
4315 API: add gst_object_{s,g}et_control_rate(), add private data section,
4318 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4319 * libs/gst/dataprotocol/dataprotocol.h:
4320 add deprecation guards to make gtk-doc happy and allow disabling cruft
4322 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
4324 * tests/check/Makefile.am:
4325 * tests/check/gst/.cvsignore:
4326 Let's enable the new unit test as well.
4328 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
4331 * docs/gst/gstreamer-sections.txt:
4332 * gst/gstconfig.h.in:
4333 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
4334 (_gst_info_printf_extension_ptr),
4335 (_gst_info_printf_extension_segment):
4336 API: add GST_SEGMENT_FORMAT, which is a printf extension we
4337 register that lets us easily dump GstSegments into debug
4340 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
4341 (info_segment_format_printf_extension), (gst_info_suite):
4342 Add simple unit test that logs a bunch of different segments (not
4343 valgrinded at the moment because of leaks in
4344 gst_debug_add_log_function).
4346 2006-08-09 Edward Hervey <edward@fluendo.com>
4348 * libs/gst/base/gstbasetransform.c:
4349 (gst_base_transform_buffer_alloc):
4350 Even if we can't figure out the proper format to request downstream,
4351 call buffer_alloc() downstream with the input parameters without setting
4352 the caps on the srcpad. This will force negotiation in the chain
4356 2006-08-08 Edward Hervey <edward@fluendo.com>
4358 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4359 Unlinking from a pad without a target is now a perfectly valid case
4360 which should NOT raise an assertion.
4361 This case would happen if a linked ghostpad its target set to NULL after
4362 it was previously linked.
4364 2006-08-08 Edward Hervey <edward@fluendo.com>
4366 * tests/check/libs/gdp.c:
4367 Also comment out the test (see below).
4369 2006-08-08 Edward Hervey <edward@fluendo.com>
4371 * tests/check/libs/gdp.c: (gst_dp_suite):
4372 Use the architecture information from config.h and not gcc macros
4373 in order to properly disable a test that fails on PPC64.
4375 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
4377 * gst/gstelement.c: (gst_element_remove_pad):
4378 Don't crash printing the warning if the pad has no parent.
4380 2006-08-02 Wim Taymans <wim@fluendo.com>
4382 * libs/gst/dataprotocol/dataprotocol.c:
4383 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4384 (gst_dp_crc), (gst_dp_header_payload_length),
4385 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4386 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4387 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4388 (gst_dp_event_from_packet), (gst_dp_validate_header),
4389 (gst_dp_validate_payload):
4390 Make debug category static
4391 Constify the crc table.
4392 Do some more arg checking in public functions.
4393 Fix some docs and do some small cleanups.
4395 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4396 Add some more checks to see if GDP deals with bogus input.
4398 2006-07-31 Wim Taymans <wim@fluendo.com>
4400 * gst/gstvalue.c: (gst_value_compare_list):
4401 Fix GstValueList comparison code. Fixes #347293.
4403 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4404 Check to test GstValueList comparison.
4406 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4408 * gst/gstelementfactory.c: (gst_element_factory_create):
4409 Remove unnecessary ref/unref pair
4411 * gst/parse/grammar.y:
4412 Make sure to free the parse buffer on all code paths.
4413 Move a g_free up to the error handler where it's easier to see.
4415 * tests/check/gst/gstevent.c: (test_event):
4416 Extending timeout for downstream travelling events to 10 seconds to
4417 hopefully avoid intermittent failure on the buildbots.
4419 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4420 Don't manually set the state of the src element - it will happen as a
4421 natural consequence of the pipeline changing state, and that way it
4422 will do it in the right order too.
4424 2006-07-31 Wim Taymans <wim@fluendo.com>
4426 * libs/gst/base/gstbasetransform.c:
4427 (gst_base_transform_buffer_alloc):
4428 Use OBJECT_LOCK and refcounting to get the pad caps in the
4429 buffer_alloc function because the caps could change while we are
4430 busy with them. Fixes #349105
4432 2006-07-31 Wim Taymans <wim@fluendo.com>
4434 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4435 Protect _PAD_CAPS with OBJECT_LOCK.
4437 2006-07-31 Wim Taymans <wim@fluendo.com>
4439 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4440 (gst_pad_get_property), (gst_pad_activate_pull),
4441 (gst_pad_activate_push), (gst_pad_set_blocked_async),
4442 (gst_pad_set_activate_function),
4443 (gst_pad_set_activatepull_function),
4444 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4445 (gst_pad_set_getrange_function),
4446 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4447 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4448 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4449 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4450 (gst_pad_set_acceptcaps_function),
4451 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4452 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4453 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4454 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4455 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4456 (gst_pad_configure_sink), (gst_pad_configure_src),
4457 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4458 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4459 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4460 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4461 (gst_pad_send_event):
4462 Use _DEBUG_OBJECT when it makes sense.
4463 Protect GST_PAD_CAPS with the OBJECT_LOCK.
4464 Small cleanups and code reflows.
4465 Avoid caps refcounting in _accept_caps.
4466 Refactor alloc_buffer so that the code performed on the peer is in a
4467 separate function. Also if the pad does not implement a buffer alloc
4468 function, we should still check if the pad is flushing before falling
4469 back to the default allocator.
4471 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4473 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4474 Make all uses of identity and fakesink have silent=true to avoid
4475 serialising every passing data structure, which is breaking tests
4476 on FC4 for some unknown reason.
4478 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4480 * gst/parse/Makefile.am:
4481 * gst/parse/grammar.y:
4482 * gst/parse/parse.l:
4483 Reverted previous patch as it required to bump the flex dependency to
4484 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4486 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4488 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4490 * gst/parse/Makefile.am:
4491 * gst/parse/grammar.y:
4492 * gst/parse/parse.l:
4493 push & pop the state of the lexer for reentrant use case
4496 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
4498 * libs/gst/base/gstbasesrc.h:
4499 Note in the docs that the ::newsegment vfunc is not actually used by
4502 2006-07-28 Wim Taymans <wim@fluendo.com>
4504 * libs/gst/base/gstcollectpads.c:
4505 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4506 (gst_collect_pads_clear), (gst_collect_pads_flush),
4507 (gst_collect_pads_event), (gst_collect_pads_chain):
4508 When flushing a pad, also clear the queued buffer so that we don't
4509 accidentally use it when we shouldn't.
4510 Fix leaks by inreffing incomming buffer.
4511 Flush out queued buffers in case of errors.
4514 2006-07-28 Wim Taymans <wim@fluendo.com>
4516 * docs/random/phonon-gst:
4517 Random notes about a Phonon backend.
4519 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4521 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4523 * tests/check/libs/gdp.c: (gst_dp_suite):
4524 Take a whack at fixing the ppc compile using a different define to
4525 disable the broken test.
4527 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4528 Remove excess g_print()
4530 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4532 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4533 Oops, meant to uncomment this line too to dampen the noise a bit.
4535 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4537 * gst/parse/grammar.y:
4538 * gst/parse/parse.l:
4539 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4540 (GST_START_TEST), (parse_suite):
4541 Fix some of the leaks exposed by extending the parse-launch testsuite,
4542 and move the 3 I can't figure out into a separate test that won't run
4543 the pipelines unless the appropriate line is uncommented.
4545 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4547 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4548 Requesting 0 bytes before the end of the file should result in
4549 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4552 2006-07-27 Wim Taymans <wim@fluendo.com>
4554 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4555 Fix useless assert, a uint is always positive.
4557 * gst/gststructure.c: (gst_structure_nth_field_name),
4558 (gst_structure_foreach), (gst_structure_map_in_place):
4559 Check input arguments for public functions to avoid obvious crashes.
4561 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4562 * plugins/elements/gstfakesink.h:
4563 Do less useless typechecking.
4565 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4567 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4568 Do not use mmap() by default since there are a number of error
4569 conditions that we would like to handle in a non-fatal way that
4570 will result in a SIGBUS if we use mmap(). Examples: external
4571 devices (USB harddrive, portable music player) being unplugged
4572 while in use; file on mounted CD/DVD that can't be read because
4573 the medium is partly damaged. Fixes #348455 and #348475.
4575 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4578 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4581 2006-07-26 Stefan Kost <ensonic@users.sf.net>
4583 * gst/gstregistry.c:
4584 Move big documentation comment into class section header, so that it
4585 appears in the API docs.
4587 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4589 * docs/gst/gstreamer-sections.txt:
4590 Oops. Commit the docs additions too for new API.
4591 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4593 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4595 * gst/gststructure.c: (gst_structure_id_set),
4596 (gst_structure_id_set_valist):
4597 * gst/gststructure.h:
4598 Add API for setting values into structures without performing
4599 a quark lookup, if the appropriate quark is already known.
4601 API: gst_structure_id_set
4602 API: gst_structure_id_set_valist
4604 * gst/parse/grammar.y:
4605 * gst/parse/parse.l:
4606 Remove some dead code shown by the coverage information.
4607 Don't throw a critical g_warning when encountering a syntax error,
4608 just warn and let the normal error path handle it.
4610 * plugins/elements/gstelements.c:
4611 Bump the rank of filesink up to PRIMARY so that it is preferred over
4612 gnomevfssink for file:// sink uri's
4614 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4615 (GST_START_TEST), (run_delayed_test),
4616 (gst_parse_test_element_base_init),
4617 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4618 (gst_parse_test_element_change_state),
4619 (gst_register_parse_element), (parse_suite):
4620 Beef up the tests for parse syntax to check that more error cases
4621 fail as they are supposed to. Increases the test coverage a bit.
4623 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
4625 * docs/manual/basics-elements.xml:
4626 Fix gst_element_link() example.
4629 Mention in API docs that one should usually gst_bin_add()
4630 elements to a bin or pipeline before doing the linking.
4632 2006-07-26 Wim Taymans <wim@fluendo.com>
4634 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4635 (gst_subbuffer_get_type), (gst_buffer_create_sub):
4636 Avoid function call for known types by keeping the buffer and
4637 subbuffer GType global.
4639 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4640 Random silly optimisations in read() path.
4642 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4644 * tools/gst-launch.c: (main):
4645 If the top-level of the parse is a normal bin, it doesn't do the
4646 right logic to run as a top-level element, so place it inside a
4649 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
4651 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4652 Remove superfluous g_object_notify() calls, GObject does
4653 that for us automatically.
4655 2006-07-25 Stefan Kost <ensonic@users.sf.net>
4658 on Win32, use dllspec to export the debug category symbols
4660 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
4662 * gst/gsttaglist.c: (_gst_tag_initialize):
4663 Allow more than one GST_TAG_IMAGE per taglist.
4665 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
4667 * gst/gstminiobject.c:
4669 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4670 (gst_fd_src_create):
4671 log recurring events at LOG level
4672 add more debug for when the fd gets set
4674 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4676 * gst/gstparse.c: (gst_parse_launch):
4677 Also remove reentrance checks if flex is MT safe (#348179)
4678 Fix my empty ChangeLog entry below
4680 2006-07-21 Andy Wingo <wingo@pobox.com>
4682 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4684 * libs/gst/check/Makefile.am
4685 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4686 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
4687 * libs/gst/check/gstbufferstraw.h:
4688 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4689 functions, thus proving I am still a GStreamer haxor. OK I wrote
4690 them a long time ago, but anyways.
4692 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4695 * gst/gstparse.c: (gst_parse_launch):
4696 Check for flex version and omit mutex if we have a MT save flex
4699 2006-07-21 Wim Taymans <wim@fluendo.com>
4701 * gst/gstparse.c: (gst_parse_launch):
4702 Protect recursive calls to _parse with a recursive mutex
4705 2006-07-21 Wim Taymans <wim@fluendo.com>
4707 * tests/check/gst/gstpad.c: (GST_START_TEST):
4710 2006-07-20 Stefan Kost <ensonic@users.sf.net>
4712 * gst/gstparse.c: (gst_parse_launch):
4713 Do not hang on recursive usage of gst_parse_launch()
4715 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4718 Add some more docs, comments and FIXME 0.11s here and there
4719 and also fix some typos.
4721 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4724 Convert tabs to spaces for better readability.
4726 2006-07-20 Edward Hervey <edward@fluendo.com>
4728 * tests/check/libs/gdp.c: (gst_dp_suite):
4729 the test_buffer test fails at line 140 on ppc64 at the following
4731 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4732 GST_BUFFER_FLAG_IN_CAPS),
4733 "GST_BUFFER_IN_CAPS flag should have been copied !");
4734 See bug #348114 for more details.
4736 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
4738 * docs/pwg/advanced-scheduling.xml:
4740 Fix typos (#348000).
4742 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
4744 * docs/pwg/intro-basics.xml:
4745 Fix wrong links (#347927).
4747 2006-07-18 Stefan Kost <ensonic@users.sf.net>
4749 * gst/gstregistry.h:
4750 * gst/gstregistryxml.c: (load_feature),
4751 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4752 * win32/common/config.h:
4753 make --disable-index work (#342564)
4755 2006-07-18 Wim Taymans <wim@fluendo.com>
4757 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4761 The attached patch adds two missing defines to gsttrace.h when tracing
4762 is disabled. It also corrects one existing define.
4765 2006-07-17 Wim Taymans <wim@fluendo.com>
4767 * docs/gst/gstreamer-sections.txt:
4768 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4770 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4771 Add two functions to check and change the SIGSEGV behaviour
4772 when loading plugins.
4773 Don't mess with the SIGSEGV handler when we were told not to.
4775 API: gst_segtrap_is_enabled
4776 API: gst_segtrap_set_enabled
4778 2006-07-14 Wim Taymans <wim@fluendo.com>
4780 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4781 * tests/check/elements/filesrc.c: (GST_START_TEST):
4782 Revert fix for regression in #347408 after release.
4784 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
4786 Patch by: Antoine Tremblay <hexa00 at gmail com>
4788 * gst/gstutils.c: (gst_element_unlink):
4789 Free iterator when done (#347311).
4791 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4792 And add a test case for this.
4794 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
4797 Bump nano back to CVS
4799 === release 0.10.9 ===
4801 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
4804 releasing 0.10.9, "On the road again"
4806 2006-07-13 Wim Taymans <wim@fluendo.com>
4808 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4809 * tests/check/elements/filesrc.c: (GST_START_TEST):
4810 Revert pull-0 fix for release. Disable check. Fixes #347408.
4812 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4814 * libs/gst/dataprotocol/dataprotocol.c:
4815 (gst_dp_event_from_packet_1_0):
4816 Fixes #347337: failure to deserialize event packets with
4817 empty payload (only event type)
4819 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4822 do not install a .c file in the header directory
4824 2006-07-13 Edward Hervey <edward@fluendo.com>
4826 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4827 GhostPad no longer implicitely use the padtemplates of the targets.
4830 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
4832 * gst/gstvalue.c: (gst_value_compare_list),
4833 (gst_value_compare_array), (_gst_value_initialize):
4834 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4835 Make GstValueArray comparison be order dependent as designed.
4836 Add checks for value lists and value array comparisons.
4839 2006-07-11 Edward Hervey <edward@fluendo.com>
4841 * gst/gstbin.c: (activate_pads),
4842 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4843 (gst_bin_change_state_func):
4844 (de)activate src pads before calling state_change on the childs.
4845 This is to avoid the case where a src ghostpad is blocked (holding the
4846 stream lock), which would block the deactivation of the ghostpad's
4848 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4849 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4850 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4851 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4852 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4853 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4854 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4855 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4856 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4857 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4858 (gst_ghost_pad_class_init),
4859 (gst_ghost_pad_internal_do_activate_push),
4860 (gst_ghost_pad_internal_do_activate_pull),
4861 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4862 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4863 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4864 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4865 GhostPads now create their internal GstProxyPad at creation (and not
4866 when they're linked, as it was being done previously).
4867 The internal and target pads are linked straight away.
4868 The data will also travel through the other pad in order to make
4869 pad blocking and probes non-hackish (the probe/block now really happens
4870 on the GhostPad and not on the target).
4871 * gst/gstpad.c: (gst_pad_set_blocked_async),
4872 (gst_pad_link_prepare), (gst_pad_push_event):
4873 Remove previous ghostpad cruft.
4874 * gst/gstutils.c: (gst_pad_add_data_probe),
4875 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4876 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4877 (gst_pad_remove_buffer_probe):
4878 Remove previous ghost pad cruft.
4879 Added more detailed debug statements.
4880 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4881 Fix the testsuite for refcounting changes.
4882 The comments about who has references were correct, but the refcount
4883 being checked wasn't the same (!?!).
4887 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4889 * docs/gst/gstreamer-sections.txt:
4890 * gst/gstconfig.h.in:
4891 More docs for configuration options, add docs to gtk-doc.
4893 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4896 * gst/gstconfig.h.in:
4897 * win32/common/config.h:
4898 Fix build when disabling tracing (fixes #344016). Also start to document
4899 the defines that disable the sub-systems.
4901 2006-07-10 Edward Hervey <edward@fluendo.com>
4903 * gst/gst.c: (ensure_current_registry_forking):
4904 let's make valgrind happy...
4906 2006-07-09 Wim Taymans <wim@fluendo.com>
4908 * gst/gstelement.c: (activate_pads),
4909 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4910 Better pad activation code: Reset the collect value too on resync.
4913 2006-07-09 Wim Taymans <wim@fluendo.com>
4915 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4916 (gst_pad_activate_push):
4917 Use some more macros where it makes sense.
4918 Allow pad mode switching instead of asserting. When a pad
4919 is activated in one mode and we activate it in another,
4920 deactivate it first before activating it in a different mode.
4923 2006-07-08 Andy Wingo <wingo@pobox.com>
4925 * tools/gst-launch.c (main): Handle err == NULL.
4927 * gst/gst.c (init_post, ensure_current_registry)
4928 (ensure_current_registry_forking)
4929 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4930 factoring out the registry scanning into separate functions. Don't
4931 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4932 Better environment var name/interface suggestions accepted.
4934 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4936 * gst/gstobject.c: (gst_object_set_name_default),
4937 (gst_object_set_name):
4938 Random micro-optimisation: don't use a hash table
4939 with strings as keys and the usual strdup/strcmp
4940 involved, but rather just use the GQuark of the
4941 type name as key, since it needs to be looked up
4942 anyway to get the type name string.
4944 * tests/check/gst/gstobject.c: (GST_START_TEST):
4947 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4949 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4950 (gst_bin_iterate_all_by_interface):
4951 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4952 GTypes are gulongs and thus the top 4 bytes might be cut
4953 off on some platforms when doing GPOINTER_TO_INT, leading
4954 to invalid GTypes and bad things happening (see RH bug #179654).
4955 Also add a check to make sure the type passed in is really
4958 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4963 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4967 * gst-element-check.m4:
4968 * gst-element-check.m4.in:
4969 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4970 instead of the unversioned gst-inspect (#324176, #168659).
4972 2006-07-06 Wim Taymans <wim@fluendo.com>
4975 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4978 2006-07-06 Wim Taymans <wim@fluendo.com>
4980 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4981 (gst_base_src_wait), (gst_base_src_update_length),
4982 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4983 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4984 (gst_base_src_loop), (gst_base_src_start),
4985 (gst_base_src_activate_pull):
4987 blocksize == 0 now means the default blocksize when working in push
4989 Remove some pointless asserts in _wait function.
4990 Fix offset/length calculations and EOS handling. We can now pull 0
4991 bytes as well, which is allowed.
4992 use _check_get_range() to decide if we can operate in _pull based
4994 Fix refcounting leak when check_get_range function was not
4996 API GstBaseSrc::blocksize range can be 0 too now (default)
4998 * tests/check/elements/filesrc.c: (GST_START_TEST),
5000 Added check to test _get_range() behaviour.
5002 2006-07-06 Wim Taymans <wim@fluendo.com>
5004 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5005 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
5006 (gst_pad_pull_range):
5008 Lots of comments and docs added to the pad functions.
5009 Flesh out the expected behaviour of the get_range() functions.
5011 2006-07-06 Wim Taymans <wim@fluendo.com>
5016 * gst/gstiterator.h:
5020 Remove comma at end of enumerator list.
5022 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
5024 * win32/common/libgstbase.def:
5025 * win32/common/libgstdataprotocol.def:
5026 * win32/common/libsgtreamer.def:
5027 Add new exported functions.
5029 2006-07-05 Wim Taymans <wim@fluendo.com>
5031 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
5032 Add some more docs here and there.
5034 2006-07-05 Wim Taymans <wim@fluendo.com>
5036 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
5037 (gst_base_sink_loop), (gst_base_sink_get_position):
5038 When operating in pull mode update the offset so that we
5041 2006-07-05 Wim Taymans <wim@fluendo.com>
5043 * gst/gstregistryxml.c: (read_string):
5044 Avoid strdup. (will happen in libxml, but hey!)
5049 2006-07-05 Wim Taymans <wim@fluendo.com>
5051 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
5052 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
5054 No point in checking if the size of the subbuffer > 0, the
5055 code handles it correclty as demonstrated by unit test.
5056 Also add a unit test for the zero sized _new_and_alloc and
5057 _copy. Fixes #346663.
5059 2006-07-05 Wim Taymans <wim@fluendo.com>
5061 * libs/gst/base/gstbasetransform.c:
5062 (gst_base_transform_prepare_output_buffer),
5063 (gst_base_transform_buffer_alloc),
5064 (gst_base_transform_handle_buffer):
5065 Make sure the buffer we pass to transform_ip has a refcount of
5066 1 and thus is writable. Fixes #343196
5068 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
5070 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5071 (gst_file_src_init), (gst_file_src_set_property),
5072 (gst_file_src_get_property), (gst_file_src_map_region):
5073 * plugins/elements/gstfilesrc.h:
5074 Add "sequential" property, off by default, to use madvise and hint
5075 to the kernel that sequential access is desired.
5076 Touch all retrieved pages by default to ensure they are pulled
5077 into memory. (Closes #345720)
5079 2006-07-03 Wim Taymans <wim@fluendo.com>
5081 * docs/design/part-block.txt:
5082 * docs/design/part-dynamic.txt:
5085 2006-07-03 Wim Taymans <wim@fluendo.com>
5087 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
5088 (gst_caps_unref), (gst_static_caps_get),
5089 (gst_caps_append_structure):
5090 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
5091 Use GSlice when the glib we build against is >= 2.10
5093 2006-07-03 Wim Taymans <wim@fluendo.com>
5095 * gst/gstelement.c: (gst_element_pads_activate):
5096 Small cleanup in pad activation code.
5098 2006-07-03 Wim Taymans <wim@fluendo.com>
5100 Patch by: Peter Kjellerstedt <pkj at axis dot com>
5102 * gst/gst-i18n-app.h:
5103 * gst/gst-i18n-lib.h:
5104 * tools/gst-inspect.c: (print_signal_info):
5105 The attached patch will make the inclusion of gettext.h unconditional in
5106 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
5107 libintl.h in tools/gst-inspect.c.
5108 This allows use of --disable-nls again and fixes #344642.
5110 2006-07-03 Edward Hervey <edward@fluendo.com>
5112 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
5113 Implement pad blocking on events according to part-block.txt.
5114 More comments on behaviour.
5115 * tests/check/gst/gstevent.c: (test_event):
5116 Send event to peer pad of blocked pad (else it will block).
5118 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5120 * libs/gst/check/gstcheck.c: (gst_check_message_error),
5121 (gst_check_run_suite):
5122 if we get the wrong message, give us the types as string
5123 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5125 * tests/check/elements/filesrc.c: (GST_START_TEST):
5126 add a test for trying to open a non-existing file
5128 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5130 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5131 add a test for adding self
5133 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5135 * libs/gst/check/gstcheck.h:
5136 add some assert_ as alias for fail_unless_*
5137 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
5138 increase test coverage
5140 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5143 include lcov.mak for lcov coverage generation
5144 * tools/Makefile.am:
5147 2006-07-02 Edward Hervey <edward@fluendo.com>
5149 * tests/check/elements/.cvsignore:
5152 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5155 don't set CFLAGS and friends for gcov, done from GST_GCOV now
5156 * tests/check/Makefile.am:
5159 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5161 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
5162 remove gst_caps_simplify; it was not declared and not used
5163 and deprecated in 0.8
5165 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5167 * docs/faq/gst-uninstalled:
5168 don't put empty paths on PYTHONPATH
5169 * docs/gst/gstreamer-sections.txt:
5170 remove some symbols that are not there
5172 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5174 * gst/gstcaps.c: (gst_caps_compare_structures):
5176 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5177 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5180 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5182 * libs/gst/dataprotocol/Makefile.am:
5183 build dataprotocol test by linking to the lib, instead of
5184 compiling the source, so we get coverage
5185 * tests/check/Makefile.am:
5186 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
5187 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
5188 add a test for filesrc
5190 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5192 * tests/check/gst/gststructure.c: (GST_START_TEST),
5193 (gst_structure_suite):
5194 Push coverage from 59.04% to 70.00%
5196 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5198 * tests/check/Makefile.am:
5199 gst-inspect every element; this makes sure that we also get
5200 coverage on element's get/set functions
5202 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5205 set CFLAGS and friends to -O0 if gcov is being used
5208 * libs/gst/base/Makefile.am:
5209 * libs/gst/check/Makefile.am:
5210 * libs/gst/controller/Makefile.am:
5211 * libs/gst/dataprotocol/Makefile.am:
5212 * libs/gst/net/Makefile.am:
5213 * plugins/elements/Makefile.am:
5214 * plugins/indexers/Makefile.am:
5215 add makefile rules to generate gcov data and clean up
5216 * tests/check/Makefile.am:
5217 add a coverage target that generates an html overview
5220 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5222 * tests/check/elements/fakesink.c:
5223 * tests/check/elements/fakesrc.c:
5224 * tests/check/elements/fdsrc.c:
5225 * tests/check/elements/identity.c:
5226 * tests/check/generic/sinks.c: (gst_sinks_suite):
5227 * tests/check/generic/states.c:
5228 * tests/check/gst/gst.c:
5229 * tests/check/gst/gstabi.c:
5230 * tests/check/gst/gstbin.c:
5231 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
5232 * tests/check/gst/gstbus.c: (gst_bus_suite):
5233 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5234 * tests/check/gst/gstelement.c:
5235 * tests/check/gst/gstevent.c: (gst_event_suite):
5236 * tests/check/gst/gstghostpad.c:
5237 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
5238 * tests/check/gst/gstmessage.c: (gst_message_suite):
5239 * tests/check/gst/gstminiobject.c:
5240 * tests/check/gst/gstobject.c:
5241 * tests/check/gst/gstpad.c:
5242 * tests/check/gst/gstpipeline.c:
5243 * tests/check/gst/gstplugin.c:
5244 * tests/check/gst/gstquery.c: (gst_query_suite):
5245 * tests/check/gst/gstsegment.c: (gst_segment_suite):
5246 * tests/check/gst/gststructure.c:
5247 * tests/check/gst/gstsystemclock.c:
5248 * tests/check/gst/gsttag.c:
5249 * tests/check/gst/gsttask.c: (gst_task_suite):
5250 * tests/check/gst/gstutils.c:
5251 * tests/check/gst/gstvalue.c:
5252 * tests/check/libs/adapter.c:
5253 * tests/check/libs/basesrc.c:
5254 * tests/check/libs/collectpads.c:
5255 * tests/check/libs/controller.c:
5256 * tests/check/libs/gdp.c: (gst_dp_suite):
5257 * tests/check/libs/gstnetclientclock.c:
5258 * tests/check/libs/gstnettimeprovider.c:
5259 * tests/check/libs/libsabi.c: (libsabi_suite):
5260 * tests/check/libs/typefindhelper.c:
5261 * tests/check/pipelines/cleanup.c:
5262 * tests/check/pipelines/parse-launch.c:
5263 * tests/check/pipelines/simple-launch-lines.c:
5264 * tests/check/pipelines/stress.c: (stress_suite):
5267 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5269 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
5270 * libs/gst/check/gstcheck.h:
5271 create a macro and function so that the simple unit test
5272 case can be just one macro to create main()
5274 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
5276 * gst/gstbin.c: (gst_bin_restore_thyself):
5277 * gst/gstxml.c: (gst_xml_make_element):
5278 Fix deserialisation from XML. Set parent manually
5279 instead of using gst_bin_add(), since gst_bin_add()
5280 will unlink all pads of the element being added.
5283 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
5285 Patch by: Peter Kjellerstedt <pkj at axis com>
5287 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
5288 Fix missing g_strdup() and double free when using the
5289 --gst-plugin-load command line option (#346097).
5291 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
5294 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
5296 * libs/gst/net/gstnetclientclock.c:
5297 * libs/gst/net/gstnettimeprovider.c:
5298 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
5300 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
5302 * docs/manual/advanced-dataaccess.xml:
5303 Fix buffer probe example compilation in
5306 2006-06-22 Edward Hervey <edward@fluendo.com>
5308 * gst/gstelement.c: (gst_element_pads_activate):
5309 We need to deactivate src pads first and then sink pads.
5310 The reason is the src pads might be blocking while holding the streaming
5311 lock, so we need to deactivate them first so that deactivating the sink
5312 pads doesn't block (since it will require the streaming lock).
5314 2006-06-22 Wim Taymans <wim@fluendo.com>
5316 * libs/gst/base/gstbasetransform.c:
5317 (gst_base_transform_buffer_alloc):
5318 Forgot to remove two unneeded unrefs.
5319 Simplify a check _is_equal allready checks the obvious case.
5321 2006-06-22 Wim Taymans <wim@fluendo.com>
5323 * docs/design/part-block.txt:
5324 Some docs about what pad_block should do.
5326 2006-06-22 Wim Taymans <wim@fluendo.com>
5328 * gst/gstcaps.c: (gst_caps_replace):
5329 Fix crasher when passed NULL. Doc clarification.
5330 Optimize for the trivial case.
5332 * gst/gstpipeline.c: (gst_pipeline_change_state):
5335 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5336 Small documentation cleanup.
5338 * libs/gst/base/gstbasetransform.c:
5339 (gst_base_transform_buffer_alloc):
5340 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
5341 is what we need and it avoids a whole lot of redundant
5342 refcount operations.
5344 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
5346 Patch by: Philip Jägenstedt <philip at lysator liu se>
5348 * docs/manual/advanced-dataaccess.xml:
5349 Fix 'Embedding static elements' section to use
5350 GST_PLUGIN_DEFINE_STATIC (#345607).
5352 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5354 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5355 Attempt to 'fix' spuriously failing test case: it seems like the
5356 timeout of half a second is simply too small when the system is under
5357 load otherwise, and the timeout doesn't really seem to serve any
5358 particular purpose here. Give the pipeline a few seconds to preroll
5359 first, and then give it another half a second to go from PAUSED to
5360 PLAYING and marshal the message into the main thread.
5362 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5364 * tools/gst-feedback-m.m:
5365 Don't only use unversioned tools, try versioned tools as well
5368 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5370 * gst/gstbus.c: (gst_bus_class_init):
5371 Fix some typos, make docs more explicit.
5373 2006-06-20 Wim Taymans <wim@fluendo.com>
5375 * tests/check/gst/gstghostpad.c: (block_callback),
5376 (GST_START_TEST), (gst_ghost_pad_suite):
5377 Added some more ghostpad tests, mainly blocking
5380 2006-06-16 Wim Taymans <wim@fluendo.com>
5382 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5383 (gst_file_sink_close_file), (gst_file_sink_do_seek),
5384 (gst_file_sink_event), (gst_file_sink_render):
5385 * plugins/elements/gstfilesink.h:
5386 Check if we can seek in the file instead of assuming
5387 we always can. Post an error when we are asked to seek in a
5388 non-seekable file (like a fifo). Fixes #343312.
5391 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5393 * tools/gst-launch.1.in:
5394 Un-garble (fourcc) bit in filtered caps section.
5396 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5398 * docs/manual/advanced-autoplugging.xml:
5399 * docs/manual/basics-helloworld.xml:
5400 * docs/manual/highlevel-components.xml:
5401 Don't leak bus reference in sample code.
5403 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
5406 Add default for new --enable-plugin-docs switch.
5409 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5413 Use new ENABLE_PLUGIN_DOCS conditional.
5415 2006-06-14 Wim Taymans <wim@fluendo.com>
5417 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5418 Make it clear with a FIXME and a real define what the #if 0
5419 previously disabled.
5421 2006-06-14 Wim Taymans <wim@fluendo.com>
5423 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5424 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5425 * libs/gst/base/gstbasetransform.c:
5426 (gst_base_transform_sink_eventfunc):
5427 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5428 Don't randomly and silently reset a segment when the format
5429 changes as this is a bug somewhere upstream. Fixes #330379.
5431 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
5433 Patch by: Wouter Paesen <wouter at kangaroot net>
5435 * libs/gst/controller/gstcontroller.c:
5436 (gst_controlled_property_new):
5437 Fix controlling of float properties (#344849).
5439 * tests/check/libs/controller.c:
5440 (gst_test_mono_source_get_property),
5441 (gst_test_mono_source_set_property),
5442 (gst_test_mono_source_class_init), (GST_START_TEST):
5443 While we're at it, add some float stuff to unit test.
5445 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5448 * docs/images/gdp-header.svg:
5450 * docs/libs/Makefile.am:
5451 * docs/libs/gdp-header.png:
5452 * libs/gst/dataprotocol/dataprotocol.c:
5453 add it to the API docs
5454 * docs/manual/intro-motivation.xml:
5457 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5459 * gst/gst.c: (scan_and_update_registry), (init_post):
5460 If the fork()'ed child process can't write the updated registry cache
5461 file to disk for some reason, make it exit with a failure exit code,
5462 so that the parent can then re-scan the plugins itself and update the
5463 registry structures in memory and work with that (rather than failing
5464 when creating elements because seemingly no plugins are available).
5465 Refactor registry scanning code into separate function for this and
5466 also separate fork() and non-fork() code paths. Fixes #344748.
5468 2006-06-13 Wim Taymans <wim@fluendo.com>
5470 * docs/manual/advanced-dataaccess.xml:
5471 Fix wrong PluginDesc. Fixes #344755.
5473 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5475 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5476 Fix silly bug that prevented us from creating
5477 ~/.gstreamer-0.10 and writing the registry in one
5478 go (the first call to g_mkstemp() would overwrite the
5479 placeholder in the template string, so the second call
5480 to g_mkstemp() after creating the missing directory
5481 would then error out with 'invalid argument').
5483 2006-06-13 Edward Hervey <edward@fluendo.com>
5485 * gst/gst.c: (init_post):
5488 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5490 * gst/glib-compat-private.h:
5491 * gst/glib-compat.c:
5492 * gst/glib-compat.h:
5493 * gst/gstvalue.c: (gst_value_serialize_flags):
5494 remove GLib 2.6 compatibility code
5496 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
5498 * gst/parse/Makefile.am:
5499 Fix build with 'make -j N' even more (#340016).
5501 2006-06-12 Wim Taymans <wim@fluendo.com>
5503 * docs/gst/gstreamer-sections.txt:
5506 2006-06-12 Wim Taymans <wim@fluendo.com>
5508 * gst/gstsegment.c: (gst_segment_set_duration),
5509 (gst_segment_set_last_stop), (gst_segment_set_seek),
5510 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5511 (gst_segment_to_running_time), (gst_segment_clip):
5512 Use G_UNLIKELY to help the compiler a bit.
5514 2006-06-12 Wim Taymans <wim@fluendo.com>
5516 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5518 * gst/gstevent.c: (gst_event_get_type):
5520 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5522 constify quark registration strings. Fixes #344115
5523 Avoid unneeded type checking is _pad_push() by internally
5524 calling gst_pad_chain_unchecked().
5526 2006-06-12 Wim Taymans <wim@fluendo.com>
5528 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5529 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5530 (gst_subbuffer_finalize), (gst_buffer_create_sub),
5531 (gst_buffer_is_span_fast), (gst_buffer_span):
5532 Init _type for consistency.
5533 Use _FLAGS macro to avoid type check.
5534 Avoid unneeded type checks in subbufer code.
5536 2006-06-12 Wim Taymans <wim@fluendo.com>
5538 * gst/gst.c: (gst_debug_help):
5539 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5540 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5541 (gst_plugin_feature_list_free):
5542 * gst/gstregistry.c: (gst_registry_add_plugin),
5543 (gst_registry_add_feature), (gst_registry_plugin_filter),
5544 (gst_registry_feature_filter), (gst_registry_find_plugin),
5545 (gst_registry_find_feature), (gst_registry_get_plugin_list),
5546 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5547 * gst/gstregistryxml.c: (load_feature),
5548 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5549 * gst/gstminiobject.c: (gst_mini_object_unref),
5550 (gst_mini_object_replace), (gst_value_mini_object_free),
5551 (gst_value_mini_object_copy):
5552 Use _CAST macros to avoid unneeded type checking.
5553 Added some more G_UNLIKELY.
5555 2006-06-12 Wim Taymans <wim@fluendo.com>
5558 Avoid unneeded type checking.
5559 API: GST_BUFFER_IS_DISCONT
5561 * gst/gstminiobject.h:
5562 Avoid type check in flag accessor.
5564 * gst/gstelementfactory.h:
5566 * gst/gstpluginfeature.h:
5568 API: GST_ELEMENT_FACTORY_CAST
5569 API: GST_PLUGIN_CAST
5570 API: GST_PLUGIN_FEATURE_CAST
5572 2006-06-12 Wim Taymans <wim@fluendo.com>
5574 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5576 Add G_UNLIKELY in type registration.
5577 Avoid type check in _ref/_unref since that is also
5580 2006-06-12 Wim Taymans <wim@fluendo.com>
5582 * gst/gsterror.c: (gst_g_error_get_type):
5583 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5584 (gst_static_pad_template_get_type):
5585 * gst/gsttaglist.c: (gst_tag_list_get_type):
5586 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5587 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5588 * gst/gsturi.c: (gst_uri_handler_get_type):
5589 * gst/gstvalue.c: (gst_date_get_type):
5590 * gst/gstxml.c: (gst_xml_get_type):
5591 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5592 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5593 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5594 Add G_UNLIKELY in type registration.
5596 2006-06-12 Wim Taymans <wim@fluendo.com>
5598 * tools/gst-inspect.c: (print_signal_info):
5599 Properly print enum values.
5601 2006-06-12 Wim Taymans <wim@fluendo.com>
5603 * gst/gstinfo.c: (gst_debug_set_active),
5604 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5606 Add some G_[UN]LIKELY.
5607 Maintain __gst_debug_min to avoid formatting the arguments of
5608 debug messages that will be dropped anyway to avoid a lot of
5609 overhead from the debugging system.
5611 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5615 add missing files containing translatable strings, tell intltool about
5618 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5620 * tests/check/libs/.cvsignore:
5621 add test-binary to ignore list
5623 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5625 * docs/libs/gstreamer-libs-docs.sgml:
5626 reorder (put dp into a chapter) and indent
5628 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5633 === release 0.10.8 ===
5635 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5638 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5640 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5642 * gst/gst.c: (init_post):
5643 move pid declaration to declaration block
5645 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5647 * gst/gst.c: (init_post):
5648 use _exit() instead of exit() in our forked child; this ensures
5649 that none of the registered exit handlers from whatever is using
5650 GStreamer get executed. This fixes gnome-mixer-applet failing
5651 to load, because ORBit would shut down.
5652 Spotted by: Edward Hervey <edward@fluendo.com>
5653 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
5656 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5661 === release 0.10.7 ===
5663 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5666 releasing 0.10.7, "Soepeke, ik zie ou"
5668 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
5691 * win32/common/config.h:
5694 2006-06-07 Wim Taymans <wim@fluendo.com>
5696 * gst/gstindex.c: (gst_index_gtype_resolver):
5697 * tools/gst-xmlinspect.c: (print_plugin_info):
5698 Fix leak spotted by coverity checker. Fixes #343827
5699 Fix another other leak found by paolo borelli.
5701 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5703 * libs/gst/dataprotocol/dataprotocol.c:
5704 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5705 (gst_dp_version_get_type), (gst_dp_init),
5706 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5707 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5708 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5709 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5710 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5711 (gst_dp_packetizer_free):
5712 * libs/gst/dataprotocol/dataprotocol.h:
5713 API: add a GstDPPacketizer object, and create/free functions
5714 API: add GstDPVersion enum
5715 Add 1.0 event function that uses the string serialization
5716 Serialize more useful buffer flags
5719 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5721 * tests/check/Makefile.am:
5722 * tests/check/gst/gstabi.c:
5723 * tests/check/gst/struct_ppc64.h:
5724 * tests/check/libs/libsabi.c:
5725 * tests/check/libs/struct_ppc64.h:
5726 add ppc64 structure sizes
5728 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5730 * tests/check/Makefile.am:
5731 * tests/check/gst/gstabi.c:
5732 * tests/check/gst/struct_x86_64.h:
5733 * tests/check/libs/libsabi.c:
5734 * tests/check/libs/struct_x86_64.h:
5735 generate and add structure size lists for x86_64
5737 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5739 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5740 * libs/gst/check/gstcheck.h:
5741 factor out the method from tests that checks size of structures,
5742 and add code to generate the header containing these sizes
5743 * tests/check/gst/gstabi.c: (GST_START_TEST):
5744 * tests/check/gst/struct_i386.h:
5745 * tests/check/libs/libsabi.c: (GST_START_TEST):
5746 * tests/check/libs/struct_i386.h:
5749 2006-06-06 Michael Smith <msmith@fluendo.com>
5752 Don't use c++-style comments, fixes #343929
5754 2006-06-05 Edward Hervey <edward@fluendo.com>
5757 plugin_paths is not used if we build without registry support.
5759 * gst/gstsegment.c: (gst_segment_copy):
5760 _copy() was always returning NULL...
5762 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5764 * libs/gst/dataprotocol/dataprotocol.c:
5765 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5766 (gst_dp_packet_from_event):
5769 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5771 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5772 make sure we unset caps
5774 2006-06-02 Michael Smith <msmith@fluendo.com>
5776 * libs/gst/check/gstcheck.c: (gst_check_init),
5777 (gst_check_chain_func):
5778 * libs/gst/check/gstcheck.h:
5779 Add a cond/mutex to the check support lib, signal this whenever we
5780 add to the buffers list. This will allow tests to not busy-wait on
5783 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5785 * libs/gst/dataprotocol/dataprotocol.c:
5786 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5787 (gst_dp_packet_from_event):
5788 factor out some common header init code
5790 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5792 * docs/libs/gstreamer-libs-sections.txt:
5793 * docs/libs/tmpl/gstdataprotocol.sgml:
5794 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5795 * libs/gst/dataprotocol/dataprotocol.h:
5796 API: make gst_dp_crc() public
5798 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5800 * plugins/indexers/gstindexers.c: (plugin_init):
5801 conditionally register fileindexer (fixes #343598)
5803 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5805 * gst/gsttagsetter.h:
5806 Can't cast ifaces to a class
5808 * libs/gst/net/gstnetclientclock.h:
5809 * libs/gst/net/gstnettimeprovider.h:
5810 * plugins/elements/gstfakesink.h:
5811 * plugins/elements/gstfakesrc.h:
5812 * plugins/elements/gstfdsink.h:
5813 * plugins/elements/gstfdsrc.h:
5814 * plugins/elements/gstfilesink.h:
5815 * plugins/elements/gstfilesrc.h:
5816 * plugins/elements/gstidentity.h:
5817 * plugins/elements/gstqueue.h:
5818 * plugins/elements/gsttee.h:
5819 * plugins/indexers/gstfileindex.c:
5820 * plugins/indexers/gstmemindex.c:
5821 * tests/old/examples/plugins/example.h:
5822 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5824 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
5826 * libs/gst/dataprotocol/dataprotocol.c:
5827 (gst_dp_header_from_buffer):
5828 make sure we zero the whole ABI-compatible area
5830 2006-06-01 Wim Taymans <wim@fluendo.com>
5832 Patch by: Alessandro Decina <alessandro at nnva dot org>
5834 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5835 Make sure the EOS flag is cleared from pads after a flush
5836 or stop. Fixes #343538.
5838 * tests/check/libs/collectpads.c: (GST_START_TEST),
5839 (gst_collect_pads_suite):
5840 Added test for collectpads reusage after EOS.
5842 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
5845 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5846 * win32/common/libgstbase.def:
5847 export gst_collect_pads_set_flushing
5848 * win32/common/libgstreamer.def:
5849 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5850 gst_value_fraction_multiply
5851 * win32/vs6/gst_inspect.dsp:
5852 add a link to intl.lib
5854 2006-05-30 Wim Taymans <wim@fluendo.com>
5856 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5857 (gst_collect_pads_chain):
5858 Handle the case where a pad is removed from the collection
5859 that could cause the other pads to become collectable.
5861 2006-05-30 Wim Taymans <wim@fluendo.com>
5864 Clarify the use of _release_request_pad() and
5865 _get_request_pad() a bit better.
5867 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5868 (gst_adapter_take_buffer):
5869 Fix some doc and comment typos.
5871 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5873 * docs/gst/gstreamer-sections.txt:
5874 * docs/libs/gstreamer-libs-sections.txt:
5875 add declared symbols
5877 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
5879 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5880 Add debug that can be enabled using a #define at the top of the file,
5881 for dumping stats about how late/early we were when waking up from
5882 waiting on the clock.
5884 2006-05-30 Wim Taymans <wim@fluendo.com>
5886 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5887 When rebuilding the pad list, don't leak the previous list.
5889 2006-05-30 Wim Taymans <wim@fluendo.com>
5891 Patch by: Lutz Mueller <lutz at topfrose dot de>
5893 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5894 (gst_base_src_get_query_types), (gst_base_src_update_length):
5895 Publish supported query types.
5896 Update last_stop field in get_range mode so the position
5897 query works. Fixes #342321.
5899 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
5901 * docs/gst/gstreamer-sections.txt:
5902 * gst/gsttaglist.c: (_gst_tag_initialize):
5904 API: add GST_TAG_PREVIEW_IMAGE (#343341).
5906 2006-05-30 Wim Taymans <wim@fluendo.com>
5908 Patch by: Alessandro Decina <alessandro at nnva dot org>
5910 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5911 Unlock mutex when removing an unknown pad.
5914 * tests/check/Makefile.am:
5915 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5916 (push_event), (setup), (teardown), (GST_START_TEST),
5917 (gst_collect_pads_suite), (main):
5918 Added collecpads check, disabled for now as check crashes for
5921 2006-05-29 Wim Taymans <wim@fluendo.com>
5923 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5924 Don't leak pads lists.
5926 2006-05-29 Wim Taymans <wim@fluendo.com>
5928 * docs/libs/gstreamer-libs-sections.txt:
5929 * libs/gst/base/gstcollectpads.c:
5930 (gst_collect_pads_set_flushing_unlocked),
5931 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5932 (gst_collect_pads_stop):
5933 * libs/gst/base/gstcollectpads.h:
5934 API: gst_collect_pads_set_flushing()
5935 Added api to set the pads to flushing, useful for seeking
5936 code in elements using collectpads.
5937 Clear segment when receiving a flush.
5939 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
5941 * gst/gst.c: (add_path_func), (init_post):
5942 Don't scan registry paths passed via --gst-plugin-path immediately
5943 (will crash, because absolutely nothing is set up and no types are
5944 registered etc.); do this later in init_post(). Fixes #343057.
5946 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
5948 * gst/gst.c: (init_post):
5949 if we have fork, fork while reading/rebuilding the registry
5950 so the parent doesn't take the hit of having all plugins loaded
5951 in memory. Fixes #342777.
5953 Check if we have fork()
5954 * win32/common/config.h.in:
5957 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5959 * plugins/elements/gstelements.c:
5960 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5961 (gst_file_src_init), (gst_file_src_set_property),
5962 (gst_file_src_get_property), (gst_file_src_start):
5963 * plugins/elements/gstfilesrc.h:
5964 API: GstFileSrc::use-mmap
5966 Add a use-mmap property to enable easier testing of all code paths.
5967 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5968 in the absence of gnomevfssrc. (Closes #340501)
5970 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5972 * tools/gst-inspect.c:
5973 Add missing include, removes warning of ngettext not being defined on
5976 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5978 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5979 Handle NULL input and output pointers silently as a failed conversion,
5980 rather than g_warnings.
5982 2006-05-25 Wim Taymans <wim@fluendo.com>
5984 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5985 Initialize variable before using. Fixes #342820.
5987 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
5989 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5990 Fix off-by-one bug that would only allow peeks of N-1 bytes
5991 from the start even if the buffer to typefind on contains
5992 in fact N bytes of data (makes vorbis typefinding from a
5993 vorbis identification header buffer work).
5995 * tests/check/Makefile.am:
5996 * tests/check/libs/.cvsignore:
5997 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5998 (gst_typefindhelper_suite), (main), (foobar_typefind),
6000 Add very basic unit test for gst_type_find_helper_for_buffer()
6001 that checks for the problem fixed above.
6003 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
6005 * tools/gst-inspect.c: (print_interfaces),
6006 (print_element_properties_info), (print_element_list), (main):
6007 add more translatable strings
6009 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
6011 Patch by: Julien Moutte <julien at moutte net>
6013 * docs/gst/gstreamer-sections.txt:
6014 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
6016 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6017 (gst_fake_sink_preroll):
6018 * plugins/elements/gstfakesink.h:
6019 API: Add new GstFakeSink::preroll-handoff signal (#337100).
6021 2006-05-23 Wim Taymans <wim@fluendo.com>
6023 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
6025 Added _CUSTOM error and success GstFlowReturn that can be
6026 used be elements internally.
6027 Added macro to check for SUCCESS flowreturns.
6028 API: GST_FLOW_CUSTOM_SUCCESS
6029 API: GST_FLOW_CUSTOM_ERROR
6030 API: GST_FLOW_IS_SUCCESS
6032 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6033 Added check for GstFlowReturn sanity.
6035 2006-05-23 Wim Taymans <wim@fluendo.com>
6037 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6039 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6040 (gst_collect_pads_event):
6041 clear/reset segment info in FLUSH_STOP.
6044 2006-05-22 Stefan Kost <ensonic@users.sf.net>
6046 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
6047 (gst_collect_pads_check_collected):
6048 Flush queued buffer on _stop(), fixes playing again (#342454)
6050 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
6052 * tests/check/gst/gststructure.c: (GST_START_TEST),
6053 (gst_structure_suite):
6054 add a test for a complete structure
6056 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
6058 * docs/faq/developing.xml:
6060 * docs/faq/troubleshooting.xml:
6061 * docs/faq/using.xml:
6062 Some minor FAQ updates that won't change the fact that
6063 our FAQ is badly structured, full of information hardly
6064 anyone new to GStreamer needs to know and lacking lots
6065 of information people constantly ask for.
6067 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
6069 * gst/gstpad.c: (gst_pad_set_caps):
6070 Short-circuit gst_pad_set_caps if setting the existing
6071 caps pointer again, and avoid printing debug and
6072 reffing/unreffing the caps.
6074 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6075 There's actually no need to set the caps before pushing -
6076 the acceptcaps method will handle it anyway.
6078 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
6080 * docs/gst/gstreamer-sections.txt:
6081 * win32/common/libgstreamer.def:
6082 * gst/gstutils.c: (gst_element_seek_simple):
6084 API: add gst_element_seek_simple() (#342238).
6086 2006-05-18 Edward Hervey <edward@fluendo.com>
6088 * gst/gsttypefind.c: (gst_type_find_get_type):
6089 * gst/gsttypefind.h:
6090 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
6091 registered for GstTypeFind pointers. This allows wrapping the structure
6092 in bindings (i.e. gst-python).
6094 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
6096 * gst/gsttagsetter.c:
6097 Docs additions and fixes (see #339918).
6099 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
6101 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6102 The caps intersection algorithm can produce multiple copies of the
6103 caps. Until that is fixed, we need to simplify the result to be
6104 sure whether the allowed caps are fixed or not.
6106 * plugins/elements/gstqueue.c: (gst_queue_init),
6107 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
6108 (gst_queue_push_one):
6109 Proxied buffer alloc should not set the caps on the source pad.
6110 When pushing buffers, we always accept the caps change that triggers.
6111 This prevents negotiation errors caused by caps changing mid-stream
6112 and then being refused on our source pad (because upstream is now
6113 refusing those caps).
6115 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
6117 * tests/examples/helloworld/helloworld.c: (main):
6118 Must plug audioconvert and audioresample between decoder
6121 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
6123 * gst/gstregistryxml.c: (read_string), (load_pad_template),
6124 (load_feature), (load_plugin):
6125 Allow empty strings for some of the plugin fields so we don't
6126 drop valid plugin entries that were written out correctly
6129 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
6131 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6132 Use g_remove and g_rename instead of remove and rename that don't
6133 handle utf8 characters. rename was failing for users who had specific
6134 characters in their name then the registry was built at each
6136 * win32/vs6/gst_inspect.dsp:
6137 * win32/vs6/gst_launch.dsp:
6138 * win32/vs6/libgstbase.dsp:
6139 * win32/vs6/libgstcoreelements.dsp:
6140 * win32/vs6/libgstreamer.dsp:
6141 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
6142 build of libgstreamer and clean unused libraries in projects link
6145 2006-05-17 Edward Hervey <edward@fluendo.com>
6147 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6148 The queue is not responsible for pushing an EOS when receiving a fatal
6149 flow error. It's up to the real element driving the pipeline to do that.
6151 2006-05-16 Edward Hervey <edward@fluendo.com>
6153 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6154 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
6155 buffer returned a fatal error. It should just send an EOS and stop
6157 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
6158 when pushing buffers on the queue and will be able to handle the event.
6160 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
6162 * docs/manual/basics-bins.xml:
6163 * docs/manual/basics-init.xml:
6164 Fix typos and minor errors in sample code (#341856).
6166 2006-05-16 Wim Taymans <wim@fluendo.com>
6168 * docs/design/part-qos.txt:
6169 Fix indexes in formulas to make more sense.
6171 2006-05-15 Wim Taymans <wim@fluendo.com>
6173 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6174 Don't report POSITION based on clock time if sync is
6177 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
6180 Add cast to make compiler happy - refcount variable was a gint
6181 in GstObject but is a guint in GObject and g_atomic_int_get()
6184 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
6186 * gst/parse/Makefile.am:
6187 chain commands using &&, which also makes parallel make work
6189 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
6191 * docs/gst/gstreamer-sections.txt:
6197 === release 0.10.6 ===
6199 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
6202 releasing 0.10.6, "Take the cannoli"
6204 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
6206 * tools/gst-launch.c: (print_tag):
6207 Fix use of uninitialized variable in the hypothetical
6208 case that some broken plugin creates a GST_TAG_IMAGE
6209 tag containing a NULL buffer (#341667).
6211 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
6213 * tools/gst-launch.c: (print_tag):
6214 Print something more intelligible for image tags when
6215 using the -t switch (#341556).
6217 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
6222 define GST_MAJORMINOR so we have it available in win32/common/config.h
6223 Possibly remove it from our Makefile.am files later
6224 * win32/common/config.h:
6225 * win32/common/config.h.in:
6226 added GST_MAJORMINOR
6227 * win32/common/gstenumtypes.c: (register_gst_resource_error):
6228 * win32/common/gstversion.h:
6231 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
6234 Update win32 files listing.
6235 * win32/common/gstversion.h:
6236 Add GST_MAJORMINOR definition.
6237 * win32/common/libgstreamer.def:
6238 Add new exported functions.
6240 2006-05-12 Michael Smith <msmith@fluendo.com>
6242 * gst/gstplugin.c: (gst_plugin_load_file):
6243 If an so file has no plugin entry point, unload the module.
6245 2006-05-11 Wim Taymans <wim@fluendo.com>
6247 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
6248 (gst_queue_set_property):
6249 Don't forget to signal the _chain or _loop function
6250 when the queue size or thresholds change since that might
6251 cause them to make progres again.
6253 2006-05-11 Stefan Kost <ensonic@users.sf.net>
6255 * gst/gstclock.c: (gst_clock_class_init):
6256 * gst/gstindex.c: (gst_index_class_init):
6257 * gst/gstobject.c: (gst_object_class_init):
6258 * gst/gstpad.c: (gst_pad_class_init):
6259 * gst/gstpipeline.c: (gst_pipeline_class_init):
6260 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6261 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
6262 * libs/gst/base/gstbasetransform.c:
6263 (gst_base_transform_class_init):
6264 * libs/gst/net/gstnetclientclock.c:
6265 (gst_net_client_clock_class_init):
6266 * libs/gst/net/gstnettimeprovider.c:
6267 (gst_net_time_provider_class_init):
6268 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
6269 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6270 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6271 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
6272 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6273 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6274 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6275 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6276 * plugins/elements/gsttee.c: (gst_tee_class_init):
6277 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6278 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6279 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
6281 2006-05-11 Wim Taymans <wim@fluendo.com>
6283 * gst/gstbuffer.c: (_gst_buffer_initialize):
6284 Register subbufer along with the buffer type so that
6285 it does not accidentally gets registered from N
6286 different streaming threads in a non threadsafe way.
6288 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
6293 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
6294 gst_event_ref() and gst_message_ref() functions again
6295 (ugly hack, please do fix if there's a better way besides
6296 overrides.txt, which doesn't seem to work).
6298 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6300 * libs/gst/check/gstcheck.h:
6301 add an assert for setting state to avoid lots of repetitive code
6304 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6306 * gst/gstvalue.c: (gst_value_serialize_flags):
6307 fix a leak if no flags are set
6308 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6311 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
6313 * docs/manual/basics-pads.xml:
6314 Expand a bit on caps and filtered links and update
6315 examples that were still using the no longer existing
6316 gst_pad_link_filtered() (#338206).
6318 2006-05-10 Wim Taymans <wim@fluendo.com>
6320 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6321 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6322 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6323 (gst_collect_pads_stop):
6324 * libs/gst/base/gstcollectpads.h:
6325 No need to call _stop in _finalize.
6326 Iterate the main pad list in _finalize.
6327 Added some more debug.
6328 Free lists and data in the right order.
6329 Also free data whem doing _remove_pad when stopped for
6330 backward compatibility protect ::started with PAD_LOCK as
6333 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6335 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
6336 (gst_structure_parse_value):
6338 rename a method so that it actually says what it does better
6340 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6342 * gst/gstevent.c: (_gst_event_initialize):
6343 * gst/gstformat.c: (_gst_format_initialize):
6344 make sure some essential types used by events are registered
6345 as part of gst_init()
6346 * gst/gstvalue.c: (gst_value_serialize_flags):
6347 if no flags are set, serialize them to a value that represents NONE
6348 so that deserializing them works
6349 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6350 add tests for serialization and deserialization of flags
6352 2006-05-10 Wim Taymans <wim@fluendo.com>
6354 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6355 (gst_collect_pads_collect_range), (gst_collect_pads_available),
6356 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6357 (gst_collect_pads_event), (gst_collect_pads_chain):
6360 Catch and return errors from the collect function
6361 Refuse data on eos pads.
6363 2006-05-10 Edward Hervey <edward@fluendo.com>
6365 * gst/gstinterface.h:
6366 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6367 GInterface type checking.
6368 They were previously using non-defined macros.
6370 2006-05-09 Wim Taymans <wim@fluendo.com>
6372 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6373 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6374 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6375 (gst_collect_pads_start), (gst_collect_pads_stop),
6376 (gst_collect_pads_peek), (gst_collect_pads_pop),
6377 (gst_collect_pads_available), (gst_collect_pads_read),
6378 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6379 (gst_collect_pads_is_collected), (gst_collect_pads_event),
6380 (gst_collect_pads_chain):
6381 * libs/gst/base/gstcollectpads.h:
6382 Clean up the mess that is collectpads, add comments and
6383 FIXMEs where needed.
6384 Maintain a separate pad list so we can add pads while
6385 collecting the other ones. For this we need a new separate
6387 Fix memory leak in finalize.
6388 Refactor some weird code to set/unset pad flushing flags, mark
6390 Don't crash in _available, _read, _flush when we're EOS.
6392 * tests/check/libs/.cvsignore:
6393 Ignore adapter check binary.
6395 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6397 * gst/gstindex.c: (gst_index_resolver_get_type):
6398 * plugins/elements/gstfakesink.c:
6399 (gst_fake_sink_state_error_get_type):
6400 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6401 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6402 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6403 Const-ify GEnumValue arrays.
6405 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6407 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6408 Add test case for flags + gst_buffer_make_metadata_writable().
6410 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6412 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6413 gst_buffer_make_metadata_writable() should maintain the
6414 buffer flags (those that make sense at least) (see #340859).
6416 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6418 * tools/gst-inspect.c:
6419 * tools/gst-launch.c:
6420 * tools/gst-typefind.c:
6421 * tools/gst-xmlinspect.c:
6423 Fix up includes: need to include stdlib.h in tools.h for exit().
6425 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6427 * gst/gsttaglist.c: (_gst_tag_initialize):
6429 API: add GST_TAG_IMAGE tag (#340721).
6431 2006-05-08 Wim Taymans <wim@fluendo.com>
6434 Added some docs for the segment query.
6436 2006-05-08 Wim Taymans <wim@fluendo.com>
6438 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6439 (gst_base_src_loop), (gst_base_src_change_state):
6440 Always push non-flushing serialized events in the streaming
6443 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
6445 * gst/gsterror.c: (_gst_stream_errors_init):
6446 Add a missing error string.
6448 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
6450 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6451 Add applied_rate to the debug
6453 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6454 Copy applied_rate into the outgoing NEWSEGMENT event
6456 2006-05-08 Wim Taymans <wim@fluendo.com>
6458 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6460 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6461 (gst_base_sink_change_state):
6462 call ::unlock before taking the PREROLL_LOCK so we can safely
6463 handle elements that lock in ::render.
6466 2006-05-08 Edward Hervey <edward@fluendo.com>
6468 * autogen.sh: (CONFIGURE_DEF_OPT):
6469 Darwin's libtoolize is in fact called glibtoolize.
6470 Adding glibtoolize to the list of accepted names for libtoolize.
6472 2006-05-08 Wim Taymans <wim@fluendo.com>
6474 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6475 Unify error handling, don't post an error message
6476 when a push() returns EOS but perform our normal EOS
6477 handling code. Fixes #340772.
6479 2006-05-08 Wim Taymans <wim@fluendo.com>
6481 * docs/design/part-overview.txt:
6482 Make upsteam/downstream concepts more clear.
6483 Give an example of serialized/non-serialized events.
6485 * docs/design/part-events.txt:
6486 * docs/design/part-streams.txt:
6487 Mention applied_rate.
6489 * docs/design/part-trickmodes.txt:
6490 Mention applied rate, flesh out some more use cases.
6492 * gst/gstevent.c: (gst_event_new_new_segment),
6493 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6494 (gst_event_parse_new_segment_full), (gst_event_new_tag),
6495 (gst_event_parse_tag), (gst_event_new_buffer_size),
6496 (gst_event_parse_buffer_size), (gst_event_new_qos),
6497 (gst_event_parse_qos), (gst_event_parse_seek),
6498 (gst_event_new_navigation):
6500 Add applied_rate field to NEWSEGMENT event.
6501 API: gst_event_new_new_segment_full()
6502 API: gst_event_parse_new_segment_full()
6504 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6505 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6506 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6508 Add applied_rate to GstSegment structure.
6509 Make calculation of stream_time and running_time more correct
6510 wrt rate/applied_rate.
6512 API: GstSegment::applied_rate field
6513 API: gst_segment_set_newsegment_full();
6515 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6516 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6517 * libs/gst/base/gstbasetransform.c:
6518 (gst_base_transform_sink_eventfunc),
6519 (gst_base_transform_handle_buffer):
6520 Parse and use applied_rate in the GstSegment field.
6522 * tests/check/gst/gstevent.c: (GST_START_TEST):
6523 Add check for applied_rate field.
6525 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6526 (gstsegments_suite):
6527 Add more checks for various GstSegment operations.
6529 2006-05-08 Wim Taymans <wim@fluendo.com>
6531 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6532 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6533 (gst_base_sink_get_position), (gst_base_sink_change_state):
6534 Store the sync time of the buffer end position separatly in a
6535 new variable eos_rtime so we can properly sync the EOS event.
6537 Fix the docs for gst_base_sink_set_qos_enabled().
6538 Don't set segment start to invalid value when we receive a
6539 non TIME newsegment.
6540 get closer to handling position reporting for negative rates
6543 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6546 Docs about how to print caps for debug purposes.
6548 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6549 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6551 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6554 use full enum names and preprend a '%' in docs strings to make recent
6555 gtk-doc turn that into a link
6557 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6559 * docs/manual/basics-bins.xml:
6560 * docs/manual/basics-bus.xml:
6561 * docs/manual/basics-pads.xml:
6562 Some typo fixes, some additions, some clarifications.
6564 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6566 * tools/gst-inspect.c: (main):
6567 * tools/gst-launch.c: (main):
6568 * tools/gst-run.c: (main):
6569 * tools/gst-typefind.c: (main):
6570 * tools/gst-xmlinspect.c: (main):
6571 Use the string passed to g_option_context_new() for
6572 what it's intended for - the program name is already
6575 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6577 * tools/Makefile.am:
6578 * tools/gst-inspect.c: (main):
6579 * tools/gst-launch.c: (main):
6580 * tools/gst-xmlinspect.c: (main):
6582 Add back --version command line option (#340460).
6584 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6585 Add --version option and use GOption for argument parsing; refactor a
6586 bit; accept directories as arguments and recurse into them; lastly,
6587 print a decent error message when things go wrong.
6589 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6591 * docs/manual/basics-bins.xml:
6592 Don't mention GstThread (#340611)
6593 * docs/manual/basics-elements.xml:
6594 Update link to GObject tutorial (#340607)
6596 2006-05-05 Wim Taymans <wim@fluendo.com>
6599 * gst/gstminiobject.c:
6600 Add note about refcounting and miniobject/buffer writeability
6601 to docs. Fixes #340604
6603 * gst/gstelementfactory.h:
6604 Added some explanation about @klass.
6606 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6608 * docs/manual/intro-motivation.xml:
6609 * docs/manual/manual.xml:
6610 Avoid CORBA & Bonobo references (#340598)
6612 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6614 * docs/manual/basics-bus.xml:
6615 * docs/manual/basics-pads.xml:
6616 Fix up some inaccuracies and omissions (#340609)
6618 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6620 * gst/gstghostpad.c:
6621 Small typo in docs (#340625)
6623 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6625 * gst/parse/Makefile.am:
6626 Make 'make -j' proof (see #340698).
6628 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6631 Require GLib-2.8 here as well.
6633 2006-05-05 Wim Taymans <wim@fluendo.com>
6635 * gst/glib-compat.c:
6636 * gst/gst.c: (init_pre):
6637 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6638 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6639 (gst_object_dispatch_properties_changed):
6641 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6642 * gst/gststructure.c: (gst_structure_set_valist):
6643 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6644 Remove pre glib2.8 compatibility, fixes #340508
6646 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6649 Mention type of tags in doc blurbs.
6651 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
6653 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6654 (gst_pad_configure_src), (gst_pad_push):
6655 Restore acceptcaps checking behaviour now that good plugins have
6658 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6660 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6671 * gst/parse/Makefile.am:
6672 * libs/gst/base/gstadapter.c:
6673 * libs/gst/base/gstbasesrc.c:
6674 * libs/gst/base/gstpushsrc.c:
6675 * libs/gst/base/gsttypefindhelper.c:
6676 * plugins/elements/gstfakesrc.c:
6677 * plugins/elements/gstidentity.c:
6678 Make sure gstprivate.h and/or config.h are
6679 always included first, otherwise some of our
6680 defines (like _FILE_OFFSET_BITS) might be
6681 redefined in the system headers. Fixes build
6682 on opensolaris (#340016).
6684 2006-05-04 Wim Taymans <wim@fluendo.com>
6686 * docs/libs/gstreamer-libs-sections.txt:
6687 API: addition: gst_adapter_take_buffer()
6689 * libs/gst/base/gstadapter.c: (gst_adapter_push),
6690 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6691 (gst_adapter_available_fast):
6692 * libs/gst/base/gstadapter.h:
6693 Prepare for optimizing the hell out of this hugely inefficient
6695 Added gst_adapter_take_buffer() so we can at least start thinking
6696 about subbuffering and merging.
6697 Added some comments.
6699 * tests/check/Makefile.am:
6700 * tests/check/libs/adapter.c: (GST_START_TEST),
6701 (gst_adapter_suite), (main):
6702 Added GstAdapter check.
6704 2006-05-04 Wim Taymans <wim@fluendo.com>
6706 * docs/design/part-overview.txt:
6707 Fix some typos, add blurb about buffer flags.
6709 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6711 * docs/libs/gstreamer-libs-sections.txt:
6712 make sure GstBaseTransformClass shows up in the docs
6713 * libs/gst/base/gstbasetransform.c:
6714 * libs/gst/base/gstbasetransform.h:
6715 move docs so gtk-doc picks it up now
6717 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6719 * docs/libs/gstreamer-libs-sections.txt:
6720 add missing symbols to docs
6722 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6724 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6725 back out the newsegment handling change, see #340060 for ongoing
6728 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
6730 * tools/gst-run.c: (get_candidates), (main):
6731 Fix wrong g_file_test() usage (see glib docs for why it doesn't
6732 work); fix typo in error message. Fixes #340079.
6734 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6736 * common/Makefile.am:
6738 * docs/faq/Makefile.am:
6739 * docs/gst/Makefile.am:
6740 * docs/libs/Makefile.am:
6741 * docs/manual/Makefile.am:
6742 * docs/plugins/Makefile.am:
6743 * docs/pwg/Makefile.am:
6744 * docs/slides/Makefile.am:
6746 * common/upload.mak:
6747 move upload.mak to common
6749 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6751 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6752 add more asserts on refcounts
6753 do more cleanup at end of tests
6754 fix test leaks showing in FC5
6756 2006-04-29 Stefan Kost <ensonic@users.sf.net>
6758 * plugins/elements/gsttypefindelement.c:
6759 (gst_type_find_element_handle_event):
6760 reverted wrong change and reflowed code to avoid others falling into
6763 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6765 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6766 fix changelog entry about last collectpads change,
6767 add notes about proper fix
6769 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6772 * gst/gstregistry.c: (gst_registry_scan_path_level),
6773 (gst_registry_scan_path):
6774 * gst/gstregistry.h:
6775 only write out registry if it has changed, fixes #338339
6777 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6780 * gst/gstpipeline.c:
6781 * plugins/elements/gstcapsfilter.c:
6782 * plugins/elements/gstfakesink.c:
6783 * plugins/elements/gstfakesrc.c:
6784 * plugins/elements/gstfdsink.c:
6785 * plugins/elements/gstfdsrc.c:
6786 * plugins/elements/gstfilesink.c:
6787 * plugins/elements/gstfilesrc.c:
6788 * plugins/elements/gstidentity.c:
6789 * plugins/elements/gstqueue.c:
6790 * plugins/elements/gsttee.c:
6791 * plugins/elements/gsttypefindelement.c:
6792 (gst_type_find_element_handle_event):
6793 make GstElementDetails const
6795 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6797 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6798 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6799 (gst_collect_pads_is_collected), (gst_collect_pads_event):
6800 more detailed debug and formatting cleanup,
6801 forward newsegments to src-pad (so that e.g. adder not eats them)
6803 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6805 * gst/gstutils.c: (gst_element_link_pads):
6808 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6810 * libs/gst/controller/gstcontroller.c:
6811 (gst_controller_sync_values):
6813 * tests/check/libs/controller.c: (GST_START_TEST),
6814 (gst_controller_suite):
6815 a new test for live value handling
6817 2006-04-28 Wim Taymans <wim@fluendo.com>
6819 * gst/gstutils.c: (push_and_ref):
6820 Added some more docs.
6821 Fix refcount issue whith gst_element_found_tags() helper
6822 function. Fixes #338335
6824 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6825 Added testsuite for gst_element_found_tags().
6827 2006-04-28 Michael Smith <msmith@fluendo.com>
6829 * gst/gstvalue.c: (gst_value_serialize_flags):
6830 Avoid NULL dereference when trying to serialize flags containing
6833 2006-04-28 Michael Smith <msmith@fluendo.com>
6835 * plugins/elements/gsttypefindelement.c:
6836 (gst_type_find_element_handle_event):
6837 If we get EOS before any data is accumulated, don't use
6838 uninitialised local variables.
6840 2006-04-28 Michael Smith <msmith@fluendo.com>
6842 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6843 (gst_dp_event_from_packet):
6844 Fixes in reading/writing events over GDP (not currently used?) -
6845 dereferencing NULL events for unknown/invalid event types, memory
6846 leak, and change g_warning to GST_WARNING.
6848 2006-04-28 Wim Taymans <wim@fluendo.com>
6850 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6851 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6852 (gst_base_sink_get_position), (gst_base_sink_change_state):
6853 When frame dropping is enabled, we should not ignore frames
6855 Update some documentation.
6857 2006-04-28 Wim Taymans <wim@fluendo.com>
6859 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6860 (gst_base_src_send_event), (gst_base_src_change_state):
6861 Documentation updates.
6863 2006-04-28 Wim Taymans <wim@fluendo.com>
6865 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6866 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6867 handle EAGAIN, EINTR and short writes correctly. Also clean
6868 up some error cases, avoid a deadlock on bad file descriptors and
6869 use GST_DEBUG_OBJECT.
6872 2006-04-28 Wim Taymans <wim@fluendo.com>
6874 * gst/gstvalue.c: (gst_value_serialize_buffer),
6875 (gst_value_deserialize_buffer):
6876 Don't try to serialize a GValue with a NULL buffer.
6879 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6880 Added check for serialisation of NULL buffers.
6882 2006-04-28 Wim Taymans <wim@fluendo.com>
6884 * gst/gstminiobject.c: (gst_value_take_mini_object):
6885 Taking a NULL miniobject is valid, fix the case where
6886 we try to unref the NULL miniobject.
6888 2006-04-28 Wim Taymans <wim@fluendo.com>
6890 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6892 * gst/gstbin.c: (gst_bin_handle_message_func):
6894 Don't leak bin refcount when a state recalc is
6895 in progress and we delay another one #339808.
6897 2006-04-28 Wim Taymans <wim@fluendo.com>
6899 * docs/design/part-TODO.txt:
6900 Mention QoS as an ongoing work item.
6902 * docs/design/part-buffering.txt:
6903 New doc about buffering that needs to be fleshed out
6906 * docs/design/part-qos.txt:
6907 More QoS policy for decoders/demuxers/transforms
6909 * docs/design/part-trickmodes.txt:
6912 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6917 === release 0.10.5 ===
6919 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6922 releasing 0.10.5, "Fogo"
6924 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
6926 patch by: Wim Taymans
6928 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6929 (gst_pad_configure_src), (gst_pad_push):
6930 * gst/gstpipeline.c: (gst_pipeline_init):
6931 Fix internal data flow errors. Fixes #338711.
6933 2006-04-12 Wim Taymans <wim@fluendo.com>
6935 * tests/check/gst/gstelement.c: (GST_START_TEST):
6936 Don't leak the factory.
6938 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6941 * win32/common/config.h:
6944 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
6946 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6947 (gst_controller_unset_all):
6948 Free allocated GstTimedValues when freeing list nodes.
6949 Should fix leaks 'make check-valgrind' complains about.
6951 * win32/common/libgstcontroller.def:
6952 Add gst_controller_unset_all.
6954 2006-04-11 Stefan Kost <ensonic@users.sf.net>
6956 * docs/libs/gstreamer-libs-sections.txt:
6957 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6958 (gst_controller_unset_all):
6959 * libs/gst/controller/gstcontroller.h:
6960 API: Added new method gst_controller_unset_all()
6961 fixed gst_controller_unset()
6962 * tests/check/libs/controller.c: (GST_START_TEST),
6963 (gst_controller_suite):
6964 Added two testcases for new and fixed method
6966 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
6968 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6969 MSG_DONTWAIT is not defined on Cygwin, so work
6970 around that (fixes #317048).
6972 2006-04-11 Wim Taymans <wim@fluendo.com>
6974 * gst/gstelementfactory.c: (gst_element_register),
6975 (gst_element_factory_create), (gst_element_factory_make):
6978 Updated docs (Fixes #131079)
6980 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6983 * tests/check/gst/gstelement.c: (GST_START_TEST),
6984 (gst_element_suite):
6985 Added testcase for elementfactory class field.
6987 2006-04-10 Wim Taymans <wim@fluendo.com>
6990 Added some more docs.
6992 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6993 (gst_base_sink_reset_qos):
6994 Calculate more accurate rate values.
6996 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
6998 * gst/gst_private.h:
6999 add a new #ifdef to use __declspec(dllimport) only for
7000 other modules and not for gstreamer core
7001 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
7002 use gst_guint64_to_gdouble for conversion
7003 * win32/common/libgstreamer.def:
7004 add new exported functions
7005 * win32/vs6/gst_inspect.dsp:
7006 * win32/vs6/gst_launch.dsp:
7007 * win32/vs6/libgstbase.dsp:
7008 * win32/vs6/libgstcontroller.dsp:
7009 * win32/vs6/libgstcoreelements.dsp:
7010 * win32/vs6/libgstdataprotocol.dsp:
7011 * win32/vs6/libgstnet.dsp:
7012 update project files
7014 2006-04-08 Stefan Kost <ensonic@users.sf.net>
7016 * gst/gstbuffer.c: (gst_subbuffer_class_init):
7017 * gst/gstclock.c: (gst_clock_class_init):
7018 * gst/gstelement.c: (gst_element_class_init):
7019 * gst/gstindex.c: (gst_index_class_init):
7020 * gst/gstindexfactory.c: (gst_index_factory_class_init):
7021 * gst/gstobject.c: (gst_object_class_init),
7022 (gst_signal_object_class_init):
7023 * gst/gstpad.c: (gst_pad_class_init):
7024 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
7025 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
7026 * gst/gstregistry.c: (gst_registry_class_init):
7027 * gst/gstsystemclock.c: (gst_system_clock_class_init):
7028 * gst/gsttask.c: (gst_task_class_init):
7029 * gst/gstxml.c: (gst_xml_class_init):
7030 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7031 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7032 (gst_base_src_loop):
7033 * libs/gst/controller/gstcontroller.c:/
7034 (_gst_controller_class_init):
7035 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7036 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
7037 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
7038 * tests/old/examples/plugins/example.c: (gst_example_class_init):
7039 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7040 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
7042 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
7044 * gst/gstpad.c: (gst_pad_link):
7045 Must set peer pads before calling the link function, otherwise
7046 a task started from a link function might get a flow-not-linked
7047 result when trying to push because the other thread where the
7048 linking happens hasn't had a chance to set the peers yet. This
7049 might happen for example when a queue gets linked to a downstream
7050 element, as queue starts a streaming task when its source pad
7051 gets linked. Happens in real life when playing back flac/musepack
7052 files in playbin (#332390).
7054 2006-04-08 Stefan Kost <ensonic@users.sf.net>
7058 * libs/gst/base/gstadapter.h:
7059 * libs/gst/base/gstbasesink.h:
7060 * libs/gst/base/gstbasesrc.h:
7061 * libs/gst/base/gstbasetransform.h:
7062 * libs/gst/base/gstcollectpads.h:
7063 * libs/gst/base/gstpushsrc.h:
7064 Fix broken GObject macros
7066 2006-04-07 Wim Taymans <wim@fluendo.com>
7068 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7069 Initialize start and stop times, thanks valgrind.
7071 2006-04-07 Wim Taymans <wim@fluendo.com>
7073 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7074 Be a bit nicer to badly behaving upstream elements that expect
7075 us to deal with non TIME segments and timestamps (such as fakesrc
7078 2006-04-07 Wim Taymans <wim@fluendo.com>
7081 Small documentation clarification about the signal watch.
7083 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
7084 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7085 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7086 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
7087 (gst_base_sink_get_position_last),
7088 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
7089 Convert and store timestamps in stream time and running time, the
7090 raw timestamps are not useful, also document this better.
7091 Use different window sizes for good and bad QoS observations so
7092 we react to badness a little quicker.
7093 Keep track of the amount of rendered and dropped buffers.
7094 Send QoS timestamps in running time.
7096 * libs/gst/base/gstbasetransform.c:
7097 (gst_base_transform_sink_eventfunc),
7098 (gst_base_transform_handle_buffer):
7099 Compare QoS timestamps against running time.
7101 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
7106 2006-04-06 Michael Smith <msmith@fluendo.com>
7108 * gst/gstpad.c: (gst_pad_set_property):
7109 Use g_value_get_object() instead of g_value_dup_gst_object(),
7110 to avoid double-reffing the pad template (which we then sink,
7111 so this worked previously if (and only if) the pad template
7114 * gst/gstpadtemplate.c: (gst_pad_template_init),
7115 (gst_pad_template_pad_created):
7116 Never return floating references to pad templates, create
7117 them as initially-sunken.
7119 Document an extra function (and make this stop sinking our
7120 pad template, since that is now guaranteed to do nothing,
7121 since we created it sunken).
7123 * gst/gstghostpad.c:
7126 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
7128 * gst/gstinfo.c: (__gst_in_valgrind):
7131 * plugins/elements/gsttypefindelement.c:
7132 (gst_type_find_element_chain):
7133 Don't leak buffer caps.
7135 2006-04-06 Michael Smith <msmith@fluendo.com>
7137 * gst/parse/grammar.y:
7138 Fix a leak in parse-launch for any source-or-sink named element
7141 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7142 Unref the pipeline if it exists after we've failed parsing.
7144 2006-04-05 Michael Smith <msmith@fluendo.com>
7146 * gst/gstpipeline.c: (gst_pipeline_init):
7147 When we create a pipeline bus, initially create it in flushing mode.
7148 Fixes leaks in at least one test, and makes a new pipeline work the
7149 same as one that has gone to READY and then back to NULL.
7154 2006-04-05 Michael Smith <msmith@fluendo.com>
7156 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7157 Unref a pad we reffed.
7158 * tests/check/gst/gstutils.c: (GST_START_TEST):
7161 2006-04-05 Michael Smith <msmith@fluendo.com>
7163 * gst/gstquery.c: (gst_query_set_formats),
7164 (gst_query_set_formatsv):
7165 Fix leaking GValues in queries, as shown by valgrind/testsuite.
7167 2006-04-05 Michael Smith <msmith@fluendo.com>
7169 * tests/check/generic/sinks.c: (GST_START_TEST):
7170 Fix a variety of memleaks in sinks check, which are only sometimes
7171 shown by running the tests under valgrind (weird?).
7173 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
7175 * docs/version.entities.in:
7176 Fix the substituted entity name after thomas' changes on the
7179 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7181 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
7184 2006-04-05 Andy Wingo <wingo@pobox.com>
7186 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
7188 * libs/gst/base/gstbasetransform.c
7189 (gst_base_transform_sink_eventfunc): When resetting our segment on
7190 FLUSH_STOP, also update the flag saying we haven't seen a
7193 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7195 Patch by: Paolo Borelli <pborelli at katamail dot com>
7197 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
7198 (gst_plugin_check_license):
7199 minor clean-ups: G_DEFINE_TYPE already takes care of the
7200 parent_class stuff, no need to do it twice. Mark array of
7201 license strings as constant. (#337103)
7203 2006-04-04 Michael Smith <msmith@fluendo.com>
7205 * tools/gst-inspect.c: (print_element_list):
7206 Free the right plugin list; fixes a memory leak.
7208 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7210 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7212 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7213 Don't error out on empty buffers (#336945).
7215 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
7217 * docs/libs/gstreamer-libs-sections.txt:
7219 * libs/gst/base/gstbasesink.c:
7220 * libs/gst/base/gstbasesink.h:
7221 * libs/gst/base/gstbasesrc.c:
7222 * libs/gst/base/gstbasesrc.h:
7223 Documentation updates. Make BaseSink and BaseSrc docs contain the
7224 class structure so that people can actually see the prototypes for
7225 virtual functions they're supposed to be overriding.
7227 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7229 * plugins/elements/gsttypefindelement.c:
7230 (gst_type_find_element_chain):
7231 More debug info; when skipping typefinding, send cached
7232 events in all cases.
7234 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
7237 use new AS_VERSION and AS_NANO macros
7238 * gst/gst-i18n-lib.h:
7241 * gst/gstversion.h.in:
7242 * win32/common/config.h:
7243 * win32/common/config.h.in:
7246 2006-03-31 Michael Smith <msmith@fluendo.com>
7248 * plugins/elements/gsttypefindelement.c:
7249 (gst_type_find_element_chain):
7250 Do not typefind content if the buffers already have caps.
7251 Neccesary for icydemux (#333657), and the right thing to do anyway.
7253 2006-03-30 Wim Taymans <wim@fluendo.com>
7255 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7256 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
7257 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
7258 (gst_base_sink_record_qos_observation),
7259 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7260 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7261 (gst_base_sink_change_state):
7262 More QoS measurements as described in the design doc.
7263 Get rid of ringbuffer with observations, running average is
7264 more simple and equally good.
7265 Calculates valid proportion now.
7266 Added beginning of flood measurement.
7268 2006-03-29 Wim Taymans <wim@fluendo.com>
7270 * docs/design/part-qos.txt:
7272 Small documentation updates and additions.
7274 2006-03-29 Wim Taymans <wim@fluendo.com>
7276 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7277 (gst_base_src_send_event), (gst_base_src_loop),
7278 (gst_base_src_change_state):
7279 Perform the EOS logic when we reach the segment stop position.
7280 Fix compilation on gcc4.1
7282 2006-03-29 Wim Taymans <wim@fluendo.com>
7284 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7286 * plugins/elements/gstqueue.c: (gst_queue_init),
7287 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7288 (gst_queue_set_property):
7289 * plugins/elements/gstqueue.h:
7290 In queue, when EOS is received, if minimum threshold > max_size -
7291 current_level, there is chance that queue blocks forever in conditional
7292 item del wait. This is because the queue is not emptied completely due
7293 to minimum threshold. Here is another approach. Instead of setting
7294 cur_levels to max in EOS, just zero all minimum threshold levels. This
7295 should make sure that queue gives out all data. When going to READY
7296 (stop) state, just reset the original minimum threshold levels.
7299 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
7301 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
7302 (gst_type_find_element_handle_event),
7303 (gst_type_find_element_send_cached_events),
7304 (gst_type_find_element_change_state):
7305 * plugins/elements/gsttypefindelement.h:
7306 When typefinding is done in push mode, we should cache
7307 events we receive during typefinding instead of just
7308 dropping them (e.g. newsegment, custom events from
7309 dvdreadsrc etc.) and then send them out once we've
7310 determined the type of the stream (and decodebin
7311 has had a chance to plug in a decoder/demuxer).
7313 2006-03-27 Wim Taymans <wim@fluendo.com>
7315 * docs/design/part-qos.txt:
7318 2006-03-27 Wim Taymans <wim@fluendo.com>
7320 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
7322 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7323 (gst_base_src_send_event), (gst_base_src_change_state):
7324 Handle element seek correctly when we are streaming.
7327 2006-03-24 Michael Smith <msmith@fluendo.com>
7329 * docs/faq/gst-uninstalled:
7330 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
7331 allow you to correctly run intalled applications built against old
7332 core, using plugins that require updated core (e.g. running
7333 installed totem against a full uninstalled gstreamer stack)
7335 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7337 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
7340 2006-03-24 Wim Taymans <wim@fluendo.com>
7342 * docs/gst/gstreamer-sections.txt:
7343 Rearrange the order of the methods so that related methods
7344 are grouped together in sections.
7346 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7349 Little clarification in the docs
7351 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7355 * plugins/elements/gstidentity.c:
7356 * plugins/elements/gstqueue.c:
7357 * plugins/elements/gsttee.c:
7358 * plugins/elements/gsttypefindelement.c:
7359 GST_ELEMENT_DETAILS formatting
7361 2006-03-24 Wim Taymans <wim@fluendo.com>
7363 * libs/gst/base/gstbasesink.h:
7364 Only add fields, not insert or we break ABI.
7366 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7368 * win32/common/libgstbase.def:
7369 * win32/common/libgstreamer.def:
7370 Update, add recently added functions.
7372 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7374 * docs/gst/gstreamer-sections.txt:
7375 * gst/gstutils.c: (gst_pad_query_peer_position),
7376 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7378 API: add some new utility functions:
7379 - gst_pad_query_peer_position()
7380 - gst_pad_query_peer_duration()
7381 - gst_pad_query_peer_convert()
7383 2006-03-23 Wim Taymans <wim@fluendo.com>
7385 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7386 (gst_base_sink_init), (gst_base_sink_finalize),
7387 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7388 (gst_base_sink_set_property), (gst_base_sink_get_property),
7389 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7390 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7391 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7392 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7393 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7394 (gst_base_sink_preroll_object), (gst_base_sink_event),
7395 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7396 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7397 (gst_base_sink_query), (gst_base_sink_change_state):
7398 Decouple max-lateness and the fact that QoS messages are generated
7399 with a new property (qos).
7400 added API: GstBaseSink::async_play()
7401 Add vmethod so subclasses can be notified of ASYNC playing
7403 Collect timestamp start and stop to report better current
7404 position in EOS/PLAYING/PAUSED/READY/NULL.
7405 Refactor QoS/frame dropping and other measurements.
7406 API: GstBaseSrc::qos
7409 * libs/gst/base/gstbasesink.h:
7410 Added Private struct.
7411 API: gst_base_sink_set_qos_enabled()
7412 API: gst_base_sink_is_qos_enabled()
7414 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7416 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7417 If compiling against GLib-2.8 or newer, try to read the
7418 registry file using GMappedFile first before falling back
7419 to fopen() + fread() (#332151).
7421 2006-03-22 Wim Taymans <wim@fluendo.com>
7423 * gst/gstinfo.c: (gst_debug_set_active),
7424 (gst_debug_category_set_threshold):
7425 Disable debugging unless explicitly activated.
7428 2006-03-22 Wim Taymans <wim@fluendo.com>
7430 * gst/gstelement.c: (gst_element_set_locked_state),
7431 (gst_element_dispose):
7432 Cleanup the error case.
7434 * gst/gstobject.c: (gst_object_dispose):
7435 print a critical when some object was disposed with
7436 a parent, also revive the object since it might
7439 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
7441 * tools/gst-launch.1.in:
7444 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7447 * tests/check/Makefile.am:
7448 disable some tests when we don't have a registry
7449 * tests/check/gst/gstutils.c: (gst_utils_suite):
7450 don't build the part that needs parsing
7452 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7455 * tests/examples/Makefile.am:
7456 fix --disable-parse build
7458 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7460 * tools/gst-feedback.1.in:
7461 Fix typo: s/feeback/feedback/ (#133494).
7463 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7465 * tools/Makefile.am:
7466 * tools/gst-launch.1.in:
7467 Add FILES section and correct entry about GST_REGISTRY_PATH
7468 environment variable (#133495; #133494).
7470 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7472 * tools/Makefile.am:
7473 * tools/gst-md5sum.1.in:
7474 * tools/gst-md5sum.c:
7475 Remove gst-md5sum and man page (the md5sink element
7476 required was removed ages ago)
7478 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7480 * gst/gststructure.c: (gst_structure_id_set_value):
7481 Make sure that string fields in structures/taglists
7482 contain valid UTF-8 - we don't want to pass rubbish to
7483 applications because of a buggy plugin (cp. #334167).
7485 2006-03-21 Edward Hervey <edward@fluendo.com>
7487 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7488 (gst_bin_handle_message_func):
7489 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7490 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7491 (gst_element_set_bus_func):
7492 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7493 * gst/gstminiobject.c: (gst_value_set_mini_object),
7494 (gst_value_take_mini_object):
7495 * gst/gstpad.c: (gst_pad_set_pad_template):
7496 * gst/gstpipeline.c: (gst_pipeline_dispose),
7497 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7498 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7499 (gst_collect_pads_chain):
7500 * libs/gst/net/gstnettimeprovider.c:
7501 (gst_net_time_provider_set_property):
7502 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7503 It's in fact all issues with gst_*object_replace().
7505 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7507 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
7509 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7510 * pkgconfig/gstreamer-check.pc.in:
7511 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7513 2006-03-21 Edward Hervey <edward@fluendo.com>
7518 gst_[buffer|event|message]_ref() macros are replaced by a static
7519 inline functions because gcc-4.1 will about if the return value
7521 * tests/check/gst/gstevent.c: (event_probe):
7522 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7524 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
7527 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7528 the type' case. (Closes: #335195 for now). In the future, when we
7529 depend on GLib 2.10, we could also intern the type name using
7530 g_intern_static_string()
7532 2006-03-20 Wim Taymans <wim@fluendo.com>
7534 * gst/gstbin.c: (gst_bin_handle_message_func),
7535 (bin_query_max_init), (bin_query_position_fold),
7536 (bin_query_position_done), (gst_bin_query):
7537 Position query should also take max of all streams.
7539 2006-03-20 Wim Taymans <wim@fluendo.com>
7541 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7542 (gst_fake_src_finalize):
7543 Fix leaks in fakesrc.
7545 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7546 Fix leaks in the testcase.
7548 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
7550 * gst/gst_private.h:
7551 add win32 specific import decoration(__declspec(dllimport))
7552 for all extern GstDebugCategory * variables
7553 * win32/common/libgstbase.def:
7554 * win32/common/libgstcontroller.def:
7555 * win32/common/libgstreamer.def:
7556 Add some exports, remove empty lines
7557 * win32/common/libgstdataprotocol.def:
7558 * win32/common/libgstdataprotocol.dsp:
7559 * win32/common/libgstnet.def:
7560 * win32/common/libgstnet.dsp:
7561 new project files and exportation files added
7563 2006-03-19 Wim Taymans <wim@fluendo.com>
7565 * tests/check/libs/basesrc.c: (eos_event_counter):
7566 Use proper return value for probe.
7568 2006-03-17 Wim Taymans <wim@fluendo.com>
7570 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7572 Don't leak buffers, caps and pads on negotiation errors.
7574 2006-03-16 Stefan Kost <ensonic@users.sf.net>
7577 * docs/faq/dependencies.xml:
7578 * docs/faq/developing.xml:
7580 * docs/faq/general.xml:
7581 * docs/faq/getting.xml:
7582 * docs/faq/legal.xml:
7583 * docs/faq/troubleshooting.xml:
7584 * docs/faq/using.xml:
7585 Faq review and update.
7587 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
7589 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7591 Don't pound the cpu to pieces by checking get_caps when accept_caps
7592 is called with the same caps as the pad already has.
7593 Use GST_DEBUG_OBJECT when outputting caps change information.
7595 2006-03-15 Wim Taymans <wim@fluendo.com>
7597 * gst/gstclock.c: (gst_clock_class_init):
7600 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
7605 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7606 (gst_pad_accept_caps), (gst_pad_configure_sink),
7607 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7608 Make the default acceptcaps behaviour be to check the requested
7609 caps against the gst_pad_get_caps output.
7611 Ensure that gst_pad_accept_caps is used to check caps when a pad
7612 doesn't have a setcaps function, so that pads automatically refuse
7613 caps that they don't allow in their pad template. (Fixes #332986)
7615 When a buffer with attached caps is pushed, ensure that the source
7616 pad receives those caps even if the element didn't call
7617 gst_pad_set_caps first.
7619 2006-03-15 Wim Taymans <wim@fluendo.com>
7621 * libs/gst/base/gstadapter.c:
7624 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
7626 * win32/common/libgstbase.def:
7627 * win32/common/libgstcontroller.def:
7628 * win32/common/libgstreamer.def:
7629 Add a whole bunch of missing functions (#334434).
7631 2006-03-14 Wim Taymans <wim@fluendo.com>
7633 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7634 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7635 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7636 Better debug info when we receive a segment event.
7637 Reorganize a bit so we can pass the get_times() results around.
7638 Use the segment format when calculating the running time.
7639 Don't do QoS is sync is disabled or we have no clock or the
7640 element does not want us to sync to the clock.
7641 Don't drop buffers if QoS is disabled for now.
7643 2006-03-14 Wim Taymans <wim@fluendo.com>
7645 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7646 Marked the stats property as unimplemented so people don't get
7648 Add debug message when regression goes wrong.
7649 Added some more docs.
7651 2006-03-14 Wim Taymans <wim@fluendo.com>
7653 * gst/gstsegment.c: (gst_segment_to_stream_time):
7654 Return correct return type in case of errors.
7656 2006-03-14 Wim Taymans <wim@fluendo.com>
7658 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7659 Don't segfault on invalid formats.
7661 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7663 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7664 Can't use gst_segment_to_running_time() when the segment
7665 is not in GST_TIME_FORMAT (like with filesink, for example).
7666 Stops flac encoding pipelines from spewing critical warnings
7669 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7671 * gst/gstpipeline.c: (gst_pipeline_class_init):
7672 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7674 * plugins/elements/gsttypefindelement.c:
7675 (gst_type_find_element_handle_event):
7676 Don't try to typefind empty streams.
7678 2006-03-14 Wim Taymans <wim@fluendo.com>
7680 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7681 (gst_base_sink_do_qos):
7682 Separate QoS calculation.
7683 Only drop buffers when lateness is bigger than the
7684 duration of the buffer.
7686 2006-03-13 Wim Taymans <wim@fluendo.com>
7688 * gst/gstpipeline.c: (gst_pipeline_set_property),
7689 (gst_pipeline_get_property), (do_pipeline_seek),
7690 (gst_pipeline_change_state), (gst_pipeline_set_delay),
7691 (gst_pipeline_get_delay):
7692 Don't deadlock when reading properties.
7694 2006-03-13 Wim Taymans <wim@fluendo.com>
7696 * libs/gst/base/gstbasetransform.c:
7697 (gst_base_transform_class_init), (gst_base_transform_init),
7698 (gst_base_transform_sink_event),
7699 (gst_base_transform_sink_eventfunc),
7700 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7701 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7702 (gst_base_transform_set_property),
7703 (gst_base_transform_get_property),
7704 (gst_base_transform_change_state), (gst_base_transform_update_qos),
7705 (gst_base_transform_set_qos_enabled),
7706 (gst_base_transform_is_qos_enabled):
7707 * libs/gst/base/gstbasetransform.h:
7708 Make basetransform virtual method for src events too.
7709 Handle QOS in basetransform.
7710 API: gst_base_transform_update_qos()
7711 API: gst_base_transform_set_qos_enabled()
7712 API: gst_base_transform_is_qos_enabled()
7714 2006-03-13 Wim Taymans <wim@fluendo.com>
7716 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7717 (gst_base_sink_do_sync):
7719 Use QOS debug category.
7721 2006-03-13 Wim Taymans <wim@fluendo.com>
7723 * plugins/elements/gstqueue.c:
7724 Very small doc update.
7726 2006-03-13 Wim Taymans <wim@fluendo.com>
7728 * gst/gst_private.h:
7729 * gst/gstinfo.c: (_gst_debug_init):
7730 Added QOS debug category
7732 2006-03-13 Wim Taymans <wim@fluendo.com>
7734 * docs/gst/gstreamer-sections.txt:
7735 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7737 * gst/gstbus.c: (gst_bus_class_init):
7740 * gst/gstelement.c: (gst_element_set_locked_state):
7742 Documentation updates.
7744 * gst/gstpipeline.c: (gst_pipeline_get_type),
7745 (gst_pipeline_class_init), (gst_pipeline_init),
7746 (gst_pipeline_dispose), (gst_pipeline_set_property),
7747 (gst_pipeline_get_property), (do_pipeline_seek),
7748 (gst_pipeline_send_event), (gst_pipeline_change_state),
7749 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7750 (gst_pipeline_get_delay):
7751 * gst/gstpipeline.h:
7752 Added methods for setting the delay.
7753 API: gst_pipeline_set_delay()
7754 API: gst_pipeline_get_delay()
7755 Add pipeline debug category
7758 Don't reset stream time when seek failed.
7760 2006-03-13 Wim Taymans <wim@fluendo.com>
7762 * docs/design/draft-klass.txt:
7763 * docs/design/part-clocks.txt:
7764 * docs/design/part-events.txt:
7765 * docs/design/part-gstbin.txt:
7766 * docs/design/part-gstpipeline.txt:
7767 * docs/design/part-messages.txt:
7768 * docs/design/part-negotiation.txt:
7769 * docs/design/part-overview.txt:
7770 * docs/design/part-preroll.txt:
7771 * docs/design/part-seeking.txt:
7772 * docs/design/part-states.txt:
7773 * docs/design/part-streams.txt:
7774 Documentation updates.
7776 2006-03-12 Julien MOUTTE <julien@moutte.net>
7778 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7779 us to leak strings...
7781 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
7783 * libs/gst/net/gstnettimeprovider.c:
7785 * win32/common/config.h:
7788 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
7790 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7793 Don't check for libgnomeui (leftover from old examples
7794 that aren't built or disted any longer) (#334303).
7796 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
7798 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7799 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7800 Emit RESOURCE_NO_SPACE_LEFT error here as well when
7801 there's no space left on the device.
7803 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
7806 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7807 to cast the input to GstClockTime before comparing with
7808 another GstClockTime value.
7810 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7815 === release 0.10.4 ===
7817 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7820 releasing 0.10.4, "Light"
7822 2006-03-10 Michael Smith <msmith@fluendo.com>
7824 * libs/gst/dataprotocol/dataprotocol.c:
7825 Fix docs for dataprocotol to not get the return types completely
7826 wrong for a few functions.
7828 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7830 * docs/gst/gstreamer-sections.txt:
7831 * gst/gstpipeline.c: (gst_pipeline_class_init),
7832 (gst_pipeline_init), (gst_pipeline_set_property),
7833 (gst_pipeline_get_property), (gst_pipeline_change_state),
7834 (gst_pipeline_set_auto_flush_bus),
7835 (gst_pipeline_get_auto_flush_bus):
7836 * gst/gstpipeline.h:
7837 Add new API: gst_pipeline_set_auto_flush_bus() and
7838 gst_pipeline_get_auto_flush_bus() to disable automatic
7839 flushing of the pipeline's GstBus when going from READY
7840 to NULL state (#332045).
7842 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7844 * docs/gst/gstreamer-sections.txt:
7845 * gst/gsturi.c: (gst_uri_has_protocol):
7847 Add new API: gst_uri_has_protocol() (#333779).
7849 2006-03-09 Wim Taymans <wim@fluendo.com>
7851 * gst/gstclock.c: (gst_clock_entry_new),
7852 (gst_clock_id_compare_func), (gst_clock_id_wait),
7853 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7854 (gst_clock_init), (gst_clock_get_internal_time),
7855 (gst_clock_set_master), (do_linear_regression),
7856 (gst_clock_add_observation), (gst_clock_set_property):
7860 Fix a possible segfault when the window-size is made smaller.
7861 Calculate jitter before performing the clock wait. Ideally
7862 the clock implementation should calculate jitter but we need
7863 API breakage for that.
7865 * gst/gstsystemclock.c: (gst_system_clock_init):
7868 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7869 Remove leftover else
7871 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7872 (gst_systemclock_suite):
7873 Added check to test GST_CLOCK_DIFF.
7875 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7877 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7878 (gst_type_find_helper_get_range):
7879 If we are provided with the size, we should implement
7880 GstTypeFind::get_length, so that typefind functions who
7881 want to can actually peek at the middle of a file.
7883 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
7885 * docs/manual/advanced-dataaccess.xml:
7886 Add some very very basic error checking.
7888 * docs/pwg/appendix-checklist.xml:
7889 Some updates to the list of things to check when writing an element.
7891 2006-03-08 Wim Taymans <wim@fluendo.com>
7893 * docs/design/part-element-transform.txt:
7894 Added some docs about the design of tranform elements.
7896 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7897 (gst_base_src_loop), (gst_base_src_change_state):
7898 Mark buffers with the DISCONT flag.
7900 2006-03-08 Michael Smith <msmith@fluendo.com>
7902 * gst/gstregistry.h:
7903 * gst/gstregistryxml.c: (gst_registry_save),
7904 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7905 (gst_registry_xml_save_pad_template),
7906 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7907 (gst_registry_xml_write_cache):
7908 Rewrite registry-saving to avoid race conditions and check for
7911 2006-03-08 Wim Taymans <wim@fluendo.com>
7913 * libs/gst/base/gstbasetransform.c:
7914 (gst_base_transform_transform_caps),
7915 (gst_base_transform_transform_size),
7916 (gst_base_transform_prepare_output_buffer),
7917 (gst_base_transform_get_unit_size),
7918 (gst_base_transform_buffer_alloc),
7919 (gst_base_transform_handle_buffer),
7920 (gst_base_transform_change_state):
7921 Cleanups, separate normal flow from errors, add sensible
7923 Don't try to renegotiate when allocating an output buffer.
7924 Also copy DISCONT buffer flag when copying a buffer.
7925 Reset the transform after we finish streaming, not during.
7927 2006-03-08 Wim Taymans <wim@fluendo.com>
7929 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7930 Use last buffer timestamp in qos message.
7932 2006-03-07 Wim Taymans <wim@fluendo.com>
7934 Patch by: Christophe Fergeau
7936 * docs/pwg/advanced-tagging.xml:
7937 * docs/pwg/building-pads.xml:
7940 2006-03-07 Wim Taymans <wim@fluendo.com>
7942 * docs/libs/gstreamer-libs-sections.txt:
7943 Added basesink new methods.
7947 Docs updates. Flesh out the QoS docs.
7949 * libs/gst/base/gstadapter.c:
7950 Small doc clarification about ownership and flushing.
7952 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7953 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7954 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7955 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7956 * libs/gst/base/gstbasesink.h:
7958 Added new methods to allow subclass to control max-lateness
7960 Generate very basic QoS events based on last sync observation.
7961 Updated docs, fix typo, added some QoS blurb.
7963 * libs/gst/base/gstbasesrc.c:
7964 Remove obsolete _get_state() calls from docs.
7966 2006-03-07 Wim Taymans <wim@fluendo.com>
7968 * docs/libs/gstreamer-libs-sections.txt:
7969 * libs/gst/base/gstbasetransform.h:
7970 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7971 Fix docs for GstBaseSrc.
7973 2006-03-07 Wim Taymans <wim@fluendo.com>
7975 * docs/gst/gstreamer-sections.txt:
7978 * libs/gst/base/gstbasetransform.h:
7979 Small documentation fixes.
7981 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7984 Document thread-unsafety of gst_value_register_foo_func()
7985 when used at the same time as gst_value_foo() (#322628).
7987 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7989 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7990 (gst_push_src_check_get_range):
7991 Push sources don't support pull mode by default.
7993 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7995 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7996 (gst_base_src_init), (gst_base_src_pad_check_get_range),
7997 (gst_base_src_default_check_get_range):
7998 * libs/gst/base/gstbasesrc.h:
7999 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
8000 provide default implementation, and rename
8001 gst_base_src_check_get_range() to
8002 gst_base_src_pad_check_get_range() for clarity.
8004 2006-03-06 Wim Taymans <wim@fluendo.com>
8006 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8007 Make property overridable.
8009 2006-03-06 Wim Taymans <wim@fluendo.com>
8011 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8012 (gst_base_sink_init), (gst_base_sink_set_property),
8013 (gst_base_sink_get_property), (gst_base_sink_do_sync):
8014 * libs/gst/base/gstbasesink.h:
8015 API addition: Make max-lateness a property.
8017 2006-03-06 Wim Taymans <wim@fluendo.com>
8019 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
8020 (gst_base_sink_do_sync), (gst_base_sink_render_object):
8021 Don't ever draw a frame that is >10ms late.
8023 2006-03-06 Michael Smith <msmith@fluendo.com>
8025 * gst/gstmessage.c: (_gst_message_copy):
8026 When copying a message, set the parent_refcount of the enclosed
8027 structure to point at the copy, not the original message.
8029 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
8031 Patch by: Christophe Fergeau
8034 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
8035 usable in c++ code (#333417)
8037 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
8040 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
8042 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
8044 * libs/gst/base/gstbasetransform.c:
8045 (gst_base_transform_transform_caps):
8046 Make sure caps are writable before passing them to
8049 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
8052 Fix some minor docs errors.
8054 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
8056 Patch by: Ross Burton <ross at burtonini dot com>
8058 * gst/gsterror.c: (_gst_resource_errors_init):
8060 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
8062 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
8065 Add a check and output a g_warning when GStreamer is built
8066 against GLib 2.6 but running against 2.8 or higher, and vice
8067 versa. (Closes: #323542)
8069 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
8071 * gst/parse/parse.l:
8072 Commit patch for parse_launch syntax from #331255. Removes
8073 support for quoted strings and mimetypes when writing filtered
8074 caps. See the bug report for more details - I'm pretty sure this
8075 obscure feature is not in use by _anyone_ anywhere.
8077 With this simple change, the size of the gstreamer.so here
8078 drops from 2193KB to 1565KB.
8080 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8082 * plugins/elements/gsttypefindelement.h:
8083 * plugins/elements/gsttypefindelement.c:
8084 (gst_type_find_element_src_event), (start_typefinding),
8085 (stop_typefinding), (gst_type_find_element_handle_event),
8086 (gst_type_find_element_chain),
8087 (gst_type_find_element_chain_do_typefinding):
8088 Use gst_type_find_helper_for_buffer() for chain-based
8091 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8093 * plugins/elements/gsttypefindelement.c:
8094 (gst_type_find_element_class_init),
8095 (gst_type_find_element_set_property),
8096 (gst_type_find_element_get_property):
8097 Deprecate "maximum" property (not only was it only taken into
8098 account for typefinding in push-mode anyway, it also was never
8099 actually possible to set it in the first place because the
8100 property was registered with the numeric property ID for the
8101 "minimum" property). Register "maximum" property correctly,
8102 for the sake of future copy'n'pasters. Remove some cruft
8103 from property get/set functions.
8105 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8107 * plugins/elements/gsttypefindelement.c:
8108 (gst_type_find_element_activate):
8109 Use gst_type_find_helper_get_range() here, so we
8110 can honour the "minimum" property and also emit
8111 the signal with the correct probability of the found caps.
8113 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
8115 * docs/libs/gstreamer-libs-sections.txt:
8116 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
8117 (helper_find_suggest), (gst_type_find_helper_get_range),
8118 (gst_type_find_helper):
8119 * libs/gst/base/gsttypefindhelper.h:
8120 New API: gst_type_find_helper_get_range() (#333042).
8122 2006-03-02 Michael Smith <msmith@fluendo.com>
8124 * gst/gstregistryxml.c: (load_feature):
8125 Asserting on a failure to read part of the registry is Not Cool.
8126 Just log a warning and return NULL (which is already handled)
8128 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
8130 * win32/common/libgstbase.def:
8131 added export of gst_type_find_helper_for_buffer
8132 * win32/common/libgstbase.def:
8133 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
8134 gst_ghost_pad_get_target
8136 2006-02-28 Wim Taymans <wim@fluendo.com>
8138 * docs/design/draft-klass.txt:
8140 Added Connector to mark elements that are only used to
8141 allow pipeline connections.
8142 Moved Debug to extra feature since most of them are
8143 functionally something else.
8145 2006-02-28 Wim Taymans <wim@fluendo.com>
8147 * docs/design/draft-klass.txt:
8148 Some updates and clarifications.
8150 2006-02-28 Wim Taymans <wim@fluendo.com>
8152 * docs/design/draft-klass.txt:
8153 Proposal for klass field values.
8155 * docs/design/part-streams.txt:
8156 Start of a doc describing stream anatomy.
8158 2006-02-28 Wim Taymans <wim@fluendo.com>
8160 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
8161 Help the compiler a bit with type registration.
8162 Use existing forward cod path instead of duplicating it when
8165 * gst/gstbus.c: (gst_bus_get_type):
8166 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
8167 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
8168 * gst/gstclock.c: (gst_clock_get_type):
8169 * gst/gstelement.c: (gst_element_get_type),
8170 * gst/gstelementfactory.c: (gst_element_factory_get_type):
8171 * gst/gstindexfactory.c: (gst_index_factory_get_type):
8172 * gst/gstminiobject.c: (gst_mini_object_get_type):
8173 * gst/gstpad.c: (gst_pad_get_type):
8174 * gst/gstsegment.c: (gst_segment_get_type):
8175 * gst/gststructure.c: (gst_structure_get_type):
8176 * gst/gstsystemclock.c: (gst_system_clock_get_type):
8177 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
8179 Help compiler with type registration.
8181 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8184 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8186 * plugins/elements/gsttypefindelement.c:
8187 (gst_type_find_element_handle_event):
8188 When we get an EOS event and have not found a type yet
8189 (most likely because we had not yet accumulated
8190 TYPE_FIND_MIN_SIZE of data yet), try to determine the
8191 type given the data we have so far. Fixes typefinding
8192 for very short streams again, most notably quicktime
8193 redirections as used on Apple's trailer site (#331701).
8195 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8197 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
8198 (gst_type_find_helper):
8199 Try typefinding factories with the highest rank first.
8201 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8203 * docs/libs/gstreamer-libs-docs.sgml:
8204 * docs/libs/gstreamer-libs-sections.txt:
8205 * libs/gst/base/gsttypefindhelper.c:
8206 Add section for typefind helper and add documentation
8207 for the old and the new function.
8209 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8211 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
8212 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
8213 (gst_type_find_helper_for_buffer):
8214 * libs/gst/base/gsttypefindhelper.h:
8215 New API: gst_type_find_helper_for_buffer() (#332723).
8217 2006-02-27 Michael Smith <msmith@fluendo.com>
8219 Patch by: Loïc Minier
8223 * docs/slides/Makefile.am:
8224 prevent CVS directories getting disted.
8226 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8228 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
8229 Use the REFCOUNTING category for caps refcounting.
8231 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
8233 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
8234 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
8236 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
8238 * plugins/elements/gsttypefindelement.c:
8239 (gst_type_find_element_activate):
8240 Use gst_pad_check_pull_range() before _activate_pull()
8241 to avoid unnecessary open/close (see #331690).
8243 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
8246 Docs enhancement: make it crystal clear what the
8247 gst_pad_add_*_probe() callbacks should look like.
8249 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
8251 * libs/gst/base/gstbasesrc.c:
8252 Document how applications can stop recording from
8253 live sources (see #330996).
8255 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8257 * tests/check/Makefile.am:
8258 * tests/check/libs/basesrc.c: (eos_event_counter),
8259 (basesrc_eos_events_pull), (basesrc_eos_events_push),
8260 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
8261 (gst_basesrc_suite), (main):
8262 ... and add some tests for the base source EOS stuff.
8264 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8266 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
8267 Test case originally showed the problem fixed below,
8268 but was then amended. Add checks back at the place
8269 where they used to be.
8271 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8273 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8274 (gst_base_src_init), (gst_base_src_loop),
8275 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8276 (gst_base_src_change_state):
8277 * libs/gst/base/gstbasesrc.h:
8278 Don't unconditionally send EOS when going from PAUSED to
8279 READY state, esp. make sure we don't send two EOS events
8280 in some cases (e.g. one when reaching EOS and one when
8281 going from PAUSED to READY). Also, we don't want to send
8282 EOS events when operating in pull mode. However, we do
8283 want to send an EOS event when shutting down a live
8284 source explicitly, for example (fixes #330996).
8286 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8288 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8289 Update src->read_position after a seek when not using mmap.
8290 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
8292 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
8298 Make things work with --disable-parse as they do with
8299 --disable-load-save - the symbols involved disappear, but the
8300 header is still installed and GST_DISABLE_PARSE is included via
8303 2006-02-20 Julien MOUTTE <julien@moutte.net>
8305 * libs/gst/base/gstbasetransform.c:
8306 (gst_base_transform_change_state): Fix a stupid bug. I was
8307 sure I compiled that.
8309 2006-02-20 Julien MOUTTE <julien@moutte.net>
8311 * gst/gstpad.c: (gst_pad_set_blocked_async):
8312 * gst/gstutils.c: (gst_pad_add_data_probe),
8313 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8314 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8315 (gst_pad_remove_buffer_probe): Make those function act on the
8316 ghostpad target when it's a ghostpad. (Closes #331727)
8318 2006-02-20 Julien MOUTTE <julien@moutte.net>
8320 * libs/gst/base/gstbasetransform.c:
8321 (gst_base_transform_change_state): Make basetransform reusable.
8324 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
8326 * docs/random/release:
8327 Move the current documentation of how to do a release to the top
8330 * gst/gstbin.c: (gst_bin_class_init),
8331 (gst_bin_handle_message_func):
8332 Allow multiple state-recalculation threads. (Closes #328873)
8334 2006-02-19 Julien MOUTTE <julien@moutte.net>
8336 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
8337 * gst/gstpad.c: (gst_pad_set_event_function),
8338 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8339 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
8340 2 strings. You can't use the STR_NULL macro on that.
8342 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
8344 * gst/gstpad.c: (gst_pad_set_event_function),
8345 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8346 (gst_pad_set_getcaps_function)
8347 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8348 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8349 So now, we can use --gst-debug-level=5 on Windows
8350 * win32/common/libgstcontroller.def:
8351 Added export of gst_controller_init
8352 * win32/vs6/libgstcontroller.dsp:
8353 Fixed Release post build configuration
8355 2006-02-17 Wim Taymans <wim@fluendo.com>
8357 * tests/check/gst/gstquery.c: (GST_START_TEST):
8358 Added another check.
8360 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
8362 * plugins/elements/gsttypefindelement.c: (find_peek):
8363 We can do peeks at non-zero offsets, as long as they
8364 fall within the buffer we have.
8366 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
8368 * tests/check/Makefile.am:
8369 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8370 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8371 (parse_suite), (main):
8372 Add testsuite for parse launch syntax
8374 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
8376 * plugins/elements/gsttypefindelement.c:
8377 (gst_type_find_element_chain):
8378 When typefinding is unsuccessful in the chain function, don't
8379 error out immediately. Only error out with NO_CAPS_FOUND if
8380 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8381 otherwise simply wait for more data so we can try typefinding
8382 again with more data later. Also, don't attempt to typefind
8383 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8384 this should improve typefinding from network sources where the
8385 size of the first buffer can be somewhat random.
8387 2006-02-14 Wim Taymans <wim@fluendo.com>
8389 * docs/gst/gstreamer-sections.txt:
8390 * gst/gstpadtemplate.c:
8391 * gst/gstpadtemplate.h:
8392 Fix padtemplate docs, fixes #328805.
8394 2006-02-14 Wim Taymans <wim@fluendo.com>
8396 * tools/gst-launch.c: (main):
8397 NO_PREROLL is not an ERROR so don't send confusing messages
8400 2006-02-14 Wim Taymans <wim@fluendo.com>
8402 Patch by: Torsten Schoenfeld
8404 * gst/gstregistry.c: (gst_registry_get_default),
8405 (_gst_registry_cleanup):
8406 Protect default registry with lock and ref/sink it.
8409 2006-02-14 Wim Taymans <wim@fluendo.com>
8412 * gst/gstquery.c: (gst_query_list_add_format),
8413 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8414 (gst_query_parse_formats_nth):
8415 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8418 2006-02-14 Wim Taymans <wim@fluendo.com>
8420 * docs/gst/gstreamer-sections.txt:
8421 Reworked query docs.
8423 * gst/gstquery.c: (gst_query_new_formats),
8424 (gst_query_list_add_format), (gst_query_set_formats),
8425 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8426 (gst_query_parse_formats_nth):
8428 Flesh out formats query, added some new methods.
8429 Fix part of #324398.
8431 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8432 Added query creation tests.
8434 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
8436 * gst/gstpad.c: (fixate_value):
8437 Add a default fixation for fraction lists.
8439 2006-02-13 Wim Taymans <wim@fluendo.com>
8441 * gst/gsttask.c: (gst_task_init), (gst_task_func),
8442 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8445 Detect and warn for obvious deadlocks. fixes #320340
8446 Fix error case where lock was not released.
8448 * tests/check/Makefile.am:
8449 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8450 (task_func), (gst_element_suite), (main):
8453 2006-02-13 Wim Taymans <wim@fluendo.com>
8455 * docs/gst/gstreamer-sections.txt:
8457 Add new functions to docs.
8459 2006-02-13 Wim Taymans <wim@fluendo.com>
8461 * docs/design/part-TODO.txt:
8462 Updated TODO list, basesrc supports seeking to non-bytes
8465 * docs/design/part-element-sink.txt:
8468 * gst/gstbin.c: (bin_replace_message),
8469 (gst_bin_handle_message_func):
8470 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8471 * gst/gstevent.c: (gst_event_finalize):
8472 * gst/gstpad.c: (gst_pad_event_default_dispatch),
8473 (gst_pad_send_event):
8474 Use shiny new _TYPE_NAME macros.
8476 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8477 Move debug statement up.
8479 * gst/gstelement.c: (gst_element_set_locked_state):
8482 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
8484 * docs/gst/gstreamer-sections.txt:
8487 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8488 macros (#330906). Also, document the already existing
8489 GST_QUERY_TYPE macro.
8491 2006-02-13 Wim Taymans <wim@fluendo.com>
8493 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8494 (event_probe), (GST_START_TEST):
8495 Only events up to the pipeline EOS are counted, there are
8496 some more when going to NULL currently which we don't care
8499 2006-02-13 Wim Taymans <wim@fluendo.com>
8501 * gst/gstpad.c: (gst_pad_send_event):
8502 Correctly check flushing and emit probes. fixes #330125
8504 2006-02-10 Andy Wingo <wingo@pobox.com>
8506 * gst/gstbus.c (gst_bus_class_init): Declare our private data
8508 (gst_bus_init): Cache the location of the private data in the
8510 (gst_bus_enable_sync_message_emission)
8511 (gst_bus_disable_sync_message_emission): Implement new public
8513 (gst_bus_post): Emit the sync-message signal if the user asked for
8516 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8517 location of the bus-private structure.
8518 (gst_bus_enable_sync_message_emission)
8519 (gst_bus_disable_sync_message_emission): API addition
8521 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
8523 Patch by: Vincent Torri
8525 * docs/pwg/building-boiler.xml:
8526 PWG patch from #326800
8528 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
8532 * docs/design/Makefile.am:
8535 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8540 === release 0.10.3 ===
8542 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8545 releasing 0.10.3, "Like a virgin"
8547 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8550 2nd prerelease of 0.10.3
8551 Bump libtool versioning.
8553 2006-02-07 Andy Wingo <wingo@pobox.com>
8555 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8556 update last_stop if we're in TIME format and the timestamp is
8559 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
8560 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
8561 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8562 If we get a new newsegment with a different format, adapt
8565 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8566 of 0. Not a problem, really.
8568 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8571 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
8576 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
8579 project files updated to the default vs7 configuration
8580 * win32/common/libgstbase.def:
8581 * win32/common/libgstreamer.def:
8583 removed empty lines,
8584 sorted all exported symbols alphabetically
8585 * win32/common/dirent.c:
8586 * win32/common/dirent.h:
8587 * win32/common/gchar.h:
8588 use windows line end.
8590 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8592 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8593 Send EOS event when stopping.
8595 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8598 Tell folks what to do if the plugin-foobar.xml file
8599 hasn't been generated for a newly-added plugin.
8601 2006-02-05 Julien MOUTTE <julien@moutte.net>
8603 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8604 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8605 (gst_collect_pads_start), (gst_collect_pads_stop),
8606 (gst_collect_pads_event): Collectpads now holds a reference
8607 to the GstPad that was added. Indeed we don't want to look
8608 at pads that might just go away with no warning...
8610 2006-02-05 Julien MOUTTE <julien@moutte.net>
8612 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8613 (gst_collect_pads_start), (gst_collect_pads_stop),
8614 (gst_collect_pads_event), (gst_collect_pads_chain):
8615 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8616 Mark Nauwelaerts's patch on bug #328491.
8618 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8620 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8622 Add some simple tests for gst_parse_bin_from_description() and
8623 gst_bin_find_unconnected_pad() (#329069).
8625 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8627 * tools/gst-launch.c: (event_loop), (main):
8628 Catch errors during preroll (#320084).
8630 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
8632 * plugins/elements/gsttypefindelement.c:
8633 (gst_type_find_element_activate):
8634 Post TYPE_NOT_FOUND error message when typefinding
8635 is unsuccessful in the activate function as well.
8637 2006-02-02 Wim Taymans <wim@fluendo.com>
8639 * docs/design/part-element-sink.txt:
8642 2006-02-02 Wim Taymans <wim@fluendo.com>
8644 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8645 (gst_base_sink_render_object),
8646 (gst_base_sink_queue_object_unlocked):
8647 Only keep track of prerollable items when we are
8649 Before rendering after preroll, always check if we
8651 Added some more debugging.
8653 2006-02-02 Wim Taymans <wim@fluendo.com>
8655 * gst/gstelement.c: (gst_element_continue_state),
8656 (gst_element_set_state_func), (gst_element_change_state):
8657 Fixed #326576, been running this for quite some time with
8658 no regressions at all.
8660 2006-02-02 Wim Taymans <wim@fluendo.com>
8663 Added more suppressions
8665 2006-02-02 Wim Taymans <wim@fluendo.com>
8667 * docs/design/part-element-sink.txt:
8670 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8671 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8672 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8673 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8674 (gst_base_sink_do_sync), (gst_base_sink_render_object),
8675 (gst_base_sink_preroll_object),
8676 (gst_base_sink_queue_object_unlocked),
8677 (gst_base_sink_queue_object), (gst_base_sink_event),
8678 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8679 (gst_base_sink_loop), (gst_base_sink_activate_pull),
8680 (gst_base_sink_get_position), (gst_base_sink_change_state):
8681 * libs/gst/base/gstbasesink.h:
8682 Totally refactored matching the design doc.
8683 Use two segments, one to clip incomming buffers and another to
8685 Handle queueing correctly, bypass the queue when playing.
8686 Make EOS cancelable.
8687 Handle errors correctly when operating in pull based mode.
8689 * tests/check/elements/fakesink.c: (GST_START_TEST),
8691 Added new check for sinks.
8693 2006-02-02 Wim Taymans <wim@fluendo.com>
8695 * gst/gstsegment.c: (gst_segment_clip):
8696 No reason to refuse to clip when start == -1
8698 2006-02-02 Stefan Kost <ensonic@users.sf.net>
8701 * docs/manual/intro-basics.xml:
8702 * docs/manual/intro-preface.xml:
8703 * docs/manual/manual.xml:
8704 * docs/pwg/advanced-dparams.xml:
8705 * docs/pwg/intro-basics.xml:
8706 * docs/pwg/intro-preface.xml:
8708 describe dparams (controller) for plugins
8709 unify docs a little more
8711 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
8713 * docs/gst/gstreamer-sections.txt:
8714 * gst/gstutils.c: (element_find_unconnected_pad),
8715 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8717 Add new API: gst_parse_bin_from_description() and
8718 gst_bin_find_unconnected_pad() (#329069).
8720 2006-02-01 Stefan Kost <ensonic@users.sf.net>
8722 * docs/manual/README:
8723 uncover a nasty detail of the docs build
8725 2006-01-31 Wim Taymans <wim@fluendo.com>
8727 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8728 Don't cache duration messages if we're not going to use or
8731 2006-01-31 Stefan Kost <ensonic@users.sf.net>
8733 * docs/manual/advanced-dparams.xml:
8734 * docs/pwg/advanced-dparams.xml:
8738 * libs/gst/controller/lib.c: (gst_controller_init):
8741 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
8743 * gst/gstelement.c: (gst_element_message_full):
8744 also show file/line/func if no additional debug was given
8746 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
8748 * win32/vs7/grammar.vcproj:
8749 activate copy of autogenerated files for Release mode
8751 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8753 * win32/common/libgstreamer.def:
8754 export gst_value_compare
8756 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
8758 * plugins/elements/Makefile.am:
8759 * plugins/elements/gstelements.c:
8760 * plugins/elements/gstfdsink.c: (_do_init),
8761 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8762 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8763 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8764 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8765 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8766 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8767 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8768 * plugins/elements/gstfdsink.h:
8769 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8771 2006-01-30 Stefan Kost <ensonic@users.sf.net>
8773 * docs/manual/advanced-dparams.xml:
8775 * docs/manual/advanced-position.xml:
8776 * docs/manual/basics-init.xml:
8777 * docs/manual/manual.xml:
8778 * docs/manual/titlepage.xml:
8780 * docs/pwg/titlepage.xml:
8781 cleanup xml (more to come)
8782 * libs/gst/controller/gstcontroller.c:
8785 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8787 * win32/vs6/grammar.dsp:
8788 add autogen of gstmarshal.c,h for Release mode
8790 2006-01-30 Wim Taymans <wim@fluendo.com>
8792 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8793 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8794 (gst_base_sink_handle_object), (gst_base_sink_event),
8795 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8796 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8797 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8798 (gst_base_sink_deactivate), (gst_base_sink_activate),
8799 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8800 (gst_base_sink_query), (gst_base_sink_change_state):
8801 Basesink cleanups, remove some old code.
8802 Handle the case where a subclass can preroll in the render
8803 method (mostly audiosinks).
8805 Remove some locks around variables that are now protected
8806 with the PREROLL_LOCK (clock_id, flushing, ..).
8807 Optimize position query some more, do correct locking.
8808 Remove old code to push queue in state change, this is not
8809 needed anymore since preroll blocks on all prerollable items
8811 Almost implemented as described in design doc.
8813 2006-01-30 Wim Taymans <wim@fluendo.com>
8815 * tests/check/gst/gstbin.c: (GST_START_TEST):
8816 Wait for refcount to settle down before checking.
8818 2006-01-30 Wim Taymans <wim@fluendo.com>
8820 * docs/design/part-element-sink.txt:
8821 Pseudo code overview of desired sink behaviour regarding
8824 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8825 * win32/vs6/grammar.dsp:
8826 fix some bugs in Release mode for autogenerated files
8828 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8829 * win32/common/libgstbase.def:
8830 * win32/common/libgstreamer.def:
8831 export some new symbols: gst_base_src_set_format,
8832 gst_iterator_next, gst_structure_set_valist
8834 2006-01-29 Julien MOUTTE <julien@moutte.net>
8836 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8837 Set pad functions unconditionally. Fixes #329105.
8839 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8841 add vs8 project files created by Sergey Scobich
8843 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
8845 * gst/gstutils.c: (gst_element_unlink_pads):
8846 Don't leak pad references.
8848 * tests/check/elements/fakesink.c: (GST_START_TEST):
8849 * tests/check/generic/sinks.c: (GST_START_TEST):
8850 * tests/check/generic/states.c: (GST_START_TEST):
8851 * tests/check/gst/gstbin.c: (GST_START_TEST):
8852 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8853 * tests/check/gst/gstelement.c: (GST_START_TEST):
8854 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8855 * tests/check/gst/gstiterator.c: (GST_START_TEST):
8856 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8857 Fix a bunch of leaks. Make generic/sinks.c
8858 use a bit less cpu by slowing the buffer rate
8859 between fakesrc and fakesink.
8861 2006-01-27 Stefan Kost <ensonic@users.sf.net>
8863 * gst/gstelement.c: (gst_element_send_event):
8866 * gst/gstiterator.c:
8867 * gst/gstiterator.h:
8868 * gst/gstpad.c: (gst_pad_send_event):
8869 * gst/gststructure.c:
8873 * libs/gst/base/gstadapter.c:
8874 doc fixes, to link to function, just write gst_cool_function(), don't
8877 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8879 * plugins/elements/gsttee.c: (gst_tee_do_push),
8880 (gst_tee_handle_buffer):
8881 Always prefer an actual return value from a src
8882 pad in place of NOT_LINKED. This means we return
8883 WRONG_STATE when all src pads are WRONG_STATE
8884 instead of NOT_LINKED.
8886 Lock when replacing the last message to prevent
8887 racing with the get_property method.
8891 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8893 * tests/check/Makefile.am:
8894 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8896 Add a very simple check that should have caught the memleak I fixed
8897 last night (if not for the slice allocator hiding it)
8899 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8901 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8902 (gst_bin_remove_func), (gst_bin_handle_message_func),
8903 (bin_query_duration_fold), (bin_query_generic_fold):
8904 Clean up references to the clock provider when disposed or when
8905 handling a clock-lost message from it.
8907 Unref sinks when performing a query via gst_iterator_fold, as the
8908 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8910 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8911 (gst_clock_set_master):
8912 Drop our reference to the master clock, if any, when we are disposed.
8914 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8915 Chain up in dispose.
8917 2006-01-26 Wim Taymans <wim@fluendo.com>
8919 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8922 2006-01-26 Julien MOUTTE <julien@moutte.net>
8924 * plugins/elements/gsttee.c: (gst_tee_do_push),
8925 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8926 handles pad being NOT_LINKED or in WRONG_STATE.
8928 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8933 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8936 remove obsolete entry
8938 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8940 * docs/gst/gstreamer-sections.txt:
8941 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8942 (gst_bin_iterate_sources), (gst_bin_send_event):
8944 * gst/gstelement.c: (gst_element_send_event):
8946 * gst/gstpad.c: (gst_pad_send_event):
8947 added code for downstream events, reviewed docs in gstevent.c
8949 2006-01-25 Julien MOUTTE <julien@moutte.net>
8951 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8952 We only query position using the clock in the playing state.
8953 Query peer in the other cases.
8954 * win32/common/config.h: Updates.
8956 2006-01-24 Wim Taymans <wim@fluendo.com>
8958 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8959 A clock entry that is scheduled for the exact time of the
8960 clock is still in time.
8962 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8963 (gst_base_sink_do_sync):
8964 Add some more debug info.
8966 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8969 Add new vs7 project files and solution.
8971 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8974 all files removed as they were out-dated.
8976 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8978 * docs/random/release:
8980 * gst/gstbin.c: (gst_bin_init):
8981 * gst/gstbus.c: (gst_bus_new):
8983 * gst/gstpipeline.c: (gst_pipeline_init):
8984 use gst_bus_new(), improve logging, fix docs
8985 * win32/common/config.h:
8986 update for cvs build
8988 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8991 up required version of automake to 1.7
8993 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
8995 * win32/common/libgstreamer.def:
8996 export gst_buffer_is_metadata_writable
8998 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
9000 * docs/gst/gstreamer-sections.txt:
9002 Add gst_event_replace() (#327001)
9004 2006-01-20 Wim Taymans <wim@fluendo.com>
9006 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9007 Make it actually compile too..
9009 2006-01-20 Wim Taymans <wim@fluendo.com>
9012 Clarify behaviour of _is_equal() when passing NULL parameters.
9014 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9016 Cleanups. Don't unref NULL caps.
9017 When setting the same caps, protect caps of the pad with
9019 Use full functionality of _is_equal() when comparing caps.
9021 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
9023 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9024 Don't loop infinitely if there are no buffers to present. Partially
9025 fixes #327197, but collectpads is just broken for reusing elements
9026 to do multiple encodes atm.
9028 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
9030 * tools/gst-inspect.c: (print_element_features):
9031 * tools/gst-xmlinspect.c: (main):
9032 URL_HANDLER is not a plugin feature we can search for in
9035 2006-01-19 Edward Hervey <edward@fluendo.com>
9037 * gst/gstelement.c: (gst_element_pads_activate):
9038 When activating, do src pads first, then sink pads.
9039 When de-activating, do sink pads first, then src pads.
9041 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9043 * docs/gst/gstreamer-sections.txt:
9044 Add gst_index_add_associationv to the docs
9046 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9051 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
9052 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
9053 Do some refactoring. Doesn't actually change functionality,
9054 but makes landing the DRAIN event easier later.
9056 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
9058 * docs/pwg/advanced-scheduling.xml:
9059 Update from 0.9.x to 0.10 API and make example a bit
9062 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9064 * docs/gst/gstreamer-sections.txt:
9065 Add gst_buffer_(is|make)_metadata_writable methods.
9067 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
9069 * docs/design/part-sparsestreams.txt:
9070 Update sparse streams doc, hopefully for greater clarity
9072 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
9074 * docs/design/part-events.txt:
9075 Remove mention of FILLER events.
9078 * docs/design/part-sparsestreams.txt:
9079 Write some things about using NEWSEGMENT to keep sparse streams
9082 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
9084 * gst/gstbin.c: (gst_bin_dispose):
9085 Guard gst_object_unref call against a NULL object (dispose
9086 can theoretically be called multiple times).
9088 2006-01-18 Wim Taymans <wim@fluendo.com>
9090 * gst/gstbin.c: (gst_bin_element_set_state):
9091 * gst/gstclock.c: (gst_clock_id_wait):
9092 Added some more debug info.
9094 * libs/gst/base/gstadapter.c:
9097 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9098 (gst_base_sink_do_sync), (gst_base_sink_chain):
9099 Added some comments.
9101 2006-01-18 Wim Taymans <wim@fluendo.com>
9103 * tests/check/Makefile.am:
9104 * tests/check/elements/fakesink.c: (chain_async_buffer),
9105 (chain_async), (chain_async_return), (GST_START_TEST),
9106 (fakesink_suite), (main):
9107 Added fakesink test that checks prerolling and clipping
9110 * tests/check/gst/gstutils.c: (GST_START_TEST):
9111 Make check run faster so that buildbots don't timeout.
9113 2006-01-18 Wim Taymans <wim@fluendo.com>
9115 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9116 (gst_base_sink_do_sync):
9118 When the sink finishes blocking on the preroll buffer, it can
9119 immediatly render it instead of rendering when the next buffer
9122 2006-01-18 Wim Taymans <wim@fluendo.com>
9124 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
9125 (gst_base_sink_get_property), (gst_base_sink_do_sync),
9126 (gst_base_sink_chain):
9128 GST_ELEMENT_CLOCK and sync are protected with LOCK.
9129 Don't store _last_stop if the buffer is dropped.
9131 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
9133 * plugins/elements/gsttypefindelement.c:
9134 (gst_type_find_element_class_init):
9135 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
9136 object method handler that sets the caps on the pad and we want
9137 that to happen before we emit the signal (fixes e.g. feeding a
9138 plain text file to decodebin).
9140 2006-01-18 Christian Schaller <Christian@fluendo.com>
9142 * gst/gstplugin.c: Add MPL and Proprietary as license options
9144 2006-01-18 Andy Wingo <wingo@pobox.com>
9146 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
9147 symbol was exported before, it appears this was just an oversight.
9149 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
9151 * gst/gstindex.c (gst_index_add_associationv): Changed int in
9152 prototype to gint. OK since this prototype was not in the header.
9154 2006-01-17 Andy Wingo <wingo@pobox.com>
9156 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
9157 registry while we remove plugins.
9159 * tools/gst-inspect.c (print_element_info): Don't unref the
9160 factory arg, that should be the responsibility of whatever code
9161 received the ref. Fixes a double-free when called from
9162 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
9163 (main): Unref the factory if we have one.
9164 (print_element_list): No change -- relies on the
9165 plugin_feature_list_free to free the list of features.
9167 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
9169 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9170 (gst_buffer_make_metadata_writable):
9172 * libs/gst/base/gstbasetransform.c:
9173 (gst_base_transform_prepare_output_buf):
9174 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9175 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9176 Replace gst_buffer_(make|is)_metadata_writable patch now
9177 that the release is out.
9179 2006-01-17 Andy Wingo <wingo@pobox.com>
9181 * gst/gstregistry.c: Reflow design comment. Update so as to speak
9182 in the present tense without reference to versions.
9184 * gst/gstregistry.c (gst_registry_add_plugin)
9185 (gst_registry_remove_plugin, gst_registry_remove_feature)
9186 (gst_registry_find_feature, gst_registry_get_feature_list)
9187 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
9188 (gst_registry_lookup, gst_registry_scan_path)
9189 (_gst_registry_remove_cache_plugins)
9190 (gst_registry_get_feature_list_by_plugin): Add argument
9193 === release 0.10.2 ===
9195 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
9198 releasing 0.10.2, "If man is five"
9200 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9204 * libs/gst/base/gstbasetransform.c:
9205 (gst_base_transform_prepare_output_buf):
9206 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9207 * tests/check/gst/gstbuffer.c: (gst_test_suite):
9208 Back out patch until after the release.
9210 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9212 * gst/gstminiobject.c:
9213 Spelling fix in docs.
9214 * ChangeLog - remove conflict indicator
9216 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9218 Reviewed By: Andy Wingo
9220 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9221 (gst_buffer_make_metadata_writable):
9223 Add gst_buffer_(is|make)_metadata_writable as analogues of
9224 gst_buffer_(is|make)_writable.
9226 * libs/gst/base/gstbasetransform.c:
9227 (gst_base_transform_prepare_output_buf):
9228 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9229 Use name gst_buffer_(is|make)_metadata_writable functions.
9231 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9232 Test gst_buffer_(is|make)_metadata_writable
9236 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
9238 * docs/manual/Makefile.am:
9239 don't do parallel make
9242 * win32/common/config.h.in:
9243 add generations for HOST_CPU and GST_MAJORMINOR
9244 * win32/common/config.h:
9245 commit generated result
9247 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
9249 * docs/manual/appendix-integration.xml:
9250 Update GNOME integration section to use gst_init_get_option_group()
9251 instead of the old popt stuff (#322911). Also, GNOME applications
9252 should now use gconf*sink and gconf*src instead of the old gconf
9255 2006-01-13 Stefan Kost <ensonic@users.sf.net>
9258 * docs/gst/gstreamer-docs.sgml:
9259 * docs/gst/gstreamer-sections.txt:
9260 * docs/libs/gstreamer-libs-sections.txt:
9261 add new API entries to the docs
9262 * libs/gst/controller/Makefile.am:
9263 * libs/gst/controller/gstcontroller.c:
9264 * libs/gst/controller/gstcontroller.h:
9265 * libs/gst/controller/gstcontrollerprivate.h:
9266 * libs/gst/controller/gsthelper.c:
9267 * libs/gst/controller/gstinterpolation.c:
9268 move private structs to private header
9270 gstreamer-0.7 -> gstreamer-0.10
9271 * tests/check/libs/struct_i386.h:
9272 remove private structs
9274 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
9276 * plugins/indexers/Makefile.am:
9277 Fixes as part of #317048
9279 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
9281 * plugins/indexers/Makefile.am:
9282 fix #316086 - compilation when mmap is missing
9284 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
9286 * libs/gst/base/gstbasesink.c:
9287 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
9288 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
9289 * win32/common/config.h:
9290 added some defines GST_MAJORMINOR and HOST_CPU
9291 * win32/common/libgstbase.def:
9292 * win32/common/libgstreamer.def:
9293 added some exported functions.
9295 2006-01-12 Stefan Kost <ensonic@users.sf.net>
9297 * libs/gst/controller/gstcontroller.c:
9298 (gst_controlled_property_set_interpolation_mode),
9299 (gst_controlled_property_new):
9300 * libs/gst/controller/gstcontroller.h:
9301 * libs/gst/controller/gstinterpolation.c:
9302 (interpolate_none_get_string_value_array):
9303 make G_TYPE_STRING controlable
9305 2006-01-12 Stefan Kost <ensonic@users.sf.net>
9308 * tools/gst-feedback.1.in:
9309 * tools/gst-inspect.1.in:
9310 * tools/gst-launch.1.in:
9311 * tools/gst-md5sum.1.in:
9312 * tools/gst-typefind.1.in:
9313 * tools/gst-xmlinspect.1.in:
9314 * tools/gst-xmllaunch.1.in:
9315 cleanup man-pages, remove reference to gst-register, document env-vars
9317 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
9319 * gst/gstbuffer.c: (gst_buffer_span):
9320 gst_buffer_span should copy the timestamp of the first buffer
9321 if they were both originally overlapping subbuffers of the
9322 same parent, using the same logic as the 'slow copy' case.
9324 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
9326 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
9327 Need to awaken ALL the pads when we pop a buffer, otherwise
9328 collectpads only works when there is 2 input streams.
9330 2006-01-11 Stefan Kost <ensonic@users.sf.net>
9332 * docs/random/ensonic/media-device-daemon.txt:
9335 fix doc example, add clarification
9336 * tools/gst-launch.1.in:
9337 add initial info about GST_PLUGIN_PATH, needs more work
9339 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
9341 * docs/manual/basics-bins.xml:
9342 * docs/manual/basics-elements.xml:
9343 * docs/manual/intro-basics.xml:
9344 Some more minor docs additions and updates.
9346 2006-01-11 Wim Taymans <wim@fluendo.com>
9348 * docs/manual/basics-bins.xml:
9349 * docs/manual/basics-elements.xml:
9350 Some small fixes as pointed out by Ser-ver on IRC.
9352 2006-01-10 Edward Hervey <edward@fluendo.com>
9354 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9355 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9356 the single-segment mode.
9358 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
9360 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9362 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9363 (gst_base_src_perform_seek), (gst_base_src_send_event),
9364 (gst_base_src_set_property), (gst_base_src_get_property),
9365 (gst_base_src_loop), (gst_base_src_start),
9366 (gst_base_src_activate_push):
9367 * libs/gst/base/gstbasesrc.h:
9368 Name (private) union; makes Sun's Forte compiler happy (#324900).
9370 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
9373 gst-register is gone.
9375 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
9377 * gst/gstvalue.c: (_gst_value_initialize):
9378 make the G_TYPE_DATE instantiation work if debug is disabled
9380 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
9382 * gst/gstmessage.c: (gst_message_parse_tag),
9383 (gst_message_parse_error), (gst_message_parse_warning):
9384 Don't crash when return location for error/warning debug
9385 string is NULL; add fact that return locations can be
9386 NULL to docs where appropriate.
9388 2006-01-05 Wim Taymans <wim@fluendo.com>
9390 * gst/gstplugin.c: (gst_plugin_load_file):
9391 Replace strdup by g_strdup.
9393 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9395 * docs/pwg/advanced-types.xml:
9398 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9400 submitted by: Abel Cheung
9404 Added Chinese (traditional) translation
9406 2006-01-04 Wim Taymans <wim@fluendo.com>
9408 * docs/manual/basics-pads.xml:
9409 * docs/plugins/Makefile.am:
9410 * docs/plugins/gstreamer-plugins-docs.sgml:
9411 * docs/plugins/gstreamer-plugins-sections.txt:
9412 * docs/pwg/advanced-clock.xml:
9413 * docs/pwg/advanced-scheduling.xml:
9414 * docs/pwg/advanced-types.xml:
9415 * plugins/elements/gstfdsink.c:
9416 * plugins/elements/gstfdsrc.c:
9417 * plugins/elements/gstfdsrc.h:
9418 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9419 * plugins/elements/gstidentity.h:
9420 * plugins/elements/gstqueue.h:
9421 * plugins/elements/gsttee.c:
9422 * plugins/elements/gsttee.h:
9423 * plugins/elements/gsttypefindelement.c:
9424 (gst_type_find_element_class_init):
9425 * plugins/elements/gsttypefindelement.h:
9426 Small updates to various docs.
9427 Added core plugins to docs.
9429 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9432 add a suppression for liboil's uninitialized variable
9434 2006-01-02 James Livingston <jrl at ids dot org dot au>
9436 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9439 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9440 macro, so that gcc doesn't complain if the -Wmissing-prototypes
9441 compiler switch is being used (#325429).
9443 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
9445 * gst/gstbin.c: (gst_bin_query):
9446 Disable duration query caching in bins until it gets
9447 fixed (see #324807).
9449 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9451 * tools/gst-inspect.c: (print_element_properties_info):
9452 Handle properties of POINTER and BOXED type.
9454 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9456 * gst/gst.c: (init_post):
9457 Init tags stuff and some other things before loading
9458 any static plugins (there may be other static plugins
9459 than just the GStreamer ones, and they may want to
9460 register their own tags or formats or whatever, and
9461 preferably without segfaulting).
9463 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9464 Print at least a warning in the debug logs if we drop a
9465 query just because we don't know how to adjust the value
9466 in the particular format.
9468 2005-12-24 David Schleef <ds@schleef.org>
9470 * tools/gstreamer-completion:
9471 Replacement for gst-complete written in sh and sed. Only
9472 completes names of features, but that's 90% of what I want
9473 it for. Properties are not available in registry.xml. (Maybe
9476 === release 0.10.1 ===
9478 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
9481 releasing 0.10.1, "Nollaig chridheil"
9483 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
9486 Add missing quote, should be make ERROR_CFLAGS="".
9488 2005-12-20 Wim Taymans <wim@fluendo.com>
9490 * docs/design/part-trickmodes.txt:
9491 More documentation on trickmodes.
9493 2005-12-20 Edward Hervey <edward@fluendo.com>
9495 * gst/gstcaps.c: (gst_static_caps_get_type):
9497 API addition: GST_TYPE_STATIC_CAPS
9498 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9499 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9500 * gst/gstpadtemplate.h:
9501 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9502 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9505 2005-12-18 Wim Taymans <wim@fluendo.com>
9507 * libs/gst/base/gstadapter.c:
9508 * libs/gst/base/gstadapter.h:
9509 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9510 (gst_base_sink_get_position):
9511 * libs/gst/base/gstbasesink.h:
9512 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9513 (gst_base_src_default_query), (gst_base_src_default_do_seek),
9514 (gst_base_src_do_seek), (gst_base_src_perform_seek),
9515 (gst_base_src_send_event), (gst_base_src_update_length),
9516 (gst_base_src_get_range), (gst_base_src_loop),
9517 (gst_base_src_start):
9518 * libs/gst/base/gstbasesrc.h:
9519 * libs/gst/base/gstbasetransform.h:
9520 * libs/gst/base/gstcollectpads.h:
9521 * libs/gst/base/gstpushsrc.c:
9522 * libs/gst/base/gstpushsrc.h:
9523 * libs/gst/dataprotocol/dataprotocol.c:
9524 * libs/gst/dataprotocol/dataprotocol.h:
9525 * libs/gst/net/gstnetclientclock.h:
9526 * libs/gst/net/gstnettimeprovider.h:
9527 Documentation updates.
9529 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
9531 * docs/manual/basics-helloworld.xml:
9532 Remove superfluous closing bracket in helloworld example.
9534 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
9536 * tools/gst-launch.1.in:
9537 Update gst-launch man page; add a section with useful
9538 environment variables. Fixes #323882.
9540 2005-12-16 Stefan Kost <ensonic@users.sf.net>
9543 * gst/gst_private.h:
9544 change some char* into char[]
9546 2005-12-16 Wim Taymans <wim@fluendo.com>
9548 * gst/gstregistryxml.c: (load_feature):
9550 Don't use g_object_unref on GstObjects so that we avoid
9551 leaks on unsafe glibs.
9553 2005-12-16 Wim Taymans <wim@fluendo.com>
9555 * gst/gstbin.c: (gst_bin_recalc_state):
9558 2005-12-16 Wim Taymans <wim@fluendo.com>
9561 Added make forever target for check.
9563 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
9565 * gst/gst.c: (init_post):
9566 make the registry cache file HOST_CPU-dependent
9568 2005-12-16 Andy Wingo <wingo@pobox.com>
9570 * plugins/elements/gstbufferstore.c
9571 (gst_buffer_store_cleared_func): Pay attention to g_list_append
9574 * tests/check/gst/gstobject.c
9575 (test_fake_object_name_threaded_unique): Pay attention to
9576 g_list_sort return value.
9578 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
9580 * tools/gst-feedback-m.m:
9581 Update for 0.9/0.10 (fixes #323870).
9583 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
9585 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9586 Fix lcopy for mini objects, the mini object needs to be ref'ed.
9588 * tests/check/gst/gstminiobject.c: (my_foo_init),
9589 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9590 (test_value_collection), (gst_mini_object_suite):
9591 Add test to ensure refcounts end up as expected when passing
9592 GstMiniObjects through g_object_get() and g_object_set().
9594 2005-12-14 Julien MOUTTE <julien@moutte.net>
9596 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9597 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9598 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9599 of collectpads. This version removes a lot of races without
9600 touching API/ABI. Yay !
9602 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
9604 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9605 Don't allow activation of a srcpad in pull_range if it has no
9607 Change some debug statements to be a little clearer
9609 * plugins/elements/gsttypefindelement.c:
9610 (gst_type_find_handle_src_query):
9611 Check that we have a peer before executing queries thereupon.
9613 * tests/examples/metadata/read-metadata.c: (message_loop):
9614 Use gst_bus_pop instead of gst_bus_poll when we just want it to
9615 immediately return us any available message with 0 timeout.
9617 2005-12-12 Michael Smith <msmith@fluendo.com>
9619 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9620 Don't unref factories after calling them.
9621 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9622 * plugins/elements/gsttypefindelement.c:
9623 (gst_type_find_element_chain):
9624 Free lists of factories after using them. Fixing typefinding memory
9627 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9629 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9630 (gst_plugin_feature_load):
9631 more meaningful debug output
9633 * tests/Makefile.am:
9634 * tests/old/examples/Makefile.am:
9635 make make distcheck happy again
9637 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9639 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9640 Catch the special case where we are operating chain-based,
9641 but the downstream peer pad has no chain function. Emit a
9642 custom error message in this case instead of letting the
9643 core generate one implying that this is some sort of core
9644 bug. It's not, it just means that whatever got plugged
9645 into the pipeline downstream when we announced the type
9646 can only operate pull-based, while our source can only
9647 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9648 Error string has not been marked for translation yet, as
9649 it probably needs some more work first.
9651 (gst_type_find_element_get_best_possibility):
9652 Add helper function to find the best of all available
9653 found possibilities that qualify given the min. threshold.
9655 (gst_type_find_element_handle_event):
9656 Fix the case where we get an EOS while still in TYPEFIND
9657 mode (we want to chose the best of all possible types,
9658 not just the first type that happens to be in our unsorted
9659 list of possible types).
9661 (gst_type_find_element_chain):
9662 Make sure we return GST_FLOW_ERROR when we errored out
9663 in stop_typefinding(); also, don't just find the best of
9664 all found type entries and then use the last examined
9665 type entry, but actually use the best entry.
9667 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9669 * tests/examples/typefind/typefind.c: (type_found):
9670 * tests/examples/xml/runxml.c: (xml_loaded):
9671 More gcc4 fixes and a mem leak fix.
9673 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9675 * tests/examples/xml/createxml.c: (object_saved):
9678 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9680 * tests/Makefile.am:
9681 enable the examples even more
9683 2005-12-12 Andy Wingo <wingo@pobox.com>
9685 * libs/gst/net/gstnettimeprovider.c
9686 (gst_net_time_provider_class_init, gst_net_time_provider_init)
9687 (gst_net_time_provider_set_property)
9688 (gst_net_time_provider_get_property):
9689 API addition: Export "active" as a GObject property.
9690 (gst_net_time_provider_thread): Only respond to time queries if
9691 the time provider is active.
9693 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9694 NetTimeProvider, preserving binary compat.
9696 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9698 * tests/examples/controller/audio-example.c: (main):
9699 * tests/examples/launch/Makefile.am:
9700 convert comments again
9702 2005-12-12 Wim Taymans <wim@fluendo.com>
9704 * libs/gst/base/gstpushsrc.c:
9707 2005-12-12 Wim Taymans <wim@fluendo.com>
9709 * docs/libs/gstreamer-libs-sections.txt:
9710 Added new symbol to docs.
9712 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9713 (gst_base_src_init), (gst_base_src_set_format),
9714 (gst_base_src_default_query), (gst_base_src_query),
9715 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9716 (gst_base_src_perform_seek), (gst_base_src_send_event),
9717 (gst_base_src_default_event), (gst_base_src_event_handler),
9718 (gst_base_src_set_property), (gst_base_src_get_property),
9719 (gst_base_src_wait), (gst_base_src_do_sync),
9720 (gst_base_src_update_length), (gst_base_src_get_range),
9721 (gst_base_src_check_get_range), (gst_base_src_loop),
9722 (gst_base_src_default_negotiate), (gst_base_src_start),
9723 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9724 (gst_base_src_change_state):
9725 * libs/gst/base/gstbasesrc.h:
9726 Implement seeking to other formats than _BYTES.
9727 Implement more seeking methods correctly.
9729 Added query vmethod.
9730 Added do_seek vmethod to make life easier for subclasses
9732 API addition: gst_base_src_set_format()
9734 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9736 * tests/examples/Makefile.am:
9739 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9742 * docs/random/ensonic/media-device-daemon.txt:
9743 * tests/examples/controller/.cvsignore:
9744 * tests/examples/controller/Makefile.am:
9745 * tests/examples/controller/audio-example.c: (main):
9746 * tests/examples/helloworld/.cvsignore:
9747 * tests/examples/helloworld/Makefile.am:
9748 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9749 * tests/examples/launch/.cvsignore:
9750 * tests/examples/launch/Makefile.am:
9751 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9752 * tests/examples/metadata/.cvsignore:
9753 * tests/examples/metadata/Makefile.am:
9754 * tests/examples/metadata/read-metadata.c: (message_loop),
9755 (make_pipeline), (print_tag), (main):
9756 * tests/examples/queue/.cvsignore:
9757 * tests/examples/queue/Makefile.am:
9758 * tests/examples/queue/queue.c: (event_loop), (main):
9759 * tests/examples/typefind/.cvsignore:
9760 * tests/examples/typefind/Makefile.am:
9761 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9763 * tests/examples/xml/.cvsignore:
9764 * tests/examples/xml/Makefile.am:
9765 * tests/examples/xml/createxml.c: (object_saved), (main):
9766 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9767 * tests/old/examples/Makefile.am:
9768 * tests/old/examples/TODO:
9769 * tests/old/examples/controller/.cvsignore:
9770 * tests/old/examples/controller/Makefile.am:
9771 * tests/old/examples/controller/audio-example.c:
9772 * tests/old/examples/helloworld/.cvsignore:
9773 * tests/old/examples/helloworld/Makefile.am:
9774 * tests/old/examples/helloworld/helloworld.c:
9775 * tests/old/examples/launch/.cvsignore:
9776 * tests/old/examples/launch/Makefile.am:
9777 * tests/old/examples/launch/mp3parselaunch.c:
9778 * tests/old/examples/launch/mp3play:
9779 * tests/old/examples/manual/Makefile.am:
9780 * tests/old/examples/metadata/Makefile.am:
9781 * tests/old/examples/metadata/read-metadata.c:
9782 * tests/old/examples/queue/.cvsignore:
9783 * tests/old/examples/queue/Makefile.am:
9784 * tests/old/examples/queue/queue.c:
9785 * tests/old/examples/typefind/.cvsignore:
9786 * tests/old/examples/typefind/Makefile.am:
9787 * tests/old/examples/typefind/typefind.c:
9788 * tests/old/examples/xml/.cvsignore:
9789 * tests/old/examples/xml/Makefile.am:
9790 * tests/old/examples/xml/createxml.c:
9791 * tests/old/examples/xml/runxml.c:
9792 applied some simple fixing to some examples
9793 re-enabled the working examples
9795 2005-12-12 Wim Taymans <wim@fluendo.com>
9797 * gst/gstsegment.c: (gst_segment_init),
9798 (gst_segment_set_last_stop), (gst_segment_set_seek),
9799 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9800 (gst_segment_to_running_time):
9801 Added more documentation.
9802 Make sure the last_pos value is updated properly.
9803 Make sure to_stream_time and to_running_time don't
9804 operate on wrong values.
9806 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9809 2005-12-12 Michael Smith <msmith@fluendo.com>
9811 * plugins/elements/gsttypefindelement.c: (free_entry),
9812 (gst_type_find_element_chain):
9813 Now that we're not leaking factories, make sure we keep references
9814 to them while we need them.
9816 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9818 * tests/check/gst/struct_i386.h:
9819 ifdef out the XML structs
9821 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9823 * gst/gstvalue.c: (gst_value_transform_double_fraction):
9824 floor is not needed, F is always positive; this obviates the
9825 need for adding -lm when building without libxml
9827 2005-12-12 Wim Taymans <wim@fluendo.com>
9829 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9830 Take current playback rate into account when reporting
9833 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9835 * docs/manual/mime-world.fig:
9836 Let's try this again, this time with a file that is
9837 actually in XFig format.
9839 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9841 * docs/manual/mime-world.fig:
9842 Add audioconvert element to diagram so that it
9843 matches the text and the code (fixes #319526).
9845 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9847 * docs/pwg/building-chainfn.xml:
9848 * docs/pwg/building-pads.xml:
9849 * docs/pwg/building-state.xml:
9850 * docs/pwg/other-source.xml:
9851 Update state change stuff for 0.10 (fixes #322969).
9853 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9855 * docs/manual/advanced-dataaccess.xml:
9856 * docs/manual/appendix-checklist.xml:
9857 * docs/manual/appendix-programs.xml:
9858 * docs/manual/basics-pads.xml:
9859 * docs/manual/highlevel-components.xml:
9860 * docs/manual/manual.xml:
9861 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9862 add converters in front of pipelines; remove curly
9863 brackets for threads stuff, they no longer exist; use
9864 GST_TYPE_FRACTION for framerates; update some pieces of
9865 code to 0.10, but there's plenty more to do.
9867 * docs/manual/appendix-porting.xml:
9868 Expand on asynchroneous state changes; s/0.9/0.10/;
9869 mention disappearance of gst_init_get_popt_table()
9872 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9874 * docs/faq/using.xml:
9875 Spider no longer exists, and neither does gst-launch-ext.
9876 Update examples to use decodebin and playbin and put
9877 converters in front of sinks (fixes #323726).
9879 2005-12-09 Michael Smith <msmith@fluendo.com>
9881 * plugins/elements/gsttypefindelement.c: (find_peek),
9882 (gst_type_find_element_chain):
9883 Fix leaking element factories in typefinding.
9884 Fix problem where we forgot about a probable type on non-seekable
9885 files, and thus later mis-typefound it.
9887 2005-12-09 Michael Smith <msmith@fluendo.com>
9889 * common/m4/gst-makecontext.m4:
9890 * common/m4/gst-mcsc.m4:
9892 * win32/common/config.h:
9893 * win32/common/config.h.in:
9894 Remove makecontext stuff; not used in 0.10 and causes problems on
9895 HPUX according to bug #322441
9897 2005-12-07 Wim Taymans <wim@fluendo.com>
9899 * tests/check/Makefile.am:
9900 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9902 * tests/check/libs/struct_i386.h:
9903 Added ABI check for libs
9905 2005-12-07 Wim Taymans <wim@fluendo.com>
9907 * tests/check/Makefile.am:
9908 And add the struct_i386.h to dist.
9910 2005-12-07 Wim Taymans <wim@fluendo.com>
9912 * tests/check/Makefile.am:
9913 * tests/check/gst/.cvsignore:
9914 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9916 * tests/check/gst/struct_i386.h:
9917 Added check for ABI compatibility.
9919 2005-12-07 Wim Taymans <wim@fluendo.com>
9921 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9922 (gst_fake_src_get_times), (gst_fake_src_create):
9923 Fix broken sync option, fixes #323259
9925 2005-12-07 Wim Taymans <wim@fluendo.com>
9930 * gst/gstcaps.c: (gst_caps_is_equal):
9931 Don't assert on NULL <--> X. Fixes #323260
9933 * gst/gstminiobject.c: (gst_mini_object_replace):
9934 If we're doing atomic operations, we might just as well use
9935 the proper way to get an atomic pointer.
9937 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9940 2005-12-07 Michael Smith <msmith@fluendo.com>
9942 * gst/parse/grammar.y:
9943 Remove handling of { } for threads.
9945 2005-12-06 David Schleef <ds@schleef.org>
9947 * libs/gst/base/gstbasetransform.c: speling fix.
9949 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
9951 * docs/libs/tmpl/gstdataprotocol.sgml:
9952 * docs/random/omega/testing/gstobject.c:
9956 * gst/gstelementfactory.c:
9959 * gst/gstghostpad.c:
9961 * gst/gstpadtemplate.c:
9962 * gst/gstregistryxml.c:
9964 * gst/gsttagsetter.c:
9965 * gst/gsttypefind.c:
9967 * libs/gst/base/gstbasesrc.c:
9968 * libs/gst/net/gstnetclientclock.c:
9969 * libs/gst/net/gstnettimeprovider.c:
9970 * plugins/elements/gstfakesrc.c:
9971 * plugins/elements/gstfdsrc.c:
9972 * plugins/elements/gstfilesrc.c:
9973 * plugins/elements/gstidentity.c:
9974 * plugins/elements/gstqueue.c:
9975 * plugins/elements/gsttypefindelement.c:
9976 * plugins/indexers/gstfileindex.c:
9977 * plugins/indexers/gstmemindex.c:
9978 * tests/check/gst/gsttag.c:
9979 * tests/old/examples/cutter/cutter.c:
9980 * tests/old/examples/mixer/mixer.c:
9981 * tests/old/examples/xml/runxml.c: (main):
9982 * tests/old/testsuite/caps/normalisation.c:
9983 * tests/old/testsuite/debug/global.c:
9984 * tests/old/testsuite/parse/parse1.c:
9985 * tools/gst-xmlinspect.c:
9986 * win32/common/dirent.c:
9989 === release 0.10.0 ===
9991 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9994 releasing 0.10.0, "Maroilles"
9996 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9998 submitted by: Funda Wang <fundawang@linux.net.cn>
10002 added Chinese (Traditional) translation
10004 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10006 * docs/gst/gstreamer-sections.txt:
10007 * docs/libs/tmpl/gstdataprotocol.sgml:
10008 * docs/random/thomasvs/TODO:
10013 2005-12-05 Andy Wingo <wingo@pobox.com>
10015 patch by: Wim Taymans <wim@fluendo.com>
10017 * libs/gst/base/gstbasetransform.c
10018 (gst_base_transform_prepare_output_buf)
10019 (gst_base_transform_buffer_alloc):
10020 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
10021 alloc_buffer_and_set_caps.
10023 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
10024 set_caps on the source pad.
10025 (gst_pad_alloc_buffer_and_set_caps): New function, does what
10026 alloc_buffer used to do. Fixes #322874.
10028 * docs/gst/gstreamer-sections.txt:
10029 * docs/design/part-negotiation.txt:
10030 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
10033 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
10035 patch by: Sebastien Moutte
10038 * win32/common/config.h.in:
10039 * win32/vs6/libgstcontroller.dsp:
10042 2005-12-05 Wim Taymans <wim@fluendo.com>
10044 * gst/gstcaps.c: (gst_caps_is_equal):
10045 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10046 (gst_fake_src_create):
10047 Back out previous code changes, leave doc updates, file bugs
10050 2005-12-05 Wim Taymans <wim@fluendo.com>
10052 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10053 (gst_fake_src_get_times), (gst_fake_src_create):
10054 * plugins/elements/gstfakesrc.h:
10055 Fix broken sync code.
10057 2005-12-05 Wim Taymans <wim@fluendo.com>
10059 * gst/gstcaps.c: (gst_caps_is_equal):
10060 Comparing NULL against !NULL yields different caps, not a
10063 2005-12-05 Wim Taymans <wim@fluendo.com>
10065 * gst/gstpipeline.c:
10066 Fix small typo in docs.
10068 2005-12-05 Andy Wingo <wingo@pobox.com>
10070 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
10072 * gst/gst.c (init_post): remove hard-coded 0.9 location for
10073 registries/plugins with a MAJORMINOR one.
10074 (plugin_desc): Rename library from gstcoreleements to
10075 staticelements. Fixes #323222.
10077 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
10079 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
10080 Change debug category to 'collectpads' from 'collect_pads'
10083 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
10085 patch by: Sebastien Moutte
10087 * libs/gst/controller/gstinterpolation.c:
10088 use convert function for uint64/double
10089 * win32/vs6/libgstcontroller.dsp:
10092 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
10094 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
10095 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
10097 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10098 add tests that seem to show that the guint64/gdouble conversions
10101 2005-12-02 Wim Taymans <wim@fluendo.com>
10103 * gst/gstregistry.c: (gst_registry_add_path):
10104 * gst/gstregistry.h:
10105 * gst/gstregistryxml.c:
10108 2005-12-02 Wim Taymans <wim@fluendo.com>
10110 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10111 (gst_util_uint64_scale_int):
10114 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10115 Add debug log line.
10117 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
10120 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
10123 * win32/common/config.h:
10124 * win32/vs6/gstreamer.dsw:
10125 * win32/vs6/libgstcoreelements.dsp:
10126 * win32/vs6/libgstelements.dsp:
10127 renamed core elements plugin
10129 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
10131 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
10133 do piece-wise major/minor comparison so 0.9 < 0.10
10134 also allow .exe extensions for tools
10136 2005-12-02 Michael Smith <msmith@fluendo.com>
10139 Escape a % to make gtkdoc happier; bug 322958.
10141 === release 0.9.7 ===
10143 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10146 releasing 0.9.7, "My Dog Has No Nose"
10148 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10150 * common/gst-xmlinspect.py:
10152 * docs/libs/tmpl/gstdataprotocol.sgml:
10153 * docs/random/release:
10172 * win32/common/config.h:
10173 * win32/common/config.h.in:
10174 * win32/vs6/gst_inspect.dsp:
10175 * win32/vs6/gst_launch.dsp:
10176 * win32/vs6/libgstbase.dsp:
10177 * win32/vs6/libgstelements.dsp:
10178 * win32/vs6/libgstreamer.dsp:
10179 * win32/vs7/GStreamer.vcproj:
10180 * win32/vs7/gst-inspect.vcproj:
10181 * win32/vs7/gst-launch.vcproj:
10182 * win32/vs7/libgstbase.vcproj:
10183 bump GST_MAJORMINOR to 0.10
10184 reset libtool version
10186 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10190 Added Bulgarian translation by (Alexander Shopov)
10192 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10194 * tests/check/gst/gstplugin.c:
10197 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10199 * common/gst-xmlinspect.py:
10200 * common/gtk-doc-plugins.mak:
10202 * docs/Makefile.am:
10203 * docs/gst/Makefile.am:
10204 * docs/gst/gstreamer-docs.sgml:
10205 * docs/gst/gstreamer-sections.txt:
10206 * docs/gst/gstreamer.types:
10207 * docs/gst/gstreamer.types.in:
10208 * docs/plugins/Makefile.am:
10209 * docs/plugins/gstreamer-plugins-docs.sgml:
10210 * docs/plugins/gstreamer-plugins-sections.txt:
10211 * docs/plugins/gstreamer-plugins.types:
10212 * docs/plugins/inspect.stamp:
10213 * docs/plugins/inspect/plugin-coreelements.xml:
10214 * docs/plugins/inspect/plugin-coreindexers.xml:
10215 * docs/plugins/scanobj-build.stamp:
10216 * gstreamer.spec.in:
10217 * plugins/elements/Makefile.am:
10218 * plugins/elements/gstelements.c:
10219 * plugins/elements/gstfakesink.c:
10220 * plugins/elements/gstfakesrc.c:
10221 * plugins/elements/gstfilesink.c:
10222 * plugins/elements/gstfilesrc.c:
10223 * plugins/elements/gstqueue.c:
10224 * plugins/indexers/Makefile.am:
10225 * plugins/indexers/gstindexers.c:
10226 document core plugins in a separate document just like all the
10228 rename these plugins to something starting with core
10230 2005-12-01 Andy Wingo <wingo@pobox.com>
10232 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
10233 padding here before, but it missed the commit.
10235 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10237 * libs/gst/controller/gstinterpolation.c:
10238 whitespace prices have crashed, we should feel free to use some now
10239 use gst_guint64_to_gdouble
10241 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10243 * libs/gst/controller/gstcontroller.c:
10244 * libs/gst/controller/gsthelper.c:
10245 * libs/gst/controller/gstinterpolation.c:
10246 * libs/gst/controller/lib.c:
10247 wrap config.h include
10249 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10251 * docs/gst/gstreamer-sections.txt:
10254 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10256 * plugins/elements/gstelements.c:
10257 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
10258 (gst_fd_sink__class_init), (gst_fd_sink__init),
10259 (gst_fd_sink__chain), (gst_fd_sink__set_property),
10260 (gst_fd_sink__get_property):
10261 * plugins/elements/gstfdsink.h:
10262 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
10263 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
10264 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
10265 (gst_fd_src_unlock), (gst_fd_src_set_property),
10266 (gst_fd_src_get_property), (gst_fd_src_create),
10267 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
10268 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
10269 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
10270 (gst_fd_src_uri_handler_init):
10271 * plugins/elements/gstfdsrc.h:
10272 * plugins/elements/gstqueue.c: (gst_queue_get_type):
10275 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10277 * docs/gst/Makefile.am:
10278 * docs/gst/gstreamer.types.in:
10282 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10288 * gst/gstregistry.h:
10289 * tests/benchmarks/complexity.c:
10290 * tests/benchmarks/mass-elements.c:
10291 * tests/check/Makefile.am:
10292 * tools/Makefile.am:
10293 * tools/gst-inspect.c:
10294 * tools/gst-xmlinspect.c:
10295 various fixes to make
10296 --disable-nls --disable-registry --disable-loadsave
10297 --disable-parse --disable-gst-debug
10298 work and get the core .so down to 360444 bytes after stripping
10300 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10305 * docs/random/thomasvs/TODO:
10306 * tests/Makefile.am:
10310 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10312 * win32/GStreamer.vcproj:
10315 * win32/Makefile.inspect:
10316 * win32/Makefile.launch:
10317 * win32/Makefile.register:
10318 * win32/README.txt:
10319 * win32/gst-inspect.vcproj:
10320 * win32/gst-launch.vcproj:
10321 * win32/gst-register.vcproj:
10322 * win32/gstelements.vcproj:
10323 * win32/gstgetbits.def:
10324 * win32/gstgetbits.vcproj:
10325 * win32/gstreamer-dbg.def:
10326 * win32/gstreamer.def:
10327 * win32/libgstbase.def:
10328 * win32/libgstbase.vcproj:
10329 * win32/link_oldruntime.c:
10333 * win32/msvc71.sln:
10334 move even more stuff, win32/ is nice and clean now
10336 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10338 * libs/gst/control/.cvsignore:
10343 * win32/gstbytestream.def:
10344 * win32/gstbytestream.vcproj:
10345 * win32/gstconfig.h:
10346 * win32/gstenumtypes.c:
10347 * win32/gstenumtypes.h:
10348 * win32/gstoptimalscheduler.vcproj:
10349 * win32/gstversion.h:
10351 * win32/testsuite/bins.vcproj:
10352 * win32/testsuite/bytestream.vcproj:
10353 * win32/testsuite/caps.vcproj:
10354 * win32/testsuite/cleanup.vcproj:
10355 * win32/testsuite/clock.vcproj:
10356 * win32/testsuite/debug.vcproj:
10357 * win32/testsuite/dlopen.vcproj:
10358 * win32/testsuite/dynparams.vcproj:
10359 * win32/testsuite/elements.vcproj:
10360 * win32/testsuite/ghostpads.vcproj:
10361 * win32/testsuite/indexers.vcproj:
10362 * win32/testsuite/negotiation.vcproj:
10363 * win32/testsuite/parse.vcproj:
10364 * win32/testsuite/plugin.vcproj:
10365 * win32/testsuite/refcounting.vcproj:
10366 * win32/testsuite/schedulers.vcproj:
10367 * win32/testsuite/states.vcproj:
10368 * win32/testsuite/tags.vcproj:
10369 * win32/testsuite/threads.vcproj:
10370 remove old win32 stuff that isn't maintained and should be
10373 2005-11-30 Andy Wingo <wingo@pobox.com>
10375 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10376 loading the gst.interfaces python module bork.
10378 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10379 available since GLib 2.2. Fixes #318031.
10381 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10384 * check/.cvsignore:
10385 * check/Makefile.am:
10386 * check/elements/.cvsignore:
10387 * check/elements/fakesrc.c:
10388 * check/elements/fdsrc.c:
10389 * check/elements/identity.c:
10390 * check/generic/.cvsignore:
10391 * check/generic/states.c:
10392 * check/gst-libs/.cvsignore:
10393 * check/gst-libs/controller.c:
10394 * check/gst-libs/gdp.c:
10395 * check/gst/.cvsignore:
10396 * check/gst/capslist.h:
10398 * check/gst/gstbin.c:
10399 * check/gst/gstbuffer.c:
10400 * check/gst/gstbus.c:
10401 * check/gst/gstcaps.c:
10402 * check/gst/gstelement.c:
10403 * check/gst/gstevent.c:
10404 * check/gst/gstghostpad.c:
10405 * check/gst/gstiterator.c:
10406 * check/gst/gstmessage.c:
10407 * check/gst/gstminiobject.c:
10408 * check/gst/gstobject.c:
10409 * check/gst/gstpad.c:
10410 * check/gst/gstpipeline.c:
10411 * check/gst/gstplugin.c:
10412 * check/gst/gstsegment.c:
10413 * check/gst/gststructure.c:
10414 * check/gst/gstsystemclock.c:
10415 * check/gst/gsttag.c:
10416 * check/gst/gstutils.c:
10417 * check/gst/gstvalue.c:
10418 * check/net/.cvsignore:
10419 * check/net/gstnetclientclock.c:
10420 * check/net/gstnettimeprovider.c:
10421 * check/pipelines/.cvsignore:
10422 * check/pipelines/cleanup.c:
10423 * check/pipelines/simple_launch_lines.c:
10424 * check/pipelines/stress.c:
10425 * check/states/.cvsignore:
10426 * check/states/sinks.c:
10428 * examples/Makefile.am:
10429 * examples/appreader/.cvsignore:
10430 * examples/appreader/Makefile.am:
10431 * examples/appreader/appreader.c:
10432 * examples/controller/.cvsignore:
10433 * examples/controller/Makefile.am:
10434 * examples/controller/audio-example.c:
10435 * examples/cutter/.cvsignore:
10436 * examples/cutter/Makefile.am:
10437 * examples/cutter/cutter.c:
10438 * examples/cutter/cutter.h:
10439 * examples/events/Makefile.am:
10440 * examples/events/seek.c:
10441 * examples/helloworld/.cvsignore:
10442 * examples/helloworld/Makefile.am:
10443 * examples/helloworld/helloworld.c:
10444 * examples/helloworld2/.cvsignore:
10445 * examples/helloworld2/Makefile.am:
10446 * examples/helloworld2/helloworld2.c:
10447 * examples/launch/.cvsignore:
10448 * examples/launch/Makefile.am:
10449 * examples/launch/mp3parselaunch.c:
10450 * examples/launch/mp3play:
10451 * examples/manual/.cvsignore:
10452 * examples/manual/Makefile.am:
10453 * examples/manual/extract.pl:
10454 * examples/metadata/Makefile.am:
10455 * examples/metadata/read-metadata.c:
10456 * examples/mixer/.cvsignore:
10457 * examples/mixer/Makefile.am:
10458 * examples/mixer/mixer.c:
10459 * examples/mixer/mixer.h:
10460 * examples/pingpong/.cvsignore:
10461 * examples/pingpong/Makefile.am:
10462 * examples/pingpong/pingpong.c:
10463 * examples/plugins/.cvsignore:
10464 * examples/plugins/Makefile.am:
10465 * examples/plugins/example.c:
10466 * examples/plugins/example.h:
10467 * examples/pwg/.cvsignore:
10468 * examples/pwg/Makefile.am:
10469 * examples/pwg/extract.pl:
10470 * examples/queue/.cvsignore:
10471 * examples/queue/Makefile.am:
10472 * examples/queue/queue.c:
10473 * examples/queue2/.cvsignore:
10474 * examples/queue2/Makefile.am:
10475 * examples/queue2/queue2.c:
10476 * examples/queue3/.cvsignore:
10477 * examples/queue3/Makefile.am:
10478 * examples/queue3/queue3.c:
10479 * examples/queue4/.cvsignore:
10480 * examples/queue4/Makefile.am:
10481 * examples/queue4/queue4.c:
10482 * examples/retag/.cvsignore:
10483 * examples/retag/Makefile.am:
10484 * examples/retag/retag.c:
10485 * examples/retag/transcode.c:
10486 * examples/thread/.cvsignore:
10487 * examples/thread/Makefile.am:
10488 * examples/thread/thread.c:
10489 * examples/typefind/.cvsignore:
10490 * examples/typefind/Makefile.am:
10491 * examples/typefind/typefind.c:
10492 * examples/xml/.cvsignore:
10493 * examples/xml/Makefile.am:
10494 * examples/xml/createxml.c:
10495 * examples/xml/runxml.c:
10496 * tests/Makefile.am:
10497 * tests/check/Makefile.am:
10498 * testsuite/.cvsignore:
10499 * testsuite/Makefile.am:
10501 * testsuite/caps/.cvsignore:
10502 * testsuite/caps/Makefile.am:
10503 * testsuite/caps/app_fixate.c:
10504 * testsuite/caps/audioscale.c:
10505 * testsuite/caps/caps.c:
10506 * testsuite/caps/caps.h:
10507 * testsuite/caps/caps_strings:
10508 * testsuite/caps/compatibility.c:
10509 * testsuite/caps/deserialize.c:
10510 * testsuite/caps/enumcaps.c:
10511 * testsuite/caps/eratosthenes.c:
10512 * testsuite/caps/filtercaps.c:
10513 * testsuite/caps/fixed.c:
10514 * testsuite/caps/fraction-convert.c:
10515 * testsuite/caps/fraction-multiply-and-zero.c:
10516 * testsuite/caps/intersect2.c:
10517 * testsuite/caps/intersection.c:
10518 * testsuite/caps/normalisation.c:
10519 * testsuite/caps/random.c:
10520 * testsuite/caps/renegotiate.c:
10521 * testsuite/caps/sets.c:
10522 * testsuite/caps/simplify.c:
10523 * testsuite/caps/string-conversions.c:
10524 * testsuite/caps/structure.c:
10525 * testsuite/caps/subtract.c:
10526 * testsuite/caps/union.c:
10527 * testsuite/debug/.cvsignore:
10528 * testsuite/debug/Makefile.am:
10529 * testsuite/debug/category.c:
10530 * testsuite/debug/commandline.c:
10531 * testsuite/debug/global.c:
10532 * testsuite/debug/output.c:
10533 * testsuite/debug/printf_extension.c:
10534 * testsuite/dlopen/.cvsignore:
10535 * testsuite/dlopen/Makefile.am:
10536 * testsuite/dlopen/dlopen_gst.c:
10537 * testsuite/dlopen/loadgst.c:
10538 * testsuite/elements/.cvsignore:
10539 * testsuite/elements/Makefile.am:
10540 * testsuite/elements/gst-inspect-check.in:
10541 * testsuite/elements/struct_i386.h:
10542 * testsuite/elements/struct_size.c:
10543 * testsuite/indexers/.cvsignore:
10544 * testsuite/indexers/Makefile.am:
10545 * testsuite/indexers/cache1.c:
10546 * testsuite/indexers/indexdump.c:
10547 * testsuite/parse/.cvsignore:
10548 * testsuite/parse/Makefile.am:
10549 * testsuite/parse/parse1.c:
10550 * testsuite/parse/parse2.c:
10551 * testsuite/plugin/.cvsignore:
10552 * testsuite/plugin/Makefile.am:
10553 * testsuite/plugin/README:
10554 * testsuite/plugin/dynamic.c:
10555 * testsuite/plugin/linked.c:
10556 * testsuite/plugin/loading.c:
10557 * testsuite/plugin/registry.c:
10558 * testsuite/plugin/static.c:
10559 * testsuite/plugin/static2.c:
10560 * testsuite/plugin/testplugin.c:
10561 * testsuite/plugin/testplugin2.c:
10562 * testsuite/plugin/testplugin2_s.c:
10563 * testsuite/plugin/testplugin_s.c:
10564 * testsuite/refcounting/.cvsignore:
10565 * testsuite/refcounting/Makefile.am:
10566 * testsuite/refcounting/bin.c:
10567 * testsuite/refcounting/element.c:
10568 * testsuite/refcounting/element_pad.c:
10569 * testsuite/refcounting/mainloop.c:
10570 * testsuite/refcounting/mem.c:
10571 * testsuite/refcounting/mem.h:
10572 * testsuite/refcounting/object.c:
10573 * testsuite/refcounting/pad.c:
10574 * testsuite/refcounting/sched.c:
10575 * testsuite/refcounting/thread.c:
10576 * testsuite/states/.cvsignore:
10577 * testsuite/states/Makefile.am:
10578 * testsuite/states/bin.c:
10579 * testsuite/states/locked.c:
10580 * testsuite/states/parent.c:
10581 * testsuite/threads/.cvsignore:
10582 * testsuite/threads/159566.c:
10583 * testsuite/threads/159852.c:
10584 * testsuite/threads/Makefile.am:
10585 * testsuite/threads/queue.c:
10586 * testsuite/threads/signals.c:
10587 * testsuite/threads/staticrec.c:
10588 * testsuite/threads/thread.c:
10589 * testsuite/threads/threadb.c:
10590 * testsuite/threads/threadc.c:
10591 * testsuite/threads/threadd.c:
10592 * testsuite/threads/threade.c:
10593 * testsuite/threads/threadf.c:
10594 * testsuite/threads/threadg.c:
10595 * testsuite/threads/threadh.c:
10596 * testsuite/threads/threadi.c:
10597 move all of these under tests
10599 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10602 * tests/Makefile.am:
10605 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10607 * docs/gst/gstreamer-sections.txt:
10608 * tests/sched/.cvsignore:
10609 * tests/sched/Makefile.am:
10610 * tests/sched/cases/(fs-fs).xml:
10611 * tests/sched/cases/(fs-i-fs).xml:
10612 * tests/sched/cases/(fs-i-i-fs).xml:
10613 * tests/sched/cases/(fs-i-q[i-fs]).xml:
10614 * tests/sched/dynamic-pipeline.c:
10615 * tests/sched/interrupt1.c:
10616 * tests/sched/interrupt2.c:
10617 * tests/sched/interrupt3.c:
10618 * tests/sched/runtestcases:
10619 * tests/sched/runxml.c:
10620 * tests/sched/sched-stress.c:
10621 * tests/sched/sort.c:
10622 * tests/sched/testcases:
10623 * tests/sched/testcases1.tc:
10624 * tests/seeking/.cvsignore:
10625 * tests/seeking/Makefile.am:
10626 * tests/seeking/seeking1.c:
10627 * tests/threadstate/.cvsignore:
10628 * tests/threadstate/Makefile.am:
10629 * tests/threadstate/test1.c:
10630 * tests/threadstate/test2.c:
10631 * tests/threadstate/threadstate1.c:
10632 * tests/threadstate/threadstate2.c:
10633 * tests/threadstate/threadstate3.c:
10634 * tests/threadstate/threadstate4.c:
10635 * tests/threadstate/threadstate5.c:
10636 remove obsolete tests
10638 * tests/bench-complexity.scm:
10639 * tests/bench-mass_elements.scm:
10640 * tests/complexity.c:
10641 * tests/complexity.gnuplot:
10642 * tests/instantiate/.cvsignore:
10643 * tests/instantiate/Makefile.am:
10644 * tests/instantiate/caps.c:
10645 * tests/mass_elements.c:
10646 * tests/network-clock-utils.scm:
10647 * tests/network-clock.scm:
10649 First pass at cleaning up tests/ dir before moving the rest
10650 Combined with CVS surgery
10652 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10655 queue has moved, update
10657 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10659 * docs/gst/gstreamer-sections.txt:
10660 remove double entries from the docs
10661 * gst/gst_private.h:
10662 * gst/gstinfo.c: (_gst_debug_init):
10663 remove the THREAD debug category
10667 * docs/gst/gstreamer.types:
10668 * plugins/elements/gstqueue.c: (gst_queue_get_type),
10669 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10670 completely move queue and fix up debugging categories
10672 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10674 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10675 make initialization portable, using LL is not
10677 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10679 * win32/common/gstconfig.h:
10682 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10684 * win32/common/libgstreamer.def:
10685 rename symbols; sort base section
10687 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10689 * gst/gstclock.c: (do_linear_regression):
10690 remove crack non-portable handrolled DEBUG macro
10692 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10694 * docs/random/release:
10696 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10697 (gst_object_flags_get_type), (register_gst_bin_flags),
10698 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10699 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10700 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10701 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10702 (gst_caps_flags_get_type), (register_gst_clock_return),
10703 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10704 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10705 (gst_clock_flags_get_type), (register_gst_state),
10706 (gst_state_get_type), (register_gst_state_change_return),
10707 (gst_state_change_return_get_type), (register_gst_state_change),
10708 (gst_state_change_get_type), (register_gst_element_flags),
10709 (gst_element_flags_get_type), (register_gst_core_error),
10710 (gst_core_error_get_type), (register_gst_library_error),
10711 (gst_library_error_get_type), (register_gst_resource_error),
10712 (gst_resource_error_get_type), (register_gst_stream_error),
10713 (gst_stream_error_get_type), (register_gst_event_type_flags),
10714 (gst_event_type_flags_get_type), (register_gst_event_type),
10715 (gst_event_type_get_type), (register_gst_seek_type),
10716 (gst_seek_type_get_type), (register_gst_seek_flags),
10717 (gst_seek_flags_get_type), (register_gst_format),
10718 (gst_format_get_type), (register_gst_index_certainty),
10719 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10720 (gst_index_entry_type_get_type),
10721 (register_gst_index_lookup_method),
10722 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10723 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10724 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10725 (gst_index_flags_get_type), (register_gst_debug_level),
10726 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10727 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10728 (gst_iterator_result_get_type), (register_gst_iterator_item),
10729 (gst_iterator_item_get_type), (register_gst_message_type),
10730 (gst_message_type_get_type), (register_gst_mini_object_flags),
10731 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10732 (gst_pad_link_return_get_type), (register_gst_flow_return),
10733 (gst_flow_return_get_type), (register_gst_activate_mode),
10734 (gst_activate_mode_get_type), (register_gst_pad_direction),
10735 (gst_pad_direction_get_type), (register_gst_pad_flags),
10736 (gst_pad_flags_get_type), (register_gst_pad_presence),
10737 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10738 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10739 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10740 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10741 (gst_plugin_flags_get_type), (register_gst_rank),
10742 (gst_rank_get_type), (register_gst_query_type),
10743 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10744 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10745 (gst_tag_flag_get_type), (register_gst_task_state),
10746 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10747 (gst_alloc_trace_flags_get_type),
10748 (register_gst_type_find_probability),
10749 (gst_type_find_probability_get_type), (register_gst_uri_type),
10750 (gst_uri_type_get_type), (register_gst_parse_error),
10751 (gst_parse_error_get_type):
10752 * win32/common/gstenumtypes.h:
10753 * win32/common/gstversion.h:
10754 update visual studio generated files
10756 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10758 * win32/vs6/libgstbase.dsp:
10759 * win32/vs6/libgstelements.dsp:
10760 update project files for new locations
10762 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10767 reinstate and update
10772 * docs/random/LICENSE:
10775 2005-11-30 Edward Hervey <edward@fluendo.com>
10777 * gst/gsttypefind.c: (gst_type_find_register):
10778 * gst/gsttypefind.h:
10779 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10780 (gst_type_find_factory_dispose):
10781 * gst/gsttypefindfactory.h:
10782 Fix memory leak in GstTypeFindFactory.
10784 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10787 * plugins/elements/Makefile.am:
10788 * plugins/elements/gstelements.c:
10789 * plugins/elements/gstqueue.c:
10790 move queue from core to the elements plugin
10792 2005-11-29 Andy Wingo <wingo@pobox.com>
10794 * libs/gst/base/gstbasetransform.h:
10795 * libs/gst/base/gstbasesrc.h:
10796 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10798 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10799 of pointers by which to pad very extensible base classes (like the
10800 ones in libs/gst/base).
10802 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10804 * docs/gst/gstreamer-docs.sgml:
10805 * docs/gst/gstreamer-sections.txt:
10806 * docs/libs/gstreamer-libs-docs.sgml:
10807 * docs/libs/gstreamer-libs-sections.txt:
10808 moving documentation from core to lib
10810 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10812 * check/Makefile.am:
10814 * docs/gst/Makefile.am:
10816 * gst/base/.cvsignore:
10817 * gst/base/Makefile.am:
10819 * gst/base/gstadapter.c:
10820 * gst/base/gstadapter.h:
10821 * gst/base/gstbasesink.c:
10822 * gst/base/gstbasesink.h:
10823 * gst/base/gstbasesrc.c:
10824 * gst/base/gstbasesrc.h:
10825 * gst/base/gstbasetransform.c:
10826 * gst/base/gstbasetransform.h:
10827 * gst/base/gstcollectpads.c:
10828 * gst/base/gstcollectpads.h:
10829 * gst/base/gstpushsrc.c:
10830 * gst/base/gstpushsrc.h:
10831 * gst/base/gsttypefindhelper.c:
10832 * gst/base/gsttypefindhelper.h:
10833 * gst/check/Makefile.am:
10834 * gst/check/gstcheck.c:
10835 * gst/check/gstcheck.h:
10836 * gst/net/Makefile.am:
10837 * gst/net/gstnet.h:
10838 * gst/net/gstnetclientclock.c:
10839 * gst/net/gstnetclientclock.h:
10840 * gst/net/gstnettimepacket.c:
10841 * gst/net/gstnettimepacket.h:
10842 * gst/net/gstnettimeprovider.c:
10843 * gst/net/gstnettimeprovider.h:
10844 * libs/gst/Makefile.am:
10845 * libs/gst/base/Makefile.am:
10846 * libs/gst/base/gstbasetransform.c:
10847 * libs/gst/check/Makefile.am:
10848 * plugins/elements/Makefile.am:
10850 CVS surgery + support to move base, check, and net out of gst
10853 2005-11-29 Andy Wingo <wingo@pobox.com>
10855 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10857 * gst/gststructure.h (struct _GstStructure): Only one pointer of
10860 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10862 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10864 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10866 * gst/gstobject.h: (struct _GstObject): Only one pointer of
10867 padding; reduces object size by about 30%. We don't expect
10868 anything else to go into gstobject.
10870 * gst/gstminiobject.h (struct _GstMiniObject)
10871 (struct _GstMiniObjectClass): Only one pointer of padding; the
10872 payload is only a pointer and two ints anyway. For the class there
10873 are only two methods as well.
10875 * gst/gstelement.h (struct _GstElementClass): Removed
10876 the state_changed signal callback, it is not used.
10878 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10880 * docs/gst/gstreamer.types:
10881 fix includes, though they are a little dinky
10883 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10885 * check/Makefile.am:
10886 look in the right place for elements, a lot more chance of
10889 remove indexers and elements subdirs
10890 * plugins/Makefile.am:
10891 make indexers conditional
10893 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10897 * plugins/elements/Makefile.am:
10898 * plugins/elements/gstcapsfilter.c:
10899 * plugins/elements/gstfilesink.c:
10900 * plugins/elements/gstfilesrc.c:
10901 * plugins/elements/gstidentity.c:
10902 * plugins/indexers/Makefile.am:
10903 do CVS surgery and related build fixery to move elements
10904 and indexers in a new gstreamer/plugins directory, out of the
10907 2005-11-29 Andy Wingo <wingo@pobox.com>
10909 * check/Makefile.am:
10910 * pkgconfig/gstreamer-net-uninstalled.pc.in:
10911 * pkgconfig/gstreamer-net.pc.in:
10912 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10915 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10917 * tools/Makefile.am:
10918 * tools/gst-complete.1.in:
10919 * tools/gst-complete.c:
10920 * tools/gst-compprep.1.in:
10921 * tools/gst-compprep.c:
10922 removing -compprep and -complete
10924 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10926 * gst/gstevent.c: (gst_event_new_new_segment),
10927 (gst_event_parse_new_segment):
10929 fix #320529 - clean up new_segment API and structure.
10930 Let's hope everyone was using the methods, and not the structure.
10932 2005-11-29 Edward Hervey <edward@fluendo.com>
10934 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10935 (gst_base_sink_event), (gst_base_sink_do_sync),
10936 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10937 Properly handle non GST_FORMAT_TIME segment
10938 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10939 Properly handle non GST_FORMAT_TIME segment
10940 * gst/gstsegment.c:
10941 This function is valid if the accumulator is 0 and the format
10942 is different from the requested format.
10944 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10946 * docs/gst/gstreamer-sections.txt:
10947 Add gst_query_new_seeking and gst_query_parse_seeking to the
10950 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10952 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10953 Treat a pad alloc with new caps the same as if we were not
10954 negotiated, in order to allow a changing upstream output
10955 to produce a new format of data.
10957 2005-11-29 Edward Hervey <edward@fluendo.com>
10959 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10960 (gst_base_transform_event), (gst_base_transform_eventfunc):
10961 The event virtual method is now properly implemented, with a default
10963 Sub classes should call the parent_class event method. They should
10964 return FALSE if they had a problem handling the given event, or don't
10965 want GstBaseTransform to send that even downstream
10966 * gst/elements/gstidentity.c: (gst_identity_class_init),
10967 (gst_identity_init), (gst_identity_event),
10968 (gst_identity_transform_ip), (gst_identity_set_property),
10969 (gst_identity_get_property):
10970 * gst/elements/gstidentity.h:
10971 Added the single-segment boolean property.
10972 If set to TRUE, it will output a single segment of data, starting from
10973 0, will eat up all incoming newsegment, and modify the timestamp of the
10974 buffers accordingly
10976 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
10978 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10979 Don't ref NULL target pad (#322751). Improve docs.
10981 2005-11-29 Michael Smith <msmith@fluendo.com>
10983 * gst/gstregistryxml.c: (load_plugin):
10984 Don't crash if we failed to load a feature from a plugin.
10986 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10988 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10990 use more check API and less GLib API
10992 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10995 don't run checks if we don't have check
10996 * common/check.mak:
10997 remove the registry when running make torture
10998 * docs/gst/gstreamer-sections.txt:
10999 remove second multiply
11000 * gst/gstqueue.c: (gst_queue_loop):
11001 fix a compile warning when disabling debug
11003 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11006 Hey! Let's print the pad name if the pointer != NULL instead
11007 of when it == NULL :-)
11009 2005-11-28 Wim Taymans <wim@fluendo.com>
11011 * check/gst/gstutils.c: (GST_START_TEST):
11012 Updated check, add some scaling accuracy checking code.
11014 * gst/gstutils.c: (gst_util_div128_64),
11015 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
11016 (gst_util_uint64_scale_int):
11017 Fix 6 times faster division code. Optimize for common
11018 1/1 and less common X/1 cases.
11020 2005-11-28 Wim Taymans <wim@fluendo.com>
11022 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11025 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
11026 (do_linear_regression), (gst_clock_add_observation):
11028 Release lock when the clock cannot be slaved.
11029 Catch the case where the regression returned an invalid denominator.
11031 * gst/gstutils.c: (gst_util_div128_64_iterate),
11032 (gst_util_div128_64), (gst_util_uint64_scale_int64),
11033 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11034 Add protentially more performant non-iterative 128/64 divide function
11035 that unfortunatly does not work yet.
11036 Shortcut the trivial 0/X = 0 case.
11037 Remove the warnings on overflow.
11039 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11041 * gst/gstplugin.c: (gst_plugin_register_func):
11042 everything causing a plugin not to load should be at least a WARNING
11044 2005-11-28 Stefan Kost <ensonic@users.sf.net>
11046 * docs/random/ensonic/dparams.txt:
11047 some TODOs for the next dev cycle
11048 * libs/gst/controller/gstcontroller.c:
11049 (gst_controlled_property_set_interpolation_mode),
11050 (gst_controlled_property_new):
11051 * libs/gst/controller/gstcontroller.h:
11052 use base type to assign acccessor functions
11054 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11056 * check/Makefile.am:
11057 Oops, that should have been top_srcdir
11059 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
11061 * check/Makefile.am:
11062 * check/elements/fdsrc.c: (GST_START_TEST):
11063 Use a cmdline define to specify the location of a file to use for
11064 testing, to avoid breaking distcheck.
11066 2005-11-28 Andy Wingo <wingo@pobox.com>
11068 * gst/gstpad.c (fixate_value): Use array functions for arrays.
11070 2005-11-28 Edward Hervey <edward@fluendo.com>
11072 * tools/gst-launch.c: (main):
11073 Clarify the output strings, makes it easier to translate.
11076 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
11079 don't try and build net if we don't even have <sys/socket.h>
11081 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
11083 * check/Makefile.am:
11084 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
11085 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
11086 Add tests for fdsrc seekability
11088 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
11089 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
11090 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
11091 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
11092 * gst/elements/gstfdsrc.h:
11093 fdsrc should not be a 'live' source.
11094 Implement seeking on seekable fd's.
11096 * gst/gstquery.c: (gst_query_new_seeking),
11097 (gst_query_parse_seeking):
11099 Implement SEEKING query functions:
11100 *_new_seeking and *_parse_seeking
11102 2005-11-27 Stefan Kost <ensonic@users.sf.net>
11104 * gst/gstelement.c: (gst_element_dispose):
11107 * gst/gstiterator.c:
11108 * gst/gststructure.c:
11111 * libs/gst/controller/gstcontroller.c:
11112 (gst_controlled_property_set_interpolation_mode):
11113 * libs/gst/controller/gstcontroller.h:
11114 * libs/gst/controller/gstinterpolation.c:
11115 (interpolate_none_get_enum_value_array):
11116 support controlling enums
11118 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
11121 Improve documentation for gst_value_union().
11124 Change return value for union, intersect and subtract functions
11125 from gint to gboolean.
11127 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
11129 * gst/gstvalue.c: (gst_value_serialize_any_list),
11130 (gst_value_transform_any_list_string),
11131 (gst_value_deserialize_list), (gst_value_deserialize_array),
11132 (gst_value_set_int_range), (gst_value_deserialize_int_range),
11133 (gst_value_set_double_range), (gst_value_deserialize_double_range),
11134 (gst_value_set_fraction_range_full),
11135 (gst_value_deserialize_fraction_range),
11136 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
11137 (gst_value_deserialize_boolean),
11138 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
11139 (gst_value_serialize_float), (gst_value_deserialize_float),
11140 (gst_string_wrap), (gst_value_deserialize_string),
11141 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
11142 (gst_value_union_int_range_int_range),
11143 (gst_value_intersect_int_range_int_range),
11144 (gst_value_intersect_double_range_double_range),
11145 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
11146 (gst_value_subtract_int_range_int_range),
11147 (gst_value_subtract_double_double_range),
11148 (gst_value_subtract_double_range_double_range),
11149 (gst_value_deserialize_fraction):
11151 Use gint, gdouble and gchar in our API instead of int, double and
11152 char (and make usage in gstvalue.c more consistent).
11154 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11156 * check/Makefile.am:
11157 * libs/gst/controller/Makefile.am:
11158 * libs/gst/dataprotocol/Makefile.am:
11159 fix up Makefile.am and remove GST_ENABLE_NEW
11161 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11165 * gst/base/Makefile.am:
11166 * gst/check/Makefile.am:
11167 * gst/elements/Makefile.am:
11168 * gst/net/Makefile.am:
11169 update LDFLAGS use some more
11171 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11173 * common/m4/gst-doc.m4:
11176 2005-11-26 Edward Hervey <edward@fluendo.com>
11178 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11179 This shouldn't issue a g_warning since it returns NULL if it
11180 couldn't find the plugin, and all functions using this behave
11181 properly on a NULL return. Switching to a GST_WARNING.
11183 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
11185 * gst/gstbin.c: (gst_bin_handle_message_func):
11186 Don't leak clock messages.
11188 2005-11-25 Wim Taymans <wim@fluendo.com>
11190 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11191 (gst_util_uint64_scale_int):
11192 Optimisations, remove unneeded vars.
11194 2005-11-25 Wim Taymans <wim@fluendo.com>
11196 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11197 Added more checks for the high precision uint64 cases.
11199 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11200 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11201 Implement high precision (guint64 * guint64) / guint64.
11203 2005-11-24 Wim Taymans <wim@fluendo.com>
11205 * gst/base/gstbasesrc.c: (gst_base_src_query):
11206 Fix wrong percentage query.
11208 * gst/gstutils.c: (gst_util_uint64_scale),
11209 (gst_util_uint64_scale_int):
11210 Add some more common cases that can be handled
11211 efficiently to _scale.
11213 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
11215 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
11216 (gst_mini_object_suite):
11217 don't use check calls from threads; check probably isn't
11218 threadsafe and using a lock to make it threadsafe would
11219 defeat the purpose of this check
11220 * gst/check/gstcheck.c:
11221 * gst/check/gstcheck.h:
11222 use GST_DEBUG some more
11224 2005-11-24 Wim Taymans <wim@fluendo.com>
11226 * gst/gstutils.c: (gst_util_uint64_scale),
11227 (gst_util_uint64_scale_int):
11228 Chain trivial case to _scale_int.
11230 2005-11-24 Wim Taymans <wim@fluendo.com>
11232 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11233 Added test for scaling.
11238 * gst/gstutils.c: (gst_util_uint64_scale_int):
11239 Implemented high precision scaling code.
11241 2005-11-24 Stefan Kost <ensonic@users.sf.net>
11244 do not crash on pad==NULL
11246 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
11248 Patch by: Stefan Kost
11250 * common/gtk-doc.mak:
11251 * docs/gst/Makefile.am:
11252 * docs/libs/Makefile.am:
11253 Fix distcheck issues for the libraries docs build
11256 2005-11-24 Michael Smith <msmith@fluendo.com>
11258 * docs/manual/basics-helloworld.xml:
11259 Fix bug #315027: memory leak in example code in docs.
11261 2005-11-24 Michael Smith <msmith@fluendo.com>
11263 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11264 Unlock the PREROLL_LOCK in a failure case.
11266 2005-11-24 Wim Taymans <wim@fluendo.com>
11268 * docs/gst/gstreamer-sections.txt:
11269 * gst/base/gstadapter.h:
11270 * gst/base/gstbasesink.h:
11271 * gst/base/gstbasesrc.h:
11272 * gst/base/gstbasetransform.h:
11273 * gst/base/gstpushsrc.h:
11274 * gst/elements/gstfakesink.h:
11275 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
11276 * gst/elements/gstfakesrc.h:
11277 * gst/elements/gstfilesink.h:
11278 * gst/elements/gstfilesrc.h:
11281 * gst/gstbuffer.c: (_gst_buffer_copy):
11284 * gst/gstchildproxy.c:
11286 * gst/gstelement.c:
11287 * gst/gstelementfactory.c:
11288 * gst/gstelementfactory.h:
11290 * gst/gstghostpad.h:
11292 * gst/gstinterface.h:
11293 * gst/gstminiobject.c:
11294 * gst/gstminiobject.h:
11297 * gst/gstpadtemplate.h:
11298 * gst/gstpipeline.h:
11299 * gst/gstpluginfeature.h:
11302 * gst/gsttaglist.c:
11303 * gst/gsttaglist.h:
11304 * gst/gsttagsetter.c:
11305 * gst/gsttagsetter.h:
11308 * gst/gsttypefind.h:
11311 * gst/net/gstnetclientclock.c:
11312 * gst/net/gstnetclientclock.h:
11313 * gst/net/gstnettimepacket.c:
11314 * gst/net/gstnettimeprovider.c:
11315 * gst/net/gstnettimeprovider.h:
11318 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11320 * configure.ac: back to HEAD
11322 === release 0.9.6 ===
11324 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11327 releasing 0.9.6, "Always On Time"
11329 2005-11-23 Wim Taymans <wim@fluendo.com>
11331 * docs/gst/gstreamer-sections.txt:
11332 * gst/glib-compat.c:
11333 * gst/gsttagsetter.c:
11335 * gst/net/gstnetclientclock.c:
11336 * gst/net/gstnettimepacket.h:
11339 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11341 * docs/faq/using.xml:
11342 * docs/libs/tmpl/gstcontrol.sgml:
11343 * docs/manual/advanced-dparams.xml:
11344 * docs/manual/appendix-checklist.xml:
11345 * docs/manual/basics-elements.xml:
11346 * docs/pwg/other-source.xml:
11347 * docs/random/moving-plugins:
11349 * tools/gst-launch.1.in:
11350 remove mentions of sinesrc
11352 2005-11-23 Michael Smith <msmith@fluendo.com>
11354 * docs/gst/gstreamer-sections.txt:
11355 Update for new API and API changes.
11357 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11359 Documentation typo fix.
11360 * gst/net/gstnettimepacket.c:
11361 Documentation fixes for arguments.
11363 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
11365 * gst/gststructure.c: (gst_structure_get_fraction),
11366 (gst_structure_parse_value),
11367 (gst_structure_fixate_field_nearest_fraction):
11368 * gst/gststructure.h:
11369 * gst/gstutils.c: (gst_util_uint64_scale_int):
11371 * scripts/update-funcnames:
11373 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11374 Make gst_structure_fixate_field_nearest_fraction take a numerator
11375 and denominator argument instead of a GValue
11376 add gst_structure_get_fraction helper function.
11378 2005-11-23 Wim Taymans <wim@fluendo.com>
11380 * docs/design/part-TODO.txt:
11383 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11384 * gst/net/gstnetclientclock.h:
11385 Use parent fields for timeout and window_size.
11387 2005-11-23 Andy Wingo <wingo@pobox.com>
11389 * check/net/gstnetclientclock.c (test_functioning): Adjust to
11390 rate_num/rate_denom change.
11392 * gst/net/gstnetclientclock.c
11393 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11394 OBJECT_LOCK. Don't call add_observation with the lock.
11396 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11398 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11400 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11401 deal with rate as a fraction whose numerator and denominator are
11402 GstClockTime values.
11403 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11404 master; the other fields are protected by the SLAVE_LOCK.
11405 (do_linear_regression): Note that this must be called with the
11407 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11408 OBJECT_LOCK. Call set_calibration instead of touching the
11409 variables directly.
11410 (gst_clock_set_property, gst_clock_get_property): Protect
11411 master/slave parameters with the SLAVE_LOCK.
11413 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11414 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11415 note that all of the instance variables that add_observation and
11416 the set_master functions use are protected by that lock and not
11418 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11420 * gst/gstclock.c (gst_clock_add_observation): No longer requires
11421 the caller to take the object lock.
11423 2005-11-23 Wim Taymans <wim@fluendo.com>
11425 * gst/gsterror.c: (_gst_core_errors_init):
11427 Add error for clock stuff.
11429 * gst/gstpipeline.c: (gst_pipeline_change_state),
11430 (gst_pipeline_set_clock):
11431 Post clock error when clock cannot be used in a pipeline.
11433 2005-11-23 Stefan Kost <ensonic@users.sf.net>
11435 * docs/gst/gstreamer-sections.txt:
11436 make two symbols from gstinfo private for the docs
11437 * gst/base/gstcollectpads.h:
11439 fix doc typos, update docs
11441 2005-11-22 Wim Taymans <wim@fluendo.com>
11443 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11444 (gst_base_sink_wait), (gst_base_sink_do_sync),
11445 (gst_base_sink_handle_event):
11446 * gst/base/gstbasesink.h:
11447 No need to store the clock, the parent element class already
11450 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11451 Updates for clock_set returning a gboolean
11453 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11454 (gst_clock_id_wait_async), (gst_clock_class_init),
11455 (gst_clock_init), (gst_clock_finalize),
11456 (gst_clock_get_internal_time), (gst_clock_get_time),
11457 (gst_clock_slave_callback), (gst_clock_set_master),
11458 (gst_clock_get_master), (do_linear_regression),
11459 (gst_clock_add_observation), (gst_clock_set_property),
11460 (gst_clock_get_property):
11462 Implement master/slave. When setting a clock as a slave, a
11463 periodic timeout is scheduled to sample master and slave times.
11464 Then the slave clock is recalibrated to match offset and rate
11465 of the master clock.
11466 Update logging a bit.
11467 Add flag so that a clock can state that is cannot be slaved to
11470 * gst/gstelement.c: (gst_element_set_clock):
11471 * gst/gstelement.h:
11472 The set clock returns a gboolean for when an element cannot
11473 deal with the selected clock in the pipeline.
11475 * gst/gstpipeline.c: (gst_pipeline_change_state),
11476 (gst_pipeline_set_clock):
11477 * gst/gstpipeline.h:
11478 Handle the case where the selected clock cannot be set on
11481 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11482 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11483 (gst_net_client_clock_set_property),
11484 (gst_net_client_clock_get_property),
11485 (gst_net_client_clock_observe_times):
11486 * gst/net/gstnetclientclock.h:
11487 Use regression code in GstClock parent, remove duplicated
11490 2005-11-22 Michael Smith <msmith@fluendo.com>
11492 * gst/gstutils.c: (gst_util_clock_time_scale):
11494 * docs/gst/gstreamer-sections.txt:
11495 Rename method to have extra underscore.
11497 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
11499 * gst/elements/Makefile.am:
11500 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11501 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11502 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11503 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11504 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11505 * gst/elements/gstfakesrc.h:
11506 * gst/gstqueue.c: (queue_leaky_get_type):
11507 correctly fix GEnumValues so that nick is the short lowercase
11509 * tools/gst-inspect.c: (print_element_properties_info):
11510 also show the nick, since it's useful to use from parse_launch
11514 2005-11-22 Michael Smith <msmith@fluendo.com>
11516 * gst/gstutils.c: (gst_util_clocktime_scale):
11518 * docs/gst/gstreamer-sections.txt:
11519 Add util method for scaling a clocktime by a fraction. Useful
11520 implementation is left as an exercise for the reader.
11522 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11524 * gst/gstvalue.c: (gst_value_collect_fraction_range):
11525 If needed, allocate storage in the destination value during
11528 2005-11-22 Edward Hervey <edward@fluendo.com>
11530 * docs/gst/gstreamer-sections.txt:
11533 * gst/gsturitype.c:
11534 * gst/gsturitype.h:
11535 * gst/gstutils.c: (gst_util_set_object_arg):
11536 * tools/gst-compprep.c: (main):
11537 * tools/gst-inspect.c: (print_element_properties_info):
11538 Removed GstURI, closes bug #321061
11540 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11542 * check/gst/gststructure.c: (GST_START_TEST):
11543 * gst/gststructure.c: (gst_structure_parse_value):
11544 Oops, broke automatic string type parsing.
11545 Add a test to catch it in future.
11547 2005-11-22 Andy Wingo <wingo@pobox.com>
11549 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
11550 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11551 Actually rename the function implementations. Grr.
11553 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11555 * check/gst/capslist.h:
11557 * check/gst/gststructure.c: (GST_START_TEST),
11558 (gst_structure_suite):
11559 Test automatic value type detection in gst_structure_from_string.
11560 * gst/gststructure.c: (gst_structure_parse_value):
11561 Add fraction as a type we try and guess automatically in
11562 caps/structure strings.
11564 2005-11-22 Andy Wingo <wingo@pobox.com>
11566 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11568 * gst/gsttagsetter.h:
11569 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11570 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11571 (gst_tag_setter_add_tag_valist)
11572 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11573 _add_values, _add_valist, and _add_valist_values. Since this is an
11574 interface the function suffixes should be more explicit so
11575 language binding don't end up with element.add_valist ->
11576 gst_tag_setter_add_valist, for example. Fixes #322069.
11578 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11580 * check/gst/gstcaps.c: (GST_START_TEST):
11581 Extend caps string tests to check that a caps to string
11582 conversion is reversible and produces the same caps.
11584 * gst/gststructure.c: (gst_structure_value_get_generic_type):
11585 Output "fraction" as the generic type fraction range, so caps
11586 serialisation and deserialisation works.
11587 * check/gst/capslist.h:
11588 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11589 Support 'MIN' and 'MAX' for deserialising fractions.
11591 2005-11-22 Andy Wingo <wingo@pobox.com>
11593 * gst/gstevent.h (gst_event_new_new_segment)
11594 (gst_event_parse_new_segment, gst_event_new_buffer_size)
11595 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11596 Renamed from *_newsegment, *_buffersize, *_notarget.
11598 * scripts/update-funcnames: New script, performs the changes
11601 2005-11-22 Wim Taymans <wim@fluendo.com>
11603 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11604 Make sure the GstFlowReturn is returned.
11606 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11607 (gst_bus_add_signal_watch):
11609 add gst_bus_add_signal_watch_full.
11611 * gst/gstplugin.c: (gst_plugin_load_file):
11612 Small style cleanup.
11614 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11616 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11617 Block the fakesrc srcpad when we send an event, to avoid
11618 contention on the stream_lock causing random test failures.
11620 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11622 * check/gst/gstvalue.c: (GST_START_TEST):
11623 * gst/gstvalue.c: (gst_value_fraction_subtract):
11626 2005-11-22 Stefan Kost <ensonic@users.sf.net>
11629 include "gstchildproxy.h"
11630 * gst/gstchildproxy.h:
11631 * libs/gst/controller/gstcontroller.h:
11632 use G_GNUC_NULL_TERMINATED
11634 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11636 * check/gst/capslist.h:
11637 * check/gst/gstcaps.c: (GST_START_TEST):
11638 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11639 * gst/gststructure.c: (gst_structure_parse_range),
11640 (gst_structure_fixate_field_nearest_fraction):
11641 * gst/gststructure.h:
11642 * gst/gstvalue.c: (gst_value_init_fraction_range),
11643 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11644 (gst_value_collect_fraction_range),
11645 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11646 (gst_value_set_fraction_range_full),
11647 (gst_value_get_fraction_range_min),
11648 (gst_value_get_fraction_range_max),
11649 (gst_value_serialize_fraction_range),
11650 (gst_value_transform_fraction_range_string),
11651 (gst_value_compare_fraction_range),
11652 (gst_value_deserialize_fraction_range),
11653 (gst_value_intersect_fraction_fraction_range),
11654 (gst_value_intersect_fraction_range_fraction_range),
11655 (gst_value_subtract_fraction_fraction_range),
11656 (gst_value_subtract_fraction_range_fraction),
11657 (gst_value_subtract_fraction_range_fraction_range),
11658 (gst_value_collect_fraction), (gst_value_fraction_multiply),
11659 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11660 (gst_value_transform_string_fraction), (_gst_value_initialize):
11662 Implement fraction ranges and extend GstFraction to support
11663 arithmetic subtraction, as well as deserialization from integer
11664 strings such as "100"
11665 Add a testsuite as for int and double range set operations
11667 2005-11-21 Andy Wingo <wingo@pobox.com>
11669 * gst/gsttaglist.h:
11671 * gst/gststructure.h: Add glib-compat.h.
11673 2005-11-21 Wim Taymans <wim@fluendo.com>
11675 * gst/gstbin.c: (gst_bin_change_state_func):
11678 2005-11-21 Wim Taymans <wim@fluendo.com>
11680 * gst/gstsegment.h:
11681 And add a nice define too.
11683 2005-11-21 Wim Taymans <wim@fluendo.com>
11685 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11686 (gst_segment_new), (gst_segment_free), (gst_segment_init),
11687 (gst_segment_set_duration), (gst_segment_set_last_stop),
11688 (gst_segment_set_seek), (gst_segment_set_newsegment),
11689 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11690 (gst_segment_clip):
11691 * gst/gstsegment.h:
11692 Make binding friendly.
11694 2005-11-21 Andy Wingo <wingo@pobox.com>
11696 * gst/gsttagsetter.h:
11697 * gst/gsttaglist.h:
11698 * gst/gststructure.h:
11700 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11703 * gst/gsterror.c (_gst_core_errors_init):
11704 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11707 * gst/Makefile.am (gst_headers): Add glib-compat.h.
11708 (noinst_HEADERS): noinst the -private.
11710 2005-11-21 Michael Smith <msmith@fluendo.com>
11713 * gst/gstregistry.h:
11714 Remove unimplemented declarations for which we can see no sensible
11717 2005-11-21 Andy Wingo <wingo@pobox.com>
11719 * gst/gst.h: Include glib-compat.h.
11721 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11723 * gst/glib-compat.c: Include the public and the private header.
11725 * gst/glib-compat-private.h: Copied here from glib-compat.h.
11729 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11731 * check/gst/gstevent.c (create_custom_events): Check that
11732 FLUSH_STOP is serialized.
11734 * check/elements/identity.c (event_func):
11735 * check/elements/fakesrc.c (event_func): No stream lock, the core
11738 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11739 stream lock taking, yay.
11741 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11742 ensure that core takes the stream lock.
11744 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11747 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11748 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11749 it already. For the flush start we do take it though so we get the
11750 right preroll state change messages.
11752 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11753 the stream lock here, the core does it for us.
11755 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11756 GST_STREAM_GET_LOCK.
11757 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
11758 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
11759 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11760 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11761 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
11762 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11764 * gst/gstpad.c: Update for stream lock name change.
11766 * gst/base/gstbasesink.c: Update for preroll lock name change.
11768 2005-11-21 Wim Taymans <wim@fluendo.com>
11770 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11771 (gst_clock_get_master):
11773 * gst/gstsystemclock.c: (gst_system_clock_init):
11774 Convert Clock flags to object flags.
11775 Added methods to manage master/slave clocks.
11777 2005-11-21 Wim Taymans <wim@fluendo.com>
11779 * check/gst/gstsegment.c: (GST_START_TEST):
11780 * docs/design/part-TODO.txt:
11781 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11782 (gst_base_sink_event), (gst_base_sink_do_sync),
11783 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11784 (gst_base_sink_query), (gst_base_sink_change_state):
11785 * gst/base/gstbasesink.h:
11786 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11787 (gst_base_src_default_newsegment),
11788 (gst_base_src_configure_segment), (gst_base_src_do_seek),
11789 (gst_base_src_get_range), (gst_base_src_loop),
11790 (gst_base_src_change_state):
11791 * gst/base/gstbasesrc.h:
11792 * gst/base/gstbasetransform.c:
11793 (gst_base_transform_prepare_output_buf),
11794 (gst_base_transform_event), (gst_base_transform_change_state):
11795 * gst/base/gstbasetransform.h:
11796 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11797 (gst_collect_pads_event):
11798 * gst/base/gstcollectpads.h:
11799 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11800 (gst_fake_src_create):
11801 * gst/elements/gstfakesrc.h:
11802 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11803 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11804 (gst_segment_set_last_stop), (gst_segment_set_seek),
11805 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11806 (gst_segment_to_running_time), (gst_segment_clip):
11807 * gst/gstsegment.h:
11808 More segment updates, replace code in plugins with segment
11811 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11813 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11814 Don't ignore sscanf results
11816 2005-11-21 Andy Wingo <wingo@pobox.com>
11818 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11821 * *.c: Ran scripts/update-macros. Oh yes.
11823 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11824 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11827 * scripts/update-macros: New script. Run it on your files to
11828 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11831 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11833 * docs/gst/Makefile.am:
11834 * docs/gst/gstreamer-docs.sgml:
11835 * docs/gst/gstreamer-sections.txt:
11836 * docs/gst/gstreamer.types:
11838 more docs fixes, add new api to the docs
11840 2005-11-21 Andy Wingo <wingo@pobox.com>
11842 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11843 state_broadcast call.
11845 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11847 2005-11-21 Julien MOUTTE <julien@moutte.net>
11849 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11850 function calls for arrays.
11852 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11854 * docs/random/ensonic/media-device-daemon.txt:
11855 wild idea, can this be done?
11856 * docs/gst/gstreamer-sections.txt:
11861 * gst/gstpluginfeature.c:
11865 doc fixes and additions
11867 2005-11-21 Andy Wingo <wingo@pobox.com>
11869 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
11870 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
11871 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
11872 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11873 private to the basesrc implementation.
11875 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11876 behalf of event function if necessary. It should no longer be
11877 necessary to take the stream lock in pad's event functions. Fixes
11880 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11881 * docs/gst/gstreamer-sections.txt:
11882 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11883 (gst_structure_fixate_field_nearest_double),
11884 (gst_structure_fixate_field_boolean):
11885 * gst/gststructure.h:
11886 * win32/common/libgstreamer.def:
11887 * win32/gstreamer.def:
11889 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11892 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11894 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11895 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11896 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11897 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11898 (gst_fdsrc_uri_handler_init):
11899 * gst/elements/gstfdsrc.h:
11900 Port fd:// URI handler from 0.8 to fdsrc
11902 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11904 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11905 (gst_value_serialize_fourcc):
11907 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11908 consistent with our other format defines (#320324).
11910 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11912 * gst/gstvalue.c: (gst_value_is_fixed):
11913 Revert previous commit. Value lists are by definition
11914 not fixed, as they are a list of possible values.
11916 2005-11-21 Andy Wingo <wingo@pobox.com>
11918 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11919 during the stable series if we need it. Fixes #319178.
11921 * gst/gstevent.c (gst_event_new_filler): Removed.
11923 * check/gst/gstevent.c: Update comment about filler events.
11925 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11927 * gst/gstvalue.c: (gst_value_is_fixed):
11928 Should handle both value arrays and value lists.
11930 2005-11-21 Andy Wingo <wingo@pobox.com>
11932 patch by: Alessandro Dessina <alessandro nnva org>
11934 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11935 functions to access arrays. Fixes #321962.
11937 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11939 * docs/gst/gstreamer.types:
11940 gst_collectpads_get_type => gst_collect_pads_get_type.
11942 * gst/base/gstbasetransform.c:
11943 Remove unused SIGNAL_HANDOFF enum.
11945 2005-11-21 Andy Wingo <wingo@pobox.com>
11947 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11948 the event type (upstream, downstream, serialized). Renamed
11949 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11950 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11951 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11953 * gst/gstevent.c: Update for new CUSTOM event names.
11955 * check/gst/gstevent.c: Update check for new CUSTOM event names.
11958 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11961 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11963 * docs/gst/gstreamer-sections.txt:
11964 * win32/common/libgstbase.def:
11965 * win32/libgstbase.def:
11966 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11967 (gst_collect_pads_class_init), (gst_collect_pads_init),
11968 (gst_collect_pads_finalize), (gst_collect_pads_new),
11969 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11970 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11971 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11972 (gst_collect_pads_start), (gst_collect_pads_stop),
11973 (gst_collect_pads_peek), (gst_collect_pads_pop),
11974 (gst_collect_pads_available), (gst_collect_pads_read),
11975 (gst_collect_pads_flush), (gst_collect_pads_event),
11976 (gst_collect_pads_chain):
11977 * gst/base/gstcollectpads.h:
11978 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11979 unimplemented functions as unimplemented. Add padding to
11980 GstCollectData. (#320766, #320423)
11982 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11984 * gst/gstmessage.c:
11985 Improve docs for DURATION message (usage of duration parameter)
11988 2005-11-20 Wim Taymans <wim@fluendo.com>
11990 * check/Makefile.am:
11991 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11995 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11996 (gst_segment_set_seek), (gst_segment_set_newsegment),
11997 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11998 (gst_segment_clip):
11999 * gst/gstsegment.h:
12000 Added segment helper structure and methods. Not fully implemented
12002 Added segment check.
12004 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
12006 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12007 Add a deserialisation test for fractions
12008 * examples/metadata/read-metadata.c: (message_loop),
12009 (make_pipeline), (main):
12010 Fix up metadata reading sample.
12011 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12013 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12014 Don't try and fixate empty caps
12015 * gst/gst_private.h:
12016 Wrap in G_BEGIN_DECLS/G_END_DECLS
12017 * gst/gstvalue.c: (gst_value_collect_fraction),
12018 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
12019 (gst_value_transform_string_fraction),
12020 (gst_value_compare_fraction):
12021 Add some extra guards to ensure that we don't end up
12022 with an invalid denominator of 0 in a gstfraction and
12023 that fractions always get reduced.
12025 2005-11-20 Wim Taymans <wim@fluendo.com>
12027 * docs/gst/gstreamer-sections.txt:
12029 * gst/gstelement.c:
12038 2005-11-20 Wim Taymans <wim@fluendo.com>
12040 * docs/design/part-TODO.txt:
12042 Make a proper enum of the flag.
12044 2005-11-19 Wim Taymans <wim@fluendo.com>
12046 * docs/design/part-TODO.txt:
12047 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
12048 (gst_format_to_quark), (gst_format_register):
12050 * gst/gstquery.c: (_gst_query_initialize),
12051 (gst_query_type_get_name), (gst_query_type_to_quark),
12052 (gst_query_type_register):
12054 Add type to quark and type to string conversions.
12056 2005-11-19 Andy Wingo <wingo@pobox.com>
12058 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
12061 2005-11-19 Wim Taymans <wim@fluendo.com>
12063 * docs/design/part-TODO.txt:
12064 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12065 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
12066 (gst_bin_handle_message_func):
12068 Make message handling overridable.
12070 2005-11-19 Andy Wingo <wingo@pobox.com>
12072 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
12075 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
12077 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
12078 is a GstClockTime. Fixes #321710.
12080 * gst/gstclock.h (GstClock): Remove offset property. Add
12081 internal_calibration and external_calibration. Fix padding. Pad
12082 also by GstClockTime so we don't run into problems.
12084 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
12085 (gst_clock_get_rate_offset): Remove.
12086 (gst_clock_set_time_adjust): Remove. Fixes #321712.
12089 * gst/gstutils.c (g_static_rec_cond_wait)
12090 (g_static_rec_cond_timed_wait): Removed, no longer needed.
12092 * gst/gstbin.c: Remove terrible continue_state prototype.
12094 * gst/gstelement.h (gst_element_continue_state): Make public.
12096 * gst/gstelement.h:
12097 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
12098 by continue_state. Fixes #319389.
12100 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
12101 Really fixes #168438. However I don't see anywhere where the
12102 filter function is called... stupid GStreamer...
12104 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
12105 don't have a dispose function, so it won't get called when the
12106 object is unreffed, but oh well!
12108 * gst/gstindex.c (gst_index_set_filter_full): New API function,
12109 allows a destroy function to be set so user_data can be freed.
12111 (gst_index_set_filter): Call gst_index_set_filter_full.
12113 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
12115 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
12116 string should produce an error, given the lack of a way to
12117 represent NULL strings. Fixes #165650.
12120 * gst/gstvalue.c (gst_value_array_append_value)
12121 (gst_value_array_prepend_value, gst_value_array_get_size)
12122 (gst_value_array_get_value): New API, copied from
12123 gst_value_list_*, only operates on arrays.
12124 (gst_value_list_append_value, gst_value_list_prepend_value)
12125 (gst_value_list_concat, gst_value_list_get_size)
12126 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
12128 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
12129 init_list, because it works on both.
12130 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
12131 (gst_value_copy_list_or_array): Renamed from copy_list.
12132 (gst_value_free_list_or_array): Renamed from free_list.
12133 (gst_value_collect_list_or_array): Renamed from collect_list.
12134 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
12135 (gst_value_list_or_array_peek_pointer): Renamed from
12137 (_gst_value_array_value_table, _gst_value_list_value_table):
12138 Update value table functions.
12139 (gst_value_compare_list_or_array): Renamed from compare_list.
12141 * gsttaglist.h: Whoops, foreach function returns void. Also fix
12144 * gst/gsttaglist.c:
12145 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
12146 GstTagList*. Fixes #143472.
12148 * gst/gststructure.h: Clarify what the foreach/map functions can
12149 or can't do to their arguments.
12151 2005-11-18 Wim Taymans <wim@fluendo.com>
12153 * gst/gstclock.c: (gst_clock_set_calibration),
12154 (gst_clock_get_calibration):
12156 Calibration can be set with internal time equal to current
12159 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
12165 2005-11-18 Andy Wingo <wingo@pobox.com>
12168 * pkgconfig/gstreamer-net.pc.in:
12169 * pkgconfig/gstreamer-net-uninstalled.pc.in:
12170 * pkgconfig/Makefile.am: Add net pkgconfig files.
12172 2005-11-18 Stefan Kost <ensonic@users.sf.net>
12175 * gst/gstghostpad.c:
12181 2005-11-18 Andy Wingo <wingo@pobox.com>
12183 * gst/net/gstnetclientclock.c: Turn off debugging.
12185 * check/net/gstnetclientclock.c (test_functioning): Assert that the
12186 times connverge somewhat. Can't make a real test.
12188 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
12189 integer arithmetic. Return the minimum of the domain, which can be
12190 set as "internal" for gst_clock_set_calibration.
12191 (gst_net_client_clock_observe_times): Call _set_calibration.
12192 (gst_net_client_clock_new): Call _set_calibration instead of
12195 * check/net/gstnetclientclock.c (test_functioning): Use the right
12199 * gst/gstclock.c (gst_clock_get_calibration)
12200 (gst_clock_set_calibration): New functions, obsolete the ones I
12201 added yesterday. Doh. Precision issues mean we have to extrapolate
12202 from a point in the more recent past than 1970.
12203 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
12205 (gst_clock_adjust_unlocked): Use the right calibration data.
12207 2005-11-18 Edward Hervey <edward@fluendo.com>
12209 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12210 Also reset the ->current_* values in READY->PAUSED
12212 2005-11-18 Andy Wingo <wingo@pobox.com>
12214 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
12215 Whoops, check the right fd. Also add some debugging.
12216 (gst_net_client_clock_observe_times): Adjust for int64 offset.
12217 (do_linear_regression): Add a crapload of debugging. Subtract off
12218 the minimum values from the input series to discard unneeded bits.
12219 Use only int arithmetic. There is still double arithmetic when
12220 calculating the intercept that needs fixing. Return boolean to
12221 indicate success; FALSE would mean the domain or range is too
12222 great. Still needs fixes.
12224 2005-11-18 Wim Taymans <wim@fluendo.com>
12226 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12227 For the current position in stream time, we need to subtract
12230 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12231 Release lock before calling the callback function of async
12234 2005-11-18 Andy Wingo <wingo@pobox.com>
12236 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
12237 Port goes all the way to MAXUINT16.
12239 * gst/net/gstnettimeprovider.c: Make the port range the same as
12240 for the kernel: 0 assigns, otherwise ports are less than
12243 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
12246 * check/net/gstnetclientclock.c (test_functioning): Add the start
12249 2005-11-18 Wim Taymans <wim@fluendo.com>
12251 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12252 (gst_bin_remove_func), (bin_bus_handler):
12254 Removing a clock provider from a bin, triggers a clock lost message
12255 so that a new clock will be selected.
12256 Adding a clock to a bin triggers a clock provider message.
12257 Make sure we reselect a clock when we received a clock lost message.
12258 Keep a reference to the element that provided the clock.
12260 2005-11-18 Andy Wingo <wingo@pobox.com>
12262 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
12263 the clock initially so it produces values around the base time.
12264 (gst_net_client_clock_class_init): Typo fix.
12265 (gst_net_client_clock_thread): Add note on when the socket gets
12268 2005-11-17 Wim Taymans <wim@fluendo.com>
12270 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
12271 Free remote and local time arrays.
12273 2005-11-17 Wim Taymans <wim@fluendo.com>
12275 * gst/net/gstnetclientclock.c: (do_linear_regression),
12276 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
12277 Fix compilation, uninitialized vars and a forgotten continue.
12279 2005-11-17 Andy Wingo <wingo@pobox.com>
12281 * check/Makefile.am (check_PROGRAMS):
12282 * check/net/gstnetclientclock.c: Add a most minimal test for the
12283 net client clock. More to come later.
12285 * gst/net/gstnet.h:
12286 * gst/net/Makefile.am: Add netclientclock.
12288 * gst/net/gstnetclientclock.h:
12289 * gst/net/gstnetclientclock.c: New files, implement an untested
12290 GstClock that takes its time from a network time provider.
12291 Implements the algorithm in network-clock.scm.
12293 * tests/network-clock.scm (*window-size*): Rename from
12295 * tests/network-clock.scm (network-time):
12296 * tests/network-clock-utils.scm (q-push): Update callers.
12298 2005-11-17 Wim Taymans <wim@fluendo.com>
12300 * gst/gstbin.c: (gst_bin_provide_clock_func),
12301 (gst_bin_sort_iterator_new):
12302 And unref the child too..
12304 2005-11-17 Wim Taymans <wim@fluendo.com>
12306 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12307 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
12308 Refactor the sort iterator so it can be used while holding the
12310 Make clock selection select a clock closest to the source.
12312 2005-11-17 Michael Smith <msmith@fluendo.com>
12314 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
12315 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
12317 Anonymous structs are a gcc (and some other compilers) extension, so
12318 don't use them. Since this is only for ABI-compatibility, and our
12319 API/ABI freeze is over in a few days, this whole thing will only
12320 last a few days, so don't bother trying to think up a meaningful
12321 name for the struct.
12323 2005-11-17 Andy Wingo <wingo@pobox.com>
12325 * gst/gstclock.h (GstClock): Add rate and offset properties,
12326 preserving ABI stability. Add rate/offset accessors. Will file bug
12327 for the freeze break.
12329 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
12330 and offset, trying to keep precision and avoiding
12331 underflow/overflow.
12332 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
12333 functions. Make gst_clock_set_time_adjust obsolete.
12334 (gst_clock_set_time_adjust): Note that this function is obsolete.
12335 Will file bug soon.
12337 * gst/base/gstbasetransform.h: Make the ABI-stability hack
12338 greppable by using GST_PADDING-1+1.
12340 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
12342 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12344 * gst/gstmessage.c: (gst_message_parse_clock_lost):
12345 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12347 * gst/gstpadtemplate.h:
12348 * gst/gstpluginfeature.h:
12349 Don't use c++ style comments in headers (#321638).
12351 2005-11-16 Andy Wingo <wingo@pobox.com>
12353 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12356 * check/net/gstnettimeprovider.c: Check to see that the time
12357 provider actually provides times. Works, yo!
12359 2005-11-16 Wim Taymans <wim@fluendo.com>
12361 * check/Makefile.am:
12364 * check/elements/fakesrc.c: (GST_START_TEST):
12365 Set element to NULL before disposing it.
12367 2005-11-16 Andy Wingo <wingo@pobox.com>
12369 * gst/net/Makefile.am:
12370 * gst/net/gstnet.h:
12371 * gst/net/gstnettimeprovider.c:
12372 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12373 provider, include it from gstnet.h, and add it to the build.
12375 * gst/net/gstnettimepacket.h:
12376 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12377 sending and receiving.
12379 2005-11-16 Wim Taymans <wim@fluendo.com>
12381 * check/Makefile.am:
12382 Enable valgrind check.
12384 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12385 (gst_fake_src_alloc_buffer):
12388 2005-11-16 Wim Taymans <wim@fluendo.com>
12390 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12391 Call parent finalize too.
12393 2005-11-16 Wim Taymans <wim@fluendo.com>
12395 * check/Makefile.am:
12396 Enable valgrind check that should work fine now.
12398 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12399 * gst/gstqueue.c: (gst_queue_init):
12400 Fix memleaks in pad allocation.
12402 2005-11-16 Andy Wingo <wingo@pobox.com>
12404 * gst/net/Makefile.am:
12405 * gst/net/gstnet.h: New part of core to hold network elements and
12406 objects. Put in core because it exposes API that applications want
12407 to use. The library is named libgstnet-tempname right now because
12408 of the existing libgstnet in gst-plugins-base. Solution is
12409 probably to rename the one in plugins-base; will file a bug for
12412 * gst/net/gstnettimeprovider.c:
12413 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12414 get_time call over the network.
12417 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12419 * check/Makefile.am:
12420 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12421 get additions shortly.
12423 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12425 * gst/gstpad.c: (gst_pad_new_from_static_template):
12427 add gst_pad_new_from_static_template functions
12428 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12429 (gst_check_setup_sink_pad):
12430 * gst/elements/gsttee.c: (gst_tee_init):
12433 2005-11-16 Wim Taymans <wim@fluendo.com>
12435 * gst/gstpad.c: (gst_pad_pause_task):
12436 Removed warning, it's not really an error either.
12438 2005-11-16 Wim Taymans <wim@fluendo.com>
12440 * gst/base/gstbasetransform.c:
12441 (gst_base_transform_prepare_output_buf),
12442 (gst_base_transform_event):
12443 Check if the caps are NULL, this can happen if the element
12444 is shutting down and the pad caps are set to NULL.
12446 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12448 * gst/elements/gsttee.c: (gst_tee_init):
12449 fix pad template leak in tee
12451 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12453 * gst/glib-compat.c: (g_value_dup_gst_object):
12454 * gst/glib-compat.h:
12455 * gst/gstpad.c: (gst_pad_set_property):
12456 use gst_object_ref when setting the pad template; this will
12457 trigger the pad template leaks on GLib 2.6 and the slaves
12459 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12461 * gst/glib-compat.c: (gst_flags_get_first_value):
12462 * gst/glib-compat.h:
12463 * gst/gstregistryxml.c:
12464 remove functions copied from GLib 2.6
12466 2005-11-16 Michael Smith <msmith@fluendo.com>
12469 Don't link against VALGRIND_LIBS. That was always the wrong thing to
12470 do, but only breaks with newer valgrind versions. We're not a
12471 valgrind tool, we have no link-time dependencies on libcoregrind.
12473 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12475 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12477 * gst/gstmessage.h:
12480 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12482 * gst/base/gstbasesrc.c: (gst_base_src_init):
12483 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12484 * gst/gstqueue.c: (gst_queue_init):
12485 * gst/gstregistryxml.c: (load_feature):
12486 Revert all these unrefs, they don't even pass make check !
12488 2005-11-15 Johan Dahlin <johan@gnome.org>
12490 * gst/base/gstbasesrc.c: (gst_base_src_init):
12491 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12492 * gst/gstqueue.c: (gst_queue_init):
12493 Free pad templates, fixes a couple of leaks.
12495 2005-11-15 Daniel Fischer <dan at f3c dot com>
12497 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12499 * gst/gstpad.c: (gst_pad_get_property):
12500 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12501 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12504 2005-11-15 Wim Taymans <wim@fluendo.com>
12509 2005-11-15 Andy Wingo <wingo@pobox.com>
12511 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12513 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12514 using GST_CLOCK_TIME_NONE to disable base time management.
12515 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12516 time if it was NONE before.
12517 (gst_pipeline_change_state): Only munge the base time if
12518 stream_time != GST_CLOCK_TIME_NONE.
12520 * check/gst/gstpipeline.c (test_base_time): Punt around the
12521 problem of the probe not being called, because that's not the
12522 issue I'm looking at. Add a check that setting stream_time to NONE
12523 disables base time management.
12525 2005-11-15 Wim Taymans <wim@fluendo.com>
12527 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12528 segment_stop == -1 at startup.
12530 * gst/base/gstbasetransform.c: (gst_base_transform_event),
12531 (gst_base_transform_change_state):
12532 Init segment values at start.
12534 2005-11-15 Wim Taymans <wim@fluendo.com>
12536 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12537 0 segment values are 0 in any format.
12539 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12540 * gst/base/gstbasetransform.h:
12541 Parse newsegment correctly in basetransform
12543 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12544 Sync to clock using updated segment values.
12546 2005-11-15 Andy Wingo <wingo@pobox.com>
12548 * check/gst/gstpipeline.c (test_base_time): Add check that the
12549 base time and stream time are reset correctly.
12551 2005-11-15 Wim Taymans <wim@fluendo.com>
12553 * docs/design/part-TODO.txt:
12554 Some more TODO items.
12556 2005-11-15 Andy Wingo <wingo@pobox.com>
12558 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12559 error if the user selected "no clock" as the clocking method.
12561 * check/gst/gstpipeline.c (test_base_time): New test for buffer
12562 timestamps with live capture.
12564 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12565 is 0 but we are a live source, timestamp the buffers using the
12568 2005-11-14 Stefan Kost <ensonic@users.sf.net>
12570 * docs/gst/gstreamer-sections.txt:
12572 * gst/gstghostpad.c:
12577 2005-11-14 Wim Taymans <wim@fluendo.com>
12580 add suppressions from Wim's Debian machine
12582 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
12585 add suppressions from Andy's AMD64 Ubuntu machine
12587 2005-11-14 Andy Wingo <wingo@pobox.com>
12589 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12590 STATE_LOCK not necessary. Fixes #311489.
12592 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12595 * gst/gstindex.c (gst_index_add_object): Note in the docs that
12596 this function is not implemented.
12598 2005-11-14 Julien MOUTTE <julien@moutte.net>
12600 * gst/base/gstbasetransform.c:
12601 (gst_base_transform_prepare_output_buf):
12602 Ref the source pad caps while we need them.
12605 2005-11-11 Wim Taymans <wim@fluendo.com>
12607 * docs/gst/gstreamer-sections.txt:
12608 Added some docs for GstCollectData.
12610 * gst/base/gstadapter.c:
12611 Some small code example fix.
12613 * gst/base/gstcollectpads.c:
12614 * gst/base/gstcollectpads.h:
12615 Document some more.
12617 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12619 * configure.ac: back to HEAD
12621 === release 0.9.5 ===
12623 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12626 releasing 0.9.5, "Bike Lunch Day"
12628 2005-11-11 Wim Taymans <wim@fluendo.com>
12630 * gst/gstbuffer.c: (_gst_buffer_copy):
12633 * gst/gstcaps.c: (gst_caps_is_equal):
12635 Make _is_equal fast in the trivial cases.
12637 * gst/gstminiobject.c:
12638 * gst/gstminiobject.h:
12639 More docs. Spifify .h file.
12644 2005-11-11 Wim Taymans <wim@fluendo.com>
12646 * gst/base/gstbasetransform.c:
12647 (gst_base_transform_prepare_output_buf),
12648 (gst_base_transform_handle_buffer):
12650 If we're processing a buffer and need to allocate an output
12651 buffer, we cannot accept a format change. If we did get a
12652 format change, we have to alloc a buffer ourselves of the
12655 2005-11-11 Wim Taymans <wim@fluendo.com>
12657 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12658 While checking the flag for reentrancy in the gstcaps function
12659 is nice to detect recursive invocations, it also makes it
12660 impossible to call getcaps from multiple threads, which must be
12661 possible. So, checking for recursive calls has to go.
12663 2005-11-11 Michael Smith <msmith@fluendo.com>
12665 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12666 Don't sync on buffers that fall partially outside our current
12667 segment. Prevents an assertion failure/abort playing some files.
12669 2005-11-10 Andy Wingo <wingo@pobox.com>
12671 * check/gst/gstbin.c (test_message_state_changed_children): Style
12674 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12675 gst_bus_poll with the signal watch. Ensures that poll and a signal
12676 watch see the same messages.
12678 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12679 a poll and a watch at the same time get the same messages.
12681 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12683 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12684 * gst/gstcaps.c: (gst_caps_intersect):
12685 Don't call gst_caps_do_simplify - it doesn't respect order of caps
12686 and it's not needed.
12688 2005-11-10 Wim Taymans <wim@fluendo.com>
12690 * docs/design/part-TODO.txt:
12693 2005-11-10 Wim Taymans <wim@fluendo.com>
12695 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12696 * gst/base/gstbasesrc.c: (gst_base_src_wait),
12697 (gst_base_src_do_sync), (gst_base_src_get_range):
12698 Implement clock sync in base class.
12700 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12702 patch by: Tim-Philipp Müller <tim at centricular dot net>
12704 * gst/gststructure.c: (gst_structure_parse_field),
12705 (gst_structure_from_string):
12706 Forward-port a 0.8 patch to handle escaped spaces in structure string,
12707 so that gst_parse_launch() can deal with spaces in filtered link
12708 caps (fixes #164479)
12709 * check/gst/capslist.h:
12710 * check/gst/gststructure.c: (GST_START_TEST):
12711 add unit tests for this change
12713 2005-11-10 Wim Taymans <wim@fluendo.com>
12715 * docs/gst/gstreamer-sections.txt:
12716 * gst/gstelement.c:
12717 * gst/gstelement.h:
12718 Fix docs, move some STATE macros to private.
12720 2005-11-10 Wim Taymans <wim@fluendo.com>
12722 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12723 Added check for bug #317341
12727 Some more spiffifying.
12729 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12730 Call peer linkfunction if we are a source pad. Totally fixes
12734 Update docs, source pads should call the peer linkfunction
12735 so they can atomically perform the pad link.
12737 2005-11-09 Wim Taymans <wim@fluendo.com>
12741 Uber-spiffy-spiffify some more.
12743 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
12745 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12746 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12747 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12748 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12749 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12750 * gst/gstpad.c: (gst_pad_init):
12751 Use GST_DEBUG_FUNCPTR() more extensively.
12753 2005-11-09 Wim Taymans <wim@fluendo.com>
12755 * gst/gstobject.c: (gst_object_class_init):
12757 Documentation fixes.
12759 2005-11-09 Edward Hervey <edward@fluendo.com>
12761 * gst/gsttypefindfactory.c:
12764 2005-11-09 Edward Hervey <edward@fluendo.com>
12766 * gst/base/gsttypefindhelper.c:
12767 * gst/gsttypefind.c:
12768 * gst/gsttypefind.h:
12771 2005-11-09 Wim Taymans <wim@fluendo.com>
12773 * gst/gstiterator.c:
12780 2005-11-09 Wim Taymans <wim@fluendo.com>
12786 2005-11-09 Wim Taymans <wim@fluendo.com>
12788 * docs/gst/gstreamer-sections.txt:
12789 Moved the message async delivery private lock and cond
12790 to the private section.
12792 * gst/gstmessage.c:
12793 * gst/gstmessage.h:
12796 2005-11-09 Edward Hervey <edward@fluendo.com>
12798 * docs/gst/gstreamer-sections.txt:
12801 Document GstURIHandler
12803 2005-11-09 Wim Taymans <wim@fluendo.com>
12805 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12806 (gst_iterator_find_custom):
12807 * gst/gstiterator.h:
12810 2005-11-09 Wim Taymans <wim@fluendo.com>
12813 Document another field.
12815 * gst/gststructure.c:
12816 * gst/gststructure.h:
12819 2005-11-09 Wim Taymans <wim@fluendo.com>
12822 Documented structs.
12824 2005-11-09 Wim Taymans <wim@fluendo.com>
12826 * docs/gst/gstreamer-sections.txt:
12827 Added some new macros.
12834 2005-11-09 Wim Taymans <wim@fluendo.com>
12836 * docs/design/part-TODO.txt:
12837 Some more items for the TODO
12843 2005-11-09 Andy Wingo <wingo@pobox.com>
12845 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12846 to work on something else now tho...
12848 * gst/base/gstadapter.c: More adapter docs.
12850 * gst/elements/gstfilesink.c (gst_file_sink_start)
12851 (gst_file_sink_stop): New functions, replace the state change
12853 (gst_file_sink_class_init): Hook up the start and stop functions.
12854 (gst_file_sink_base_init): Don't set the state change handler any
12855 more. It was a bit ugly too, being set from here...
12856 (gst_file_sink_get_property, gst_file_sink_set_property):
12858 (gst_file_sink_set_location): More robust check that doesn't call
12859 GST_STATE. Ugggggg.
12861 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
12863 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12864 Hold STREAM_LOCK while pushing newsegment or tag events as well.
12866 2005-11-08 Wim Taymans <wim@fluendo.com>
12868 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12869 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12870 (gst_base_sink_chain), (gst_base_sink_change_state):
12871 * gst/base/gstbasesink.h:
12872 * gst/base/gstbasesrc.h:
12873 * gst/gstelement.h:
12875 Avoid excessive typechecking in macros.
12877 * gst/gstminiobject.c: (gst_mini_object_get_type),
12878 (gst_mini_object_init), (gst_mini_object_new),
12879 (gst_mini_object_free):
12880 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12881 (gst_object_finalize):
12882 Remove cruft code, optimize alloc_trace.
12884 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
12886 * docs/faq/gst-uninstalled:
12887 fix up PS1 for systems that try to reset it
12889 2005-11-07 Wim Taymans <wim@fluendo.com>
12891 * gst/base/gstbasesrc.c: (gst_base_src_init),
12892 (gst_base_src_get_range):
12893 Set the segment_end to -1 initially. Fixed typefind.
12895 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
12897 * gst/base/gstadapter.c:
12898 Debug category should be 'adapter', not 'GstAdapter'.
12900 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12901 (gst_collectpads_class_init), (gst_collectpads_init),
12902 (gst_collectpads_peek), (gst_collectpads_pop),
12903 (gst_collectpads_event), (gst_collectpads_chain):
12904 Add debug category and some debugging output. Use boilerplate
12905 macros. Remove some extraneous words from docs.
12907 2005-11-05 Andy Wingo <wingo@pobox.com>
12909 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12912 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12914 * docs/gst/gstreamer-sections.txt:
12917 * gst/gstminiobject.h:
12922 2005-11-04 Wim Taymans <wim@fluendo.com>
12924 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12925 Small update to stop at the configured segment_end
12928 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12930 * gst/gstregistry.c:
12931 * gst/gstregistry.h:
12934 2005-11-04 Edward Hervey <edward@fluendo.com>
12936 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12937 Check if we are doing a segment seek and have arrived at the
12938 end of that segment.
12940 2005-11-04 Wim Taymans <wim@fluendo.com>
12942 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12943 Don't leak a mutex unlock in case of an error.
12948 2005-11-04 Wim Taymans <wim@fluendo.com>
12950 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12952 Get the context to wake up only once.
12954 2005-11-03 Wim Taymans <wim@fluendo.com>
12956 * check/states/sinks.c: (GST_START_TEST):
12957 Uncomment fixed check.
12959 * docs/design/part-TODO.txt:
12962 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12963 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12964 (gst_base_sink_get_position):
12965 If we are going to PLAYING, post the right pending state
12966 when we post the intermediate paused message.
12968 * gst/gstelement.c: (gst_element_continue_state),
12969 (gst_element_set_state_func), (gst_element_change_state):
12970 Don't post state changes that were between the same state
12971 and were not ASYNC.
12973 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12975 * docs/gst/gstreamer-sections.txt:
12978 * gst/gstminiobject.h:
12981 more docs and doc style fixes
12983 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12985 * docs/gst/gstreamer-sections.txt:
12986 * gst/gstelement.c:
12987 * gst/gstminiobject.c:
12990 2005-11-03 Andy Wingo <wingo@pobox.com>
12992 * check/states/sinks.c (test_livesrc_sink): Add checks that the
12993 state-changed messages actually have the right order and the right
12996 2005-11-03 Wim Taymans <wim@fluendo.com>
12998 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12999 Added some more checks. Specifically the case where NO_PREROLL
13000 elements are in the pipeline.
13002 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13003 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
13004 (gst_base_sink_get_position):
13005 Post READY->PAUSED state change messages too.
13006 Fix bug where VOID was posted as pending state...
13008 * gst/gstbin.c: (gst_bin_recalc_state):
13009 use _element_continue_state() to continue the state change.
13011 * gst/gstelement.c: (gst_element_continue_state),
13012 (gst_element_commit_state), (gst_element_set_state_func),
13013 (gst_element_change_state), (gst_element_change_state_func):
13014 Lots of state change cleanups, assign the STATE_RETURN in
13015 a new continue_state() function that also propagates the
13016 last return value from a state change to the app.
13017 Update some debug statements with proper category.
13019 2005-11-03 Wim Taymans <wim@fluendo.com>
13021 * docs/design/part-events.txt:
13022 * docs/design/part-gstpipeline.txt:
13023 * docs/design/part-messages.txt:
13024 * docs/design/part-overview.txt:
13025 * docs/design/part-seeking.txt:
13026 * docs/design/part-states.txt:
13027 * docs/design/part-trickmodes.txt:
13028 * docs/manual/advanced-position.xml:
13029 Small docs updates.
13032 People think !! is ugly, this looks better.
13034 * gst/gstpad.c: (gst_pad_set_blocked_async):
13035 Remove !! since it's fixed elsewhere now.
13037 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13039 * gst/gstminiobject.h:
13041 Add !! to _FLAG_IS_SET macros to make the result boolean.
13043 2005-11-03 Edward Hervey <edward@fluendo.com>
13045 * gst/gstpad.c: (gst_pad_set_blocked_async):
13046 comparing a flag and a gboolean rarely returns coherent results...
13047 Added two characters (!!) to make that work correctly.
13049 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13051 * gst/gstbus.c: (gst_bus_class_init):
13054 * gst/gstqueue.c: (gst_queue_loop):
13055 Don't assume a miniobject that isn't a buffer is an
13056 event (it could be that there is a refcounting
13057 problem somewhere and the pointer is stale and
13058 refers to an already destroyed miniobject).
13060 2005-11-03 Julien MOUTTE <julien@moutte.net>
13062 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
13064 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
13066 * docs/manual/advanced-position.xml:
13067 Update seek example and explanations to current 0.9 API.
13069 * gst/elements/gsttypefindelement.c:
13070 (gst_type_find_element_activate):
13071 Remove FIXME comment now that the found caps
13074 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
13076 * gst/gstregistryxml.c: (load_feature):
13077 Add another GST_STR_NULL instance
13079 2005-11-02 Edward Hervey <edward@fluendo.com>
13081 * gst/gstpad.c: (handle_pad_block):
13082 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
13084 2005-11-02 Wim Taymans <wim@fluendo.com>
13089 * gst/gstelement.c: (gst_element_commit_state):
13090 Remove unused value.
13092 * gst/gstiterator.c:
13093 Mention that the returned element is reffed in the docs.
13095 2005-11-02 Wim Taymans <wim@fluendo.com>
13097 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
13098 (gst_pad_push), (gst_pad_push_event):
13099 Unlock blocked pads when they are flushed.
13101 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13104 * docs/gst/gstreamer-sections.txt:
13107 * gst/gstregistry.c: (gst_registry_scan_path_level):
13108 fix for a nasty little missed situation where an installed plug-in
13109 which was in the cache did not get overridden by an uninstalled one
13110 which was earlier in the plugin path because the newly created plugin
13111 for the uninstalled one (not in the registry) didn't get its
13112 ->registered set to TRUE
13114 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
13116 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
13117 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
13118 (gst_collectpads_is_active), (gst_collectpads_collect),
13119 (gst_collectpads_collect_range), (gst_collectpads_start),
13120 (gst_collectpads_stop), (gst_collectpads_peek),
13121 (gst_collectpads_pop), (gst_collectpads_available),
13122 (gst_collectpads_read), (gst_collectpads_flush):
13123 Guard public API with assertions.
13126 Fix docs for gst_pad_set_link_function().
13128 2005-11-02 Johan Dahlin <johan@gnome.org>
13130 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
13131 Unref found_caps after we used it.
13133 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
13135 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
13136 Don't try to ref NULL.
13138 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13140 * win32/common/config.h.in:
13141 provide a GST_FUNCTION that just gives a string for now
13143 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13145 * win32/common/gstenumtypes.c: (register_gst_object_flags),
13146 (gst_object_flags_get_type), (register_gst_bin_flags),
13147 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13148 (gst_buffer_flag_get_type), (register_gst_bus_flags),
13149 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13150 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
13151 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13152 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13153 (gst_clock_flags_get_type), (register_gst_state),
13154 (gst_state_get_type), (register_gst_state_change_return),
13155 (gst_state_change_return_get_type), (register_gst_state_change),
13156 (gst_state_change_get_type), (register_gst_element_flags),
13157 (gst_element_flags_get_type), (register_gst_core_error),
13158 (gst_core_error_get_type), (register_gst_library_error),
13159 (gst_library_error_get_type), (register_gst_resource_error),
13160 (gst_resource_error_get_type), (register_gst_stream_error),
13161 (gst_stream_error_get_type), (register_gst_event_type),
13162 (gst_event_type_get_type), (register_gst_seek_type),
13163 (gst_seek_type_get_type), (register_gst_seek_flags),
13164 (gst_seek_flags_get_type), (register_gst_format),
13165 (gst_format_get_type), (register_gst_index_certainty),
13166 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13167 (gst_index_entry_type_get_type),
13168 (register_gst_index_lookup_method),
13169 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13170 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13171 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13172 (gst_index_flags_get_type), (register_gst_debug_level),
13173 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13174 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13175 (gst_iterator_result_get_type), (register_gst_iterator_item),
13176 (gst_iterator_item_get_type), (register_gst_message_type),
13177 (gst_message_type_get_type), (register_gst_mini_object_flags),
13178 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13179 (gst_pad_link_return_get_type), (register_gst_flow_return),
13180 (gst_flow_return_get_type), (register_gst_activate_mode),
13181 (gst_activate_mode_get_type), (register_gst_pad_direction),
13182 (gst_pad_direction_get_type), (register_gst_pad_flags),
13183 (gst_pad_flags_get_type), (register_gst_pad_presence),
13184 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13185 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13186 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13187 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13188 (gst_plugin_flags_get_type), (register_gst_rank),
13189 (gst_rank_get_type), (register_gst_query_type),
13190 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13191 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13192 (gst_tag_flag_get_type), (register_gst_task_state),
13193 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13194 (gst_alloc_trace_flags_get_type),
13195 (register_gst_type_find_probability),
13196 (gst_type_find_probability_get_type), (register_gst_uri_type),
13197 (gst_uri_type_get_type), (register_gst_parse_error),
13198 (gst_parse_error_get_type):
13199 * win32/common/gstversion.h:
13200 update win32 copies
13202 2005-11-01 Luca Ognibene <luogni@tin.it>
13205 fix docs. popt is dead, long live GOption.
13207 2005-10-31 Wim Taymans <wim@fluendo.com>
13212 2005-10-31 Andy Wingo <wingo@pobox.com>
13216 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
13218 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
13219 need to serialize property notifications on GLib 2.8. GLib 2.6 has
13220 the possibility of deadlocks here if code calling notify() or
13221 set() has a lock that can be taken in another notify handler (ABBA
13222 with class lock and e.g. python GIL state lock).
13224 2005-10-28 Julien MOUTTE <julien@moutte.net>
13226 * gst/gstbus.c: Doc updates.
13228 2005-10-28 Wim Taymans <wim@fluendo.com>
13230 * docs/design/part-TODO.txt:
13231 * gst/gstiterator.c:
13232 * gst/gstsystemclock.c:
13233 * gst/gstsystemclock.h:
13236 2005-10-28 Edward Hervey <edward@fluendo.com>
13238 * docs/gst/gstreamer-docs.sgml:
13239 * docs/gst/gstreamer-sections.txt:
13240 the GstURIType documentation page is private, it only defines GstURIType
13241 which should be defined in the GstURIHandler page
13243 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
13245 * gst/gstbin.c: (gst_bin_class_init):
13248 Documentation updates.
13250 2005-10-28 Wim Taymans <wim@fluendo.com>
13252 * docs/gst/gstreamer-sections.txt:
13255 Documented the clocks.
13257 2005-10-28 Stefan Kost <ensonic@users.sf.net>
13259 * docs/gst/gstreamer-sections.txt:
13260 move some macros to private sections
13261 * gst/gstminiobject.c:
13262 * gst/gstminiobject.h:
13263 add descriptions provided by ds and some more
13265 mark macro as to be removed
13267 2005-10-28 Wim Taymans <wim@fluendo.com>
13269 * docs/design/part-TODO.txt:
13270 Add an item to TODO.
13272 * gst/gstiterator.c: (gst_iterator_fold),
13273 (gst_iterator_find_custom):
13274 * gst/gstiterator.h:
13277 2005-10-28 Wim Taymans <wim@fluendo.com>
13279 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13280 (gst_base_transform_init):
13283 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
13284 An EOS event marks the queue as completely filled.
13286 2005-10-27 Wim Taymans <wim@fluendo.com>
13288 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13289 (gst_base_sink_do_sync), (gst_base_sink_get_position):
13290 Some more debugging.
13292 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
13293 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
13294 (gst_base_transform_event), (gst_base_transform_getrange),
13295 (gst_base_transform_chain):
13296 * gst/base/gstbasetransform.h:
13298 Protect transform and concurrent buffer alloc with a new lock.
13299 Try not to break ABI/API.
13301 2005-10-27 Wim Taymans <wim@fluendo.com>
13303 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13304 (gst_base_src_init), (gst_base_src_query),
13305 (gst_base_src_default_newsegment),
13306 (gst_base_src_configure_segment), (gst_base_src_do_seek),
13307 (gst_base_src_send_event), (gst_base_src_event_handler),
13308 (gst_base_src_pad_get_range), (gst_base_src_loop),
13309 (gst_base_src_unlock), (gst_base_src_default_negotiate),
13310 (gst_base_src_start), (gst_base_src_deactivate),
13311 (gst_base_src_activate_push), (gst_base_src_change_state):
13312 Move some stuff around and cleanup things.
13314 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
13316 * gst/base/gstbasesrc.c: (gst_base_src_query):
13317 Add missing break statements.
13319 2005-10-27 Wim Taymans <wim@fluendo.com>
13321 * check/gst/gstbin.c: (GST_START_TEST):
13322 An extra refcount is taken in basesrc.
13324 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13325 (gst_base_src_get_range), (gst_base_src_pad_get_range),
13326 (gst_base_src_loop):
13327 Small cleanups, check for flushing after being unlocked from the
13328 LIVE_LOCK. take refcounts correctly (not yet everywhere).
13329 Don't send out EOS when going to READY.
13331 2005-10-27 Wim Taymans <wim@fluendo.com>
13333 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13334 (gst_base_sink_get_position):
13337 * gst/gstbin.c: (message_check), (bin_replace_message),
13338 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13339 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13340 (bin_query_duration_init), (bin_query_duration_fold),
13341 (bin_query_duration_done), (bin_query_generic_fold),
13343 * tools/gst-launch.c: (main):
13346 2005-10-26 Stefan Kost <ensonic@users.sf.net>
13348 * examples/controller/audio-example.c: (main):
13349 * examples/queue/queue.c: (event_loop):
13350 * gst/base/gstbasetransform.h:
13351 * gst/gstelement.c: (gst_element_send_event):
13353 * gst/gstpad.c: (gst_pad_send_event):
13356 changing log priority in error situations
13358 2005-10-25 Wim Taymans <wim@fluendo.com>
13360 * gst/gstbin.c: (message_check), (bin_replace_message),
13361 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13362 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13363 (bin_query_duration_init), (bin_query_duration_fold),
13364 (bin_query_duration_done), (bin_query_generic_fold),
13366 Some doc and debug updates.
13367 Cache previously requested query DURATION for speed. invalidate
13368 cached duration if element posts a DURATION message.
13370 2005-10-25 Wim Taymans <wim@fluendo.com>
13372 * docs/design/part-TODO.txt:
13375 * gst/gstbin.c: (message_check), (bin_replace_message),
13376 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13377 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13378 (bin_query_duration_init), (bin_query_duration_fold),
13379 (bin_query_duration_done), (bin_query_generic_fold),
13381 Handle SEGMENT_START/DONE messages correctly.
13382 More evolved query algorithm that handles duration queries
13385 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13386 (gst_element_get_state_func), (gst_element_abort_state),
13387 (gst_element_commit_state), (gst_element_lost_state):
13388 Some more debugging.
13390 * gst/gstmessage.h:
13393 2005-10-25 Wim Taymans <wim@fluendo.com>
13395 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13396 Don't use invalid stream_time.
13398 * gst/gstevent.c: (gst_event_new_newsegment):
13399 stream_time in newsegment cannot be undefined.
13401 2005-10-24 Wim Taymans <wim@fluendo.com>
13406 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13408 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13410 2005-10-24 Stefan Kost <ensonic@users.sf.net>
13412 * docs/libs/tmpl/gstdparam.sgml:
13413 * docs/libs/tmpl/gstdplinint.sgml:
13414 * docs/libs/tmpl/gstdpman.sgml:
13415 * docs/libs/tmpl/gstdpsmooth.sgml:
13416 * docs/libs/tmpl/gstunitconvert.sgml:
13419 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
13424 === release 0.9.4 ===
13426 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13429 releasing 0.9.4, "Tyrannosaurus Rex"
13431 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
13433 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13434 (gst_file_sink_get_current_offset):
13435 Use fseeko() and ftello() if available. When falling back on
13436 lseek() to get the current offset, fflush() first to make sure
13437 everything is up-to-date and we get the right offset.
13439 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13441 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13442 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13443 * gst/gsterror.c: (_gst_stream_errors_init):
13445 * gst/gstqueue.c: (gst_queue_loop):
13447 remove prematurely added error category and clean up the instances
13449 2005-10-21 Wim Taymans <wim@fluendo.com>
13451 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13452 (gst_base_sink_get_position), (gst_base_sink_query),
13453 (gst_base_sink_change_state):
13454 Simply set the right flag when going to playing, that's all
13455 we need to do instead of calling a function inside the object
13456 lock (that could take the lock as well and deadlock)
13458 2005-10-21 Wim Taymans <wim@fluendo.com>
13460 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13461 (gst_base_src_loop):
13462 Don't warn, the peer element knows what to do best when
13463 the seek failed, it might try something else.
13465 2005-10-21 Wim Taymans <wim@fluendo.com>
13467 * gst/base/gstbasesrc.c: (gst_base_src_init),
13468 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13471 2005-10-21 Wim Taymans <wim@fluendo.com>
13473 * docs/design/part-segments.txt:
13476 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13477 Correctly set caps, even on the subbufer.
13479 2005-10-21 Wim Taymans <wim@fluendo.com>
13481 * docs/gst/gstreamer-docs.sgml:
13482 * docs/gst/gstreamer-sections.txt:
13483 * gst/gstelement.h:
13486 * gst/gstmessage.h:
13489 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13493 And 2% more doc coverage.
13495 2005-10-21 Andy Wingo <wingo@pobox.com>
13497 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13498 position reporting.
13500 2005-10-20 Wim Taymans <wim@fluendo.com>
13502 * gst/gsterror.c: (gst_error_get_message):
13505 * gst/gststructure.c:
13510 2005-10-20 Wim Taymans <wim@fluendo.com>
13515 Another 1% more coverage.
13517 2005-10-20 Wim Taymans <wim@fluendo.com>
13519 * docs/gst/gstreamer-sections.txt:
13520 * gst/gstelement.c: (gst_element_get_state_func),
13521 (gst_element_abort_state), (gst_element_commit_state),
13522 (gst_element_lost_state):
13524 * gst/gstquery.c: (gst_query_set_position),
13525 (gst_query_parse_position), (gst_query_set_duration),
13526 (gst_query_parse_duration), (gst_query_new_convert):
13528 Yay! 1% more docs coverage.
13530 2005-10-20 Wim Taymans <wim@fluendo.com>
13533 * gst/gstquery.c: (gst_query_set_position),
13534 (gst_query_parse_position), (gst_query_set_duration),
13535 (gst_query_parse_duration), (gst_query_new_convert):
13537 * gst/gstutils.c: (gst_element_query_convert):
13539 Docs and consistency fixes.
13541 2005-10-20 Wim Taymans <wim@fluendo.com>
13547 2005-10-20 Wim Taymans <wim@fluendo.com>
13549 * gst/gstbin.c: (message_check), (bin_replace_message),
13550 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13551 (update_degree), (gst_bin_sort_iterator_next),
13552 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13553 Reworked the message handling a bit, cache the messages instead of
13554 only the senders. alows us to do more in the future.
13556 2005-10-20 Wim Taymans <wim@fluendo.com>
13558 * docs/design/part-TODO.txt:
13561 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13562 (gst_base_sink_query):
13563 Don't use clock time to report position when in EOS.
13565 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
13567 * tools/gst-inspect.c: (print_interfaces),
13568 (print_element_properties_info), (print_element_info):
13569 Fix interface output with gst-inspect -a; don't print
13570 newlines after double/float properties.
13572 2005-10-20 Wim Taymans <wim@fluendo.com>
13574 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13575 (gst_base_sink_query):
13576 Speed up current position calculation.
13578 * gst/base/gstbasesrc.c: (gst_base_src_query),
13579 (gst_base_src_default_newsegment):
13580 Correctly set stream position in newsegment.
13582 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13583 (update_degree), (gst_bin_sort_iterator_next),
13584 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13585 * gst/gstmessage.c: (gst_message_new_custom):
13586 Clean up debugging info
13588 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13589 (gst_queue_loop), (gst_queue_handle_src_query):
13592 2005-10-19 Wim Taymans <wim@fluendo.com>
13594 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13595 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13596 Fix query handling again.
13598 2005-10-19 Wim Taymans <wim@fluendo.com>
13600 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13601 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13602 * gst/base/gstbasesrc.c: (gst_base_src_query):
13603 * gst/elements/gstfilesink.c: (gst_file_sink_query):
13604 * gst/elements/gsttypefindelement.c:
13605 (gst_type_find_handle_src_query), (find_element_get_length),
13606 (gst_type_find_element_activate):
13609 * gst/gstquery.c: (gst_query_new_position),
13610 (gst_query_set_position), (gst_query_parse_position),
13611 (gst_query_new_duration), (gst_query_set_duration),
13612 (gst_query_parse_duration), (gst_query_set_segment),
13613 (gst_query_parse_segment):
13615 Bundling query position/duration is not a good idea since duration
13616 does not change much and we don't want to recalculate it for every
13617 position query, so they are separated again..
13618 Base value in segment query is not needed.
13620 * gst/gstqueue.c: (gst_queue_handle_src_query):
13621 * gst/gstutils.c: (gst_element_query_position),
13622 (gst_element_query_duration), (gst_pad_query_position),
13623 (gst_pad_query_duration):
13625 Updates for query API change.
13626 Added some docs here and there.
13628 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
13630 * check/gst/gstbin.c: (GST_START_TEST):
13631 * check/gst/gstghostpad.c: (GST_START_TEST):
13632 * check/pipelines/cleanup.c: (GST_START_TEST):
13633 wait on thread to die so we can check refcount correctly
13635 2005-10-18 Wim Taymans <wim@fluendo.com>
13637 * check/pipelines/stress.c: (GST_START_TEST):
13638 Make check a little more time consuming.
13640 2005-10-18 Wim Taymans <wim@fluendo.com>
13642 * check/Makefile.am:
13643 * check/pipelines/stress.c: (GST_START_TEST),
13644 (simple_launch_lines_suite), (main):
13645 Small state change torture test.
13647 * docs/design/part-states.txt:
13648 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13649 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13650 (gst_base_sink_change_state):
13651 Never take state lock from streaming thread, clean up ugly
13652 hacks. Unfortunatly core does not yet support nice ways to
13653 async commit state.
13655 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13657 Start state recalc if a STATE_DIRTY message is posted, but only
13658 on the toplevel bin.
13660 * gst/gstelement.c: (gst_element_sync_state_with_parent),
13661 (gst_element_get_state_func), (gst_element_abort_state),
13662 (gst_element_commit_state), (gst_element_lost_state),
13663 (gst_element_set_state_func), (gst_element_change_state):
13664 * gst/gstelement.h:
13665 State variables are now protected with the LOCK, the state
13666 lock is only used to serialize _set_state().
13668 2005-10-18 Wim Taymans <wim@fluendo.com>
13670 * check/gst/gstbin.c: (GST_START_TEST):
13671 * check/gst/gstmessage.c: (GST_START_TEST):
13672 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13673 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13675 * gst/gstelement.c: (gst_element_abort_state),
13676 (gst_element_commit_state), (gst_element_lost_state):
13677 * gst/gstmessage.c: (gst_message_new_state_changed),
13678 (gst_message_new_state_dirty), (gst_message_new_segment_start),
13679 (gst_message_new_segment_done), (gst_message_new_duration),
13680 (gst_message_parse_state_changed),
13681 (gst_message_parse_segment_start),
13682 (gst_message_parse_segment_done), (gst_message_parse_duration):
13683 * gst/gstmessage.h:
13684 * tools/gst-launch.c: (event_loop):
13685 Seriously, this is better than a previous commit as we only need
13686 to notify the fact that an element changed state in a streaming
13687 thread, marking the state of the parents dirty, hence the
13688 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13691 2005-10-18 Wim Taymans <wim@fluendo.com>
13693 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13694 (gst_bin_recalc_func):
13695 * gst/gstelement.c: (gst_element_set_clock),
13696 (gst_element_abort_state), (gst_element_lost_state):
13697 Cleanups, prepare for state change fixes.
13699 2005-10-18 Wim Taymans <wim@fluendo.com>
13702 * gst/gstelement.c: (gst_element_class_init),
13703 (gst_element_set_state), (gst_element_set_state_func):
13704 * gst/gstelement.h:
13705 Pending ABI changes.
13706 GThreadPool in GstBinClass to monitor async state changes.
13707 state_cookie in GstElement to detect concurrent gst/set state.
13708 set_state is now virtual too in case a very complicated element
13709 has to be constructed.
13711 2005-10-18 Wim Taymans <wim@fluendo.com>
13713 * check/gst/gstbin.c: (GST_START_TEST):
13714 * check/gst/gstmessage.c: (GST_START_TEST):
13715 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13716 * gst/gstbin.c: (bin_bus_handler):
13717 * gst/gstelement.c: (gst_element_commit_state),
13718 (gst_element_lost_state):
13719 * gst/gstmessage.c: (gst_message_new_state_changed),
13720 (gst_message_new_segment_start), (gst_message_new_segment_done),
13721 (gst_message_new_duration), (gst_message_parse_state_changed),
13722 (gst_message_parse_segment_start),
13723 (gst_message_parse_segment_done), (gst_message_parse_duration):
13724 * gst/gstmessage.h:
13725 * tools/gst-launch.c: (event_loop):
13726 Make messages future proof.
13727 state-change gets a flag if it was a message comming from the
13729 segment-start/stop can also be specified in other formats.
13730 A message to notify an app that a pipeline changed playback
13732 Also fix a GstMessage leak in -launch
13734 2005-10-18 Andy Wingo <wingo@pobox.com>
13736 * gst/gstelement.c (gst_element_dispose): More helpful message.
13738 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13740 reviewed by: <delete if not using a buddy>
13742 * common/gtk-doc.mak:
13744 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13746 * gst/gstregistry.c: (gst_registry_scan_path_level):
13747 unref a plug-in we get that was already initialized
13749 2005-10-18 Stefan Kost <ensonic@users.sf.net>
13751 * docs/gst/gstreamer-sections.txt:
13752 * docs/libs/gstreamer-libs-sections.txt:
13753 * gst/gstelement.h:
13754 add new api entries
13755 hide internal macro
13757 2005-10-17 Andy Wingo <wingo@pobox.com>
13759 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13762 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13764 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13766 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13767 (gst_element_get_state_func): Better debug message.
13768 (gst_element_commit_state): s/INFO/DEBUG/.
13769 (gst_element_lost_state, gst_element_change_state):
13771 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13772 (gst_message_new_custom): s/INFO/LOG/.
13774 2005-10-17 Michael Smith <msmith@fluendo.com>
13776 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13777 Check if end time is valid using end time, not start time.
13779 2005-10-17 Stefan Kost <ensonic@users.sf.net>
13781 * check/gst-libs/controller.c: (GST_START_TEST),
13782 (gst_controller_suite):
13783 * libs/gst/controller/gstcontroller.c:
13784 (gst_controlled_property_set_interpolation_mode):
13785 * libs/gst/controller/gstcontroller.h:
13786 * libs/gst/controller/gstinterpolation.c:
13787 * testsuite/controller/.cvsignore:
13788 * testsuite/controller/Makefile.am:
13789 * testsuite/controller/interpolator.c:
13790 merge controller testsuites
13792 remove mem-chunk from docs
13794 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13796 * gst/gstmemchunk.c:
13797 * gst/gstmemchunk.h:
13798 * gst/gsttrashstack.c:
13799 * gst/gsttrashstack.h:
13800 out. get out. you're fired. to the Attic !
13802 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13804 * gst/gstcaps.c: (gst_caps_intersect):
13805 fix signedness issues in a (hopefully) correct way
13806 * gst/gstelement.c: (gst_element_pads_activate):
13808 * gst/gstobject.c: (gst_object_set_parent):
13811 2005-10-17 Julien MOUTTE <julien@moutte.net>
13813 * gst/gstvalue.h: Fix prototypes.
13815 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13817 * docs/gst/gstreamer-sections.txt:
13818 * gst/gst.c: (gst_version_string):
13820 * gst/gstversion.h.in:
13821 * win32/common/libgstreamer.def:
13822 add gst_version_string ()
13824 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13828 * gst/gst.c: (init_post):
13829 * win32/common/config.h.in:
13831 * gst/gstcaps.c: (gst_caps_intersect):
13832 use gint64, the range could be bigger than a guint
13834 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13837 document potential problem in 2038
13839 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13841 * gst/gstcaps.c: (gst_caps_intersect):
13842 Fix guint j diving under 0
13844 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13847 * win32/common/config.h:
13848 * win32/common/config.h.in:
13849 check for process.h, declares getpid() on Windows
13851 include process.h if we have it
13852 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13853 * gst/gstmemchunk.h:
13854 fix signedness issues
13855 * win32/common/libgstreamer.def:
13858 2005-10-16 Julien MOUTTE <julien@moutte.net>
13860 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13861 fix. Because of unsigned ints, caps intersection was going nuts and
13862 trying to access structures with G_MAXUINT index. That fixes
13863 videotestsrc ! ffmpegcolorspace ! fakesink
13864 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13867 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13870 use the gettext macro
13871 * gst/elements/gstelements.c:
13873 * gst/indexers/gstindexers.c:
13874 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13875 * win32/common/config.h:
13877 * win32/common/config.h.in:
13878 add the template to generate config.h
13879 * win32/common/gstenumtypes.c:
13880 * win32/common/gstversion.h:
13883 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13885 * gst/gst.c: (gst_version):
13886 * gst/gstversion.h.in:
13889 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13892 Oops, add missing closing bracket.
13894 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13897 use common m4's for argument checking
13899 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13901 * docs/gst/gstreamer-sections.txt:
13903 Add GST_EVENT_TYPE_NAME() macro.
13905 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13908 * gst/gstpluginfeature.c:
13910 privatize more symbols
13912 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13915 add srcdir, builddir includes to GST_ALL_CFLAGS, since
13916 everything that uses GStreamer API should have the includes
13918 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13920 * docs/gst/gstreamer-sections.txt:
13921 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13923 give each value a _get_type, removes the DATA exports
13925 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13929 remove _gst_registry_auto_load, not used anymore
13930 * gst/gstbin.c: (gst_bin_get_type):
13932 * gst/gstelement.c: (gst_element_get_type):
13933 * gst/gstelement.h:
13934 * gst/gstobject.c: (gst_object_get_type):
13936 * gst/gstpad.c: (gst_pad_get_type):
13938 make _get_type functions similar, fixes data export from library
13940 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13943 correctly make conditionals
13944 * gst/elements/Makefile.am:
13945 * gst/elements/gstelements.c:
13946 fix typo causing fdsrc not to build
13948 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13950 * testsuite/Makefile.am:
13951 * testsuite/bytestream/.cvsignore:
13952 * testsuite/bytestream/Makefile.am:
13953 * testsuite/bytestream/filepadsink.c:
13954 * testsuite/bytestream/gstbstest.c:
13955 * testsuite/bytestream/test1.c:
13956 * testsuite/bytestream/testfile1:
13957 * testsuite/caps/normalisation.c:
13958 * testsuite/caps/random.c: (main):
13959 * testsuite/cleanup/.cvsignore:
13960 * testsuite/cleanup/Makefile.am:
13961 * testsuite/cleanup/cleanup1.c:
13962 * testsuite/cleanup/cleanup2.c:
13963 * testsuite/cleanup/cleanup3.c:
13964 * testsuite/cleanup/cleanup4.c:
13965 * testsuite/cleanup/cleanup5.c:
13966 * testsuite/controller/interpolator.c:
13967 * testsuite/debug/printf_extension.c: (main):
13968 * testsuite/elements/tee.c:
13969 * testsuite/negotiation/.cvsignore:
13970 * testsuite/negotiation/Makefile.am:
13971 * testsuite/negotiation/pad_link.c:
13972 * testsuite/pad/Makefile.am:
13973 * testsuite/pad/chainnopull.c:
13974 * testsuite/pad/getnopush.c:
13975 * testsuite/pad/link.c:
13976 * testsuite/refcounting/sched.c: (create_pipeline):
13977 * testsuite/registry/Makefile.am:
13978 * testsuite/registry/gst-print-formats.c:
13979 * testsuite/schedulers/.cvsignore:
13980 * testsuite/schedulers/142183-2.c:
13981 * testsuite/schedulers/142183.c:
13982 * testsuite/schedulers/143777-2.c:
13983 * testsuite/schedulers/143777.c:
13984 * testsuite/schedulers/147713.c:
13985 * testsuite/schedulers/147819.c:
13986 * testsuite/schedulers/147894-2.c:
13987 * testsuite/schedulers/147894.c:
13988 * testsuite/schedulers/Makefile.am:
13989 * testsuite/schedulers/group_link.c:
13990 * testsuite/schedulers/queue_link.c:
13991 * testsuite/schedulers/relink.c:
13992 * testsuite/schedulers/unlink.c:
13993 * testsuite/schedulers/unref.c:
13994 * testsuite/schedulers/useless_iteration.c:
13995 * testsuite/states/bin.c:
13996 clean out/remove some stuff from the testsuite directories
13998 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14001 check for some headers
14002 * gst/elements/Makefile.am:
14003 * gst/elements/gstelements.c:
14004 don't compile fdsrc without sys/socket.h
14005 * gst/indexers/Makefile.am:
14006 * gst/indexers/gstindexers.c: (plugin_init):
14007 don't compile fileindex without mmap
14009 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
14016 * check/Makefile.am:
14017 * docs/gst/Makefile.am:
14018 * examples/helloworld/Makefile.am:
14020 * gst/base/Makefile.am:
14021 * gst/check/Makefile.am:
14022 * gst/elements/Makefile.am:
14023 * gst/indexers/Makefile.am:
14024 * gst/parse/Makefile.am:
14025 * libs/gst/controller/Makefile.am:
14026 * libs/gst/dataprotocol/Makefile.am:
14027 * examples/helloworld/helloworld.c: (event_loop):
14028 compile fixes, though it's not being compiled currently
14030 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14032 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
14033 Add some simple tests for the new taglist date API.
14035 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14037 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
14038 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
14039 Beautify 'last-message' output: print 'none' for buffer timestamps
14040 and durations if none is set; improve alignment with next messages.
14042 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
14044 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
14045 * gst/gstpluginfeature.h:
14046 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
14047 * gst/gstregistry.h:
14048 * docs/gst/gstreamer-sections.txt:
14049 Add new API to check plugin feature version requirements.
14051 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
14052 Some basic tests for the above.
14054 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14056 * gst/gststructure.c: (gst_structure_to_string):
14057 guard against NULL printf - happens when for example
14058 a message structure with GstClock gets serialized
14060 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
14062 * gst/base/gstcollectpads.c: (gst_collectpads_event):
14063 Fix presumable copy'n'pasto.
14065 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14067 * gst/elements/gstfakesrc.h:
14068 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
14069 * gst/elements/gsttypefindelement.c:
14070 fix some signedness
14071 * gst/elements/gstfilesink.c: (gst_file_sink_render):
14072 I wonder if this could actually write +2GB files before
14074 2005-10-13 Andy Wingo <wingo@pobox.com>
14076 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
14077 Fix Timmeke Waymans bug.
14078 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
14079 string of the proper length to gst_caps_from_string. There's a
14080 potential for, before this fix, that this could cause someone
14081 connecting over the network to cause a segfault if the payload is
14082 not NUL-terminated.
14084 2005-10-13 Stefan Kost <ensonic@users.sf.net>
14086 * docs/design/draft-push-pull.txt:
14087 * docs/design/part-overview.txt:
14088 * docs/random/TODO-pre-0.9:
14089 * docs/random/old/ChangeLog.gstreamer:
14090 * gst/base/gstpushsrc.c:
14094 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14096 * gst/glib-compat.c: (gst_flags_get_first_value):
14097 * gst/glib-compat.h:
14098 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
14099 (gst_value_compare_double), (gst_value_serialize_flags):
14100 GLib 2.6 g_flags_get_first_value has a bug that triggers an
14103 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14105 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14106 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14108 * tools/gst-launch.c: (event_loop):
14109 print out clock nicely
14111 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
14113 * docs/gst/gstreamer-sections.txt:
14114 * gst/gsttaglist.h:
14115 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
14116 (gst_tag_list_get_date_index):
14117 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
14118 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
14120 2005-10-13 Julien MOUTTE <julien@moutte.net>
14122 * gst/base/gstcollectpads.c: (gst_collectpads_event),
14123 (gst_collectpads_chain):
14124 * gst/base/gstcollectpads.h: Handle newsegment and store informations
14127 2005-10-13 Stefan Kost <ensonic@users.sf.net>
14129 * docs/gst/gstreamer-sections.txt:
14132 * tools/gst-inspect.c: (main):
14133 * tools/gst-launch.c: (main):
14134 * tools/gst-run.c: (main):
14135 * tools/gst-xmlinspect.c: (main):
14136 fix GOption context leaks
14139 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14143 * win32/common/config.h:
14145 * win32/vs6/grammar.dsp:
14146 * win32/vs6/libgstelements.dsp:
14147 * win32/vs6/libgstreamer.dsp:
14150 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14152 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14153 * gst/base/gstbasesrc.c: (gst_base_src_query):
14154 fix more guint64<->gdouble conversions
14156 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14159 add win32-update target
14160 * win32/common/gstconfig.h:
14161 * win32/common/gstenumtypes.c:
14162 * win32/common/gstenumtypes.h:
14163 * win32/common/gstversion.h:
14164 add files that visual studio can't generate
14166 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14169 add a win32-update target
14172 2005-10-12 Wim Taymans <wim@fluendo.com>
14174 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14175 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
14176 * gst/gstelement.c: (gst_element_commit_state),
14177 (gst_element_set_state):
14178 Protect flags with proper lock.
14179 unref provided cached clock in dispose.
14181 2005-10-12 Stefan Kost <ensonic@users.sf.net>
14184 * gst/gstminiobject.h:
14186 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
14187 removed unused flags from miniobject
14190 2005-10-12 Wim Taymans <wim@fluendo.com>
14192 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14193 (gst_file_sink_event), (gst_file_sink_render):
14194 Flush before seeking.
14196 2005-10-12 Andy Wingo <wingo@pobox.com>
14198 * gst/gst.c (gst_init_check): Ignore unknown options, as has
14199 always been the case.
14201 2005-10-12 Stefan Kost <ensonic@users.sf.net>
14203 * check/gst/gstbin.c: (GST_START_TEST):
14204 * docs/gst/gstreamer-sections.txt:
14205 * gst/base/gstbasesink.c: (gst_base_sink_init):
14206 * gst/base/gstbasesrc.c: (gst_base_src_init),
14207 (gst_base_src_get_range), (gst_base_src_check_get_range),
14208 (gst_base_src_start), (gst_base_src_stop):
14209 * gst/base/gstbasesrc.h:
14210 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
14211 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14212 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
14216 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
14218 * gst/gstelement.c: (gst_element_is_locked_state),
14219 (gst_element_set_locked_state), (gst_element_commit_state),
14220 (gst_element_set_state):
14221 * gst/gstelement.h:
14222 * gst/gstindex.c: (gst_index_init):
14224 * gst/gstminiobject.h:
14225 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
14226 (gst_object_set_parent):
14228 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
14229 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
14231 * gst/gstpadtemplate.h:
14232 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
14233 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14234 * gst/gstpipeline.h:
14235 * gst/indexers/gstfileindex.c: (gst_file_index_load),
14236 (gst_file_index_commit):
14237 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
14238 * testsuite/pad/link.c: (gst_test_src_init),
14239 (gst_test_filter_init), (gst_test_sink_init):
14240 * testsuite/states/locked.c: (main):
14241 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
14242 moved bitshift from macro to enum definition
14244 2005-10-12 Wim Taymans <wim@fluendo.com>
14246 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
14247 * gst/elements/gstfilesink.c: (gst_file_sink_event),
14248 (gst_file_sink_render):
14249 Some more debugging info.
14251 2005-10-12 Wim Taymans <wim@fluendo.com>
14253 * docs/design/part-states.txt:
14254 * tools/gst-launch.c: (main):
14256 Revert non-intentional change.
14258 2005-10-12 Wim Taymans <wim@fluendo.com>
14260 * check/gst/gstbin.c: (GST_START_TEST):
14261 * check/gst/gstelement.c: (GST_START_TEST):
14262 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
14263 * check/gst/gstghostpad.c: (GST_START_TEST):
14264 * check/gst/gstpipeline.c: (GST_START_TEST):
14265 * check/pipelines/simple_launch_lines.c: (run_pipeline):
14266 * check/states/sinks.c: (GST_START_TEST):
14267 * gst/elements/gsttypefindelement.c: (stop_typefinding):
14268 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14269 (gst_bin_remove_func), (gst_bin_get_state_func),
14270 (gst_bin_recalc_state), (gst_bin_change_state_func),
14272 * gst/gstelement.c: (gst_element_get_state_func),
14273 (gst_element_get_state), (gst_element_abort_state),
14274 (gst_element_commit_state), (gst_element_set_state),
14275 (gst_element_change_state), (gst_element_change_state_func):
14276 * gst/gstelement.h:
14277 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
14278 (gst_pipeline_provide_clock_func):
14279 * gst/gstutils.c: (gst_element_link_pads_filtered):
14280 * tools/gst-launch.c: (main):
14281 * tools/gst-typefind.c: (main):
14282 Use GstClockTime in _get_state() instead of GTimeVal.
14283 Remove old code in gstutils.c
14285 2005-10-12 Andy Wingo <wingo@pobox.com>
14287 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
14290 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
14291 there is no task. Shouldn't affect any code, as nothing in our
14292 plugins checks this return value.
14293 (gst_pad_stop_task): Also take the stream lock if the pad has no
14294 task. Docs updated.
14296 2005-10-12 Wim Taymans <wim@fluendo.com>
14298 * gst/gstpad.c: (pre_activate), (post_activate),
14299 (gst_pad_activate_pull), (gst_pad_activate_push):
14300 Cleanup activation code. Reset old state if
14303 2005-10-12 Wim Taymans <wim@fluendo.com>
14305 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14306 (gst_base_sink_change_state):
14307 No need to prerol after receiving EOS.
14309 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14310 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
14311 * gst/elements/gstidentity.c: (gst_identity_event):
14312 Print events more verbosely.
14314 2005-10-12 Wim Taymans <wim@fluendo.com>
14316 * check/Makefile.am:
14317 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14318 * check/states/sinks2.c:
14319 Moved sinks2 testcode in sinks check.
14321 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14322 (gst_bin_remove_func), (gst_bin_recalc_state),
14323 (gst_bin_change_state_func), (bin_bus_handler):
14324 Fix potential race condition when _get_state() iterated over an
14325 ASYNC element right before it posted a state completion.
14328 Do proper cast here.
14330 * gst/gstevent.c: (gst_event_new_newsegment),
14331 (gst_event_parse_newsegment):
14332 A playback rate of 0.0 is not allowed.
14334 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14336 * win32/common/config.h:
14337 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
14338 (_trewinddir), (_ttelldir), (_tseekdir):
14339 * win32/common/dirent.h:
14340 * win32/common/gtchar.h:
14341 * win32/common/libgstbase.def:
14342 * win32/common/libgstreamer.def:
14343 * win32/vs6/grammar.dsp:
14344 * win32/vs6/gst_inspect.dsp:
14345 * win32/vs6/gst_launch.dsp:
14346 * win32/vs6/gstreamer.dsw:
14347 * win32/vs6/libgstbase.dsp:
14348 * win32/vs6/libgstelements.dsp:
14349 * win32/vs6/libgstreamer.dsp:
14350 Visual Studio 6 project files, and a new common directory.
14353 2005-10-11 Wim Taymans <wim@fluendo.com>
14355 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14356 (gst_base_sink_do_sync), (gst_base_sink_query),
14357 (gst_base_sink_change_state):
14358 * gst/base/gstbasesink.h:
14359 Correctly parse newsegment info.
14361 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14363 * gst/gst.c: (init_post):
14364 split plugin paths correctly
14366 2005-10-11 Wim Taymans <wim@fluendo.com>
14368 * check/gst/gstevent.c: (GST_START_TEST):
14369 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14370 (gst_base_sink_change_state):
14371 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14372 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14373 * gst/elements/gstfilesink.c: (gst_file_sink_event):
14374 * gst/gstevent.c: (gst_event_new_newsegment),
14375 (gst_event_parse_newsegment):
14377 Added extra flag to newsegment for future API freeze.
14378 Updated check and base elements.
14380 2005-10-11 Julien MOUTTE <julien@moutte.net>
14382 * gst/base/gstcollectpads.c: (gst_collectpads_init),
14383 (gst_collectpads_add_pad), (gst_collectpads_pop),
14384 (gst_collectpads_event), (gst_collectpads_chain):
14385 * gst/base/gstcollectpads.h: Handle EOS correctly.
14387 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14389 * tools/gst-launch.c: (main):
14390 more null protecting
14392 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14394 * gst/gst-i18n-lib.h:
14395 check for ENABLE_NLS, not GETTEXT_PACKAGE
14396 * gst/gstregistry.c: (gst_registry_add_plugin),
14397 (gst_registry_scan_path_level),
14398 (_gst_registry_remove_cache_plugins):
14399 protect possibly NULL strings
14400 * gst/parse/types.h:
14401 config.h already included before
14402 * tools/gst-inspect.c: (main):
14403 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14404 check for ENABLE_NLS, not GETTEXT_PACKAGE
14405 * tools/gst-launch.c: (main):
14406 check for ENABLE_NLS, not GETTEXT_PACKAGE
14408 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14411 if we don't have glib, fail before testing 2.8
14412 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14413 fix a leak, should fix plugins-base testsuite
14415 2005-10-11 Andy Wingo <wingo@pobox.com>
14417 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14418 take the mode we're going to as an arg. Go head and set the mode
14419 and flushing flags now, so that if the activate function starts a
14420 thread all the flags will be in the right state.
14421 (post_activate): Renamed also. Just handle making sure streaming
14422 finishes for the deactivation case, and setting the deactivated
14424 (gst_pad_set_active): Complain loudly if deactivation fails.
14425 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14426 (gst_pad_activate_push): Adapt to pre/post_activate changes,
14427 remove the terrible hack.
14429 2005-10-11 Wim Taymans <wim@fluendo.com>
14431 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14432 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14433 (gst_bin_recalc_state), (gst_bin_change_state_func),
14434 (gst_bin_dispose), (bin_bus_handler):
14436 Prepare to make current EOS message queue more generic.
14439 * gst/gstevent.c: (gst_event_new_newsegment),
14440 (gst_event_parse_newsegment):
14442 Rename base to stream_time.
14444 * gst/gstmessage.h:
14447 2005-10-11 Wim Taymans <wim@fluendo.com>
14449 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14450 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14451 (gst_bin_change_state_func), (bin_bus_handler):
14453 Work on proper clock selection.
14455 2005-10-11 Edward Hervey <edward@fluendo.com>
14457 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
14458 * libs/gst/controller/gstcontroller.h:
14459 Added GList* version of _remove_properties() in order to be able to wrap
14462 2005-10-11 Wim Taymans <wim@fluendo.com>
14464 * docs/design/part-states.txt:
14467 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14468 (gst_bin_change_state_func), (bin_bus_handler):
14469 Doc updates. Don't distribute the same clock over and over again.
14475 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14476 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14477 (gst_pad_send_event):
14479 Make probe emission threadsafe again.
14480 Register quarks and move _get_name() from utils.
14483 * gst/gstpipeline.c: (gst_pipeline_class_init),
14484 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14485 Only redistribute the clock of it changed.
14487 * gst/gstsystemclock.h:
14492 Moved the _flow_get_name() to GstPad.
14494 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14496 * check/gst-libs/gdp.c: (GST_START_TEST):
14497 * check/gst/gstcaps.c: (GST_START_TEST):
14498 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14499 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14500 (gst_dp_packet_from_caps):
14501 fix more valgrind warnings before turning up the heat
14503 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14505 * gst/parse/grammar.y:
14506 some cleanup before the hacking
14508 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14510 * gst/base/gstbasesrc.c: (gst_base_src_query):
14512 * gst/gstutils.c: (gst_guint64_to_gdouble),
14513 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14515 externalize, basesrc uses it
14516 obviously the implementation needs testing
14518 2005-10-10 Wim Taymans <wim@fluendo.com>
14520 * tests/sched/Makefile.am:
14521 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14522 (make_pipeline3), (make_pipeline4), (print_elem), (main):
14524 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14526 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14527 apparently converting from guint64 to double is not implemented
14530 2005-10-10 Wim Taymans <wim@fluendo.com>
14532 * check/Makefile.am:
14533 * check/generic/states.c: (GST_START_TEST):
14534 * check/gst/gstbin.c: (GST_START_TEST):
14535 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14536 * check/states/sinks.c: (GST_START_TEST):
14537 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14539 Check fixes, use API as stated in design docs, remove hacks.
14541 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14542 (gst_base_sink_change_state):
14543 Catch stopping our task while we're shutting down.
14545 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14546 (gst_bin_remove_func), (gst_bin_get_state_func),
14547 (gst_bin_recalc_state), (gst_bin_change_state_func),
14550 * gst/gstelement.c: (gst_element_init),
14551 (gst_element_get_state_func), (gst_element_abort_state),
14552 (gst_element_commit_state), (gst_element_lost_state),
14553 (gst_element_set_state), (gst_element_change_state),
14554 (gst_element_change_state_func):
14555 * gst/gstelement.h:
14556 New state change algorithm (see #318116)
14558 * gst/gstpipeline.c: (gst_pipeline_class_init),
14559 (gst_pipeline_init), (gst_pipeline_set_property),
14560 (gst_pipeline_get_property), (do_pipeline_seek),
14561 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14562 * gst/gstpipeline.h:
14563 Remove crude state change hacks.
14566 Remove crude hacks.
14568 * tools/gst-launch.c: (main):
14569 Fixes for state change. Needs some more work to fully use the
14572 2005-10-10 Andy Wingo <wingo@pobox.com>
14574 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14576 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14577 this flag, but it's not even in GLib 2.6. Odd. Hack around the
14580 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14582 * gst/gstiterator.c: (gst_iterator_new):
14583 Fix my previous commit: GTypes passed to gst_iterator_new()
14584 can be fundamental types.
14586 2005-10-10 Wim Taymans <wim@fluendo.com>
14588 * gst/gstelement.c: (gst_element_iterate_pad_list),
14589 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14590 (gst_element_iterate_sink_pads):
14591 Use src/sink pads lists for the respective iterators instead
14594 2005-10-10 Andy Wingo <wingo@pobox.com>
14596 Merged in popt removal + GOption addition patch from Ronald, bug
14599 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14600 GstElement macros around, remove popt-related symbols, add goption
14603 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14605 * docs/gst/Makefile.am:
14606 * docs/libs/Makefile.am: No POPT_CFLAGS.
14608 * examples/manual/Makefile.am:
14609 * docs/manual/basics-init.xml: Doc updates with an example.
14611 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14612 (gst_init), (parse_one_option), (parse_goption_arg):
14613 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14614 bit of hand merging and debugging to get the GOption stuff working
14617 * tests/Makefile.am:
14618 * tools/Makefile.am:
14619 * tools/gst-inspect.c: (main):
14620 * tools/gst-launch.c: (main):
14621 * tools/gst-run.c: (main):
14622 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14624 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14626 * gst/gstiterator.c: (gst_iterator_new):
14627 Add assertions to make sure passed GType is likely to really
14628 be a GType (as the compiler won't catch it if the size and
14629 GType arguments get mixed up, see #318447).
14631 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
14633 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14635 * gst/gstbin.c: (gst_bin_iterate_sorted):
14636 Pass GType and size arguments to gst_iterator_new() in the right
14637 order (maybe we should make _new() take the GType as first argument
14638 just like _new_list()?) (#318447).
14641 2005-10-10 Wim Taymans <wim@fluendo.com>
14643 * gst/gstelement.c: (gst_element_finalize):
14644 And free the GStaticRecMutex too
14646 2005-10-10 Andy Wingo <wingo@pobox.com>
14648 * gst/gstelement.c (gst_element_init, gst_element_finalize):
14649 Allocate and free the mutex properly.
14651 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14653 (GstElement): The state_lock is now recursive. Rebuild your
14654 plugins, suckers. Old macros adapted.
14656 * docs/gst/gstreamer-sections.txt: Doc updates.
14659 * gst/gstutils.c (g_static_rec_cond_timed_wait)
14660 (g_static_rec_cond_wait): Ported from state changes patch, while
14661 we wait on bug #317802 to be solved in a well-distributed GLib.
14663 * gst/gstelement.c (gst_element_change_state_func): Renamed from
14664 gst_element_change_state, variable name changes.
14665 (gst_element_change_state): Split out of gst_element_set_state in
14666 preparation for the state change merge. Doesn't pay attention to
14667 the 'transition' argument.
14668 (gst_element_set_state): Updates, hopefully purely cosmetic.
14669 (gst_element_sync_state_with_parent): MT-safety. Ported from the
14670 state change patch.
14671 (gst_element_get_state_func): Renamed from get_state, cosmetic
14674 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14676 * gst/elements/gstelements.c:
14677 * win32/GStreamer.vcproj:
14679 * win32/dirent.c: (_tseekdir):
14680 * win32/gst-inspect.vcproj:
14681 * win32/gst-launch.vcproj:
14682 * win32/gstconfig.h:
14683 * win32/gstelements.vcproj:
14684 * win32/gstenumtypes.c: (gst_object_flags_get_type):
14685 * win32/gstreamer.def:
14686 * win32/msvc71.sln:
14687 updates for the win32 build (patch from Sebastien Moutte)
14689 2005-10-10 Andy Wingo <wingo@pobox.com>
14691 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14692 gst_bin_get_state, cleaned up (but no logic changes).
14693 (bin_element_is_sink): Comment updates.
14694 (sink_iterator_filter): Remove needless cast.
14695 (gst_bin_iterate_sinks): Doc update.
14696 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14697 cleaned up (but no logic changes).
14699 * check/states/sinks.c (test_src_sink): Cleanups from the state
14701 (test_livesrc_sink): Sync on the state.
14703 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14704 the state change patch.
14706 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14709 * check/gst/gstbin.c: Merge in some style fixes and additional
14710 checks from Wim's state change patch.
14712 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14714 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14715 (gst_type_find_helper):
14716 Check whether we have the requested data already in our list of
14717 cached buffers before pulling a new buffer; also make the buffer
14718 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14720 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14725 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14726 don't use long long, it's not portable. Replacing with
14727 gint64 seems to work; let's hope no skeletons fall out of the closet.
14729 2005-10-10 Andy Wingo <wingo@pobox.com>
14731 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14733 2005-10-09 Stefan Kost <ensonic@users.sf.net>
14735 * docs/gst/gstreamer-sections.txt:
14740 * gst/gstmessage.c: (gst_message_parse_state_changed):
14743 more docs, fix compilation
14745 2005-10-09 Philippe Khalaf <burger@speedy.org>
14746 * gst/gstmessage.c:
14747 Fixed a few forgotten variables on previous commit
14749 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
14751 * gst/base/gsttypefindhelper.c: (helper_find_peek):
14752 Fix evil typefind crasher: getrange() might return a short
14753 buffer at the end of a file, but gst_type_find_peek() must
14754 either return the full data as requested or NULL, but
14755 never a short buffer.
14757 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
14759 * gst/gstmessage.c: (gst_message_new_state_changed),
14760 (gst_message_parse_state_changed):
14761 * gst/gstmessage.h:
14762 don't use "new", it's a C++ keyword
14764 2005-10-08 Wim Taymans <wim@fluendo.com>
14766 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14767 * gst/gstelement.c: (gst_element_post_message):
14768 * gst/gstpipeline.c: (gst_pipeline_change_state):
14769 Small docs and debug updates.
14771 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14773 * docs/gst/gstreamer-sections.txt:
14774 * gst/gstelementfactory.c:
14776 * gst/gsttaglist.c:
14779 2005-10-08 Wim Taymans <wim@fluendo.com>
14781 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14782 (gst_bin_dispose), (bin_bus_handler):
14783 Fix typos, add comments.
14784 Clear EOS list when going to PAUSED from any direction and do it
14785 in a threadsafe way.
14786 Get base time in a threadsafe way too.
14787 Fix confusing debug in the change_state function.
14788 Various other small cleanups.
14790 * gst/gstelement.c: (gst_element_post_message):
14791 Fix very verbose bus posting code.
14793 * gst/gstpipeline.c: (gst_pipeline_class_init),
14794 (gst_pipeline_set_property), (gst_pipeline_get_property),
14795 (gst_pipeline_change_state):
14796 Small ARG_ -> PROP_ cleanup
14798 2005-10-08 Wim Taymans <wim@fluendo.com>
14800 * gst/gstbin.c: (is_eos), (bin_bus_handler):
14801 Do a less CPU demanding EOS check because we can.
14803 2005-10-08 Wim Taymans <wim@fluendo.com>
14805 * libs/gst/dataprotocol/dataprotocol.c:
14806 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14807 (gst_dp_packet_from_event):
14808 * libs/gst/dataprotocol/dataprotocol.h:
14809 * libs/gst/dataprotocol/dp-private.h:
14810 It's about time we bump the version number.
14811 Since event types don't fit in the guint8 anymore describing
14812 the payload type, make payload type 16 bits wide.
14814 2005-10-08 Wim Taymans <wim@fluendo.com>
14816 * docs/design/part-TODO.txt:
14817 * docs/design/part-clocks.txt:
14818 * docs/design/part-events.txt:
14819 * docs/design/part-gstbin.txt:
14820 * docs/design/part-gstelement.txt:
14821 * docs/design/part-gstpipeline.txt:
14822 * docs/design/part-live-source.txt:
14823 * docs/design/part-messages.txt:
14824 * docs/design/part-overview.txt:
14825 * docs/design/part-states.txt:
14828 2005-10-08 Wim Taymans <wim@fluendo.com>
14832 Fix event quark registration.
14833 Add some space between events so we can insert them in the
14836 2005-10-08 Wim Taymans <wim@fluendo.com>
14838 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14839 (gst_base_sink_handle_buffer):
14840 Better log message.
14843 * gst/gstelement.h:
14846 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14847 (gst_queue_set_property), (gst_queue_get_property):
14849 Remove old unused properties.
14851 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14852 * docs/gst/gstreamer-sections.txt:
14853 * gst/gstmessage.c:
14854 * gst/gstmessage.h:
14855 * gst/gstminiobject.c:
14856 * gst/gstminiobject.h:
14860 lots of new docs and doc fixes
14862 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14864 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14866 * gst/gstregistry.c: (gst_registry_lookup_locked),
14867 (gst_registry_scan_path_level):
14868 * gst/gstregistryxml.c: (load_plugin):
14869 Only ever load one plugin for a given plugin basename.
14870 This ensures correct overriding of GST_PLUGIN_PATH over
14871 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14872 system installed plugins.
14874 2005-10-08 Wim Taymans <wim@fluendo.com>
14876 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14877 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14878 Prepare for doing QOS.
14880 2005-10-08 Wim Taymans <wim@fluendo.com>
14882 * check/gst/gstbin.c: (GST_START_TEST):
14883 * check/pipelines/cleanup.c: (GST_START_TEST):
14884 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14885 Allow new clock message too.
14887 2005-10-08 Wim Taymans <wim@fluendo.com>
14889 * gst/gstmessage.c: (gst_message_new_error),
14890 (gst_message_new_warning), (gst_message_new_tag),
14891 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14892 (gst_message_new_clock_lost), (gst_message_new_new_clock),
14893 (gst_message_new_segment_start), (gst_message_new_segment_done),
14894 (gst_message_parse_state_changed),
14895 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14896 (gst_message_parse_new_clock):
14897 * gst/gstmessage.h:
14898 Also carry the clock in question.
14900 2005-10-08 Wim Taymans <wim@fluendo.com>
14902 * gst/gstmessage.c: (gst_message_new_custom),
14903 (gst_message_new_eos), (gst_message_new_error),
14904 (gst_message_new_warning), (gst_message_new_tag),
14905 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14906 (gst_message_new_new_clock), (gst_message_new_segment_start),
14907 (gst_message_new_segment_done), (gst_message_parse_state_changed),
14908 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14909 * gst/gstmessage.h:
14911 Added clock related messages.
14913 * gst/gstpipeline.c: (gst_pipeline_change_state):
14914 Post message when the clock changed.
14916 * tools/gst-launch.c: (event_loop):
14919 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
14921 * tools/gst-inspect.c: (print_element_properties_info):
14922 Can't pass NULL strings to g_print() on windows.
14924 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14926 * docs/Makefile.am:
14927 * docs/gst/Makefile.am:
14928 * docs/gst/gstreamer-docs.sgml:
14929 * docs/gst/running.xml:
14930 * docs/version.entities.in:
14931 add a chapter on running GStreamer.
14932 document GST_DEBUG and GST_PLUGIN* env vars
14934 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14939 remove PLUGINS_BUILDDIR stuff
14940 * gst/gst.c: (init_post):
14941 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14943 remove, it was condescending and not needed
14945 2005-10-08 Wim Taymans <wim@fluendo.com>
14947 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14948 (gst_base_sink_handle_object), (gst_base_sink_event),
14949 (gst_base_sink_wait), (gst_base_sink_handle_event),
14950 (gst_base_sink_change_state):
14951 * gst/base/gstbasesink.h:
14952 Repost EOS message while going to PLAYING if still EOS.
14953 Make sure that when receiving a FLUSH_START we don't attempt
14954 to sync on the clock anymore.
14956 2005-10-08 Wim Taymans <wim@fluendo.com>
14958 * tools/gst-launch.c: (event_loop):
14959 Better message printout.
14961 2005-10-08 Wim Taymans <wim@fluendo.com>
14963 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14964 (gst_bin_child_proxy_get_children_count):
14965 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14966 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14967 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14968 (gst_child_proxy_set_valist):
14969 * gst/parse/grammar.y:
14970 Make ChildProxy threadsafe and fix mem leaks.
14972 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14974 * gst/gst.c: (init_post):
14975 debug the GST_PLUGIN_ env vars
14977 2005-10-08 Wim Taymans <wim@fluendo.com>
14979 * check/gst/gstbin.c: (GST_START_TEST):
14980 * check/gst/gstmessage.c: (GST_START_TEST):
14981 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14982 * gst/gstelement.c: (gst_element_commit_state),
14983 (gst_element_lost_state):
14984 * gst/gstmessage.c: (gst_message_new_state_changed),
14985 (gst_message_parse_state_changed):
14986 * gst/gstmessage.h:
14987 * tools/gst-launch.c: (event_loop):
14988 Added extra field to STATE_CHANGE message with the pending
14989 state, which will be different from the new state soon.
14991 2005-10-08 Wim Taymans <wim@fluendo.com>
14993 * gst/gstbus.c: (gst_bus_pop):
14995 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14996 Small cleanups and doc updates.
14998 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
15000 * gst/gst.c: (init_pre):
15001 * gst/gstbin.c: (gst_bin_add_func):
15002 log distributing clocks and base time
15003 * gst/gstregistry.c: (gst_registry_add_plugin),
15004 (gst_registry_scan_path_level), (gst_registry_scan_path):
15005 clean up the debugging output a little
15006 * gst/gstutils.c: (gst_element_state_get_name):
15007 warn about a memleak (I've actually seen this be used, though
15008 it was probably a bug)
15010 2005-10-07 Wim Taymans <wim@fluendo.com>
15012 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15013 (gst_base_src_init), (gst_base_src_default_newsegment),
15014 (gst_base_src_newsegment), (gst_base_src_do_seek),
15015 (gst_base_src_loop), (gst_base_src_start):
15016 * gst/base/gstbasesrc.h:
15017 Make the newsegment event customizable by subclasses.
15019 2005-10-07 Wim Taymans <wim@fluendo.com>
15021 * gst/gstevent.c: (gst_event_new_buffersize),
15022 (gst_event_parse_buffersize):
15024 New event for future idea.
15026 2005-10-07 Andy Wingo <wingo@pobox.com>
15028 * gst/gstelement.c (gst_element_post_message): Doc update.
15030 * docs/gst/gstreamer-sections.txt: Update.
15032 * gst/gstmessage.c (gst_message_new_application): Made into a
15033 function like honest API calls.
15034 (gst_message_new_element): New message type.
15036 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
15038 * check/elements/fakesrc.c (test_no_preroll): New check, checks
15039 that setting a live fakesrc to PAUSED returns NO_PREROLL both
15042 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
15043 NO_PREROLL from gst_element_change_state to fall through.
15045 2005-10-07 Wim Taymans <wim@fluendo.com>
15047 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
15048 (gst_ghost_pad_do_activate_push):
15049 Activating a ghostpad with no internal pad in push mode
15052 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
15055 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
15056 Fixes compilation on Windows.
15058 2005-10-07 Michael Smith <msmith@fluendo.com>
15060 * tools/gst-inspect.c:
15061 Print out feature and plugin count at the end when printing out
15064 2005-10-04 Michael Smith <msmith@fluendo.com>
15066 * gst/gsterror.c: (_gst_stream_errors_init):
15067 Add another error string used in a few existing plugins.
15070 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15071 * tools/gst-inspect.c: (print_element_info):
15072 When a feature disappears from a plugin (and the feature exists in
15073 the cached registry file), things went horribly wrong. This isn't a
15074 complete fix, we should actually be removing the 'missing' features
15075 from the features list when we load the actual plugin. That's not
15078 2005-10-04 Johan Dahlin <johan@gnome.org>
15080 * check/gst/gstiterator.c: (GST_START_TEST):
15081 * gst/gstbin.c: (gst_bin_iterate_elements),
15082 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
15083 * gst/gstelement.c: (gst_element_iterate_pads):
15084 * gst/gstformat.c: (gst_format_iterate_definitions):
15085 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
15086 (gst_iterator_new_list), (gst_iterator_filter):
15087 * gst/gstiterator.h:
15088 * gst/gstquery.c: (gst_query_type_iterate_definitions):
15089 Add a GType to GstIterator, update callsites and tests.
15091 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15093 * gst/gstpad.c: (gst_pad_event_default_dispatch):
15094 give events a chance to be handled by event probes when the pad
15097 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15099 * gst/gstevent.c: (gst_event_type_get_name),
15100 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
15102 add string representations for event types
15104 2005-10-06 Wim Taymans <wim@fluendo.com>
15106 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
15107 Don't use NULL pointers.
15109 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15111 * gst/gst_private.h:
15113 * gst/gstelement.c:
15115 * gst/gstpluginfeature.c:
15116 widen the debug category in output to fit the biggest one we have
15117 add a bus category and use it
15118 play with the colors
15119 fix up some categories
15121 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15123 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
15124 add push activation of sink ghost pads.
15125 Andye, please verify
15127 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
15129 * gst/gstutils.c: (gst_element_link_pads):
15130 fix a bug in the case where neither element has a pad
15131 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15132 add a test for that case
15134 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
15136 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
15137 emit have-data before checking for peers. This allows
15138 for probe handlers to connect elements. This helps autopluggers.
15139 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
15141 add six checks, linked/unlinked with no/true/false probe
15143 2005-10-04 Wim Taymans <wim@fluendo.com>
15145 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
15146 (gst_fake_sink_event), (gst_fake_sink_preroll),
15147 (gst_fake_sink_render), (gst_fake_sink_change_state):
15148 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
15149 (gst_fake_src_get_property), (gst_fake_src_create),
15150 (gst_fake_src_stop):
15151 * gst/elements/gstidentity.c: (gst_identity_stop):
15152 Protect last_message with lock.
15154 2005-10-04 Edward Hervey <edward@fluendo.com>
15157 Added precision in the comments for GST_FORMAT_DEFAULT
15159 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
15161 * tools/gst-launch.c: (main):
15162 Don't try to run erroneous pipelines.
15164 2005-10-04 Julien MOUTTE <julien@moutte.net>
15166 * gst/gstbus.c: We don't need this header.
15168 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
15171 back to development
15173 === release 0.9.3 ===
15175 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
15179 Releasing 0.9.3, "Unregistered"
15181 2005-10-03 Andy Wingo <wingo@pobox.com>
15183 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
15184 whereby calling a pad's activatepush() function can start a thread
15185 that starts to push or pull before the pad gets the FLUSHING flag
15186 unset. Hack around it by holding the stream lock until the flag is
15187 set. Need to replace this with a proper solution. Together with
15188 the ghost pad fixes, this fixes mp3 playing/tagreading.
15190 * docs/design/part-gstghostpad.txt: Add a note about activation of
15191 proxy pads outside of ghost pads.
15193 * gst/gstghostpad.c: Implement the ghost pad activation design.
15195 2005-10-02 Andy Wingo <wingo@pobox.com>
15197 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
15198 It is volatile, after all.
15200 * docs/design/part-gstghostpad.txt: Flesh out activation with
15203 * gst/base/gstbasesrc.c (gst_base_src_init): Use
15206 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
15209 Fix (unused) AM_CONDITIONAL tests.
15211 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
15213 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15215 * gst/gstutils.c: (gst_pad_query_convert):
15216 Add assertion that makes sure src_val is >=0, just like
15217 gst_query_new_convert() has. (#315895)
15219 2005-09-30 Edward Hervey <edward@fluendo.com>
15221 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
15222 Let's not iterate pads we're not interested in, it avoids getting
15223 sky-high refcounts on sinkpad.
15225 2005-09-30 Wim Taymans <wim@fluendo.com>
15227 * gst/gstelement.c: (gst_element_set_state),
15228 (gst_element_change_state):
15229 Small tweak, element in ASYNC remains ASYNC.
15231 2005-09-30 Wim Taymans <wim@fluendo.com>
15233 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15234 Only error is an error.
15236 * gst/gstbin.c: (gst_bin_change_state):
15239 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
15240 Also call pad_block in pad alloc.
15242 * gst/gstutils.c: (gst_flow_get_name):
15245 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15247 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15248 (gst_base_src_get_range):
15249 Fix documentation typos. Add some more debug info.
15251 2005-09-29 David Schleef <ds@schleef.org>
15253 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
15254 more end-user friendly.
15255 * tools/gst-inspect.c: (main): Check if command-line argument is
15256 a file and attempt to load that file as a plugin.
15258 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15260 * check/gst/gstbin.c:
15261 * check/states/sinks.c:
15262 fix tests for the new warning
15263 * check/gst/gstpipeline.c:
15264 add a test for pipeline and bus interaction
15265 * gst/gstelement.c:
15266 elements should be NULL if they get disposed; add a warning if not
15268 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15271 for 2.6 refcounting, make debug log more correct by printing
15272 the actual refcounts at the time of swap (Wim)
15274 2005-09-29 Andy Wingo <wingo@pobox.com>
15276 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
15277 removes signal watches previously added via
15278 gst_bus_add_signal_watch.
15279 (gst_bus_add_signal_watch): Don't return the source id, just store
15280 it on the bus if there wasn't an id already.
15282 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
15283 add_signal_watch and remove_signal_watch.
15285 2005-09-29 Edward Hervey <edward@fluendo.com>
15287 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
15288 Better if we actually iterate the list :)
15290 2005-09-29 Wim Taymans <wim@fluendo.com>
15292 * check/gst/gstbin.c: (GST_START_TEST):
15293 Change for new bus API.
15295 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15296 (send_messages), (GST_START_TEST), (gstbus_suite):
15297 Change for new bus signal API.
15299 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
15300 (gst_bus_source_prepare), (gst_bus_source_check),
15301 (gst_bus_create_watch), (gst_bus_add_watch_full),
15302 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
15303 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
15305 Remove support for multiple GSources operating on different
15306 message types as it is too complex and unneeded when using
15308 Added support for receiving signals from the bus.
15310 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15312 * docs/libs/tmpl/gstdataprotocol.sgml:
15313 * docs/manual/advanced-dataaccess.xml:
15314 * gst/elements/gstcapsfilter.c:
15316 rename filter-caps to caps property
15318 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15320 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15321 More robust fraction string parsing.
15323 * docs/pwg/appendix-porting.xml:
15324 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
15326 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15328 * gst/gstcaps.c: (gst_caps_do_simplify):
15329 Thou shalt not free a structure and then continue using it
15330 in the next loop iteration.
15332 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
15334 Add test case for caps simplification.
15336 2005-09-29 Wim Taymans <wim@fluendo.com>
15338 * check/gst/gstbin.c: (GST_START_TEST):
15341 2005-09-29 Wim Taymans <wim@fluendo.com>
15343 * check/gst/gstbin.c: (GST_START_TEST):
15346 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15347 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15348 (find_element), (gst_bin_sort_iterator_next),
15349 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15350 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15351 (gst_bin_change_state), (gst_bin_dispose):
15352 A bin does not have a bus, it gets the bus from the parent.
15354 * gst/gstelement.c: (gst_element_requires_clock),
15355 (gst_element_provides_clock), (gst_element_is_indexable),
15356 (gst_element_is_locked_state), (gst_element_change_state),
15357 (gst_element_set_bus_func):
15360 * gst/gstpipeline.c: (gst_pipeline_class_init),
15361 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15362 The pipeline provides a bus.
15364 2005-09-28 Johan Dahlin <johan@gnome.org>
15366 * gst/gstmessage.c (gst_message_parse_state_changed): Use
15367 gst_structure_get_enum instead of gst_structure_get_int
15369 * gst/gststructure.c (gst_structure_get_enum): Impl.
15371 * gst/gststructure.h (gst_structure_get_enum): Add
15373 * docs/gst/gstreamer-sections.txt: Ditto
15375 * gst/gstmessage.c (gst_message_new_state_changed): Use
15376 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15377 which does introspection.
15378 Reviewed by Christian Schaller
15380 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15382 * gst/gstinfo.c: (gst_debug_log_default):
15383 don't do dummy g_strdup()s
15384 * libs/gst/controller/gstcontroller.c:
15385 (on_object_controlled_property_changed),
15386 (gst_controlled_property_new), (gst_controller_new_valist),
15387 (gst_controller_new_list),
15388 (gst_controller_remove_properties_valist), (gst_controller_set),
15389 (gst_controller_get), (gst_controller_sync_values),
15390 (gst_controller_get_value_array), (_gst_controller_class_init),
15391 (gst_controller_get_type):
15392 * libs/gst/controller/gstcontroller.h:
15393 * libs/gst/controller/gstinterpolation.c:
15394 (gst_controlled_property_find_timed_value_node):
15395 convert // to /**/ comments
15397 2005-09-28 Wim Taymans <wim@fluendo.com>
15399 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15400 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15401 (gst_bus_sync_signal_handler):
15403 Added async-message and sync-message signals to the bus.
15404 Added helper BusFunc to emit signals for all posted messages.
15406 * gst/gstmessage.c: (gst_message_type_get_name),
15407 (gst_message_type_to_quark), (gst_message_get_type):
15408 * gst/gstmessage.h:
15409 Register quarks for message names.
15411 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15413 * docs/libs/gstreamer-libs-sections.txt:
15414 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15415 (gst_controller_new_list):
15416 * libs/gst/controller/gstcontroller.h:
15417 added another constructor for language bindings
15419 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
15421 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15425 * gst/gstinfo.c: (_gst_debug_init):
15426 slightly more readable color for refcount debugging
15428 2005-09-28 Wim Taymans <wim@fluendo.com>
15430 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15431 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15432 (find_element), (gst_bin_sort_iterator_next),
15433 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15434 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15435 (gst_bin_change_state), (gst_bin_dispose):
15436 Small doc fixes. get_clock -> provide_clock.
15438 * gst/gstelement.c: (gst_element_class_init),
15439 (gst_element_provides_clock), (gst_element_provide_clock),
15440 (gst_element_get_clock), (gst_element_commit_state),
15441 (gst_element_lost_state):
15442 * gst/gstelement.h:
15443 Make get/set_clock() symetric. Add provide_clock vmethod since
15444 that is actually what this function does.
15446 * gst/gstpipeline.c: (gst_pipeline_class_init),
15447 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15448 (gst_pipeline_get_clock):
15449 get_clock -> provide_clock.
15451 2005-09-28 Andy Wingo <wingo@pobox.com>
15453 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15454 lieu of real docs...
15456 * gst/elements/gstfdsrc.c: Cleaned up a bit.
15458 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
15460 * gst/elements/gstcapsfilter.c:
15461 * gst/elements/gstfakesink.c:
15462 * gst/elements/gstfakesrc.c:
15463 * gst/elements/gstfdsink.c:
15464 * gst/elements/gstfdsrc.c:
15465 * gst/elements/gstfilesink.c:
15466 * gst/elements/gstfilesrc.c:
15467 * gst/elements/gstidentity.c:
15468 * gst/elements/gsttee.c:
15469 * gst/elements/gsttypefindelement.c:
15470 Make element details static.
15472 2005-09-28 Wim Taymans <wim@fluendo.com>
15474 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15475 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15476 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15477 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15478 (gst_bin_change_state), (gst_bin_dispose):
15479 Some documentation updates.
15480 Clean up dispose handlers.
15482 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15483 * gst/gstpad.c: (gst_pad_dispose):
15484 Clean up dispose handler.
15486 * gst/gstpipeline.c: (gst_pipeline_change_state):
15487 Removed spurious UNLOCK.
15489 2005-09-27 Stefan Kost <ensonic@users.sf.net>
15491 * docs/gst/gstreamer-sections.txt:
15492 * gst/base/gstbasesrc.h:
15493 * gst/gstelement.h:
15497 * gst/gstpipeline.c:
15498 * gst/gstpipeline.h:
15501 added two new functions to the docs
15502 documents all undocumented GstXXXFlags
15503 completed some incomplete docs
15505 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
15507 * gst/gstbin.c: (gst_bin_dispose):
15508 * gst/gstelement.c: (gst_element_dispose):
15509 remove now useless and leaky resurrection code in dispose
15510 * gst/base/gstbasesrc.c: (gst_base_src_init):
15511 * gst/gstelementfactory.c: (gst_element_factory_create):
15512 * gst/gstobject.c: (gst_object_set_parent):
15515 2005-09-27 Wim Taymans <wim@fluendo.com>
15517 * docs/design/part-TODO.txt:
15520 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15521 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15522 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15523 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15524 (gst_bin_change_state):
15525 * gst/gstelement.h:
15526 Remove element variable, we keep element info in the iterator now.
15528 2005-09-27 Andy Wingo <wingo@pobox.com>
15530 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15533 2005-09-27 Wim Taymans <wim@fluendo.com>
15535 * check/gst/gstbin.c: (GST_START_TEST):
15536 Enable check that works now.
15538 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15539 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15540 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15541 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15542 (gst_bin_change_state):
15544 Redid the state change algorithm using a topological sort algo.
15545 Handles all cases correctly.
15546 Exposed iterator for state change order.
15548 * gst/gstelement.h:
15549 Temp storage for state changes. Need to get rid of this soon.
15551 2005-09-27 Wim Taymans <wim@fluendo.com>
15553 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15554 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15555 (link_fold_func), (gst_pad_proxy_setcaps):
15556 Leak fixes, the fold functions need to unref the passed object and
15557 _get_parent_*() returns ref to parent.
15559 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15561 * check/gst/gstbuffer.c: (test_make_writable):
15562 Plug leak in test case and fix 'make check-valgrind'
15564 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15566 * gst/gstbuffer.c: (gst_subbuffer_init):
15567 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15568 works correctly in all circumstances (we could have just copied
15569 the parent buffer's readonly flag, but conceptually it seems
15570 cleaner to mark all subbuffers as read-only). (based on patch
15571 by Alessandro Decina, #314710).
15573 * check/gst/gstbuffer.c: (create_read_only_buffer),
15574 (test_make_writable), (test_subbuffer_make_writable),
15576 Add some tests for gst_buffer_make_writable().
15578 2005-09-27 Wim Taymans <wim@fluendo.com>
15580 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15581 use gst_object_has_ancestor().
15583 * gst/gstobject.c: (gst_object_has_ancestor):
15585 gst_object_has_ancestor() copied from gstbin.c as it is a
15588 * tests/instantiate/create.c: (create_all_elements):
15589 * tests/lat.c: (handoff_src), (handoff_sink):
15590 * tests/sched/runxml.c: (main):
15591 * tests/seeking/seeking1.c: (main):
15592 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15594 Fix compilation of some tests.
15596 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15599 Remove comment. GST_TYPE_G_ERROR is here to stay,
15600 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15601 (#316961, #300610).
15603 2005-09-26 Wim Taymans <wim@fluendo.com>
15605 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15606 Added check that shows error in state change order.
15608 2005-09-26 Wim Taymans <wim@fluendo.com>
15610 * gst/gstbin.c: (gst_bin_change_state):
15611 Make state change function use 3 queues again, we were
15612 adding elements in the wrong order.
15614 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15617 * gst/gstpad.c: (gst_pad_dispose):
15618 Added some debug info first.
15620 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
15622 * docs/design/draft-push-pull.txt:
15623 * docs/design/part-events.txt:
15624 * docs/design/part-overview.txt:
15625 * docs/design/part-scheduling.txt:
15626 Replace all _pull_region() with _pull_range()
15628 2005-09-26 Andy Wingo <wingo@pobox.com>
15630 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15632 * check/gst-libs/controller.c: Update for controller api change.
15635 * tests/Makefile.am:
15636 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15637 over by GLib bug 118439.
15639 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15640 routines to a function.
15642 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15644 * libs/gst/controller/gsthelper.c:
15645 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15646 (gst_object_sync_values): Renamed from sink_values. Ugh.
15648 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15650 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15651 Renamed from controller_key, as it is exported.
15653 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15655 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
15660 * gst/gstpadtemplate.h:
15663 * gst/gstqueryutils.c:
15664 * gst/gstqueryutils.h:
15665 remove queryutils headers after moving the two used functions
15666 to gstquery. also fixes build problem for gstsiddec
15668 2005-09-26 Michael Smith <msmith@fluendo.com>
15670 * tools/gst-launch.1.in:
15671 Correct documentation in manpage of debug syntax
15673 2005-09-26 Wim Taymans <wim@fluendo.com>
15675 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15676 (gst_base_src_is_seekable), (gst_base_src_change_state):
15677 Some more debugging info.
15679 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15681 * docs/gst/gstreamer-sections.txt:
15682 * gst/base/gstbasetransform.h:
15686 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15688 * docs/gst/.cvsignore:
15689 * docs/gst/tmpl/.cvsignore:
15690 * docs/gst/tmpl/gstpipeline.sgml:
15691 * docs/gst/tmpl/gstplugin.sgml:
15692 * gst/gstpipeline.c:
15695 inlined the last two docs files
15696 removed the tmpl directory from cvs (no more conflicts here!)
15698 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15700 * docs/gst/gstreamer-sections.txt:
15701 * docs/gst/tmpl/.cvsignore:
15702 * docs/gst/tmpl/gstpad.sgml:
15703 * docs/gst/tmpl/gstpadtemplate.sgml:
15705 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15706 (gst_pad_finalize), (gst_pad_set_pad_template):
15708 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15709 (gst_pad_template_class_init), (gst_pad_template_init),
15710 (gst_pad_template_dispose), (name_is_valid),
15711 (gst_static_pad_template_get), (gst_pad_template_new),
15712 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15713 (gst_pad_template_pad_created):
15714 * gst/gstpadtemplate.h:
15715 inlined two more docs
15716 factored gstpadtemplate out of gstpad
15718 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
15720 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15721 (test_children_state_change_order_semi_sink):
15722 Fix test case: we can't rely on a fixed state change order when
15723 going from READY => PAUSED because the sink might commit its
15724 new state first when the first buffer created by the source
15725 reaches the sink before the source has finished its change state.
15726 (Test case still fails at times, see #316856, comment 5 onwards)
15728 2005-09-24 Wim Taymans <wim@fluendo.com>
15730 * docs/design/part-events.txt:
15731 * docs/design/part-gstbus.txt:
15732 * docs/design/part-gstpipeline.txt:
15733 * docs/design/part-messages.txt:
15734 * docs/design/part-overview.txt:
15735 * docs/design/part-segments.txt:
15739 * gst/gstelement.c:
15742 * gst/gstiterator.c:
15743 Various documentation updates.
15745 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
15748 Well, that's embarassing. Luckily we weren't using
15749 GST_CLOCK_DIFF anywhere.
15751 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15753 * common/gtk-doc.mak:
15754 don't fail on building XML, FC4 slave shows a bunch of doc
15755 missing bits that I don't get
15757 * gst/gstpipeline.c:
15758 * gst/gststructure.c:
15761 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15763 * docs/design/part-gstbin.txt:
15764 * docs/design/part-gstbus.txt:
15766 Add blurb about how the bus goes into flushing mode and
15767 drops all messages when its bin goes from READY into NULL
15770 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15772 * docs/gst/gstreamer-sections.txt:
15773 * gst/gststructure.c: (gst_structure_get_clock_time):
15774 * gst/gststructure.h:
15775 add a method to get a GstClockTime out of a structure
15777 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15779 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15780 (test_children_state_change_order_semi_sink), (gst_bin_suite):
15781 Added test to check state change order in bins (can still be made
15782 to fail here under heavy disk load; bails out with 'Push on pad
15783 fakesink:sink0, but it was not activated in push mode').
15785 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15786 Fix state change order when there is only a semi sink (#316856)
15788 * gst/gstbus.c: (gst_bus_class_init):
15789 Use _class_peek_parent(), not _class_ref(); fix docs to say
15790 'default main context' instead of 'mainloop' where that is
15793 * gst/gstelement.c: (gst_element_commit_state),
15794 (gst_element_set_state):
15795 Fix typos in debug messages
15797 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15800 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15801 * gst/gstpluginfeature.c:
15803 various doc updates
15804 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15805 change an assert into an error until it gets fixed properly
15807 2005-09-23 Stefan Kost <ensonic@users.sf.net>
15809 * docs/gst/gstreamer-sections.txt:
15810 * docs/gst/tmpl/.cvsignore:
15811 * docs/gst/tmpl/gstelement.sgml:
15812 * docs/gst/tmpl/gstinfo.sgml:
15813 * docs/gst/tmpl/gstobject.sgml:
15814 * gst/gstelement.c:
15815 * gst/gstelement.h:
15818 * gst/gstobject.c: (gst_object_class_init):
15820 inlined 3 more biiiig doc files and added some missing docs on the fly
15822 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15824 * check/gst/.cvsignore:
15825 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15826 * gst/gstregistryxml.c: (load_plugin),
15827 (gst_registry_xml_save_plugin):
15828 put back source in registry. add checks for find_plugin.
15829 * testsuite/states/bin.c: (assert_state), (empty_bin),
15830 (test_adding_one_element), (main):
15831 * testsuite/states/locked.c: (main):
15832 some compile/run fixes
15834 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
15836 * check/gst/gstvalue.c: (GST_START_TEST):
15837 fix leaks in the test itself
15839 2005-09-22 Wim Taymans <wim@fluendo.com>
15841 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15842 (gst_base_sink_send_event), (gst_base_sink_peer_query),
15843 (gst_base_sink_query):
15844 Prepare for more accurate position reporting and query
15847 * gst/gstelement.c: (gst_element_send_event),
15848 (gst_element_set_state):
15851 2005-09-22 Wim Taymans <wim@fluendo.com>
15853 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15854 (gst_query_parse_segment):
15856 More documentation.
15857 Add segment query for future use.
15859 2005-09-22 Wim Taymans <wim@fluendo.com>
15861 * gst/gstbin.c: (gst_bin_add_func):
15862 Some more debug info.
15864 * gst/gstelement.c: (gst_element_send_event):
15865 Simplify send_event
15867 * gst/gstelement.h:
15868 Don't know how flags got broken.
15873 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15875 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15876 Add simplistic test suite for GST_TYPE_DATE serialisation and
15879 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15881 * docs/gst/gstreamer-sections.txt:
15882 * gst/gststructure.c: (gst_structure_set_valist),
15883 (gst_structure_get_date):
15884 * gst/gststructure.h:
15885 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15886 (gst_date_copy), (gst_value_compare_date),
15887 (gst_value_serialize_date), (gst_value_deserialize_date),
15888 (gst_value_transform_date_string),
15889 (gst_value_transform_string_date), (_gst_value_initialize):
15891 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15892 bunch of utility functions along with a hack that checks that
15893 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15894 is required. Part of the grand scheme in #170777.
15896 2005-09-22 Andy Wingo <wingo@pobox.com>
15898 * gst/gstconfig.h.in: Psych out gtk-doc.
15900 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15902 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15904 * tools/gst-inspect.c (print_element_list): Plug some
15905 inconsequential leaks.
15907 * gst/gstregistry.c (gst_registry_get_default): Doc.
15909 * check/gst/gstplugin.c:
15910 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15911 * gst/gstelementfactory.c (gst_element_factory_create):
15912 * gst/gstindexfactory.c (gst_index_factory_create): Update for
15915 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15916 (gst_plugin_feature_load): Doc, don't eat refs.
15918 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15919 (gst_plugin_list_free): Doc.
15920 (gst_plugin_load_file): Doc updates.
15922 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15923 accessors returning refcounted objects, return a ref.
15925 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15926 accessor for caps. IDEMPOTENCE. Oh yes.
15928 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
15930 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15932 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15933 (_gst_debug_register_funcptr):
15934 Add mutex to serialise access to the hash table with
15935 the function pointer => function name string mapping;
15936 make that hash table static scope (#316809).
15938 * gst/registries/.cvsignore:
15939 Remove left-over file.
15941 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15943 * docs/pwg/appendix-porting.xml:
15944 And something about newsegment events and caps-on-buffers to
15945 the porting guide (feel free to improve).
15947 2005-09-21 Andy Wingo <wingo@pobox.com>
15949 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15950 data and event probes on the same pad.
15951 (test_buffer_probe_once): Test that removing probes from within
15952 the probe functions works.
15954 2005-09-21 Andy Wingo <wingo@pobox.com>
15956 * check/gst/gstutils.c: New file.
15957 (test_buffer_probe_n_times): A simple buffer probe test. More to
15960 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15961 have-data::buffer, not have-data.
15962 (gst_pad_add_event_probe): Likewise for have-data::event.
15963 (gst_pad_add_data_probe): More docs. The part about 'resolving the
15964 peer' isn't quite right yet though.
15965 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
15966 (gst_pad_remove_data_probe): Change to take the guint handler_id
15967 as their arg, not the function+data, which is more glib-like.
15969 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15970 the signal emission to indicate if the data is a buffer or an
15972 (gst_pad_get_type): Initialize buffer and event quarks.
15973 (gst_pad_class_init): have-data is now a detailed signal, yes it
15976 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15978 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15979 * gst/gstutils.c: (gst_util_set_value_from_string),
15980 (gst_util_set_object_arg):
15981 Don't put functional code in g_return_if_fail() or
15982 g_return_val_if_fail() statements, otherwise things will
15983 break when G_DISABLE_CHECKS is defined during compilation.
15985 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15987 * docs/gst/tmpl/.cvsignore:
15988 * docs/gst/tmpl/gstvalue.sgml:
15991 inlied another one and added some obvious docs
15993 2005-09-21 Wim Taymans <wim@fluendo.com>
15995 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15996 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15997 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15998 (gst_fdsrc_get_property), (gst_fdsrc_create):
15999 * gst/elements/gstfdsrc.h:
16000 Properly implement fdsrc. Removed signal and timeout,
16001 better implemented somewhere else.
16003 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16005 * docs/gst/tmpl/.cvsignore:
16006 * docs/gst/tmpl/gstimplementsinterface.sgml:
16007 * gst/gstinterface.c:
16010 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16012 * docs/gst/gstreamer-sections.txt:
16013 * docs/gst/tmpl/.cvsignore:
16014 * docs/gst/tmpl/gstenumtypes.sgml:
16015 remove obsolete doc file
16017 2005-09-21 David Schleef <ds@schleef.org>
16019 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
16020 little beer, fix a little leak.
16022 2005-09-21 Stefan Kost <ensonic@users.sf.net>
16024 * docs/gst/gstreamer-docs.sgml:
16025 * docs/gst/gstreamer-sections.txt:
16026 * docs/gst/tmpl/.cvsignore:
16030 * gst/gstelement.h:
16031 * gst/gstindex.c: (gst_index_class_init):
16033 * gst/gstindexfactory.c: (gst_index_factory_get_type),
16034 (gst_index_factory_class_init), (gst_index_factory_init),
16035 (gst_index_factory_finalize), (gst_index_factory_new),
16036 (gst_index_factory_destroy), (gst_index_factory_find),
16037 (gst_index_factory_create), (gst_index_factory_make):
16038 * gst/gstindexfactory.h:
16039 * gst/gstpluginfeature.c:
16040 * gst/gstpluginfeature.h:
16041 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16042 more docs inlined, splitted gstindex.{c,h}
16044 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16046 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16049 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
16051 * gst/elements/gstfilesink.c: (gst_file_sink_init):
16052 Set sync to FALSE by default.
16054 2005-09-20 Wim Taymans <wim@fluendo.com>
16056 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16057 (gst_base_sink_init):
16058 Make sync property settable from subclass.
16060 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16061 (gst_fake_sink_change_state):
16062 Set sync to FALSE by default.
16064 2005-09-20 Wim Taymans <wim@fluendo.com>
16066 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
16067 * tools/gst-launch.c: (main):
16068 The timeout handler should have lower priority than the source
16069 so we don't timeout before popping a message with 0 timeout.
16070 Dump error messages after failed state change.
16072 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
16074 * tools/gst-inspect.c: (print_element_properties_info):
16077 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16079 * check/gst/gstevent.c:
16080 * gst/elements/gstfakesink.c:
16081 * gst/elements/gstfakesink.h:
16082 remove the sync property from fakesink.
16083 has the side effect of setting sync TRUE
16084 for fakesink, which is a change. Anyone who knows how
16085 to fix this nicely in a GObject-y way, feel free.
16087 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16089 * docs/gst/gstreamer-docs.sgml:
16090 remove probe refsection
16092 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16094 * check/Makefile.am:
16095 disable valgrinding the controller test again
16096 * docs/gst/gstreamer-sections.txt:
16097 update for api-changes
16099 2005-09-20 Wim Taymans <wim@fluendo.com>
16101 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16102 (gst_base_sink_set_property), (gst_base_sink_get_property),
16103 (gst_base_sink_do_sync):
16104 * gst/base/gstbasesink.h:
16105 Added sync property to basesink to disable clock sync.
16107 2005-09-20 Andy Wingo <wingo@pobox.com>
16109 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
16110 eating the caller's refcount.
16112 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
16113 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
16116 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
16117 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
16118 of GLib 2.8 public, so we can know which refcount to check in
16121 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
16122 (gst_object_init): Only set the gst refcount if we're going ahead
16123 with the refcount hack.
16125 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16127 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16128 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16129 more leaks plumbed, added more debug-logging
16133 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16135 * gst/gstmessage.c:
16136 remove include of gstmemchunk.h
16138 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16140 * gst/gstclock.c: (_gst_clock_id_free):
16141 Commit from the Political Party For More Atomic CVS Commits,
16142 so that people don't waste too much of their day fishing
16143 out obvious leaks out of massive commits.
16144 Oh, and fix a pretty damn obvious leak in the memchunk
16147 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16149 * check/Makefile.am:
16150 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16151 plug mem-leak, re-add to valgrindable tests
16153 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16156 unbreak the build for those who have chronic arthritis
16157 and typing "make check" is just too taxing on the hands
16159 2005-09-20 Andy Wingo <wingo@pobox.com>
16161 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
16162 really want it out, you should fix plugins at the same time.
16164 2005-09-19 Stefan Kost <ensonic@users.sf.net>
16167 * docs/gst/gstreamer-sections.txt:
16169 added missing symbols to api docs
16170 disable ref-count hack if we have glib >= 2.8
16172 2005-09-19 David Schleef <ds@schleef.org>
16174 * docs/gst/Makefile.am: Ignore a few more internal headers
16175 * docs/gst/gstreamer-docs.sgml: Remove old sections
16176 * docs/gst/gstreamer-sections.txt: Remove old sections
16177 * docs/gst/tmpl/gstobject.sgml: update
16178 * docs/gst/tmpl/gstplugin.sgml: update
16179 * docs/gst/tmpl/gstpluginfeature.sgml: update
16180 * docs/random/ds/0.9-suggested-changes: update.
16181 * gst/Makefile.am: remove memchunk and trashstack, since they're
16183 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
16184 * gst/gst.h: don't include some headers
16185 * gst/gstchildproxy.c: add gstmarshal.h
16186 * gst/gstclock.c: Don't use memchunks
16187 * gst/gstminiobject.c: Add some docs
16188 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
16189 * gst/gstobject.h: same
16190 * gst/gstplugin.c: include gstmacros.h
16191 * gst/gstplugin.h: don't include gstmacros.h, since it's private
16192 * gst/gstquery.c: don't use memchunks
16193 * gst/gstregistry.c: rename gst_registry_deinit()
16194 * gst/gstregistry.h: same
16196 2005-09-19 David Schleef <ds@schleef.org>
16198 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
16199 * docs/libs/gstreamer-libs-sections.txt:
16200 * docs/libs/tmpl/gstgetbits.sgml:
16201 * docs/libs/tmpl/gstputbits.sgml:
16203 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
16205 * win32/gstenumtypes.c:
16206 * win32/gstenumtypes.h:
16209 2005-09-19 Wim Taymans <wim@fluendo.com>
16211 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
16212 Automatically PAUSE and RESUME a pipeline when a flushing seek
16215 2005-09-19 Andy Wingo <wingo@pobox.com>
16217 * gst/gstregistry.h: Spacing fixen.
16219 2005-09-19 Wim Taymans <wim@fluendo.com>
16221 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
16222 Handle state change failure more correctly.
16224 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16226 * check/Makefile.am:
16227 * check/pipelines/cleanup.c: (run_pipeline):
16228 * check/pipelines/simple_launch_lines.c: (run_pipeline),
16230 enable cleanup again after fixing the leak
16232 some more info on docs
16234 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16236 * check/Makefile.am:
16237 re-enable tests now that leaks are plugged
16239 * check/gst/gstbin.c:
16240 * check/gst/gstpipeline.c:
16241 add some more tests while fixing leaks
16242 * common/check.mak:
16243 make sure binaries are uptodate when valgrinding/gdbing
16245 * gst/gstelementfactory.c:
16246 remove a ref too many, and add a FIXME for when we get
16247 round to disposing of classes
16249 fix the refcounting when loading a plugin from a file and
16250 the code pretends that the pointer is the same even though
16251 of course it can change
16252 * gst/gstpluginfeature.c:
16253 unref plugins marked cached (a bit confusing as a name)
16254 as the docs state should be done
16255 various doc additions to explain refcounting
16256 * gst/gstregistry.c:
16257 * gst/gstregistryxml.c:
16260 2005-09-19 Wim Taymans <wim@fluendo.com>
16262 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16263 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16264 (send_messages), (GST_START_TEST), (gstbus_suite):
16265 * check/gst/gstpipeline.c: (GST_START_TEST):
16266 * check/pipelines/cleanup.c: (run_pipeline):
16267 * check/pipelines/simple_launch_lines.c: (run_pipeline),
16269 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
16270 (gst_bus_source_check), (gst_bus_source_dispatch),
16271 (gst_bus_create_watch), (gst_bus_add_watch_full),
16272 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
16274 * tools/gst-launch.c: (event_loop):
16275 * tools/gst-md5sum.c: (event_loop):
16276 GstBusHandler -> GstBusFunc, return value has the same meaning as
16277 any other GSource (FALSE == remove source).
16278 _add_watch() and _add_watch_full() now take a MessageType mask to
16279 only handle specific types of messages.
16280 _poll() returns the GstMessage instead of the message type to avoid
16282 _have_pending() takes a MessageType mask now too.
16283 Added testsuite for multiple bus watches.
16284 Fix testsuites and applications for new bus API.
16286 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16288 * check/Makefile.am:
16289 mark a bunch of the tests as to fix until we fix them
16291 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16293 * common/check.mak:
16294 use GST_PLUGIN settings for valgrind tests as well, so we're
16295 valgrinding the correct thing
16296 * gst/gst.c: (init_post):
16299 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16301 * gst/gst.c: (init_post), (gst_deinit):
16302 * gst/gstelementfactory.c: (gst_element_factory_class_init),
16303 (gst_element_factory_finalize), (gst_element_factory_cleanup):
16304 * gst/gstindex.c: (gst_index_factory_class_init),
16305 (gst_index_factory_finalize):
16306 * gst/gstobject.c: (gst_object_dispose):
16307 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16308 (gst_plugin_load_file), (gst_plugin_desc_free):
16309 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
16310 (gst_plugin_feature_finalize):
16311 * gst/gstregistry.c: (gst_registry_class_init),
16312 (gst_registry_init), (gst_registry_finalize),
16313 (gst_registry_get_default), (gst_registry_deinit):
16314 * gst/gstregistry.h:
16315 * gst/gstregistryxml.c: (load_feature), (load_plugin):
16316 various cleanups and memleak plugging. make valgrind is happy now.
16318 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16320 * common/check.mak:
16321 add a check-valgrind target
16323 2005-09-18 David Schleef <ds@schleef.org>
16325 * tools/gst-inspect.c: Revert the GOption code.
16327 2005-09-17 David Schleef <ds@schleef.org>
16329 * check/Makefile.am: Fix environment variables.
16330 * check/gst/gstplugin.c: Fix for API changes.
16331 * tools/gst-inspect.c: Fix for API changes.
16332 * tools/gst-xmlinspect.c: Fix for API changes.
16333 * gst/gstelementfactory.c:
16336 * gst/gstpluginfeature.c:
16337 * gst/gstpluginfeature.h:
16338 * gst/gstregistry.c:
16339 * gst/gstregistry.h:
16340 * gst/gstregistryxml.c:
16341 * gst/gsttypefind.c:
16342 * gst/gsttypefindfactory.c:
16343 * gst/indexers/gstfileindex.c:
16344 * gst/indexers/gstmemindex.c:
16345 * gst/schedulers/Makefile.am:
16346 Change registry to keep track of both plugins and features,
16347 removing the feature tracking from plugins themselves.
16349 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
16351 * check/Makefile.am:
16352 * tools/gst-register.1.in:
16353 remove gst-register
16355 2005-09-15 David Schleef <ds@schleef.org>
16357 * check/gst/gstplugin.c:
16358 * gst/gstelementfactory.c:
16360 * gst/gstpluginfeature.c:
16361 * gst/gstregistry.c:
16362 Getting tired of debugging. Disabled all the unreffing of
16363 plugins and features, which fixes the segfaults, but of
16364 course leaks like crazy. At least playbin works.
16366 2005-09-15 David Schleef <ds@schleef.org>
16368 * check/gst/gstplugin.c: (register_check_elements),
16369 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16371 * gst/elements/gsttypefindelement.c: Fix refcounting.
16372 * gst/gsttypefind.c:
16373 * gst/gsttypefindfactory.c:
16374 * gst/gsttypefindfactory.h:
16376 2005-09-15 David Schleef <ds@schleef.org>
16378 * gst/gstindex.c: get refcounting correct.
16379 * gst/gstregistry.c: Handle the case where a feature/plugin is
16382 2005-09-15 David Schleef <ds@schleef.org>
16384 * check/Makefile.am:
16385 * check/gst/gstplugin.c: Add test
16386 * gst/gstplugin.c: Fix problems noticed by testsuite
16388 * gst/gstregistry.c:
16389 * gst/gstregistry.h:
16391 2005-09-15 David Schleef <ds@schleef.org>
16393 * gst/gstplugin.c: Implement semi-decent recounting and locking
16394 in plugins and plugin features.
16396 * gst/gstpluginfeature.c:
16397 * gst/gstpluginfeature.h:
16398 * gst/gstregistry.c:
16400 2005-09-15 Michael Smith <msmith@fluendo.com>
16402 * gst/gstregistry.c: (gst_registry_get_feature_list):
16403 Implement this. Makes oggdemux work; decodebin still broken.
16405 2005-09-14 David Schleef <ds@schleef.org>
16407 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16409 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16410 * gst/check/Makefile.am:
16411 * libs/gst/controller/Makefile.am:
16412 * libs/gst/dataprotocol/Makefile.am:
16414 2005-09-14 David Schleef <ds@schleef.org>
16416 * configure.ac: Remove getbits library. Nothing uses it, and
16417 it should be in something like liboil if someone did want
16419 * libs/gst/Makefile.am:
16420 * libs/gst/getbits/Makefile.am:
16421 * libs/gst/getbits/gbtest.c:
16422 * libs/gst/getbits/getbits.c:
16423 * libs/gst/getbits/getbits.h:
16424 * libs/gst/getbits/gstgetbits_generic.c:
16425 * libs/gst/getbits/gstgetbits_i386.s:
16426 * libs/gst/getbits/gstgetbits_inl.h:
16428 2005-09-14 David Schleef <ds@schleef.org>
16430 * gst/Makefile.am: Dist glib-compat.h
16432 2005-09-14 David Schleef <ds@schleef.org>
16434 * configure.ac: Remove gst/registries, since it's no longer used.
16435 * gst/registries/Makefile.am:
16436 * gst/registries/gstlibxmlregistry.c:
16437 * gst/registries/gstlibxmlregistry.h:
16438 * gst/registries/gstxmlregistry.c:
16439 * gst/registries/gstxmlregistry.h:
16440 * gst/registries/registrytest.c:
16442 2005-09-14 David Schleef <ds@schleef.org>
16444 * gst/glib-compat.h:
16445 * gst/gstregistryxml.c:
16446 Convergence is near. Seriously.
16448 2005-09-14 David Schleef <ds@schleef.org>
16450 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16451 * gst/glib-compat.h:
16452 Attempt #4 to appease the buildbots.
16454 2005-09-14 David Schleef <ds@schleef.org>
16456 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16459 2005-09-14 David Schleef <ds@schleef.org>
16461 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16464 2005-09-14 David Schleef <ds@schleef.org>
16466 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16469 2005-09-14 David Schleef <ds@schleef.org>
16471 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16472 * gst/glib-compat.h: Add some functions that are in newer versions
16473 of glib than we care to require.
16474 * gst/gstregistryxml.c: Use them.
16476 2005-09-14 David Schleef <ds@schleef.org>
16478 * po/POTFILES.in: remove gst-register.c
16480 2005-09-14 David Schleef <ds@schleef.org>
16482 * docs/gst/gstreamer-docs.sgml:
16483 * docs/gst/gstreamer-sections.txt:
16484 * docs/gst/gstreamer.types:
16485 * docs/gst/tmpl/gstelement.sgml:
16486 * docs/gst/tmpl/gstplugin.sgml:
16487 * docs/gst/tmpl/gstpluginfeature.sgml:
16488 Documentation updates for registry changes.
16490 2005-09-14 David Schleef <ds@schleef.org>
16492 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16493 because we don't require glib-2.8.
16495 2005-09-14 David Schleef <ds@schleef.org>
16497 * gst/gstregistryxml.c: Added. Essentially moved out of the
16498 registries directory.
16500 2005-09-14 David Schleef <ds@schleef.org>
16502 * check/Makefile.am:
16503 * check/generic/states.c:
16507 * gst/gst_private.h:
16508 * gst/gstelementfactory.c:
16513 * gst/gstpluginfeature.c:
16514 * gst/gstpluginfeature.h:
16515 * gst/gstregistry.c:
16516 * gst/gstregistry.h:
16517 * gst/gstregistrypool.c: remove
16518 * gst/gstregistrypool.h: remove
16519 * gst/gsttypefind.c:
16520 * gst/gsttypefindfactory.c:
16522 * tools/Makefile.am:
16523 * tools/gst-compprep.c:
16524 * tools/gst-inspect.c:
16525 * tools/gst-register.c: remove
16526 * tools/gst-xmlinspect.c:
16527 Registry rewrite. Changes registry from being a file created
16528 by a tool into a simple cache file created automatically by
16529 libgstreamer. Removed gst-register (because it's no longer
16530 needed). Remove registry pools, because we only have one
16531 registry implementation (XML). Fix up other subsystems as
16534 2005-09-13 Michael Smith <msmith@fluendo.com>
16536 * gst/gstconfig.h.in:
16537 Don't Use windows linking attributes for MinGW. Fixes #316157
16539 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
16541 * gst/gstutils.c: (set_state_async_thread_func),
16542 (gst_element_set_state_async):
16543 Apparently people think it's better if this function doesn't
16544 try to set the state to whatever state was asked for on the first
16545 call to this function for any object. Seriously.
16547 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16549 * check/gst/gstpipeline.c: (GST_START_TEST):
16550 * docs/gst/gstreamer-sections.txt:
16551 * gst/gstutils.c: (set_state_async_thread_func),
16552 (gst_element_set_state_async):
16554 add a "gst_element_set_state_async" method that
16555 sets the state and starts a thread to make sure the state
16556 change completes as best as it can
16558 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16560 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16561 codify design+behaviour in testsuite after discussion
16563 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16565 * docs/gst/tmpl/gstelement.sgml:
16566 * docs/manual/appendix-quotes.xml:
16568 * gst/gstelement.c: (gst_element_set_state):
16571 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
16573 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16574 (gst_base_transform_prepare_output_buf),
16575 (gst_base_transform_handle_buffer):
16576 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16577 (gst_capsfilter_prepare_buf):
16578 Remove the requirement for sub-classes to call the parent
16579 implementation of prepare_output_buffer with a wrapper function.
16581 * gst/gsttaglist.h:
16582 * gst/gsttagsetter.h:
16583 Fix #define wrapper
16585 2005-09-11 Stefan Kost <ensonic@users.sf.net>
16587 * docs/gst/gstreamer-sections.txt:
16590 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16592 * docs/gst/gstreamer-sections.txt:
16593 * docs/gst/tmpl/gstelement.sgml:
16594 * docs/gst/tmpl/gstplugin.sgml:
16595 * gst/gstminiobject.c:
16597 docs now stop throwing warnings
16599 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16601 * docs/gst/gstreamer-sections.txt:
16602 * docs/gst/gstreamer.types:
16603 * docs/gst/tmpl/gstpad.sgml:
16604 * docs/gst/tmpl/gsttypes.sgml:
16605 * gst/base/gstadapter.h:
16606 * gst/base/gstbasesink.h:
16607 * gst/base/gstbasesrc.h:
16613 * gst/gstelement.h:
16615 * gst/gstmessage.h:
16617 * gst/gststructure.c:
16618 * gst/registries/gstlibxmlregistry.h:
16619 various documentation fixes
16621 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16623 * docs/gst/gstreamer-sections.txt:
16624 * docs/gst/tmpl/gstvalue.sgml:
16625 rearrange gstvalue section
16626 * gst/gstutils.c: (gst_element_state_get_name):
16628 * gst/gstvalue.c: (_gst_value_initialize):
16632 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
16634 * check/gst-libs/controller.c:
16635 Header include fix.
16636 * gst/base/gstbasetransform.c:
16637 (gst_base_transform_default_prepare_buf),
16638 (gst_base_transform_handle_buffer):
16639 * gst/base/gstbasetransform.h:
16640 Some more basetransform changes and fixes to enable sub-classes
16641 that modify buffer metadata only.
16642 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16643 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16644 (gst_capsfilter_prepare_buf):
16645 If the output pad has fixed allowed caps and input buffers
16646 don't have any, set the fixed caps on outgoing buffers.
16648 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
16649 * check/elements/identity.c: (GST_START_TEST):
16650 Make the error a little clearer when the test fails because
16651 identity made a copy of the buffer.
16652 * docs/gst/gstreamer-sections.txt:
16653 New symbols in gstbasetransform.h
16654 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16655 (gst_base_transform_init), (gst_base_transform_transform_size),
16656 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16657 (gst_base_transform_default_prepare_buf),
16658 (gst_base_transform_get_unit_size),
16659 (gst_base_transform_buffer_alloc),
16660 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16661 (gst_base_transform_change_state),
16662 (gst_base_transform_set_passthrough),
16663 (gst_base_transform_set_in_place),
16664 (gst_base_transform_is_in_place):
16665 * gst/base/gstbasetransform.h:
16666 Change BaseTransform to separate in_place operate from same_caps
16667 output. in_place implies that the element can perform the transform
16668 on incoming buffers in-place, even if the caps on the output are
16670 Sub-class elements can now implement special buffer allocation
16671 methods for outgoing buffers if they wish to.
16672 Big documentation addition.
16673 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16674 * gst/elements/gstelements.c:
16675 Changes for basetransform modifications.
16676 * gst/elements/Makefile.am:
16677 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16678 Compile fix. Extra debug output.
16680 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16682 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16684 add tests for valid pad naming
16685 * gst/check/gstcheck.c: (gst_check_log_message_func),
16686 (gst_check_log_critical_func):
16688 remove printing of code, it is fragile when the code contains
16689 % and the line number is enough info
16690 * gst/check/gstcheck.h:
16691 * gst/gstpad.c: (gst_pad_template_new):
16694 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16697 say what CHECK flags we use
16698 * docs/libs/gstreamer-libs.types:
16699 * libs/gst/controller/Makefile.am:
16700 * libs/gst/controller/gst-controller.c:
16701 * libs/gst/controller/gst-controller.h:
16702 * libs/gst/controller/gst-helper.c:
16703 * libs/gst/controller/gst-interpolation.c:
16704 * libs/gst/controller/gstcontroller.c:
16705 * libs/gst/controller/gsthelper.c:
16706 * libs/gst/controller/gstinterpolation.c:
16707 * tools/gst-inspect.c: (print_plugin_info):
16708 we don't use dashes in header names
16710 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16712 * check/Makefile.am:
16713 * check/gst/.cvsignore:
16714 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16715 (gst_pipeline_suite), (main):
16716 adding a test for pipelines and state changes
16717 * gst/gstutils.c: (get_state_func):
16719 * gstreamer.spec.in:
16722 2005-09-08 Michael Smith <msmith@fluendo.com>
16724 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16725 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16726 (gst_file_src_is_seekable), (gst_file_src_get_size),
16727 (gst_file_src_start):
16728 * gst/elements/gstfilesrc.h:
16729 Various fixes for unseekable, unmmapable, and non-normal files, so
16730 that fallback to read() rather than mmap() works.
16731 * gst/gstevent.c: (gst_event_new_newsegment):
16732 Allow newsegment events with segment_start == segment_end, as will
16733 correctly happen if you use filesrc on a zero-size file, for
16736 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16738 * gst/gstplugin.c: (gst_plugin_load_file):
16739 Call g_module_close when we don't load the module
16741 * gst/registries/gstlibxmlregistry.c:
16742 (gst_xml_registry_get_property):
16743 Port leak fix from 0.8
16745 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16747 * docs/gst/gstreamer-docs.sgml:
16748 * docs/gst/tmpl/.cvsignore:
16749 * docs/gst/tmpl/gsttrace.sgml:
16750 * docs/gst/tmpl/gsttrashstack.sgml:
16753 * gst/gstelement.h:
16755 * gst/gstmessage.c:
16756 * gst/gstmessage.h:
16759 * gst/gsttaginterface.c:
16760 * gst/gsttaginterface.h:
16761 * gst/gsttaglist.c:
16762 * gst/gsttaglist.h:
16763 * gst/gsttagsetter.c:
16764 * gst/gsttagsetter.h:
16767 * gst/gsttrashstack.c:
16768 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16769 inlined docs for gsttrace, gsttrashstack
16771 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16774 * gst/elements/gstbufferstore.h:
16775 * gst/elements/gsttypefindelement.c:
16776 * gst/elements/gsttypefindelement.h:
16778 * gst/gsttypefind.c:
16779 * gst/gsttypefind.h:
16780 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16781 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16782 (gst_type_find_factory_dispose),
16783 (gst_type_find_factory_unload_thyself),
16784 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16785 (gst_type_find_factory_get_caps),
16786 (gst_type_find_factory_get_extensions),
16787 (gst_type_find_factory_call_function):
16788 * gst/gsttypefindfactory.h:
16789 * gst/registries/gstlibxmlregistry.c:
16790 * gst/registries/gstxmlregistry.c:
16791 splitted gsttypefind into gsttypefind, gsttypefindfactory
16793 2005-09-07 Andy Wingo <wingo@pobox.com>
16795 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16796 condition whereby the pad's task function is entered before the
16797 pad_mode variable was set.
16799 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16801 * gst/gstpad.c: (gst_pad_alloc_buffer):
16802 Catch misbehaving pad_alloc functions that don't
16803 set up caps and do it for them.
16805 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16807 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16808 test for pipe!=NULL
16809 * docs/gst/tmpl/.cvsignore:
16810 * docs/gst/tmpl/gstmemchunk.sgml:
16811 * docs/gst/tmpl/gstparse.sgml:
16812 * docs/gst/tmpl/gsttaglist.sgml:
16813 * docs/gst/tmpl/gsttagsetter.sgml:
16814 * docs/gst/tmpl/gsttypefind.sgml:
16815 * docs/gst/tmpl/gsttypefindfactory.sgml:
16816 * gst/gstmemchunk.c:
16819 * gst/gsttaginterface.c:
16820 * gst/gsttypefind.c:
16821 * gst/gsttypefind.h:
16824 === release 0.9.2 ===
16826 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
16831 releasing 0.9.2, "South"
16833 2005-09-05 Andy Wingo <wingo@pobox.com>
16835 * gst/registries/gstxmlregistry.h:
16836 * gst/registries/gstxmlregistry.c: Um... resurrect...
16838 * gst/registries/gstxmlregistry.h:
16839 * gst/registries/gstxmlregistry.c: and update to newer API.
16840 Incidentally they should be a bit faster now that they don't have
16843 2005-09-05 Andy Wingo <wingo@pobox.com>
16845 * gst/registries/gstxmlregistry.h:
16846 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16847 replaced by the libxml registry a while back
16849 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16851 * docs/gst/tmpl/gstplugin.sgml:
16852 * gst/elements/gstelements.c:
16854 * gst/gstplugin.c: (gst_plugin_register_func),
16855 (gst_plugin_desc_copy), (gst_plugin_desc_free),
16856 (gst_plugin_get_source):
16858 * gst/registries/gstlibxmlregistry.c: (load_plugin),
16859 (gst_xml_registry_save_plugin):
16860 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16861 (gst_xml_registry_save_plugin):
16862 * tools/gst-inspect.c: (print_plugin_info):
16863 add a "source" plugin description field, to represent the source
16864 module this plugin is a part of. By default GST_PLUGIN_DEFINE
16865 will set it to PACKAGE, which is automake's idea of the name of
16866 the source project.
16868 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16873 * docs/Makefile.am:
16874 * docs/faq/Makefile.am:
16875 * docs/gst/tmpl/gstelement.sgml:
16876 * docs/gst/tmpl/gsttypes.sgml:
16877 * docs/htmlinstall.mak:
16878 * docs/manual/Makefile.am:
16879 * docs/pwg/Makefile.am:
16880 reorganize doc build a little
16881 split out docbook and gtk-doc stuff
16882 have two separate --enable's and enable them through autogen
16883 but disable by default in configure (to be similar to other
16885 * gstreamer.spec.in:
16886 clean up docs install
16904 translation updates
16906 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
16908 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16911 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16912 (gst_fake_sink_change_state):
16913 Make state change function thread-safe.
16915 * gst/gstpad.c: (gst_pad_alloc_buffer):
16916 Set offset on generic buffer allocated by fallback.
16918 2005-09-03 Stefan Kost <ensonic@users.sf.net>
16920 * docs/gst/gstreamer-sections.txt:
16921 * docs/gst/tmpl/gstelement.sgml:
16923 * libs/gst/controller/gst-controller.c:
16924 (gst_controlled_property_set_interpolation_mode),
16925 (gst_controlled_property_new),
16926 (gst_controller_find_controlled_property):
16927 run the wingo-magic script against the docs
16929 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16931 * docs/gst/gstreamer-docs.sgml:
16932 * docs/gst/gstreamer-sections.txt:
16933 * docs/gst/tmpl/.cvsignore:
16934 * docs/gst/tmpl/gstelementdetails.sgml:
16935 * docs/gst/tmpl/gstelementfactory.sgml:
16938 * gst/gstelementfactory.c:
16939 * gst/gstelementfactory.h:
16940 merged elementdetails docs into elementfactory docs
16943 2005-09-02 Andy Wingo <wingo@pobox.com>
16945 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16946 consider this enum an enum and not a flags.
16948 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16950 * docs/gst/gstreamer-docs.sgml:
16951 * docs/gst/tmpl/.cvsignore:
16952 * docs/gst/tmpl/gstghostpad.sgml:
16953 * docs/gst/tmpl/gstiterator.sgml:
16954 * docs/gst/tmpl/gstmacros.sgml:
16955 * docs/gst/tmpl/gstrealpad.sgml:
16956 * docs/gst/tmpl/gstregistry.sgml:
16957 * docs/gst/tmpl/gstregistrypool.sgml:
16958 * docs/gst/tmpl/gststructure.sgml:
16959 * docs/gst/tmpl/gstsystemclock.sgml:
16960 * docs/gst/tmpl/gsttrace.sgml:
16961 * gst/gstghostpad.c:
16963 * gst/gstmemchunk.c:
16964 * gst/gstmemchunk.h:
16966 * gst/gstregistry.c:
16967 * gst/gstregistrypool.c:
16968 * gst/gststructure.c:
16969 * gst/gstsystemclock.c:
16972 2005-09-02 Andy Wingo <wingo@pobox.com>
16974 * gst/gstelement.h (GstState): Renamed from GstElementState,
16975 changed to be a normal enum instead of flags.
16976 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16977 munged to be GST_STATE_CHANGE_*.
16978 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16979 work with the new state representation.
16980 (GstStateChange): New enumeration of possible state transitions.
16981 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16982 (GstElementClass::change_state): Pass the GstStateChange along as
16983 an argument. Helps language bindings, so they don't have to use
16984 tricky lock-needing macros like GST_STATE_CHANGE ().
16986 * scripts/update-states (file): New script. Run it on a file to
16987 update it for state naming and API changes. Updates files in
16990 * All files updated for the new API.
16992 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
16994 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16995 * gst/gstutils.c: (gst_util_set_value_from_string),
16996 (gst_util_set_object_arg):
16997 fix a bunch of unchecked return values
16998 * tools/gst-complete.c: (main):
16999 * gstreamer.spec.in:
17002 2005-09-01 Wim Taymans <wim@fluendo.com>
17004 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17005 (gst_base_sink_event), (gst_base_sink_do_sync),
17006 (gst_base_sink_handle_event):
17007 * gst/base/gstbasesink.h:
17008 Handle newsegments more correctly.
17013 * gst/gstevent.c: (gst_event_new_newsegment):
17014 A newsegment cannot have a start_time of -1
17016 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
17018 * win32/gstenumtypes.c:
17019 * win32/gstenumtypes.h:
17022 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17024 * libs/gst/controller/gst-controller.c:
17025 (gst_controlled_property_set_interpolation_mode),
17026 (gst_controlled_property_new):
17027 fixed boolean again
17029 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
17031 * docs/faq/gst-uninstalled:
17036 * gst/gstutils.c: (gst_element_link_filtered):
17038 add gst_element_link_filtered
17040 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17042 * docs/gst/gstreamer-docs.sgml:
17043 * docs/gst/gstreamer-sections.txt:
17044 * docs/gst/tmpl/.cvsignore:
17045 * docs/gst/tmpl/gsterror.sgml:
17046 * docs/gst/tmpl/gstfilter.sgml:
17047 * docs/gst/tmpl/gsturihandler.sgml:
17048 * docs/gst/tmpl/gsturitype.sgml:
17049 * docs/gst/tmpl/gstutils.sgml:
17050 * docs/gst/tmpl/gstxml.sgml:
17055 * gst/gsturitype.c:
17058 inlined more docs, fixed double id-ref
17060 2005-08-31 Wim Taymans <wim@fluendo.com>
17062 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17063 (gst_base_transform_handle_buffer):
17064 Passthrough elements don't need the caps as they don't care.
17066 2005-08-31 Wim Taymans <wim@fluendo.com>
17068 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
17069 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
17070 Don't leak refcounts on buffers.
17072 2005-08-31 Wim Taymans <wim@fluendo.com>
17074 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
17075 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17076 (gst_base_transform_chain), (gst_base_transform_change_state):
17077 * gst/base/gstbasetransform.h:
17078 Handle the case where we are not negotiated more gracefully.
17080 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
17082 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
17083 (gst_file_src_map_region):
17084 Set READONLY flag on mmap'ed buffers, otherwise
17085 gst_buffer_make_writable() won't work properly (#314708).
17087 2005-08-31 Wim Taymans <wim@fluendo.com>
17089 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
17090 passthrough elements can even do inplace on non writable
17091 buffers (as they don't touch them).
17093 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17095 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17096 (gst_test_mono_source_set_property),
17097 (gst_test_mono_source_class_init), (GST_START_TEST),
17098 (gst_controller_suite):
17099 more tests (hehe I have the most)
17101 describe popping messages whenusing mulltiple sources
17102 * libs/gst/controller/gst-controller.c:
17103 (gst_controlled_property_set_interpolation_mode),
17104 (gst_controlled_property_new):
17105 * libs/gst/controller/gst-controller.h:
17106 * libs/gst/controller/gst-interpolation.c:
17107 implement boolean properties
17109 2005-08-31 Wim Taymans <wim@fluendo.com>
17111 * gst/gstminiobject.c: (gst_mini_object_ref):
17112 Cannot assert that the refcount has to be positive
17113 since a disposed object can be resurrected.
17115 2005-08-31 Wim Taymans <wim@fluendo.com>
17117 * gst/gstpad.c: (gst_pad_init):
17118 Revert change, need to first fix badly behaving
17121 2005-08-30 Wim Taymans <wim@fluendo.com>
17123 * check/elements/fakesrc.c: (setup_fakesrc):
17124 * check/elements/identity.c: (setup_identity):
17125 Activate pads before using them.
17127 2005-08-30 Wim Taymans <wim@fluendo.com>
17129 * gst/base/gstadapter.c: (gst_adapter_flush):
17130 Flushing out 0 bytes is ok for this function.
17132 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17133 no newsegment gives a warning and sets the start/stop to
17136 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
17137 (gst_base_transform_set_passthrough):
17140 * gst/gstminiobject.c: (gst_mini_object_ref):
17141 Check refcount here too.
17143 * gst/gstpad.c: (gst_pad_init):
17144 Pads are initially flushing and refusing data.
17146 * gst/gstutils.c: (gst_element_link_pads_filtered):
17147 When adding a capsfilter element make sure it has the
17148 same state as the parent bin.
17150 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17152 * docs/gst/tmpl/.cvsignore:
17153 * docs/gst/tmpl/gstformat.sgml:
17154 * docs/gst/tmpl/gstversion.sgml:
17158 * gst/gstversion.h.in:
17159 more docs and two more inlined
17161 2005-08-30 Wim Taymans <wim@fluendo.com>
17163 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
17164 Don't sync to clock.
17166 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17168 * docs/gst/gstreamer-sections.txt:
17169 ultral33t func10ns deserve to appear in the docs actually
17170 * docs/gst/tmpl/.cvsignore:
17171 * docs/gst/tmpl/gstcompat.sgml:
17172 * docs/gst/tmpl/gstconfig.sgml:
17173 * gst/check/gstcheck.c:
17175 * gst/gstconfig.h.in:
17178 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17180 * docs/gst/tmpl/.cvsignore:
17181 * docs/gst/tmpl/gstquery.sgml:
17182 * docs/gst/tmpl/gstutils.sgml:
17185 inlined and extended docs
17187 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17189 * check/gst-libs/controller.c: (GST_START_TEST),
17190 (gst_controller_suite):
17192 * docs/gst/tmpl/gstutils.sgml:
17193 * docs/libs/gstreamer-libs-sections.txt:
17194 * docs/libs/tmpl/gstdataprotocol.sgml:
17196 * examples/controller/audio-example.c: (main):
17197 controller example works now
17200 * tools/gst-inspect.c: (print_element_properties_info):
17201 show param spec flags
17203 2005-08-29 Andy Wingo <wingo@pobox.com>
17205 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
17207 2005-08-28 Andy Wingo <wingo@pobox.com>
17209 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
17210 as having two arguments instead of just one. Allows superclasses
17211 to access information on subclasses -- see the terrible for() loop
17212 in gtype.c:g_type_create_instance for the reason why. All callers
17215 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17217 * docs/design/part-messages.txt:
17219 * docs/gst/tmpl/.cvsignore:
17220 * docs/gst/tmpl/gstcaps.sgml:
17221 * docs/gst/tmpl/gstclock.sgml:
17227 * gst/gstmessage.c:
17228 added descriptions for bus and message
17229 inline caps and clock docs
17231 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17233 * gst/gstmessage.c:
17234 * gst/gstmessage.h:
17237 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17239 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17242 2005-08-26 Andy Wingo <wingo@pobox.com>
17244 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
17245 element_set_state's return val.
17246 (test_2_elements): Add test that's been disabled for months.
17248 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
17249 can-activate-pull properties.
17251 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
17252 can-activate-pull properties. Implement is_seekable so fakesrc can
17253 operate in pull mode.
17255 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
17257 (gst_base_sink_activate, gst_base_sink_activate_pull)
17258 (gst_base_sink_activate_push): Make activation mode choosing work.
17260 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
17261 is right. Make pull mode work. Post an eos before pausing in pull
17263 (gst_base_sink_change_state): Pay attention to the core's
17264 change_state() return val.
17266 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
17267 has-getrange properties. Cleanups.
17269 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
17270 has_getrange and replace with can_activate_pull and
17273 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
17274 locking comments. Remove has_loop, has_chain and replace with
17275 can_activate_pull and can_activate_push.
17277 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
17280 * examples/Makefile.am:
17281 * examples/metadata/Makefile.am:
17282 * examples/metadata/read-metadata.c: (message_loop),
17283 (have_pad_handler), (make_pipeline), (print_tag), (main):
17284 Add metadata reading example that loops over a list of filenames,
17285 dumping any tags found.
17287 * gst/gstbus.c: (gst_bus_dispose):
17288 * gst/gstelement.c: (gst_element_dispose):
17289 Release a few potentially-held references in dispose.
17291 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17293 * docs/gst/tmpl/gstminiobject.sgml:
17294 do *not* add tmpl/*.sgml files to CVS!
17296 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17298 * libs/gst/bytestream/.cvsignore:
17299 * libs/gst/bytestream/Makefile.am:
17300 * libs/gst/bytestream/adapter.c:
17301 * libs/gst/bytestream/adapter.h:
17302 * libs/gst/bytestream/bytestream.c:
17303 * libs/gst/bytestream/bytestream.h:
17304 * libs/gst/bytestream/filepad.c:
17305 * libs/gst/bytestream/filepad.h:
17306 removing obsolete files
17308 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17310 * docs/gst/gstreamer-docs.sgml:
17311 * docs/libs/gstreamer-libs-docs.sgml:
17312 disabed additional index entries again, as this makes docs-gen just
17313 slow and they aren't useful yet
17314 * docs/libs/gstreamer-libs-sections.txt:
17315 little -section.txt cleanup for libs
17317 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
17319 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17320 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
17321 fix up some debugging
17322 (gst_base_transform_get_unit_size),
17323 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
17324 (gst_base_transform_handle_buffer):
17325 * gst/base/gstbasetransform.h:
17326 handle and store timed NEWSEGMENT events so that subclasses that
17327 calculate time by counting samples have a segment_start time they
17328 need to add to their timestamps - see audioresample
17330 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17333 removed ';' from the end of macro defs
17334 * docs/gst/gstreamer-docs.sgml:
17335 * docs/gst/gstreamer-sections.txt:
17336 * docs/gst/tmpl/.cvsignore:
17338 * gst/gstelement.c: (gst_element_class_init),
17339 (gst_element_set_state), (activate_pads),
17340 (gst_element_save_thyself):
17341 * gst/gstevent.c: (gst_event_new_newsegment):
17343 * gst/gstiterator.c:
17344 * gst/gstiterator.h:
17347 * gst/gstutils.c: (gst_pad_query_convert):
17349 fixed parameter name mismatches between source, header and docs
17350 added some more docs, resolved the last batch of unused elements in
17351 docs (now someone needs to doc them)
17353 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17355 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17356 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17357 don't walk through the plugins backwards. Where is all this
17358 reversed logic coming from ?
17360 2005-08-25 Wim Taymans <wim@fluendo.com>
17362 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17363 (gst_base_transform_transform_size),
17364 (gst_base_transform_configure_caps),
17365 (gst_base_transform_get_unit_size),
17366 (gst_base_transform_buffer_alloc),
17367 (gst_base_transform_change_state):
17368 * gst/base/gstbasetransform.h:
17369 Cache caps unit_size.
17370 Make sure we cannot negotiate up and downstream at the
17373 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17375 * gst/gst.c: (init_pre), (init_post):
17376 register the installed plugin path after the env var
17377 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17378 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17379 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17380 directories, so the tests can prefer uninstalled over installed
17382 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17384 * gst/base/gstbasetransform.h:
17389 2005-08-25 Wim Taymans <wim@fluendo.com>
17391 * gst/gstbin.c: (bin_bus_handler):
17392 Be a bit more conservative about the posted message.
17394 * gst/gstbus.c: (gst_bus_post):
17395 Some cleanups, warn wrong return values.
17397 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
17399 * check/gst/gstbin.c: (GST_START_TEST):
17400 * gst/gstbin.c: (bin_bus_handler):
17401 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17402 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17403 (gst_message_new_warning), (gst_message_new_tag),
17404 (gst_message_new_state_changed), (gst_message_new_segment_start),
17405 (gst_message_new_segment_done), (gst_message_new_custom):
17406 * gst/gstmessage.h:
17407 * tools/gst-launch.c: (event_loop):
17408 * tools/gst-md5sum.c: (event_loop):
17409 Revert unpopular change for GST_MESSAGE_SRC to GObject.
17411 2005-08-25 Wim Taymans <wim@fluendo.com>
17413 * check/generic/states.c: (GST_START_TEST):
17414 Cleanup can be done at the end.
17416 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17417 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17418 (gst_task_get_state), (gst_task_start), (gst_task_pause):
17419 Oh boy.. Thanks for finding this, Thomas.
17421 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17423 * docs/gst/gstreamer.types:
17424 added missing types
17426 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17428 * docs/gst/gstreamer-docs.sgml:
17429 * docs/gst/gstreamer-sections.txt:
17430 * docs/gst/tmpl/.cvsignore:
17432 * gst/gstiterator.c:
17434 * gst/registries/gstxmlregistry.h:
17435 added missing classes and symbols (123 more to go)
17436 removed removed symbols from section file
17437 fixed many doc-comments
17439 2005-08-24 Wim Taymans <wim@fluendo.com>
17441 * check/generic/states.c: (GST_START_TEST):
17442 Make sure all tasks are stopped.
17444 * check/gst/gstbin.c: (GST_START_TEST):
17445 Unref after usage for proper valgrinding.
17447 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17448 Really wait for the task to stop before destroying the
17451 * gst/gstqueue.c: (gst_queue_sink_activate_push),
17452 (gst_queue_src_activate_push):
17453 Small cleanups. Don't stop the task when we did not start
17456 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17457 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17458 (gst_task_get_state), (gst_task_start), (gst_task_pause),
17461 Protect the stream lock with the object lock.
17462 Disallow setting the stream lock when running.
17463 Add cleanup_all to wait for the threadpool to finish.
17464 Remove code to autoallocate a mutex if none was provided.
17465 Add _join() to wait for a task to stop.
17466 Protect the thread pool with a global lock.
17468 2005-08-24 Wim Taymans <wim@fluendo.com>
17470 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17471 (gst_base_sink_get_times), (gst_base_sink_do_sync),
17472 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17473 * gst/base/gstbasesink.h:
17474 Handle newsegment events correctly.
17475 Drop buffers out of the segment range.
17477 2005-08-22 Andy Wingo <wingo@pobox.com>
17479 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17480 macro, implements an interface and gstimplementsinterface for a
17483 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17485 * check/Makefile.am:
17486 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17487 add a test that does a bunch of state changes on elements
17488 needs some fixing for valgrind
17489 * check/states/sinks.c: (gst_object_suite):
17492 add prototype for gst_caps_is_equal_fixed
17494 * gst/gstregistrypool.c:
17497 2005-08-24 Andy Wingo <wingo@pobox.com>
17499 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17500 convert a negative value. Doesn't make much sense. Mostly this is
17501 here to force callers to ensure -1 maps to -1.
17503 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17505 * docs/pwg/advanced-types.xml:
17506 Well done to Michael for catching my deliberate introduction
17507 of this spelling mistake.
17508 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17509 * gst/gstelement.h:
17510 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17511 unlink pads before removing the element from the bin.
17513 2005-08-24 Andy Wingo <wingo@pobox.com>
17515 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17516 the same thing as GST_DEBUG=*:4.
17517 (parse_debug_level, parse_debug_category): New helper parsers.
17519 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17521 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17522 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17523 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17524 (gst_base_transform_buffer_alloc),
17525 (gst_base_transform_handle_buffer):
17526 use gboolean return values and pointers to size so we can use the
17527 full GST_BUFFER_SIZE range (guint) for buffer sizes
17528 use GstPadDirection for transform_caps
17529 * gst/base/gstbasetransform.h:
17530 rename get_size to get_unit_size since that's what it is
17531 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17532 use GstPadDirection for transform_caps
17533 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17535 cleanup and debugging
17537 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17539 * gst/gstelement.c: (gst_element_class_init),
17540 (gst_element_set_state), (activate_pads),
17541 (gst_element_save_thyself):
17542 * tools/gst-compprep.c: (main):
17543 * tools/gst-inspect.c: (print_element_properties_info):
17544 * tools/gst-xmlinspect.c: (print_element_properties):
17545 Fixed long standing mem-leak
17547 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17549 * check/gst/gstbin.c: (GST_START_TEST):
17550 * gst/gstbin.c: (bin_bus_handler):
17551 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17552 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17553 (gst_message_new_warning), (gst_message_new_tag),
17554 (gst_message_new_state_changed), (gst_message_new_segment_start),
17555 (gst_message_new_segment_done), (gst_message_new_custom):
17556 * gst/gstmessage.h:
17557 * tools/gst-launch.c: (event_loop):
17558 * tools/gst-md5sum.c: (event_loop):
17559 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17560 that applications can sensibly post custom messages with references
17561 to their own objects.
17563 2005-08-24 Andy Wingo <wingo@pobox.com>
17565 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17568 2005-08-24 Wim Taymans <wim@fluendo.com>
17570 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17571 (gst_base_transform_transform_caps),
17572 (gst_base_transform_transform_size),
17573 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17574 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17575 (gst_base_transform_handle_buffer):
17576 * gst/base/gstbasetransform.h:
17577 Many fixes and new features added by Thomas. Can now also do
17578 transforms with variable sizes and a custom fixate_caps function.
17580 2005-08-24 Wim Taymans <wim@fluendo.com>
17582 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17586 Cast to ClockTime before formatting to time.
17591 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17593 * check/gst-libs/controller.c: (GST_START_TEST),
17594 (gst_controller_suite):
17595 * docs/gst/tmpl/gstcaps.sgml:
17596 * docs/gst/tmpl/gstghostpad.sgml:
17597 * docs/gst/tmpl/gstquery.sgml:
17598 * docs/gst/tmpl/gstutils.sgml:
17599 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17600 (gst_object_sink_values), (gst_object_get_value_arrays),
17601 (gst_object_get_value_array):
17602 gracefully handle helper method calls to objects that are not beeing
17603 controlled, added test case for that
17605 2005-08-23 Wim Taymans <wim@fluendo.com>
17607 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17608 (gst_event_new_newsegment), (gst_event_parse_newsegment),
17609 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17610 (gst_event_parse_qos), (gst_event_new_seek),
17611 (gst_event_parse_seek):
17613 Some more debugging output and doc cleanups.
17615 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17616 Fix possible deadlock.
17618 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17620 * docs/gst/gstreamer-docs.sgml:
17621 * docs/gst/gstreamer-sections.txt:
17622 * docs/gst/gstreamer.types:
17623 * docs/gst/tmpl/.cvsignore:
17626 * gst/gstelement.c:
17628 added 100 symbols from gstreamer-unused.txt to the right sections
17629 fixed more broken comments
17630 added GstBus to docs
17632 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17634 * docs/gst/gstreamer-sections.txt:
17635 * docs/gst/tmpl/.cvsignore:
17636 * docs/gst/tmpl/gstbin.sgml:
17637 * docs/gst/tmpl/gstbuffer.sgml:
17638 * gst/base/gstbasesrc.c:
17639 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17642 * tools/gst-launch.1.in:
17643 inlined more doc comments, added missing comments and fixed comments
17646 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
17648 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17652 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17654 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17655 * gst/gststructure.h:
17656 add a fixate function for booleans; add a FIXME that these func
17657 names should probably be gst_structure_fixate_*
17659 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17661 * docs/gst/gstreamer-docs.sgml:
17662 * docs/gst/gstreamer-sections.txt:
17664 * gst/gstbin.c: (gst_bin_get_type),
17665 (gst_bin_child_proxy_get_child_by_index),
17666 (gst_bin_child_proxy_get_children_count),
17667 (gst_bin_child_proxy_init):
17668 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17669 (gst_child_proxy_get_child_by_index),
17670 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17671 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17672 (gst_child_proxy_get), (gst_child_proxy_set_property),
17673 (gst_child_proxy_set_valist), (gst_child_proxy_set),
17674 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17675 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17676 * gst/gstchildproxy.h:
17677 * gst/parse/grammar.y:
17678 * tools/gst-inspect.c: (print_interfaces),
17679 (print_element_properties_info), (print_element_info):
17680 ported gstchildproxy over from 0.8
17681 ported gst-inspect fixes and enhancements over from 0.8
17683 2005-08-22 Wim Taymans <wim@fluendo.com>
17685 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17686 (gst_base_transform_handle_buffer):
17687 Also call the transform function if we have ANY caps.
17689 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17692 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17694 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17695 Don't pretend to handle seek events if the source is not seekable
17697 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17699 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17700 Remove extra parameter to debug output
17702 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17703 (gst_base_src_do_seek), (gst_base_src_activate_push):
17704 Fix seek event handling.
17706 * gst/gstpipeline.c: (gst_pipeline_change_state):
17707 * gst/gstqueue.c: (gst_queue_handle_sink_event),
17708 (gst_queue_src_activate_push):
17709 Don't start the src pad task on FLUSH_STOP if the pad
17713 2005-08-22 Wim Taymans <wim@fluendo.com>
17715 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17716 Added check for gst_static_caps_get() refcounting.
17718 2005-08-22 Wim Taymans <wim@fluendo.com>
17720 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17721 Make _static_caps_get() refcounting sane.
17723 * gst/gstelement.c: (gst_element_set_state):
17724 Add g_return_val_if_fail() to protect against segfaults.
17726 2005-08-22 Stefan Kost <ensonic@users.sf.net>
17728 * docs/gst/tmpl/gstevent.sgml:
17731 inlined remaining docs, added missing doc comments
17733 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
17735 * check/gst/gstbin.c: (GST_START_TEST):
17736 since we don't know when preroll is done, use refcount range
17738 * gst/check/gstcheck.h:
17739 add macro for checking refcount range
17741 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17743 * check/Makefile.am:
17744 clean up environment for when registry gets built versus
17745 when actual tests are run; valgrind seems to not report
17746 leaks if GST_PLUGIN_PATH is set to some specific values
17747 * check/gst/gstbin.c: (GST_START_TEST):
17748 add more refcounting checks; maybe this exposes a
17750 * common/check.mak:
17751 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17752 * gst/check/gstcheck.h:
17753 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17754 (gst_bin_change_state):
17755 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17756 add/fix debugging/whitespace
17758 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17760 * check/gst/gstevent.c: (event_probe), (test_event),
17762 Er, don't call gst_bin_watch_for_state_change you idiot.
17764 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17766 * check/Makefile.am:
17767 Use CHECK_CFLAGS and CHECK_LIBS
17768 * check/gst/gstevent.c: (event_probe), (test_event),
17771 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17772 (gst_base_src_start), (gst_base_src_stop),
17773 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17774 (gst_base_src_change_state):
17775 Sprinkle gst_base_src_stop liberally around error paths to fix
17776 problems reusing a source after failed state changes.
17777 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17778 (helper_find_suggest), (gst_type_find_helper):
17779 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17781 * docs/gst/tmpl/gstevent.sgml:
17782 Migrate part of the docs from the SGML file. Wait for ensonic to
17783 tell me how I did it wrong ;)
17784 * tools/gst-typefind.c: (main):
17785 Extra robustness to state changes between files.
17787 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17789 * check/Makefile.am:
17790 don't valgrind the controller test - it's leaking - Stefan, HELP
17791 * gst/check/gstcheck.c: (gst_check_message_error),
17792 (gst_check_chain_func), (gst_check_setup_element),
17793 (gst_check_teardown_element), (gst_check_setup_src_pad),
17794 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17795 (gst_check_teardown_sink_pad):
17796 * gst/check/gstcheck.h:
17797 add a bunch of methods to set up elements, and src and sink pads
17798 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17799 * check/elements/identity.c: (setup_identity), (cleanup_identity),
17802 * gst/gstmessage.c:
17804 whitespace/doc fixes
17806 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17808 * gst/gstelement.h:
17809 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17810 be handled by the application and not always printed as well
17812 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17814 * check/Makefile.am:
17816 * gst/check/gstcheck.c: (gst_check_message_error):
17817 * gst/check/gstcheck.h:
17818 add a fail_unless_equals_int
17819 add fail_unless for error messages
17821 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17823 * check/Makefile.am:
17825 * common/Makefile.am:
17826 * common/check.mak:
17828 factor out some of the common stuff so we can use it
17830 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17832 * check/Makefile.am:
17833 * check/gst/gstiterator.c: (GST_START_TEST):
17834 * check/gst/gstsystemclock.c: (GST_START_TEST),
17835 (gst_systemclock_suite):
17836 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17838 valgrind more tests
17840 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17842 * check/elements/.cvsignore:
17843 * check/elements/gstfakesrc.c:
17844 rename to name of element
17845 * check/elements/identity.c: (chain_func), (event_func),
17846 (setup_identity), (cleanup_identity), (GST_START_TEST),
17847 (identity_suite), (main):
17848 add a test for identity
17849 * check/Makefile.am:
17850 * pkgconfig/Makefile.am:
17851 * pkgconfig/gstreamer-check.pc.in:
17852 * pkgconfig/gstreamer-check-uninstalled.pc.in:
17856 move the check stuff to a library that gets installed
17857 * check/gst-libs/controller.c: (GST_START_TEST):
17858 * check/gst-libs/gdp.c:
17859 * check/gst/gst.c: (GST_START_TEST):
17860 * check/gst/gstbin.c:
17861 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17862 * check/gst/gstbus.c:
17863 * check/gst/gstcaps.c: (GST_START_TEST):
17864 * check/gst/gstelement.c:
17865 * check/gst/gstghostpad.c:
17866 * check/gst/gstiterator.c:
17867 * check/gst/gstmessage.c:
17868 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17869 * check/gst/gstobject.c:
17870 * check/gst/gstpad.c: (GST_START_TEST):
17871 * check/gst/gststructure.c: (GST_START_TEST):
17872 * check/gst/gstsystemclock.c: (GST_START_TEST),
17873 (gst_systemclock_suite):
17874 * check/gst/gsttag.c: (gst_tag_suite):
17875 * check/gst/gstvalue.c:
17876 * check/pipelines/cleanup.c:
17877 * check/pipelines/simple_launch_lines.c:
17878 * check/states/sinks.c:
17879 change include statement
17881 * docs/gst/gstreamer-sections.txt:
17882 * docs/gst/tmpl/gstpad.sgml:
17883 document more pad stuff
17884 * gst/gstminiobject.c: (gst_mini_object_ref),
17885 (gst_mini_object_unref):
17888 2005-08-19 Stefan Kost <ensonic@users.sf.net>
17890 * docs/gst/tmpl/gst.sgml:
17892 eliminate another tmpl file, fix spelling in the long-description
17894 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17896 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17897 (test_event), (timediff), (gstevents_suite):
17898 Should fix build on 64-bit arch's
17900 2005-08-18 Andy Wingo <wingo@pobox.com>
17902 Make sure that when a pipeline goes to PLAYING, that data has
17903 actually hit the sink.
17905 * check/states/sinks.c (test_sink): A sink that doesn't get any
17906 data shouldn't return SUCCESS for going to either PLAYING or
17907 PAUSED. Test also the return values on the way back down.
17909 * gst/gstelement.c (gst_element_set_state): When changing the
17910 state of an element currently changing state asynchronously, go to
17911 lost-state after commiting the pending state. Makes future calls
17912 to get_state continue to return ASYNC.
17914 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17915 ASYNC when going to PLAYING if we still don't have preroll, as can
17916 happen with live sources.
17918 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17920 * docs/pwg/advanced-types.xml:
17921 Hack long paragraph into 2 chunks as a workaround for buggy
17922 jadetex version in sid and breezy that loops infinitely and
17925 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17927 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17928 (test_event), (timediff), (gstevents_suite):
17929 Provide more error margin in clock measurements to allow for
17930 g_get_current_time inaccuracies.
17932 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17934 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17935 (test_event), (timediff), (gstevents_suite):
17936 Fix error message output so I might be able to tell why the
17937 test works here but fails on the build farm.
17939 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17941 * check/Makefile.am:
17942 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17943 (test_event), (timediff), (gstevents_suite), (main):
17946 * docs/design/part-seeking.txt:
17947 Spelling correction
17949 * docs/gst/tmpl/gstevent.sgml:
17950 * docs/gst/tmpl/gstfakesrc.sgml:
17953 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17954 Treat a buffer-without-newsegment the same as a receiving
17955 a newsegment not in time format, and disable syncing to the clock
17958 * gst/gstbus.c: (gst_bus_set_sync_handler):
17959 Assert if anyone tries to replace the existing sync_handler for bus,
17960 as only the owner should be setting it.
17963 Have a fixed set of custom event enums with events identified by
17964 their structure name (as in 0.8), rather than a free-for-all
17965 allowing collisions between enum values from different plugins.
17967 * gst/gstpad.c: (gst_pad_class_init):
17970 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17971 Handle out-of-band downstream events from the sending thread.
17973 2005-08-17 Andy Wingo <wingo@pobox.com>
17975 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17976 play-timeout==0 to mean no timeout at all. In that case, don't
17977 bother with a get_state or a warning, just return directly, even
17980 * gst/base/gstbasetransform.c: Debug changes.
17983 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17984 ensure bins post state change messages. A bit of a hack but I can't
17985 think of a way to avoid it.
17987 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17989 2005-08-16 Andy Wingo <wingo@pobox.com>
17991 * gst/base/gstadapter.h:
17992 * gst/base/gstadapter.c (gst_adapter_take): New function, like
17993 peek() but you own the data. Not terribly efficient atm.
17995 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17997 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17998 (gst_element_found_tags):
18000 Add two utility functions for tag handling.
18002 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18004 * docs/manual/advanced-dataaccess.xml:
18005 * docs/manual/basics-helloworld.xml:
18006 Fix docs to use _bin_add() before _link(), which fixes the examples
18007 with recent core versions (reported by Madhan Raj M
18008 <raj_madan@rediffmail.com>, #313199).
18010 2005-08-16 Wim Taymans <wim@fluendo.com>
18012 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18013 Added subtract checks.
18015 * docs/design/part-events.txt:
18016 Some more docs about newsegment
18018 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
18021 * gst/gstcaps.c: (gst_caps_to_string):
18022 Add comments, cleanups.
18024 * gst/gstelement.c: (gst_element_save_thyself):
18027 * gst/gstvalue.c: (gst_value_collect_int_range),
18028 (gst_string_unwrap), (gst_value_union_int_int_range),
18029 (gst_value_union_int_range_int_range),
18030 (gst_value_intersect_int_int_range),
18031 (gst_value_intersect_int_range_int_range),
18032 (gst_value_intersect_double_double_range),
18033 (gst_value_intersect_double_range_double_range),
18034 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
18035 (gst_value_subtract_int_range_int),
18036 (gst_value_subtract_double_range_double),
18037 (gst_value_subtract_double_range_double_range),
18038 (gst_value_subtract_from_list), (gst_value_subtract_list),
18039 (gst_value_can_compare), (gst_value_compare_fraction):
18040 Cleanups, add comments, remove unneeded asserts.
18042 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
18044 * tools/gst-launch.c: (event_loop):
18045 don't convert NULL structures to strings
18047 2005-08-15 Stefan Kost <ensonic@users.sf.net>
18049 * docs/gst/gstreamer-sections.txt:
18050 made some defines private
18051 * docs/gst/tmpl/gstconfig.sgml:
18052 * docs/gst/tmpl/gstqueue.sgml:
18053 * docs/gst/tmpl/gsttaglist.sgml:
18054 * docs/gst/tmpl/gsttypes.sgml:
18055 * docs/gst/tmpl/gstutils.sgml:
18056 * docs/pwg/appendix-porting.xml:
18057 * gst/base/gstbasesink.h:
18058 * gst/base/gstbasesrc.c:
18059 * gst/base/gstbasesrc.h:
18060 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
18061 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
18062 * gst/gstelement.c: (gst_element_class_init):
18063 * gst/gstpad.c: (gst_pad_class_init):
18064 * gst/gstqueue.c: (gst_queue_class_init):
18065 * gst/gstxml.c: (gst_xml_class_init):
18066 documented all undocumented signal inline
18067 * libs/gst/controller/gst-controller.h:
18070 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18072 * docs/pwg/appendix-porting.xml:
18073 Document _set_link_function -> _set_setcaps_function.
18075 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
18077 * check/Makefile.am:
18078 add a .check target for running the check
18079 * check/gst-libs/controller.c: (GST_START_TEST):
18081 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18082 complete checks for gstbuffer; would be nice if I could get the
18083 gcov stuff to work so I can see if I actually completed gstbuffer.c
18084 * check/gstcheck.h:
18085 add ASSERT_BUFFER_REFCOUNT
18087 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
18089 * docs/gst/gstreamer-sections.txt:
18090 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
18092 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
18093 spew out a warning if a tag that is already registered
18094 is re-registered, unless it is re-registered with a
18095 different type (#308438).
18097 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
18099 * docs/pwg/appendix-porting.xml:
18100 * docs/pwg/building-state.xml:
18101 Add some paragraphs about state changes in 0.9 to the PWG
18102 and the porting guide, in particular about the new meaning
18103 of GST_STATE_PAUSED and how to write state change functions
18104 with concurrent access by multiple threads in mind.
18106 2005-08-11 Stefan Kost <ensonic@users.sf.net>
18108 * docs/gst/gstreamer-docs.sgml:
18109 * docs/libs/gstreamer-libs-docs.sgml:
18110 added deprecation and since indexes
18111 * libs/gst/controller/gst-controller.c:
18112 * libs/gst/controller/gst-helper.c:
18116 2005-08-11 Wim Taymans <wim@fluendo.com>
18118 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
18119 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
18120 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
18121 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
18122 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
18123 (gst_ghost_pad_set_target):
18124 Actually implement (re)setting the target on a ghostpad
18125 as described in the docs.
18127 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
18129 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
18130 Check whether GST_DEBUG_NO_COLOR environment variable is
18131 set and disable coloured debug output if that is the case.
18133 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
18135 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18136 (gst_type_find_helper):
18137 The memory returned by gst_type_find_peek() needs to
18138 stay valid until the end of a typefind function, and
18139 typefind functions may keep results from different
18140 offsets around, so we can't just unref the buffer from
18141 the previous _peek(), but have to save all buffers
18142 returned by _peek() until typefinding is done and only
18145 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
18147 * docs/gst/gstreamer-sections.txt:
18149 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
18151 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18153 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18154 Fix a pretty good memleak.
18156 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
18158 * gst/gstiterator.h:
18159 Fix wrong include and 'make distcheck'.
18161 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18163 * gst/gstbin.c: (bin_bus_handler):
18164 Use gst_element_post_message() instead.
18166 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
18168 * gst/base/gstadapter.h:
18169 * gst/base/gstbasesink.h:
18170 * gst/base/gstbasesrc.h:
18171 * gst/base/gstbasetransform.h:
18172 * gst/base/gstcollectpads.h:
18173 * gst/base/gstpushsrc.h:
18174 * gst/gstiterator.h:
18175 Add padding to our base elements' class and instance structs and
18176 to GstIterator (you will need to rebuild all plugins and apps!)
18178 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18180 * gst/gstbin.c: (bin_bus_handler):
18181 Make default message forwarding from child->bus to bin->bus
18182 threadsafe and make it not emit warnings if the parent has no bus.
18184 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18186 * gst/gstelement.c: (activate_pads):
18187 On paused->ready, set pad->caps to NULL, as is the documented
18188 behaviour in this state change. Fixes playback of series of
18189 media files when visualization is enabled in Totem.
18191 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18193 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18194 Allow NULL as filter-caps (which means "any").
18196 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18198 * docs/libs/gstreamer-libs-sections.txt:
18199 * libs/gst/controller/gst-controller.c:
18200 * libs/gst/controller/gst-controller.h:
18201 * libs/gst/controller/gst-helper.c:
18202 adding more entries to the docs and fix small doc-bugs
18204 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18206 * docs/gst/gstreamer-docs.sgml:
18207 * docs/gst/gstreamer-sections.txt:
18208 * docs/gst/gstreamer.types:
18209 * docs/gst/tmpl/gstbasesink.sgml:
18210 * docs/gst/tmpl/gstbasesrc.sgml:
18211 * docs/gst/tmpl/gstbasetransform.sgml:
18212 * docs/gst/tmpl/gstfakesrc.sgml:
18213 * gst/base/gstcollectpads.c:
18214 * gst/base/gstcollectpads.h:
18215 * libs/gst/controller/gst-controller.c:
18216 * libs/gst/controller/gst-controller.h:
18217 * libs/gst/controller/gst-helper.c:
18218 * libs/gst/controller/gst-interpolation.c:
18219 * libs/gst/controller/lib.c:
18220 added long/short desc for controller docs
18221 added collectpads base class docs
18222 added correct includes to base-class docs
18224 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18226 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18227 (gst_test_mono_source_set_property),
18228 (gst_test_mono_source_class_init), (GST_START_TEST),
18229 (gst_controller_suite):
18230 * docs/gst/gstreamer-docs.sgml:
18231 * docs/gst/gstreamer-sections.txt:
18232 * docs/gst/gstreamer.types:
18233 * docs/libs/gstreamer-libs-docs.sgml:
18234 * docs/libs/gstreamer-libs-sections.txt:
18235 * gst/base/gstadapter.c:
18236 * libs/gst/controller/gst-controller.c:
18237 (gst_controlled_property_new), (gst_controlled_property_free),
18238 (gst_controller_new_valist),
18239 (gst_controller_remove_properties_valist),
18240 (gst_controller_sink_values), (_gst_controller_finalize):
18241 * libs/gst/controller/gst-controller.h:
18242 * libs/gst/controller/gst-helper.c:
18243 (gst_object_control_properties), (gst_object_uncontrol_properties),
18244 (gst_object_get_controller), (gst_object_set_controller),
18245 (gst_object_sink_values), (gst_object_get_value_arrays),
18246 (gst_object_get_value_array):
18247 more tests (and fixes) for the controller
18248 more docs for the controller
18249 integrated companies docs for the adapter
18251 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
18253 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
18254 (GST_START_TEST), (fakesrc_suite):
18255 add tests for sizetype
18257 2005-08-04 Andy Wingo <wingo@pobox.com>
18259 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
18260 fixes buffer_alloc proxying among other things.
18262 * gst/base/gstbasetransform.c:
18263 * gst/base/gstbasetransform.h:
18264 Revert patch to gstbasetransform from 7-28 removing
18267 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
18268 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
18269 Semantics changed, should return not the size of the output buffer
18270 but the byte size of a buffer with a given caps.
18272 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
18274 (gst_base_transform_configure_caps): Don't set out_size here: (in,
18275 out) are not the pad caps until setcaps finishes.
18276 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
18277 not-in-place case as well. Deal with changing from in-place to
18278 not-in-place within calling pad_alloc_buffer. Still a bit
18279 concerned about the overhead here...
18281 2005-08-03 Andy Wingo <wingo@pobox.com>
18283 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
18284 fixating is an error.
18286 2005-08-04 Edward Hervey <edward@fluendo.com>
18288 * gst/base/gstadapter.h:
18289 Added gst_adapter_get_type() to the header
18291 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18293 * check/Makefile.am:
18294 * check/gst-libs/controller.c:
18295 * libs/gst/controller/gst-controller.c:
18296 (gst_controller_new_valist):
18297 added check test suite for the controller
18298 * gst/base/gstpushsrc.c:
18301 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18303 * docs/gst/Makefile.am:
18304 * docs/gst/gstreamer-docs.sgml:
18305 * docs/gst/gstreamer-sections.txt:
18306 * docs/gst/gstreamer.types:
18307 * docs/gst/tmpl/gstfakesrc.sgml:
18309 * gst/base/gstbasesink.c:
18310 * gst/base/gstbasesink.h:
18311 * gst/base/gstbasesrc.c:
18312 * gst/base/gstbasesrc.h:
18313 * gst/base/gstbasetransform.c:
18314 * gst/base/gstpushsrc.c:
18315 * gst/base/gstpushsrc.h:
18316 add short/long description docs to base classes
18317 add pushsrc to the docs
18318 remove consolidated doc fragments
18320 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18323 * docs/libs/Makefile.am:
18324 * docs/libs/gstreamer-libs-docs.sgml:
18325 * docs/libs/gstreamer-libs-sections.txt:
18326 * docs/libs/gstreamer-libs.types:
18327 * examples/Makefile.am:
18328 * examples/controller/.cvsignore:
18329 * examples/controller/Makefile.am:
18330 * examples/controller/audio-example.c: (main):
18331 * libs/gst/Makefile.am:
18332 * libs/gst/controller/.cvsignore:
18333 * libs/gst/controller/Makefile.am:
18334 * libs/gst/controller/gst-controller.c:
18335 (on_object_controlled_property_changed), (gst_timed_value_compare),
18336 (gst_timed_value_find),
18337 (gst_controlled_property_set_interpolation_mode),
18338 (gst_controlled_property_new), (gst_controlled_property_free),
18339 (gst_controller_find_controlled_property),
18340 (gst_controller_new_valist), (gst_controller_new),
18341 (gst_controller_remove_properties_valist),
18342 (gst_controller_remove_properties), (gst_controller_set),
18343 (gst_controller_set_from_list), (gst_controller_unset),
18344 (gst_controller_get), (gst_controller_get_all),
18345 (gst_controller_sink_values), (gst_controller_get_value_arrays),
18346 (gst_controller_get_value_array),
18347 (gst_controller_set_interpolation_mode),
18348 (_gst_controller_finalize), (_gst_controller_init),
18349 (_gst_controller_class_init), (gst_controller_get_type):
18350 * libs/gst/controller/gst-controller.h:
18351 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18352 (g_object_uncontrol_properties), (g_object_get_controller),
18353 (g_object_set_controller), (g_object_sink_values),
18354 (g_object_get_value_arrays), (g_object_get_value_array):
18355 * libs/gst/controller/gst-interpolation.c:
18356 (gst_controlled_property_find_timed_value_node),
18357 (interpolate_none_get), (interpolate_trigger_get),
18358 (interpolate_trigger_get_value_array):
18359 * libs/gst/controller/lib.c: (gst_controller_init):
18360 * pkgconfig/Makefile.am:
18361 * pkgconfig/gstreamer-control-uninstalled.pc.in:
18362 * pkgconfig/gstreamer-control.pc.in:
18363 * testsuite/Makefile.am:
18364 * testsuite/controller/.cvsignore:
18365 * testsuite/controller/Makefile.am:
18366 * testsuite/controller/interpolator.c: (main):
18367 added controller code
18368 removed dparam pc files
18370 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18371 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18372 (gst_collectpads_stop):
18373 Broadcast the condition when shutting down, to make sure we wake all
18374 threads up. Shut down pads on finalize, for safety.
18376 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18377 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18378 (gst_base_transform_handle_buffer),
18379 (gst_base_transform_change_state):
18380 Handle PAUSED->READY->PAUSED transition after negotiation
18382 * gst/gstmessage.c: (gst_message_init):
18383 Extra piece of debug for new messages.
18385 2005-08-01 Stefan Kost <ensonic@users.sf.net>
18388 * docs/gst/tmpl/gstbasesrc.sgml:
18389 * docs/gst/tmpl/gstelement.sgml:
18390 * docs/gst/tmpl/gstevent.sgml:
18391 * docs/gst/tmpl/gstfakesrc.sgml:
18392 * docs/gst/tmpl/gstformat.sgml:
18393 * docs/gst/tmpl/gstghostpad.sgml:
18394 * docs/gst/tmpl/gstpad.sgml:
18395 * docs/gst/tmpl/gstquery.sgml:
18396 * docs/gst/tmpl/gststructure.sgml:
18397 * docs/gst/tmpl/gsttaglist.sgml:
18398 * docs/gst/tmpl/gstvalue.sgml:
18399 * docs/libs/gstreamer-libs-docs.sgml:
18400 * docs/libs/gstreamer-libs-sections.txt:
18401 * docs/libs/gstreamer-libs.types:
18402 * libs/gst/Makefile.am:
18403 * libs/gst/control/.cvsignore:
18404 * libs/gst/control/Makefile.am:
18405 * libs/gst/control/control.c:
18406 * libs/gst/control/control.h:
18407 * libs/gst/control/dparam.c:
18408 * libs/gst/control/dparam.h:
18409 * libs/gst/control/dparam_smooth.c:
18410 * libs/gst/control/dparam_smooth.h:
18411 * libs/gst/control/dparamcommon.h:
18412 * libs/gst/control/dparammanager.c:
18413 * libs/gst/control/dparammanager.h:
18414 * libs/gst/control/dplinearinterp.c:
18415 * libs/gst/control/dplinearinterp.h:
18416 * libs/gst/control/unitconvert.c:
18417 * libs/gst/control/unitconvert.h:
18418 * testsuite/Makefile.am:
18419 * testsuite/dynparams/.cvsignore:
18420 * testsuite/dynparams/Makefile.am:
18421 * testsuite/dynparams/dparamstest.c:
18422 * tools/Makefile.am:
18423 * tools/gst-inspect.c: (print_element_info), (main):
18424 * tools/gst-xmlinspect.c: (print_element_info), (main):
18425 deactivate and remove dparams (libgstcontrol)
18427 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18429 * gst/elements/gsttypefindelement.c:
18430 (gst_type_find_element_have_type), (gst_type_find_element_init),
18431 (stop_typefinding), (gst_type_find_element_handle_event),
18432 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18433 * gst/elements/gsttypefindelement.h:
18434 Set caps on all outgoing buffers, not just the first one.
18436 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18438 * gst/elements/gsttypefindelement.c:
18439 (gst_type_find_element_have_type),
18440 (gst_type_find_element_check_set_buffer_caps),
18441 (gst_type_find_element_init), (stop_typefinding),
18442 (gst_type_find_element_handle_event),
18443 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18444 * gst/elements/gsttypefindelement.h:
18445 Set caps on first outgoing buffer when we've found the type.
18447 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18449 * docs/gst/gstreamer-docs.sgml:
18450 * docs/gst/gstreamer-sections.txt:
18451 * docs/gst/tmpl/gstscheduler.sgml:
18452 * docs/gst/tmpl/gstschedulerfactory.sgml:
18453 Remove some old cruft from docs.
18455 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
18458 Fix inline docs for GstPadLinkReturn.
18460 * gst/gststructure.c: (gst_structure_has_name):
18461 * gst/gststructure.h:
18462 * docs/gst/gstreamer-sections.txt:
18463 New API: gst_structure_has_name().
18465 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
18468 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18469 and _LARGEFILE_SOURCE in config.h as required. Do not
18470 export those flags in our .pc files any longer (#142209).
18472 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18474 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18475 (gst_file_sink_do_seek), (gst_file_sink_event),
18476 (gst_file_sink_get_current_offset), (gst_file_sink_render):
18477 Redo seek/tell calls with large file support in mind; add some
18478 debugging messages; add log message that tells us when large
18479 file support is unavailable or not enabled for some reason.
18481 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18482 Add log message that tells us when large file support
18483 is unavailable or not enabled for some reason.
18485 2005-07-29 Wim Taymans <wim@fluendo.com>
18487 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18488 Added test for removing an element with ghostpad from a bin.
18489 Fixed test as current implementation does the right thing.
18491 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18492 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18493 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18494 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18495 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18496 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18497 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18498 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18499 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18500 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18501 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18502 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18503 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18504 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18505 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18506 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18507 * gst/gstghostpad.h:
18508 Clean up ghostpads, remove properties for internal stuff.
18511 Prepare for switching targets, not all use cases work yet.
18513 2005-07-29 Wim Taymans <wim@fluendo.com>
18515 * docs/design/part-gstghostpad.txt:
18518 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18519 (gst_bin_remove_func):
18520 Unlinking pads while holding the bin LOCK is not a good
18523 * gst/gstpad.c: (gst_pad_class_init),
18524 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18525 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18526 No prob setting template after creating the pad.
18528 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
18530 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18531 (gst_bus_peek), (gst_bus_source_dispatch),
18532 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18533 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18534 gst_bus_poll may be called from other threads. Handle
18535 this nicely by not making poll_data disappear off the
18536 stack once gst_bus_poll returns.
18537 gst_bus_peek now increments the refcount on the returned
18540 2005-07-29 Wim Taymans <wim@fluendo.com>
18542 * docs/design/part-gstghostpad.txt:
18543 Overview of current GhostPad datastructures and use
18544 cases for changing the target.
18546 2005-07-28 Wim Taymans <wim@fluendo.com>
18548 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18549 Added checks for hierarchy consistency whan adding linked
18552 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18553 Added check to test element scheduling without bin/pipeline.
18555 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18556 First add elements to bin, then link.
18558 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18559 (gst_bin_remove_func):
18560 Unlink pads from elements added/removed from bin to maintain
18561 hierarchy consistency.
18563 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18565 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18566 (gst_base_transform_handle_buffer):
18567 * gst/base/gstbasetransform.h:
18568 Remove broken delay_configure (fixes renegotiation of software
18569 scaling pipelines); remove some leftover printf()s.
18571 2005-07-28 Wim Taymans <wim@fluendo.com>
18573 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18574 Added some more tests for wrong hierarchy
18576 * docs/design/part-overview.txt:
18579 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18582 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18583 (gst_element_dispose):
18584 Some more cleanups.
18586 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18587 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18588 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18589 (gst_pad_set_caps), (gst_pad_send_event):
18590 Check for correct hierarchy when linking pads. Moving to
18591 strict requirement for ghostpads when linking elements in
18595 Clean ups. Added WRONG_HIERARCHY return value.
18597 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18599 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18600 Better debug if no transform is possible.
18602 2005-07-27 Wim Taymans <wim@fluendo.com>
18604 * docs/random/wtay/network-transp:
18605 Some old doc I had.
18607 2005-07-27 Wim Taymans <wim@fluendo.com>
18609 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18610 (gst_dp_event_from_packet):
18611 Fix serialization of seek events.
18613 2005-07-27 Wim Taymans <wim@fluendo.com>
18615 * check/gst-libs/gdp.c: (GST_START_TEST):
18616 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18617 Fix compilation and fix event serialization.
18619 2005-07-27 Wim Taymans <wim@fluendo.com>
18622 * docs/design/part-TODO.txt:
18623 * docs/design/part-events.txt:
18626 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18627 (gst_base_sink_event), (gst_base_sink_do_sync),
18628 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18629 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18630 (gst_base_src_do_seek), (gst_base_src_event_handler),
18631 (gst_base_src_loop):
18632 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18633 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18634 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18635 (gst_base_transform_event), (gst_base_transform_handle_buffer),
18636 (gst_base_transform_set_passthrough),
18637 (gst_base_transform_is_passthrough):
18638 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18639 * gst/elements/gstfilesink.c: (gst_file_sink_event):
18645 * gst/gstelement.c: (gst_element_seek):
18646 * gst/gstelement.h:
18647 Update gst_element_seek.
18649 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18650 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18651 (gst_event_new_flush_start), (gst_event_new_flush_stop),
18652 (gst_event_new_eos), (gst_event_new_newsegment),
18653 (gst_event_parse_newsegment), (gst_event_new_tag),
18654 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18655 (gst_event_parse_qos), (gst_event_new_seek),
18656 (gst_event_parse_seek), (gst_event_new_navigation):
18658 Make GstEvent use GstStructure. Add parsing code, make sure the
18659 API is sufficiently generic.
18660 Mark possible directions of events and serialization.
18662 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18663 (_gst_message_copy), (gst_message_new_segment_start),
18664 (gst_message_new_segment_done), (gst_message_new_custom),
18665 (gst_message_parse_segment_start),
18666 (gst_message_parse_segment_done):
18669 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18670 (gst_pad_set_caps), (gst_pad_send_event):
18671 Update for new events.
18672 Catch events sent in wrong directions.
18674 * gst/gstqueue.c: (gst_queue_link_src),
18675 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18676 (gst_queue_handle_src_query):
18681 Remove event code from this file.
18683 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18684 (gst_dp_event_from_packet):
18687 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18689 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18690 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18691 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18692 Make debugging actually useful.
18694 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18696 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18697 (gst_pad_fixate_caps):
18698 Implement default fixation once again, so that gst_pad_fixate()
18699 actually does anything at all. This probably needs to be some
18700 sort of a last resort, and use profile-based fixation first, but
18701 since that doesn't exist yet, this is the best we have. Fixes
18702 visualization in Totem.
18704 2005-07-22 Wim Taymans <wim@fluendo.com>
18706 * docs/design/part-events.txt:
18709 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18710 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18711 (gst_base_sink_activate_pull):
18712 Some more comments.
18714 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18715 (gst_fake_src_create):
18716 Fix handoff marshall.
18718 * gst/elements/gstidentity.c: (gst_identity_class_init),
18719 (gst_identity_transform_ip):
18720 We're a real inplace element.
18722 * gst/gstbus.c: (gst_bus_post):
18723 Added some comments.
18725 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18726 * tests/muxing/case1.c: (main):
18727 * tests/sched/dynamic-pipeline.c: (main):
18728 * tests/sched/interrupt1.c: (main):
18729 * tests/sched/interrupt2.c: (main):
18730 * tests/sched/interrupt3.c: (main):
18731 * tests/sched/runxml.c: (main):
18732 * tests/sched/sched-stress.c: (main):
18733 * tests/seeking/seeking1.c: (event_received), (main):
18734 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18736 * tests/threadstate/threadstate3.c: (main):
18737 * tests/threadstate/threadstate4.c: (main):
18738 * tests/threadstate/threadstate5.c: (main):
18741 2005-07-21 Wim Taymans <wim@fluendo.com>
18743 * docs/design/part-seeking.txt:
18744 Some small additions.
18746 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18747 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18748 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18749 * gst/base/gstbasesink.h:
18750 discont values are gint64, handle the math correctly.
18752 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18753 Make the basesrc report error if the source pad is not linked.
18755 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18756 (gst_queue_loop), (gst_queue_handle_src_query),
18757 (gst_queue_src_activate_push):
18758 Make queue collect data even if the srcpad is not linked.
18759 Start pushing out data as soon as it is linked.
18761 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18763 Added gst_flow_get_name() to ease error reporting.
18765 2005-07-20 Wim Taymans <wim@fluendo.com>
18767 * gst/gstmessage.c: (gst_message_new_segment_start),
18768 (gst_message_new_segment_done), (gst_message_parse_segment_start),
18769 (gst_message_parse_segment_done):
18770 * gst/gstmessage.h:
18771 Added a bunch of messages for advanced seeking.
18773 * gst/parse/grammar.y:
18774 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18775 (gst_dpman_state_changed):
18776 Fix some new-pad -> pad-added signals
18778 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18780 * docs/manual/appendix-porting.xml:
18781 * docs/pwg/appendix-porting.xml:
18782 Document new-pad/state-change signal renames and the FixedList
18785 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18787 * docs/manual/advanced-autoplugging.xml:
18788 * docs/manual/basics-helloworld.xml:
18789 * docs/manual/basics-pads.xml:
18790 * docs/random/ds/0.9-suggested-changes:
18791 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18792 * gst/gstelement.h:
18796 * gst/gststructure.c: (gst_structure_value_get_generic_type),
18797 (gst_structure_parse_array), (gst_structure_parse_value):
18798 * gst/gstvalue.c: (gst_type_is_fixed),
18799 (gst_value_list_prepend_value), (gst_value_list_append_value),
18800 (gst_value_list_get_size), (gst_value_list_get_value),
18801 (gst_value_transform_array_string), (gst_value_serialize_array),
18802 (gst_value_deserialize_array), (gst_value_intersect_array),
18803 (gst_value_is_fixed), (_gst_value_initialize):
18805 GstElement::new-pad -> pad-added, GstElement::state-change ->
18806 state-changed, GstValueFixedList -> GstValueArray, add format and
18807 flags as their own arguments in gst_element_seek() (should improve
18808 "bindeability"), remove function generators since they don't work
18809 under a whole bunch of compilers (they were deprecated already
18812 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18814 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18815 (_gst_debug_register_funcptr):
18817 Fix illegal cast on some platforms (#309253).
18819 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18821 * gst/gstmessage.c: (gst_message_new_custom):
18822 * gst/gstmessage.h:
18823 Add _new_custom, make _new_application a macro to _new_custom.
18825 2005-07-20 Wim Taymans <wim@fluendo.com>
18827 * gst/base/gstbasesrc.c: (gst_base_src_init),
18828 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18829 * gst/base/gstbasesrc.h:
18830 Add a gboolean to decide when to push out a discont.
18832 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18833 (gst_queue_loop), (gst_queue_handle_src_query),
18834 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18835 (gst_queue_set_property), (gst_queue_get_property):
18838 * tests/threadstate/threadstate1.c: (main):
18839 Make a thread test compile and run... very silly..
18842 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18844 * docs/manual/appendix-porting.xml:
18845 Mention removal of libgstgconf-0.9.la and existence of gconf
18848 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18850 * docs/pwg/advanced-clock.xml:
18851 * docs/pwg/appendix-porting.xml:
18852 * docs/pwg/intro-preface.xml:
18853 * docs/pwg/other-base.xml:
18854 * docs/pwg/other-manager.xml:
18855 * docs/pwg/other-nton.xml:
18856 * docs/pwg/other-ntoone.xml:
18857 * docs/pwg/other-oneton.xml:
18858 * docs/pwg/pwg.xml:
18859 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18860 demuxer), remove n-to-n (was never written), fix some code examples
18861 and links and update the porting section to include all this.
18863 2005-07-19 Wim Taymans <wim@fluendo.com>
18865 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18866 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18867 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18868 (gst_queue_src_activate_push), (gst_queue_change_state),
18869 (gst_queue_get_property):
18871 Propagate GstFlowReturn more intelligently upstream and output
18872 an ERROR/EOS when streaming stopped due to fatal error.
18874 2005-07-19 Wim Taymans <wim@fluendo.com>
18876 * tools/gst-launch.c: (check_intr), (event_loop), (main):
18877 Don't block forever for the state change to complete, the
18878 pipeline already did with a sensible timeout.
18880 2005-07-19 Wim Taymans <wim@fluendo.com>
18882 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18883 Make sure we never call the create function is we
18886 2005-07-19 Andy Wingo <wingo@pobox.com>
18888 * gst/parse/parse.l: Attempt to solve bug #172815.
18890 2005-07-19 Wim Taymans <wim@fluendo.com>
18892 * docs/design/part-clocks.txt:
18893 * docs/design/part-events.txt:
18894 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18895 Small docs updates.
18896 Only update the seeking values when we are not
18899 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18901 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18902 Oops, ignore the result of gst_pad_push_event here.
18904 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18906 * gst/base/gstbasesrc.c: (gst_base_src_loop),
18907 (gst_base_src_activate_push):
18908 Send discont event from the loop function, as pads
18909 aren't activated yet in the activate_push handler.
18911 * gst/gstbin.c: (bin_bus_handler):
18912 Don't leak element name.
18914 2005-07-18 Andy Wingo <wingo@pobox.com>
18916 * configure.ac: Use AS_LIBTOOL_TAGS.
18918 2005-07-18 Wim Taymans <wim@fluendo.com>
18920 * docs/gst/gstreamer.types:
18921 Remove deleted types.
18923 2005-07-18 Wim Taymans <wim@fluendo.com>
18925 * check/elements/gstfakesrc.c: (GST_START_TEST):
18928 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18929 (init_popt_callback):
18931 * gst/gst_private.h:
18932 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18933 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18936 * gst/gstconfig.h.in:
18937 * gst/gstelement.c: (gst_element_class_init),
18938 (gst_element_set_base_time), (gst_element_get_base_time),
18939 (iterator_fold_with_resync), (gst_element_change_state),
18940 (gst_element_dispose), (gst_element_get_bus):
18941 * gst/gstelement.h:
18942 * gst/gstelementfactory.h:
18943 * gst/gsterror.c: (_gst_core_errors_init):
18946 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18948 * gst/gstinfo.c: (_gst_debug_init):
18949 * gst/gstmessage.c: (_gst_message_copy):
18950 * gst/gstmessage.h:
18951 * gst/gstminiobject.h:
18954 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18955 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18958 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18959 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18960 (gst_pipeline_get_last_stream_time):
18961 * gst/gstpipeline.h:
18962 * gst/gstpluginfeature.h:
18964 * gst/gstscheduler.c:
18965 * gst/gstscheduler.h:
18966 * gst/gststructure.h:
18967 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18968 (gst_task_finalize), (gst_task_func), (gst_task_create),
18969 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18970 (gst_task_stop), (gst_task_pause):
18972 * gst/gsttypefind.h:
18974 * gst/registries/gstlibxmlregistry.c: (load_feature),
18975 (gst_xml_registry_load), (gst_xml_registry_save_feature):
18976 * gst/registries/gstxmlregistry.c:
18977 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18978 * gst/schedulers/threadscheduler.c:
18979 * libs/gst/control/dparammanager.h:
18980 * tools/gst-inspect.c: (print_element_list),
18981 (print_plugin_features), (print_element_features):
18982 * tools/gst-xmlinspect.c: (print_element_list),
18983 (print_plugin_info), (main):
18984 Removed plugable schedulers.
18985 Removed Scheduler/Manager from elements.
18986 Removed gsttypes.h, rearranged includes.
18987 Removed dependency pad<->element, element<>pipeline, and
18988 various others, fix includes.
18989 implement gst_pad_get_parent() with gst_object_get_parent()
18990 Make GstTask sefcontained.
18991 Fix _get_state() on GstBin, it did not return ASYNC with a 0
18993 Fix endless loop in iterator_fold_with_resync.
18996 2005-07-18 Wim Taymans <wim@fluendo.com>
19002 2005-07-18 Wim Taymans <wim@fluendo.com>
19005 No more cothreads.h
19007 2005-07-18 Wim Taymans <wim@fluendo.com>
19011 Let's remove these.
19013 2005-07-18 Wim Taymans <wim@fluendo.com>
19015 * docs/design/part-dynamic.txt:
19016 * docs/design/part-events.txt:
19017 * docs/design/part-seeking.txt:
19018 Some more docs in the works.
19020 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19021 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
19022 (gst_base_transform_setcaps), (gst_base_transform_get_size),
19023 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19024 (gst_base_transform_handle_buffer),
19025 (gst_base_transform_sink_activate_push),
19026 (gst_base_transform_src_activate_pull),
19027 (gst_base_transform_set_passthrough),
19028 (gst_base_transform_is_passthrough):
19031 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
19034 * gst/gstevent.c: (gst_event_finalize):
19037 * gst/gstutils.c: (gst_element_unlink),
19038 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
19039 (gst_pad_proxy_setcaps):
19041 Add _get_parent_element() to get a pads parent as an element.
19043 2005-07-18 Wim Taymans <wim@fluendo.com>
19045 * check/gst/gstbin.c: (GST_START_TEST):
19048 2005-07-18 Wim Taymans <wim@fluendo.com>
19050 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19051 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19052 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19053 (gst_base_sink_event), (gst_base_sink_do_sync),
19054 (gst_base_sink_chain), (gst_base_sink_loop),
19055 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
19056 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19058 Fix logic for returning ASYNC when not prerolled.
19060 2005-07-18 Wim Taymans <wim@fluendo.com>
19062 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19063 Fix nasty refcount bug.
19065 2005-07-16 Philippe Khalaf <burger@speedy.org>
19067 * gst/elements/gstfdsrc.c:
19068 * gst/elements/gstfdsrc.h:
19069 * gst/elements/gstelements.c:
19070 * gst/elements/Makefile.am:
19071 Ported fdsrc to 0.9.
19073 2005-07-16 Wim Taymans <wim@fluendo.com>
19075 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19076 (gst_base_sink_do_sync):
19079 2005-07-16 Wim Taymans <wim@fluendo.com>
19081 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19082 (gst_base_sink_event), (gst_base_sink_get_times),
19083 (gst_base_sink_do_sync), (gst_base_sink_change_state):
19084 * gst/base/gstbasesink.h:
19085 Store and use discont values when syncing buffers as described
19088 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19089 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
19090 (gst_base_src_activate_push):
19091 Push discont event when starting.
19093 * gst/elements/gstidentity.c: (gst_identity_transform):
19096 * gst/gstbin.c: (gst_bin_change_state):
19097 Small cleanups in base_time distribution.
19099 * gst/gstelement.c: (gst_element_set_base_time),
19100 (gst_element_get_base_time), (gst_element_change_state):
19101 * gst/gstelement.h:
19102 Added methods for the base_time of the element.
19105 * gst/gstpipeline.c: (gst_pipeline_send_event),
19106 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19107 (gst_pipeline_get_last_stream_time):
19108 * gst/gstpipeline.h:
19110 Handle seeking as described in design doc, remove stream_time
19112 Cleanups clock and stream_time selection code. Added accessors
19113 for the stream_time.
19116 2005-07-16 Andy Wingo <wingo@pobox.com>
19118 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
19121 2005-07-16 Wim Taymans <wim@fluendo.com>
19123 * check/gst/gstbin.c: (GST_START_TEST):
19124 Make elements silent as the deep_notify refs the
19125 parent, which might make the test fail.
19127 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19128 Don't hold the lock for too long.
19130 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
19132 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19133 Don't unref the caps we passed to gst_caps_make_writable() after
19134 passing them. gst_caps_make_writable() will do that for us.
19136 2005-07-15 Andy Wingo <wingo@pobox.com>
19138 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
19141 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
19142 own marshalling function for the handoff signal. Properly type the
19143 buffer as a buffer. Fixes some warnings. Should do a more general
19145 (gst_identity_class_init): Plug into the right marshaller.
19147 2005-07-15 Wim Taymans <wim@fluendo.com>
19149 * docs/design/part-TODO.txt:
19150 * docs/design/part-clocks.txt:
19151 * docs/design/part-element-sink.txt:
19152 * docs/design/part-events.txt:
19153 * docs/design/part-gstpipeline.txt:
19154 Updated docs, mostly DISCONT related.
19156 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
19158 * docs/pwg/building-pads.xml:
19159 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
19161 2005-07-15 Andy Wingo <wingo@pobox.com>
19163 * tools/gst-typefind.c: Update, add copyright block.
19165 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
19166 Normalize and truncate caps before fixation.
19169 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
19170 discards all but the first structure from its argument.
19172 2005-07-15 Wim Taymans <wim@fluendo.com>
19174 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19175 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
19176 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19177 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19178 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
19179 (gst_base_transform_chain), (gst_base_transform_change_state),
19180 (gst_base_transform_set_passthrough),
19181 (gst_base_transform_is_passthrough):
19182 * gst/base/gstbasetransform.h:
19183 Make passthrough work using the bufferpools.
19184 Changed API a bit, subclasses have to write into a buffer
19185 provided by the base class.
19186 More debug info in nego functions.
19188 * gst/elements/gstidentity.c: (gst_identity_init),
19189 (gst_identity_transform):
19190 Port to new base class.
19192 2005-07-15 Wim Taymans <wim@fluendo.com>
19194 * gst/gstmessage.c: (gst_message_new_state_changed):
19195 * tools/gst-launch.c: (event_loop), (main):
19196 Totally dump messages in -launch with the -m option.
19197 Fix message name for State messages,
19199 2005-07-14 Wim Taymans <wim@fluendo.com>
19201 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19202 Post error messages on errors.
19204 2005-07-14 Wim Taymans <wim@fluendo.com>
19206 * gst/gstcaps.c: (gst_caps_do_simplify):
19210 Define error for stream stopped.
19212 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19213 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
19214 Do proper return values.
19216 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19217 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
19218 (gst_pad_get_range):
19219 Better return values.
19222 Reorganise return values, add macro to check for fatal errors.
19224 * gst/gstqueue.c: (gst_queue_chain):
19225 Return proper GstFlowReturn values,
19227 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
19229 * docs/gst/gstreamer-sections.txt:
19230 * docs/gst/gstreamer.types:
19231 * docs/gst/tmpl/gst.sgml:
19232 * docs/gst/tmpl/gstbasesink.sgml:
19233 * docs/gst/tmpl/gstbasesrc.sgml:
19234 * docs/gst/tmpl/gstbasetransform.sgml:
19235 * docs/gst/tmpl/gstbin.sgml:
19236 * docs/gst/tmpl/gstbuffer.sgml:
19237 * docs/gst/tmpl/gstcaps.sgml:
19238 * docs/gst/tmpl/gstclock.sgml:
19239 * docs/gst/tmpl/gstcompat.sgml:
19240 * docs/gst/tmpl/gstconfig.sgml:
19241 * docs/gst/tmpl/gstelement.sgml:
19242 * docs/gst/tmpl/gstelementdetails.sgml:
19243 * docs/gst/tmpl/gstelementfactory.sgml:
19244 * docs/gst/tmpl/gstenumtypes.sgml:
19245 * docs/gst/tmpl/gsterror.sgml:
19246 * docs/gst/tmpl/gstevent.sgml:
19247 * docs/gst/tmpl/gstfakesink.sgml:
19248 * docs/gst/tmpl/gstfakesrc.sgml:
19249 * docs/gst/tmpl/gstfilesink.sgml:
19250 * docs/gst/tmpl/gstfilesrc.sgml:
19251 * docs/gst/tmpl/gstfilter.sgml:
19252 * docs/gst/tmpl/gstformat.sgml:
19253 * docs/gst/tmpl/gstghostpad.sgml:
19254 * docs/gst/tmpl/gstimplementsinterface.sgml:
19255 * docs/gst/tmpl/gstindex.sgml:
19256 * docs/gst/tmpl/gstindexfactory.sgml:
19257 * docs/gst/tmpl/gstinfo.sgml:
19258 * docs/gst/tmpl/gstiterator.sgml:
19259 * docs/gst/tmpl/gstmacros.sgml:
19260 * docs/gst/tmpl/gstmemchunk.sgml:
19261 * docs/gst/tmpl/gstminiobject.sgml:
19262 * docs/gst/tmpl/gstobject.sgml:
19263 * docs/gst/tmpl/gstpad.sgml:
19264 * docs/gst/tmpl/gstpadtemplate.sgml:
19265 * docs/gst/tmpl/gstparse.sgml:
19266 * docs/gst/tmpl/gstpipeline.sgml:
19267 * docs/gst/tmpl/gstplugin.sgml:
19268 * docs/gst/tmpl/gstpluginfeature.sgml:
19269 * docs/gst/tmpl/gstquery.sgml:
19270 * docs/gst/tmpl/gstqueue.sgml:
19271 * docs/gst/tmpl/gstregistry.sgml:
19272 * docs/gst/tmpl/gstregistrypool.sgml:
19273 * docs/gst/tmpl/gstscheduler.sgml:
19274 * docs/gst/tmpl/gstschedulerfactory.sgml:
19275 * docs/gst/tmpl/gststructure.sgml:
19276 * docs/gst/tmpl/gstsystemclock.sgml:
19277 * docs/gst/tmpl/gsttaglist.sgml:
19278 * docs/gst/tmpl/gsttagsetter.sgml:
19279 * docs/gst/tmpl/gsttrace.sgml:
19280 * docs/gst/tmpl/gsttrashstack.sgml:
19281 * docs/gst/tmpl/gsttypefind.sgml:
19282 * docs/gst/tmpl/gsttypefindfactory.sgml:
19283 * docs/gst/tmpl/gsttypes.sgml:
19284 * docs/gst/tmpl/gsturihandler.sgml:
19285 * docs/gst/tmpl/gsturitype.sgml:
19286 * docs/gst/tmpl/gstutils.sgml:
19287 * docs/gst/tmpl/gstvalue.sgml:
19288 * docs/gst/tmpl/gstversion.sgml:
19289 * docs/gst/tmpl/gstxml.sgml:
19290 * docs/libs/tmpl/gstcontrol.sgml:
19291 * docs/libs/tmpl/gstdataprotocol.sgml:
19292 * docs/libs/tmpl/gstdparam.sgml:
19293 * docs/libs/tmpl/gstdplinint.sgml:
19294 * docs/libs/tmpl/gstdpman.sgml:
19295 * docs/libs/tmpl/gstdpsmooth.sgml:
19296 * docs/libs/tmpl/gstgetbits.sgml:
19297 * docs/libs/tmpl/gstunitconvert.sgml:
19298 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
19299 (gst_push_src_base_init), (gst_push_src_class_init),
19300 (gst_push_src_init), (gst_push_src_create):
19301 * gst/base/gstpushsrc.h:
19302 * gst/elements/gstelements.c:
19303 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
19304 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
19305 (gst_fake_sink_init), (gst_fake_sink_set_property),
19306 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
19307 (gst_fake_sink_event), (gst_fake_sink_preroll),
19308 (gst_fake_sink_render), (gst_fake_sink_change_state):
19309 * gst/elements/gstfakesink.h:
19310 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19311 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19312 (gst_fake_src_base_init), (gst_fake_src_class_init),
19313 (gst_fake_src_init), (gst_fake_src_event_handler),
19314 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
19315 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
19316 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
19317 (gst_fake_src_create_buffer), (gst_fake_src_create),
19318 (gst_fake_src_start), (gst_fake_src_stop):
19319 * gst/elements/gstfakesrc.h:
19320 * gst/elements/gstfilesink.c: (_do_init),
19321 (gst_file_sink_base_init), (gst_file_sink_class_init),
19322 (gst_file_sink_init), (gst_file_sink_dispose),
19323 (gst_file_sink_set_location), (gst_file_sink_set_property),
19324 (gst_file_sink_get_property), (gst_file_sink_open_file),
19325 (gst_file_sink_close_file), (gst_file_sink_query),
19326 (gst_file_sink_event), (gst_file_sink_render),
19327 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
19328 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
19329 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
19330 * gst/elements/gstfilesink.h:
19331 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
19332 (gst_file_src_class_init), (gst_file_src_init),
19333 (gst_file_src_finalize), (gst_file_src_set_location),
19334 (gst_file_src_set_property), (gst_file_src_get_property),
19335 (gst_file_src_map_region), (gst_file_src_map_small_region),
19336 (gst_file_src_create_mmap), (gst_file_src_create_read),
19337 (gst_file_src_create), (gst_file_src_is_seekable),
19338 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
19339 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
19340 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
19341 (gst_file_src_uri_handler_init):
19342 * gst/elements/gstfilesrc.h:
19343 more autistic cleanliness in functions/names/defines
19345 2005-07-13 Andy Wingo <wingo@pobox.com>
19347 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19348 source couldn't negotiate.
19350 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19354 * gst/gstutils.c (gst_element_link_pads_filtered): New old
19355 function. I am channeling Hades. Put your boots on suckers!!!
19357 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
19359 * testsuite/caps/Makefile.am:
19360 * testsuite/caps/value_compare.c:
19361 * testsuite/caps/value_intersect.c:
19362 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19363 move two testsuite apps over to the check dir
19365 2005-07-12 Wim Taymans <wim@fluendo.com>
19367 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19368 Added more debug info in the negotiate process.
19370 * gst/gstmessage.h:
19371 Prepare for segment playback.
19373 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19379 * tools/gst-launch.c: (main):
19380 NULL pipeline on errors.
19382 2005-07-12 Andy Wingo <wingo@pobox.com>
19384 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19385 not it comes from a malloc region. Make sure our copy gets freed.
19387 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19389 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19390 * check/gst/gstmessage.c: (GST_START_TEST):
19391 * check/gst/gststructure.c: (GST_START_TEST),
19392 (gst_structure_suite), (main):
19394 * gst/gstelement.c: (gst_element_message_full):
19395 clean up GError and debug string now that they get copied
19396 * gst/gstmessage.c: (gst_message_new_error),
19397 (gst_message_new_warning), (gst_message_parse_error),
19398 (gst_message_parse_warning):
19399 use GST_TYPE_G_ERROR for structure_new, and take copies of
19400 arguments, so that we don't mess up refcounting
19402 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19404 * check/Makefile.am:
19405 add per-test valgrind targets
19406 * check/gst-libs/gdp.c: (GST_START_TEST),
19407 (gst_data_protocol_suite), (main):
19410 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19412 * check/Makefile.am:
19413 instate more valgrindable tests
19414 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19415 (GST_START_TEST), (fakesrc_suite):
19416 * check/gst/gstpad.c: (GST_START_TEST):
19417 * check/gst/gststructure.c: (GST_START_TEST):
19419 * docs/gst/tmpl/gstminiobject.sgml:
19420 * gst/gstpad.c: (gst_pad_finalize):
19421 fix the static mutex leak
19423 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19425 * check/Makefile.am:
19426 add two more tests for valgrinding
19427 * check/gst/gstvalue.c: (GST_START_TEST):
19428 test refcount of deserialized buffer, found a leak
19429 * docs/gst/gstreamer-docs.sgml:
19430 * docs/gst/gstreamer-sections.txt:
19431 * docs/gst/gstreamer.types:
19432 * docs/gst/tmpl/gstminiobject.sgml:
19433 add miniobject to docs
19434 * gst/gstminiobject.c:
19436 * gst/gstvalue.c: (gst_value_deserialize_buffer),
19437 (gst_string_unwrap):
19438 fix a hard-to-find invalid write for one of the tests
19439 fix a leak for deserialized buffers
19441 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19443 * docs/pwg/advanced-events.xml:
19444 * docs/pwg/advanced-request.xml:
19445 * docs/pwg/advanced-scheduling.xml:
19446 * docs/pwg/appendix-porting.xml:
19447 * docs/pwg/building-boiler.xml:
19448 * docs/pwg/intro-preface.xml:
19449 * docs/pwg/other-ntoone.xml:
19450 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19451 of example code and explanation for pad activation, loop() and
19452 getrange() functions and a bit more. Remove old comments pointing
19454 * examples/pwg/Makefile.am:
19455 Add loop/getrange examples.
19457 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19460 check for valgrind binary + some fixes
19462 valgrind suppressions for the tests
19463 * check/Makefile.am:
19464 add a valgrind: target that valgrinds the unit tests
19465 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19466 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19467 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19468 * check/gst/gstghostpad.c:
19470 * check/gst/gstdata.c:
19472 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19473 (thread_unref), (gst_mini_object_suite), (main):
19475 * gst/gst.c: (gst_deinit):
19477 add a method to clean up.
19478 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19479 (gst_system_clock_obtain):
19480 allow for disposing the system clock.
19481 * tools/gst-launch.c: (main):
19484 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19486 * docs/gst/tmpl/gstbasesrc.sgml:
19487 * docs/gst/tmpl/gstfakesrc.sgml:
19488 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19489 (gst_base_src_init), (gst_base_src_set_property),
19490 (gst_base_src_get_property), (gst_base_src_get_range),
19491 (gst_base_src_start):
19492 * gst/base/gstbasesrc.h:
19493 add num-buffers property
19494 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19495 (gst_fakesrc_init), (gst_fakesrc_set_property),
19496 (gst_fakesrc_get_property), (gst_fakesrc_create),
19497 (gst_fakesrc_start):
19498 remove num-buffers property
19500 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19502 * docs/gst/gstreamer-sections.txt:
19503 * docs/gst/tmpl/gstbasesink.sgml:
19504 * docs/gst/tmpl/gstbasesrc.sgml:
19505 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19506 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19507 (gst_base_sink_finalize), (gst_base_sink_set_clock),
19508 (gst_base_sink_set_property), (gst_base_sink_get_property),
19509 (gst_base_sink_handle_object), (gst_base_sink_event),
19510 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19511 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19512 (gst_base_sink_loop), (gst_base_sink_deactivate),
19513 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19514 (gst_base_sink_change_state):
19515 * gst/base/gstbasesink.h:
19516 * gst/base/gstbasesrc.h:
19517 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19518 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19519 (gst_filesink_init):
19520 more macro splitting
19522 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19524 * gst/gstelement.c: (gst_element_get_bus):
19526 * tools/gst-launch.c: (check_intr), (event_loop):
19529 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19531 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19534 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19536 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19537 (gst_base_src_finalize):
19538 add finalize method and clean up properly
19539 * gst/gstpipeline.c: (gst_pipeline_dispose):
19542 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19544 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19546 add more things to check
19547 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19548 * gst/gstelement.c:
19551 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19553 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19554 (GST_START_TEST), (fakesrc_suite):
19555 * check/gst-libs/gdp.c: (GST_START_TEST):
19556 * check/gst/gst.c: (GST_START_TEST):
19557 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19558 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19559 * check/gst/gstbus.c: (GST_START_TEST):
19560 * check/gst/gstcaps.c: (GST_START_TEST):
19561 * check/gst/gstdata.c: (GST_START_TEST):
19562 * check/gst/gstelement.c: (GST_START_TEST):
19563 * check/gst/gstghostpad.c: (GST_START_TEST):
19564 * check/gst/gstiterator.c: (GST_START_TEST):
19565 * check/gst/gstmessage.c: (GST_START_TEST):
19566 * check/gst/gstobject.c: (GST_START_TEST):
19567 * check/gst/gstpad.c: (GST_START_TEST):
19568 * check/gst/gststructure.c: (GST_START_TEST):
19569 * check/gst/gstsystemclock.c: (GST_START_TEST),
19570 (gst_systemclock_suite):
19571 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19572 * check/gst/gstvalue.c: (GST_START_TEST):
19573 * check/pipelines/cleanup.c: (GST_START_TEST):
19574 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19575 * check/states/sinks.c: (GST_START_TEST):
19576 * check/gstcheck.c: (gst_check_init):
19577 * check/gstcheck.h:
19578 add debugging category
19579 use GST_START_TEST now, so we add a debug line
19581 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19583 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19584 add test for state change message on a bin
19585 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19587 * gst/gstbin.c: (gst_bin_init):
19588 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19589 * gst/gstelement.c: (gst_element_post_message),
19590 (gst_element_set_state):
19591 * gst/gstelementfactory.c: (gst_element_factory_create):
19592 * gst/gstmessage.c: (gst_message_new):
19593 * gst/gstscheduler.c:
19594 various debugging additions and cleanups
19596 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19598 * check/Makefile.am:
19599 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19601 adding tests for elements
19602 * gst/gstelement.c: (gst_element_dispose):
19604 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19606 * gst/registries/gstlibxmlregistry.c: (load_feature):
19607 plug more leaks. A simple gst_init() now is leakfree, yay.
19609 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19611 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19612 (gst_xml_registry_load):
19613 plug another memleak
19615 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19618 use GST_SET_ERROR_CFLAGS
19619 * docs/faq/cvs.xml:
19620 change to ERROR_CFLAGS
19622 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19625 make GST_ERROR_CFLAGS overridable and re-enable Werror
19626 * docs/faq/cvs.xml:
19627 add a note about error CFLAGS
19628 * docs/gst/tmpl/gstfakesrc.sgml:
19629 * gst/elements/gstfakesrc.c:
19630 comment out some unused code
19631 * gst/gst.c: (split_and_iterate):
19632 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19636 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19638 * common/Makefile.am:
19639 * common/gtk-doc.mak:
19640 * docs/gst/Makefile.am:
19641 factor out gtk-doc.mak
19643 2005-07-07 Wim Taymans <wim@fluendo.com>
19645 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19646 (gst_thread_scheduler_dispose):
19647 Unlock the STREAM_LOCK completely.
19649 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19651 * check/Makefile.am:
19652 * check/elements/.cvsignore:
19653 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19654 (START_TEST), (fakesrc_suite), (main):
19655 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19656 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19657 (gst_fakesrc_create), (gst_fakesrc_start):
19658 * gst/elements/gstfakesrc.h:
19659 adding a first element test
19661 2005-07-07 Andy Wingo <wingo@pobox.com>
19663 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19666 2005-07-07 Wim Taymans <wim@fluendo.com>
19672 2005-07-07 Wim Taymans <wim@fluendo.com>
19674 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19675 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19676 Allow subclasses to implement their own negotiation.
19678 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19680 * docs/design/part-gstbin.txt:
19681 * docs/design/part-gstpipeline.txt:
19682 Update design notes to reflect the movement of
19683 responsibility for bus handling from GstPipeline to
19686 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19689 Remove unnecessary queue2/3/4 examples.
19691 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19693 * examples/Makefile.am:
19694 * examples/helloworld/helloworld.c: (event_loop), (main):
19695 * examples/queue/queue.c: (event_loop), (main):
19696 * examples/queue2/queue2.c: (main):
19697 Update a couple of the examples to work again.
19699 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19700 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19701 Spelling corrections and extra debug.
19703 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19704 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19705 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19707 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19708 (gst_pipeline_change_state):
19709 * gst/gstpipeline.h:
19710 Move the bus handler for children to the GstBin, and create a
19711 separate bus for receiving messages from children to the one the
19712 bus sends 'upwards' on.
19714 2005-07-06 Wim Taymans <wim@fluendo.com>
19717 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19718 (gst_base_sink_handle_object), (gst_base_sink_loop),
19719 (gst_base_sink_change_state):
19720 * gst/base/gstbasesink.h:
19721 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19722 (gst_base_src_init), (gst_base_src_setcaps),
19723 (gst_base_src_getcaps), (gst_base_src_loop),
19724 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19725 (gst_base_src_start), (gst_base_src_change_state):
19726 * gst/base/gstbasesrc.h:
19727 Make basesrc negotiate.
19728 Handle the case where preroll fails in basesink.
19731 2005-07-06 Wim Taymans <wim@fluendo.com>
19733 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19734 Implement the fixate function.
19735 Clean up acceptcaps.
19737 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19739 * docs/pwg/building-filterfactory.xml:
19740 * docs/pwg/pwg.xml:
19741 Remove never-written filter-factory chapter; I'll add the various
19742 base classes to part 4 ("other element types") later on.
19744 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19746 * docs/pwg/advanced-negotiation.xml:
19747 * docs/pwg/building-boiler.xml:
19748 * docs/pwg/building-pads.xml:
19749 * docs/pwg/pwg.xml:
19750 * examples/pwg/Makefile.am:
19751 Add a chapter on caps negotiation, simplify the original code
19752 samples a bit w.r.t. caps negotiation, add link to the advanced
19753 section. Add a bunch of examples showing different use cases of
19754 different types of caps negotiation. Upstream renegotiation isn't
19755 fully documented yet since nobody knows how that works.
19757 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
19759 * check/gst/gstpad.c:
19760 * check/gstcheck.c:
19761 * gst/gstpad.c: (gst_pad_get_internal_links_default):
19762 if pad has no parent, return NULL as list of internal links
19764 2005-07-05 Andy Wingo <wingo@pobox.com>
19766 * gst/elements/gstfilesrc.c:
19767 * gst/elements/gstfakesrc.c:
19768 * gst/base/gstpushsrc.c:
19769 * gst/base/gstbasesrc.h:
19770 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19772 2005-07-05 Stefan Kost <ensonic@users.sf.net>
19775 better report generation target (lcov needs a patch)
19777 2005-07-05 Andy Wingo <wingo@pobox.com>
19779 * gst/elements, testsuite: Null if we got it...
19781 2005-07-05 Wim Taymans <wim@fluendo.com>
19784 * libs/gst/dataprotocol/Makefile.am:
19785 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19786 * libs/gst/dataprotocol/dataprotocol.h:
19787 * pkgconfig/Makefile.am:
19788 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19789 * pkgconfig/gstreamer-dataprotocol.pc.in:
19790 Ported dataprotol to 0.9.
19791 Added pkgconfig files.
19793 2005-07-05 Andy Wingo <wingo@pobox.com>
19795 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19796 Default to returning TRUE for the case when tranform_caps returns
19797 a fixed caps, like for identity or volume.
19799 * check/gst/gstbus.c (pound_bus_with_messages):
19800 * check/gst/gstmessage.c (START_TEST):
19801 * check/pipelines/simple_launch_lines.c (got_handoff): Application
19802 message API change.
19804 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19805 logic weaks here: always run transform_caps, trying passthrough
19806 operation only if the original caps intersects with the transform.
19808 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19809 source and sink caps.
19811 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19812 Intersect the peer caps with the pad template before going into
19814 (gst_base_transform_transform_caps): More debugging.
19816 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19819 2005-07-04 Edward Hervey <edward@fluendo.com>
19823 (gst_pad_add_*_probe): now returns the signal id for better wrapping
19826 2005-07-04 Andy Wingo <wingo@pobox.com>
19828 * check/gst/gstpad.c: Only set explicit caps on pads.
19830 2005-07-01 Andy Wingo <wingo@pobox.com>
19832 * tests/network-clock.scm: Commentary update.
19834 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19835 Didn't really make sense, not implementable with basetransform,
19837 (gst_identity_transform): Unref inbuf via make_writable. Feeble
19838 attempt at implementing the sync property, needs an unlock method.
19840 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19841 New func, by default returns the same caps (the identity
19843 (gst_base_transform_getcaps): Uses transform_caps to return
19844 something sensible.
19845 (gst_base_transform_setcaps): Complicated logic to get caps on
19846 both pads, even if they are different, and to call set_caps once
19847 for every time both pads get their caps set.
19848 (gst_base_transform_handle_buffer): Give the ref to the transform
19849 function. Allows in-place modification of the buffer.
19851 * gst/base/gstbasetransform.h (transform_caps): New class method.
19852 Given caps on one side, what can I do on the other.
19853 (set_caps): Take two caps, one for each side of the element.
19856 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19857 caps in place. This is safe because we can check the mutability of
19858 the caps, and a good idea because fixate functions are just called
19859 as a matter of last resort. (Not actually implemented.)
19860 (gst_pad_set_caps): If the caps we're setting is actually the same
19861 as the existing pad caps, just update the pointer without calling
19862 setcaps. Assert that caps is either NULL or fixed, as per the
19865 * gst/gstghostpad.c: Update for fixate changes.
19867 2005-07-02 Andy Wingo <wingo@pobox.com>
19870 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19871 two refcounts makes it immutable, which is enough. Doc more.
19873 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
19875 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19876 Put the mini_object into GValue as a mini_object,
19877 not a gpointer, since that's how we declared
19880 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19882 * examples/pwg/Makefile.am:
19883 Fix buildbot again.
19885 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19887 * docs/pwg/building-testapp.xml:
19889 * examples/pwg/Makefile.am:
19892 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19895 * examples/Makefile.am:
19896 * examples/pwg/Makefile.am:
19897 * examples/pwg/extract.pl:
19898 Enable building the PWG examples.
19899 * docs/pwg/advanced-interfaces.xml:
19900 Add URI interface stub.
19901 * docs/pwg/advanced-types.xml:
19902 * docs/pwg/other-autoplugger.xml:
19903 * docs/pwg/appendix-porting.xml:
19904 * docs/pwg/pwg.xml:
19905 Add porting guide (mostly stubs), remove autoplugging (see ADM).
19906 * docs/pwg/building-boiler.xml:
19907 * docs/pwg/building-chainfn.xml:
19908 * docs/pwg/building-pads.xml:
19909 * docs/pwg/building-props.xml:
19910 * docs/pwg/building-state.xml:
19911 * docs/pwg/building-testapp.xml:
19912 Update the building-*.xml parts for 0.9 changes. All examples
19913 code blocks compile in examples/pwg/*.
19915 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19917 * docs/manual/advanced-autoplugging.xml:
19918 * docs/manual/appendix-checklist.xml:
19919 * docs/manual/appendix-integration.xml:
19920 * docs/manual/highlevel-components.xml:
19921 Fix playbin/decodebin examples, update docs a bit, mention bus
19922 instead of signals in various places, mention kmplayer and
19923 kaffeine since they have a working GStreamer backend in the KDE
19926 2005-06-30 Wim Taymans <wim@fluendo.com>
19929 * docs/design/draft-ghostpads.txt:
19930 * docs/design/draft-push-pull.txt:
19931 * docs/design/draft-query.txt:
19932 * docs/design/part-TODO.txt:
19933 * docs/design/part-query.txt:
19934 Added CHANGES-0.9 doc, updated status of other docs.
19939 2005-06-30 Wim Taymans <wim@fluendo.com>
19941 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19942 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19943 (gst_base_sink_change_state):
19944 * gst/base/gstbasesink.h:
19945 Some tweaks, only EOS and a buffer complete a preroll.
19947 2005-06-30 Andy Wingo <wingo@pobox.com>
19949 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19950 activate_push down to the internal pad as well.
19952 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
19954 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19956 * gst/gsttaginterface.c:
19957 Some documentation fixes (#307394 and #307397).
19959 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
19961 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19963 * gst/gstvalue.c: (gst_value_intersect_list):
19964 Fix memleak (#309125).
19966 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19968 * docs/manual/advanced-dataaccess.xml:
19969 Fix fakesrc example to compile; doesn't work, bug somewhere...?
19970 * docs/manual/basics-pads.xml:
19971 Add reference for filtered caps to above chapter.
19973 2005-06-30 Wim Taymans <wim@fluendo.com>
19975 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19976 (gst_bin_change_state):
19978 Lame attempt at making the state change function a bit
19981 2005-06-30 Wim Taymans <wim@fluendo.com>
19983 * docs/design/part-clocks.txt:
19984 * docs/design/part-element-sink.txt:
19985 * docs/design/part-events.txt:
19986 * docs/design/part-preroll.txt:
19987 * docs/design/part-states.txt:
19988 Some more tweeks and additions to the docs.
19990 2005-06-30 Wim Taymans <wim@fluendo.com>
19992 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19993 (default_have_data), (gst_pad_class_init), (gst_pad_init),
19994 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19995 (gst_pad_check_pull_range), (gst_pad_get_range),
19996 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19998 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19999 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20000 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20001 (gst_pad_remove_buffer_probe):
20002 Removed atomic operations, use existing LOCK.
20003 Move exception handling out of main code path.
20005 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20007 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20008 (silly_return_true_function), (gst_pad_class_init),
20009 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
20010 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
20011 (gst_pad_send_event):
20012 Fix accumulator, add default value by using _emitv() instead
20013 of _emit() for signal emission.
20015 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20017 * docs/manual/advanced-dataaccess.xml:
20018 * examples/manual/Makefile.am:
20020 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
20023 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
20025 * gst/elements/gstfilesink.c: (gst_filesink_render):
20026 Simplify code so that we don't have to handle short
20027 writes and return GST_FLOW_ERROR if an error occured.
20029 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20031 * docs/gst/gstreamer-docs.sgml:
20032 Remove probes more.
20034 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20036 * docs/gst/gstreamer-sections.txt:
20037 * docs/gst/tmpl/gstpad.sgml:
20038 * docs/gst/tmpl/gstprobe.sgml:
20040 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
20041 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
20042 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20043 (gst_pad_push_event), (gst_pad_send_event):
20045 * gst/gstutils.c: (gst_pad_add_data_probe),
20046 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
20047 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
20048 (gst_pad_remove_buffer_probe):
20050 Remove old probes, add new g-signal-based probes and some utility
20053 2005-06-29 Edward Hervey <edward@fluendo.com>
20055 * gst/gstelementfactory.c:
20058 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
20059 the definition to the header file.
20061 2005-06-29 Andy Wingo <wingo@pobox.com>
20063 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
20064 plugins from the source directory.
20066 2005-06-29 Wim Taymans <wim@fluendo.com>
20068 * docs/gst/tmpl/gstbuffer.sgml:
20069 * docs/gst/tmpl/gstclock.sgml:
20070 Some fixings for blantently wrong text.
20072 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
20074 * check/Makefile.am:
20075 * gst/gst.c: (add_path_func), (init_pre):
20076 * gst/gstregistry.c: (gst_registry_add_path):
20077 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
20078 only scan the GST_PLUGIN_PATH locations, and not add
20081 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
20083 * docs/gst/gstreamer-sections.txt:
20084 * docs/gst/tmpl/gstbasesrc.sgml:
20085 * gst/gstelement.c:
20086 * gst/gstelement.h:
20091 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20093 * docs/manual/advanced-autoplugging.xml:
20094 Fix autoplugging example.
20096 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20098 * docs/manual/advanced-autoplugging.xml:
20099 * docs/manual/mime-world.fig:
20100 Try to get autoplugging working, fix type detection. Fix text
20101 in hello-world image.
20103 2005-06-29 Wim Taymans <wim@fluendo.com>
20105 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20106 (gst_base_sink_change_state):
20110 map SIGNAL and BROADCAST to the right function.
20113 Remove redundant braces.
20115 * gst/gstpad.c: (gst_pad_set_caps):
20116 Don't call setcaps function when reseting caps to NULL.
20118 * gst/gstsystemclock.c: (gst_system_clock_dispose),
20119 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
20120 (gst_system_clock_id_unschedule):
20121 Use BROADCAST as this is what we do.
20123 2005-06-29 Wim Taymans <wim@fluendo.com>
20125 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20126 We are actually prerolling before commiting the state
20129 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20131 * docs/manual/advanced-clocks.xml:
20132 * docs/manual/advanced-interfaces.xml:
20133 * docs/manual/advanced-metadata.xml:
20134 * docs/manual/advanced-position.xml:
20135 * docs/manual/advanced-schedulers.xml:
20136 * docs/manual/advanced-threads.xml:
20137 * docs/manual/appendix-porting.xml:
20138 * docs/manual/basics-bins.xml:
20139 * docs/manual/basics-bus.xml:
20140 * docs/manual/basics-elements.xml:
20141 * docs/manual/basics-helloworld.xml:
20142 * docs/manual/basics-pads.xml:
20143 * docs/manual/highlevel-components.xml:
20144 * docs/manual/manual.xml:
20145 * docs/manual/thread.fig:
20146 Update (until threads/scheduling) Application Development Manual;
20147 remove GstThread, add GstBus, add simple porting checklist, add
20148 documentation for tag writing, clocks, make all examples until this
20149 part compile and run.
20150 * examples/manual/Makefile.am:
20151 Update from changes to Application Development Manual; add bus
20152 example, remove thread example.
20154 2005-06-28 Wim Taymans <wim@fluendo.com>
20156 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
20157 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
20158 (gst_bus_source_dispatch):
20159 Add debugging messages.
20160 Make internal methods static.
20161 Handle the case where the bus is flushed in the handler.
20163 * gst/gstelement.c: (gst_element_get_bus):
20164 Fix refcount in _get_bus();
20166 * gst/gstpipeline.c: (gst_pipeline_change_state),
20167 (gst_pipeline_get_clock_func):
20168 Clock refcounting fixes.
20169 Handle the case where preroll timed out more gracefully.
20171 * gst/gstsystemclock.c: (gst_system_clock_dispose):
20172 Clean up the internal thread in dispose. This is needed
20173 for subclasses that actually get disposed.
20175 * gst/schedulers/threadscheduler.c:
20176 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
20177 (gst_thread_scheduler_dispose):
20178 Free thread pool in dispose.
20180 2005-06-28 Andy Wingo <wingo@pobox.com>
20182 * tests/network-clock-utils.scm (debug, print-event): New utils.
20184 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
20185 (*packet-loss*): Unified loss probability.
20186 (network-time): Report out-of-band events.
20188 * tests/plot-data: Add support for out-of-band events. Hack it
20189 into this script instead of passing it down the pipe; should fix
20192 2005-06-28 Wim Taymans <wim@fluendo.com>
20194 * docs/gst/gstreamer.types:
20195 * docs/gst/tmpl/gstbasesrc.sgml:
20196 * docs/gst/tmpl/gstpad.sgml:
20199 2005-06-28 Wim Taymans <wim@fluendo.com>
20201 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20202 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
20203 (gst_proxy_pad_do_fixatecaps):
20204 Correctly proxy the check_pull_range function.
20206 2005-06-28 Andy Wingo <wingo@pobox.com>
20208 * tests/network-clock.scm: Removed need for slib.
20210 2005-06-28 Wim Taymans <wim@fluendo.com>
20212 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
20213 (gst_basesink_preroll_queue_flush):
20214 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
20215 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
20216 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20217 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20218 (gst_proxy_pad_set_property):
20221 * gst/gstqueue.c: (gst_queue_init):
20222 The deprecated pad loop function is removed now.
20224 2005-06-28 Andy Wingo <wingo@pobox.com>
20226 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
20227 New parameters, simulate network packet loss.
20229 * tests/network-clock-utils.scm: Initialize the RNG.
20231 2005-06-28 Wim Taymans <wim@fluendo.com>
20233 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
20234 (gst_basesink_event), (gst_basesink_deactivate):
20235 Flushing the preroll queue always needs to unlock the waiters.
20237 2005-06-28 Edward Hervey <edward@fluendo.com>
20239 * gst/gstpipeline.c: (gst_pipeline_send_event):
20240 Wheen a seek was successful on a pipeline, set the stream_time to the
20241 seek offset in order to have a synchronized stream_time.
20243 2005-06-28 Wim Taymans <wim@fluendo.com>
20245 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20246 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
20247 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
20248 (gst_proxy_pad_do_fixatecaps):
20249 Call wrapper function instead of just calling the function
20250 pointers. This takes care of any locking and whatmore.
20252 2005-06-28 Wim Taymans <wim@fluendo.com>
20254 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
20255 (gst_pad_pull_range):
20257 CONNECTED -> LINKED.
20259 2005-06-28 Andy Wingo <wingo@pobox.com>
20261 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
20262 source-munging commit!!!
20264 * gst/gstobject.c (gst_object_unref, gst_object_ref)
20265 (gst_object_sink): Take gpointer arguments, not GstObject --
20266 avoids casts. Like GLib.
20268 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
20271 2005-06-27 Andy Wingo <wingo@pobox.com>
20273 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
20276 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
20277 returns a sorted copy of the trace list.
20278 (gst_alloc_trace_print_live): New API, only prints traces with
20279 live objects. Sort the list.
20280 (gst_alloc_trace_print_all): Sort the list.
20281 (gst_alloc_trace_print): Align columns.
20283 * gst/elements/gstttypefindelement.c:
20284 * gst/elements/gsttee.c:
20285 * gst/base/gstbasesrc.c:
20286 * gst/base/gstbasesink.c:
20287 * gst/base/gstbasetransform.c:
20288 * gst/gstqueue.c: Adapt for pad activation changes.
20290 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
20292 (gst_pipeline_dispose): Drop ref on sched.
20294 * gst/gstpad.c (gst_pad_init): Set the default activate func.
20295 (gst_pad_activate_default): Push mode by default.
20296 (pre_activate_switch, post_activate_switch): New stubs, things to
20297 do before and after switching activation modes on pads.
20298 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
20299 the pad's activate function to choose which mode to activate.
20300 Shortcut on deactivation and call the right function directly.
20301 (gst_pad_activate_pull): New API, (de)activates a pad in pull
20303 (gst_pad_activate_push): New API, same for push mode.
20304 (gst_pad_set_activate_function)
20305 (gst_pad_set_activatepull_function)
20306 (gst_pad_set_activatepush_function): Setters for new API.
20308 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
20309 Trace all miniobjects.
20310 (gst_mini_object_make_writable): Unref the arg if we copy, like
20311 gst_caps_make_writable.
20313 * gst/gstmessage.c (_gst_message_initialize): No trace init.
20315 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
20316 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
20317 Adapt for new pad API.
20319 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
20321 * gst/gstelement.h:
20322 * gst/gstelement.c (gst_element_iterate_src_pads)
20323 (gst_element_iterate_sink_pads): New API functions.
20325 * gst/gstelement.c (iterator_fold_with_resync): New utility,
20326 should fold into gstiterator.c in some form.
20327 (gst_element_pads_activate): Simplified via use of fold and
20328 delegation of decisions to gstpad->activate.
20330 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
20333 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
20334 class once in init, like gstmessage. Didn't run into this issue
20335 but it seems correct. Don't initialize a trace, gstminiobject does
20338 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
20339 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
20341 (assert_live_count): New util function, uses alloc traces to check
20344 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20345 To be modified when unlink drops the internal pad.
20347 2005-06-27 Wim Taymans <wim@fluendo.com>
20349 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20350 (gst_bin_change_state):
20351 Cleanup the get_state() function a little, make sure it
20352 iterates the same set of elements.
20353 Added stub iterate_state_order().
20355 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
20357 * docs/gst/gstreamer-docs.sgml:
20358 * docs/gst/gstreamer-sections.txt:
20359 * docs/gst/gstreamer.types:
20360 * docs/gst/tmpl/gstbasesink.sgml:
20361 * docs/gst/tmpl/gstbasesrc.sgml:
20362 * docs/gst/tmpl/gstbasetransform.sgml:
20363 * docs/gst/tmpl/gstelement.sgml:
20364 * docs/gst/tmpl/gstiterator.sgml:
20365 * gst/base/gstbasesrc.c:
20366 * gst/base/gstbasesrc.h:
20367 * gst/base/gstbasetransform.h:
20368 * gst/gstelement.c:
20369 * gst/gstiterator.h:
20370 adding basetransform and iterator docs
20372 2005-06-27 Andy Wingo <wingo@pobox.com>
20374 * docs/design/part-activation.txt: Notes on how activation should
20375 work -- not quite implemented yet.
20377 2005-06-25 Wim Taymans <wim@fluendo.com>
20379 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20380 At least get the chain function correct, needs more
20383 2005-06-25 Wim Taymans <wim@fluendo.com>
20385 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20386 (gst_basesink_handle_object), (gst_basesink_event),
20387 (gst_basesink_do_sync), (gst_basesink_handle_event),
20388 (gst_basesink_change_state):
20390 Right, two problems here: ghostpads don't take locks and
20391 glib _rec_mutex_lock_full() with depth==0 still locks.
20392 Catch illegal locking and g_warn them.
20394 2005-06-25 Wim Taymans <wim@fluendo.com>
20396 * check/states/sinks.c: (START_TEST), (gst_object_suite):
20397 Have to check for completion now...
20399 2005-06-25 Wim Taymans <wim@fluendo.com>
20401 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20402 (gst_basesink_handle_object), (gst_basesink_event),
20403 (gst_basesink_do_sync), (gst_basesink_handle_event),
20404 (gst_basesink_change_state):
20406 Unlock STREAM_LOCK whatever the recursion was.
20408 2005-06-25 Wim Taymans <wim@fluendo.com>
20410 * gst/base/gstbasesink.c: (gst_basesink_set_property),
20411 (gst_basesink_preroll_queue_empty),
20412 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20413 (gst_basesink_event), (gst_basesink_do_sync),
20414 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20415 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20416 (gst_basesink_change_state):
20417 Reworked the base sink, handle event and buffer serialisation
20418 correctly and removed possible deadlock.
20419 Handle EOS correctly.
20421 2005-06-25 Wim Taymans <wim@fluendo.com>
20423 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20424 (gst_pipeline_change_state):
20425 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20426 Allow elements to post EOS in the state change function.
20427 Fix up -launch, make it exit the poll loop when the
20428 pipeline actually changed state.
20429 Fix up warning parsing in -launch.
20431 2005-06-25 Wim Taymans <wim@fluendo.com>
20433 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20434 (gst_tee_sink_activate):
20435 Core takes STREAM_LOCK for us now.
20437 2005-06-25 Wim Taymans <wim@fluendo.com>
20439 * gst/gstelement.c: (gst_element_get_state_func),
20440 (gst_element_set_state):
20441 * gst/gstelement.h:
20442 * gst/gstmessage.c: (gst_message_parse_error),
20443 (gst_message_parse_warning):
20444 Keep track of current target state while performing a state
20445 change so that subclasses can do something interesting.
20446 Fix parsing of warning/error messages when GError is NULL.
20448 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
20450 * docs/gst/Makefile.am:
20451 * docs/gst/gstreamer-docs.sgml:
20452 * docs/gst/gstreamer-sections.txt:
20453 * docs/gst/gstreamer.types:
20454 * docs/gst/tmpl/gstbasesink.sgml:
20455 * docs/gst/tmpl/gstbasesrc.sgml:
20456 * docs/gst/tmpl/gstbin.sgml:
20457 * docs/gst/tmpl/gstcompat.sgml:
20458 * docs/gst/tmpl/gstfakesink.sgml:
20459 * docs/gst/tmpl/gstfakesrc.sgml:
20460 * docs/gst/tmpl/gstfilesink.sgml:
20461 * docs/gst/tmpl/gstfilesrc.sgml:
20462 * docs/gst/tmpl/gstindex.sgml:
20463 * docs/manual/appendix-quotes.xml:
20464 * gst/base/gstbasesrc.h:
20465 * gst/elements/gstfakesrc.h:
20466 * gst/gstmessage.h:
20467 start pulling in base classes and elements in our docs
20469 2005-06-24 Stefan Kost <ensonic@users.sf.net>
20471 * docs/gst/Makefile.am:
20472 * docs/libs/Makefile.am:
20473 fixed make distcheck with gtk-doc 1.3
20475 2005-06-23 Wim Taymans <wim@fluendo.com>
20477 * gst/gstelement.c: (gst_element_get_state_func),
20478 (gst_element_set_state), (gst_element_change_state):
20479 When the state did not change, also report NO_PREROLL
20482 2005-06-23 Wim Taymans <wim@fluendo.com>
20484 * gst/gstpad.c: (gst_pad_event_default):
20485 * gst/gstqueue.c: (gst_queue_loop):
20486 No unsafe task pausing please.
20488 2005-06-23 Wim Taymans <wim@fluendo.com>
20490 * gst/schedulers/threadscheduler.c:
20491 (gst_thread_scheduler_task_start),
20492 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20493 Ref the task before pushing it on the threadpool. This
20494 makes sure that we have a ref when the threadfunction is
20497 2005-06-23 Andy Wingo <wingo@pobox.com>
20499 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20500 offset is greater than the file's size.
20502 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
20503 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20504 * gst/gstobject.c (gst_object_class_init): Make the class lock
20505 recursive. Wim won't let me drop deep_notify. Decodebin works
20506 again, whoopdy doo.
20508 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20509 internal pad, and hacks accordingly. Doesn't do it on the target
20510 pad because we change its caps. Probably catches all cases of
20512 (gst_ghost_pad_set_property): Connect to notify::caps as
20515 * tests/network-clock.scm (plot-simulation): Pipe data to the
20516 elite python skript.
20518 * tests/network-clock-utils.scm (define-parameter): New macro,
20519 defines a parameter that can be set via the command line.
20520 (set-parameter!, parse-parameter-arguments): Command line args
20523 * tests/plot-data: Simple matplotlib-based plotter, takes input on
20526 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
20528 * gst/elements/gsttypefindelement.c:
20529 (gst_type_find_element_handle_event):
20530 Don't restart typefinding on a discont.
20531 * gst/gstelement.c: (gst_element_set_state):
20532 Debug spelling fix.
20533 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20534 Allow changing mode of an active pad.
20535 Debug output fixes.
20536 * gst/registries/gstlibxmlregistry.c: (load_feature):
20537 Don't cast a static pad template to a normal pad template.
20539 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
20541 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20542 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20543 remove gst_strtoll completely, since it didn't actually do
20544 anything more than what g_ascii_strtoull already does.
20545 check for range errors when deserializing
20546 do a cast for the unsigned cases; but further fixing needs
20547 a decision on what the interpretation of "(int)" and
20548 deserialization should be for values that fall outside the
20549 type's boundaries (ie, refuse, or interpret as casting)
20551 2005-06-23 Wim Taymans <wim@fluendo.com>
20553 * check/Makefile.am:
20554 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20555 * docs/design/part-live-source.txt:
20556 * docs/design/part-states.txt:
20557 * gst/base/gstbasesrc.c: (gst_basesrc_init),
20558 (gst_basesrc_set_live), (gst_basesrc_is_live),
20559 (gst_basesrc_get_range), (gst_basesrc_activate),
20560 (gst_basesrc_change_state):
20561 * gst/base/gstbasesrc.h:
20562 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20563 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20564 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20565 * gst/gstelement.c: (gst_element_get_state_func),
20566 (gst_element_set_state):
20567 * gst/gstelement.h:
20569 * tools/gst-launch.c: (event_loop), (main):
20570 Added support for live sources and other elements that
20572 Updated design docs, added live-source design doc.
20573 Implemented live source functionality in basesrc
20574 Fix error condition in _bin_get_state()
20575 Implement live source handling in -launch.
20576 Added check for live sources.
20577 Fixed case in GstBin where elements were changed state
20581 2005-06-23 Andy Wingo <wingo@pobox.com>
20583 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20584 borken refcounting.
20586 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20587 gst_caps_replace takes care of this for us.
20589 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20590 gst_pad_set_caps on the target, not just its setcaps() function.
20592 * tests/network-clock.scm:
20593 * tests/network-clock-utils.scm: A network clock simulator.
20594 Something of an algorithmic testbed before doing something in C.
20596 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20598 * check/Makefile.am:
20599 * check/gst/capslist.h:
20600 copy over from 0.8, and add two with bitmasks specified with
20602 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20603 add test to parse everything from capslist.h
20604 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20606 add test for structure deserialization
20607 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20608 add tests for deserialization of strings to int types
20609 * gst/gststructure.c: (gst_structure_nth_field_name):
20610 * gst/gststructure.h:
20611 add a way to get the name of a field referenced by index
20612 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20613 instead of checking if the resulting long long lies between
20614 min and max, we check if the long long would fit into
20615 a number of bytes for the final type.
20616 This fixes cases where a string represents 2^32 - 1, which
20617 when cast to int would be the (valid) -1, but is bigger than
20620 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20622 * gst/parse/grammar.y:
20623 add a log line for type deserialization
20625 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20627 * check/gst/gstvalue.c: (START_TEST):
20628 * gst/gstvalue.c: (gst_value_deserialize):
20629 return long long, not int, so gint64 deserialization actually
20630 works. Is there any flag that makes the compiler check this ?
20633 2005-06-22 Wim Taymans <wim@fluendo.com>
20636 Added convenience macros for setting buffers in GValue.
20638 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20640 * check/gst/.cvsignore:
20641 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20642 add a test deserializing int64, and comment part out because
20645 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20647 * check/Makefile.am:
20648 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20649 * testsuite/Makefile.am:
20650 * testsuite/caps/Makefile.am:
20651 * testsuite/caps/value_serialize.c:
20652 * testsuite/test_gst_init.c:
20653 move a value_serialize test over
20655 2005-06-20 Wim Taymans <wim@fluendo.com>
20660 * gst/gstvalue.c: (gst_value_compare_buffer),
20661 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20662 (gst_value_compare_flags), (gst_value_serialize_flags),
20663 (gst_value_deserialize_flags), (_gst_value_initialize):
20664 Fix serialisation of buffers, they are not boxed types anymore
20666 2005-06-20 Wim Taymans <wim@fluendo.com>
20668 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20669 Testcase to show error in buffer-on-caps serialisation.
20671 2005-06-20 Andy Wingo <wingo@pobox.com>
20673 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20674 will be adding to later.
20676 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20677 if its socks fill with rocks.
20678 (gst_system_clock_obtain): Set the name on object construction.
20679 Avoid double-checked locking.
20681 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
20683 * gst/gsturi.c: (gst_element_make_from_uri):
20684 Fix potential endless loop.
20686 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20688 * check/Makefile.am:
20690 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20692 move over from testsuite dir and clean up
20695 * testsuite/Makefile.am:
20696 * testsuite/tags/.cvsignore:
20697 * testsuite/tags/Makefile.am:
20698 * testsuite/tags/merge.c:
20699 remove testsuite/tags
20701 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20703 * docs/gst/gstreamer-sections.txt:
20704 * docs/gst/tmpl/gstenumtypes.sgml:
20705 * win32/gstenumtypes.c:
20706 clean up documentation build a little
20708 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20710 * check/gstcheck.h:
20711 add macros for checking refcounts on objects and caps
20712 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20713 add some more unit tests
20714 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20715 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20716 fix leaked refcounts (I hope :)) so unittest works
20720 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20722 * configure.ac: back to HEAD
20724 === release 0.9.1 ===
20726 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
20732 2005-06-17 Andy Wingo <wingo@pobox.com>
20734 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20735 assert; it's always possible that the pad gets deactivated in
20736 between the checks in gstpad.c and the implementation. Rely on
20737 finish_preroll() to return a FLUSHING or similar instead of on the
20740 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20741 clock and post an EOS message if we come out of finish_preroll in
20744 2005-06-16 David Schleef <ds@schleef.org>
20746 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20747 (gst_capsfilter_set_property): Allow NULL as possible value
20748 for filter_caps property, indicating GST_CAPS_ANY.
20750 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20752 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20754 * gst/schedulers/Makefile.am:
20756 * gstreamer.spec.in:
20759 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20761 * gstreamer.spec.in:
20764 2005-06-08 Andy Wingo <wingo@pobox.com>
20766 * gst/gstutils.c: RPAD fixes all around.
20767 (gst_element_link_pads): Refcounting fixes.
20769 * tools/gst-inspect.c:
20770 * tools/gst-xmlinspect.c:
20772 * gst/base/gsttypefindhelper.c:
20773 * gst/base/gstbasesink.c:
20774 * gst/gstqueue.c: RPAD fixes.
20776 * gst/gstghostpad.h:
20777 * gst/gstghostpad.c: New ghost pad implementation as full proxy
20778 pads. The tricky thing is they provide both source and sink
20779 interfaces, since they proxy the internal pad for the external
20780 pad, and vice versa. Implement with lower-level ProxyPad objects,
20781 with the interior proxy pad as a child of the exterior ghost pad.
20782 Should write a doc on this.
20784 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20785 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20788 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20789 pads are real pads. No ghost pads in this file. Not documenting
20790 the myriad s/RPAD/PAD/ and REALIZE fixes.
20791 (gst_pad_class_init): Add properties for "direction" and
20792 "template". Both are construct-only, so they can't change during
20793 the life of the pad. Fixes properly deriving from GstPad.
20794 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20795 derived objects, just set properties when creating the objects via
20797 (gst_pad_get_parent): Implement as a function, return NULL if the
20798 parent is not an element.
20799 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20800 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20802 * gst/gstobject.c (gst_object_class_init): Make name a construct
20803 property. Don't set it in the object init.
20805 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20806 with UNKNOWN direction.
20807 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20808 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20809 (gst_element_remove_pad): Remove ghost-pad special cases.
20810 (gst_element_pads_activate): Remove rpad cruft.
20812 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20813 catch the pad's-parent-not-an-element case.
20815 * gst/gst.h: Include gstghostpad.h.
20817 * gst/gst.c (init_post): No more real, ghost pads.
20819 * gst/Makefile.am: Add gstghostpad.[ch].
20821 * check/Makefile.am:
20822 * check/gst/gstbin.c:
20823 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20824 into a bin creates ghost pads, and that the refcounts are right.
20825 Partly moved from gstbin.c.
20827 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20829 * check/gst-libs/.cvsignore:
20830 * check/gst/.cvsignore:
20831 * check/pipelines/.cvsignore:
20833 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20834 (START_TEST), (cleanup_suite), (main):
20835 add some tests related to cleanup after running pipelines
20837 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20839 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20840 add a testsuite for GstBuffer
20842 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20844 * gst/gstminiobject.h:
20845 add defines for accessing the refcount
20847 2005-06-03 Stefan Kost <ensonic@users.sf.net>
20849 * Makefile.am: added support for html unit test coverage reports
20851 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
20853 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20854 Free existing caps if the capsfilter changes. Add a FIXME about
20855 setting those caps on the pads.
20857 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20858 Before adding a ghost pad to a parent bin, check that there isn't
20859 already one for the element on the bin. Prevents infinite recursion
20860 when using decodebin in parse pipelines. Andy says he'll rewrite the
20861 way this works anyway, so ignore the hack.
20863 2005-06-02 Andy Wingo <wingo@pobox.com>
20865 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20866 file size, pass it on to the type find helper.
20868 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20869 segment_start and segment_end properly according to the seek
20870 method. Segment_end is still a bit flaky because offset can be
20871 negative for CUR and END cases, but it takes -1 as an "unset"
20874 2005-06-02 Wim Taymans <wim@fluendo.com>
20876 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20877 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20878 (gst_basesink_activate):
20879 * gst/base/gstbasesink.h:
20880 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20881 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20882 (gst_pad_query), (gst_pad_start_task):
20884 * gst/gstqueue.c: (gst_queue_bufferalloc),
20885 (gst_queue_handle_sink_event), (gst_queue_chain):
20886 Bufferalloc: return GstFlowReturn to more accuratly report
20887 why allocation failed.
20889 2005-06-02 Wim Taymans <wim@fluendo.com>
20891 * gst/gstpipeline.c: (gst_pipeline_send_event):
20892 Take snapshot of state without blocking.
20894 2005-06-02 Wim Taymans <wim@fluendo.com>
20896 * docs/design/part-TODO.txt:
20897 * docs/design/part-caps.txt:
20898 * docs/design/part-clocks.txt:
20899 * docs/design/part-negotiation.txt:
20900 * docs/design/part-preroll.txt:
20903 2005-05-30 Wim Taymans <wim@fluendo.com>
20905 * gst/elements/gstidentity.c: (gst_identity_event),
20906 (gst_identity_transform), (gst_identity_get_property):
20907 Protect last_message property as it is accessed from
20910 2005-05-30 Wim Taymans <wim@fluendo.com>
20912 * gst/gstelement.c: (gst_element_init),
20913 (gst_element_pads_activate), (gst_element_change_state):
20914 Slicker pad activation code.
20916 2005-05-30 Wim Taymans <wim@fluendo.com>
20919 * gst/gstelement.h:
20920 * gst/gstelementfactory.h:
20922 Move elementfactory methods to separate .h file.
20924 2005-05-30 Wim Taymans <wim@fluendo.com>
20926 * docs/design/part-overview.txt:
20927 * gst/gstsystemclock.h:
20928 Small typo fixes, doc updates.
20930 2005-05-30 Wim Taymans <wim@fluendo.com>
20932 * gst/gst.c: (gst_init_get_popt_table), (init_post),
20933 (init_popt_callback):
20934 Remove cpu-opt flag.
20936 2005-05-30 Wim Taymans <wim@fluendo.com>
20938 * gst/gstbuffer.c: (gst_subbuffer_finalize),
20939 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20941 Avoid typechecking in places where not needed.
20942 Added accessor for malloc_data.
20944 2005-05-30 Wim Taymans <wim@fluendo.com>
20946 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20947 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20948 (gst_pad_configure_sink), (gst_pad_configure_src),
20949 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20950 (gst_pad_start_task):
20951 Propagate errors from _set_caps() in configure_src/sink
20952 functions instead of returning TRUE.
20953 FLUSH events can travel up and downstream
20956 2005-05-30 Wim Taymans <wim@fluendo.com>
20958 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20959 (gst_basesink_activate):
20960 Handle EOS in preroll.
20962 2005-05-30 Wim Taymans <wim@fluendo.com>
20964 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20965 (gst_queue_loop), (gst_queue_handle_src_event):
20966 Remove old pieces of code
20967 Flushing the queue in an upstream event is a very bad idea.
20969 2005-05-26 Andy Wingo <wingo@pobox.com>
20971 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20972 gst_value_set_mini_object so as to add a ref on the object (which
20973 will be removed when the value is unset).
20975 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20976 arg type in ::handoff.
20978 * gst/gstelement.c (gst_element_change_state): Also deactivate
20979 pads in READY->NULL, just in case the element didn't make it to
20980 PAUSED. Wingo tested, Wim approved.
20982 2005-05-26 Wim Taymans <wim@fluendo.com>
20984 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20985 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20986 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20987 A flushing pad cannot be used to alloc_buffer from.
20989 2005-05-26 Wim Taymans <wim@fluendo.com>
20991 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20992 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20993 (gst_bus_source_dispatch), (gst_bus_source_finalize),
20994 (gst_bus_create_watch), (gst_bus_add_watch_full):
20996 Implement a real GSource and use g_main_context_wakeup() to
20997 signal new messages instead of the socketpair.
20999 2005-05-25 Wim Taymans <wim@fluendo.com>
21001 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
21002 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
21003 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21004 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21005 (gst_pad_send_event), (gst_pad_start_task):
21006 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
21007 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21008 (gst_queue_sink_activate), (gst_queue_src_activate),
21009 (gst_queue_change_state):
21011 Fix state changes for non sinks. We now change sinks, then elements
21012 with unconnected srcpads, then the rest.
21013 More efficient queue unlocking in flush and state changes.
21014 Set the pad activate mode even if it does not have an activate
21017 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21019 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
21020 Don't go in pull mode for non-seekable sources.
21021 * gst/elements/gsttypefindelement.h:
21022 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21023 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
21024 (free_entry), (stop_typefinding),
21025 (gst_type_find_element_handle_event), (find_peek),
21026 (gst_type_find_element_chain), (do_pull_typefind),
21027 (gst_type_find_element_change_state):
21028 Allow typefinding (w/o seeking) in push-mode, simplified version
21029 of what was in 0.8.
21030 * gst/gstutils.c: (gst_buffer_join):
21032 gst_buffer_join() from 0.8.
21034 2005-05-25 Wim Taymans <wim@fluendo.com>
21036 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
21037 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
21038 (gst_pad_send_event), (gst_pad_start_task):
21039 Disable attempt at mode switching until it is figured out.
21041 2005-05-25 Wim Taymans <wim@fluendo.com>
21043 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
21044 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
21045 (gst_basesink_finish_preroll), (gst_basesink_chain),
21046 (gst_basesink_loop), (gst_basesink_activate),
21047 (gst_basesink_change_state):
21048 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
21049 (gst_basesrc_get_range), (gst_basesrc_loop),
21050 (gst_basesrc_activate):
21051 * gst/elements/gsttee.c: (gst_tee_sink_activate):
21052 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
21053 (gst_real_pad_init), (gst_real_pad_set_property),
21054 (gst_real_pad_get_property), (gst_pad_set_active),
21055 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
21056 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
21057 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
21058 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
21059 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21060 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
21061 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
21062 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21063 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
21064 (gst_pad_stop_task):
21066 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21067 (gst_queue_loop), (gst_queue_src_activate):
21068 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
21069 (gst_task_get_state):
21071 * gst/schedulers/threadscheduler.c:
21072 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
21073 Implement gst_pad_pause/start/stop_task(), take STREAM lock
21075 Remove ACTIVE pad flag, use FLUSHING everywhere
21076 Added _pad_chain(), _pad_get_range() to call chain/getrange
21078 Add locks around IS_FLUSHING when reading.
21079 Take STREAM lock in chain(), get_range() functions so plugins
21080 don't need to take it anymore.
21084 2005-05-25 Wim Taymans <wim@fluendo.com>
21086 * tools/gst-launch.c: (event_loop):
21087 Unref message after using its contents instead of
21090 2005-05-24 Wim Taymans <wim@fluendo.com>
21092 * docs/design/draft-ghostpads.txt:
21093 * docs/design/draft-push-pull.txt:
21094 * docs/design/draft-query.txt:
21095 * docs/design/part-overview.txt:
21096 Docs updates, added general overview doc.
21098 2005-05-21 David Schleef <ds@schleef.org>
21100 * docs/gst/tmpl/old/GstBin.sgml:
21101 * docs/gst/tmpl/old/GstBuffer.sgml:
21102 * docs/gst/tmpl/old/GstCaps.sgml:
21103 * docs/gst/tmpl/old/GstClock.sgml:
21104 * docs/gst/tmpl/old/GstCompat.sgml:
21105 * docs/gst/tmpl/old/GstData.sgml:
21106 * docs/gst/tmpl/old/GstElement.sgml:
21107 * docs/gst/tmpl/old/GstEvent.sgml:
21108 * docs/gst/tmpl/old/GstIndex.sgml:
21109 * docs/gst/tmpl/old/GstStructure.sgml:
21110 * docs/gst/tmpl/old/GstTag.sgml:
21111 * docs/gst/tmpl/old/cothreads.sgml:
21112 * docs/gst/tmpl/old/cothreads_compat.sgml:
21113 * docs/gst/tmpl/old/gettext.sgml:
21114 * docs/gst/tmpl/old/gobject2gtk.sgml:
21115 * docs/gst/tmpl/old/grammar.tab.sgml:
21116 * docs/gst/tmpl/old/gst-i18n-app.sgml:
21117 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
21118 * docs/gst/tmpl/old/gst_private.sgml:
21119 * docs/gst/tmpl/old/gstaggregator.sgml:
21120 * docs/gst/tmpl/old/gstarch.sgml:
21121 * docs/gst/tmpl/old/gstatomic_impl.sgml:
21122 * docs/gst/tmpl/old/gstbufferstore.sgml:
21123 * docs/gst/tmpl/old/gstdata_private.sgml:
21124 * docs/gst/tmpl/old/gstdisksink.sgml:
21125 * docs/gst/tmpl/old/gstdisksrc.sgml:
21126 * docs/gst/tmpl/old/gstelementfactory.sgml:
21127 * docs/gst/tmpl/old/gstextratypes.sgml:
21128 * docs/gst/tmpl/old/gstfakesink.sgml:
21129 * docs/gst/tmpl/old/gstfakesrc.sgml:
21130 * docs/gst/tmpl/old/gstfdsink.sgml:
21131 * docs/gst/tmpl/old/gstfdsrc.sgml:
21132 * docs/gst/tmpl/old/gstfilesink.sgml:
21133 * docs/gst/tmpl/old/gstfilesrc.sgml:
21134 * docs/gst/tmpl/old/gsthttpsrc.sgml:
21135 * docs/gst/tmpl/old/gstidentity.sgml:
21136 * docs/gst/tmpl/old/gstindexfactory.sgml:
21137 * docs/gst/tmpl/old/gstmarshal.sgml:
21138 * docs/gst/tmpl/old/gstmd5sink.sgml:
21139 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
21140 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
21141 * docs/gst/tmpl/old/gstpadtemplate.sgml:
21142 * docs/gst/tmpl/old/gstpipefilter.sgml:
21143 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
21144 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
21145 * docs/gst/tmpl/old/gstshaper.sgml:
21146 * docs/gst/tmpl/old/gstspider.sgml:
21147 * docs/gst/tmpl/old/gstspideridentity.sgml:
21148 * docs/gst/tmpl/old/gststatistics.sgml:
21149 * docs/gst/tmpl/old/gsttee.sgml:
21150 * docs/gst/tmpl/old/gsttimecache.sgml:
21151 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
21152 * docs/gst/tmpl/old/gstxmlregistry.sgml:
21153 * docs/gst/tmpl/old/gthread-cothreads.sgml:
21154 * docs/gst/tmpl/old/types.sgml:
21155 I didn't intend to add these or check them in.
21157 2005-05-19 David Schleef <ds@schleef.org>
21159 * configure.ac: Use -no-common everywhere. In a sane world, it
21160 would be the default in libtool, because without it, you can't
21161 build DLLs on Windows.
21162 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
21163 * docs/gst/gstreamer-sections.txt:
21164 * docs/gst/tmpl/gstcpu.sgml:
21165 * docs/gst/tmpl/gstdata.sgml:
21166 * docs/gst/tmpl/gstthread.sgml:
21168 2005-05-19 David Schleef <ds@schleef.org>
21170 * gst/gstminiobject.c: (gst_value_set_mini_object),
21171 (gst_value_take_mini_object), (gst_value_get_mini_object):
21172 * gst/gstminiobject.h: Add GValue set/get functions.
21174 2005-05-19 Wim Taymans <wim@fluendo.com>
21176 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
21177 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
21178 (gst_subbuffer_init), (gst_buffer_is_span_fast):
21180 * gst/gstbus.c: (gst_bus_post):
21181 * gst/gstelement.c: (gst_element_get_random_pad):
21182 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
21183 Make subbufer unref the parent in finalize.
21184 some more debugging info.
21187 2005-05-19 Wim Taymans <wim@fluendo.com>
21189 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21190 (gst_basesink_init), (gst_basesink_finalize),
21191 (gst_basesink_activate), (gst_basesink_change_state):
21192 Don't free preroll queue too early.
21194 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21198 Hi, I'm outdated. Please shoot me.
21200 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21202 * gst/gstpipeline.c: (gst_pipeline_send_event):
21203 Do not access variables after they have been deleted.
21205 2005-05-19 Wim Taymans <wim@fluendo.com>
21207 * tools/gst-inspect.c: (print_plugin_features):
21208 A plugin feature does unfortunatly not use the
21211 2005-05-18 Wim Taymans <wim@fluendo.com>
21213 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
21214 Port _span() functions to new subbuffers.
21216 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21218 * gst/gstbin.c: (gst_bin_add_func):
21219 Fix clock settery in bins when adding kids after the clock has
21222 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21224 * gst/elements/gstidentity.c: (gst_identity_class_init):
21225 Workaround until signals support GstMiniObject.
21227 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
21230 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
21232 2005-05-18 Wim Taymans <wim@fluendo.com>
21234 * gst/base/Makefile.am:
21235 * gst/base/gstadapter.c: (gst_adapter_base_init),
21236 (gst_adapter_class_init), (gst_adapter_init),
21237 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
21238 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
21239 (gst_adapter_flush), (gst_adapter_available),
21240 (gst_adapter_available_fast):
21241 * gst/base/gstadapter.h:
21242 Ported and added adapter to the base classes.
21244 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21247 * gst/gstmessage.c:
21248 Make sure the class is reffed/unreffed once before threads can be
21249 used. Fixes #304551.
21251 2005-05-17 Wim Taymans <wim@fluendo.com>
21253 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
21254 (gst_basesink_chain_unlocked), (gst_basesink_activate):
21255 * gst/gstminiobject.c: (gst_mini_object_get_type),
21256 (gst_mini_object_free):
21257 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
21258 (gst_pad_push), (gst_pad_push_event):
21259 * gst/gstqueue.c: (gst_queue_change_state):
21260 Don't queue buffers in basesink when we are flushing.
21261 Unref buffer when flushing in basesink.
21262 Flush queue when going to READY
21263 Unref buffer when _push() returns an error.
21264 Don't free MiniObject instance when refcount is incremented
21265 in _finalize() so that we can recover objects.
21267 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
21269 * docs/manual/advanced-schedulers.xml:
21270 * docs/manual/appendix-checklist.xml:
21271 * docs/pwg/advanced-clock.xml:
21272 * docs/pwg/advanced-interfaces.xml:
21273 * docs/pwg/advanced-request.xml:
21274 * docs/pwg/advanced-types.xml:
21275 * docs/pwg/intro-preface.xml:
21276 * examples/plugins/example.c: (gst_example_get_type),
21277 (gst_example_class_init), (gst_example_chain),
21278 (gst_example_set_property), (gst_example_get_property),
21279 (gst_example_change_state), (plugin_init):
21280 * examples/plugins/example.h:
21283 2005-05-17 Wim Taymans <wim@fluendo.com>
21285 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
21286 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
21287 * gst/gstqueue.c: (gst_queue_change_state):
21288 Clear queue when going to READY.
21289 Remove IN_SETCAPS flag too.
21291 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
21293 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
21294 Remove implicit cast from gboolean to GstElementStateReturn;
21295 make sure we still return failure in paused => ready case if
21296 the parent class fails to change state and our own stop
21299 2005-05-17 Wim Taymans <wim@fluendo.com>
21301 * tools/gst-launch.c: (event_loop):
21302 Message was unreffed too soon.
21304 2005-05-16 Andy Wingo <wingo@pobox.com>
21306 * gst/gstbin.c (sink_iterator_filter): Err... um...
21308 * check/gst/gstbin.c (test_ghost_pads): New test for the
21309 ghosting-if-elements-not-in-same-bin behavior.
21311 2005-05-16 David Schleef <ds@schleef.org>
21313 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
21314 accessing refcount directly.
21316 2005-05-15 David Schleef <ds@schleef.org>
21318 * check/Makefile.am: remove GstData checks
21319 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
21320 * gst/Makefile.am: add miniobject, remove data
21321 * gst/gst.h: add miniobject, remove data
21322 * gst/gstdata.c: remove
21323 * gst/gstdata.h: remove
21324 * gst/gstdata_private.h: remove
21325 * gst/gsttypes.h: remove GstEvent and GstMessage
21326 * gst/gstelement.c: (gst_element_post_message): fix for API changes
21327 * gst/gstmarshal.list: change BOXED -> OBJECT
21329 Implement GstMiniObject.
21330 * gst/gstminiobject.c:
21331 * gst/gstminiobject.h:
21333 Modify to be subclasses of GstMiniObject.
21334 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
21335 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
21336 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
21337 (gst_subbuffer_get_type), (gst_subbuffer_init),
21338 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
21341 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21342 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21343 (_gst_event_copy), (gst_event_new):
21345 * gst/gstmessage.c: (_gst_message_initialize),
21346 (gst_message_get_type), (gst_message_class_init),
21347 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21348 (gst_message_new), (gst_message_new_error),
21349 (gst_message_new_warning), (gst_message_new_tag),
21350 (gst_message_new_state_changed), (gst_message_new_application):
21351 * gst/gstmessage.h:
21352 * gst/gstprobe.c: (gst_probe_perform),
21353 (gst_probe_dispatcher_dispatch):
21355 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21356 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21357 (_gst_query_copy), (gst_query_new):
21359 Update elements for GstData -> GstMiniObject changes
21361 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21362 (gst_queue_chain), (gst_queue_loop):
21363 * gst/elements/gstbufferstore.c:
21364 (gst_buffer_store_add_buffer_func),
21365 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21366 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21367 (gst_fakesink_render):
21368 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21369 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21370 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21371 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21372 (gst_filesrc_create_read):
21373 * gst/elements/gstidentity.c: (gst_identity_class_init):
21374 * gst/elements/gsttypefindelement.c:
21375 (gst_type_find_element_src_event), (free_entry_buffers),
21376 (gst_type_find_element_handle_event):
21377 * libs/gst/dataprotocol/dataprotocol.c:
21378 (gst_dp_header_from_buffer):
21379 * libs/gst/dataprotocol/dataprotocol.h:
21380 * libs/gst/dataprotocol/dp-private.h:
21382 2005-05-15 David Schleef <ds@schleef.org>
21384 * gst/elements/gstelements.c: Don't include headers that were
21387 2005-05-15 David Schleef <ds@schleef.org>
21389 * gst/elements/Makefile.am: Remove some elements that don't
21390 need to be in the core (or even exist at all).
21391 * gst/elements/gstaggregator.c:
21392 * gst/elements/gstaggregator.h:
21393 * gst/elements/gstmd5sink.c:
21394 * gst/elements/gstmd5sink.h:
21395 * gst/elements/gstmultifilesrc.c:
21396 * gst/elements/gstmultifilesrc.h:
21397 * gst/elements/gstpipefilter.c:
21398 * gst/elements/gstpipefilter.h:
21399 * gst/elements/gstshaper.c:
21400 * gst/elements/gstshaper.h:
21401 * gst/elements/gststatistics.c:
21402 * gst/elements/gststatistics.h:
21403 * po/POTFILES.in: Remove above files.
21405 2005-05-14 Andy Wingo <wingo@pobox.com>
21407 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21408 so as to get the refs right.
21409 (sink_iterator_filter): New function, wraps bin_element_is_sink,
21410 unreffing objects that don't pass the filter.
21412 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21413 gst_element_set_bus.
21414 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21415 normal cases, this will destroy the bus.
21417 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21420 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21423 2005-05-13 Andy Wingo <wingo@pobox.com>
21425 * gst/gstutils.c (gst_element_link_pads): Instead of calling
21426 gst_pad_link, call pad_link_maybe_ghosting,
21427 (pad_link_maybe_ghosting): Links pads, making sure that the
21428 elements being linked are in the same bin.
21429 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21430 Helpers for pad_link_maybe_ghosting.
21432 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21435 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21437 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21439 * docs/design/part-element-source.txt:
21442 2005-05-12 Wim Taymans <wim@fluendo.com>
21444 * gst/base/gstbasesink.c: (gst_basesink_init),
21445 (gst_basesink_activate):
21446 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21447 (gst_basesrc_is_seekable):
21448 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21449 (bin_element_is_sink), (gst_bin_change_state):
21450 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21451 * gst/gstelement.h:
21452 Identify sinks by their flag to avoid overly complicated
21454 Do state changes even for elements not reachable from the
21456 BaseSink is a sink now :)
21457 Some more debugging info in the basesrc.
21460 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21462 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21463 Implement _query on a bin, similar to _send_event.
21465 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
21467 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21468 Discont event offset format should be GST_FORMAT_BYTES,
21469 not GST_FORMAT_TIME.
21471 2005-05-12 Wim Taymans <wim@fluendo.com>
21473 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21474 Same fix as Ronald's but without the signal.
21476 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21478 * gst/gstutils.c: (gst_element_query_position):
21479 No, an element is not a pad.
21481 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21483 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21484 (gst_bin_get_state):
21485 If a child is removed from a bin while we remove the child from
21486 the bin and while we're retrieving its state, signal this to the
21487 get_state function so we abort the wait (instead of waiting for
21488 a timeout) and can immediately re-iterate over all other elements.
21490 2005-05-12 Wim Taymans <wim@fluendo.com>
21492 * gst/base/Makefile.am:
21493 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21494 (gst_basesrc_start):
21495 * gst/base/gstbasesrc.h:
21496 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21497 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21498 (gst_pushsrc_init), (gst_pushsrc_create):
21499 * gst/base/gstpushsrc.h:
21500 Added is_seekable to BaseSrc
21501 Added simple PushSrc.
21503 2005-05-11 Wim Taymans <wim@fluendo.com>
21505 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21506 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21507 (gst_element_link_pads), (gst_element_query_position),
21508 (gst_element_query_convert), (intersect_caps_func),
21509 (gst_pad_query_position), (gst_pad_query_convert):
21510 Fix refcounting in utils function.
21511 No point in trying to activate a pad when it's added, it could
21512 be added from the state change function and then we deadlock, the
21513 element has to decide what to do.
21515 2005-05-10 Andy Wingo <wingo@pobox.com>
21517 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21518 *all* the arguments.
21520 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21521 stream lock if it's a FLUSH_DONE; normal flushes don't get the
21522 lock (according to the docs -- if this is wrong change the docs).
21524 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21525 flush messages in the NULL state.
21527 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21528 message immediately and return.
21529 (gst_bus_set_flushing): New function. If a bus is flushing, it
21530 flushes out any queued messages and immediately unrefs new
21531 messages. This is so when an element goes to NULL, all of the
21532 unhandled messages coming from it can be freed, and their
21533 references to the element dropped. In other words: message source
21534 ref considered harmful :P
21536 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21537 we're finished with it.
21539 * gst/gstmessage.c (gst_message_new_state_changed):
21541 2005-05-10 Wim Taymans <wim@fluendo.com>
21543 * gst/gstvalue.c: (gst_value_compare_flags),
21544 (gst_value_serialize_flags), (gst_value_deserialize_flags),
21545 (_gst_value_initialize):
21546 Added flags serialize/deserialize/compare code.
21548 2005-05-09 Andy Wingo <wingo@pobox.com>
21550 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21551 Intersect the peer's caps with our caps.
21553 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21555 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21556 * gst/elements/gsttypefindelement.c: (find_peek):
21557 Handle negative offsets better. Fixes decodebin.
21559 2005-05-09 Wim Taymans <wim@fluendo.com>
21561 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21562 (gst_base_transform_event):
21563 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21564 Implement accept_caps.
21565 Fix silly lock/unlock mismatch in base class.
21567 2005-05-09 Wim Taymans <wim@fluendo.com>
21569 * docs/design/draft-push-pull.txt:
21570 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21571 * gst/elements/gstfilesink.c: (gst_filesink_init),
21572 (gst_filesink_query):
21573 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21574 (gst_type_find_handle_src_query), (find_element_get_length):
21575 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21576 * gst/gstelement.h:
21577 * gst/gstmessage.c:
21578 * gst/gstmessage.h:
21579 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21580 (gst_real_pad_get_caps_unlocked),
21581 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21582 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21583 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21584 (gst_real_pad_dispose), (gst_real_pad_finalize),
21585 (gst_pad_load_and_link), (gst_pad_save_thyself),
21586 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21587 (gst_pad_check_pull_range), (gst_pad_pull_range),
21588 (gst_pad_template_get_type), (gst_pad_template_class_init),
21589 (gst_pad_template_init), (gst_pad_template_dispose),
21590 (name_is_valid), (gst_static_pad_template_get),
21591 (gst_pad_template_new), (gst_static_pad_template_get_caps),
21592 (gst_pad_template_get_caps), (gst_pad_set_element_private),
21593 (gst_pad_get_element_private), (gst_pad_start_task),
21594 (gst_pad_pause_task), (gst_pad_stop_task),
21595 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21596 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21597 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21598 (gst_ghost_pad_new):
21600 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21601 (gst_query_new_position), (gst_query_set_position),
21602 (gst_query_parse_position), (gst_query_new_convert),
21603 (gst_query_set_convert), (gst_query_parse_convert):
21605 * gst/gstqueryutils.c:
21606 * gst/gstqueryutils.h:
21607 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21608 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21609 (gst_queue_handle_src_query):
21610 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21611 (gst_element_query_position), (gst_element_query_convert),
21612 (intersect_caps_func), (gst_pad_query_position),
21613 (gst_pad_query_convert):
21615 * tools/gst-inspect.c: (print_pad_info):
21616 * tools/gst-xmlinspect.c: (print_element_info):
21617 Remove old query functions. Ported old code.
21618 Added position/convert helper functions to gstutils.
21619 Reordered gstpad.c code, grouping relevant things.
21620 Remove gst_message_new(), always need to speficy a specific
21624 2005-05-09 Andy Wingo <wingo@pobox.com>
21626 * gst/gstiterator.h: Add some includes.
21628 * gst/gstqueryutils.h: Include more headers.
21631 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21632 some uses of gst_pad_query.
21634 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21635 NULL out parameters.
21636 (gst_query_new_position): New proc, allocates a new position
21639 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21640 gstqueryutils.c to the build.
21642 * gst/gststructure.c (gst_structure_set_valist): Implement with
21643 the generic G_VALUE_COLLECT.
21645 2005-05-08 Edward Hervey <bilboed@bilboed.com>
21647 * gst/Makefile.am: (gst_headers):
21648 Added gstqueryutils.h to the list of headers to install, that was
21649 a 'nachty' move wingo :)
21651 2005-05-06 Andy Wingo <wingo@pobox.com>
21654 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21655 GstData, init a memchunk.
21656 (standard_definitions): Add a few query types, deprecate a few.
21657 (gst_query_get_type): New proc.
21658 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21660 (gst_query_new_application, gst_query_get_structure): New public
21663 * docs/design/draft-query.txt: Removed LINKS from the query types,
21664 because all the rest can be dispatched to other pads -- seemed
21665 ugly to have a query that couldn't be dispatched. internal_links
21666 is fine as a pad method.
21668 * gst/gstpad.h: Add query2 as a pad method, add the new functions
21669 in gstpad.c, but maintain binary compatibility for the moment.
21670 Will fix before 0.9 is out.
21672 * gst/gstqueryutils.c:
21673 * gst/gstqueryutils.h: New files, implement 3 methods for each
21674 query type: parse_query, parse_response, and set. Probably need an
21677 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21679 * gst/elements/gstfilesink.c (gst_filesink_query2):
21680 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21681 query_types, and formats methods.
21683 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21684 (gst_pad_set_query2_function): New functions.
21685 (gst_real_pad_init): Set query2_default as the default query2
21686 function. Basically just dispatches to internally linked pads.
21690 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21691 without using the atomic operations. Only one thread can possibly
21692 be accessing the data at this point. Changed so as to avoid
21693 gst_atomic operations.
21695 2005-05-06 Wim Taymans <wim@fluendo.com>
21697 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21698 Also set caps if we use the fallback buffer alloc.
21700 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
21702 * docs/gst/Makefile.am:
21703 * docs/gst/gstreamer-docs.sgml:
21704 * docs/gst/gstreamer-sections.txt:
21705 * docs/gst/tmpl/gstatomic.sgml:
21706 * docs/gst/tmpl/gstmemchunk.sgml:
21707 * testsuite/elements/struct_i386.h:
21708 * win32/GStreamer.vcproj:
21710 Purge GstAtomic stuff from docs and win32 makefiles as well
21712 2005-05-06 Wim Taymans <wim@fluendo.com>
21714 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21715 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21716 * gst/gstpad.c: (gst_pad_peer_get_caps):
21717 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21718 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21719 (gst_queue_src_activate), (gst_queue_change_state):
21721 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21722 (intersect_caps_func):
21723 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21724 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21725 Some fixes for the peer_get_caps() change.
21727 2005-05-06 Wim Taymans <wim@fluendo.com>
21729 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21730 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21731 (gst_basesink_activate):
21732 Actually do something with error codes returned from the push
21735 2005-05-06 Wim Taymans <wim@fluendo.com>
21737 * docs/design/part-element-sink.txt:
21738 * docs/design/part-element-source.txt:
21739 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21740 (gst_basesink_event), (gst_basesink_activate):
21741 * gst/base/gstbasesink.h:
21742 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21743 (gst_basesrc_activate):
21744 * gst/base/gstbasesrc.h:
21745 * gst/gstelement.c: (gst_element_pads_activate):
21746 Some more documentation.
21747 Fixed scheduling decision in _pads_activate().
21749 2005-05-05 Andy Wingo <wingo@pobox.com>
21751 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21754 2005-05-05 Wim Taymans <wim@fluendo.com>
21756 * gst/base/Makefile.am:
21757 * gst/base/gstbasesink.h:
21758 * gst/base/gstbasesrc.c: (gst_basesrc_init),
21759 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21760 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21761 (gst_collectpads_class_init), (gst_collectpads_init),
21762 (gst_collectpads_finalize), (gst_collectpads_new),
21763 (gst_collectpads_set_function), (gst_collectpads_add_pad),
21764 (find_pad), (gst_collectpads_remove_pad),
21765 (gst_collectpads_is_active), (gst_collectpads_collect),
21766 (gst_collectpads_collect_range), (gst_collectpads_start),
21767 (gst_collectpads_stop), (gst_collectpads_peek),
21768 (gst_collectpads_pop), (gst_collectpads_available),
21769 (gst_collectpads_read), (gst_collectpads_flush),
21770 (gst_collectpads_chain):
21771 * gst/base/gstcollectpads.h:
21772 * gst/elements/Makefile.am:
21773 * gst/elements/gstelements.c:
21774 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21775 (gst_fakesink_get_times), (gst_fakesink_event),
21776 (gst_fakesink_preroll), (gst_fakesink_render):
21777 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21778 (gst_filesink_init), (gst_filesink_set_location),
21779 (gst_filesink_open_file), (gst_filesink_close_file),
21780 (gst_filesink_pad_query), (gst_filesink_event),
21781 (gst_filesink_render), (gst_filesink_change_state):
21782 * gst/elements/gstfilesink.h:
21783 Added object to help in making collect pad based elements.
21785 Make event function in sink baseclass return gboolean.
21787 2005-05-05 Wim Taymans <wim@fluendo.com>
21789 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21790 (gst_bin_get_by_name):
21792 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21793 (gst_clock_finalize):
21794 * gst/gstdata.c: (gst_data_replace):
21796 * gst/gstelement.c: (gst_element_request_pad),
21797 (gst_element_pads_activate):
21798 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21799 (gst_object_unref):
21800 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21801 (gst_pad_set_checkgetrange_function),
21802 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21803 (gst_pad_check_pull_range), (gst_pad_pull_range),
21804 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21805 (gst_pad_pause_task), (gst_pad_stop_task):
21806 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21807 (gst_element_request_pad), (gst_pad_proxy_getcaps):
21808 Fix name lookup in GstBin.
21809 Added _data_replace() function and _buffer_replace()
21810 Use finalize method to clean up clock.
21811 Fix refcounting on request pads.
21812 Fix pad schedule mode error.
21813 Some more object refcounting debug info,
21816 2005-05-04 Andy Wingo <wingo@pobox.com>
21818 * check/Makefile.am:
21819 * docs/gst/tmpl/gstatomic.sgml:
21820 * docs/gst/tmpl/gstplugin.sgml:
21821 * gst/base/gstbasesink.c: (gst_basesink_activate):
21822 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21823 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21824 (gst_basesrc_query), (gst_basesrc_set_property),
21825 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21826 (gst_basesrc_activate):
21827 * gst/base/gstbasesrc.h:
21828 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21829 (gst_base_transform_src_activate):
21830 * gst/elements/gstelements.c:
21831 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21832 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21833 * gst/elements/gsttee.c: (gst_tee_sink_activate):
21834 * gst/elements/gsttypefindelement.c: (find_element_get_length),
21835 (gst_type_find_element_checkgetrange),
21836 (gst_type_find_element_activate):
21837 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21838 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21839 (gst_caps_load_thyself):
21840 * gst/gstelement.c: (gst_element_pads_activate),
21841 (gst_element_save_thyself), (gst_element_restore_thyself):
21842 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21843 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21845 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21846 (gst_xml_parse_file), (gst_xml_parse_memory),
21847 (gst_xml_get_element), (gst_xml_make_element):
21848 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21849 (_file_index_id_save_xml), (gst_file_index_commit):
21850 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21851 (read_enum), (load_pad_template), (load_feature), (load_plugin),
21853 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21854 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21855 * tools/gst-complete.c: (main):
21856 * tools/gst-compprep.c: (main):
21857 * tools/gst-inspect.c: (print_element_properties_info):
21858 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21859 * tools/gst-xmlinspect.c: (print_element_properties):
21862 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
21864 * gst/gstplugin.c: (gst_plugin_check_module),
21865 (gst_plugin_check_file), (gst_plugin_load_file):
21866 apply patch from #172526 to make register work on MacOSX
21868 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21870 * docs/gst/tmpl/gstconfig.sgml:
21871 * gst/gstconfig.h.in:
21872 move documentation for some symbols. Add doc for GST_PTR_FORMAT
21873 * testsuite/debug/printf_extension.c: (main):
21874 Do not use GST_PTR_FORMAT on pointers to types with
21875 sizeof < sizeof(gpointer). Fixes test on 64-bit
21876 * testsuite/elements/property.h:
21877 use correct printf format
21879 2005-05-02 Wim Taymans <wim@fluendo.com>
21881 * docs/design/draft-push-pull.txt:
21882 * docs/design/draft-query.txt:
21883 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21884 (gst_basesrc_start):
21885 Added draft for new query API.
21886 Added draft for better selecting scheduling methods.
21887 Make basesrc ignore length if the subclass does not support
21890 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21893 possible fixes for automake-1.5 - _LIBADD is reserved
21895 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21897 * docs/faq/Makefile.am:
21898 * docs/manual/Makefile.am:
21899 * docs/manuals.mak:
21900 * docs/pwg/Makefile.am:
21902 possible fixes for automake-1.5
21904 2005-04-28 Wim Taymans <wim@fluendo.com>
21906 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21907 (gst_basesink_pad_getcaps), (gst_basesink_init),
21908 (gst_basesink_do_sync):
21909 * gst/gstclock.c: (gst_clock_entry_new):
21910 * gst/gstevent.c: (gst_event_discont_get_value):
21911 * gst/gstpipeline.c: (pipeline_bus_handler),
21912 (gst_pipeline_change_state):
21913 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21914 Better debugging of clocking info.
21915 Allow NULL values when getting discont values.
21917 2005-04-27 Wim Taymans <wim@fluendo.com>
21919 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21920 * check/gst/gstpad.c: (gst_pad_suite):
21921 Increase timeout for checks.
21923 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21925 * check/Makefile.am:
21926 fix the broken rule for cleanup. Apparently this rule is
21927 only needed on FC2, so maybe this warrants further autotool
21930 2005-04-26 Wim Taymans <wim@fluendo.com>
21932 * gst/gsttrashstack.h:
21933 Ooohh. a nasty one! After having a failed pop() from the stack,
21934 it's possible that the stack is empty. In that case, don't
21935 follow the NULL pointer.
21937 2005-04-25 Wim Taymans <wim@fluendo.com>
21939 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21940 (gst_pad_set_checkgetrange_function),
21941 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21942 (gst_pad_check_pull_range), (gst_pad_pull_range),
21943 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21944 (gst_pad_pause_task), (gst_pad_stop_task):
21945 * gst/gstplugin.c: (gst_plugin_load):
21947 Remove gst_library_load as it does more harm than good with
21948 the new g_module flags.
21949 Revert bogus caps template check in pad linking, pad caps
21950 are important when linking not the template, which is more
21951 general than the current caps.
21953 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21955 * gst/autoplug/.cvsignore:
21956 * gst/autoplug/Makefile.am:
21957 * gst/autoplug/gstsearchfuncs.c:
21958 * gst/autoplug/gstsearchfuncs.h:
21959 * gst/autoplug/gstspider.c:
21960 * gst/autoplug/gstspider.h:
21961 * gst/autoplug/gstspideridentity.c:
21962 * gst/autoplug/gstspideridentity.h:
21963 * gst/autoplug/spidertest.c:
21966 2005-04-25 Wim Taymans <wim@fluendo.com>
21968 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21969 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21970 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21971 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21973 Added stubs for unimplemented functions.
21975 2005-04-24 David Schleef <ds@schleef.org>
21977 * gst/gstpad.h: Disable some unimplemented functions. Wim,
21980 2005-04-24 David Schleef <ds@schleef.org>
21982 Convert everything from GstAtomicInt to g_atomic_int_*, and
21987 * gst/gstatomic_impl.h:
21995 * gst/gstdata_private.h:
21999 * gst/gstmessage.c:
22002 * gst/gststructure.c:
22003 * gst/gststructure.h:
22004 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
22007 2005-04-24 David Schleef <ds@schleef.org>
22009 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
22010 make the regressions tests work. Remove some code that is no
22012 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
22013 Disable warning for pads without templates.
22015 2005-04-24 David Schleef <ds@schleef.org>
22017 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
22018 functions that handle filtered links.
22019 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
22021 * gst/gstutils.c: Fix/remove utility functions that handle
22024 * gst/gstvalue.c: Add serialization/deserialization of caps
22025 * gst/parse/grammar.y: Ignore filtered caps when linking. This
22026 requires fixing so that the filter caps notation creates
22027 a capsfilter element and sets the filter_caps property. I
22028 think everyone probably wants to keep the shorthand notation.
22029 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
22030 * docs/gst/tmpl/gstpad.sgml:
22032 * gst/elements/gstelements.c: Register capsfilter element.
22033 * gst/Makefile.am: fix spacing
22034 * docs/random/ds/0.9-suggested-changes: random
22036 2005-04-23 David Schleef <ds@schleef.org>
22038 * gst/elements/Makefile.am:
22039 * gst/elements/gstcapsfilter.c: New element that acts like an
22040 identity, but filters caps. Will eventually replace filtered
22041 caps in pad linking.
22042 * gst/gstutils.c: (gst_element_create_all_pads): New function
22043 to create all the ALWAYS pads that are registered with an
22044 element class. This functionality should eventually be
22045 merged in with GstElement initialization.
22047 * testsuite/trigger/README: part of trigger test code that should
22048 have been checked in a long time ago.
22050 2005-04-23 David Schleef <ds@schleef.org>
22052 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
22053 needed with new versions of libtool (nobody will confirm this),
22054 and hard to carry around.
22055 * gst/autoplug/Makefile.am:
22056 * gst/base/Makefile.am:
22057 * gst/elements/Makefile.am:
22058 * gst/indexers/Makefile.am:
22059 * gst/schedulers/Makefile.am:
22060 * libs/gst/bytestream/Makefile.am:
22061 * libs/gst/control/Makefile.am:
22062 * libs/gst/dataprotocol/Makefile.am:
22063 * libs/gst/getbits/Makefile.am:
22065 2005-04-21 Wim Taymans <wim@fluendo.com>
22067 * docs/design/draft-push-pull.txt:
22068 * docs/design/part-MT-refcounting.txt:
22069 * docs/design/part-TODO.txt:
22070 * docs/design/part-caps.txt:
22071 * docs/design/part-events.txt:
22072 * docs/design/part-gstbus.txt:
22073 * docs/design/part-gstpipeline.txt:
22074 * docs/design/part-messages.txt:
22075 * docs/design/part-push-pull.txt:
22076 * docs/design/part-query.txt:
22079 2005-04-21 Wim Taymans <wim@fluendo.com>
22081 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
22082 (gst_message_new), (gst_message_new_error),
22083 (gst_message_new_warning), (gst_message_new_tag),
22084 (gst_message_new_state_changed), (gst_message_new_application),
22085 (gst_message_get_structure):
22086 * gst/gstmessage.h:
22087 * gst/gststructure.c: (gst_structure_set_parent_refcount),
22088 (gst_structure_copy_conditional):
22089 Use parent refcount in GstMessage to ensure GstStructure
22091 Cleaned up headers a bit.
22094 2005-04-20 Wim Taymans <wim@fluendo.com>
22096 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22097 (gst_basesink_pad_getcaps), (gst_basesink_init),
22098 (gst_basesink_chain_unlocked):
22099 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
22100 (gst_type_find_helper):
22101 * gst/elements/gsttypefindelement.c:
22102 (gst_type_find_element_have_type), (gst_type_find_element_init),
22103 (stop_typefinding), (gst_type_find_element_handle_event),
22104 (find_suggest), (gst_type_find_element_chain),
22105 (gst_type_find_element_checkgetrange),
22106 (gst_type_find_element_getrange), (do_typefind),
22107 (gst_type_find_element_activate):
22108 * gst/gstbuffer.c: (_gst_buffer_sub_free),
22109 (gst_buffer_default_free), (gst_buffer_default_copy),
22110 (gst_buffer_set_caps):
22111 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
22112 (gst_caps_replace):
22113 * gst/gstmessage.c: (gst_message_new),
22114 (gst_message_new_state_changed):
22115 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22116 (gst_pad_set_checkgetrange_function),
22117 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
22118 (gst_pad_set_caps), (gst_pad_check_pull_range),
22119 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
22121 * gst/gsttypefind.c: (gst_type_find_register):
22122 Make gst_caps_replace() work like other _replace() functions.
22123 Use _caps_replace() where possible.
22124 Make sure _message_new() initialises its field.
22125 Add gst_static_pad_template_get_caps()
22128 2005-04-18 Andy Wingo <wingo@pobox.com>
22130 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
22131 on the peer, not the pad. I think that was a typo. Pass an extra
22132 arg to see if random access is possible. Activate the pads as
22133 PULL_RANGE if possible.
22135 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
22137 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
22138 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
22141 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22143 * docs/faq/using.xml:
22144 Add note on gstreamer-properties (#154996).
22146 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22148 * docs/random/bbb/optional-properties:
22149 Some analysis on optional properties.
22151 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22153 * docs/gst/tmpl/gstelementfactory.sgml:
22154 * gst/gstelement.h:
22155 * gst/gstelementfactory.c: (gst_element_factory_init),
22156 (gst_element_factory_cleanup), (gst_element_register),
22157 (__gst_element_factory_add_static_pad_template),
22158 (gst_element_factory_get_static_pad_templates),
22159 (gst_element_factory_can_src_caps),
22160 (gst_element_factory_can_sink_caps):
22161 * gst/registries/Makefile.am:
22162 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
22163 (gst_xml_registry_class_init), (gst_xml_registry_init),
22164 (gst_xml_registry_new), (gst_xml_registry_set_property),
22165 (gst_xml_registry_get_property), (get_time), (make_dir),
22166 (gst_xml_registry_get_perms_func),
22167 (plugin_times_older_than_recurse), (plugin_times_older_than),
22168 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
22169 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
22170 (add_to_char_array), (read_string), (read_uint), (read_enum),
22171 (load_pad_template), (load_feature), (load_plugin), (load_paths),
22172 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
22173 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
22174 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
22175 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
22176 (gst_xml_registry_rebuild):
22177 * gst/registries/gstlibxmlregistry.h:
22178 * tools/gst-compprep.c: (main):
22179 * tools/gst-inspect.c: (print_pad_templates_info):
22180 * tools/gst-xmlinspect.c: (print_element_info):
22181 Use libxml2 for registry parsing, use staticpadtemplates in
22182 elementfactories. Makes gst_init() +/- 10x faster.
22184 2005-04-12 Wim Taymans <wim@fluendo.com>
22186 * gst/base/Makefile.am:
22187 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22188 (gst_basesink_pad_getcaps), (gst_basesink_init),
22189 (gst_basesink_event), (gst_basesink_change_state):
22190 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22191 (gst_basesrc_init), (gst_basesrc_query),
22192 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22193 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22194 (gst_basesrc_check_get_range), (gst_basesrc_loop),
22195 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22196 (gst_basesrc_stop), (gst_basesrc_activate),
22197 (gst_basesrc_change_state):
22198 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22199 (helper_find_suggest), (gst_type_find_helper):
22200 * gst/base/gsttypefindhelper.h:
22201 * gst/elements/Makefile.am:
22202 * gst/elements/gstelements.c:
22203 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22204 (gst_fakesink_get_times), (gst_fakesink_event),
22205 (gst_fakesink_preroll), (gst_fakesink_render):
22206 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22207 (gst_fakesrc_init), (gst_fakesrc_event_handler),
22208 (gst_fakesrc_get_property), (gst_fakesrc_create),
22209 (gst_fakesrc_start), (gst_fakesrc_stop):
22210 * gst/elements/gstfakesrc.h:
22211 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
22212 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22213 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22214 (gst_filesrc_create_read), (gst_filesrc_create),
22215 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
22216 (gst_filesrc_start):
22217 * gst/elements/gsttypefindelement.c:
22218 (gst_type_find_element_have_type), (gst_type_find_element_init),
22219 (start_typefinding), (stop_typefinding), (push_buffer_store),
22220 (gst_type_find_element_handle_event),
22221 (gst_type_find_element_chain),
22222 (gst_type_find_element_checkgetrange),
22223 (gst_type_find_element_getrange), (do_typefind),
22224 (gst_type_find_element_activate),
22225 (gst_type_find_element_change_state):
22226 * gst/elements/gsttypefindelement.h:
22227 * gst/gstpipeline.c: (pipeline_bus_handler):
22228 Added typefind helper.
22229 Small preroll fix in the base sink.
22230 Disable typefind code in basesrc.
22231 Crude port of typefindelement.
22235 2005-04-11 Wim Taymans <wim@fluendo.com>
22237 * check/gst/gstbus.c: (gstbus_suite):
22238 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
22239 * check/gstcheck.h:
22240 Fix up the timeout so that the test does not fail.
22242 2005-04-06 Wim Taymans <wim@fluendo.com>
22245 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22246 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
22247 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22248 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22249 (gst_basesrc_check_get_range), (gst_basesrc_loop),
22250 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22251 (gst_basesrc_stop), (gst_basesrc_activate),
22252 (gst_basesrc_change_state), (basesrc_find_peek),
22253 (basesrc_find_suggest), (gst_basesrc_type_find):
22254 * gst/base/gstbasesrc.h:
22255 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
22256 (gst_filesrc_class_init), (gst_filesrc_init),
22257 (gst_filesrc_finalize), (gst_filesrc_set_location),
22258 (gst_filesrc_set_property), (gst_filesrc_get_property),
22259 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22260 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22261 (gst_filesrc_create_read), (gst_filesrc_create),
22262 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
22263 * gst/elements/gstfilesrc.h:
22264 * gst/gstelement.c: (gst_element_get_state_func),
22265 (gst_element_lost_state), (gst_element_pads_activate):
22266 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22267 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22268 (gst_pad_pull_range):
22270 More work on the generic source base class, implement seeking,
22272 Make filesrc extend the base source class.
22273 Added gst_pad_set_checkgetrange_function to GstPad.
22275 2005-04-06 Andy Wingo <wingo@pobox.com>
22277 * pkgconfig/gstreamer-base.pc.in:
22278 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
22280 * pkgconfig/Makefile.am:
22281 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
22283 2005-04-04 Wim Taymans <wim@fluendo.com>
22285 * gst/base/Makefile.am:
22287 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22288 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22289 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22290 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
22291 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22292 (gst_basesrc_base_init), (gst_basesrc_class_init),
22293 (gst_basesrc_init), (gst_basesrc_get_formats),
22294 (gst_basesrc_get_query_types), (gst_basesrc_query),
22295 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
22296 (gst_basesrc_set_property), (gst_basesrc_get_property),
22297 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
22298 (gst_basesrc_loop), (gst_basesrc_activate),
22299 (gst_basesrc_change_state):
22300 * gst/base/gstbasesrc.h:
22301 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
22302 (gst_fakesrc_class_init), (gst_fakesrc_init),
22303 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
22304 (gst_fakesrc_get_property), (gst_fakesrc_create):
22305 * gst/elements/gstfakesrc.h:
22306 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
22307 (gst_filesrc_open_file), (gst_filesrc_loop),
22308 (gst_filesrc_activate), (filesrc_find_peek),
22309 (gst_filesrc_type_find):
22310 Made base source class, make fakesrc extend it.
22311 Add comments to basesink class.
22312 Some filesrc cleanup.
22314 2005-03-31 David Schleef <ds@schleef.org>
22316 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
22317 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
22318 expected to link against libgstreamer.
22319 * gst/base/Makefile.am: link against libgstreamer
22320 * gst/elements/Makefile.am: same
22322 2005-03-31 Andy Wingo <wingo@pobox.com>
22324 * tests/instantiate/Makefile.am:
22325 * tests/instantiate/caps.c: Add test to test speed of caps copy
22328 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
22329 GMemChunk to be fair.
22331 * gst/gsttrashstack.h: Remove warning about using the fallback
22332 trash stack implementation, it's still faster than malloc.
22334 2005-03-30 Andy Wingo <wingo@pobox.com>
22336 * tests/complexity.c: Add a copyright.
22338 2005-03-31 Wim Taymans <wim@fluendo.com>
22340 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
22341 (gst_base_transform_class_init), (gst_base_transform_init),
22342 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22343 (gst_base_transform_get_property),
22344 (gst_base_transform_sink_activate),
22345 (gst_base_transform_src_activate),
22346 (gst_base_transform_change_state):
22347 * gst/base/gstbasetransform.h:
22348 * gst/elements/gstidentity.c: (gst_identity_class_init),
22349 (gst_identity_event), (gst_identity_check_perfect),
22350 (gst_identity_transform), (gst_identity_start),
22351 (gst_identity_stop):
22352 Added start/stop methods to transform base class so subclasses
22353 don't need to deal with state changes even.
22355 2005-03-31 Wim Taymans <wim@fluendo.com>
22357 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22358 (gst_event_new_discontinuous), (gst_event_discont_get_value):
22360 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22361 (gst_pad_pull_range):
22362 Added rate to the discont event to prepare for variable speed
22363 and reverse playback.
22365 2005-03-29 David Schleef <ds@schleef.org>
22368 * testsuite/trigger/Makefile.am:
22369 * testsuite/trigger/trigger.c: A little example program to show
22370 how trigger-based elements can work.
22372 2005-03-29 Wim Taymans <wim@fluendo.com>
22374 * gst/base/Makefile.am:
22376 * gst/base/gstbasesink.c: (gst_basesink_get_type),
22377 (gst_basesink_base_init), (gst_basesink_class_init),
22378 (gst_basesink_pad_getcaps), (gst_basesink_init),
22379 (gst_basesink_activate), (gst_basesink_change_state):
22380 * gst/base/gstbasesink.h:
22381 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22382 (gst_base_transform_base_init), (gst_base_transform_finalize),
22383 (gst_base_transform_class_init), (gst_base_transform_init),
22384 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22385 (gst_base_transform_event), (gst_base_transform_getrange),
22386 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22387 (gst_base_transform_set_property),
22388 (gst_base_transform_get_property),
22389 (gst_base_transform_sink_activate),
22390 (gst_base_transform_src_activate),
22391 (gst_base_transform_change_state):
22392 * gst/base/gstbasetransform.h:
22393 * gst/elements/gstidentity.c: (gst_identity_finalize),
22394 (gst_identity_class_init), (gst_identity_init),
22395 (gst_identity_event), (gst_identity_check_perfect),
22396 (gst_identity_transform), (gst_identity_set_property),
22397 (gst_identity_get_property), (gst_identity_change_state):
22398 * gst/elements/gstidentity.h:
22399 * gst/gstelement.c: (gst_element_get_state_func),
22400 (gst_element_lost_state), (gst_element_pads_activate):
22401 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22402 (gst_pad_check_pull_range), (gst_pad_pull_range):
22404 Simplify pad activation.
22405 Added function to check if pull_range can be performed.
22406 Error out when pulling inactive or flushing pads.
22407 Removed const from refcounted types as it does not make sense.
22408 Simplify pad templates in basesink
22409 Added base class for simple 1-to-1 transforms.
22410 Make identity subclass the base transform.
22412 2005-03-29 Andy Wingo <wingo@pobox.com>
22414 * docs/libs/gstreamer-libs-overrides.txt:
22415 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22416 really don't understand what's going on, but like whatever. I want
22419 * docs/gst/Makefile.am:
22420 * docs/libs/Makefile.am: Dist the overrides files.
22422 * check/Makefile.am (clean-local): Remove .libs directories.
22424 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22425 elements to EXTRA_DIST, so po/ files are happy.
22427 * po/POTFILES.in: Er, remove it here.
22429 * po/POTFILES: Remove gstspider.c.
22431 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22433 * docs/libs/gstreamer-libs-docs.sgml:
22434 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22437 * tests/complexity.c (main): Set the length of the preroll queue
22438 on the sinks to prevent a lockup.
22440 * libs/gst/dataprotocol/Makefile.am:
22441 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22442 the same as the one in check/gst-libs/gdp.c.
22444 * po/, docs/gst/: Commit automatic changes to docs and po files.
22446 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22447 the versioned libgstbase.
22449 * check/Makefile.am: Depend on an unversioned gst-register, seems
22450 to make autoconf happier.
22452 * gst/base/Makefile.am: Make libgstbase a versioned lib.
22454 2005-03-28 Wim Taymans <wim@fluendo.com>
22457 * docs/design/part-gstelement.txt:
22458 * docs/design/part-negotiation.txt:
22459 * docs/design/part-preroll.txt:
22460 * docs/design/part-scheduling.txt:
22461 * docs/design/part-states.txt:
22463 * gst/base/Makefile.am:
22465 * gst/base/gstbasesink.c: (gst_basesink_get_template),
22466 (gst_basesink_base_init), (gst_basesink_class_init),
22467 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22468 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22469 (gst_basesink_set_pad_functions),
22470 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22471 (gst_basesink_set_property), (gst_basesink_get_property),
22472 (gst_base_sink_get_template), (gst_base_sink_get_caps),
22473 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22474 (gst_basesink_preroll_queue_push),
22475 (gst_basesink_preroll_queue_empty),
22476 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22477 (gst_basesink_event), (gst_basesink_get_times),
22478 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22479 (gst_basesink_chain_unlocked), (gst_basesink_chain),
22480 (gst_basesink_loop), (gst_basesink_activate),
22481 (gst_basesink_change_state):
22482 * gst/base/gstbasesink.h:
22483 * gst/elements/Makefile.am:
22484 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22485 (gst_fakesink_class_init), (gst_fakesink_init),
22486 (gst_fakesink_set_property), (gst_fakesink_get_property),
22487 (gst_fakesink_get_times), (gst_fakesink_event),
22488 (gst_fakesink_preroll), (gst_fakesink_render),
22489 (gst_fakesink_change_state):
22490 * gst/elements/gstfakesink.h:
22491 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22492 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22493 * gst/gstelement.c: (gst_element_add_pad),
22494 (gst_element_get_state_func), (gst_element_abort_state),
22495 (gst_element_commit_state), (gst_element_lost_state),
22496 (gst_element_set_state), (gst_element_pads_activate):
22497 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22498 * gst/gstpipeline.c: (gst_pipeline_send_event),
22499 (gst_pipeline_change_state):
22500 Added state change code.
22501 Added/updated docs.
22502 Added sink base class, make fakesink extend the base class.
22503 Small cleanups in GstPipeline.
22505 2005-03-26 David Schleef <ds@schleef.org>
22507 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
22508 is broken and should be implemented in a different library.
22509 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22510 * gst/gst.h: remove gstcpu.h
22511 * gst/gstcpu.c: remove
22512 * gst/gstcpu.h: remove
22513 * gst/Makefile.am.future: Remove this file. It's ancient.
22515 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22517 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22518 (gst_bin_send_event):
22519 Add default event/set_manager handlers. The set_manager handler
22520 takes care that the manager is distributed over kids that were
22521 already in the bin before the manager was set. The event handler
22522 is a utility virtual function that sends the event over all sinks,
22523 so that gst_element_send_event (bin, event); has the expected
22525 * gst/gstpad.c: (gst_pad_event_default):
22526 Re-install default event handling for discontinuities, so that
22527 seeking works without requiring hacks in applications or extra
22529 * gst/gstpipeline.c: (gst_pipeline_class_init),
22530 (gst_pipeline_send_event):
22531 Half hack, half utility: set a pipeline to PAUSED for seek events,
22532 since that is the only way we can guarantee a/v sync. Means that
22533 you can do gst_element_seek (pipeline, method, pos); on a pipeline
22534 and it "just works".
22536 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22538 * gst/gstpipeline.c: (gst_pipeline_use_clock):
22539 Lock/unlock mismatch.
22541 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
22543 * docs/faq/gst-uninstalled:
22544 add gst-plugins-base
22545 * docs/gst/Makefile.am:
22546 don't error out until docs are fixed
22547 * docs/gst/gstreamer.types:
22550 2005-03-22 Wim Taymans <wim@fluendo.com>
22552 * check/Makefile.am:
22553 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22554 * gst/gststructure.c: (gst_structure_set_valist),
22555 (gst_structure_copy_conditional):
22556 Activated more tests.
22557 Added message test.
22558 Added G_TYPE_POINTER to GstStructure.
22561 2005-03-22 Wim Taymans <wim@fluendo.com>
22563 * docs/design/part-TODO.txt:
22564 * docs/design/part-events.txt:
22565 * docs/design/part-gstbin.txt:
22566 * docs/design/part-gstbus.txt:
22567 * docs/design/part-gstpipeline.txt:
22568 * docs/design/part-messages.txt:
22570 * gst/gstmessage.c:
22573 2005-03-21 Wim Taymans <wim@fluendo.com>
22575 * gst/gstbus.c: (gst_bus_post):
22576 Fix copy-and-paste error.
22578 2005-03-21 Wim Taymans <wim@fluendo.com>
22580 * check/Makefile.am:
22582 * gst/elements/Makefile.am:
22583 * gst/elements/gstelements.c:
22584 * gst/elements/gstfakesink.c: (gst_fakesink_init),
22585 (gst_fakesink_event), (gst_fakesink_chain):
22586 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22587 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22588 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22589 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22590 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22591 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22592 (gst_fakesrc_loop), (gst_fakesrc_activate),
22593 (gst_fakesrc_change_state):
22594 * gst/elements/gstfakesrc.h:
22595 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22596 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22597 (gst_filesrc_open_file), (gst_filesrc_loop),
22598 (gst_filesrc_activate), (gst_filesrc_change_state),
22599 (filesrc_find_peek), (filesrc_find_suggest),
22600 (gst_filesrc_type_find):
22601 * gst/elements/gstidentity.c: (gst_identity_finalize),
22602 (gst_identity_class_init), (gst_identity_init),
22603 (gst_identity_proxy_getcaps), (identity_queue_push),
22604 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22605 (gst_identity_getrange), (gst_identity_chain),
22606 (gst_identity_sink_loop), (gst_identity_src_loop),
22607 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22608 (gst_identity_set_property), (gst_identity_get_property),
22609 (gst_identity_change_state):
22610 * gst/elements/gstidentity.h:
22611 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22612 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22613 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22614 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22615 (gst_tee_sink_activate):
22616 * gst/elements/gsttee.h:
22617 * gst/gst.c: (gst_register_core_elements), (init_post):
22619 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22620 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22621 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22622 (gst_bin_change_state):
22624 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22625 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22626 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22627 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22628 (gst_bus_set_sync_handler), (gst_bus_create_watch),
22629 (bus_watch_callback), (bus_watch_destroy),
22630 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22631 (poll_timeout), (gst_bus_poll):
22635 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22636 (gst_element_post_message), (gst_element_message_full),
22637 (gst_element_get_state_func), (gst_element_get_state),
22638 (gst_element_abort_state), (gst_element_commit_state),
22639 (gst_element_lost_state), (gst_element_set_state),
22640 (gst_element_pads_activate), (gst_element_change_state),
22641 (gst_element_dispose), (gst_element_set_manager_func),
22642 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22643 (gst_element_set_manager), (gst_element_get_manager),
22644 (gst_element_set_bus), (gst_element_get_bus),
22645 (gst_element_set_scheduler), (gst_element_get_scheduler):
22646 * gst/gstelement.h:
22647 * gst/gstevent.c: (gst_event_new_segment_seek),
22648 (gst_event_new_flush):
22650 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22651 (_gst_message_free), (gst_message_get_type), (gst_message_new),
22652 (gst_message_new_eos), (gst_message_new_error),
22653 (gst_message_new_warning), (gst_message_new_tag),
22654 (gst_message_new_state_changed), (gst_message_new_application),
22655 (gst_message_get_structure), (gst_message_parse_tag),
22656 (gst_message_parse_state_changed), (gst_message_parse_error),
22657 (gst_message_parse_warning):
22658 * gst/gstmessage.h:
22659 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22660 (gst_real_pad_set_property), (gst_pad_set_active),
22661 (gst_pad_is_active), (gst_pad_set_blocked_async),
22662 (gst_pad_set_blocked), (gst_pad_is_blocked),
22663 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22664 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22665 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22666 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22667 (gst_pad_link_filtered), (gst_pad_relink_filtered),
22668 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22669 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22670 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22671 (gst_pad_set_caps), (gst_pad_configure_sink),
22672 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22673 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22674 (gst_real_pad_dispose), (gst_real_pad_finalize),
22675 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22676 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22677 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22679 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22680 (pipeline_bus_handler), (gst_pipeline_change_state),
22681 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22682 * gst/gstpipeline.h:
22684 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22685 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22686 (gst_queue_link_src), (gst_queue_bufferalloc),
22687 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22688 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22689 (gst_queue_loop), (gst_queue_handle_src_event),
22690 (gst_queue_handle_src_query), (gst_queue_src_activate),
22691 (gst_queue_change_state):
22693 * gst/gstscheduler.c: (gst_scheduler_init),
22694 (gst_scheduler_dispose), (gst_scheduler_create_task),
22695 (gst_scheduler_factory_create):
22696 * gst/gstscheduler.h:
22697 * gst/gststructure.c: (gst_structure_get_type),
22698 (gst_structure_copy_conditional):
22699 * gst/gststructure.h:
22700 * gst/gsttaginterface.h:
22701 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22702 (gst_task_init), (gst_task_dispose), (gst_task_create),
22703 (gst_task_get_state), (gst_task_start), (gst_task_stop),
22709 * gst/schedulers/Makefile.am:
22710 * gst/schedulers/cothreads_compat.h:
22711 * gst/schedulers/entryscheduler.c:
22712 * gst/schedulers/faircothreads.c:
22713 * gst/schedulers/faircothreads.h:
22714 * gst/schedulers/fairscheduler.c:
22715 * gst/schedulers/gstbasicscheduler.c:
22716 * gst/schedulers/gstoptimalscheduler.c:
22717 * gst/schedulers/gthread-cothreads.h:
22718 * gst/schedulers/threadscheduler.c:
22719 (gst_thread_scheduler_task_get_type),
22720 (gst_thread_scheduler_task_class_init),
22721 (gst_thread_scheduler_task_init),
22722 (gst_thread_scheduler_task_start),
22723 (gst_thread_scheduler_task_stop),
22724 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22725 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22726 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22727 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22729 * libs/gst/Makefile.am:
22730 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22731 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22732 (gst_file_pad_parent_set):
22733 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22734 (gst_dp_event_from_packet):
22735 * tests/complexity.c: (main):
22736 * tests/mass_elements.c: (main):
22737 * testsuite/states/locked.c: (message_received), (main):
22738 * testsuite/states/parent.c: (main):
22739 * tools/gst-inspect.c: (print_element_flag_info),
22740 (print_implementation_info), (print_pad_info):
22741 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22743 * tools/gst-md5sum.c: (event_loop), (main):
22744 * tools/gst-typefind.c: (main):
22745 * tools/gst-xmlinspect.c: (print_element_info):
22747 Added GstBus for mainloop integration.
22748 Added GstMessage for sending notifications on the bus.
22749 Added GstTask as an abstraction for pipeline entry points.
22751 Removed Schedulers.
22752 Simplified GstQueue for multithreaded core.
22753 Made _link threadsafe, removed old capsnego.
22754 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22755 Added pad blocking functions.
22756 Reworked scheduling functions in GstPad to prepare for
22757 scheduling updates soon.
22758 Moved events out of data stream.
22759 Simplified GstEvent types.
22760 Added return values to push/pull.
22761 Removed clocking from GstElement.
22762 Added prototypes for state change function for next merge.
22763 Removed iterate from bins and state change management.
22764 Fixed some elements, disabled others for now.
22765 Fixed -inspect and -launch.
22766 Added check for GstBus.
22768 2005-03-10 Wim Taymans <wim@fluendo.com>
22770 * docs/design/part-MT-refcounting.txt:
22771 * docs/design/part-clocks.txt:
22772 * docs/design/part-gstelement.txt:
22773 * docs/design/part-gstobject.txt:
22774 * docs/design/part-standards.txt:
22775 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22776 (gst_bin_remove_func), (gst_bin_remove):
22780 * testsuite/clock/clock1.c: (main):
22781 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22783 * testsuite/dlopen/loadgst.c: (do_test):
22784 * testsuite/refcounting/bin.c: (add_remove_test1),
22785 (add_remove_test2), (main):
22786 * testsuite/refcounting/element.c: (main):
22787 * testsuite/refcounting/element_pad.c: (main):
22788 * testsuite/refcounting/pad.c: (main):
22789 * tools/gst-launch.c: (sigint_handler_sighandler):
22790 * tools/gst-typefind.c: (main):
22792 Added doc about clock.
22793 removed gst_bin_iterate_recurse_up(), marked methods
22795 Fix more testsuites.
22797 2005-03-09 Wim Taymans <wim@fluendo.com>
22799 * gst/gstpad.c: (gst_pad_get_direction),
22800 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22801 (gst_pad_collect_valist):
22802 * testsuite/bins/interface.c: (main):
22803 * testsuite/caps/audioscale.c: (test_caps):
22804 * testsuite/caps/caps.c: (test1), (test2), (test3):
22805 * testsuite/caps/deserialize.c: (main):
22806 * testsuite/caps/enumcaps.c: (main):
22807 * testsuite/caps/filtercaps.c: (main):
22808 * testsuite/caps/intersect2.c: (main):
22809 * testsuite/caps/random.c: (main):
22810 * testsuite/caps/renegotiate.c: (my_fixate), (main):
22811 * testsuite/caps/sets.c: (check_caps):
22812 * testsuite/caps/simplify.c: (check_caps), (main):
22813 * testsuite/caps/subtract.c: (check_caps):
22814 Fix _pad_get_direction wrt ghostpads.
22815 Fix caps testsuite.
22817 2005-03-09 Wim Taymans <wim@fluendo.com>
22819 * check/Makefile.am:
22820 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22821 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22822 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22823 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22824 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22825 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22826 (gst_bin_remove), (gst_bin_iterate_recurse_up),
22827 (bin_element_is_sink), (gst_bin_iterate_sinks),
22828 (gst_bin_iterate_all_by_interface):
22830 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22831 (gst_element_change_state), (gst_element_dispose),
22832 (gst_element_finalize), (gst_element_set_loop_function):
22833 * gst/gstelement.h:
22834 * gst/gstiterator.c: (find_custom_fold_func):
22835 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22836 (gst_pad_collectv), (gst_pad_collect_valist),
22837 (gst_pad_template_new):
22838 * gst/gstpipeline.c: (gst_pipeline_class_init),
22839 (gst_pipeline_dispose), (gst_pipeline_set_property),
22840 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22841 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22842 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22844 * gst/schedulers/entryscheduler.c:
22845 * gst/schedulers/gstbasicscheduler.c:
22846 (gst_basic_scheduler_cothreaded_chain),
22847 (gst_basic_scheduler_chain_add_element):
22848 * testsuite/bins/interface.c: (main):
22850 Added GstSystemClock test.
22851 Implemented clock distribution code in GstBin.
22852 Implemented iterate sinks method for future use.
22853 Rearranged gstelement.h
22854 Fix GstIterator comparison bug.
22855 Moved some code to GstPipeline, mostly clocking related.
22857 2005-03-09 Wim Taymans <wim@fluendo.com>
22860 * gst/gst_private.h:
22861 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22862 (gst_bin_remove_func), (gst_bin_remove),
22863 (gst_bin_get_by_name_recurse_up):
22864 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22865 (gst_clock_id_compare_func), (gst_clock_id_wait),
22866 (gst_clock_id_wait_async), (gst_clock_init),
22867 (gst_clock_adjust_unlocked), (gst_clock_get_time):
22868 * gst/gstelement.h:
22869 * gst/gstinfo.c: (_gst_debug_init):
22871 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22872 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22874 Bump version number, we're now 0.9.0
22875 Add future debugging category.
22876 Fix NULL _unref() in _get_by_name_recurse_up
22877 Rearrange gstpad.h.
22880 2005-03-08 Wim Taymans <wim@fluendo.com>
22882 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22883 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22884 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22885 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22886 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22887 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22888 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22889 * gst/elements/gstidentity.c: (gst_identity_class_init):
22890 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22891 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22892 * gst/elements/gstshaper.c: (gst_shaper_class_init):
22893 * gst/elements/gststatistics.c: (gst_statistics_class_init):
22894 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22896 * gst/gstelement.c: (gst_element_class_init),
22897 (gst_element_base_class_init), (gst_element_init),
22898 (gst_element_get_random_pad), (gst_element_wait_state_change),
22899 (gst_element_change_state), (gst_element_dispose),
22900 (gst_element_finalize), (gst_element_set_loop_function):
22901 * gst/gstelement.h:
22902 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22903 * gst/gstthread.c: (gst_thread_class_init),
22904 (gst_thread_release_children_locks), (gst_thread_change_state):
22905 * gst/schedulers/gstbasicscheduler.c:
22906 (gst_basic_scheduler_loopfunc_wrapper),
22907 (gst_basic_scheduler_chain_wrapper),
22908 (gst_basic_scheduler_src_wrapper),
22909 (gst_basic_scheduler_remove_element):
22910 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22911 Remove threadsafe properties. Fix elements because GObject
22912 complains when installing a property before declaring a
22913 set/get_property handler.
22914 Rearrange gstelement.h file, use STATE macros for state locks.
22915 Free mutexes in the finalize method instead of dispose.
22917 2005-03-08 Wim Taymans <wim@fluendo.com>
22919 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22920 * gst/gstthread.c: (gst_thread_release_children_locks):
22921 Added parentage check.
22922 Fix build og GstThread again.
22924 2005-03-08 Wim Taymans <wim@fluendo.com>
22926 * docs/design/part-MT-refcounting.txt:
22927 * docs/design/part-conventions.txt:
22928 * docs/design/part-gstobject.txt:
22929 * docs/design/part-relations.txt:
22930 * docs/design/part-standards.txt:
22931 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22932 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22933 (gst_bin_get_by_name), (gst_bin_get_by_interface),
22934 (gst_bin_iterate_all_by_interface):
22937 * gst/gstelement.c: (gst_element_class_init),
22938 (gst_element_change_state), (gst_element_set_loop_function):
22939 * gst/gstelement.h:
22940 * gst/gstiterator.c:
22941 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22942 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22943 (gst_object_dispatch_properties_changed), (gst_object_set_name),
22944 (gst_object_set_parent), (gst_object_unparent),
22945 (gst_object_check_uniqueness):
22947 Docs updates, clean up some headers.
22949 2005-03-07 Wim Taymans <wim@fluendo.com>
22951 * check/.cvsignore:
22952 * check/Makefile.am:
22953 * check/gst-libs/.cvsignore:
22954 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22955 * check/gst/.cvsignore:
22956 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22957 (START_TEST), (gstbus_suite), (main):
22958 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22959 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22960 (gst_data_suite), (main):
22961 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22962 (add_fold_func), (gstiterator_suite), (main):
22963 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22964 (thread_name_object), (thread_name_object_default),
22965 (gst_object_name_compare), (gst_object_suite), (main):
22966 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22967 (gst_pad_suite), (main):
22968 * check/gstcheck.c: (gst_check_log_message_func),
22969 (gst_check_log_critical_func), (gst_check_init):
22970 * check/gstcheck.h:
22971 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22972 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22975 2005-03-07 Wim Taymans <wim@fluendo.com>
22977 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22978 (gst_list_iterator_next), (gst_list_iterator_resync),
22979 (gst_list_iterator_free), (gst_iterator_new_list),
22980 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22981 (gst_iterator_free), (gst_iterator_push), (filter_next),
22982 (filter_resync), (filter_uninit), (filter_free),
22983 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22984 (gst_iterator_foreach), (find_custom_fold_func),
22985 (gst_iterator_find_custom):
22986 * gst/gstiterator.h:
22987 Added missing files.
22989 2005-03-07 Wim Taymans <wim@fluendo.com>
22993 * docs/design/part-MT-refcounting.txt:
22994 * docs/design/part-conventions.txt:
22995 * docs/design/part-gstobject.txt:
22996 * docs/design/part-relations.txt:
22997 * examples/mixer/mixer.c: (main):
22998 * examples/thread/thread.c: (eos), (main):
23000 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
23001 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
23002 (gst_spider_plug_from_srcpad):
23003 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
23004 (gst_spider_identity_change_state),
23005 (gst_spider_identity_sink_loop_type_finding):
23006 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
23007 * gst/elements/gstidentity.c: (gst_identity_init):
23008 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
23009 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
23010 * gst/elements/gsttypefindelement.c: (free_entry):
23013 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
23014 (gst_bin_set_clock_func), (gst_bin_auto_clock),
23015 (gst_bin_set_index), (gst_bin_set_element_sched),
23016 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
23017 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
23018 (gst_bin_iterate_elements), (iterate_child_recurse),
23019 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
23020 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
23021 (compare_interface), (gst_bin_get_by_interface),
23022 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
23024 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
23025 (gst_buffer_default_free), (gst_buffer_default_copy),
23026 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
23027 (gst_buffer_create_sub):
23029 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
23030 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
23031 (gst_caps_unref), (gst_static_caps_get),
23032 (gst_caps_remove_and_get_structure), (gst_caps_append),
23033 (gst_caps_append_structure), (gst_caps_remove_structure),
23034 (gst_caps_copy_nth), (gst_caps_set_simple),
23035 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
23036 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
23037 (gst_caps_structure_intersect_field), (gst_caps_intersect),
23038 (gst_caps_structure_subtract_field), (gst_caps_subtract),
23039 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
23040 (gst_caps_structure_figure_out_union),
23041 (gst_caps_switch_structures), (gst_caps_do_simplify),
23042 (gst_caps_replace), (gst_caps_from_string),
23043 (gst_caps_copy_conditional):
23045 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
23046 (_gst_clock_id_free), (gst_clock_id_unref),
23047 (gst_clock_id_compare_func), (gst_clock_id_wait),
23048 (gst_clock_id_wait_async), (gst_clock_class_init),
23049 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
23050 (gst_clock_get_time), (gst_clock_set_time_adjust),
23051 (gst_clock_set_property), (gst_clock_get_property):
23054 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
23055 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
23057 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
23058 (gst_element_requires_clock), (gst_element_provides_clock),
23059 (gst_element_set_clock), (gst_element_clock_wait),
23060 (gst_element_wait), (gst_element_set_time_delay),
23061 (gst_element_is_indexable), (gst_element_add_pad),
23062 (gst_element_add_ghost_pad), (gst_element_remove_pad),
23063 (pad_compare_name), (gst_element_get_static_pad),
23064 (gst_element_request_pad), (gst_element_get_request_pad),
23065 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
23066 (gst_element_class_get_pad_template_list),
23067 (gst_element_class_get_pad_template), (gst_element_error_func),
23068 (gst_element_get_random_pad), (gst_element_get_event_masks),
23069 (gst_element_send_event), (gst_element_seek),
23070 (gst_element_get_query_types), (gst_element_query),
23071 (gst_element_get_formats), (gst_element_convert),
23072 (gst_element_is_locked_state), (gst_element_set_locked_state),
23073 (gst_element_sync_state_with_parent), (gst_element_change_state),
23074 (gst_element_finalize), (gst_element_yield),
23075 (gst_element_interrupt), (gst_element_set_scheduler),
23076 (gst_element_get_scheduler), (gst_element_set_loop_function):
23077 * gst/gstelement.h:
23079 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
23080 (gst_format_get_by_nick), (gst_format_get_details),
23081 (gst_format_iterate_definitions):
23083 * gst/gstindex.c: (gst_index_gtype_resolver):
23086 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
23087 (gst_mem_chunk_free):
23088 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
23089 (gst_object_ref), (gst_object_unref), (gst_object_sink),
23090 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
23091 (gst_object_dispatch_properties_changed),
23092 (gst_object_set_name_default), (gst_object_set_name),
23093 (gst_object_get_name), (gst_object_set_name_prefix),
23094 (gst_object_get_name_prefix), (gst_object_set_parent),
23095 (gst_object_get_parent), (gst_object_unparent),
23096 (gst_object_check_uniqueness), (gst_object_save_thyself),
23097 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
23098 (gst_object_set_property), (gst_object_get_property),
23099 (gst_object_get_path_string):
23101 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23102 (gst_real_pad_init), (gst_real_pad_get_property),
23103 (gst_pad_custom_new), (gst_pad_get_direction),
23104 (gst_pad_set_active), (gst_pad_is_active),
23105 (gst_pad_set_event_function), (gst_pad_is_linked),
23106 (gst_pad_link_free), (gst_pad_link_intersect),
23107 (gst_pad_link_fixate), (gst_pad_set_caps),
23108 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
23109 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
23110 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
23111 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
23112 (gst_pad_get_caps), (gst_pad_peer_get_caps),
23113 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
23114 (gst_pad_realize), (gst_pad_get_allowed_caps),
23115 (gst_real_pad_dispose), (gst_real_pad_finalize),
23116 (gst_pad_collectv), (gst_pad_collect_valist),
23117 (gst_pad_template_dispose), (gst_pad_template_new),
23118 (gst_pad_get_internal_links):
23120 * gst/gstpipeline.c: (gst_pipeline_dispose),
23121 (gst_pipeline_change_state):
23122 * gst/gstpipeline.h:
23124 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
23125 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
23126 * gst/gstpluginfeature.h:
23127 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
23128 * gst/gstquery.c: (_gst_query_type_initialize),
23129 (gst_query_type_register), (gst_query_type_get_by_nick),
23130 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
23132 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
23133 * gst/gstscheduler.c: (gst_scheduler_add_element),
23134 (gst_scheduler_factory_create):
23135 * gst/gststructure.c: (gst_structure_set_parent_refcount),
23136 (gst_structure_free), (gst_structure_set_name),
23137 (gst_structure_id_set_value), (gst_structure_set_value),
23138 (gst_structure_set_valist), (gst_structure_remove_field),
23139 (gst_structure_remove_fields),
23140 (gst_structure_remove_fields_valist),
23141 (gst_structure_remove_all_fields), (gst_structure_foreach),
23142 (gst_structure_map_in_place),
23143 (gst_caps_structure_fixate_field_nearest_int),
23144 (gst_caps_structure_fixate_field_nearest_double):
23145 * gst/gststructure.h:
23146 * gst/gstsystemclock.c: (gst_system_clock_class_init),
23147 (gst_system_clock_init), (gst_system_clock_dispose),
23148 (gst_system_clock_async_thread),
23149 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
23150 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
23151 * gst/gstsystemclock.h:
23152 * gst/gsttag.c: (gst_tag_list_add_value_internal),
23153 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
23154 * gst/gsttaginterface.c:
23155 * gst/gstthread.c: (gst_thread_dispose),
23156 (gst_thread_release_children_locks), (gst_thread_change_state),
23157 (gst_thread_main_loop):
23158 * gst/gsttrashstack.h:
23159 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
23161 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23162 (gst_element_request_pad), (gst_element_get_pad_from_template),
23163 (gst_element_request_compatible_pad),
23164 (gst_element_get_compatible_pad_filtered),
23165 (gst_element_get_compatible_pad), (gst_element_state_get_name),
23166 (gst_element_link_pads_filtered), (gst_element_link_filtered),
23167 (gst_element_link_many), (gst_element_link),
23168 (gst_element_link_pads), (gst_element_unlink_pads),
23169 (gst_element_unlink_many), (gst_element_unlink),
23170 (gst_pad_can_link_filtered), (gst_pad_can_link),
23171 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
23172 (gst_object_default_error), (gst_bin_add_many),
23173 (gst_bin_remove_many), (gst_element_populate_std_props),
23174 (gst_element_class_install_std_props), (gst_buffer_merge),
23175 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
23176 (link_fold_func), (gst_pad_proxy_setcaps):
23178 * gst/gstvalue.c: (gst_value_deserialize_string):
23179 * gst/parse/grammar.y:
23180 * gst/schedulers/gstbasicscheduler.c:
23181 (gst_basic_scheduler_cothreaded_chain),
23182 (gst_basic_scheduler_chain_recursive_add),
23183 (gst_basic_scheduler_pad_link):
23184 * gst/schedulers/gstoptimalscheduler.c:
23185 (get_group_schedule_function),
23186 (gst_opt_scheduler_state_transition),
23187 (gst_opt_scheduler_add_element), (element_get_reachables_func):
23188 * libs/gst/bytestream/bytestream.c:
23189 * libs/gst/dataprotocol/dataprotocol.c:
23190 (gst_dp_header_from_buffer):
23193 * tests/threadstate/threadstate2.c: (eos):
23194 * tools/gst-compprep.c: (main):
23195 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
23196 (print_pad_info), (print_children_info):
23197 * tools/gst-launch.c: (idle_func), (main):
23198 * tools/gst-md5sum.c: (idle_func), (main):
23199 * tools/gst-xmlinspect.c: (print_element_info):
23200 First THREADED backport attempt, focusing on adding locks and
23201 making sure the API is threadsafe. Needs more work. More docs
23204 2005-02-24 Andy Wingo <wingo@pobox.com>
23206 * tests/bench-complexity.scm:
23207 * tests/complexity.gnuplot: New files, good for running complexity
23210 * tests/Makefile.am:
23211 * tests/complexity.c: New test, sets up N elements, at each level
23212 teeing into M streams per element. Eeeenteresting.
23214 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
23215 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
23216 running bench-mass_elements.scm.
23218 * tests/bench-mass_elements.scm: New script, runs mass_elements
23219 for various numbers of identities, outputting the results to a
23220 file. Requires guile 1.6. Just for testing.
23222 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
23224 * gst/schedulers/fairscheduler.c:
23225 compile with debug disabled
23227 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
23230 hunting season on 0.9 is now OPEN