1 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
3 * docs/design/part-events.txt:
4 * docs/design/part-overview.txt:
8 * libs/gst/base/gstbasesink.c:
9 Typo fixes; minor docs addition.
11 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
13 * docs/gst/gstreamer-sections.txt:
14 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
15 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
17 API: Add gst_uri_protocol_is_supported(), which checks if an sink
18 or src that supports a given URI protocol exists.
20 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
22 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
23 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
24 Set the location to NULL if "file://" is set as URI. Otherwise
25 some random previous URI would still be set if "file://" is
26 set on an already used filesink/filesrc.
28 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
30 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
31 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
32 Special case the "file://" URI as as this is used by some
33 applications to test with gst_element_make_from_uri if there's
34 an element that supports the URI protocol.
35 Also move the g_path_is_absolute() check for the location part
36 of the URI to also check this for "file://localhost/bla" URIs.
38 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
40 * docs/gst/gstreamer-sections.txt:
41 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
43 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
45 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
47 2007-04-26 Stefan Kost <ensonic@users.sf.net>
49 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
50 (gst_registry_binary_load_pad_template),
51 (gst_registry_binary_load_plugin),
52 (gst_registry_binary_read_cache):
53 * gst/gstregistrybinary.h:
54 Implement no-mmap alternative for registry reading. Do code cleanups.
55 Add more comments about avoiding strdups for all text data. Comments
58 2007-04-25 Stefan Kost <ensonic@users.sf.net>
60 * gst/gstregistrybinary.h (GstBinaryPluginElement,
61 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
62 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
63 Comment structs and reformat to fix the build (that stuff should go
66 2007-04-25 Stefan Kost <ensonic@users.sf.net>
68 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
69 (gst_registry_binary_load_feature):
70 * gst/gstregistrybinary.h:
71 Refactor so that we can implement multiple features. Add support for
72 TypeFindFactory features.
74 2007-04-24 Stefan Kost <ensonic@users.sf.net>
76 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
79 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
81 2007-04-23 Stefan Kost <ensonic@users.sf.net>
83 * gst/gstbin.c: (gst_bin_element_set_state),
84 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
85 (bin_handle_async_done), (gst_bin_handle_message_func):
86 Fix build with --gst-disable-gst-debug
88 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
90 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
91 Make sure streaming has finished before calling the ::stop() vfunc,
92 since that vfunc might clear state which is being used in the
93 streaming thread. This fixes a race that caused crashes in
94 audioresample when shutting down a pipeline (#420106).
96 2007-04-20 Stefan Kost <ensonic@users.sf.net>
98 * docs/gst/gstreamer-sections.txt:
99 That was one byte missing.
101 2007-04-20 Stefan Kost <ensonic@users.sf.net>
104 * docs/gst/gstreamer-sections.txt:
106 * gst/gstconfig.h.in:
107 * gst/gstobject.c: (gst_object_class_init),
108 (gst_signal_object_class_init):
110 2nd attempt to have a xml-less build as a joined effort of #413123
113 2007-04-20 Stefan Kost <ensonic@users.sf.net>
115 * docs/design/draft-tagreading.txt:
116 Added open issues/thoughts to draft.
118 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
120 * gst/parse/grammar.tab.pre.c:
121 * gst/parse/grammar.tab.pre.h:
122 * gst/parse/lex._gst_parse_yy.pre.c:
123 Update the prebuild parser sources.
125 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
127 * gst/parse/Makefile.am:
128 And now fix the building of the flex sources. Now everything should
131 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
133 * gst/parse/Makefile.am:
134 Now hopefully fix the build failures by setting proper rule
135 dependencies and moving instead of copying.
137 2007-04-19 Stefan Kost <ensonic@users.sf.net>
139 * tests/benchmarks/complexity.gnuplot:
140 * tests/benchmarks/complexity.scm:
141 * tests/benchmarks/mass-elements.gnuplot:
142 * tests/benchmarks/mass-elements.scm:
143 Total licensification.
145 2007-04-19 Stefan Kost <ensonic@users.sf.net>
147 * gst/parse/Makefile.am:
148 Fix the build by correcting the rule that gave wrong files to flex.
150 2007-04-19 Stefan Kost <ensonic@users.sf.net>
152 * tests/benchmarks/complexity.c:
153 * tests/benchmarks/mass-elements.c:
154 Change licence to LGPL as granted by Benjamin and Andy.
156 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
158 * gst/parse/Makefile.am:
159 Add correct grammar.tab.h dependency if compiling without new enough
162 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
164 * gst/parse/Makefile.am:
165 Fix typo and use outdated sources if the flex/bison sources are newer
166 than the pregenerated ones but flex is too old. Print a warning in
167 that case. This should fix the build on the build bot.
169 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
171 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
172 * gst/parse/Makefile.am:
173 * gst/parse/grammar.y:
175 Make the parser reentrant and recursively callable. This requires flex
176 >= 2.5.31, for older versions pregenerated sources are used as we
177 can't bump the build dependency. Finally fixes #349180.
179 * gst/gstparse.c: (gst_parse_launch):
180 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
183 * docs/gst/Makefile.am:
184 * docs/gst/Makefile.am:
185 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
186 (__gst_parse_strfree), (__gst_parse_link_new),
187 (__gst_parse_link_free), (__gst_parse_chain_new),
188 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
189 (gst_parse_element_set), (gst_parse_free_link),
190 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
191 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
193 * gst/parse/grammar.tab.pre.h:
194 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
195 (yy_get_previous_state), (yy_try_NUL_trans), (input),
196 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
197 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
198 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
199 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
200 (_gst_parse_yypop_buffer_state),
201 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
202 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
203 (yy_fatal_error), (_gst_parse_yyget_extra),
204 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
205 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
206 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
207 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
208 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
209 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
210 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
211 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
212 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
213 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
215 If the installed flex version is too old use pre-generated parser
216 sources. These pre-generated parser sources are always updated when
217 the actual flex/bison sources change but require everybody who wants
218 to change something in the parser to have flex >= 2.5.31 installed.
220 2007-04-18 Stefan Kost <ensonic@users.sf.net>
222 * common/m4/gst-gettext.m4:
223 * gst/gst-i18n-lib.h:
224 Make --disable-nls to work
226 2007-04-17 Wim Taymans <wim@fluendo.com>
228 * gst/gstconfig.h.in:
229 Revert previous change that broke the build.
231 2007-04-17 Stefan Kost <ensonic@users.sf.net>
235 * gst/gstconfig.h.in:
236 Drop libxml2 dependency when building with
237 --enable-binary-registry --disable-loadsave
239 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
241 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
242 (gst_registry_binary_read_cache):
243 * gst/gstregistrybinary.h:
244 Remove unnecessary <sys/mman.h> include which broke the win32 build
245 with MingW; move includes from header file to .c file, even if the
246 header file isn't installed; use g_strerror() where UTF-8 strings
247 are expected, such as in GST_DEBUG messages.
249 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
251 * docs/libs/gstreamer-libs-sections.txt:
252 Remove bogus addition for API I didn't end up keeping.
254 * libs/gst/base/gstbasesrc.h:
255 Mention Since: 0.10.13 in the documentation.
257 Add the API keyword to the previous ChangeLog entry.
259 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
261 * docs/libs/gstreamer-libs-sections.txt:
262 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
263 (gst_base_src_default_prepare_seek_segment),
264 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
265 * libs/gst/base/gstbasesrc.h:
266 Allow basesrc derived classes to execute seeks in other formats
267 by providing a prepare_seek_segment vmethod. Sub-classes can choose
268 to prepare the GstSegment in any format that their perform_seek method
269 will be able to understand. The default implementation provides the
270 old behaviour of attempting to convert the seek offsets to the
271 configured native format.
273 API: basesrc::prepare_seek_segment vmethod.
275 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
277 * gst/gstelement.c: (gst_element_get_state_func):
278 Don't output the same debug statement twice.
280 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
281 (gst_adapter_peek), (gst_adapter_take_buffer):
282 Optimise the case where we have buffers at the head of the queue that
283 can be joined quickly (because they're contiguous sub-buffers) by
284 merging them together rather than copying data out into new memory.
286 * gst/parse/grammar.y:
287 * tests/check/pipelines/parse-launch.c:
288 Fix a leak in an error path for parse_launch, and add a check
289 for it to the testsuite.
291 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
293 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
294 Don't deadlock when releasing a pad - gst_pad_set_active may try
295 and take the multiqueue lock too.
297 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
299 * gst/gsterror.c: (_gst_core_errors_init):
301 API: add GST_CORE_ERROR_DISABLED (#392804).
303 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
305 * docs/faq/gst-uninstalled:
306 don't get empty paths on the PATH variables
307 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
308 Don't format for the uncommon terminal width of 84 characters.
310 2007-04-06 Wim Taymans <wim@fluendo.com>
312 * gst/gstpipeline.c: (reset_stream_time),
313 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
314 Only try to select a different pipeline clock when we went back to
315 PAUSED and not when we merely got flushed.
317 2007-04-05 Michael Smith <msmith@fluendo.com>
319 * tools/gst-launch.1.in:
320 fractions are better supported in gstreamer than ractions, so
323 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
325 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
329 Added Danish translation.
331 2007-04-05 Wim Taymans <wim@fluendo.com>
333 * libs/gst/base/gstbasesink.c:
334 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
335 Fix leak caused when refusing newsegment after EOS.
337 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
338 (gst_fake_sink_init), (gst_fake_sink_set_property),
339 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
340 (gst_fake_sink_render), (gst_fake_sink_change_state):
341 * plugins/elements/gstfakesink.h:
342 Add num-buffers property to make the element generate EOS after a
343 configurable amount of buffers.
344 API: fakesink::num-buffers property.
346 * tests/check/elements/fakesink.c: (GST_START_TEST),
348 Fix GstBus leak in test.
349 Test for fakesink num-buffers.
351 2007-04-05 Wim Taymans <wim@fluendo.com>
353 * libs/gst/base/gstbasesink.c:
354 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
355 (gst_base_sink_change_state):
356 Don't accept anything after an EOS, return UNEXPECTED instead.
358 * tests/check/elements/fakesink.c: (GST_START_TEST),
360 Unit test for new EOS behaviour.
362 2007-04-05 Wim Taymans <wim@fluendo.com>
364 * gst/gstelement.c: (gst_element_get_request_pad):
365 Make padtemplates also work when they don't contain %s or %d.
367 2007-04-05 Wim Taymans <wim@fluendo.com>
369 * docs/gst/gstreamer-sections.txt:
370 * gst/gstclock.c: (gst_clock_adjust_unlocked),
371 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
373 Improve _adjust_unlocked() so that it overflows less.
374 Add gst_clock_unadjust_unlocked to convert from external time to
375 internal time based on calibration.
377 API: GstClock::gst_clock_unadjust_unlocked()
379 2007-04-03 Wim Taymans <wim@fluendo.com>
381 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
383 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
384 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
385 when releasing sink pad. Fixes #425400.
387 2007-04-02 Stefan Kost <ensonic@users.sf.net>
389 * docs/random/ensonic/dynlink.txt:
390 More work on proposal for new core api.
392 * docs/libs/gstreamer-libs-sections.txt:
393 * libs/gst/base/gstbasetransform.h:
394 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
396 * libs/gst/controller/gstcontroller.c:
397 (on_object_controlled_property_changed),
398 (gst_controller_sync_values),
399 (gst_controller_set_interpolation_mode):
400 * libs/gst/controller/gstcontroller.h:
401 Less verbose logging add docs for unimplemented parts and correctly
402 return when using unavailable parts.
404 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
406 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
407 Move all the debug to the CLOCK category, and associate it with
410 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
412 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
413 Make take_buffer a bit quicker by removing redundant checks
414 caused by calling gst_adapter_take.
416 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
418 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
421 * tests/check/Makefile.am:
422 * tests/check/elements/.cvsignore:
423 * tests/check/elements/multiqueue.c: (setup_multiqueue),
424 (GST_START_TEST), (multiqueue_suite):
425 Add some dead simple unit tests for the 'multiqueue' element
426 (some bits don't work yet and are disabled for now).
428 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
430 * gst/gstelement.c: (gst_element_get_request_pad),
431 (gst_element_class_get_request_pad_template):
432 Make gst_element_get_request_pad() create request pads only for
433 request pad templates and not for, say, sometimes pad templates.
435 2007-03-28 Stefan Kost <ensonic@users.sf.net>
437 * docs/design/draft-klass.txt:
438 Add example that needs more thinking.
440 * docs/design/draft-missing-plugins.txt:
441 More thoughts about wrapper plugins.
443 * docs/random/ensonic/embedded.txt:
444 * docs/random/ensonic/profiling.txt:
447 2007-03-25 Wim Taymans <wim@fluendo.com>
449 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
451 Only push the segment events in the PLAYING state for live sources.
453 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
455 * gst/gstpipeline.c: (gst_pipeline_change_state):
456 Modify the clock distribution path in PAUSED->PLAYING so that we
457 never attempt to choose a new clock unless we're actually leaving
458 the PAUSED state for the first time. This prevents choosing a
459 different clock when the state_change gets called for a 2nd time due
460 to some element doing an async state change.
462 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
464 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
465 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
466 (gst_pad_chain_unchecked), (gst_pad_push):
467 Revert last commit. This needs some more thoughts.
469 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
471 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
472 (gst_pad_chain_unchecked), (gst_pad_push):
473 Check in set_caps if the caps are compatible with the pad and remove
474 two functions that are redundant now. Fixes #421543.
476 2007-03-22 Wim Taymans <wim@fluendo.com>
478 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
479 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
480 Unref some more to make valgrind happy.
482 2007-03-22 Wim Taymans <wim@fluendo.com>
484 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
485 (gst_system_clock_id_wait_jitter),
486 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
487 Fix anoying regression that survived a few releases. When adding an
488 async entry while blocking on a sync entry, the sync entry will unblock
489 but still be busy, so it should continue to wait instead of returning
491 Add some comments here and there.
493 * tests/check/gst/gstsystemclock.c: (mixed_thread),
494 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
495 Add testcase for this.
497 2007-03-22 Wim Taymans <wim@fluendo.com>
499 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
500 Handle errors from the clock sync better, only UNSCHEDULED indicates a
501 WRONG_STATE and can silently pause the task. All other cases should
504 2007-03-22 Wim Taymans <wim@fluendo.com>
506 Patch by: <syrjala at sci dot fi>
508 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
509 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
512 2007-03-21 Michael Smith <msmith@fluendo.com>
514 * docs/pwg/advanced-types.xml:
515 Fix some errors in the typefinding docs pointed out on irc.
517 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
519 * libs/gst/base/gstbasesrc.c:
520 Clarify FIXME comment in the face of having added unlock_stop()
522 2007-03-21 Wim Taymans <wim@fluendo.com>
524 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
525 Prepare for release where we warn against possible app breakage in the
526 case of live pipelines along with an env var to enable/disable live
527 preroll mode (GST_COMPAT=[no-]live-preroll).
529 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
531 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
532 So we should use correct constants for checking for None offset.
534 2007-03-20 Wim Taymans <wim@fluendo.com>
536 * docs/design/part-block.txt:
537 Mention the fact that the newly switched element should be set to at
540 2007-03-20 Wim Taymans <wim@fluendo.com>
543 Fix compilation with registry disabled as spotted by Saur.
545 2007-03-20 Wim Taymans <wim@fluendo.com>
547 Patch by: Olivier Crete <tester at tester dot ca>
549 * gst/gstelement.c: (gst_element_sync_state_with_parent):
550 Look at the pending state too when syncing the element state to the
551 parent. Fixes #420133.
553 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
555 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
556 (gst_base_sink_change_state):
557 * libs/gst/base/gstbasesink.h:
558 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
559 (gst_base_src_default_event), (gst_base_src_unlock_stop),
560 (gst_base_src_deactivate):
561 * libs/gst/base/gstbasesrc.h:
562 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
563 for sub-classes to correctly clear any state they set trying to
564 unlock, such as clearing out unlock commands from a command fd.
566 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
567 (gst_fd_sink_render), (gst_fd_sink_unlock),
568 (gst_fd_sink_unlock_stop):
569 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
570 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
571 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
573 Implement unlock_stop in fdsrc and fdsink.
574 Implement seeking in fdsrc when a seekable fd is passed, as in
575 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
577 2007-03-19 Wim Taymans <wim@fluendo.com>
579 Patch by: Evan Nemerson <evan at coeus dash group dot com>
581 * gst/gstelement.c: (gst_element_class_init):
582 Fix pad-added and pad-removed signal signatures so that the pad type is
583 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
585 2007-03-19 Wim Taymans <wim@fluendo.com>
587 * docs/gst/gstreamer-sections.txt:
588 Add new element field and method.
590 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
591 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
592 (gst_bin_recalc_state), (gst_bin_get_state_func),
593 (gst_bin_element_set_state), (gst_bin_change_state_func),
594 (gst_bin_continue_func), (bin_bus_handler),
595 (bin_push_state_continue), (bin_handle_async_start),
596 (bin_handle_async_done), (gst_bin_handle_message_func):
597 Make async state changes a bit smarter by using new ASYNC_START and
598 ASYNC_DONE messages. This reduces the number of times we run the state
599 recalculation thread.
600 Don't change state of element with a pending ASYNC_START message.
601 Deprecate STATE_DIRTY messages.
603 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
604 (gst_element_get_state_func), (gst_element_continue_state),
605 (gst_element_lost_state), (gst_element_set_state_func),
606 (gst_element_change_state):
608 Keep the state that was last set by the app in a new element field.
609 Don't allow state changes when handling an element event.
610 Post ASYNC_START and ASYNC_DONE messages.
611 Change lost_state so that we go to PAUSED and wait for the parent to set
612 us to PLAYING again (so latency calculation can be performed)
613 Export gst_element_change_state() method so that subclasses can use it.
614 API: gst_element_change_state()
615 API: GST_STATE_TARGET
617 * gst/gstpipeline.c: (gst_pipeline_class_init),
618 (reset_stream_time), (gst_pipeline_change_state),
619 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
620 Using the new ASYNC_START message we can reset the base_time when
621 needed. This can then be used to implement base_time redistribution in
622 flushing seeks so that we can remove the explicit seek handling.
623 Perform latency query and configuration when going to PLAYING.
625 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
626 (gst_base_sink_query), (gst_base_sink_change_state):
627 Post new ASYNC_START/ASYNC_DONE messages.
629 * tests/check/generic/sinks.c: (GST_START_TEST):
630 Fix test because the bin will not set the async element to PLAYING right
633 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
634 Make the message check a little stronger.
635 Handle ASYNC messages.
637 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
638 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
639 Expect ASYNC_DONE messages.
641 2007-03-19 Wim Taymans <wim@fluendo.com>
643 * docs/gst/gstreamer-sections.txt:
644 * gst/gstmessage.c: (gst_message_new_async_start),
645 (gst_message_new_async_done), (gst_message_parse_info),
646 (gst_message_parse_async_start):
648 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
651 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
653 * tools/gst-inspect.c:
654 (print_plugin_automatic_install_info_codecs):
655 Now that we don't check for the 'Codec' keyword any longer in the
656 klass, we shouldn't spew a warning if the klass isn't a decoder or
657 encoder (since it might be a Source/Network, for example).
659 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
661 * tools/gst-inspect.c:
662 (print_plugin_automatic_install_info_codecs):
663 Don't require decoder/demuxer/depayloader elements or
664 encoder/muxer/paylader elements to have 'Codec' as part of their
665 factory class string when introspecting a plugin's capabilities.
666 draft-klass.txt mentions that it might be removed in future, and
667 flump3dec doesn't have it as part of its class string, so chances
668 are others might also not have it.
670 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
692 Update translations from translation project
694 2007-03-14 Stefan Kost <ensonic@users.sf.net>
696 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
697 (gst_child_proxy_set_property):
698 Invert precondition check to be alike the ones in the mimiced gobject
701 2007-03-13 Stefan Kost <ensonic@users.sf.net>
703 * docs/design/draft-tagreading.txt:
704 * docs/random/ensonic/audiobaseclasses.txt:
705 Do some Architect work.
707 * gst/gstobject.c: (gst_object_set_name):
711 Add docs that point from gst_pad_get_range to gst_pad_pull_range
713 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
715 * gst/gstsystemclock.c: (gst_system_clock_init),
716 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
717 Defer starting the async system clock thread until the first async
718 wait is scheduled. Fixes #414986.
720 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
722 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
723 (gst_single_queue_free):
724 Fix small leak (free GstSingleQueue structure too, not only contents).
726 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
728 * gst/gstbin.c:(gst_bin_add):
729 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
730 * win32/common/libgstbase.def:
731 * win32/common/libgstreamer.def:
732 Add new exported functions.
734 2007-03-09 Wim Taymans <wim@fluendo.com>
736 * docs/plugins/gstreamer-plugins-sections.txt:
739 2007-03-09 Wim Taymans <wim@fluendo.com>
741 * docs/gst/gstreamer-sections.txt:
742 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
744 Add metadata copy functions. Fixes #393099.
746 * gst/gstutils.c: (gst_buffer_stamp):
747 * libs/gst/base/gstbasetransform.c:
748 (gst_base_transform_prepare_output_buffer):
749 Use new metadata copy functions.
751 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
753 * plugins/elements/gstidentity.c: (gst_identity_class_init),
754 (gst_identity_init), (gst_identity_check_perfect),
755 (gst_identity_check_imperfect_timestamp),
756 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
757 (gst_identity_set_property), (gst_identity_get_property):
758 * plugins/elements/gstidentity.h:
759 Separate out check-imperfect-timestamp and check-imperfect-offset.
760 Put back check-perfect as it was to keep compatibility.
762 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
764 * gst/gstelement.c: (gst_element_dispose):
765 There's no need to warn if VOID_PENDING is not NONE here, as
766 long as the state is NULL it's ok, and that's checked immediately
769 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
771 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
772 Fix check for perfect stream to ignore buffers with -1
773 offsets/offset ends when checking data contiguity.
775 2007-03-08 Wim Taymans <wim@fluendo.com>
777 * tools/gst-launch.c: (event_loop):
780 2007-03-08 Wim Taymans <wim@fluendo.com>
782 * libs/gst/base/gstbasetransform.c:
783 (gst_base_transform_sink_eventfunc),
784 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
785 (gst_base_transform_activate):
786 * libs/gst/base/gstbasetransform.h:
787 Add support for dropping buffers with custom GstFlowReturn.
788 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
789 buffers or dropped buffers.
791 * docs/libs/gstreamer-libs-sections.txt:
792 docs for new custom return code.
794 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
795 Use drop support in base class to implement drop-probability.
797 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
799 * gst/gst.c: (load_plugin_func):
800 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
801 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
802 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
803 Remove newlines at end of debug log strings.
805 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
807 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
808 Only post bus message at max, once per buffer received.
810 2007-03-07 Wim Taymans <wim@fluendo.com>
812 * docs/design/Makefile.am:
813 * docs/design/part-synchronisation.txt:
814 Add doc about synchronisation
816 * docs/design/draft-latency.txt:
817 * docs/design/part-TODO.txt:
818 * docs/design/part-clocks.txt:
819 * docs/design/part-events.txt:
820 * docs/design/part-gstbus.txt:
821 * docs/design/part-gstpipeline.txt:
822 * docs/design/part-live-source.txt:
823 * docs/design/part-messages.txt:
824 * docs/design/part-overview.txt:
825 * docs/design/part-streams.txt:
826 * docs/design/part-trickmodes.txt:
827 Documentation updates.
829 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
832 Update the doap file.
834 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
836 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
837 Rename non-perfect to imperfect for Mike and for the sanctity of the
839 Also make sure bus message gets emitted for data-incontiguities.
841 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
843 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
844 (gst_identity_start):
845 * plugins/elements/gstidentity.h:
846 Emit bus message if check-perfect is true and we encounter a
847 non-perfect stream between 2 consecutive buffers.
850 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
855 === release 0.10.12 ===
857 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
860 releasing 0.10.12, "Inevitable Demise"
862 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
865 Version 0.10.11.2 (0.10.12 pre-release)
866 Bump libtool versioning.
868 2007-03-01 Stefan Kost <ensonic@users.sf.net>
870 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
871 Log flow-names and not numbers.
873 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
876 Convert to new AG_GST style.
878 2007-02-28 Wim Taymans <wim@fluendo.com>
880 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
881 Don't unref query twice.
883 2007-02-28 Wim Taymans <wim@fluendo.com>
885 * gst/gstvalue.c: (gst_value_transform_object_string),
886 (_gst_value_initialize):
887 Implement GstObject -> string transform so we print object names
888 when serializing GValues containing GstObjects.
890 2007-02-28 Wim Taymans <wim@fluendo.com>
892 * docs/gst/gstreamer-sections.txt:
893 Add new stuff to docs.
895 2007-02-28 Wim Taymans <wim@fluendo.com>
897 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
898 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
899 (gst_base_sink_change_state):
900 Improve latency query code.
901 Don't leak latency events.
903 * tests/check/gst/gstbin.c: (GST_START_TEST):
906 2007-02-28 Wim Taymans <wim@fluendo.com>
908 * gst/gstelement.c: (gst_element_message_full),
909 (gst_element_get_state_func):
911 Improve docs a little. Added Since: for new macro.
913 * gst/gstobject.c: (gst_object_sink):
914 * gst/gstpipeline.c: (gst_pipeline_change_state),
915 (gst_pipeline_set_new_stream_time):
917 Improve debugging and docs.
919 * gst/gstutils.c: (gst_element_state_change_return_get_name):
922 2007-02-28 Wim Taymans <wim@fluendo.com>
924 * gst/gstelement.c: (gst_element_message_full),
925 (gst_element_set_locked_state), (gst_element_get_state_func),
926 (gst_element_change_state):
927 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
928 Documentation updates.
931 * gst/gstmessage.c: (gst_message_new_info),
932 (gst_message_parse_info):
934 API: gst_message_new_info()
935 API: gst_message_parse_info()
936 Add INFO message create and parse code.
938 2007-02-28 Wim Taymans <wim@fluendo.com>
940 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
941 (bin_query_latency_done):
942 Also report the live parameter of a latency query.
944 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
946 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
947 Copy the current generic/states example from -base and adapt so
948 we can use the exact same code everywhere.
949 Check a STATES_IGNORE_ELEMENTS env var which can be used
950 to ignore certain element factories for this test, which is
951 what is being done in -base
952 * tests/check/Makefile.am:
953 Mention this environment variable.
955 2007-02-27 Wim Taymans <wim@fluendo.com>
957 * docs/gst/gstreamer-sections.txt:
958 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
959 (gst_bus_timed_pop), (gst_bus_pop):
961 API: gst_bus_timed_pop()
962 Implement gst_bus_timed_pop() to do a blocking timed wait for a
963 message to arrive on the bus.
965 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
967 Two unit tests for new _timed_pop() function.
969 2007-02-23 Wim Taymans <wim@fluendo.com>
971 * gst/gstpipeline.c: (gst_pipeline_change_state),
972 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
973 Don't ref a NULL clock in _provide_clock_func().
974 Don't allow an INVALID delay.
975 Don't try to calculate base_time with an invalid start_time.
976 Also distribute and notify a NULL clock when it was selected.
978 * tools/gst-launch.c: (event_loop):
979 Don't crash when a NULL clock was selected in the pipeline.
981 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
983 * docs/design/Makefile.am:
984 * docs/design/draft-missing-plugins.txt:
985 * docs/random/draft-missing-plugins.txt:
986 Some small updates: update plugin system identifier prefix
987 ('gstreamer.net' to 'gstreamer'), mention our new install
988 API in libgstbaseutils rather than libgimme-codec, add
989 reference to the online docs.
991 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
993 * win32/common/config.h:
994 Pretty sure Bill never made a powerpc version. Powerpc hackers,
995 use moap cl ci to only check in what is mentioned in the ChangeLog.
997 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
999 * docs/gst/gstreamer-sections.txt:
1001 Fix up documentation to link to the correct GstGError section.
1002 Add GST_ELEMENT_INFO macro since someone else added a Info message.
1004 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
1006 * tools/gst-launch.c: (event_loop):
1007 Make sure that we actually show the important message part of a
1009 No need to check if the gerror is not NULL to free; first of all
1010 g_free accepts NULL; and second the default error handler would
1011 segfault if gerror was NULL.
1013 2007-02-21 Wim Taymans <wim@fluendo.com>
1015 * docs/gst/gstreamer-sections.txt:
1016 Removed docs as well.
1018 2007-02-21 Wim Taymans <wim@fluendo.com>
1020 * gst/gstmessage.c: (gst_message_parse_duration):
1022 Remove new messages for release.
1024 2007-02-20 Wim Taymans <wim@fluendo.com>
1026 * docs/design/part-gstghostpad.txt:
1027 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
1028 (gst_ghost_pad_new_full):
1029 Make the ghostpad a parent of the internal pad again for better backward
1030 compatibility. Don't write code that relies on this however.
1032 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1033 (gst_pad_link_check_hierarchy):
1034 Require that parents should be GstElements in the hierarchy check.
1036 2007-02-20 Wim Taymans <wim@fluendo.com>
1038 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
1039 (gst_bin_change_state_func), (bin_query_min_max_init),
1040 (bin_query_latency_fold), (bin_query_latency_done),
1043 Implement latency query.
1045 2007-02-20 Wim Taymans <wim@fluendo.com>
1047 * docs/design/part-gstghostpad.txt:
1048 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
1049 (gst_ghost_pad_internal_do_activate_push),
1050 (gst_ghost_pad_internal_do_activate_pull),
1051 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1052 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
1053 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
1054 Do not set the internal pad as a parent anymore so we can avoid
1055 hierarchy linking errors when the ghostpad has no parent yet. This also
1056 fixes failed activation because of unlinked internal pads, which in
1057 turn fixes the impossible case where you have to activate a pad before
1058 you can add it to a running element.
1061 * gst/gstpad.c: (pre_activate), (post_activate),
1062 (gst_pad_set_active), (gst_pad_activate_pull),
1063 (gst_pad_activate_push), (gst_pad_check_pull_range):
1064 Add some more debug info.
1065 Mark activation mode in pre_activate so that we don't try to activate in
1066 endless loops. Fixes #385084.
1068 2007-02-19 Wim Taymans <wim@fluendo.com>
1070 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1071 (gst_base_transform_check_get_range):
1072 Implement a checkgetrange function instead of relying on the default
1073 core behaviour that assumes we can operate in pull mode if we have a
1074 getrange function. First step at fixing #385084.
1076 2007-02-15 Stefan Kost <ensonic@users.sf.net>
1078 * gst/gstchildproxy.h:
1079 * libs/gst/base/gstbasesink.h:
1080 * libs/gst/base/gstbasesrc.h:
1081 * libs/gst/base/gstbasetransform.h:
1082 More docs coverage and some ChangeLog surgery (add missing names)
1084 2007-02-15 Wim Taymans <wim@fluendo.com>
1086 * docs/design/part-TODO.txt:
1087 * docs/design/part-activation.txt:
1088 * docs/design/part-block.txt:
1089 * docs/design/part-buffering.txt:
1090 * docs/design/part-clocks.txt:
1091 * docs/design/part-element-source.txt:
1092 * docs/design/part-events.txt:
1093 * docs/design/part-gstbin.txt:
1094 * docs/design/part-gstbus.txt:
1095 * docs/design/part-gstpipeline.txt:
1096 * docs/design/part-live-source.txt:
1097 * docs/design/part-messages.txt:
1098 * docs/design/part-overview.txt:
1099 * docs/design/part-qos.txt:
1100 * docs/design/part-query.txt:
1101 * docs/design/part-states.txt:
1102 * docs/design/part-trickmodes.txt:
1103 Some doc updates. Start renaming from stream_time to running_time where
1104 it was used wrongly.
1106 2007-02-15 Wim Taymans <wim@fluendo.com>
1108 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1109 Answer LATENCY query.
1111 2007-02-15 Wim Taymans <wim@fluendo.com>
1113 * tests/check/gst/gstevent.c: (event_probe), (test_event),
1117 2007-02-15 Wim Taymans <wim@fluendo.com>
1119 * gst/gstpad.c: (gst_pad_get_internal_links_default),
1120 (gst_pad_dispatcher):
1121 Improve debugging of default pad dispatcher and query functions.
1123 2007-02-15 Wim Taymans <wim@fluendo.com>
1125 * docs/gst/gstreamer-sections.txt:
1126 Remove old unused method.
1128 2007-02-13 Wim Taymans <wim@fluendo.com>
1130 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1133 2007-02-13 Wim Taymans <wim@fluendo.com>
1135 * docs/design/part-seeking.txt:
1138 * gst/gstsegment.c: (gst_segment_set_seek):
1139 Revert old bogus change that should make seeking work again.
1141 2007-02-13 Stefan Kost <ensonic@users.sf.net>
1143 * docs/random/ensonic/dynlink.txt:
1144 * docs/random/ensonic/interfaces.txt:
1145 * docs/random/ensonic/receipies.txt:
1146 Possible dynamic reconnection api, plus some type fixes the other two
1149 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
1151 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1152 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1153 Also check for an absolute path following file:// in the filesrc
1154 element. Remove redundant check and call g_path_is_absolute() on the
1157 2007-02-13 Stefan Kost <ensonic@users.sf.net>
1159 * docs/design/draft-klass.txt:
1160 Add existing category analysis.
1163 Fix doc example, framerate is a fraction.
1165 2007-02-12 Stefan Kost <ensonic@users.sf.net>
1168 * docs/gst/Makefile.am:
1169 * docs/libs/Makefile.am:
1170 * docs/plugins/Makefile.am:
1171 Add crossreferences to glib/gobject docs.
1173 2007-02-12 Wim Taymans <wim@fluendo.com>
1175 * docs/design/draft-latency.txt:
1178 * docs/libs/gstreamer-libs-sections.txt:
1179 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1180 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
1181 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
1182 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
1183 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
1184 (gst_base_sink_get_position), (gst_base_sink_query),
1185 (gst_base_sink_change_state):
1186 * libs/gst/base/gstbasesink.h:
1187 API: gst_base_sink_query_latency() to let subclasses query the upstream
1189 API: gst_base_sink_get_latency() to let subclasses query the configured
1190 latency in the sink.
1191 Implement query and set latency.
1193 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
1194 don't continue preroll when we are flushing. Fixes #405284.
1196 * tests/check/pipelines/stress.c: (change_state_timeout),
1197 (quit_timeout), (GST_START_TEST), (stress_suite):
1200 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
1202 Patch by: René Stadler <mail at renestadler de>
1204 * docs/gst/gstreamer-sections.txt:
1205 * gst/gsttaglist.c: (_gst_tag_initialize):
1207 API: add GST_TAG_REFERENCE_LEVEL (#403597).
1209 2007-02-11 Stefan Kost <ensonic@users.sf.net>
1211 * docs/libs/Makefile.am:
1212 Fix path to core docs.
1214 * gst/gstbin.c: (gst_bin_get_by_interface),
1215 (gst_bin_iterate_all_by_interface):
1216 Refix docs by also renaming 'interface' to 'iface' in implementation.
1218 * docs/gst/gstreamer-sections.txt:
1220 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1221 * gst/gstchildproxy.h:
1222 * gst/gstelementfactory.c:
1223 * gst/gstpadtemplate.h:
1224 * libs/gst/controller/gstcontroller.c:
1225 (gst_controlled_property_new):
1228 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
1230 * gst/gstbin.h:(gst_bin_get_by_interface),
1231 (gst_bin_iterate_all_by_interface):
1232 Replace interface parameter name by iface as interface is
1233 a reserved keyword in Visual Studio for C++ projects so it removes
1234 a build error for application developpers using VS.
1235 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
1236 Fix a bug on Windows in uri format check. Now the prefix checked
1237 is file:// and next we check if the path after file:// is absolute.
1238 * win32/common/libgstbase.def:
1239 * win32/common/libgstdataprotocol.def:
1240 * win32/common/libgstgstreamer.def:
1241 Add new exported functions.
1243 2007-02-09 Andy Wingo <wingo@pobox.com>
1245 * tests/check/pipelines/simple-launch-lines.c
1246 (simple_launch_lines_suite, test_tee): Disable tee test until I
1247 have time to fix it :-(
1249 * tests/check/Makefile.am (noinst_HEADERS):
1250 * tests/check/libs/libsabi.c:
1251 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1252 * tests/check/gst/gstabi.c:
1253 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1255 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1256 tests for push and pull tee behavior.
1258 * plugins/elements/gsttee.h:
1259 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1260 mark as deprecated as well as unimplemented. It was a crack idea.
1261 Add support for tee operating in pull mode, off by default.
1263 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1264 normal-case logs down to LOG, raise errors to WARNING.
1265 (gst_registry_xml_read_cache): Don't log before calling a function
1268 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1269 exit (registry finalize).
1270 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1271 DEBUG log when we emit signals that people don't even have the
1272 chance to connect to.
1273 (gst_registry_scan_path_level): Less logging in the normal case.
1275 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1277 Patch by: Michal Benes <michal dot benes at itonis dot tv>
1279 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1280 Correctly generate EOS for non-seekable files. We don't have a total
1281 length for them and would get an unexpected end of file if we only
1282 special-cased for regular files. (Fixes: #404569)
1284 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1286 * tests/check/elements/filesrc.c: (GST_START_TEST),
1288 Add unit test for the GstURIHandler interface in filesrc. This also
1289 tests the newly added file://localhost/foo/bar support.
1291 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
1293 * gst/gstelementfactory.h:
1294 The klass string is not a hierarchy. Add reference to the design doc
1295 for more information and common types.
1297 2007-02-02 Wim Taymans <wim@fluendo.com>
1299 * gst/gstquery.c: (gst_query_new_latency):
1300 Remove old structure field.
1302 2007-02-02 Stefan Kost <ensonic@users.sf.net>
1304 * tools/gst-launch.1.in:
1305 Give example for network streaming (#351998)
1307 2007-02-02 Wim Taymans <wim@fluendo.com>
1309 * docs/gst/gstreamer-sections.txt:
1310 Add docs for new methods.
1312 * gst/gstevent.c: (gst_event_new_latency),
1313 (gst_event_parse_latency):
1315 Add new LATENCY event to configure latency in a pipeline.
1316 API: gst_event_new_latency
1317 API: gst_event_parse_latency
1319 * gst/gstmessage.c: (gst_message_new_buffering),
1320 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1321 (gst_message_new_latency), (gst_message_parse_buffering),
1322 (gst_message_parse_lost_preroll):
1324 Added messages used in draft-latency.
1325 API: gst_message_new_lost_preroll
1326 API: gst_message_parse_lost_preroll
1327 API: gst_message_new_prerolled
1328 API: gst_message_new_latency
1330 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1331 (gst_query_parse_latency):
1333 Implemented new latency query as in design doc.
1334 API: gst_query_new_latency
1335 API: gst_query_set_latency
1336 API: gst_query_parse_latency
1338 2007-02-02 Wim Taymans <wim@fluendo.com>
1340 * docs/design/draft-latency.txt:
1341 Slight redesign to allow for dynamic latency adjustments.
1343 * docs/design/part-negotiation.txt:
1346 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
1348 reviewed by: Wim Taymans <wim@fluendo.com>
1350 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1351 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1352 Allow file://localhost/foo/bar URLs and correctly fail for every other
1353 hostname that one sets. This was gnomevfssrc is linked for those if
1354 installed as it can handle it (#403172)
1356 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1358 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1360 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1361 (unref_data), (gst_collect_pads_add_pad_full):
1362 * libs/gst/base/gstcollectpads.h:
1363 Don't put the previously added destroy notify in the GstCollectData
1364 struct as all it's padding is already used and we don't want to break
1365 ABI. Instead put in the pad's GObject data for now. This should be
1366 cleaned up for 0.11 (#402393).
1368 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1370 reviewed by: Wim Taymans <wim@fluendo.com>
1372 * docs/libs/gstreamer-libs-sections.txt:
1373 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1374 (unref_data), (gst_collect_pads_add_pad),
1375 (gst_collect_pads_add_pad_full):
1376 * libs/gst/base/gstcollectpads.h:
1377 API: Add function to specify a destroy notification for custom
1378 GstCollectData when adding new pads in GstCollectPads (#402393).
1380 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
1383 Update Swedish translation (#378255).
1385 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1387 * docs/design/draft-klass.txt:
1388 Fix the previous change, this is a list of categories and not a hierarchy.
1390 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1392 * docs/design/draft-klass.txt:
1393 Add info about how to get a list of used classes.
1395 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
1397 * plugins/elements/gsttypefindelement.c:
1398 (gst_type_find_element_chain_do_typefinding),
1399 (gst_type_find_element_change_state):
1400 Don't leak found caps in chain function (no idea why that never
1401 showed up as a leak anywhere).
1403 2007-01-30 Stefan Kost <ensonic@users.sf.net>
1406 Fix and expand GstPluginDesc API docs.
1408 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1411 * gst/gstelementfactory.c:
1412 * gst/gstpadtemplate.h:
1415 * libs/gst/controller/gstcontroller.c:
1416 (gst_controlled_property_new):
1417 * tests/examples/controller/audio-example.c:
1420 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1423 comment about refining the xml deps
1426 comments about moving away from jade for docs
1429 recommit the ifdefs to use the binary registry
1431 * gst/gstbin.c: (gst_bin_change_state_func):
1432 this break is obsolete
1434 * gst/gstelementfactory.h:
1435 better GST_ELEMENT_DETAILS docs, add comment about translation
1440 * gst/gstobject.c: (gst_signal_object_get_type):
1441 add G_UNLIKELY as usual
1443 * gst/gstpad.c: (gst_pad_event_default):
1444 add fall trhu comment
1446 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1447 (gst_registry_binary_initialize_magic),
1448 (gst_registry_binary_save_string),
1449 (gst_registry_binary_save_pad_template),
1450 (gst_registry_binary_save_feature),
1451 (gst_registry_binary_save_plugin),
1452 (gst_registry_binary_write_cache),
1453 (gst_registry_binary_check_magic),
1454 (gst_registry_binary_load_pad_template),
1455 (gst_registry_binary_load_feature),
1456 (gst_registry_binary_load_plugin),
1457 (gst_registry_binary_read_cache):
1458 comment typo and formatting
1460 * gst/gstutils.c: (gst_element_state_get_name),
1461 (gst_element_state_change_return_get_name):
1462 remove obsolete breaks
1464 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1465 add FIXME 0.11 and remove cpp comment
1467 2007-01-29 Edward Hervey <edward@fluendo.com>
1469 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1470 Fix print statement in an even more portable way.
1472 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
1474 * docs/gst/gstreamer-sections.txt:
1476 API: add GST_ROUND_DOWN_* macros (#401781).
1478 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
1480 * docs/gst/gstreamer.types.in:
1481 * gst/gstregistry.c: (gst_registry_class_init):
1482 Document registry signals and make gtk-doc pick them up (#401381).
1484 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1486 * docs/pwg/building-testapp.xml:
1487 Add some audioconverts and audioresample to the pipeline, and some
1488 more comments and error handling.
1490 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1492 * docs/manual/manual.xml:
1496 2007-01-26 Wim Taymans <wim@fluendo.com>
1498 * gst/gstcaps.c: (gst_static_caps_get):
1499 Init caps flags too.
1501 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
1503 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1505 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1506 If not using mmap'ed files try to seek to the end instead of the
1507 start to determine whether we can seek at all. This fixes the case
1508 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1509 seeks for everything afterwards fail. Fixes #400656
1511 2007-01-25 Wim Taymans <wim@fluendo.com>
1513 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1514 Add some refcount debugging.
1515 Make gst_static_caps_get threadsafe, which is needed when autoplugging
1516 in multiple streaming threads.
1518 2007-01-25 Wim Taymans <wim@fluendo.com>
1520 Patch by: David Schleef <ds at schleef dot org>
1522 * docs/libs/gstreamer-libs-sections.txt:
1523 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1524 * libs/gst/base/gstadapter.h:
1525 API: gst_adapter_copy() that can reduce the amount of memcpy when
1526 getting data from the adapter. Fixes #388201.
1528 2007-01-25 Edward Hervey <edward@fluendo.com>
1530 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1531 In print statements, "%x" is for guint. Fixes build on macosx.
1533 2007-01-24 Edward Hervey <edward@fluendo.com>
1535 * plugins/elements/gstmultiqueue.c:
1536 (gst_multi_queue_loop):
1538 (single_queue_overrun_cb), (single_queue_underrun_cb),
1539 (single_queue_check_full), (gst_single_queue_new):
1540 Implement single queue growth system.
1541 This uses the extra-size properties, and will grow single queues by
1542 that much if one goes full whereas there are others empty. This is
1543 called extra-mode in the code.
1544 When a single queue's levels go back below the initial max-size
1545 limits, it is no longer in extra-mode. This is to ensure we don't
1546 consume too much memory.
1549 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
1551 * gst/gst.c: (gst_init_get_option_group):
1552 Make warning about late g_thread_init() calls a bit more explicit,
1553 so that it's more obvious to application developers what they need
1554 to do if a user files a bug against their application.
1556 2007-01-22 Edward Hervey <edward@fluendo.com>
1558 * plugins/elements/gstmultiqueue.c:
1559 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1560 Remove previous hack of unsetting the flushing flag for the source pad
1561 instead of activating it. Instead, fix the source pad activate function
1562 so that it no longer depends on having a parent set or not.
1564 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
1566 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1568 * docs/manual/basics-bus.xml:
1569 Fix example code, gst_element_unref() doesn't exist any longer.
1571 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
1573 Patch by: Mark Nauwelaerts <manauw at skynet be>
1576 Fix two docs typoes (#399094).
1578 2007-01-19 Edward Hervey <edward@fluendo.com>
1580 * docs/faq/gst-uninstalled:
1581 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1582 depending on libgstbaseutils can work in uninstalled environment.
1584 2007-01-18 Stefan Kost <ensonic@users.sf.net>
1587 * gst/gsttagsetter.c:
1588 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1589 statement for new tag.
1591 2007-01-17 Edward Hervey <edward@fluendo.com>
1593 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1594 When dynamically creating single queues, activate sinkpad before adding
1596 We should be doing the same thing for the source pad, but we can't
1597 since it would call a method which needs the parent to be set in order
1598 to work propertly. Instead of activating the source pad, we just unset
1599 the flushing flag, which is the minimal requirement for adding a pad
1600 to an element in a state greater than READY.
1602 2007-01-17 Edward Hervey <edward@fluendo.com>
1604 * docs/faq/gst-uninstalled:
1605 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1608 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
1610 * tests/check/gst/gstabi.c:
1611 * tests/check/gst/struct_hppa.h:
1612 * tests/check/libs/libsabi.c:
1613 * tests/check/libs/struct_hppa.h:
1614 Add ABI structs for HPPA (see #393796).
1616 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
1618 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1619 Actually write ABI structs to the file specified in the GST_ABI
1620 environment variable, as the message we print claims we would.
1622 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1624 * tests/check/gst/gsttask.c:
1627 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1629 * gst/gsttaglist.c: (_gst_tag_initialize):
1630 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1631 previous two entries.
1633 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1635 * docs/gst/gstreamer-sections.txt:
1636 * gst/gsttaglist.c: (_gst_tag_initialize):
1638 Add tag support for beat-per-minute.
1640 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1642 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1643 (gst_registry_binary_initialize_magic),
1644 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1645 (gst_registry_binary_save_pad_template),
1646 (gst_registry_binary_save_feature),
1647 (gst_registry_binary_save_plugin),
1648 (gst_registry_binary_write_cache),
1649 (gst_registry_binary_check_magic),
1650 (gst_registry_binary_load_pad_template),
1651 (gst_registry_binary_load_feature),
1652 (gst_registry_binary_load_plugin),
1653 (gst_registry_binary_read_cache):
1654 * gst/gstregistrybinary.h:
1655 Use glib types, cleanup comments, impement interfaces and uri-types.
1657 2007-01-13 Andy Wingo <wingo@pobox.com>
1659 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1660 getrange() to return buffers with other caps, while we fix
1661 demuxers and typefind, or otherwise change part-negotiation.txt.
1663 2007-01-12 Andy Wingo <wingo@pobox.com>
1665 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1666 Factor start/stop into this private function instead of partially
1667 in activate functions and partially in the change_state function.
1668 Fixes setup before the element has changed from READY->PAUSED, as
1669 is the case in pull-mode pipelines.
1670 (gst_base_transform_sink_activate_push)
1671 (gst_base_transform_src_activate_pull): Refactor to use
1672 gst_base_transform_activate().
1673 (gst_base_transform_change_state): Removed, not needed any more.
1675 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1676 Truncate before fixating.
1678 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1679 Don't set_caps() if the result of fixating is ANY, as it's not
1680 supported, and not necessary in the case of a link with no
1681 template caps on either side. Fixes tests/check/libs/basesrc in
1682 some pull-mode tests.
1684 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1685 (gst_base_transform_init, gst_base_transform_sink_activate_push)
1686 (gst_base_transform_src_activate_pull):
1687 Track the activation mode.
1688 (gst_base_transform_setcaps): In pull mode, when activating the
1689 src pad, after activating the sink pad, activate the sink pad's
1690 peer, as discussed in part-negotiation.txt.
1692 * libs/gst/base/gstbasesrc.h:
1693 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1694 vmethod, as in basesink.
1696 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1698 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1699 mode, first proxy the setcaps to the peer pad.
1700 (gst_base_sink_pad_fixate): Add a fixate function that calls the
1702 (gst_base_sink_default_activate_pull): Rename from
1703 gst_base_sink_activate_pull.
1704 (gst_base_sink_negotiate_pull): New function, performs negotiation
1705 in pull mode before calling ::activate_pull().
1706 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1707 vmethod instead of the default implementation. I have no idea how
1708 this worked before. Negotiate before calling activate_pull.
1710 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1711 sink pads in pull mode. In addition to being correct, fixes
1712 filesrc ! decodebin ! identity ! fakesink.
1713 (gst_pad_get_range, gst_pad_pull_range): Don't call
1714 gst_pad_set_caps() if the caps changes; instead error out with
1715 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1717 2007-01-12 Andy Wingo <wingo@pobox.com>
1719 * docs/design/part-negotiation.txt: Update with more policy.
1721 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1723 * libs/gst/check/gstbufferstraw.h:
1724 * libs/gst/check/gstcheck.h:
1725 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1728 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1730 * tests/check/Makefile.am:
1731 * tests/check/gst/.cvsignore:
1732 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1733 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1734 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1735 (GST_START_TEST), (gst_tag_setter_suite):
1736 Add minimal unit test for beforementioned GstTagSetter bug.
1738 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1740 Patch by: René Stadler <mail at renestadler dot de>
1742 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1743 gst_tag_list_merge() returns a new list, so it's not the best idea
1744 to ingore its return value. Effectively meant that tags could only
1745 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1746 Also add function guard to require a non-NULL taglist as input (has
1747 always been so due to gst_tag_list_copy(), just making it explicit).
1749 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1751 * docs/random/draft-missing-plugins.txt:
1752 Some additions: mention new API that is supposed to be used at the
1753 various stages; short blob about new gst-inspect introspection
1754 option; mention potential future problem with plugins that have
1755 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1757 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1759 * tools/gst-inspect.c:
1760 (print_plugin_automatic_install_info_codecs),
1761 (print_plugin_automatic_install_info_protocols),
1762 (print_plugin_automatic_install_info), (main):
1763 Add --print-plugin-auto-install-info option to gst-inspect, so we can
1764 introspect plugin files and get machine-parsable output that corresponds
1765 to the last bit of the missing-plugin installer string (small gotcha:
1766 doesn't take into account ranks).
1768 2007-01-11 Stefan Kost <ensonic@users.sf.net>
1771 * docs/gst/gstreamer-sections.txt:
1773 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1774 (gst_registry_lookup_locked):
1775 * gst/gstregistry.h:
1776 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1777 (gst_registry_binary_initialize_magic),
1778 (gst_registry_binary_save_string),
1779 (gst_registry_binary_save_pad_template),
1780 (gst_registry_binary_save_feature),
1781 (gst_registry_binary_save_plugin),
1782 (gst_registry_binary_write_cache),
1783 (gst_registry_binary_check_magic),
1784 (gst_registry_binary_load_pad_template),
1785 (gst_registry_binary_load_feature),
1786 (gst_registry_binary_load_plugin),
1787 (gst_registry_binary_read_cache):
1788 * gst/gstregistrybinary.h:
1789 * gst/gstregistryxml.c: (load_feature),
1790 (gst_registry_xml_read_cache):
1791 commit binary registry (disabled by default, see #359653)
1793 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1795 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1796 Fix 'make check' too.
1798 2007-01-10 Andy Wingo <wingo@pobox.com>
1800 * docs/design/part-negotiation.txt: Fix a typo, add a couple
1803 * docs/design/part-negotiation.txt: Update with, um, one way that
1804 pull-mode negotiation might work?
1807 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1808 that the pad must be a src pad; makes sense to call it the other
1809 way in pull mode, and the logic is symmetric anyway.
1811 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
1813 * plugins/elements/gstfilesink.c:
1814 Include <stdio.h> for fseeko().
1816 2007-01-10 Wim Taymans <wim@fluendo.com>
1820 Reserve LATENCY event.
1822 2007-01-09 Wim Taymans <wim@fluendo.com>
1824 * docs/design/draft-latency.txt:
1827 2007-01-09 Wim Taymans <wim@fluendo.com>
1829 * docs/design/draft-latency.txt:
1833 * gst/gststructure.c:
1837 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
1839 * tests/check/.cvsignore:
1840 Ignore test-registry.xml as well.
1842 2007-01-09 Wim Taymans <wim@fluendo.com>
1844 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1845 unref data at the end when we are done with the pad.
1847 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1849 * docs/gst/gstreamer-sections.txt:
1850 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1851 (init_post), (gst_deinit), (gst_update_registry):
1853 API: add gst_update_registry() (#391296).
1855 * tests/check/Makefile.am:
1856 * tests/check/gst/gstregistry.c:
1857 * tests/check/gst/.cvsignore:
1858 Simple unit test for the above.
1860 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1862 * gst/gstregistry.c: (gst_registry_scan_path_level):
1863 Plugin extension on HP-UX is .sl, add that to the list of approved
1864 plugin extensions (see #393796).
1866 * tests/check/gst/gstpad.c: (GST_START_TEST):
1867 ulong => gulong. Fixes compilation with HP-UX compiler.
1869 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1870 Fix compilation if valgrind headers are not available.
1872 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
1874 * win32/common/libgstreamer.def:
1875 Add new exported function.
1876 * win32/vs6/libgstbase.dsp:
1877 Add gstdataqueue.c to the build.
1878 * win32/vs6/libgstcoreelements.dsp:
1879 Add gstmultiqueue.c to the build.
1881 2007-01-06 Andy Wingo <wingo@pobox.com>
1883 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1884 activate_pull(), providing for a way to specialize the process of
1885 spawning a thread to pull on the sink pad. There is a default
1888 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1889 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1890 (gst_base_sink_init): Renamed pad activation functions (inserting
1891 "_pad" in their names). Refactor to use the new activate_pull
1892 vmethod, as appropriate.
1893 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1894 default activate_pull function to start a task pulling from the
1895 sink pad, as before.
1897 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1898 on the pads if necessary, as in push()/chain(). Update docs.
1899 Shouldn't affect existing pull() usage as it is currently only
1900 being used on buffers without caps.
1902 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1904 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1906 Call g_thread_init() first thing in gst_init() / gst_check_init().
1907 When initialisation is done via gst_init_get_option_group() and
1908 GOption parsing, issue a warning if the GLib thread system has not
1909 been initialised yet by the time gst_init_get_option_group() is
1910 called, as it's quite likely other GLib functions such as
1911 g_option_context_new() have been called already then, and
1912 g_thread_init() must be called before any other GLib function. The
1913 application in question must be fixed in that case, since memory
1914 corruption might happen otherwise.
1915 We issue the warning because even if the GLib folks decide to work
1916 around the problem on their end in future, this is still an issue
1917 with all GLib versions >= 2.10.0, so we should warn until we depend
1918 on a GLib version we know to be safe.
1919 Update documentation as well.
1922 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1924 * tools/gst-inspect.c: (main):
1925 * tools/gst-launch.c: (main):
1926 * tools/gst-typefind.c: (main):
1927 * tools/gst-xmlinspect.c: (main):
1928 Call g_thread_init() really really early, before any other GLib
1929 function (see #342564 and recent discussion on gtk-devel-list).
1931 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1933 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
1935 * gst/gst_private.h:
1936 * gst/gstconfig.h.in:
1938 On win32, all the __declspec stuff for symbol exporting is
1939 apparently only needed with MSVC, but doesn't work with MingW.
1940 Fixes compilation with MingW and #391909.
1942 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1944 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1945 Change some GST_ERROR_OBJECT that aren't really errors to
1946 GST_WARNING_OBJECT in order to reduce terminal spam.
1948 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1950 * tests/check/Makefile.am:
1951 disable test again, as there seem to be still race problems
1953 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1955 * tests/check/Makefile.am:
1956 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1957 (GST_START_TEST), (queue_suite):
1958 enable queue test again, add tests for the leaky behaviour
1960 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
1963 * tests/examples/Makefile.am:
1964 Compile adapter test/example only if the required headers are
1965 available (fixes #391915).
1967 2007-01-01 David Schleef <ds@schleef.org>
1970 Restore the previous signal handler for SIGSEGV instead of
1971 setting to default, since we may have stolen it away from
1972 someone. (i.e., Mono)
1974 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1976 * docs/random/draft-missing-plugins.txt:
1977 Some small additions and clarifications.
1979 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1981 * gst/gstregistryxml.c: (gst_registry_save_escaped):
1982 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1983 since that can lead to random memory corruptions and crashes
1984 (may or may not be related to #383244, #386711, and #386711).
1986 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1988 * tests/check/.cvsignore:
1989 * tests/check/Makefile.am:
1990 sync .cvsignome and CLEANFILES
1992 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1994 * tests/check/Makefile.am:
1997 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1999 * docs/design/part-states.txt:
2000 two tiny additional comments
2002 * gst/gststructure.c:
2005 * tests/check/Makefile.am:
2006 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2008 disable test for now, unless it gets fixed
2010 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2012 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2014 fix race in underrun test
2016 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2018 * tests/check/elements/.cvsignore:
2021 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2023 try to narrow test failure
2025 2006-12-21 David Schleef <ds@schleef.org>
2027 * plugins/elements/gstfakesrc.c:
2028 Use g_random_int_range(), since it produces better random
2029 numbers in a range than almost-correct floating point code.
2031 2006-12-21 Stefan Kost <ensonic@users.sf.net>
2033 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2034 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2035 (gst_check_teardown_sink_pad):
2036 do not automatically (de)activate pads
2038 * tests/check/Makefile.am:
2039 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
2040 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
2041 add new, yet simple tests for queue
2043 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
2044 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
2045 * tests/check/elements/filesrc.c: (cleanup_filesrc),
2047 * tests/check/elements/identity.c: (cleanup_identity):
2048 consistent pad (de)activation
2050 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
2052 Patch by: Sebastian Dröge <slomo ubuntu com>
2054 * libs/gst/base/gstcollectpads.c:
2055 Fix two doc typos (#387866).
2057 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
2059 * docs/manual/advanced-dparams.xml:
2060 Fix typo (g_object_control_properties() doesn't exist).
2062 2006-12-19 Edward Hervey <edward@fluendo.com>
2064 * gst/gstsegment.c: (gst_segment_set_seek):
2065 Fine tune the cases where the segment start/stop values are really
2067 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2068 Add tests for the return values of gst_segment_set_seek().
2070 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
2075 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2077 Fix incorrect documentation and flesh it out a bit more.
2078 Set default values for the max properties on the GParamSpec as well,
2079 so it shows up correctly in gst-inspect.
2081 2006-12-18 Stefan Kost <ensonic@users.sf.net>
2083 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2084 Correct docs of queue, add more detail and crosslink it more.
2086 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
2088 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2089 Print additional debug info when the stream isn't perfectly
2090 timestamped; don't try to use invalid durations.
2092 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
2094 * docs/design/Makefile.am:
2095 Dist new design docs.
2097 2006-12-16 Wim Taymans <wim@fluendo.com>
2099 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2101 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
2102 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2103 (gst_collect_pads_stop), (gst_collect_pads_event),
2104 (gst_collect_pads_chain):
2105 * libs/gst/base/gstcollectpads.h:
2106 Add refcounting to the collectpads data so we can track when it's safe
2107 to free the data. Fixes #383382.
2109 2006-12-15 Wim Taymans <wim@fluendo.com>
2111 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2112 (gst_collect_pads_remove_pad):
2113 Automatically activate/deactivate pads when they are added to a
2114 started/stoped collectpads.
2116 2006-12-15 Wim Taymans <wim@fluendo.com>
2118 * gst/gstelement.c: (gst_element_add_pad):
2119 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
2120 * gst/gstpad.c: (gst_pad_init):
2121 Set pads to FLUSHING when they are created. Check, warn and fix when a
2122 demuxer adds an inactive pad to itself when running. Fixes #339326.
2124 2006-12-15 Wim Taymans <wim@fluendo.com>
2126 * gst/gstelement.c: (gst_element_class_init),
2127 (gst_element_default_send_event), (gst_element_send_event),
2128 (gst_element_default_query), (gst_element_query):
2129 Expose default element send_event and query handling as vmethods that
2130 subclasses can chain up to.
2132 2006-12-15 Wim Taymans <wim@fluendo.com>
2134 * gst/gstelement.c: (gst_element_set_state_func):
2135 Small documentation fixes.
2137 2006-12-15 Wim Taymans <wim@fluendo.com>
2139 * docs/design/draft-latency.txt:
2140 Checked in draft for handling latency in pipelines.
2142 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
2146 * gstreamer.spec.in:
2149 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
2151 * gst/gst.c: (init_pre), (init_post):
2152 init_pre() and init_post() might be called via our GOptionGroup or
2153 from gst_init(), and we should skip both of them if we've already
2154 been initialised, otherwise we will init some things twice or add
2155 two default log functions.
2157 2006-12-13 Edward Hervey <edward@fluendo.com>
2159 * docs/manual/basics-bus.xml:
2160 No, gst_main_loop does not exist. Its g_main_loop.
2161 Discovered by somebody who abused the copy-paste technique of coding :)
2163 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
2165 * gst/gstghostpad.c:
2166 Log ghostpad debug stuff to the GST_PADS category as well rather
2167 than just to the default category.
2169 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
2172 * gst/gst.c: (init_pre):
2173 Add some basic system details such as OS and architecture
2174 to the debug output if possible, courtesy of uname().
2176 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
2178 * docs/gst/running.xml:
2179 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
2180 environment variables.
2182 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
2184 * tests/check/gst/gstbin.c: (GST_START_TEST):
2185 It is acceptable to have a refcount of 2 or 3 at this point in the
2186 test, because the pipeline might be just posting its state_change
2187 message. The next line then waits for that message to appear using
2188 bus_poll, so that should be fine too.
2190 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
2192 * gst/gst.c: (ensure_current_registry_forking):
2193 Ignore EINTR when reading from the child registry pipe.
2194 Explicitly ignore the return value from close, since it makes no
2197 * gst/gstminiobject.c: (gst_mini_object_ref),
2198 (gst_mini_object_unref):
2199 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
2201 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
2202 When removing cached plugins, remove their features too, so they're
2203 not visible after they've disappeared.
2205 * gst/gstutils.c: (prepare_link_maybe_ghosting):
2206 In the unlikely case that we are linking pads with no parents, don't
2207 crash trying to get the non-existent parent bin.
2209 * gst/parse/grammar.y:
2210 Output debug in the PIPELINE category
2212 2005-03-08 Wim Taymans <wim@fluendo.com>
2214 Patch by: René Stadler <mail at renestadler dot de>
2216 * gst/gstclock.c: (gst_clock_new_periodic_id):
2217 Reject invalid clock times for interval of periodic ids.
2220 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2222 * gst/gstelementfactory.c: (gst_element_factory_create):
2223 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2224 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
2225 * tools/gst-inspect.c: (print_element_info):
2226 Fix refcounting of gst_plugin_feature_load to match the docs.
2229 2006-12-07 Wim Taymans <wim@fluendo.com>
2231 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2232 (gst_base_sink_get_position):
2233 Improve debugging of events.
2235 2006-12-07 Wim Taymans <wim@fluendo.com>
2237 Patch by: René Stadler <mail at renestadler dot de>
2239 * gst/gstclock.c: (gst_clock_id_wait):
2240 Make period ids add the interval to the origial requested time instead
2241 of the possibly updated time which can be wrong when there are multiple
2242 waiters for the same id. Fixes #382592.
2244 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
2245 (gst_system_clock_id_wait_jitter_unlocked),
2246 (gst_system_clock_id_wait_jitter):
2247 Fix restart in the async notify thread when an async entry is added to
2248 the front of the list. Fixes #381492.
2250 * tests/check/gst/gstsystemclock.c: (store_callback),
2251 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2252 Added test for multiple async waits.
2253 Added test for async wait order.
2255 2006-12-07 Wim Taymans <wim@fluendo.com>
2257 * gst/gstbin.c: (gst_bin_query):
2258 Add some more docs about the POSITION query.
2260 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2263 Bump version nano - back to CVS.
2265 === release 0.10.11 ===
2267 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
2270 releasing 0.10.11, "Love never runs on time"
2272 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
2274 * win32/common/libgstbase.def:
2275 * win32/common/libgstreamer.def:
2276 * win32/vs8/libgstbase.vcproj:
2277 * win32/vs8/libgstcoreelements.vcproj:
2278 * win32/vs8/libgstreamer.vcproj:
2279 Fix compilation on win32 under VS8
2280 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2281 Partially fixes #381175
2283 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
2285 * gst/gstvalue.c: (gst_value_compare_fraction):
2286 If someone is foolish enough to compare 2 fractions with denominator =
2287 0, return UNORDERED rather than aborting.
2289 2006-11-28 Edward Hervey <edward@fluendo.com>
2291 * libs/gst/base/Makefile.am:
2292 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2293 (gst_data_queue_base_init), (gst_data_queue_class_init),
2294 (gst_data_queue_init), (gst_data_queue_new),
2295 (gst_data_queue_cleanup), (gst_data_queue_finalize),
2296 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2297 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2298 (gst_data_queue_is_empty), (gst_data_queue_is_full),
2299 (gst_data_queue_set_flushing), (gst_data_queue_push),
2300 (gst_data_queue_pop), (gst_data_queue_drop_head),
2301 (gst_data_queue_set_property), (gst_data_queue_get_property):
2302 * libs/gst/base/gstdataqueue.h:
2303 New GstDataQueue object for threadsafe queueing. Most useful for
2304 elements that need some queueing functionnality.
2305 * docs/libs/gstreamer-libs-docs.sgml:
2306 * docs/libs/gstreamer-libs-sections.txt:
2307 Insert documentation for GstDataQueue
2308 * plugins/elements/Makefile.am:
2309 * plugins/elements/gstelements.c:
2310 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2311 (gst_multi_queue_class_init), (gst_multi_queue_init),
2312 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2313 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2314 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2315 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2316 (gst_multi_queue_loop), (gst_multi_queue_chain),
2317 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2318 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2319 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2320 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2321 (wake_up_next_non_linked), (compute_next_non_linked),
2322 (single_queue_overrun_cb), (single_queue_underrun_cb),
2323 (single_queue_check_full), (gst_single_queue_new):
2324 * plugins/elements/gstmultiqueue.h:
2325 New multiqueue element, using GstDataQueue. Used for queuing multiple
2327 Closes #344639 and #347785
2329 2006-11-22 Stefan Kost <ensonic@users.sf.net>
2331 * docs/pwg/advanced-types.xml:
2332 add more missing type details
2334 * tools/gst-run.c: (main):
2335 remove unused variable
2337 2006-11-21 Stefan Kost <ensonic@users.sf.net>
2339 * docs/libs/Makefile.am:
2340 * docs/libs/gstreamer-libs.types:
2341 add types of base classes to enable gobject specific stuff in the docs
2343 * docs/random/ensonic/embedded.txt:
2344 more ideas about isolating platform specific things
2346 2006-11-20 Wim Taymans <wim@fluendo.com>
2348 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2350 * libs/gst/check/gstcheck.h:
2351 Fix compilation and running against 0.9.4. Fixes #377332.
2353 2006-11-20 Wim Taymans <wim@fluendo.com>
2355 * gst/gstsegment.c: (gst_segment_set_seek),
2356 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2357 (gst_segment_to_running_time):
2358 Fix boundary checking in to_running_time() and to_stream_time().
2361 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2362 stream and running time can now be calculated for the complete
2365 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
2367 * gst/gstpad.c: (gst_pad_push_event):
2368 Can't access event structure after giving away ownership of
2371 2006-11-15 Stefan Kost <ensonic@users.sf.net>
2373 * docs/random/ensonic/embedded.txt:
2374 * docs/random/ensonic/profiling.txt:
2375 * docs/random/ensonic/receipies.txt:
2378 2006-11-13 Wim Taymans <wim@fluendo.com>
2380 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2383 Fix documentation for gst_pad_dispatcher. Fixes #374475.
2385 2006-11-13 Wim Taymans <wim@fluendo.com>
2387 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2389 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2390 Store new length in segment duration so we don't keep on calling the
2391 potentially expensize get_size() call. Fixes #370865.
2393 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
2395 Patch by: Sergey Scobich <sergey.scobich at gmail com>
2397 * win32/common/libgstreamer.def:
2398 Add two missing symbols (#366492).
2400 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
2402 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2403 (gst_adapter_take_buffer):
2404 Fix format string to use all its arguments.
2405 Remove useless >= check on a guint
2407 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2409 * tests/examples/adapter/.cvsignore:
2410 Ignore build file as commanded by the build-bot
2412 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2414 * tests/examples/adapter/Makefile.am:
2415 * tests/examples/adapter/adapter_test.c: (run_test_take),
2416 (run_test_take_buffer), (run_tests), (main):
2418 Add new files from the previous commit
2420 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2424 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2425 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2426 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2427 * libs/gst/base/gstadapter.h:
2428 * tests/check/libs/adapter.c: (create_and_fill_adapter),
2429 (GST_START_TEST), (gst_adapter_suite):
2430 * tests/examples/Makefile.am:
2431 Do some optimisation work in GstAdapter to avoid copies in more cases.
2432 It could still do slightly better by merging buffers when
2433 gst_buffer_is_span_fast is true, but is already faster.
2435 Also, avoid traversing a single-linked list to append each incoming
2436 buffer inside the adapter.
2438 Add simple test app that times the adapter behaviour in different
2439 situations, and extend the unit test to check that bytes enter and
2440 exit the adapter in their original order.
2442 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
2444 * docs/random/draft-missing-plugins.txt:
2445 Update: use element message instead of adding a new message
2446 type to the core; don't provide GStreamer API to initiate the
2447 plugin download, just provide API to compose the strings needed
2448 and let an external libgimmestuff handle the rest.
2450 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
2452 * tools/gst-inspect.c: (print_element_properties_info):
2453 Print a string instead of 'unknown type' for GValueArray properties
2455 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
2457 * docs/random/draft-missing-plugins.txt:
2460 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2462 * tests/examples/typefind/typefind.c: (type_found), (main):
2463 Make typefind element example work again (#371894); add a
2466 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2468 * docs/random/draft-missing-plugins.txt:
2469 Commit initial draft about how to deal with missing plugins,
2470 needs work (API too).
2472 2006-11-07 Stefan Kost <ensonic@users.sf.net>
2474 * docs/pwg/advanced-types.xml:
2475 documents the new caps elements (see #363118)
2477 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2479 * gst/gstplugin.c: (gst_plugin_load_file):
2480 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2481 (gst_file_src_map_region), (gst_file_src_start):
2482 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2483 (gst_file_index_commit):
2484 Use g_strerror() instead of strerror() - we want UTF-8.
2486 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2488 Patch by: Peter Kjellerstedt <pkj at axis com>
2490 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2491 Another printf fix (#371493).
2493 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2495 * tests/check/gst/gsttag.c:
2496 relicence (okay with author=company)
2498 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2500 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2501 (gst_pad_push_event):
2502 Enhance debug and improve docs
2507 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2509 * docs/random/ensonic/distributed.txt:
2510 * docs/random/ensonic/profiling.txt:
2513 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2515 * docs/gst/gstreamer-sections.txt:
2516 add new API and fix the build
2518 * gst/gstbin.c: (gst_bin_recalc_state):
2519 * gst/gstelement.c: (gst_element_message_full),
2520 (gst_element_get_state_func), (gst_element_set_state_func):
2521 use new API and improve logging
2523 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2525 API: add function to get StateChangereturn names to improve logs
2527 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
2529 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2530 I'm considering shooting the next person to put strerror stuff
2531 in the translateable part of the message.
2533 2006-11-03 Wim Taymans <wim@fluendo.com>
2535 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2536 Get the type and printf conversion specifiers right.
2538 2006-11-03 Wim Taymans <wim@fluendo.com>
2540 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2542 * gst/gstpad.c: (gst_pad_init), (pre_activate),
2543 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2544 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2545 Some small cleanups. Improve debugging.
2547 Signal all waiting threads with a broadcast instead of just one.
2550 2006-11-03 Wim Taymans <wim@fluendo.com>
2552 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2553 (gst_fd_src_create):
2555 Only update fd when it's different from the old.
2557 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2559 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2560 Printf fixes for PPC/OSX, take two (#369366).
2562 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2564 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
2566 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2567 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2568 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2569 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2570 don't cast to long long for portability reasons, but use
2571 GLib's types instead.
2573 2006-10-30 Michael Smith <msmith@fluendo.com>
2575 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2576 Get the arguments to lseek() the right way around.
2579 2006-10-30 Wim Taymans <wim@fluendo.com>
2581 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2584 _declspec should be __declspec (two underscores, not one). Fixes 366572.
2586 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2588 Patch by: Kjartan Maraas <kmaraas at gnome org>
2590 * docs/design/part-MT-refcounting.txt:
2591 * docs/random/wtay/capsnego2-docs:
2594 Typo fixes (#366212).
2596 2006-10-28 Wim Taymans <wim@fluendo.com>
2598 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2601 * win32/common/libgstbase.def:
2602 * win32/common/libgstreamer.def:
2603 * win32/vs8/libgstbase.vcproj:
2604 * win32/vs8/libgstcontroller.vcproj:
2605 Add needed entries in .def files.
2607 Rearrange def files in vs8 solutions. Fixes #366286.
2609 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2611 * win32/common/gstconfig.h:
2612 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2613 hand-made win32 gstconfig.h. Fixes #366321.
2615 2006-10-27 Wim Taymans <wim@fluendo.com>
2617 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2618 (gst_ghost_pad_new_full):
2619 Make acceptcaps return TRUE when we don't have a target, just like
2622 2006-10-27 Wim Taymans <wim@fluendo.com>
2624 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2625 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2627 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
2629 * gst/gststructure.c: (gst_structure_id_set_value):
2630 If someone tries to set a non-UTF8 string field on a structure,
2631 don't just print a warning, but also ignore the request and do
2632 not change/add that field to the structure.
2634 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2637 2006-10-25 David Schleef <ds@schleef.org>
2640 g_hash_table_insert() needs a cast to a non-const pointer duh.
2642 2006-10-25 David Schleef <ds@schleef.org>
2646 Change name parameter of _gst_debug_register_funcptr to const
2647 to reflect the constness of its use in the function as well
2648 as to quiet a gcc warning.
2650 2006-10-25 Edward Hervey <edward@fluendo.com>
2652 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2653 Don't push the buffer if it's empty.
2656 2006-10-24 Wim Taymans <wim@fluendo.com>
2661 * libs/gst/base/gstbasetransform.c:
2662 (gst_base_transform_sink_eventfunc):
2663 Debug segment values *after* updating them as this is more
2666 2006-10-23 Wim Taymans <wim@fluendo.com>
2668 * docs/design/part-events.txt:
2671 * docs/design/part-block.txt:
2672 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2673 (gst_pad_push_event):
2674 Revert BLOCKING patch, it tries to be smart without really having a
2675 clear idea what or how. So, now we discard all FLUSHING events again on
2676 a blocking pad. Should fix gnonlin again.
2678 2006-10-23 Wim Taymans <wim@fluendo.com>
2680 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2682 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2683 (gst_base_src_start), (gst_base_src_activate_push):
2684 Make sure size is always initialized. Fixes #364388.
2686 2006-10-20 Stefan Kost <ensonic@users.sf.net>
2688 * docs/random/ensonic/distributed.txt:
2689 add some ideas about doing distributed processing
2691 * docs/random/ensonic/profiling.txt:
2692 get_rusage look promising
2694 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2696 * docs/manual/basics-helloworld.xml:
2697 Add a cast in example to fix compile warning
2699 2006-10-18 Wim Taymans <wim@fluendo.com>
2701 * gst/gstsegment.c: (gst_segment_set_last_stop),
2702 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2703 Relax arg checking again, -1 is allowed.
2705 2006-10-18 Wim Taymans <wim@fluendo.com>
2707 * gst/gstsegment.c: (gst_segment_set_last_stop),
2708 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2709 _set_last_stop() must be with a value != -1
2710 A _TYPE_SET to -1 means seek to 0.
2711 Calc last_stop correctly for negative rates.
2712 Make sure we work with positive durations when updating a segment.
2714 2006-10-18 Wim Taymans <wim@fluendo.com>
2716 * docs/design/part-live-source.txt:
2720 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
2723 Add an explicit cast to GstBuffer** to keep old code that added an
2724 explicit cast to GstMiniObject** for gst_mini_object_replace()
2725 compiling without warning.
2727 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2729 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2730 check for validity of dates
2732 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2734 * docs/gst/gstreamer-sections.txt:
2735 Forgot this one, makes gtk-doc shut up.
2737 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2739 Patch by: Peter Kjellerstedt <pkj at axis com>
2742 Don't define xmlNodePtr to gpointer if the core was built with
2743 --disable-loadsave and --disable-registry, this will break
2744 applications that want to use libxml2 but are buildling against a
2745 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2746 instead so we don't have to mess with the libxml2 namespace
2749 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2752 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2753 type-punned pointer warnings.
2755 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
2758 Add casts to the correct return type to state <=> state transition
2761 2006-10-16 Stefan Kost <ensonic@users.sf.net>
2763 * docs/design/part-live-source.txt:
2764 describe howto handle latency
2766 * docs/random/ensonic/profiling.txt:
2769 * tools/gst-plot-timeline.py:
2770 fix log parsing for solaris, remove unused function
2772 2006-10-16 Wim Taymans <wim@fluendo.com>
2774 * docs/design/part-trickmodes.txt:
2776 Update some docs regarding reverse playback.
2778 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
2780 Patch by: Marcus Granado <mrc dot gran at gmail com>
2782 * win32/vs8/grammar.vcproj:
2783 Error out with a warning if glib-genmarshal.exe is not in path,
2784 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2786 2006-10-13 Wim Taymans <wim@fluendo.com>
2788 * gst/gstsegment.c: (gst_segment_set_seek):
2789 When seeking to stop -1, set last_stop (current position) to the
2790 duration of the segment.
2792 2006-10-13 Wim Taymans <wim@fluendo.com>
2795 Clarify _NO_PREROLL a bit more.
2800 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2801 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2802 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2803 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2804 due to wrong locking order. Fixes #361769.
2805 Remove some redundant/misplaced checks in pad_block.
2807 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2808 For negative rates, count backwards from the duration.
2810 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
2812 * gst/gsterror.c: (_gst_library_errors_init):
2813 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2814 up with something better).
2816 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2818 * win32/vs6/libgstreamer.dsp:
2819 * win32/vs7/libgstreamer.vcproj:
2820 * win32/vs8/libgstreamer.vcproj:
2821 Don't reference glib-compat.c which is currently not used and not
2822 disted; add gstquark.c which was recently added. Fixes #361730.
2824 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2826 * win32/common/libgstbase.def:
2827 * win32/common/libgstcontroller.def:
2828 * win32/common/libgstreamer.def:
2829 Add gst_caps_merge() and a bunch of other recently-added functions.
2832 2006-10-11 Wim Taymans <wim@fluendo.com>
2834 * docs/plugins/gstreamer-plugins.args:
2835 * docs/plugins/inspect/plugin-coreelements.xml:
2836 * docs/plugins/inspect/plugin-coreindexers.xml:
2837 Update element args.
2839 * gst/gstsystemclock.c:
2840 Small comment update.
2842 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2843 (gst_tee_request_new_pad), (gst_tee_release_pad),
2844 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2845 (gst_tee_sink_activate_pull):
2846 * plugins/elements/gsttee.h:
2848 Add default property defines.
2849 Implement release pad function.
2850 Give properties better blubs etc.
2851 Activate pads before adding them to a running tee.
2852 Do simple buffer_alloc on the first requested pad.
2853 Post error when activation fails.
2855 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2857 * gst/gst.c: (ensure_current_registry_forking):
2858 Check return value of write() to make compiler happy.
2860 2006-10-11 Wim Taymans <wim@fluendo.com>
2862 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2864 * plugins/elements/gstqueue.c: (gst_queue_chain):
2865 Recheck queue filledness after signalling the overrun when we're about
2866 to leak downstream because we released the lock when emitting the signal
2867 and the queue could be empty again. Fixes #352345.
2869 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2871 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2872 Fix refcounting here too, just like we did for _new_valist() a few
2873 days ago (#357180) (thanks to René Stadler). Also remove all those
2874 'Since: 0.9' from the gtk-doc blobs.
2876 * tests/check/libs/controller.c: (controller_refcount_new_list),
2877 (gst_controller_suite):
2878 Unit test for the above.
2880 2006-10-10 Wim Taymans <wim@fluendo.com>
2882 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2884 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2885 (gst_pad_save_thyself):
2887 Write pad direction in XML output. Fixes #345496.
2889 2006-10-10 Wim Taymans <wim@fluendo.com>
2891 Patch by: René Stadler <mail at renestadler dot de>
2893 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2894 (gst_controller_new_list), (_gst_controller_dispose),
2895 (_gst_controller_finalize), (_gst_controller_class_init):
2896 Take ref to controlled object so that it cannot disappear.
2899 2006-10-10 Wim Taymans <wim@fluendo.com>
2901 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2902 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2903 (gst_check_teardown_sink_pad):
2904 Activate/deactivate pads in setup/teardown respectively.
2906 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2908 Patch by: Josep Torre Valles <josep@fluendo.com>
2911 Cast values when making gstenumtypes.h. This pacifies Forte
2912 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2915 2006-10-09 Wim Taymans <wim@fluendo.com>
2917 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2918 Rename some more @cur to @start to fix docs.
2920 * gst/gstsegment.c: (gst_segment_set_seek):
2922 time and start must always stay in sync as defined in design doc.
2924 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2925 Rename param to fix docs.
2927 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2928 Check that start and time are in sync.
2930 * tests/check/pipelines/parse-launch.c:
2931 (gst_parse_test_element_change_state):
2932 Activate pad before adding to the element.
2934 2006-10-09 Wim Taymans <wim@fluendo.com>
2936 * docs/design/part-qos.txt:
2941 Update seek event docs regarding negative rates.
2942 Rename @cur to @start.
2944 * gst/gstsegment.c: (gst_segment_set_seek):
2946 Update set_seek docs regarding negative rates.
2947 Correctly update last_stop to @stop when dealing with negative
2949 Rename @cur to @start.
2951 * tests/check/gst/gstpad.c: (GST_START_TEST):
2952 Activate pads before trying to use them.
2954 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2955 (gst_segment_suite):
2956 Add simple check for segments and negative rates.
2958 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
2960 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2962 * docs/gst/gstreamer-sections.txt:
2963 API: add gst_tag_list_is_empty() (#360467).
2965 * tests/check/gst/gsttag.c: (GST_START_TEST):
2968 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2971 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2972 a value that doesn't fit on enumeration.
2974 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2976 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2977 Remove local debugging system and use Gstreamer's instead.
2979 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2981 Patch by: Josep Torre Valles <josep@fluendo.com>
2983 * common/m4/gst-error.m4:
2984 Disable warning of statement not reached on Forte.
2986 Fix warning on Forte (value doesn't fit on enumeration).
2987 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2988 Fix warning on Forte (value doesn't fit on enumeration).
2989 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2990 DEBUG macro says it takes minimum of 2 args and so Forte
2991 complains about the use with just 1 arg.
2992 * plugins/elements/gstfdsink.c:
2993 * plugins/elements/gstfdsrc.c:
2994 * plugins/elements/gstfilesink.c:
2995 * plugins/elements/gstfilesrc.c:
2996 Use correct return type for the uri handler implementations.
2998 All these fix warnings in Forte. Fixes bug #360860.
3000 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
3003 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
3004 format string, so don't use G_GNUC_PRINTF for those versions.
3006 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
3008 * gst/gsttaglist.c: (gst_is_tag_list):
3010 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
3012 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3013 Small test for the above.
3015 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
3018 Less tabs, more spaces.
3020 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
3023 Those two function declarations do actually belong there, revert
3024 commit from yesterday that turned them intro macros.
3026 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3028 Patch by: Josep Torre Valles <josep@fluendo.com>
3030 * gst/gst.c: (gst_init_get_option_group):
3031 Fix empty declaration and type mismatch.
3032 * gst/gstbin.c: (gst_bin_change_state_func):
3034 * gst/gstelement.c: (gst_element_continue_state),
3035 (gst_element_set_state_func), (gst_element_change_state),
3036 (gst_element_change_state_func):
3037 Fix type mismatches.
3038 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
3039 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
3040 Cast as appropriate.
3041 * gst/gstobject.c: (gst_class_signal_connect):
3042 Cast as appropriate. The function pointer parameter really
3043 has the wrong type but would break API if we change it.
3045 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
3046 order of including string.h.
3047 * gst/gstutils.c: (gst_element_state_get_name):
3048 Remove unreachable line.
3049 * gst/gstxml.c: (gst_xml_parse_doc):
3051 All these caught by Forte.
3053 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3055 Patch by: Josep Torre Valles <josep@fluendo.com>
3057 * common/m4/gst-error.m4:
3059 We need to disable warnings on Forte for empty declarations
3060 due to gst-indent adding ;s to lines that just use macros
3061 where the macro actually doesn't need a ; at end to end
3064 2006-10-06 Wim Taymans <wim@fluendo.com>
3066 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3067 (gst_file_sink_close_file), (gst_file_sink_event),
3068 (gst_file_sink_render):
3069 Add some FIXME for the NEWSEGMENT handling.
3071 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3073 * gst/parse/grammar.y:
3074 Remove static function gst_parse_element_lock as all it does
3075 is return. Looks like cruft from 0.8.
3077 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3079 Patch by: Josep Torre Valles <josep@fluendo.com>
3081 * common/m4/gst-error.m4:
3083 * libs/gst/net/Makefile.am:
3084 Fix a compilation issue with Forte on Solaris. inet_aton is in
3087 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
3089 * gst/gstpad.c: (pre_activate):
3090 * gst/gstregistry.c: (gst_registry_scan_path_level):
3091 * gst/gstregistryxml.c: (load_plugin):
3092 * libs/gst/controller/gstcontroller.c:
3093 (gst_controlled_property_set_interpolation_mode):
3094 * libs/gst/dataprotocol/dataprotocol.c:
3095 (gst_dp_packet_from_event_1_0):
3096 * libs/gst/net/gstnetclientclock.c:
3097 (gst_net_client_clock_observe_times):
3098 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3101 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
3104 * docs/gst/gstreamer-sections.txt:
3105 * gst/gstconfig.h.in:
3108 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
3109 whether we can use G_GNUC_PRINTF in other header files and at
3110 least check the printf format/arguments of debug messages and
3111 GST_ELEMENT_ERROR messages when the printf extension is not
3113 Replace more tabs with spaces in gstinfo.h and remove two spurious
3114 function declarations in GST_DISABLE_DEBUG part with macros.
3116 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
3118 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
3119 More docs for the sync-message signal (mention that it is not
3120 emitted by default); log message structures of messages posted on
3123 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
3125 * gst/gst.c: (ensure_current_registry_forking):
3126 Use a pipe pair to receive status results from the forked child, and
3127 ignore the result from waitpid. Fixes #355499
3129 2006-10-02 Wim Taymans <wim@fluendo.com>
3131 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3132 (gst_ghost_pad_suite):
3135 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
3138 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
3140 2006-10-02 Edward Hervey <edward@fluendo.com>
3142 * docs/design/part-block.txt:
3143 Further explain the use of flushing on blocked pads.
3144 * docs/gst/gstreamer-sections.txt:
3145 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3146 (gst_pad_push_event):
3148 Added new GstPadFlag : GST_PAD_BLOCKING.
3149 Adds the notion of pads really blocking, which enables to properly
3150 handle FLUSH_START/FLUSH_STOP events on blocked pads.
3152 API: gst_pad_is_blocking()
3153 API: GST_PAD_IS_BLOCKING() macro
3154 API: GST_PAD_BLOCKING GstPadFlag
3156 2006-10-02 Wim Taymans <wim@fluendo.com>
3158 Patch by: mrcgran <mrc.gran at gmail dot com>
3160 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
3161 Filter the proxied caps against the padtemplate if we have one.
3163 * gst/gstquery.c: (gst_query_new_segment):
3164 Add include for gstinfo.h so that compilation with
3165 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
3167 2006-10-02 Wim Taymans <wim@fluendo.com>
3169 Patch by: Alessandro Decina <alessandro at nnva org>
3171 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
3172 (gst_file_sink_set_location), (gst_file_sink_open_file),
3173 (gst_file_sink_close_file), (gst_file_sink_event),
3174 (gst_file_sink_render):
3175 Set file to NULL when closing filesink so that we can set a new filename
3176 in READY. Fixes #358613.
3178 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
3180 Patch by: Alessandro Decina <alessandro at nnva org>
3182 * gst/gstevent.c: (_gst_event_copy):
3183 Fix gst_mini_object_make_writable() and gst_event_copy() for events
3184 with event structures by setting the parent refcount address of the
3185 copied structure to the address of the refcount member of the newly
3186 copied event rather than the address of the refcount member of the
3187 original event. Fixes #358737.
3189 * tests/check/gst/gstevent.c: (GST_START_TEST):
3190 Unit test for the above.
3192 2006-09-29 Stefan Kost <ensonic@users.sf.net>
3194 * docs/design/Makefile.am:
3195 Dist some more files.
3197 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
3199 * tests/check/libs/controller.c: (GST_START_TEST),
3200 (gst_controller_suite):
3201 Add test for the previous fix; add some more tests
3202 for correct refcounting behaviour; fix a few leaks
3203 in test cases; call gst_controller_init() at start
3206 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
3208 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3209 (gst_controller_set_from_list):
3210 Don't g_return_val_if_fail() on timed values with invalid timestamps
3211 inside a critical section without unlocking the mutex. Spotted by
3212 René Stadler. (#357617)
3213 Also, fix up refcounting properly: when returning an existing
3214 controller, we should increase the reference only once and not
3215 once per property and when trying to control a property again
3216 we should also increase the refcount.
3218 2006-09-29 Wim Taymans <wim@fluendo.com>
3220 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3221 * libs/gst/net/gstnettimeprovider.c:
3222 (gst_net_time_provider_thread):
3223 Stop reading commands when EOF as well.
3225 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3226 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3227 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3228 Unify description of the dump property.
3230 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3232 * tests/examples/manual/.cvsignore:
3233 OK, so it's actually cvsignore that needs changing. Stop laughing.
3235 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3237 * tests/examples/manual/Makefile.am:
3238 Gah, declare vars *before* using them
3240 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3242 * gst/gst.c: (init_pre), (scan_and_update_registry),
3243 (ensure_current_registry_nonforking),
3244 (ensure_current_registry_forking), (ensure_current_registry),
3245 (init_post), (gst_debug_help), (gst_deinit):
3246 * gst/gst_private.h:
3247 * gst/gstregistry.c: (gst_registry_finalize),
3248 (gst_registry_remove_features_for_plugin_unlocked),
3249 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3250 (gst_registry_scan_path),
3251 (_priv_gst_registry_remove_cache_plugins),
3252 (_priv_gst_registry_cleanup):
3253 * gst/gstregistry.h:
3254 Re-commit the registry changes, along with an extra fix:
3255 When a cached plugin is encountered at a different file path,
3256 update the stored path in the registry cache so that the parent
3257 process knows where it actually is now when it re-reads the registry
3258 cache. Fixes the thing that broke distcheck with the previous commit.
3260 * tests/check/Makefile.am:
3261 Clean up files named 'core' too when running make clean.
3263 * tests/examples/manual/Makefile.am:
3264 Set up a registry path for running these tests, and clean it properly
3267 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3270 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3271 want gmodule-no-export-2.0.pc instead so that we don't drag in
3272 --export-dynamic on every project that links to GStreamer.
3274 Also, make our export regex only match the start of symbols, rather
3275 than any symbol that contains '_gst' somewhere.
3277 * libs/gst/check/Makefile.am:
3278 The libgstcheck we build does however need export-dynamic, as it
3279 produces some symbols that don't match our _gst... style regex.
3282 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3284 * gst/gst.c: (init_pre), (scan_and_update_registry),
3285 (ensure_current_registry_nonforking),
3286 (ensure_current_registry_forking), (ensure_current_registry),
3287 (init_post), (gst_debug_help), (gst_deinit):
3288 * gst/gst_private.h:
3289 * gst/gstregistry.c: (gst_registry_finalize),
3290 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3291 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3292 (_gst_registry_cleanup):
3293 * gst/gstregistry.h:
3294 Revert previous change until I figure out why it breaks distcheck.
3296 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3298 * gst/gst.c: (init_pre), (scan_and_update_registry),
3299 (ensure_current_registry_nonforking),
3300 (ensure_current_registry_forking), (ensure_current_registry),
3301 (init_post), (gst_debug_help), (gst_deinit):
3303 Make init_pre and init_post take the full complement of GOptionFunc
3304 args so they can return useful GErrors. Make the registry updating
3307 Call _priv_gst_registry_remove_cache_plugins after scanning files to
3308 ensure that the registry we're about to write out doesn't contain
3309 stale information about old-deleted plugin files.
3311 Make _priv_gst_registry_remove_cache_plugins return a boolean so
3312 that deletion of plugin files is considered a registry change.
3314 * gst/gst_private.h:
3315 * gst/gstregistry.c: (gst_registry_finalize),
3316 (gst_registry_remove_features_for_plugin_unlocked),
3317 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3318 (gst_registry_scan_path),
3319 (_priv_gst_registry_remove_cache_plugins),
3320 (_priv_gst_registry_cleanup):
3321 * gst/gstregistry.h:
3322 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3323 by adding _priv prefix, so that they won't appear in the global
3324 symbol table. They still do atm though because of #318031. Move the
3325 prototypes to gst_private.h
3327 When removing a plugin, remove all features for that plugin too.
3330 2006-09-27 Wim Taymans <wim@fluendo.com>
3332 * docs/random/moving-plugins:
3333 Make it clear that the "compiled-in descriptions" really mean
3334 the element details.
3336 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3337 (gst_base_sink_wait_preroll):
3340 * docs/libs/gstreamer-libs-sections.txt:
3341 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3342 (gst_base_src_get_range), (gst_base_src_activate_push):
3343 * libs/gst/base/gstbasesrc.h:
3344 Added function to block while waiting for PLAYING, this function
3345 is used by live sources that block on the clock.
3346 API: gst_base_src_wait_playing()
3348 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3350 Patch by: Peter Kjellerstedt <pkj at axis com>
3353 gst-element-check.m4 is generated and should therefore be
3354 copied from the build dir rather than the source dir (#357593).
3355 'make distcheck' hasn't noticed this because we were disting
3356 the file as well, so stop doing that.
3358 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3360 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3361 Add some tests for gst_caps_intersect().
3363 * tools/gst-launch.c: (event_loop):
3364 Print all buffering percentages we get, even the 100% one.
3366 2006-09-26 Wim Taymans <wim@fluendo.com>
3368 * tools/gst-inspect.c: (print_element_properties_info),
3369 (print_signal_info):
3370 Fix printing of flags to match the look of enums.
3372 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3374 * gst/gstelementfactory.c:
3375 Fix typo in docs blurb.
3377 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3379 * gst/gsturi.c: (search_by_entry):
3380 Don't assert/crash here if a uri handler doesn't return any
3381 supported protocols. The list of protocols could be generated
3382 dynamically at runtime or at plugin registration, and an error
3383 in the underlying library shouldn't be fatal (#353301).
3385 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3388 Fix warning if HAVE_PRINTF_EXTENSION is undefined
3389 (spotted by Peter Kjellerstedt).
3391 2006-09-23 Wim Taymans <wim@fluendo.com>
3393 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3395 * libs/gst/base/gstbasesrc.c:
3396 (gst_base_src_default_check_get_range), (gst_base_src_start),
3397 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3398 (gst_base_src_change_state):
3399 Match _start/_stop calls in the activate functions. Remove redundant
3400 _stop call from the state change function. Fixes #356910.
3401 Turn failure DEBUG into ERROR.
3403 2006-09-22 Wim Taymans <wim@fluendo.com>
3405 * docs/design/part-buffering.txt:
3406 * gst/gstmessage.c: (gst_message_new_buffering),
3407 (gst_message_parse_buffering):
3408 Update docs about buffering.
3410 * docs/design/part-trickmodes.txt:
3413 2006-09-22 Stefan Kost <ensonic@users.sf.net>
3415 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3416 (gst_controller_new_list):
3417 Ref instances when returning them again (fixes #357180)
3419 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
3421 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3422 Don't forget to release proxy lock when there's an error.
3424 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
3427 Add extra initialisers for Caps things, to fix some plugin warnings
3430 2006-09-18 Wim Taymans <wim@fluendo.com>
3432 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3433 Also set template on the internal pad so that a getcaps from the
3434 target pad returns the template caps.
3436 2006-09-18 Wim Taymans <wim@fluendo.com>
3438 * gst/gstelement.c: (gst_element_post_message),
3439 (gst_element_dispose):
3440 Use _DEBUG_OBJECT some more.
3442 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3445 * tools/gst-launch.c: (main):
3446 If the toplevel element is not a GstPipeline, it must be put in a
3447 pipeline so that a bus and clock is selected.
3449 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3451 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3452 JITTER, RATE, and LATENCY query should be handled by the
3453 default case and not by the CONVERT query code.
3455 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3457 * gst/gstformat.c: (gst_format_register):
3458 Fix locking order (must take lock before using n_values).
3460 * gst/gstvalue.c: (gst_value_serialize_enum),
3461 (gst_value_deserialize_enum_iter_cmp),
3462 (gst_value_deserialize_enum):
3463 Fix serialisation/deserialisation of custom registered GstFormats.
3465 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3466 Unit test for custom format serialisation/deserialisation.
3468 2006-09-17 Stefan Kost <ensonic@users.sf.net>
3470 * docs/pwg/building-boiler.xml:
3471 * plugins/elements/gstcapsfilter.c:
3472 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3475 2006-09-16 Edward Hervey <edward@fluendo.com>
3477 * libs/gst/base/gstbasetransform.c:
3478 (gst_base_transform_buffer_alloc):
3479 Check if requested caps are the same as the sinks caps IF
3480 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3482 This fixes the renegotiation issues stated in #352827.
3484 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3487 * docs/manual/advanced-autoplugging.xml:
3488 * tests/examples/Makefile.am:
3489 * tests/examples/manual/.cvsignore:
3490 * tests/examples/manual/Makefile.am:
3491 * tests/examples/manual/extract.pl:
3492 Extract the manual examples again like we used to do.
3495 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3497 * win32/common/config.h:
3500 2006-09-16 Stefan Kost <ensonic@users.sf.net>
3503 Documents how to receive errors.
3505 2006-09-15 Wim Taymans <wim@fluendo.com>
3507 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3508 (event_loop), (main):
3509 Added some comments here and there.
3510 Post an application message when an interrupt is caught instead of doing
3511 an uncontrolled state change.
3512 Clean up the event loop.
3513 Handle buffering messages, pause/resume the pipeline.
3514 Make shutdown because of an interrupt more reliable.
3516 2006-09-15 Wim Taymans <wim@fluendo.com>
3518 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3519 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3520 (gst_base_sink_preroll_object):
3521 Make sure that our internal state is correct when we commit our state
3522 asynchronously. This solves a race where a state change to PLAYING
3523 could cause the sink to remain blocked in preroll in some situations.
3525 2006-09-15 Wim Taymans <wim@fluendo.com>
3527 * tools/gst-inspect.c: (print_element_properties_info),
3528 (print_signal_info):
3529 List flags as hex so it's easier to deal with.
3531 2006-09-15 Wim Taymans <wim@fluendo.com>
3533 * docs/libs/gstreamer-libs-sections.txt:
3534 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3535 (gst_base_sink_do_sync):
3536 * libs/gst/base/gstbasesink.h:
3537 Expose logic to wait for preroll so that subclasses such as audiosink
3538 can also use this method.
3539 API: gst_base_sink_wait_preroll()
3541 2006-09-15 Wim Taymans <wim@fluendo.com>
3543 * gst/gstobject.c: (gst_object_set_parent):
3544 * gst/gstpipeline.c: (do_pipeline_seek):
3545 Small cleanups in docs and code.
3547 * gst/gstsegment.c: (gst_segment_clip):
3548 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3549 if stop == start and start is in the segment, no clipping should be
3550 done. Also add a test for this.
3552 2006-09-15 Wim Taymans <wim@fluendo.com>
3554 * docs/design/part-buffering.txt:
3555 * docs/gst/gstreamer-sections.txt:
3556 * gst/gstmessage.c: (gst_message_new_buffering),
3557 (gst_message_parse_buffering):
3559 Added methods to create and parse BUFFERING messages.
3560 Added preliminary docs about buffering.
3561 API: gst_message_new_buffering
3562 API: gst_message_parse_buffering
3564 2006-09-06 Wim Taymans <wim@fluendo.com>
3567 Update documentation.
3569 * gst/gstelement.c: (gst_element_class_init),
3570 (gst_element_release_request_pad), (gst_element_set_clock),
3571 (gst_element_get_index), (gst_element_add_pad),
3572 (gst_element_remove_pad), (gst_element_get_random_pad),
3573 (gst_element_send_event), (gst_element_get_query_types),
3574 (gst_element_query), (gst_element_post_message),
3575 (gst_element_message_full), (gst_element_continue_state),
3576 (gst_element_lost_state), (gst_element_save_thyself),
3577 (gst_element_restore_thyself):
3578 Documentation updates.
3579 Rename last bit of the new-pad -> pad-added signal rename.
3580 Fix the case where an element query would only work if the source
3582 Avoid some useless type checking in message handling.
3587 Documentation updates.
3589 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3591 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3592 add an INFO line for when we actually update the fd
3594 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3599 === release 0.10.10 ===
3601 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3604 releasing 0.10.10, "Pais"
3606 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
3608 * docs/manual/advanced-position.xml:
3609 Fix typo in sample code.
3611 2006-09-05 Wim Taymans <wim@fluendo.com>
3613 * libs/gst/net/gstnetclientclock.c: (inet_aton),
3614 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3615 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3616 * libs/gst/net/gstnetclientclock.h:
3617 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3618 * libs/gst/net/gstnettimepacket.h:
3619 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3620 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3621 (gst_net_time_provider_thread), (gst_net_time_provider_new):
3622 * libs/gst/net/gstnettimeprovider.h:
3623 Make stuff compile on windows. Fixes #345295.
3625 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3627 * gst/gst.c: (ensure_current_registry_forking):
3628 Print better details when child was terminated by signal.
3630 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3632 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3633 Print a warning rather than g_assert() if a plugin feature
3634 is a URI handler but returns no protocols (#353976).
3636 2006-09-02 Stefan Kost <ensonic@users.sf.net>
3638 * docs/random/moving-plugins:
3641 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
3643 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3644 Fix locking order, handle NULL function values properly.
3649 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3650 Initialise variable before using it and fix debug statement to
3651 print the address of the function rather than the address of the
3652 variable on the stack holding the address of the function.
3654 2006-09-01 Wim Taymans <wim@fluendo.com>
3656 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3657 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3658 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3659 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3660 (gst_ghost_pad_parent_unset),
3661 (gst_ghost_pad_internal_do_activate_push),
3662 (gst_ghost_pad_internal_do_activate_pull),
3663 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3664 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3665 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3666 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3667 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3668 (gst_ghost_pad_new_no_target_from_template),
3669 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3671 Avoid needless typechecking in macros.
3672 Since the internal pad is always present and never changes, there is
3673 no need to locking or ref when retrieving it.
3674 Improve debugging a bit.
3675 Handle link errors when setting the target. Fixes #341029.
3677 2006-09-01 Wim Taymans <wim@fluendo.com>
3679 * docs/libs/gstreamer-libs-sections.txt:
3680 * docs/plugins/gstreamer-plugins-sections.txt:
3683 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3684 (gst_collect_pads_event):
3685 * libs/gst/base/gstcollectpads.h:
3686 Documentation updates.
3687 Free queued buffer when removing a pad.
3689 2006-08-31 Michael Smith <msmith@fluendo.com>
3691 * gst/gstutils.c: (gst_element_link_pads),
3692 (gst_element_link_pads_filtered):
3693 Ensure that we set a capsfilter to NULL if we failed to link it
3694 when doing filtered linking, to avoid criticals.
3696 No need to check for unreffing srcpad, which is explicly NULLed
3697 above (a trivial code cleanup).
3699 2006-08-31 Wim Taymans <wim@fluendo.com>
3701 * docs/design/part-gstghostpad.txt:
3702 Update ascii art in documentation.
3704 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3705 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3706 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3707 (gst_ghost_pad_internal_do_activate_push),
3708 (gst_ghost_pad_internal_do_activate_pull),
3709 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3710 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3711 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3712 (gst_ghost_pad_set_target):
3713 Small cleanups and leak fixes.
3714 Remove some checks now that the internal pad is never NULL.
3715 Fix the case where linking pads without a target would create nasty
3716 criticals. Fixes #341029.
3717 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3718 value of _set_target().
3720 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3721 (gst_ghost_pad_suite):
3722 Some more tests for creating and linking untargeted ghostpads.
3724 2006-08-31 Edward Hervey <edward@fluendo.com>
3726 * docs/gst/gstreamer-sections.txt:
3727 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3728 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3729 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3730 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3731 (gst_ghost_pad_new_from_template),
3732 (gst_ghost_pad_new_no_target_from_template):
3733 * gst/gstghostpad.h:
3734 Refactored *_new() functions.
3735 Templates are now used as a g_object_new() parameter.
3736 Use template in _do_getcaps() if we don't have a target.
3737 Small documentation cleanups.
3738 Added two new constructors:
3739 gst_ghost_pad_new_from_template()
3740 gst_ghost_pad_new_no_target_from_template()
3741 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3742 (gst_ghost_pad_suite):
3743 Added tests for new ghostpad instanciation functions.
3745 API additions: gst_ghost_pad_new_from_template,
3746 gst_ghost_pad_new_no_target_from_template
3748 2006-08-30 Stefan Kost <ensonic@users.sf.net>
3750 * docs/random/ensonic/profiling.txt:
3751 Ideas about qos profiling.
3753 2006-08-29 Wim Taymans <wim@fluendo.com>
3755 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3759 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
3762 Improve and detypofy docs.
3764 * tests/check/Makefile.am:
3765 * tests/check/gst/.cvsignore:
3766 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3767 Add a basic test suite for GstXML.
3769 2006-08-29 Wim Taymans <wim@fluendo.com>
3771 * gst/gstelement.c: (activate_pads), (clear_caps),
3772 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3773 Clear the pad caps when the element shut down all of the pads and
3774 is not streaming data that could modify the caps.
3777 2006-08-28 Michael Smith <msmith@fluendo.com>
3779 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3780 Revert previous change; I misunderstood single-segment mode.
3782 2006-08-28 Michael Smith <msmith@fluendo.com>
3784 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3785 Unset DISCONT on buffers when using single-segment mode.
3787 2006-08-28 Wim Taymans <wim@fluendo.com>
3789 * gst/gstcaps.c: (gst_caps_merge_structure):
3791 Fix docs and indentation again.
3793 * tests/check/gst/gstquery.c: (GST_START_TEST):
3794 Fix leak in tests and add some more tests.
3796 2006-08-28 Edward Hervey <edward@fluendo.com>
3798 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3799 Inform GstSegment of the last stop position in order for the current
3800 segment to have a proper duration if it doesn't have a specific stop
3801 position from which a duration could be calculated.
3802 This bug was noticeable when a non-flushing, non-update new segment was
3803 followed by another segment (all buffers from the new segment were being
3806 2006-08-28 Wim Taymans <wim@fluendo.com>
3808 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3809 Small comment update.
3811 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3812 (gst_identity_transform_ip):
3813 Drop-probability is broken, mention this in the code with a
3814 FIXME and also in the property description.
3815 Make silent also be silent about the drop messages.
3817 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
3819 * docs/manual/appendix-win32.xml:
3820 Remove mention of popt, we don't depend on that any
3821 longer (#353136). Add some comments pointing out that
3822 this section is slightly outdated.
3824 2006-08-28 Wim Taymans <wim@fluendo.com>
3826 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3828 * gst/gstquery.c: (gst_query_new_segment):
3829 * tests/check/gst/gstquery.c: (GST_START_TEST):
3830 Initialize variables when creating a new segment query.
3833 2006-08-28 Wim Taymans <wim@fluendo.com>
3835 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3837 * gst/gstelement.c: (gst_element_get_bus):
3838 * tests/check/gst/gstelement.c: (GST_START_TEST):
3839 Check for NULL before _reffing the bus. Fixes #353122.
3841 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
3843 * docs/manual/basics-bus.xml:
3844 Docs update: fix wrong callback return value explanation; add
3845 some lines about the implicit relationship between main loop
3846 and main context; remove duplicate main loop variable declaration.
3848 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
3850 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3851 Don't leak caps in unit test; add a few more simple
3854 2006-08-24 Stefan Kost <ensonic@users.sf.net>
3856 * docs/gst/gstreamer-sections.txt:
3857 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3858 (gst_caps_structure_is_subset), (gst_caps_merge),
3859 (gst_caps_merge_structure):
3861 * libs/gst/base/gstbasetransform.c:
3862 (gst_base_transform_transform_caps):
3863 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3864 implement caps merging (fixes #352580)
3866 2006-08-23 Stefan Kost <ensonic@users.sf.net>
3868 * tools/Makefile.am:
3869 * tools/gst-plot-timeline.py:
3870 add debug-log plotting developer tool (#340674)
3872 2006-08-23 Wim Taymans <wim@fluendo.com>
3874 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3875 (gst_pad_stop_task):
3876 Improve debugging for task functions.
3878 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3879 (gst_task_start), (gst_task_pause), (gst_task_join):
3880 Make sure that the task function started and finished after a
3882 Don't try to push the task function on the threadpool multiple
3884 Improve the g_warning message with some useful suggestions
3885 about how to fix the problem.
3887 2006-08-23 Wim Taymans <wim@fluendo.com>
3889 * gst/gstutils.c: (gst_pad_proxy_getcaps):
3890 Handle RESYNC correctly in _proxy_getcaps.
3892 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
3894 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3895 (gst_xml_parse_memory), (gst_xml_get_element):
3896 Chain up to parent class in dispose function and also
3897 unref the elements in the toplevel_elements GList.
3898 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3899 Always return a reference in gst_xml_get_element() rather
3900 than only sometimes.
3902 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3903 Don't leak GstXml object.
3905 2006-08-21 Stefan Kost <ensonic@users.sf.net>
3907 * docs/gst/gstreamer-sections.txt:
3908 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3911 * libs/gst/base/gstbasetransform.c:
3912 (gst_base_transform_transform_caps):
3913 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3916 2006-08-21 Edward Hervey <edward@fluendo.com>
3918 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3919 Implement GObject::dispose virtual method in GstXML so we can free the
3922 2006-08-21 Wim Taymans <wim@fluendo.com>
3924 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3925 (gst_buffer_create_sub):
3926 Copy duration/offset_end/caps when creating a subbuffer of the
3928 Make the subbuffer read-only when we make the metadata writable for
3931 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3932 Added check for metadata copy when creating subbuffers.
3934 2006-08-21 Edward Hervey <edward@fluendo.com>
3936 * libs/gst/base/gstbasetransform.c:
3937 (gst_base_transform_buffer_alloc):
3938 Only call downstream buffer_alloc if transform element is passthrough
3939 or always_in_place. Closes #350449.
3941 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3944 ChangeLog surgery to add comments to previous changes
3946 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3951 * gst/gstpad.c: (gst_pad_set_active):
3952 Be more verbose in the log
3954 * libs/gst/base/gstbasetransform.c:
3955 (gst_base_transform_transform_caps):
3956 Simplify caps to get rid of duplicates, fixes #345444
3958 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3962 Use these optimizations only internally.
3964 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3966 * gst/gstvalue.c: (gst_value_compare_list),
3967 (gst_value_compare_fraction_range),
3968 (gst_value_intersect_fraction_fraction_range),
3969 (gst_value_intersect_fraction_range_fraction_range),
3970 (gst_value_subtract_fraction_fraction_range),
3971 (gst_value_subtract_fraction_range_fraction_range),
3972 (gst_value_get_compare_func), (gst_value_compare),
3973 (gst_value_compare_with_func):
3975 Saves the expensive lookup of the compare function in many cases
3978 2006-08-18 Edward Hervey <edward@fluendo.com>
3980 * tests/check/gst/gstinfo.c: (gst_info_suite):
3981 Disable test that require gstdebug if it wasn't built in core.
3983 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3985 * docs/random/ensonic/logging.txt:
3988 * gst/gstinfo.c: (gst_debug_log_default):
3989 reorder fields, save some columns, add optional color codes for log
3992 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3994 * docs/random/ensonic/logging.txt:
3995 add ideas about making the logs a bit more useful
3997 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3999 * docs/pwg/advanced-events.xml:
4000 * docs/pwg/titlepage.xml:
4001 Update for 0.10 API (#340627). Add myself
4004 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
4006 * docs/libs/gstreamer-libs-docs.sgml:
4007 * docs/libs/gstreamer-libs-sections.txt:
4008 * libs/gst/check/gstbufferstraw.c:
4009 Make gstcheck stuff show up in docs (still needs to
4010 be documented properly though).
4012 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
4014 * docs/gst/gstreamer-sections.txt:
4016 * gst/gst.c: (init_post):
4017 * gst/gst_private.h:
4018 * gst/gstquark.c: (_priv_gst_quarks_initialize):
4020 * gst/gstquery.c: (gst_query_new_position),
4021 (gst_query_set_position), (gst_query_parse_position),
4022 (gst_query_new_duration), (gst_query_set_duration),
4023 (gst_query_parse_duration), (gst_query_new_convert),
4024 (gst_query_set_convert), (gst_query_parse_convert),
4025 (gst_query_new_segment), (gst_query_set_segment),
4026 (gst_query_parse_segment), (gst_query_new_seeking),
4027 (gst_query_set_seeking), (gst_query_parse_seeking):
4028 Add internal helpers for pre-registering quarks from static strings
4029 and using the quark values directly instead of looking them up when
4030 creating and parsing queries. Can be used for event construction too.
4033 2006-08-16 Wim Taymans <wim@fluendo.com>
4038 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4040 * gst/gstutils.c: (gst_util_set_value_from_string):
4041 Fix memleak (#351502).
4043 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4044 Add unit test for most of gst_util_set_value_from_string()
4045 (not that one would want to encourage use of this function).
4047 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4049 * libs/gst/check/gstcheck.h:
4050 Use const gchar * variables in fail_unless_equals_string
4051 macro to avoid compiler warnings (and don't use tabs for
4054 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4056 * tools/gst-launch.c: (print_tag):
4057 More space on the left for the tag names, to cater
4058 for the 'extended comment' tag (not touching the
4059 string for the first line since it's translated).
4061 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4063 * libs/gst/check/gstcheck.h:
4064 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
4065 print something when they fail.
4067 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4069 * docs/gst/gstreamer-sections.txt:
4070 * gst/gsttaglist.c: (_gst_tag_initialize):
4072 API: add GST_TAG_EXTENDED_COMMENT (#350935).
4073 Also change merge function for GST_TAG_COMMENT to
4076 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4078 * gst/gstinfo.c: (gst_debug_print_object):
4079 Make GST_PTR_FORMAT print messages as well.
4081 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
4082 (GST_START_TEST), (gst_info_suite):
4085 2006-08-14 Edward Hervey <edward@fluendo.com>
4087 * gst/gstelementfactory.c: (gst_element_register):
4088 If the GstElementClass doesn't have a GstElementDetails with all fields
4089 filled up correctly (longname, description AND author), then error out
4090 nicely instead of crashing.
4092 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4094 * gst/gststructure.c:
4095 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
4098 Expand on the difference between arrays and lists as we use them.
4100 2006-08-14 Wim Taymans <wim@fluendo.com>
4102 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4103 If the parent state change function failed, don't assume we can safely
4104 stop the source, this will be done when the pads are deactivated.
4106 2006-08-14 Wim Taymans <wim@fluendo.com>
4109 * gst/gsttask.c: (gst_task_join):
4112 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4113 (gst_pad_stop_task):
4114 When pad (de)activation failed for some reason, restore the old
4115 activation mode and set the pad to flushing instead of assuming the
4117 If the _task_join() failed, reinstall the task on the pad so that it can
4118 be stopped later and return an error.
4120 2006-08-11 Andy Wingo <wingo@pobox.com>
4123 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4124 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
4125 is only for users of API that don't want to see deprecated
4126 functions in the headers; people that want to compile out
4127 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
4128 CFLAGS. Fixes the build of multifdsink, or will soon..
4130 2006-08-11 Wim Taymans <wim@fluendo.com>
4132 * docs/gst/gstreamer-sections.txt:
4133 Add GstClockClass vmethod docs.
4136 Mark #endif with comment for associated #if
4138 * gst/gstclock.c: (gst_clock_id_wait):
4140 Add vmethod wait_jitter to avoid an unneeded _get_time() for
4141 most clock implementations.
4143 Flesh out docs about resolution methods.
4144 API: GstClockClass::wait_jitter
4146 * gst/gstsystemclock.c: (gst_system_clock_class_init),
4147 (gst_system_clock_async_thread),
4148 (gst_system_clock_id_wait_jitter_unlocked),
4149 (gst_system_clock_id_wait_jitter):
4150 Use base class wait_jitter variant for improved performance
4151 due to less clock polling.
4153 2006-08-11 Edward Hervey <edward@fluendo.com>
4155 * gst/gst.c: (gst_init_check), (init_post):
4156 Set gst as being initialized before scanning/updating the registry,
4157 since there might be my python plugin loader that calls gst_init() and
4158 we don't want to loop back in.
4161 2006-08-11 Wim Taymans <wim@fluendo.com>
4163 * docs/design/part-qos.txt:
4164 Bring docs in line with the code. Mostly the sign of the jitter was
4165 wrong in the docs. Fixes #349943.
4168 Fix the docs for the jitter.
4170 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
4171 (gst_event_parse_tag), (gst_event_new_buffer_size),
4172 (gst_event_parse_buffer_size), (gst_event_parse_qos),
4173 (gst_event_new_seek), (gst_event_parse_seek),
4174 (gst_event_new_navigation):
4175 Make sure the GstStructure has no parent when creating custom
4177 Add some more argument checking so that we avoid 0.0 rates.
4178 Flesh out the docs for the QoS event some more.
4180 2006-08-11 Wim Taymans <wim@fluendo.com>
4182 * docs/gst/gstreamer-sections.txt:
4183 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4184 (ensure_current_registry_forking), (ensure_current_registry),
4185 (parse_one_option), (parse_goption_arg), (gst_deinit),
4186 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
4189 Added API and command line option to disable registry forking in
4190 addition to the environment variable.
4191 Constify some static arrays.
4192 Added some more debug.
4194 API: gst_registry_fork_is_enabled()
4195 API: gst_registry_fork_set_enabled()
4196 API: --gst-disable-registry-fork command line option
4199 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
4201 * gst/gst.c: (gst_init):
4202 Fix typo in error message.
4204 2006-08-10 Stefan Kost <ensonic@users.sf.net>
4206 * libs/gst/controller/gstcontroller.h:
4207 fix ABI size-correction
4209 * tests/check/libs/gdp.c: (gst_dp_suite):
4210 make tests that use deprecated API conditional
4212 2006-08-10 Stefan Kost <ensonic@users.sf.net>
4214 * docs/libs/gstreamer-libs-sections.txt:
4215 * libs/gst/controller/gstcontroller.c:
4216 (_gst_controller_get_property), (_gst_controller_set_property),
4217 (_gst_controller_init), (_gst_controller_class_init):
4218 * libs/gst/controller/gstcontroller.h:
4219 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
4220 (gst_object_set_control_rate):
4221 API: add gst_object_{s,g}et_control_rate(), add private data section,
4224 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4225 * libs/gst/dataprotocol/dataprotocol.h:
4226 add deprecation guards to make gtk-doc happy and allow disabling cruft
4228 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
4230 * tests/check/Makefile.am:
4231 * tests/check/gst/.cvsignore:
4232 Let's enable the new unit test as well.
4234 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
4237 * docs/gst/gstreamer-sections.txt:
4238 * gst/gstconfig.h.in:
4239 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
4240 (_gst_info_printf_extension_ptr),
4241 (_gst_info_printf_extension_segment):
4242 API: add GST_SEGMENT_FORMAT, which is a printf extension we
4243 register that lets us easily dump GstSegments into debug
4246 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
4247 (info_segment_format_printf_extension), (gst_info_suite):
4248 Add simple unit test that logs a bunch of different segments (not
4249 valgrinded at the moment because of leaks in
4250 gst_debug_add_log_function).
4252 2006-08-09 Edward Hervey <edward@fluendo.com>
4254 * libs/gst/base/gstbasetransform.c:
4255 (gst_base_transform_buffer_alloc):
4256 Even if we can't figure out the proper format to request downstream,
4257 call buffer_alloc() downstream with the input parameters without setting
4258 the caps on the srcpad. This will force negotiation in the chain
4262 2006-08-08 Edward Hervey <edward@fluendo.com>
4264 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4265 Unlinking from a pad without a target is now a perfectly valid case
4266 which should NOT raise an assertion.
4267 This case would happen if a linked ghostpad its target set to NULL after
4268 it was previously linked.
4270 2006-08-08 Edward Hervey <edward@fluendo.com>
4272 * tests/check/libs/gdp.c:
4273 Also comment out the test (see below).
4275 2006-08-08 Edward Hervey <edward@fluendo.com>
4277 * tests/check/libs/gdp.c: (gst_dp_suite):
4278 Use the architecture information from config.h and not gcc macros
4279 in order to properly disable a test that fails on PPC64.
4281 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
4283 * gst/gstelement.c: (gst_element_remove_pad):
4284 Don't crash printing the warning if the pad has no parent.
4286 2006-08-02 Wim Taymans <wim@fluendo.com>
4288 * libs/gst/dataprotocol/dataprotocol.c:
4289 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4290 (gst_dp_crc), (gst_dp_header_payload_length),
4291 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4292 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4293 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4294 (gst_dp_event_from_packet), (gst_dp_validate_header),
4295 (gst_dp_validate_payload):
4296 Make debug category static
4297 Constify the crc table.
4298 Do some more arg checking in public functions.
4299 Fix some docs and do some small cleanups.
4301 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4302 Add some more checks to see if GDP deals with bogus input.
4304 2006-07-31 Wim Taymans <wim@fluendo.com>
4306 * gst/gstvalue.c: (gst_value_compare_list):
4307 Fix GstValueList comparison code. Fixes #347293.
4309 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4310 Check to test GstValueList comparison.
4312 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4314 * gst/gstelementfactory.c: (gst_element_factory_create):
4315 Remove unnecessary ref/unref pair
4317 * gst/parse/grammar.y:
4318 Make sure to free the parse buffer on all code paths.
4319 Move a g_free up to the error handler where it's easier to see.
4321 * tests/check/gst/gstevent.c: (test_event):
4322 Extending timeout for downstream travelling events to 10 seconds to
4323 hopefully avoid intermittent failure on the buildbots.
4325 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4326 Don't manually set the state of the src element - it will happen as a
4327 natural consequence of the pipeline changing state, and that way it
4328 will do it in the right order too.
4330 2006-07-31 Wim Taymans <wim@fluendo.com>
4332 * libs/gst/base/gstbasetransform.c:
4333 (gst_base_transform_buffer_alloc):
4334 Use OBJECT_LOCK and refcounting to get the pad caps in the
4335 buffer_alloc function because the caps could change while we are
4336 busy with them. Fixes #349105
4338 2006-07-31 Wim Taymans <wim@fluendo.com>
4340 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4341 Protect _PAD_CAPS with OBJECT_LOCK.
4343 2006-07-31 Wim Taymans <wim@fluendo.com>
4345 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4346 (gst_pad_get_property), (gst_pad_activate_pull),
4347 (gst_pad_activate_push), (gst_pad_set_blocked_async),
4348 (gst_pad_set_activate_function),
4349 (gst_pad_set_activatepull_function),
4350 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4351 (gst_pad_set_getrange_function),
4352 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4353 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4354 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4355 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4356 (gst_pad_set_acceptcaps_function),
4357 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4358 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4359 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4360 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4361 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4362 (gst_pad_configure_sink), (gst_pad_configure_src),
4363 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4364 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4365 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4366 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4367 (gst_pad_send_event):
4368 Use _DEBUG_OBJECT when it makes sense.
4369 Protect GST_PAD_CAPS with the OBJECT_LOCK.
4370 Small cleanups and code reflows.
4371 Avoid caps refcounting in _accept_caps.
4372 Refactor alloc_buffer so that the code performed on the peer is in a
4373 separate function. Also if the pad does not implement a buffer alloc
4374 function, we should still check if the pad is flushing before falling
4375 back to the default allocator.
4377 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4379 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4380 Make all uses of identity and fakesink have silent=true to avoid
4381 serialising every passing data structure, which is breaking tests
4382 on FC4 for some unknown reason.
4384 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4386 * gst/parse/Makefile.am:
4387 * gst/parse/grammar.y:
4388 * gst/parse/parse.l:
4389 Reverted previous patch as it required to bump the flex dependency to
4390 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4392 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4394 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4396 * gst/parse/Makefile.am:
4397 * gst/parse/grammar.y:
4398 * gst/parse/parse.l:
4399 push & pop the state of the lexer for reentrant use case
4402 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
4404 * libs/gst/base/gstbasesrc.h:
4405 Note in the docs that the ::newsegment vfunc is not actually used by
4408 2006-07-28 Wim Taymans <wim@fluendo.com>
4410 * libs/gst/base/gstcollectpads.c:
4411 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4412 (gst_collect_pads_clear), (gst_collect_pads_flush),
4413 (gst_collect_pads_event), (gst_collect_pads_chain):
4414 When flushing a pad, also clear the queued buffer so that we don't
4415 accidentally use it when we shouldn't.
4416 Fix leaks by inreffing incomming buffer.
4417 Flush out queued buffers in case of errors.
4420 2006-07-28 Wim Taymans <wim@fluendo.com>
4422 * docs/random/phonon-gst:
4423 Random notes about a Phonon backend.
4425 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4427 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4429 * tests/check/libs/gdp.c: (gst_dp_suite):
4430 Take a whack at fixing the ppc compile using a different define to
4431 disable the broken test.
4433 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4434 Remove excess g_print()
4436 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4438 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4439 Oops, meant to uncomment this line too to dampen the noise a bit.
4441 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4443 * gst/parse/grammar.y:
4444 * gst/parse/parse.l:
4445 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4446 (GST_START_TEST), (parse_suite):
4447 Fix some of the leaks exposed by extending the parse-launch testsuite,
4448 and move the 3 I can't figure out into a separate test that won't run
4449 the pipelines unless the appropriate line is uncommented.
4451 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4453 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4454 Requesting 0 bytes before the end of the file should result in
4455 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4458 2006-07-27 Wim Taymans <wim@fluendo.com>
4460 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4461 Fix useless assert, a uint is always positive.
4463 * gst/gststructure.c: (gst_structure_nth_field_name),
4464 (gst_structure_foreach), (gst_structure_map_in_place):
4465 Check input arguments for public functions to avoid obvious crashes.
4467 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4468 * plugins/elements/gstfakesink.h:
4469 Do less useless typechecking.
4471 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4473 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4474 Do not use mmap() by default since there are a number of error
4475 conditions that we would like to handle in a non-fatal way that
4476 will result in a SIGBUS if we use mmap(). Examples: external
4477 devices (USB harddrive, portable music player) being unplugged
4478 while in use; file on mounted CD/DVD that can't be read because
4479 the medium is partly damaged. Fixes #348455 and #348475.
4481 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4484 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4487 2006-07-26 Stefan Kost <ensonic@users.sf.net>
4489 * gst/gstregistry.c:
4490 Move big documentation comment into class section header, so that it
4491 appears in the API docs.
4493 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4495 * docs/gst/gstreamer-sections.txt:
4496 Oops. Commit the docs additions too for new API.
4497 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4499 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4501 * gst/gststructure.c: (gst_structure_id_set),
4502 (gst_structure_id_set_valist):
4503 * gst/gststructure.h:
4504 Add API for setting values into structures without performing
4505 a quark lookup, if the appropriate quark is already known.
4507 API: gst_structure_id_set
4508 API: gst_structure_id_set_valist
4510 * gst/parse/grammar.y:
4511 * gst/parse/parse.l:
4512 Remove some dead code shown by the coverage information.
4513 Don't throw a critical g_warning when encountering a syntax error,
4514 just warn and let the normal error path handle it.
4516 * plugins/elements/gstelements.c:
4517 Bump the rank of filesink up to PRIMARY so that it is preferred over
4518 gnomevfssink for file:// sink uri's
4520 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4521 (GST_START_TEST), (run_delayed_test),
4522 (gst_parse_test_element_base_init),
4523 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4524 (gst_parse_test_element_change_state),
4525 (gst_register_parse_element), (parse_suite):
4526 Beef up the tests for parse syntax to check that more error cases
4527 fail as they are supposed to. Increases the test coverage a bit.
4529 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
4531 * docs/manual/basics-elements.xml:
4532 Fix gst_element_link() example.
4535 Mention in API docs that one should usually gst_bin_add()
4536 elements to a bin or pipeline before doing the linking.
4538 2006-07-26 Wim Taymans <wim@fluendo.com>
4540 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4541 (gst_subbuffer_get_type), (gst_buffer_create_sub):
4542 Avoid function call for known types by keeping the buffer and
4543 subbuffer GType global.
4545 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4546 Random silly optimisations in read() path.
4548 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4550 * tools/gst-launch.c: (main):
4551 If the top-level of the parse is a normal bin, it doesn't do the
4552 right logic to run as a top-level element, so place it inside a
4555 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
4557 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4558 Remove superfluous g_object_notify() calls, GObject does
4559 that for us automatically.
4561 2006-07-25 Stefan Kost <ensonic@users.sf.net>
4564 on Win32, use dllspec to export the debug category symbols
4566 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
4568 * gst/gsttaglist.c: (_gst_tag_initialize):
4569 Allow more than one GST_TAG_IMAGE per taglist.
4571 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
4573 * gst/gstminiobject.c:
4575 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4576 (gst_fd_src_create):
4577 log recurring events at LOG level
4578 add more debug for when the fd gets set
4580 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4582 * gst/gstparse.c: (gst_parse_launch):
4583 Also remove reentrance checks if flex is MT safe (#348179)
4584 Fix my empty ChangeLog entry below
4586 2006-07-21 Andy Wingo <wingo@pobox.com>
4588 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4590 * libs/gst/check/Makefile.am
4591 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4592 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
4593 * libs/gst/check/gstbufferstraw.h:
4594 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4595 functions, thus proving I am still a GStreamer haxor. OK I wrote
4596 them a long time ago, but anyways.
4598 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4601 * gst/gstparse.c: (gst_parse_launch):
4602 Check for flex version and omit mutex if we have a MT save flex
4605 2006-07-21 Wim Taymans <wim@fluendo.com>
4607 * gst/gstparse.c: (gst_parse_launch):
4608 Protect recursive calls to _parse with a recursive mutex
4611 2006-07-21 Wim Taymans <wim@fluendo.com>
4613 * tests/check/gst/gstpad.c: (GST_START_TEST):
4616 2006-07-20 Stefan Kost <ensonic@users.sf.net>
4618 * gst/gstparse.c: (gst_parse_launch):
4619 Do not hang on recursive usage of gst_parse_launch()
4621 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4624 Add some more docs, comments and FIXME 0.11s here and there
4625 and also fix some typos.
4627 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4630 Convert tabs to spaces for better readability.
4632 2006-07-20 Edward Hervey <edward@fluendo.com>
4634 * tests/check/libs/gdp.c: (gst_dp_suite):
4635 the test_buffer test fails at line 140 on ppc64 at the following
4637 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4638 GST_BUFFER_FLAG_IN_CAPS),
4639 "GST_BUFFER_IN_CAPS flag should have been copied !");
4640 See bug #348114 for more details.
4642 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
4644 * docs/pwg/advanced-scheduling.xml:
4646 Fix typos (#348000).
4648 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
4650 * docs/pwg/intro-basics.xml:
4651 Fix wrong links (#347927).
4653 2006-07-18 Stefan Kost <ensonic@users.sf.net>
4655 * gst/gstregistry.h:
4656 * gst/gstregistryxml.c: (load_feature),
4657 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4658 * win32/common/config.h:
4659 make --disable-index work (#342564)
4661 2006-07-18 Wim Taymans <wim@fluendo.com>
4663 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4667 The attached patch adds two missing defines to gsttrace.h when tracing
4668 is disabled. It also corrects one existing define.
4671 2006-07-17 Wim Taymans <wim@fluendo.com>
4673 * docs/gst/gstreamer-sections.txt:
4674 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4676 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4677 Add two functions to check and change the SIGSEGV behaviour
4678 when loading plugins.
4679 Don't mess with the SIGSEGV handler when we were told not to.
4681 API: gst_segtrap_is_enabled
4682 API: gst_segtrap_set_enabled
4684 2006-07-14 Wim Taymans <wim@fluendo.com>
4686 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4687 * tests/check/elements/filesrc.c: (GST_START_TEST):
4688 Revert fix for regression in #347408 after release.
4690 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
4692 Patch by: Antoine Tremblay <hexa00 at gmail com>
4694 * gst/gstutils.c: (gst_element_unlink):
4695 Free iterator when done (#347311).
4697 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4698 And add a test case for this.
4700 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
4703 Bump nano back to CVS
4705 === release 0.10.9 ===
4707 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
4710 releasing 0.10.9, "On the road again"
4712 2006-07-13 Wim Taymans <wim@fluendo.com>
4714 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4715 * tests/check/elements/filesrc.c: (GST_START_TEST):
4716 Revert pull-0 fix for release. Disable check. Fixes #347408.
4718 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4720 * libs/gst/dataprotocol/dataprotocol.c:
4721 (gst_dp_event_from_packet_1_0):
4722 Fixes #347337: failure to deserialize event packets with
4723 empty payload (only event type)
4725 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4728 do not install a .c file in the header directory
4730 2006-07-13 Edward Hervey <edward@fluendo.com>
4732 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4733 GhostPad no longer implicitely use the padtemplates of the targets.
4736 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
4738 * gst/gstvalue.c: (gst_value_compare_list),
4739 (gst_value_compare_array), (_gst_value_initialize):
4740 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4741 Make GstValueArray comparison be order dependent as designed.
4742 Add checks for value lists and value array comparisons.
4745 2006-07-11 Edward Hervey <edward@fluendo.com>
4747 * gst/gstbin.c: (activate_pads),
4748 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4749 (gst_bin_change_state_func):
4750 (de)activate src pads before calling state_change on the childs.
4751 This is to avoid the case where a src ghostpad is blocked (holding the
4752 stream lock), which would block the deactivation of the ghostpad's
4754 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4755 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4756 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4757 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4758 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4759 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4760 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4761 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4762 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4763 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4764 (gst_ghost_pad_class_init),
4765 (gst_ghost_pad_internal_do_activate_push),
4766 (gst_ghost_pad_internal_do_activate_pull),
4767 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4768 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4769 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4770 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4771 GhostPads now create their internal GstProxyPad at creation (and not
4772 when they're linked, as it was being done previously).
4773 The internal and target pads are linked straight away.
4774 The data will also travel through the other pad in order to make
4775 pad blocking and probes non-hackish (the probe/block now really happens
4776 on the GhostPad and not on the target).
4777 * gst/gstpad.c: (gst_pad_set_blocked_async),
4778 (gst_pad_link_prepare), (gst_pad_push_event):
4779 Remove previous ghostpad cruft.
4780 * gst/gstutils.c: (gst_pad_add_data_probe),
4781 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4782 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4783 (gst_pad_remove_buffer_probe):
4784 Remove previous ghost pad cruft.
4785 Added more detailed debug statements.
4786 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4787 Fix the testsuite for refcounting changes.
4788 The comments about who has references were correct, but the refcount
4789 being checked wasn't the same (!?!).
4793 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4795 * docs/gst/gstreamer-sections.txt:
4796 * gst/gstconfig.h.in:
4797 More docs for configuration options, add docs to gtk-doc.
4799 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4802 * gst/gstconfig.h.in:
4803 * win32/common/config.h:
4804 Fix build when disabling tracing (fixes #344016). Also start to document
4805 the defines that disable the sub-systems.
4807 2006-07-10 Edward Hervey <edward@fluendo.com>
4809 * gst/gst.c: (ensure_current_registry_forking):
4810 let's make valgrind happy...
4812 2006-07-09 Wim Taymans <wim@fluendo.com>
4814 * gst/gstelement.c: (activate_pads),
4815 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4816 Better pad activation code: Reset the collect value too on resync.
4819 2006-07-09 Wim Taymans <wim@fluendo.com>
4821 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4822 (gst_pad_activate_push):
4823 Use some more macros where it makes sense.
4824 Allow pad mode switching instead of asserting. When a pad
4825 is activated in one mode and we activate it in another,
4826 deactivate it first before activating it in a different mode.
4829 2006-07-08 Andy Wingo <wingo@pobox.com>
4831 * tools/gst-launch.c (main): Handle err == NULL.
4833 * gst/gst.c (init_post, ensure_current_registry)
4834 (ensure_current_registry_forking)
4835 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4836 factoring out the registry scanning into separate functions. Don't
4837 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4838 Better environment var name/interface suggestions accepted.
4840 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4842 * gst/gstobject.c: (gst_object_set_name_default),
4843 (gst_object_set_name):
4844 Random micro-optimisation: don't use a hash table
4845 with strings as keys and the usual strdup/strcmp
4846 involved, but rather just use the GQuark of the
4847 type name as key, since it needs to be looked up
4848 anyway to get the type name string.
4850 * tests/check/gst/gstobject.c: (GST_START_TEST):
4853 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4855 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4856 (gst_bin_iterate_all_by_interface):
4857 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4858 GTypes are gulongs and thus the top 4 bytes might be cut
4859 off on some platforms when doing GPOINTER_TO_INT, leading
4860 to invalid GTypes and bad things happening (see RH bug #179654).
4861 Also add a check to make sure the type passed in is really
4864 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4869 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4873 * gst-element-check.m4:
4874 * gst-element-check.m4.in:
4875 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4876 instead of the unversioned gst-inspect (#324176, #168659).
4878 2006-07-06 Wim Taymans <wim@fluendo.com>
4881 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4884 2006-07-06 Wim Taymans <wim@fluendo.com>
4886 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4887 (gst_base_src_wait), (gst_base_src_update_length),
4888 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4889 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4890 (gst_base_src_loop), (gst_base_src_start),
4891 (gst_base_src_activate_pull):
4893 blocksize == 0 now means the default blocksize when working in push
4895 Remove some pointless asserts in _wait function.
4896 Fix offset/length calculations and EOS handling. We can now pull 0
4897 bytes as well, which is allowed.
4898 use _check_get_range() to decide if we can operate in _pull based
4900 Fix refcounting leak when check_get_range function was not
4902 API GstBaseSrc::blocksize range can be 0 too now (default)
4904 * tests/check/elements/filesrc.c: (GST_START_TEST),
4906 Added check to test _get_range() behaviour.
4908 2006-07-06 Wim Taymans <wim@fluendo.com>
4910 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4911 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4912 (gst_pad_pull_range):
4914 Lots of comments and docs added to the pad functions.
4915 Flesh out the expected behaviour of the get_range() functions.
4917 2006-07-06 Wim Taymans <wim@fluendo.com>
4922 * gst/gstiterator.h:
4926 Remove comma at end of enumerator list.
4928 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
4930 * win32/common/libgstbase.def:
4931 * win32/common/libgstdataprotocol.def:
4932 * win32/common/libsgtreamer.def:
4933 Add new exported functions.
4935 2006-07-05 Wim Taymans <wim@fluendo.com>
4937 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4938 Add some more docs here and there.
4940 2006-07-05 Wim Taymans <wim@fluendo.com>
4942 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4943 (gst_base_sink_loop), (gst_base_sink_get_position):
4944 When operating in pull mode update the offset so that we
4947 2006-07-05 Wim Taymans <wim@fluendo.com>
4949 * gst/gstregistryxml.c: (read_string):
4950 Avoid strdup. (will happen in libxml, but hey!)
4955 2006-07-05 Wim Taymans <wim@fluendo.com>
4957 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4958 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4960 No point in checking if the size of the subbuffer > 0, the
4961 code handles it correclty as demonstrated by unit test.
4962 Also add a unit test for the zero sized _new_and_alloc and
4963 _copy. Fixes #346663.
4965 2006-07-05 Wim Taymans <wim@fluendo.com>
4967 * libs/gst/base/gstbasetransform.c:
4968 (gst_base_transform_prepare_output_buffer),
4969 (gst_base_transform_buffer_alloc),
4970 (gst_base_transform_handle_buffer):
4971 Make sure the buffer we pass to transform_ip has a refcount of
4972 1 and thus is writable. Fixes #343196
4974 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
4976 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4977 (gst_file_src_init), (gst_file_src_set_property),
4978 (gst_file_src_get_property), (gst_file_src_map_region):
4979 * plugins/elements/gstfilesrc.h:
4980 Add "sequential" property, off by default, to use madvise and hint
4981 to the kernel that sequential access is desired.
4982 Touch all retrieved pages by default to ensure they are pulled
4983 into memory. (Closes #345720)
4985 2006-07-03 Wim Taymans <wim@fluendo.com>
4987 * docs/design/part-block.txt:
4988 * docs/design/part-dynamic.txt:
4991 2006-07-03 Wim Taymans <wim@fluendo.com>
4993 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4994 (gst_caps_unref), (gst_static_caps_get),
4995 (gst_caps_append_structure):
4996 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4997 Use GSlice when the glib we build against is >= 2.10
4999 2006-07-03 Wim Taymans <wim@fluendo.com>
5001 * gst/gstelement.c: (gst_element_pads_activate):
5002 Small cleanup in pad activation code.
5004 2006-07-03 Wim Taymans <wim@fluendo.com>
5006 Patch by: Peter Kjellerstedt <pkj at axis dot com>
5008 * gst/gst-i18n-app.h:
5009 * gst/gst-i18n-lib.h:
5010 * tools/gst-inspect.c: (print_signal_info):
5011 The attached patch will make the inclusion of gettext.h unconditional in
5012 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
5013 libintl.h in tools/gst-inspect.c.
5014 This allows use of --disable-nls again and fixes #344642.
5016 2006-07-03 Edward Hervey <edward@fluendo.com>
5018 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
5019 Implement pad blocking on events according to part-block.txt.
5020 More comments on behaviour.
5021 * tests/check/gst/gstevent.c: (test_event):
5022 Send event to peer pad of blocked pad (else it will block).
5024 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5026 * libs/gst/check/gstcheck.c: (gst_check_message_error),
5027 (gst_check_run_suite):
5028 if we get the wrong message, give us the types as string
5029 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5031 * tests/check/elements/filesrc.c: (GST_START_TEST):
5032 add a test for trying to open a non-existing file
5034 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5036 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5037 add a test for adding self
5039 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
5041 * libs/gst/check/gstcheck.h:
5042 add some assert_ as alias for fail_unless_*
5043 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
5044 increase test coverage
5046 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5049 include lcov.mak for lcov coverage generation
5050 * tools/Makefile.am:
5053 2006-07-02 Edward Hervey <edward@fluendo.com>
5055 * tests/check/elements/.cvsignore:
5058 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5061 don't set CFLAGS and friends for gcov, done from GST_GCOV now
5062 * tests/check/Makefile.am:
5065 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5067 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
5068 remove gst_caps_simplify; it was not declared and not used
5069 and deprecated in 0.8
5071 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5073 * docs/faq/gst-uninstalled:
5074 don't put empty paths on PYTHONPATH
5075 * docs/gst/gstreamer-sections.txt:
5076 remove some symbols that are not there
5078 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5080 * gst/gstcaps.c: (gst_caps_compare_structures):
5082 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5083 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5086 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5088 * libs/gst/dataprotocol/Makefile.am:
5089 build dataprotocol test by linking to the lib, instead of
5090 compiling the source, so we get coverage
5091 * tests/check/Makefile.am:
5092 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
5093 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
5094 add a test for filesrc
5096 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5098 * tests/check/gst/gststructure.c: (GST_START_TEST),
5099 (gst_structure_suite):
5100 Push coverage from 59.04% to 70.00%
5102 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5104 * tests/check/Makefile.am:
5105 gst-inspect every element; this makes sure that we also get
5106 coverage on element's get/set functions
5108 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5111 set CFLAGS and friends to -O0 if gcov is being used
5114 * libs/gst/base/Makefile.am:
5115 * libs/gst/check/Makefile.am:
5116 * libs/gst/controller/Makefile.am:
5117 * libs/gst/dataprotocol/Makefile.am:
5118 * libs/gst/net/Makefile.am:
5119 * plugins/elements/Makefile.am:
5120 * plugins/indexers/Makefile.am:
5121 add makefile rules to generate gcov data and clean up
5122 * tests/check/Makefile.am:
5123 add a coverage target that generates an html overview
5126 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5128 * tests/check/elements/fakesink.c:
5129 * tests/check/elements/fakesrc.c:
5130 * tests/check/elements/fdsrc.c:
5131 * tests/check/elements/identity.c:
5132 * tests/check/generic/sinks.c: (gst_sinks_suite):
5133 * tests/check/generic/states.c:
5134 * tests/check/gst/gst.c:
5135 * tests/check/gst/gstabi.c:
5136 * tests/check/gst/gstbin.c:
5137 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
5138 * tests/check/gst/gstbus.c: (gst_bus_suite):
5139 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5140 * tests/check/gst/gstelement.c:
5141 * tests/check/gst/gstevent.c: (gst_event_suite):
5142 * tests/check/gst/gstghostpad.c:
5143 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
5144 * tests/check/gst/gstmessage.c: (gst_message_suite):
5145 * tests/check/gst/gstminiobject.c:
5146 * tests/check/gst/gstobject.c:
5147 * tests/check/gst/gstpad.c:
5148 * tests/check/gst/gstpipeline.c:
5149 * tests/check/gst/gstplugin.c:
5150 * tests/check/gst/gstquery.c: (gst_query_suite):
5151 * tests/check/gst/gstsegment.c: (gst_segment_suite):
5152 * tests/check/gst/gststructure.c:
5153 * tests/check/gst/gstsystemclock.c:
5154 * tests/check/gst/gsttag.c:
5155 * tests/check/gst/gsttask.c: (gst_task_suite):
5156 * tests/check/gst/gstutils.c:
5157 * tests/check/gst/gstvalue.c:
5158 * tests/check/libs/adapter.c:
5159 * tests/check/libs/basesrc.c:
5160 * tests/check/libs/collectpads.c:
5161 * tests/check/libs/controller.c:
5162 * tests/check/libs/gdp.c: (gst_dp_suite):
5163 * tests/check/libs/gstnetclientclock.c:
5164 * tests/check/libs/gstnettimeprovider.c:
5165 * tests/check/libs/libsabi.c: (libsabi_suite):
5166 * tests/check/libs/typefindhelper.c:
5167 * tests/check/pipelines/cleanup.c:
5168 * tests/check/pipelines/parse-launch.c:
5169 * tests/check/pipelines/simple-launch-lines.c:
5170 * tests/check/pipelines/stress.c: (stress_suite):
5173 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5175 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
5176 * libs/gst/check/gstcheck.h:
5177 create a macro and function so that the simple unit test
5178 case can be just one macro to create main()
5180 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
5182 * gst/gstbin.c: (gst_bin_restore_thyself):
5183 * gst/gstxml.c: (gst_xml_make_element):
5184 Fix deserialisation from XML. Set parent manually
5185 instead of using gst_bin_add(), since gst_bin_add()
5186 will unlink all pads of the element being added.
5189 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
5191 Patch by: Peter Kjellerstedt <pkj at axis com>
5193 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
5194 Fix missing g_strdup() and double free when using the
5195 --gst-plugin-load command line option (#346097).
5197 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
5200 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
5202 * libs/gst/net/gstnetclientclock.c:
5203 * libs/gst/net/gstnettimeprovider.c:
5204 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
5206 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
5208 * docs/manual/advanced-dataaccess.xml:
5209 Fix buffer probe example compilation in
5212 2006-06-22 Edward Hervey <edward@fluendo.com>
5214 * gst/gstelement.c: (gst_element_pads_activate):
5215 We need to deactivate src pads first and then sink pads.
5216 The reason is the src pads might be blocking while holding the streaming
5217 lock, so we need to deactivate them first so that deactivating the sink
5218 pads doesn't block (since it will require the streaming lock).
5220 2006-06-22 Wim Taymans <wim@fluendo.com>
5222 * libs/gst/base/gstbasetransform.c:
5223 (gst_base_transform_buffer_alloc):
5224 Forgot to remove two unneeded unrefs.
5225 Simplify a check _is_equal allready checks the obvious case.
5227 2006-06-22 Wim Taymans <wim@fluendo.com>
5229 * docs/design/part-block.txt:
5230 Some docs about what pad_block should do.
5232 2006-06-22 Wim Taymans <wim@fluendo.com>
5234 * gst/gstcaps.c: (gst_caps_replace):
5235 Fix crasher when passed NULL. Doc clarification.
5236 Optimize for the trivial case.
5238 * gst/gstpipeline.c: (gst_pipeline_change_state):
5241 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5242 Small documentation cleanup.
5244 * libs/gst/base/gstbasetransform.c:
5245 (gst_base_transform_buffer_alloc):
5246 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
5247 is what we need and it avoids a whole lot of redundant
5248 refcount operations.
5250 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
5252 Patch by: Philip Jägenstedt <philip at lysator liu se>
5254 * docs/manual/advanced-dataaccess.xml:
5255 Fix 'Embedding static elements' section to use
5256 GST_PLUGIN_DEFINE_STATIC (#345607).
5258 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5260 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5261 Attempt to 'fix' spuriously failing test case: it seems like the
5262 timeout of half a second is simply too small when the system is under
5263 load otherwise, and the timeout doesn't really seem to serve any
5264 particular purpose here. Give the pipeline a few seconds to preroll
5265 first, and then give it another half a second to go from PAUSED to
5266 PLAYING and marshal the message into the main thread.
5268 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5270 * tools/gst-feedback-m.m:
5271 Don't only use unversioned tools, try versioned tools as well
5274 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5276 * gst/gstbus.c: (gst_bus_class_init):
5277 Fix some typos, make docs more explicit.
5279 2006-06-20 Wim Taymans <wim@fluendo.com>
5281 * tests/check/gst/gstghostpad.c: (block_callback),
5282 (GST_START_TEST), (gst_ghost_pad_suite):
5283 Added some more ghostpad tests, mainly blocking
5286 2006-06-16 Wim Taymans <wim@fluendo.com>
5288 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5289 (gst_file_sink_close_file), (gst_file_sink_do_seek),
5290 (gst_file_sink_event), (gst_file_sink_render):
5291 * plugins/elements/gstfilesink.h:
5292 Check if we can seek in the file instead of assuming
5293 we always can. Post an error when we are asked to seek in a
5294 non-seekable file (like a fifo). Fixes #343312.
5297 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5299 * tools/gst-launch.1.in:
5300 Un-garble (fourcc) bit in filtered caps section.
5302 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5304 * docs/manual/advanced-autoplugging.xml:
5305 * docs/manual/basics-helloworld.xml:
5306 * docs/manual/highlevel-components.xml:
5307 Don't leak bus reference in sample code.
5309 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
5312 Add default for new --enable-plugin-docs switch.
5315 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5319 Use new ENABLE_PLUGIN_DOCS conditional.
5321 2006-06-14 Wim Taymans <wim@fluendo.com>
5323 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5324 Make it clear with a FIXME and a real define what the #if 0
5325 previously disabled.
5327 2006-06-14 Wim Taymans <wim@fluendo.com>
5329 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5330 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5331 * libs/gst/base/gstbasetransform.c:
5332 (gst_base_transform_sink_eventfunc):
5333 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5334 Don't randomly and silently reset a segment when the format
5335 changes as this is a bug somewhere upstream. Fixes #330379.
5337 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
5339 Patch by: Wouter Paesen <wouter at kangaroot net>
5341 * libs/gst/controller/gstcontroller.c:
5342 (gst_controlled_property_new):
5343 Fix controlling of float properties (#344849).
5345 * tests/check/libs/controller.c:
5346 (gst_test_mono_source_get_property),
5347 (gst_test_mono_source_set_property),
5348 (gst_test_mono_source_class_init), (GST_START_TEST):
5349 While we're at it, add some float stuff to unit test.
5351 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5354 * docs/images/gdp-header.svg:
5356 * docs/libs/Makefile.am:
5357 * docs/libs/gdp-header.png:
5358 * libs/gst/dataprotocol/dataprotocol.c:
5359 add it to the API docs
5360 * docs/manual/intro-motivation.xml:
5363 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5365 * gst/gst.c: (scan_and_update_registry), (init_post):
5366 If the fork()'ed child process can't write the updated registry cache
5367 file to disk for some reason, make it exit with a failure exit code,
5368 so that the parent can then re-scan the plugins itself and update the
5369 registry structures in memory and work with that (rather than failing
5370 when creating elements because seemingly no plugins are available).
5371 Refactor registry scanning code into separate function for this and
5372 also separate fork() and non-fork() code paths. Fixes #344748.
5374 2006-06-13 Wim Taymans <wim@fluendo.com>
5376 * docs/manual/advanced-dataaccess.xml:
5377 Fix wrong PluginDesc. Fixes #344755.
5379 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5381 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5382 Fix silly bug that prevented us from creating
5383 ~/.gstreamer-0.10 and writing the registry in one
5384 go (the first call to g_mkstemp() would overwrite the
5385 placeholder in the template string, so the second call
5386 to g_mkstemp() after creating the missing directory
5387 would then error out with 'invalid argument').
5389 2006-06-13 Edward Hervey <edward@fluendo.com>
5391 * gst/gst.c: (init_post):
5394 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5396 * gst/glib-compat-private.h:
5397 * gst/glib-compat.c:
5398 * gst/glib-compat.h:
5399 * gst/gstvalue.c: (gst_value_serialize_flags):
5400 remove GLib 2.6 compatibility code
5402 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
5404 * gst/parse/Makefile.am:
5405 Fix build with 'make -j N' even more (#340016).
5407 2006-06-12 Wim Taymans <wim@fluendo.com>
5409 * docs/gst/gstreamer-sections.txt:
5412 2006-06-12 Wim Taymans <wim@fluendo.com>
5414 * gst/gstsegment.c: (gst_segment_set_duration),
5415 (gst_segment_set_last_stop), (gst_segment_set_seek),
5416 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5417 (gst_segment_to_running_time), (gst_segment_clip):
5418 Use G_UNLIKELY to help the compiler a bit.
5420 2006-06-12 Wim Taymans <wim@fluendo.com>
5422 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5424 * gst/gstevent.c: (gst_event_get_type):
5426 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5428 constify quark registration strings. Fixes #344115
5429 Avoid unneeded type checking is _pad_push() by internally
5430 calling gst_pad_chain_unchecked().
5432 2006-06-12 Wim Taymans <wim@fluendo.com>
5434 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5435 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5436 (gst_subbuffer_finalize), (gst_buffer_create_sub),
5437 (gst_buffer_is_span_fast), (gst_buffer_span):
5438 Init _type for consistency.
5439 Use _FLAGS macro to avoid type check.
5440 Avoid unneeded type checks in subbufer code.
5442 2006-06-12 Wim Taymans <wim@fluendo.com>
5444 * gst/gst.c: (gst_debug_help):
5445 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5446 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5447 (gst_plugin_feature_list_free):
5448 * gst/gstregistry.c: (gst_registry_add_plugin),
5449 (gst_registry_add_feature), (gst_registry_plugin_filter),
5450 (gst_registry_feature_filter), (gst_registry_find_plugin),
5451 (gst_registry_find_feature), (gst_registry_get_plugin_list),
5452 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5453 * gst/gstregistryxml.c: (load_feature),
5454 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5455 * gst/gstminiobject.c: (gst_mini_object_unref),
5456 (gst_mini_object_replace), (gst_value_mini_object_free),
5457 (gst_value_mini_object_copy):
5458 Use _CAST macros to avoid unneeded type checking.
5459 Added some more G_UNLIKELY.
5461 2006-06-12 Wim Taymans <wim@fluendo.com>
5464 Avoid unneeded type checking.
5465 API: GST_BUFFER_IS_DISCONT
5467 * gst/gstminiobject.h:
5468 Avoid type check in flag accessor.
5470 * gst/gstelementfactory.h:
5472 * gst/gstpluginfeature.h:
5474 API: GST_ELEMENT_FACTORY_CAST
5475 API: GST_PLUGIN_CAST
5476 API: GST_PLUGIN_FEATURE_CAST
5478 2006-06-12 Wim Taymans <wim@fluendo.com>
5480 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5482 Add G_UNLIKELY in type registration.
5483 Avoid type check in _ref/_unref since that is also
5486 2006-06-12 Wim Taymans <wim@fluendo.com>
5488 * gst/gsterror.c: (gst_g_error_get_type):
5489 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5490 (gst_static_pad_template_get_type):
5491 * gst/gsttaglist.c: (gst_tag_list_get_type):
5492 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5493 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5494 * gst/gsturi.c: (gst_uri_handler_get_type):
5495 * gst/gstvalue.c: (gst_date_get_type):
5496 * gst/gstxml.c: (gst_xml_get_type):
5497 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5498 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5499 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5500 Add G_UNLIKELY in type registration.
5502 2006-06-12 Wim Taymans <wim@fluendo.com>
5504 * tools/gst-inspect.c: (print_signal_info):
5505 Properly print enum values.
5507 2006-06-12 Wim Taymans <wim@fluendo.com>
5509 * gst/gstinfo.c: (gst_debug_set_active),
5510 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5512 Add some G_[UN]LIKELY.
5513 Maintain __gst_debug_min to avoid formatting the arguments of
5514 debug messages that will be dropped anyway to avoid a lot of
5515 overhead from the debugging system.
5517 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5521 add missing files containing translatable strings, tell intltool about
5524 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5526 * tests/check/libs/.cvsignore:
5527 add test-binary to ignore list
5529 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5531 * docs/libs/gstreamer-libs-docs.sgml:
5532 reorder (put dp into a chapter) and indent
5534 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5539 === release 0.10.8 ===
5541 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5544 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5546 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5548 * gst/gst.c: (init_post):
5549 move pid declaration to declaration block
5551 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5553 * gst/gst.c: (init_post):
5554 use _exit() instead of exit() in our forked child; this ensures
5555 that none of the registered exit handlers from whatever is using
5556 GStreamer get executed. This fixes gnome-mixer-applet failing
5557 to load, because ORBit would shut down.
5558 Spotted by: Edward Hervey <edward@fluendo.com>
5559 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
5562 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5567 === release 0.10.7 ===
5569 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5572 releasing 0.10.7, "Soepeke, ik zie ou"
5574 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
5597 * win32/common/config.h:
5600 2006-06-07 Wim Taymans <wim@fluendo.com>
5602 * gst/gstindex.c: (gst_index_gtype_resolver):
5603 * tools/gst-xmlinspect.c: (print_plugin_info):
5604 Fix leak spotted by coverity checker. Fixes #343827
5605 Fix another other leak found by paolo borelli.
5607 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5609 * libs/gst/dataprotocol/dataprotocol.c:
5610 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5611 (gst_dp_version_get_type), (gst_dp_init),
5612 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5613 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5614 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5615 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5616 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5617 (gst_dp_packetizer_free):
5618 * libs/gst/dataprotocol/dataprotocol.h:
5619 API: add a GstDPPacketizer object, and create/free functions
5620 API: add GstDPVersion enum
5621 Add 1.0 event function that uses the string serialization
5622 Serialize more useful buffer flags
5625 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5627 * tests/check/Makefile.am:
5628 * tests/check/gst/gstabi.c:
5629 * tests/check/gst/struct_ppc64.h:
5630 * tests/check/libs/libsabi.c:
5631 * tests/check/libs/struct_ppc64.h:
5632 add ppc64 structure sizes
5634 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5636 * tests/check/Makefile.am:
5637 * tests/check/gst/gstabi.c:
5638 * tests/check/gst/struct_x86_64.h:
5639 * tests/check/libs/libsabi.c:
5640 * tests/check/libs/struct_x86_64.h:
5641 generate and add structure size lists for x86_64
5643 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5645 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5646 * libs/gst/check/gstcheck.h:
5647 factor out the method from tests that checks size of structures,
5648 and add code to generate the header containing these sizes
5649 * tests/check/gst/gstabi.c: (GST_START_TEST):
5650 * tests/check/gst/struct_i386.h:
5651 * tests/check/libs/libsabi.c: (GST_START_TEST):
5652 * tests/check/libs/struct_i386.h:
5655 2006-06-06 Michael Smith <msmith@fluendo.com>
5658 Don't use c++-style comments, fixes #343929
5660 2006-06-05 Edward Hervey <edward@fluendo.com>
5663 plugin_paths is not used if we build without registry support.
5665 * gst/gstsegment.c: (gst_segment_copy):
5666 _copy() was always returning NULL...
5668 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5670 * libs/gst/dataprotocol/dataprotocol.c:
5671 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5672 (gst_dp_packet_from_event):
5675 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5677 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5678 make sure we unset caps
5680 2006-06-02 Michael Smith <msmith@fluendo.com>
5682 * libs/gst/check/gstcheck.c: (gst_check_init),
5683 (gst_check_chain_func):
5684 * libs/gst/check/gstcheck.h:
5685 Add a cond/mutex to the check support lib, signal this whenever we
5686 add to the buffers list. This will allow tests to not busy-wait on
5689 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5691 * libs/gst/dataprotocol/dataprotocol.c:
5692 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5693 (gst_dp_packet_from_event):
5694 factor out some common header init code
5696 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5698 * docs/libs/gstreamer-libs-sections.txt:
5699 * docs/libs/tmpl/gstdataprotocol.sgml:
5700 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5701 * libs/gst/dataprotocol/dataprotocol.h:
5702 API: make gst_dp_crc() public
5704 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5706 * plugins/indexers/gstindexers.c: (plugin_init):
5707 conditionally register fileindexer (fixes #343598)
5709 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5711 * gst/gsttagsetter.h:
5712 Can't cast ifaces to a class
5714 * libs/gst/net/gstnetclientclock.h:
5715 * libs/gst/net/gstnettimeprovider.h:
5716 * plugins/elements/gstfakesink.h:
5717 * plugins/elements/gstfakesrc.h:
5718 * plugins/elements/gstfdsink.h:
5719 * plugins/elements/gstfdsrc.h:
5720 * plugins/elements/gstfilesink.h:
5721 * plugins/elements/gstfilesrc.h:
5722 * plugins/elements/gstidentity.h:
5723 * plugins/elements/gstqueue.h:
5724 * plugins/elements/gsttee.h:
5725 * plugins/indexers/gstfileindex.c:
5726 * plugins/indexers/gstmemindex.c:
5727 * tests/old/examples/plugins/example.h:
5728 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5730 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
5732 * libs/gst/dataprotocol/dataprotocol.c:
5733 (gst_dp_header_from_buffer):
5734 make sure we zero the whole ABI-compatible area
5736 2006-06-01 Wim Taymans <wim@fluendo.com>
5738 Patch by: Alessandro Decina <alessandro at nnva dot org>
5740 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5741 Make sure the EOS flag is cleared from pads after a flush
5742 or stop. Fixes #343538.
5744 * tests/check/libs/collectpads.c: (GST_START_TEST),
5745 (gst_collect_pads_suite):
5746 Added test for collectpads reusage after EOS.
5748 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
5751 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5752 * win32/common/libgstbase.def:
5753 export gst_collect_pads_set_flushing
5754 * win32/common/libgstreamer.def:
5755 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5756 gst_value_fraction_multiply
5757 * win32/vs6/gst_inspect.dsp:
5758 add a link to intl.lib
5760 2006-05-30 Wim Taymans <wim@fluendo.com>
5762 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5763 (gst_collect_pads_chain):
5764 Handle the case where a pad is removed from the collection
5765 that could cause the other pads to become collectable.
5767 2006-05-30 Wim Taymans <wim@fluendo.com>
5770 Clarify the use of _release_request_pad() and
5771 _get_request_pad() a bit better.
5773 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5774 (gst_adapter_take_buffer):
5775 Fix some doc and comment typos.
5777 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5779 * docs/gst/gstreamer-sections.txt:
5780 * docs/libs/gstreamer-libs-sections.txt:
5781 add declared symbols
5783 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
5785 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5786 Add debug that can be enabled using a #define at the top of the file,
5787 for dumping stats about how late/early we were when waking up from
5788 waiting on the clock.
5790 2006-05-30 Wim Taymans <wim@fluendo.com>
5792 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5793 When rebuilding the pad list, don't leak the previous list.
5795 2006-05-30 Wim Taymans <wim@fluendo.com>
5797 Patch by: Lutz Mueller <lutz at topfrose dot de>
5799 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5800 (gst_base_src_get_query_types), (gst_base_src_update_length):
5801 Publish supported query types.
5802 Update last_stop field in get_range mode so the position
5803 query works. Fixes #342321.
5805 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
5807 * docs/gst/gstreamer-sections.txt:
5808 * gst/gsttaglist.c: (_gst_tag_initialize):
5810 API: add GST_TAG_PREVIEW_IMAGE (#343341).
5812 2006-05-30 Wim Taymans <wim@fluendo.com>
5814 Patch by: Alessandro Decina <alessandro at nnva dot org>
5816 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5817 Unlock mutex when removing an unknown pad.
5820 * tests/check/Makefile.am:
5821 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5822 (push_event), (setup), (teardown), (GST_START_TEST),
5823 (gst_collect_pads_suite), (main):
5824 Added collecpads check, disabled for now as check crashes for
5827 2006-05-29 Wim Taymans <wim@fluendo.com>
5829 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5830 Don't leak pads lists.
5832 2006-05-29 Wim Taymans <wim@fluendo.com>
5834 * docs/libs/gstreamer-libs-sections.txt:
5835 * libs/gst/base/gstcollectpads.c:
5836 (gst_collect_pads_set_flushing_unlocked),
5837 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5838 (gst_collect_pads_stop):
5839 * libs/gst/base/gstcollectpads.h:
5840 API: gst_collect_pads_set_flushing()
5841 Added api to set the pads to flushing, useful for seeking
5842 code in elements using collectpads.
5843 Clear segment when receiving a flush.
5845 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
5847 * gst/gst.c: (add_path_func), (init_post):
5848 Don't scan registry paths passed via --gst-plugin-path immediately
5849 (will crash, because absolutely nothing is set up and no types are
5850 registered etc.); do this later in init_post(). Fixes #343057.
5852 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
5854 * gst/gst.c: (init_post):
5855 if we have fork, fork while reading/rebuilding the registry
5856 so the parent doesn't take the hit of having all plugins loaded
5857 in memory. Fixes #342777.
5859 Check if we have fork()
5860 * win32/common/config.h.in:
5863 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5865 * plugins/elements/gstelements.c:
5866 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5867 (gst_file_src_init), (gst_file_src_set_property),
5868 (gst_file_src_get_property), (gst_file_src_start):
5869 * plugins/elements/gstfilesrc.h:
5870 API: GstFileSrc::use-mmap
5872 Add a use-mmap property to enable easier testing of all code paths.
5873 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5874 in the absence of gnomevfssrc. (Closes #340501)
5876 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5878 * tools/gst-inspect.c:
5879 Add missing include, removes warning of ngettext not being defined on
5882 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5884 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5885 Handle NULL input and output pointers silently as a failed conversion,
5886 rather than g_warnings.
5888 2006-05-25 Wim Taymans <wim@fluendo.com>
5890 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5891 Initialize variable before using. Fixes #342820.
5893 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
5895 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5896 Fix off-by-one bug that would only allow peeks of N-1 bytes
5897 from the start even if the buffer to typefind on contains
5898 in fact N bytes of data (makes vorbis typefinding from a
5899 vorbis identification header buffer work).
5901 * tests/check/Makefile.am:
5902 * tests/check/libs/.cvsignore:
5903 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5904 (gst_typefindhelper_suite), (main), (foobar_typefind),
5906 Add very basic unit test for gst_type_find_helper_for_buffer()
5907 that checks for the problem fixed above.
5909 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
5911 * tools/gst-inspect.c: (print_interfaces),
5912 (print_element_properties_info), (print_element_list), (main):
5913 add more translatable strings
5915 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
5917 Patch by: Julien Moutte <julien at moutte net>
5919 * docs/gst/gstreamer-sections.txt:
5920 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5922 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5923 (gst_fake_sink_preroll):
5924 * plugins/elements/gstfakesink.h:
5925 API: Add new GstFakeSink::preroll-handoff signal (#337100).
5927 2006-05-23 Wim Taymans <wim@fluendo.com>
5929 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5931 Added _CUSTOM error and success GstFlowReturn that can be
5932 used be elements internally.
5933 Added macro to check for SUCCESS flowreturns.
5934 API: GST_FLOW_CUSTOM_SUCCESS
5935 API: GST_FLOW_CUSTOM_ERROR
5936 API: GST_FLOW_IS_SUCCESS
5938 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5939 Added check for GstFlowReturn sanity.
5941 2006-05-23 Wim Taymans <wim@fluendo.com>
5943 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5945 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5946 (gst_collect_pads_event):
5947 clear/reset segment info in FLUSH_STOP.
5950 2006-05-22 Stefan Kost <ensonic@users.sf.net>
5952 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5953 (gst_collect_pads_check_collected):
5954 Flush queued buffer on _stop(), fixes playing again (#342454)
5956 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
5958 * tests/check/gst/gststructure.c: (GST_START_TEST),
5959 (gst_structure_suite):
5960 add a test for a complete structure
5962 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5964 * docs/faq/developing.xml:
5966 * docs/faq/troubleshooting.xml:
5967 * docs/faq/using.xml:
5968 Some minor FAQ updates that won't change the fact that
5969 our FAQ is badly structured, full of information hardly
5970 anyone new to GStreamer needs to know and lacking lots
5971 of information people constantly ask for.
5973 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
5975 * gst/gstpad.c: (gst_pad_set_caps):
5976 Short-circuit gst_pad_set_caps if setting the existing
5977 caps pointer again, and avoid printing debug and
5978 reffing/unreffing the caps.
5980 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5981 There's actually no need to set the caps before pushing -
5982 the acceptcaps method will handle it anyway.
5984 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5986 * docs/gst/gstreamer-sections.txt:
5987 * win32/common/libgstreamer.def:
5988 * gst/gstutils.c: (gst_element_seek_simple):
5990 API: add gst_element_seek_simple() (#342238).
5992 2006-05-18 Edward Hervey <edward@fluendo.com>
5994 * gst/gsttypefind.c: (gst_type_find_get_type):
5995 * gst/gsttypefind.h:
5996 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5997 registered for GstTypeFind pointers. This allows wrapping the structure
5998 in bindings (i.e. gst-python).
6000 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
6002 * gst/gsttagsetter.c:
6003 Docs additions and fixes (see #339918).
6005 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
6007 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6008 The caps intersection algorithm can produce multiple copies of the
6009 caps. Until that is fixed, we need to simplify the result to be
6010 sure whether the allowed caps are fixed or not.
6012 * plugins/elements/gstqueue.c: (gst_queue_init),
6013 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
6014 (gst_queue_push_one):
6015 Proxied buffer alloc should not set the caps on the source pad.
6016 When pushing buffers, we always accept the caps change that triggers.
6017 This prevents negotiation errors caused by caps changing mid-stream
6018 and then being refused on our source pad (because upstream is now
6019 refusing those caps).
6021 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
6023 * tests/examples/helloworld/helloworld.c: (main):
6024 Must plug audioconvert and audioresample between decoder
6027 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
6029 * gst/gstregistryxml.c: (read_string), (load_pad_template),
6030 (load_feature), (load_plugin):
6031 Allow empty strings for some of the plugin fields so we don't
6032 drop valid plugin entries that were written out correctly
6035 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
6037 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
6038 Use g_remove and g_rename instead of remove and rename that don't
6039 handle utf8 characters. rename was failing for users who had specific
6040 characters in their name then the registry was built at each
6042 * win32/vs6/gst_inspect.dsp:
6043 * win32/vs6/gst_launch.dsp:
6044 * win32/vs6/libgstbase.dsp:
6045 * win32/vs6/libgstcoreelements.dsp:
6046 * win32/vs6/libgstreamer.dsp:
6047 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
6048 build of libgstreamer and clean unused libraries in projects link
6051 2006-05-17 Edward Hervey <edward@fluendo.com>
6053 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6054 The queue is not responsible for pushing an EOS when receiving a fatal
6055 flow error. It's up to the real element driving the pipeline to do that.
6057 2006-05-16 Edward Hervey <edward@fluendo.com>
6059 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6060 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
6061 buffer returned a fatal error. It should just send an EOS and stop
6063 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
6064 when pushing buffers on the queue and will be able to handle the event.
6066 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
6068 * docs/manual/basics-bins.xml:
6069 * docs/manual/basics-init.xml:
6070 Fix typos and minor errors in sample code (#341856).
6072 2006-05-16 Wim Taymans <wim@fluendo.com>
6074 * docs/design/part-qos.txt:
6075 Fix indexes in formulas to make more sense.
6077 2006-05-15 Wim Taymans <wim@fluendo.com>
6079 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6080 Don't report POSITION based on clock time if sync is
6083 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
6086 Add cast to make compiler happy - refcount variable was a gint
6087 in GstObject but is a guint in GObject and g_atomic_int_get()
6090 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
6092 * gst/parse/Makefile.am:
6093 chain commands using &&, which also makes parallel make work
6095 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
6097 * docs/gst/gstreamer-sections.txt:
6103 === release 0.10.6 ===
6105 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
6108 releasing 0.10.6, "Take the cannoli"
6110 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
6112 * tools/gst-launch.c: (print_tag):
6113 Fix use of uninitialized variable in the hypothetical
6114 case that some broken plugin creates a GST_TAG_IMAGE
6115 tag containing a NULL buffer (#341667).
6117 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
6119 * tools/gst-launch.c: (print_tag):
6120 Print something more intelligible for image tags when
6121 using the -t switch (#341556).
6123 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
6128 define GST_MAJORMINOR so we have it available in win32/common/config.h
6129 Possibly remove it from our Makefile.am files later
6130 * win32/common/config.h:
6131 * win32/common/config.h.in:
6132 added GST_MAJORMINOR
6133 * win32/common/gstenumtypes.c: (register_gst_resource_error):
6134 * win32/common/gstversion.h:
6137 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
6140 Update win32 files listing.
6141 * win32/common/gstversion.h:
6142 Add GST_MAJORMINOR definition.
6143 * win32/common/libgstreamer.def:
6144 Add new exported functions.
6146 2006-05-12 Michael Smith <msmith@fluendo.com>
6148 * gst/gstplugin.c: (gst_plugin_load_file):
6149 If an so file has no plugin entry point, unload the module.
6151 2006-05-11 Wim Taymans <wim@fluendo.com>
6153 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
6154 (gst_queue_set_property):
6155 Don't forget to signal the _chain or _loop function
6156 when the queue size or thresholds change since that might
6157 cause them to make progres again.
6159 2006-05-11 Stefan Kost <ensonic@users.sf.net>
6161 * gst/gstclock.c: (gst_clock_class_init):
6162 * gst/gstindex.c: (gst_index_class_init):
6163 * gst/gstobject.c: (gst_object_class_init):
6164 * gst/gstpad.c: (gst_pad_class_init):
6165 * gst/gstpipeline.c: (gst_pipeline_class_init):
6166 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6167 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
6168 * libs/gst/base/gstbasetransform.c:
6169 (gst_base_transform_class_init):
6170 * libs/gst/net/gstnetclientclock.c:
6171 (gst_net_client_clock_class_init):
6172 * libs/gst/net/gstnettimeprovider.c:
6173 (gst_net_time_provider_class_init):
6174 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
6175 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6176 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6177 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
6178 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6179 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6180 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6181 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6182 * plugins/elements/gsttee.c: (gst_tee_class_init):
6183 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6184 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6185 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
6187 2006-05-11 Wim Taymans <wim@fluendo.com>
6189 * gst/gstbuffer.c: (_gst_buffer_initialize):
6190 Register subbufer along with the buffer type so that
6191 it does not accidentally gets registered from N
6192 different streaming threads in a non threadsafe way.
6194 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
6199 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
6200 gst_event_ref() and gst_message_ref() functions again
6201 (ugly hack, please do fix if there's a better way besides
6202 overrides.txt, which doesn't seem to work).
6204 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6206 * libs/gst/check/gstcheck.h:
6207 add an assert for setting state to avoid lots of repetitive code
6210 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6212 * gst/gstvalue.c: (gst_value_serialize_flags):
6213 fix a leak if no flags are set
6214 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6217 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
6219 * docs/manual/basics-pads.xml:
6220 Expand a bit on caps and filtered links and update
6221 examples that were still using the no longer existing
6222 gst_pad_link_filtered() (#338206).
6224 2006-05-10 Wim Taymans <wim@fluendo.com>
6226 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6227 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6228 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6229 (gst_collect_pads_stop):
6230 * libs/gst/base/gstcollectpads.h:
6231 No need to call _stop in _finalize.
6232 Iterate the main pad list in _finalize.
6233 Added some more debug.
6234 Free lists and data in the right order.
6235 Also free data whem doing _remove_pad when stopped for
6236 backward compatibility protect ::started with PAD_LOCK as
6239 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6241 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
6242 (gst_structure_parse_value):
6244 rename a method so that it actually says what it does better
6246 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6248 * gst/gstevent.c: (_gst_event_initialize):
6249 * gst/gstformat.c: (_gst_format_initialize):
6250 make sure some essential types used by events are registered
6251 as part of gst_init()
6252 * gst/gstvalue.c: (gst_value_serialize_flags):
6253 if no flags are set, serialize them to a value that represents NONE
6254 so that deserializing them works
6255 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6256 add tests for serialization and deserialization of flags
6258 2006-05-10 Wim Taymans <wim@fluendo.com>
6260 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6261 (gst_collect_pads_collect_range), (gst_collect_pads_available),
6262 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6263 (gst_collect_pads_event), (gst_collect_pads_chain):
6266 Catch and return errors from the collect function
6267 Refuse data on eos pads.
6269 2006-05-10 Edward Hervey <edward@fluendo.com>
6271 * gst/gstinterface.h:
6272 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6273 GInterface type checking.
6274 They were previously using non-defined macros.
6276 2006-05-09 Wim Taymans <wim@fluendo.com>
6278 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6279 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6280 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6281 (gst_collect_pads_start), (gst_collect_pads_stop),
6282 (gst_collect_pads_peek), (gst_collect_pads_pop),
6283 (gst_collect_pads_available), (gst_collect_pads_read),
6284 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6285 (gst_collect_pads_is_collected), (gst_collect_pads_event),
6286 (gst_collect_pads_chain):
6287 * libs/gst/base/gstcollectpads.h:
6288 Clean up the mess that is collectpads, add comments and
6289 FIXMEs where needed.
6290 Maintain a separate pad list so we can add pads while
6291 collecting the other ones. For this we need a new separate
6293 Fix memory leak in finalize.
6294 Refactor some weird code to set/unset pad flushing flags, mark
6296 Don't crash in _available, _read, _flush when we're EOS.
6298 * tests/check/libs/.cvsignore:
6299 Ignore adapter check binary.
6301 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6303 * gst/gstindex.c: (gst_index_resolver_get_type):
6304 * plugins/elements/gstfakesink.c:
6305 (gst_fake_sink_state_error_get_type):
6306 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6307 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6308 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6309 Const-ify GEnumValue arrays.
6311 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6313 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6314 Add test case for flags + gst_buffer_make_metadata_writable().
6316 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6318 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6319 gst_buffer_make_metadata_writable() should maintain the
6320 buffer flags (those that make sense at least) (see #340859).
6322 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6324 * tools/gst-inspect.c:
6325 * tools/gst-launch.c:
6326 * tools/gst-typefind.c:
6327 * tools/gst-xmlinspect.c:
6329 Fix up includes: need to include stdlib.h in tools.h for exit().
6331 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6333 * gst/gsttaglist.c: (_gst_tag_initialize):
6335 API: add GST_TAG_IMAGE tag (#340721).
6337 2006-05-08 Wim Taymans <wim@fluendo.com>
6340 Added some docs for the segment query.
6342 2006-05-08 Wim Taymans <wim@fluendo.com>
6344 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6345 (gst_base_src_loop), (gst_base_src_change_state):
6346 Always push non-flushing serialized events in the streaming
6349 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
6351 * gst/gsterror.c: (_gst_stream_errors_init):
6352 Add a missing error string.
6354 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
6356 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6357 Add applied_rate to the debug
6359 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6360 Copy applied_rate into the outgoing NEWSEGMENT event
6362 2006-05-08 Wim Taymans <wim@fluendo.com>
6364 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6366 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6367 (gst_base_sink_change_state):
6368 call ::unlock before taking the PREROLL_LOCK so we can safely
6369 handle elements that lock in ::render.
6372 2006-05-08 Edward Hervey <edward@fluendo.com>
6374 * autogen.sh: (CONFIGURE_DEF_OPT):
6375 Darwin's libtoolize is in fact called glibtoolize.
6376 Adding glibtoolize to the list of accepted names for libtoolize.
6378 2006-05-08 Wim Taymans <wim@fluendo.com>
6380 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6381 Unify error handling, don't post an error message
6382 when a push() returns EOS but perform our normal EOS
6383 handling code. Fixes #340772.
6385 2006-05-08 Wim Taymans <wim@fluendo.com>
6387 * docs/design/part-overview.txt:
6388 Make upsteam/downstream concepts more clear.
6389 Give an example of serialized/non-serialized events.
6391 * docs/design/part-events.txt:
6392 * docs/design/part-streams.txt:
6393 Mention applied_rate.
6395 * docs/design/part-trickmodes.txt:
6396 Mention applied rate, flesh out some more use cases.
6398 * gst/gstevent.c: (gst_event_new_new_segment),
6399 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6400 (gst_event_parse_new_segment_full), (gst_event_new_tag),
6401 (gst_event_parse_tag), (gst_event_new_buffer_size),
6402 (gst_event_parse_buffer_size), (gst_event_new_qos),
6403 (gst_event_parse_qos), (gst_event_parse_seek),
6404 (gst_event_new_navigation):
6406 Add applied_rate field to NEWSEGMENT event.
6407 API: gst_event_new_new_segment_full()
6408 API: gst_event_parse_new_segment_full()
6410 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6411 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6412 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6414 Add applied_rate to GstSegment structure.
6415 Make calculation of stream_time and running_time more correct
6416 wrt rate/applied_rate.
6418 API: GstSegment::applied_rate field
6419 API: gst_segment_set_newsegment_full();
6421 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6422 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6423 * libs/gst/base/gstbasetransform.c:
6424 (gst_base_transform_sink_eventfunc),
6425 (gst_base_transform_handle_buffer):
6426 Parse and use applied_rate in the GstSegment field.
6428 * tests/check/gst/gstevent.c: (GST_START_TEST):
6429 Add check for applied_rate field.
6431 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6432 (gstsegments_suite):
6433 Add more checks for various GstSegment operations.
6435 2006-05-08 Wim Taymans <wim@fluendo.com>
6437 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6438 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6439 (gst_base_sink_get_position), (gst_base_sink_change_state):
6440 Store the sync time of the buffer end position separatly in a
6441 new variable eos_rtime so we can properly sync the EOS event.
6443 Fix the docs for gst_base_sink_set_qos_enabled().
6444 Don't set segment start to invalid value when we receive a
6445 non TIME newsegment.
6446 get closer to handling position reporting for negative rates
6449 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6452 Docs about how to print caps for debug purposes.
6454 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6455 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6457 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6460 use full enum names and preprend a '%' in docs strings to make recent
6461 gtk-doc turn that into a link
6463 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6465 * docs/manual/basics-bins.xml:
6466 * docs/manual/basics-bus.xml:
6467 * docs/manual/basics-pads.xml:
6468 Some typo fixes, some additions, some clarifications.
6470 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6472 * tools/gst-inspect.c: (main):
6473 * tools/gst-launch.c: (main):
6474 * tools/gst-run.c: (main):
6475 * tools/gst-typefind.c: (main):
6476 * tools/gst-xmlinspect.c: (main):
6477 Use the string passed to g_option_context_new() for
6478 what it's intended for - the program name is already
6481 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6483 * tools/Makefile.am:
6484 * tools/gst-inspect.c: (main):
6485 * tools/gst-launch.c: (main):
6486 * tools/gst-xmlinspect.c: (main):
6488 Add back --version command line option (#340460).
6490 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6491 Add --version option and use GOption for argument parsing; refactor a
6492 bit; accept directories as arguments and recurse into them; lastly,
6493 print a decent error message when things go wrong.
6495 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6497 * docs/manual/basics-bins.xml:
6498 Don't mention GstThread (#340611)
6499 * docs/manual/basics-elements.xml:
6500 Update link to GObject tutorial (#340607)
6502 2006-05-05 Wim Taymans <wim@fluendo.com>
6505 * gst/gstminiobject.c:
6506 Add note about refcounting and miniobject/buffer writeability
6507 to docs. Fixes #340604
6509 * gst/gstelementfactory.h:
6510 Added some explanation about @klass.
6512 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6514 * docs/manual/intro-motivation.xml:
6515 * docs/manual/manual.xml:
6516 Avoid CORBA & Bonobo references (#340598)
6518 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6520 * docs/manual/basics-bus.xml:
6521 * docs/manual/basics-pads.xml:
6522 Fix up some inaccuracies and omissions (#340609)
6524 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6526 * gst/gstghostpad.c:
6527 Small typo in docs (#340625)
6529 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6531 * gst/parse/Makefile.am:
6532 Make 'make -j' proof (see #340698).
6534 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6537 Require GLib-2.8 here as well.
6539 2006-05-05 Wim Taymans <wim@fluendo.com>
6541 * gst/glib-compat.c:
6542 * gst/gst.c: (init_pre):
6543 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6544 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6545 (gst_object_dispatch_properties_changed):
6547 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6548 * gst/gststructure.c: (gst_structure_set_valist):
6549 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6550 Remove pre glib2.8 compatibility, fixes #340508
6552 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6555 Mention type of tags in doc blurbs.
6557 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
6559 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6560 (gst_pad_configure_src), (gst_pad_push):
6561 Restore acceptcaps checking behaviour now that good plugins have
6564 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6566 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6577 * gst/parse/Makefile.am:
6578 * libs/gst/base/gstadapter.c:
6579 * libs/gst/base/gstbasesrc.c:
6580 * libs/gst/base/gstpushsrc.c:
6581 * libs/gst/base/gsttypefindhelper.c:
6582 * plugins/elements/gstfakesrc.c:
6583 * plugins/elements/gstidentity.c:
6584 Make sure gstprivate.h and/or config.h are
6585 always included first, otherwise some of our
6586 defines (like _FILE_OFFSET_BITS) might be
6587 redefined in the system headers. Fixes build
6588 on opensolaris (#340016).
6590 2006-05-04 Wim Taymans <wim@fluendo.com>
6592 * docs/libs/gstreamer-libs-sections.txt:
6593 API: addition: gst_adapter_take_buffer()
6595 * libs/gst/base/gstadapter.c: (gst_adapter_push),
6596 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6597 (gst_adapter_available_fast):
6598 * libs/gst/base/gstadapter.h:
6599 Prepare for optimizing the hell out of this hugely inefficient
6601 Added gst_adapter_take_buffer() so we can at least start thinking
6602 about subbuffering and merging.
6603 Added some comments.
6605 * tests/check/Makefile.am:
6606 * tests/check/libs/adapter.c: (GST_START_TEST),
6607 (gst_adapter_suite), (main):
6608 Added GstAdapter check.
6610 2006-05-04 Wim Taymans <wim@fluendo.com>
6612 * docs/design/part-overview.txt:
6613 Fix some typos, add blurb about buffer flags.
6615 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6617 * docs/libs/gstreamer-libs-sections.txt:
6618 make sure GstBaseTransformClass shows up in the docs
6619 * libs/gst/base/gstbasetransform.c:
6620 * libs/gst/base/gstbasetransform.h:
6621 move docs so gtk-doc picks it up now
6623 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6625 * docs/libs/gstreamer-libs-sections.txt:
6626 add missing symbols to docs
6628 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6630 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6631 back out the newsegment handling change, see #340060 for ongoing
6634 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
6636 * tools/gst-run.c: (get_candidates), (main):
6637 Fix wrong g_file_test() usage (see glib docs for why it doesn't
6638 work); fix typo in error message. Fixes #340079.
6640 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6642 * common/Makefile.am:
6644 * docs/faq/Makefile.am:
6645 * docs/gst/Makefile.am:
6646 * docs/libs/Makefile.am:
6647 * docs/manual/Makefile.am:
6648 * docs/plugins/Makefile.am:
6649 * docs/pwg/Makefile.am:
6650 * docs/slides/Makefile.am:
6652 * common/upload.mak:
6653 move upload.mak to common
6655 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6657 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6658 add more asserts on refcounts
6659 do more cleanup at end of tests
6660 fix test leaks showing in FC5
6662 2006-04-29 Stefan Kost <ensonic@users.sf.net>
6664 * plugins/elements/gsttypefindelement.c:
6665 (gst_type_find_element_handle_event):
6666 reverted wrong change and reflowed code to avoid others falling into
6669 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6671 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6672 fix changelog entry about last collectpads change,
6673 add notes about proper fix
6675 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6678 * gst/gstregistry.c: (gst_registry_scan_path_level),
6679 (gst_registry_scan_path):
6680 * gst/gstregistry.h:
6681 only write out registry if it has changed, fixes #338339
6683 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6686 * gst/gstpipeline.c:
6687 * plugins/elements/gstcapsfilter.c:
6688 * plugins/elements/gstfakesink.c:
6689 * plugins/elements/gstfakesrc.c:
6690 * plugins/elements/gstfdsink.c:
6691 * plugins/elements/gstfdsrc.c:
6692 * plugins/elements/gstfilesink.c:
6693 * plugins/elements/gstfilesrc.c:
6694 * plugins/elements/gstidentity.c:
6695 * plugins/elements/gstqueue.c:
6696 * plugins/elements/gsttee.c:
6697 * plugins/elements/gsttypefindelement.c:
6698 (gst_type_find_element_handle_event):
6699 make GstElementDetails const
6701 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6703 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6704 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6705 (gst_collect_pads_is_collected), (gst_collect_pads_event):
6706 more detailed debug and formatting cleanup,
6707 forward newsegments to src-pad (so that e.g. adder not eats them)
6709 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6711 * gst/gstutils.c: (gst_element_link_pads):
6714 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6716 * libs/gst/controller/gstcontroller.c:
6717 (gst_controller_sync_values):
6719 * tests/check/libs/controller.c: (GST_START_TEST),
6720 (gst_controller_suite):
6721 a new test for live value handling
6723 2006-04-28 Wim Taymans <wim@fluendo.com>
6725 * gst/gstutils.c: (push_and_ref):
6726 Added some more docs.
6727 Fix refcount issue whith gst_element_found_tags() helper
6728 function. Fixes #338335
6730 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6731 Added testsuite for gst_element_found_tags().
6733 2006-04-28 Michael Smith <msmith@fluendo.com>
6735 * gst/gstvalue.c: (gst_value_serialize_flags):
6736 Avoid NULL dereference when trying to serialize flags containing
6739 2006-04-28 Michael Smith <msmith@fluendo.com>
6741 * plugins/elements/gsttypefindelement.c:
6742 (gst_type_find_element_handle_event):
6743 If we get EOS before any data is accumulated, don't use
6744 uninitialised local variables.
6746 2006-04-28 Michael Smith <msmith@fluendo.com>
6748 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6749 (gst_dp_event_from_packet):
6750 Fixes in reading/writing events over GDP (not currently used?) -
6751 dereferencing NULL events for unknown/invalid event types, memory
6752 leak, and change g_warning to GST_WARNING.
6754 2006-04-28 Wim Taymans <wim@fluendo.com>
6756 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6757 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6758 (gst_base_sink_get_position), (gst_base_sink_change_state):
6759 When frame dropping is enabled, we should not ignore frames
6761 Update some documentation.
6763 2006-04-28 Wim Taymans <wim@fluendo.com>
6765 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6766 (gst_base_src_send_event), (gst_base_src_change_state):
6767 Documentation updates.
6769 2006-04-28 Wim Taymans <wim@fluendo.com>
6771 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6772 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6773 handle EAGAIN, EINTR and short writes correctly. Also clean
6774 up some error cases, avoid a deadlock on bad file descriptors and
6775 use GST_DEBUG_OBJECT.
6778 2006-04-28 Wim Taymans <wim@fluendo.com>
6780 * gst/gstvalue.c: (gst_value_serialize_buffer),
6781 (gst_value_deserialize_buffer):
6782 Don't try to serialize a GValue with a NULL buffer.
6785 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6786 Added check for serialisation of NULL buffers.
6788 2006-04-28 Wim Taymans <wim@fluendo.com>
6790 * gst/gstminiobject.c: (gst_value_take_mini_object):
6791 Taking a NULL miniobject is valid, fix the case where
6792 we try to unref the NULL miniobject.
6794 2006-04-28 Wim Taymans <wim@fluendo.com>
6796 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6798 * gst/gstbin.c: (gst_bin_handle_message_func):
6800 Don't leak bin refcount when a state recalc is
6801 in progress and we delay another one #339808.
6803 2006-04-28 Wim Taymans <wim@fluendo.com>
6805 * docs/design/part-TODO.txt:
6806 Mention QoS as an ongoing work item.
6808 * docs/design/part-buffering.txt:
6809 New doc about buffering that needs to be fleshed out
6812 * docs/design/part-qos.txt:
6813 More QoS policy for decoders/demuxers/transforms
6815 * docs/design/part-trickmodes.txt:
6818 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6823 === release 0.10.5 ===
6825 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6828 releasing 0.10.5, "Fogo"
6830 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
6832 patch by: Wim Taymans
6834 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6835 (gst_pad_configure_src), (gst_pad_push):
6836 * gst/gstpipeline.c: (gst_pipeline_init):
6837 Fix internal data flow errors. Fixes #338711.
6839 2006-04-12 Wim Taymans <wim@fluendo.com>
6841 * tests/check/gst/gstelement.c: (GST_START_TEST):
6842 Don't leak the factory.
6844 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6847 * win32/common/config.h:
6850 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
6852 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6853 (gst_controller_unset_all):
6854 Free allocated GstTimedValues when freeing list nodes.
6855 Should fix leaks 'make check-valgrind' complains about.
6857 * win32/common/libgstcontroller.def:
6858 Add gst_controller_unset_all.
6860 2006-04-11 Stefan Kost <ensonic@users.sf.net>
6862 * docs/libs/gstreamer-libs-sections.txt:
6863 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6864 (gst_controller_unset_all):
6865 * libs/gst/controller/gstcontroller.h:
6866 API: Added new method gst_controller_unset_all()
6867 fixed gst_controller_unset()
6868 * tests/check/libs/controller.c: (GST_START_TEST),
6869 (gst_controller_suite):
6870 Added two testcases for new and fixed method
6872 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
6874 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6875 MSG_DONTWAIT is not defined on Cygwin, so work
6876 around that (fixes #317048).
6878 2006-04-11 Wim Taymans <wim@fluendo.com>
6880 * gst/gstelementfactory.c: (gst_element_register),
6881 (gst_element_factory_create), (gst_element_factory_make):
6884 Updated docs (Fixes #131079)
6886 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6889 * tests/check/gst/gstelement.c: (GST_START_TEST),
6890 (gst_element_suite):
6891 Added testcase for elementfactory class field.
6893 2006-04-10 Wim Taymans <wim@fluendo.com>
6896 Added some more docs.
6898 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6899 (gst_base_sink_reset_qos):
6900 Calculate more accurate rate values.
6902 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
6904 * gst/gst_private.h:
6905 add a new #ifdef to use __declspec(dllimport) only for
6906 other modules and not for gstreamer core
6907 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6908 use gst_guint64_to_gdouble for conversion
6909 * win32/common/libgstreamer.def:
6910 add new exported functions
6911 * win32/vs6/gst_inspect.dsp:
6912 * win32/vs6/gst_launch.dsp:
6913 * win32/vs6/libgstbase.dsp:
6914 * win32/vs6/libgstcontroller.dsp:
6915 * win32/vs6/libgstcoreelements.dsp:
6916 * win32/vs6/libgstdataprotocol.dsp:
6917 * win32/vs6/libgstnet.dsp:
6918 update project files
6920 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6922 * gst/gstbuffer.c: (gst_subbuffer_class_init):
6923 * gst/gstclock.c: (gst_clock_class_init):
6924 * gst/gstelement.c: (gst_element_class_init):
6925 * gst/gstindex.c: (gst_index_class_init):
6926 * gst/gstindexfactory.c: (gst_index_factory_class_init):
6927 * gst/gstobject.c: (gst_object_class_init),
6928 (gst_signal_object_class_init):
6929 * gst/gstpad.c: (gst_pad_class_init):
6930 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6931 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6932 * gst/gstregistry.c: (gst_registry_class_init):
6933 * gst/gstsystemclock.c: (gst_system_clock_class_init):
6934 * gst/gsttask.c: (gst_task_class_init):
6935 * gst/gstxml.c: (gst_xml_class_init):
6936 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6937 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6938 (gst_base_src_loop):
6939 * libs/gst/controller/gstcontroller.c:/
6940 (_gst_controller_class_init):
6941 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6942 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6943 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6944 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6945 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6946 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6948 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
6950 * gst/gstpad.c: (gst_pad_link):
6951 Must set peer pads before calling the link function, otherwise
6952 a task started from a link function might get a flow-not-linked
6953 result when trying to push because the other thread where the
6954 linking happens hasn't had a chance to set the peers yet. This
6955 might happen for example when a queue gets linked to a downstream
6956 element, as queue starts a streaming task when its source pad
6957 gets linked. Happens in real life when playing back flac/musepack
6958 files in playbin (#332390).
6960 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6964 * libs/gst/base/gstadapter.h:
6965 * libs/gst/base/gstbasesink.h:
6966 * libs/gst/base/gstbasesrc.h:
6967 * libs/gst/base/gstbasetransform.h:
6968 * libs/gst/base/gstcollectpads.h:
6969 * libs/gst/base/gstpushsrc.h:
6970 Fix broken GObject macros
6972 2006-04-07 Wim Taymans <wim@fluendo.com>
6974 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6975 Initialize start and stop times, thanks valgrind.
6977 2006-04-07 Wim Taymans <wim@fluendo.com>
6979 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6980 Be a bit nicer to badly behaving upstream elements that expect
6981 us to deal with non TIME segments and timestamps (such as fakesrc
6984 2006-04-07 Wim Taymans <wim@fluendo.com>
6987 Small documentation clarification about the signal watch.
6989 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6990 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6991 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6992 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6993 (gst_base_sink_get_position_last),
6994 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6995 Convert and store timestamps in stream time and running time, the
6996 raw timestamps are not useful, also document this better.
6997 Use different window sizes for good and bad QoS observations so
6998 we react to badness a little quicker.
6999 Keep track of the amount of rendered and dropped buffers.
7000 Send QoS timestamps in running time.
7002 * libs/gst/base/gstbasetransform.c:
7003 (gst_base_transform_sink_eventfunc),
7004 (gst_base_transform_handle_buffer):
7005 Compare QoS timestamps against running time.
7007 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
7012 2006-04-06 Michael Smith <msmith@fluendo.com>
7014 * gst/gstpad.c: (gst_pad_set_property):
7015 Use g_value_get_object() instead of g_value_dup_gst_object(),
7016 to avoid double-reffing the pad template (which we then sink,
7017 so this worked previously if (and only if) the pad template
7020 * gst/gstpadtemplate.c: (gst_pad_template_init),
7021 (gst_pad_template_pad_created):
7022 Never return floating references to pad templates, create
7023 them as initially-sunken.
7025 Document an extra function (and make this stop sinking our
7026 pad template, since that is now guaranteed to do nothing,
7027 since we created it sunken).
7029 * gst/gstghostpad.c:
7032 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
7034 * gst/gstinfo.c: (__gst_in_valgrind):
7037 * plugins/elements/gsttypefindelement.c:
7038 (gst_type_find_element_chain):
7039 Don't leak buffer caps.
7041 2006-04-06 Michael Smith <msmith@fluendo.com>
7043 * gst/parse/grammar.y:
7044 Fix a leak in parse-launch for any source-or-sink named element
7047 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7048 Unref the pipeline if it exists after we've failed parsing.
7050 2006-04-05 Michael Smith <msmith@fluendo.com>
7052 * gst/gstpipeline.c: (gst_pipeline_init):
7053 When we create a pipeline bus, initially create it in flushing mode.
7054 Fixes leaks in at least one test, and makes a new pipeline work the
7055 same as one that has gone to READY and then back to NULL.
7060 2006-04-05 Michael Smith <msmith@fluendo.com>
7062 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7063 Unref a pad we reffed.
7064 * tests/check/gst/gstutils.c: (GST_START_TEST):
7067 2006-04-05 Michael Smith <msmith@fluendo.com>
7069 * gst/gstquery.c: (gst_query_set_formats),
7070 (gst_query_set_formatsv):
7071 Fix leaking GValues in queries, as shown by valgrind/testsuite.
7073 2006-04-05 Michael Smith <msmith@fluendo.com>
7075 * tests/check/generic/sinks.c: (GST_START_TEST):
7076 Fix a variety of memleaks in sinks check, which are only sometimes
7077 shown by running the tests under valgrind (weird?).
7079 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
7081 * docs/version.entities.in:
7082 Fix the substituted entity name after thomas' changes on the
7085 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7087 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
7090 2006-04-05 Andy Wingo <wingo@pobox.com>
7092 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
7094 * libs/gst/base/gstbasetransform.c
7095 (gst_base_transform_sink_eventfunc): When resetting our segment on
7096 FLUSH_STOP, also update the flag saying we haven't seen a
7099 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7101 Patch by: Paolo Borelli <pborelli at katamail dot com>
7103 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
7104 (gst_plugin_check_license):
7105 minor clean-ups: G_DEFINE_TYPE already takes care of the
7106 parent_class stuff, no need to do it twice. Mark array of
7107 license strings as constant. (#337103)
7109 2006-04-04 Michael Smith <msmith@fluendo.com>
7111 * tools/gst-inspect.c: (print_element_list):
7112 Free the right plugin list; fixes a memory leak.
7114 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7116 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7118 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7119 Don't error out on empty buffers (#336945).
7121 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
7123 * docs/libs/gstreamer-libs-sections.txt:
7125 * libs/gst/base/gstbasesink.c:
7126 * libs/gst/base/gstbasesink.h:
7127 * libs/gst/base/gstbasesrc.c:
7128 * libs/gst/base/gstbasesrc.h:
7129 Documentation updates. Make BaseSink and BaseSrc docs contain the
7130 class structure so that people can actually see the prototypes for
7131 virtual functions they're supposed to be overriding.
7133 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7135 * plugins/elements/gsttypefindelement.c:
7136 (gst_type_find_element_chain):
7137 More debug info; when skipping typefinding, send cached
7138 events in all cases.
7140 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
7143 use new AS_VERSION and AS_NANO macros
7144 * gst/gst-i18n-lib.h:
7147 * gst/gstversion.h.in:
7148 * win32/common/config.h:
7149 * win32/common/config.h.in:
7152 2006-03-31 Michael Smith <msmith@fluendo.com>
7154 * plugins/elements/gsttypefindelement.c:
7155 (gst_type_find_element_chain):
7156 Do not typefind content if the buffers already have caps.
7157 Neccesary for icydemux (#333657), and the right thing to do anyway.
7159 2006-03-30 Wim Taymans <wim@fluendo.com>
7161 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7162 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
7163 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
7164 (gst_base_sink_record_qos_observation),
7165 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7166 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7167 (gst_base_sink_change_state):
7168 More QoS measurements as described in the design doc.
7169 Get rid of ringbuffer with observations, running average is
7170 more simple and equally good.
7171 Calculates valid proportion now.
7172 Added beginning of flood measurement.
7174 2006-03-29 Wim Taymans <wim@fluendo.com>
7176 * docs/design/part-qos.txt:
7178 Small documentation updates and additions.
7180 2006-03-29 Wim Taymans <wim@fluendo.com>
7182 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7183 (gst_base_src_send_event), (gst_base_src_loop),
7184 (gst_base_src_change_state):
7185 Perform the EOS logic when we reach the segment stop position.
7186 Fix compilation on gcc4.1
7188 2006-03-29 Wim Taymans <wim@fluendo.com>
7190 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7192 * plugins/elements/gstqueue.c: (gst_queue_init),
7193 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7194 (gst_queue_set_property):
7195 * plugins/elements/gstqueue.h:
7196 In queue, when EOS is received, if minimum threshold > max_size -
7197 current_level, there is chance that queue blocks forever in conditional
7198 item del wait. This is because the queue is not emptied completely due
7199 to minimum threshold. Here is another approach. Instead of setting
7200 cur_levels to max in EOS, just zero all minimum threshold levels. This
7201 should make sure that queue gives out all data. When going to READY
7202 (stop) state, just reset the original minimum threshold levels.
7205 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
7207 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
7208 (gst_type_find_element_handle_event),
7209 (gst_type_find_element_send_cached_events),
7210 (gst_type_find_element_change_state):
7211 * plugins/elements/gsttypefindelement.h:
7212 When typefinding is done in push mode, we should cache
7213 events we receive during typefinding instead of just
7214 dropping them (e.g. newsegment, custom events from
7215 dvdreadsrc etc.) and then send them out once we've
7216 determined the type of the stream (and decodebin
7217 has had a chance to plug in a decoder/demuxer).
7219 2006-03-27 Wim Taymans <wim@fluendo.com>
7221 * docs/design/part-qos.txt:
7224 2006-03-27 Wim Taymans <wim@fluendo.com>
7226 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
7228 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7229 (gst_base_src_send_event), (gst_base_src_change_state):
7230 Handle element seek correctly when we are streaming.
7233 2006-03-24 Michael Smith <msmith@fluendo.com>
7235 * docs/faq/gst-uninstalled:
7236 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
7237 allow you to correctly run intalled applications built against old
7238 core, using plugins that require updated core (e.g. running
7239 installed totem against a full uninstalled gstreamer stack)
7241 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7243 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
7246 2006-03-24 Wim Taymans <wim@fluendo.com>
7248 * docs/gst/gstreamer-sections.txt:
7249 Rearrange the order of the methods so that related methods
7250 are grouped together in sections.
7252 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7255 Little clarification in the docs
7257 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7261 * plugins/elements/gstidentity.c:
7262 * plugins/elements/gstqueue.c:
7263 * plugins/elements/gsttee.c:
7264 * plugins/elements/gsttypefindelement.c:
7265 GST_ELEMENT_DETAILS formatting
7267 2006-03-24 Wim Taymans <wim@fluendo.com>
7269 * libs/gst/base/gstbasesink.h:
7270 Only add fields, not insert or we break ABI.
7272 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7274 * win32/common/libgstbase.def:
7275 * win32/common/libgstreamer.def:
7276 Update, add recently added functions.
7278 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7280 * docs/gst/gstreamer-sections.txt:
7281 * gst/gstutils.c: (gst_pad_query_peer_position),
7282 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7284 API: add some new utility functions:
7285 - gst_pad_query_peer_position()
7286 - gst_pad_query_peer_duration()
7287 - gst_pad_query_peer_convert()
7289 2006-03-23 Wim Taymans <wim@fluendo.com>
7291 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7292 (gst_base_sink_init), (gst_base_sink_finalize),
7293 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7294 (gst_base_sink_set_property), (gst_base_sink_get_property),
7295 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7296 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7297 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7298 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7299 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7300 (gst_base_sink_preroll_object), (gst_base_sink_event),
7301 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7302 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7303 (gst_base_sink_query), (gst_base_sink_change_state):
7304 Decouple max-lateness and the fact that QoS messages are generated
7305 with a new property (qos).
7306 added API: GstBaseSink::async_play()
7307 Add vmethod so subclasses can be notified of ASYNC playing
7309 Collect timestamp start and stop to report better current
7310 position in EOS/PLAYING/PAUSED/READY/NULL.
7311 Refactor QoS/frame dropping and other measurements.
7312 API: GstBaseSrc::qos
7315 * libs/gst/base/gstbasesink.h:
7316 Added Private struct.
7317 API: gst_base_sink_set_qos_enabled()
7318 API: gst_base_sink_is_qos_enabled()
7320 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7322 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7323 If compiling against GLib-2.8 or newer, try to read the
7324 registry file using GMappedFile first before falling back
7325 to fopen() + fread() (#332151).
7327 2006-03-22 Wim Taymans <wim@fluendo.com>
7329 * gst/gstinfo.c: (gst_debug_set_active),
7330 (gst_debug_category_set_threshold):
7331 Disable debugging unless explicitly activated.
7334 2006-03-22 Wim Taymans <wim@fluendo.com>
7336 * gst/gstelement.c: (gst_element_set_locked_state),
7337 (gst_element_dispose):
7338 Cleanup the error case.
7340 * gst/gstobject.c: (gst_object_dispose):
7341 print a critical when some object was disposed with
7342 a parent, also revive the object since it might
7345 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
7347 * tools/gst-launch.1.in:
7350 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7353 * tests/check/Makefile.am:
7354 disable some tests when we don't have a registry
7355 * tests/check/gst/gstutils.c: (gst_utils_suite):
7356 don't build the part that needs parsing
7358 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7361 * tests/examples/Makefile.am:
7362 fix --disable-parse build
7364 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7366 * tools/gst-feedback.1.in:
7367 Fix typo: s/feeback/feedback/ (#133494).
7369 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7371 * tools/Makefile.am:
7372 * tools/gst-launch.1.in:
7373 Add FILES section and correct entry about GST_REGISTRY_PATH
7374 environment variable (#133495; #133494).
7376 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7378 * tools/Makefile.am:
7379 * tools/gst-md5sum.1.in:
7380 * tools/gst-md5sum.c:
7381 Remove gst-md5sum and man page (the md5sink element
7382 required was removed ages ago)
7384 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7386 * gst/gststructure.c: (gst_structure_id_set_value):
7387 Make sure that string fields in structures/taglists
7388 contain valid UTF-8 - we don't want to pass rubbish to
7389 applications because of a buggy plugin (cp. #334167).
7391 2006-03-21 Edward Hervey <edward@fluendo.com>
7393 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7394 (gst_bin_handle_message_func):
7395 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7396 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7397 (gst_element_set_bus_func):
7398 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7399 * gst/gstminiobject.c: (gst_value_set_mini_object),
7400 (gst_value_take_mini_object):
7401 * gst/gstpad.c: (gst_pad_set_pad_template):
7402 * gst/gstpipeline.c: (gst_pipeline_dispose),
7403 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7404 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7405 (gst_collect_pads_chain):
7406 * libs/gst/net/gstnettimeprovider.c:
7407 (gst_net_time_provider_set_property):
7408 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7409 It's in fact all issues with gst_*object_replace().
7411 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7413 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
7415 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7416 * pkgconfig/gstreamer-check.pc.in:
7417 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7419 2006-03-21 Edward Hervey <edward@fluendo.com>
7424 gst_[buffer|event|message]_ref() macros are replaced by a static
7425 inline functions because gcc-4.1 will about if the return value
7427 * tests/check/gst/gstevent.c: (event_probe):
7428 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7430 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
7433 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7434 the type' case. (Closes: #335195 for now). In the future, when we
7435 depend on GLib 2.10, we could also intern the type name using
7436 g_intern_static_string()
7438 2006-03-20 Wim Taymans <wim@fluendo.com>
7440 * gst/gstbin.c: (gst_bin_handle_message_func),
7441 (bin_query_max_init), (bin_query_position_fold),
7442 (bin_query_position_done), (gst_bin_query):
7443 Position query should also take max of all streams.
7445 2006-03-20 Wim Taymans <wim@fluendo.com>
7447 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7448 (gst_fake_src_finalize):
7449 Fix leaks in fakesrc.
7451 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7452 Fix leaks in the testcase.
7454 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
7456 * gst/gst_private.h:
7457 add win32 specific import decoration(__declspec(dllimport))
7458 for all extern GstDebugCategory * variables
7459 * win32/common/libgstbase.def:
7460 * win32/common/libgstcontroller.def:
7461 * win32/common/libgstreamer.def:
7462 Add some exports, remove empty lines
7463 * win32/common/libgstdataprotocol.def:
7464 * win32/common/libgstdataprotocol.dsp:
7465 * win32/common/libgstnet.def:
7466 * win32/common/libgstnet.dsp:
7467 new project files and exportation files added
7469 2006-03-19 Wim Taymans <wim@fluendo.com>
7471 * tests/check/libs/basesrc.c: (eos_event_counter):
7472 Use proper return value for probe.
7474 2006-03-17 Wim Taymans <wim@fluendo.com>
7476 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7478 Don't leak buffers, caps and pads on negotiation errors.
7480 2006-03-16 Stefan Kost <ensonic@users.sf.net>
7483 * docs/faq/dependencies.xml:
7484 * docs/faq/developing.xml:
7486 * docs/faq/general.xml:
7487 * docs/faq/getting.xml:
7488 * docs/faq/legal.xml:
7489 * docs/faq/troubleshooting.xml:
7490 * docs/faq/using.xml:
7491 Faq review and update.
7493 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
7495 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7497 Don't pound the cpu to pieces by checking get_caps when accept_caps
7498 is called with the same caps as the pad already has.
7499 Use GST_DEBUG_OBJECT when outputting caps change information.
7501 2006-03-15 Wim Taymans <wim@fluendo.com>
7503 * gst/gstclock.c: (gst_clock_class_init):
7506 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
7511 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7512 (gst_pad_accept_caps), (gst_pad_configure_sink),
7513 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7514 Make the default acceptcaps behaviour be to check the requested
7515 caps against the gst_pad_get_caps output.
7517 Ensure that gst_pad_accept_caps is used to check caps when a pad
7518 doesn't have a setcaps function, so that pads automatically refuse
7519 caps that they don't allow in their pad template. (Fixes #332986)
7521 When a buffer with attached caps is pushed, ensure that the source
7522 pad receives those caps even if the element didn't call
7523 gst_pad_set_caps first.
7525 2006-03-15 Wim Taymans <wim@fluendo.com>
7527 * libs/gst/base/gstadapter.c:
7530 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
7532 * win32/common/libgstbase.def:
7533 * win32/common/libgstcontroller.def:
7534 * win32/common/libgstreamer.def:
7535 Add a whole bunch of missing functions (#334434).
7537 2006-03-14 Wim Taymans <wim@fluendo.com>
7539 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7540 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7541 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7542 Better debug info when we receive a segment event.
7543 Reorganize a bit so we can pass the get_times() results around.
7544 Use the segment format when calculating the running time.
7545 Don't do QoS is sync is disabled or we have no clock or the
7546 element does not want us to sync to the clock.
7547 Don't drop buffers if QoS is disabled for now.
7549 2006-03-14 Wim Taymans <wim@fluendo.com>
7551 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7552 Marked the stats property as unimplemented so people don't get
7554 Add debug message when regression goes wrong.
7555 Added some more docs.
7557 2006-03-14 Wim Taymans <wim@fluendo.com>
7559 * gst/gstsegment.c: (gst_segment_to_stream_time):
7560 Return correct return type in case of errors.
7562 2006-03-14 Wim Taymans <wim@fluendo.com>
7564 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7565 Don't segfault on invalid formats.
7567 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7569 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7570 Can't use gst_segment_to_running_time() when the segment
7571 is not in GST_TIME_FORMAT (like with filesink, for example).
7572 Stops flac encoding pipelines from spewing critical warnings
7575 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7577 * gst/gstpipeline.c: (gst_pipeline_class_init):
7578 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7580 * plugins/elements/gsttypefindelement.c:
7581 (gst_type_find_element_handle_event):
7582 Don't try to typefind empty streams.
7584 2006-03-14 Wim Taymans <wim@fluendo.com>
7586 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7587 (gst_base_sink_do_qos):
7588 Separate QoS calculation.
7589 Only drop buffers when lateness is bigger than the
7590 duration of the buffer.
7592 2006-03-13 Wim Taymans <wim@fluendo.com>
7594 * gst/gstpipeline.c: (gst_pipeline_set_property),
7595 (gst_pipeline_get_property), (do_pipeline_seek),
7596 (gst_pipeline_change_state), (gst_pipeline_set_delay),
7597 (gst_pipeline_get_delay):
7598 Don't deadlock when reading properties.
7600 2006-03-13 Wim Taymans <wim@fluendo.com>
7602 * libs/gst/base/gstbasetransform.c:
7603 (gst_base_transform_class_init), (gst_base_transform_init),
7604 (gst_base_transform_sink_event),
7605 (gst_base_transform_sink_eventfunc),
7606 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7607 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7608 (gst_base_transform_set_property),
7609 (gst_base_transform_get_property),
7610 (gst_base_transform_change_state), (gst_base_transform_update_qos),
7611 (gst_base_transform_set_qos_enabled),
7612 (gst_base_transform_is_qos_enabled):
7613 * libs/gst/base/gstbasetransform.h:
7614 Make basetransform virtual method for src events too.
7615 Handle QOS in basetransform.
7616 API: gst_base_transform_update_qos()
7617 API: gst_base_transform_set_qos_enabled()
7618 API: gst_base_transform_is_qos_enabled()
7620 2006-03-13 Wim Taymans <wim@fluendo.com>
7622 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7623 (gst_base_sink_do_sync):
7625 Use QOS debug category.
7627 2006-03-13 Wim Taymans <wim@fluendo.com>
7629 * plugins/elements/gstqueue.c:
7630 Very small doc update.
7632 2006-03-13 Wim Taymans <wim@fluendo.com>
7634 * gst/gst_private.h:
7635 * gst/gstinfo.c: (_gst_debug_init):
7636 Added QOS debug category
7638 2006-03-13 Wim Taymans <wim@fluendo.com>
7640 * docs/gst/gstreamer-sections.txt:
7641 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7643 * gst/gstbus.c: (gst_bus_class_init):
7646 * gst/gstelement.c: (gst_element_set_locked_state):
7648 Documentation updates.
7650 * gst/gstpipeline.c: (gst_pipeline_get_type),
7651 (gst_pipeline_class_init), (gst_pipeline_init),
7652 (gst_pipeline_dispose), (gst_pipeline_set_property),
7653 (gst_pipeline_get_property), (do_pipeline_seek),
7654 (gst_pipeline_send_event), (gst_pipeline_change_state),
7655 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7656 (gst_pipeline_get_delay):
7657 * gst/gstpipeline.h:
7658 Added methods for setting the delay.
7659 API: gst_pipeline_set_delay()
7660 API: gst_pipeline_get_delay()
7661 Add pipeline debug category
7664 Don't reset stream time when seek failed.
7666 2006-03-13 Wim Taymans <wim@fluendo.com>
7668 * docs/design/draft-klass.txt:
7669 * docs/design/part-clocks.txt:
7670 * docs/design/part-events.txt:
7671 * docs/design/part-gstbin.txt:
7672 * docs/design/part-gstpipeline.txt:
7673 * docs/design/part-messages.txt:
7674 * docs/design/part-negotiation.txt:
7675 * docs/design/part-overview.txt:
7676 * docs/design/part-preroll.txt:
7677 * docs/design/part-seeking.txt:
7678 * docs/design/part-states.txt:
7679 * docs/design/part-streams.txt:
7680 Documentation updates.
7682 2006-03-12 Julien MOUTTE <julien@moutte.net>
7684 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7685 us to leak strings...
7687 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
7689 * libs/gst/net/gstnettimeprovider.c:
7691 * win32/common/config.h:
7694 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
7696 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7699 Don't check for libgnomeui (leftover from old examples
7700 that aren't built or disted any longer) (#334303).
7702 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
7704 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7705 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7706 Emit RESOURCE_NO_SPACE_LEFT error here as well when
7707 there's no space left on the device.
7709 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
7712 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7713 to cast the input to GstClockTime before comparing with
7714 another GstClockTime value.
7716 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7721 === release 0.10.4 ===
7723 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7726 releasing 0.10.4, "Light"
7728 2006-03-10 Michael Smith <msmith@fluendo.com>
7730 * libs/gst/dataprotocol/dataprotocol.c:
7731 Fix docs for dataprocotol to not get the return types completely
7732 wrong for a few functions.
7734 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7736 * docs/gst/gstreamer-sections.txt:
7737 * gst/gstpipeline.c: (gst_pipeline_class_init),
7738 (gst_pipeline_init), (gst_pipeline_set_property),
7739 (gst_pipeline_get_property), (gst_pipeline_change_state),
7740 (gst_pipeline_set_auto_flush_bus),
7741 (gst_pipeline_get_auto_flush_bus):
7742 * gst/gstpipeline.h:
7743 Add new API: gst_pipeline_set_auto_flush_bus() and
7744 gst_pipeline_get_auto_flush_bus() to disable automatic
7745 flushing of the pipeline's GstBus when going from READY
7746 to NULL state (#332045).
7748 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7750 * docs/gst/gstreamer-sections.txt:
7751 * gst/gsturi.c: (gst_uri_has_protocol):
7753 Add new API: gst_uri_has_protocol() (#333779).
7755 2006-03-09 Wim Taymans <wim@fluendo.com>
7757 * gst/gstclock.c: (gst_clock_entry_new),
7758 (gst_clock_id_compare_func), (gst_clock_id_wait),
7759 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7760 (gst_clock_init), (gst_clock_get_internal_time),
7761 (gst_clock_set_master), (do_linear_regression),
7762 (gst_clock_add_observation), (gst_clock_set_property):
7766 Fix a possible segfault when the window-size is made smaller.
7767 Calculate jitter before performing the clock wait. Ideally
7768 the clock implementation should calculate jitter but we need
7769 API breakage for that.
7771 * gst/gstsystemclock.c: (gst_system_clock_init):
7774 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7775 Remove leftover else
7777 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7778 (gst_systemclock_suite):
7779 Added check to test GST_CLOCK_DIFF.
7781 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7783 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7784 (gst_type_find_helper_get_range):
7785 If we are provided with the size, we should implement
7786 GstTypeFind::get_length, so that typefind functions who
7787 want to can actually peek at the middle of a file.
7789 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
7791 * docs/manual/advanced-dataaccess.xml:
7792 Add some very very basic error checking.
7794 * docs/pwg/appendix-checklist.xml:
7795 Some updates to the list of things to check when writing an element.
7797 2006-03-08 Wim Taymans <wim@fluendo.com>
7799 * docs/design/part-element-transform.txt:
7800 Added some docs about the design of tranform elements.
7802 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7803 (gst_base_src_loop), (gst_base_src_change_state):
7804 Mark buffers with the DISCONT flag.
7806 2006-03-08 Michael Smith <msmith@fluendo.com>
7808 * gst/gstregistry.h:
7809 * gst/gstregistryxml.c: (gst_registry_save),
7810 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7811 (gst_registry_xml_save_pad_template),
7812 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7813 (gst_registry_xml_write_cache):
7814 Rewrite registry-saving to avoid race conditions and check for
7817 2006-03-08 Wim Taymans <wim@fluendo.com>
7819 * libs/gst/base/gstbasetransform.c:
7820 (gst_base_transform_transform_caps),
7821 (gst_base_transform_transform_size),
7822 (gst_base_transform_prepare_output_buffer),
7823 (gst_base_transform_get_unit_size),
7824 (gst_base_transform_buffer_alloc),
7825 (gst_base_transform_handle_buffer),
7826 (gst_base_transform_change_state):
7827 Cleanups, separate normal flow from errors, add sensible
7829 Don't try to renegotiate when allocating an output buffer.
7830 Also copy DISCONT buffer flag when copying a buffer.
7831 Reset the transform after we finish streaming, not during.
7833 2006-03-08 Wim Taymans <wim@fluendo.com>
7835 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7836 Use last buffer timestamp in qos message.
7838 2006-03-07 Wim Taymans <wim@fluendo.com>
7840 Patch by: Christophe Fergeau
7842 * docs/pwg/advanced-tagging.xml:
7843 * docs/pwg/building-pads.xml:
7846 2006-03-07 Wim Taymans <wim@fluendo.com>
7848 * docs/libs/gstreamer-libs-sections.txt:
7849 Added basesink new methods.
7853 Docs updates. Flesh out the QoS docs.
7855 * libs/gst/base/gstadapter.c:
7856 Small doc clarification about ownership and flushing.
7858 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7859 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7860 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7861 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7862 * libs/gst/base/gstbasesink.h:
7864 Added new methods to allow subclass to control max-lateness
7866 Generate very basic QoS events based on last sync observation.
7867 Updated docs, fix typo, added some QoS blurb.
7869 * libs/gst/base/gstbasesrc.c:
7870 Remove obsolete _get_state() calls from docs.
7872 2006-03-07 Wim Taymans <wim@fluendo.com>
7874 * docs/libs/gstreamer-libs-sections.txt:
7875 * libs/gst/base/gstbasetransform.h:
7876 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7877 Fix docs for GstBaseSrc.
7879 2006-03-07 Wim Taymans <wim@fluendo.com>
7881 * docs/gst/gstreamer-sections.txt:
7884 * libs/gst/base/gstbasetransform.h:
7885 Small documentation fixes.
7887 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7890 Document thread-unsafety of gst_value_register_foo_func()
7891 when used at the same time as gst_value_foo() (#322628).
7893 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7895 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7896 (gst_push_src_check_get_range):
7897 Push sources don't support pull mode by default.
7899 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7901 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7902 (gst_base_src_init), (gst_base_src_pad_check_get_range),
7903 (gst_base_src_default_check_get_range):
7904 * libs/gst/base/gstbasesrc.h:
7905 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7906 provide default implementation, and rename
7907 gst_base_src_check_get_range() to
7908 gst_base_src_pad_check_get_range() for clarity.
7910 2006-03-06 Wim Taymans <wim@fluendo.com>
7912 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7913 Make property overridable.
7915 2006-03-06 Wim Taymans <wim@fluendo.com>
7917 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7918 (gst_base_sink_init), (gst_base_sink_set_property),
7919 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7920 * libs/gst/base/gstbasesink.h:
7921 API addition: Make max-lateness a property.
7923 2006-03-06 Wim Taymans <wim@fluendo.com>
7925 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7926 (gst_base_sink_do_sync), (gst_base_sink_render_object):
7927 Don't ever draw a frame that is >10ms late.
7929 2006-03-06 Michael Smith <msmith@fluendo.com>
7931 * gst/gstmessage.c: (_gst_message_copy):
7932 When copying a message, set the parent_refcount of the enclosed
7933 structure to point at the copy, not the original message.
7935 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7937 Patch by: Christophe Fergeau
7940 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7941 usable in c++ code (#333417)
7943 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
7946 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7948 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
7950 * libs/gst/base/gstbasetransform.c:
7951 (gst_base_transform_transform_caps):
7952 Make sure caps are writable before passing them to
7955 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7958 Fix some minor docs errors.
7960 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7962 Patch by: Ross Burton <ross at burtonini dot com>
7964 * gst/gsterror.c: (_gst_resource_errors_init):
7966 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7968 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7971 Add a check and output a g_warning when GStreamer is built
7972 against GLib 2.6 but running against 2.8 or higher, and vice
7973 versa. (Closes: #323542)
7975 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7977 * gst/parse/parse.l:
7978 Commit patch for parse_launch syntax from #331255. Removes
7979 support for quoted strings and mimetypes when writing filtered
7980 caps. See the bug report for more details - I'm pretty sure this
7981 obscure feature is not in use by _anyone_ anywhere.
7983 With this simple change, the size of the gstreamer.so here
7984 drops from 2193KB to 1565KB.
7986 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7988 * plugins/elements/gsttypefindelement.h:
7989 * plugins/elements/gsttypefindelement.c:
7990 (gst_type_find_element_src_event), (start_typefinding),
7991 (stop_typefinding), (gst_type_find_element_handle_event),
7992 (gst_type_find_element_chain),
7993 (gst_type_find_element_chain_do_typefinding):
7994 Use gst_type_find_helper_for_buffer() for chain-based
7997 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7999 * plugins/elements/gsttypefindelement.c:
8000 (gst_type_find_element_class_init),
8001 (gst_type_find_element_set_property),
8002 (gst_type_find_element_get_property):
8003 Deprecate "maximum" property (not only was it only taken into
8004 account for typefinding in push-mode anyway, it also was never
8005 actually possible to set it in the first place because the
8006 property was registered with the numeric property ID for the
8007 "minimum" property). Register "maximum" property correctly,
8008 for the sake of future copy'n'pasters. Remove some cruft
8009 from property get/set functions.
8011 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
8013 * plugins/elements/gsttypefindelement.c:
8014 (gst_type_find_element_activate):
8015 Use gst_type_find_helper_get_range() here, so we
8016 can honour the "minimum" property and also emit
8017 the signal with the correct probability of the found caps.
8019 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
8021 * docs/libs/gstreamer-libs-sections.txt:
8022 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
8023 (helper_find_suggest), (gst_type_find_helper_get_range),
8024 (gst_type_find_helper):
8025 * libs/gst/base/gsttypefindhelper.h:
8026 New API: gst_type_find_helper_get_range() (#333042).
8028 2006-03-02 Michael Smith <msmith@fluendo.com>
8030 * gst/gstregistryxml.c: (load_feature):
8031 Asserting on a failure to read part of the registry is Not Cool.
8032 Just log a warning and return NULL (which is already handled)
8034 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
8036 * win32/common/libgstbase.def:
8037 added export of gst_type_find_helper_for_buffer
8038 * win32/common/libgstbase.def:
8039 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
8040 gst_ghost_pad_get_target
8042 2006-02-28 Wim Taymans <wim@fluendo.com>
8044 * docs/design/draft-klass.txt:
8046 Added Connector to mark elements that are only used to
8047 allow pipeline connections.
8048 Moved Debug to extra feature since most of them are
8049 functionally something else.
8051 2006-02-28 Wim Taymans <wim@fluendo.com>
8053 * docs/design/draft-klass.txt:
8054 Some updates and clarifications.
8056 2006-02-28 Wim Taymans <wim@fluendo.com>
8058 * docs/design/draft-klass.txt:
8059 Proposal for klass field values.
8061 * docs/design/part-streams.txt:
8062 Start of a doc describing stream anatomy.
8064 2006-02-28 Wim Taymans <wim@fluendo.com>
8066 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
8067 Help the compiler a bit with type registration.
8068 Use existing forward cod path instead of duplicating it when
8071 * gst/gstbus.c: (gst_bus_get_type):
8072 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
8073 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
8074 * gst/gstclock.c: (gst_clock_get_type):
8075 * gst/gstelement.c: (gst_element_get_type),
8076 * gst/gstelementfactory.c: (gst_element_factory_get_type):
8077 * gst/gstindexfactory.c: (gst_index_factory_get_type):
8078 * gst/gstminiobject.c: (gst_mini_object_get_type):
8079 * gst/gstpad.c: (gst_pad_get_type):
8080 * gst/gstsegment.c: (gst_segment_get_type):
8081 * gst/gststructure.c: (gst_structure_get_type):
8082 * gst/gstsystemclock.c: (gst_system_clock_get_type):
8083 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
8085 Help compiler with type registration.
8087 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8090 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8092 * plugins/elements/gsttypefindelement.c:
8093 (gst_type_find_element_handle_event):
8094 When we get an EOS event and have not found a type yet
8095 (most likely because we had not yet accumulated
8096 TYPE_FIND_MIN_SIZE of data yet), try to determine the
8097 type given the data we have so far. Fixes typefinding
8098 for very short streams again, most notably quicktime
8099 redirections as used on Apple's trailer site (#331701).
8101 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8103 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
8104 (gst_type_find_helper):
8105 Try typefinding factories with the highest rank first.
8107 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8109 * docs/libs/gstreamer-libs-docs.sgml:
8110 * docs/libs/gstreamer-libs-sections.txt:
8111 * libs/gst/base/gsttypefindhelper.c:
8112 Add section for typefind helper and add documentation
8113 for the old and the new function.
8115 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8117 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
8118 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
8119 (gst_type_find_helper_for_buffer):
8120 * libs/gst/base/gsttypefindhelper.h:
8121 New API: gst_type_find_helper_for_buffer() (#332723).
8123 2006-02-27 Michael Smith <msmith@fluendo.com>
8125 Patch by: Loïc Minier
8129 * docs/slides/Makefile.am:
8130 prevent CVS directories getting disted.
8132 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8134 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
8135 Use the REFCOUNTING category for caps refcounting.
8137 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
8139 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
8140 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
8142 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
8144 * plugins/elements/gsttypefindelement.c:
8145 (gst_type_find_element_activate):
8146 Use gst_pad_check_pull_range() before _activate_pull()
8147 to avoid unnecessary open/close (see #331690).
8149 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
8152 Docs enhancement: make it crystal clear what the
8153 gst_pad_add_*_probe() callbacks should look like.
8155 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
8157 * libs/gst/base/gstbasesrc.c:
8158 Document how applications can stop recording from
8159 live sources (see #330996).
8161 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8163 * tests/check/Makefile.am:
8164 * tests/check/libs/basesrc.c: (eos_event_counter),
8165 (basesrc_eos_events_pull), (basesrc_eos_events_push),
8166 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
8167 (gst_basesrc_suite), (main):
8168 ... and add some tests for the base source EOS stuff.
8170 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8172 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
8173 Test case originally showed the problem fixed below,
8174 but was then amended. Add checks back at the place
8175 where they used to be.
8177 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8179 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8180 (gst_base_src_init), (gst_base_src_loop),
8181 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8182 (gst_base_src_change_state):
8183 * libs/gst/base/gstbasesrc.h:
8184 Don't unconditionally send EOS when going from PAUSED to
8185 READY state, esp. make sure we don't send two EOS events
8186 in some cases (e.g. one when reaching EOS and one when
8187 going from PAUSED to READY). Also, we don't want to send
8188 EOS events when operating in pull mode. However, we do
8189 want to send an EOS event when shutting down a live
8190 source explicitly, for example (fixes #330996).
8192 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8194 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8195 Update src->read_position after a seek when not using mmap.
8196 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
8198 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
8204 Make things work with --disable-parse as they do with
8205 --disable-load-save - the symbols involved disappear, but the
8206 header is still installed and GST_DISABLE_PARSE is included via
8209 2006-02-20 Julien MOUTTE <julien@moutte.net>
8211 * libs/gst/base/gstbasetransform.c:
8212 (gst_base_transform_change_state): Fix a stupid bug. I was
8213 sure I compiled that.
8215 2006-02-20 Julien MOUTTE <julien@moutte.net>
8217 * gst/gstpad.c: (gst_pad_set_blocked_async):
8218 * gst/gstutils.c: (gst_pad_add_data_probe),
8219 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8220 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8221 (gst_pad_remove_buffer_probe): Make those function act on the
8222 ghostpad target when it's a ghostpad. (Closes #331727)
8224 2006-02-20 Julien MOUTTE <julien@moutte.net>
8226 * libs/gst/base/gstbasetransform.c:
8227 (gst_base_transform_change_state): Make basetransform reusable.
8230 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
8232 * docs/random/release:
8233 Move the current documentation of how to do a release to the top
8236 * gst/gstbin.c: (gst_bin_class_init),
8237 (gst_bin_handle_message_func):
8238 Allow multiple state-recalculation threads. (Closes #328873)
8240 2006-02-19 Julien MOUTTE <julien@moutte.net>
8242 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
8243 * gst/gstpad.c: (gst_pad_set_event_function),
8244 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8245 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
8246 2 strings. You can't use the STR_NULL macro on that.
8248 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
8250 * gst/gstpad.c: (gst_pad_set_event_function),
8251 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8252 (gst_pad_set_getcaps_function)
8253 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8254 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8255 So now, we can use --gst-debug-level=5 on Windows
8256 * win32/common/libgstcontroller.def:
8257 Added export of gst_controller_init
8258 * win32/vs6/libgstcontroller.dsp:
8259 Fixed Release post build configuration
8261 2006-02-17 Wim Taymans <wim@fluendo.com>
8263 * tests/check/gst/gstquery.c: (GST_START_TEST):
8264 Added another check.
8266 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
8268 * plugins/elements/gsttypefindelement.c: (find_peek):
8269 We can do peeks at non-zero offsets, as long as they
8270 fall within the buffer we have.
8272 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
8274 * tests/check/Makefile.am:
8275 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8276 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8277 (parse_suite), (main):
8278 Add testsuite for parse launch syntax
8280 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
8282 * plugins/elements/gsttypefindelement.c:
8283 (gst_type_find_element_chain):
8284 When typefinding is unsuccessful in the chain function, don't
8285 error out immediately. Only error out with NO_CAPS_FOUND if
8286 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8287 otherwise simply wait for more data so we can try typefinding
8288 again with more data later. Also, don't attempt to typefind
8289 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8290 this should improve typefinding from network sources where the
8291 size of the first buffer can be somewhat random.
8293 2006-02-14 Wim Taymans <wim@fluendo.com>
8295 * docs/gst/gstreamer-sections.txt:
8296 * gst/gstpadtemplate.c:
8297 * gst/gstpadtemplate.h:
8298 Fix padtemplate docs, fixes #328805.
8300 2006-02-14 Wim Taymans <wim@fluendo.com>
8302 * tools/gst-launch.c: (main):
8303 NO_PREROLL is not an ERROR so don't send confusing messages
8306 2006-02-14 Wim Taymans <wim@fluendo.com>
8308 Patch by: Torsten Schoenfeld
8310 * gst/gstregistry.c: (gst_registry_get_default),
8311 (_gst_registry_cleanup):
8312 Protect default registry with lock and ref/sink it.
8315 2006-02-14 Wim Taymans <wim@fluendo.com>
8318 * gst/gstquery.c: (gst_query_list_add_format),
8319 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8320 (gst_query_parse_formats_nth):
8321 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8324 2006-02-14 Wim Taymans <wim@fluendo.com>
8326 * docs/gst/gstreamer-sections.txt:
8327 Reworked query docs.
8329 * gst/gstquery.c: (gst_query_new_formats),
8330 (gst_query_list_add_format), (gst_query_set_formats),
8331 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8332 (gst_query_parse_formats_nth):
8334 Flesh out formats query, added some new methods.
8335 Fix part of #324398.
8337 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8338 Added query creation tests.
8340 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
8342 * gst/gstpad.c: (fixate_value):
8343 Add a default fixation for fraction lists.
8345 2006-02-13 Wim Taymans <wim@fluendo.com>
8347 * gst/gsttask.c: (gst_task_init), (gst_task_func),
8348 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8351 Detect and warn for obvious deadlocks. fixes #320340
8352 Fix error case where lock was not released.
8354 * tests/check/Makefile.am:
8355 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8356 (task_func), (gst_element_suite), (main):
8359 2006-02-13 Wim Taymans <wim@fluendo.com>
8361 * docs/gst/gstreamer-sections.txt:
8363 Add new functions to docs.
8365 2006-02-13 Wim Taymans <wim@fluendo.com>
8367 * docs/design/part-TODO.txt:
8368 Updated TODO list, basesrc supports seeking to non-bytes
8371 * docs/design/part-element-sink.txt:
8374 * gst/gstbin.c: (bin_replace_message),
8375 (gst_bin_handle_message_func):
8376 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8377 * gst/gstevent.c: (gst_event_finalize):
8378 * gst/gstpad.c: (gst_pad_event_default_dispatch),
8379 (gst_pad_send_event):
8380 Use shiny new _TYPE_NAME macros.
8382 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8383 Move debug statement up.
8385 * gst/gstelement.c: (gst_element_set_locked_state):
8388 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
8390 * docs/gst/gstreamer-sections.txt:
8393 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8394 macros (#330906). Also, document the already existing
8395 GST_QUERY_TYPE macro.
8397 2006-02-13 Wim Taymans <wim@fluendo.com>
8399 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8400 (event_probe), (GST_START_TEST):
8401 Only events up to the pipeline EOS are counted, there are
8402 some more when going to NULL currently which we don't care
8405 2006-02-13 Wim Taymans <wim@fluendo.com>
8407 * gst/gstpad.c: (gst_pad_send_event):
8408 Correctly check flushing and emit probes. fixes #330125
8410 2006-02-10 Andy Wingo <wingo@pobox.com>
8412 * gst/gstbus.c (gst_bus_class_init): Declare our private data
8414 (gst_bus_init): Cache the location of the private data in the
8416 (gst_bus_enable_sync_message_emission)
8417 (gst_bus_disable_sync_message_emission): Implement new public
8419 (gst_bus_post): Emit the sync-message signal if the user asked for
8422 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8423 location of the bus-private structure.
8424 (gst_bus_enable_sync_message_emission)
8425 (gst_bus_disable_sync_message_emission): API addition
8427 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
8429 Patch by: Vincent Torri
8431 * docs/pwg/building-boiler.xml:
8432 PWG patch from #326800
8434 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
8438 * docs/design/Makefile.am:
8441 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8446 === release 0.10.3 ===
8448 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8451 releasing 0.10.3, "Like a virgin"
8453 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8456 2nd prerelease of 0.10.3
8457 Bump libtool versioning.
8459 2006-02-07 Andy Wingo <wingo@pobox.com>
8461 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8462 update last_stop if we're in TIME format and the timestamp is
8465 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
8466 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
8467 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8468 If we get a new newsegment with a different format, adapt
8471 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8472 of 0. Not a problem, really.
8474 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8477 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
8482 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
8485 project files updated to the default vs7 configuration
8486 * win32/common/libgstbase.def:
8487 * win32/common/libgstreamer.def:
8489 removed empty lines,
8490 sorted all exported symbols alphabetically
8491 * win32/common/dirent.c:
8492 * win32/common/dirent.h:
8493 * win32/common/gchar.h:
8494 use windows line end.
8496 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8498 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8499 Send EOS event when stopping.
8501 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8504 Tell folks what to do if the plugin-foobar.xml file
8505 hasn't been generated for a newly-added plugin.
8507 2006-02-05 Julien MOUTTE <julien@moutte.net>
8509 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8510 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8511 (gst_collect_pads_start), (gst_collect_pads_stop),
8512 (gst_collect_pads_event): Collectpads now holds a reference
8513 to the GstPad that was added. Indeed we don't want to look
8514 at pads that might just go away with no warning...
8516 2006-02-05 Julien MOUTTE <julien@moutte.net>
8518 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8519 (gst_collect_pads_start), (gst_collect_pads_stop),
8520 (gst_collect_pads_event), (gst_collect_pads_chain):
8521 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8522 Mark Nauwelaerts's patch on bug #328491.
8524 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8526 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8528 Add some simple tests for gst_parse_bin_from_description() and
8529 gst_bin_find_unconnected_pad() (#329069).
8531 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8533 * tools/gst-launch.c: (event_loop), (main):
8534 Catch errors during preroll (#320084).
8536 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
8538 * plugins/elements/gsttypefindelement.c:
8539 (gst_type_find_element_activate):
8540 Post TYPE_NOT_FOUND error message when typefinding
8541 is unsuccessful in the activate function as well.
8543 2006-02-02 Wim Taymans <wim@fluendo.com>
8545 * docs/design/part-element-sink.txt:
8548 2006-02-02 Wim Taymans <wim@fluendo.com>
8550 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8551 (gst_base_sink_render_object),
8552 (gst_base_sink_queue_object_unlocked):
8553 Only keep track of prerollable items when we are
8555 Before rendering after preroll, always check if we
8557 Added some more debugging.
8559 2006-02-02 Wim Taymans <wim@fluendo.com>
8561 * gst/gstelement.c: (gst_element_continue_state),
8562 (gst_element_set_state_func), (gst_element_change_state):
8563 Fixed #326576, been running this for quite some time with
8564 no regressions at all.
8566 2006-02-02 Wim Taymans <wim@fluendo.com>
8569 Added more suppressions
8571 2006-02-02 Wim Taymans <wim@fluendo.com>
8573 * docs/design/part-element-sink.txt:
8576 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8577 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8578 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8579 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8580 (gst_base_sink_do_sync), (gst_base_sink_render_object),
8581 (gst_base_sink_preroll_object),
8582 (gst_base_sink_queue_object_unlocked),
8583 (gst_base_sink_queue_object), (gst_base_sink_event),
8584 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8585 (gst_base_sink_loop), (gst_base_sink_activate_pull),
8586 (gst_base_sink_get_position), (gst_base_sink_change_state):
8587 * libs/gst/base/gstbasesink.h:
8588 Totally refactored matching the design doc.
8589 Use two segments, one to clip incomming buffers and another to
8591 Handle queueing correctly, bypass the queue when playing.
8592 Make EOS cancelable.
8593 Handle errors correctly when operating in pull based mode.
8595 * tests/check/elements/fakesink.c: (GST_START_TEST),
8597 Added new check for sinks.
8599 2006-02-02 Wim Taymans <wim@fluendo.com>
8601 * gst/gstsegment.c: (gst_segment_clip):
8602 No reason to refuse to clip when start == -1
8604 2006-02-02 Stefan Kost <ensonic@users.sf.net>
8607 * docs/manual/intro-basics.xml:
8608 * docs/manual/intro-preface.xml:
8609 * docs/manual/manual.xml:
8610 * docs/pwg/advanced-dparams.xml:
8611 * docs/pwg/intro-basics.xml:
8612 * docs/pwg/intro-preface.xml:
8614 describe dparams (controller) for plugins
8615 unify docs a little more
8617 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
8619 * docs/gst/gstreamer-sections.txt:
8620 * gst/gstutils.c: (element_find_unconnected_pad),
8621 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8623 Add new API: gst_parse_bin_from_description() and
8624 gst_bin_find_unconnected_pad() (#329069).
8626 2006-02-01 Stefan Kost <ensonic@users.sf.net>
8628 * docs/manual/README:
8629 uncover a nasty detail of the docs build
8631 2006-01-31 Wim Taymans <wim@fluendo.com>
8633 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8634 Don't cache duration messages if we're not going to use or
8637 2006-01-31 Stefan Kost <ensonic@users.sf.net>
8639 * docs/manual/advanced-dparams.xml:
8640 * docs/pwg/advanced-dparams.xml:
8644 * libs/gst/controller/lib.c: (gst_controller_init):
8647 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
8649 * gst/gstelement.c: (gst_element_message_full):
8650 also show file/line/func if no additional debug was given
8652 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
8654 * win32/vs7/grammar.vcproj:
8655 activate copy of autogenerated files for Release mode
8657 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8659 * win32/common/libgstreamer.def:
8660 export gst_value_compare
8662 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
8664 * plugins/elements/Makefile.am:
8665 * plugins/elements/gstelements.c:
8666 * plugins/elements/gstfdsink.c: (_do_init),
8667 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8668 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8669 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8670 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8671 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8672 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8673 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8674 * plugins/elements/gstfdsink.h:
8675 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8677 2006-01-30 Stefan Kost <ensonic@users.sf.net>
8679 * docs/manual/advanced-dparams.xml:
8681 * docs/manual/advanced-position.xml:
8682 * docs/manual/basics-init.xml:
8683 * docs/manual/manual.xml:
8684 * docs/manual/titlepage.xml:
8686 * docs/pwg/titlepage.xml:
8687 cleanup xml (more to come)
8688 * libs/gst/controller/gstcontroller.c:
8691 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8693 * win32/vs6/grammar.dsp:
8694 add autogen of gstmarshal.c,h for Release mode
8696 2006-01-30 Wim Taymans <wim@fluendo.com>
8698 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8699 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8700 (gst_base_sink_handle_object), (gst_base_sink_event),
8701 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8702 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8703 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8704 (gst_base_sink_deactivate), (gst_base_sink_activate),
8705 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8706 (gst_base_sink_query), (gst_base_sink_change_state):
8707 Basesink cleanups, remove some old code.
8708 Handle the case where a subclass can preroll in the render
8709 method (mostly audiosinks).
8711 Remove some locks around variables that are now protected
8712 with the PREROLL_LOCK (clock_id, flushing, ..).
8713 Optimize position query some more, do correct locking.
8714 Remove old code to push queue in state change, this is not
8715 needed anymore since preroll blocks on all prerollable items
8717 Almost implemented as described in design doc.
8719 2006-01-30 Wim Taymans <wim@fluendo.com>
8721 * tests/check/gst/gstbin.c: (GST_START_TEST):
8722 Wait for refcount to settle down before checking.
8724 2006-01-30 Wim Taymans <wim@fluendo.com>
8726 * docs/design/part-element-sink.txt:
8727 Pseudo code overview of desired sink behaviour regarding
8730 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8731 * win32/vs6/grammar.dsp:
8732 fix some bugs in Release mode for autogenerated files
8734 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8735 * win32/common/libgstbase.def:
8736 * win32/common/libgstreamer.def:
8737 export some new symbols: gst_base_src_set_format,
8738 gst_iterator_next, gst_structure_set_valist
8740 2006-01-29 Julien MOUTTE <julien@moutte.net>
8742 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8743 Set pad functions unconditionally. Fixes #329105.
8745 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8747 add vs8 project files created by Sergey Scobich
8749 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
8751 * gst/gstutils.c: (gst_element_unlink_pads):
8752 Don't leak pad references.
8754 * tests/check/elements/fakesink.c: (GST_START_TEST):
8755 * tests/check/generic/sinks.c: (GST_START_TEST):
8756 * tests/check/generic/states.c: (GST_START_TEST):
8757 * tests/check/gst/gstbin.c: (GST_START_TEST):
8758 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8759 * tests/check/gst/gstelement.c: (GST_START_TEST):
8760 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8761 * tests/check/gst/gstiterator.c: (GST_START_TEST):
8762 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8763 Fix a bunch of leaks. Make generic/sinks.c
8764 use a bit less cpu by slowing the buffer rate
8765 between fakesrc and fakesink.
8767 2006-01-27 Stefan Kost <ensonic@users.sf.net>
8769 * gst/gstelement.c: (gst_element_send_event):
8772 * gst/gstiterator.c:
8773 * gst/gstiterator.h:
8774 * gst/gstpad.c: (gst_pad_send_event):
8775 * gst/gststructure.c:
8779 * libs/gst/base/gstadapter.c:
8780 doc fixes, to link to function, just write gst_cool_function(), don't
8783 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8785 * plugins/elements/gsttee.c: (gst_tee_do_push),
8786 (gst_tee_handle_buffer):
8787 Always prefer an actual return value from a src
8788 pad in place of NOT_LINKED. This means we return
8789 WRONG_STATE when all src pads are WRONG_STATE
8790 instead of NOT_LINKED.
8792 Lock when replacing the last message to prevent
8793 racing with the get_property method.
8797 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8799 * tests/check/Makefile.am:
8800 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8802 Add a very simple check that should have caught the memleak I fixed
8803 last night (if not for the slice allocator hiding it)
8805 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8807 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8808 (gst_bin_remove_func), (gst_bin_handle_message_func),
8809 (bin_query_duration_fold), (bin_query_generic_fold):
8810 Clean up references to the clock provider when disposed or when
8811 handling a clock-lost message from it.
8813 Unref sinks when performing a query via gst_iterator_fold, as the
8814 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8816 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8817 (gst_clock_set_master):
8818 Drop our reference to the master clock, if any, when we are disposed.
8820 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8821 Chain up in dispose.
8823 2006-01-26 Wim Taymans <wim@fluendo.com>
8825 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8828 2006-01-26 Julien MOUTTE <julien@moutte.net>
8830 * plugins/elements/gsttee.c: (gst_tee_do_push),
8831 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8832 handles pad being NOT_LINKED or in WRONG_STATE.
8834 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8839 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8842 remove obsolete entry
8844 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8846 * docs/gst/gstreamer-sections.txt:
8847 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8848 (gst_bin_iterate_sources), (gst_bin_send_event):
8850 * gst/gstelement.c: (gst_element_send_event):
8852 * gst/gstpad.c: (gst_pad_send_event):
8853 added code for downstream events, reviewed docs in gstevent.c
8855 2006-01-25 Julien MOUTTE <julien@moutte.net>
8857 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8858 We only query position using the clock in the playing state.
8859 Query peer in the other cases.
8860 * win32/common/config.h: Updates.
8862 2006-01-24 Wim Taymans <wim@fluendo.com>
8864 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8865 A clock entry that is scheduled for the exact time of the
8866 clock is still in time.
8868 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8869 (gst_base_sink_do_sync):
8870 Add some more debug info.
8872 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8875 Add new vs7 project files and solution.
8877 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8880 all files removed as they were out-dated.
8882 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8884 * docs/random/release:
8886 * gst/gstbin.c: (gst_bin_init):
8887 * gst/gstbus.c: (gst_bus_new):
8889 * gst/gstpipeline.c: (gst_pipeline_init):
8890 use gst_bus_new(), improve logging, fix docs
8891 * win32/common/config.h:
8892 update for cvs build
8894 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8897 up required version of automake to 1.7
8899 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
8901 * win32/common/libgstreamer.def:
8902 export gst_buffer_is_metadata_writable
8904 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
8906 * docs/gst/gstreamer-sections.txt:
8908 Add gst_event_replace() (#327001)
8910 2006-01-20 Wim Taymans <wim@fluendo.com>
8912 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8913 Make it actually compile too..
8915 2006-01-20 Wim Taymans <wim@fluendo.com>
8918 Clarify behaviour of _is_equal() when passing NULL parameters.
8920 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8922 Cleanups. Don't unref NULL caps.
8923 When setting the same caps, protect caps of the pad with
8925 Use full functionality of _is_equal() when comparing caps.
8927 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8929 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8930 Don't loop infinitely if there are no buffers to present. Partially
8931 fixes #327197, but collectpads is just broken for reusing elements
8932 to do multiple encodes atm.
8934 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8936 * tools/gst-inspect.c: (print_element_features):
8937 * tools/gst-xmlinspect.c: (main):
8938 URL_HANDLER is not a plugin feature we can search for in
8941 2006-01-19 Edward Hervey <edward@fluendo.com>
8943 * gst/gstelement.c: (gst_element_pads_activate):
8944 When activating, do src pads first, then sink pads.
8945 When de-activating, do sink pads first, then src pads.
8947 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8949 * docs/gst/gstreamer-sections.txt:
8950 Add gst_index_add_associationv to the docs
8952 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8957 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8958 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8959 Do some refactoring. Doesn't actually change functionality,
8960 but makes landing the DRAIN event easier later.
8962 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
8964 * docs/pwg/advanced-scheduling.xml:
8965 Update from 0.9.x to 0.10 API and make example a bit
8968 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8970 * docs/gst/gstreamer-sections.txt:
8971 Add gst_buffer_(is|make)_metadata_writable methods.
8973 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8975 * docs/design/part-sparsestreams.txt:
8976 Update sparse streams doc, hopefully for greater clarity
8978 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
8980 * docs/design/part-events.txt:
8981 Remove mention of FILLER events.
8984 * docs/design/part-sparsestreams.txt:
8985 Write some things about using NEWSEGMENT to keep sparse streams
8988 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8990 * gst/gstbin.c: (gst_bin_dispose):
8991 Guard gst_object_unref call against a NULL object (dispose
8992 can theoretically be called multiple times).
8994 2006-01-18 Wim Taymans <wim@fluendo.com>
8996 * gst/gstbin.c: (gst_bin_element_set_state):
8997 * gst/gstclock.c: (gst_clock_id_wait):
8998 Added some more debug info.
9000 * libs/gst/base/gstadapter.c:
9003 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9004 (gst_base_sink_do_sync), (gst_base_sink_chain):
9005 Added some comments.
9007 2006-01-18 Wim Taymans <wim@fluendo.com>
9009 * tests/check/Makefile.am:
9010 * tests/check/elements/fakesink.c: (chain_async_buffer),
9011 (chain_async), (chain_async_return), (GST_START_TEST),
9012 (fakesink_suite), (main):
9013 Added fakesink test that checks prerolling and clipping
9016 * tests/check/gst/gstutils.c: (GST_START_TEST):
9017 Make check run faster so that buildbots don't timeout.
9019 2006-01-18 Wim Taymans <wim@fluendo.com>
9021 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9022 (gst_base_sink_do_sync):
9024 When the sink finishes blocking on the preroll buffer, it can
9025 immediatly render it instead of rendering when the next buffer
9028 2006-01-18 Wim Taymans <wim@fluendo.com>
9030 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
9031 (gst_base_sink_get_property), (gst_base_sink_do_sync),
9032 (gst_base_sink_chain):
9034 GST_ELEMENT_CLOCK and sync are protected with LOCK.
9035 Don't store _last_stop if the buffer is dropped.
9037 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
9039 * plugins/elements/gsttypefindelement.c:
9040 (gst_type_find_element_class_init):
9041 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
9042 object method handler that sets the caps on the pad and we want
9043 that to happen before we emit the signal (fixes e.g. feeding a
9044 plain text file to decodebin).
9046 2006-01-18 Christian Schaller <Christian@fluendo.com>
9048 * gst/gstplugin.c: Add MPL and Proprietary as license options
9050 2006-01-18 Andy Wingo <wingo@pobox.com>
9052 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
9053 symbol was exported before, it appears this was just an oversight.
9055 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
9057 * gst/gstindex.c (gst_index_add_associationv): Changed int in
9058 prototype to gint. OK since this prototype was not in the header.
9060 2006-01-17 Andy Wingo <wingo@pobox.com>
9062 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
9063 registry while we remove plugins.
9065 * tools/gst-inspect.c (print_element_info): Don't unref the
9066 factory arg, that should be the responsibility of whatever code
9067 received the ref. Fixes a double-free when called from
9068 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
9069 (main): Unref the factory if we have one.
9070 (print_element_list): No change -- relies on the
9071 plugin_feature_list_free to free the list of features.
9073 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
9075 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9076 (gst_buffer_make_metadata_writable):
9078 * libs/gst/base/gstbasetransform.c:
9079 (gst_base_transform_prepare_output_buf):
9080 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9081 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9082 Replace gst_buffer_(make|is)_metadata_writable patch now
9083 that the release is out.
9085 2006-01-17 Andy Wingo <wingo@pobox.com>
9087 * gst/gstregistry.c: Reflow design comment. Update so as to speak
9088 in the present tense without reference to versions.
9090 * gst/gstregistry.c (gst_registry_add_plugin)
9091 (gst_registry_remove_plugin, gst_registry_remove_feature)
9092 (gst_registry_find_feature, gst_registry_get_feature_list)
9093 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
9094 (gst_registry_lookup, gst_registry_scan_path)
9095 (_gst_registry_remove_cache_plugins)
9096 (gst_registry_get_feature_list_by_plugin): Add argument
9099 === release 0.10.2 ===
9101 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
9104 releasing 0.10.2, "If man is five"
9106 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9110 * libs/gst/base/gstbasetransform.c:
9111 (gst_base_transform_prepare_output_buf):
9112 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9113 * tests/check/gst/gstbuffer.c: (gst_test_suite):
9114 Back out patch until after the release.
9116 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9118 * gst/gstminiobject.c:
9119 Spelling fix in docs.
9120 * ChangeLog - remove conflict indicator
9122 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9124 Reviewed By: Andy Wingo
9126 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9127 (gst_buffer_make_metadata_writable):
9129 Add gst_buffer_(is|make)_metadata_writable as analogues of
9130 gst_buffer_(is|make)_writable.
9132 * libs/gst/base/gstbasetransform.c:
9133 (gst_base_transform_prepare_output_buf):
9134 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9135 Use name gst_buffer_(is|make)_metadata_writable functions.
9137 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9138 Test gst_buffer_(is|make)_metadata_writable
9142 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
9144 * docs/manual/Makefile.am:
9145 don't do parallel make
9148 * win32/common/config.h.in:
9149 add generations for HOST_CPU and GST_MAJORMINOR
9150 * win32/common/config.h:
9151 commit generated result
9153 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
9155 * docs/manual/appendix-integration.xml:
9156 Update GNOME integration section to use gst_init_get_option_group()
9157 instead of the old popt stuff (#322911). Also, GNOME applications
9158 should now use gconf*sink and gconf*src instead of the old gconf
9161 2006-01-13 Stefan Kost <ensonic@users.sf.net>
9164 * docs/gst/gstreamer-docs.sgml:
9165 * docs/gst/gstreamer-sections.txt:
9166 * docs/libs/gstreamer-libs-sections.txt:
9167 add new API entries to the docs
9168 * libs/gst/controller/Makefile.am:
9169 * libs/gst/controller/gstcontroller.c:
9170 * libs/gst/controller/gstcontroller.h:
9171 * libs/gst/controller/gstcontrollerprivate.h:
9172 * libs/gst/controller/gsthelper.c:
9173 * libs/gst/controller/gstinterpolation.c:
9174 move private structs to private header
9176 gstreamer-0.7 -> gstreamer-0.10
9177 * tests/check/libs/struct_i386.h:
9178 remove private structs
9180 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
9182 * plugins/indexers/Makefile.am:
9183 Fixes as part of #317048
9185 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
9187 * plugins/indexers/Makefile.am:
9188 fix #316086 - compilation when mmap is missing
9190 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
9192 * libs/gst/base/gstbasesink.c:
9193 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
9194 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
9195 * win32/common/config.h:
9196 added some defines GST_MAJORMINOR and HOST_CPU
9197 * win32/common/libgstbase.def:
9198 * win32/common/libgstreamer.def:
9199 added some exported functions.
9201 2006-01-12 Stefan Kost <ensonic@users.sf.net>
9203 * libs/gst/controller/gstcontroller.c:
9204 (gst_controlled_property_set_interpolation_mode),
9205 (gst_controlled_property_new):
9206 * libs/gst/controller/gstcontroller.h:
9207 * libs/gst/controller/gstinterpolation.c:
9208 (interpolate_none_get_string_value_array):
9209 make G_TYPE_STRING controlable
9211 2006-01-12 Stefan Kost <ensonic@users.sf.net>
9214 * tools/gst-feedback.1.in:
9215 * tools/gst-inspect.1.in:
9216 * tools/gst-launch.1.in:
9217 * tools/gst-md5sum.1.in:
9218 * tools/gst-typefind.1.in:
9219 * tools/gst-xmlinspect.1.in:
9220 * tools/gst-xmllaunch.1.in:
9221 cleanup man-pages, remove reference to gst-register, document env-vars
9223 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
9225 * gst/gstbuffer.c: (gst_buffer_span):
9226 gst_buffer_span should copy the timestamp of the first buffer
9227 if they were both originally overlapping subbuffers of the
9228 same parent, using the same logic as the 'slow copy' case.
9230 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
9232 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
9233 Need to awaken ALL the pads when we pop a buffer, otherwise
9234 collectpads only works when there is 2 input streams.
9236 2006-01-11 Stefan Kost <ensonic@users.sf.net>
9238 * docs/random/ensonic/media-device-daemon.txt:
9241 fix doc example, add clarification
9242 * tools/gst-launch.1.in:
9243 add initial info about GST_PLUGIN_PATH, needs more work
9245 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
9247 * docs/manual/basics-bins.xml:
9248 * docs/manual/basics-elements.xml:
9249 * docs/manual/intro-basics.xml:
9250 Some more minor docs additions and updates.
9252 2006-01-11 Wim Taymans <wim@fluendo.com>
9254 * docs/manual/basics-bins.xml:
9255 * docs/manual/basics-elements.xml:
9256 Some small fixes as pointed out by Ser-ver on IRC.
9258 2006-01-10 Edward Hervey <edward@fluendo.com>
9260 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9261 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9262 the single-segment mode.
9264 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
9266 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9268 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9269 (gst_base_src_perform_seek), (gst_base_src_send_event),
9270 (gst_base_src_set_property), (gst_base_src_get_property),
9271 (gst_base_src_loop), (gst_base_src_start),
9272 (gst_base_src_activate_push):
9273 * libs/gst/base/gstbasesrc.h:
9274 Name (private) union; makes Sun's Forte compiler happy (#324900).
9276 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
9279 gst-register is gone.
9281 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
9283 * gst/gstvalue.c: (_gst_value_initialize):
9284 make the G_TYPE_DATE instantiation work if debug is disabled
9286 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
9288 * gst/gstmessage.c: (gst_message_parse_tag),
9289 (gst_message_parse_error), (gst_message_parse_warning):
9290 Don't crash when return location for error/warning debug
9291 string is NULL; add fact that return locations can be
9292 NULL to docs where appropriate.
9294 2006-01-05 Wim Taymans <wim@fluendo.com>
9296 * gst/gstplugin.c: (gst_plugin_load_file):
9297 Replace strdup by g_strdup.
9299 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9301 * docs/pwg/advanced-types.xml:
9304 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9306 submitted by: Abel Cheung
9310 Added Chinese (traditional) translation
9312 2006-01-04 Wim Taymans <wim@fluendo.com>
9314 * docs/manual/basics-pads.xml:
9315 * docs/plugins/Makefile.am:
9316 * docs/plugins/gstreamer-plugins-docs.sgml:
9317 * docs/plugins/gstreamer-plugins-sections.txt:
9318 * docs/pwg/advanced-clock.xml:
9319 * docs/pwg/advanced-scheduling.xml:
9320 * docs/pwg/advanced-types.xml:
9321 * plugins/elements/gstfdsink.c:
9322 * plugins/elements/gstfdsrc.c:
9323 * plugins/elements/gstfdsrc.h:
9324 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9325 * plugins/elements/gstidentity.h:
9326 * plugins/elements/gstqueue.h:
9327 * plugins/elements/gsttee.c:
9328 * plugins/elements/gsttee.h:
9329 * plugins/elements/gsttypefindelement.c:
9330 (gst_type_find_element_class_init):
9331 * plugins/elements/gsttypefindelement.h:
9332 Small updates to various docs.
9333 Added core plugins to docs.
9335 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9338 add a suppression for liboil's uninitialized variable
9340 2006-01-02 James Livingston <jrl at ids dot org dot au>
9342 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9345 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9346 macro, so that gcc doesn't complain if the -Wmissing-prototypes
9347 compiler switch is being used (#325429).
9349 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
9351 * gst/gstbin.c: (gst_bin_query):
9352 Disable duration query caching in bins until it gets
9353 fixed (see #324807).
9355 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9357 * tools/gst-inspect.c: (print_element_properties_info):
9358 Handle properties of POINTER and BOXED type.
9360 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9362 * gst/gst.c: (init_post):
9363 Init tags stuff and some other things before loading
9364 any static plugins (there may be other static plugins
9365 than just the GStreamer ones, and they may want to
9366 register their own tags or formats or whatever, and
9367 preferably without segfaulting).
9369 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9370 Print at least a warning in the debug logs if we drop a
9371 query just because we don't know how to adjust the value
9372 in the particular format.
9374 2005-12-24 David Schleef <ds@schleef.org>
9376 * tools/gstreamer-completion:
9377 Replacement for gst-complete written in sh and sed. Only
9378 completes names of features, but that's 90% of what I want
9379 it for. Properties are not available in registry.xml. (Maybe
9382 === release 0.10.1 ===
9384 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
9387 releasing 0.10.1, "Nollaig chridheil"
9389 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
9392 Add missing quote, should be make ERROR_CFLAGS="".
9394 2005-12-20 Wim Taymans <wim@fluendo.com>
9396 * docs/design/part-trickmodes.txt:
9397 More documentation on trickmodes.
9399 2005-12-20 Edward Hervey <edward@fluendo.com>
9401 * gst/gstcaps.c: (gst_static_caps_get_type):
9403 API addition: GST_TYPE_STATIC_CAPS
9404 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9405 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9406 * gst/gstpadtemplate.h:
9407 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9408 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9411 2005-12-18 Wim Taymans <wim@fluendo.com>
9413 * libs/gst/base/gstadapter.c:
9414 * libs/gst/base/gstadapter.h:
9415 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9416 (gst_base_sink_get_position):
9417 * libs/gst/base/gstbasesink.h:
9418 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9419 (gst_base_src_default_query), (gst_base_src_default_do_seek),
9420 (gst_base_src_do_seek), (gst_base_src_perform_seek),
9421 (gst_base_src_send_event), (gst_base_src_update_length),
9422 (gst_base_src_get_range), (gst_base_src_loop),
9423 (gst_base_src_start):
9424 * libs/gst/base/gstbasesrc.h:
9425 * libs/gst/base/gstbasetransform.h:
9426 * libs/gst/base/gstcollectpads.h:
9427 * libs/gst/base/gstpushsrc.c:
9428 * libs/gst/base/gstpushsrc.h:
9429 * libs/gst/dataprotocol/dataprotocol.c:
9430 * libs/gst/dataprotocol/dataprotocol.h:
9431 * libs/gst/net/gstnetclientclock.h:
9432 * libs/gst/net/gstnettimeprovider.h:
9433 Documentation updates.
9435 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
9437 * docs/manual/basics-helloworld.xml:
9438 Remove superfluous closing bracket in helloworld example.
9440 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
9442 * tools/gst-launch.1.in:
9443 Update gst-launch man page; add a section with useful
9444 environment variables. Fixes #323882.
9446 2005-12-16 Stefan Kost <ensonic@users.sf.net>
9449 * gst/gst_private.h:
9450 change some char* into char[]
9452 2005-12-16 Wim Taymans <wim@fluendo.com>
9454 * gst/gstregistryxml.c: (load_feature):
9456 Don't use g_object_unref on GstObjects so that we avoid
9457 leaks on unsafe glibs.
9459 2005-12-16 Wim Taymans <wim@fluendo.com>
9461 * gst/gstbin.c: (gst_bin_recalc_state):
9464 2005-12-16 Wim Taymans <wim@fluendo.com>
9467 Added make forever target for check.
9469 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
9471 * gst/gst.c: (init_post):
9472 make the registry cache file HOST_CPU-dependent
9474 2005-12-16 Andy Wingo <wingo@pobox.com>
9476 * plugins/elements/gstbufferstore.c
9477 (gst_buffer_store_cleared_func): Pay attention to g_list_append
9480 * tests/check/gst/gstobject.c
9481 (test_fake_object_name_threaded_unique): Pay attention to
9482 g_list_sort return value.
9484 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
9486 * tools/gst-feedback-m.m:
9487 Update for 0.9/0.10 (fixes #323870).
9489 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
9491 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9492 Fix lcopy for mini objects, the mini object needs to be ref'ed.
9494 * tests/check/gst/gstminiobject.c: (my_foo_init),
9495 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9496 (test_value_collection), (gst_mini_object_suite):
9497 Add test to ensure refcounts end up as expected when passing
9498 GstMiniObjects through g_object_get() and g_object_set().
9500 2005-12-14 Julien MOUTTE <julien@moutte.net>
9502 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9503 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9504 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9505 of collectpads. This version removes a lot of races without
9506 touching API/ABI. Yay !
9508 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
9510 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9511 Don't allow activation of a srcpad in pull_range if it has no
9513 Change some debug statements to be a little clearer
9515 * plugins/elements/gsttypefindelement.c:
9516 (gst_type_find_handle_src_query):
9517 Check that we have a peer before executing queries thereupon.
9519 * tests/examples/metadata/read-metadata.c: (message_loop):
9520 Use gst_bus_pop instead of gst_bus_poll when we just want it to
9521 immediately return us any available message with 0 timeout.
9523 2005-12-12 Michael Smith <msmith@fluendo.com>
9525 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9526 Don't unref factories after calling them.
9527 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9528 * plugins/elements/gsttypefindelement.c:
9529 (gst_type_find_element_chain):
9530 Free lists of factories after using them. Fixing typefinding memory
9533 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9535 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9536 (gst_plugin_feature_load):
9537 more meaningful debug output
9539 * tests/Makefile.am:
9540 * tests/old/examples/Makefile.am:
9541 make make distcheck happy again
9543 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9545 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9546 Catch the special case where we are operating chain-based,
9547 but the downstream peer pad has no chain function. Emit a
9548 custom error message in this case instead of letting the
9549 core generate one implying that this is some sort of core
9550 bug. It's not, it just means that whatever got plugged
9551 into the pipeline downstream when we announced the type
9552 can only operate pull-based, while our source can only
9553 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9554 Error string has not been marked for translation yet, as
9555 it probably needs some more work first.
9557 (gst_type_find_element_get_best_possibility):
9558 Add helper function to find the best of all available
9559 found possibilities that qualify given the min. threshold.
9561 (gst_type_find_element_handle_event):
9562 Fix the case where we get an EOS while still in TYPEFIND
9563 mode (we want to chose the best of all possible types,
9564 not just the first type that happens to be in our unsorted
9565 list of possible types).
9567 (gst_type_find_element_chain):
9568 Make sure we return GST_FLOW_ERROR when we errored out
9569 in stop_typefinding(); also, don't just find the best of
9570 all found type entries and then use the last examined
9571 type entry, but actually use the best entry.
9573 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9575 * tests/examples/typefind/typefind.c: (type_found):
9576 * tests/examples/xml/runxml.c: (xml_loaded):
9577 More gcc4 fixes and a mem leak fix.
9579 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9581 * tests/examples/xml/createxml.c: (object_saved):
9584 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9586 * tests/Makefile.am:
9587 enable the examples even more
9589 2005-12-12 Andy Wingo <wingo@pobox.com>
9591 * libs/gst/net/gstnettimeprovider.c
9592 (gst_net_time_provider_class_init, gst_net_time_provider_init)
9593 (gst_net_time_provider_set_property)
9594 (gst_net_time_provider_get_property):
9595 API addition: Export "active" as a GObject property.
9596 (gst_net_time_provider_thread): Only respond to time queries if
9597 the time provider is active.
9599 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9600 NetTimeProvider, preserving binary compat.
9602 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9604 * tests/examples/controller/audio-example.c: (main):
9605 * tests/examples/launch/Makefile.am:
9606 convert comments again
9608 2005-12-12 Wim Taymans <wim@fluendo.com>
9610 * libs/gst/base/gstpushsrc.c:
9613 2005-12-12 Wim Taymans <wim@fluendo.com>
9615 * docs/libs/gstreamer-libs-sections.txt:
9616 Added new symbol to docs.
9618 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9619 (gst_base_src_init), (gst_base_src_set_format),
9620 (gst_base_src_default_query), (gst_base_src_query),
9621 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9622 (gst_base_src_perform_seek), (gst_base_src_send_event),
9623 (gst_base_src_default_event), (gst_base_src_event_handler),
9624 (gst_base_src_set_property), (gst_base_src_get_property),
9625 (gst_base_src_wait), (gst_base_src_do_sync),
9626 (gst_base_src_update_length), (gst_base_src_get_range),
9627 (gst_base_src_check_get_range), (gst_base_src_loop),
9628 (gst_base_src_default_negotiate), (gst_base_src_start),
9629 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9630 (gst_base_src_change_state):
9631 * libs/gst/base/gstbasesrc.h:
9632 Implement seeking to other formats than _BYTES.
9633 Implement more seeking methods correctly.
9635 Added query vmethod.
9636 Added do_seek vmethod to make life easier for subclasses
9638 API addition: gst_base_src_set_format()
9640 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9642 * tests/examples/Makefile.am:
9645 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9648 * docs/random/ensonic/media-device-daemon.txt:
9649 * tests/examples/controller/.cvsignore:
9650 * tests/examples/controller/Makefile.am:
9651 * tests/examples/controller/audio-example.c: (main):
9652 * tests/examples/helloworld/.cvsignore:
9653 * tests/examples/helloworld/Makefile.am:
9654 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9655 * tests/examples/launch/.cvsignore:
9656 * tests/examples/launch/Makefile.am:
9657 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9658 * tests/examples/metadata/.cvsignore:
9659 * tests/examples/metadata/Makefile.am:
9660 * tests/examples/metadata/read-metadata.c: (message_loop),
9661 (make_pipeline), (print_tag), (main):
9662 * tests/examples/queue/.cvsignore:
9663 * tests/examples/queue/Makefile.am:
9664 * tests/examples/queue/queue.c: (event_loop), (main):
9665 * tests/examples/typefind/.cvsignore:
9666 * tests/examples/typefind/Makefile.am:
9667 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9669 * tests/examples/xml/.cvsignore:
9670 * tests/examples/xml/Makefile.am:
9671 * tests/examples/xml/createxml.c: (object_saved), (main):
9672 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9673 * tests/old/examples/Makefile.am:
9674 * tests/old/examples/TODO:
9675 * tests/old/examples/controller/.cvsignore:
9676 * tests/old/examples/controller/Makefile.am:
9677 * tests/old/examples/controller/audio-example.c:
9678 * tests/old/examples/helloworld/.cvsignore:
9679 * tests/old/examples/helloworld/Makefile.am:
9680 * tests/old/examples/helloworld/helloworld.c:
9681 * tests/old/examples/launch/.cvsignore:
9682 * tests/old/examples/launch/Makefile.am:
9683 * tests/old/examples/launch/mp3parselaunch.c:
9684 * tests/old/examples/launch/mp3play:
9685 * tests/old/examples/manual/Makefile.am:
9686 * tests/old/examples/metadata/Makefile.am:
9687 * tests/old/examples/metadata/read-metadata.c:
9688 * tests/old/examples/queue/.cvsignore:
9689 * tests/old/examples/queue/Makefile.am:
9690 * tests/old/examples/queue/queue.c:
9691 * tests/old/examples/typefind/.cvsignore:
9692 * tests/old/examples/typefind/Makefile.am:
9693 * tests/old/examples/typefind/typefind.c:
9694 * tests/old/examples/xml/.cvsignore:
9695 * tests/old/examples/xml/Makefile.am:
9696 * tests/old/examples/xml/createxml.c:
9697 * tests/old/examples/xml/runxml.c:
9698 applied some simple fixing to some examples
9699 re-enabled the working examples
9701 2005-12-12 Wim Taymans <wim@fluendo.com>
9703 * gst/gstsegment.c: (gst_segment_init),
9704 (gst_segment_set_last_stop), (gst_segment_set_seek),
9705 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9706 (gst_segment_to_running_time):
9707 Added more documentation.
9708 Make sure the last_pos value is updated properly.
9709 Make sure to_stream_time and to_running_time don't
9710 operate on wrong values.
9712 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9715 2005-12-12 Michael Smith <msmith@fluendo.com>
9717 * plugins/elements/gsttypefindelement.c: (free_entry),
9718 (gst_type_find_element_chain):
9719 Now that we're not leaking factories, make sure we keep references
9720 to them while we need them.
9722 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9724 * tests/check/gst/struct_i386.h:
9725 ifdef out the XML structs
9727 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9729 * gst/gstvalue.c: (gst_value_transform_double_fraction):
9730 floor is not needed, F is always positive; this obviates the
9731 need for adding -lm when building without libxml
9733 2005-12-12 Wim Taymans <wim@fluendo.com>
9735 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9736 Take current playback rate into account when reporting
9739 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9741 * docs/manual/mime-world.fig:
9742 Let's try this again, this time with a file that is
9743 actually in XFig format.
9745 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9747 * docs/manual/mime-world.fig:
9748 Add audioconvert element to diagram so that it
9749 matches the text and the code (fixes #319526).
9751 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9753 * docs/pwg/building-chainfn.xml:
9754 * docs/pwg/building-pads.xml:
9755 * docs/pwg/building-state.xml:
9756 * docs/pwg/other-source.xml:
9757 Update state change stuff for 0.10 (fixes #322969).
9759 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9761 * docs/manual/advanced-dataaccess.xml:
9762 * docs/manual/appendix-checklist.xml:
9763 * docs/manual/appendix-programs.xml:
9764 * docs/manual/basics-pads.xml:
9765 * docs/manual/highlevel-components.xml:
9766 * docs/manual/manual.xml:
9767 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9768 add converters in front of pipelines; remove curly
9769 brackets for threads stuff, they no longer exist; use
9770 GST_TYPE_FRACTION for framerates; update some pieces of
9771 code to 0.10, but there's plenty more to do.
9773 * docs/manual/appendix-porting.xml:
9774 Expand on asynchroneous state changes; s/0.9/0.10/;
9775 mention disappearance of gst_init_get_popt_table()
9778 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9780 * docs/faq/using.xml:
9781 Spider no longer exists, and neither does gst-launch-ext.
9782 Update examples to use decodebin and playbin and put
9783 converters in front of sinks (fixes #323726).
9785 2005-12-09 Michael Smith <msmith@fluendo.com>
9787 * plugins/elements/gsttypefindelement.c: (find_peek),
9788 (gst_type_find_element_chain):
9789 Fix leaking element factories in typefinding.
9790 Fix problem where we forgot about a probable type on non-seekable
9791 files, and thus later mis-typefound it.
9793 2005-12-09 Michael Smith <msmith@fluendo.com>
9795 * common/m4/gst-makecontext.m4:
9796 * common/m4/gst-mcsc.m4:
9798 * win32/common/config.h:
9799 * win32/common/config.h.in:
9800 Remove makecontext stuff; not used in 0.10 and causes problems on
9801 HPUX according to bug #322441
9803 2005-12-07 Wim Taymans <wim@fluendo.com>
9805 * tests/check/Makefile.am:
9806 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9808 * tests/check/libs/struct_i386.h:
9809 Added ABI check for libs
9811 2005-12-07 Wim Taymans <wim@fluendo.com>
9813 * tests/check/Makefile.am:
9814 And add the struct_i386.h to dist.
9816 2005-12-07 Wim Taymans <wim@fluendo.com>
9818 * tests/check/Makefile.am:
9819 * tests/check/gst/.cvsignore:
9820 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9822 * tests/check/gst/struct_i386.h:
9823 Added check for ABI compatibility.
9825 2005-12-07 Wim Taymans <wim@fluendo.com>
9827 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9828 (gst_fake_src_get_times), (gst_fake_src_create):
9829 Fix broken sync option, fixes #323259
9831 2005-12-07 Wim Taymans <wim@fluendo.com>
9836 * gst/gstcaps.c: (gst_caps_is_equal):
9837 Don't assert on NULL <--> X. Fixes #323260
9839 * gst/gstminiobject.c: (gst_mini_object_replace):
9840 If we're doing atomic operations, we might just as well use
9841 the proper way to get an atomic pointer.
9843 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9846 2005-12-07 Michael Smith <msmith@fluendo.com>
9848 * gst/parse/grammar.y:
9849 Remove handling of { } for threads.
9851 2005-12-06 David Schleef <ds@schleef.org>
9853 * libs/gst/base/gstbasetransform.c: speling fix.
9855 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
9857 * docs/libs/tmpl/gstdataprotocol.sgml:
9858 * docs/random/omega/testing/gstobject.c:
9862 * gst/gstelementfactory.c:
9865 * gst/gstghostpad.c:
9867 * gst/gstpadtemplate.c:
9868 * gst/gstregistryxml.c:
9870 * gst/gsttagsetter.c:
9871 * gst/gsttypefind.c:
9873 * libs/gst/base/gstbasesrc.c:
9874 * libs/gst/net/gstnetclientclock.c:
9875 * libs/gst/net/gstnettimeprovider.c:
9876 * plugins/elements/gstfakesrc.c:
9877 * plugins/elements/gstfdsrc.c:
9878 * plugins/elements/gstfilesrc.c:
9879 * plugins/elements/gstidentity.c:
9880 * plugins/elements/gstqueue.c:
9881 * plugins/elements/gsttypefindelement.c:
9882 * plugins/indexers/gstfileindex.c:
9883 * plugins/indexers/gstmemindex.c:
9884 * tests/check/gst/gsttag.c:
9885 * tests/old/examples/cutter/cutter.c:
9886 * tests/old/examples/mixer/mixer.c:
9887 * tests/old/examples/xml/runxml.c: (main):
9888 * tests/old/testsuite/caps/normalisation.c:
9889 * tests/old/testsuite/debug/global.c:
9890 * tests/old/testsuite/parse/parse1.c:
9891 * tools/gst-xmlinspect.c:
9892 * win32/common/dirent.c:
9895 === release 0.10.0 ===
9897 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9900 releasing 0.10.0, "Maroilles"
9902 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9904 submitted by: Funda Wang <fundawang@linux.net.cn>
9908 added Chinese (Traditional) translation
9910 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9912 * docs/gst/gstreamer-sections.txt:
9913 * docs/libs/tmpl/gstdataprotocol.sgml:
9914 * docs/random/thomasvs/TODO:
9919 2005-12-05 Andy Wingo <wingo@pobox.com>
9921 patch by: Wim Taymans <wim@fluendo.com>
9923 * libs/gst/base/gstbasetransform.c
9924 (gst_base_transform_prepare_output_buf)
9925 (gst_base_transform_buffer_alloc):
9926 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9927 alloc_buffer_and_set_caps.
9929 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9930 set_caps on the source pad.
9931 (gst_pad_alloc_buffer_and_set_caps): New function, does what
9932 alloc_buffer used to do. Fixes #322874.
9934 * docs/gst/gstreamer-sections.txt:
9935 * docs/design/part-negotiation.txt:
9936 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9939 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9941 patch by: Sebastien Moutte
9944 * win32/common/config.h.in:
9945 * win32/vs6/libgstcontroller.dsp:
9948 2005-12-05 Wim Taymans <wim@fluendo.com>
9950 * gst/gstcaps.c: (gst_caps_is_equal):
9951 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9952 (gst_fake_src_create):
9953 Back out previous code changes, leave doc updates, file bugs
9956 2005-12-05 Wim Taymans <wim@fluendo.com>
9958 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9959 (gst_fake_src_get_times), (gst_fake_src_create):
9960 * plugins/elements/gstfakesrc.h:
9961 Fix broken sync code.
9963 2005-12-05 Wim Taymans <wim@fluendo.com>
9965 * gst/gstcaps.c: (gst_caps_is_equal):
9966 Comparing NULL against !NULL yields different caps, not a
9969 2005-12-05 Wim Taymans <wim@fluendo.com>
9971 * gst/gstpipeline.c:
9972 Fix small typo in docs.
9974 2005-12-05 Andy Wingo <wingo@pobox.com>
9976 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
9978 * gst/gst.c (init_post): remove hard-coded 0.9 location for
9979 registries/plugins with a MAJORMINOR one.
9980 (plugin_desc): Rename library from gstcoreleements to
9981 staticelements. Fixes #323222.
9983 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
9985 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9986 Change debug category to 'collectpads' from 'collect_pads'
9989 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9991 patch by: Sebastien Moutte
9993 * libs/gst/controller/gstinterpolation.c:
9994 use convert function for uint64/double
9995 * win32/vs6/libgstcontroller.dsp:
9998 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
10000 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
10001 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
10003 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10004 add tests that seem to show that the guint64/gdouble conversions
10007 2005-12-02 Wim Taymans <wim@fluendo.com>
10009 * gst/gstregistry.c: (gst_registry_add_path):
10010 * gst/gstregistry.h:
10011 * gst/gstregistryxml.c:
10014 2005-12-02 Wim Taymans <wim@fluendo.com>
10016 * gst/gstutils.c: (gst_util_uint64_scale_int64),
10017 (gst_util_uint64_scale_int):
10020 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10021 Add debug log line.
10023 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
10026 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
10029 * win32/common/config.h:
10030 * win32/vs6/gstreamer.dsw:
10031 * win32/vs6/libgstcoreelements.dsp:
10032 * win32/vs6/libgstelements.dsp:
10033 renamed core elements plugin
10035 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
10037 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
10039 do piece-wise major/minor comparison so 0.9 < 0.10
10040 also allow .exe extensions for tools
10042 2005-12-02 Michael Smith <msmith@fluendo.com>
10045 Escape a % to make gtkdoc happier; bug 322958.
10047 === release 0.9.7 ===
10049 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10052 releasing 0.9.7, "My Dog Has No Nose"
10054 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10056 * common/gst-xmlinspect.py:
10058 * docs/libs/tmpl/gstdataprotocol.sgml:
10059 * docs/random/release:
10078 * win32/common/config.h:
10079 * win32/common/config.h.in:
10080 * win32/vs6/gst_inspect.dsp:
10081 * win32/vs6/gst_launch.dsp:
10082 * win32/vs6/libgstbase.dsp:
10083 * win32/vs6/libgstelements.dsp:
10084 * win32/vs6/libgstreamer.dsp:
10085 * win32/vs7/GStreamer.vcproj:
10086 * win32/vs7/gst-inspect.vcproj:
10087 * win32/vs7/gst-launch.vcproj:
10088 * win32/vs7/libgstbase.vcproj:
10089 bump GST_MAJORMINOR to 0.10
10090 reset libtool version
10092 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10096 Added Bulgarian translation by (Alexander Shopov)
10098 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10100 * tests/check/gst/gstplugin.c:
10103 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10105 * common/gst-xmlinspect.py:
10106 * common/gtk-doc-plugins.mak:
10108 * docs/Makefile.am:
10109 * docs/gst/Makefile.am:
10110 * docs/gst/gstreamer-docs.sgml:
10111 * docs/gst/gstreamer-sections.txt:
10112 * docs/gst/gstreamer.types:
10113 * docs/gst/gstreamer.types.in:
10114 * docs/plugins/Makefile.am:
10115 * docs/plugins/gstreamer-plugins-docs.sgml:
10116 * docs/plugins/gstreamer-plugins-sections.txt:
10117 * docs/plugins/gstreamer-plugins.types:
10118 * docs/plugins/inspect.stamp:
10119 * docs/plugins/inspect/plugin-coreelements.xml:
10120 * docs/plugins/inspect/plugin-coreindexers.xml:
10121 * docs/plugins/scanobj-build.stamp:
10122 * gstreamer.spec.in:
10123 * plugins/elements/Makefile.am:
10124 * plugins/elements/gstelements.c:
10125 * plugins/elements/gstfakesink.c:
10126 * plugins/elements/gstfakesrc.c:
10127 * plugins/elements/gstfilesink.c:
10128 * plugins/elements/gstfilesrc.c:
10129 * plugins/elements/gstqueue.c:
10130 * plugins/indexers/Makefile.am:
10131 * plugins/indexers/gstindexers.c:
10132 document core plugins in a separate document just like all the
10134 rename these plugins to something starting with core
10136 2005-12-01 Andy Wingo <wingo@pobox.com>
10138 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
10139 padding here before, but it missed the commit.
10141 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10143 * libs/gst/controller/gstinterpolation.c:
10144 whitespace prices have crashed, we should feel free to use some now
10145 use gst_guint64_to_gdouble
10147 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10149 * libs/gst/controller/gstcontroller.c:
10150 * libs/gst/controller/gsthelper.c:
10151 * libs/gst/controller/gstinterpolation.c:
10152 * libs/gst/controller/lib.c:
10153 wrap config.h include
10155 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10157 * docs/gst/gstreamer-sections.txt:
10160 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10162 * plugins/elements/gstelements.c:
10163 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
10164 (gst_fd_sink__class_init), (gst_fd_sink__init),
10165 (gst_fd_sink__chain), (gst_fd_sink__set_property),
10166 (gst_fd_sink__get_property):
10167 * plugins/elements/gstfdsink.h:
10168 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
10169 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
10170 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
10171 (gst_fd_src_unlock), (gst_fd_src_set_property),
10172 (gst_fd_src_get_property), (gst_fd_src_create),
10173 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
10174 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
10175 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
10176 (gst_fd_src_uri_handler_init):
10177 * plugins/elements/gstfdsrc.h:
10178 * plugins/elements/gstqueue.c: (gst_queue_get_type):
10181 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10183 * docs/gst/Makefile.am:
10184 * docs/gst/gstreamer.types.in:
10188 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10194 * gst/gstregistry.h:
10195 * tests/benchmarks/complexity.c:
10196 * tests/benchmarks/mass-elements.c:
10197 * tests/check/Makefile.am:
10198 * tools/Makefile.am:
10199 * tools/gst-inspect.c:
10200 * tools/gst-xmlinspect.c:
10201 various fixes to make
10202 --disable-nls --disable-registry --disable-loadsave
10203 --disable-parse --disable-gst-debug
10204 work and get the core .so down to 360444 bytes after stripping
10206 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10211 * docs/random/thomasvs/TODO:
10212 * tests/Makefile.am:
10216 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10218 * win32/GStreamer.vcproj:
10221 * win32/Makefile.inspect:
10222 * win32/Makefile.launch:
10223 * win32/Makefile.register:
10224 * win32/README.txt:
10225 * win32/gst-inspect.vcproj:
10226 * win32/gst-launch.vcproj:
10227 * win32/gst-register.vcproj:
10228 * win32/gstelements.vcproj:
10229 * win32/gstgetbits.def:
10230 * win32/gstgetbits.vcproj:
10231 * win32/gstreamer-dbg.def:
10232 * win32/gstreamer.def:
10233 * win32/libgstbase.def:
10234 * win32/libgstbase.vcproj:
10235 * win32/link_oldruntime.c:
10239 * win32/msvc71.sln:
10240 move even more stuff, win32/ is nice and clean now
10242 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10244 * libs/gst/control/.cvsignore:
10249 * win32/gstbytestream.def:
10250 * win32/gstbytestream.vcproj:
10251 * win32/gstconfig.h:
10252 * win32/gstenumtypes.c:
10253 * win32/gstenumtypes.h:
10254 * win32/gstoptimalscheduler.vcproj:
10255 * win32/gstversion.h:
10257 * win32/testsuite/bins.vcproj:
10258 * win32/testsuite/bytestream.vcproj:
10259 * win32/testsuite/caps.vcproj:
10260 * win32/testsuite/cleanup.vcproj:
10261 * win32/testsuite/clock.vcproj:
10262 * win32/testsuite/debug.vcproj:
10263 * win32/testsuite/dlopen.vcproj:
10264 * win32/testsuite/dynparams.vcproj:
10265 * win32/testsuite/elements.vcproj:
10266 * win32/testsuite/ghostpads.vcproj:
10267 * win32/testsuite/indexers.vcproj:
10268 * win32/testsuite/negotiation.vcproj:
10269 * win32/testsuite/parse.vcproj:
10270 * win32/testsuite/plugin.vcproj:
10271 * win32/testsuite/refcounting.vcproj:
10272 * win32/testsuite/schedulers.vcproj:
10273 * win32/testsuite/states.vcproj:
10274 * win32/testsuite/tags.vcproj:
10275 * win32/testsuite/threads.vcproj:
10276 remove old win32 stuff that isn't maintained and should be
10279 2005-11-30 Andy Wingo <wingo@pobox.com>
10281 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10282 loading the gst.interfaces python module bork.
10284 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10285 available since GLib 2.2. Fixes #318031.
10287 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10290 * check/.cvsignore:
10291 * check/Makefile.am:
10292 * check/elements/.cvsignore:
10293 * check/elements/fakesrc.c:
10294 * check/elements/fdsrc.c:
10295 * check/elements/identity.c:
10296 * check/generic/.cvsignore:
10297 * check/generic/states.c:
10298 * check/gst-libs/.cvsignore:
10299 * check/gst-libs/controller.c:
10300 * check/gst-libs/gdp.c:
10301 * check/gst/.cvsignore:
10302 * check/gst/capslist.h:
10304 * check/gst/gstbin.c:
10305 * check/gst/gstbuffer.c:
10306 * check/gst/gstbus.c:
10307 * check/gst/gstcaps.c:
10308 * check/gst/gstelement.c:
10309 * check/gst/gstevent.c:
10310 * check/gst/gstghostpad.c:
10311 * check/gst/gstiterator.c:
10312 * check/gst/gstmessage.c:
10313 * check/gst/gstminiobject.c:
10314 * check/gst/gstobject.c:
10315 * check/gst/gstpad.c:
10316 * check/gst/gstpipeline.c:
10317 * check/gst/gstplugin.c:
10318 * check/gst/gstsegment.c:
10319 * check/gst/gststructure.c:
10320 * check/gst/gstsystemclock.c:
10321 * check/gst/gsttag.c:
10322 * check/gst/gstutils.c:
10323 * check/gst/gstvalue.c:
10324 * check/net/.cvsignore:
10325 * check/net/gstnetclientclock.c:
10326 * check/net/gstnettimeprovider.c:
10327 * check/pipelines/.cvsignore:
10328 * check/pipelines/cleanup.c:
10329 * check/pipelines/simple_launch_lines.c:
10330 * check/pipelines/stress.c:
10331 * check/states/.cvsignore:
10332 * check/states/sinks.c:
10334 * examples/Makefile.am:
10335 * examples/appreader/.cvsignore:
10336 * examples/appreader/Makefile.am:
10337 * examples/appreader/appreader.c:
10338 * examples/controller/.cvsignore:
10339 * examples/controller/Makefile.am:
10340 * examples/controller/audio-example.c:
10341 * examples/cutter/.cvsignore:
10342 * examples/cutter/Makefile.am:
10343 * examples/cutter/cutter.c:
10344 * examples/cutter/cutter.h:
10345 * examples/events/Makefile.am:
10346 * examples/events/seek.c:
10347 * examples/helloworld/.cvsignore:
10348 * examples/helloworld/Makefile.am:
10349 * examples/helloworld/helloworld.c:
10350 * examples/helloworld2/.cvsignore:
10351 * examples/helloworld2/Makefile.am:
10352 * examples/helloworld2/helloworld2.c:
10353 * examples/launch/.cvsignore:
10354 * examples/launch/Makefile.am:
10355 * examples/launch/mp3parselaunch.c:
10356 * examples/launch/mp3play:
10357 * examples/manual/.cvsignore:
10358 * examples/manual/Makefile.am:
10359 * examples/manual/extract.pl:
10360 * examples/metadata/Makefile.am:
10361 * examples/metadata/read-metadata.c:
10362 * examples/mixer/.cvsignore:
10363 * examples/mixer/Makefile.am:
10364 * examples/mixer/mixer.c:
10365 * examples/mixer/mixer.h:
10366 * examples/pingpong/.cvsignore:
10367 * examples/pingpong/Makefile.am:
10368 * examples/pingpong/pingpong.c:
10369 * examples/plugins/.cvsignore:
10370 * examples/plugins/Makefile.am:
10371 * examples/plugins/example.c:
10372 * examples/plugins/example.h:
10373 * examples/pwg/.cvsignore:
10374 * examples/pwg/Makefile.am:
10375 * examples/pwg/extract.pl:
10376 * examples/queue/.cvsignore:
10377 * examples/queue/Makefile.am:
10378 * examples/queue/queue.c:
10379 * examples/queue2/.cvsignore:
10380 * examples/queue2/Makefile.am:
10381 * examples/queue2/queue2.c:
10382 * examples/queue3/.cvsignore:
10383 * examples/queue3/Makefile.am:
10384 * examples/queue3/queue3.c:
10385 * examples/queue4/.cvsignore:
10386 * examples/queue4/Makefile.am:
10387 * examples/queue4/queue4.c:
10388 * examples/retag/.cvsignore:
10389 * examples/retag/Makefile.am:
10390 * examples/retag/retag.c:
10391 * examples/retag/transcode.c:
10392 * examples/thread/.cvsignore:
10393 * examples/thread/Makefile.am:
10394 * examples/thread/thread.c:
10395 * examples/typefind/.cvsignore:
10396 * examples/typefind/Makefile.am:
10397 * examples/typefind/typefind.c:
10398 * examples/xml/.cvsignore:
10399 * examples/xml/Makefile.am:
10400 * examples/xml/createxml.c:
10401 * examples/xml/runxml.c:
10402 * tests/Makefile.am:
10403 * tests/check/Makefile.am:
10404 * testsuite/.cvsignore:
10405 * testsuite/Makefile.am:
10407 * testsuite/caps/.cvsignore:
10408 * testsuite/caps/Makefile.am:
10409 * testsuite/caps/app_fixate.c:
10410 * testsuite/caps/audioscale.c:
10411 * testsuite/caps/caps.c:
10412 * testsuite/caps/caps.h:
10413 * testsuite/caps/caps_strings:
10414 * testsuite/caps/compatibility.c:
10415 * testsuite/caps/deserialize.c:
10416 * testsuite/caps/enumcaps.c:
10417 * testsuite/caps/eratosthenes.c:
10418 * testsuite/caps/filtercaps.c:
10419 * testsuite/caps/fixed.c:
10420 * testsuite/caps/fraction-convert.c:
10421 * testsuite/caps/fraction-multiply-and-zero.c:
10422 * testsuite/caps/intersect2.c:
10423 * testsuite/caps/intersection.c:
10424 * testsuite/caps/normalisation.c:
10425 * testsuite/caps/random.c:
10426 * testsuite/caps/renegotiate.c:
10427 * testsuite/caps/sets.c:
10428 * testsuite/caps/simplify.c:
10429 * testsuite/caps/string-conversions.c:
10430 * testsuite/caps/structure.c:
10431 * testsuite/caps/subtract.c:
10432 * testsuite/caps/union.c:
10433 * testsuite/debug/.cvsignore:
10434 * testsuite/debug/Makefile.am:
10435 * testsuite/debug/category.c:
10436 * testsuite/debug/commandline.c:
10437 * testsuite/debug/global.c:
10438 * testsuite/debug/output.c:
10439 * testsuite/debug/printf_extension.c:
10440 * testsuite/dlopen/.cvsignore:
10441 * testsuite/dlopen/Makefile.am:
10442 * testsuite/dlopen/dlopen_gst.c:
10443 * testsuite/dlopen/loadgst.c:
10444 * testsuite/elements/.cvsignore:
10445 * testsuite/elements/Makefile.am:
10446 * testsuite/elements/gst-inspect-check.in:
10447 * testsuite/elements/struct_i386.h:
10448 * testsuite/elements/struct_size.c:
10449 * testsuite/indexers/.cvsignore:
10450 * testsuite/indexers/Makefile.am:
10451 * testsuite/indexers/cache1.c:
10452 * testsuite/indexers/indexdump.c:
10453 * testsuite/parse/.cvsignore:
10454 * testsuite/parse/Makefile.am:
10455 * testsuite/parse/parse1.c:
10456 * testsuite/parse/parse2.c:
10457 * testsuite/plugin/.cvsignore:
10458 * testsuite/plugin/Makefile.am:
10459 * testsuite/plugin/README:
10460 * testsuite/plugin/dynamic.c:
10461 * testsuite/plugin/linked.c:
10462 * testsuite/plugin/loading.c:
10463 * testsuite/plugin/registry.c:
10464 * testsuite/plugin/static.c:
10465 * testsuite/plugin/static2.c:
10466 * testsuite/plugin/testplugin.c:
10467 * testsuite/plugin/testplugin2.c:
10468 * testsuite/plugin/testplugin2_s.c:
10469 * testsuite/plugin/testplugin_s.c:
10470 * testsuite/refcounting/.cvsignore:
10471 * testsuite/refcounting/Makefile.am:
10472 * testsuite/refcounting/bin.c:
10473 * testsuite/refcounting/element.c:
10474 * testsuite/refcounting/element_pad.c:
10475 * testsuite/refcounting/mainloop.c:
10476 * testsuite/refcounting/mem.c:
10477 * testsuite/refcounting/mem.h:
10478 * testsuite/refcounting/object.c:
10479 * testsuite/refcounting/pad.c:
10480 * testsuite/refcounting/sched.c:
10481 * testsuite/refcounting/thread.c:
10482 * testsuite/states/.cvsignore:
10483 * testsuite/states/Makefile.am:
10484 * testsuite/states/bin.c:
10485 * testsuite/states/locked.c:
10486 * testsuite/states/parent.c:
10487 * testsuite/threads/.cvsignore:
10488 * testsuite/threads/159566.c:
10489 * testsuite/threads/159852.c:
10490 * testsuite/threads/Makefile.am:
10491 * testsuite/threads/queue.c:
10492 * testsuite/threads/signals.c:
10493 * testsuite/threads/staticrec.c:
10494 * testsuite/threads/thread.c:
10495 * testsuite/threads/threadb.c:
10496 * testsuite/threads/threadc.c:
10497 * testsuite/threads/threadd.c:
10498 * testsuite/threads/threade.c:
10499 * testsuite/threads/threadf.c:
10500 * testsuite/threads/threadg.c:
10501 * testsuite/threads/threadh.c:
10502 * testsuite/threads/threadi.c:
10503 move all of these under tests
10505 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10508 * tests/Makefile.am:
10511 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10513 * docs/gst/gstreamer-sections.txt:
10514 * tests/sched/.cvsignore:
10515 * tests/sched/Makefile.am:
10516 * tests/sched/cases/(fs-fs).xml:
10517 * tests/sched/cases/(fs-i-fs).xml:
10518 * tests/sched/cases/(fs-i-i-fs).xml:
10519 * tests/sched/cases/(fs-i-q[i-fs]).xml:
10520 * tests/sched/dynamic-pipeline.c:
10521 * tests/sched/interrupt1.c:
10522 * tests/sched/interrupt2.c:
10523 * tests/sched/interrupt3.c:
10524 * tests/sched/runtestcases:
10525 * tests/sched/runxml.c:
10526 * tests/sched/sched-stress.c:
10527 * tests/sched/sort.c:
10528 * tests/sched/testcases:
10529 * tests/sched/testcases1.tc:
10530 * tests/seeking/.cvsignore:
10531 * tests/seeking/Makefile.am:
10532 * tests/seeking/seeking1.c:
10533 * tests/threadstate/.cvsignore:
10534 * tests/threadstate/Makefile.am:
10535 * tests/threadstate/test1.c:
10536 * tests/threadstate/test2.c:
10537 * tests/threadstate/threadstate1.c:
10538 * tests/threadstate/threadstate2.c:
10539 * tests/threadstate/threadstate3.c:
10540 * tests/threadstate/threadstate4.c:
10541 * tests/threadstate/threadstate5.c:
10542 remove obsolete tests
10544 * tests/bench-complexity.scm:
10545 * tests/bench-mass_elements.scm:
10546 * tests/complexity.c:
10547 * tests/complexity.gnuplot:
10548 * tests/instantiate/.cvsignore:
10549 * tests/instantiate/Makefile.am:
10550 * tests/instantiate/caps.c:
10551 * tests/mass_elements.c:
10552 * tests/network-clock-utils.scm:
10553 * tests/network-clock.scm:
10555 First pass at cleaning up tests/ dir before moving the rest
10556 Combined with CVS surgery
10558 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10561 queue has moved, update
10563 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10565 * docs/gst/gstreamer-sections.txt:
10566 remove double entries from the docs
10567 * gst/gst_private.h:
10568 * gst/gstinfo.c: (_gst_debug_init):
10569 remove the THREAD debug category
10573 * docs/gst/gstreamer.types:
10574 * plugins/elements/gstqueue.c: (gst_queue_get_type),
10575 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10576 completely move queue and fix up debugging categories
10578 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10580 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10581 make initialization portable, using LL is not
10583 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10585 * win32/common/gstconfig.h:
10588 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10590 * win32/common/libgstreamer.def:
10591 rename symbols; sort base section
10593 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10595 * gst/gstclock.c: (do_linear_regression):
10596 remove crack non-portable handrolled DEBUG macro
10598 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10600 * docs/random/release:
10602 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10603 (gst_object_flags_get_type), (register_gst_bin_flags),
10604 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10605 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10606 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10607 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10608 (gst_caps_flags_get_type), (register_gst_clock_return),
10609 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10610 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10611 (gst_clock_flags_get_type), (register_gst_state),
10612 (gst_state_get_type), (register_gst_state_change_return),
10613 (gst_state_change_return_get_type), (register_gst_state_change),
10614 (gst_state_change_get_type), (register_gst_element_flags),
10615 (gst_element_flags_get_type), (register_gst_core_error),
10616 (gst_core_error_get_type), (register_gst_library_error),
10617 (gst_library_error_get_type), (register_gst_resource_error),
10618 (gst_resource_error_get_type), (register_gst_stream_error),
10619 (gst_stream_error_get_type), (register_gst_event_type_flags),
10620 (gst_event_type_flags_get_type), (register_gst_event_type),
10621 (gst_event_type_get_type), (register_gst_seek_type),
10622 (gst_seek_type_get_type), (register_gst_seek_flags),
10623 (gst_seek_flags_get_type), (register_gst_format),
10624 (gst_format_get_type), (register_gst_index_certainty),
10625 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10626 (gst_index_entry_type_get_type),
10627 (register_gst_index_lookup_method),
10628 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10629 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10630 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10631 (gst_index_flags_get_type), (register_gst_debug_level),
10632 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10633 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10634 (gst_iterator_result_get_type), (register_gst_iterator_item),
10635 (gst_iterator_item_get_type), (register_gst_message_type),
10636 (gst_message_type_get_type), (register_gst_mini_object_flags),
10637 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10638 (gst_pad_link_return_get_type), (register_gst_flow_return),
10639 (gst_flow_return_get_type), (register_gst_activate_mode),
10640 (gst_activate_mode_get_type), (register_gst_pad_direction),
10641 (gst_pad_direction_get_type), (register_gst_pad_flags),
10642 (gst_pad_flags_get_type), (register_gst_pad_presence),
10643 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10644 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10645 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10646 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10647 (gst_plugin_flags_get_type), (register_gst_rank),
10648 (gst_rank_get_type), (register_gst_query_type),
10649 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10650 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10651 (gst_tag_flag_get_type), (register_gst_task_state),
10652 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10653 (gst_alloc_trace_flags_get_type),
10654 (register_gst_type_find_probability),
10655 (gst_type_find_probability_get_type), (register_gst_uri_type),
10656 (gst_uri_type_get_type), (register_gst_parse_error),
10657 (gst_parse_error_get_type):
10658 * win32/common/gstenumtypes.h:
10659 * win32/common/gstversion.h:
10660 update visual studio generated files
10662 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10664 * win32/vs6/libgstbase.dsp:
10665 * win32/vs6/libgstelements.dsp:
10666 update project files for new locations
10668 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10673 reinstate and update
10678 * docs/random/LICENSE:
10681 2005-11-30 Edward Hervey <edward@fluendo.com>
10683 * gst/gsttypefind.c: (gst_type_find_register):
10684 * gst/gsttypefind.h:
10685 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10686 (gst_type_find_factory_dispose):
10687 * gst/gsttypefindfactory.h:
10688 Fix memory leak in GstTypeFindFactory.
10690 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10693 * plugins/elements/Makefile.am:
10694 * plugins/elements/gstelements.c:
10695 * plugins/elements/gstqueue.c:
10696 move queue from core to the elements plugin
10698 2005-11-29 Andy Wingo <wingo@pobox.com>
10700 * libs/gst/base/gstbasetransform.h:
10701 * libs/gst/base/gstbasesrc.h:
10702 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10704 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10705 of pointers by which to pad very extensible base classes (like the
10706 ones in libs/gst/base).
10708 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10710 * docs/gst/gstreamer-docs.sgml:
10711 * docs/gst/gstreamer-sections.txt:
10712 * docs/libs/gstreamer-libs-docs.sgml:
10713 * docs/libs/gstreamer-libs-sections.txt:
10714 moving documentation from core to lib
10716 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10718 * check/Makefile.am:
10720 * docs/gst/Makefile.am:
10722 * gst/base/.cvsignore:
10723 * gst/base/Makefile.am:
10725 * gst/base/gstadapter.c:
10726 * gst/base/gstadapter.h:
10727 * gst/base/gstbasesink.c:
10728 * gst/base/gstbasesink.h:
10729 * gst/base/gstbasesrc.c:
10730 * gst/base/gstbasesrc.h:
10731 * gst/base/gstbasetransform.c:
10732 * gst/base/gstbasetransform.h:
10733 * gst/base/gstcollectpads.c:
10734 * gst/base/gstcollectpads.h:
10735 * gst/base/gstpushsrc.c:
10736 * gst/base/gstpushsrc.h:
10737 * gst/base/gsttypefindhelper.c:
10738 * gst/base/gsttypefindhelper.h:
10739 * gst/check/Makefile.am:
10740 * gst/check/gstcheck.c:
10741 * gst/check/gstcheck.h:
10742 * gst/net/Makefile.am:
10743 * gst/net/gstnet.h:
10744 * gst/net/gstnetclientclock.c:
10745 * gst/net/gstnetclientclock.h:
10746 * gst/net/gstnettimepacket.c:
10747 * gst/net/gstnettimepacket.h:
10748 * gst/net/gstnettimeprovider.c:
10749 * gst/net/gstnettimeprovider.h:
10750 * libs/gst/Makefile.am:
10751 * libs/gst/base/Makefile.am:
10752 * libs/gst/base/gstbasetransform.c:
10753 * libs/gst/check/Makefile.am:
10754 * plugins/elements/Makefile.am:
10756 CVS surgery + support to move base, check, and net out of gst
10759 2005-11-29 Andy Wingo <wingo@pobox.com>
10761 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10763 * gst/gststructure.h (struct _GstStructure): Only one pointer of
10766 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10768 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10770 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10772 * gst/gstobject.h: (struct _GstObject): Only one pointer of
10773 padding; reduces object size by about 30%. We don't expect
10774 anything else to go into gstobject.
10776 * gst/gstminiobject.h (struct _GstMiniObject)
10777 (struct _GstMiniObjectClass): Only one pointer of padding; the
10778 payload is only a pointer and two ints anyway. For the class there
10779 are only two methods as well.
10781 * gst/gstelement.h (struct _GstElementClass): Removed
10782 the state_changed signal callback, it is not used.
10784 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10786 * docs/gst/gstreamer.types:
10787 fix includes, though they are a little dinky
10789 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10791 * check/Makefile.am:
10792 look in the right place for elements, a lot more chance of
10795 remove indexers and elements subdirs
10796 * plugins/Makefile.am:
10797 make indexers conditional
10799 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10803 * plugins/elements/Makefile.am:
10804 * plugins/elements/gstcapsfilter.c:
10805 * plugins/elements/gstfilesink.c:
10806 * plugins/elements/gstfilesrc.c:
10807 * plugins/elements/gstidentity.c:
10808 * plugins/indexers/Makefile.am:
10809 do CVS surgery and related build fixery to move elements
10810 and indexers in a new gstreamer/plugins directory, out of the
10813 2005-11-29 Andy Wingo <wingo@pobox.com>
10815 * check/Makefile.am:
10816 * pkgconfig/gstreamer-net-uninstalled.pc.in:
10817 * pkgconfig/gstreamer-net.pc.in:
10818 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10821 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10823 * tools/Makefile.am:
10824 * tools/gst-complete.1.in:
10825 * tools/gst-complete.c:
10826 * tools/gst-compprep.1.in:
10827 * tools/gst-compprep.c:
10828 removing -compprep and -complete
10830 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10832 * gst/gstevent.c: (gst_event_new_new_segment),
10833 (gst_event_parse_new_segment):
10835 fix #320529 - clean up new_segment API and structure.
10836 Let's hope everyone was using the methods, and not the structure.
10838 2005-11-29 Edward Hervey <edward@fluendo.com>
10840 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10841 (gst_base_sink_event), (gst_base_sink_do_sync),
10842 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10843 Properly handle non GST_FORMAT_TIME segment
10844 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10845 Properly handle non GST_FORMAT_TIME segment
10846 * gst/gstsegment.c:
10847 This function is valid if the accumulator is 0 and the format
10848 is different from the requested format.
10850 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10852 * docs/gst/gstreamer-sections.txt:
10853 Add gst_query_new_seeking and gst_query_parse_seeking to the
10856 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10858 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10859 Treat a pad alloc with new caps the same as if we were not
10860 negotiated, in order to allow a changing upstream output
10861 to produce a new format of data.
10863 2005-11-29 Edward Hervey <edward@fluendo.com>
10865 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10866 (gst_base_transform_event), (gst_base_transform_eventfunc):
10867 The event virtual method is now properly implemented, with a default
10869 Sub classes should call the parent_class event method. They should
10870 return FALSE if they had a problem handling the given event, or don't
10871 want GstBaseTransform to send that even downstream
10872 * gst/elements/gstidentity.c: (gst_identity_class_init),
10873 (gst_identity_init), (gst_identity_event),
10874 (gst_identity_transform_ip), (gst_identity_set_property),
10875 (gst_identity_get_property):
10876 * gst/elements/gstidentity.h:
10877 Added the single-segment boolean property.
10878 If set to TRUE, it will output a single segment of data, starting from
10879 0, will eat up all incoming newsegment, and modify the timestamp of the
10880 buffers accordingly
10882 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
10884 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10885 Don't ref NULL target pad (#322751). Improve docs.
10887 2005-11-29 Michael Smith <msmith@fluendo.com>
10889 * gst/gstregistryxml.c: (load_plugin):
10890 Don't crash if we failed to load a feature from a plugin.
10892 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10894 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10896 use more check API and less GLib API
10898 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10901 don't run checks if we don't have check
10902 * common/check.mak:
10903 remove the registry when running make torture
10904 * docs/gst/gstreamer-sections.txt:
10905 remove second multiply
10906 * gst/gstqueue.c: (gst_queue_loop):
10907 fix a compile warning when disabling debug
10909 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10912 Hey! Let's print the pad name if the pointer != NULL instead
10913 of when it == NULL :-)
10915 2005-11-28 Wim Taymans <wim@fluendo.com>
10917 * check/gst/gstutils.c: (GST_START_TEST):
10918 Updated check, add some scaling accuracy checking code.
10920 * gst/gstutils.c: (gst_util_div128_64),
10921 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10922 (gst_util_uint64_scale_int):
10923 Fix 6 times faster division code. Optimize for common
10924 1/1 and less common X/1 cases.
10926 2005-11-28 Wim Taymans <wim@fluendo.com>
10928 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10931 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10932 (do_linear_regression), (gst_clock_add_observation):
10934 Release lock when the clock cannot be slaved.
10935 Catch the case where the regression returned an invalid denominator.
10937 * gst/gstutils.c: (gst_util_div128_64_iterate),
10938 (gst_util_div128_64), (gst_util_uint64_scale_int64),
10939 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10940 Add protentially more performant non-iterative 128/64 divide function
10941 that unfortunatly does not work yet.
10942 Shortcut the trivial 0/X = 0 case.
10943 Remove the warnings on overflow.
10945 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10947 * gst/gstplugin.c: (gst_plugin_register_func):
10948 everything causing a plugin not to load should be at least a WARNING
10950 2005-11-28 Stefan Kost <ensonic@users.sf.net>
10952 * docs/random/ensonic/dparams.txt:
10953 some TODOs for the next dev cycle
10954 * libs/gst/controller/gstcontroller.c:
10955 (gst_controlled_property_set_interpolation_mode),
10956 (gst_controlled_property_new):
10957 * libs/gst/controller/gstcontroller.h:
10958 use base type to assign acccessor functions
10960 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10962 * check/Makefile.am:
10963 Oops, that should have been top_srcdir
10965 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10967 * check/Makefile.am:
10968 * check/elements/fdsrc.c: (GST_START_TEST):
10969 Use a cmdline define to specify the location of a file to use for
10970 testing, to avoid breaking distcheck.
10972 2005-11-28 Andy Wingo <wingo@pobox.com>
10974 * gst/gstpad.c (fixate_value): Use array functions for arrays.
10976 2005-11-28 Edward Hervey <edward@fluendo.com>
10978 * tools/gst-launch.c: (main):
10979 Clarify the output strings, makes it easier to translate.
10982 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10985 don't try and build net if we don't even have <sys/socket.h>
10987 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
10989 * check/Makefile.am:
10990 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10991 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10992 Add tests for fdsrc seekability
10994 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10995 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10996 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10997 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10998 * gst/elements/gstfdsrc.h:
10999 fdsrc should not be a 'live' source.
11000 Implement seeking on seekable fd's.
11002 * gst/gstquery.c: (gst_query_new_seeking),
11003 (gst_query_parse_seeking):
11005 Implement SEEKING query functions:
11006 *_new_seeking and *_parse_seeking
11008 2005-11-27 Stefan Kost <ensonic@users.sf.net>
11010 * gst/gstelement.c: (gst_element_dispose):
11013 * gst/gstiterator.c:
11014 * gst/gststructure.c:
11017 * libs/gst/controller/gstcontroller.c:
11018 (gst_controlled_property_set_interpolation_mode):
11019 * libs/gst/controller/gstcontroller.h:
11020 * libs/gst/controller/gstinterpolation.c:
11021 (interpolate_none_get_enum_value_array):
11022 support controlling enums
11024 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
11027 Improve documentation for gst_value_union().
11030 Change return value for union, intersect and subtract functions
11031 from gint to gboolean.
11033 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
11035 * gst/gstvalue.c: (gst_value_serialize_any_list),
11036 (gst_value_transform_any_list_string),
11037 (gst_value_deserialize_list), (gst_value_deserialize_array),
11038 (gst_value_set_int_range), (gst_value_deserialize_int_range),
11039 (gst_value_set_double_range), (gst_value_deserialize_double_range),
11040 (gst_value_set_fraction_range_full),
11041 (gst_value_deserialize_fraction_range),
11042 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
11043 (gst_value_deserialize_boolean),
11044 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
11045 (gst_value_serialize_float), (gst_value_deserialize_float),
11046 (gst_string_wrap), (gst_value_deserialize_string),
11047 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
11048 (gst_value_union_int_range_int_range),
11049 (gst_value_intersect_int_range_int_range),
11050 (gst_value_intersect_double_range_double_range),
11051 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
11052 (gst_value_subtract_int_range_int_range),
11053 (gst_value_subtract_double_double_range),
11054 (gst_value_subtract_double_range_double_range),
11055 (gst_value_deserialize_fraction):
11057 Use gint, gdouble and gchar in our API instead of int, double and
11058 char (and make usage in gstvalue.c more consistent).
11060 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11062 * check/Makefile.am:
11063 * libs/gst/controller/Makefile.am:
11064 * libs/gst/dataprotocol/Makefile.am:
11065 fix up Makefile.am and remove GST_ENABLE_NEW
11067 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11071 * gst/base/Makefile.am:
11072 * gst/check/Makefile.am:
11073 * gst/elements/Makefile.am:
11074 * gst/net/Makefile.am:
11075 update LDFLAGS use some more
11077 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11079 * common/m4/gst-doc.m4:
11082 2005-11-26 Edward Hervey <edward@fluendo.com>
11084 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11085 This shouldn't issue a g_warning since it returns NULL if it
11086 couldn't find the plugin, and all functions using this behave
11087 properly on a NULL return. Switching to a GST_WARNING.
11089 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
11091 * gst/gstbin.c: (gst_bin_handle_message_func):
11092 Don't leak clock messages.
11094 2005-11-25 Wim Taymans <wim@fluendo.com>
11096 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11097 (gst_util_uint64_scale_int):
11098 Optimisations, remove unneeded vars.
11100 2005-11-25 Wim Taymans <wim@fluendo.com>
11102 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11103 Added more checks for the high precision uint64 cases.
11105 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11106 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11107 Implement high precision (guint64 * guint64) / guint64.
11109 2005-11-24 Wim Taymans <wim@fluendo.com>
11111 * gst/base/gstbasesrc.c: (gst_base_src_query):
11112 Fix wrong percentage query.
11114 * gst/gstutils.c: (gst_util_uint64_scale),
11115 (gst_util_uint64_scale_int):
11116 Add some more common cases that can be handled
11117 efficiently to _scale.
11119 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
11121 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
11122 (gst_mini_object_suite):
11123 don't use check calls from threads; check probably isn't
11124 threadsafe and using a lock to make it threadsafe would
11125 defeat the purpose of this check
11126 * gst/check/gstcheck.c:
11127 * gst/check/gstcheck.h:
11128 use GST_DEBUG some more
11130 2005-11-24 Wim Taymans <wim@fluendo.com>
11132 * gst/gstutils.c: (gst_util_uint64_scale),
11133 (gst_util_uint64_scale_int):
11134 Chain trivial case to _scale_int.
11136 2005-11-24 Wim Taymans <wim@fluendo.com>
11138 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11139 Added test for scaling.
11144 * gst/gstutils.c: (gst_util_uint64_scale_int):
11145 Implemented high precision scaling code.
11147 2005-11-24 Stefan Kost <ensonic@users.sf.net>
11150 do not crash on pad==NULL
11152 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
11154 Patch by: Stefan Kost
11156 * common/gtk-doc.mak:
11157 * docs/gst/Makefile.am:
11158 * docs/libs/Makefile.am:
11159 Fix distcheck issues for the libraries docs build
11162 2005-11-24 Michael Smith <msmith@fluendo.com>
11164 * docs/manual/basics-helloworld.xml:
11165 Fix bug #315027: memory leak in example code in docs.
11167 2005-11-24 Michael Smith <msmith@fluendo.com>
11169 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11170 Unlock the PREROLL_LOCK in a failure case.
11172 2005-11-24 Wim Taymans <wim@fluendo.com>
11174 * docs/gst/gstreamer-sections.txt:
11175 * gst/base/gstadapter.h:
11176 * gst/base/gstbasesink.h:
11177 * gst/base/gstbasesrc.h:
11178 * gst/base/gstbasetransform.h:
11179 * gst/base/gstpushsrc.h:
11180 * gst/elements/gstfakesink.h:
11181 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
11182 * gst/elements/gstfakesrc.h:
11183 * gst/elements/gstfilesink.h:
11184 * gst/elements/gstfilesrc.h:
11187 * gst/gstbuffer.c: (_gst_buffer_copy):
11190 * gst/gstchildproxy.c:
11192 * gst/gstelement.c:
11193 * gst/gstelementfactory.c:
11194 * gst/gstelementfactory.h:
11196 * gst/gstghostpad.h:
11198 * gst/gstinterface.h:
11199 * gst/gstminiobject.c:
11200 * gst/gstminiobject.h:
11203 * gst/gstpadtemplate.h:
11204 * gst/gstpipeline.h:
11205 * gst/gstpluginfeature.h:
11208 * gst/gsttaglist.c:
11209 * gst/gsttaglist.h:
11210 * gst/gsttagsetter.c:
11211 * gst/gsttagsetter.h:
11214 * gst/gsttypefind.h:
11217 * gst/net/gstnetclientclock.c:
11218 * gst/net/gstnetclientclock.h:
11219 * gst/net/gstnettimepacket.c:
11220 * gst/net/gstnettimeprovider.c:
11221 * gst/net/gstnettimeprovider.h:
11224 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11226 * configure.ac: back to HEAD
11228 === release 0.9.6 ===
11230 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11233 releasing 0.9.6, "Always On Time"
11235 2005-11-23 Wim Taymans <wim@fluendo.com>
11237 * docs/gst/gstreamer-sections.txt:
11238 * gst/glib-compat.c:
11239 * gst/gsttagsetter.c:
11241 * gst/net/gstnetclientclock.c:
11242 * gst/net/gstnettimepacket.h:
11245 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11247 * docs/faq/using.xml:
11248 * docs/libs/tmpl/gstcontrol.sgml:
11249 * docs/manual/advanced-dparams.xml:
11250 * docs/manual/appendix-checklist.xml:
11251 * docs/manual/basics-elements.xml:
11252 * docs/pwg/other-source.xml:
11253 * docs/random/moving-plugins:
11255 * tools/gst-launch.1.in:
11256 remove mentions of sinesrc
11258 2005-11-23 Michael Smith <msmith@fluendo.com>
11260 * docs/gst/gstreamer-sections.txt:
11261 Update for new API and API changes.
11263 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11265 Documentation typo fix.
11266 * gst/net/gstnettimepacket.c:
11267 Documentation fixes for arguments.
11269 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
11271 * gst/gststructure.c: (gst_structure_get_fraction),
11272 (gst_structure_parse_value),
11273 (gst_structure_fixate_field_nearest_fraction):
11274 * gst/gststructure.h:
11275 * gst/gstutils.c: (gst_util_uint64_scale_int):
11277 * scripts/update-funcnames:
11279 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11280 Make gst_structure_fixate_field_nearest_fraction take a numerator
11281 and denominator argument instead of a GValue
11282 add gst_structure_get_fraction helper function.
11284 2005-11-23 Wim Taymans <wim@fluendo.com>
11286 * docs/design/part-TODO.txt:
11289 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11290 * gst/net/gstnetclientclock.h:
11291 Use parent fields for timeout and window_size.
11293 2005-11-23 Andy Wingo <wingo@pobox.com>
11295 * check/net/gstnetclientclock.c (test_functioning): Adjust to
11296 rate_num/rate_denom change.
11298 * gst/net/gstnetclientclock.c
11299 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11300 OBJECT_LOCK. Don't call add_observation with the lock.
11302 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11304 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11306 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11307 deal with rate as a fraction whose numerator and denominator are
11308 GstClockTime values.
11309 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11310 master; the other fields are protected by the SLAVE_LOCK.
11311 (do_linear_regression): Note that this must be called with the
11313 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11314 OBJECT_LOCK. Call set_calibration instead of touching the
11315 variables directly.
11316 (gst_clock_set_property, gst_clock_get_property): Protect
11317 master/slave parameters with the SLAVE_LOCK.
11319 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11320 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11321 note that all of the instance variables that add_observation and
11322 the set_master functions use are protected by that lock and not
11324 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11326 * gst/gstclock.c (gst_clock_add_observation): No longer requires
11327 the caller to take the object lock.
11329 2005-11-23 Wim Taymans <wim@fluendo.com>
11331 * gst/gsterror.c: (_gst_core_errors_init):
11333 Add error for clock stuff.
11335 * gst/gstpipeline.c: (gst_pipeline_change_state),
11336 (gst_pipeline_set_clock):
11337 Post clock error when clock cannot be used in a pipeline.
11339 2005-11-23 Stefan Kost <ensonic@users.sf.net>
11341 * docs/gst/gstreamer-sections.txt:
11342 make two symbols from gstinfo private for the docs
11343 * gst/base/gstcollectpads.h:
11345 fix doc typos, update docs
11347 2005-11-22 Wim Taymans <wim@fluendo.com>
11349 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11350 (gst_base_sink_wait), (gst_base_sink_do_sync),
11351 (gst_base_sink_handle_event):
11352 * gst/base/gstbasesink.h:
11353 No need to store the clock, the parent element class already
11356 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11357 Updates for clock_set returning a gboolean
11359 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11360 (gst_clock_id_wait_async), (gst_clock_class_init),
11361 (gst_clock_init), (gst_clock_finalize),
11362 (gst_clock_get_internal_time), (gst_clock_get_time),
11363 (gst_clock_slave_callback), (gst_clock_set_master),
11364 (gst_clock_get_master), (do_linear_regression),
11365 (gst_clock_add_observation), (gst_clock_set_property),
11366 (gst_clock_get_property):
11368 Implement master/slave. When setting a clock as a slave, a
11369 periodic timeout is scheduled to sample master and slave times.
11370 Then the slave clock is recalibrated to match offset and rate
11371 of the master clock.
11372 Update logging a bit.
11373 Add flag so that a clock can state that is cannot be slaved to
11376 * gst/gstelement.c: (gst_element_set_clock):
11377 * gst/gstelement.h:
11378 The set clock returns a gboolean for when an element cannot
11379 deal with the selected clock in the pipeline.
11381 * gst/gstpipeline.c: (gst_pipeline_change_state),
11382 (gst_pipeline_set_clock):
11383 * gst/gstpipeline.h:
11384 Handle the case where the selected clock cannot be set on
11387 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11388 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11389 (gst_net_client_clock_set_property),
11390 (gst_net_client_clock_get_property),
11391 (gst_net_client_clock_observe_times):
11392 * gst/net/gstnetclientclock.h:
11393 Use regression code in GstClock parent, remove duplicated
11396 2005-11-22 Michael Smith <msmith@fluendo.com>
11398 * gst/gstutils.c: (gst_util_clock_time_scale):
11400 * docs/gst/gstreamer-sections.txt:
11401 Rename method to have extra underscore.
11403 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
11405 * gst/elements/Makefile.am:
11406 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11407 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11408 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11409 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11410 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11411 * gst/elements/gstfakesrc.h:
11412 * gst/gstqueue.c: (queue_leaky_get_type):
11413 correctly fix GEnumValues so that nick is the short lowercase
11415 * tools/gst-inspect.c: (print_element_properties_info):
11416 also show the nick, since it's useful to use from parse_launch
11420 2005-11-22 Michael Smith <msmith@fluendo.com>
11422 * gst/gstutils.c: (gst_util_clocktime_scale):
11424 * docs/gst/gstreamer-sections.txt:
11425 Add util method for scaling a clocktime by a fraction. Useful
11426 implementation is left as an exercise for the reader.
11428 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11430 * gst/gstvalue.c: (gst_value_collect_fraction_range):
11431 If needed, allocate storage in the destination value during
11434 2005-11-22 Edward Hervey <edward@fluendo.com>
11436 * docs/gst/gstreamer-sections.txt:
11439 * gst/gsturitype.c:
11440 * gst/gsturitype.h:
11441 * gst/gstutils.c: (gst_util_set_object_arg):
11442 * tools/gst-compprep.c: (main):
11443 * tools/gst-inspect.c: (print_element_properties_info):
11444 Removed GstURI, closes bug #321061
11446 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11448 * check/gst/gststructure.c: (GST_START_TEST):
11449 * gst/gststructure.c: (gst_structure_parse_value):
11450 Oops, broke automatic string type parsing.
11451 Add a test to catch it in future.
11453 2005-11-22 Andy Wingo <wingo@pobox.com>
11455 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
11456 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11457 Actually rename the function implementations. Grr.
11459 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11461 * check/gst/capslist.h:
11463 * check/gst/gststructure.c: (GST_START_TEST),
11464 (gst_structure_suite):
11465 Test automatic value type detection in gst_structure_from_string.
11466 * gst/gststructure.c: (gst_structure_parse_value):
11467 Add fraction as a type we try and guess automatically in
11468 caps/structure strings.
11470 2005-11-22 Andy Wingo <wingo@pobox.com>
11472 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11474 * gst/gsttagsetter.h:
11475 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11476 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11477 (gst_tag_setter_add_tag_valist)
11478 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11479 _add_values, _add_valist, and _add_valist_values. Since this is an
11480 interface the function suffixes should be more explicit so
11481 language binding don't end up with element.add_valist ->
11482 gst_tag_setter_add_valist, for example. Fixes #322069.
11484 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11486 * check/gst/gstcaps.c: (GST_START_TEST):
11487 Extend caps string tests to check that a caps to string
11488 conversion is reversible and produces the same caps.
11490 * gst/gststructure.c: (gst_structure_value_get_generic_type):
11491 Output "fraction" as the generic type fraction range, so caps
11492 serialisation and deserialisation works.
11493 * check/gst/capslist.h:
11494 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11495 Support 'MIN' and 'MAX' for deserialising fractions.
11497 2005-11-22 Andy Wingo <wingo@pobox.com>
11499 * gst/gstevent.h (gst_event_new_new_segment)
11500 (gst_event_parse_new_segment, gst_event_new_buffer_size)
11501 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11502 Renamed from *_newsegment, *_buffersize, *_notarget.
11504 * scripts/update-funcnames: New script, performs the changes
11507 2005-11-22 Wim Taymans <wim@fluendo.com>
11509 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11510 Make sure the GstFlowReturn is returned.
11512 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11513 (gst_bus_add_signal_watch):
11515 add gst_bus_add_signal_watch_full.
11517 * gst/gstplugin.c: (gst_plugin_load_file):
11518 Small style cleanup.
11520 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11522 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11523 Block the fakesrc srcpad when we send an event, to avoid
11524 contention on the stream_lock causing random test failures.
11526 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11528 * check/gst/gstvalue.c: (GST_START_TEST):
11529 * gst/gstvalue.c: (gst_value_fraction_subtract):
11532 2005-11-22 Stefan Kost <ensonic@users.sf.net>
11535 include "gstchildproxy.h"
11536 * gst/gstchildproxy.h:
11537 * libs/gst/controller/gstcontroller.h:
11538 use G_GNUC_NULL_TERMINATED
11540 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11542 * check/gst/capslist.h:
11543 * check/gst/gstcaps.c: (GST_START_TEST):
11544 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11545 * gst/gststructure.c: (gst_structure_parse_range),
11546 (gst_structure_fixate_field_nearest_fraction):
11547 * gst/gststructure.h:
11548 * gst/gstvalue.c: (gst_value_init_fraction_range),
11549 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11550 (gst_value_collect_fraction_range),
11551 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11552 (gst_value_set_fraction_range_full),
11553 (gst_value_get_fraction_range_min),
11554 (gst_value_get_fraction_range_max),
11555 (gst_value_serialize_fraction_range),
11556 (gst_value_transform_fraction_range_string),
11557 (gst_value_compare_fraction_range),
11558 (gst_value_deserialize_fraction_range),
11559 (gst_value_intersect_fraction_fraction_range),
11560 (gst_value_intersect_fraction_range_fraction_range),
11561 (gst_value_subtract_fraction_fraction_range),
11562 (gst_value_subtract_fraction_range_fraction),
11563 (gst_value_subtract_fraction_range_fraction_range),
11564 (gst_value_collect_fraction), (gst_value_fraction_multiply),
11565 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11566 (gst_value_transform_string_fraction), (_gst_value_initialize):
11568 Implement fraction ranges and extend GstFraction to support
11569 arithmetic subtraction, as well as deserialization from integer
11570 strings such as "100"
11571 Add a testsuite as for int and double range set operations
11573 2005-11-21 Andy Wingo <wingo@pobox.com>
11575 * gst/gsttaglist.h:
11577 * gst/gststructure.h: Add glib-compat.h.
11579 2005-11-21 Wim Taymans <wim@fluendo.com>
11581 * gst/gstbin.c: (gst_bin_change_state_func):
11584 2005-11-21 Wim Taymans <wim@fluendo.com>
11586 * gst/gstsegment.h:
11587 And add a nice define too.
11589 2005-11-21 Wim Taymans <wim@fluendo.com>
11591 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11592 (gst_segment_new), (gst_segment_free), (gst_segment_init),
11593 (gst_segment_set_duration), (gst_segment_set_last_stop),
11594 (gst_segment_set_seek), (gst_segment_set_newsegment),
11595 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11596 (gst_segment_clip):
11597 * gst/gstsegment.h:
11598 Make binding friendly.
11600 2005-11-21 Andy Wingo <wingo@pobox.com>
11602 * gst/gsttagsetter.h:
11603 * gst/gsttaglist.h:
11604 * gst/gststructure.h:
11606 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11609 * gst/gsterror.c (_gst_core_errors_init):
11610 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11613 * gst/Makefile.am (gst_headers): Add glib-compat.h.
11614 (noinst_HEADERS): noinst the -private.
11616 2005-11-21 Michael Smith <msmith@fluendo.com>
11619 * gst/gstregistry.h:
11620 Remove unimplemented declarations for which we can see no sensible
11623 2005-11-21 Andy Wingo <wingo@pobox.com>
11625 * gst/gst.h: Include glib-compat.h.
11627 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11629 * gst/glib-compat.c: Include the public and the private header.
11631 * gst/glib-compat-private.h: Copied here from glib-compat.h.
11635 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11637 * check/gst/gstevent.c (create_custom_events): Check that
11638 FLUSH_STOP is serialized.
11640 * check/elements/identity.c (event_func):
11641 * check/elements/fakesrc.c (event_func): No stream lock, the core
11644 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11645 stream lock taking, yay.
11647 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11648 ensure that core takes the stream lock.
11650 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11653 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11654 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11655 it already. For the flush start we do take it though so we get the
11656 right preroll state change messages.
11658 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11659 the stream lock here, the core does it for us.
11661 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11662 GST_STREAM_GET_LOCK.
11663 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
11664 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
11665 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11666 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11667 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
11668 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11670 * gst/gstpad.c: Update for stream lock name change.
11672 * gst/base/gstbasesink.c: Update for preroll lock name change.
11674 2005-11-21 Wim Taymans <wim@fluendo.com>
11676 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11677 (gst_clock_get_master):
11679 * gst/gstsystemclock.c: (gst_system_clock_init):
11680 Convert Clock flags to object flags.
11681 Added methods to manage master/slave clocks.
11683 2005-11-21 Wim Taymans <wim@fluendo.com>
11685 * check/gst/gstsegment.c: (GST_START_TEST):
11686 * docs/design/part-TODO.txt:
11687 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11688 (gst_base_sink_event), (gst_base_sink_do_sync),
11689 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11690 (gst_base_sink_query), (gst_base_sink_change_state):
11691 * gst/base/gstbasesink.h:
11692 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11693 (gst_base_src_default_newsegment),
11694 (gst_base_src_configure_segment), (gst_base_src_do_seek),
11695 (gst_base_src_get_range), (gst_base_src_loop),
11696 (gst_base_src_change_state):
11697 * gst/base/gstbasesrc.h:
11698 * gst/base/gstbasetransform.c:
11699 (gst_base_transform_prepare_output_buf),
11700 (gst_base_transform_event), (gst_base_transform_change_state):
11701 * gst/base/gstbasetransform.h:
11702 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11703 (gst_collect_pads_event):
11704 * gst/base/gstcollectpads.h:
11705 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11706 (gst_fake_src_create):
11707 * gst/elements/gstfakesrc.h:
11708 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11709 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11710 (gst_segment_set_last_stop), (gst_segment_set_seek),
11711 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11712 (gst_segment_to_running_time), (gst_segment_clip):
11713 * gst/gstsegment.h:
11714 More segment updates, replace code in plugins with segment
11717 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11719 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11720 Don't ignore sscanf results
11722 2005-11-21 Andy Wingo <wingo@pobox.com>
11724 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11727 * *.c: Ran scripts/update-macros. Oh yes.
11729 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11730 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11733 * scripts/update-macros: New script. Run it on your files to
11734 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11737 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11739 * docs/gst/Makefile.am:
11740 * docs/gst/gstreamer-docs.sgml:
11741 * docs/gst/gstreamer-sections.txt:
11742 * docs/gst/gstreamer.types:
11744 more docs fixes, add new api to the docs
11746 2005-11-21 Andy Wingo <wingo@pobox.com>
11748 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11749 state_broadcast call.
11751 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11753 2005-11-21 Julien MOUTTE <julien@moutte.net>
11755 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11756 function calls for arrays.
11758 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11760 * docs/random/ensonic/media-device-daemon.txt:
11761 wild idea, can this be done?
11762 * docs/gst/gstreamer-sections.txt:
11767 * gst/gstpluginfeature.c:
11771 doc fixes and additions
11773 2005-11-21 Andy Wingo <wingo@pobox.com>
11775 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
11776 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
11777 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
11778 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11779 private to the basesrc implementation.
11781 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11782 behalf of event function if necessary. It should no longer be
11783 necessary to take the stream lock in pad's event functions. Fixes
11786 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11787 * docs/gst/gstreamer-sections.txt:
11788 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11789 (gst_structure_fixate_field_nearest_double),
11790 (gst_structure_fixate_field_boolean):
11791 * gst/gststructure.h:
11792 * win32/common/libgstreamer.def:
11793 * win32/gstreamer.def:
11795 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11798 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11800 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11801 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11802 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11803 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11804 (gst_fdsrc_uri_handler_init):
11805 * gst/elements/gstfdsrc.h:
11806 Port fd:// URI handler from 0.8 to fdsrc
11808 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11810 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11811 (gst_value_serialize_fourcc):
11813 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11814 consistent with our other format defines (#320324).
11816 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11818 * gst/gstvalue.c: (gst_value_is_fixed):
11819 Revert previous commit. Value lists are by definition
11820 not fixed, as they are a list of possible values.
11822 2005-11-21 Andy Wingo <wingo@pobox.com>
11824 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11825 during the stable series if we need it. Fixes #319178.
11827 * gst/gstevent.c (gst_event_new_filler): Removed.
11829 * check/gst/gstevent.c: Update comment about filler events.
11831 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11833 * gst/gstvalue.c: (gst_value_is_fixed):
11834 Should handle both value arrays and value lists.
11836 2005-11-21 Andy Wingo <wingo@pobox.com>
11838 patch by: Alessandro Dessina <alessandro nnva org>
11840 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11841 functions to access arrays. Fixes #321962.
11843 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11845 * docs/gst/gstreamer.types:
11846 gst_collectpads_get_type => gst_collect_pads_get_type.
11848 * gst/base/gstbasetransform.c:
11849 Remove unused SIGNAL_HANDOFF enum.
11851 2005-11-21 Andy Wingo <wingo@pobox.com>
11853 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11854 the event type (upstream, downstream, serialized). Renamed
11855 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11856 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11857 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11859 * gst/gstevent.c: Update for new CUSTOM event names.
11861 * check/gst/gstevent.c: Update check for new CUSTOM event names.
11864 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11867 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11869 * docs/gst/gstreamer-sections.txt:
11870 * win32/common/libgstbase.def:
11871 * win32/libgstbase.def:
11872 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11873 (gst_collect_pads_class_init), (gst_collect_pads_init),
11874 (gst_collect_pads_finalize), (gst_collect_pads_new),
11875 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11876 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11877 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11878 (gst_collect_pads_start), (gst_collect_pads_stop),
11879 (gst_collect_pads_peek), (gst_collect_pads_pop),
11880 (gst_collect_pads_available), (gst_collect_pads_read),
11881 (gst_collect_pads_flush), (gst_collect_pads_event),
11882 (gst_collect_pads_chain):
11883 * gst/base/gstcollectpads.h:
11884 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11885 unimplemented functions as unimplemented. Add padding to
11886 GstCollectData. (#320766, #320423)
11888 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11890 * gst/gstmessage.c:
11891 Improve docs for DURATION message (usage of duration parameter)
11894 2005-11-20 Wim Taymans <wim@fluendo.com>
11896 * check/Makefile.am:
11897 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11901 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11902 (gst_segment_set_seek), (gst_segment_set_newsegment),
11903 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11904 (gst_segment_clip):
11905 * gst/gstsegment.h:
11906 Added segment helper structure and methods. Not fully implemented
11908 Added segment check.
11910 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
11912 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11913 Add a deserialisation test for fractions
11914 * examples/metadata/read-metadata.c: (message_loop),
11915 (make_pipeline), (main):
11916 Fix up metadata reading sample.
11917 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11919 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11920 Don't try and fixate empty caps
11921 * gst/gst_private.h:
11922 Wrap in G_BEGIN_DECLS/G_END_DECLS
11923 * gst/gstvalue.c: (gst_value_collect_fraction),
11924 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11925 (gst_value_transform_string_fraction),
11926 (gst_value_compare_fraction):
11927 Add some extra guards to ensure that we don't end up
11928 with an invalid denominator of 0 in a gstfraction and
11929 that fractions always get reduced.
11931 2005-11-20 Wim Taymans <wim@fluendo.com>
11933 * docs/gst/gstreamer-sections.txt:
11935 * gst/gstelement.c:
11944 2005-11-20 Wim Taymans <wim@fluendo.com>
11946 * docs/design/part-TODO.txt:
11948 Make a proper enum of the flag.
11950 2005-11-19 Wim Taymans <wim@fluendo.com>
11952 * docs/design/part-TODO.txt:
11953 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11954 (gst_format_to_quark), (gst_format_register):
11956 * gst/gstquery.c: (_gst_query_initialize),
11957 (gst_query_type_get_name), (gst_query_type_to_quark),
11958 (gst_query_type_register):
11960 Add type to quark and type to string conversions.
11962 2005-11-19 Andy Wingo <wingo@pobox.com>
11964 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11967 2005-11-19 Wim Taymans <wim@fluendo.com>
11969 * docs/design/part-TODO.txt:
11970 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11971 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11972 (gst_bin_handle_message_func):
11974 Make message handling overridable.
11976 2005-11-19 Andy Wingo <wingo@pobox.com>
11978 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11981 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11983 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11984 is a GstClockTime. Fixes #321710.
11986 * gst/gstclock.h (GstClock): Remove offset property. Add
11987 internal_calibration and external_calibration. Fix padding. Pad
11988 also by GstClockTime so we don't run into problems.
11990 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11991 (gst_clock_get_rate_offset): Remove.
11992 (gst_clock_set_time_adjust): Remove. Fixes #321712.
11995 * gst/gstutils.c (g_static_rec_cond_wait)
11996 (g_static_rec_cond_timed_wait): Removed, no longer needed.
11998 * gst/gstbin.c: Remove terrible continue_state prototype.
12000 * gst/gstelement.h (gst_element_continue_state): Make public.
12002 * gst/gstelement.h:
12003 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
12004 by continue_state. Fixes #319389.
12006 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
12007 Really fixes #168438. However I don't see anywhere where the
12008 filter function is called... stupid GStreamer...
12010 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
12011 don't have a dispose function, so it won't get called when the
12012 object is unreffed, but oh well!
12014 * gst/gstindex.c (gst_index_set_filter_full): New API function,
12015 allows a destroy function to be set so user_data can be freed.
12017 (gst_index_set_filter): Call gst_index_set_filter_full.
12019 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
12021 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
12022 string should produce an error, given the lack of a way to
12023 represent NULL strings. Fixes #165650.
12026 * gst/gstvalue.c (gst_value_array_append_value)
12027 (gst_value_array_prepend_value, gst_value_array_get_size)
12028 (gst_value_array_get_value): New API, copied from
12029 gst_value_list_*, only operates on arrays.
12030 (gst_value_list_append_value, gst_value_list_prepend_value)
12031 (gst_value_list_concat, gst_value_list_get_size)
12032 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
12034 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
12035 init_list, because it works on both.
12036 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
12037 (gst_value_copy_list_or_array): Renamed from copy_list.
12038 (gst_value_free_list_or_array): Renamed from free_list.
12039 (gst_value_collect_list_or_array): Renamed from collect_list.
12040 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
12041 (gst_value_list_or_array_peek_pointer): Renamed from
12043 (_gst_value_array_value_table, _gst_value_list_value_table):
12044 Update value table functions.
12045 (gst_value_compare_list_or_array): Renamed from compare_list.
12047 * gsttaglist.h: Whoops, foreach function returns void. Also fix
12050 * gst/gsttaglist.c:
12051 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
12052 GstTagList*. Fixes #143472.
12054 * gst/gststructure.h: Clarify what the foreach/map functions can
12055 or can't do to their arguments.
12057 2005-11-18 Wim Taymans <wim@fluendo.com>
12059 * gst/gstclock.c: (gst_clock_set_calibration),
12060 (gst_clock_get_calibration):
12062 Calibration can be set with internal time equal to current
12065 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
12071 2005-11-18 Andy Wingo <wingo@pobox.com>
12074 * pkgconfig/gstreamer-net.pc.in:
12075 * pkgconfig/gstreamer-net-uninstalled.pc.in:
12076 * pkgconfig/Makefile.am: Add net pkgconfig files.
12078 2005-11-18 Stefan Kost <ensonic@users.sf.net>
12081 * gst/gstghostpad.c:
12087 2005-11-18 Andy Wingo <wingo@pobox.com>
12089 * gst/net/gstnetclientclock.c: Turn off debugging.
12091 * check/net/gstnetclientclock.c (test_functioning): Assert that the
12092 times connverge somewhat. Can't make a real test.
12094 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
12095 integer arithmetic. Return the minimum of the domain, which can be
12096 set as "internal" for gst_clock_set_calibration.
12097 (gst_net_client_clock_observe_times): Call _set_calibration.
12098 (gst_net_client_clock_new): Call _set_calibration instead of
12101 * check/net/gstnetclientclock.c (test_functioning): Use the right
12105 * gst/gstclock.c (gst_clock_get_calibration)
12106 (gst_clock_set_calibration): New functions, obsolete the ones I
12107 added yesterday. Doh. Precision issues mean we have to extrapolate
12108 from a point in the more recent past than 1970.
12109 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
12111 (gst_clock_adjust_unlocked): Use the right calibration data.
12113 2005-11-18 Edward Hervey <edward@fluendo.com>
12115 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12116 Also reset the ->current_* values in READY->PAUSED
12118 2005-11-18 Andy Wingo <wingo@pobox.com>
12120 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
12121 Whoops, check the right fd. Also add some debugging.
12122 (gst_net_client_clock_observe_times): Adjust for int64 offset.
12123 (do_linear_regression): Add a crapload of debugging. Subtract off
12124 the minimum values from the input series to discard unneeded bits.
12125 Use only int arithmetic. There is still double arithmetic when
12126 calculating the intercept that needs fixing. Return boolean to
12127 indicate success; FALSE would mean the domain or range is too
12128 great. Still needs fixes.
12130 2005-11-18 Wim Taymans <wim@fluendo.com>
12132 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12133 For the current position in stream time, we need to subtract
12136 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12137 Release lock before calling the callback function of async
12140 2005-11-18 Andy Wingo <wingo@pobox.com>
12142 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
12143 Port goes all the way to MAXUINT16.
12145 * gst/net/gstnettimeprovider.c: Make the port range the same as
12146 for the kernel: 0 assigns, otherwise ports are less than
12149 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
12152 * check/net/gstnetclientclock.c (test_functioning): Add the start
12155 2005-11-18 Wim Taymans <wim@fluendo.com>
12157 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12158 (gst_bin_remove_func), (bin_bus_handler):
12160 Removing a clock provider from a bin, triggers a clock lost message
12161 so that a new clock will be selected.
12162 Adding a clock to a bin triggers a clock provider message.
12163 Make sure we reselect a clock when we received a clock lost message.
12164 Keep a reference to the element that provided the clock.
12166 2005-11-18 Andy Wingo <wingo@pobox.com>
12168 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
12169 the clock initially so it produces values around the base time.
12170 (gst_net_client_clock_class_init): Typo fix.
12171 (gst_net_client_clock_thread): Add note on when the socket gets
12174 2005-11-17 Wim Taymans <wim@fluendo.com>
12176 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
12177 Free remote and local time arrays.
12179 2005-11-17 Wim Taymans <wim@fluendo.com>
12181 * gst/net/gstnetclientclock.c: (do_linear_regression),
12182 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
12183 Fix compilation, uninitialized vars and a forgotten continue.
12185 2005-11-17 Andy Wingo <wingo@pobox.com>
12187 * check/Makefile.am (check_PROGRAMS):
12188 * check/net/gstnetclientclock.c: Add a most minimal test for the
12189 net client clock. More to come later.
12191 * gst/net/gstnet.h:
12192 * gst/net/Makefile.am: Add netclientclock.
12194 * gst/net/gstnetclientclock.h:
12195 * gst/net/gstnetclientclock.c: New files, implement an untested
12196 GstClock that takes its time from a network time provider.
12197 Implements the algorithm in network-clock.scm.
12199 * tests/network-clock.scm (*window-size*): Rename from
12201 * tests/network-clock.scm (network-time):
12202 * tests/network-clock-utils.scm (q-push): Update callers.
12204 2005-11-17 Wim Taymans <wim@fluendo.com>
12206 * gst/gstbin.c: (gst_bin_provide_clock_func),
12207 (gst_bin_sort_iterator_new):
12208 And unref the child too..
12210 2005-11-17 Wim Taymans <wim@fluendo.com>
12212 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12213 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
12214 Refactor the sort iterator so it can be used while holding the
12216 Make clock selection select a clock closest to the source.
12218 2005-11-17 Michael Smith <msmith@fluendo.com>
12220 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
12221 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
12223 Anonymous structs are a gcc (and some other compilers) extension, so
12224 don't use them. Since this is only for ABI-compatibility, and our
12225 API/ABI freeze is over in a few days, this whole thing will only
12226 last a few days, so don't bother trying to think up a meaningful
12227 name for the struct.
12229 2005-11-17 Andy Wingo <wingo@pobox.com>
12231 * gst/gstclock.h (GstClock): Add rate and offset properties,
12232 preserving ABI stability. Add rate/offset accessors. Will file bug
12233 for the freeze break.
12235 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
12236 and offset, trying to keep precision and avoiding
12237 underflow/overflow.
12238 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
12239 functions. Make gst_clock_set_time_adjust obsolete.
12240 (gst_clock_set_time_adjust): Note that this function is obsolete.
12241 Will file bug soon.
12243 * gst/base/gstbasetransform.h: Make the ABI-stability hack
12244 greppable by using GST_PADDING-1+1.
12246 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
12248 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12250 * gst/gstmessage.c: (gst_message_parse_clock_lost):
12251 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12253 * gst/gstpadtemplate.h:
12254 * gst/gstpluginfeature.h:
12255 Don't use c++ style comments in headers (#321638).
12257 2005-11-16 Andy Wingo <wingo@pobox.com>
12259 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12262 * check/net/gstnettimeprovider.c: Check to see that the time
12263 provider actually provides times. Works, yo!
12265 2005-11-16 Wim Taymans <wim@fluendo.com>
12267 * check/Makefile.am:
12270 * check/elements/fakesrc.c: (GST_START_TEST):
12271 Set element to NULL before disposing it.
12273 2005-11-16 Andy Wingo <wingo@pobox.com>
12275 * gst/net/Makefile.am:
12276 * gst/net/gstnet.h:
12277 * gst/net/gstnettimeprovider.c:
12278 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12279 provider, include it from gstnet.h, and add it to the build.
12281 * gst/net/gstnettimepacket.h:
12282 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12283 sending and receiving.
12285 2005-11-16 Wim Taymans <wim@fluendo.com>
12287 * check/Makefile.am:
12288 Enable valgrind check.
12290 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12291 (gst_fake_src_alloc_buffer):
12294 2005-11-16 Wim Taymans <wim@fluendo.com>
12296 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12297 Call parent finalize too.
12299 2005-11-16 Wim Taymans <wim@fluendo.com>
12301 * check/Makefile.am:
12302 Enable valgrind check that should work fine now.
12304 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12305 * gst/gstqueue.c: (gst_queue_init):
12306 Fix memleaks in pad allocation.
12308 2005-11-16 Andy Wingo <wingo@pobox.com>
12310 * gst/net/Makefile.am:
12311 * gst/net/gstnet.h: New part of core to hold network elements and
12312 objects. Put in core because it exposes API that applications want
12313 to use. The library is named libgstnet-tempname right now because
12314 of the existing libgstnet in gst-plugins-base. Solution is
12315 probably to rename the one in plugins-base; will file a bug for
12318 * gst/net/gstnettimeprovider.c:
12319 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12320 get_time call over the network.
12323 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12325 * check/Makefile.am:
12326 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12327 get additions shortly.
12329 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12331 * gst/gstpad.c: (gst_pad_new_from_static_template):
12333 add gst_pad_new_from_static_template functions
12334 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12335 (gst_check_setup_sink_pad):
12336 * gst/elements/gsttee.c: (gst_tee_init):
12339 2005-11-16 Wim Taymans <wim@fluendo.com>
12341 * gst/gstpad.c: (gst_pad_pause_task):
12342 Removed warning, it's not really an error either.
12344 2005-11-16 Wim Taymans <wim@fluendo.com>
12346 * gst/base/gstbasetransform.c:
12347 (gst_base_transform_prepare_output_buf),
12348 (gst_base_transform_event):
12349 Check if the caps are NULL, this can happen if the element
12350 is shutting down and the pad caps are set to NULL.
12352 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12354 * gst/elements/gsttee.c: (gst_tee_init):
12355 fix pad template leak in tee
12357 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12359 * gst/glib-compat.c: (g_value_dup_gst_object):
12360 * gst/glib-compat.h:
12361 * gst/gstpad.c: (gst_pad_set_property):
12362 use gst_object_ref when setting the pad template; this will
12363 trigger the pad template leaks on GLib 2.6 and the slaves
12365 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12367 * gst/glib-compat.c: (gst_flags_get_first_value):
12368 * gst/glib-compat.h:
12369 * gst/gstregistryxml.c:
12370 remove functions copied from GLib 2.6
12372 2005-11-16 Michael Smith <msmith@fluendo.com>
12375 Don't link against VALGRIND_LIBS. That was always the wrong thing to
12376 do, but only breaks with newer valgrind versions. We're not a
12377 valgrind tool, we have no link-time dependencies on libcoregrind.
12379 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12381 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12383 * gst/gstmessage.h:
12386 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12388 * gst/base/gstbasesrc.c: (gst_base_src_init):
12389 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12390 * gst/gstqueue.c: (gst_queue_init):
12391 * gst/gstregistryxml.c: (load_feature):
12392 Revert all these unrefs, they don't even pass make check !
12394 2005-11-15 Johan Dahlin <johan@gnome.org>
12396 * gst/base/gstbasesrc.c: (gst_base_src_init):
12397 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12398 * gst/gstqueue.c: (gst_queue_init):
12399 Free pad templates, fixes a couple of leaks.
12401 2005-11-15 Daniel Fischer <dan at f3c dot com>
12403 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12405 * gst/gstpad.c: (gst_pad_get_property):
12406 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12407 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12410 2005-11-15 Wim Taymans <wim@fluendo.com>
12415 2005-11-15 Andy Wingo <wingo@pobox.com>
12417 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12419 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12420 using GST_CLOCK_TIME_NONE to disable base time management.
12421 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12422 time if it was NONE before.
12423 (gst_pipeline_change_state): Only munge the base time if
12424 stream_time != GST_CLOCK_TIME_NONE.
12426 * check/gst/gstpipeline.c (test_base_time): Punt around the
12427 problem of the probe not being called, because that's not the
12428 issue I'm looking at. Add a check that setting stream_time to NONE
12429 disables base time management.
12431 2005-11-15 Wim Taymans <wim@fluendo.com>
12433 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12434 segment_stop == -1 at startup.
12436 * gst/base/gstbasetransform.c: (gst_base_transform_event),
12437 (gst_base_transform_change_state):
12438 Init segment values at start.
12440 2005-11-15 Wim Taymans <wim@fluendo.com>
12442 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12443 0 segment values are 0 in any format.
12445 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12446 * gst/base/gstbasetransform.h:
12447 Parse newsegment correctly in basetransform
12449 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12450 Sync to clock using updated segment values.
12452 2005-11-15 Andy Wingo <wingo@pobox.com>
12454 * check/gst/gstpipeline.c (test_base_time): Add check that the
12455 base time and stream time are reset correctly.
12457 2005-11-15 Wim Taymans <wim@fluendo.com>
12459 * docs/design/part-TODO.txt:
12460 Some more TODO items.
12462 2005-11-15 Andy Wingo <wingo@pobox.com>
12464 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12465 error if the user selected "no clock" as the clocking method.
12467 * check/gst/gstpipeline.c (test_base_time): New test for buffer
12468 timestamps with live capture.
12470 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12471 is 0 but we are a live source, timestamp the buffers using the
12474 2005-11-14 Stefan Kost <ensonic@users.sf.net>
12476 * docs/gst/gstreamer-sections.txt:
12478 * gst/gstghostpad.c:
12483 2005-11-14 Wim Taymans <wim@fluendo.com>
12486 add suppressions from Wim's Debian machine
12488 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
12491 add suppressions from Andy's AMD64 Ubuntu machine
12493 2005-11-14 Andy Wingo <wingo@pobox.com>
12495 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12496 STATE_LOCK not necessary. Fixes #311489.
12498 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12501 * gst/gstindex.c (gst_index_add_object): Note in the docs that
12502 this function is not implemented.
12504 2005-11-14 Julien MOUTTE <julien@moutte.net>
12506 * gst/base/gstbasetransform.c:
12507 (gst_base_transform_prepare_output_buf):
12508 Ref the source pad caps while we need them.
12511 2005-11-11 Wim Taymans <wim@fluendo.com>
12513 * docs/gst/gstreamer-sections.txt:
12514 Added some docs for GstCollectData.
12516 * gst/base/gstadapter.c:
12517 Some small code example fix.
12519 * gst/base/gstcollectpads.c:
12520 * gst/base/gstcollectpads.h:
12521 Document some more.
12523 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12525 * configure.ac: back to HEAD
12527 === release 0.9.5 ===
12529 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12532 releasing 0.9.5, "Bike Lunch Day"
12534 2005-11-11 Wim Taymans <wim@fluendo.com>
12536 * gst/gstbuffer.c: (_gst_buffer_copy):
12539 * gst/gstcaps.c: (gst_caps_is_equal):
12541 Make _is_equal fast in the trivial cases.
12543 * gst/gstminiobject.c:
12544 * gst/gstminiobject.h:
12545 More docs. Spifify .h file.
12550 2005-11-11 Wim Taymans <wim@fluendo.com>
12552 * gst/base/gstbasetransform.c:
12553 (gst_base_transform_prepare_output_buf),
12554 (gst_base_transform_handle_buffer):
12556 If we're processing a buffer and need to allocate an output
12557 buffer, we cannot accept a format change. If we did get a
12558 format change, we have to alloc a buffer ourselves of the
12561 2005-11-11 Wim Taymans <wim@fluendo.com>
12563 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12564 While checking the flag for reentrancy in the gstcaps function
12565 is nice to detect recursive invocations, it also makes it
12566 impossible to call getcaps from multiple threads, which must be
12567 possible. So, checking for recursive calls has to go.
12569 2005-11-11 Michael Smith <msmith@fluendo.com>
12571 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12572 Don't sync on buffers that fall partially outside our current
12573 segment. Prevents an assertion failure/abort playing some files.
12575 2005-11-10 Andy Wingo <wingo@pobox.com>
12577 * check/gst/gstbin.c (test_message_state_changed_children): Style
12580 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12581 gst_bus_poll with the signal watch. Ensures that poll and a signal
12582 watch see the same messages.
12584 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12585 a poll and a watch at the same time get the same messages.
12587 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12589 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12590 * gst/gstcaps.c: (gst_caps_intersect):
12591 Don't call gst_caps_do_simplify - it doesn't respect order of caps
12592 and it's not needed.
12594 2005-11-10 Wim Taymans <wim@fluendo.com>
12596 * docs/design/part-TODO.txt:
12599 2005-11-10 Wim Taymans <wim@fluendo.com>
12601 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12602 * gst/base/gstbasesrc.c: (gst_base_src_wait),
12603 (gst_base_src_do_sync), (gst_base_src_get_range):
12604 Implement clock sync in base class.
12606 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12608 patch by: Tim-Philipp Müller <tim at centricular dot net>
12610 * gst/gststructure.c: (gst_structure_parse_field),
12611 (gst_structure_from_string):
12612 Forward-port a 0.8 patch to handle escaped spaces in structure string,
12613 so that gst_parse_launch() can deal with spaces in filtered link
12614 caps (fixes #164479)
12615 * check/gst/capslist.h:
12616 * check/gst/gststructure.c: (GST_START_TEST):
12617 add unit tests for this change
12619 2005-11-10 Wim Taymans <wim@fluendo.com>
12621 * docs/gst/gstreamer-sections.txt:
12622 * gst/gstelement.c:
12623 * gst/gstelement.h:
12624 Fix docs, move some STATE macros to private.
12626 2005-11-10 Wim Taymans <wim@fluendo.com>
12628 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12629 Added check for bug #317341
12633 Some more spiffifying.
12635 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12636 Call peer linkfunction if we are a source pad. Totally fixes
12640 Update docs, source pads should call the peer linkfunction
12641 so they can atomically perform the pad link.
12643 2005-11-09 Wim Taymans <wim@fluendo.com>
12647 Uber-spiffy-spiffify some more.
12649 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
12651 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12652 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12653 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12654 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12655 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12656 * gst/gstpad.c: (gst_pad_init):
12657 Use GST_DEBUG_FUNCPTR() more extensively.
12659 2005-11-09 Wim Taymans <wim@fluendo.com>
12661 * gst/gstobject.c: (gst_object_class_init):
12663 Documentation fixes.
12665 2005-11-09 Edward Hervey <edward@fluendo.com>
12667 * gst/gsttypefindfactory.c:
12670 2005-11-09 Edward Hervey <edward@fluendo.com>
12672 * gst/base/gsttypefindhelper.c:
12673 * gst/gsttypefind.c:
12674 * gst/gsttypefind.h:
12677 2005-11-09 Wim Taymans <wim@fluendo.com>
12679 * gst/gstiterator.c:
12686 2005-11-09 Wim Taymans <wim@fluendo.com>
12692 2005-11-09 Wim Taymans <wim@fluendo.com>
12694 * docs/gst/gstreamer-sections.txt:
12695 Moved the message async delivery private lock and cond
12696 to the private section.
12698 * gst/gstmessage.c:
12699 * gst/gstmessage.h:
12702 2005-11-09 Edward Hervey <edward@fluendo.com>
12704 * docs/gst/gstreamer-sections.txt:
12707 Document GstURIHandler
12709 2005-11-09 Wim Taymans <wim@fluendo.com>
12711 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12712 (gst_iterator_find_custom):
12713 * gst/gstiterator.h:
12716 2005-11-09 Wim Taymans <wim@fluendo.com>
12719 Document another field.
12721 * gst/gststructure.c:
12722 * gst/gststructure.h:
12725 2005-11-09 Wim Taymans <wim@fluendo.com>
12728 Documented structs.
12730 2005-11-09 Wim Taymans <wim@fluendo.com>
12732 * docs/gst/gstreamer-sections.txt:
12733 Added some new macros.
12740 2005-11-09 Wim Taymans <wim@fluendo.com>
12742 * docs/design/part-TODO.txt:
12743 Some more items for the TODO
12749 2005-11-09 Andy Wingo <wingo@pobox.com>
12751 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12752 to work on something else now tho...
12754 * gst/base/gstadapter.c: More adapter docs.
12756 * gst/elements/gstfilesink.c (gst_file_sink_start)
12757 (gst_file_sink_stop): New functions, replace the state change
12759 (gst_file_sink_class_init): Hook up the start and stop functions.
12760 (gst_file_sink_base_init): Don't set the state change handler any
12761 more. It was a bit ugly too, being set from here...
12762 (gst_file_sink_get_property, gst_file_sink_set_property):
12764 (gst_file_sink_set_location): More robust check that doesn't call
12765 GST_STATE. Ugggggg.
12767 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
12769 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12770 Hold STREAM_LOCK while pushing newsegment or tag events as well.
12772 2005-11-08 Wim Taymans <wim@fluendo.com>
12774 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12775 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12776 (gst_base_sink_chain), (gst_base_sink_change_state):
12777 * gst/base/gstbasesink.h:
12778 * gst/base/gstbasesrc.h:
12779 * gst/gstelement.h:
12781 Avoid excessive typechecking in macros.
12783 * gst/gstminiobject.c: (gst_mini_object_get_type),
12784 (gst_mini_object_init), (gst_mini_object_new),
12785 (gst_mini_object_free):
12786 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12787 (gst_object_finalize):
12788 Remove cruft code, optimize alloc_trace.
12790 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
12792 * docs/faq/gst-uninstalled:
12793 fix up PS1 for systems that try to reset it
12795 2005-11-07 Wim Taymans <wim@fluendo.com>
12797 * gst/base/gstbasesrc.c: (gst_base_src_init),
12798 (gst_base_src_get_range):
12799 Set the segment_end to -1 initially. Fixed typefind.
12801 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
12803 * gst/base/gstadapter.c:
12804 Debug category should be 'adapter', not 'GstAdapter'.
12806 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12807 (gst_collectpads_class_init), (gst_collectpads_init),
12808 (gst_collectpads_peek), (gst_collectpads_pop),
12809 (gst_collectpads_event), (gst_collectpads_chain):
12810 Add debug category and some debugging output. Use boilerplate
12811 macros. Remove some extraneous words from docs.
12813 2005-11-05 Andy Wingo <wingo@pobox.com>
12815 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12818 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12820 * docs/gst/gstreamer-sections.txt:
12823 * gst/gstminiobject.h:
12828 2005-11-04 Wim Taymans <wim@fluendo.com>
12830 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12831 Small update to stop at the configured segment_end
12834 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12836 * gst/gstregistry.c:
12837 * gst/gstregistry.h:
12840 2005-11-04 Edward Hervey <edward@fluendo.com>
12842 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12843 Check if we are doing a segment seek and have arrived at the
12844 end of that segment.
12846 2005-11-04 Wim Taymans <wim@fluendo.com>
12848 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12849 Don't leak a mutex unlock in case of an error.
12854 2005-11-04 Wim Taymans <wim@fluendo.com>
12856 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12858 Get the context to wake up only once.
12860 2005-11-03 Wim Taymans <wim@fluendo.com>
12862 * check/states/sinks.c: (GST_START_TEST):
12863 Uncomment fixed check.
12865 * docs/design/part-TODO.txt:
12868 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12869 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12870 (gst_base_sink_get_position):
12871 If we are going to PLAYING, post the right pending state
12872 when we post the intermediate paused message.
12874 * gst/gstelement.c: (gst_element_continue_state),
12875 (gst_element_set_state_func), (gst_element_change_state):
12876 Don't post state changes that were between the same state
12877 and were not ASYNC.
12879 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12881 * docs/gst/gstreamer-sections.txt:
12884 * gst/gstminiobject.h:
12887 more docs and doc style fixes
12889 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12891 * docs/gst/gstreamer-sections.txt:
12892 * gst/gstelement.c:
12893 * gst/gstminiobject.c:
12896 2005-11-03 Andy Wingo <wingo@pobox.com>
12898 * check/states/sinks.c (test_livesrc_sink): Add checks that the
12899 state-changed messages actually have the right order and the right
12902 2005-11-03 Wim Taymans <wim@fluendo.com>
12904 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12905 Added some more checks. Specifically the case where NO_PREROLL
12906 elements are in the pipeline.
12908 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12909 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12910 (gst_base_sink_get_position):
12911 Post READY->PAUSED state change messages too.
12912 Fix bug where VOID was posted as pending state...
12914 * gst/gstbin.c: (gst_bin_recalc_state):
12915 use _element_continue_state() to continue the state change.
12917 * gst/gstelement.c: (gst_element_continue_state),
12918 (gst_element_commit_state), (gst_element_set_state_func),
12919 (gst_element_change_state), (gst_element_change_state_func):
12920 Lots of state change cleanups, assign the STATE_RETURN in
12921 a new continue_state() function that also propagates the
12922 last return value from a state change to the app.
12923 Update some debug statements with proper category.
12925 2005-11-03 Wim Taymans <wim@fluendo.com>
12927 * docs/design/part-events.txt:
12928 * docs/design/part-gstpipeline.txt:
12929 * docs/design/part-messages.txt:
12930 * docs/design/part-overview.txt:
12931 * docs/design/part-seeking.txt:
12932 * docs/design/part-states.txt:
12933 * docs/design/part-trickmodes.txt:
12934 * docs/manual/advanced-position.xml:
12935 Small docs updates.
12938 People think !! is ugly, this looks better.
12940 * gst/gstpad.c: (gst_pad_set_blocked_async):
12941 Remove !! since it's fixed elsewhere now.
12943 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12945 * gst/gstminiobject.h:
12947 Add !! to _FLAG_IS_SET macros to make the result boolean.
12949 2005-11-03 Edward Hervey <edward@fluendo.com>
12951 * gst/gstpad.c: (gst_pad_set_blocked_async):
12952 comparing a flag and a gboolean rarely returns coherent results...
12953 Added two characters (!!) to make that work correctly.
12955 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12957 * gst/gstbus.c: (gst_bus_class_init):
12960 * gst/gstqueue.c: (gst_queue_loop):
12961 Don't assume a miniobject that isn't a buffer is an
12962 event (it could be that there is a refcounting
12963 problem somewhere and the pointer is stale and
12964 refers to an already destroyed miniobject).
12966 2005-11-03 Julien MOUTTE <julien@moutte.net>
12968 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12970 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12972 * docs/manual/advanced-position.xml:
12973 Update seek example and explanations to current 0.9 API.
12975 * gst/elements/gsttypefindelement.c:
12976 (gst_type_find_element_activate):
12977 Remove FIXME comment now that the found caps
12980 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
12982 * gst/gstregistryxml.c: (load_feature):
12983 Add another GST_STR_NULL instance
12985 2005-11-02 Edward Hervey <edward@fluendo.com>
12987 * gst/gstpad.c: (handle_pad_block):
12988 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12990 2005-11-02 Wim Taymans <wim@fluendo.com>
12995 * gst/gstelement.c: (gst_element_commit_state):
12996 Remove unused value.
12998 * gst/gstiterator.c:
12999 Mention that the returned element is reffed in the docs.
13001 2005-11-02 Wim Taymans <wim@fluendo.com>
13003 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
13004 (gst_pad_push), (gst_pad_push_event):
13005 Unlock blocked pads when they are flushed.
13007 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13010 * docs/gst/gstreamer-sections.txt:
13013 * gst/gstregistry.c: (gst_registry_scan_path_level):
13014 fix for a nasty little missed situation where an installed plug-in
13015 which was in the cache did not get overridden by an uninstalled one
13016 which was earlier in the plugin path because the newly created plugin
13017 for the uninstalled one (not in the registry) didn't get its
13018 ->registered set to TRUE
13020 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
13022 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
13023 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
13024 (gst_collectpads_is_active), (gst_collectpads_collect),
13025 (gst_collectpads_collect_range), (gst_collectpads_start),
13026 (gst_collectpads_stop), (gst_collectpads_peek),
13027 (gst_collectpads_pop), (gst_collectpads_available),
13028 (gst_collectpads_read), (gst_collectpads_flush):
13029 Guard public API with assertions.
13032 Fix docs for gst_pad_set_link_function().
13034 2005-11-02 Johan Dahlin <johan@gnome.org>
13036 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
13037 Unref found_caps after we used it.
13039 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
13041 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
13042 Don't try to ref NULL.
13044 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13046 * win32/common/config.h.in:
13047 provide a GST_FUNCTION that just gives a string for now
13049 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
13051 * win32/common/gstenumtypes.c: (register_gst_object_flags),
13052 (gst_object_flags_get_type), (register_gst_bin_flags),
13053 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13054 (gst_buffer_flag_get_type), (register_gst_bus_flags),
13055 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13056 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
13057 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13058 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13059 (gst_clock_flags_get_type), (register_gst_state),
13060 (gst_state_get_type), (register_gst_state_change_return),
13061 (gst_state_change_return_get_type), (register_gst_state_change),
13062 (gst_state_change_get_type), (register_gst_element_flags),
13063 (gst_element_flags_get_type), (register_gst_core_error),
13064 (gst_core_error_get_type), (register_gst_library_error),
13065 (gst_library_error_get_type), (register_gst_resource_error),
13066 (gst_resource_error_get_type), (register_gst_stream_error),
13067 (gst_stream_error_get_type), (register_gst_event_type),
13068 (gst_event_type_get_type), (register_gst_seek_type),
13069 (gst_seek_type_get_type), (register_gst_seek_flags),
13070 (gst_seek_flags_get_type), (register_gst_format),
13071 (gst_format_get_type), (register_gst_index_certainty),
13072 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13073 (gst_index_entry_type_get_type),
13074 (register_gst_index_lookup_method),
13075 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13076 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13077 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13078 (gst_index_flags_get_type), (register_gst_debug_level),
13079 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13080 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13081 (gst_iterator_result_get_type), (register_gst_iterator_item),
13082 (gst_iterator_item_get_type), (register_gst_message_type),
13083 (gst_message_type_get_type), (register_gst_mini_object_flags),
13084 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13085 (gst_pad_link_return_get_type), (register_gst_flow_return),
13086 (gst_flow_return_get_type), (register_gst_activate_mode),
13087 (gst_activate_mode_get_type), (register_gst_pad_direction),
13088 (gst_pad_direction_get_type), (register_gst_pad_flags),
13089 (gst_pad_flags_get_type), (register_gst_pad_presence),
13090 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13091 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13092 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13093 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13094 (gst_plugin_flags_get_type), (register_gst_rank),
13095 (gst_rank_get_type), (register_gst_query_type),
13096 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13097 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13098 (gst_tag_flag_get_type), (register_gst_task_state),
13099 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13100 (gst_alloc_trace_flags_get_type),
13101 (register_gst_type_find_probability),
13102 (gst_type_find_probability_get_type), (register_gst_uri_type),
13103 (gst_uri_type_get_type), (register_gst_parse_error),
13104 (gst_parse_error_get_type):
13105 * win32/common/gstversion.h:
13106 update win32 copies
13108 2005-11-01 Luca Ognibene <luogni@tin.it>
13111 fix docs. popt is dead, long live GOption.
13113 2005-10-31 Wim Taymans <wim@fluendo.com>
13118 2005-10-31 Andy Wingo <wingo@pobox.com>
13122 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
13124 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
13125 need to serialize property notifications on GLib 2.8. GLib 2.6 has
13126 the possibility of deadlocks here if code calling notify() or
13127 set() has a lock that can be taken in another notify handler (ABBA
13128 with class lock and e.g. python GIL state lock).
13130 2005-10-28 Julien MOUTTE <julien@moutte.net>
13132 * gst/gstbus.c: Doc updates.
13134 2005-10-28 Wim Taymans <wim@fluendo.com>
13136 * docs/design/part-TODO.txt:
13137 * gst/gstiterator.c:
13138 * gst/gstsystemclock.c:
13139 * gst/gstsystemclock.h:
13142 2005-10-28 Edward Hervey <edward@fluendo.com>
13144 * docs/gst/gstreamer-docs.sgml:
13145 * docs/gst/gstreamer-sections.txt:
13146 the GstURIType documentation page is private, it only defines GstURIType
13147 which should be defined in the GstURIHandler page
13149 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
13151 * gst/gstbin.c: (gst_bin_class_init):
13154 Documentation updates.
13156 2005-10-28 Wim Taymans <wim@fluendo.com>
13158 * docs/gst/gstreamer-sections.txt:
13161 Documented the clocks.
13163 2005-10-28 Stefan Kost <ensonic@users.sf.net>
13165 * docs/gst/gstreamer-sections.txt:
13166 move some macros to private sections
13167 * gst/gstminiobject.c:
13168 * gst/gstminiobject.h:
13169 add descriptions provided by ds and some more
13171 mark macro as to be removed
13173 2005-10-28 Wim Taymans <wim@fluendo.com>
13175 * docs/design/part-TODO.txt:
13176 Add an item to TODO.
13178 * gst/gstiterator.c: (gst_iterator_fold),
13179 (gst_iterator_find_custom):
13180 * gst/gstiterator.h:
13183 2005-10-28 Wim Taymans <wim@fluendo.com>
13185 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13186 (gst_base_transform_init):
13189 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
13190 An EOS event marks the queue as completely filled.
13192 2005-10-27 Wim Taymans <wim@fluendo.com>
13194 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13195 (gst_base_sink_do_sync), (gst_base_sink_get_position):
13196 Some more debugging.
13198 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
13199 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
13200 (gst_base_transform_event), (gst_base_transform_getrange),
13201 (gst_base_transform_chain):
13202 * gst/base/gstbasetransform.h:
13204 Protect transform and concurrent buffer alloc with a new lock.
13205 Try not to break ABI/API.
13207 2005-10-27 Wim Taymans <wim@fluendo.com>
13209 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13210 (gst_base_src_init), (gst_base_src_query),
13211 (gst_base_src_default_newsegment),
13212 (gst_base_src_configure_segment), (gst_base_src_do_seek),
13213 (gst_base_src_send_event), (gst_base_src_event_handler),
13214 (gst_base_src_pad_get_range), (gst_base_src_loop),
13215 (gst_base_src_unlock), (gst_base_src_default_negotiate),
13216 (gst_base_src_start), (gst_base_src_deactivate),
13217 (gst_base_src_activate_push), (gst_base_src_change_state):
13218 Move some stuff around and cleanup things.
13220 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
13222 * gst/base/gstbasesrc.c: (gst_base_src_query):
13223 Add missing break statements.
13225 2005-10-27 Wim Taymans <wim@fluendo.com>
13227 * check/gst/gstbin.c: (GST_START_TEST):
13228 An extra refcount is taken in basesrc.
13230 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13231 (gst_base_src_get_range), (gst_base_src_pad_get_range),
13232 (gst_base_src_loop):
13233 Small cleanups, check for flushing after being unlocked from the
13234 LIVE_LOCK. take refcounts correctly (not yet everywhere).
13235 Don't send out EOS when going to READY.
13237 2005-10-27 Wim Taymans <wim@fluendo.com>
13239 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13240 (gst_base_sink_get_position):
13243 * gst/gstbin.c: (message_check), (bin_replace_message),
13244 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13245 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13246 (bin_query_duration_init), (bin_query_duration_fold),
13247 (bin_query_duration_done), (bin_query_generic_fold),
13249 * tools/gst-launch.c: (main):
13252 2005-10-26 Stefan Kost <ensonic@users.sf.net>
13254 * examples/controller/audio-example.c: (main):
13255 * examples/queue/queue.c: (event_loop):
13256 * gst/base/gstbasetransform.h:
13257 * gst/gstelement.c: (gst_element_send_event):
13259 * gst/gstpad.c: (gst_pad_send_event):
13262 changing log priority in error situations
13264 2005-10-25 Wim Taymans <wim@fluendo.com>
13266 * gst/gstbin.c: (message_check), (bin_replace_message),
13267 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13268 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13269 (bin_query_duration_init), (bin_query_duration_fold),
13270 (bin_query_duration_done), (bin_query_generic_fold),
13272 Some doc and debug updates.
13273 Cache previously requested query DURATION for speed. invalidate
13274 cached duration if element posts a DURATION message.
13276 2005-10-25 Wim Taymans <wim@fluendo.com>
13278 * docs/design/part-TODO.txt:
13281 * gst/gstbin.c: (message_check), (bin_replace_message),
13282 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13283 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13284 (bin_query_duration_init), (bin_query_duration_fold),
13285 (bin_query_duration_done), (bin_query_generic_fold),
13287 Handle SEGMENT_START/DONE messages correctly.
13288 More evolved query algorithm that handles duration queries
13291 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13292 (gst_element_get_state_func), (gst_element_abort_state),
13293 (gst_element_commit_state), (gst_element_lost_state):
13294 Some more debugging.
13296 * gst/gstmessage.h:
13299 2005-10-25 Wim Taymans <wim@fluendo.com>
13301 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13302 Don't use invalid stream_time.
13304 * gst/gstevent.c: (gst_event_new_newsegment):
13305 stream_time in newsegment cannot be undefined.
13307 2005-10-24 Wim Taymans <wim@fluendo.com>
13312 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13314 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13316 2005-10-24 Stefan Kost <ensonic@users.sf.net>
13318 * docs/libs/tmpl/gstdparam.sgml:
13319 * docs/libs/tmpl/gstdplinint.sgml:
13320 * docs/libs/tmpl/gstdpman.sgml:
13321 * docs/libs/tmpl/gstdpsmooth.sgml:
13322 * docs/libs/tmpl/gstunitconvert.sgml:
13325 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
13330 === release 0.9.4 ===
13332 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13335 releasing 0.9.4, "Tyrannosaurus Rex"
13337 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
13339 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13340 (gst_file_sink_get_current_offset):
13341 Use fseeko() and ftello() if available. When falling back on
13342 lseek() to get the current offset, fflush() first to make sure
13343 everything is up-to-date and we get the right offset.
13345 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13347 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13348 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13349 * gst/gsterror.c: (_gst_stream_errors_init):
13351 * gst/gstqueue.c: (gst_queue_loop):
13353 remove prematurely added error category and clean up the instances
13355 2005-10-21 Wim Taymans <wim@fluendo.com>
13357 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13358 (gst_base_sink_get_position), (gst_base_sink_query),
13359 (gst_base_sink_change_state):
13360 Simply set the right flag when going to playing, that's all
13361 we need to do instead of calling a function inside the object
13362 lock (that could take the lock as well and deadlock)
13364 2005-10-21 Wim Taymans <wim@fluendo.com>
13366 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13367 (gst_base_src_loop):
13368 Don't warn, the peer element knows what to do best when
13369 the seek failed, it might try something else.
13371 2005-10-21 Wim Taymans <wim@fluendo.com>
13373 * gst/base/gstbasesrc.c: (gst_base_src_init),
13374 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13377 2005-10-21 Wim Taymans <wim@fluendo.com>
13379 * docs/design/part-segments.txt:
13382 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13383 Correctly set caps, even on the subbufer.
13385 2005-10-21 Wim Taymans <wim@fluendo.com>
13387 * docs/gst/gstreamer-docs.sgml:
13388 * docs/gst/gstreamer-sections.txt:
13389 * gst/gstelement.h:
13392 * gst/gstmessage.h:
13395 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13399 And 2% more doc coverage.
13401 2005-10-21 Andy Wingo <wingo@pobox.com>
13403 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13404 position reporting.
13406 2005-10-20 Wim Taymans <wim@fluendo.com>
13408 * gst/gsterror.c: (gst_error_get_message):
13411 * gst/gststructure.c:
13416 2005-10-20 Wim Taymans <wim@fluendo.com>
13421 Another 1% more coverage.
13423 2005-10-20 Wim Taymans <wim@fluendo.com>
13425 * docs/gst/gstreamer-sections.txt:
13426 * gst/gstelement.c: (gst_element_get_state_func),
13427 (gst_element_abort_state), (gst_element_commit_state),
13428 (gst_element_lost_state):
13430 * gst/gstquery.c: (gst_query_set_position),
13431 (gst_query_parse_position), (gst_query_set_duration),
13432 (gst_query_parse_duration), (gst_query_new_convert):
13434 Yay! 1% more docs coverage.
13436 2005-10-20 Wim Taymans <wim@fluendo.com>
13439 * gst/gstquery.c: (gst_query_set_position),
13440 (gst_query_parse_position), (gst_query_set_duration),
13441 (gst_query_parse_duration), (gst_query_new_convert):
13443 * gst/gstutils.c: (gst_element_query_convert):
13445 Docs and consistency fixes.
13447 2005-10-20 Wim Taymans <wim@fluendo.com>
13453 2005-10-20 Wim Taymans <wim@fluendo.com>
13455 * gst/gstbin.c: (message_check), (bin_replace_message),
13456 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13457 (update_degree), (gst_bin_sort_iterator_next),
13458 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13459 Reworked the message handling a bit, cache the messages instead of
13460 only the senders. alows us to do more in the future.
13462 2005-10-20 Wim Taymans <wim@fluendo.com>
13464 * docs/design/part-TODO.txt:
13467 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13468 (gst_base_sink_query):
13469 Don't use clock time to report position when in EOS.
13471 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
13473 * tools/gst-inspect.c: (print_interfaces),
13474 (print_element_properties_info), (print_element_info):
13475 Fix interface output with gst-inspect -a; don't print
13476 newlines after double/float properties.
13478 2005-10-20 Wim Taymans <wim@fluendo.com>
13480 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13481 (gst_base_sink_query):
13482 Speed up current position calculation.
13484 * gst/base/gstbasesrc.c: (gst_base_src_query),
13485 (gst_base_src_default_newsegment):
13486 Correctly set stream position in newsegment.
13488 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13489 (update_degree), (gst_bin_sort_iterator_next),
13490 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13491 * gst/gstmessage.c: (gst_message_new_custom):
13492 Clean up debugging info
13494 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13495 (gst_queue_loop), (gst_queue_handle_src_query):
13498 2005-10-19 Wim Taymans <wim@fluendo.com>
13500 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13501 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13502 Fix query handling again.
13504 2005-10-19 Wim Taymans <wim@fluendo.com>
13506 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13507 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13508 * gst/base/gstbasesrc.c: (gst_base_src_query):
13509 * gst/elements/gstfilesink.c: (gst_file_sink_query):
13510 * gst/elements/gsttypefindelement.c:
13511 (gst_type_find_handle_src_query), (find_element_get_length),
13512 (gst_type_find_element_activate):
13515 * gst/gstquery.c: (gst_query_new_position),
13516 (gst_query_set_position), (gst_query_parse_position),
13517 (gst_query_new_duration), (gst_query_set_duration),
13518 (gst_query_parse_duration), (gst_query_set_segment),
13519 (gst_query_parse_segment):
13521 Bundling query position/duration is not a good idea since duration
13522 does not change much and we don't want to recalculate it for every
13523 position query, so they are separated again..
13524 Base value in segment query is not needed.
13526 * gst/gstqueue.c: (gst_queue_handle_src_query):
13527 * gst/gstutils.c: (gst_element_query_position),
13528 (gst_element_query_duration), (gst_pad_query_position),
13529 (gst_pad_query_duration):
13531 Updates for query API change.
13532 Added some docs here and there.
13534 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
13536 * check/gst/gstbin.c: (GST_START_TEST):
13537 * check/gst/gstghostpad.c: (GST_START_TEST):
13538 * check/pipelines/cleanup.c: (GST_START_TEST):
13539 wait on thread to die so we can check refcount correctly
13541 2005-10-18 Wim Taymans <wim@fluendo.com>
13543 * check/pipelines/stress.c: (GST_START_TEST):
13544 Make check a little more time consuming.
13546 2005-10-18 Wim Taymans <wim@fluendo.com>
13548 * check/Makefile.am:
13549 * check/pipelines/stress.c: (GST_START_TEST),
13550 (simple_launch_lines_suite), (main):
13551 Small state change torture test.
13553 * docs/design/part-states.txt:
13554 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13555 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13556 (gst_base_sink_change_state):
13557 Never take state lock from streaming thread, clean up ugly
13558 hacks. Unfortunatly core does not yet support nice ways to
13559 async commit state.
13561 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13563 Start state recalc if a STATE_DIRTY message is posted, but only
13564 on the toplevel bin.
13566 * gst/gstelement.c: (gst_element_sync_state_with_parent),
13567 (gst_element_get_state_func), (gst_element_abort_state),
13568 (gst_element_commit_state), (gst_element_lost_state),
13569 (gst_element_set_state_func), (gst_element_change_state):
13570 * gst/gstelement.h:
13571 State variables are now protected with the LOCK, the state
13572 lock is only used to serialize _set_state().
13574 2005-10-18 Wim Taymans <wim@fluendo.com>
13576 * check/gst/gstbin.c: (GST_START_TEST):
13577 * check/gst/gstmessage.c: (GST_START_TEST):
13578 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13579 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13581 * gst/gstelement.c: (gst_element_abort_state),
13582 (gst_element_commit_state), (gst_element_lost_state):
13583 * gst/gstmessage.c: (gst_message_new_state_changed),
13584 (gst_message_new_state_dirty), (gst_message_new_segment_start),
13585 (gst_message_new_segment_done), (gst_message_new_duration),
13586 (gst_message_parse_state_changed),
13587 (gst_message_parse_segment_start),
13588 (gst_message_parse_segment_done), (gst_message_parse_duration):
13589 * gst/gstmessage.h:
13590 * tools/gst-launch.c: (event_loop):
13591 Seriously, this is better than a previous commit as we only need
13592 to notify the fact that an element changed state in a streaming
13593 thread, marking the state of the parents dirty, hence the
13594 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13597 2005-10-18 Wim Taymans <wim@fluendo.com>
13599 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13600 (gst_bin_recalc_func):
13601 * gst/gstelement.c: (gst_element_set_clock),
13602 (gst_element_abort_state), (gst_element_lost_state):
13603 Cleanups, prepare for state change fixes.
13605 2005-10-18 Wim Taymans <wim@fluendo.com>
13608 * gst/gstelement.c: (gst_element_class_init),
13609 (gst_element_set_state), (gst_element_set_state_func):
13610 * gst/gstelement.h:
13611 Pending ABI changes.
13612 GThreadPool in GstBinClass to monitor async state changes.
13613 state_cookie in GstElement to detect concurrent gst/set state.
13614 set_state is now virtual too in case a very complicated element
13615 has to be constructed.
13617 2005-10-18 Wim Taymans <wim@fluendo.com>
13619 * check/gst/gstbin.c: (GST_START_TEST):
13620 * check/gst/gstmessage.c: (GST_START_TEST):
13621 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13622 * gst/gstbin.c: (bin_bus_handler):
13623 * gst/gstelement.c: (gst_element_commit_state),
13624 (gst_element_lost_state):
13625 * gst/gstmessage.c: (gst_message_new_state_changed),
13626 (gst_message_new_segment_start), (gst_message_new_segment_done),
13627 (gst_message_new_duration), (gst_message_parse_state_changed),
13628 (gst_message_parse_segment_start),
13629 (gst_message_parse_segment_done), (gst_message_parse_duration):
13630 * gst/gstmessage.h:
13631 * tools/gst-launch.c: (event_loop):
13632 Make messages future proof.
13633 state-change gets a flag if it was a message comming from the
13635 segment-start/stop can also be specified in other formats.
13636 A message to notify an app that a pipeline changed playback
13638 Also fix a GstMessage leak in -launch
13640 2005-10-18 Andy Wingo <wingo@pobox.com>
13642 * gst/gstelement.c (gst_element_dispose): More helpful message.
13644 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13646 reviewed by: <delete if not using a buddy>
13648 * common/gtk-doc.mak:
13650 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13652 * gst/gstregistry.c: (gst_registry_scan_path_level):
13653 unref a plug-in we get that was already initialized
13655 2005-10-18 Stefan Kost <ensonic@users.sf.net>
13657 * docs/gst/gstreamer-sections.txt:
13658 * docs/libs/gstreamer-libs-sections.txt:
13659 * gst/gstelement.h:
13660 add new api entries
13661 hide internal macro
13663 2005-10-17 Andy Wingo <wingo@pobox.com>
13665 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13668 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13670 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13672 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13673 (gst_element_get_state_func): Better debug message.
13674 (gst_element_commit_state): s/INFO/DEBUG/.
13675 (gst_element_lost_state, gst_element_change_state):
13677 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13678 (gst_message_new_custom): s/INFO/LOG/.
13680 2005-10-17 Michael Smith <msmith@fluendo.com>
13682 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13683 Check if end time is valid using end time, not start time.
13685 2005-10-17 Stefan Kost <ensonic@users.sf.net>
13687 * check/gst-libs/controller.c: (GST_START_TEST),
13688 (gst_controller_suite):
13689 * libs/gst/controller/gstcontroller.c:
13690 (gst_controlled_property_set_interpolation_mode):
13691 * libs/gst/controller/gstcontroller.h:
13692 * libs/gst/controller/gstinterpolation.c:
13693 * testsuite/controller/.cvsignore:
13694 * testsuite/controller/Makefile.am:
13695 * testsuite/controller/interpolator.c:
13696 merge controller testsuites
13698 remove mem-chunk from docs
13700 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13702 * gst/gstmemchunk.c:
13703 * gst/gstmemchunk.h:
13704 * gst/gsttrashstack.c:
13705 * gst/gsttrashstack.h:
13706 out. get out. you're fired. to the Attic !
13708 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13710 * gst/gstcaps.c: (gst_caps_intersect):
13711 fix signedness issues in a (hopefully) correct way
13712 * gst/gstelement.c: (gst_element_pads_activate):
13714 * gst/gstobject.c: (gst_object_set_parent):
13717 2005-10-17 Julien MOUTTE <julien@moutte.net>
13719 * gst/gstvalue.h: Fix prototypes.
13721 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13723 * docs/gst/gstreamer-sections.txt:
13724 * gst/gst.c: (gst_version_string):
13726 * gst/gstversion.h.in:
13727 * win32/common/libgstreamer.def:
13728 add gst_version_string ()
13730 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13734 * gst/gst.c: (init_post):
13735 * win32/common/config.h.in:
13737 * gst/gstcaps.c: (gst_caps_intersect):
13738 use gint64, the range could be bigger than a guint
13740 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13743 document potential problem in 2038
13745 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13747 * gst/gstcaps.c: (gst_caps_intersect):
13748 Fix guint j diving under 0
13750 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13753 * win32/common/config.h:
13754 * win32/common/config.h.in:
13755 check for process.h, declares getpid() on Windows
13757 include process.h if we have it
13758 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13759 * gst/gstmemchunk.h:
13760 fix signedness issues
13761 * win32/common/libgstreamer.def:
13764 2005-10-16 Julien MOUTTE <julien@moutte.net>
13766 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13767 fix. Because of unsigned ints, caps intersection was going nuts and
13768 trying to access structures with G_MAXUINT index. That fixes
13769 videotestsrc ! ffmpegcolorspace ! fakesink
13770 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13773 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13776 use the gettext macro
13777 * gst/elements/gstelements.c:
13779 * gst/indexers/gstindexers.c:
13780 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13781 * win32/common/config.h:
13783 * win32/common/config.h.in:
13784 add the template to generate config.h
13785 * win32/common/gstenumtypes.c:
13786 * win32/common/gstversion.h:
13789 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13791 * gst/gst.c: (gst_version):
13792 * gst/gstversion.h.in:
13795 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13798 Oops, add missing closing bracket.
13800 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13803 use common m4's for argument checking
13805 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13807 * docs/gst/gstreamer-sections.txt:
13809 Add GST_EVENT_TYPE_NAME() macro.
13811 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13814 * gst/gstpluginfeature.c:
13816 privatize more symbols
13818 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13821 add srcdir, builddir includes to GST_ALL_CFLAGS, since
13822 everything that uses GStreamer API should have the includes
13824 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13826 * docs/gst/gstreamer-sections.txt:
13827 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13829 give each value a _get_type, removes the DATA exports
13831 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13835 remove _gst_registry_auto_load, not used anymore
13836 * gst/gstbin.c: (gst_bin_get_type):
13838 * gst/gstelement.c: (gst_element_get_type):
13839 * gst/gstelement.h:
13840 * gst/gstobject.c: (gst_object_get_type):
13842 * gst/gstpad.c: (gst_pad_get_type):
13844 make _get_type functions similar, fixes data export from library
13846 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13849 correctly make conditionals
13850 * gst/elements/Makefile.am:
13851 * gst/elements/gstelements.c:
13852 fix typo causing fdsrc not to build
13854 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13856 * testsuite/Makefile.am:
13857 * testsuite/bytestream/.cvsignore:
13858 * testsuite/bytestream/Makefile.am:
13859 * testsuite/bytestream/filepadsink.c:
13860 * testsuite/bytestream/gstbstest.c:
13861 * testsuite/bytestream/test1.c:
13862 * testsuite/bytestream/testfile1:
13863 * testsuite/caps/normalisation.c:
13864 * testsuite/caps/random.c: (main):
13865 * testsuite/cleanup/.cvsignore:
13866 * testsuite/cleanup/Makefile.am:
13867 * testsuite/cleanup/cleanup1.c:
13868 * testsuite/cleanup/cleanup2.c:
13869 * testsuite/cleanup/cleanup3.c:
13870 * testsuite/cleanup/cleanup4.c:
13871 * testsuite/cleanup/cleanup5.c:
13872 * testsuite/controller/interpolator.c:
13873 * testsuite/debug/printf_extension.c: (main):
13874 * testsuite/elements/tee.c:
13875 * testsuite/negotiation/.cvsignore:
13876 * testsuite/negotiation/Makefile.am:
13877 * testsuite/negotiation/pad_link.c:
13878 * testsuite/pad/Makefile.am:
13879 * testsuite/pad/chainnopull.c:
13880 * testsuite/pad/getnopush.c:
13881 * testsuite/pad/link.c:
13882 * testsuite/refcounting/sched.c: (create_pipeline):
13883 * testsuite/registry/Makefile.am:
13884 * testsuite/registry/gst-print-formats.c:
13885 * testsuite/schedulers/.cvsignore:
13886 * testsuite/schedulers/142183-2.c:
13887 * testsuite/schedulers/142183.c:
13888 * testsuite/schedulers/143777-2.c:
13889 * testsuite/schedulers/143777.c:
13890 * testsuite/schedulers/147713.c:
13891 * testsuite/schedulers/147819.c:
13892 * testsuite/schedulers/147894-2.c:
13893 * testsuite/schedulers/147894.c:
13894 * testsuite/schedulers/Makefile.am:
13895 * testsuite/schedulers/group_link.c:
13896 * testsuite/schedulers/queue_link.c:
13897 * testsuite/schedulers/relink.c:
13898 * testsuite/schedulers/unlink.c:
13899 * testsuite/schedulers/unref.c:
13900 * testsuite/schedulers/useless_iteration.c:
13901 * testsuite/states/bin.c:
13902 clean out/remove some stuff from the testsuite directories
13904 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13907 check for some headers
13908 * gst/elements/Makefile.am:
13909 * gst/elements/gstelements.c:
13910 don't compile fdsrc without sys/socket.h
13911 * gst/indexers/Makefile.am:
13912 * gst/indexers/gstindexers.c: (plugin_init):
13913 don't compile fileindex without mmap
13915 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13922 * check/Makefile.am:
13923 * docs/gst/Makefile.am:
13924 * examples/helloworld/Makefile.am:
13926 * gst/base/Makefile.am:
13927 * gst/check/Makefile.am:
13928 * gst/elements/Makefile.am:
13929 * gst/indexers/Makefile.am:
13930 * gst/parse/Makefile.am:
13931 * libs/gst/controller/Makefile.am:
13932 * libs/gst/dataprotocol/Makefile.am:
13933 * examples/helloworld/helloworld.c: (event_loop):
13934 compile fixes, though it's not being compiled currently
13936 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13938 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13939 Add some simple tests for the new taglist date API.
13941 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13943 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13944 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13945 Beautify 'last-message' output: print 'none' for buffer timestamps
13946 and durations if none is set; improve alignment with next messages.
13948 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13950 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13951 * gst/gstpluginfeature.h:
13952 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13953 * gst/gstregistry.h:
13954 * docs/gst/gstreamer-sections.txt:
13955 Add new API to check plugin feature version requirements.
13957 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13958 Some basic tests for the above.
13960 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13962 * gst/gststructure.c: (gst_structure_to_string):
13963 guard against NULL printf - happens when for example
13964 a message structure with GstClock gets serialized
13966 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13968 * gst/base/gstcollectpads.c: (gst_collectpads_event):
13969 Fix presumable copy'n'pasto.
13971 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13973 * gst/elements/gstfakesrc.h:
13974 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13975 * gst/elements/gsttypefindelement.c:
13976 fix some signedness
13977 * gst/elements/gstfilesink.c: (gst_file_sink_render):
13978 I wonder if this could actually write +2GB files before
13980 2005-10-13 Andy Wingo <wingo@pobox.com>
13982 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13983 Fix Timmeke Waymans bug.
13984 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13985 string of the proper length to gst_caps_from_string. There's a
13986 potential for, before this fix, that this could cause someone
13987 connecting over the network to cause a segfault if the payload is
13988 not NUL-terminated.
13990 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13992 * docs/design/draft-push-pull.txt:
13993 * docs/design/part-overview.txt:
13994 * docs/random/TODO-pre-0.9:
13995 * docs/random/old/ChangeLog.gstreamer:
13996 * gst/base/gstpushsrc.c:
14000 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14002 * gst/glib-compat.c: (gst_flags_get_first_value):
14003 * gst/glib-compat.h:
14004 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
14005 (gst_value_compare_double), (gst_value_serialize_flags):
14006 GLib 2.6 g_flags_get_first_value has a bug that triggers an
14009 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14011 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14012 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14014 * tools/gst-launch.c: (event_loop):
14015 print out clock nicely
14017 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
14019 * docs/gst/gstreamer-sections.txt:
14020 * gst/gsttaglist.h:
14021 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
14022 (gst_tag_list_get_date_index):
14023 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
14024 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
14026 2005-10-13 Julien MOUTTE <julien@moutte.net>
14028 * gst/base/gstcollectpads.c: (gst_collectpads_event),
14029 (gst_collectpads_chain):
14030 * gst/base/gstcollectpads.h: Handle newsegment and store informations
14033 2005-10-13 Stefan Kost <ensonic@users.sf.net>
14035 * docs/gst/gstreamer-sections.txt:
14038 * tools/gst-inspect.c: (main):
14039 * tools/gst-launch.c: (main):
14040 * tools/gst-run.c: (main):
14041 * tools/gst-xmlinspect.c: (main):
14042 fix GOption context leaks
14045 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14049 * win32/common/config.h:
14051 * win32/vs6/grammar.dsp:
14052 * win32/vs6/libgstelements.dsp:
14053 * win32/vs6/libgstreamer.dsp:
14056 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14058 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14059 * gst/base/gstbasesrc.c: (gst_base_src_query):
14060 fix more guint64<->gdouble conversions
14062 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14065 add win32-update target
14066 * win32/common/gstconfig.h:
14067 * win32/common/gstenumtypes.c:
14068 * win32/common/gstenumtypes.h:
14069 * win32/common/gstversion.h:
14070 add files that visual studio can't generate
14072 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14075 add a win32-update target
14078 2005-10-12 Wim Taymans <wim@fluendo.com>
14080 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14081 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
14082 * gst/gstelement.c: (gst_element_commit_state),
14083 (gst_element_set_state):
14084 Protect flags with proper lock.
14085 unref provided cached clock in dispose.
14087 2005-10-12 Stefan Kost <ensonic@users.sf.net>
14090 * gst/gstminiobject.h:
14092 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
14093 removed unused flags from miniobject
14096 2005-10-12 Wim Taymans <wim@fluendo.com>
14098 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14099 (gst_file_sink_event), (gst_file_sink_render):
14100 Flush before seeking.
14102 2005-10-12 Andy Wingo <wingo@pobox.com>
14104 * gst/gst.c (gst_init_check): Ignore unknown options, as has
14105 always been the case.
14107 2005-10-12 Stefan Kost <ensonic@users.sf.net>
14109 * check/gst/gstbin.c: (GST_START_TEST):
14110 * docs/gst/gstreamer-sections.txt:
14111 * gst/base/gstbasesink.c: (gst_base_sink_init):
14112 * gst/base/gstbasesrc.c: (gst_base_src_init),
14113 (gst_base_src_get_range), (gst_base_src_check_get_range),
14114 (gst_base_src_start), (gst_base_src_stop):
14115 * gst/base/gstbasesrc.h:
14116 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
14117 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14118 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
14122 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
14124 * gst/gstelement.c: (gst_element_is_locked_state),
14125 (gst_element_set_locked_state), (gst_element_commit_state),
14126 (gst_element_set_state):
14127 * gst/gstelement.h:
14128 * gst/gstindex.c: (gst_index_init):
14130 * gst/gstminiobject.h:
14131 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
14132 (gst_object_set_parent):
14134 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
14135 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
14137 * gst/gstpadtemplate.h:
14138 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
14139 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14140 * gst/gstpipeline.h:
14141 * gst/indexers/gstfileindex.c: (gst_file_index_load),
14142 (gst_file_index_commit):
14143 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
14144 * testsuite/pad/link.c: (gst_test_src_init),
14145 (gst_test_filter_init), (gst_test_sink_init):
14146 * testsuite/states/locked.c: (main):
14147 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
14148 moved bitshift from macro to enum definition
14150 2005-10-12 Wim Taymans <wim@fluendo.com>
14152 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
14153 * gst/elements/gstfilesink.c: (gst_file_sink_event),
14154 (gst_file_sink_render):
14155 Some more debugging info.
14157 2005-10-12 Wim Taymans <wim@fluendo.com>
14159 * docs/design/part-states.txt:
14160 * tools/gst-launch.c: (main):
14162 Revert non-intentional change.
14164 2005-10-12 Wim Taymans <wim@fluendo.com>
14166 * check/gst/gstbin.c: (GST_START_TEST):
14167 * check/gst/gstelement.c: (GST_START_TEST):
14168 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
14169 * check/gst/gstghostpad.c: (GST_START_TEST):
14170 * check/gst/gstpipeline.c: (GST_START_TEST):
14171 * check/pipelines/simple_launch_lines.c: (run_pipeline):
14172 * check/states/sinks.c: (GST_START_TEST):
14173 * gst/elements/gsttypefindelement.c: (stop_typefinding):
14174 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14175 (gst_bin_remove_func), (gst_bin_get_state_func),
14176 (gst_bin_recalc_state), (gst_bin_change_state_func),
14178 * gst/gstelement.c: (gst_element_get_state_func),
14179 (gst_element_get_state), (gst_element_abort_state),
14180 (gst_element_commit_state), (gst_element_set_state),
14181 (gst_element_change_state), (gst_element_change_state_func):
14182 * gst/gstelement.h:
14183 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
14184 (gst_pipeline_provide_clock_func):
14185 * gst/gstutils.c: (gst_element_link_pads_filtered):
14186 * tools/gst-launch.c: (main):
14187 * tools/gst-typefind.c: (main):
14188 Use GstClockTime in _get_state() instead of GTimeVal.
14189 Remove old code in gstutils.c
14191 2005-10-12 Andy Wingo <wingo@pobox.com>
14193 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
14196 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
14197 there is no task. Shouldn't affect any code, as nothing in our
14198 plugins checks this return value.
14199 (gst_pad_stop_task): Also take the stream lock if the pad has no
14200 task. Docs updated.
14202 2005-10-12 Wim Taymans <wim@fluendo.com>
14204 * gst/gstpad.c: (pre_activate), (post_activate),
14205 (gst_pad_activate_pull), (gst_pad_activate_push):
14206 Cleanup activation code. Reset old state if
14209 2005-10-12 Wim Taymans <wim@fluendo.com>
14211 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14212 (gst_base_sink_change_state):
14213 No need to prerol after receiving EOS.
14215 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14216 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
14217 * gst/elements/gstidentity.c: (gst_identity_event):
14218 Print events more verbosely.
14220 2005-10-12 Wim Taymans <wim@fluendo.com>
14222 * check/Makefile.am:
14223 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14224 * check/states/sinks2.c:
14225 Moved sinks2 testcode in sinks check.
14227 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14228 (gst_bin_remove_func), (gst_bin_recalc_state),
14229 (gst_bin_change_state_func), (bin_bus_handler):
14230 Fix potential race condition when _get_state() iterated over an
14231 ASYNC element right before it posted a state completion.
14234 Do proper cast here.
14236 * gst/gstevent.c: (gst_event_new_newsegment),
14237 (gst_event_parse_newsegment):
14238 A playback rate of 0.0 is not allowed.
14240 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14242 * win32/common/config.h:
14243 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
14244 (_trewinddir), (_ttelldir), (_tseekdir):
14245 * win32/common/dirent.h:
14246 * win32/common/gtchar.h:
14247 * win32/common/libgstbase.def:
14248 * win32/common/libgstreamer.def:
14249 * win32/vs6/grammar.dsp:
14250 * win32/vs6/gst_inspect.dsp:
14251 * win32/vs6/gst_launch.dsp:
14252 * win32/vs6/gstreamer.dsw:
14253 * win32/vs6/libgstbase.dsp:
14254 * win32/vs6/libgstelements.dsp:
14255 * win32/vs6/libgstreamer.dsp:
14256 Visual Studio 6 project files, and a new common directory.
14259 2005-10-11 Wim Taymans <wim@fluendo.com>
14261 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14262 (gst_base_sink_do_sync), (gst_base_sink_query),
14263 (gst_base_sink_change_state):
14264 * gst/base/gstbasesink.h:
14265 Correctly parse newsegment info.
14267 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14269 * gst/gst.c: (init_post):
14270 split plugin paths correctly
14272 2005-10-11 Wim Taymans <wim@fluendo.com>
14274 * check/gst/gstevent.c: (GST_START_TEST):
14275 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14276 (gst_base_sink_change_state):
14277 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14278 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14279 * gst/elements/gstfilesink.c: (gst_file_sink_event):
14280 * gst/gstevent.c: (gst_event_new_newsegment),
14281 (gst_event_parse_newsegment):
14283 Added extra flag to newsegment for future API freeze.
14284 Updated check and base elements.
14286 2005-10-11 Julien MOUTTE <julien@moutte.net>
14288 * gst/base/gstcollectpads.c: (gst_collectpads_init),
14289 (gst_collectpads_add_pad), (gst_collectpads_pop),
14290 (gst_collectpads_event), (gst_collectpads_chain):
14291 * gst/base/gstcollectpads.h: Handle EOS correctly.
14293 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14295 * tools/gst-launch.c: (main):
14296 more null protecting
14298 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14300 * gst/gst-i18n-lib.h:
14301 check for ENABLE_NLS, not GETTEXT_PACKAGE
14302 * gst/gstregistry.c: (gst_registry_add_plugin),
14303 (gst_registry_scan_path_level),
14304 (_gst_registry_remove_cache_plugins):
14305 protect possibly NULL strings
14306 * gst/parse/types.h:
14307 config.h already included before
14308 * tools/gst-inspect.c: (main):
14309 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14310 check for ENABLE_NLS, not GETTEXT_PACKAGE
14311 * tools/gst-launch.c: (main):
14312 check for ENABLE_NLS, not GETTEXT_PACKAGE
14314 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14317 if we don't have glib, fail before testing 2.8
14318 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14319 fix a leak, should fix plugins-base testsuite
14321 2005-10-11 Andy Wingo <wingo@pobox.com>
14323 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14324 take the mode we're going to as an arg. Go head and set the mode
14325 and flushing flags now, so that if the activate function starts a
14326 thread all the flags will be in the right state.
14327 (post_activate): Renamed also. Just handle making sure streaming
14328 finishes for the deactivation case, and setting the deactivated
14330 (gst_pad_set_active): Complain loudly if deactivation fails.
14331 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14332 (gst_pad_activate_push): Adapt to pre/post_activate changes,
14333 remove the terrible hack.
14335 2005-10-11 Wim Taymans <wim@fluendo.com>
14337 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14338 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14339 (gst_bin_recalc_state), (gst_bin_change_state_func),
14340 (gst_bin_dispose), (bin_bus_handler):
14342 Prepare to make current EOS message queue more generic.
14345 * gst/gstevent.c: (gst_event_new_newsegment),
14346 (gst_event_parse_newsegment):
14348 Rename base to stream_time.
14350 * gst/gstmessage.h:
14353 2005-10-11 Wim Taymans <wim@fluendo.com>
14355 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14356 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14357 (gst_bin_change_state_func), (bin_bus_handler):
14359 Work on proper clock selection.
14361 2005-10-11 Edward Hervey <edward@fluendo.com>
14363 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
14364 * libs/gst/controller/gstcontroller.h:
14365 Added GList* version of _remove_properties() in order to be able to wrap
14368 2005-10-11 Wim Taymans <wim@fluendo.com>
14370 * docs/design/part-states.txt:
14373 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14374 (gst_bin_change_state_func), (bin_bus_handler):
14375 Doc updates. Don't distribute the same clock over and over again.
14381 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14382 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14383 (gst_pad_send_event):
14385 Make probe emission threadsafe again.
14386 Register quarks and move _get_name() from utils.
14389 * gst/gstpipeline.c: (gst_pipeline_class_init),
14390 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14391 Only redistribute the clock of it changed.
14393 * gst/gstsystemclock.h:
14398 Moved the _flow_get_name() to GstPad.
14400 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14402 * check/gst-libs/gdp.c: (GST_START_TEST):
14403 * check/gst/gstcaps.c: (GST_START_TEST):
14404 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14405 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14406 (gst_dp_packet_from_caps):
14407 fix more valgrind warnings before turning up the heat
14409 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14411 * gst/parse/grammar.y:
14412 some cleanup before the hacking
14414 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14416 * gst/base/gstbasesrc.c: (gst_base_src_query):
14418 * gst/gstutils.c: (gst_guint64_to_gdouble),
14419 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14421 externalize, basesrc uses it
14422 obviously the implementation needs testing
14424 2005-10-10 Wim Taymans <wim@fluendo.com>
14426 * tests/sched/Makefile.am:
14427 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14428 (make_pipeline3), (make_pipeline4), (print_elem), (main):
14430 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14432 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14433 apparently converting from guint64 to double is not implemented
14436 2005-10-10 Wim Taymans <wim@fluendo.com>
14438 * check/Makefile.am:
14439 * check/generic/states.c: (GST_START_TEST):
14440 * check/gst/gstbin.c: (GST_START_TEST):
14441 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14442 * check/states/sinks.c: (GST_START_TEST):
14443 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14445 Check fixes, use API as stated in design docs, remove hacks.
14447 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14448 (gst_base_sink_change_state):
14449 Catch stopping our task while we're shutting down.
14451 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14452 (gst_bin_remove_func), (gst_bin_get_state_func),
14453 (gst_bin_recalc_state), (gst_bin_change_state_func),
14456 * gst/gstelement.c: (gst_element_init),
14457 (gst_element_get_state_func), (gst_element_abort_state),
14458 (gst_element_commit_state), (gst_element_lost_state),
14459 (gst_element_set_state), (gst_element_change_state),
14460 (gst_element_change_state_func):
14461 * gst/gstelement.h:
14462 New state change algorithm (see #318116)
14464 * gst/gstpipeline.c: (gst_pipeline_class_init),
14465 (gst_pipeline_init), (gst_pipeline_set_property),
14466 (gst_pipeline_get_property), (do_pipeline_seek),
14467 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14468 * gst/gstpipeline.h:
14469 Remove crude state change hacks.
14472 Remove crude hacks.
14474 * tools/gst-launch.c: (main):
14475 Fixes for state change. Needs some more work to fully use the
14478 2005-10-10 Andy Wingo <wingo@pobox.com>
14480 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14482 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14483 this flag, but it's not even in GLib 2.6. Odd. Hack around the
14486 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14488 * gst/gstiterator.c: (gst_iterator_new):
14489 Fix my previous commit: GTypes passed to gst_iterator_new()
14490 can be fundamental types.
14492 2005-10-10 Wim Taymans <wim@fluendo.com>
14494 * gst/gstelement.c: (gst_element_iterate_pad_list),
14495 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14496 (gst_element_iterate_sink_pads):
14497 Use src/sink pads lists for the respective iterators instead
14500 2005-10-10 Andy Wingo <wingo@pobox.com>
14502 Merged in popt removal + GOption addition patch from Ronald, bug
14505 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14506 GstElement macros around, remove popt-related symbols, add goption
14509 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14511 * docs/gst/Makefile.am:
14512 * docs/libs/Makefile.am: No POPT_CFLAGS.
14514 * examples/manual/Makefile.am:
14515 * docs/manual/basics-init.xml: Doc updates with an example.
14517 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14518 (gst_init), (parse_one_option), (parse_goption_arg):
14519 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14520 bit of hand merging and debugging to get the GOption stuff working
14523 * tests/Makefile.am:
14524 * tools/Makefile.am:
14525 * tools/gst-inspect.c: (main):
14526 * tools/gst-launch.c: (main):
14527 * tools/gst-run.c: (main):
14528 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14530 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14532 * gst/gstiterator.c: (gst_iterator_new):
14533 Add assertions to make sure passed GType is likely to really
14534 be a GType (as the compiler won't catch it if the size and
14535 GType arguments get mixed up, see #318447).
14537 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
14539 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14541 * gst/gstbin.c: (gst_bin_iterate_sorted):
14542 Pass GType and size arguments to gst_iterator_new() in the right
14543 order (maybe we should make _new() take the GType as first argument
14544 just like _new_list()?) (#318447).
14547 2005-10-10 Wim Taymans <wim@fluendo.com>
14549 * gst/gstelement.c: (gst_element_finalize):
14550 And free the GStaticRecMutex too
14552 2005-10-10 Andy Wingo <wingo@pobox.com>
14554 * gst/gstelement.c (gst_element_init, gst_element_finalize):
14555 Allocate and free the mutex properly.
14557 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14559 (GstElement): The state_lock is now recursive. Rebuild your
14560 plugins, suckers. Old macros adapted.
14562 * docs/gst/gstreamer-sections.txt: Doc updates.
14565 * gst/gstutils.c (g_static_rec_cond_timed_wait)
14566 (g_static_rec_cond_wait): Ported from state changes patch, while
14567 we wait on bug #317802 to be solved in a well-distributed GLib.
14569 * gst/gstelement.c (gst_element_change_state_func): Renamed from
14570 gst_element_change_state, variable name changes.
14571 (gst_element_change_state): Split out of gst_element_set_state in
14572 preparation for the state change merge. Doesn't pay attention to
14573 the 'transition' argument.
14574 (gst_element_set_state): Updates, hopefully purely cosmetic.
14575 (gst_element_sync_state_with_parent): MT-safety. Ported from the
14576 state change patch.
14577 (gst_element_get_state_func): Renamed from get_state, cosmetic
14580 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14582 * gst/elements/gstelements.c:
14583 * win32/GStreamer.vcproj:
14585 * win32/dirent.c: (_tseekdir):
14586 * win32/gst-inspect.vcproj:
14587 * win32/gst-launch.vcproj:
14588 * win32/gstconfig.h:
14589 * win32/gstelements.vcproj:
14590 * win32/gstenumtypes.c: (gst_object_flags_get_type):
14591 * win32/gstreamer.def:
14592 * win32/msvc71.sln:
14593 updates for the win32 build (patch from Sebastien Moutte)
14595 2005-10-10 Andy Wingo <wingo@pobox.com>
14597 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14598 gst_bin_get_state, cleaned up (but no logic changes).
14599 (bin_element_is_sink): Comment updates.
14600 (sink_iterator_filter): Remove needless cast.
14601 (gst_bin_iterate_sinks): Doc update.
14602 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14603 cleaned up (but no logic changes).
14605 * check/states/sinks.c (test_src_sink): Cleanups from the state
14607 (test_livesrc_sink): Sync on the state.
14609 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14610 the state change patch.
14612 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14615 * check/gst/gstbin.c: Merge in some style fixes and additional
14616 checks from Wim's state change patch.
14618 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14620 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14621 (gst_type_find_helper):
14622 Check whether we have the requested data already in our list of
14623 cached buffers before pulling a new buffer; also make the buffer
14624 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14626 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14631 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14632 don't use long long, it's not portable. Replacing with
14633 gint64 seems to work; let's hope no skeletons fall out of the closet.
14635 2005-10-10 Andy Wingo <wingo@pobox.com>
14637 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14639 2005-10-09 Stefan Kost <ensonic@users.sf.net>
14641 * docs/gst/gstreamer-sections.txt:
14646 * gst/gstmessage.c: (gst_message_parse_state_changed):
14649 more docs, fix compilation
14651 2005-10-09 Philippe Khalaf <burger@speedy.org>
14652 * gst/gstmessage.c:
14653 Fixed a few forgotten variables on previous commit
14655 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
14657 * gst/base/gsttypefindhelper.c: (helper_find_peek):
14658 Fix evil typefind crasher: getrange() might return a short
14659 buffer at the end of a file, but gst_type_find_peek() must
14660 either return the full data as requested or NULL, but
14661 never a short buffer.
14663 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
14665 * gst/gstmessage.c: (gst_message_new_state_changed),
14666 (gst_message_parse_state_changed):
14667 * gst/gstmessage.h:
14668 don't use "new", it's a C++ keyword
14670 2005-10-08 Wim Taymans <wim@fluendo.com>
14672 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14673 * gst/gstelement.c: (gst_element_post_message):
14674 * gst/gstpipeline.c: (gst_pipeline_change_state):
14675 Small docs and debug updates.
14677 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14679 * docs/gst/gstreamer-sections.txt:
14680 * gst/gstelementfactory.c:
14682 * gst/gsttaglist.c:
14685 2005-10-08 Wim Taymans <wim@fluendo.com>
14687 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14688 (gst_bin_dispose), (bin_bus_handler):
14689 Fix typos, add comments.
14690 Clear EOS list when going to PAUSED from any direction and do it
14691 in a threadsafe way.
14692 Get base time in a threadsafe way too.
14693 Fix confusing debug in the change_state function.
14694 Various other small cleanups.
14696 * gst/gstelement.c: (gst_element_post_message):
14697 Fix very verbose bus posting code.
14699 * gst/gstpipeline.c: (gst_pipeline_class_init),
14700 (gst_pipeline_set_property), (gst_pipeline_get_property),
14701 (gst_pipeline_change_state):
14702 Small ARG_ -> PROP_ cleanup
14704 2005-10-08 Wim Taymans <wim@fluendo.com>
14706 * gst/gstbin.c: (is_eos), (bin_bus_handler):
14707 Do a less CPU demanding EOS check because we can.
14709 2005-10-08 Wim Taymans <wim@fluendo.com>
14711 * libs/gst/dataprotocol/dataprotocol.c:
14712 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14713 (gst_dp_packet_from_event):
14714 * libs/gst/dataprotocol/dataprotocol.h:
14715 * libs/gst/dataprotocol/dp-private.h:
14716 It's about time we bump the version number.
14717 Since event types don't fit in the guint8 anymore describing
14718 the payload type, make payload type 16 bits wide.
14720 2005-10-08 Wim Taymans <wim@fluendo.com>
14722 * docs/design/part-TODO.txt:
14723 * docs/design/part-clocks.txt:
14724 * docs/design/part-events.txt:
14725 * docs/design/part-gstbin.txt:
14726 * docs/design/part-gstelement.txt:
14727 * docs/design/part-gstpipeline.txt:
14728 * docs/design/part-live-source.txt:
14729 * docs/design/part-messages.txt:
14730 * docs/design/part-overview.txt:
14731 * docs/design/part-states.txt:
14734 2005-10-08 Wim Taymans <wim@fluendo.com>
14738 Fix event quark registration.
14739 Add some space between events so we can insert them in the
14742 2005-10-08 Wim Taymans <wim@fluendo.com>
14744 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14745 (gst_base_sink_handle_buffer):
14746 Better log message.
14749 * gst/gstelement.h:
14752 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14753 (gst_queue_set_property), (gst_queue_get_property):
14755 Remove old unused properties.
14757 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14758 * docs/gst/gstreamer-sections.txt:
14759 * gst/gstmessage.c:
14760 * gst/gstmessage.h:
14761 * gst/gstminiobject.c:
14762 * gst/gstminiobject.h:
14766 lots of new docs and doc fixes
14768 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14770 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14772 * gst/gstregistry.c: (gst_registry_lookup_locked),
14773 (gst_registry_scan_path_level):
14774 * gst/gstregistryxml.c: (load_plugin):
14775 Only ever load one plugin for a given plugin basename.
14776 This ensures correct overriding of GST_PLUGIN_PATH over
14777 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14778 system installed plugins.
14780 2005-10-08 Wim Taymans <wim@fluendo.com>
14782 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14783 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14784 Prepare for doing QOS.
14786 2005-10-08 Wim Taymans <wim@fluendo.com>
14788 * check/gst/gstbin.c: (GST_START_TEST):
14789 * check/pipelines/cleanup.c: (GST_START_TEST):
14790 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14791 Allow new clock message too.
14793 2005-10-08 Wim Taymans <wim@fluendo.com>
14795 * gst/gstmessage.c: (gst_message_new_error),
14796 (gst_message_new_warning), (gst_message_new_tag),
14797 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14798 (gst_message_new_clock_lost), (gst_message_new_new_clock),
14799 (gst_message_new_segment_start), (gst_message_new_segment_done),
14800 (gst_message_parse_state_changed),
14801 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14802 (gst_message_parse_new_clock):
14803 * gst/gstmessage.h:
14804 Also carry the clock in question.
14806 2005-10-08 Wim Taymans <wim@fluendo.com>
14808 * gst/gstmessage.c: (gst_message_new_custom),
14809 (gst_message_new_eos), (gst_message_new_error),
14810 (gst_message_new_warning), (gst_message_new_tag),
14811 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14812 (gst_message_new_new_clock), (gst_message_new_segment_start),
14813 (gst_message_new_segment_done), (gst_message_parse_state_changed),
14814 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14815 * gst/gstmessage.h:
14817 Added clock related messages.
14819 * gst/gstpipeline.c: (gst_pipeline_change_state):
14820 Post message when the clock changed.
14822 * tools/gst-launch.c: (event_loop):
14825 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
14827 * tools/gst-inspect.c: (print_element_properties_info):
14828 Can't pass NULL strings to g_print() on windows.
14830 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14832 * docs/Makefile.am:
14833 * docs/gst/Makefile.am:
14834 * docs/gst/gstreamer-docs.sgml:
14835 * docs/gst/running.xml:
14836 * docs/version.entities.in:
14837 add a chapter on running GStreamer.
14838 document GST_DEBUG and GST_PLUGIN* env vars
14840 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14845 remove PLUGINS_BUILDDIR stuff
14846 * gst/gst.c: (init_post):
14847 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14849 remove, it was condescending and not needed
14851 2005-10-08 Wim Taymans <wim@fluendo.com>
14853 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14854 (gst_base_sink_handle_object), (gst_base_sink_event),
14855 (gst_base_sink_wait), (gst_base_sink_handle_event),
14856 (gst_base_sink_change_state):
14857 * gst/base/gstbasesink.h:
14858 Repost EOS message while going to PLAYING if still EOS.
14859 Make sure that when receiving a FLUSH_START we don't attempt
14860 to sync on the clock anymore.
14862 2005-10-08 Wim Taymans <wim@fluendo.com>
14864 * tools/gst-launch.c: (event_loop):
14865 Better message printout.
14867 2005-10-08 Wim Taymans <wim@fluendo.com>
14869 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14870 (gst_bin_child_proxy_get_children_count):
14871 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14872 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14873 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14874 (gst_child_proxy_set_valist):
14875 * gst/parse/grammar.y:
14876 Make ChildProxy threadsafe and fix mem leaks.
14878 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14880 * gst/gst.c: (init_post):
14881 debug the GST_PLUGIN_ env vars
14883 2005-10-08 Wim Taymans <wim@fluendo.com>
14885 * check/gst/gstbin.c: (GST_START_TEST):
14886 * check/gst/gstmessage.c: (GST_START_TEST):
14887 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14888 * gst/gstelement.c: (gst_element_commit_state),
14889 (gst_element_lost_state):
14890 * gst/gstmessage.c: (gst_message_new_state_changed),
14891 (gst_message_parse_state_changed):
14892 * gst/gstmessage.h:
14893 * tools/gst-launch.c: (event_loop):
14894 Added extra field to STATE_CHANGE message with the pending
14895 state, which will be different from the new state soon.
14897 2005-10-08 Wim Taymans <wim@fluendo.com>
14899 * gst/gstbus.c: (gst_bus_pop):
14901 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14902 Small cleanups and doc updates.
14904 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14906 * gst/gst.c: (init_pre):
14907 * gst/gstbin.c: (gst_bin_add_func):
14908 log distributing clocks and base time
14909 * gst/gstregistry.c: (gst_registry_add_plugin),
14910 (gst_registry_scan_path_level), (gst_registry_scan_path):
14911 clean up the debugging output a little
14912 * gst/gstutils.c: (gst_element_state_get_name):
14913 warn about a memleak (I've actually seen this be used, though
14914 it was probably a bug)
14916 2005-10-07 Wim Taymans <wim@fluendo.com>
14918 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14919 (gst_base_src_init), (gst_base_src_default_newsegment),
14920 (gst_base_src_newsegment), (gst_base_src_do_seek),
14921 (gst_base_src_loop), (gst_base_src_start):
14922 * gst/base/gstbasesrc.h:
14923 Make the newsegment event customizable by subclasses.
14925 2005-10-07 Wim Taymans <wim@fluendo.com>
14927 * gst/gstevent.c: (gst_event_new_buffersize),
14928 (gst_event_parse_buffersize):
14930 New event for future idea.
14932 2005-10-07 Andy Wingo <wingo@pobox.com>
14934 * gst/gstelement.c (gst_element_post_message): Doc update.
14936 * docs/gst/gstreamer-sections.txt: Update.
14938 * gst/gstmessage.c (gst_message_new_application): Made into a
14939 function like honest API calls.
14940 (gst_message_new_element): New message type.
14942 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14944 * check/elements/fakesrc.c (test_no_preroll): New check, checks
14945 that setting a live fakesrc to PAUSED returns NO_PREROLL both
14948 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14949 NO_PREROLL from gst_element_change_state to fall through.
14951 2005-10-07 Wim Taymans <wim@fluendo.com>
14953 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14954 (gst_ghost_pad_do_activate_push):
14955 Activating a ghostpad with no internal pad in push mode
14958 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
14961 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14962 Fixes compilation on Windows.
14964 2005-10-07 Michael Smith <msmith@fluendo.com>
14966 * tools/gst-inspect.c:
14967 Print out feature and plugin count at the end when printing out
14970 2005-10-04 Michael Smith <msmith@fluendo.com>
14972 * gst/gsterror.c: (_gst_stream_errors_init):
14973 Add another error string used in a few existing plugins.
14976 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14977 * tools/gst-inspect.c: (print_element_info):
14978 When a feature disappears from a plugin (and the feature exists in
14979 the cached registry file), things went horribly wrong. This isn't a
14980 complete fix, we should actually be removing the 'missing' features
14981 from the features list when we load the actual plugin. That's not
14984 2005-10-04 Johan Dahlin <johan@gnome.org>
14986 * check/gst/gstiterator.c: (GST_START_TEST):
14987 * gst/gstbin.c: (gst_bin_iterate_elements),
14988 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14989 * gst/gstelement.c: (gst_element_iterate_pads):
14990 * gst/gstformat.c: (gst_format_iterate_definitions):
14991 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14992 (gst_iterator_new_list), (gst_iterator_filter):
14993 * gst/gstiterator.h:
14994 * gst/gstquery.c: (gst_query_type_iterate_definitions):
14995 Add a GType to GstIterator, update callsites and tests.
14997 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14999 * gst/gstpad.c: (gst_pad_event_default_dispatch):
15000 give events a chance to be handled by event probes when the pad
15003 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15005 * gst/gstevent.c: (gst_event_type_get_name),
15006 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
15008 add string representations for event types
15010 2005-10-06 Wim Taymans <wim@fluendo.com>
15012 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
15013 Don't use NULL pointers.
15015 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15017 * gst/gst_private.h:
15019 * gst/gstelement.c:
15021 * gst/gstpluginfeature.c:
15022 widen the debug category in output to fit the biggest one we have
15023 add a bus category and use it
15024 play with the colors
15025 fix up some categories
15027 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
15029 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
15030 add push activation of sink ghost pads.
15031 Andye, please verify
15033 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
15035 * gst/gstutils.c: (gst_element_link_pads):
15036 fix a bug in the case where neither element has a pad
15037 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15038 add a test for that case
15040 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
15042 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
15043 emit have-data before checking for peers. This allows
15044 for probe handlers to connect elements. This helps autopluggers.
15045 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
15047 add six checks, linked/unlinked with no/true/false probe
15049 2005-10-04 Wim Taymans <wim@fluendo.com>
15051 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
15052 (gst_fake_sink_event), (gst_fake_sink_preroll),
15053 (gst_fake_sink_render), (gst_fake_sink_change_state):
15054 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
15055 (gst_fake_src_get_property), (gst_fake_src_create),
15056 (gst_fake_src_stop):
15057 * gst/elements/gstidentity.c: (gst_identity_stop):
15058 Protect last_message with lock.
15060 2005-10-04 Edward Hervey <edward@fluendo.com>
15063 Added precision in the comments for GST_FORMAT_DEFAULT
15065 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
15067 * tools/gst-launch.c: (main):
15068 Don't try to run erroneous pipelines.
15070 2005-10-04 Julien MOUTTE <julien@moutte.net>
15072 * gst/gstbus.c: We don't need this header.
15074 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
15077 back to development
15079 === release 0.9.3 ===
15081 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
15085 Releasing 0.9.3, "Unregistered"
15087 2005-10-03 Andy Wingo <wingo@pobox.com>
15089 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
15090 whereby calling a pad's activatepush() function can start a thread
15091 that starts to push or pull before the pad gets the FLUSHING flag
15092 unset. Hack around it by holding the stream lock until the flag is
15093 set. Need to replace this with a proper solution. Together with
15094 the ghost pad fixes, this fixes mp3 playing/tagreading.
15096 * docs/design/part-gstghostpad.txt: Add a note about activation of
15097 proxy pads outside of ghost pads.
15099 * gst/gstghostpad.c: Implement the ghost pad activation design.
15101 2005-10-02 Andy Wingo <wingo@pobox.com>
15103 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
15104 It is volatile, after all.
15106 * docs/design/part-gstghostpad.txt: Flesh out activation with
15109 * gst/base/gstbasesrc.c (gst_base_src_init): Use
15112 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
15115 Fix (unused) AM_CONDITIONAL tests.
15117 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
15119 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15121 * gst/gstutils.c: (gst_pad_query_convert):
15122 Add assertion that makes sure src_val is >=0, just like
15123 gst_query_new_convert() has. (#315895)
15125 2005-09-30 Edward Hervey <edward@fluendo.com>
15127 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
15128 Let's not iterate pads we're not interested in, it avoids getting
15129 sky-high refcounts on sinkpad.
15131 2005-09-30 Wim Taymans <wim@fluendo.com>
15133 * gst/gstelement.c: (gst_element_set_state),
15134 (gst_element_change_state):
15135 Small tweak, element in ASYNC remains ASYNC.
15137 2005-09-30 Wim Taymans <wim@fluendo.com>
15139 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15140 Only error is an error.
15142 * gst/gstbin.c: (gst_bin_change_state):
15145 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
15146 Also call pad_block in pad alloc.
15148 * gst/gstutils.c: (gst_flow_get_name):
15151 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15153 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15154 (gst_base_src_get_range):
15155 Fix documentation typos. Add some more debug info.
15157 2005-09-29 David Schleef <ds@schleef.org>
15159 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
15160 more end-user friendly.
15161 * tools/gst-inspect.c: (main): Check if command-line argument is
15162 a file and attempt to load that file as a plugin.
15164 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15166 * check/gst/gstbin.c:
15167 * check/states/sinks.c:
15168 fix tests for the new warning
15169 * check/gst/gstpipeline.c:
15170 add a test for pipeline and bus interaction
15171 * gst/gstelement.c:
15172 elements should be NULL if they get disposed; add a warning if not
15174 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15177 for 2.6 refcounting, make debug log more correct by printing
15178 the actual refcounts at the time of swap (Wim)
15180 2005-09-29 Andy Wingo <wingo@pobox.com>
15182 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
15183 removes signal watches previously added via
15184 gst_bus_add_signal_watch.
15185 (gst_bus_add_signal_watch): Don't return the source id, just store
15186 it on the bus if there wasn't an id already.
15188 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
15189 add_signal_watch and remove_signal_watch.
15191 2005-09-29 Edward Hervey <edward@fluendo.com>
15193 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
15194 Better if we actually iterate the list :)
15196 2005-09-29 Wim Taymans <wim@fluendo.com>
15198 * check/gst/gstbin.c: (GST_START_TEST):
15199 Change for new bus API.
15201 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15202 (send_messages), (GST_START_TEST), (gstbus_suite):
15203 Change for new bus signal API.
15205 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
15206 (gst_bus_source_prepare), (gst_bus_source_check),
15207 (gst_bus_create_watch), (gst_bus_add_watch_full),
15208 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
15209 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
15211 Remove support for multiple GSources operating on different
15212 message types as it is too complex and unneeded when using
15214 Added support for receiving signals from the bus.
15216 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15218 * docs/libs/tmpl/gstdataprotocol.sgml:
15219 * docs/manual/advanced-dataaccess.xml:
15220 * gst/elements/gstcapsfilter.c:
15222 rename filter-caps to caps property
15224 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15226 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15227 More robust fraction string parsing.
15229 * docs/pwg/appendix-porting.xml:
15230 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
15232 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15234 * gst/gstcaps.c: (gst_caps_do_simplify):
15235 Thou shalt not free a structure and then continue using it
15236 in the next loop iteration.
15238 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
15240 Add test case for caps simplification.
15242 2005-09-29 Wim Taymans <wim@fluendo.com>
15244 * check/gst/gstbin.c: (GST_START_TEST):
15247 2005-09-29 Wim Taymans <wim@fluendo.com>
15249 * check/gst/gstbin.c: (GST_START_TEST):
15252 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15253 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15254 (find_element), (gst_bin_sort_iterator_next),
15255 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15256 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15257 (gst_bin_change_state), (gst_bin_dispose):
15258 A bin does not have a bus, it gets the bus from the parent.
15260 * gst/gstelement.c: (gst_element_requires_clock),
15261 (gst_element_provides_clock), (gst_element_is_indexable),
15262 (gst_element_is_locked_state), (gst_element_change_state),
15263 (gst_element_set_bus_func):
15266 * gst/gstpipeline.c: (gst_pipeline_class_init),
15267 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15268 The pipeline provides a bus.
15270 2005-09-28 Johan Dahlin <johan@gnome.org>
15272 * gst/gstmessage.c (gst_message_parse_state_changed): Use
15273 gst_structure_get_enum instead of gst_structure_get_int
15275 * gst/gststructure.c (gst_structure_get_enum): Impl.
15277 * gst/gststructure.h (gst_structure_get_enum): Add
15279 * docs/gst/gstreamer-sections.txt: Ditto
15281 * gst/gstmessage.c (gst_message_new_state_changed): Use
15282 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15283 which does introspection.
15284 Reviewed by Christian Schaller
15286 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15288 * gst/gstinfo.c: (gst_debug_log_default):
15289 don't do dummy g_strdup()s
15290 * libs/gst/controller/gstcontroller.c:
15291 (on_object_controlled_property_changed),
15292 (gst_controlled_property_new), (gst_controller_new_valist),
15293 (gst_controller_new_list),
15294 (gst_controller_remove_properties_valist), (gst_controller_set),
15295 (gst_controller_get), (gst_controller_sync_values),
15296 (gst_controller_get_value_array), (_gst_controller_class_init),
15297 (gst_controller_get_type):
15298 * libs/gst/controller/gstcontroller.h:
15299 * libs/gst/controller/gstinterpolation.c:
15300 (gst_controlled_property_find_timed_value_node):
15301 convert // to /**/ comments
15303 2005-09-28 Wim Taymans <wim@fluendo.com>
15305 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15306 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15307 (gst_bus_sync_signal_handler):
15309 Added async-message and sync-message signals to the bus.
15310 Added helper BusFunc to emit signals for all posted messages.
15312 * gst/gstmessage.c: (gst_message_type_get_name),
15313 (gst_message_type_to_quark), (gst_message_get_type):
15314 * gst/gstmessage.h:
15315 Register quarks for message names.
15317 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15319 * docs/libs/gstreamer-libs-sections.txt:
15320 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15321 (gst_controller_new_list):
15322 * libs/gst/controller/gstcontroller.h:
15323 added another constructor for language bindings
15325 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
15327 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15331 * gst/gstinfo.c: (_gst_debug_init):
15332 slightly more readable color for refcount debugging
15334 2005-09-28 Wim Taymans <wim@fluendo.com>
15336 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15337 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15338 (find_element), (gst_bin_sort_iterator_next),
15339 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15340 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15341 (gst_bin_change_state), (gst_bin_dispose):
15342 Small doc fixes. get_clock -> provide_clock.
15344 * gst/gstelement.c: (gst_element_class_init),
15345 (gst_element_provides_clock), (gst_element_provide_clock),
15346 (gst_element_get_clock), (gst_element_commit_state),
15347 (gst_element_lost_state):
15348 * gst/gstelement.h:
15349 Make get/set_clock() symetric. Add provide_clock vmethod since
15350 that is actually what this function does.
15352 * gst/gstpipeline.c: (gst_pipeline_class_init),
15353 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15354 (gst_pipeline_get_clock):
15355 get_clock -> provide_clock.
15357 2005-09-28 Andy Wingo <wingo@pobox.com>
15359 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15360 lieu of real docs...
15362 * gst/elements/gstfdsrc.c: Cleaned up a bit.
15364 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
15366 * gst/elements/gstcapsfilter.c:
15367 * gst/elements/gstfakesink.c:
15368 * gst/elements/gstfakesrc.c:
15369 * gst/elements/gstfdsink.c:
15370 * gst/elements/gstfdsrc.c:
15371 * gst/elements/gstfilesink.c:
15372 * gst/elements/gstfilesrc.c:
15373 * gst/elements/gstidentity.c:
15374 * gst/elements/gsttee.c:
15375 * gst/elements/gsttypefindelement.c:
15376 Make element details static.
15378 2005-09-28 Wim Taymans <wim@fluendo.com>
15380 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15381 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15382 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15383 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15384 (gst_bin_change_state), (gst_bin_dispose):
15385 Some documentation updates.
15386 Clean up dispose handlers.
15388 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15389 * gst/gstpad.c: (gst_pad_dispose):
15390 Clean up dispose handler.
15392 * gst/gstpipeline.c: (gst_pipeline_change_state):
15393 Removed spurious UNLOCK.
15395 2005-09-27 Stefan Kost <ensonic@users.sf.net>
15397 * docs/gst/gstreamer-sections.txt:
15398 * gst/base/gstbasesrc.h:
15399 * gst/gstelement.h:
15403 * gst/gstpipeline.c:
15404 * gst/gstpipeline.h:
15407 added two new functions to the docs
15408 documents all undocumented GstXXXFlags
15409 completed some incomplete docs
15411 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
15413 * gst/gstbin.c: (gst_bin_dispose):
15414 * gst/gstelement.c: (gst_element_dispose):
15415 remove now useless and leaky resurrection code in dispose
15416 * gst/base/gstbasesrc.c: (gst_base_src_init):
15417 * gst/gstelementfactory.c: (gst_element_factory_create):
15418 * gst/gstobject.c: (gst_object_set_parent):
15421 2005-09-27 Wim Taymans <wim@fluendo.com>
15423 * docs/design/part-TODO.txt:
15426 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15427 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15428 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15429 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15430 (gst_bin_change_state):
15431 * gst/gstelement.h:
15432 Remove element variable, we keep element info in the iterator now.
15434 2005-09-27 Andy Wingo <wingo@pobox.com>
15436 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15439 2005-09-27 Wim Taymans <wim@fluendo.com>
15441 * check/gst/gstbin.c: (GST_START_TEST):
15442 Enable check that works now.
15444 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15445 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15446 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15447 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15448 (gst_bin_change_state):
15450 Redid the state change algorithm using a topological sort algo.
15451 Handles all cases correctly.
15452 Exposed iterator for state change order.
15454 * gst/gstelement.h:
15455 Temp storage for state changes. Need to get rid of this soon.
15457 2005-09-27 Wim Taymans <wim@fluendo.com>
15459 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15460 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15461 (link_fold_func), (gst_pad_proxy_setcaps):
15462 Leak fixes, the fold functions need to unref the passed object and
15463 _get_parent_*() returns ref to parent.
15465 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15467 * check/gst/gstbuffer.c: (test_make_writable):
15468 Plug leak in test case and fix 'make check-valgrind'
15470 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15472 * gst/gstbuffer.c: (gst_subbuffer_init):
15473 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15474 works correctly in all circumstances (we could have just copied
15475 the parent buffer's readonly flag, but conceptually it seems
15476 cleaner to mark all subbuffers as read-only). (based on patch
15477 by Alessandro Decina, #314710).
15479 * check/gst/gstbuffer.c: (create_read_only_buffer),
15480 (test_make_writable), (test_subbuffer_make_writable),
15482 Add some tests for gst_buffer_make_writable().
15484 2005-09-27 Wim Taymans <wim@fluendo.com>
15486 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15487 use gst_object_has_ancestor().
15489 * gst/gstobject.c: (gst_object_has_ancestor):
15491 gst_object_has_ancestor() copied from gstbin.c as it is a
15494 * tests/instantiate/create.c: (create_all_elements):
15495 * tests/lat.c: (handoff_src), (handoff_sink):
15496 * tests/sched/runxml.c: (main):
15497 * tests/seeking/seeking1.c: (main):
15498 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15500 Fix compilation of some tests.
15502 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15505 Remove comment. GST_TYPE_G_ERROR is here to stay,
15506 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15507 (#316961, #300610).
15509 2005-09-26 Wim Taymans <wim@fluendo.com>
15511 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15512 Added check that shows error in state change order.
15514 2005-09-26 Wim Taymans <wim@fluendo.com>
15516 * gst/gstbin.c: (gst_bin_change_state):
15517 Make state change function use 3 queues again, we were
15518 adding elements in the wrong order.
15520 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15523 * gst/gstpad.c: (gst_pad_dispose):
15524 Added some debug info first.
15526 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
15528 * docs/design/draft-push-pull.txt:
15529 * docs/design/part-events.txt:
15530 * docs/design/part-overview.txt:
15531 * docs/design/part-scheduling.txt:
15532 Replace all _pull_region() with _pull_range()
15534 2005-09-26 Andy Wingo <wingo@pobox.com>
15536 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15538 * check/gst-libs/controller.c: Update for controller api change.
15541 * tests/Makefile.am:
15542 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15543 over by GLib bug 118439.
15545 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15546 routines to a function.
15548 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15550 * libs/gst/controller/gsthelper.c:
15551 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15552 (gst_object_sync_values): Renamed from sink_values. Ugh.
15554 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15556 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15557 Renamed from controller_key, as it is exported.
15559 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15561 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
15566 * gst/gstpadtemplate.h:
15569 * gst/gstqueryutils.c:
15570 * gst/gstqueryutils.h:
15571 remove queryutils headers after moving the two used functions
15572 to gstquery. also fixes build problem for gstsiddec
15574 2005-09-26 Michael Smith <msmith@fluendo.com>
15576 * tools/gst-launch.1.in:
15577 Correct documentation in manpage of debug syntax
15579 2005-09-26 Wim Taymans <wim@fluendo.com>
15581 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15582 (gst_base_src_is_seekable), (gst_base_src_change_state):
15583 Some more debugging info.
15585 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15587 * docs/gst/gstreamer-sections.txt:
15588 * gst/base/gstbasetransform.h:
15592 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15594 * docs/gst/.cvsignore:
15595 * docs/gst/tmpl/.cvsignore:
15596 * docs/gst/tmpl/gstpipeline.sgml:
15597 * docs/gst/tmpl/gstplugin.sgml:
15598 * gst/gstpipeline.c:
15601 inlined the last two docs files
15602 removed the tmpl directory from cvs (no more conflicts here!)
15604 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15606 * docs/gst/gstreamer-sections.txt:
15607 * docs/gst/tmpl/.cvsignore:
15608 * docs/gst/tmpl/gstpad.sgml:
15609 * docs/gst/tmpl/gstpadtemplate.sgml:
15611 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15612 (gst_pad_finalize), (gst_pad_set_pad_template):
15614 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15615 (gst_pad_template_class_init), (gst_pad_template_init),
15616 (gst_pad_template_dispose), (name_is_valid),
15617 (gst_static_pad_template_get), (gst_pad_template_new),
15618 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15619 (gst_pad_template_pad_created):
15620 * gst/gstpadtemplate.h:
15621 inlined two more docs
15622 factored gstpadtemplate out of gstpad
15624 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
15626 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15627 (test_children_state_change_order_semi_sink):
15628 Fix test case: we can't rely on a fixed state change order when
15629 going from READY => PAUSED because the sink might commit its
15630 new state first when the first buffer created by the source
15631 reaches the sink before the source has finished its change state.
15632 (Test case still fails at times, see #316856, comment 5 onwards)
15634 2005-09-24 Wim Taymans <wim@fluendo.com>
15636 * docs/design/part-events.txt:
15637 * docs/design/part-gstbus.txt:
15638 * docs/design/part-gstpipeline.txt:
15639 * docs/design/part-messages.txt:
15640 * docs/design/part-overview.txt:
15641 * docs/design/part-segments.txt:
15645 * gst/gstelement.c:
15648 * gst/gstiterator.c:
15649 Various documentation updates.
15651 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
15654 Well, that's embarassing. Luckily we weren't using
15655 GST_CLOCK_DIFF anywhere.
15657 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15659 * common/gtk-doc.mak:
15660 don't fail on building XML, FC4 slave shows a bunch of doc
15661 missing bits that I don't get
15663 * gst/gstpipeline.c:
15664 * gst/gststructure.c:
15667 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15669 * docs/design/part-gstbin.txt:
15670 * docs/design/part-gstbus.txt:
15672 Add blurb about how the bus goes into flushing mode and
15673 drops all messages when its bin goes from READY into NULL
15676 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15678 * docs/gst/gstreamer-sections.txt:
15679 * gst/gststructure.c: (gst_structure_get_clock_time):
15680 * gst/gststructure.h:
15681 add a method to get a GstClockTime out of a structure
15683 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15685 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15686 (test_children_state_change_order_semi_sink), (gst_bin_suite):
15687 Added test to check state change order in bins (can still be made
15688 to fail here under heavy disk load; bails out with 'Push on pad
15689 fakesink:sink0, but it was not activated in push mode').
15691 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15692 Fix state change order when there is only a semi sink (#316856)
15694 * gst/gstbus.c: (gst_bus_class_init):
15695 Use _class_peek_parent(), not _class_ref(); fix docs to say
15696 'default main context' instead of 'mainloop' where that is
15699 * gst/gstelement.c: (gst_element_commit_state),
15700 (gst_element_set_state):
15701 Fix typos in debug messages
15703 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15706 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15707 * gst/gstpluginfeature.c:
15709 various doc updates
15710 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15711 change an assert into an error until it gets fixed properly
15713 2005-09-23 Stefan Kost <ensonic@users.sf.net>
15715 * docs/gst/gstreamer-sections.txt:
15716 * docs/gst/tmpl/.cvsignore:
15717 * docs/gst/tmpl/gstelement.sgml:
15718 * docs/gst/tmpl/gstinfo.sgml:
15719 * docs/gst/tmpl/gstobject.sgml:
15720 * gst/gstelement.c:
15721 * gst/gstelement.h:
15724 * gst/gstobject.c: (gst_object_class_init):
15726 inlined 3 more biiiig doc files and added some missing docs on the fly
15728 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15730 * check/gst/.cvsignore:
15731 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15732 * gst/gstregistryxml.c: (load_plugin),
15733 (gst_registry_xml_save_plugin):
15734 put back source in registry. add checks for find_plugin.
15735 * testsuite/states/bin.c: (assert_state), (empty_bin),
15736 (test_adding_one_element), (main):
15737 * testsuite/states/locked.c: (main):
15738 some compile/run fixes
15740 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
15742 * check/gst/gstvalue.c: (GST_START_TEST):
15743 fix leaks in the test itself
15745 2005-09-22 Wim Taymans <wim@fluendo.com>
15747 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15748 (gst_base_sink_send_event), (gst_base_sink_peer_query),
15749 (gst_base_sink_query):
15750 Prepare for more accurate position reporting and query
15753 * gst/gstelement.c: (gst_element_send_event),
15754 (gst_element_set_state):
15757 2005-09-22 Wim Taymans <wim@fluendo.com>
15759 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15760 (gst_query_parse_segment):
15762 More documentation.
15763 Add segment query for future use.
15765 2005-09-22 Wim Taymans <wim@fluendo.com>
15767 * gst/gstbin.c: (gst_bin_add_func):
15768 Some more debug info.
15770 * gst/gstelement.c: (gst_element_send_event):
15771 Simplify send_event
15773 * gst/gstelement.h:
15774 Don't know how flags got broken.
15779 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15781 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15782 Add simplistic test suite for GST_TYPE_DATE serialisation and
15785 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15787 * docs/gst/gstreamer-sections.txt:
15788 * gst/gststructure.c: (gst_structure_set_valist),
15789 (gst_structure_get_date):
15790 * gst/gststructure.h:
15791 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15792 (gst_date_copy), (gst_value_compare_date),
15793 (gst_value_serialize_date), (gst_value_deserialize_date),
15794 (gst_value_transform_date_string),
15795 (gst_value_transform_string_date), (_gst_value_initialize):
15797 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15798 bunch of utility functions along with a hack that checks that
15799 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15800 is required. Part of the grand scheme in #170777.
15802 2005-09-22 Andy Wingo <wingo@pobox.com>
15804 * gst/gstconfig.h.in: Psych out gtk-doc.
15806 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15808 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15810 * tools/gst-inspect.c (print_element_list): Plug some
15811 inconsequential leaks.
15813 * gst/gstregistry.c (gst_registry_get_default): Doc.
15815 * check/gst/gstplugin.c:
15816 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15817 * gst/gstelementfactory.c (gst_element_factory_create):
15818 * gst/gstindexfactory.c (gst_index_factory_create): Update for
15821 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15822 (gst_plugin_feature_load): Doc, don't eat refs.
15824 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15825 (gst_plugin_list_free): Doc.
15826 (gst_plugin_load_file): Doc updates.
15828 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15829 accessors returning refcounted objects, return a ref.
15831 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15832 accessor for caps. IDEMPOTENCE. Oh yes.
15834 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
15836 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15838 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15839 (_gst_debug_register_funcptr):
15840 Add mutex to serialise access to the hash table with
15841 the function pointer => function name string mapping;
15842 make that hash table static scope (#316809).
15844 * gst/registries/.cvsignore:
15845 Remove left-over file.
15847 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15849 * docs/pwg/appendix-porting.xml:
15850 And something about newsegment events and caps-on-buffers to
15851 the porting guide (feel free to improve).
15853 2005-09-21 Andy Wingo <wingo@pobox.com>
15855 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15856 data and event probes on the same pad.
15857 (test_buffer_probe_once): Test that removing probes from within
15858 the probe functions works.
15860 2005-09-21 Andy Wingo <wingo@pobox.com>
15862 * check/gst/gstutils.c: New file.
15863 (test_buffer_probe_n_times): A simple buffer probe test. More to
15866 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15867 have-data::buffer, not have-data.
15868 (gst_pad_add_event_probe): Likewise for have-data::event.
15869 (gst_pad_add_data_probe): More docs. The part about 'resolving the
15870 peer' isn't quite right yet though.
15871 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
15872 (gst_pad_remove_data_probe): Change to take the guint handler_id
15873 as their arg, not the function+data, which is more glib-like.
15875 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15876 the signal emission to indicate if the data is a buffer or an
15878 (gst_pad_get_type): Initialize buffer and event quarks.
15879 (gst_pad_class_init): have-data is now a detailed signal, yes it
15882 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15884 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15885 * gst/gstutils.c: (gst_util_set_value_from_string),
15886 (gst_util_set_object_arg):
15887 Don't put functional code in g_return_if_fail() or
15888 g_return_val_if_fail() statements, otherwise things will
15889 break when G_DISABLE_CHECKS is defined during compilation.
15891 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15893 * docs/gst/tmpl/.cvsignore:
15894 * docs/gst/tmpl/gstvalue.sgml:
15897 inlied another one and added some obvious docs
15899 2005-09-21 Wim Taymans <wim@fluendo.com>
15901 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15902 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15903 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15904 (gst_fdsrc_get_property), (gst_fdsrc_create):
15905 * gst/elements/gstfdsrc.h:
15906 Properly implement fdsrc. Removed signal and timeout,
15907 better implemented somewhere else.
15909 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15911 * docs/gst/tmpl/.cvsignore:
15912 * docs/gst/tmpl/gstimplementsinterface.sgml:
15913 * gst/gstinterface.c:
15916 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15918 * docs/gst/gstreamer-sections.txt:
15919 * docs/gst/tmpl/.cvsignore:
15920 * docs/gst/tmpl/gstenumtypes.sgml:
15921 remove obsolete doc file
15923 2005-09-21 David Schleef <ds@schleef.org>
15925 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15926 little beer, fix a little leak.
15928 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15930 * docs/gst/gstreamer-docs.sgml:
15931 * docs/gst/gstreamer-sections.txt:
15932 * docs/gst/tmpl/.cvsignore:
15936 * gst/gstelement.h:
15937 * gst/gstindex.c: (gst_index_class_init):
15939 * gst/gstindexfactory.c: (gst_index_factory_get_type),
15940 (gst_index_factory_class_init), (gst_index_factory_init),
15941 (gst_index_factory_finalize), (gst_index_factory_new),
15942 (gst_index_factory_destroy), (gst_index_factory_find),
15943 (gst_index_factory_create), (gst_index_factory_make):
15944 * gst/gstindexfactory.h:
15945 * gst/gstpluginfeature.c:
15946 * gst/gstpluginfeature.h:
15947 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15948 more docs inlined, splitted gstindex.{c,h}
15950 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15952 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15955 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15957 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15958 Set sync to FALSE by default.
15960 2005-09-20 Wim Taymans <wim@fluendo.com>
15962 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15963 (gst_base_sink_init):
15964 Make sync property settable from subclass.
15966 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15967 (gst_fake_sink_change_state):
15968 Set sync to FALSE by default.
15970 2005-09-20 Wim Taymans <wim@fluendo.com>
15972 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15973 * tools/gst-launch.c: (main):
15974 The timeout handler should have lower priority than the source
15975 so we don't timeout before popping a message with 0 timeout.
15976 Dump error messages after failed state change.
15978 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15980 * tools/gst-inspect.c: (print_element_properties_info):
15983 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15985 * check/gst/gstevent.c:
15986 * gst/elements/gstfakesink.c:
15987 * gst/elements/gstfakesink.h:
15988 remove the sync property from fakesink.
15989 has the side effect of setting sync TRUE
15990 for fakesink, which is a change. Anyone who knows how
15991 to fix this nicely in a GObject-y way, feel free.
15993 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15995 * docs/gst/gstreamer-docs.sgml:
15996 remove probe refsection
15998 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16000 * check/Makefile.am:
16001 disable valgrinding the controller test again
16002 * docs/gst/gstreamer-sections.txt:
16003 update for api-changes
16005 2005-09-20 Wim Taymans <wim@fluendo.com>
16007 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16008 (gst_base_sink_set_property), (gst_base_sink_get_property),
16009 (gst_base_sink_do_sync):
16010 * gst/base/gstbasesink.h:
16011 Added sync property to basesink to disable clock sync.
16013 2005-09-20 Andy Wingo <wingo@pobox.com>
16015 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
16016 eating the caller's refcount.
16018 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
16019 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
16022 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
16023 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
16024 of GLib 2.8 public, so we can know which refcount to check in
16027 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
16028 (gst_object_init): Only set the gst refcount if we're going ahead
16029 with the refcount hack.
16031 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16033 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16034 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
16035 more leaks plumbed, added more debug-logging
16039 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16041 * gst/gstmessage.c:
16042 remove include of gstmemchunk.h
16044 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16046 * gst/gstclock.c: (_gst_clock_id_free):
16047 Commit from the Political Party For More Atomic CVS Commits,
16048 so that people don't waste too much of their day fishing
16049 out obvious leaks out of massive commits.
16050 Oh, and fix a pretty damn obvious leak in the memchunk
16053 2005-09-20 Stefan Kost <ensonic@users.sf.net>
16055 * check/Makefile.am:
16056 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16057 plug mem-leak, re-add to valgrindable tests
16059 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16062 unbreak the build for those who have chronic arthritis
16063 and typing "make check" is just too taxing on the hands
16065 2005-09-20 Andy Wingo <wingo@pobox.com>
16067 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
16068 really want it out, you should fix plugins at the same time.
16070 2005-09-19 Stefan Kost <ensonic@users.sf.net>
16073 * docs/gst/gstreamer-sections.txt:
16075 added missing symbols to api docs
16076 disable ref-count hack if we have glib >= 2.8
16078 2005-09-19 David Schleef <ds@schleef.org>
16080 * docs/gst/Makefile.am: Ignore a few more internal headers
16081 * docs/gst/gstreamer-docs.sgml: Remove old sections
16082 * docs/gst/gstreamer-sections.txt: Remove old sections
16083 * docs/gst/tmpl/gstobject.sgml: update
16084 * docs/gst/tmpl/gstplugin.sgml: update
16085 * docs/gst/tmpl/gstpluginfeature.sgml: update
16086 * docs/random/ds/0.9-suggested-changes: update.
16087 * gst/Makefile.am: remove memchunk and trashstack, since they're
16089 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
16090 * gst/gst.h: don't include some headers
16091 * gst/gstchildproxy.c: add gstmarshal.h
16092 * gst/gstclock.c: Don't use memchunks
16093 * gst/gstminiobject.c: Add some docs
16094 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
16095 * gst/gstobject.h: same
16096 * gst/gstplugin.c: include gstmacros.h
16097 * gst/gstplugin.h: don't include gstmacros.h, since it's private
16098 * gst/gstquery.c: don't use memchunks
16099 * gst/gstregistry.c: rename gst_registry_deinit()
16100 * gst/gstregistry.h: same
16102 2005-09-19 David Schleef <ds@schleef.org>
16104 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
16105 * docs/libs/gstreamer-libs-sections.txt:
16106 * docs/libs/tmpl/gstgetbits.sgml:
16107 * docs/libs/tmpl/gstputbits.sgml:
16109 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
16111 * win32/gstenumtypes.c:
16112 * win32/gstenumtypes.h:
16115 2005-09-19 Wim Taymans <wim@fluendo.com>
16117 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
16118 Automatically PAUSE and RESUME a pipeline when a flushing seek
16121 2005-09-19 Andy Wingo <wingo@pobox.com>
16123 * gst/gstregistry.h: Spacing fixen.
16125 2005-09-19 Wim Taymans <wim@fluendo.com>
16127 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
16128 Handle state change failure more correctly.
16130 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16132 * check/Makefile.am:
16133 * check/pipelines/cleanup.c: (run_pipeline):
16134 * check/pipelines/simple_launch_lines.c: (run_pipeline),
16136 enable cleanup again after fixing the leak
16138 some more info on docs
16140 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16142 * check/Makefile.am:
16143 re-enable tests now that leaks are plugged
16145 * check/gst/gstbin.c:
16146 * check/gst/gstpipeline.c:
16147 add some more tests while fixing leaks
16148 * common/check.mak:
16149 make sure binaries are uptodate when valgrinding/gdbing
16151 * gst/gstelementfactory.c:
16152 remove a ref too many, and add a FIXME for when we get
16153 round to disposing of classes
16155 fix the refcounting when loading a plugin from a file and
16156 the code pretends that the pointer is the same even though
16157 of course it can change
16158 * gst/gstpluginfeature.c:
16159 unref plugins marked cached (a bit confusing as a name)
16160 as the docs state should be done
16161 various doc additions to explain refcounting
16162 * gst/gstregistry.c:
16163 * gst/gstregistryxml.c:
16166 2005-09-19 Wim Taymans <wim@fluendo.com>
16168 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16169 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16170 (send_messages), (GST_START_TEST), (gstbus_suite):
16171 * check/gst/gstpipeline.c: (GST_START_TEST):
16172 * check/pipelines/cleanup.c: (run_pipeline):
16173 * check/pipelines/simple_launch_lines.c: (run_pipeline),
16175 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
16176 (gst_bus_source_check), (gst_bus_source_dispatch),
16177 (gst_bus_create_watch), (gst_bus_add_watch_full),
16178 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
16180 * tools/gst-launch.c: (event_loop):
16181 * tools/gst-md5sum.c: (event_loop):
16182 GstBusHandler -> GstBusFunc, return value has the same meaning as
16183 any other GSource (FALSE == remove source).
16184 _add_watch() and _add_watch_full() now take a MessageType mask to
16185 only handle specific types of messages.
16186 _poll() returns the GstMessage instead of the message type to avoid
16188 _have_pending() takes a MessageType mask now too.
16189 Added testsuite for multiple bus watches.
16190 Fix testsuites and applications for new bus API.
16192 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16194 * check/Makefile.am:
16195 mark a bunch of the tests as to fix until we fix them
16197 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16199 * common/check.mak:
16200 use GST_PLUGIN settings for valgrind tests as well, so we're
16201 valgrinding the correct thing
16202 * gst/gst.c: (init_post):
16205 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16207 * gst/gst.c: (init_post), (gst_deinit):
16208 * gst/gstelementfactory.c: (gst_element_factory_class_init),
16209 (gst_element_factory_finalize), (gst_element_factory_cleanup):
16210 * gst/gstindex.c: (gst_index_factory_class_init),
16211 (gst_index_factory_finalize):
16212 * gst/gstobject.c: (gst_object_dispose):
16213 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16214 (gst_plugin_load_file), (gst_plugin_desc_free):
16215 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
16216 (gst_plugin_feature_finalize):
16217 * gst/gstregistry.c: (gst_registry_class_init),
16218 (gst_registry_init), (gst_registry_finalize),
16219 (gst_registry_get_default), (gst_registry_deinit):
16220 * gst/gstregistry.h:
16221 * gst/gstregistryxml.c: (load_feature), (load_plugin):
16222 various cleanups and memleak plugging. make valgrind is happy now.
16224 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16226 * common/check.mak:
16227 add a check-valgrind target
16229 2005-09-18 David Schleef <ds@schleef.org>
16231 * tools/gst-inspect.c: Revert the GOption code.
16233 2005-09-17 David Schleef <ds@schleef.org>
16235 * check/Makefile.am: Fix environment variables.
16236 * check/gst/gstplugin.c: Fix for API changes.
16237 * tools/gst-inspect.c: Fix for API changes.
16238 * tools/gst-xmlinspect.c: Fix for API changes.
16239 * gst/gstelementfactory.c:
16242 * gst/gstpluginfeature.c:
16243 * gst/gstpluginfeature.h:
16244 * gst/gstregistry.c:
16245 * gst/gstregistry.h:
16246 * gst/gstregistryxml.c:
16247 * gst/gsttypefind.c:
16248 * gst/gsttypefindfactory.c:
16249 * gst/indexers/gstfileindex.c:
16250 * gst/indexers/gstmemindex.c:
16251 * gst/schedulers/Makefile.am:
16252 Change registry to keep track of both plugins and features,
16253 removing the feature tracking from plugins themselves.
16255 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
16257 * check/Makefile.am:
16258 * tools/gst-register.1.in:
16259 remove gst-register
16261 2005-09-15 David Schleef <ds@schleef.org>
16263 * check/gst/gstplugin.c:
16264 * gst/gstelementfactory.c:
16266 * gst/gstpluginfeature.c:
16267 * gst/gstregistry.c:
16268 Getting tired of debugging. Disabled all the unreffing of
16269 plugins and features, which fixes the segfaults, but of
16270 course leaks like crazy. At least playbin works.
16272 2005-09-15 David Schleef <ds@schleef.org>
16274 * check/gst/gstplugin.c: (register_check_elements),
16275 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16277 * gst/elements/gsttypefindelement.c: Fix refcounting.
16278 * gst/gsttypefind.c:
16279 * gst/gsttypefindfactory.c:
16280 * gst/gsttypefindfactory.h:
16282 2005-09-15 David Schleef <ds@schleef.org>
16284 * gst/gstindex.c: get refcounting correct.
16285 * gst/gstregistry.c: Handle the case where a feature/plugin is
16288 2005-09-15 David Schleef <ds@schleef.org>
16290 * check/Makefile.am:
16291 * check/gst/gstplugin.c: Add test
16292 * gst/gstplugin.c: Fix problems noticed by testsuite
16294 * gst/gstregistry.c:
16295 * gst/gstregistry.h:
16297 2005-09-15 David Schleef <ds@schleef.org>
16299 * gst/gstplugin.c: Implement semi-decent recounting and locking
16300 in plugins and plugin features.
16302 * gst/gstpluginfeature.c:
16303 * gst/gstpluginfeature.h:
16304 * gst/gstregistry.c:
16306 2005-09-15 Michael Smith <msmith@fluendo.com>
16308 * gst/gstregistry.c: (gst_registry_get_feature_list):
16309 Implement this. Makes oggdemux work; decodebin still broken.
16311 2005-09-14 David Schleef <ds@schleef.org>
16313 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16315 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16316 * gst/check/Makefile.am:
16317 * libs/gst/controller/Makefile.am:
16318 * libs/gst/dataprotocol/Makefile.am:
16320 2005-09-14 David Schleef <ds@schleef.org>
16322 * configure.ac: Remove getbits library. Nothing uses it, and
16323 it should be in something like liboil if someone did want
16325 * libs/gst/Makefile.am:
16326 * libs/gst/getbits/Makefile.am:
16327 * libs/gst/getbits/gbtest.c:
16328 * libs/gst/getbits/getbits.c:
16329 * libs/gst/getbits/getbits.h:
16330 * libs/gst/getbits/gstgetbits_generic.c:
16331 * libs/gst/getbits/gstgetbits_i386.s:
16332 * libs/gst/getbits/gstgetbits_inl.h:
16334 2005-09-14 David Schleef <ds@schleef.org>
16336 * gst/Makefile.am: Dist glib-compat.h
16338 2005-09-14 David Schleef <ds@schleef.org>
16340 * configure.ac: Remove gst/registries, since it's no longer used.
16341 * gst/registries/Makefile.am:
16342 * gst/registries/gstlibxmlregistry.c:
16343 * gst/registries/gstlibxmlregistry.h:
16344 * gst/registries/gstxmlregistry.c:
16345 * gst/registries/gstxmlregistry.h:
16346 * gst/registries/registrytest.c:
16348 2005-09-14 David Schleef <ds@schleef.org>
16350 * gst/glib-compat.h:
16351 * gst/gstregistryxml.c:
16352 Convergence is near. Seriously.
16354 2005-09-14 David Schleef <ds@schleef.org>
16356 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16357 * gst/glib-compat.h:
16358 Attempt #4 to appease the buildbots.
16360 2005-09-14 David Schleef <ds@schleef.org>
16362 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16365 2005-09-14 David Schleef <ds@schleef.org>
16367 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16370 2005-09-14 David Schleef <ds@schleef.org>
16372 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16375 2005-09-14 David Schleef <ds@schleef.org>
16377 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16378 * gst/glib-compat.h: Add some functions that are in newer versions
16379 of glib than we care to require.
16380 * gst/gstregistryxml.c: Use them.
16382 2005-09-14 David Schleef <ds@schleef.org>
16384 * po/POTFILES.in: remove gst-register.c
16386 2005-09-14 David Schleef <ds@schleef.org>
16388 * docs/gst/gstreamer-docs.sgml:
16389 * docs/gst/gstreamer-sections.txt:
16390 * docs/gst/gstreamer.types:
16391 * docs/gst/tmpl/gstelement.sgml:
16392 * docs/gst/tmpl/gstplugin.sgml:
16393 * docs/gst/tmpl/gstpluginfeature.sgml:
16394 Documentation updates for registry changes.
16396 2005-09-14 David Schleef <ds@schleef.org>
16398 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16399 because we don't require glib-2.8.
16401 2005-09-14 David Schleef <ds@schleef.org>
16403 * gst/gstregistryxml.c: Added. Essentially moved out of the
16404 registries directory.
16406 2005-09-14 David Schleef <ds@schleef.org>
16408 * check/Makefile.am:
16409 * check/generic/states.c:
16413 * gst/gst_private.h:
16414 * gst/gstelementfactory.c:
16419 * gst/gstpluginfeature.c:
16420 * gst/gstpluginfeature.h:
16421 * gst/gstregistry.c:
16422 * gst/gstregistry.h:
16423 * gst/gstregistrypool.c: remove
16424 * gst/gstregistrypool.h: remove
16425 * gst/gsttypefind.c:
16426 * gst/gsttypefindfactory.c:
16428 * tools/Makefile.am:
16429 * tools/gst-compprep.c:
16430 * tools/gst-inspect.c:
16431 * tools/gst-register.c: remove
16432 * tools/gst-xmlinspect.c:
16433 Registry rewrite. Changes registry from being a file created
16434 by a tool into a simple cache file created automatically by
16435 libgstreamer. Removed gst-register (because it's no longer
16436 needed). Remove registry pools, because we only have one
16437 registry implementation (XML). Fix up other subsystems as
16440 2005-09-13 Michael Smith <msmith@fluendo.com>
16442 * gst/gstconfig.h.in:
16443 Don't Use windows linking attributes for MinGW. Fixes #316157
16445 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
16447 * gst/gstutils.c: (set_state_async_thread_func),
16448 (gst_element_set_state_async):
16449 Apparently people think it's better if this function doesn't
16450 try to set the state to whatever state was asked for on the first
16451 call to this function for any object. Seriously.
16453 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16455 * check/gst/gstpipeline.c: (GST_START_TEST):
16456 * docs/gst/gstreamer-sections.txt:
16457 * gst/gstutils.c: (set_state_async_thread_func),
16458 (gst_element_set_state_async):
16460 add a "gst_element_set_state_async" method that
16461 sets the state and starts a thread to make sure the state
16462 change completes as best as it can
16464 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16466 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16467 codify design+behaviour in testsuite after discussion
16469 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16471 * docs/gst/tmpl/gstelement.sgml:
16472 * docs/manual/appendix-quotes.xml:
16474 * gst/gstelement.c: (gst_element_set_state):
16477 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
16479 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16480 (gst_base_transform_prepare_output_buf),
16481 (gst_base_transform_handle_buffer):
16482 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16483 (gst_capsfilter_prepare_buf):
16484 Remove the requirement for sub-classes to call the parent
16485 implementation of prepare_output_buffer with a wrapper function.
16487 * gst/gsttaglist.h:
16488 * gst/gsttagsetter.h:
16489 Fix #define wrapper
16491 2005-09-11 Stefan Kost <ensonic@users.sf.net>
16493 * docs/gst/gstreamer-sections.txt:
16496 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16498 * docs/gst/gstreamer-sections.txt:
16499 * docs/gst/tmpl/gstelement.sgml:
16500 * docs/gst/tmpl/gstplugin.sgml:
16501 * gst/gstminiobject.c:
16503 docs now stop throwing warnings
16505 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16507 * docs/gst/gstreamer-sections.txt:
16508 * docs/gst/gstreamer.types:
16509 * docs/gst/tmpl/gstpad.sgml:
16510 * docs/gst/tmpl/gsttypes.sgml:
16511 * gst/base/gstadapter.h:
16512 * gst/base/gstbasesink.h:
16513 * gst/base/gstbasesrc.h:
16519 * gst/gstelement.h:
16521 * gst/gstmessage.h:
16523 * gst/gststructure.c:
16524 * gst/registries/gstlibxmlregistry.h:
16525 various documentation fixes
16527 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16529 * docs/gst/gstreamer-sections.txt:
16530 * docs/gst/tmpl/gstvalue.sgml:
16531 rearrange gstvalue section
16532 * gst/gstutils.c: (gst_element_state_get_name):
16534 * gst/gstvalue.c: (_gst_value_initialize):
16538 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
16540 * check/gst-libs/controller.c:
16541 Header include fix.
16542 * gst/base/gstbasetransform.c:
16543 (gst_base_transform_default_prepare_buf),
16544 (gst_base_transform_handle_buffer):
16545 * gst/base/gstbasetransform.h:
16546 Some more basetransform changes and fixes to enable sub-classes
16547 that modify buffer metadata only.
16548 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16549 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16550 (gst_capsfilter_prepare_buf):
16551 If the output pad has fixed allowed caps and input buffers
16552 don't have any, set the fixed caps on outgoing buffers.
16554 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
16555 * check/elements/identity.c: (GST_START_TEST):
16556 Make the error a little clearer when the test fails because
16557 identity made a copy of the buffer.
16558 * docs/gst/gstreamer-sections.txt:
16559 New symbols in gstbasetransform.h
16560 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16561 (gst_base_transform_init), (gst_base_transform_transform_size),
16562 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16563 (gst_base_transform_default_prepare_buf),
16564 (gst_base_transform_get_unit_size),
16565 (gst_base_transform_buffer_alloc),
16566 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16567 (gst_base_transform_change_state),
16568 (gst_base_transform_set_passthrough),
16569 (gst_base_transform_set_in_place),
16570 (gst_base_transform_is_in_place):
16571 * gst/base/gstbasetransform.h:
16572 Change BaseTransform to separate in_place operate from same_caps
16573 output. in_place implies that the element can perform the transform
16574 on incoming buffers in-place, even if the caps on the output are
16576 Sub-class elements can now implement special buffer allocation
16577 methods for outgoing buffers if they wish to.
16578 Big documentation addition.
16579 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16580 * gst/elements/gstelements.c:
16581 Changes for basetransform modifications.
16582 * gst/elements/Makefile.am:
16583 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16584 Compile fix. Extra debug output.
16586 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16588 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16590 add tests for valid pad naming
16591 * gst/check/gstcheck.c: (gst_check_log_message_func),
16592 (gst_check_log_critical_func):
16594 remove printing of code, it is fragile when the code contains
16595 % and the line number is enough info
16596 * gst/check/gstcheck.h:
16597 * gst/gstpad.c: (gst_pad_template_new):
16600 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16603 say what CHECK flags we use
16604 * docs/libs/gstreamer-libs.types:
16605 * libs/gst/controller/Makefile.am:
16606 * libs/gst/controller/gst-controller.c:
16607 * libs/gst/controller/gst-controller.h:
16608 * libs/gst/controller/gst-helper.c:
16609 * libs/gst/controller/gst-interpolation.c:
16610 * libs/gst/controller/gstcontroller.c:
16611 * libs/gst/controller/gsthelper.c:
16612 * libs/gst/controller/gstinterpolation.c:
16613 * tools/gst-inspect.c: (print_plugin_info):
16614 we don't use dashes in header names
16616 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16618 * check/Makefile.am:
16619 * check/gst/.cvsignore:
16620 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16621 (gst_pipeline_suite), (main):
16622 adding a test for pipelines and state changes
16623 * gst/gstutils.c: (get_state_func):
16625 * gstreamer.spec.in:
16628 2005-09-08 Michael Smith <msmith@fluendo.com>
16630 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16631 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16632 (gst_file_src_is_seekable), (gst_file_src_get_size),
16633 (gst_file_src_start):
16634 * gst/elements/gstfilesrc.h:
16635 Various fixes for unseekable, unmmapable, and non-normal files, so
16636 that fallback to read() rather than mmap() works.
16637 * gst/gstevent.c: (gst_event_new_newsegment):
16638 Allow newsegment events with segment_start == segment_end, as will
16639 correctly happen if you use filesrc on a zero-size file, for
16642 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16644 * gst/gstplugin.c: (gst_plugin_load_file):
16645 Call g_module_close when we don't load the module
16647 * gst/registries/gstlibxmlregistry.c:
16648 (gst_xml_registry_get_property):
16649 Port leak fix from 0.8
16651 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16653 * docs/gst/gstreamer-docs.sgml:
16654 * docs/gst/tmpl/.cvsignore:
16655 * docs/gst/tmpl/gsttrace.sgml:
16656 * docs/gst/tmpl/gsttrashstack.sgml:
16659 * gst/gstelement.h:
16661 * gst/gstmessage.c:
16662 * gst/gstmessage.h:
16665 * gst/gsttaginterface.c:
16666 * gst/gsttaginterface.h:
16667 * gst/gsttaglist.c:
16668 * gst/gsttaglist.h:
16669 * gst/gsttagsetter.c:
16670 * gst/gsttagsetter.h:
16673 * gst/gsttrashstack.c:
16674 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16675 inlined docs for gsttrace, gsttrashstack
16677 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16680 * gst/elements/gstbufferstore.h:
16681 * gst/elements/gsttypefindelement.c:
16682 * gst/elements/gsttypefindelement.h:
16684 * gst/gsttypefind.c:
16685 * gst/gsttypefind.h:
16686 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16687 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16688 (gst_type_find_factory_dispose),
16689 (gst_type_find_factory_unload_thyself),
16690 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16691 (gst_type_find_factory_get_caps),
16692 (gst_type_find_factory_get_extensions),
16693 (gst_type_find_factory_call_function):
16694 * gst/gsttypefindfactory.h:
16695 * gst/registries/gstlibxmlregistry.c:
16696 * gst/registries/gstxmlregistry.c:
16697 splitted gsttypefind into gsttypefind, gsttypefindfactory
16699 2005-09-07 Andy Wingo <wingo@pobox.com>
16701 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16702 condition whereby the pad's task function is entered before the
16703 pad_mode variable was set.
16705 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16707 * gst/gstpad.c: (gst_pad_alloc_buffer):
16708 Catch misbehaving pad_alloc functions that don't
16709 set up caps and do it for them.
16711 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16713 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16714 test for pipe!=NULL
16715 * docs/gst/tmpl/.cvsignore:
16716 * docs/gst/tmpl/gstmemchunk.sgml:
16717 * docs/gst/tmpl/gstparse.sgml:
16718 * docs/gst/tmpl/gsttaglist.sgml:
16719 * docs/gst/tmpl/gsttagsetter.sgml:
16720 * docs/gst/tmpl/gsttypefind.sgml:
16721 * docs/gst/tmpl/gsttypefindfactory.sgml:
16722 * gst/gstmemchunk.c:
16725 * gst/gsttaginterface.c:
16726 * gst/gsttypefind.c:
16727 * gst/gsttypefind.h:
16730 === release 0.9.2 ===
16732 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
16737 releasing 0.9.2, "South"
16739 2005-09-05 Andy Wingo <wingo@pobox.com>
16741 * gst/registries/gstxmlregistry.h:
16742 * gst/registries/gstxmlregistry.c: Um... resurrect...
16744 * gst/registries/gstxmlregistry.h:
16745 * gst/registries/gstxmlregistry.c: and update to newer API.
16746 Incidentally they should be a bit faster now that they don't have
16749 2005-09-05 Andy Wingo <wingo@pobox.com>
16751 * gst/registries/gstxmlregistry.h:
16752 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16753 replaced by the libxml registry a while back
16755 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16757 * docs/gst/tmpl/gstplugin.sgml:
16758 * gst/elements/gstelements.c:
16760 * gst/gstplugin.c: (gst_plugin_register_func),
16761 (gst_plugin_desc_copy), (gst_plugin_desc_free),
16762 (gst_plugin_get_source):
16764 * gst/registries/gstlibxmlregistry.c: (load_plugin),
16765 (gst_xml_registry_save_plugin):
16766 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16767 (gst_xml_registry_save_plugin):
16768 * tools/gst-inspect.c: (print_plugin_info):
16769 add a "source" plugin description field, to represent the source
16770 module this plugin is a part of. By default GST_PLUGIN_DEFINE
16771 will set it to PACKAGE, which is automake's idea of the name of
16772 the source project.
16774 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16779 * docs/Makefile.am:
16780 * docs/faq/Makefile.am:
16781 * docs/gst/tmpl/gstelement.sgml:
16782 * docs/gst/tmpl/gsttypes.sgml:
16783 * docs/htmlinstall.mak:
16784 * docs/manual/Makefile.am:
16785 * docs/pwg/Makefile.am:
16786 reorganize doc build a little
16787 split out docbook and gtk-doc stuff
16788 have two separate --enable's and enable them through autogen
16789 but disable by default in configure (to be similar to other
16791 * gstreamer.spec.in:
16792 clean up docs install
16810 translation updates
16812 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
16814 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16817 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16818 (gst_fake_sink_change_state):
16819 Make state change function thread-safe.
16821 * gst/gstpad.c: (gst_pad_alloc_buffer):
16822 Set offset on generic buffer allocated by fallback.
16824 2005-09-03 Stefan Kost <ensonic@users.sf.net>
16826 * docs/gst/gstreamer-sections.txt:
16827 * docs/gst/tmpl/gstelement.sgml:
16829 * libs/gst/controller/gst-controller.c:
16830 (gst_controlled_property_set_interpolation_mode),
16831 (gst_controlled_property_new),
16832 (gst_controller_find_controlled_property):
16833 run the wingo-magic script against the docs
16835 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16837 * docs/gst/gstreamer-docs.sgml:
16838 * docs/gst/gstreamer-sections.txt:
16839 * docs/gst/tmpl/.cvsignore:
16840 * docs/gst/tmpl/gstelementdetails.sgml:
16841 * docs/gst/tmpl/gstelementfactory.sgml:
16844 * gst/gstelementfactory.c:
16845 * gst/gstelementfactory.h:
16846 merged elementdetails docs into elementfactory docs
16849 2005-09-02 Andy Wingo <wingo@pobox.com>
16851 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16852 consider this enum an enum and not a flags.
16854 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16856 * docs/gst/gstreamer-docs.sgml:
16857 * docs/gst/tmpl/.cvsignore:
16858 * docs/gst/tmpl/gstghostpad.sgml:
16859 * docs/gst/tmpl/gstiterator.sgml:
16860 * docs/gst/tmpl/gstmacros.sgml:
16861 * docs/gst/tmpl/gstrealpad.sgml:
16862 * docs/gst/tmpl/gstregistry.sgml:
16863 * docs/gst/tmpl/gstregistrypool.sgml:
16864 * docs/gst/tmpl/gststructure.sgml:
16865 * docs/gst/tmpl/gstsystemclock.sgml:
16866 * docs/gst/tmpl/gsttrace.sgml:
16867 * gst/gstghostpad.c:
16869 * gst/gstmemchunk.c:
16870 * gst/gstmemchunk.h:
16872 * gst/gstregistry.c:
16873 * gst/gstregistrypool.c:
16874 * gst/gststructure.c:
16875 * gst/gstsystemclock.c:
16878 2005-09-02 Andy Wingo <wingo@pobox.com>
16880 * gst/gstelement.h (GstState): Renamed from GstElementState,
16881 changed to be a normal enum instead of flags.
16882 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16883 munged to be GST_STATE_CHANGE_*.
16884 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16885 work with the new state representation.
16886 (GstStateChange): New enumeration of possible state transitions.
16887 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16888 (GstElementClass::change_state): Pass the GstStateChange along as
16889 an argument. Helps language bindings, so they don't have to use
16890 tricky lock-needing macros like GST_STATE_CHANGE ().
16892 * scripts/update-states (file): New script. Run it on a file to
16893 update it for state naming and API changes. Updates files in
16896 * All files updated for the new API.
16898 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
16900 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16901 * gst/gstutils.c: (gst_util_set_value_from_string),
16902 (gst_util_set_object_arg):
16903 fix a bunch of unchecked return values
16904 * tools/gst-complete.c: (main):
16905 * gstreamer.spec.in:
16908 2005-09-01 Wim Taymans <wim@fluendo.com>
16910 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16911 (gst_base_sink_event), (gst_base_sink_do_sync),
16912 (gst_base_sink_handle_event):
16913 * gst/base/gstbasesink.h:
16914 Handle newsegments more correctly.
16919 * gst/gstevent.c: (gst_event_new_newsegment):
16920 A newsegment cannot have a start_time of -1
16922 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
16924 * win32/gstenumtypes.c:
16925 * win32/gstenumtypes.h:
16928 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16930 * libs/gst/controller/gst-controller.c:
16931 (gst_controlled_property_set_interpolation_mode),
16932 (gst_controlled_property_new):
16933 fixed boolean again
16935 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
16937 * docs/faq/gst-uninstalled:
16942 * gst/gstutils.c: (gst_element_link_filtered):
16944 add gst_element_link_filtered
16946 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16948 * docs/gst/gstreamer-docs.sgml:
16949 * docs/gst/gstreamer-sections.txt:
16950 * docs/gst/tmpl/.cvsignore:
16951 * docs/gst/tmpl/gsterror.sgml:
16952 * docs/gst/tmpl/gstfilter.sgml:
16953 * docs/gst/tmpl/gsturihandler.sgml:
16954 * docs/gst/tmpl/gsturitype.sgml:
16955 * docs/gst/tmpl/gstutils.sgml:
16956 * docs/gst/tmpl/gstxml.sgml:
16961 * gst/gsturitype.c:
16964 inlined more docs, fixed double id-ref
16966 2005-08-31 Wim Taymans <wim@fluendo.com>
16968 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16969 (gst_base_transform_handle_buffer):
16970 Passthrough elements don't need the caps as they don't care.
16972 2005-08-31 Wim Taymans <wim@fluendo.com>
16974 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16975 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16976 Don't leak refcounts on buffers.
16978 2005-08-31 Wim Taymans <wim@fluendo.com>
16980 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16981 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16982 (gst_base_transform_chain), (gst_base_transform_change_state):
16983 * gst/base/gstbasetransform.h:
16984 Handle the case where we are not negotiated more gracefully.
16986 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
16988 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16989 (gst_file_src_map_region):
16990 Set READONLY flag on mmap'ed buffers, otherwise
16991 gst_buffer_make_writable() won't work properly (#314708).
16993 2005-08-31 Wim Taymans <wim@fluendo.com>
16995 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16996 passthrough elements can even do inplace on non writable
16997 buffers (as they don't touch them).
16999 2005-08-31 Stefan Kost <ensonic@users.sf.net>
17001 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
17002 (gst_test_mono_source_set_property),
17003 (gst_test_mono_source_class_init), (GST_START_TEST),
17004 (gst_controller_suite):
17005 more tests (hehe I have the most)
17007 describe popping messages whenusing mulltiple sources
17008 * libs/gst/controller/gst-controller.c:
17009 (gst_controlled_property_set_interpolation_mode),
17010 (gst_controlled_property_new):
17011 * libs/gst/controller/gst-controller.h:
17012 * libs/gst/controller/gst-interpolation.c:
17013 implement boolean properties
17015 2005-08-31 Wim Taymans <wim@fluendo.com>
17017 * gst/gstminiobject.c: (gst_mini_object_ref):
17018 Cannot assert that the refcount has to be positive
17019 since a disposed object can be resurrected.
17021 2005-08-31 Wim Taymans <wim@fluendo.com>
17023 * gst/gstpad.c: (gst_pad_init):
17024 Revert change, need to first fix badly behaving
17027 2005-08-30 Wim Taymans <wim@fluendo.com>
17029 * check/elements/fakesrc.c: (setup_fakesrc):
17030 * check/elements/identity.c: (setup_identity):
17031 Activate pads before using them.
17033 2005-08-30 Wim Taymans <wim@fluendo.com>
17035 * gst/base/gstadapter.c: (gst_adapter_flush):
17036 Flushing out 0 bytes is ok for this function.
17038 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17039 no newsegment gives a warning and sets the start/stop to
17042 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
17043 (gst_base_transform_set_passthrough):
17046 * gst/gstminiobject.c: (gst_mini_object_ref):
17047 Check refcount here too.
17049 * gst/gstpad.c: (gst_pad_init):
17050 Pads are initially flushing and refusing data.
17052 * gst/gstutils.c: (gst_element_link_pads_filtered):
17053 When adding a capsfilter element make sure it has the
17054 same state as the parent bin.
17056 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17058 * docs/gst/tmpl/.cvsignore:
17059 * docs/gst/tmpl/gstformat.sgml:
17060 * docs/gst/tmpl/gstversion.sgml:
17064 * gst/gstversion.h.in:
17065 more docs and two more inlined
17067 2005-08-30 Wim Taymans <wim@fluendo.com>
17069 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
17070 Don't sync to clock.
17072 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17074 * docs/gst/gstreamer-sections.txt:
17075 ultral33t func10ns deserve to appear in the docs actually
17076 * docs/gst/tmpl/.cvsignore:
17077 * docs/gst/tmpl/gstcompat.sgml:
17078 * docs/gst/tmpl/gstconfig.sgml:
17079 * gst/check/gstcheck.c:
17081 * gst/gstconfig.h.in:
17084 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17086 * docs/gst/tmpl/.cvsignore:
17087 * docs/gst/tmpl/gstquery.sgml:
17088 * docs/gst/tmpl/gstutils.sgml:
17091 inlined and extended docs
17093 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17095 * check/gst-libs/controller.c: (GST_START_TEST),
17096 (gst_controller_suite):
17098 * docs/gst/tmpl/gstutils.sgml:
17099 * docs/libs/gstreamer-libs-sections.txt:
17100 * docs/libs/tmpl/gstdataprotocol.sgml:
17102 * examples/controller/audio-example.c: (main):
17103 controller example works now
17106 * tools/gst-inspect.c: (print_element_properties_info):
17107 show param spec flags
17109 2005-08-29 Andy Wingo <wingo@pobox.com>
17111 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
17113 2005-08-28 Andy Wingo <wingo@pobox.com>
17115 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
17116 as having two arguments instead of just one. Allows superclasses
17117 to access information on subclasses -- see the terrible for() loop
17118 in gtype.c:g_type_create_instance for the reason why. All callers
17121 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17123 * docs/design/part-messages.txt:
17125 * docs/gst/tmpl/.cvsignore:
17126 * docs/gst/tmpl/gstcaps.sgml:
17127 * docs/gst/tmpl/gstclock.sgml:
17133 * gst/gstmessage.c:
17134 added descriptions for bus and message
17135 inline caps and clock docs
17137 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17139 * gst/gstmessage.c:
17140 * gst/gstmessage.h:
17143 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17145 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17148 2005-08-26 Andy Wingo <wingo@pobox.com>
17150 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
17151 element_set_state's return val.
17152 (test_2_elements): Add test that's been disabled for months.
17154 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
17155 can-activate-pull properties.
17157 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
17158 can-activate-pull properties. Implement is_seekable so fakesrc can
17159 operate in pull mode.
17161 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
17163 (gst_base_sink_activate, gst_base_sink_activate_pull)
17164 (gst_base_sink_activate_push): Make activation mode choosing work.
17166 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
17167 is right. Make pull mode work. Post an eos before pausing in pull
17169 (gst_base_sink_change_state): Pay attention to the core's
17170 change_state() return val.
17172 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
17173 has-getrange properties. Cleanups.
17175 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
17176 has_getrange and replace with can_activate_pull and
17179 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
17180 locking comments. Remove has_loop, has_chain and replace with
17181 can_activate_pull and can_activate_push.
17183 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
17186 * examples/Makefile.am:
17187 * examples/metadata/Makefile.am:
17188 * examples/metadata/read-metadata.c: (message_loop),
17189 (have_pad_handler), (make_pipeline), (print_tag), (main):
17190 Add metadata reading example that loops over a list of filenames,
17191 dumping any tags found.
17193 * gst/gstbus.c: (gst_bus_dispose):
17194 * gst/gstelement.c: (gst_element_dispose):
17195 Release a few potentially-held references in dispose.
17197 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17199 * docs/gst/tmpl/gstminiobject.sgml:
17200 do *not* add tmpl/*.sgml files to CVS!
17202 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17204 * libs/gst/bytestream/.cvsignore:
17205 * libs/gst/bytestream/Makefile.am:
17206 * libs/gst/bytestream/adapter.c:
17207 * libs/gst/bytestream/adapter.h:
17208 * libs/gst/bytestream/bytestream.c:
17209 * libs/gst/bytestream/bytestream.h:
17210 * libs/gst/bytestream/filepad.c:
17211 * libs/gst/bytestream/filepad.h:
17212 removing obsolete files
17214 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17216 * docs/gst/gstreamer-docs.sgml:
17217 * docs/libs/gstreamer-libs-docs.sgml:
17218 disabed additional index entries again, as this makes docs-gen just
17219 slow and they aren't useful yet
17220 * docs/libs/gstreamer-libs-sections.txt:
17221 little -section.txt cleanup for libs
17223 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
17225 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17226 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
17227 fix up some debugging
17228 (gst_base_transform_get_unit_size),
17229 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
17230 (gst_base_transform_handle_buffer):
17231 * gst/base/gstbasetransform.h:
17232 handle and store timed NEWSEGMENT events so that subclasses that
17233 calculate time by counting samples have a segment_start time they
17234 need to add to their timestamps - see audioresample
17236 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17239 removed ';' from the end of macro defs
17240 * docs/gst/gstreamer-docs.sgml:
17241 * docs/gst/gstreamer-sections.txt:
17242 * docs/gst/tmpl/.cvsignore:
17244 * gst/gstelement.c: (gst_element_class_init),
17245 (gst_element_set_state), (activate_pads),
17246 (gst_element_save_thyself):
17247 * gst/gstevent.c: (gst_event_new_newsegment):
17249 * gst/gstiterator.c:
17250 * gst/gstiterator.h:
17253 * gst/gstutils.c: (gst_pad_query_convert):
17255 fixed parameter name mismatches between source, header and docs
17256 added some more docs, resolved the last batch of unused elements in
17257 docs (now someone needs to doc them)
17259 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17261 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17262 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17263 don't walk through the plugins backwards. Where is all this
17264 reversed logic coming from ?
17266 2005-08-25 Wim Taymans <wim@fluendo.com>
17268 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17269 (gst_base_transform_transform_size),
17270 (gst_base_transform_configure_caps),
17271 (gst_base_transform_get_unit_size),
17272 (gst_base_transform_buffer_alloc),
17273 (gst_base_transform_change_state):
17274 * gst/base/gstbasetransform.h:
17275 Cache caps unit_size.
17276 Make sure we cannot negotiate up and downstream at the
17279 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17281 * gst/gst.c: (init_pre), (init_post):
17282 register the installed plugin path after the env var
17283 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17284 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17285 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17286 directories, so the tests can prefer uninstalled over installed
17288 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17290 * gst/base/gstbasetransform.h:
17295 2005-08-25 Wim Taymans <wim@fluendo.com>
17297 * gst/gstbin.c: (bin_bus_handler):
17298 Be a bit more conservative about the posted message.
17300 * gst/gstbus.c: (gst_bus_post):
17301 Some cleanups, warn wrong return values.
17303 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
17305 * check/gst/gstbin.c: (GST_START_TEST):
17306 * gst/gstbin.c: (bin_bus_handler):
17307 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17308 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17309 (gst_message_new_warning), (gst_message_new_tag),
17310 (gst_message_new_state_changed), (gst_message_new_segment_start),
17311 (gst_message_new_segment_done), (gst_message_new_custom):
17312 * gst/gstmessage.h:
17313 * tools/gst-launch.c: (event_loop):
17314 * tools/gst-md5sum.c: (event_loop):
17315 Revert unpopular change for GST_MESSAGE_SRC to GObject.
17317 2005-08-25 Wim Taymans <wim@fluendo.com>
17319 * check/generic/states.c: (GST_START_TEST):
17320 Cleanup can be done at the end.
17322 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17323 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17324 (gst_task_get_state), (gst_task_start), (gst_task_pause):
17325 Oh boy.. Thanks for finding this, Thomas.
17327 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17329 * docs/gst/gstreamer.types:
17330 added missing types
17332 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17334 * docs/gst/gstreamer-docs.sgml:
17335 * docs/gst/gstreamer-sections.txt:
17336 * docs/gst/tmpl/.cvsignore:
17338 * gst/gstiterator.c:
17340 * gst/registries/gstxmlregistry.h:
17341 added missing classes and symbols (123 more to go)
17342 removed removed symbols from section file
17343 fixed many doc-comments
17345 2005-08-24 Wim Taymans <wim@fluendo.com>
17347 * check/generic/states.c: (GST_START_TEST):
17348 Make sure all tasks are stopped.
17350 * check/gst/gstbin.c: (GST_START_TEST):
17351 Unref after usage for proper valgrinding.
17353 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17354 Really wait for the task to stop before destroying the
17357 * gst/gstqueue.c: (gst_queue_sink_activate_push),
17358 (gst_queue_src_activate_push):
17359 Small cleanups. Don't stop the task when we did not start
17362 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17363 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17364 (gst_task_get_state), (gst_task_start), (gst_task_pause),
17367 Protect the stream lock with the object lock.
17368 Disallow setting the stream lock when running.
17369 Add cleanup_all to wait for the threadpool to finish.
17370 Remove code to autoallocate a mutex if none was provided.
17371 Add _join() to wait for a task to stop.
17372 Protect the thread pool with a global lock.
17374 2005-08-24 Wim Taymans <wim@fluendo.com>
17376 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17377 (gst_base_sink_get_times), (gst_base_sink_do_sync),
17378 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17379 * gst/base/gstbasesink.h:
17380 Handle newsegment events correctly.
17381 Drop buffers out of the segment range.
17383 2005-08-22 Andy Wingo <wingo@pobox.com>
17385 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17386 macro, implements an interface and gstimplementsinterface for a
17389 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17391 * check/Makefile.am:
17392 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17393 add a test that does a bunch of state changes on elements
17394 needs some fixing for valgrind
17395 * check/states/sinks.c: (gst_object_suite):
17398 add prototype for gst_caps_is_equal_fixed
17400 * gst/gstregistrypool.c:
17403 2005-08-24 Andy Wingo <wingo@pobox.com>
17405 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17406 convert a negative value. Doesn't make much sense. Mostly this is
17407 here to force callers to ensure -1 maps to -1.
17409 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17411 * docs/pwg/advanced-types.xml:
17412 Well done to Michael for catching my deliberate introduction
17413 of this spelling mistake.
17414 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17415 * gst/gstelement.h:
17416 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17417 unlink pads before removing the element from the bin.
17419 2005-08-24 Andy Wingo <wingo@pobox.com>
17421 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17422 the same thing as GST_DEBUG=*:4.
17423 (parse_debug_level, parse_debug_category): New helper parsers.
17425 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17427 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17428 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17429 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17430 (gst_base_transform_buffer_alloc),
17431 (gst_base_transform_handle_buffer):
17432 use gboolean return values and pointers to size so we can use the
17433 full GST_BUFFER_SIZE range (guint) for buffer sizes
17434 use GstPadDirection for transform_caps
17435 * gst/base/gstbasetransform.h:
17436 rename get_size to get_unit_size since that's what it is
17437 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17438 use GstPadDirection for transform_caps
17439 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17441 cleanup and debugging
17443 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17445 * gst/gstelement.c: (gst_element_class_init),
17446 (gst_element_set_state), (activate_pads),
17447 (gst_element_save_thyself):
17448 * tools/gst-compprep.c: (main):
17449 * tools/gst-inspect.c: (print_element_properties_info):
17450 * tools/gst-xmlinspect.c: (print_element_properties):
17451 Fixed long standing mem-leak
17453 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17455 * check/gst/gstbin.c: (GST_START_TEST):
17456 * gst/gstbin.c: (bin_bus_handler):
17457 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17458 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17459 (gst_message_new_warning), (gst_message_new_tag),
17460 (gst_message_new_state_changed), (gst_message_new_segment_start),
17461 (gst_message_new_segment_done), (gst_message_new_custom):
17462 * gst/gstmessage.h:
17463 * tools/gst-launch.c: (event_loop):
17464 * tools/gst-md5sum.c: (event_loop):
17465 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17466 that applications can sensibly post custom messages with references
17467 to their own objects.
17469 2005-08-24 Andy Wingo <wingo@pobox.com>
17471 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17474 2005-08-24 Wim Taymans <wim@fluendo.com>
17476 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17477 (gst_base_transform_transform_caps),
17478 (gst_base_transform_transform_size),
17479 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17480 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17481 (gst_base_transform_handle_buffer):
17482 * gst/base/gstbasetransform.h:
17483 Many fixes and new features added by Thomas. Can now also do
17484 transforms with variable sizes and a custom fixate_caps function.
17486 2005-08-24 Wim Taymans <wim@fluendo.com>
17488 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17492 Cast to ClockTime before formatting to time.
17497 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17499 * check/gst-libs/controller.c: (GST_START_TEST),
17500 (gst_controller_suite):
17501 * docs/gst/tmpl/gstcaps.sgml:
17502 * docs/gst/tmpl/gstghostpad.sgml:
17503 * docs/gst/tmpl/gstquery.sgml:
17504 * docs/gst/tmpl/gstutils.sgml:
17505 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17506 (gst_object_sink_values), (gst_object_get_value_arrays),
17507 (gst_object_get_value_array):
17508 gracefully handle helper method calls to objects that are not beeing
17509 controlled, added test case for that
17511 2005-08-23 Wim Taymans <wim@fluendo.com>
17513 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17514 (gst_event_new_newsegment), (gst_event_parse_newsegment),
17515 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17516 (gst_event_parse_qos), (gst_event_new_seek),
17517 (gst_event_parse_seek):
17519 Some more debugging output and doc cleanups.
17521 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17522 Fix possible deadlock.
17524 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17526 * docs/gst/gstreamer-docs.sgml:
17527 * docs/gst/gstreamer-sections.txt:
17528 * docs/gst/gstreamer.types:
17529 * docs/gst/tmpl/.cvsignore:
17532 * gst/gstelement.c:
17534 added 100 symbols from gstreamer-unused.txt to the right sections
17535 fixed more broken comments
17536 added GstBus to docs
17538 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17540 * docs/gst/gstreamer-sections.txt:
17541 * docs/gst/tmpl/.cvsignore:
17542 * docs/gst/tmpl/gstbin.sgml:
17543 * docs/gst/tmpl/gstbuffer.sgml:
17544 * gst/base/gstbasesrc.c:
17545 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17548 * tools/gst-launch.1.in:
17549 inlined more doc comments, added missing comments and fixed comments
17552 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
17554 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17558 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17560 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17561 * gst/gststructure.h:
17562 add a fixate function for booleans; add a FIXME that these func
17563 names should probably be gst_structure_fixate_*
17565 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17567 * docs/gst/gstreamer-docs.sgml:
17568 * docs/gst/gstreamer-sections.txt:
17570 * gst/gstbin.c: (gst_bin_get_type),
17571 (gst_bin_child_proxy_get_child_by_index),
17572 (gst_bin_child_proxy_get_children_count),
17573 (gst_bin_child_proxy_init):
17574 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17575 (gst_child_proxy_get_child_by_index),
17576 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17577 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17578 (gst_child_proxy_get), (gst_child_proxy_set_property),
17579 (gst_child_proxy_set_valist), (gst_child_proxy_set),
17580 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17581 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17582 * gst/gstchildproxy.h:
17583 * gst/parse/grammar.y:
17584 * tools/gst-inspect.c: (print_interfaces),
17585 (print_element_properties_info), (print_element_info):
17586 ported gstchildproxy over from 0.8
17587 ported gst-inspect fixes and enhancements over from 0.8
17589 2005-08-22 Wim Taymans <wim@fluendo.com>
17591 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17592 (gst_base_transform_handle_buffer):
17593 Also call the transform function if we have ANY caps.
17595 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17598 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17600 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17601 Don't pretend to handle seek events if the source is not seekable
17603 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17605 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17606 Remove extra parameter to debug output
17608 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17609 (gst_base_src_do_seek), (gst_base_src_activate_push):
17610 Fix seek event handling.
17612 * gst/gstpipeline.c: (gst_pipeline_change_state):
17613 * gst/gstqueue.c: (gst_queue_handle_sink_event),
17614 (gst_queue_src_activate_push):
17615 Don't start the src pad task on FLUSH_STOP if the pad
17619 2005-08-22 Wim Taymans <wim@fluendo.com>
17621 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17622 Added check for gst_static_caps_get() refcounting.
17624 2005-08-22 Wim Taymans <wim@fluendo.com>
17626 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17627 Make _static_caps_get() refcounting sane.
17629 * gst/gstelement.c: (gst_element_set_state):
17630 Add g_return_val_if_fail() to protect against segfaults.
17632 2005-08-22 Stefan Kost <ensonic@users.sf.net>
17634 * docs/gst/tmpl/gstevent.sgml:
17637 inlined remaining docs, added missing doc comments
17639 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
17641 * check/gst/gstbin.c: (GST_START_TEST):
17642 since we don't know when preroll is done, use refcount range
17644 * gst/check/gstcheck.h:
17645 add macro for checking refcount range
17647 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17649 * check/Makefile.am:
17650 clean up environment for when registry gets built versus
17651 when actual tests are run; valgrind seems to not report
17652 leaks if GST_PLUGIN_PATH is set to some specific values
17653 * check/gst/gstbin.c: (GST_START_TEST):
17654 add more refcounting checks; maybe this exposes a
17656 * common/check.mak:
17657 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17658 * gst/check/gstcheck.h:
17659 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17660 (gst_bin_change_state):
17661 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17662 add/fix debugging/whitespace
17664 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17666 * check/gst/gstevent.c: (event_probe), (test_event),
17668 Er, don't call gst_bin_watch_for_state_change you idiot.
17670 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17672 * check/Makefile.am:
17673 Use CHECK_CFLAGS and CHECK_LIBS
17674 * check/gst/gstevent.c: (event_probe), (test_event),
17677 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17678 (gst_base_src_start), (gst_base_src_stop),
17679 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17680 (gst_base_src_change_state):
17681 Sprinkle gst_base_src_stop liberally around error paths to fix
17682 problems reusing a source after failed state changes.
17683 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17684 (helper_find_suggest), (gst_type_find_helper):
17685 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17687 * docs/gst/tmpl/gstevent.sgml:
17688 Migrate part of the docs from the SGML file. Wait for ensonic to
17689 tell me how I did it wrong ;)
17690 * tools/gst-typefind.c: (main):
17691 Extra robustness to state changes between files.
17693 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17695 * check/Makefile.am:
17696 don't valgrind the controller test - it's leaking - Stefan, HELP
17697 * gst/check/gstcheck.c: (gst_check_message_error),
17698 (gst_check_chain_func), (gst_check_setup_element),
17699 (gst_check_teardown_element), (gst_check_setup_src_pad),
17700 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17701 (gst_check_teardown_sink_pad):
17702 * gst/check/gstcheck.h:
17703 add a bunch of methods to set up elements, and src and sink pads
17704 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17705 * check/elements/identity.c: (setup_identity), (cleanup_identity),
17708 * gst/gstmessage.c:
17710 whitespace/doc fixes
17712 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17714 * gst/gstelement.h:
17715 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17716 be handled by the application and not always printed as well
17718 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17720 * check/Makefile.am:
17722 * gst/check/gstcheck.c: (gst_check_message_error):
17723 * gst/check/gstcheck.h:
17724 add a fail_unless_equals_int
17725 add fail_unless for error messages
17727 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17729 * check/Makefile.am:
17731 * common/Makefile.am:
17732 * common/check.mak:
17734 factor out some of the common stuff so we can use it
17736 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17738 * check/Makefile.am:
17739 * check/gst/gstiterator.c: (GST_START_TEST):
17740 * check/gst/gstsystemclock.c: (GST_START_TEST),
17741 (gst_systemclock_suite):
17742 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17744 valgrind more tests
17746 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17748 * check/elements/.cvsignore:
17749 * check/elements/gstfakesrc.c:
17750 rename to name of element
17751 * check/elements/identity.c: (chain_func), (event_func),
17752 (setup_identity), (cleanup_identity), (GST_START_TEST),
17753 (identity_suite), (main):
17754 add a test for identity
17755 * check/Makefile.am:
17756 * pkgconfig/Makefile.am:
17757 * pkgconfig/gstreamer-check.pc.in:
17758 * pkgconfig/gstreamer-check-uninstalled.pc.in:
17762 move the check stuff to a library that gets installed
17763 * check/gst-libs/controller.c: (GST_START_TEST):
17764 * check/gst-libs/gdp.c:
17765 * check/gst/gst.c: (GST_START_TEST):
17766 * check/gst/gstbin.c:
17767 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17768 * check/gst/gstbus.c:
17769 * check/gst/gstcaps.c: (GST_START_TEST):
17770 * check/gst/gstelement.c:
17771 * check/gst/gstghostpad.c:
17772 * check/gst/gstiterator.c:
17773 * check/gst/gstmessage.c:
17774 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17775 * check/gst/gstobject.c:
17776 * check/gst/gstpad.c: (GST_START_TEST):
17777 * check/gst/gststructure.c: (GST_START_TEST):
17778 * check/gst/gstsystemclock.c: (GST_START_TEST),
17779 (gst_systemclock_suite):
17780 * check/gst/gsttag.c: (gst_tag_suite):
17781 * check/gst/gstvalue.c:
17782 * check/pipelines/cleanup.c:
17783 * check/pipelines/simple_launch_lines.c:
17784 * check/states/sinks.c:
17785 change include statement
17787 * docs/gst/gstreamer-sections.txt:
17788 * docs/gst/tmpl/gstpad.sgml:
17789 document more pad stuff
17790 * gst/gstminiobject.c: (gst_mini_object_ref),
17791 (gst_mini_object_unref):
17794 2005-08-19 Stefan Kost <ensonic@users.sf.net>
17796 * docs/gst/tmpl/gst.sgml:
17798 eliminate another tmpl file, fix spelling in the long-description
17800 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17802 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17803 (test_event), (timediff), (gstevents_suite):
17804 Should fix build on 64-bit arch's
17806 2005-08-18 Andy Wingo <wingo@pobox.com>
17808 Make sure that when a pipeline goes to PLAYING, that data has
17809 actually hit the sink.
17811 * check/states/sinks.c (test_sink): A sink that doesn't get any
17812 data shouldn't return SUCCESS for going to either PLAYING or
17813 PAUSED. Test also the return values on the way back down.
17815 * gst/gstelement.c (gst_element_set_state): When changing the
17816 state of an element currently changing state asynchronously, go to
17817 lost-state after commiting the pending state. Makes future calls
17818 to get_state continue to return ASYNC.
17820 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17821 ASYNC when going to PLAYING if we still don't have preroll, as can
17822 happen with live sources.
17824 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17826 * docs/pwg/advanced-types.xml:
17827 Hack long paragraph into 2 chunks as a workaround for buggy
17828 jadetex version in sid and breezy that loops infinitely and
17831 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17833 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17834 (test_event), (timediff), (gstevents_suite):
17835 Provide more error margin in clock measurements to allow for
17836 g_get_current_time inaccuracies.
17838 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17840 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17841 (test_event), (timediff), (gstevents_suite):
17842 Fix error message output so I might be able to tell why the
17843 test works here but fails on the build farm.
17845 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17847 * check/Makefile.am:
17848 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17849 (test_event), (timediff), (gstevents_suite), (main):
17852 * docs/design/part-seeking.txt:
17853 Spelling correction
17855 * docs/gst/tmpl/gstevent.sgml:
17856 * docs/gst/tmpl/gstfakesrc.sgml:
17859 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17860 Treat a buffer-without-newsegment the same as a receiving
17861 a newsegment not in time format, and disable syncing to the clock
17864 * gst/gstbus.c: (gst_bus_set_sync_handler):
17865 Assert if anyone tries to replace the existing sync_handler for bus,
17866 as only the owner should be setting it.
17869 Have a fixed set of custom event enums with events identified by
17870 their structure name (as in 0.8), rather than a free-for-all
17871 allowing collisions between enum values from different plugins.
17873 * gst/gstpad.c: (gst_pad_class_init):
17876 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17877 Handle out-of-band downstream events from the sending thread.
17879 2005-08-17 Andy Wingo <wingo@pobox.com>
17881 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17882 play-timeout==0 to mean no timeout at all. In that case, don't
17883 bother with a get_state or a warning, just return directly, even
17886 * gst/base/gstbasetransform.c: Debug changes.
17889 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17890 ensure bins post state change messages. A bit of a hack but I can't
17891 think of a way to avoid it.
17893 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17895 2005-08-16 Andy Wingo <wingo@pobox.com>
17897 * gst/base/gstadapter.h:
17898 * gst/base/gstadapter.c (gst_adapter_take): New function, like
17899 peek() but you own the data. Not terribly efficient atm.
17901 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17903 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17904 (gst_element_found_tags):
17906 Add two utility functions for tag handling.
17908 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17910 * docs/manual/advanced-dataaccess.xml:
17911 * docs/manual/basics-helloworld.xml:
17912 Fix docs to use _bin_add() before _link(), which fixes the examples
17913 with recent core versions (reported by Madhan Raj M
17914 <raj_madan@rediffmail.com>, #313199).
17916 2005-08-16 Wim Taymans <wim@fluendo.com>
17918 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17919 Added subtract checks.
17921 * docs/design/part-events.txt:
17922 Some more docs about newsegment
17924 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17927 * gst/gstcaps.c: (gst_caps_to_string):
17928 Add comments, cleanups.
17930 * gst/gstelement.c: (gst_element_save_thyself):
17933 * gst/gstvalue.c: (gst_value_collect_int_range),
17934 (gst_string_unwrap), (gst_value_union_int_int_range),
17935 (gst_value_union_int_range_int_range),
17936 (gst_value_intersect_int_int_range),
17937 (gst_value_intersect_int_range_int_range),
17938 (gst_value_intersect_double_double_range),
17939 (gst_value_intersect_double_range_double_range),
17940 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17941 (gst_value_subtract_int_range_int),
17942 (gst_value_subtract_double_range_double),
17943 (gst_value_subtract_double_range_double_range),
17944 (gst_value_subtract_from_list), (gst_value_subtract_list),
17945 (gst_value_can_compare), (gst_value_compare_fraction):
17946 Cleanups, add comments, remove unneeded asserts.
17948 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17950 * tools/gst-launch.c: (event_loop):
17951 don't convert NULL structures to strings
17953 2005-08-15 Stefan Kost <ensonic@users.sf.net>
17955 * docs/gst/gstreamer-sections.txt:
17956 made some defines private
17957 * docs/gst/tmpl/gstconfig.sgml:
17958 * docs/gst/tmpl/gstqueue.sgml:
17959 * docs/gst/tmpl/gsttaglist.sgml:
17960 * docs/gst/tmpl/gsttypes.sgml:
17961 * docs/gst/tmpl/gstutils.sgml:
17962 * docs/pwg/appendix-porting.xml:
17963 * gst/base/gstbasesink.h:
17964 * gst/base/gstbasesrc.c:
17965 * gst/base/gstbasesrc.h:
17966 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17967 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17968 * gst/gstelement.c: (gst_element_class_init):
17969 * gst/gstpad.c: (gst_pad_class_init):
17970 * gst/gstqueue.c: (gst_queue_class_init):
17971 * gst/gstxml.c: (gst_xml_class_init):
17972 documented all undocumented signal inline
17973 * libs/gst/controller/gst-controller.h:
17976 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17978 * docs/pwg/appendix-porting.xml:
17979 Document _set_link_function -> _set_setcaps_function.
17981 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17983 * check/Makefile.am:
17984 add a .check target for running the check
17985 * check/gst-libs/controller.c: (GST_START_TEST):
17987 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17988 complete checks for gstbuffer; would be nice if I could get the
17989 gcov stuff to work so I can see if I actually completed gstbuffer.c
17990 * check/gstcheck.h:
17991 add ASSERT_BUFFER_REFCOUNT
17993 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
17995 * docs/gst/gstreamer-sections.txt:
17996 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17998 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17999 spew out a warning if a tag that is already registered
18000 is re-registered, unless it is re-registered with a
18001 different type (#308438).
18003 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
18005 * docs/pwg/appendix-porting.xml:
18006 * docs/pwg/building-state.xml:
18007 Add some paragraphs about state changes in 0.9 to the PWG
18008 and the porting guide, in particular about the new meaning
18009 of GST_STATE_PAUSED and how to write state change functions
18010 with concurrent access by multiple threads in mind.
18012 2005-08-11 Stefan Kost <ensonic@users.sf.net>
18014 * docs/gst/gstreamer-docs.sgml:
18015 * docs/libs/gstreamer-libs-docs.sgml:
18016 added deprecation and since indexes
18017 * libs/gst/controller/gst-controller.c:
18018 * libs/gst/controller/gst-helper.c:
18022 2005-08-11 Wim Taymans <wim@fluendo.com>
18024 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
18025 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
18026 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
18027 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
18028 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
18029 (gst_ghost_pad_set_target):
18030 Actually implement (re)setting the target on a ghostpad
18031 as described in the docs.
18033 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
18035 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
18036 Check whether GST_DEBUG_NO_COLOR environment variable is
18037 set and disable coloured debug output if that is the case.
18039 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
18041 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18042 (gst_type_find_helper):
18043 The memory returned by gst_type_find_peek() needs to
18044 stay valid until the end of a typefind function, and
18045 typefind functions may keep results from different
18046 offsets around, so we can't just unref the buffer from
18047 the previous _peek(), but have to save all buffers
18048 returned by _peek() until typefinding is done and only
18051 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
18053 * docs/gst/gstreamer-sections.txt:
18055 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
18057 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18059 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18060 Fix a pretty good memleak.
18062 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
18064 * gst/gstiterator.h:
18065 Fix wrong include and 'make distcheck'.
18067 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18069 * gst/gstbin.c: (bin_bus_handler):
18070 Use gst_element_post_message() instead.
18072 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
18074 * gst/base/gstadapter.h:
18075 * gst/base/gstbasesink.h:
18076 * gst/base/gstbasesrc.h:
18077 * gst/base/gstbasetransform.h:
18078 * gst/base/gstcollectpads.h:
18079 * gst/base/gstpushsrc.h:
18080 * gst/gstiterator.h:
18081 Add padding to our base elements' class and instance structs and
18082 to GstIterator (you will need to rebuild all plugins and apps!)
18084 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18086 * gst/gstbin.c: (bin_bus_handler):
18087 Make default message forwarding from child->bus to bin->bus
18088 threadsafe and make it not emit warnings if the parent has no bus.
18090 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18092 * gst/gstelement.c: (activate_pads):
18093 On paused->ready, set pad->caps to NULL, as is the documented
18094 behaviour in this state change. Fixes playback of series of
18095 media files when visualization is enabled in Totem.
18097 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18099 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18100 Allow NULL as filter-caps (which means "any").
18102 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18104 * docs/libs/gstreamer-libs-sections.txt:
18105 * libs/gst/controller/gst-controller.c:
18106 * libs/gst/controller/gst-controller.h:
18107 * libs/gst/controller/gst-helper.c:
18108 adding more entries to the docs and fix small doc-bugs
18110 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18112 * docs/gst/gstreamer-docs.sgml:
18113 * docs/gst/gstreamer-sections.txt:
18114 * docs/gst/gstreamer.types:
18115 * docs/gst/tmpl/gstbasesink.sgml:
18116 * docs/gst/tmpl/gstbasesrc.sgml:
18117 * docs/gst/tmpl/gstbasetransform.sgml:
18118 * docs/gst/tmpl/gstfakesrc.sgml:
18119 * gst/base/gstcollectpads.c:
18120 * gst/base/gstcollectpads.h:
18121 * libs/gst/controller/gst-controller.c:
18122 * libs/gst/controller/gst-controller.h:
18123 * libs/gst/controller/gst-helper.c:
18124 * libs/gst/controller/gst-interpolation.c:
18125 * libs/gst/controller/lib.c:
18126 added long/short desc for controller docs
18127 added collectpads base class docs
18128 added correct includes to base-class docs
18130 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18132 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18133 (gst_test_mono_source_set_property),
18134 (gst_test_mono_source_class_init), (GST_START_TEST),
18135 (gst_controller_suite):
18136 * docs/gst/gstreamer-docs.sgml:
18137 * docs/gst/gstreamer-sections.txt:
18138 * docs/gst/gstreamer.types:
18139 * docs/libs/gstreamer-libs-docs.sgml:
18140 * docs/libs/gstreamer-libs-sections.txt:
18141 * gst/base/gstadapter.c:
18142 * libs/gst/controller/gst-controller.c:
18143 (gst_controlled_property_new), (gst_controlled_property_free),
18144 (gst_controller_new_valist),
18145 (gst_controller_remove_properties_valist),
18146 (gst_controller_sink_values), (_gst_controller_finalize):
18147 * libs/gst/controller/gst-controller.h:
18148 * libs/gst/controller/gst-helper.c:
18149 (gst_object_control_properties), (gst_object_uncontrol_properties),
18150 (gst_object_get_controller), (gst_object_set_controller),
18151 (gst_object_sink_values), (gst_object_get_value_arrays),
18152 (gst_object_get_value_array):
18153 more tests (and fixes) for the controller
18154 more docs for the controller
18155 integrated companies docs for the adapter
18157 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
18159 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
18160 (GST_START_TEST), (fakesrc_suite):
18161 add tests for sizetype
18163 2005-08-04 Andy Wingo <wingo@pobox.com>
18165 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
18166 fixes buffer_alloc proxying among other things.
18168 * gst/base/gstbasetransform.c:
18169 * gst/base/gstbasetransform.h:
18170 Revert patch to gstbasetransform from 7-28 removing
18173 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
18174 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
18175 Semantics changed, should return not the size of the output buffer
18176 but the byte size of a buffer with a given caps.
18178 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
18180 (gst_base_transform_configure_caps): Don't set out_size here: (in,
18181 out) are not the pad caps until setcaps finishes.
18182 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
18183 not-in-place case as well. Deal with changing from in-place to
18184 not-in-place within calling pad_alloc_buffer. Still a bit
18185 concerned about the overhead here...
18187 2005-08-03 Andy Wingo <wingo@pobox.com>
18189 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
18190 fixating is an error.
18192 2005-08-04 Edward Hervey <edward@fluendo.com>
18194 * gst/base/gstadapter.h:
18195 Added gst_adapter_get_type() to the header
18197 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18199 * check/Makefile.am:
18200 * check/gst-libs/controller.c:
18201 * libs/gst/controller/gst-controller.c:
18202 (gst_controller_new_valist):
18203 added check test suite for the controller
18204 * gst/base/gstpushsrc.c:
18207 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18209 * docs/gst/Makefile.am:
18210 * docs/gst/gstreamer-docs.sgml:
18211 * docs/gst/gstreamer-sections.txt:
18212 * docs/gst/gstreamer.types:
18213 * docs/gst/tmpl/gstfakesrc.sgml:
18215 * gst/base/gstbasesink.c:
18216 * gst/base/gstbasesink.h:
18217 * gst/base/gstbasesrc.c:
18218 * gst/base/gstbasesrc.h:
18219 * gst/base/gstbasetransform.c:
18220 * gst/base/gstpushsrc.c:
18221 * gst/base/gstpushsrc.h:
18222 add short/long description docs to base classes
18223 add pushsrc to the docs
18224 remove consolidated doc fragments
18226 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18229 * docs/libs/Makefile.am:
18230 * docs/libs/gstreamer-libs-docs.sgml:
18231 * docs/libs/gstreamer-libs-sections.txt:
18232 * docs/libs/gstreamer-libs.types:
18233 * examples/Makefile.am:
18234 * examples/controller/.cvsignore:
18235 * examples/controller/Makefile.am:
18236 * examples/controller/audio-example.c: (main):
18237 * libs/gst/Makefile.am:
18238 * libs/gst/controller/.cvsignore:
18239 * libs/gst/controller/Makefile.am:
18240 * libs/gst/controller/gst-controller.c:
18241 (on_object_controlled_property_changed), (gst_timed_value_compare),
18242 (gst_timed_value_find),
18243 (gst_controlled_property_set_interpolation_mode),
18244 (gst_controlled_property_new), (gst_controlled_property_free),
18245 (gst_controller_find_controlled_property),
18246 (gst_controller_new_valist), (gst_controller_new),
18247 (gst_controller_remove_properties_valist),
18248 (gst_controller_remove_properties), (gst_controller_set),
18249 (gst_controller_set_from_list), (gst_controller_unset),
18250 (gst_controller_get), (gst_controller_get_all),
18251 (gst_controller_sink_values), (gst_controller_get_value_arrays),
18252 (gst_controller_get_value_array),
18253 (gst_controller_set_interpolation_mode),
18254 (_gst_controller_finalize), (_gst_controller_init),
18255 (_gst_controller_class_init), (gst_controller_get_type):
18256 * libs/gst/controller/gst-controller.h:
18257 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18258 (g_object_uncontrol_properties), (g_object_get_controller),
18259 (g_object_set_controller), (g_object_sink_values),
18260 (g_object_get_value_arrays), (g_object_get_value_array):
18261 * libs/gst/controller/gst-interpolation.c:
18262 (gst_controlled_property_find_timed_value_node),
18263 (interpolate_none_get), (interpolate_trigger_get),
18264 (interpolate_trigger_get_value_array):
18265 * libs/gst/controller/lib.c: (gst_controller_init):
18266 * pkgconfig/Makefile.am:
18267 * pkgconfig/gstreamer-control-uninstalled.pc.in:
18268 * pkgconfig/gstreamer-control.pc.in:
18269 * testsuite/Makefile.am:
18270 * testsuite/controller/.cvsignore:
18271 * testsuite/controller/Makefile.am:
18272 * testsuite/controller/interpolator.c: (main):
18273 added controller code
18274 removed dparam pc files
18276 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18277 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18278 (gst_collectpads_stop):
18279 Broadcast the condition when shutting down, to make sure we wake all
18280 threads up. Shut down pads on finalize, for safety.
18282 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18283 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18284 (gst_base_transform_handle_buffer),
18285 (gst_base_transform_change_state):
18286 Handle PAUSED->READY->PAUSED transition after negotiation
18288 * gst/gstmessage.c: (gst_message_init):
18289 Extra piece of debug for new messages.
18291 2005-08-01 Stefan Kost <ensonic@users.sf.net>
18294 * docs/gst/tmpl/gstbasesrc.sgml:
18295 * docs/gst/tmpl/gstelement.sgml:
18296 * docs/gst/tmpl/gstevent.sgml:
18297 * docs/gst/tmpl/gstfakesrc.sgml:
18298 * docs/gst/tmpl/gstformat.sgml:
18299 * docs/gst/tmpl/gstghostpad.sgml:
18300 * docs/gst/tmpl/gstpad.sgml:
18301 * docs/gst/tmpl/gstquery.sgml:
18302 * docs/gst/tmpl/gststructure.sgml:
18303 * docs/gst/tmpl/gsttaglist.sgml:
18304 * docs/gst/tmpl/gstvalue.sgml:
18305 * docs/libs/gstreamer-libs-docs.sgml:
18306 * docs/libs/gstreamer-libs-sections.txt:
18307 * docs/libs/gstreamer-libs.types:
18308 * libs/gst/Makefile.am:
18309 * libs/gst/control/.cvsignore:
18310 * libs/gst/control/Makefile.am:
18311 * libs/gst/control/control.c:
18312 * libs/gst/control/control.h:
18313 * libs/gst/control/dparam.c:
18314 * libs/gst/control/dparam.h:
18315 * libs/gst/control/dparam_smooth.c:
18316 * libs/gst/control/dparam_smooth.h:
18317 * libs/gst/control/dparamcommon.h:
18318 * libs/gst/control/dparammanager.c:
18319 * libs/gst/control/dparammanager.h:
18320 * libs/gst/control/dplinearinterp.c:
18321 * libs/gst/control/dplinearinterp.h:
18322 * libs/gst/control/unitconvert.c:
18323 * libs/gst/control/unitconvert.h:
18324 * testsuite/Makefile.am:
18325 * testsuite/dynparams/.cvsignore:
18326 * testsuite/dynparams/Makefile.am:
18327 * testsuite/dynparams/dparamstest.c:
18328 * tools/Makefile.am:
18329 * tools/gst-inspect.c: (print_element_info), (main):
18330 * tools/gst-xmlinspect.c: (print_element_info), (main):
18331 deactivate and remove dparams (libgstcontrol)
18333 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18335 * gst/elements/gsttypefindelement.c:
18336 (gst_type_find_element_have_type), (gst_type_find_element_init),
18337 (stop_typefinding), (gst_type_find_element_handle_event),
18338 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18339 * gst/elements/gsttypefindelement.h:
18340 Set caps on all outgoing buffers, not just the first one.
18342 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18344 * gst/elements/gsttypefindelement.c:
18345 (gst_type_find_element_have_type),
18346 (gst_type_find_element_check_set_buffer_caps),
18347 (gst_type_find_element_init), (stop_typefinding),
18348 (gst_type_find_element_handle_event),
18349 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18350 * gst/elements/gsttypefindelement.h:
18351 Set caps on first outgoing buffer when we've found the type.
18353 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18355 * docs/gst/gstreamer-docs.sgml:
18356 * docs/gst/gstreamer-sections.txt:
18357 * docs/gst/tmpl/gstscheduler.sgml:
18358 * docs/gst/tmpl/gstschedulerfactory.sgml:
18359 Remove some old cruft from docs.
18361 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
18364 Fix inline docs for GstPadLinkReturn.
18366 * gst/gststructure.c: (gst_structure_has_name):
18367 * gst/gststructure.h:
18368 * docs/gst/gstreamer-sections.txt:
18369 New API: gst_structure_has_name().
18371 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
18374 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18375 and _LARGEFILE_SOURCE in config.h as required. Do not
18376 export those flags in our .pc files any longer (#142209).
18378 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18380 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18381 (gst_file_sink_do_seek), (gst_file_sink_event),
18382 (gst_file_sink_get_current_offset), (gst_file_sink_render):
18383 Redo seek/tell calls with large file support in mind; add some
18384 debugging messages; add log message that tells us when large
18385 file support is unavailable or not enabled for some reason.
18387 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18388 Add log message that tells us when large file support
18389 is unavailable or not enabled for some reason.
18391 2005-07-29 Wim Taymans <wim@fluendo.com>
18393 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18394 Added test for removing an element with ghostpad from a bin.
18395 Fixed test as current implementation does the right thing.
18397 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18398 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18399 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18400 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18401 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18402 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18403 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18404 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18405 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18406 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18407 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18408 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18409 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18410 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18411 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18412 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18413 * gst/gstghostpad.h:
18414 Clean up ghostpads, remove properties for internal stuff.
18417 Prepare for switching targets, not all use cases work yet.
18419 2005-07-29 Wim Taymans <wim@fluendo.com>
18421 * docs/design/part-gstghostpad.txt:
18424 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18425 (gst_bin_remove_func):
18426 Unlinking pads while holding the bin LOCK is not a good
18429 * gst/gstpad.c: (gst_pad_class_init),
18430 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18431 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18432 No prob setting template after creating the pad.
18434 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
18436 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18437 (gst_bus_peek), (gst_bus_source_dispatch),
18438 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18439 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18440 gst_bus_poll may be called from other threads. Handle
18441 this nicely by not making poll_data disappear off the
18442 stack once gst_bus_poll returns.
18443 gst_bus_peek now increments the refcount on the returned
18446 2005-07-29 Wim Taymans <wim@fluendo.com>
18448 * docs/design/part-gstghostpad.txt:
18449 Overview of current GhostPad datastructures and use
18450 cases for changing the target.
18452 2005-07-28 Wim Taymans <wim@fluendo.com>
18454 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18455 Added checks for hierarchy consistency whan adding linked
18458 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18459 Added check to test element scheduling without bin/pipeline.
18461 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18462 First add elements to bin, then link.
18464 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18465 (gst_bin_remove_func):
18466 Unlink pads from elements added/removed from bin to maintain
18467 hierarchy consistency.
18469 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18471 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18472 (gst_base_transform_handle_buffer):
18473 * gst/base/gstbasetransform.h:
18474 Remove broken delay_configure (fixes renegotiation of software
18475 scaling pipelines); remove some leftover printf()s.
18477 2005-07-28 Wim Taymans <wim@fluendo.com>
18479 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18480 Added some more tests for wrong hierarchy
18482 * docs/design/part-overview.txt:
18485 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18488 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18489 (gst_element_dispose):
18490 Some more cleanups.
18492 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18493 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18494 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18495 (gst_pad_set_caps), (gst_pad_send_event):
18496 Check for correct hierarchy when linking pads. Moving to
18497 strict requirement for ghostpads when linking elements in
18501 Clean ups. Added WRONG_HIERARCHY return value.
18503 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18505 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18506 Better debug if no transform is possible.
18508 2005-07-27 Wim Taymans <wim@fluendo.com>
18510 * docs/random/wtay/network-transp:
18511 Some old doc I had.
18513 2005-07-27 Wim Taymans <wim@fluendo.com>
18515 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18516 (gst_dp_event_from_packet):
18517 Fix serialization of seek events.
18519 2005-07-27 Wim Taymans <wim@fluendo.com>
18521 * check/gst-libs/gdp.c: (GST_START_TEST):
18522 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18523 Fix compilation and fix event serialization.
18525 2005-07-27 Wim Taymans <wim@fluendo.com>
18528 * docs/design/part-TODO.txt:
18529 * docs/design/part-events.txt:
18532 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18533 (gst_base_sink_event), (gst_base_sink_do_sync),
18534 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18535 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18536 (gst_base_src_do_seek), (gst_base_src_event_handler),
18537 (gst_base_src_loop):
18538 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18539 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18540 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18541 (gst_base_transform_event), (gst_base_transform_handle_buffer),
18542 (gst_base_transform_set_passthrough),
18543 (gst_base_transform_is_passthrough):
18544 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18545 * gst/elements/gstfilesink.c: (gst_file_sink_event):
18551 * gst/gstelement.c: (gst_element_seek):
18552 * gst/gstelement.h:
18553 Update gst_element_seek.
18555 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18556 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18557 (gst_event_new_flush_start), (gst_event_new_flush_stop),
18558 (gst_event_new_eos), (gst_event_new_newsegment),
18559 (gst_event_parse_newsegment), (gst_event_new_tag),
18560 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18561 (gst_event_parse_qos), (gst_event_new_seek),
18562 (gst_event_parse_seek), (gst_event_new_navigation):
18564 Make GstEvent use GstStructure. Add parsing code, make sure the
18565 API is sufficiently generic.
18566 Mark possible directions of events and serialization.
18568 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18569 (_gst_message_copy), (gst_message_new_segment_start),
18570 (gst_message_new_segment_done), (gst_message_new_custom),
18571 (gst_message_parse_segment_start),
18572 (gst_message_parse_segment_done):
18575 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18576 (gst_pad_set_caps), (gst_pad_send_event):
18577 Update for new events.
18578 Catch events sent in wrong directions.
18580 * gst/gstqueue.c: (gst_queue_link_src),
18581 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18582 (gst_queue_handle_src_query):
18587 Remove event code from this file.
18589 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18590 (gst_dp_event_from_packet):
18593 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18595 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18596 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18597 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18598 Make debugging actually useful.
18600 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18602 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18603 (gst_pad_fixate_caps):
18604 Implement default fixation once again, so that gst_pad_fixate()
18605 actually does anything at all. This probably needs to be some
18606 sort of a last resort, and use profile-based fixation first, but
18607 since that doesn't exist yet, this is the best we have. Fixes
18608 visualization in Totem.
18610 2005-07-22 Wim Taymans <wim@fluendo.com>
18612 * docs/design/part-events.txt:
18615 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18616 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18617 (gst_base_sink_activate_pull):
18618 Some more comments.
18620 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18621 (gst_fake_src_create):
18622 Fix handoff marshall.
18624 * gst/elements/gstidentity.c: (gst_identity_class_init),
18625 (gst_identity_transform_ip):
18626 We're a real inplace element.
18628 * gst/gstbus.c: (gst_bus_post):
18629 Added some comments.
18631 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18632 * tests/muxing/case1.c: (main):
18633 * tests/sched/dynamic-pipeline.c: (main):
18634 * tests/sched/interrupt1.c: (main):
18635 * tests/sched/interrupt2.c: (main):
18636 * tests/sched/interrupt3.c: (main):
18637 * tests/sched/runxml.c: (main):
18638 * tests/sched/sched-stress.c: (main):
18639 * tests/seeking/seeking1.c: (event_received), (main):
18640 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18642 * tests/threadstate/threadstate3.c: (main):
18643 * tests/threadstate/threadstate4.c: (main):
18644 * tests/threadstate/threadstate5.c: (main):
18647 2005-07-21 Wim Taymans <wim@fluendo.com>
18649 * docs/design/part-seeking.txt:
18650 Some small additions.
18652 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18653 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18654 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18655 * gst/base/gstbasesink.h:
18656 discont values are gint64, handle the math correctly.
18658 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18659 Make the basesrc report error if the source pad is not linked.
18661 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18662 (gst_queue_loop), (gst_queue_handle_src_query),
18663 (gst_queue_src_activate_push):
18664 Make queue collect data even if the srcpad is not linked.
18665 Start pushing out data as soon as it is linked.
18667 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18669 Added gst_flow_get_name() to ease error reporting.
18671 2005-07-20 Wim Taymans <wim@fluendo.com>
18673 * gst/gstmessage.c: (gst_message_new_segment_start),
18674 (gst_message_new_segment_done), (gst_message_parse_segment_start),
18675 (gst_message_parse_segment_done):
18676 * gst/gstmessage.h:
18677 Added a bunch of messages for advanced seeking.
18679 * gst/parse/grammar.y:
18680 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18681 (gst_dpman_state_changed):
18682 Fix some new-pad -> pad-added signals
18684 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18686 * docs/manual/appendix-porting.xml:
18687 * docs/pwg/appendix-porting.xml:
18688 Document new-pad/state-change signal renames and the FixedList
18691 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18693 * docs/manual/advanced-autoplugging.xml:
18694 * docs/manual/basics-helloworld.xml:
18695 * docs/manual/basics-pads.xml:
18696 * docs/random/ds/0.9-suggested-changes:
18697 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18698 * gst/gstelement.h:
18702 * gst/gststructure.c: (gst_structure_value_get_generic_type),
18703 (gst_structure_parse_array), (gst_structure_parse_value):
18704 * gst/gstvalue.c: (gst_type_is_fixed),
18705 (gst_value_list_prepend_value), (gst_value_list_append_value),
18706 (gst_value_list_get_size), (gst_value_list_get_value),
18707 (gst_value_transform_array_string), (gst_value_serialize_array),
18708 (gst_value_deserialize_array), (gst_value_intersect_array),
18709 (gst_value_is_fixed), (_gst_value_initialize):
18711 GstElement::new-pad -> pad-added, GstElement::state-change ->
18712 state-changed, GstValueFixedList -> GstValueArray, add format and
18713 flags as their own arguments in gst_element_seek() (should improve
18714 "bindeability"), remove function generators since they don't work
18715 under a whole bunch of compilers (they were deprecated already
18718 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18720 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18721 (_gst_debug_register_funcptr):
18723 Fix illegal cast on some platforms (#309253).
18725 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18727 * gst/gstmessage.c: (gst_message_new_custom):
18728 * gst/gstmessage.h:
18729 Add _new_custom, make _new_application a macro to _new_custom.
18731 2005-07-20 Wim Taymans <wim@fluendo.com>
18733 * gst/base/gstbasesrc.c: (gst_base_src_init),
18734 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18735 * gst/base/gstbasesrc.h:
18736 Add a gboolean to decide when to push out a discont.
18738 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18739 (gst_queue_loop), (gst_queue_handle_src_query),
18740 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18741 (gst_queue_set_property), (gst_queue_get_property):
18744 * tests/threadstate/threadstate1.c: (main):
18745 Make a thread test compile and run... very silly..
18748 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18750 * docs/manual/appendix-porting.xml:
18751 Mention removal of libgstgconf-0.9.la and existence of gconf
18754 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18756 * docs/pwg/advanced-clock.xml:
18757 * docs/pwg/appendix-porting.xml:
18758 * docs/pwg/intro-preface.xml:
18759 * docs/pwg/other-base.xml:
18760 * docs/pwg/other-manager.xml:
18761 * docs/pwg/other-nton.xml:
18762 * docs/pwg/other-ntoone.xml:
18763 * docs/pwg/other-oneton.xml:
18764 * docs/pwg/pwg.xml:
18765 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18766 demuxer), remove n-to-n (was never written), fix some code examples
18767 and links and update the porting section to include all this.
18769 2005-07-19 Wim Taymans <wim@fluendo.com>
18771 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18772 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18773 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18774 (gst_queue_src_activate_push), (gst_queue_change_state),
18775 (gst_queue_get_property):
18777 Propagate GstFlowReturn more intelligently upstream and output
18778 an ERROR/EOS when streaming stopped due to fatal error.
18780 2005-07-19 Wim Taymans <wim@fluendo.com>
18782 * tools/gst-launch.c: (check_intr), (event_loop), (main):
18783 Don't block forever for the state change to complete, the
18784 pipeline already did with a sensible timeout.
18786 2005-07-19 Wim Taymans <wim@fluendo.com>
18788 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18789 Make sure we never call the create function is we
18792 2005-07-19 Andy Wingo <wingo@pobox.com>
18794 * gst/parse/parse.l: Attempt to solve bug #172815.
18796 2005-07-19 Wim Taymans <wim@fluendo.com>
18798 * docs/design/part-clocks.txt:
18799 * docs/design/part-events.txt:
18800 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18801 Small docs updates.
18802 Only update the seeking values when we are not
18805 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18807 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18808 Oops, ignore the result of gst_pad_push_event here.
18810 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18812 * gst/base/gstbasesrc.c: (gst_base_src_loop),
18813 (gst_base_src_activate_push):
18814 Send discont event from the loop function, as pads
18815 aren't activated yet in the activate_push handler.
18817 * gst/gstbin.c: (bin_bus_handler):
18818 Don't leak element name.
18820 2005-07-18 Andy Wingo <wingo@pobox.com>
18822 * configure.ac: Use AS_LIBTOOL_TAGS.
18824 2005-07-18 Wim Taymans <wim@fluendo.com>
18826 * docs/gst/gstreamer.types:
18827 Remove deleted types.
18829 2005-07-18 Wim Taymans <wim@fluendo.com>
18831 * check/elements/gstfakesrc.c: (GST_START_TEST):
18834 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18835 (init_popt_callback):
18837 * gst/gst_private.h:
18838 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18839 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18842 * gst/gstconfig.h.in:
18843 * gst/gstelement.c: (gst_element_class_init),
18844 (gst_element_set_base_time), (gst_element_get_base_time),
18845 (iterator_fold_with_resync), (gst_element_change_state),
18846 (gst_element_dispose), (gst_element_get_bus):
18847 * gst/gstelement.h:
18848 * gst/gstelementfactory.h:
18849 * gst/gsterror.c: (_gst_core_errors_init):
18852 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18854 * gst/gstinfo.c: (_gst_debug_init):
18855 * gst/gstmessage.c: (_gst_message_copy):
18856 * gst/gstmessage.h:
18857 * gst/gstminiobject.h:
18860 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18861 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18864 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18865 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18866 (gst_pipeline_get_last_stream_time):
18867 * gst/gstpipeline.h:
18868 * gst/gstpluginfeature.h:
18870 * gst/gstscheduler.c:
18871 * gst/gstscheduler.h:
18872 * gst/gststructure.h:
18873 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18874 (gst_task_finalize), (gst_task_func), (gst_task_create),
18875 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18876 (gst_task_stop), (gst_task_pause):
18878 * gst/gsttypefind.h:
18880 * gst/registries/gstlibxmlregistry.c: (load_feature),
18881 (gst_xml_registry_load), (gst_xml_registry_save_feature):
18882 * gst/registries/gstxmlregistry.c:
18883 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18884 * gst/schedulers/threadscheduler.c:
18885 * libs/gst/control/dparammanager.h:
18886 * tools/gst-inspect.c: (print_element_list),
18887 (print_plugin_features), (print_element_features):
18888 * tools/gst-xmlinspect.c: (print_element_list),
18889 (print_plugin_info), (main):
18890 Removed plugable schedulers.
18891 Removed Scheduler/Manager from elements.
18892 Removed gsttypes.h, rearranged includes.
18893 Removed dependency pad<->element, element<>pipeline, and
18894 various others, fix includes.
18895 implement gst_pad_get_parent() with gst_object_get_parent()
18896 Make GstTask sefcontained.
18897 Fix _get_state() on GstBin, it did not return ASYNC with a 0
18899 Fix endless loop in iterator_fold_with_resync.
18902 2005-07-18 Wim Taymans <wim@fluendo.com>
18908 2005-07-18 Wim Taymans <wim@fluendo.com>
18911 No more cothreads.h
18913 2005-07-18 Wim Taymans <wim@fluendo.com>
18917 Let's remove these.
18919 2005-07-18 Wim Taymans <wim@fluendo.com>
18921 * docs/design/part-dynamic.txt:
18922 * docs/design/part-events.txt:
18923 * docs/design/part-seeking.txt:
18924 Some more docs in the works.
18926 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18927 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18928 (gst_base_transform_setcaps), (gst_base_transform_get_size),
18929 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18930 (gst_base_transform_handle_buffer),
18931 (gst_base_transform_sink_activate_push),
18932 (gst_base_transform_src_activate_pull),
18933 (gst_base_transform_set_passthrough),
18934 (gst_base_transform_is_passthrough):
18937 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18940 * gst/gstevent.c: (gst_event_finalize):
18943 * gst/gstutils.c: (gst_element_unlink),
18944 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18945 (gst_pad_proxy_setcaps):
18947 Add _get_parent_element() to get a pads parent as an element.
18949 2005-07-18 Wim Taymans <wim@fluendo.com>
18951 * check/gst/gstbin.c: (GST_START_TEST):
18954 2005-07-18 Wim Taymans <wim@fluendo.com>
18956 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18957 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18958 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18959 (gst_base_sink_event), (gst_base_sink_do_sync),
18960 (gst_base_sink_chain), (gst_base_sink_loop),
18961 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18962 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18964 Fix logic for returning ASYNC when not prerolled.
18966 2005-07-18 Wim Taymans <wim@fluendo.com>
18968 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18969 Fix nasty refcount bug.
18971 2005-07-16 Philippe Khalaf <burger@speedy.org>
18973 * gst/elements/gstfdsrc.c:
18974 * gst/elements/gstfdsrc.h:
18975 * gst/elements/gstelements.c:
18976 * gst/elements/Makefile.am:
18977 Ported fdsrc to 0.9.
18979 2005-07-16 Wim Taymans <wim@fluendo.com>
18981 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18982 (gst_base_sink_do_sync):
18985 2005-07-16 Wim Taymans <wim@fluendo.com>
18987 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18988 (gst_base_sink_event), (gst_base_sink_get_times),
18989 (gst_base_sink_do_sync), (gst_base_sink_change_state):
18990 * gst/base/gstbasesink.h:
18991 Store and use discont values when syncing buffers as described
18994 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18995 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18996 (gst_base_src_activate_push):
18997 Push discont event when starting.
18999 * gst/elements/gstidentity.c: (gst_identity_transform):
19002 * gst/gstbin.c: (gst_bin_change_state):
19003 Small cleanups in base_time distribution.
19005 * gst/gstelement.c: (gst_element_set_base_time),
19006 (gst_element_get_base_time), (gst_element_change_state):
19007 * gst/gstelement.h:
19008 Added methods for the base_time of the element.
19011 * gst/gstpipeline.c: (gst_pipeline_send_event),
19012 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
19013 (gst_pipeline_get_last_stream_time):
19014 * gst/gstpipeline.h:
19016 Handle seeking as described in design doc, remove stream_time
19018 Cleanups clock and stream_time selection code. Added accessors
19019 for the stream_time.
19022 2005-07-16 Andy Wingo <wingo@pobox.com>
19024 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
19027 2005-07-16 Wim Taymans <wim@fluendo.com>
19029 * check/gst/gstbin.c: (GST_START_TEST):
19030 Make elements silent as the deep_notify refs the
19031 parent, which might make the test fail.
19033 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
19034 Don't hold the lock for too long.
19036 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
19038 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19039 Don't unref the caps we passed to gst_caps_make_writable() after
19040 passing them. gst_caps_make_writable() will do that for us.
19042 2005-07-15 Andy Wingo <wingo@pobox.com>
19044 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
19047 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
19048 own marshalling function for the handoff signal. Properly type the
19049 buffer as a buffer. Fixes some warnings. Should do a more general
19051 (gst_identity_class_init): Plug into the right marshaller.
19053 2005-07-15 Wim Taymans <wim@fluendo.com>
19055 * docs/design/part-TODO.txt:
19056 * docs/design/part-clocks.txt:
19057 * docs/design/part-element-sink.txt:
19058 * docs/design/part-events.txt:
19059 * docs/design/part-gstpipeline.txt:
19060 Updated docs, mostly DISCONT related.
19062 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
19064 * docs/pwg/building-pads.xml:
19065 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
19067 2005-07-15 Andy Wingo <wingo@pobox.com>
19069 * tools/gst-typefind.c: Update, add copyright block.
19071 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
19072 Normalize and truncate caps before fixation.
19075 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
19076 discards all but the first structure from its argument.
19078 2005-07-15 Wim Taymans <wim@fluendo.com>
19080 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19081 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
19082 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19083 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19084 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
19085 (gst_base_transform_chain), (gst_base_transform_change_state),
19086 (gst_base_transform_set_passthrough),
19087 (gst_base_transform_is_passthrough):
19088 * gst/base/gstbasetransform.h:
19089 Make passthrough work using the bufferpools.
19090 Changed API a bit, subclasses have to write into a buffer
19091 provided by the base class.
19092 More debug info in nego functions.
19094 * gst/elements/gstidentity.c: (gst_identity_init),
19095 (gst_identity_transform):
19096 Port to new base class.
19098 2005-07-15 Wim Taymans <wim@fluendo.com>
19100 * gst/gstmessage.c: (gst_message_new_state_changed):
19101 * tools/gst-launch.c: (event_loop), (main):
19102 Totally dump messages in -launch with the -m option.
19103 Fix message name for State messages,
19105 2005-07-14 Wim Taymans <wim@fluendo.com>
19107 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19108 Post error messages on errors.
19110 2005-07-14 Wim Taymans <wim@fluendo.com>
19112 * gst/gstcaps.c: (gst_caps_do_simplify):
19116 Define error for stream stopped.
19118 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19119 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
19120 Do proper return values.
19122 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19123 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
19124 (gst_pad_get_range):
19125 Better return values.
19128 Reorganise return values, add macro to check for fatal errors.
19130 * gst/gstqueue.c: (gst_queue_chain):
19131 Return proper GstFlowReturn values,
19133 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
19135 * docs/gst/gstreamer-sections.txt:
19136 * docs/gst/gstreamer.types:
19137 * docs/gst/tmpl/gst.sgml:
19138 * docs/gst/tmpl/gstbasesink.sgml:
19139 * docs/gst/tmpl/gstbasesrc.sgml:
19140 * docs/gst/tmpl/gstbasetransform.sgml:
19141 * docs/gst/tmpl/gstbin.sgml:
19142 * docs/gst/tmpl/gstbuffer.sgml:
19143 * docs/gst/tmpl/gstcaps.sgml:
19144 * docs/gst/tmpl/gstclock.sgml:
19145 * docs/gst/tmpl/gstcompat.sgml:
19146 * docs/gst/tmpl/gstconfig.sgml:
19147 * docs/gst/tmpl/gstelement.sgml:
19148 * docs/gst/tmpl/gstelementdetails.sgml:
19149 * docs/gst/tmpl/gstelementfactory.sgml:
19150 * docs/gst/tmpl/gstenumtypes.sgml:
19151 * docs/gst/tmpl/gsterror.sgml:
19152 * docs/gst/tmpl/gstevent.sgml:
19153 * docs/gst/tmpl/gstfakesink.sgml:
19154 * docs/gst/tmpl/gstfakesrc.sgml:
19155 * docs/gst/tmpl/gstfilesink.sgml:
19156 * docs/gst/tmpl/gstfilesrc.sgml:
19157 * docs/gst/tmpl/gstfilter.sgml:
19158 * docs/gst/tmpl/gstformat.sgml:
19159 * docs/gst/tmpl/gstghostpad.sgml:
19160 * docs/gst/tmpl/gstimplementsinterface.sgml:
19161 * docs/gst/tmpl/gstindex.sgml:
19162 * docs/gst/tmpl/gstindexfactory.sgml:
19163 * docs/gst/tmpl/gstinfo.sgml:
19164 * docs/gst/tmpl/gstiterator.sgml:
19165 * docs/gst/tmpl/gstmacros.sgml:
19166 * docs/gst/tmpl/gstmemchunk.sgml:
19167 * docs/gst/tmpl/gstminiobject.sgml:
19168 * docs/gst/tmpl/gstobject.sgml:
19169 * docs/gst/tmpl/gstpad.sgml:
19170 * docs/gst/tmpl/gstpadtemplate.sgml:
19171 * docs/gst/tmpl/gstparse.sgml:
19172 * docs/gst/tmpl/gstpipeline.sgml:
19173 * docs/gst/tmpl/gstplugin.sgml:
19174 * docs/gst/tmpl/gstpluginfeature.sgml:
19175 * docs/gst/tmpl/gstquery.sgml:
19176 * docs/gst/tmpl/gstqueue.sgml:
19177 * docs/gst/tmpl/gstregistry.sgml:
19178 * docs/gst/tmpl/gstregistrypool.sgml:
19179 * docs/gst/tmpl/gstscheduler.sgml:
19180 * docs/gst/tmpl/gstschedulerfactory.sgml:
19181 * docs/gst/tmpl/gststructure.sgml:
19182 * docs/gst/tmpl/gstsystemclock.sgml:
19183 * docs/gst/tmpl/gsttaglist.sgml:
19184 * docs/gst/tmpl/gsttagsetter.sgml:
19185 * docs/gst/tmpl/gsttrace.sgml:
19186 * docs/gst/tmpl/gsttrashstack.sgml:
19187 * docs/gst/tmpl/gsttypefind.sgml:
19188 * docs/gst/tmpl/gsttypefindfactory.sgml:
19189 * docs/gst/tmpl/gsttypes.sgml:
19190 * docs/gst/tmpl/gsturihandler.sgml:
19191 * docs/gst/tmpl/gsturitype.sgml:
19192 * docs/gst/tmpl/gstutils.sgml:
19193 * docs/gst/tmpl/gstvalue.sgml:
19194 * docs/gst/tmpl/gstversion.sgml:
19195 * docs/gst/tmpl/gstxml.sgml:
19196 * docs/libs/tmpl/gstcontrol.sgml:
19197 * docs/libs/tmpl/gstdataprotocol.sgml:
19198 * docs/libs/tmpl/gstdparam.sgml:
19199 * docs/libs/tmpl/gstdplinint.sgml:
19200 * docs/libs/tmpl/gstdpman.sgml:
19201 * docs/libs/tmpl/gstdpsmooth.sgml:
19202 * docs/libs/tmpl/gstgetbits.sgml:
19203 * docs/libs/tmpl/gstunitconvert.sgml:
19204 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
19205 (gst_push_src_base_init), (gst_push_src_class_init),
19206 (gst_push_src_init), (gst_push_src_create):
19207 * gst/base/gstpushsrc.h:
19208 * gst/elements/gstelements.c:
19209 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
19210 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
19211 (gst_fake_sink_init), (gst_fake_sink_set_property),
19212 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
19213 (gst_fake_sink_event), (gst_fake_sink_preroll),
19214 (gst_fake_sink_render), (gst_fake_sink_change_state):
19215 * gst/elements/gstfakesink.h:
19216 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19217 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19218 (gst_fake_src_base_init), (gst_fake_src_class_init),
19219 (gst_fake_src_init), (gst_fake_src_event_handler),
19220 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
19221 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
19222 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
19223 (gst_fake_src_create_buffer), (gst_fake_src_create),
19224 (gst_fake_src_start), (gst_fake_src_stop):
19225 * gst/elements/gstfakesrc.h:
19226 * gst/elements/gstfilesink.c: (_do_init),
19227 (gst_file_sink_base_init), (gst_file_sink_class_init),
19228 (gst_file_sink_init), (gst_file_sink_dispose),
19229 (gst_file_sink_set_location), (gst_file_sink_set_property),
19230 (gst_file_sink_get_property), (gst_file_sink_open_file),
19231 (gst_file_sink_close_file), (gst_file_sink_query),
19232 (gst_file_sink_event), (gst_file_sink_render),
19233 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
19234 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
19235 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
19236 * gst/elements/gstfilesink.h:
19237 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
19238 (gst_file_src_class_init), (gst_file_src_init),
19239 (gst_file_src_finalize), (gst_file_src_set_location),
19240 (gst_file_src_set_property), (gst_file_src_get_property),
19241 (gst_file_src_map_region), (gst_file_src_map_small_region),
19242 (gst_file_src_create_mmap), (gst_file_src_create_read),
19243 (gst_file_src_create), (gst_file_src_is_seekable),
19244 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
19245 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
19246 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
19247 (gst_file_src_uri_handler_init):
19248 * gst/elements/gstfilesrc.h:
19249 more autistic cleanliness in functions/names/defines
19251 2005-07-13 Andy Wingo <wingo@pobox.com>
19253 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19254 source couldn't negotiate.
19256 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19260 * gst/gstutils.c (gst_element_link_pads_filtered): New old
19261 function. I am channeling Hades. Put your boots on suckers!!!
19263 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
19265 * testsuite/caps/Makefile.am:
19266 * testsuite/caps/value_compare.c:
19267 * testsuite/caps/value_intersect.c:
19268 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19269 move two testsuite apps over to the check dir
19271 2005-07-12 Wim Taymans <wim@fluendo.com>
19273 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19274 Added more debug info in the negotiate process.
19276 * gst/gstmessage.h:
19277 Prepare for segment playback.
19279 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19285 * tools/gst-launch.c: (main):
19286 NULL pipeline on errors.
19288 2005-07-12 Andy Wingo <wingo@pobox.com>
19290 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19291 not it comes from a malloc region. Make sure our copy gets freed.
19293 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19295 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19296 * check/gst/gstmessage.c: (GST_START_TEST):
19297 * check/gst/gststructure.c: (GST_START_TEST),
19298 (gst_structure_suite), (main):
19300 * gst/gstelement.c: (gst_element_message_full):
19301 clean up GError and debug string now that they get copied
19302 * gst/gstmessage.c: (gst_message_new_error),
19303 (gst_message_new_warning), (gst_message_parse_error),
19304 (gst_message_parse_warning):
19305 use GST_TYPE_G_ERROR for structure_new, and take copies of
19306 arguments, so that we don't mess up refcounting
19308 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19310 * check/Makefile.am:
19311 add per-test valgrind targets
19312 * check/gst-libs/gdp.c: (GST_START_TEST),
19313 (gst_data_protocol_suite), (main):
19316 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19318 * check/Makefile.am:
19319 instate more valgrindable tests
19320 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19321 (GST_START_TEST), (fakesrc_suite):
19322 * check/gst/gstpad.c: (GST_START_TEST):
19323 * check/gst/gststructure.c: (GST_START_TEST):
19325 * docs/gst/tmpl/gstminiobject.sgml:
19326 * gst/gstpad.c: (gst_pad_finalize):
19327 fix the static mutex leak
19329 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19331 * check/Makefile.am:
19332 add two more tests for valgrinding
19333 * check/gst/gstvalue.c: (GST_START_TEST):
19334 test refcount of deserialized buffer, found a leak
19335 * docs/gst/gstreamer-docs.sgml:
19336 * docs/gst/gstreamer-sections.txt:
19337 * docs/gst/gstreamer.types:
19338 * docs/gst/tmpl/gstminiobject.sgml:
19339 add miniobject to docs
19340 * gst/gstminiobject.c:
19342 * gst/gstvalue.c: (gst_value_deserialize_buffer),
19343 (gst_string_unwrap):
19344 fix a hard-to-find invalid write for one of the tests
19345 fix a leak for deserialized buffers
19347 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19349 * docs/pwg/advanced-events.xml:
19350 * docs/pwg/advanced-request.xml:
19351 * docs/pwg/advanced-scheduling.xml:
19352 * docs/pwg/appendix-porting.xml:
19353 * docs/pwg/building-boiler.xml:
19354 * docs/pwg/intro-preface.xml:
19355 * docs/pwg/other-ntoone.xml:
19356 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19357 of example code and explanation for pad activation, loop() and
19358 getrange() functions and a bit more. Remove old comments pointing
19360 * examples/pwg/Makefile.am:
19361 Add loop/getrange examples.
19363 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19366 check for valgrind binary + some fixes
19368 valgrind suppressions for the tests
19369 * check/Makefile.am:
19370 add a valgrind: target that valgrinds the unit tests
19371 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19372 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19373 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19374 * check/gst/gstghostpad.c:
19376 * check/gst/gstdata.c:
19378 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19379 (thread_unref), (gst_mini_object_suite), (main):
19381 * gst/gst.c: (gst_deinit):
19383 add a method to clean up.
19384 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19385 (gst_system_clock_obtain):
19386 allow for disposing the system clock.
19387 * tools/gst-launch.c: (main):
19390 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19392 * docs/gst/tmpl/gstbasesrc.sgml:
19393 * docs/gst/tmpl/gstfakesrc.sgml:
19394 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19395 (gst_base_src_init), (gst_base_src_set_property),
19396 (gst_base_src_get_property), (gst_base_src_get_range),
19397 (gst_base_src_start):
19398 * gst/base/gstbasesrc.h:
19399 add num-buffers property
19400 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19401 (gst_fakesrc_init), (gst_fakesrc_set_property),
19402 (gst_fakesrc_get_property), (gst_fakesrc_create),
19403 (gst_fakesrc_start):
19404 remove num-buffers property
19406 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19408 * docs/gst/gstreamer-sections.txt:
19409 * docs/gst/tmpl/gstbasesink.sgml:
19410 * docs/gst/tmpl/gstbasesrc.sgml:
19411 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19412 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19413 (gst_base_sink_finalize), (gst_base_sink_set_clock),
19414 (gst_base_sink_set_property), (gst_base_sink_get_property),
19415 (gst_base_sink_handle_object), (gst_base_sink_event),
19416 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19417 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19418 (gst_base_sink_loop), (gst_base_sink_deactivate),
19419 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19420 (gst_base_sink_change_state):
19421 * gst/base/gstbasesink.h:
19422 * gst/base/gstbasesrc.h:
19423 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19424 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19425 (gst_filesink_init):
19426 more macro splitting
19428 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19430 * gst/gstelement.c: (gst_element_get_bus):
19432 * tools/gst-launch.c: (check_intr), (event_loop):
19435 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19437 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19440 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19442 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19443 (gst_base_src_finalize):
19444 add finalize method and clean up properly
19445 * gst/gstpipeline.c: (gst_pipeline_dispose):
19448 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19450 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19452 add more things to check
19453 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19454 * gst/gstelement.c:
19457 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19459 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19460 (GST_START_TEST), (fakesrc_suite):
19461 * check/gst-libs/gdp.c: (GST_START_TEST):
19462 * check/gst/gst.c: (GST_START_TEST):
19463 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19464 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19465 * check/gst/gstbus.c: (GST_START_TEST):
19466 * check/gst/gstcaps.c: (GST_START_TEST):
19467 * check/gst/gstdata.c: (GST_START_TEST):
19468 * check/gst/gstelement.c: (GST_START_TEST):
19469 * check/gst/gstghostpad.c: (GST_START_TEST):
19470 * check/gst/gstiterator.c: (GST_START_TEST):
19471 * check/gst/gstmessage.c: (GST_START_TEST):
19472 * check/gst/gstobject.c: (GST_START_TEST):
19473 * check/gst/gstpad.c: (GST_START_TEST):
19474 * check/gst/gststructure.c: (GST_START_TEST):
19475 * check/gst/gstsystemclock.c: (GST_START_TEST),
19476 (gst_systemclock_suite):
19477 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19478 * check/gst/gstvalue.c: (GST_START_TEST):
19479 * check/pipelines/cleanup.c: (GST_START_TEST):
19480 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19481 * check/states/sinks.c: (GST_START_TEST):
19482 * check/gstcheck.c: (gst_check_init):
19483 * check/gstcheck.h:
19484 add debugging category
19485 use GST_START_TEST now, so we add a debug line
19487 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19489 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19490 add test for state change message on a bin
19491 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19493 * gst/gstbin.c: (gst_bin_init):
19494 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19495 * gst/gstelement.c: (gst_element_post_message),
19496 (gst_element_set_state):
19497 * gst/gstelementfactory.c: (gst_element_factory_create):
19498 * gst/gstmessage.c: (gst_message_new):
19499 * gst/gstscheduler.c:
19500 various debugging additions and cleanups
19502 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19504 * check/Makefile.am:
19505 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19507 adding tests for elements
19508 * gst/gstelement.c: (gst_element_dispose):
19510 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19512 * gst/registries/gstlibxmlregistry.c: (load_feature):
19513 plug more leaks. A simple gst_init() now is leakfree, yay.
19515 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19517 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19518 (gst_xml_registry_load):
19519 plug another memleak
19521 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19524 use GST_SET_ERROR_CFLAGS
19525 * docs/faq/cvs.xml:
19526 change to ERROR_CFLAGS
19528 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19531 make GST_ERROR_CFLAGS overridable and re-enable Werror
19532 * docs/faq/cvs.xml:
19533 add a note about error CFLAGS
19534 * docs/gst/tmpl/gstfakesrc.sgml:
19535 * gst/elements/gstfakesrc.c:
19536 comment out some unused code
19537 * gst/gst.c: (split_and_iterate):
19538 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19542 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19544 * common/Makefile.am:
19545 * common/gtk-doc.mak:
19546 * docs/gst/Makefile.am:
19547 factor out gtk-doc.mak
19549 2005-07-07 Wim Taymans <wim@fluendo.com>
19551 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19552 (gst_thread_scheduler_dispose):
19553 Unlock the STREAM_LOCK completely.
19555 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19557 * check/Makefile.am:
19558 * check/elements/.cvsignore:
19559 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19560 (START_TEST), (fakesrc_suite), (main):
19561 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19562 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19563 (gst_fakesrc_create), (gst_fakesrc_start):
19564 * gst/elements/gstfakesrc.h:
19565 adding a first element test
19567 2005-07-07 Andy Wingo <wingo@pobox.com>
19569 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19572 2005-07-07 Wim Taymans <wim@fluendo.com>
19578 2005-07-07 Wim Taymans <wim@fluendo.com>
19580 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19581 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19582 Allow subclasses to implement their own negotiation.
19584 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19586 * docs/design/part-gstbin.txt:
19587 * docs/design/part-gstpipeline.txt:
19588 Update design notes to reflect the movement of
19589 responsibility for bus handling from GstPipeline to
19592 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19595 Remove unnecessary queue2/3/4 examples.
19597 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19599 * examples/Makefile.am:
19600 * examples/helloworld/helloworld.c: (event_loop), (main):
19601 * examples/queue/queue.c: (event_loop), (main):
19602 * examples/queue2/queue2.c: (main):
19603 Update a couple of the examples to work again.
19605 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19606 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19607 Spelling corrections and extra debug.
19609 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19610 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19611 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19613 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19614 (gst_pipeline_change_state):
19615 * gst/gstpipeline.h:
19616 Move the bus handler for children to the GstBin, and create a
19617 separate bus for receiving messages from children to the one the
19618 bus sends 'upwards' on.
19620 2005-07-06 Wim Taymans <wim@fluendo.com>
19623 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19624 (gst_base_sink_handle_object), (gst_base_sink_loop),
19625 (gst_base_sink_change_state):
19626 * gst/base/gstbasesink.h:
19627 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19628 (gst_base_src_init), (gst_base_src_setcaps),
19629 (gst_base_src_getcaps), (gst_base_src_loop),
19630 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19631 (gst_base_src_start), (gst_base_src_change_state):
19632 * gst/base/gstbasesrc.h:
19633 Make basesrc negotiate.
19634 Handle the case where preroll fails in basesink.
19637 2005-07-06 Wim Taymans <wim@fluendo.com>
19639 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19640 Implement the fixate function.
19641 Clean up acceptcaps.
19643 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19645 * docs/pwg/building-filterfactory.xml:
19646 * docs/pwg/pwg.xml:
19647 Remove never-written filter-factory chapter; I'll add the various
19648 base classes to part 4 ("other element types") later on.
19650 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19652 * docs/pwg/advanced-negotiation.xml:
19653 * docs/pwg/building-boiler.xml:
19654 * docs/pwg/building-pads.xml:
19655 * docs/pwg/pwg.xml:
19656 * examples/pwg/Makefile.am:
19657 Add a chapter on caps negotiation, simplify the original code
19658 samples a bit w.r.t. caps negotiation, add link to the advanced
19659 section. Add a bunch of examples showing different use cases of
19660 different types of caps negotiation. Upstream renegotiation isn't
19661 fully documented yet since nobody knows how that works.
19663 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
19665 * check/gst/gstpad.c:
19666 * check/gstcheck.c:
19667 * gst/gstpad.c: (gst_pad_get_internal_links_default):
19668 if pad has no parent, return NULL as list of internal links
19670 2005-07-05 Andy Wingo <wingo@pobox.com>
19672 * gst/elements/gstfilesrc.c:
19673 * gst/elements/gstfakesrc.c:
19674 * gst/base/gstpushsrc.c:
19675 * gst/base/gstbasesrc.h:
19676 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19678 2005-07-05 Stefan Kost <ensonic@users.sf.net>
19681 better report generation target (lcov needs a patch)
19683 2005-07-05 Andy Wingo <wingo@pobox.com>
19685 * gst/elements, testsuite: Null if we got it...
19687 2005-07-05 Wim Taymans <wim@fluendo.com>
19690 * libs/gst/dataprotocol/Makefile.am:
19691 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19692 * libs/gst/dataprotocol/dataprotocol.h:
19693 * pkgconfig/Makefile.am:
19694 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19695 * pkgconfig/gstreamer-dataprotocol.pc.in:
19696 Ported dataprotol to 0.9.
19697 Added pkgconfig files.
19699 2005-07-05 Andy Wingo <wingo@pobox.com>
19701 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19702 Default to returning TRUE for the case when tranform_caps returns
19703 a fixed caps, like for identity or volume.
19705 * check/gst/gstbus.c (pound_bus_with_messages):
19706 * check/gst/gstmessage.c (START_TEST):
19707 * check/pipelines/simple_launch_lines.c (got_handoff): Application
19708 message API change.
19710 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19711 logic weaks here: always run transform_caps, trying passthrough
19712 operation only if the original caps intersects with the transform.
19714 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19715 source and sink caps.
19717 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19718 Intersect the peer caps with the pad template before going into
19720 (gst_base_transform_transform_caps): More debugging.
19722 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19725 2005-07-04 Edward Hervey <edward@fluendo.com>
19729 (gst_pad_add_*_probe): now returns the signal id for better wrapping
19732 2005-07-04 Andy Wingo <wingo@pobox.com>
19734 * check/gst/gstpad.c: Only set explicit caps on pads.
19736 2005-07-01 Andy Wingo <wingo@pobox.com>
19738 * tests/network-clock.scm: Commentary update.
19740 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19741 Didn't really make sense, not implementable with basetransform,
19743 (gst_identity_transform): Unref inbuf via make_writable. Feeble
19744 attempt at implementing the sync property, needs an unlock method.
19746 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19747 New func, by default returns the same caps (the identity
19749 (gst_base_transform_getcaps): Uses transform_caps to return
19750 something sensible.
19751 (gst_base_transform_setcaps): Complicated logic to get caps on
19752 both pads, even if they are different, and to call set_caps once
19753 for every time both pads get their caps set.
19754 (gst_base_transform_handle_buffer): Give the ref to the transform
19755 function. Allows in-place modification of the buffer.
19757 * gst/base/gstbasetransform.h (transform_caps): New class method.
19758 Given caps on one side, what can I do on the other.
19759 (set_caps): Take two caps, one for each side of the element.
19762 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19763 caps in place. This is safe because we can check the mutability of
19764 the caps, and a good idea because fixate functions are just called
19765 as a matter of last resort. (Not actually implemented.)
19766 (gst_pad_set_caps): If the caps we're setting is actually the same
19767 as the existing pad caps, just update the pointer without calling
19768 setcaps. Assert that caps is either NULL or fixed, as per the
19771 * gst/gstghostpad.c: Update for fixate changes.
19773 2005-07-02 Andy Wingo <wingo@pobox.com>
19776 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19777 two refcounts makes it immutable, which is enough. Doc more.
19779 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
19781 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19782 Put the mini_object into GValue as a mini_object,
19783 not a gpointer, since that's how we declared
19786 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19788 * examples/pwg/Makefile.am:
19789 Fix buildbot again.
19791 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19793 * docs/pwg/building-testapp.xml:
19795 * examples/pwg/Makefile.am:
19798 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19801 * examples/Makefile.am:
19802 * examples/pwg/Makefile.am:
19803 * examples/pwg/extract.pl:
19804 Enable building the PWG examples.
19805 * docs/pwg/advanced-interfaces.xml:
19806 Add URI interface stub.
19807 * docs/pwg/advanced-types.xml:
19808 * docs/pwg/other-autoplugger.xml:
19809 * docs/pwg/appendix-porting.xml:
19810 * docs/pwg/pwg.xml:
19811 Add porting guide (mostly stubs), remove autoplugging (see ADM).
19812 * docs/pwg/building-boiler.xml:
19813 * docs/pwg/building-chainfn.xml:
19814 * docs/pwg/building-pads.xml:
19815 * docs/pwg/building-props.xml:
19816 * docs/pwg/building-state.xml:
19817 * docs/pwg/building-testapp.xml:
19818 Update the building-*.xml parts for 0.9 changes. All examples
19819 code blocks compile in examples/pwg/*.
19821 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19823 * docs/manual/advanced-autoplugging.xml:
19824 * docs/manual/appendix-checklist.xml:
19825 * docs/manual/appendix-integration.xml:
19826 * docs/manual/highlevel-components.xml:
19827 Fix playbin/decodebin examples, update docs a bit, mention bus
19828 instead of signals in various places, mention kmplayer and
19829 kaffeine since they have a working GStreamer backend in the KDE
19832 2005-06-30 Wim Taymans <wim@fluendo.com>
19835 * docs/design/draft-ghostpads.txt:
19836 * docs/design/draft-push-pull.txt:
19837 * docs/design/draft-query.txt:
19838 * docs/design/part-TODO.txt:
19839 * docs/design/part-query.txt:
19840 Added CHANGES-0.9 doc, updated status of other docs.
19845 2005-06-30 Wim Taymans <wim@fluendo.com>
19847 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19848 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19849 (gst_base_sink_change_state):
19850 * gst/base/gstbasesink.h:
19851 Some tweaks, only EOS and a buffer complete a preroll.
19853 2005-06-30 Andy Wingo <wingo@pobox.com>
19855 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19856 activate_push down to the internal pad as well.
19858 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
19860 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19862 * gst/gsttaginterface.c:
19863 Some documentation fixes (#307394 and #307397).
19865 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
19867 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19869 * gst/gstvalue.c: (gst_value_intersect_list):
19870 Fix memleak (#309125).
19872 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19874 * docs/manual/advanced-dataaccess.xml:
19875 Fix fakesrc example to compile; doesn't work, bug somewhere...?
19876 * docs/manual/basics-pads.xml:
19877 Add reference for filtered caps to above chapter.
19879 2005-06-30 Wim Taymans <wim@fluendo.com>
19881 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19882 (gst_bin_change_state):
19884 Lame attempt at making the state change function a bit
19887 2005-06-30 Wim Taymans <wim@fluendo.com>
19889 * docs/design/part-clocks.txt:
19890 * docs/design/part-element-sink.txt:
19891 * docs/design/part-events.txt:
19892 * docs/design/part-preroll.txt:
19893 * docs/design/part-states.txt:
19894 Some more tweeks and additions to the docs.
19896 2005-06-30 Wim Taymans <wim@fluendo.com>
19898 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19899 (default_have_data), (gst_pad_class_init), (gst_pad_init),
19900 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19901 (gst_pad_check_pull_range), (gst_pad_get_range),
19902 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19904 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19905 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19906 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19907 (gst_pad_remove_buffer_probe):
19908 Removed atomic operations, use existing LOCK.
19909 Move exception handling out of main code path.
19911 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19913 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19914 (silly_return_true_function), (gst_pad_class_init),
19915 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19916 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19917 (gst_pad_send_event):
19918 Fix accumulator, add default value by using _emitv() instead
19919 of _emit() for signal emission.
19921 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19923 * docs/manual/advanced-dataaccess.xml:
19924 * examples/manual/Makefile.am:
19926 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19929 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
19931 * gst/elements/gstfilesink.c: (gst_filesink_render):
19932 Simplify code so that we don't have to handle short
19933 writes and return GST_FLOW_ERROR if an error occured.
19935 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19937 * docs/gst/gstreamer-docs.sgml:
19938 Remove probes more.
19940 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19942 * docs/gst/gstreamer-sections.txt:
19943 * docs/gst/tmpl/gstpad.sgml:
19944 * docs/gst/tmpl/gstprobe.sgml:
19946 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19947 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19948 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19949 (gst_pad_push_event), (gst_pad_send_event):
19951 * gst/gstutils.c: (gst_pad_add_data_probe),
19952 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19953 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19954 (gst_pad_remove_buffer_probe):
19956 Remove old probes, add new g-signal-based probes and some utility
19959 2005-06-29 Edward Hervey <edward@fluendo.com>
19961 * gst/gstelementfactory.c:
19964 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19965 the definition to the header file.
19967 2005-06-29 Andy Wingo <wingo@pobox.com>
19969 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19970 plugins from the source directory.
19972 2005-06-29 Wim Taymans <wim@fluendo.com>
19974 * docs/gst/tmpl/gstbuffer.sgml:
19975 * docs/gst/tmpl/gstclock.sgml:
19976 Some fixings for blantently wrong text.
19978 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19980 * check/Makefile.am:
19981 * gst/gst.c: (add_path_func), (init_pre):
19982 * gst/gstregistry.c: (gst_registry_add_path):
19983 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19984 only scan the GST_PLUGIN_PATH locations, and not add
19987 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19989 * docs/gst/gstreamer-sections.txt:
19990 * docs/gst/tmpl/gstbasesrc.sgml:
19991 * gst/gstelement.c:
19992 * gst/gstelement.h:
19997 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19999 * docs/manual/advanced-autoplugging.xml:
20000 Fix autoplugging example.
20002 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20004 * docs/manual/advanced-autoplugging.xml:
20005 * docs/manual/mime-world.fig:
20006 Try to get autoplugging working, fix type detection. Fix text
20007 in hello-world image.
20009 2005-06-29 Wim Taymans <wim@fluendo.com>
20011 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20012 (gst_base_sink_change_state):
20016 map SIGNAL and BROADCAST to the right function.
20019 Remove redundant braces.
20021 * gst/gstpad.c: (gst_pad_set_caps):
20022 Don't call setcaps function when reseting caps to NULL.
20024 * gst/gstsystemclock.c: (gst_system_clock_dispose),
20025 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
20026 (gst_system_clock_id_unschedule):
20027 Use BROADCAST as this is what we do.
20029 2005-06-29 Wim Taymans <wim@fluendo.com>
20031 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20032 We are actually prerolling before commiting the state
20035 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20037 * docs/manual/advanced-clocks.xml:
20038 * docs/manual/advanced-interfaces.xml:
20039 * docs/manual/advanced-metadata.xml:
20040 * docs/manual/advanced-position.xml:
20041 * docs/manual/advanced-schedulers.xml:
20042 * docs/manual/advanced-threads.xml:
20043 * docs/manual/appendix-porting.xml:
20044 * docs/manual/basics-bins.xml:
20045 * docs/manual/basics-bus.xml:
20046 * docs/manual/basics-elements.xml:
20047 * docs/manual/basics-helloworld.xml:
20048 * docs/manual/basics-pads.xml:
20049 * docs/manual/highlevel-components.xml:
20050 * docs/manual/manual.xml:
20051 * docs/manual/thread.fig:
20052 Update (until threads/scheduling) Application Development Manual;
20053 remove GstThread, add GstBus, add simple porting checklist, add
20054 documentation for tag writing, clocks, make all examples until this
20055 part compile and run.
20056 * examples/manual/Makefile.am:
20057 Update from changes to Application Development Manual; add bus
20058 example, remove thread example.
20060 2005-06-28 Wim Taymans <wim@fluendo.com>
20062 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
20063 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
20064 (gst_bus_source_dispatch):
20065 Add debugging messages.
20066 Make internal methods static.
20067 Handle the case where the bus is flushed in the handler.
20069 * gst/gstelement.c: (gst_element_get_bus):
20070 Fix refcount in _get_bus();
20072 * gst/gstpipeline.c: (gst_pipeline_change_state),
20073 (gst_pipeline_get_clock_func):
20074 Clock refcounting fixes.
20075 Handle the case where preroll timed out more gracefully.
20077 * gst/gstsystemclock.c: (gst_system_clock_dispose):
20078 Clean up the internal thread in dispose. This is needed
20079 for subclasses that actually get disposed.
20081 * gst/schedulers/threadscheduler.c:
20082 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
20083 (gst_thread_scheduler_dispose):
20084 Free thread pool in dispose.
20086 2005-06-28 Andy Wingo <wingo@pobox.com>
20088 * tests/network-clock-utils.scm (debug, print-event): New utils.
20090 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
20091 (*packet-loss*): Unified loss probability.
20092 (network-time): Report out-of-band events.
20094 * tests/plot-data: Add support for out-of-band events. Hack it
20095 into this script instead of passing it down the pipe; should fix
20098 2005-06-28 Wim Taymans <wim@fluendo.com>
20100 * docs/gst/gstreamer.types:
20101 * docs/gst/tmpl/gstbasesrc.sgml:
20102 * docs/gst/tmpl/gstpad.sgml:
20105 2005-06-28 Wim Taymans <wim@fluendo.com>
20107 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20108 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
20109 (gst_proxy_pad_do_fixatecaps):
20110 Correctly proxy the check_pull_range function.
20112 2005-06-28 Andy Wingo <wingo@pobox.com>
20114 * tests/network-clock.scm: Removed need for slib.
20116 2005-06-28 Wim Taymans <wim@fluendo.com>
20118 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
20119 (gst_basesink_preroll_queue_flush):
20120 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
20121 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
20122 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20123 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20124 (gst_proxy_pad_set_property):
20127 * gst/gstqueue.c: (gst_queue_init):
20128 The deprecated pad loop function is removed now.
20130 2005-06-28 Andy Wingo <wingo@pobox.com>
20132 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
20133 New parameters, simulate network packet loss.
20135 * tests/network-clock-utils.scm: Initialize the RNG.
20137 2005-06-28 Wim Taymans <wim@fluendo.com>
20139 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
20140 (gst_basesink_event), (gst_basesink_deactivate):
20141 Flushing the preroll queue always needs to unlock the waiters.
20143 2005-06-28 Edward Hervey <edward@fluendo.com>
20145 * gst/gstpipeline.c: (gst_pipeline_send_event):
20146 Wheen a seek was successful on a pipeline, set the stream_time to the
20147 seek offset in order to have a synchronized stream_time.
20149 2005-06-28 Wim Taymans <wim@fluendo.com>
20151 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20152 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
20153 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
20154 (gst_proxy_pad_do_fixatecaps):
20155 Call wrapper function instead of just calling the function
20156 pointers. This takes care of any locking and whatmore.
20158 2005-06-28 Wim Taymans <wim@fluendo.com>
20160 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
20161 (gst_pad_pull_range):
20163 CONNECTED -> LINKED.
20165 2005-06-28 Andy Wingo <wingo@pobox.com>
20167 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
20168 source-munging commit!!!
20170 * gst/gstobject.c (gst_object_unref, gst_object_ref)
20171 (gst_object_sink): Take gpointer arguments, not GstObject --
20172 avoids casts. Like GLib.
20174 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
20177 2005-06-27 Andy Wingo <wingo@pobox.com>
20179 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
20182 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
20183 returns a sorted copy of the trace list.
20184 (gst_alloc_trace_print_live): New API, only prints traces with
20185 live objects. Sort the list.
20186 (gst_alloc_trace_print_all): Sort the list.
20187 (gst_alloc_trace_print): Align columns.
20189 * gst/elements/gstttypefindelement.c:
20190 * gst/elements/gsttee.c:
20191 * gst/base/gstbasesrc.c:
20192 * gst/base/gstbasesink.c:
20193 * gst/base/gstbasetransform.c:
20194 * gst/gstqueue.c: Adapt for pad activation changes.
20196 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
20198 (gst_pipeline_dispose): Drop ref on sched.
20200 * gst/gstpad.c (gst_pad_init): Set the default activate func.
20201 (gst_pad_activate_default): Push mode by default.
20202 (pre_activate_switch, post_activate_switch): New stubs, things to
20203 do before and after switching activation modes on pads.
20204 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
20205 the pad's activate function to choose which mode to activate.
20206 Shortcut on deactivation and call the right function directly.
20207 (gst_pad_activate_pull): New API, (de)activates a pad in pull
20209 (gst_pad_activate_push): New API, same for push mode.
20210 (gst_pad_set_activate_function)
20211 (gst_pad_set_activatepull_function)
20212 (gst_pad_set_activatepush_function): Setters for new API.
20214 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
20215 Trace all miniobjects.
20216 (gst_mini_object_make_writable): Unref the arg if we copy, like
20217 gst_caps_make_writable.
20219 * gst/gstmessage.c (_gst_message_initialize): No trace init.
20221 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
20222 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
20223 Adapt for new pad API.
20225 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
20227 * gst/gstelement.h:
20228 * gst/gstelement.c (gst_element_iterate_src_pads)
20229 (gst_element_iterate_sink_pads): New API functions.
20231 * gst/gstelement.c (iterator_fold_with_resync): New utility,
20232 should fold into gstiterator.c in some form.
20233 (gst_element_pads_activate): Simplified via use of fold and
20234 delegation of decisions to gstpad->activate.
20236 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
20239 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
20240 class once in init, like gstmessage. Didn't run into this issue
20241 but it seems correct. Don't initialize a trace, gstminiobject does
20244 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
20245 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
20247 (assert_live_count): New util function, uses alloc traces to check
20250 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20251 To be modified when unlink drops the internal pad.
20253 2005-06-27 Wim Taymans <wim@fluendo.com>
20255 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20256 (gst_bin_change_state):
20257 Cleanup the get_state() function a little, make sure it
20258 iterates the same set of elements.
20259 Added stub iterate_state_order().
20261 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
20263 * docs/gst/gstreamer-docs.sgml:
20264 * docs/gst/gstreamer-sections.txt:
20265 * docs/gst/gstreamer.types:
20266 * docs/gst/tmpl/gstbasesink.sgml:
20267 * docs/gst/tmpl/gstbasesrc.sgml:
20268 * docs/gst/tmpl/gstbasetransform.sgml:
20269 * docs/gst/tmpl/gstelement.sgml:
20270 * docs/gst/tmpl/gstiterator.sgml:
20271 * gst/base/gstbasesrc.c:
20272 * gst/base/gstbasesrc.h:
20273 * gst/base/gstbasetransform.h:
20274 * gst/gstelement.c:
20275 * gst/gstiterator.h:
20276 adding basetransform and iterator docs
20278 2005-06-27 Andy Wingo <wingo@pobox.com>
20280 * docs/design/part-activation.txt: Notes on how activation should
20281 work -- not quite implemented yet.
20283 2005-06-25 Wim Taymans <wim@fluendo.com>
20285 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20286 At least get the chain function correct, needs more
20289 2005-06-25 Wim Taymans <wim@fluendo.com>
20291 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20292 (gst_basesink_handle_object), (gst_basesink_event),
20293 (gst_basesink_do_sync), (gst_basesink_handle_event),
20294 (gst_basesink_change_state):
20296 Right, two problems here: ghostpads don't take locks and
20297 glib _rec_mutex_lock_full() with depth==0 still locks.
20298 Catch illegal locking and g_warn them.
20300 2005-06-25 Wim Taymans <wim@fluendo.com>
20302 * check/states/sinks.c: (START_TEST), (gst_object_suite):
20303 Have to check for completion now...
20305 2005-06-25 Wim Taymans <wim@fluendo.com>
20307 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20308 (gst_basesink_handle_object), (gst_basesink_event),
20309 (gst_basesink_do_sync), (gst_basesink_handle_event),
20310 (gst_basesink_change_state):
20312 Unlock STREAM_LOCK whatever the recursion was.
20314 2005-06-25 Wim Taymans <wim@fluendo.com>
20316 * gst/base/gstbasesink.c: (gst_basesink_set_property),
20317 (gst_basesink_preroll_queue_empty),
20318 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20319 (gst_basesink_event), (gst_basesink_do_sync),
20320 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20321 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20322 (gst_basesink_change_state):
20323 Reworked the base sink, handle event and buffer serialisation
20324 correctly and removed possible deadlock.
20325 Handle EOS correctly.
20327 2005-06-25 Wim Taymans <wim@fluendo.com>
20329 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20330 (gst_pipeline_change_state):
20331 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20332 Allow elements to post EOS in the state change function.
20333 Fix up -launch, make it exit the poll loop when the
20334 pipeline actually changed state.
20335 Fix up warning parsing in -launch.
20337 2005-06-25 Wim Taymans <wim@fluendo.com>
20339 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20340 (gst_tee_sink_activate):
20341 Core takes STREAM_LOCK for us now.
20343 2005-06-25 Wim Taymans <wim@fluendo.com>
20345 * gst/gstelement.c: (gst_element_get_state_func),
20346 (gst_element_set_state):
20347 * gst/gstelement.h:
20348 * gst/gstmessage.c: (gst_message_parse_error),
20349 (gst_message_parse_warning):
20350 Keep track of current target state while performing a state
20351 change so that subclasses can do something interesting.
20352 Fix parsing of warning/error messages when GError is NULL.
20354 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
20356 * docs/gst/Makefile.am:
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/gstbin.sgml:
20363 * docs/gst/tmpl/gstcompat.sgml:
20364 * docs/gst/tmpl/gstfakesink.sgml:
20365 * docs/gst/tmpl/gstfakesrc.sgml:
20366 * docs/gst/tmpl/gstfilesink.sgml:
20367 * docs/gst/tmpl/gstfilesrc.sgml:
20368 * docs/gst/tmpl/gstindex.sgml:
20369 * docs/manual/appendix-quotes.xml:
20370 * gst/base/gstbasesrc.h:
20371 * gst/elements/gstfakesrc.h:
20372 * gst/gstmessage.h:
20373 start pulling in base classes and elements in our docs
20375 2005-06-24 Stefan Kost <ensonic@users.sf.net>
20377 * docs/gst/Makefile.am:
20378 * docs/libs/Makefile.am:
20379 fixed make distcheck with gtk-doc 1.3
20381 2005-06-23 Wim Taymans <wim@fluendo.com>
20383 * gst/gstelement.c: (gst_element_get_state_func),
20384 (gst_element_set_state), (gst_element_change_state):
20385 When the state did not change, also report NO_PREROLL
20388 2005-06-23 Wim Taymans <wim@fluendo.com>
20390 * gst/gstpad.c: (gst_pad_event_default):
20391 * gst/gstqueue.c: (gst_queue_loop):
20392 No unsafe task pausing please.
20394 2005-06-23 Wim Taymans <wim@fluendo.com>
20396 * gst/schedulers/threadscheduler.c:
20397 (gst_thread_scheduler_task_start),
20398 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20399 Ref the task before pushing it on the threadpool. This
20400 makes sure that we have a ref when the threadfunction is
20403 2005-06-23 Andy Wingo <wingo@pobox.com>
20405 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20406 offset is greater than the file's size.
20408 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
20409 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20410 * gst/gstobject.c (gst_object_class_init): Make the class lock
20411 recursive. Wim won't let me drop deep_notify. Decodebin works
20412 again, whoopdy doo.
20414 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20415 internal pad, and hacks accordingly. Doesn't do it on the target
20416 pad because we change its caps. Probably catches all cases of
20418 (gst_ghost_pad_set_property): Connect to notify::caps as
20421 * tests/network-clock.scm (plot-simulation): Pipe data to the
20422 elite python skript.
20424 * tests/network-clock-utils.scm (define-parameter): New macro,
20425 defines a parameter that can be set via the command line.
20426 (set-parameter!, parse-parameter-arguments): Command line args
20429 * tests/plot-data: Simple matplotlib-based plotter, takes input on
20432 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
20434 * gst/elements/gsttypefindelement.c:
20435 (gst_type_find_element_handle_event):
20436 Don't restart typefinding on a discont.
20437 * gst/gstelement.c: (gst_element_set_state):
20438 Debug spelling fix.
20439 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20440 Allow changing mode of an active pad.
20441 Debug output fixes.
20442 * gst/registries/gstlibxmlregistry.c: (load_feature):
20443 Don't cast a static pad template to a normal pad template.
20445 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
20447 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20448 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20449 remove gst_strtoll completely, since it didn't actually do
20450 anything more than what g_ascii_strtoull already does.
20451 check for range errors when deserializing
20452 do a cast for the unsigned cases; but further fixing needs
20453 a decision on what the interpretation of "(int)" and
20454 deserialization should be for values that fall outside the
20455 type's boundaries (ie, refuse, or interpret as casting)
20457 2005-06-23 Wim Taymans <wim@fluendo.com>
20459 * check/Makefile.am:
20460 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20461 * docs/design/part-live-source.txt:
20462 * docs/design/part-states.txt:
20463 * gst/base/gstbasesrc.c: (gst_basesrc_init),
20464 (gst_basesrc_set_live), (gst_basesrc_is_live),
20465 (gst_basesrc_get_range), (gst_basesrc_activate),
20466 (gst_basesrc_change_state):
20467 * gst/base/gstbasesrc.h:
20468 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20469 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20470 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20471 * gst/gstelement.c: (gst_element_get_state_func),
20472 (gst_element_set_state):
20473 * gst/gstelement.h:
20475 * tools/gst-launch.c: (event_loop), (main):
20476 Added support for live sources and other elements that
20478 Updated design docs, added live-source design doc.
20479 Implemented live source functionality in basesrc
20480 Fix error condition in _bin_get_state()
20481 Implement live source handling in -launch.
20482 Added check for live sources.
20483 Fixed case in GstBin where elements were changed state
20487 2005-06-23 Andy Wingo <wingo@pobox.com>
20489 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20490 borken refcounting.
20492 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20493 gst_caps_replace takes care of this for us.
20495 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20496 gst_pad_set_caps on the target, not just its setcaps() function.
20498 * tests/network-clock.scm:
20499 * tests/network-clock-utils.scm: A network clock simulator.
20500 Something of an algorithmic testbed before doing something in C.
20502 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20504 * check/Makefile.am:
20505 * check/gst/capslist.h:
20506 copy over from 0.8, and add two with bitmasks specified with
20508 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20509 add test to parse everything from capslist.h
20510 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20512 add test for structure deserialization
20513 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20514 add tests for deserialization of strings to int types
20515 * gst/gststructure.c: (gst_structure_nth_field_name):
20516 * gst/gststructure.h:
20517 add a way to get the name of a field referenced by index
20518 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20519 instead of checking if the resulting long long lies between
20520 min and max, we check if the long long would fit into
20521 a number of bytes for the final type.
20522 This fixes cases where a string represents 2^32 - 1, which
20523 when cast to int would be the (valid) -1, but is bigger than
20526 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20528 * gst/parse/grammar.y:
20529 add a log line for type deserialization
20531 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20533 * check/gst/gstvalue.c: (START_TEST):
20534 * gst/gstvalue.c: (gst_value_deserialize):
20535 return long long, not int, so gint64 deserialization actually
20536 works. Is there any flag that makes the compiler check this ?
20539 2005-06-22 Wim Taymans <wim@fluendo.com>
20542 Added convenience macros for setting buffers in GValue.
20544 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20546 * check/gst/.cvsignore:
20547 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20548 add a test deserializing int64, and comment part out because
20551 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20553 * check/Makefile.am:
20554 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20555 * testsuite/Makefile.am:
20556 * testsuite/caps/Makefile.am:
20557 * testsuite/caps/value_serialize.c:
20558 * testsuite/test_gst_init.c:
20559 move a value_serialize test over
20561 2005-06-20 Wim Taymans <wim@fluendo.com>
20566 * gst/gstvalue.c: (gst_value_compare_buffer),
20567 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20568 (gst_value_compare_flags), (gst_value_serialize_flags),
20569 (gst_value_deserialize_flags), (_gst_value_initialize):
20570 Fix serialisation of buffers, they are not boxed types anymore
20572 2005-06-20 Wim Taymans <wim@fluendo.com>
20574 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20575 Testcase to show error in buffer-on-caps serialisation.
20577 2005-06-20 Andy Wingo <wingo@pobox.com>
20579 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20580 will be adding to later.
20582 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20583 if its socks fill with rocks.
20584 (gst_system_clock_obtain): Set the name on object construction.
20585 Avoid double-checked locking.
20587 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
20589 * gst/gsturi.c: (gst_element_make_from_uri):
20590 Fix potential endless loop.
20592 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20594 * check/Makefile.am:
20596 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20598 move over from testsuite dir and clean up
20601 * testsuite/Makefile.am:
20602 * testsuite/tags/.cvsignore:
20603 * testsuite/tags/Makefile.am:
20604 * testsuite/tags/merge.c:
20605 remove testsuite/tags
20607 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20609 * docs/gst/gstreamer-sections.txt:
20610 * docs/gst/tmpl/gstenumtypes.sgml:
20611 * win32/gstenumtypes.c:
20612 clean up documentation build a little
20614 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20616 * check/gstcheck.h:
20617 add macros for checking refcounts on objects and caps
20618 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20619 add some more unit tests
20620 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20621 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20622 fix leaked refcounts (I hope :)) so unittest works
20626 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20628 * configure.ac: back to HEAD
20630 === release 0.9.1 ===
20632 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
20638 2005-06-17 Andy Wingo <wingo@pobox.com>
20640 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20641 assert; it's always possible that the pad gets deactivated in
20642 between the checks in gstpad.c and the implementation. Rely on
20643 finish_preroll() to return a FLUSHING or similar instead of on the
20646 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20647 clock and post an EOS message if we come out of finish_preroll in
20650 2005-06-16 David Schleef <ds@schleef.org>
20652 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20653 (gst_capsfilter_set_property): Allow NULL as possible value
20654 for filter_caps property, indicating GST_CAPS_ANY.
20656 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20658 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20660 * gst/schedulers/Makefile.am:
20662 * gstreamer.spec.in:
20665 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20667 * gstreamer.spec.in:
20670 2005-06-08 Andy Wingo <wingo@pobox.com>
20672 * gst/gstutils.c: RPAD fixes all around.
20673 (gst_element_link_pads): Refcounting fixes.
20675 * tools/gst-inspect.c:
20676 * tools/gst-xmlinspect.c:
20678 * gst/base/gsttypefindhelper.c:
20679 * gst/base/gstbasesink.c:
20680 * gst/gstqueue.c: RPAD fixes.
20682 * gst/gstghostpad.h:
20683 * gst/gstghostpad.c: New ghost pad implementation as full proxy
20684 pads. The tricky thing is they provide both source and sink
20685 interfaces, since they proxy the internal pad for the external
20686 pad, and vice versa. Implement with lower-level ProxyPad objects,
20687 with the interior proxy pad as a child of the exterior ghost pad.
20688 Should write a doc on this.
20690 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20691 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20694 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20695 pads are real pads. No ghost pads in this file. Not documenting
20696 the myriad s/RPAD/PAD/ and REALIZE fixes.
20697 (gst_pad_class_init): Add properties for "direction" and
20698 "template". Both are construct-only, so they can't change during
20699 the life of the pad. Fixes properly deriving from GstPad.
20700 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20701 derived objects, just set properties when creating the objects via
20703 (gst_pad_get_parent): Implement as a function, return NULL if the
20704 parent is not an element.
20705 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20706 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20708 * gst/gstobject.c (gst_object_class_init): Make name a construct
20709 property. Don't set it in the object init.
20711 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20712 with UNKNOWN direction.
20713 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20714 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20715 (gst_element_remove_pad): Remove ghost-pad special cases.
20716 (gst_element_pads_activate): Remove rpad cruft.
20718 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20719 catch the pad's-parent-not-an-element case.
20721 * gst/gst.h: Include gstghostpad.h.
20723 * gst/gst.c (init_post): No more real, ghost pads.
20725 * gst/Makefile.am: Add gstghostpad.[ch].
20727 * check/Makefile.am:
20728 * check/gst/gstbin.c:
20729 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20730 into a bin creates ghost pads, and that the refcounts are right.
20731 Partly moved from gstbin.c.
20733 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20735 * check/gst-libs/.cvsignore:
20736 * check/gst/.cvsignore:
20737 * check/pipelines/.cvsignore:
20739 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20740 (START_TEST), (cleanup_suite), (main):
20741 add some tests related to cleanup after running pipelines
20743 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20745 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20746 add a testsuite for GstBuffer
20748 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20750 * gst/gstminiobject.h:
20751 add defines for accessing the refcount
20753 2005-06-03 Stefan Kost <ensonic@users.sf.net>
20755 * Makefile.am: added support for html unit test coverage reports
20757 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
20759 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20760 Free existing caps if the capsfilter changes. Add a FIXME about
20761 setting those caps on the pads.
20763 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20764 Before adding a ghost pad to a parent bin, check that there isn't
20765 already one for the element on the bin. Prevents infinite recursion
20766 when using decodebin in parse pipelines. Andy says he'll rewrite the
20767 way this works anyway, so ignore the hack.
20769 2005-06-02 Andy Wingo <wingo@pobox.com>
20771 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20772 file size, pass it on to the type find helper.
20774 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20775 segment_start and segment_end properly according to the seek
20776 method. Segment_end is still a bit flaky because offset can be
20777 negative for CUR and END cases, but it takes -1 as an "unset"
20780 2005-06-02 Wim Taymans <wim@fluendo.com>
20782 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20783 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20784 (gst_basesink_activate):
20785 * gst/base/gstbasesink.h:
20786 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20787 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20788 (gst_pad_query), (gst_pad_start_task):
20790 * gst/gstqueue.c: (gst_queue_bufferalloc),
20791 (gst_queue_handle_sink_event), (gst_queue_chain):
20792 Bufferalloc: return GstFlowReturn to more accuratly report
20793 why allocation failed.
20795 2005-06-02 Wim Taymans <wim@fluendo.com>
20797 * gst/gstpipeline.c: (gst_pipeline_send_event):
20798 Take snapshot of state without blocking.
20800 2005-06-02 Wim Taymans <wim@fluendo.com>
20802 * docs/design/part-TODO.txt:
20803 * docs/design/part-caps.txt:
20804 * docs/design/part-clocks.txt:
20805 * docs/design/part-negotiation.txt:
20806 * docs/design/part-preroll.txt:
20809 2005-05-30 Wim Taymans <wim@fluendo.com>
20811 * gst/elements/gstidentity.c: (gst_identity_event),
20812 (gst_identity_transform), (gst_identity_get_property):
20813 Protect last_message property as it is accessed from
20816 2005-05-30 Wim Taymans <wim@fluendo.com>
20818 * gst/gstelement.c: (gst_element_init),
20819 (gst_element_pads_activate), (gst_element_change_state):
20820 Slicker pad activation code.
20822 2005-05-30 Wim Taymans <wim@fluendo.com>
20825 * gst/gstelement.h:
20826 * gst/gstelementfactory.h:
20828 Move elementfactory methods to separate .h file.
20830 2005-05-30 Wim Taymans <wim@fluendo.com>
20832 * docs/design/part-overview.txt:
20833 * gst/gstsystemclock.h:
20834 Small typo fixes, doc updates.
20836 2005-05-30 Wim Taymans <wim@fluendo.com>
20838 * gst/gst.c: (gst_init_get_popt_table), (init_post),
20839 (init_popt_callback):
20840 Remove cpu-opt flag.
20842 2005-05-30 Wim Taymans <wim@fluendo.com>
20844 * gst/gstbuffer.c: (gst_subbuffer_finalize),
20845 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20847 Avoid typechecking in places where not needed.
20848 Added accessor for malloc_data.
20850 2005-05-30 Wim Taymans <wim@fluendo.com>
20852 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20853 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20854 (gst_pad_configure_sink), (gst_pad_configure_src),
20855 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20856 (gst_pad_start_task):
20857 Propagate errors from _set_caps() in configure_src/sink
20858 functions instead of returning TRUE.
20859 FLUSH events can travel up and downstream
20862 2005-05-30 Wim Taymans <wim@fluendo.com>
20864 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20865 (gst_basesink_activate):
20866 Handle EOS in preroll.
20868 2005-05-30 Wim Taymans <wim@fluendo.com>
20870 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20871 (gst_queue_loop), (gst_queue_handle_src_event):
20872 Remove old pieces of code
20873 Flushing the queue in an upstream event is a very bad idea.
20875 2005-05-26 Andy Wingo <wingo@pobox.com>
20877 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20878 gst_value_set_mini_object so as to add a ref on the object (which
20879 will be removed when the value is unset).
20881 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20882 arg type in ::handoff.
20884 * gst/gstelement.c (gst_element_change_state): Also deactivate
20885 pads in READY->NULL, just in case the element didn't make it to
20886 PAUSED. Wingo tested, Wim approved.
20888 2005-05-26 Wim Taymans <wim@fluendo.com>
20890 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20891 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20892 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20893 A flushing pad cannot be used to alloc_buffer from.
20895 2005-05-26 Wim Taymans <wim@fluendo.com>
20897 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20898 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20899 (gst_bus_source_dispatch), (gst_bus_source_finalize),
20900 (gst_bus_create_watch), (gst_bus_add_watch_full):
20902 Implement a real GSource and use g_main_context_wakeup() to
20903 signal new messages instead of the socketpair.
20905 2005-05-25 Wim Taymans <wim@fluendo.com>
20907 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20908 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20909 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20910 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20911 (gst_pad_send_event), (gst_pad_start_task):
20912 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20913 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20914 (gst_queue_sink_activate), (gst_queue_src_activate),
20915 (gst_queue_change_state):
20917 Fix state changes for non sinks. We now change sinks, then elements
20918 with unconnected srcpads, then the rest.
20919 More efficient queue unlocking in flush and state changes.
20920 Set the pad activate mode even if it does not have an activate
20923 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20925 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20926 Don't go in pull mode for non-seekable sources.
20927 * gst/elements/gsttypefindelement.h:
20928 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20929 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20930 (free_entry), (stop_typefinding),
20931 (gst_type_find_element_handle_event), (find_peek),
20932 (gst_type_find_element_chain), (do_pull_typefind),
20933 (gst_type_find_element_change_state):
20934 Allow typefinding (w/o seeking) in push-mode, simplified version
20935 of what was in 0.8.
20936 * gst/gstutils.c: (gst_buffer_join):
20938 gst_buffer_join() from 0.8.
20940 2005-05-25 Wim Taymans <wim@fluendo.com>
20942 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20943 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20944 (gst_pad_send_event), (gst_pad_start_task):
20945 Disable attempt at mode switching until it is figured out.
20947 2005-05-25 Wim Taymans <wim@fluendo.com>
20949 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20950 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20951 (gst_basesink_finish_preroll), (gst_basesink_chain),
20952 (gst_basesink_loop), (gst_basesink_activate),
20953 (gst_basesink_change_state):
20954 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20955 (gst_basesrc_get_range), (gst_basesrc_loop),
20956 (gst_basesrc_activate):
20957 * gst/elements/gsttee.c: (gst_tee_sink_activate):
20958 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20959 (gst_real_pad_init), (gst_real_pad_set_property),
20960 (gst_real_pad_get_property), (gst_pad_set_active),
20961 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20962 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20963 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20964 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20965 (gst_pad_event_default_dispatch), (gst_pad_event_default),
20966 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20967 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20968 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20969 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20970 (gst_pad_stop_task):
20972 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20973 (gst_queue_loop), (gst_queue_src_activate):
20974 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20975 (gst_task_get_state):
20977 * gst/schedulers/threadscheduler.c:
20978 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20979 Implement gst_pad_pause/start/stop_task(), take STREAM lock
20981 Remove ACTIVE pad flag, use FLUSHING everywhere
20982 Added _pad_chain(), _pad_get_range() to call chain/getrange
20984 Add locks around IS_FLUSHING when reading.
20985 Take STREAM lock in chain(), get_range() functions so plugins
20986 don't need to take it anymore.
20990 2005-05-25 Wim Taymans <wim@fluendo.com>
20992 * tools/gst-launch.c: (event_loop):
20993 Unref message after using its contents instead of
20996 2005-05-24 Wim Taymans <wim@fluendo.com>
20998 * docs/design/draft-ghostpads.txt:
20999 * docs/design/draft-push-pull.txt:
21000 * docs/design/draft-query.txt:
21001 * docs/design/part-overview.txt:
21002 Docs updates, added general overview doc.
21004 2005-05-21 David Schleef <ds@schleef.org>
21006 * docs/gst/tmpl/old/GstBin.sgml:
21007 * docs/gst/tmpl/old/GstBuffer.sgml:
21008 * docs/gst/tmpl/old/GstCaps.sgml:
21009 * docs/gst/tmpl/old/GstClock.sgml:
21010 * docs/gst/tmpl/old/GstCompat.sgml:
21011 * docs/gst/tmpl/old/GstData.sgml:
21012 * docs/gst/tmpl/old/GstElement.sgml:
21013 * docs/gst/tmpl/old/GstEvent.sgml:
21014 * docs/gst/tmpl/old/GstIndex.sgml:
21015 * docs/gst/tmpl/old/GstStructure.sgml:
21016 * docs/gst/tmpl/old/GstTag.sgml:
21017 * docs/gst/tmpl/old/cothreads.sgml:
21018 * docs/gst/tmpl/old/cothreads_compat.sgml:
21019 * docs/gst/tmpl/old/gettext.sgml:
21020 * docs/gst/tmpl/old/gobject2gtk.sgml:
21021 * docs/gst/tmpl/old/grammar.tab.sgml:
21022 * docs/gst/tmpl/old/gst-i18n-app.sgml:
21023 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
21024 * docs/gst/tmpl/old/gst_private.sgml:
21025 * docs/gst/tmpl/old/gstaggregator.sgml:
21026 * docs/gst/tmpl/old/gstarch.sgml:
21027 * docs/gst/tmpl/old/gstatomic_impl.sgml:
21028 * docs/gst/tmpl/old/gstbufferstore.sgml:
21029 * docs/gst/tmpl/old/gstdata_private.sgml:
21030 * docs/gst/tmpl/old/gstdisksink.sgml:
21031 * docs/gst/tmpl/old/gstdisksrc.sgml:
21032 * docs/gst/tmpl/old/gstelementfactory.sgml:
21033 * docs/gst/tmpl/old/gstextratypes.sgml:
21034 * docs/gst/tmpl/old/gstfakesink.sgml:
21035 * docs/gst/tmpl/old/gstfakesrc.sgml:
21036 * docs/gst/tmpl/old/gstfdsink.sgml:
21037 * docs/gst/tmpl/old/gstfdsrc.sgml:
21038 * docs/gst/tmpl/old/gstfilesink.sgml:
21039 * docs/gst/tmpl/old/gstfilesrc.sgml:
21040 * docs/gst/tmpl/old/gsthttpsrc.sgml:
21041 * docs/gst/tmpl/old/gstidentity.sgml:
21042 * docs/gst/tmpl/old/gstindexfactory.sgml:
21043 * docs/gst/tmpl/old/gstmarshal.sgml:
21044 * docs/gst/tmpl/old/gstmd5sink.sgml:
21045 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
21046 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
21047 * docs/gst/tmpl/old/gstpadtemplate.sgml:
21048 * docs/gst/tmpl/old/gstpipefilter.sgml:
21049 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
21050 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
21051 * docs/gst/tmpl/old/gstshaper.sgml:
21052 * docs/gst/tmpl/old/gstspider.sgml:
21053 * docs/gst/tmpl/old/gstspideridentity.sgml:
21054 * docs/gst/tmpl/old/gststatistics.sgml:
21055 * docs/gst/tmpl/old/gsttee.sgml:
21056 * docs/gst/tmpl/old/gsttimecache.sgml:
21057 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
21058 * docs/gst/tmpl/old/gstxmlregistry.sgml:
21059 * docs/gst/tmpl/old/gthread-cothreads.sgml:
21060 * docs/gst/tmpl/old/types.sgml:
21061 I didn't intend to add these or check them in.
21063 2005-05-19 David Schleef <ds@schleef.org>
21065 * configure.ac: Use -no-common everywhere. In a sane world, it
21066 would be the default in libtool, because without it, you can't
21067 build DLLs on Windows.
21068 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
21069 * docs/gst/gstreamer-sections.txt:
21070 * docs/gst/tmpl/gstcpu.sgml:
21071 * docs/gst/tmpl/gstdata.sgml:
21072 * docs/gst/tmpl/gstthread.sgml:
21074 2005-05-19 David Schleef <ds@schleef.org>
21076 * gst/gstminiobject.c: (gst_value_set_mini_object),
21077 (gst_value_take_mini_object), (gst_value_get_mini_object):
21078 * gst/gstminiobject.h: Add GValue set/get functions.
21080 2005-05-19 Wim Taymans <wim@fluendo.com>
21082 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
21083 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
21084 (gst_subbuffer_init), (gst_buffer_is_span_fast):
21086 * gst/gstbus.c: (gst_bus_post):
21087 * gst/gstelement.c: (gst_element_get_random_pad):
21088 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
21089 Make subbufer unref the parent in finalize.
21090 some more debugging info.
21093 2005-05-19 Wim Taymans <wim@fluendo.com>
21095 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21096 (gst_basesink_init), (gst_basesink_finalize),
21097 (gst_basesink_activate), (gst_basesink_change_state):
21098 Don't free preroll queue too early.
21100 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21104 Hi, I'm outdated. Please shoot me.
21106 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21108 * gst/gstpipeline.c: (gst_pipeline_send_event):
21109 Do not access variables after they have been deleted.
21111 2005-05-19 Wim Taymans <wim@fluendo.com>
21113 * tools/gst-inspect.c: (print_plugin_features):
21114 A plugin feature does unfortunatly not use the
21117 2005-05-18 Wim Taymans <wim@fluendo.com>
21119 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
21120 Port _span() functions to new subbuffers.
21122 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21124 * gst/gstbin.c: (gst_bin_add_func):
21125 Fix clock settery in bins when adding kids after the clock has
21128 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21130 * gst/elements/gstidentity.c: (gst_identity_class_init):
21131 Workaround until signals support GstMiniObject.
21133 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
21136 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
21138 2005-05-18 Wim Taymans <wim@fluendo.com>
21140 * gst/base/Makefile.am:
21141 * gst/base/gstadapter.c: (gst_adapter_base_init),
21142 (gst_adapter_class_init), (gst_adapter_init),
21143 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
21144 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
21145 (gst_adapter_flush), (gst_adapter_available),
21146 (gst_adapter_available_fast):
21147 * gst/base/gstadapter.h:
21148 Ported and added adapter to the base classes.
21150 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21153 * gst/gstmessage.c:
21154 Make sure the class is reffed/unreffed once before threads can be
21155 used. Fixes #304551.
21157 2005-05-17 Wim Taymans <wim@fluendo.com>
21159 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
21160 (gst_basesink_chain_unlocked), (gst_basesink_activate):
21161 * gst/gstminiobject.c: (gst_mini_object_get_type),
21162 (gst_mini_object_free):
21163 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
21164 (gst_pad_push), (gst_pad_push_event):
21165 * gst/gstqueue.c: (gst_queue_change_state):
21166 Don't queue buffers in basesink when we are flushing.
21167 Unref buffer when flushing in basesink.
21168 Flush queue when going to READY
21169 Unref buffer when _push() returns an error.
21170 Don't free MiniObject instance when refcount is incremented
21171 in _finalize() so that we can recover objects.
21173 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
21175 * docs/manual/advanced-schedulers.xml:
21176 * docs/manual/appendix-checklist.xml:
21177 * docs/pwg/advanced-clock.xml:
21178 * docs/pwg/advanced-interfaces.xml:
21179 * docs/pwg/advanced-request.xml:
21180 * docs/pwg/advanced-types.xml:
21181 * docs/pwg/intro-preface.xml:
21182 * examples/plugins/example.c: (gst_example_get_type),
21183 (gst_example_class_init), (gst_example_chain),
21184 (gst_example_set_property), (gst_example_get_property),
21185 (gst_example_change_state), (plugin_init):
21186 * examples/plugins/example.h:
21189 2005-05-17 Wim Taymans <wim@fluendo.com>
21191 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
21192 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
21193 * gst/gstqueue.c: (gst_queue_change_state):
21194 Clear queue when going to READY.
21195 Remove IN_SETCAPS flag too.
21197 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
21199 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
21200 Remove implicit cast from gboolean to GstElementStateReturn;
21201 make sure we still return failure in paused => ready case if
21202 the parent class fails to change state and our own stop
21205 2005-05-17 Wim Taymans <wim@fluendo.com>
21207 * tools/gst-launch.c: (event_loop):
21208 Message was unreffed too soon.
21210 2005-05-16 Andy Wingo <wingo@pobox.com>
21212 * gst/gstbin.c (sink_iterator_filter): Err... um...
21214 * check/gst/gstbin.c (test_ghost_pads): New test for the
21215 ghosting-if-elements-not-in-same-bin behavior.
21217 2005-05-16 David Schleef <ds@schleef.org>
21219 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
21220 accessing refcount directly.
21222 2005-05-15 David Schleef <ds@schleef.org>
21224 * check/Makefile.am: remove GstData checks
21225 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
21226 * gst/Makefile.am: add miniobject, remove data
21227 * gst/gst.h: add miniobject, remove data
21228 * gst/gstdata.c: remove
21229 * gst/gstdata.h: remove
21230 * gst/gstdata_private.h: remove
21231 * gst/gsttypes.h: remove GstEvent and GstMessage
21232 * gst/gstelement.c: (gst_element_post_message): fix for API changes
21233 * gst/gstmarshal.list: change BOXED -> OBJECT
21235 Implement GstMiniObject.
21236 * gst/gstminiobject.c:
21237 * gst/gstminiobject.h:
21239 Modify to be subclasses of GstMiniObject.
21240 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
21241 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
21242 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
21243 (gst_subbuffer_get_type), (gst_subbuffer_init),
21244 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
21247 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21248 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21249 (_gst_event_copy), (gst_event_new):
21251 * gst/gstmessage.c: (_gst_message_initialize),
21252 (gst_message_get_type), (gst_message_class_init),
21253 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21254 (gst_message_new), (gst_message_new_error),
21255 (gst_message_new_warning), (gst_message_new_tag),
21256 (gst_message_new_state_changed), (gst_message_new_application):
21257 * gst/gstmessage.h:
21258 * gst/gstprobe.c: (gst_probe_perform),
21259 (gst_probe_dispatcher_dispatch):
21261 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21262 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21263 (_gst_query_copy), (gst_query_new):
21265 Update elements for GstData -> GstMiniObject changes
21267 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21268 (gst_queue_chain), (gst_queue_loop):
21269 * gst/elements/gstbufferstore.c:
21270 (gst_buffer_store_add_buffer_func),
21271 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21272 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21273 (gst_fakesink_render):
21274 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21275 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21276 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21277 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21278 (gst_filesrc_create_read):
21279 * gst/elements/gstidentity.c: (gst_identity_class_init):
21280 * gst/elements/gsttypefindelement.c:
21281 (gst_type_find_element_src_event), (free_entry_buffers),
21282 (gst_type_find_element_handle_event):
21283 * libs/gst/dataprotocol/dataprotocol.c:
21284 (gst_dp_header_from_buffer):
21285 * libs/gst/dataprotocol/dataprotocol.h:
21286 * libs/gst/dataprotocol/dp-private.h:
21288 2005-05-15 David Schleef <ds@schleef.org>
21290 * gst/elements/gstelements.c: Don't include headers that were
21293 2005-05-15 David Schleef <ds@schleef.org>
21295 * gst/elements/Makefile.am: Remove some elements that don't
21296 need to be in the core (or even exist at all).
21297 * gst/elements/gstaggregator.c:
21298 * gst/elements/gstaggregator.h:
21299 * gst/elements/gstmd5sink.c:
21300 * gst/elements/gstmd5sink.h:
21301 * gst/elements/gstmultifilesrc.c:
21302 * gst/elements/gstmultifilesrc.h:
21303 * gst/elements/gstpipefilter.c:
21304 * gst/elements/gstpipefilter.h:
21305 * gst/elements/gstshaper.c:
21306 * gst/elements/gstshaper.h:
21307 * gst/elements/gststatistics.c:
21308 * gst/elements/gststatistics.h:
21309 * po/POTFILES.in: Remove above files.
21311 2005-05-14 Andy Wingo <wingo@pobox.com>
21313 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21314 so as to get the refs right.
21315 (sink_iterator_filter): New function, wraps bin_element_is_sink,
21316 unreffing objects that don't pass the filter.
21318 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21319 gst_element_set_bus.
21320 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21321 normal cases, this will destroy the bus.
21323 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21326 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21329 2005-05-13 Andy Wingo <wingo@pobox.com>
21331 * gst/gstutils.c (gst_element_link_pads): Instead of calling
21332 gst_pad_link, call pad_link_maybe_ghosting,
21333 (pad_link_maybe_ghosting): Links pads, making sure that the
21334 elements being linked are in the same bin.
21335 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21336 Helpers for pad_link_maybe_ghosting.
21338 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21341 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21343 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21345 * docs/design/part-element-source.txt:
21348 2005-05-12 Wim Taymans <wim@fluendo.com>
21350 * gst/base/gstbasesink.c: (gst_basesink_init),
21351 (gst_basesink_activate):
21352 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21353 (gst_basesrc_is_seekable):
21354 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21355 (bin_element_is_sink), (gst_bin_change_state):
21356 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21357 * gst/gstelement.h:
21358 Identify sinks by their flag to avoid overly complicated
21360 Do state changes even for elements not reachable from the
21362 BaseSink is a sink now :)
21363 Some more debugging info in the basesrc.
21366 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21368 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21369 Implement _query on a bin, similar to _send_event.
21371 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
21373 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21374 Discont event offset format should be GST_FORMAT_BYTES,
21375 not GST_FORMAT_TIME.
21377 2005-05-12 Wim Taymans <wim@fluendo.com>
21379 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21380 Same fix as Ronald's but without the signal.
21382 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21384 * gst/gstutils.c: (gst_element_query_position):
21385 No, an element is not a pad.
21387 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21389 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21390 (gst_bin_get_state):
21391 If a child is removed from a bin while we remove the child from
21392 the bin and while we're retrieving its state, signal this to the
21393 get_state function so we abort the wait (instead of waiting for
21394 a timeout) and can immediately re-iterate over all other elements.
21396 2005-05-12 Wim Taymans <wim@fluendo.com>
21398 * gst/base/Makefile.am:
21399 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21400 (gst_basesrc_start):
21401 * gst/base/gstbasesrc.h:
21402 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21403 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21404 (gst_pushsrc_init), (gst_pushsrc_create):
21405 * gst/base/gstpushsrc.h:
21406 Added is_seekable to BaseSrc
21407 Added simple PushSrc.
21409 2005-05-11 Wim Taymans <wim@fluendo.com>
21411 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21412 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21413 (gst_element_link_pads), (gst_element_query_position),
21414 (gst_element_query_convert), (intersect_caps_func),
21415 (gst_pad_query_position), (gst_pad_query_convert):
21416 Fix refcounting in utils function.
21417 No point in trying to activate a pad when it's added, it could
21418 be added from the state change function and then we deadlock, the
21419 element has to decide what to do.
21421 2005-05-10 Andy Wingo <wingo@pobox.com>
21423 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21424 *all* the arguments.
21426 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21427 stream lock if it's a FLUSH_DONE; normal flushes don't get the
21428 lock (according to the docs -- if this is wrong change the docs).
21430 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21431 flush messages in the NULL state.
21433 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21434 message immediately and return.
21435 (gst_bus_set_flushing): New function. If a bus is flushing, it
21436 flushes out any queued messages and immediately unrefs new
21437 messages. This is so when an element goes to NULL, all of the
21438 unhandled messages coming from it can be freed, and their
21439 references to the element dropped. In other words: message source
21440 ref considered harmful :P
21442 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21443 we're finished with it.
21445 * gst/gstmessage.c (gst_message_new_state_changed):
21447 2005-05-10 Wim Taymans <wim@fluendo.com>
21449 * gst/gstvalue.c: (gst_value_compare_flags),
21450 (gst_value_serialize_flags), (gst_value_deserialize_flags),
21451 (_gst_value_initialize):
21452 Added flags serialize/deserialize/compare code.
21454 2005-05-09 Andy Wingo <wingo@pobox.com>
21456 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21457 Intersect the peer's caps with our caps.
21459 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21461 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21462 * gst/elements/gsttypefindelement.c: (find_peek):
21463 Handle negative offsets better. Fixes decodebin.
21465 2005-05-09 Wim Taymans <wim@fluendo.com>
21467 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21468 (gst_base_transform_event):
21469 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21470 Implement accept_caps.
21471 Fix silly lock/unlock mismatch in base class.
21473 2005-05-09 Wim Taymans <wim@fluendo.com>
21475 * docs/design/draft-push-pull.txt:
21476 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21477 * gst/elements/gstfilesink.c: (gst_filesink_init),
21478 (gst_filesink_query):
21479 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21480 (gst_type_find_handle_src_query), (find_element_get_length):
21481 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21482 * gst/gstelement.h:
21483 * gst/gstmessage.c:
21484 * gst/gstmessage.h:
21485 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21486 (gst_real_pad_get_caps_unlocked),
21487 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21488 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21489 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21490 (gst_real_pad_dispose), (gst_real_pad_finalize),
21491 (gst_pad_load_and_link), (gst_pad_save_thyself),
21492 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21493 (gst_pad_check_pull_range), (gst_pad_pull_range),
21494 (gst_pad_template_get_type), (gst_pad_template_class_init),
21495 (gst_pad_template_init), (gst_pad_template_dispose),
21496 (name_is_valid), (gst_static_pad_template_get),
21497 (gst_pad_template_new), (gst_static_pad_template_get_caps),
21498 (gst_pad_template_get_caps), (gst_pad_set_element_private),
21499 (gst_pad_get_element_private), (gst_pad_start_task),
21500 (gst_pad_pause_task), (gst_pad_stop_task),
21501 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21502 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21503 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21504 (gst_ghost_pad_new):
21506 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21507 (gst_query_new_position), (gst_query_set_position),
21508 (gst_query_parse_position), (gst_query_new_convert),
21509 (gst_query_set_convert), (gst_query_parse_convert):
21511 * gst/gstqueryutils.c:
21512 * gst/gstqueryutils.h:
21513 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21514 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21515 (gst_queue_handle_src_query):
21516 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21517 (gst_element_query_position), (gst_element_query_convert),
21518 (intersect_caps_func), (gst_pad_query_position),
21519 (gst_pad_query_convert):
21521 * tools/gst-inspect.c: (print_pad_info):
21522 * tools/gst-xmlinspect.c: (print_element_info):
21523 Remove old query functions. Ported old code.
21524 Added position/convert helper functions to gstutils.
21525 Reordered gstpad.c code, grouping relevant things.
21526 Remove gst_message_new(), always need to speficy a specific
21530 2005-05-09 Andy Wingo <wingo@pobox.com>
21532 * gst/gstiterator.h: Add some includes.
21534 * gst/gstqueryutils.h: Include more headers.
21537 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21538 some uses of gst_pad_query.
21540 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21541 NULL out parameters.
21542 (gst_query_new_position): New proc, allocates a new position
21545 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21546 gstqueryutils.c to the build.
21548 * gst/gststructure.c (gst_structure_set_valist): Implement with
21549 the generic G_VALUE_COLLECT.
21551 2005-05-08 Edward Hervey <bilboed@bilboed.com>
21553 * gst/Makefile.am: (gst_headers):
21554 Added gstqueryutils.h to the list of headers to install, that was
21555 a 'nachty' move wingo :)
21557 2005-05-06 Andy Wingo <wingo@pobox.com>
21560 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21561 GstData, init a memchunk.
21562 (standard_definitions): Add a few query types, deprecate a few.
21563 (gst_query_get_type): New proc.
21564 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21566 (gst_query_new_application, gst_query_get_structure): New public
21569 * docs/design/draft-query.txt: Removed LINKS from the query types,
21570 because all the rest can be dispatched to other pads -- seemed
21571 ugly to have a query that couldn't be dispatched. internal_links
21572 is fine as a pad method.
21574 * gst/gstpad.h: Add query2 as a pad method, add the new functions
21575 in gstpad.c, but maintain binary compatibility for the moment.
21576 Will fix before 0.9 is out.
21578 * gst/gstqueryutils.c:
21579 * gst/gstqueryutils.h: New files, implement 3 methods for each
21580 query type: parse_query, parse_response, and set. Probably need an
21583 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21585 * gst/elements/gstfilesink.c (gst_filesink_query2):
21586 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21587 query_types, and formats methods.
21589 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21590 (gst_pad_set_query2_function): New functions.
21591 (gst_real_pad_init): Set query2_default as the default query2
21592 function. Basically just dispatches to internally linked pads.
21596 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21597 without using the atomic operations. Only one thread can possibly
21598 be accessing the data at this point. Changed so as to avoid
21599 gst_atomic operations.
21601 2005-05-06 Wim Taymans <wim@fluendo.com>
21603 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21604 Also set caps if we use the fallback buffer alloc.
21606 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
21608 * docs/gst/Makefile.am:
21609 * docs/gst/gstreamer-docs.sgml:
21610 * docs/gst/gstreamer-sections.txt:
21611 * docs/gst/tmpl/gstatomic.sgml:
21612 * docs/gst/tmpl/gstmemchunk.sgml:
21613 * testsuite/elements/struct_i386.h:
21614 * win32/GStreamer.vcproj:
21616 Purge GstAtomic stuff from docs and win32 makefiles as well
21618 2005-05-06 Wim Taymans <wim@fluendo.com>
21620 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21621 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21622 * gst/gstpad.c: (gst_pad_peer_get_caps):
21623 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21624 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21625 (gst_queue_src_activate), (gst_queue_change_state):
21627 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21628 (intersect_caps_func):
21629 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21630 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21631 Some fixes for the peer_get_caps() change.
21633 2005-05-06 Wim Taymans <wim@fluendo.com>
21635 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21636 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21637 (gst_basesink_activate):
21638 Actually do something with error codes returned from the push
21641 2005-05-06 Wim Taymans <wim@fluendo.com>
21643 * docs/design/part-element-sink.txt:
21644 * docs/design/part-element-source.txt:
21645 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21646 (gst_basesink_event), (gst_basesink_activate):
21647 * gst/base/gstbasesink.h:
21648 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21649 (gst_basesrc_activate):
21650 * gst/base/gstbasesrc.h:
21651 * gst/gstelement.c: (gst_element_pads_activate):
21652 Some more documentation.
21653 Fixed scheduling decision in _pads_activate().
21655 2005-05-05 Andy Wingo <wingo@pobox.com>
21657 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21660 2005-05-05 Wim Taymans <wim@fluendo.com>
21662 * gst/base/Makefile.am:
21663 * gst/base/gstbasesink.h:
21664 * gst/base/gstbasesrc.c: (gst_basesrc_init),
21665 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21666 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21667 (gst_collectpads_class_init), (gst_collectpads_init),
21668 (gst_collectpads_finalize), (gst_collectpads_new),
21669 (gst_collectpads_set_function), (gst_collectpads_add_pad),
21670 (find_pad), (gst_collectpads_remove_pad),
21671 (gst_collectpads_is_active), (gst_collectpads_collect),
21672 (gst_collectpads_collect_range), (gst_collectpads_start),
21673 (gst_collectpads_stop), (gst_collectpads_peek),
21674 (gst_collectpads_pop), (gst_collectpads_available),
21675 (gst_collectpads_read), (gst_collectpads_flush),
21676 (gst_collectpads_chain):
21677 * gst/base/gstcollectpads.h:
21678 * gst/elements/Makefile.am:
21679 * gst/elements/gstelements.c:
21680 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21681 (gst_fakesink_get_times), (gst_fakesink_event),
21682 (gst_fakesink_preroll), (gst_fakesink_render):
21683 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21684 (gst_filesink_init), (gst_filesink_set_location),
21685 (gst_filesink_open_file), (gst_filesink_close_file),
21686 (gst_filesink_pad_query), (gst_filesink_event),
21687 (gst_filesink_render), (gst_filesink_change_state):
21688 * gst/elements/gstfilesink.h:
21689 Added object to help in making collect pad based elements.
21691 Make event function in sink baseclass return gboolean.
21693 2005-05-05 Wim Taymans <wim@fluendo.com>
21695 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21696 (gst_bin_get_by_name):
21698 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21699 (gst_clock_finalize):
21700 * gst/gstdata.c: (gst_data_replace):
21702 * gst/gstelement.c: (gst_element_request_pad),
21703 (gst_element_pads_activate):
21704 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21705 (gst_object_unref):
21706 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21707 (gst_pad_set_checkgetrange_function),
21708 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21709 (gst_pad_check_pull_range), (gst_pad_pull_range),
21710 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21711 (gst_pad_pause_task), (gst_pad_stop_task):
21712 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21713 (gst_element_request_pad), (gst_pad_proxy_getcaps):
21714 Fix name lookup in GstBin.
21715 Added _data_replace() function and _buffer_replace()
21716 Use finalize method to clean up clock.
21717 Fix refcounting on request pads.
21718 Fix pad schedule mode error.
21719 Some more object refcounting debug info,
21722 2005-05-04 Andy Wingo <wingo@pobox.com>
21724 * check/Makefile.am:
21725 * docs/gst/tmpl/gstatomic.sgml:
21726 * docs/gst/tmpl/gstplugin.sgml:
21727 * gst/base/gstbasesink.c: (gst_basesink_activate):
21728 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21729 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21730 (gst_basesrc_query), (gst_basesrc_set_property),
21731 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21732 (gst_basesrc_activate):
21733 * gst/base/gstbasesrc.h:
21734 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21735 (gst_base_transform_src_activate):
21736 * gst/elements/gstelements.c:
21737 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21738 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21739 * gst/elements/gsttee.c: (gst_tee_sink_activate):
21740 * gst/elements/gsttypefindelement.c: (find_element_get_length),
21741 (gst_type_find_element_checkgetrange),
21742 (gst_type_find_element_activate):
21743 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21744 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21745 (gst_caps_load_thyself):
21746 * gst/gstelement.c: (gst_element_pads_activate),
21747 (gst_element_save_thyself), (gst_element_restore_thyself):
21748 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21749 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21751 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21752 (gst_xml_parse_file), (gst_xml_parse_memory),
21753 (gst_xml_get_element), (gst_xml_make_element):
21754 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21755 (_file_index_id_save_xml), (gst_file_index_commit):
21756 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21757 (read_enum), (load_pad_template), (load_feature), (load_plugin),
21759 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21760 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21761 * tools/gst-complete.c: (main):
21762 * tools/gst-compprep.c: (main):
21763 * tools/gst-inspect.c: (print_element_properties_info):
21764 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21765 * tools/gst-xmlinspect.c: (print_element_properties):
21768 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
21770 * gst/gstplugin.c: (gst_plugin_check_module),
21771 (gst_plugin_check_file), (gst_plugin_load_file):
21772 apply patch from #172526 to make register work on MacOSX
21774 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21776 * docs/gst/tmpl/gstconfig.sgml:
21777 * gst/gstconfig.h.in:
21778 move documentation for some symbols. Add doc for GST_PTR_FORMAT
21779 * testsuite/debug/printf_extension.c: (main):
21780 Do not use GST_PTR_FORMAT on pointers to types with
21781 sizeof < sizeof(gpointer). Fixes test on 64-bit
21782 * testsuite/elements/property.h:
21783 use correct printf format
21785 2005-05-02 Wim Taymans <wim@fluendo.com>
21787 * docs/design/draft-push-pull.txt:
21788 * docs/design/draft-query.txt:
21789 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21790 (gst_basesrc_start):
21791 Added draft for new query API.
21792 Added draft for better selecting scheduling methods.
21793 Make basesrc ignore length if the subclass does not support
21796 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21799 possible fixes for automake-1.5 - _LIBADD is reserved
21801 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21803 * docs/faq/Makefile.am:
21804 * docs/manual/Makefile.am:
21805 * docs/manuals.mak:
21806 * docs/pwg/Makefile.am:
21808 possible fixes for automake-1.5
21810 2005-04-28 Wim Taymans <wim@fluendo.com>
21812 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21813 (gst_basesink_pad_getcaps), (gst_basesink_init),
21814 (gst_basesink_do_sync):
21815 * gst/gstclock.c: (gst_clock_entry_new):
21816 * gst/gstevent.c: (gst_event_discont_get_value):
21817 * gst/gstpipeline.c: (pipeline_bus_handler),
21818 (gst_pipeline_change_state):
21819 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21820 Better debugging of clocking info.
21821 Allow NULL values when getting discont values.
21823 2005-04-27 Wim Taymans <wim@fluendo.com>
21825 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21826 * check/gst/gstpad.c: (gst_pad_suite):
21827 Increase timeout for checks.
21829 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21831 * check/Makefile.am:
21832 fix the broken rule for cleanup. Apparently this rule is
21833 only needed on FC2, so maybe this warrants further autotool
21836 2005-04-26 Wim Taymans <wim@fluendo.com>
21838 * gst/gsttrashstack.h:
21839 Ooohh. a nasty one! After having a failed pop() from the stack,
21840 it's possible that the stack is empty. In that case, don't
21841 follow the NULL pointer.
21843 2005-04-25 Wim Taymans <wim@fluendo.com>
21845 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21846 (gst_pad_set_checkgetrange_function),
21847 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21848 (gst_pad_check_pull_range), (gst_pad_pull_range),
21849 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21850 (gst_pad_pause_task), (gst_pad_stop_task):
21851 * gst/gstplugin.c: (gst_plugin_load):
21853 Remove gst_library_load as it does more harm than good with
21854 the new g_module flags.
21855 Revert bogus caps template check in pad linking, pad caps
21856 are important when linking not the template, which is more
21857 general than the current caps.
21859 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21861 * gst/autoplug/.cvsignore:
21862 * gst/autoplug/Makefile.am:
21863 * gst/autoplug/gstsearchfuncs.c:
21864 * gst/autoplug/gstsearchfuncs.h:
21865 * gst/autoplug/gstspider.c:
21866 * gst/autoplug/gstspider.h:
21867 * gst/autoplug/gstspideridentity.c:
21868 * gst/autoplug/gstspideridentity.h:
21869 * gst/autoplug/spidertest.c:
21872 2005-04-25 Wim Taymans <wim@fluendo.com>
21874 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21875 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21876 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21877 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21879 Added stubs for unimplemented functions.
21881 2005-04-24 David Schleef <ds@schleef.org>
21883 * gst/gstpad.h: Disable some unimplemented functions. Wim,
21886 2005-04-24 David Schleef <ds@schleef.org>
21888 Convert everything from GstAtomicInt to g_atomic_int_*, and
21893 * gst/gstatomic_impl.h:
21901 * gst/gstdata_private.h:
21905 * gst/gstmessage.c:
21908 * gst/gststructure.c:
21909 * gst/gststructure.h:
21910 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21913 2005-04-24 David Schleef <ds@schleef.org>
21915 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21916 make the regressions tests work. Remove some code that is no
21918 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21919 Disable warning for pads without templates.
21921 2005-04-24 David Schleef <ds@schleef.org>
21923 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
21924 functions that handle filtered links.
21925 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21927 * gst/gstutils.c: Fix/remove utility functions that handle
21930 * gst/gstvalue.c: Add serialization/deserialization of caps
21931 * gst/parse/grammar.y: Ignore filtered caps when linking. This
21932 requires fixing so that the filter caps notation creates
21933 a capsfilter element and sets the filter_caps property. I
21934 think everyone probably wants to keep the shorthand notation.
21935 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21936 * docs/gst/tmpl/gstpad.sgml:
21938 * gst/elements/gstelements.c: Register capsfilter element.
21939 * gst/Makefile.am: fix spacing
21940 * docs/random/ds/0.9-suggested-changes: random
21942 2005-04-23 David Schleef <ds@schleef.org>
21944 * gst/elements/Makefile.am:
21945 * gst/elements/gstcapsfilter.c: New element that acts like an
21946 identity, but filters caps. Will eventually replace filtered
21947 caps in pad linking.
21948 * gst/gstutils.c: (gst_element_create_all_pads): New function
21949 to create all the ALWAYS pads that are registered with an
21950 element class. This functionality should eventually be
21951 merged in with GstElement initialization.
21953 * testsuite/trigger/README: part of trigger test code that should
21954 have been checked in a long time ago.
21956 2005-04-23 David Schleef <ds@schleef.org>
21958 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
21959 needed with new versions of libtool (nobody will confirm this),
21960 and hard to carry around.
21961 * gst/autoplug/Makefile.am:
21962 * gst/base/Makefile.am:
21963 * gst/elements/Makefile.am:
21964 * gst/indexers/Makefile.am:
21965 * gst/schedulers/Makefile.am:
21966 * libs/gst/bytestream/Makefile.am:
21967 * libs/gst/control/Makefile.am:
21968 * libs/gst/dataprotocol/Makefile.am:
21969 * libs/gst/getbits/Makefile.am:
21971 2005-04-21 Wim Taymans <wim@fluendo.com>
21973 * docs/design/draft-push-pull.txt:
21974 * docs/design/part-MT-refcounting.txt:
21975 * docs/design/part-TODO.txt:
21976 * docs/design/part-caps.txt:
21977 * docs/design/part-events.txt:
21978 * docs/design/part-gstbus.txt:
21979 * docs/design/part-gstpipeline.txt:
21980 * docs/design/part-messages.txt:
21981 * docs/design/part-push-pull.txt:
21982 * docs/design/part-query.txt:
21985 2005-04-21 Wim Taymans <wim@fluendo.com>
21987 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21988 (gst_message_new), (gst_message_new_error),
21989 (gst_message_new_warning), (gst_message_new_tag),
21990 (gst_message_new_state_changed), (gst_message_new_application),
21991 (gst_message_get_structure):
21992 * gst/gstmessage.h:
21993 * gst/gststructure.c: (gst_structure_set_parent_refcount),
21994 (gst_structure_copy_conditional):
21995 Use parent refcount in GstMessage to ensure GstStructure
21997 Cleaned up headers a bit.
22000 2005-04-20 Wim Taymans <wim@fluendo.com>
22002 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22003 (gst_basesink_pad_getcaps), (gst_basesink_init),
22004 (gst_basesink_chain_unlocked):
22005 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
22006 (gst_type_find_helper):
22007 * gst/elements/gsttypefindelement.c:
22008 (gst_type_find_element_have_type), (gst_type_find_element_init),
22009 (stop_typefinding), (gst_type_find_element_handle_event),
22010 (find_suggest), (gst_type_find_element_chain),
22011 (gst_type_find_element_checkgetrange),
22012 (gst_type_find_element_getrange), (do_typefind),
22013 (gst_type_find_element_activate):
22014 * gst/gstbuffer.c: (_gst_buffer_sub_free),
22015 (gst_buffer_default_free), (gst_buffer_default_copy),
22016 (gst_buffer_set_caps):
22017 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
22018 (gst_caps_replace):
22019 * gst/gstmessage.c: (gst_message_new),
22020 (gst_message_new_state_changed):
22021 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22022 (gst_pad_set_checkgetrange_function),
22023 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
22024 (gst_pad_set_caps), (gst_pad_check_pull_range),
22025 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
22027 * gst/gsttypefind.c: (gst_type_find_register):
22028 Make gst_caps_replace() work like other _replace() functions.
22029 Use _caps_replace() where possible.
22030 Make sure _message_new() initialises its field.
22031 Add gst_static_pad_template_get_caps()
22034 2005-04-18 Andy Wingo <wingo@pobox.com>
22036 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
22037 on the peer, not the pad. I think that was a typo. Pass an extra
22038 arg to see if random access is possible. Activate the pads as
22039 PULL_RANGE if possible.
22041 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
22043 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
22044 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
22047 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22049 * docs/faq/using.xml:
22050 Add note on gstreamer-properties (#154996).
22052 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22054 * docs/random/bbb/optional-properties:
22055 Some analysis on optional properties.
22057 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22059 * docs/gst/tmpl/gstelementfactory.sgml:
22060 * gst/gstelement.h:
22061 * gst/gstelementfactory.c: (gst_element_factory_init),
22062 (gst_element_factory_cleanup), (gst_element_register),
22063 (__gst_element_factory_add_static_pad_template),
22064 (gst_element_factory_get_static_pad_templates),
22065 (gst_element_factory_can_src_caps),
22066 (gst_element_factory_can_sink_caps):
22067 * gst/registries/Makefile.am:
22068 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
22069 (gst_xml_registry_class_init), (gst_xml_registry_init),
22070 (gst_xml_registry_new), (gst_xml_registry_set_property),
22071 (gst_xml_registry_get_property), (get_time), (make_dir),
22072 (gst_xml_registry_get_perms_func),
22073 (plugin_times_older_than_recurse), (plugin_times_older_than),
22074 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
22075 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
22076 (add_to_char_array), (read_string), (read_uint), (read_enum),
22077 (load_pad_template), (load_feature), (load_plugin), (load_paths),
22078 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
22079 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
22080 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
22081 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
22082 (gst_xml_registry_rebuild):
22083 * gst/registries/gstlibxmlregistry.h:
22084 * tools/gst-compprep.c: (main):
22085 * tools/gst-inspect.c: (print_pad_templates_info):
22086 * tools/gst-xmlinspect.c: (print_element_info):
22087 Use libxml2 for registry parsing, use staticpadtemplates in
22088 elementfactories. Makes gst_init() +/- 10x faster.
22090 2005-04-12 Wim Taymans <wim@fluendo.com>
22092 * gst/base/Makefile.am:
22093 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22094 (gst_basesink_pad_getcaps), (gst_basesink_init),
22095 (gst_basesink_event), (gst_basesink_change_state):
22096 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22097 (gst_basesrc_init), (gst_basesrc_query),
22098 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22099 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22100 (gst_basesrc_check_get_range), (gst_basesrc_loop),
22101 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22102 (gst_basesrc_stop), (gst_basesrc_activate),
22103 (gst_basesrc_change_state):
22104 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22105 (helper_find_suggest), (gst_type_find_helper):
22106 * gst/base/gsttypefindhelper.h:
22107 * gst/elements/Makefile.am:
22108 * gst/elements/gstelements.c:
22109 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22110 (gst_fakesink_get_times), (gst_fakesink_event),
22111 (gst_fakesink_preroll), (gst_fakesink_render):
22112 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22113 (gst_fakesrc_init), (gst_fakesrc_event_handler),
22114 (gst_fakesrc_get_property), (gst_fakesrc_create),
22115 (gst_fakesrc_start), (gst_fakesrc_stop):
22116 * gst/elements/gstfakesrc.h:
22117 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
22118 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22119 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22120 (gst_filesrc_create_read), (gst_filesrc_create),
22121 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
22122 (gst_filesrc_start):
22123 * gst/elements/gsttypefindelement.c:
22124 (gst_type_find_element_have_type), (gst_type_find_element_init),
22125 (start_typefinding), (stop_typefinding), (push_buffer_store),
22126 (gst_type_find_element_handle_event),
22127 (gst_type_find_element_chain),
22128 (gst_type_find_element_checkgetrange),
22129 (gst_type_find_element_getrange), (do_typefind),
22130 (gst_type_find_element_activate),
22131 (gst_type_find_element_change_state):
22132 * gst/elements/gsttypefindelement.h:
22133 * gst/gstpipeline.c: (pipeline_bus_handler):
22134 Added typefind helper.
22135 Small preroll fix in the base sink.
22136 Disable typefind code in basesrc.
22137 Crude port of typefindelement.
22141 2005-04-11 Wim Taymans <wim@fluendo.com>
22143 * check/gst/gstbus.c: (gstbus_suite):
22144 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
22145 * check/gstcheck.h:
22146 Fix up the timeout so that the test does not fail.
22148 2005-04-06 Wim Taymans <wim@fluendo.com>
22151 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22152 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
22153 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22154 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22155 (gst_basesrc_check_get_range), (gst_basesrc_loop),
22156 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22157 (gst_basesrc_stop), (gst_basesrc_activate),
22158 (gst_basesrc_change_state), (basesrc_find_peek),
22159 (basesrc_find_suggest), (gst_basesrc_type_find):
22160 * gst/base/gstbasesrc.h:
22161 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
22162 (gst_filesrc_class_init), (gst_filesrc_init),
22163 (gst_filesrc_finalize), (gst_filesrc_set_location),
22164 (gst_filesrc_set_property), (gst_filesrc_get_property),
22165 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22166 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22167 (gst_filesrc_create_read), (gst_filesrc_create),
22168 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
22169 * gst/elements/gstfilesrc.h:
22170 * gst/gstelement.c: (gst_element_get_state_func),
22171 (gst_element_lost_state), (gst_element_pads_activate):
22172 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22173 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22174 (gst_pad_pull_range):
22176 More work on the generic source base class, implement seeking,
22178 Make filesrc extend the base source class.
22179 Added gst_pad_set_checkgetrange_function to GstPad.
22181 2005-04-06 Andy Wingo <wingo@pobox.com>
22183 * pkgconfig/gstreamer-base.pc.in:
22184 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
22186 * pkgconfig/Makefile.am:
22187 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
22189 2005-04-04 Wim Taymans <wim@fluendo.com>
22191 * gst/base/Makefile.am:
22193 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22194 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22195 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22196 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
22197 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22198 (gst_basesrc_base_init), (gst_basesrc_class_init),
22199 (gst_basesrc_init), (gst_basesrc_get_formats),
22200 (gst_basesrc_get_query_types), (gst_basesrc_query),
22201 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
22202 (gst_basesrc_set_property), (gst_basesrc_get_property),
22203 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
22204 (gst_basesrc_loop), (gst_basesrc_activate),
22205 (gst_basesrc_change_state):
22206 * gst/base/gstbasesrc.h:
22207 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
22208 (gst_fakesrc_class_init), (gst_fakesrc_init),
22209 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
22210 (gst_fakesrc_get_property), (gst_fakesrc_create):
22211 * gst/elements/gstfakesrc.h:
22212 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
22213 (gst_filesrc_open_file), (gst_filesrc_loop),
22214 (gst_filesrc_activate), (filesrc_find_peek),
22215 (gst_filesrc_type_find):
22216 Made base source class, make fakesrc extend it.
22217 Add comments to basesink class.
22218 Some filesrc cleanup.
22220 2005-03-31 David Schleef <ds@schleef.org>
22222 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
22223 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
22224 expected to link against libgstreamer.
22225 * gst/base/Makefile.am: link against libgstreamer
22226 * gst/elements/Makefile.am: same
22228 2005-03-31 Andy Wingo <wingo@pobox.com>
22230 * tests/instantiate/Makefile.am:
22231 * tests/instantiate/caps.c: Add test to test speed of caps copy
22234 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
22235 GMemChunk to be fair.
22237 * gst/gsttrashstack.h: Remove warning about using the fallback
22238 trash stack implementation, it's still faster than malloc.
22240 2005-03-30 Andy Wingo <wingo@pobox.com>
22242 * tests/complexity.c: Add a copyright.
22244 2005-03-31 Wim Taymans <wim@fluendo.com>
22246 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
22247 (gst_base_transform_class_init), (gst_base_transform_init),
22248 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22249 (gst_base_transform_get_property),
22250 (gst_base_transform_sink_activate),
22251 (gst_base_transform_src_activate),
22252 (gst_base_transform_change_state):
22253 * gst/base/gstbasetransform.h:
22254 * gst/elements/gstidentity.c: (gst_identity_class_init),
22255 (gst_identity_event), (gst_identity_check_perfect),
22256 (gst_identity_transform), (gst_identity_start),
22257 (gst_identity_stop):
22258 Added start/stop methods to transform base class so subclasses
22259 don't need to deal with state changes even.
22261 2005-03-31 Wim Taymans <wim@fluendo.com>
22263 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22264 (gst_event_new_discontinuous), (gst_event_discont_get_value):
22266 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22267 (gst_pad_pull_range):
22268 Added rate to the discont event to prepare for variable speed
22269 and reverse playback.
22271 2005-03-29 David Schleef <ds@schleef.org>
22274 * testsuite/trigger/Makefile.am:
22275 * testsuite/trigger/trigger.c: A little example program to show
22276 how trigger-based elements can work.
22278 2005-03-29 Wim Taymans <wim@fluendo.com>
22280 * gst/base/Makefile.am:
22282 * gst/base/gstbasesink.c: (gst_basesink_get_type),
22283 (gst_basesink_base_init), (gst_basesink_class_init),
22284 (gst_basesink_pad_getcaps), (gst_basesink_init),
22285 (gst_basesink_activate), (gst_basesink_change_state):
22286 * gst/base/gstbasesink.h:
22287 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22288 (gst_base_transform_base_init), (gst_base_transform_finalize),
22289 (gst_base_transform_class_init), (gst_base_transform_init),
22290 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22291 (gst_base_transform_event), (gst_base_transform_getrange),
22292 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22293 (gst_base_transform_set_property),
22294 (gst_base_transform_get_property),
22295 (gst_base_transform_sink_activate),
22296 (gst_base_transform_src_activate),
22297 (gst_base_transform_change_state):
22298 * gst/base/gstbasetransform.h:
22299 * gst/elements/gstidentity.c: (gst_identity_finalize),
22300 (gst_identity_class_init), (gst_identity_init),
22301 (gst_identity_event), (gst_identity_check_perfect),
22302 (gst_identity_transform), (gst_identity_set_property),
22303 (gst_identity_get_property), (gst_identity_change_state):
22304 * gst/elements/gstidentity.h:
22305 * gst/gstelement.c: (gst_element_get_state_func),
22306 (gst_element_lost_state), (gst_element_pads_activate):
22307 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22308 (gst_pad_check_pull_range), (gst_pad_pull_range):
22310 Simplify pad activation.
22311 Added function to check if pull_range can be performed.
22312 Error out when pulling inactive or flushing pads.
22313 Removed const from refcounted types as it does not make sense.
22314 Simplify pad templates in basesink
22315 Added base class for simple 1-to-1 transforms.
22316 Make identity subclass the base transform.
22318 2005-03-29 Andy Wingo <wingo@pobox.com>
22320 * docs/libs/gstreamer-libs-overrides.txt:
22321 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22322 really don't understand what's going on, but like whatever. I want
22325 * docs/gst/Makefile.am:
22326 * docs/libs/Makefile.am: Dist the overrides files.
22328 * check/Makefile.am (clean-local): Remove .libs directories.
22330 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22331 elements to EXTRA_DIST, so po/ files are happy.
22333 * po/POTFILES.in: Er, remove it here.
22335 * po/POTFILES: Remove gstspider.c.
22337 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22339 * docs/libs/gstreamer-libs-docs.sgml:
22340 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22343 * tests/complexity.c (main): Set the length of the preroll queue
22344 on the sinks to prevent a lockup.
22346 * libs/gst/dataprotocol/Makefile.am:
22347 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22348 the same as the one in check/gst-libs/gdp.c.
22350 * po/, docs/gst/: Commit automatic changes to docs and po files.
22352 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22353 the versioned libgstbase.
22355 * check/Makefile.am: Depend on an unversioned gst-register, seems
22356 to make autoconf happier.
22358 * gst/base/Makefile.am: Make libgstbase a versioned lib.
22360 2005-03-28 Wim Taymans <wim@fluendo.com>
22363 * docs/design/part-gstelement.txt:
22364 * docs/design/part-negotiation.txt:
22365 * docs/design/part-preroll.txt:
22366 * docs/design/part-scheduling.txt:
22367 * docs/design/part-states.txt:
22369 * gst/base/Makefile.am:
22371 * gst/base/gstbasesink.c: (gst_basesink_get_template),
22372 (gst_basesink_base_init), (gst_basesink_class_init),
22373 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22374 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22375 (gst_basesink_set_pad_functions),
22376 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22377 (gst_basesink_set_property), (gst_basesink_get_property),
22378 (gst_base_sink_get_template), (gst_base_sink_get_caps),
22379 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22380 (gst_basesink_preroll_queue_push),
22381 (gst_basesink_preroll_queue_empty),
22382 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22383 (gst_basesink_event), (gst_basesink_get_times),
22384 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22385 (gst_basesink_chain_unlocked), (gst_basesink_chain),
22386 (gst_basesink_loop), (gst_basesink_activate),
22387 (gst_basesink_change_state):
22388 * gst/base/gstbasesink.h:
22389 * gst/elements/Makefile.am:
22390 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22391 (gst_fakesink_class_init), (gst_fakesink_init),
22392 (gst_fakesink_set_property), (gst_fakesink_get_property),
22393 (gst_fakesink_get_times), (gst_fakesink_event),
22394 (gst_fakesink_preroll), (gst_fakesink_render),
22395 (gst_fakesink_change_state):
22396 * gst/elements/gstfakesink.h:
22397 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22398 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22399 * gst/gstelement.c: (gst_element_add_pad),
22400 (gst_element_get_state_func), (gst_element_abort_state),
22401 (gst_element_commit_state), (gst_element_lost_state),
22402 (gst_element_set_state), (gst_element_pads_activate):
22403 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22404 * gst/gstpipeline.c: (gst_pipeline_send_event),
22405 (gst_pipeline_change_state):
22406 Added state change code.
22407 Added/updated docs.
22408 Added sink base class, make fakesink extend the base class.
22409 Small cleanups in GstPipeline.
22411 2005-03-26 David Schleef <ds@schleef.org>
22413 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
22414 is broken and should be implemented in a different library.
22415 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22416 * gst/gst.h: remove gstcpu.h
22417 * gst/gstcpu.c: remove
22418 * gst/gstcpu.h: remove
22419 * gst/Makefile.am.future: Remove this file. It's ancient.
22421 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22423 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22424 (gst_bin_send_event):
22425 Add default event/set_manager handlers. The set_manager handler
22426 takes care that the manager is distributed over kids that were
22427 already in the bin before the manager was set. The event handler
22428 is a utility virtual function that sends the event over all sinks,
22429 so that gst_element_send_event (bin, event); has the expected
22431 * gst/gstpad.c: (gst_pad_event_default):
22432 Re-install default event handling for discontinuities, so that
22433 seeking works without requiring hacks in applications or extra
22435 * gst/gstpipeline.c: (gst_pipeline_class_init),
22436 (gst_pipeline_send_event):
22437 Half hack, half utility: set a pipeline to PAUSED for seek events,
22438 since that is the only way we can guarantee a/v sync. Means that
22439 you can do gst_element_seek (pipeline, method, pos); on a pipeline
22440 and it "just works".
22442 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22444 * gst/gstpipeline.c: (gst_pipeline_use_clock):
22445 Lock/unlock mismatch.
22447 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
22449 * docs/faq/gst-uninstalled:
22450 add gst-plugins-base
22451 * docs/gst/Makefile.am:
22452 don't error out until docs are fixed
22453 * docs/gst/gstreamer.types:
22456 2005-03-22 Wim Taymans <wim@fluendo.com>
22458 * check/Makefile.am:
22459 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22460 * gst/gststructure.c: (gst_structure_set_valist),
22461 (gst_structure_copy_conditional):
22462 Activated more tests.
22463 Added message test.
22464 Added G_TYPE_POINTER to GstStructure.
22467 2005-03-22 Wim Taymans <wim@fluendo.com>
22469 * docs/design/part-TODO.txt:
22470 * docs/design/part-events.txt:
22471 * docs/design/part-gstbin.txt:
22472 * docs/design/part-gstbus.txt:
22473 * docs/design/part-gstpipeline.txt:
22474 * docs/design/part-messages.txt:
22476 * gst/gstmessage.c:
22479 2005-03-21 Wim Taymans <wim@fluendo.com>
22481 * gst/gstbus.c: (gst_bus_post):
22482 Fix copy-and-paste error.
22484 2005-03-21 Wim Taymans <wim@fluendo.com>
22486 * check/Makefile.am:
22488 * gst/elements/Makefile.am:
22489 * gst/elements/gstelements.c:
22490 * gst/elements/gstfakesink.c: (gst_fakesink_init),
22491 (gst_fakesink_event), (gst_fakesink_chain):
22492 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22493 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22494 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22495 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22496 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22497 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22498 (gst_fakesrc_loop), (gst_fakesrc_activate),
22499 (gst_fakesrc_change_state):
22500 * gst/elements/gstfakesrc.h:
22501 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22502 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22503 (gst_filesrc_open_file), (gst_filesrc_loop),
22504 (gst_filesrc_activate), (gst_filesrc_change_state),
22505 (filesrc_find_peek), (filesrc_find_suggest),
22506 (gst_filesrc_type_find):
22507 * gst/elements/gstidentity.c: (gst_identity_finalize),
22508 (gst_identity_class_init), (gst_identity_init),
22509 (gst_identity_proxy_getcaps), (identity_queue_push),
22510 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22511 (gst_identity_getrange), (gst_identity_chain),
22512 (gst_identity_sink_loop), (gst_identity_src_loop),
22513 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22514 (gst_identity_set_property), (gst_identity_get_property),
22515 (gst_identity_change_state):
22516 * gst/elements/gstidentity.h:
22517 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22518 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22519 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22520 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22521 (gst_tee_sink_activate):
22522 * gst/elements/gsttee.h:
22523 * gst/gst.c: (gst_register_core_elements), (init_post):
22525 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22526 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22527 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22528 (gst_bin_change_state):
22530 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22531 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22532 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22533 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22534 (gst_bus_set_sync_handler), (gst_bus_create_watch),
22535 (bus_watch_callback), (bus_watch_destroy),
22536 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22537 (poll_timeout), (gst_bus_poll):
22541 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22542 (gst_element_post_message), (gst_element_message_full),
22543 (gst_element_get_state_func), (gst_element_get_state),
22544 (gst_element_abort_state), (gst_element_commit_state),
22545 (gst_element_lost_state), (gst_element_set_state),
22546 (gst_element_pads_activate), (gst_element_change_state),
22547 (gst_element_dispose), (gst_element_set_manager_func),
22548 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22549 (gst_element_set_manager), (gst_element_get_manager),
22550 (gst_element_set_bus), (gst_element_get_bus),
22551 (gst_element_set_scheduler), (gst_element_get_scheduler):
22552 * gst/gstelement.h:
22553 * gst/gstevent.c: (gst_event_new_segment_seek),
22554 (gst_event_new_flush):
22556 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22557 (_gst_message_free), (gst_message_get_type), (gst_message_new),
22558 (gst_message_new_eos), (gst_message_new_error),
22559 (gst_message_new_warning), (gst_message_new_tag),
22560 (gst_message_new_state_changed), (gst_message_new_application),
22561 (gst_message_get_structure), (gst_message_parse_tag),
22562 (gst_message_parse_state_changed), (gst_message_parse_error),
22563 (gst_message_parse_warning):
22564 * gst/gstmessage.h:
22565 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22566 (gst_real_pad_set_property), (gst_pad_set_active),
22567 (gst_pad_is_active), (gst_pad_set_blocked_async),
22568 (gst_pad_set_blocked), (gst_pad_is_blocked),
22569 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22570 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22571 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22572 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22573 (gst_pad_link_filtered), (gst_pad_relink_filtered),
22574 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22575 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22576 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22577 (gst_pad_set_caps), (gst_pad_configure_sink),
22578 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22579 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22580 (gst_real_pad_dispose), (gst_real_pad_finalize),
22581 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22582 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22583 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22585 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22586 (pipeline_bus_handler), (gst_pipeline_change_state),
22587 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22588 * gst/gstpipeline.h:
22590 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22591 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22592 (gst_queue_link_src), (gst_queue_bufferalloc),
22593 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22594 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22595 (gst_queue_loop), (gst_queue_handle_src_event),
22596 (gst_queue_handle_src_query), (gst_queue_src_activate),
22597 (gst_queue_change_state):
22599 * gst/gstscheduler.c: (gst_scheduler_init),
22600 (gst_scheduler_dispose), (gst_scheduler_create_task),
22601 (gst_scheduler_factory_create):
22602 * gst/gstscheduler.h:
22603 * gst/gststructure.c: (gst_structure_get_type),
22604 (gst_structure_copy_conditional):
22605 * gst/gststructure.h:
22606 * gst/gsttaginterface.h:
22607 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22608 (gst_task_init), (gst_task_dispose), (gst_task_create),
22609 (gst_task_get_state), (gst_task_start), (gst_task_stop),
22615 * gst/schedulers/Makefile.am:
22616 * gst/schedulers/cothreads_compat.h:
22617 * gst/schedulers/entryscheduler.c:
22618 * gst/schedulers/faircothreads.c:
22619 * gst/schedulers/faircothreads.h:
22620 * gst/schedulers/fairscheduler.c:
22621 * gst/schedulers/gstbasicscheduler.c:
22622 * gst/schedulers/gstoptimalscheduler.c:
22623 * gst/schedulers/gthread-cothreads.h:
22624 * gst/schedulers/threadscheduler.c:
22625 (gst_thread_scheduler_task_get_type),
22626 (gst_thread_scheduler_task_class_init),
22627 (gst_thread_scheduler_task_init),
22628 (gst_thread_scheduler_task_start),
22629 (gst_thread_scheduler_task_stop),
22630 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22631 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22632 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22633 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22635 * libs/gst/Makefile.am:
22636 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22637 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22638 (gst_file_pad_parent_set):
22639 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22640 (gst_dp_event_from_packet):
22641 * tests/complexity.c: (main):
22642 * tests/mass_elements.c: (main):
22643 * testsuite/states/locked.c: (message_received), (main):
22644 * testsuite/states/parent.c: (main):
22645 * tools/gst-inspect.c: (print_element_flag_info),
22646 (print_implementation_info), (print_pad_info):
22647 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22649 * tools/gst-md5sum.c: (event_loop), (main):
22650 * tools/gst-typefind.c: (main):
22651 * tools/gst-xmlinspect.c: (print_element_info):
22653 Added GstBus for mainloop integration.
22654 Added GstMessage for sending notifications on the bus.
22655 Added GstTask as an abstraction for pipeline entry points.
22657 Removed Schedulers.
22658 Simplified GstQueue for multithreaded core.
22659 Made _link threadsafe, removed old capsnego.
22660 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22661 Added pad blocking functions.
22662 Reworked scheduling functions in GstPad to prepare for
22663 scheduling updates soon.
22664 Moved events out of data stream.
22665 Simplified GstEvent types.
22666 Added return values to push/pull.
22667 Removed clocking from GstElement.
22668 Added prototypes for state change function for next merge.
22669 Removed iterate from bins and state change management.
22670 Fixed some elements, disabled others for now.
22671 Fixed -inspect and -launch.
22672 Added check for GstBus.
22674 2005-03-10 Wim Taymans <wim@fluendo.com>
22676 * docs/design/part-MT-refcounting.txt:
22677 * docs/design/part-clocks.txt:
22678 * docs/design/part-gstelement.txt:
22679 * docs/design/part-gstobject.txt:
22680 * docs/design/part-standards.txt:
22681 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22682 (gst_bin_remove_func), (gst_bin_remove):
22686 * testsuite/clock/clock1.c: (main):
22687 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22689 * testsuite/dlopen/loadgst.c: (do_test):
22690 * testsuite/refcounting/bin.c: (add_remove_test1),
22691 (add_remove_test2), (main):
22692 * testsuite/refcounting/element.c: (main):
22693 * testsuite/refcounting/element_pad.c: (main):
22694 * testsuite/refcounting/pad.c: (main):
22695 * tools/gst-launch.c: (sigint_handler_sighandler):
22696 * tools/gst-typefind.c: (main):
22698 Added doc about clock.
22699 removed gst_bin_iterate_recurse_up(), marked methods
22701 Fix more testsuites.
22703 2005-03-09 Wim Taymans <wim@fluendo.com>
22705 * gst/gstpad.c: (gst_pad_get_direction),
22706 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22707 (gst_pad_collect_valist):
22708 * testsuite/bins/interface.c: (main):
22709 * testsuite/caps/audioscale.c: (test_caps):
22710 * testsuite/caps/caps.c: (test1), (test2), (test3):
22711 * testsuite/caps/deserialize.c: (main):
22712 * testsuite/caps/enumcaps.c: (main):
22713 * testsuite/caps/filtercaps.c: (main):
22714 * testsuite/caps/intersect2.c: (main):
22715 * testsuite/caps/random.c: (main):
22716 * testsuite/caps/renegotiate.c: (my_fixate), (main):
22717 * testsuite/caps/sets.c: (check_caps):
22718 * testsuite/caps/simplify.c: (check_caps), (main):
22719 * testsuite/caps/subtract.c: (check_caps):
22720 Fix _pad_get_direction wrt ghostpads.
22721 Fix caps testsuite.
22723 2005-03-09 Wim Taymans <wim@fluendo.com>
22725 * check/Makefile.am:
22726 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22727 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22728 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22729 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22730 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22731 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22732 (gst_bin_remove), (gst_bin_iterate_recurse_up),
22733 (bin_element_is_sink), (gst_bin_iterate_sinks),
22734 (gst_bin_iterate_all_by_interface):
22736 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22737 (gst_element_change_state), (gst_element_dispose),
22738 (gst_element_finalize), (gst_element_set_loop_function):
22739 * gst/gstelement.h:
22740 * gst/gstiterator.c: (find_custom_fold_func):
22741 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22742 (gst_pad_collectv), (gst_pad_collect_valist),
22743 (gst_pad_template_new):
22744 * gst/gstpipeline.c: (gst_pipeline_class_init),
22745 (gst_pipeline_dispose), (gst_pipeline_set_property),
22746 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22747 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22748 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22750 * gst/schedulers/entryscheduler.c:
22751 * gst/schedulers/gstbasicscheduler.c:
22752 (gst_basic_scheduler_cothreaded_chain),
22753 (gst_basic_scheduler_chain_add_element):
22754 * testsuite/bins/interface.c: (main):
22756 Added GstSystemClock test.
22757 Implemented clock distribution code in GstBin.
22758 Implemented iterate sinks method for future use.
22759 Rearranged gstelement.h
22760 Fix GstIterator comparison bug.
22761 Moved some code to GstPipeline, mostly clocking related.
22763 2005-03-09 Wim Taymans <wim@fluendo.com>
22766 * gst/gst_private.h:
22767 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22768 (gst_bin_remove_func), (gst_bin_remove),
22769 (gst_bin_get_by_name_recurse_up):
22770 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22771 (gst_clock_id_compare_func), (gst_clock_id_wait),
22772 (gst_clock_id_wait_async), (gst_clock_init),
22773 (gst_clock_adjust_unlocked), (gst_clock_get_time):
22774 * gst/gstelement.h:
22775 * gst/gstinfo.c: (_gst_debug_init):
22777 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22778 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22780 Bump version number, we're now 0.9.0
22781 Add future debugging category.
22782 Fix NULL _unref() in _get_by_name_recurse_up
22783 Rearrange gstpad.h.
22786 2005-03-08 Wim Taymans <wim@fluendo.com>
22788 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22789 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22790 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22791 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22792 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22793 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22794 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22795 * gst/elements/gstidentity.c: (gst_identity_class_init):
22796 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22797 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22798 * gst/elements/gstshaper.c: (gst_shaper_class_init):
22799 * gst/elements/gststatistics.c: (gst_statistics_class_init):
22800 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22802 * gst/gstelement.c: (gst_element_class_init),
22803 (gst_element_base_class_init), (gst_element_init),
22804 (gst_element_get_random_pad), (gst_element_wait_state_change),
22805 (gst_element_change_state), (gst_element_dispose),
22806 (gst_element_finalize), (gst_element_set_loop_function):
22807 * gst/gstelement.h:
22808 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22809 * gst/gstthread.c: (gst_thread_class_init),
22810 (gst_thread_release_children_locks), (gst_thread_change_state):
22811 * gst/schedulers/gstbasicscheduler.c:
22812 (gst_basic_scheduler_loopfunc_wrapper),
22813 (gst_basic_scheduler_chain_wrapper),
22814 (gst_basic_scheduler_src_wrapper),
22815 (gst_basic_scheduler_remove_element):
22816 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22817 Remove threadsafe properties. Fix elements because GObject
22818 complains when installing a property before declaring a
22819 set/get_property handler.
22820 Rearrange gstelement.h file, use STATE macros for state locks.
22821 Free mutexes in the finalize method instead of dispose.
22823 2005-03-08 Wim Taymans <wim@fluendo.com>
22825 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22826 * gst/gstthread.c: (gst_thread_release_children_locks):
22827 Added parentage check.
22828 Fix build og GstThread again.
22830 2005-03-08 Wim Taymans <wim@fluendo.com>
22832 * docs/design/part-MT-refcounting.txt:
22833 * docs/design/part-conventions.txt:
22834 * docs/design/part-gstobject.txt:
22835 * docs/design/part-relations.txt:
22836 * docs/design/part-standards.txt:
22837 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22838 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22839 (gst_bin_get_by_name), (gst_bin_get_by_interface),
22840 (gst_bin_iterate_all_by_interface):
22843 * gst/gstelement.c: (gst_element_class_init),
22844 (gst_element_change_state), (gst_element_set_loop_function):
22845 * gst/gstelement.h:
22846 * gst/gstiterator.c:
22847 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22848 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22849 (gst_object_dispatch_properties_changed), (gst_object_set_name),
22850 (gst_object_set_parent), (gst_object_unparent),
22851 (gst_object_check_uniqueness):
22853 Docs updates, clean up some headers.
22855 2005-03-07 Wim Taymans <wim@fluendo.com>
22857 * check/.cvsignore:
22858 * check/Makefile.am:
22859 * check/gst-libs/.cvsignore:
22860 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22861 * check/gst/.cvsignore:
22862 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22863 (START_TEST), (gstbus_suite), (main):
22864 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22865 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22866 (gst_data_suite), (main):
22867 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22868 (add_fold_func), (gstiterator_suite), (main):
22869 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22870 (thread_name_object), (thread_name_object_default),
22871 (gst_object_name_compare), (gst_object_suite), (main):
22872 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22873 (gst_pad_suite), (main):
22874 * check/gstcheck.c: (gst_check_log_message_func),
22875 (gst_check_log_critical_func), (gst_check_init):
22876 * check/gstcheck.h:
22877 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22878 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22881 2005-03-07 Wim Taymans <wim@fluendo.com>
22883 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22884 (gst_list_iterator_next), (gst_list_iterator_resync),
22885 (gst_list_iterator_free), (gst_iterator_new_list),
22886 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22887 (gst_iterator_free), (gst_iterator_push), (filter_next),
22888 (filter_resync), (filter_uninit), (filter_free),
22889 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22890 (gst_iterator_foreach), (find_custom_fold_func),
22891 (gst_iterator_find_custom):
22892 * gst/gstiterator.h:
22893 Added missing files.
22895 2005-03-07 Wim Taymans <wim@fluendo.com>
22899 * docs/design/part-MT-refcounting.txt:
22900 * docs/design/part-conventions.txt:
22901 * docs/design/part-gstobject.txt:
22902 * docs/design/part-relations.txt:
22903 * examples/mixer/mixer.c: (main):
22904 * examples/thread/thread.c: (eos), (main):
22906 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22907 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22908 (gst_spider_plug_from_srcpad):
22909 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22910 (gst_spider_identity_change_state),
22911 (gst_spider_identity_sink_loop_type_finding):
22912 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22913 * gst/elements/gstidentity.c: (gst_identity_init):
22914 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22915 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22916 * gst/elements/gsttypefindelement.c: (free_entry):
22919 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22920 (gst_bin_set_clock_func), (gst_bin_auto_clock),
22921 (gst_bin_set_index), (gst_bin_set_element_sched),
22922 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22923 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22924 (gst_bin_iterate_elements), (iterate_child_recurse),
22925 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22926 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22927 (compare_interface), (gst_bin_get_by_interface),
22928 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22930 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22931 (gst_buffer_default_free), (gst_buffer_default_copy),
22932 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22933 (gst_buffer_create_sub):
22935 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22936 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22937 (gst_caps_unref), (gst_static_caps_get),
22938 (gst_caps_remove_and_get_structure), (gst_caps_append),
22939 (gst_caps_append_structure), (gst_caps_remove_structure),
22940 (gst_caps_copy_nth), (gst_caps_set_simple),
22941 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22942 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22943 (gst_caps_structure_intersect_field), (gst_caps_intersect),
22944 (gst_caps_structure_subtract_field), (gst_caps_subtract),
22945 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22946 (gst_caps_structure_figure_out_union),
22947 (gst_caps_switch_structures), (gst_caps_do_simplify),
22948 (gst_caps_replace), (gst_caps_from_string),
22949 (gst_caps_copy_conditional):
22951 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22952 (_gst_clock_id_free), (gst_clock_id_unref),
22953 (gst_clock_id_compare_func), (gst_clock_id_wait),
22954 (gst_clock_id_wait_async), (gst_clock_class_init),
22955 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22956 (gst_clock_get_time), (gst_clock_set_time_adjust),
22957 (gst_clock_set_property), (gst_clock_get_property):
22960 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22961 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22963 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22964 (gst_element_requires_clock), (gst_element_provides_clock),
22965 (gst_element_set_clock), (gst_element_clock_wait),
22966 (gst_element_wait), (gst_element_set_time_delay),
22967 (gst_element_is_indexable), (gst_element_add_pad),
22968 (gst_element_add_ghost_pad), (gst_element_remove_pad),
22969 (pad_compare_name), (gst_element_get_static_pad),
22970 (gst_element_request_pad), (gst_element_get_request_pad),
22971 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22972 (gst_element_class_get_pad_template_list),
22973 (gst_element_class_get_pad_template), (gst_element_error_func),
22974 (gst_element_get_random_pad), (gst_element_get_event_masks),
22975 (gst_element_send_event), (gst_element_seek),
22976 (gst_element_get_query_types), (gst_element_query),
22977 (gst_element_get_formats), (gst_element_convert),
22978 (gst_element_is_locked_state), (gst_element_set_locked_state),
22979 (gst_element_sync_state_with_parent), (gst_element_change_state),
22980 (gst_element_finalize), (gst_element_yield),
22981 (gst_element_interrupt), (gst_element_set_scheduler),
22982 (gst_element_get_scheduler), (gst_element_set_loop_function):
22983 * gst/gstelement.h:
22985 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22986 (gst_format_get_by_nick), (gst_format_get_details),
22987 (gst_format_iterate_definitions):
22989 * gst/gstindex.c: (gst_index_gtype_resolver):
22992 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22993 (gst_mem_chunk_free):
22994 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22995 (gst_object_ref), (gst_object_unref), (gst_object_sink),
22996 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22997 (gst_object_dispatch_properties_changed),
22998 (gst_object_set_name_default), (gst_object_set_name),
22999 (gst_object_get_name), (gst_object_set_name_prefix),
23000 (gst_object_get_name_prefix), (gst_object_set_parent),
23001 (gst_object_get_parent), (gst_object_unparent),
23002 (gst_object_check_uniqueness), (gst_object_save_thyself),
23003 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
23004 (gst_object_set_property), (gst_object_get_property),
23005 (gst_object_get_path_string):
23007 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23008 (gst_real_pad_init), (gst_real_pad_get_property),
23009 (gst_pad_custom_new), (gst_pad_get_direction),
23010 (gst_pad_set_active), (gst_pad_is_active),
23011 (gst_pad_set_event_function), (gst_pad_is_linked),
23012 (gst_pad_link_free), (gst_pad_link_intersect),
23013 (gst_pad_link_fixate), (gst_pad_set_caps),
23014 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
23015 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
23016 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
23017 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
23018 (gst_pad_get_caps), (gst_pad_peer_get_caps),
23019 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
23020 (gst_pad_realize), (gst_pad_get_allowed_caps),
23021 (gst_real_pad_dispose), (gst_real_pad_finalize),
23022 (gst_pad_collectv), (gst_pad_collect_valist),
23023 (gst_pad_template_dispose), (gst_pad_template_new),
23024 (gst_pad_get_internal_links):
23026 * gst/gstpipeline.c: (gst_pipeline_dispose),
23027 (gst_pipeline_change_state):
23028 * gst/gstpipeline.h:
23030 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
23031 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
23032 * gst/gstpluginfeature.h:
23033 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
23034 * gst/gstquery.c: (_gst_query_type_initialize),
23035 (gst_query_type_register), (gst_query_type_get_by_nick),
23036 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
23038 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
23039 * gst/gstscheduler.c: (gst_scheduler_add_element),
23040 (gst_scheduler_factory_create):
23041 * gst/gststructure.c: (gst_structure_set_parent_refcount),
23042 (gst_structure_free), (gst_structure_set_name),
23043 (gst_structure_id_set_value), (gst_structure_set_value),
23044 (gst_structure_set_valist), (gst_structure_remove_field),
23045 (gst_structure_remove_fields),
23046 (gst_structure_remove_fields_valist),
23047 (gst_structure_remove_all_fields), (gst_structure_foreach),
23048 (gst_structure_map_in_place),
23049 (gst_caps_structure_fixate_field_nearest_int),
23050 (gst_caps_structure_fixate_field_nearest_double):
23051 * gst/gststructure.h:
23052 * gst/gstsystemclock.c: (gst_system_clock_class_init),
23053 (gst_system_clock_init), (gst_system_clock_dispose),
23054 (gst_system_clock_async_thread),
23055 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
23056 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
23057 * gst/gstsystemclock.h:
23058 * gst/gsttag.c: (gst_tag_list_add_value_internal),
23059 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
23060 * gst/gsttaginterface.c:
23061 * gst/gstthread.c: (gst_thread_dispose),
23062 (gst_thread_release_children_locks), (gst_thread_change_state),
23063 (gst_thread_main_loop):
23064 * gst/gsttrashstack.h:
23065 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
23067 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23068 (gst_element_request_pad), (gst_element_get_pad_from_template),
23069 (gst_element_request_compatible_pad),
23070 (gst_element_get_compatible_pad_filtered),
23071 (gst_element_get_compatible_pad), (gst_element_state_get_name),
23072 (gst_element_link_pads_filtered), (gst_element_link_filtered),
23073 (gst_element_link_many), (gst_element_link),
23074 (gst_element_link_pads), (gst_element_unlink_pads),
23075 (gst_element_unlink_many), (gst_element_unlink),
23076 (gst_pad_can_link_filtered), (gst_pad_can_link),
23077 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
23078 (gst_object_default_error), (gst_bin_add_many),
23079 (gst_bin_remove_many), (gst_element_populate_std_props),
23080 (gst_element_class_install_std_props), (gst_buffer_merge),
23081 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
23082 (link_fold_func), (gst_pad_proxy_setcaps):
23084 * gst/gstvalue.c: (gst_value_deserialize_string):
23085 * gst/parse/grammar.y:
23086 * gst/schedulers/gstbasicscheduler.c:
23087 (gst_basic_scheduler_cothreaded_chain),
23088 (gst_basic_scheduler_chain_recursive_add),
23089 (gst_basic_scheduler_pad_link):
23090 * gst/schedulers/gstoptimalscheduler.c:
23091 (get_group_schedule_function),
23092 (gst_opt_scheduler_state_transition),
23093 (gst_opt_scheduler_add_element), (element_get_reachables_func):
23094 * libs/gst/bytestream/bytestream.c:
23095 * libs/gst/dataprotocol/dataprotocol.c:
23096 (gst_dp_header_from_buffer):
23099 * tests/threadstate/threadstate2.c: (eos):
23100 * tools/gst-compprep.c: (main):
23101 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
23102 (print_pad_info), (print_children_info):
23103 * tools/gst-launch.c: (idle_func), (main):
23104 * tools/gst-md5sum.c: (idle_func), (main):
23105 * tools/gst-xmlinspect.c: (print_element_info):
23106 First THREADED backport attempt, focusing on adding locks and
23107 making sure the API is threadsafe. Needs more work. More docs
23110 2005-02-24 Andy Wingo <wingo@pobox.com>
23112 * tests/bench-complexity.scm:
23113 * tests/complexity.gnuplot: New files, good for running complexity
23116 * tests/Makefile.am:
23117 * tests/complexity.c: New test, sets up N elements, at each level
23118 teeing into M streams per element. Eeeenteresting.
23120 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
23121 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
23122 running bench-mass_elements.scm.
23124 * tests/bench-mass_elements.scm: New script, runs mass_elements
23125 for various numbers of identities, outputting the results to a
23126 file. Requires guile 1.6. Just for testing.
23128 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
23130 * gst/schedulers/fairscheduler.c:
23131 compile with debug disabled
23133 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
23136 hunting season on 0.9 is now OPEN