1 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3 * gst/gstregistrybinary.h (GstBinaryPluginElement,
4 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
5 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6 Comment structs and reformat to fix the build (that stuff should go
9 2007-04-25 Stefan Kost <ensonic@users.sf.net>
11 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
12 (gst_registry_binary_load_feature):
13 * gst/gstregistrybinary.h:
14 Refactor so that we can implement multiple features. Add support for
15 TypeFindFactory features.
17 2007-04-24 Stefan Kost <ensonic@users.sf.net>
19 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
22 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
24 2007-04-23 Stefan Kost <ensonic@users.sf.net>
26 * gst/gstbin.c: (gst_bin_element_set_state),
27 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
28 (bin_handle_async_done), (gst_bin_handle_message_func):
29 Fix build with --gst-disable-gst-debug
31 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
33 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
34 Make sure streaming has finished before calling the ::stop() vfunc,
35 since that vfunc might clear state which is being used in the
36 streaming thread. This fixes a race that caused crashes in
37 audioresample when shutting down a pipeline (#420106).
39 2007-04-20 Stefan Kost <ensonic@users.sf.net>
41 * docs/gst/gstreamer-sections.txt:
42 That was one byte missing.
44 2007-04-20 Stefan Kost <ensonic@users.sf.net>
47 * docs/gst/gstreamer-sections.txt:
50 * gst/gstobject.c: (gst_object_class_init),
51 (gst_signal_object_class_init):
53 2nd attempt to have a xml-less build as a joined effort of #413123
56 2007-04-20 Stefan Kost <ensonic@users.sf.net>
58 * docs/design/draft-tagreading.txt:
59 Added open issues/thoughts to draft.
61 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
63 * gst/parse/grammar.tab.pre.c:
64 * gst/parse/grammar.tab.pre.h:
65 * gst/parse/lex._gst_parse_yy.pre.c:
66 Update the prebuild parser sources.
68 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
70 * gst/parse/Makefile.am:
71 And now fix the building of the flex sources. Now everything should
74 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
76 * gst/parse/Makefile.am:
77 Now hopefully fix the build failures by setting proper rule
78 dependencies and moving instead of copying.
80 2007-04-19 Stefan Kost <ensonic@users.sf.net>
82 * tests/benchmarks/complexity.gnuplot:
83 * tests/benchmarks/complexity.scm:
84 * tests/benchmarks/mass-elements.gnuplot:
85 * tests/benchmarks/mass-elements.scm:
86 Total licensification.
88 2007-04-19 Stefan Kost <ensonic@users.sf.net>
90 * gst/parse/Makefile.am:
91 Fix the build by correcting the rule that gave wrong files to flex.
93 2007-04-19 Stefan Kost <ensonic@users.sf.net>
95 * tests/benchmarks/complexity.c:
96 * tests/benchmarks/mass-elements.c:
97 Change licence to LGPL as granted by Benjamin and Andy.
99 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
101 * gst/parse/Makefile.am:
102 Add correct grammar.tab.h dependency if compiling without new enough
105 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
107 * gst/parse/Makefile.am:
108 Fix typo and use outdated sources if the flex/bison sources are newer
109 than the pregenerated ones but flex is too old. Print a warning in
110 that case. This should fix the build on the build bot.
112 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
114 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
115 * gst/parse/Makefile.am:
116 * gst/parse/grammar.y:
118 Make the parser reentrant and recursively callable. This requires flex
119 >= 2.5.31, for older versions pregenerated sources are used as we
120 can't bump the build dependency. Finally fixes #349180.
122 * gst/gstparse.c: (gst_parse_launch):
123 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
126 * docs/gst/Makefile.am:
127 * docs/gst/Makefile.am:
128 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
129 (__gst_parse_strfree), (__gst_parse_link_new),
130 (__gst_parse_link_free), (__gst_parse_chain_new),
131 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
132 (gst_parse_element_set), (gst_parse_free_link),
133 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
134 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
136 * gst/parse/grammar.tab.pre.h:
137 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
138 (yy_get_previous_state), (yy_try_NUL_trans), (input),
139 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
140 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
141 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
142 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
143 (_gst_parse_yypop_buffer_state),
144 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
145 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
146 (yy_fatal_error), (_gst_parse_yyget_extra),
147 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
148 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
149 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
150 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
151 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
152 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
153 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
154 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
155 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
156 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
158 If the installed flex version is too old use pre-generated parser
159 sources. These pre-generated parser sources are always updated when
160 the actual flex/bison sources change but require everybody who wants
161 to change something in the parser to have flex >= 2.5.31 installed.
163 2007-04-18 Stefan Kost <ensonic@users.sf.net>
165 * common/m4/gst-gettext.m4:
166 * gst/gst-i18n-lib.h:
167 Make --disable-nls to work
169 2007-04-17 Wim Taymans <wim@fluendo.com>
171 * gst/gstconfig.h.in:
172 Revert previous change that broke the build.
174 2007-04-17 Stefan Kost <ensonic@users.sf.net>
178 * gst/gstconfig.h.in:
179 Drop libxml2 dependency when building with
180 --enable-binary-registry --disable-loadsave
182 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
184 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
185 (gst_registry_binary_read_cache):
186 * gst/gstregistrybinary.h:
187 Remove unnecessary <sys/mman.h> include which broke the win32 build
188 with MingW; move includes from header file to .c file, even if the
189 header file isn't installed; use g_strerror() where UTF-8 strings
190 are expected, such as in GST_DEBUG messages.
192 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
194 * docs/libs/gstreamer-libs-sections.txt:
195 Remove bogus addition for API I didn't end up keeping.
197 * libs/gst/base/gstbasesrc.h:
198 Mention Since: 0.10.13 in the documentation.
200 Add the API keyword to the previous ChangeLog entry.
202 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
204 * docs/libs/gstreamer-libs-sections.txt:
205 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
206 (gst_base_src_default_prepare_seek_segment),
207 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
208 * libs/gst/base/gstbasesrc.h:
209 Allow basesrc derived classes to execute seeks in other formats
210 by providing a prepare_seek_segment vmethod. Sub-classes can choose
211 to prepare the GstSegment in any format that their perform_seek method
212 will be able to understand. The default implementation provides the
213 old behaviour of attempting to convert the seek offsets to the
214 configured native format.
216 API: basesrc::prepare_seek_segment vmethod.
218 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
220 * gst/gstelement.c: (gst_element_get_state_func):
221 Don't output the same debug statement twice.
223 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
224 (gst_adapter_peek), (gst_adapter_take_buffer):
225 Optimise the case where we have buffers at the head of the queue that
226 can be joined quickly (because they're contiguous sub-buffers) by
227 merging them together rather than copying data out into new memory.
229 * gst/parse/grammar.y:
230 * tests/check/pipelines/parse-launch.c:
231 Fix a leak in an error path for parse_launch, and add a check
232 for it to the testsuite.
234 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
236 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
237 Don't deadlock when releasing a pad - gst_pad_set_active may try
238 and take the multiqueue lock too.
240 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
242 * gst/gsterror.c: (_gst_core_errors_init):
244 API: add GST_CORE_ERROR_DISABLED (#392804).
246 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
248 * docs/faq/gst-uninstalled:
249 don't get empty paths on the PATH variables
250 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
251 Don't format for the uncommon terminal width of 84 characters.
253 2007-04-06 Wim Taymans <wim@fluendo.com>
255 * gst/gstpipeline.c: (reset_stream_time),
256 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
257 Only try to select a different pipeline clock when we went back to
258 PAUSED and not when we merely got flushed.
260 2007-04-05 Michael Smith <msmith@fluendo.com>
262 * tools/gst-launch.1.in:
263 fractions are better supported in gstreamer than ractions, so
266 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
268 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
272 Added Danish translation.
274 2007-04-05 Wim Taymans <wim@fluendo.com>
276 * libs/gst/base/gstbasesink.c:
277 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
278 Fix leak caused when refusing newsegment after EOS.
280 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
281 (gst_fake_sink_init), (gst_fake_sink_set_property),
282 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
283 (gst_fake_sink_render), (gst_fake_sink_change_state):
284 * plugins/elements/gstfakesink.h:
285 Add num-buffers property to make the element generate EOS after a
286 configurable amount of buffers.
287 API: fakesink::num-buffers property.
289 * tests/check/elements/fakesink.c: (GST_START_TEST),
291 Fix GstBus leak in test.
292 Test for fakesink num-buffers.
294 2007-04-05 Wim Taymans <wim@fluendo.com>
296 * libs/gst/base/gstbasesink.c:
297 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
298 (gst_base_sink_change_state):
299 Don't accept anything after an EOS, return UNEXPECTED instead.
301 * tests/check/elements/fakesink.c: (GST_START_TEST),
303 Unit test for new EOS behaviour.
305 2007-04-05 Wim Taymans <wim@fluendo.com>
307 * gst/gstelement.c: (gst_element_get_request_pad):
308 Make padtemplates also work when they don't contain %s or %d.
310 2007-04-05 Wim Taymans <wim@fluendo.com>
312 * docs/gst/gstreamer-sections.txt:
313 * gst/gstclock.c: (gst_clock_adjust_unlocked),
314 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
316 Improve _adjust_unlocked() so that it overflows less.
317 Add gst_clock_unadjust_unlocked to convert from external time to
318 internal time based on calibration.
320 API: GstClock::gst_clock_unadjust_unlocked()
322 2007-04-03 Wim Taymans <wim@fluendo.com>
324 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
326 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
327 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
328 when releasing sink pad. Fixes #425400.
330 2007-04-02 Stefan Kost <ensonic@users.sf.net>
332 * docs/random/ensonic/dynlink.txt:
333 More work on proposal for new core api.
335 * docs/libs/gstreamer-libs-sections.txt:
336 * libs/gst/base/gstbasetransform.h:
337 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
339 * libs/gst/controller/gstcontroller.c:
340 (on_object_controlled_property_changed),
341 (gst_controller_sync_values),
342 (gst_controller_set_interpolation_mode):
343 * libs/gst/controller/gstcontroller.h:
344 Less verbose logging add docs for unimplemented parts and correctly
345 return when using unavailable parts.
347 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
349 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
350 Move all the debug to the CLOCK category, and associate it with
353 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
355 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
356 Make take_buffer a bit quicker by removing redundant checks
357 caused by calling gst_adapter_take.
359 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
361 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
364 * tests/check/Makefile.am:
365 * tests/check/elements/.cvsignore:
366 * tests/check/elements/multiqueue.c: (setup_multiqueue),
367 (GST_START_TEST), (multiqueue_suite):
368 Add some dead simple unit tests for the 'multiqueue' element
369 (some bits don't work yet and are disabled for now).
371 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
373 * gst/gstelement.c: (gst_element_get_request_pad),
374 (gst_element_class_get_request_pad_template):
375 Make gst_element_get_request_pad() create request pads only for
376 request pad templates and not for, say, sometimes pad templates.
378 2007-03-28 Stefan Kost <ensonic@users.sf.net>
380 * docs/design/draft-klass.txt:
381 Add example that needs more thinking.
383 * docs/design/draft-missing-plugins.txt:
384 More thoughts about wrapper plugins.
386 * docs/random/ensonic/embedded.txt:
387 * docs/random/ensonic/profiling.txt:
390 2007-03-25 Wim Taymans <wim@fluendo.com>
392 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
394 Only push the segment events in the PLAYING state for live sources.
396 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
398 * gst/gstpipeline.c: (gst_pipeline_change_state):
399 Modify the clock distribution path in PAUSED->PLAYING so that we
400 never attempt to choose a new clock unless we're actually leaving
401 the PAUSED state for the first time. This prevents choosing a
402 different clock when the state_change gets called for a 2nd time due
403 to some element doing an async state change.
405 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
407 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
408 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
409 (gst_pad_chain_unchecked), (gst_pad_push):
410 Revert last commit. This needs some more thoughts.
412 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
414 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
415 (gst_pad_chain_unchecked), (gst_pad_push):
416 Check in set_caps if the caps are compatible with the pad and remove
417 two functions that are redundant now. Fixes #421543.
419 2007-03-22 Wim Taymans <wim@fluendo.com>
421 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
422 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
423 Unref some more to make valgrind happy.
425 2007-03-22 Wim Taymans <wim@fluendo.com>
427 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
428 (gst_system_clock_id_wait_jitter),
429 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
430 Fix anoying regression that survived a few releases. When adding an
431 async entry while blocking on a sync entry, the sync entry will unblock
432 but still be busy, so it should continue to wait instead of returning
434 Add some comments here and there.
436 * tests/check/gst/gstsystemclock.c: (mixed_thread),
437 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
438 Add testcase for this.
440 2007-03-22 Wim Taymans <wim@fluendo.com>
442 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
443 Handle errors from the clock sync better, only UNSCHEDULED indicates a
444 WRONG_STATE and can silently pause the task. All other cases should
447 2007-03-22 Wim Taymans <wim@fluendo.com>
449 Patch by: <syrjala at sci dot fi>
451 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
452 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
455 2007-03-21 Michael Smith <msmith@fluendo.com>
457 * docs/pwg/advanced-types.xml:
458 Fix some errors in the typefinding docs pointed out on irc.
460 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
462 * libs/gst/base/gstbasesrc.c:
463 Clarify FIXME comment in the face of having added unlock_stop()
465 2007-03-21 Wim Taymans <wim@fluendo.com>
467 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
468 Prepare for release where we warn against possible app breakage in the
469 case of live pipelines along with an env var to enable/disable live
470 preroll mode (GST_COMPAT=[no-]live-preroll).
472 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
474 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
475 So we should use correct constants for checking for None offset.
477 2007-03-20 Wim Taymans <wim@fluendo.com>
479 * docs/design/part-block.txt:
480 Mention the fact that the newly switched element should be set to at
483 2007-03-20 Wim Taymans <wim@fluendo.com>
486 Fix compilation with registry disabled as spotted by Saur.
488 2007-03-20 Wim Taymans <wim@fluendo.com>
490 Patch by: Olivier Crete <tester at tester dot ca>
492 * gst/gstelement.c: (gst_element_sync_state_with_parent):
493 Look at the pending state too when syncing the element state to the
494 parent. Fixes #420133.
496 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
498 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
499 (gst_base_sink_change_state):
500 * libs/gst/base/gstbasesink.h:
501 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
502 (gst_base_src_default_event), (gst_base_src_unlock_stop),
503 (gst_base_src_deactivate):
504 * libs/gst/base/gstbasesrc.h:
505 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
506 for sub-classes to correctly clear any state they set trying to
507 unlock, such as clearing out unlock commands from a command fd.
509 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
510 (gst_fd_sink_render), (gst_fd_sink_unlock),
511 (gst_fd_sink_unlock_stop):
512 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
513 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
514 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
516 Implement unlock_stop in fdsrc and fdsink.
517 Implement seeking in fdsrc when a seekable fd is passed, as in
518 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
520 2007-03-19 Wim Taymans <wim@fluendo.com>
522 Patch by: Evan Nemerson <evan at coeus dash group dot com>
524 * gst/gstelement.c: (gst_element_class_init):
525 Fix pad-added and pad-removed signal signatures so that the pad type is
526 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
528 2007-03-19 Wim Taymans <wim@fluendo.com>
530 * docs/gst/gstreamer-sections.txt:
531 Add new element field and method.
533 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
534 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
535 (gst_bin_recalc_state), (gst_bin_get_state_func),
536 (gst_bin_element_set_state), (gst_bin_change_state_func),
537 (gst_bin_continue_func), (bin_bus_handler),
538 (bin_push_state_continue), (bin_handle_async_start),
539 (bin_handle_async_done), (gst_bin_handle_message_func):
540 Make async state changes a bit smarter by using new ASYNC_START and
541 ASYNC_DONE messages. This reduces the number of times we run the state
542 recalculation thread.
543 Don't change state of element with a pending ASYNC_START message.
544 Deprecate STATE_DIRTY messages.
546 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
547 (gst_element_get_state_func), (gst_element_continue_state),
548 (gst_element_lost_state), (gst_element_set_state_func),
549 (gst_element_change_state):
551 Keep the state that was last set by the app in a new element field.
552 Don't allow state changes when handling an element event.
553 Post ASYNC_START and ASYNC_DONE messages.
554 Change lost_state so that we go to PAUSED and wait for the parent to set
555 us to PLAYING again (so latency calculation can be performed)
556 Export gst_element_change_state() method so that subclasses can use it.
557 API: gst_element_change_state()
558 API: GST_STATE_TARGET
560 * gst/gstpipeline.c: (gst_pipeline_class_init),
561 (reset_stream_time), (gst_pipeline_change_state),
562 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
563 Using the new ASYNC_START message we can reset the base_time when
564 needed. This can then be used to implement base_time redistribution in
565 flushing seeks so that we can remove the explicit seek handling.
566 Perform latency query and configuration when going to PLAYING.
568 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
569 (gst_base_sink_query), (gst_base_sink_change_state):
570 Post new ASYNC_START/ASYNC_DONE messages.
572 * tests/check/generic/sinks.c: (GST_START_TEST):
573 Fix test because the bin will not set the async element to PLAYING right
576 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
577 Make the message check a little stronger.
578 Handle ASYNC messages.
580 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
581 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
582 Expect ASYNC_DONE messages.
584 2007-03-19 Wim Taymans <wim@fluendo.com>
586 * docs/gst/gstreamer-sections.txt:
587 * gst/gstmessage.c: (gst_message_new_async_start),
588 (gst_message_new_async_done), (gst_message_parse_info),
589 (gst_message_parse_async_start):
591 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
594 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
596 * tools/gst-inspect.c:
597 (print_plugin_automatic_install_info_codecs):
598 Now that we don't check for the 'Codec' keyword any longer in the
599 klass, we shouldn't spew a warning if the klass isn't a decoder or
600 encoder (since it might be a Source/Network, for example).
602 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
604 * tools/gst-inspect.c:
605 (print_plugin_automatic_install_info_codecs):
606 Don't require decoder/demuxer/depayloader elements or
607 encoder/muxer/paylader elements to have 'Codec' as part of their
608 factory class string when introspecting a plugin's capabilities.
609 draft-klass.txt mentions that it might be removed in future, and
610 flump3dec doesn't have it as part of its class string, so chances
611 are others might also not have it.
613 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
635 Update translations from translation project
637 2007-03-14 Stefan Kost <ensonic@users.sf.net>
639 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
640 (gst_child_proxy_set_property):
641 Invert precondition check to be alike the ones in the mimiced gobject
644 2007-03-13 Stefan Kost <ensonic@users.sf.net>
646 * docs/design/draft-tagreading.txt:
647 * docs/random/ensonic/audiobaseclasses.txt:
648 Do some Architect work.
650 * gst/gstobject.c: (gst_object_set_name):
654 Add docs that point from gst_pad_get_range to gst_pad_pull_range
656 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
658 * gst/gstsystemclock.c: (gst_system_clock_init),
659 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
660 Defer starting the async system clock thread until the first async
661 wait is scheduled. Fixes #414986.
663 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
665 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
666 (gst_single_queue_free):
667 Fix small leak (free GstSingleQueue structure too, not only contents).
669 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
671 * gst/gstbin.c:(gst_bin_add):
672 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
673 * win32/common/libgstbase.def:
674 * win32/common/libgstreamer.def:
675 Add new exported functions.
677 2007-03-09 Wim Taymans <wim@fluendo.com>
679 * docs/plugins/gstreamer-plugins-sections.txt:
682 2007-03-09 Wim Taymans <wim@fluendo.com>
684 * docs/gst/gstreamer-sections.txt:
685 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
687 Add metadata copy functions. Fixes #393099.
689 * gst/gstutils.c: (gst_buffer_stamp):
690 * libs/gst/base/gstbasetransform.c:
691 (gst_base_transform_prepare_output_buffer):
692 Use new metadata copy functions.
694 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
696 * plugins/elements/gstidentity.c: (gst_identity_class_init),
697 (gst_identity_init), (gst_identity_check_perfect),
698 (gst_identity_check_imperfect_timestamp),
699 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
700 (gst_identity_set_property), (gst_identity_get_property):
701 * plugins/elements/gstidentity.h:
702 Separate out check-imperfect-timestamp and check-imperfect-offset.
703 Put back check-perfect as it was to keep compatibility.
705 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
707 * gst/gstelement.c: (gst_element_dispose):
708 There's no need to warn if VOID_PENDING is not NONE here, as
709 long as the state is NULL it's ok, and that's checked immediately
712 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
714 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
715 Fix check for perfect stream to ignore buffers with -1
716 offsets/offset ends when checking data contiguity.
718 2007-03-08 Wim Taymans <wim@fluendo.com>
720 * tools/gst-launch.c: (event_loop):
723 2007-03-08 Wim Taymans <wim@fluendo.com>
725 * libs/gst/base/gstbasetransform.c:
726 (gst_base_transform_sink_eventfunc),
727 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
728 (gst_base_transform_activate):
729 * libs/gst/base/gstbasetransform.h:
730 Add support for dropping buffers with custom GstFlowReturn.
731 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
732 buffers or dropped buffers.
734 * docs/libs/gstreamer-libs-sections.txt:
735 docs for new custom return code.
737 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
738 Use drop support in base class to implement drop-probability.
740 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
742 * gst/gst.c: (load_plugin_func):
743 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
744 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
745 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
746 Remove newlines at end of debug log strings.
748 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
750 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
751 Only post bus message at max, once per buffer received.
753 2007-03-07 Wim Taymans <wim@fluendo.com>
755 * docs/design/Makefile.am:
756 * docs/design/part-synchronisation.txt:
757 Add doc about synchronisation
759 * docs/design/draft-latency.txt:
760 * docs/design/part-TODO.txt:
761 * docs/design/part-clocks.txt:
762 * docs/design/part-events.txt:
763 * docs/design/part-gstbus.txt:
764 * docs/design/part-gstpipeline.txt:
765 * docs/design/part-live-source.txt:
766 * docs/design/part-messages.txt:
767 * docs/design/part-overview.txt:
768 * docs/design/part-streams.txt:
769 * docs/design/part-trickmodes.txt:
770 Documentation updates.
772 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
775 Update the doap file.
777 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
779 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
780 Rename non-perfect to imperfect for Mike and for the sanctity of the
782 Also make sure bus message gets emitted for data-incontiguities.
784 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
786 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
787 (gst_identity_start):
788 * plugins/elements/gstidentity.h:
789 Emit bus message if check-perfect is true and we encounter a
790 non-perfect stream between 2 consecutive buffers.
793 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
798 === release 0.10.12 ===
800 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
803 releasing 0.10.12, "Inevitable Demise"
805 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
808 Version 0.10.11.2 (0.10.12 pre-release)
809 Bump libtool versioning.
811 2007-03-01 Stefan Kost <ensonic@users.sf.net>
813 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
814 Log flow-names and not numbers.
816 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
819 Convert to new AG_GST style.
821 2007-02-28 Wim Taymans <wim@fluendo.com>
823 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
824 Don't unref query twice.
826 2007-02-28 Wim Taymans <wim@fluendo.com>
828 * gst/gstvalue.c: (gst_value_transform_object_string),
829 (_gst_value_initialize):
830 Implement GstObject -> string transform so we print object names
831 when serializing GValues containing GstObjects.
833 2007-02-28 Wim Taymans <wim@fluendo.com>
835 * docs/gst/gstreamer-sections.txt:
836 Add new stuff to docs.
838 2007-02-28 Wim Taymans <wim@fluendo.com>
840 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
841 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
842 (gst_base_sink_change_state):
843 Improve latency query code.
844 Don't leak latency events.
846 * tests/check/gst/gstbin.c: (GST_START_TEST):
849 2007-02-28 Wim Taymans <wim@fluendo.com>
851 * gst/gstelement.c: (gst_element_message_full),
852 (gst_element_get_state_func):
854 Improve docs a little. Added Since: for new macro.
856 * gst/gstobject.c: (gst_object_sink):
857 * gst/gstpipeline.c: (gst_pipeline_change_state),
858 (gst_pipeline_set_new_stream_time):
860 Improve debugging and docs.
862 * gst/gstutils.c: (gst_element_state_change_return_get_name):
865 2007-02-28 Wim Taymans <wim@fluendo.com>
867 * gst/gstelement.c: (gst_element_message_full),
868 (gst_element_set_locked_state), (gst_element_get_state_func),
869 (gst_element_change_state):
870 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
871 Documentation updates.
874 * gst/gstmessage.c: (gst_message_new_info),
875 (gst_message_parse_info):
877 API: gst_message_new_info()
878 API: gst_message_parse_info()
879 Add INFO message create and parse code.
881 2007-02-28 Wim Taymans <wim@fluendo.com>
883 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
884 (bin_query_latency_done):
885 Also report the live parameter of a latency query.
887 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
889 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
890 Copy the current generic/states example from -base and adapt so
891 we can use the exact same code everywhere.
892 Check a STATES_IGNORE_ELEMENTS env var which can be used
893 to ignore certain element factories for this test, which is
894 what is being done in -base
895 * tests/check/Makefile.am:
896 Mention this environment variable.
898 2007-02-27 Wim Taymans <wim@fluendo.com>
900 * docs/gst/gstreamer-sections.txt:
901 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
902 (gst_bus_timed_pop), (gst_bus_pop):
904 API: gst_bus_timed_pop()
905 Implement gst_bus_timed_pop() to do a blocking timed wait for a
906 message to arrive on the bus.
908 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
910 Two unit tests for new _timed_pop() function.
912 2007-02-23 Wim Taymans <wim@fluendo.com>
914 * gst/gstpipeline.c: (gst_pipeline_change_state),
915 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
916 Don't ref a NULL clock in _provide_clock_func().
917 Don't allow an INVALID delay.
918 Don't try to calculate base_time with an invalid start_time.
919 Also distribute and notify a NULL clock when it was selected.
921 * tools/gst-launch.c: (event_loop):
922 Don't crash when a NULL clock was selected in the pipeline.
924 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
926 * docs/design/Makefile.am:
927 * docs/design/draft-missing-plugins.txt:
928 * docs/random/draft-missing-plugins.txt:
929 Some small updates: update plugin system identifier prefix
930 ('gstreamer.net' to 'gstreamer'), mention our new install
931 API in libgstbaseutils rather than libgimme-codec, add
932 reference to the online docs.
934 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
936 * win32/common/config.h:
937 Pretty sure Bill never made a powerpc version. Powerpc hackers,
938 use moap cl ci to only check in what is mentioned in the ChangeLog.
940 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
942 * docs/gst/gstreamer-sections.txt:
944 Fix up documentation to link to the correct GstGError section.
945 Add GST_ELEMENT_INFO macro since someone else added a Info message.
947 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
949 * tools/gst-launch.c: (event_loop):
950 Make sure that we actually show the important message part of a
952 No need to check if the gerror is not NULL to free; first of all
953 g_free accepts NULL; and second the default error handler would
954 segfault if gerror was NULL.
956 2007-02-21 Wim Taymans <wim@fluendo.com>
958 * docs/gst/gstreamer-sections.txt:
959 Removed docs as well.
961 2007-02-21 Wim Taymans <wim@fluendo.com>
963 * gst/gstmessage.c: (gst_message_parse_duration):
965 Remove new messages for release.
967 2007-02-20 Wim Taymans <wim@fluendo.com>
969 * docs/design/part-gstghostpad.txt:
970 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
971 (gst_ghost_pad_new_full):
972 Make the ghostpad a parent of the internal pad again for better backward
973 compatibility. Don't write code that relies on this however.
975 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
976 (gst_pad_link_check_hierarchy):
977 Require that parents should be GstElements in the hierarchy check.
979 2007-02-20 Wim Taymans <wim@fluendo.com>
981 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
982 (gst_bin_change_state_func), (bin_query_min_max_init),
983 (bin_query_latency_fold), (bin_query_latency_done),
986 Implement latency query.
988 2007-02-20 Wim Taymans <wim@fluendo.com>
990 * docs/design/part-gstghostpad.txt:
991 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
992 (gst_ghost_pad_internal_do_activate_push),
993 (gst_ghost_pad_internal_do_activate_pull),
994 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
995 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
996 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
997 Do not set the internal pad as a parent anymore so we can avoid
998 hierarchy linking errors when the ghostpad has no parent yet. This also
999 fixes failed activation because of unlinked internal pads, which in
1000 turn fixes the impossible case where you have to activate a pad before
1001 you can add it to a running element.
1004 * gst/gstpad.c: (pre_activate), (post_activate),
1005 (gst_pad_set_active), (gst_pad_activate_pull),
1006 (gst_pad_activate_push), (gst_pad_check_pull_range):
1007 Add some more debug info.
1008 Mark activation mode in pre_activate so that we don't try to activate in
1009 endless loops. Fixes #385084.
1011 2007-02-19 Wim Taymans <wim@fluendo.com>
1013 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1014 (gst_base_transform_check_get_range):
1015 Implement a checkgetrange function instead of relying on the default
1016 core behaviour that assumes we can operate in pull mode if we have a
1017 getrange function. First step at fixing #385084.
1019 2007-02-15 Stefan Kost <ensonic@users.sf.net>
1021 * gst/gstchildproxy.h:
1022 * libs/gst/base/gstbasesink.h:
1023 * libs/gst/base/gstbasesrc.h:
1024 * libs/gst/base/gstbasetransform.h:
1025 More docs coverage and some ChangeLog surgery (add missing names)
1027 2007-02-15 Wim Taymans <wim@fluendo.com>
1029 * docs/design/part-TODO.txt:
1030 * docs/design/part-activation.txt:
1031 * docs/design/part-block.txt:
1032 * docs/design/part-buffering.txt:
1033 * docs/design/part-clocks.txt:
1034 * docs/design/part-element-source.txt:
1035 * docs/design/part-events.txt:
1036 * docs/design/part-gstbin.txt:
1037 * docs/design/part-gstbus.txt:
1038 * docs/design/part-gstpipeline.txt:
1039 * docs/design/part-live-source.txt:
1040 * docs/design/part-messages.txt:
1041 * docs/design/part-overview.txt:
1042 * docs/design/part-qos.txt:
1043 * docs/design/part-query.txt:
1044 * docs/design/part-states.txt:
1045 * docs/design/part-trickmodes.txt:
1046 Some doc updates. Start renaming from stream_time to running_time where
1047 it was used wrongly.
1049 2007-02-15 Wim Taymans <wim@fluendo.com>
1051 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1052 Answer LATENCY query.
1054 2007-02-15 Wim Taymans <wim@fluendo.com>
1056 * tests/check/gst/gstevent.c: (event_probe), (test_event),
1060 2007-02-15 Wim Taymans <wim@fluendo.com>
1062 * gst/gstpad.c: (gst_pad_get_internal_links_default),
1063 (gst_pad_dispatcher):
1064 Improve debugging of default pad dispatcher and query functions.
1066 2007-02-15 Wim Taymans <wim@fluendo.com>
1068 * docs/gst/gstreamer-sections.txt:
1069 Remove old unused method.
1071 2007-02-13 Wim Taymans <wim@fluendo.com>
1073 * tests/check/gst/gstsegment.c: (GST_START_TEST):
1076 2007-02-13 Wim Taymans <wim@fluendo.com>
1078 * docs/design/part-seeking.txt:
1081 * gst/gstsegment.c: (gst_segment_set_seek):
1082 Revert old bogus change that should make seeking work again.
1084 2007-02-13 Stefan Kost <ensonic@users.sf.net>
1086 * docs/random/ensonic/dynlink.txt:
1087 * docs/random/ensonic/interfaces.txt:
1088 * docs/random/ensonic/receipies.txt:
1089 Possible dynamic reconnection api, plus some type fixes the other two
1092 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
1094 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1095 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1096 Also check for an absolute path following file:// in the filesrc
1097 element. Remove redundant check and call g_path_is_absolute() on the
1100 2007-02-13 Stefan Kost <ensonic@users.sf.net>
1102 * docs/design/draft-klass.txt:
1103 Add existing category analysis.
1106 Fix doc example, framerate is a fraction.
1108 2007-02-12 Stefan Kost <ensonic@users.sf.net>
1111 * docs/gst/Makefile.am:
1112 * docs/libs/Makefile.am:
1113 * docs/plugins/Makefile.am:
1114 Add crossreferences to glib/gobject docs.
1116 2007-02-12 Wim Taymans <wim@fluendo.com>
1118 * docs/design/draft-latency.txt:
1121 * docs/libs/gstreamer-libs-sections.txt:
1122 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1123 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
1124 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
1125 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
1126 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
1127 (gst_base_sink_get_position), (gst_base_sink_query),
1128 (gst_base_sink_change_state):
1129 * libs/gst/base/gstbasesink.h:
1130 API: gst_base_sink_query_latency() to let subclasses query the upstream
1132 API: gst_base_sink_get_latency() to let subclasses query the configured
1133 latency in the sink.
1134 Implement query and set latency.
1136 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
1137 don't continue preroll when we are flushing. Fixes #405284.
1139 * tests/check/pipelines/stress.c: (change_state_timeout),
1140 (quit_timeout), (GST_START_TEST), (stress_suite):
1143 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
1145 Patch by: René Stadler <mail at renestadler de>
1147 * docs/gst/gstreamer-sections.txt:
1148 * gst/gsttaglist.c: (_gst_tag_initialize):
1150 API: add GST_TAG_REFERENCE_LEVEL (#403597).
1152 2007-02-11 Stefan Kost <ensonic@users.sf.net>
1154 * docs/libs/Makefile.am:
1155 Fix path to core docs.
1157 * gst/gstbin.c: (gst_bin_get_by_interface),
1158 (gst_bin_iterate_all_by_interface):
1159 Refix docs by also renaming 'interface' to 'iface' in implementation.
1161 * docs/gst/gstreamer-sections.txt:
1163 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1164 * gst/gstchildproxy.h:
1165 * gst/gstelementfactory.c:
1166 * gst/gstpadtemplate.h:
1167 * libs/gst/controller/gstcontroller.c:
1168 (gst_controlled_property_new):
1171 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
1173 * gst/gstbin.h:(gst_bin_get_by_interface),
1174 (gst_bin_iterate_all_by_interface):
1175 Replace interface parameter name by iface as interface is
1176 a reserved keyword in Visual Studio for C++ projects so it removes
1177 a build error for application developpers using VS.
1178 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
1179 Fix a bug on Windows in uri format check. Now the prefix checked
1180 is file:// and next we check if the path after file:// is absolute.
1181 * win32/common/libgstbase.def:
1182 * win32/common/libgstdataprotocol.def:
1183 * win32/common/libgstgstreamer.def:
1184 Add new exported functions.
1186 2007-02-09 Andy Wingo <wingo@pobox.com>
1188 * tests/check/pipelines/simple-launch-lines.c
1189 (simple_launch_lines_suite, test_tee): Disable tee test until I
1190 have time to fix it :-(
1192 * tests/check/Makefile.am (noinst_HEADERS):
1193 * tests/check/libs/libsabi.c:
1194 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
1195 * tests/check/gst/gstabi.c:
1196 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
1198 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
1199 tests for push and pull tee behavior.
1201 * plugins/elements/gsttee.h:
1202 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
1203 mark as deprecated as well as unimplemented. It was a crack idea.
1204 Add support for tee operating in pull mode, off by default.
1206 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
1207 normal-case logs down to LOG, raise errors to WARNING.
1208 (gst_registry_xml_read_cache): Don't log before calling a function
1211 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
1212 exit (registry finalize).
1213 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
1214 DEBUG log when we emit signals that people don't even have the
1215 chance to connect to.
1216 (gst_registry_scan_path_level): Less logging in the normal case.
1218 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1220 Patch by: Michal Benes <michal dot benes at itonis dot tv>
1222 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1223 Correctly generate EOS for non-seekable files. We don't have a total
1224 length for them and would get an unexpected end of file if we only
1225 special-cased for regular files. (Fixes: #404569)
1227 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
1229 * tests/check/elements/filesrc.c: (GST_START_TEST),
1231 Add unit test for the GstURIHandler interface in filesrc. This also
1232 tests the newly added file://localhost/foo/bar support.
1234 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
1236 * gst/gstelementfactory.h:
1237 The klass string is not a hierarchy. Add reference to the design doc
1238 for more information and common types.
1240 2007-02-02 Wim Taymans <wim@fluendo.com>
1242 * gst/gstquery.c: (gst_query_new_latency):
1243 Remove old structure field.
1245 2007-02-02 Stefan Kost <ensonic@users.sf.net>
1247 * tools/gst-launch.1.in:
1248 Give example for network streaming (#351998)
1250 2007-02-02 Wim Taymans <wim@fluendo.com>
1252 * docs/gst/gstreamer-sections.txt:
1253 Add docs for new methods.
1255 * gst/gstevent.c: (gst_event_new_latency),
1256 (gst_event_parse_latency):
1258 Add new LATENCY event to configure latency in a pipeline.
1259 API: gst_event_new_latency
1260 API: gst_event_parse_latency
1262 * gst/gstmessage.c: (gst_message_new_buffering),
1263 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
1264 (gst_message_new_latency), (gst_message_parse_buffering),
1265 (gst_message_parse_lost_preroll):
1267 Added messages used in draft-latency.
1268 API: gst_message_new_lost_preroll
1269 API: gst_message_parse_lost_preroll
1270 API: gst_message_new_prerolled
1271 API: gst_message_new_latency
1273 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1274 (gst_query_parse_latency):
1276 Implemented new latency query as in design doc.
1277 API: gst_query_new_latency
1278 API: gst_query_set_latency
1279 API: gst_query_parse_latency
1281 2007-02-02 Wim Taymans <wim@fluendo.com>
1283 * docs/design/draft-latency.txt:
1284 Slight redesign to allow for dynamic latency adjustments.
1286 * docs/design/part-negotiation.txt:
1289 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
1291 reviewed by: Wim Taymans <wim@fluendo.com>
1293 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1294 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1295 Allow file://localhost/foo/bar URLs and correctly fail for every other
1296 hostname that one sets. This was gnomevfssrc is linked for those if
1297 installed as it can handle it (#403172)
1299 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1301 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1303 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1304 (unref_data), (gst_collect_pads_add_pad_full):
1305 * libs/gst/base/gstcollectpads.h:
1306 Don't put the previously added destroy notify in the GstCollectData
1307 struct as all it's padding is already used and we don't want to break
1308 ABI. Instead put in the pad's GObject data for now. This should be
1309 cleaned up for 0.11 (#402393).
1311 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
1313 reviewed by: Wim Taymans <wim@fluendo.com>
1315 * docs/libs/gstreamer-libs-sections.txt:
1316 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1317 (unref_data), (gst_collect_pads_add_pad),
1318 (gst_collect_pads_add_pad_full):
1319 * libs/gst/base/gstcollectpads.h:
1320 API: Add function to specify a destroy notification for custom
1321 GstCollectData when adding new pads in GstCollectPads (#402393).
1323 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
1326 Update Swedish translation (#378255).
1328 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1330 * docs/design/draft-klass.txt:
1331 Fix the previous change, this is a list of categories and not a hierarchy.
1333 2007-01-31 Stefan Kost <ensonic@users.sf.net>
1335 * docs/design/draft-klass.txt:
1336 Add info about how to get a list of used classes.
1338 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
1340 * plugins/elements/gsttypefindelement.c:
1341 (gst_type_find_element_chain_do_typefinding),
1342 (gst_type_find_element_change_state):
1343 Don't leak found caps in chain function (no idea why that never
1344 showed up as a leak anywhere).
1346 2007-01-30 Stefan Kost <ensonic@users.sf.net>
1349 Fix and expand GstPluginDesc API docs.
1351 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1354 * gst/gstelementfactory.c:
1355 * gst/gstpadtemplate.h:
1358 * libs/gst/controller/gstcontroller.c:
1359 (gst_controlled_property_new):
1360 * tests/examples/controller/audio-example.c:
1363 2007-01-29 Stefan Kost <ensonic@users.sf.net>
1366 comment about refining the xml deps
1369 comments about moving away from jade for docs
1372 recommit the ifdefs to use the binary registry
1374 * gst/gstbin.c: (gst_bin_change_state_func):
1375 this break is obsolete
1377 * gst/gstelementfactory.h:
1378 better GST_ELEMENT_DETAILS docs, add comment about translation
1383 * gst/gstobject.c: (gst_signal_object_get_type):
1384 add G_UNLIKELY as usual
1386 * gst/gstpad.c: (gst_pad_event_default):
1387 add fall trhu comment
1389 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1390 (gst_registry_binary_initialize_magic),
1391 (gst_registry_binary_save_string),
1392 (gst_registry_binary_save_pad_template),
1393 (gst_registry_binary_save_feature),
1394 (gst_registry_binary_save_plugin),
1395 (gst_registry_binary_write_cache),
1396 (gst_registry_binary_check_magic),
1397 (gst_registry_binary_load_pad_template),
1398 (gst_registry_binary_load_feature),
1399 (gst_registry_binary_load_plugin),
1400 (gst_registry_binary_read_cache):
1401 comment typo and formatting
1403 * gst/gstutils.c: (gst_element_state_get_name),
1404 (gst_element_state_change_return_get_name):
1405 remove obsolete breaks
1407 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1408 add FIXME 0.11 and remove cpp comment
1410 2007-01-29 Edward Hervey <edward@fluendo.com>
1412 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1413 Fix print statement in an even more portable way.
1415 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
1417 * docs/gst/gstreamer-sections.txt:
1419 API: add GST_ROUND_DOWN_* macros (#401781).
1421 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
1423 * docs/gst/gstreamer.types.in:
1424 * gst/gstregistry.c: (gst_registry_class_init):
1425 Document registry signals and make gtk-doc pick them up (#401381).
1427 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1429 * docs/pwg/building-testapp.xml:
1430 Add some audioconverts and audioresample to the pipeline, and some
1431 more comments and error handling.
1433 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
1435 * docs/manual/manual.xml:
1439 2007-01-26 Wim Taymans <wim@fluendo.com>
1441 * gst/gstcaps.c: (gst_static_caps_get):
1442 Init caps flags too.
1444 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
1446 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
1448 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1449 If not using mmap'ed files try to seek to the end instead of the
1450 start to determine whether we can seek at all. This fixes the case
1451 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
1452 seeks for everything afterwards fail. Fixes #400656
1454 2007-01-25 Wim Taymans <wim@fluendo.com>
1456 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
1457 Add some refcount debugging.
1458 Make gst_static_caps_get threadsafe, which is needed when autoplugging
1459 in multiple streaming threads.
1461 2007-01-25 Wim Taymans <wim@fluendo.com>
1463 Patch by: David Schleef <ds at schleef dot org>
1465 * docs/libs/gstreamer-libs-sections.txt:
1466 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
1467 * libs/gst/base/gstadapter.h:
1468 API: gst_adapter_copy() that can reduce the amount of memcpy when
1469 getting data from the adapter. Fixes #388201.
1471 2007-01-25 Edward Hervey <edward@fluendo.com>
1473 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1474 In print statements, "%x" is for guint. Fixes build on macosx.
1476 2007-01-24 Edward Hervey <edward@fluendo.com>
1478 * plugins/elements/gstmultiqueue.c:
1479 (gst_multi_queue_loop):
1481 (single_queue_overrun_cb), (single_queue_underrun_cb),
1482 (single_queue_check_full), (gst_single_queue_new):
1483 Implement single queue growth system.
1484 This uses the extra-size properties, and will grow single queues by
1485 that much if one goes full whereas there are others empty. This is
1486 called extra-mode in the code.
1487 When a single queue's levels go back below the initial max-size
1488 limits, it is no longer in extra-mode. This is to ensure we don't
1489 consume too much memory.
1492 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
1494 * gst/gst.c: (gst_init_get_option_group):
1495 Make warning about late g_thread_init() calls a bit more explicit,
1496 so that it's more obvious to application developers what they need
1497 to do if a user files a bug against their application.
1499 2007-01-22 Edward Hervey <edward@fluendo.com>
1501 * plugins/elements/gstmultiqueue.c:
1502 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
1503 Remove previous hack of unsetting the flushing flag for the source pad
1504 instead of activating it. Instead, fix the source pad activate function
1505 so that it no longer depends on having a parent set or not.
1507 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
1509 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
1511 * docs/manual/basics-bus.xml:
1512 Fix example code, gst_element_unref() doesn't exist any longer.
1514 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
1516 Patch by: Mark Nauwelaerts <manauw at skynet be>
1519 Fix two docs typoes (#399094).
1521 2007-01-19 Edward Hervey <edward@fluendo.com>
1523 * docs/faq/gst-uninstalled:
1524 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
1525 depending on libgstbaseutils can work in uninstalled environment.
1527 2007-01-18 Stefan Kost <ensonic@users.sf.net>
1530 * gst/gsttagsetter.c:
1531 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
1532 statement for new tag.
1534 2007-01-17 Edward Hervey <edward@fluendo.com>
1536 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
1537 When dynamically creating single queues, activate sinkpad before adding
1539 We should be doing the same thing for the source pad, but we can't
1540 since it would call a method which needs the parent to be set in order
1541 to work propertly. Instead of activating the source pad, we just unset
1542 the flushing flag, which is the minimal requirement for adding a pad
1543 to an element in a state greater than READY.
1545 2007-01-17 Edward Hervey <edward@fluendo.com>
1547 * docs/faq/gst-uninstalled:
1548 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
1551 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
1553 * tests/check/gst/gstabi.c:
1554 * tests/check/gst/struct_hppa.h:
1555 * tests/check/libs/libsabi.c:
1556 * tests/check/libs/struct_hppa.h:
1557 Add ABI structs for HPPA (see #393796).
1559 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
1561 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1562 Actually write ABI structs to the file specified in the GST_ABI
1563 environment variable, as the message we print claims we would.
1565 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1567 * tests/check/gst/gsttask.c:
1570 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1572 * gst/gsttaglist.c: (_gst_tag_initialize):
1573 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
1574 previous two entries.
1576 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1578 * docs/gst/gstreamer-sections.txt:
1579 * gst/gsttaglist.c: (_gst_tag_initialize):
1581 Add tag support for beat-per-minute.
1583 2007-01-15 Stefan Kost <ensonic@users.sf.net>
1585 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1586 (gst_registry_binary_initialize_magic),
1587 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
1588 (gst_registry_binary_save_pad_template),
1589 (gst_registry_binary_save_feature),
1590 (gst_registry_binary_save_plugin),
1591 (gst_registry_binary_write_cache),
1592 (gst_registry_binary_check_magic),
1593 (gst_registry_binary_load_pad_template),
1594 (gst_registry_binary_load_feature),
1595 (gst_registry_binary_load_plugin),
1596 (gst_registry_binary_read_cache):
1597 * gst/gstregistrybinary.h:
1598 Use glib types, cleanup comments, impement interfaces and uri-types.
1600 2007-01-13 Andy Wingo <wingo@pobox.com>
1602 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
1603 getrange() to return buffers with other caps, while we fix
1604 demuxers and typefind, or otherwise change part-negotiation.txt.
1606 2007-01-12 Andy Wingo <wingo@pobox.com>
1608 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
1609 Factor start/stop into this private function instead of partially
1610 in activate functions and partially in the change_state function.
1611 Fixes setup before the element has changed from READY->PAUSED, as
1612 is the case in pull-mode pipelines.
1613 (gst_base_transform_sink_activate_push)
1614 (gst_base_transform_src_activate_pull): Refactor to use
1615 gst_base_transform_activate().
1616 (gst_base_transform_change_state): Removed, not needed any more.
1618 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1619 Truncate before fixating.
1621 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
1622 Don't set_caps() if the result of fixating is ANY, as it's not
1623 supported, and not necessary in the case of a link with no
1624 template caps on either side. Fixes tests/check/libs/basesrc in
1625 some pull-mode tests.
1627 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
1628 (gst_base_transform_init, gst_base_transform_sink_activate_push)
1629 (gst_base_transform_src_activate_pull):
1630 Track the activation mode.
1631 (gst_base_transform_setcaps): In pull mode, when activating the
1632 src pad, after activating the sink pad, activate the sink pad's
1633 peer, as discussed in part-negotiation.txt.
1635 * libs/gst/base/gstbasesrc.h:
1636 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
1637 vmethod, as in basesink.
1639 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
1641 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
1642 mode, first proxy the setcaps to the peer pad.
1643 (gst_base_sink_pad_fixate): Add a fixate function that calls the
1645 (gst_base_sink_default_activate_pull): Rename from
1646 gst_base_sink_activate_pull.
1647 (gst_base_sink_negotiate_pull): New function, performs negotiation
1648 in pull mode before calling ::activate_pull().
1649 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
1650 vmethod instead of the default implementation. I have no idea how
1651 this worked before. Negotiate before calling activate_pull.
1653 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
1654 sink pads in pull mode. In addition to being correct, fixes
1655 filesrc ! decodebin ! identity ! fakesink.
1656 (gst_pad_get_range, gst_pad_pull_range): Don't call
1657 gst_pad_set_caps() if the caps changes; instead error out with
1658 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
1660 2007-01-12 Andy Wingo <wingo@pobox.com>
1662 * docs/design/part-negotiation.txt: Update with more policy.
1664 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1666 * libs/gst/check/gstbufferstraw.h:
1667 * libs/gst/check/gstcheck.h:
1668 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
1671 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1673 * tests/check/Makefile.am:
1674 * tests/check/gst/.cvsignore:
1675 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
1676 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
1677 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
1678 (GST_START_TEST), (gst_tag_setter_suite):
1679 Add minimal unit test for beforementioned GstTagSetter bug.
1681 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
1683 Patch by: René Stadler <mail at renestadler dot de>
1685 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1686 gst_tag_list_merge() returns a new list, so it's not the best idea
1687 to ingore its return value. Effectively meant that tags could only
1688 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
1689 Also add function guard to require a non-NULL taglist as input (has
1690 always been so due to gst_tag_list_copy(), just making it explicit).
1692 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1694 * docs/random/draft-missing-plugins.txt:
1695 Some additions: mention new API that is supposed to be used at the
1696 various stages; short blob about new gst-inspect introspection
1697 option; mention potential future problem with plugins that have
1698 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
1700 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1702 * tools/gst-inspect.c:
1703 (print_plugin_automatic_install_info_codecs),
1704 (print_plugin_automatic_install_info_protocols),
1705 (print_plugin_automatic_install_info), (main):
1706 Add --print-plugin-auto-install-info option to gst-inspect, so we can
1707 introspect plugin files and get machine-parsable output that corresponds
1708 to the last bit of the missing-plugin installer string (small gotcha:
1709 doesn't take into account ranks).
1711 2007-01-11 Stefan Kost <ensonic@users.sf.net>
1714 * docs/gst/gstreamer-sections.txt:
1716 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
1717 (gst_registry_lookup_locked):
1718 * gst/gstregistry.h:
1719 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1720 (gst_registry_binary_initialize_magic),
1721 (gst_registry_binary_save_string),
1722 (gst_registry_binary_save_pad_template),
1723 (gst_registry_binary_save_feature),
1724 (gst_registry_binary_save_plugin),
1725 (gst_registry_binary_write_cache),
1726 (gst_registry_binary_check_magic),
1727 (gst_registry_binary_load_pad_template),
1728 (gst_registry_binary_load_feature),
1729 (gst_registry_binary_load_plugin),
1730 (gst_registry_binary_read_cache):
1731 * gst/gstregistrybinary.h:
1732 * gst/gstregistryxml.c: (load_feature),
1733 (gst_registry_xml_read_cache):
1734 commit binary registry (disabled by default, see #359653)
1736 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
1738 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
1739 Fix 'make check' too.
1741 2007-01-10 Andy Wingo <wingo@pobox.com>
1743 * docs/design/part-negotiation.txt: Fix a typo, add a couple
1746 * docs/design/part-negotiation.txt: Update with, um, one way that
1747 pull-mode negotiation might work?
1750 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
1751 that the pad must be a src pad; makes sense to call it the other
1752 way in pull mode, and the logic is symmetric anyway.
1754 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
1756 * plugins/elements/gstfilesink.c:
1757 Include <stdio.h> for fseeko().
1759 2007-01-10 Wim Taymans <wim@fluendo.com>
1763 Reserve LATENCY event.
1765 2007-01-09 Wim Taymans <wim@fluendo.com>
1767 * docs/design/draft-latency.txt:
1770 2007-01-09 Wim Taymans <wim@fluendo.com>
1772 * docs/design/draft-latency.txt:
1776 * gst/gststructure.c:
1780 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
1782 * tests/check/.cvsignore:
1783 Ignore test-registry.xml as well.
1785 2007-01-09 Wim Taymans <wim@fluendo.com>
1787 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1788 unref data at the end when we are done with the pad.
1790 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1792 * docs/gst/gstreamer-sections.txt:
1793 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
1794 (init_post), (gst_deinit), (gst_update_registry):
1796 API: add gst_update_registry() (#391296).
1798 * tests/check/Makefile.am:
1799 * tests/check/gst/gstregistry.c:
1800 * tests/check/gst/.cvsignore:
1801 Simple unit test for the above.
1803 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
1805 * gst/gstregistry.c: (gst_registry_scan_path_level):
1806 Plugin extension on HP-UX is .sl, add that to the list of approved
1807 plugin extensions (see #393796).
1809 * tests/check/gst/gstpad.c: (GST_START_TEST):
1810 ulong => gulong. Fixes compilation with HP-UX compiler.
1812 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1813 Fix compilation if valgrind headers are not available.
1815 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
1817 * win32/common/libgstreamer.def:
1818 Add new exported function.
1819 * win32/vs6/libgstbase.dsp:
1820 Add gstdataqueue.c to the build.
1821 * win32/vs6/libgstcoreelements.dsp:
1822 Add gstmultiqueue.c to the build.
1824 2007-01-06 Andy Wingo <wingo@pobox.com>
1826 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
1827 activate_pull(), providing for a way to specialize the process of
1828 spawning a thread to pull on the sink pad. There is a default
1831 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
1832 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
1833 (gst_base_sink_init): Renamed pad activation functions (inserting
1834 "_pad" in their names). Refactor to use the new activate_pull
1835 vmethod, as appropriate.
1836 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
1837 default activate_pull function to start a task pulling from the
1838 sink pad, as before.
1840 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
1841 on the pads if necessary, as in push()/chain(). Update docs.
1842 Shouldn't affect existing pull() usage as it is currently only
1843 being used on buffers without caps.
1845 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1847 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1849 Call g_thread_init() first thing in gst_init() / gst_check_init().
1850 When initialisation is done via gst_init_get_option_group() and
1851 GOption parsing, issue a warning if the GLib thread system has not
1852 been initialised yet by the time gst_init_get_option_group() is
1853 called, as it's quite likely other GLib functions such as
1854 g_option_context_new() have been called already then, and
1855 g_thread_init() must be called before any other GLib function. The
1856 application in question must be fixed in that case, since memory
1857 corruption might happen otherwise.
1858 We issue the warning because even if the GLib folks decide to work
1859 around the problem on their end in future, this is still an issue
1860 with all GLib versions >= 2.10.0, so we should warn until we depend
1861 on a GLib version we know to be safe.
1862 Update documentation as well.
1865 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1867 * tools/gst-inspect.c: (main):
1868 * tools/gst-launch.c: (main):
1869 * tools/gst-typefind.c: (main):
1870 * tools/gst-xmlinspect.c: (main):
1871 Call g_thread_init() really really early, before any other GLib
1872 function (see #342564 and recent discussion on gtk-devel-list).
1874 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1876 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
1878 * gst/gst_private.h:
1879 * gst/gstconfig.h.in:
1881 On win32, all the __declspec stuff for symbol exporting is
1882 apparently only needed with MSVC, but doesn't work with MingW.
1883 Fixes compilation with MingW and #391909.
1885 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
1887 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
1888 Change some GST_ERROR_OBJECT that aren't really errors to
1889 GST_WARNING_OBJECT in order to reduce terminal spam.
1891 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1893 * tests/check/Makefile.am:
1894 disable test again, as there seem to be still race problems
1896 2007-01-04 Stefan Kost <ensonic@users.sf.net>
1898 * tests/check/Makefile.am:
1899 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1900 (GST_START_TEST), (queue_suite):
1901 enable queue test again, add tests for the leaky behaviour
1903 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
1906 * tests/examples/Makefile.am:
1907 Compile adapter test/example only if the required headers are
1908 available (fixes #391915).
1910 2007-01-01 David Schleef <ds@schleef.org>
1913 Restore the previous signal handler for SIGSEGV instead of
1914 setting to default, since we may have stolen it away from
1915 someone. (i.e., Mono)
1917 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1919 * docs/random/draft-missing-plugins.txt:
1920 Some small additions and clarifications.
1922 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
1924 * gst/gstregistryxml.c: (gst_registry_save_escaped):
1925 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
1926 since that can lead to random memory corruptions and crashes
1927 (may or may not be related to #383244, #386711, and #386711).
1929 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1931 * tests/check/.cvsignore:
1932 * tests/check/Makefile.am:
1933 sync .cvsignome and CLEANFILES
1935 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1937 * tests/check/Makefile.am:
1940 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1942 * docs/design/part-states.txt:
1943 two tiny additional comments
1945 * gst/gststructure.c:
1948 * tests/check/Makefile.am:
1949 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1951 disable test for now, unless it gets fixed
1953 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1955 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1957 fix race in underrun test
1959 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1961 * tests/check/elements/.cvsignore:
1964 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1966 try to narrow test failure
1968 2006-12-21 David Schleef <ds@schleef.org>
1970 * plugins/elements/gstfakesrc.c:
1971 Use g_random_int_range(), since it produces better random
1972 numbers in a range than almost-correct floating point code.
1974 2006-12-21 Stefan Kost <ensonic@users.sf.net>
1976 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1977 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1978 (gst_check_teardown_sink_pad):
1979 do not automatically (de)activate pads
1981 * tests/check/Makefile.am:
1982 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
1983 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
1984 add new, yet simple tests for queue
1986 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
1987 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
1988 * tests/check/elements/filesrc.c: (cleanup_filesrc),
1990 * tests/check/elements/identity.c: (cleanup_identity):
1991 consistent pad (de)activation
1993 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
1995 Patch by: Sebastian Dröge <slomo ubuntu com>
1997 * libs/gst/base/gstcollectpads.c:
1998 Fix two doc typos (#387866).
2000 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
2002 * docs/manual/advanced-dparams.xml:
2003 Fix typo (g_object_control_properties() doesn't exist).
2005 2006-12-19 Edward Hervey <edward@fluendo.com>
2007 * gst/gstsegment.c: (gst_segment_set_seek):
2008 Fine tune the cases where the segment start/stop values are really
2010 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2011 Add tests for the return values of gst_segment_set_seek().
2013 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
2018 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2020 Fix incorrect documentation and flesh it out a bit more.
2021 Set default values for the max properties on the GParamSpec as well,
2022 so it shows up correctly in gst-inspect.
2024 2006-12-18 Stefan Kost <ensonic@users.sf.net>
2026 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2027 Correct docs of queue, add more detail and crosslink it more.
2029 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
2031 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2032 Print additional debug info when the stream isn't perfectly
2033 timestamped; don't try to use invalid durations.
2035 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
2037 * docs/design/Makefile.am:
2038 Dist new design docs.
2040 2006-12-16 Wim Taymans <wim@fluendo.com>
2042 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2044 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
2045 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2046 (gst_collect_pads_stop), (gst_collect_pads_event),
2047 (gst_collect_pads_chain):
2048 * libs/gst/base/gstcollectpads.h:
2049 Add refcounting to the collectpads data so we can track when it's safe
2050 to free the data. Fixes #383382.
2052 2006-12-15 Wim Taymans <wim@fluendo.com>
2054 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2055 (gst_collect_pads_remove_pad):
2056 Automatically activate/deactivate pads when they are added to a
2057 started/stoped collectpads.
2059 2006-12-15 Wim Taymans <wim@fluendo.com>
2061 * gst/gstelement.c: (gst_element_add_pad):
2062 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
2063 * gst/gstpad.c: (gst_pad_init):
2064 Set pads to FLUSHING when they are created. Check, warn and fix when a
2065 demuxer adds an inactive pad to itself when running. Fixes #339326.
2067 2006-12-15 Wim Taymans <wim@fluendo.com>
2069 * gst/gstelement.c: (gst_element_class_init),
2070 (gst_element_default_send_event), (gst_element_send_event),
2071 (gst_element_default_query), (gst_element_query):
2072 Expose default element send_event and query handling as vmethods that
2073 subclasses can chain up to.
2075 2006-12-15 Wim Taymans <wim@fluendo.com>
2077 * gst/gstelement.c: (gst_element_set_state_func):
2078 Small documentation fixes.
2080 2006-12-15 Wim Taymans <wim@fluendo.com>
2082 * docs/design/draft-latency.txt:
2083 Checked in draft for handling latency in pipelines.
2085 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
2089 * gstreamer.spec.in:
2092 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
2094 * gst/gst.c: (init_pre), (init_post):
2095 init_pre() and init_post() might be called via our GOptionGroup or
2096 from gst_init(), and we should skip both of them if we've already
2097 been initialised, otherwise we will init some things twice or add
2098 two default log functions.
2100 2006-12-13 Edward Hervey <edward@fluendo.com>
2102 * docs/manual/basics-bus.xml:
2103 No, gst_main_loop does not exist. Its g_main_loop.
2104 Discovered by somebody who abused the copy-paste technique of coding :)
2106 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
2108 * gst/gstghostpad.c:
2109 Log ghostpad debug stuff to the GST_PADS category as well rather
2110 than just to the default category.
2112 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
2115 * gst/gst.c: (init_pre):
2116 Add some basic system details such as OS and architecture
2117 to the debug output if possible, courtesy of uname().
2119 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
2121 * docs/gst/running.xml:
2122 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
2123 environment variables.
2125 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
2127 * tests/check/gst/gstbin.c: (GST_START_TEST):
2128 It is acceptable to have a refcount of 2 or 3 at this point in the
2129 test, because the pipeline might be just posting its state_change
2130 message. The next line then waits for that message to appear using
2131 bus_poll, so that should be fine too.
2133 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
2135 * gst/gst.c: (ensure_current_registry_forking):
2136 Ignore EINTR when reading from the child registry pipe.
2137 Explicitly ignore the return value from close, since it makes no
2140 * gst/gstminiobject.c: (gst_mini_object_ref),
2141 (gst_mini_object_unref):
2142 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
2144 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
2145 When removing cached plugins, remove their features too, so they're
2146 not visible after they've disappeared.
2148 * gst/gstutils.c: (prepare_link_maybe_ghosting):
2149 In the unlikely case that we are linking pads with no parents, don't
2150 crash trying to get the non-existent parent bin.
2152 * gst/parse/grammar.y:
2153 Output debug in the PIPELINE category
2155 2005-03-08 Wim Taymans <wim@fluendo.com>
2157 Patch by: René Stadler <mail at renestadler dot de>
2159 * gst/gstclock.c: (gst_clock_new_periodic_id):
2160 Reject invalid clock times for interval of periodic ids.
2163 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2165 * gst/gstelementfactory.c: (gst_element_factory_create):
2166 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2167 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
2168 * tools/gst-inspect.c: (print_element_info):
2169 Fix refcounting of gst_plugin_feature_load to match the docs.
2172 2006-12-07 Wim Taymans <wim@fluendo.com>
2174 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2175 (gst_base_sink_get_position):
2176 Improve debugging of events.
2178 2006-12-07 Wim Taymans <wim@fluendo.com>
2180 Patch by: René Stadler <mail at renestadler dot de>
2182 * gst/gstclock.c: (gst_clock_id_wait):
2183 Make period ids add the interval to the origial requested time instead
2184 of the possibly updated time which can be wrong when there are multiple
2185 waiters for the same id. Fixes #382592.
2187 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
2188 (gst_system_clock_id_wait_jitter_unlocked),
2189 (gst_system_clock_id_wait_jitter):
2190 Fix restart in the async notify thread when an async entry is added to
2191 the front of the list. Fixes #381492.
2193 * tests/check/gst/gstsystemclock.c: (store_callback),
2194 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
2195 Added test for multiple async waits.
2196 Added test for async wait order.
2198 2006-12-07 Wim Taymans <wim@fluendo.com>
2200 * gst/gstbin.c: (gst_bin_query):
2201 Add some more docs about the POSITION query.
2203 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
2206 Bump version nano - back to CVS.
2208 === release 0.10.11 ===
2210 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
2213 releasing 0.10.11, "Love never runs on time"
2215 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
2217 * win32/common/libgstbase.def:
2218 * win32/common/libgstreamer.def:
2219 * win32/vs8/libgstbase.vcproj:
2220 * win32/vs8/libgstcoreelements.vcproj:
2221 * win32/vs8/libgstreamer.vcproj:
2222 Fix compilation on win32 under VS8
2223 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2224 Partially fixes #381175
2226 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
2228 * gst/gstvalue.c: (gst_value_compare_fraction):
2229 If someone is foolish enough to compare 2 fractions with denominator =
2230 0, return UNORDERED rather than aborting.
2232 2006-11-28 Edward Hervey <edward@fluendo.com>
2234 * libs/gst/base/Makefile.am:
2235 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
2236 (gst_data_queue_base_init), (gst_data_queue_class_init),
2237 (gst_data_queue_init), (gst_data_queue_new),
2238 (gst_data_queue_cleanup), (gst_data_queue_finalize),
2239 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
2240 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
2241 (gst_data_queue_is_empty), (gst_data_queue_is_full),
2242 (gst_data_queue_set_flushing), (gst_data_queue_push),
2243 (gst_data_queue_pop), (gst_data_queue_drop_head),
2244 (gst_data_queue_set_property), (gst_data_queue_get_property):
2245 * libs/gst/base/gstdataqueue.h:
2246 New GstDataQueue object for threadsafe queueing. Most useful for
2247 elements that need some queueing functionnality.
2248 * docs/libs/gstreamer-libs-docs.sgml:
2249 * docs/libs/gstreamer-libs-sections.txt:
2250 Insert documentation for GstDataQueue
2251 * plugins/elements/Makefile.am:
2252 * plugins/elements/gstelements.c:
2253 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2254 (gst_multi_queue_class_init), (gst_multi_queue_init),
2255 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2256 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
2257 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
2258 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2259 (gst_multi_queue_loop), (gst_multi_queue_chain),
2260 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2261 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
2262 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
2263 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
2264 (wake_up_next_non_linked), (compute_next_non_linked),
2265 (single_queue_overrun_cb), (single_queue_underrun_cb),
2266 (single_queue_check_full), (gst_single_queue_new):
2267 * plugins/elements/gstmultiqueue.h:
2268 New multiqueue element, using GstDataQueue. Used for queuing multiple
2270 Closes #344639 and #347785
2272 2006-11-22 Stefan Kost <ensonic@users.sf.net>
2274 * docs/pwg/advanced-types.xml:
2275 add more missing type details
2277 * tools/gst-run.c: (main):
2278 remove unused variable
2280 2006-11-21 Stefan Kost <ensonic@users.sf.net>
2282 * docs/libs/Makefile.am:
2283 * docs/libs/gstreamer-libs.types:
2284 add types of base classes to enable gobject specific stuff in the docs
2286 * docs/random/ensonic/embedded.txt:
2287 more ideas about isolating platform specific things
2289 2006-11-20 Wim Taymans <wim@fluendo.com>
2291 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
2293 * libs/gst/check/gstcheck.h:
2294 Fix compilation and running against 0.9.4. Fixes #377332.
2296 2006-11-20 Wim Taymans <wim@fluendo.com>
2298 * gst/gstsegment.c: (gst_segment_set_seek),
2299 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2300 (gst_segment_to_running_time):
2301 Fix boundary checking in to_running_time() and to_stream_time().
2304 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2305 stream and running time can now be calculated for the complete
2308 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
2310 * gst/gstpad.c: (gst_pad_push_event):
2311 Can't access event structure after giving away ownership of
2314 2006-11-15 Stefan Kost <ensonic@users.sf.net>
2316 * docs/random/ensonic/embedded.txt:
2317 * docs/random/ensonic/profiling.txt:
2318 * docs/random/ensonic/receipies.txt:
2321 2006-11-13 Wim Taymans <wim@fluendo.com>
2323 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2326 Fix documentation for gst_pad_dispatcher. Fixes #374475.
2328 2006-11-13 Wim Taymans <wim@fluendo.com>
2330 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
2332 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
2333 Store new length in segment duration so we don't keep on calling the
2334 potentially expensize get_size() call. Fixes #370865.
2336 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
2338 Patch by: Sergey Scobich <sergey.scobich at gmail com>
2340 * win32/common/libgstreamer.def:
2341 Add two missing symbols (#366492).
2343 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
2345 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
2346 (gst_adapter_take_buffer):
2347 Fix format string to use all its arguments.
2348 Remove useless >= check on a guint
2350 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2352 * tests/examples/adapter/.cvsignore:
2353 Ignore build file as commanded by the build-bot
2355 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2357 * tests/examples/adapter/Makefile.am:
2358 * tests/examples/adapter/adapter_test.c: (run_test_take),
2359 (run_test_take_buffer), (run_tests), (main):
2361 Add new files from the previous commit
2363 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
2367 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
2368 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
2369 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
2370 * libs/gst/base/gstadapter.h:
2371 * tests/check/libs/adapter.c: (create_and_fill_adapter),
2372 (GST_START_TEST), (gst_adapter_suite):
2373 * tests/examples/Makefile.am:
2374 Do some optimisation work in GstAdapter to avoid copies in more cases.
2375 It could still do slightly better by merging buffers when
2376 gst_buffer_is_span_fast is true, but is already faster.
2378 Also, avoid traversing a single-linked list to append each incoming
2379 buffer inside the adapter.
2381 Add simple test app that times the adapter behaviour in different
2382 situations, and extend the unit test to check that bytes enter and
2383 exit the adapter in their original order.
2385 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
2387 * docs/random/draft-missing-plugins.txt:
2388 Update: use element message instead of adding a new message
2389 type to the core; don't provide GStreamer API to initiate the
2390 plugin download, just provide API to compose the strings needed
2391 and let an external libgimmestuff handle the rest.
2393 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
2395 * tools/gst-inspect.c: (print_element_properties_info):
2396 Print a string instead of 'unknown type' for GValueArray properties
2398 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
2400 * docs/random/draft-missing-plugins.txt:
2403 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2405 * tests/examples/typefind/typefind.c: (type_found), (main):
2406 Make typefind element example work again (#371894); add a
2409 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
2411 * docs/random/draft-missing-plugins.txt:
2412 Commit initial draft about how to deal with missing plugins,
2413 needs work (API too).
2415 2006-11-07 Stefan Kost <ensonic@users.sf.net>
2417 * docs/pwg/advanced-types.xml:
2418 documents the new caps elements (see #363118)
2420 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2422 * gst/gstplugin.c: (gst_plugin_load_file):
2423 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
2424 (gst_file_src_map_region), (gst_file_src_start):
2425 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
2426 (gst_file_index_commit):
2427 Use g_strerror() instead of strerror() - we want UTF-8.
2429 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
2431 Patch by: Peter Kjellerstedt <pkj at axis com>
2433 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2434 Another printf fix (#371493).
2436 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2438 * tests/check/gst/gsttag.c:
2439 relicence (okay with author=company)
2441 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2443 * gst/gstpad.c: (gst_pad_event_default_dispatch),
2444 (gst_pad_push_event):
2445 Enhance debug and improve docs
2450 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2452 * docs/random/ensonic/distributed.txt:
2453 * docs/random/ensonic/profiling.txt:
2456 2006-11-06 Stefan Kost <ensonic@users.sf.net>
2458 * docs/gst/gstreamer-sections.txt:
2459 add new API and fix the build
2461 * gst/gstbin.c: (gst_bin_recalc_state):
2462 * gst/gstelement.c: (gst_element_message_full),
2463 (gst_element_get_state_func), (gst_element_set_state_func):
2464 use new API and improve logging
2466 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2468 API: add function to get StateChangereturn names to improve logs
2470 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
2472 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2473 I'm considering shooting the next person to put strerror stuff
2474 in the translateable part of the message.
2476 2006-11-03 Wim Taymans <wim@fluendo.com>
2478 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2479 Get the type and printf conversion specifiers right.
2481 2006-11-03 Wim Taymans <wim@fluendo.com>
2483 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2485 * gst/gstpad.c: (gst_pad_init), (pre_activate),
2486 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
2487 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
2488 Some small cleanups. Improve debugging.
2490 Signal all waiting threads with a broadcast instead of just one.
2493 2006-11-03 Wim Taymans <wim@fluendo.com>
2495 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2496 (gst_fd_src_create):
2498 Only update fd when it's different from the old.
2500 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2502 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
2503 Printf fixes for PPC/OSX, take two (#369366).
2505 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
2507 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
2509 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2510 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2511 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2512 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
2513 don't cast to long long for portability reasons, but use
2514 GLib's types instead.
2516 2006-10-30 Michael Smith <msmith@fluendo.com>
2518 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2519 Get the arguments to lseek() the right way around.
2522 2006-10-30 Wim Taymans <wim@fluendo.com>
2524 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
2527 _declspec should be __declspec (two underscores, not one). Fixes 366572.
2529 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2531 Patch by: Kjartan Maraas <kmaraas at gnome org>
2533 * docs/design/part-MT-refcounting.txt:
2534 * docs/random/wtay/capsnego2-docs:
2537 Typo fixes (#366212).
2539 2006-10-28 Wim Taymans <wim@fluendo.com>
2541 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2544 * win32/common/libgstbase.def:
2545 * win32/common/libgstreamer.def:
2546 * win32/vs8/libgstbase.vcproj:
2547 * win32/vs8/libgstcontroller.vcproj:
2548 Add needed entries in .def files.
2550 Rearrange def files in vs8 solutions. Fixes #366286.
2552 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
2554 * win32/common/gstconfig.h:
2555 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
2556 hand-made win32 gstconfig.h. Fixes #366321.
2558 2006-10-27 Wim Taymans <wim@fluendo.com>
2560 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
2561 (gst_ghost_pad_new_full):
2562 Make acceptcaps return TRUE when we don't have a target, just like
2565 2006-10-27 Wim Taymans <wim@fluendo.com>
2567 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2568 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
2570 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
2572 * gst/gststructure.c: (gst_structure_id_set_value):
2573 If someone tries to set a non-UTF8 string field on a structure,
2574 don't just print a warning, but also ignore the request and do
2575 not change/add that field to the structure.
2577 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2580 2006-10-25 David Schleef <ds@schleef.org>
2583 g_hash_table_insert() needs a cast to a non-const pointer duh.
2585 2006-10-25 David Schleef <ds@schleef.org>
2589 Change name parameter of _gst_debug_register_funcptr to const
2590 to reflect the constness of its use in the function as well
2591 as to quiet a gcc warning.
2593 2006-10-25 Edward Hervey <edward@fluendo.com>
2595 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2596 Don't push the buffer if it's empty.
2599 2006-10-24 Wim Taymans <wim@fluendo.com>
2604 * libs/gst/base/gstbasetransform.c:
2605 (gst_base_transform_sink_eventfunc):
2606 Debug segment values *after* updating them as this is more
2609 2006-10-23 Wim Taymans <wim@fluendo.com>
2611 * docs/design/part-events.txt:
2614 * docs/design/part-block.txt:
2615 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
2616 (gst_pad_push_event):
2617 Revert BLOCKING patch, it tries to be smart without really having a
2618 clear idea what or how. So, now we discard all FLUSHING events again on
2619 a blocking pad. Should fix gnonlin again.
2621 2006-10-23 Wim Taymans <wim@fluendo.com>
2623 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
2625 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2626 (gst_base_src_start), (gst_base_src_activate_push):
2627 Make sure size is always initialized. Fixes #364388.
2629 2006-10-20 Stefan Kost <ensonic@users.sf.net>
2631 * docs/random/ensonic/distributed.txt:
2632 add some ideas about doing distributed processing
2634 * docs/random/ensonic/profiling.txt:
2635 get_rusage look promising
2637 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2639 * docs/manual/basics-helloworld.xml:
2640 Add a cast in example to fix compile warning
2642 2006-10-18 Wim Taymans <wim@fluendo.com>
2644 * gst/gstsegment.c: (gst_segment_set_last_stop),
2645 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2646 Relax arg checking again, -1 is allowed.
2648 2006-10-18 Wim Taymans <wim@fluendo.com>
2650 * gst/gstsegment.c: (gst_segment_set_last_stop),
2651 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
2652 _set_last_stop() must be with a value != -1
2653 A _TYPE_SET to -1 means seek to 0.
2654 Calc last_stop correctly for negative rates.
2655 Make sure we work with positive durations when updating a segment.
2657 2006-10-18 Wim Taymans <wim@fluendo.com>
2659 * docs/design/part-live-source.txt:
2663 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
2666 Add an explicit cast to GstBuffer** to keep old code that added an
2667 explicit cast to GstMiniObject** for gst_mini_object_replace()
2668 compiling without warning.
2670 2006-10-18 Stefan Kost <ensonic@users.sf.net>
2672 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
2673 check for validity of dates
2675 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2677 * docs/gst/gstreamer-sections.txt:
2678 Forgot this one, makes gtk-doc shut up.
2680 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2682 Patch by: Peter Kjellerstedt <pkj at axis com>
2685 Don't define xmlNodePtr to gpointer if the core was built with
2686 --disable-loadsave and --disable-registry, this will break
2687 applications that want to use libxml2 but are buildling against a
2688 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
2689 instead so we don't have to mess with the libxml2 namespace
2692 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
2695 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
2696 type-punned pointer warnings.
2698 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
2701 Add casts to the correct return type to state <=> state transition
2704 2006-10-16 Stefan Kost <ensonic@users.sf.net>
2706 * docs/design/part-live-source.txt:
2707 describe howto handle latency
2709 * docs/random/ensonic/profiling.txt:
2712 * tools/gst-plot-timeline.py:
2713 fix log parsing for solaris, remove unused function
2715 2006-10-16 Wim Taymans <wim@fluendo.com>
2717 * docs/design/part-trickmodes.txt:
2719 Update some docs regarding reverse playback.
2721 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
2723 Patch by: Marcus Granado <mrc dot gran at gmail com>
2725 * win32/vs8/grammar.vcproj:
2726 Error out with a warning if glib-genmarshal.exe is not in path,
2727 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
2729 2006-10-13 Wim Taymans <wim@fluendo.com>
2731 * gst/gstsegment.c: (gst_segment_set_seek):
2732 When seeking to stop -1, set last_stop (current position) to the
2733 duration of the segment.
2735 2006-10-13 Wim Taymans <wim@fluendo.com>
2738 Clarify _NO_PREROLL a bit more.
2743 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
2744 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
2745 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
2746 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
2747 due to wrong locking order. Fixes #361769.
2748 Remove some redundant/misplaced checks in pad_block.
2750 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2751 For negative rates, count backwards from the duration.
2753 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
2755 * gst/gsterror.c: (_gst_library_errors_init):
2756 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
2757 up with something better).
2759 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2761 * win32/vs6/libgstreamer.dsp:
2762 * win32/vs7/libgstreamer.vcproj:
2763 * win32/vs8/libgstreamer.vcproj:
2764 Don't reference glib-compat.c which is currently not used and not
2765 disted; add gstquark.c which was recently added. Fixes #361730.
2767 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
2769 * win32/common/libgstbase.def:
2770 * win32/common/libgstcontroller.def:
2771 * win32/common/libgstreamer.def:
2772 Add gst_caps_merge() and a bunch of other recently-added functions.
2775 2006-10-11 Wim Taymans <wim@fluendo.com>
2777 * docs/plugins/gstreamer-plugins.args:
2778 * docs/plugins/inspect/plugin-coreelements.xml:
2779 * docs/plugins/inspect/plugin-coreindexers.xml:
2780 Update element args.
2782 * gst/gstsystemclock.c:
2783 Small comment update.
2785 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
2786 (gst_tee_request_new_pad), (gst_tee_release_pad),
2787 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
2788 (gst_tee_sink_activate_pull):
2789 * plugins/elements/gsttee.h:
2791 Add default property defines.
2792 Implement release pad function.
2793 Give properties better blubs etc.
2794 Activate pads before adding them to a running tee.
2795 Do simple buffer_alloc on the first requested pad.
2796 Post error when activation fails.
2798 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2800 * gst/gst.c: (ensure_current_registry_forking):
2801 Check return value of write() to make compiler happy.
2803 2006-10-11 Wim Taymans <wim@fluendo.com>
2805 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2807 * plugins/elements/gstqueue.c: (gst_queue_chain):
2808 Recheck queue filledness after signalling the overrun when we're about
2809 to leak downstream because we released the lock when emitting the signal
2810 and the queue could be empty again. Fixes #352345.
2812 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
2814 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2815 Fix refcounting here too, just like we did for _new_valist() a few
2816 days ago (#357180) (thanks to René Stadler). Also remove all those
2817 'Since: 0.9' from the gtk-doc blobs.
2819 * tests/check/libs/controller.c: (controller_refcount_new_list),
2820 (gst_controller_suite):
2821 Unit test for the above.
2823 2006-10-10 Wim Taymans <wim@fluendo.com>
2825 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
2827 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2828 (gst_pad_save_thyself):
2830 Write pad direction in XML output. Fixes #345496.
2832 2006-10-10 Wim Taymans <wim@fluendo.com>
2834 Patch by: René Stadler <mail at renestadler dot de>
2836 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2837 (gst_controller_new_list), (_gst_controller_dispose),
2838 (_gst_controller_finalize), (_gst_controller_class_init):
2839 Take ref to controlled object so that it cannot disappear.
2842 2006-10-10 Wim Taymans <wim@fluendo.com>
2844 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2845 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2846 (gst_check_teardown_sink_pad):
2847 Activate/deactivate pads in setup/teardown respectively.
2849 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2851 Patch by: Josep Torre Valles <josep@fluendo.com>
2854 Cast values when making gstenumtypes.h. This pacifies Forte
2855 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
2858 2006-10-09 Wim Taymans <wim@fluendo.com>
2860 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
2861 Rename some more @cur to @start to fix docs.
2863 * gst/gstsegment.c: (gst_segment_set_seek):
2865 time and start must always stay in sync as defined in design doc.
2867 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2868 Rename param to fix docs.
2870 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2871 Check that start and time are in sync.
2873 * tests/check/pipelines/parse-launch.c:
2874 (gst_parse_test_element_change_state):
2875 Activate pad before adding to the element.
2877 2006-10-09 Wim Taymans <wim@fluendo.com>
2879 * docs/design/part-qos.txt:
2884 Update seek event docs regarding negative rates.
2885 Rename @cur to @start.
2887 * gst/gstsegment.c: (gst_segment_set_seek):
2889 Update set_seek docs regarding negative rates.
2890 Correctly update last_stop to @stop when dealing with negative
2892 Rename @cur to @start.
2894 * tests/check/gst/gstpad.c: (GST_START_TEST):
2895 Activate pads before trying to use them.
2897 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2898 (gst_segment_suite):
2899 Add simple check for segments and negative rates.
2901 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
2903 * gst/gsttaglist.c: (gst_tag_list_is_empty):
2905 * docs/gst/gstreamer-sections.txt:
2906 API: add gst_tag_list_is_empty() (#360467).
2908 * tests/check/gst/gsttag.c: (GST_START_TEST):
2911 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2914 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
2915 a value that doesn't fit on enumeration.
2917 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2919 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2920 Remove local debugging system and use Gstreamer's instead.
2922 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2924 Patch by: Josep Torre Valles <josep@fluendo.com>
2926 * common/m4/gst-error.m4:
2927 Disable warning of statement not reached on Forte.
2929 Fix warning on Forte (value doesn't fit on enumeration).
2930 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
2931 Fix warning on Forte (value doesn't fit on enumeration).
2932 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
2933 DEBUG macro says it takes minimum of 2 args and so Forte
2934 complains about the use with just 1 arg.
2935 * plugins/elements/gstfdsink.c:
2936 * plugins/elements/gstfdsrc.c:
2937 * plugins/elements/gstfilesink.c:
2938 * plugins/elements/gstfilesrc.c:
2939 Use correct return type for the uri handler implementations.
2941 All these fix warnings in Forte. Fixes bug #360860.
2943 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
2946 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
2947 format string, so don't use G_GNUC_PRINTF for those versions.
2949 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2951 * gst/gsttaglist.c: (gst_is_tag_list):
2953 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
2955 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2956 Small test for the above.
2958 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
2961 Less tabs, more spaces.
2963 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
2966 Those two function declarations do actually belong there, revert
2967 commit from yesterday that turned them intro macros.
2969 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2971 Patch by: Josep Torre Valles <josep@fluendo.com>
2973 * gst/gst.c: (gst_init_get_option_group):
2974 Fix empty declaration and type mismatch.
2975 * gst/gstbin.c: (gst_bin_change_state_func):
2977 * gst/gstelement.c: (gst_element_continue_state),
2978 (gst_element_set_state_func), (gst_element_change_state),
2979 (gst_element_change_state_func):
2980 Fix type mismatches.
2981 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
2982 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
2983 Cast as appropriate.
2984 * gst/gstobject.c: (gst_class_signal_connect):
2985 Cast as appropriate. The function pointer parameter really
2986 has the wrong type but would break API if we change it.
2988 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
2989 order of including string.h.
2990 * gst/gstutils.c: (gst_element_state_get_name):
2991 Remove unreachable line.
2992 * gst/gstxml.c: (gst_xml_parse_doc):
2994 All these caught by Forte.
2996 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2998 Patch by: Josep Torre Valles <josep@fluendo.com>
3000 * common/m4/gst-error.m4:
3002 We need to disable warnings on Forte for empty declarations
3003 due to gst-indent adding ;s to lines that just use macros
3004 where the macro actually doesn't need a ; at end to end
3007 2006-10-06 Wim Taymans <wim@fluendo.com>
3009 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3010 (gst_file_sink_close_file), (gst_file_sink_event),
3011 (gst_file_sink_render):
3012 Add some FIXME for the NEWSEGMENT handling.
3014 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3016 * gst/parse/grammar.y:
3017 Remove static function gst_parse_element_lock as all it does
3018 is return. Looks like cruft from 0.8.
3020 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3022 Patch by: Josep Torre Valles <josep@fluendo.com>
3024 * common/m4/gst-error.m4:
3026 * libs/gst/net/Makefile.am:
3027 Fix a compilation issue with Forte on Solaris. inet_aton is in
3030 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
3032 * gst/gstpad.c: (pre_activate):
3033 * gst/gstregistry.c: (gst_registry_scan_path_level):
3034 * gst/gstregistryxml.c: (load_plugin):
3035 * libs/gst/controller/gstcontroller.c:
3036 (gst_controlled_property_set_interpolation_mode):
3037 * libs/gst/dataprotocol/dataprotocol.c:
3038 (gst_dp_packet_from_event_1_0):
3039 * libs/gst/net/gstnetclientclock.c:
3040 (gst_net_client_clock_observe_times):
3041 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3044 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
3047 * docs/gst/gstreamer-sections.txt:
3048 * gst/gstconfig.h.in:
3051 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
3052 whether we can use G_GNUC_PRINTF in other header files and at
3053 least check the printf format/arguments of debug messages and
3054 GST_ELEMENT_ERROR messages when the printf extension is not
3056 Replace more tabs with spaces in gstinfo.h and remove two spurious
3057 function declarations in GST_DISABLE_DEBUG part with macros.
3059 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
3061 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
3062 More docs for the sync-message signal (mention that it is not
3063 emitted by default); log message structures of messages posted on
3066 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
3068 * gst/gst.c: (ensure_current_registry_forking):
3069 Use a pipe pair to receive status results from the forked child, and
3070 ignore the result from waitpid. Fixes #355499
3072 2006-10-02 Wim Taymans <wim@fluendo.com>
3074 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3075 (gst_ghost_pad_suite):
3078 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
3081 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
3083 2006-10-02 Edward Hervey <edward@fluendo.com>
3085 * docs/design/part-block.txt:
3086 Further explain the use of flushing on blocked pads.
3087 * docs/gst/gstreamer-sections.txt:
3088 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
3089 (gst_pad_push_event):
3091 Added new GstPadFlag : GST_PAD_BLOCKING.
3092 Adds the notion of pads really blocking, which enables to properly
3093 handle FLUSH_START/FLUSH_STOP events on blocked pads.
3095 API: gst_pad_is_blocking()
3096 API: GST_PAD_IS_BLOCKING() macro
3097 API: GST_PAD_BLOCKING GstPadFlag
3099 2006-10-02 Wim Taymans <wim@fluendo.com>
3101 Patch by: mrcgran <mrc.gran at gmail dot com>
3103 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
3104 Filter the proxied caps against the padtemplate if we have one.
3106 * gst/gstquery.c: (gst_query_new_segment):
3107 Add include for gstinfo.h so that compilation with
3108 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
3110 2006-10-02 Wim Taymans <wim@fluendo.com>
3112 Patch by: Alessandro Decina <alessandro at nnva org>
3114 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
3115 (gst_file_sink_set_location), (gst_file_sink_open_file),
3116 (gst_file_sink_close_file), (gst_file_sink_event),
3117 (gst_file_sink_render):
3118 Set file to NULL when closing filesink so that we can set a new filename
3119 in READY. Fixes #358613.
3121 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
3123 Patch by: Alessandro Decina <alessandro at nnva org>
3125 * gst/gstevent.c: (_gst_event_copy):
3126 Fix gst_mini_object_make_writable() and gst_event_copy() for events
3127 with event structures by setting the parent refcount address of the
3128 copied structure to the address of the refcount member of the newly
3129 copied event rather than the address of the refcount member of the
3130 original event. Fixes #358737.
3132 * tests/check/gst/gstevent.c: (GST_START_TEST):
3133 Unit test for the above.
3135 2006-09-29 Stefan Kost <ensonic@users.sf.net>
3137 * docs/design/Makefile.am:
3138 Dist some more files.
3140 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
3142 * tests/check/libs/controller.c: (GST_START_TEST),
3143 (gst_controller_suite):
3144 Add test for the previous fix; add some more tests
3145 for correct refcounting behaviour; fix a few leaks
3146 in test cases; call gst_controller_init() at start
3149 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
3151 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3152 (gst_controller_set_from_list):
3153 Don't g_return_val_if_fail() on timed values with invalid timestamps
3154 inside a critical section without unlocking the mutex. Spotted by
3155 René Stadler. (#357617)
3156 Also, fix up refcounting properly: when returning an existing
3157 controller, we should increase the reference only once and not
3158 once per property and when trying to control a property again
3159 we should also increase the refcount.
3161 2006-09-29 Wim Taymans <wim@fluendo.com>
3163 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
3164 * libs/gst/net/gstnettimeprovider.c:
3165 (gst_net_time_provider_thread):
3166 Stop reading commands when EOF as well.
3168 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3169 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3170 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3171 Unify description of the dump property.
3173 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3175 * tests/examples/manual/.cvsignore:
3176 OK, so it's actually cvsignore that needs changing. Stop laughing.
3178 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3180 * tests/examples/manual/Makefile.am:
3181 Gah, declare vars *before* using them
3183 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3185 * gst/gst.c: (init_pre), (scan_and_update_registry),
3186 (ensure_current_registry_nonforking),
3187 (ensure_current_registry_forking), (ensure_current_registry),
3188 (init_post), (gst_debug_help), (gst_deinit):
3189 * gst/gst_private.h:
3190 * gst/gstregistry.c: (gst_registry_finalize),
3191 (gst_registry_remove_features_for_plugin_unlocked),
3192 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3193 (gst_registry_scan_path),
3194 (_priv_gst_registry_remove_cache_plugins),
3195 (_priv_gst_registry_cleanup):
3196 * gst/gstregistry.h:
3197 Re-commit the registry changes, along with an extra fix:
3198 When a cached plugin is encountered at a different file path,
3199 update the stored path in the registry cache so that the parent
3200 process knows where it actually is now when it re-reads the registry
3201 cache. Fixes the thing that broke distcheck with the previous commit.
3203 * tests/check/Makefile.am:
3204 Clean up files named 'core' too when running make clean.
3206 * tests/examples/manual/Makefile.am:
3207 Set up a registry path for running these tests, and clean it properly
3210 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
3213 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
3214 want gmodule-no-export-2.0.pc instead so that we don't drag in
3215 --export-dynamic on every project that links to GStreamer.
3217 Also, make our export regex only match the start of symbols, rather
3218 than any symbol that contains '_gst' somewhere.
3220 * libs/gst/check/Makefile.am:
3221 The libgstcheck we build does however need export-dynamic, as it
3222 produces some symbols that don't match our _gst... style regex.
3225 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3227 * gst/gst.c: (init_pre), (scan_and_update_registry),
3228 (ensure_current_registry_nonforking),
3229 (ensure_current_registry_forking), (ensure_current_registry),
3230 (init_post), (gst_debug_help), (gst_deinit):
3231 * gst/gst_private.h:
3232 * gst/gstregistry.c: (gst_registry_finalize),
3233 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3234 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
3235 (_gst_registry_cleanup):
3236 * gst/gstregistry.h:
3237 Revert previous change until I figure out why it breaks distcheck.
3239 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
3241 * gst/gst.c: (init_pre), (scan_and_update_registry),
3242 (ensure_current_registry_nonforking),
3243 (ensure_current_registry_forking), (ensure_current_registry),
3244 (init_post), (gst_debug_help), (gst_deinit):
3246 Make init_pre and init_post take the full complement of GOptionFunc
3247 args so they can return useful GErrors. Make the registry updating
3250 Call _priv_gst_registry_remove_cache_plugins after scanning files to
3251 ensure that the registry we're about to write out doesn't contain
3252 stale information about old-deleted plugin files.
3254 Make _priv_gst_registry_remove_cache_plugins return a boolean so
3255 that deletion of plugin files is considered a registry change.
3257 * gst/gst_private.h:
3258 * gst/gstregistry.c: (gst_registry_finalize),
3259 (gst_registry_remove_features_for_plugin_unlocked),
3260 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
3261 (gst_registry_scan_path),
3262 (_priv_gst_registry_remove_cache_plugins),
3263 (_priv_gst_registry_cleanup):
3264 * gst/gstregistry.h:
3265 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
3266 by adding _priv prefix, so that they won't appear in the global
3267 symbol table. They still do atm though because of #318031. Move the
3268 prototypes to gst_private.h
3270 When removing a plugin, remove all features for that plugin too.
3273 2006-09-27 Wim Taymans <wim@fluendo.com>
3275 * docs/random/moving-plugins:
3276 Make it clear that the "compiled-in descriptions" really mean
3277 the element details.
3279 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3280 (gst_base_sink_wait_preroll):
3283 * docs/libs/gstreamer-libs-sections.txt:
3284 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3285 (gst_base_src_get_range), (gst_base_src_activate_push):
3286 * libs/gst/base/gstbasesrc.h:
3287 Added function to block while waiting for PLAYING, this function
3288 is used by live sources that block on the clock.
3289 API: gst_base_src_wait_playing()
3291 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3293 Patch by: Peter Kjellerstedt <pkj at axis com>
3296 gst-element-check.m4 is generated and should therefore be
3297 copied from the build dir rather than the source dir (#357593).
3298 'make distcheck' hasn't noticed this because we were disting
3299 the file as well, so stop doing that.
3301 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
3303 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3304 Add some tests for gst_caps_intersect().
3306 * tools/gst-launch.c: (event_loop):
3307 Print all buffering percentages we get, even the 100% one.
3309 2006-09-26 Wim Taymans <wim@fluendo.com>
3311 * tools/gst-inspect.c: (print_element_properties_info),
3312 (print_signal_info):
3313 Fix printing of flags to match the look of enums.
3315 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3317 * gst/gstelementfactory.c:
3318 Fix typo in docs blurb.
3320 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3322 * gst/gsturi.c: (search_by_entry):
3323 Don't assert/crash here if a uri handler doesn't return any
3324 supported protocols. The list of protocols could be generated
3325 dynamically at runtime or at plugin registration, and an error
3326 in the underlying library shouldn't be fatal (#353301).
3328 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3331 Fix warning if HAVE_PRINTF_EXTENSION is undefined
3332 (spotted by Peter Kjellerstedt).
3334 2006-09-23 Wim Taymans <wim@fluendo.com>
3336 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
3338 * libs/gst/base/gstbasesrc.c:
3339 (gst_base_src_default_check_get_range), (gst_base_src_start),
3340 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3341 (gst_base_src_change_state):
3342 Match _start/_stop calls in the activate functions. Remove redundant
3343 _stop call from the state change function. Fixes #356910.
3344 Turn failure DEBUG into ERROR.
3346 2006-09-22 Wim Taymans <wim@fluendo.com>
3348 * docs/design/part-buffering.txt:
3349 * gst/gstmessage.c: (gst_message_new_buffering),
3350 (gst_message_parse_buffering):
3351 Update docs about buffering.
3353 * docs/design/part-trickmodes.txt:
3356 2006-09-22 Stefan Kost <ensonic@users.sf.net>
3358 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3359 (gst_controller_new_list):
3360 Ref instances when returning them again (fixes #357180)
3362 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
3364 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
3365 Don't forget to release proxy lock when there's an error.
3367 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
3370 Add extra initialisers for Caps things, to fix some plugin warnings
3373 2006-09-18 Wim Taymans <wim@fluendo.com>
3375 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3376 Also set template on the internal pad so that a getcaps from the
3377 target pad returns the template caps.
3379 2006-09-18 Wim Taymans <wim@fluendo.com>
3381 * gst/gstelement.c: (gst_element_post_message),
3382 (gst_element_dispose):
3383 Use _DEBUG_OBJECT some more.
3385 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3388 * tools/gst-launch.c: (main):
3389 If the toplevel element is not a GstPipeline, it must be put in a
3390 pipeline so that a bus and clock is selected.
3392 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3394 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3395 JITTER, RATE, and LATENCY query should be handled by the
3396 default case and not by the CONVERT query code.
3398 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3400 * gst/gstformat.c: (gst_format_register):
3401 Fix locking order (must take lock before using n_values).
3403 * gst/gstvalue.c: (gst_value_serialize_enum),
3404 (gst_value_deserialize_enum_iter_cmp),
3405 (gst_value_deserialize_enum):
3406 Fix serialisation/deserialisation of custom registered GstFormats.
3408 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3409 Unit test for custom format serialisation/deserialisation.
3411 2006-09-17 Stefan Kost <ensonic@users.sf.net>
3413 * docs/pwg/building-boiler.xml:
3414 * plugins/elements/gstcapsfilter.c:
3415 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
3418 2006-09-16 Edward Hervey <edward@fluendo.com>
3420 * libs/gst/base/gstbasetransform.c:
3421 (gst_base_transform_buffer_alloc):
3422 Check if requested caps are the same as the sinks caps IF
3423 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
3425 This fixes the renegotiation issues stated in #352827.
3427 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3430 * docs/manual/advanced-autoplugging.xml:
3431 * tests/examples/Makefile.am:
3432 * tests/examples/manual/.cvsignore:
3433 * tests/examples/manual/Makefile.am:
3434 * tests/examples/manual/extract.pl:
3435 Extract the manual examples again like we used to do.
3438 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3440 * win32/common/config.h:
3443 2006-09-16 Stefan Kost <ensonic@users.sf.net>
3446 Documents how to receive errors.
3448 2006-09-15 Wim Taymans <wim@fluendo.com>
3450 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
3451 (event_loop), (main):
3452 Added some comments here and there.
3453 Post an application message when an interrupt is caught instead of doing
3454 an uncontrolled state change.
3455 Clean up the event loop.
3456 Handle buffering messages, pause/resume the pipeline.
3457 Make shutdown because of an interrupt more reliable.
3459 2006-09-15 Wim Taymans <wim@fluendo.com>
3461 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3462 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
3463 (gst_base_sink_preroll_object):
3464 Make sure that our internal state is correct when we commit our state
3465 asynchronously. This solves a race where a state change to PLAYING
3466 could cause the sink to remain blocked in preroll in some situations.
3468 2006-09-15 Wim Taymans <wim@fluendo.com>
3470 * tools/gst-inspect.c: (print_element_properties_info),
3471 (print_signal_info):
3472 List flags as hex so it's easier to deal with.
3474 2006-09-15 Wim Taymans <wim@fluendo.com>
3476 * docs/libs/gstreamer-libs-sections.txt:
3477 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
3478 (gst_base_sink_do_sync):
3479 * libs/gst/base/gstbasesink.h:
3480 Expose logic to wait for preroll so that subclasses such as audiosink
3481 can also use this method.
3482 API: gst_base_sink_wait_preroll()
3484 2006-09-15 Wim Taymans <wim@fluendo.com>
3486 * gst/gstobject.c: (gst_object_set_parent):
3487 * gst/gstpipeline.c: (do_pipeline_seek):
3488 Small cleanups in docs and code.
3490 * gst/gstsegment.c: (gst_segment_clip):
3491 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3492 if stop == start and start is in the segment, no clipping should be
3493 done. Also add a test for this.
3495 2006-09-15 Wim Taymans <wim@fluendo.com>
3497 * docs/design/part-buffering.txt:
3498 * docs/gst/gstreamer-sections.txt:
3499 * gst/gstmessage.c: (gst_message_new_buffering),
3500 (gst_message_parse_buffering):
3502 Added methods to create and parse BUFFERING messages.
3503 Added preliminary docs about buffering.
3504 API: gst_message_new_buffering
3505 API: gst_message_parse_buffering
3507 2006-09-06 Wim Taymans <wim@fluendo.com>
3510 Update documentation.
3512 * gst/gstelement.c: (gst_element_class_init),
3513 (gst_element_release_request_pad), (gst_element_set_clock),
3514 (gst_element_get_index), (gst_element_add_pad),
3515 (gst_element_remove_pad), (gst_element_get_random_pad),
3516 (gst_element_send_event), (gst_element_get_query_types),
3517 (gst_element_query), (gst_element_post_message),
3518 (gst_element_message_full), (gst_element_continue_state),
3519 (gst_element_lost_state), (gst_element_save_thyself),
3520 (gst_element_restore_thyself):
3521 Documentation updates.
3522 Rename last bit of the new-pad -> pad-added signal rename.
3523 Fix the case where an element query would only work if the source
3525 Avoid some useless type checking in message handling.
3530 Documentation updates.
3532 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3534 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3535 add an INFO line for when we actually update the fd
3537 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3542 === release 0.10.10 ===
3544 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
3547 releasing 0.10.10, "Pais"
3549 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
3551 * docs/manual/advanced-position.xml:
3552 Fix typo in sample code.
3554 2006-09-05 Wim Taymans <wim@fluendo.com>
3556 * libs/gst/net/gstnetclientclock.c: (inet_aton),
3557 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
3558 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
3559 * libs/gst/net/gstnetclientclock.h:
3560 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3561 * libs/gst/net/gstnettimepacket.h:
3562 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
3563 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
3564 (gst_net_time_provider_thread), (gst_net_time_provider_new):
3565 * libs/gst/net/gstnettimeprovider.h:
3566 Make stuff compile on windows. Fixes #345295.
3568 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3570 * gst/gst.c: (ensure_current_registry_forking):
3571 Print better details when child was terminated by signal.
3573 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
3575 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
3576 Print a warning rather than g_assert() if a plugin feature
3577 is a URI handler but returns no protocols (#353976).
3579 2006-09-02 Stefan Kost <ensonic@users.sf.net>
3581 * docs/random/moving-plugins:
3584 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
3586 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
3587 Fix locking order, handle NULL function values properly.
3592 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3593 Initialise variable before using it and fix debug statement to
3594 print the address of the function rather than the address of the
3595 variable on the stack holding the address of the function.
3597 2006-09-01 Wim Taymans <wim@fluendo.com>
3599 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
3600 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
3601 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3602 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
3603 (gst_ghost_pad_parent_unset),
3604 (gst_ghost_pad_internal_do_activate_push),
3605 (gst_ghost_pad_internal_do_activate_pull),
3606 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3607 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3608 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3609 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
3610 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
3611 (gst_ghost_pad_new_no_target_from_template),
3612 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3614 Avoid needless typechecking in macros.
3615 Since the internal pad is always present and never changes, there is
3616 no need to locking or ref when retrieving it.
3617 Improve debugging a bit.
3618 Handle link errors when setting the target. Fixes #341029.
3620 2006-09-01 Wim Taymans <wim@fluendo.com>
3622 * docs/libs/gstreamer-libs-sections.txt:
3623 * docs/plugins/gstreamer-plugins-sections.txt:
3626 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3627 (gst_collect_pads_event):
3628 * libs/gst/base/gstcollectpads.h:
3629 Documentation updates.
3630 Free queued buffer when removing a pad.
3632 2006-08-31 Michael Smith <msmith@fluendo.com>
3634 * gst/gstutils.c: (gst_element_link_pads),
3635 (gst_element_link_pads_filtered):
3636 Ensure that we set a capsfilter to NULL if we failed to link it
3637 when doing filtered linking, to avoid criticals.
3639 No need to check for unreffing srcpad, which is explicly NULLed
3640 above (a trivial code cleanup).
3642 2006-08-31 Wim Taymans <wim@fluendo.com>
3644 * docs/design/part-gstghostpad.txt:
3645 Update ascii art in documentation.
3647 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
3648 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
3649 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
3650 (gst_ghost_pad_internal_do_activate_push),
3651 (gst_ghost_pad_internal_do_activate_pull),
3652 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
3653 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3654 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
3655 (gst_ghost_pad_set_target):
3656 Small cleanups and leak fixes.
3657 Remove some checks now that the internal pad is never NULL.
3658 Fix the case where linking pads without a target would create nasty
3659 criticals. Fixes #341029.
3660 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
3661 value of _set_target().
3663 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3664 (gst_ghost_pad_suite):
3665 Some more tests for creating and linking untargeted ghostpads.
3667 2006-08-31 Edward Hervey <edward@fluendo.com>
3669 * docs/gst/gstreamer-sections.txt:
3670 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
3671 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
3672 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
3673 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
3674 (gst_ghost_pad_new_from_template),
3675 (gst_ghost_pad_new_no_target_from_template):
3676 * gst/gstghostpad.h:
3677 Refactored *_new() functions.
3678 Templates are now used as a g_object_new() parameter.
3679 Use template in _do_getcaps() if we don't have a target.
3680 Small documentation cleanups.
3681 Added two new constructors:
3682 gst_ghost_pad_new_from_template()
3683 gst_ghost_pad_new_no_target_from_template()
3684 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
3685 (gst_ghost_pad_suite):
3686 Added tests for new ghostpad instanciation functions.
3688 API additions: gst_ghost_pad_new_from_template,
3689 gst_ghost_pad_new_no_target_from_template
3691 2006-08-30 Stefan Kost <ensonic@users.sf.net>
3693 * docs/random/ensonic/profiling.txt:
3694 Ideas about qos profiling.
3696 2006-08-29 Wim Taymans <wim@fluendo.com>
3698 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
3702 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
3705 Improve and detypofy docs.
3707 * tests/check/Makefile.am:
3708 * tests/check/gst/.cvsignore:
3709 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
3710 Add a basic test suite for GstXML.
3712 2006-08-29 Wim Taymans <wim@fluendo.com>
3714 * gst/gstelement.c: (activate_pads), (clear_caps),
3715 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
3716 Clear the pad caps when the element shut down all of the pads and
3717 is not streaming data that could modify the caps.
3720 2006-08-28 Michael Smith <msmith@fluendo.com>
3722 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3723 Revert previous change; I misunderstood single-segment mode.
3725 2006-08-28 Michael Smith <msmith@fluendo.com>
3727 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3728 Unset DISCONT on buffers when using single-segment mode.
3730 2006-08-28 Wim Taymans <wim@fluendo.com>
3732 * gst/gstcaps.c: (gst_caps_merge_structure):
3734 Fix docs and indentation again.
3736 * tests/check/gst/gstquery.c: (GST_START_TEST):
3737 Fix leak in tests and add some more tests.
3739 2006-08-28 Edward Hervey <edward@fluendo.com>
3741 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3742 Inform GstSegment of the last stop position in order for the current
3743 segment to have a proper duration if it doesn't have a specific stop
3744 position from which a duration could be calculated.
3745 This bug was noticeable when a non-flushing, non-update new segment was
3746 followed by another segment (all buffers from the new segment were being
3749 2006-08-28 Wim Taymans <wim@fluendo.com>
3751 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3752 Small comment update.
3754 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3755 (gst_identity_transform_ip):
3756 Drop-probability is broken, mention this in the code with a
3757 FIXME and also in the property description.
3758 Make silent also be silent about the drop messages.
3760 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
3762 * docs/manual/appendix-win32.xml:
3763 Remove mention of popt, we don't depend on that any
3764 longer (#353136). Add some comments pointing out that
3765 this section is slightly outdated.
3767 2006-08-28 Wim Taymans <wim@fluendo.com>
3769 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3771 * gst/gstquery.c: (gst_query_new_segment):
3772 * tests/check/gst/gstquery.c: (GST_START_TEST):
3773 Initialize variables when creating a new segment query.
3776 2006-08-28 Wim Taymans <wim@fluendo.com>
3778 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
3780 * gst/gstelement.c: (gst_element_get_bus):
3781 * tests/check/gst/gstelement.c: (GST_START_TEST):
3782 Check for NULL before _reffing the bus. Fixes #353122.
3784 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
3786 * docs/manual/basics-bus.xml:
3787 Docs update: fix wrong callback return value explanation; add
3788 some lines about the implicit relationship between main loop
3789 and main context; remove duplicate main loop variable declaration.
3791 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
3793 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3794 Don't leak caps in unit test; add a few more simple
3797 2006-08-24 Stefan Kost <ensonic@users.sf.net>
3799 * docs/gst/gstreamer-sections.txt:
3800 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
3801 (gst_caps_structure_is_subset), (gst_caps_merge),
3802 (gst_caps_merge_structure):
3804 * libs/gst/base/gstbasetransform.c:
3805 (gst_base_transform_transform_caps):
3806 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3807 implement caps merging (fixes #352580)
3809 2006-08-23 Stefan Kost <ensonic@users.sf.net>
3811 * tools/Makefile.am:
3812 * tools/gst-plot-timeline.py:
3813 add debug-log plotting developer tool (#340674)
3815 2006-08-23 Wim Taymans <wim@fluendo.com>
3817 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
3818 (gst_pad_stop_task):
3819 Improve debugging for task functions.
3821 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
3822 (gst_task_start), (gst_task_pause), (gst_task_join):
3823 Make sure that the task function started and finished after a
3825 Don't try to push the task function on the threadpool multiple
3827 Improve the g_warning message with some useful suggestions
3828 about how to fix the problem.
3830 2006-08-23 Wim Taymans <wim@fluendo.com>
3832 * gst/gstutils.c: (gst_pad_proxy_getcaps):
3833 Handle RESYNC correctly in _proxy_getcaps.
3835 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
3837 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
3838 (gst_xml_parse_memory), (gst_xml_get_element):
3839 Chain up to parent class in dispose function and also
3840 unref the elements in the toplevel_elements GList.
3841 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
3842 Always return a reference in gst_xml_get_element() rather
3843 than only sometimes.
3845 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3846 Don't leak GstXml object.
3848 2006-08-21 Stefan Kost <ensonic@users.sf.net>
3850 * docs/gst/gstreamer-sections.txt:
3851 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
3854 * libs/gst/base/gstbasetransform.c:
3855 (gst_base_transform_transform_caps):
3856 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
3859 2006-08-21 Edward Hervey <edward@fluendo.com>
3861 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
3862 Implement GObject::dispose virtual method in GstXML so we can free the
3865 2006-08-21 Wim Taymans <wim@fluendo.com>
3867 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
3868 (gst_buffer_create_sub):
3869 Copy duration/offset_end/caps when creating a subbuffer of the
3871 Make the subbuffer read-only when we make the metadata writable for
3874 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3875 Added check for metadata copy when creating subbuffers.
3877 2006-08-21 Edward Hervey <edward@fluendo.com>
3879 * libs/gst/base/gstbasetransform.c:
3880 (gst_base_transform_buffer_alloc):
3881 Only call downstream buffer_alloc if transform element is passthrough
3882 or always_in_place. Closes #350449.
3884 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3887 ChangeLog surgery to add comments to previous changes
3889 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3894 * gst/gstpad.c: (gst_pad_set_active):
3895 Be more verbose in the log
3897 * libs/gst/base/gstbasetransform.c:
3898 (gst_base_transform_transform_caps):
3899 Simplify caps to get rid of duplicates, fixes #345444
3901 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3905 Use these optimizations only internally.
3907 2006-08-20 Stefan Kost <ensonic@users.sf.net>
3909 * gst/gstvalue.c: (gst_value_compare_list),
3910 (gst_value_compare_fraction_range),
3911 (gst_value_intersect_fraction_fraction_range),
3912 (gst_value_intersect_fraction_range_fraction_range),
3913 (gst_value_subtract_fraction_fraction_range),
3914 (gst_value_subtract_fraction_range_fraction_range),
3915 (gst_value_get_compare_func), (gst_value_compare),
3916 (gst_value_compare_with_func):
3918 Saves the expensive lookup of the compare function in many cases
3921 2006-08-18 Edward Hervey <edward@fluendo.com>
3923 * tests/check/gst/gstinfo.c: (gst_info_suite):
3924 Disable test that require gstdebug if it wasn't built in core.
3926 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3928 * docs/random/ensonic/logging.txt:
3931 * gst/gstinfo.c: (gst_debug_log_default):
3932 reorder fields, save some columns, add optional color codes for log
3935 2006-08-18 Stefan Kost <ensonic@users.sf.net>
3937 * docs/random/ensonic/logging.txt:
3938 add ideas about making the logs a bit more useful
3940 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3942 * docs/pwg/advanced-events.xml:
3943 * docs/pwg/titlepage.xml:
3944 Update for 0.10 API (#340627). Add myself
3947 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
3949 * docs/libs/gstreamer-libs-docs.sgml:
3950 * docs/libs/gstreamer-libs-sections.txt:
3951 * libs/gst/check/gstbufferstraw.c:
3952 Make gstcheck stuff show up in docs (still needs to
3953 be documented properly though).
3955 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
3957 * docs/gst/gstreamer-sections.txt:
3959 * gst/gst.c: (init_post):
3960 * gst/gst_private.h:
3961 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3963 * gst/gstquery.c: (gst_query_new_position),
3964 (gst_query_set_position), (gst_query_parse_position),
3965 (gst_query_new_duration), (gst_query_set_duration),
3966 (gst_query_parse_duration), (gst_query_new_convert),
3967 (gst_query_set_convert), (gst_query_parse_convert),
3968 (gst_query_new_segment), (gst_query_set_segment),
3969 (gst_query_parse_segment), (gst_query_new_seeking),
3970 (gst_query_set_seeking), (gst_query_parse_seeking):
3971 Add internal helpers for pre-registering quarks from static strings
3972 and using the quark values directly instead of looking them up when
3973 creating and parsing queries. Can be used for event construction too.
3976 2006-08-16 Wim Taymans <wim@fluendo.com>
3981 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3983 * gst/gstutils.c: (gst_util_set_value_from_string):
3984 Fix memleak (#351502).
3986 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3987 Add unit test for most of gst_util_set_value_from_string()
3988 (not that one would want to encourage use of this function).
3990 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3992 * libs/gst/check/gstcheck.h:
3993 Use const gchar * variables in fail_unless_equals_string
3994 macro to avoid compiler warnings (and don't use tabs for
3997 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
3999 * tools/gst-launch.c: (print_tag):
4000 More space on the left for the tag names, to cater
4001 for the 'extended comment' tag (not touching the
4002 string for the first line since it's translated).
4004 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
4006 * libs/gst/check/gstcheck.h:
4007 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
4008 print something when they fail.
4010 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4012 * docs/gst/gstreamer-sections.txt:
4013 * gst/gsttaglist.c: (_gst_tag_initialize):
4015 API: add GST_TAG_EXTENDED_COMMENT (#350935).
4016 Also change merge function for GST_TAG_COMMENT to
4019 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4021 * gst/gstinfo.c: (gst_debug_print_object):
4022 Make GST_PTR_FORMAT print messages as well.
4024 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
4025 (GST_START_TEST), (gst_info_suite):
4028 2006-08-14 Edward Hervey <edward@fluendo.com>
4030 * gst/gstelementfactory.c: (gst_element_register):
4031 If the GstElementClass doesn't have a GstElementDetails with all fields
4032 filled up correctly (longname, description AND author), then error out
4033 nicely instead of crashing.
4035 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
4037 * gst/gststructure.c:
4038 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
4041 Expand on the difference between arrays and lists as we use them.
4043 2006-08-14 Wim Taymans <wim@fluendo.com>
4045 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4046 If the parent state change function failed, don't assume we can safely
4047 stop the source, this will be done when the pads are deactivated.
4049 2006-08-14 Wim Taymans <wim@fluendo.com>
4052 * gst/gsttask.c: (gst_task_join):
4055 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4056 (gst_pad_stop_task):
4057 When pad (de)activation failed for some reason, restore the old
4058 activation mode and set the pad to flushing instead of assuming the
4060 If the _task_join() failed, reinstall the task on the pad so that it can
4061 be stopped later and return an error.
4063 2006-08-11 Andy Wingo <wingo@pobox.com>
4066 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4067 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
4068 is only for users of API that don't want to see deprecated
4069 functions in the headers; people that want to compile out
4070 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
4071 CFLAGS. Fixes the build of multifdsink, or will soon..
4073 2006-08-11 Wim Taymans <wim@fluendo.com>
4075 * docs/gst/gstreamer-sections.txt:
4076 Add GstClockClass vmethod docs.
4079 Mark #endif with comment for associated #if
4081 * gst/gstclock.c: (gst_clock_id_wait):
4083 Add vmethod wait_jitter to avoid an unneeded _get_time() for
4084 most clock implementations.
4086 Flesh out docs about resolution methods.
4087 API: GstClockClass::wait_jitter
4089 * gst/gstsystemclock.c: (gst_system_clock_class_init),
4090 (gst_system_clock_async_thread),
4091 (gst_system_clock_id_wait_jitter_unlocked),
4092 (gst_system_clock_id_wait_jitter):
4093 Use base class wait_jitter variant for improved performance
4094 due to less clock polling.
4096 2006-08-11 Edward Hervey <edward@fluendo.com>
4098 * gst/gst.c: (gst_init_check), (init_post):
4099 Set gst as being initialized before scanning/updating the registry,
4100 since there might be my python plugin loader that calls gst_init() and
4101 we don't want to loop back in.
4104 2006-08-11 Wim Taymans <wim@fluendo.com>
4106 * docs/design/part-qos.txt:
4107 Bring docs in line with the code. Mostly the sign of the jitter was
4108 wrong in the docs. Fixes #349943.
4111 Fix the docs for the jitter.
4113 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
4114 (gst_event_parse_tag), (gst_event_new_buffer_size),
4115 (gst_event_parse_buffer_size), (gst_event_parse_qos),
4116 (gst_event_new_seek), (gst_event_parse_seek),
4117 (gst_event_new_navigation):
4118 Make sure the GstStructure has no parent when creating custom
4120 Add some more argument checking so that we avoid 0.0 rates.
4121 Flesh out the docs for the QoS event some more.
4123 2006-08-11 Wim Taymans <wim@fluendo.com>
4125 * docs/gst/gstreamer-sections.txt:
4126 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4127 (ensure_current_registry_forking), (ensure_current_registry),
4128 (parse_one_option), (parse_goption_arg), (gst_deinit),
4129 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
4132 Added API and command line option to disable registry forking in
4133 addition to the environment variable.
4134 Constify some static arrays.
4135 Added some more debug.
4137 API: gst_registry_fork_is_enabled()
4138 API: gst_registry_fork_set_enabled()
4139 API: --gst-disable-registry-fork command line option
4142 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
4144 * gst/gst.c: (gst_init):
4145 Fix typo in error message.
4147 2006-08-10 Stefan Kost <ensonic@users.sf.net>
4149 * libs/gst/controller/gstcontroller.h:
4150 fix ABI size-correction
4152 * tests/check/libs/gdp.c: (gst_dp_suite):
4153 make tests that use deprecated API conditional
4155 2006-08-10 Stefan Kost <ensonic@users.sf.net>
4157 * docs/libs/gstreamer-libs-sections.txt:
4158 * libs/gst/controller/gstcontroller.c:
4159 (_gst_controller_get_property), (_gst_controller_set_property),
4160 (_gst_controller_init), (_gst_controller_class_init):
4161 * libs/gst/controller/gstcontroller.h:
4162 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
4163 (gst_object_set_control_rate):
4164 API: add gst_object_{s,g}et_control_rate(), add private data section,
4167 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
4168 * libs/gst/dataprotocol/dataprotocol.h:
4169 add deprecation guards to make gtk-doc happy and allow disabling cruft
4171 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
4173 * tests/check/Makefile.am:
4174 * tests/check/gst/.cvsignore:
4175 Let's enable the new unit test as well.
4177 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
4180 * docs/gst/gstreamer-sections.txt:
4181 * gst/gstconfig.h.in:
4182 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
4183 (_gst_info_printf_extension_ptr),
4184 (_gst_info_printf_extension_segment):
4185 API: add GST_SEGMENT_FORMAT, which is a printf extension we
4186 register that lets us easily dump GstSegments into debug
4189 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
4190 (info_segment_format_printf_extension), (gst_info_suite):
4191 Add simple unit test that logs a bunch of different segments (not
4192 valgrinded at the moment because of leaks in
4193 gst_debug_add_log_function).
4195 2006-08-09 Edward Hervey <edward@fluendo.com>
4197 * libs/gst/base/gstbasetransform.c:
4198 (gst_base_transform_buffer_alloc):
4199 Even if we can't figure out the proper format to request downstream,
4200 call buffer_alloc() downstream with the input parameters without setting
4201 the caps on the srcpad. This will force negotiation in the chain
4205 2006-08-08 Edward Hervey <edward@fluendo.com>
4207 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
4208 Unlinking from a pad without a target is now a perfectly valid case
4209 which should NOT raise an assertion.
4210 This case would happen if a linked ghostpad its target set to NULL after
4211 it was previously linked.
4213 2006-08-08 Edward Hervey <edward@fluendo.com>
4215 * tests/check/libs/gdp.c:
4216 Also comment out the test (see below).
4218 2006-08-08 Edward Hervey <edward@fluendo.com>
4220 * tests/check/libs/gdp.c: (gst_dp_suite):
4221 Use the architecture information from config.h and not gcc macros
4222 in order to properly disable a test that fails on PPC64.
4224 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
4226 * gst/gstelement.c: (gst_element_remove_pad):
4227 Don't crash printing the warning if the pad has no parent.
4229 2006-08-02 Wim Taymans <wim@fluendo.com>
4231 * libs/gst/dataprotocol/dataprotocol.c:
4232 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
4233 (gst_dp_crc), (gst_dp_header_payload_length),
4234 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
4235 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
4236 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
4237 (gst_dp_event_from_packet), (gst_dp_validate_header),
4238 (gst_dp_validate_payload):
4239 Make debug category static
4240 Constify the crc table.
4241 Do some more arg checking in public functions.
4242 Fix some docs and do some small cleanups.
4244 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
4245 Add some more checks to see if GDP deals with bogus input.
4247 2006-07-31 Wim Taymans <wim@fluendo.com>
4249 * gst/gstvalue.c: (gst_value_compare_list):
4250 Fix GstValueList comparison code. Fixes #347293.
4252 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4253 Check to test GstValueList comparison.
4255 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4257 * gst/gstelementfactory.c: (gst_element_factory_create):
4258 Remove unnecessary ref/unref pair
4260 * gst/parse/grammar.y:
4261 Make sure to free the parse buffer on all code paths.
4262 Move a g_free up to the error handler where it's easier to see.
4264 * tests/check/gst/gstevent.c: (test_event):
4265 Extending timeout for downstream travelling events to 10 seconds to
4266 hopefully avoid intermittent failure on the buildbots.
4268 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
4269 Don't manually set the state of the src element - it will happen as a
4270 natural consequence of the pipeline changing state, and that way it
4271 will do it in the right order too.
4273 2006-07-31 Wim Taymans <wim@fluendo.com>
4275 * libs/gst/base/gstbasetransform.c:
4276 (gst_base_transform_buffer_alloc):
4277 Use OBJECT_LOCK and refcounting to get the pad caps in the
4278 buffer_alloc function because the caps could change while we are
4279 busy with them. Fixes #349105
4281 2006-07-31 Wim Taymans <wim@fluendo.com>
4283 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
4284 Protect _PAD_CAPS with OBJECT_LOCK.
4286 2006-07-31 Wim Taymans <wim@fluendo.com>
4288 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
4289 (gst_pad_get_property), (gst_pad_activate_pull),
4290 (gst_pad_activate_push), (gst_pad_set_blocked_async),
4291 (gst_pad_set_activate_function),
4292 (gst_pad_set_activatepull_function),
4293 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
4294 (gst_pad_set_getrange_function),
4295 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
4296 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4297 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
4298 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
4299 (gst_pad_set_acceptcaps_function),
4300 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4301 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
4302 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
4303 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
4304 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
4305 (gst_pad_configure_sink), (gst_pad_configure_src),
4306 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
4307 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
4308 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
4309 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
4310 (gst_pad_send_event):
4311 Use _DEBUG_OBJECT when it makes sense.
4312 Protect GST_PAD_CAPS with the OBJECT_LOCK.
4313 Small cleanups and code reflows.
4314 Avoid caps refcounting in _accept_caps.
4315 Refactor alloc_buffer so that the code performed on the peer is in a
4316 separate function. Also if the pad does not implement a buffer alloc
4317 function, we should still check if the pad is flushing before falling
4318 back to the default allocator.
4320 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
4322 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4323 Make all uses of identity and fakesink have silent=true to avoid
4324 serialising every passing data structure, which is breaking tests
4325 on FC4 for some unknown reason.
4327 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4329 * gst/parse/Makefile.am:
4330 * gst/parse/grammar.y:
4331 * gst/parse/parse.l:
4332 Reverted previous patch as it required to bump the flex dependency to
4333 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
4335 2006-07-30 Stefan Kost <ensonic@users.sf.net>
4337 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
4339 * gst/parse/Makefile.am:
4340 * gst/parse/grammar.y:
4341 * gst/parse/parse.l:
4342 push & pop the state of the lexer for reentrant use case
4345 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
4347 * libs/gst/base/gstbasesrc.h:
4348 Note in the docs that the ::newsegment vfunc is not actually used by
4351 2006-07-28 Wim Taymans <wim@fluendo.com>
4353 * libs/gst/base/gstcollectpads.c:
4354 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
4355 (gst_collect_pads_clear), (gst_collect_pads_flush),
4356 (gst_collect_pads_event), (gst_collect_pads_chain):
4357 When flushing a pad, also clear the queued buffer so that we don't
4358 accidentally use it when we shouldn't.
4359 Fix leaks by inreffing incomming buffer.
4360 Flush out queued buffers in case of errors.
4363 2006-07-28 Wim Taymans <wim@fluendo.com>
4365 * docs/random/phonon-gst:
4366 Random notes about a Phonon backend.
4368 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4370 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4372 * tests/check/libs/gdp.c: (gst_dp_suite):
4373 Take a whack at fixing the ppc compile using a different define to
4374 disable the broken test.
4376 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4377 Remove excess g_print()
4379 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4381 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4382 Oops, meant to uncomment this line too to dampen the noise a bit.
4384 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4386 * gst/parse/grammar.y:
4387 * gst/parse/parse.l:
4388 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4389 (GST_START_TEST), (parse_suite):
4390 Fix some of the leaks exposed by extending the parse-launch testsuite,
4391 and move the 3 I can't figure out into a separate test that won't run
4392 the pipelines unless the appropriate line is uncommented.
4394 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4396 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4397 Requesting 0 bytes before the end of the file should result in
4398 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
4401 2006-07-27 Wim Taymans <wim@fluendo.com>
4403 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
4404 Fix useless assert, a uint is always positive.
4406 * gst/gststructure.c: (gst_structure_nth_field_name),
4407 (gst_structure_foreach), (gst_structure_map_in_place):
4408 Check input arguments for public functions to avoid obvious crashes.
4410 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
4411 * plugins/elements/gstfakesink.h:
4412 Do less useless typechecking.
4414 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
4416 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4417 Do not use mmap() by default since there are a number of error
4418 conditions that we would like to handle in a non-fatal way that
4419 will result in a SIGBUS if we use mmap(). Examples: external
4420 devices (USB harddrive, portable music player) being unplugged
4421 while in use; file on mounted CD/DVD that can't be read because
4422 the medium is partly damaged. Fixes #348455 and #348475.
4424 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
4427 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
4430 2006-07-26 Stefan Kost <ensonic@users.sf.net>
4432 * gst/gstregistry.c:
4433 Move big documentation comment into class section header, so that it
4434 appears in the API docs.
4436 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4438 * docs/gst/gstreamer-sections.txt:
4439 Oops. Commit the docs additions too for new API.
4440 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
4442 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4444 * gst/gststructure.c: (gst_structure_id_set),
4445 (gst_structure_id_set_valist):
4446 * gst/gststructure.h:
4447 Add API for setting values into structures without performing
4448 a quark lookup, if the appropriate quark is already known.
4450 API: gst_structure_id_set
4451 API: gst_structure_id_set_valist
4453 * gst/parse/grammar.y:
4454 * gst/parse/parse.l:
4455 Remove some dead code shown by the coverage information.
4456 Don't throw a critical g_warning when encountering a syntax error,
4457 just warn and let the normal error path handle it.
4459 * plugins/elements/gstelements.c:
4460 Bump the rank of filesink up to PRIMARY so that it is preferred over
4461 gnomevfssink for file:// sink uri's
4463 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
4464 (GST_START_TEST), (run_delayed_test),
4465 (gst_parse_test_element_base_init),
4466 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
4467 (gst_parse_test_element_change_state),
4468 (gst_register_parse_element), (parse_suite):
4469 Beef up the tests for parse syntax to check that more error cases
4470 fail as they are supposed to. Increases the test coverage a bit.
4472 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
4474 * docs/manual/basics-elements.xml:
4475 Fix gst_element_link() example.
4478 Mention in API docs that one should usually gst_bin_add()
4479 elements to a bin or pipeline before doing the linking.
4481 2006-07-26 Wim Taymans <wim@fluendo.com>
4483 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4484 (gst_subbuffer_get_type), (gst_buffer_create_sub):
4485 Avoid function call for known types by keeping the buffer and
4486 subbuffer GType global.
4488 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4489 Random silly optimisations in read() path.
4491 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
4493 * tools/gst-launch.c: (main):
4494 If the top-level of the parse is a normal bin, it doesn't do the
4495 right logic to run as a top-level element, so place it inside a
4498 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
4500 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
4501 Remove superfluous g_object_notify() calls, GObject does
4502 that for us automatically.
4504 2006-07-25 Stefan Kost <ensonic@users.sf.net>
4507 on Win32, use dllspec to export the debug category symbols
4509 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
4511 * gst/gsttaglist.c: (_gst_tag_initialize):
4512 Allow more than one GST_TAG_IMAGE per taglist.
4514 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
4516 * gst/gstminiobject.c:
4518 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
4519 (gst_fd_src_create):
4520 log recurring events at LOG level
4521 add more debug for when the fd gets set
4523 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4525 * gst/gstparse.c: (gst_parse_launch):
4526 Also remove reentrance checks if flex is MT safe (#348179)
4527 Fix my empty ChangeLog entry below
4529 2006-07-21 Andy Wingo <wingo@pobox.com>
4531 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
4533 * libs/gst/check/Makefile.am
4534 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
4535 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
4536 * libs/gst/check/gstbufferstraw.h:
4537 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
4538 functions, thus proving I am still a GStreamer haxor. OK I wrote
4539 them a long time ago, but anyways.
4541 2006-07-21 Stefan Kost <ensonic@users.sf.net>
4544 * gst/gstparse.c: (gst_parse_launch):
4545 Check for flex version and omit mutex if we have a MT save flex
4548 2006-07-21 Wim Taymans <wim@fluendo.com>
4550 * gst/gstparse.c: (gst_parse_launch):
4551 Protect recursive calls to _parse with a recursive mutex
4554 2006-07-21 Wim Taymans <wim@fluendo.com>
4556 * tests/check/gst/gstpad.c: (GST_START_TEST):
4559 2006-07-20 Stefan Kost <ensonic@users.sf.net>
4561 * gst/gstparse.c: (gst_parse_launch):
4562 Do not hang on recursive usage of gst_parse_launch()
4564 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4567 Add some more docs, comments and FIXME 0.11s here and there
4568 and also fix some typos.
4570 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
4573 Convert tabs to spaces for better readability.
4575 2006-07-20 Edward Hervey <edward@fluendo.com>
4577 * tests/check/libs/gdp.c: (gst_dp_suite):
4578 the test_buffer test fails at line 140 on ppc64 at the following
4580 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
4581 GST_BUFFER_FLAG_IN_CAPS),
4582 "GST_BUFFER_IN_CAPS flag should have been copied !");
4583 See bug #348114 for more details.
4585 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
4587 * docs/pwg/advanced-scheduling.xml:
4589 Fix typos (#348000).
4591 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
4593 * docs/pwg/intro-basics.xml:
4594 Fix wrong links (#347927).
4596 2006-07-18 Stefan Kost <ensonic@users.sf.net>
4598 * gst/gstregistry.h:
4599 * gst/gstregistryxml.c: (load_feature),
4600 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
4601 * win32/common/config.h:
4602 make --disable-index work (#342564)
4604 2006-07-18 Wim Taymans <wim@fluendo.com>
4606 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4610 The attached patch adds two missing defines to gsttrace.h when tracing
4611 is disabled. It also corrects one existing define.
4614 2006-07-17 Wim Taymans <wim@fluendo.com>
4616 * docs/gst/gstreamer-sections.txt:
4617 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
4619 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
4620 Add two functions to check and change the SIGSEGV behaviour
4621 when loading plugins.
4622 Don't mess with the SIGSEGV handler when we were told not to.
4624 API: gst_segtrap_is_enabled
4625 API: gst_segtrap_set_enabled
4627 2006-07-14 Wim Taymans <wim@fluendo.com>
4629 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4630 * tests/check/elements/filesrc.c: (GST_START_TEST):
4631 Revert fix for regression in #347408 after release.
4633 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
4635 Patch by: Antoine Tremblay <hexa00 at gmail com>
4637 * gst/gstutils.c: (gst_element_unlink):
4638 Free iterator when done (#347311).
4640 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4641 And add a test case for this.
4643 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
4646 Bump nano back to CVS
4648 === release 0.10.9 ===
4650 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
4653 releasing 0.10.9, "On the road again"
4655 2006-07-13 Wim Taymans <wim@fluendo.com>
4657 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4658 * tests/check/elements/filesrc.c: (GST_START_TEST):
4659 Revert pull-0 fix for release. Disable check. Fixes #347408.
4661 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4663 * libs/gst/dataprotocol/dataprotocol.c:
4664 (gst_dp_event_from_packet_1_0):
4665 Fixes #347337: failure to deserialize event packets with
4666 empty payload (only event type)
4668 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4671 do not install a .c file in the header directory
4673 2006-07-13 Edward Hervey <edward@fluendo.com>
4675 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4676 GhostPad no longer implicitely use the padtemplates of the targets.
4679 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
4681 * gst/gstvalue.c: (gst_value_compare_list),
4682 (gst_value_compare_array), (_gst_value_initialize):
4683 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4684 Make GstValueArray comparison be order dependent as designed.
4685 Add checks for value lists and value array comparisons.
4688 2006-07-11 Edward Hervey <edward@fluendo.com>
4690 * gst/gstbin.c: (activate_pads),
4691 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
4692 (gst_bin_change_state_func):
4693 (de)activate src pads before calling state_change on the childs.
4694 This is to avoid the case where a src ghostpad is blocked (holding the
4695 stream lock), which would block the deactivation of the ghostpad's
4697 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
4698 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
4699 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
4700 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4701 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4702 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4703 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
4704 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
4705 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
4706 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
4707 (gst_ghost_pad_class_init),
4708 (gst_ghost_pad_internal_do_activate_push),
4709 (gst_ghost_pad_internal_do_activate_pull),
4710 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4711 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4712 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
4713 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
4714 GhostPads now create their internal GstProxyPad at creation (and not
4715 when they're linked, as it was being done previously).
4716 The internal and target pads are linked straight away.
4717 The data will also travel through the other pad in order to make
4718 pad blocking and probes non-hackish (the probe/block now really happens
4719 on the GhostPad and not on the target).
4720 * gst/gstpad.c: (gst_pad_set_blocked_async),
4721 (gst_pad_link_prepare), (gst_pad_push_event):
4722 Remove previous ghostpad cruft.
4723 * gst/gstutils.c: (gst_pad_add_data_probe),
4724 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4725 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4726 (gst_pad_remove_buffer_probe):
4727 Remove previous ghost pad cruft.
4728 Added more detailed debug statements.
4729 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4730 Fix the testsuite for refcounting changes.
4731 The comments about who has references were correct, but the refcount
4732 being checked wasn't the same (!?!).
4736 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4738 * docs/gst/gstreamer-sections.txt:
4739 * gst/gstconfig.h.in:
4740 More docs for configuration options, add docs to gtk-doc.
4742 2006-07-10 Stefan Kost <ensonic@users.sf.net>
4745 * gst/gstconfig.h.in:
4746 * win32/common/config.h:
4747 Fix build when disabling tracing (fixes #344016). Also start to document
4748 the defines that disable the sub-systems.
4750 2006-07-10 Edward Hervey <edward@fluendo.com>
4752 * gst/gst.c: (ensure_current_registry_forking):
4753 let's make valgrind happy...
4755 2006-07-09 Wim Taymans <wim@fluendo.com>
4757 * gst/gstelement.c: (activate_pads),
4758 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
4759 Better pad activation code: Reset the collect value too on resync.
4762 2006-07-09 Wim Taymans <wim@fluendo.com>
4764 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
4765 (gst_pad_activate_push):
4766 Use some more macros where it makes sense.
4767 Allow pad mode switching instead of asserting. When a pad
4768 is activated in one mode and we activate it in another,
4769 deactivate it first before activating it in a different mode.
4772 2006-07-08 Andy Wingo <wingo@pobox.com>
4774 * tools/gst-launch.c (main): Handle err == NULL.
4776 * gst/gst.c (init_post, ensure_current_registry)
4777 (ensure_current_registry_forking)
4778 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
4779 factoring out the registry scanning into separate functions. Don't
4780 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
4781 Better environment var name/interface suggestions accepted.
4783 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4785 * gst/gstobject.c: (gst_object_set_name_default),
4786 (gst_object_set_name):
4787 Random micro-optimisation: don't use a hash table
4788 with strings as keys and the usual strdup/strcmp
4789 involved, but rather just use the GQuark of the
4790 type name as key, since it needs to be looked up
4791 anyway to get the type name string.
4793 * tests/check/gst/gstobject.c: (GST_START_TEST):
4796 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4798 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
4799 (gst_bin_iterate_all_by_interface):
4800 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
4801 GTypes are gulongs and thus the top 4 bytes might be cut
4802 off on some platforms when doing GPOINTER_TO_INT, leading
4803 to invalid GTypes and bad things happening (see RH bug #179654).
4804 Also add a check to make sure the type passed in is really
4807 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4812 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
4816 * gst-element-check.m4:
4817 * gst-element-check.m4.in:
4818 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
4819 instead of the unversioned gst-inspect (#324176, #168659).
4821 2006-07-06 Wim Taymans <wim@fluendo.com>
4824 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
4827 2006-07-06 Wim Taymans <wim@fluendo.com>
4829 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4830 (gst_base_src_wait), (gst_base_src_update_length),
4831 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
4832 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
4833 (gst_base_src_loop), (gst_base_src_start),
4834 (gst_base_src_activate_pull):
4836 blocksize == 0 now means the default blocksize when working in push
4838 Remove some pointless asserts in _wait function.
4839 Fix offset/length calculations and EOS handling. We can now pull 0
4840 bytes as well, which is allowed.
4841 use _check_get_range() to decide if we can operate in _pull based
4843 Fix refcounting leak when check_get_range function was not
4845 API GstBaseSrc::blocksize range can be 0 too now (default)
4847 * tests/check/elements/filesrc.c: (GST_START_TEST),
4849 Added check to test _get_range() behaviour.
4851 2006-07-06 Wim Taymans <wim@fluendo.com>
4853 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
4854 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
4855 (gst_pad_pull_range):
4857 Lots of comments and docs added to the pad functions.
4858 Flesh out the expected behaviour of the get_range() functions.
4860 2006-07-06 Wim Taymans <wim@fluendo.com>
4865 * gst/gstiterator.h:
4869 Remove comma at end of enumerator list.
4871 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
4873 * win32/common/libgstbase.def:
4874 * win32/common/libgstdataprotocol.def:
4875 * win32/common/libsgtreamer.def:
4876 Add new exported functions.
4878 2006-07-05 Wim Taymans <wim@fluendo.com>
4880 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
4881 Add some more docs here and there.
4883 2006-07-05 Wim Taymans <wim@fluendo.com>
4885 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
4886 (gst_base_sink_loop), (gst_base_sink_get_position):
4887 When operating in pull mode update the offset so that we
4890 2006-07-05 Wim Taymans <wim@fluendo.com>
4892 * gst/gstregistryxml.c: (read_string):
4893 Avoid strdup. (will happen in libxml, but hey!)
4898 2006-07-05 Wim Taymans <wim@fluendo.com>
4900 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
4901 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4903 No point in checking if the size of the subbuffer > 0, the
4904 code handles it correclty as demonstrated by unit test.
4905 Also add a unit test for the zero sized _new_and_alloc and
4906 _copy. Fixes #346663.
4908 2006-07-05 Wim Taymans <wim@fluendo.com>
4910 * libs/gst/base/gstbasetransform.c:
4911 (gst_base_transform_prepare_output_buffer),
4912 (gst_base_transform_buffer_alloc),
4913 (gst_base_transform_handle_buffer):
4914 Make sure the buffer we pass to transform_ip has a refcount of
4915 1 and thus is writable. Fixes #343196
4917 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
4919 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4920 (gst_file_src_init), (gst_file_src_set_property),
4921 (gst_file_src_get_property), (gst_file_src_map_region):
4922 * plugins/elements/gstfilesrc.h:
4923 Add "sequential" property, off by default, to use madvise and hint
4924 to the kernel that sequential access is desired.
4925 Touch all retrieved pages by default to ensure they are pulled
4926 into memory. (Closes #345720)
4928 2006-07-03 Wim Taymans <wim@fluendo.com>
4930 * docs/design/part-block.txt:
4931 * docs/design/part-dynamic.txt:
4934 2006-07-03 Wim Taymans <wim@fluendo.com>
4936 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
4937 (gst_caps_unref), (gst_static_caps_get),
4938 (gst_caps_append_structure):
4939 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4940 Use GSlice when the glib we build against is >= 2.10
4942 2006-07-03 Wim Taymans <wim@fluendo.com>
4944 * gst/gstelement.c: (gst_element_pads_activate):
4945 Small cleanup in pad activation code.
4947 2006-07-03 Wim Taymans <wim@fluendo.com>
4949 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4951 * gst/gst-i18n-app.h:
4952 * gst/gst-i18n-lib.h:
4953 * tools/gst-inspect.c: (print_signal_info):
4954 The attached patch will make the inclusion of gettext.h unconditional in
4955 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
4956 libintl.h in tools/gst-inspect.c.
4957 This allows use of --disable-nls again and fixes #344642.
4959 2006-07-03 Edward Hervey <edward@fluendo.com>
4961 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
4962 Implement pad blocking on events according to part-block.txt.
4963 More comments on behaviour.
4964 * tests/check/gst/gstevent.c: (test_event):
4965 Send event to peer pad of blocked pad (else it will block).
4967 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4969 * libs/gst/check/gstcheck.c: (gst_check_message_error),
4970 (gst_check_run_suite):
4971 if we get the wrong message, give us the types as string
4972 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4974 * tests/check/elements/filesrc.c: (GST_START_TEST):
4975 add a test for trying to open a non-existing file
4977 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4979 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4980 add a test for adding self
4982 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
4984 * libs/gst/check/gstcheck.h:
4985 add some assert_ as alias for fail_unless_*
4986 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
4987 increase test coverage
4989 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
4992 include lcov.mak for lcov coverage generation
4993 * tools/Makefile.am:
4996 2006-07-02 Edward Hervey <edward@fluendo.com>
4998 * tests/check/elements/.cvsignore:
5001 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5004 don't set CFLAGS and friends for gcov, done from GST_GCOV now
5005 * tests/check/Makefile.am:
5008 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5010 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
5011 remove gst_caps_simplify; it was not declared and not used
5012 and deprecated in 0.8
5014 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5016 * docs/faq/gst-uninstalled:
5017 don't put empty paths on PYTHONPATH
5018 * docs/gst/gstreamer-sections.txt:
5019 remove some symbols that are not there
5021 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5023 * gst/gstcaps.c: (gst_caps_compare_structures):
5025 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5026 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5029 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5031 * libs/gst/dataprotocol/Makefile.am:
5032 build dataprotocol test by linking to the lib, instead of
5033 compiling the source, so we get coverage
5034 * tests/check/Makefile.am:
5035 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
5036 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
5037 add a test for filesrc
5039 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5041 * tests/check/gst/gststructure.c: (GST_START_TEST),
5042 (gst_structure_suite):
5043 Push coverage from 59.04% to 70.00%
5045 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5047 * tests/check/Makefile.am:
5048 gst-inspect every element; this makes sure that we also get
5049 coverage on element's get/set functions
5051 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
5054 set CFLAGS and friends to -O0 if gcov is being used
5057 * libs/gst/base/Makefile.am:
5058 * libs/gst/check/Makefile.am:
5059 * libs/gst/controller/Makefile.am:
5060 * libs/gst/dataprotocol/Makefile.am:
5061 * libs/gst/net/Makefile.am:
5062 * plugins/elements/Makefile.am:
5063 * plugins/indexers/Makefile.am:
5064 add makefile rules to generate gcov data and clean up
5065 * tests/check/Makefile.am:
5066 add a coverage target that generates an html overview
5069 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5071 * tests/check/elements/fakesink.c:
5072 * tests/check/elements/fakesrc.c:
5073 * tests/check/elements/fdsrc.c:
5074 * tests/check/elements/identity.c:
5075 * tests/check/generic/sinks.c: (gst_sinks_suite):
5076 * tests/check/generic/states.c:
5077 * tests/check/gst/gst.c:
5078 * tests/check/gst/gstabi.c:
5079 * tests/check/gst/gstbin.c:
5080 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
5081 * tests/check/gst/gstbus.c: (gst_bus_suite):
5082 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5083 * tests/check/gst/gstelement.c:
5084 * tests/check/gst/gstevent.c: (gst_event_suite):
5085 * tests/check/gst/gstghostpad.c:
5086 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
5087 * tests/check/gst/gstmessage.c: (gst_message_suite):
5088 * tests/check/gst/gstminiobject.c:
5089 * tests/check/gst/gstobject.c:
5090 * tests/check/gst/gstpad.c:
5091 * tests/check/gst/gstpipeline.c:
5092 * tests/check/gst/gstplugin.c:
5093 * tests/check/gst/gstquery.c: (gst_query_suite):
5094 * tests/check/gst/gstsegment.c: (gst_segment_suite):
5095 * tests/check/gst/gststructure.c:
5096 * tests/check/gst/gstsystemclock.c:
5097 * tests/check/gst/gsttag.c:
5098 * tests/check/gst/gsttask.c: (gst_task_suite):
5099 * tests/check/gst/gstutils.c:
5100 * tests/check/gst/gstvalue.c:
5101 * tests/check/libs/adapter.c:
5102 * tests/check/libs/basesrc.c:
5103 * tests/check/libs/collectpads.c:
5104 * tests/check/libs/controller.c:
5105 * tests/check/libs/gdp.c: (gst_dp_suite):
5106 * tests/check/libs/gstnetclientclock.c:
5107 * tests/check/libs/gstnettimeprovider.c:
5108 * tests/check/libs/libsabi.c: (libsabi_suite):
5109 * tests/check/libs/typefindhelper.c:
5110 * tests/check/pipelines/cleanup.c:
5111 * tests/check/pipelines/parse-launch.c:
5112 * tests/check/pipelines/simple-launch-lines.c:
5113 * tests/check/pipelines/stress.c: (stress_suite):
5116 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5118 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
5119 * libs/gst/check/gstcheck.h:
5120 create a macro and function so that the simple unit test
5121 case can be just one macro to create main()
5123 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
5125 * gst/gstbin.c: (gst_bin_restore_thyself):
5126 * gst/gstxml.c: (gst_xml_make_element):
5127 Fix deserialisation from XML. Set parent manually
5128 instead of using gst_bin_add(), since gst_bin_add()
5129 will unlink all pads of the element being added.
5132 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
5134 Patch by: Peter Kjellerstedt <pkj at axis com>
5136 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
5137 Fix missing g_strdup() and double free when using the
5138 --gst-plugin-load command line option (#346097).
5140 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
5143 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
5145 * libs/gst/net/gstnetclientclock.c:
5146 * libs/gst/net/gstnettimeprovider.c:
5147 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
5149 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
5151 * docs/manual/advanced-dataaccess.xml:
5152 Fix buffer probe example compilation in
5155 2006-06-22 Edward Hervey <edward@fluendo.com>
5157 * gst/gstelement.c: (gst_element_pads_activate):
5158 We need to deactivate src pads first and then sink pads.
5159 The reason is the src pads might be blocking while holding the streaming
5160 lock, so we need to deactivate them first so that deactivating the sink
5161 pads doesn't block (since it will require the streaming lock).
5163 2006-06-22 Wim Taymans <wim@fluendo.com>
5165 * libs/gst/base/gstbasetransform.c:
5166 (gst_base_transform_buffer_alloc):
5167 Forgot to remove two unneeded unrefs.
5168 Simplify a check _is_equal allready checks the obvious case.
5170 2006-06-22 Wim Taymans <wim@fluendo.com>
5172 * docs/design/part-block.txt:
5173 Some docs about what pad_block should do.
5175 2006-06-22 Wim Taymans <wim@fluendo.com>
5177 * gst/gstcaps.c: (gst_caps_replace):
5178 Fix crasher when passed NULL. Doc clarification.
5179 Optimize for the trivial case.
5181 * gst/gstpipeline.c: (gst_pipeline_change_state):
5184 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5185 Small documentation cleanup.
5187 * libs/gst/base/gstbasetransform.c:
5188 (gst_base_transform_buffer_alloc):
5189 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
5190 is what we need and it avoids a whole lot of redundant
5191 refcount operations.
5193 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
5195 Patch by: Philip Jägenstedt <philip at lysator liu se>
5197 * docs/manual/advanced-dataaccess.xml:
5198 Fix 'Embedding static elements' section to use
5199 GST_PLUGIN_DEFINE_STATIC (#345607).
5201 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5203 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
5204 Attempt to 'fix' spuriously failing test case: it seems like the
5205 timeout of half a second is simply too small when the system is under
5206 load otherwise, and the timeout doesn't really seem to serve any
5207 particular purpose here. Give the pipeline a few seconds to preroll
5208 first, and then give it another half a second to go from PAUSED to
5209 PLAYING and marshal the message into the main thread.
5211 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5213 * tools/gst-feedback-m.m:
5214 Don't only use unversioned tools, try versioned tools as well
5217 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
5219 * gst/gstbus.c: (gst_bus_class_init):
5220 Fix some typos, make docs more explicit.
5222 2006-06-20 Wim Taymans <wim@fluendo.com>
5224 * tests/check/gst/gstghostpad.c: (block_callback),
5225 (GST_START_TEST), (gst_ghost_pad_suite):
5226 Added some more ghostpad tests, mainly blocking
5229 2006-06-16 Wim Taymans <wim@fluendo.com>
5231 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5232 (gst_file_sink_close_file), (gst_file_sink_do_seek),
5233 (gst_file_sink_event), (gst_file_sink_render):
5234 * plugins/elements/gstfilesink.h:
5235 Check if we can seek in the file instead of assuming
5236 we always can. Post an error when we are asked to seek in a
5237 non-seekable file (like a fifo). Fixes #343312.
5240 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5242 * tools/gst-launch.1.in:
5243 Un-garble (fourcc) bit in filtered caps section.
5245 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
5247 * docs/manual/advanced-autoplugging.xml:
5248 * docs/manual/basics-helloworld.xml:
5249 * docs/manual/highlevel-components.xml:
5250 Don't leak bus reference in sample code.
5252 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
5255 Add default for new --enable-plugin-docs switch.
5258 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
5262 Use new ENABLE_PLUGIN_DOCS conditional.
5264 2006-06-14 Wim Taymans <wim@fluendo.com>
5266 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
5267 Make it clear with a FIXME and a real define what the #if 0
5268 previously disabled.
5270 2006-06-14 Wim Taymans <wim@fluendo.com>
5272 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
5273 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5274 * libs/gst/base/gstbasetransform.c:
5275 (gst_base_transform_sink_eventfunc):
5276 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
5277 Don't randomly and silently reset a segment when the format
5278 changes as this is a bug somewhere upstream. Fixes #330379.
5280 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
5282 Patch by: Wouter Paesen <wouter at kangaroot net>
5284 * libs/gst/controller/gstcontroller.c:
5285 (gst_controlled_property_new):
5286 Fix controlling of float properties (#344849).
5288 * tests/check/libs/controller.c:
5289 (gst_test_mono_source_get_property),
5290 (gst_test_mono_source_set_property),
5291 (gst_test_mono_source_class_init), (GST_START_TEST):
5292 While we're at it, add some float stuff to unit test.
5294 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5297 * docs/images/gdp-header.svg:
5299 * docs/libs/Makefile.am:
5300 * docs/libs/gdp-header.png:
5301 * libs/gst/dataprotocol/dataprotocol.c:
5302 add it to the API docs
5303 * docs/manual/intro-motivation.xml:
5306 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5308 * gst/gst.c: (scan_and_update_registry), (init_post):
5309 If the fork()'ed child process can't write the updated registry cache
5310 file to disk for some reason, make it exit with a failure exit code,
5311 so that the parent can then re-scan the plugins itself and update the
5312 registry structures in memory and work with that (rather than failing
5313 when creating elements because seemingly no plugins are available).
5314 Refactor registry scanning code into separate function for this and
5315 also separate fork() and non-fork() code paths. Fixes #344748.
5317 2006-06-13 Wim Taymans <wim@fluendo.com>
5319 * docs/manual/advanced-dataaccess.xml:
5320 Fix wrong PluginDesc. Fixes #344755.
5322 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
5324 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5325 Fix silly bug that prevented us from creating
5326 ~/.gstreamer-0.10 and writing the registry in one
5327 go (the first call to g_mkstemp() would overwrite the
5328 placeholder in the template string, so the second call
5329 to g_mkstemp() after creating the missing directory
5330 would then error out with 'invalid argument').
5332 2006-06-13 Edward Hervey <edward@fluendo.com>
5334 * gst/gst.c: (init_post):
5337 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
5339 * gst/glib-compat-private.h:
5340 * gst/glib-compat.c:
5341 * gst/glib-compat.h:
5342 * gst/gstvalue.c: (gst_value_serialize_flags):
5343 remove GLib 2.6 compatibility code
5345 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
5347 * gst/parse/Makefile.am:
5348 Fix build with 'make -j N' even more (#340016).
5350 2006-06-12 Wim Taymans <wim@fluendo.com>
5352 * docs/gst/gstreamer-sections.txt:
5355 2006-06-12 Wim Taymans <wim@fluendo.com>
5357 * gst/gstsegment.c: (gst_segment_set_duration),
5358 (gst_segment_set_last_stop), (gst_segment_set_seek),
5359 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5360 (gst_segment_to_running_time), (gst_segment_clip):
5361 Use G_UNLIKELY to help the compiler a bit.
5363 2006-06-12 Wim Taymans <wim@fluendo.com>
5365 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
5367 * gst/gstevent.c: (gst_event_get_type):
5369 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
5371 constify quark registration strings. Fixes #344115
5372 Avoid unneeded type checking is _pad_push() by internally
5373 calling gst_pad_chain_unchecked().
5375 2006-06-12 Wim Taymans <wim@fluendo.com>
5377 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
5378 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
5379 (gst_subbuffer_finalize), (gst_buffer_create_sub),
5380 (gst_buffer_is_span_fast), (gst_buffer_span):
5381 Init _type for consistency.
5382 Use _FLAGS macro to avoid type check.
5383 Avoid unneeded type checks in subbufer code.
5385 2006-06-12 Wim Taymans <wim@fluendo.com>
5387 * gst/gst.c: (gst_debug_help):
5388 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
5389 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5390 (gst_plugin_feature_list_free):
5391 * gst/gstregistry.c: (gst_registry_add_plugin),
5392 (gst_registry_add_feature), (gst_registry_plugin_filter),
5393 (gst_registry_feature_filter), (gst_registry_find_plugin),
5394 (gst_registry_find_feature), (gst_registry_get_plugin_list),
5395 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
5396 * gst/gstregistryxml.c: (load_feature),
5397 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
5398 * gst/gstminiobject.c: (gst_mini_object_unref),
5399 (gst_mini_object_replace), (gst_value_mini_object_free),
5400 (gst_value_mini_object_copy):
5401 Use _CAST macros to avoid unneeded type checking.
5402 Added some more G_UNLIKELY.
5404 2006-06-12 Wim Taymans <wim@fluendo.com>
5407 Avoid unneeded type checking.
5408 API: GST_BUFFER_IS_DISCONT
5410 * gst/gstminiobject.h:
5411 Avoid type check in flag accessor.
5413 * gst/gstelementfactory.h:
5415 * gst/gstpluginfeature.h:
5417 API: GST_ELEMENT_FACTORY_CAST
5418 API: GST_PLUGIN_CAST
5419 API: GST_PLUGIN_FEATURE_CAST
5421 2006-06-12 Wim Taymans <wim@fluendo.com>
5423 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
5425 Add G_UNLIKELY in type registration.
5426 Avoid type check in _ref/_unref since that is also
5429 2006-06-12 Wim Taymans <wim@fluendo.com>
5431 * gst/gsterror.c: (gst_g_error_get_type):
5432 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5433 (gst_static_pad_template_get_type):
5434 * gst/gsttaglist.c: (gst_tag_list_get_type):
5435 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
5436 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
5437 * gst/gsturi.c: (gst_uri_handler_get_type):
5438 * gst/gstvalue.c: (gst_date_get_type):
5439 * gst/gstxml.c: (gst_xml_get_type):
5440 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
5441 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
5442 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
5443 Add G_UNLIKELY in type registration.
5445 2006-06-12 Wim Taymans <wim@fluendo.com>
5447 * tools/gst-inspect.c: (print_signal_info):
5448 Properly print enum values.
5450 2006-06-12 Wim Taymans <wim@fluendo.com>
5452 * gst/gstinfo.c: (gst_debug_set_active),
5453 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
5455 Add some G_[UN]LIKELY.
5456 Maintain __gst_debug_min to avoid formatting the arguments of
5457 debug messages that will be dropped anyway to avoid a lot of
5458 overhead from the debugging system.
5460 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5464 add missing files containing translatable strings, tell intltool about
5467 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5469 * tests/check/libs/.cvsignore:
5470 add test-binary to ignore list
5472 2006-06-11 Stefan Kost <ensonic@users.sf.net>
5474 * docs/libs/gstreamer-libs-docs.sgml:
5475 reorder (put dp into a chapter) and indent
5477 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5482 === release 0.10.8 ===
5484 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5487 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
5489 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5491 * gst/gst.c: (init_post):
5492 move pid declaration to declaration block
5494 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
5496 * gst/gst.c: (init_post):
5497 use _exit() instead of exit() in our forked child; this ensures
5498 that none of the registered exit handlers from whatever is using
5499 GStreamer get executed. This fixes gnome-mixer-applet failing
5500 to load, because ORBit would shut down.
5501 Spotted by: Edward Hervey <edward@fluendo.com>
5502 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
5505 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5510 === release 0.10.7 ===
5512 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5515 releasing 0.10.7, "Soepeke, ik zie ou"
5517 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
5540 * win32/common/config.h:
5543 2006-06-07 Wim Taymans <wim@fluendo.com>
5545 * gst/gstindex.c: (gst_index_gtype_resolver):
5546 * tools/gst-xmlinspect.c: (print_plugin_info):
5547 Fix leak spotted by coverity checker. Fixes #343827
5548 Fix another other leak found by paolo borelli.
5550 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5552 * libs/gst/dataprotocol/dataprotocol.c:
5553 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5554 (gst_dp_version_get_type), (gst_dp_init),
5555 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
5556 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
5557 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
5558 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
5559 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
5560 (gst_dp_packetizer_free):
5561 * libs/gst/dataprotocol/dataprotocol.h:
5562 API: add a GstDPPacketizer object, and create/free functions
5563 API: add GstDPVersion enum
5564 Add 1.0 event function that uses the string serialization
5565 Serialize more useful buffer flags
5568 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5570 * tests/check/Makefile.am:
5571 * tests/check/gst/gstabi.c:
5572 * tests/check/gst/struct_ppc64.h:
5573 * tests/check/libs/libsabi.c:
5574 * tests/check/libs/struct_ppc64.h:
5575 add ppc64 structure sizes
5577 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5579 * tests/check/Makefile.am:
5580 * tests/check/gst/gstabi.c:
5581 * tests/check/gst/struct_x86_64.h:
5582 * tests/check/libs/libsabi.c:
5583 * tests/check/libs/struct_x86_64.h:
5584 generate and add structure size lists for x86_64
5586 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
5588 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5589 * libs/gst/check/gstcheck.h:
5590 factor out the method from tests that checks size of structures,
5591 and add code to generate the header containing these sizes
5592 * tests/check/gst/gstabi.c: (GST_START_TEST):
5593 * tests/check/gst/struct_i386.h:
5594 * tests/check/libs/libsabi.c: (GST_START_TEST):
5595 * tests/check/libs/struct_i386.h:
5598 2006-06-06 Michael Smith <msmith@fluendo.com>
5601 Don't use c++-style comments, fixes #343929
5603 2006-06-05 Edward Hervey <edward@fluendo.com>
5606 plugin_paths is not used if we build without registry support.
5608 * gst/gstsegment.c: (gst_segment_copy):
5609 _copy() was always returning NULL...
5611 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5613 * libs/gst/dataprotocol/dataprotocol.c:
5614 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5615 (gst_dp_packet_from_event):
5618 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5620 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
5621 make sure we unset caps
5623 2006-06-02 Michael Smith <msmith@fluendo.com>
5625 * libs/gst/check/gstcheck.c: (gst_check_init),
5626 (gst_check_chain_func):
5627 * libs/gst/check/gstcheck.h:
5628 Add a cond/mutex to the check support lib, signal this whenever we
5629 add to the buffers list. This will allow tests to not busy-wait on
5632 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5634 * libs/gst/dataprotocol/dataprotocol.c:
5635 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5636 (gst_dp_packet_from_event):
5637 factor out some common header init code
5639 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
5641 * docs/libs/gstreamer-libs-sections.txt:
5642 * docs/libs/tmpl/gstdataprotocol.sgml:
5643 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
5644 * libs/gst/dataprotocol/dataprotocol.h:
5645 API: make gst_dp_crc() public
5647 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5649 * plugins/indexers/gstindexers.c: (plugin_init):
5650 conditionally register fileindexer (fixes #343598)
5652 2006-06-01 Stefan Kost <ensonic@users.sf.net>
5654 * gst/gsttagsetter.h:
5655 Can't cast ifaces to a class
5657 * libs/gst/net/gstnetclientclock.h:
5658 * libs/gst/net/gstnettimeprovider.h:
5659 * plugins/elements/gstfakesink.h:
5660 * plugins/elements/gstfakesrc.h:
5661 * plugins/elements/gstfdsink.h:
5662 * plugins/elements/gstfdsrc.h:
5663 * plugins/elements/gstfilesink.h:
5664 * plugins/elements/gstfilesrc.h:
5665 * plugins/elements/gstidentity.h:
5666 * plugins/elements/gstqueue.h:
5667 * plugins/elements/gsttee.h:
5668 * plugins/indexers/gstfileindex.c:
5669 * plugins/indexers/gstmemindex.c:
5670 * tests/old/examples/plugins/example.h:
5671 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
5673 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
5675 * libs/gst/dataprotocol/dataprotocol.c:
5676 (gst_dp_header_from_buffer):
5677 make sure we zero the whole ABI-compatible area
5679 2006-06-01 Wim Taymans <wim@fluendo.com>
5681 Patch by: Alessandro Decina <alessandro at nnva dot org>
5683 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
5684 Make sure the EOS flag is cleared from pads after a flush
5685 or stop. Fixes #343538.
5687 * tests/check/libs/collectpads.c: (GST_START_TEST),
5688 (gst_collect_pads_suite):
5689 Added test for collectpads reusage after EOS.
5691 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
5694 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
5695 * win32/common/libgstbase.def:
5696 export gst_collect_pads_set_flushing
5697 * win32/common/libgstreamer.def:
5698 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
5699 gst_value_fraction_multiply
5700 * win32/vs6/gst_inspect.dsp:
5701 add a link to intl.lib
5703 2006-05-30 Wim Taymans <wim@fluendo.com>
5705 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5706 (gst_collect_pads_chain):
5707 Handle the case where a pad is removed from the collection
5708 that could cause the other pads to become collectable.
5710 2006-05-30 Wim Taymans <wim@fluendo.com>
5713 Clarify the use of _release_request_pad() and
5714 _get_request_pad() a bit better.
5716 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
5717 (gst_adapter_take_buffer):
5718 Fix some doc and comment typos.
5720 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5722 * docs/gst/gstreamer-sections.txt:
5723 * docs/libs/gstreamer-libs-sections.txt:
5724 add declared symbols
5726 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
5728 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5729 Add debug that can be enabled using a #define at the top of the file,
5730 for dumping stats about how late/early we were when waking up from
5731 waiting on the clock.
5733 2006-05-30 Wim Taymans <wim@fluendo.com>
5735 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
5736 When rebuilding the pad list, don't leak the previous list.
5738 2006-05-30 Wim Taymans <wim@fluendo.com>
5740 Patch by: Lutz Mueller <lutz at topfrose dot de>
5742 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5743 (gst_base_src_get_query_types), (gst_base_src_update_length):
5744 Publish supported query types.
5745 Update last_stop field in get_range mode so the position
5746 query works. Fixes #342321.
5748 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
5750 * docs/gst/gstreamer-sections.txt:
5751 * gst/gsttaglist.c: (_gst_tag_initialize):
5753 API: add GST_TAG_PREVIEW_IMAGE (#343341).
5755 2006-05-30 Wim Taymans <wim@fluendo.com>
5757 Patch by: Alessandro Decina <alessandro at nnva dot org>
5759 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5760 Unlock mutex when removing an unknown pad.
5763 * tests/check/Makefile.am:
5764 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
5765 (push_event), (setup), (teardown), (GST_START_TEST),
5766 (gst_collect_pads_suite), (main):
5767 Added collecpads check, disabled for now as check crashes for
5770 2006-05-29 Wim Taymans <wim@fluendo.com>
5772 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
5773 Don't leak pads lists.
5775 2006-05-29 Wim Taymans <wim@fluendo.com>
5777 * docs/libs/gstreamer-libs-sections.txt:
5778 * libs/gst/base/gstcollectpads.c:
5779 (gst_collect_pads_set_flushing_unlocked),
5780 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
5781 (gst_collect_pads_stop):
5782 * libs/gst/base/gstcollectpads.h:
5783 API: gst_collect_pads_set_flushing()
5784 Added api to set the pads to flushing, useful for seeking
5785 code in elements using collectpads.
5786 Clear segment when receiving a flush.
5788 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
5790 * gst/gst.c: (add_path_func), (init_post):
5791 Don't scan registry paths passed via --gst-plugin-path immediately
5792 (will crash, because absolutely nothing is set up and no types are
5793 registered etc.); do this later in init_post(). Fixes #343057.
5795 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
5797 * gst/gst.c: (init_post):
5798 if we have fork, fork while reading/rebuilding the registry
5799 so the parent doesn't take the hit of having all plugins loaded
5800 in memory. Fixes #342777.
5802 Check if we have fork()
5803 * win32/common/config.h.in:
5806 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5808 * plugins/elements/gstelements.c:
5809 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5810 (gst_file_src_init), (gst_file_src_set_property),
5811 (gst_file_src_get_property), (gst_file_src_start):
5812 * plugins/elements/gstfilesrc.h:
5813 API: GstFileSrc::use-mmap
5815 Add a use-mmap property to enable easier testing of all code paths.
5816 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
5817 in the absence of gnomevfssrc. (Closes #340501)
5819 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5821 * tools/gst-inspect.c:
5822 Add missing include, removes warning of ngettext not being defined on
5825 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
5827 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5828 Handle NULL input and output pointers silently as a failed conversion,
5829 rather than g_warnings.
5831 2006-05-25 Wim Taymans <wim@fluendo.com>
5833 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
5834 Initialize variable before using. Fixes #342820.
5836 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
5838 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
5839 Fix off-by-one bug that would only allow peeks of N-1 bytes
5840 from the start even if the buffer to typefind on contains
5841 in fact N bytes of data (makes vorbis typefinding from a
5842 vorbis identification header buffer work).
5844 * tests/check/Makefile.am:
5845 * tests/check/libs/.cvsignore:
5846 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
5847 (gst_typefindhelper_suite), (main), (foobar_typefind),
5849 Add very basic unit test for gst_type_find_helper_for_buffer()
5850 that checks for the problem fixed above.
5852 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
5854 * tools/gst-inspect.c: (print_interfaces),
5855 (print_element_properties_info), (print_element_list), (main):
5856 add more translatable strings
5858 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
5860 Patch by: Julien Moutte <julien at moutte net>
5862 * docs/gst/gstreamer-sections.txt:
5863 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
5865 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5866 (gst_fake_sink_preroll):
5867 * plugins/elements/gstfakesink.h:
5868 API: Add new GstFakeSink::preroll-handoff signal (#337100).
5870 2006-05-23 Wim Taymans <wim@fluendo.com>
5872 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
5874 Added _CUSTOM error and success GstFlowReturn that can be
5875 used be elements internally.
5876 Added macro to check for SUCCESS flowreturns.
5877 API: GST_FLOW_CUSTOM_SUCCESS
5878 API: GST_FLOW_CUSTOM_ERROR
5879 API: GST_FLOW_IS_SUCCESS
5881 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5882 Added check for GstFlowReturn sanity.
5884 2006-05-23 Wim Taymans <wim@fluendo.com>
5886 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5888 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5889 (gst_collect_pads_event):
5890 clear/reset segment info in FLUSH_STOP.
5893 2006-05-22 Stefan Kost <ensonic@users.sf.net>
5895 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
5896 (gst_collect_pads_check_collected):
5897 Flush queued buffer on _stop(), fixes playing again (#342454)
5899 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
5901 * tests/check/gst/gststructure.c: (GST_START_TEST),
5902 (gst_structure_suite):
5903 add a test for a complete structure
5905 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5907 * docs/faq/developing.xml:
5909 * docs/faq/troubleshooting.xml:
5910 * docs/faq/using.xml:
5911 Some minor FAQ updates that won't change the fact that
5912 our FAQ is badly structured, full of information hardly
5913 anyone new to GStreamer needs to know and lacking lots
5914 of information people constantly ask for.
5916 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
5918 * gst/gstpad.c: (gst_pad_set_caps):
5919 Short-circuit gst_pad_set_caps if setting the existing
5920 caps pointer again, and avoid printing debug and
5921 reffing/unreffing the caps.
5923 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5924 There's actually no need to set the caps before pushing -
5925 the acceptcaps method will handle it anyway.
5927 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
5929 * docs/gst/gstreamer-sections.txt:
5930 * win32/common/libgstreamer.def:
5931 * gst/gstutils.c: (gst_element_seek_simple):
5933 API: add gst_element_seek_simple() (#342238).
5935 2006-05-18 Edward Hervey <edward@fluendo.com>
5937 * gst/gsttypefind.c: (gst_type_find_get_type):
5938 * gst/gsttypefind.h:
5939 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
5940 registered for GstTypeFind pointers. This allows wrapping the structure
5941 in bindings (i.e. gst-python).
5943 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5945 * gst/gsttagsetter.c:
5946 Docs additions and fixes (see #339918).
5948 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
5950 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5951 The caps intersection algorithm can produce multiple copies of the
5952 caps. Until that is fixed, we need to simplify the result to be
5953 sure whether the allowed caps are fixed or not.
5955 * plugins/elements/gstqueue.c: (gst_queue_init),
5956 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
5957 (gst_queue_push_one):
5958 Proxied buffer alloc should not set the caps on the source pad.
5959 When pushing buffers, we always accept the caps change that triggers.
5960 This prevents negotiation errors caused by caps changing mid-stream
5961 and then being refused on our source pad (because upstream is now
5962 refusing those caps).
5964 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
5966 * tests/examples/helloworld/helloworld.c: (main):
5967 Must plug audioconvert and audioresample between decoder
5970 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
5972 * gst/gstregistryxml.c: (read_string), (load_pad_template),
5973 (load_feature), (load_plugin):
5974 Allow empty strings for some of the plugin fields so we don't
5975 drop valid plugin entries that were written out correctly
5978 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
5980 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
5981 Use g_remove and g_rename instead of remove and rename that don't
5982 handle utf8 characters. rename was failing for users who had specific
5983 characters in their name then the registry was built at each
5985 * win32/vs6/gst_inspect.dsp:
5986 * win32/vs6/gst_launch.dsp:
5987 * win32/vs6/libgstbase.dsp:
5988 * win32/vs6/libgstcoreelements.dsp:
5989 * win32/vs6/libgstreamer.dsp:
5990 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
5991 build of libgstreamer and clean unused libraries in projects link
5994 2006-05-17 Edward Hervey <edward@fluendo.com>
5996 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5997 The queue is not responsible for pushing an EOS when receiving a fatal
5998 flow error. It's up to the real element driving the pipeline to do that.
6000 2006-05-16 Edward Hervey <edward@fluendo.com>
6002 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6003 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
6004 buffer returned a fatal error. It should just send an EOS and stop
6006 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
6007 when pushing buffers on the queue and will be able to handle the event.
6009 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
6011 * docs/manual/basics-bins.xml:
6012 * docs/manual/basics-init.xml:
6013 Fix typos and minor errors in sample code (#341856).
6015 2006-05-16 Wim Taymans <wim@fluendo.com>
6017 * docs/design/part-qos.txt:
6018 Fix indexes in formulas to make more sense.
6020 2006-05-15 Wim Taymans <wim@fluendo.com>
6022 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6023 Don't report POSITION based on clock time if sync is
6026 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
6029 Add cast to make compiler happy - refcount variable was a gint
6030 in GstObject but is a guint in GObject and g_atomic_int_get()
6033 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
6035 * gst/parse/Makefile.am:
6036 chain commands using &&, which also makes parallel make work
6038 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
6040 * docs/gst/gstreamer-sections.txt:
6046 === release 0.10.6 ===
6048 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
6051 releasing 0.10.6, "Take the cannoli"
6053 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
6055 * tools/gst-launch.c: (print_tag):
6056 Fix use of uninitialized variable in the hypothetical
6057 case that some broken plugin creates a GST_TAG_IMAGE
6058 tag containing a NULL buffer (#341667).
6060 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
6062 * tools/gst-launch.c: (print_tag):
6063 Print something more intelligible for image tags when
6064 using the -t switch (#341556).
6066 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
6071 define GST_MAJORMINOR so we have it available in win32/common/config.h
6072 Possibly remove it from our Makefile.am files later
6073 * win32/common/config.h:
6074 * win32/common/config.h.in:
6075 added GST_MAJORMINOR
6076 * win32/common/gstenumtypes.c: (register_gst_resource_error):
6077 * win32/common/gstversion.h:
6080 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
6083 Update win32 files listing.
6084 * win32/common/gstversion.h:
6085 Add GST_MAJORMINOR definition.
6086 * win32/common/libgstreamer.def:
6087 Add new exported functions.
6089 2006-05-12 Michael Smith <msmith@fluendo.com>
6091 * gst/gstplugin.c: (gst_plugin_load_file):
6092 If an so file has no plugin entry point, unload the module.
6094 2006-05-11 Wim Taymans <wim@fluendo.com>
6096 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
6097 (gst_queue_set_property):
6098 Don't forget to signal the _chain or _loop function
6099 when the queue size or thresholds change since that might
6100 cause them to make progres again.
6102 2006-05-11 Stefan Kost <ensonic@users.sf.net>
6104 * gst/gstclock.c: (gst_clock_class_init):
6105 * gst/gstindex.c: (gst_index_class_init):
6106 * gst/gstobject.c: (gst_object_class_init):
6107 * gst/gstpad.c: (gst_pad_class_init):
6108 * gst/gstpipeline.c: (gst_pipeline_class_init):
6109 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6110 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
6111 * libs/gst/base/gstbasetransform.c:
6112 (gst_base_transform_class_init):
6113 * libs/gst/net/gstnetclientclock.c:
6114 (gst_net_client_clock_class_init):
6115 * libs/gst/net/gstnettimeprovider.c:
6116 (gst_net_time_provider_class_init):
6117 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
6118 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6119 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6120 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
6121 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6122 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6123 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6124 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6125 * plugins/elements/gsttee.c: (gst_tee_class_init):
6126 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6127 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6128 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
6130 2006-05-11 Wim Taymans <wim@fluendo.com>
6132 * gst/gstbuffer.c: (_gst_buffer_initialize):
6133 Register subbufer along with the buffer type so that
6134 it does not accidentally gets registered from N
6135 different streaming threads in a non threadsafe way.
6137 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
6142 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
6143 gst_event_ref() and gst_message_ref() functions again
6144 (ugly hack, please do fix if there's a better way besides
6145 overrides.txt, which doesn't seem to work).
6147 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6149 * libs/gst/check/gstcheck.h:
6150 add an assert for setting state to avoid lots of repetitive code
6153 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6155 * gst/gstvalue.c: (gst_value_serialize_flags):
6156 fix a leak if no flags are set
6157 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6160 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
6162 * docs/manual/basics-pads.xml:
6163 Expand a bit on caps and filtered links and update
6164 examples that were still using the no longer existing
6165 gst_pad_link_filtered() (#338206).
6167 2006-05-10 Wim Taymans <wim@fluendo.com>
6169 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6170 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6171 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
6172 (gst_collect_pads_stop):
6173 * libs/gst/base/gstcollectpads.h:
6174 No need to call _stop in _finalize.
6175 Iterate the main pad list in _finalize.
6176 Added some more debug.
6177 Free lists and data in the right order.
6178 Also free data whem doing _remove_pad when stopped for
6179 backward compatibility protect ::started with PAD_LOCK as
6182 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6184 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
6185 (gst_structure_parse_value):
6187 rename a method so that it actually says what it does better
6189 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
6191 * gst/gstevent.c: (_gst_event_initialize):
6192 * gst/gstformat.c: (_gst_format_initialize):
6193 make sure some essential types used by events are registered
6194 as part of gst_init()
6195 * gst/gstvalue.c: (gst_value_serialize_flags):
6196 if no flags are set, serialize them to a value that represents NONE
6197 so that deserializing them works
6198 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6199 add tests for serialization and deserialization of flags
6201 2006-05-10 Wim Taymans <wim@fluendo.com>
6203 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
6204 (gst_collect_pads_collect_range), (gst_collect_pads_available),
6205 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
6206 (gst_collect_pads_event), (gst_collect_pads_chain):
6209 Catch and return errors from the collect function
6210 Refuse data on eos pads.
6212 2006-05-10 Edward Hervey <edward@fluendo.com>
6214 * gst/gstinterface.h:
6215 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
6216 GInterface type checking.
6217 They were previously using non-defined macros.
6219 2006-05-09 Wim Taymans <wim@fluendo.com>
6221 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
6222 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
6223 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
6224 (gst_collect_pads_start), (gst_collect_pads_stop),
6225 (gst_collect_pads_peek), (gst_collect_pads_pop),
6226 (gst_collect_pads_available), (gst_collect_pads_read),
6227 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
6228 (gst_collect_pads_is_collected), (gst_collect_pads_event),
6229 (gst_collect_pads_chain):
6230 * libs/gst/base/gstcollectpads.h:
6231 Clean up the mess that is collectpads, add comments and
6232 FIXMEs where needed.
6233 Maintain a separate pad list so we can add pads while
6234 collecting the other ones. For this we need a new separate
6236 Fix memory leak in finalize.
6237 Refactor some weird code to set/unset pad flushing flags, mark
6239 Don't crash in _available, _read, _flush when we're EOS.
6241 * tests/check/libs/.cvsignore:
6242 Ignore adapter check binary.
6244 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6246 * gst/gstindex.c: (gst_index_resolver_get_type):
6247 * plugins/elements/gstfakesink.c:
6248 (gst_fake_sink_state_error_get_type):
6249 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6250 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
6251 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6252 Const-ify GEnumValue arrays.
6254 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6256 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6257 Add test case for flags + gst_buffer_make_metadata_writable().
6259 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6261 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
6262 gst_buffer_make_metadata_writable() should maintain the
6263 buffer flags (those that make sense at least) (see #340859).
6265 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6267 * tools/gst-inspect.c:
6268 * tools/gst-launch.c:
6269 * tools/gst-typefind.c:
6270 * tools/gst-xmlinspect.c:
6272 Fix up includes: need to include stdlib.h in tools.h for exit().
6274 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
6276 * gst/gsttaglist.c: (_gst_tag_initialize):
6278 API: add GST_TAG_IMAGE tag (#340721).
6280 2006-05-08 Wim Taymans <wim@fluendo.com>
6283 Added some docs for the segment query.
6285 2006-05-08 Wim Taymans <wim@fluendo.com>
6287 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6288 (gst_base_src_loop), (gst_base_src_change_state):
6289 Always push non-flushing serialized events in the streaming
6292 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
6294 * gst/gsterror.c: (_gst_stream_errors_init):
6295 Add a missing error string.
6297 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
6299 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
6300 Add applied_rate to the debug
6302 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6303 Copy applied_rate into the outgoing NEWSEGMENT event
6305 2006-05-08 Wim Taymans <wim@fluendo.com>
6307 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
6309 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6310 (gst_base_sink_change_state):
6311 call ::unlock before taking the PREROLL_LOCK so we can safely
6312 handle elements that lock in ::render.
6315 2006-05-08 Edward Hervey <edward@fluendo.com>
6317 * autogen.sh: (CONFIGURE_DEF_OPT):
6318 Darwin's libtoolize is in fact called glibtoolize.
6319 Adding glibtoolize to the list of accepted names for libtoolize.
6321 2006-05-08 Wim Taymans <wim@fluendo.com>
6323 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6324 Unify error handling, don't post an error message
6325 when a push() returns EOS but perform our normal EOS
6326 handling code. Fixes #340772.
6328 2006-05-08 Wim Taymans <wim@fluendo.com>
6330 * docs/design/part-overview.txt:
6331 Make upsteam/downstream concepts more clear.
6332 Give an example of serialized/non-serialized events.
6334 * docs/design/part-events.txt:
6335 * docs/design/part-streams.txt:
6336 Mention applied_rate.
6338 * docs/design/part-trickmodes.txt:
6339 Mention applied rate, flesh out some more use cases.
6341 * gst/gstevent.c: (gst_event_new_new_segment),
6342 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
6343 (gst_event_parse_new_segment_full), (gst_event_new_tag),
6344 (gst_event_parse_tag), (gst_event_new_buffer_size),
6345 (gst_event_parse_buffer_size), (gst_event_new_qos),
6346 (gst_event_parse_qos), (gst_event_parse_seek),
6347 (gst_event_new_navigation):
6349 Add applied_rate field to NEWSEGMENT event.
6350 API: gst_event_new_new_segment_full()
6351 API: gst_event_parse_new_segment_full()
6353 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
6354 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
6355 (gst_segment_to_stream_time), (gst_segment_to_running_time):
6357 Add applied_rate to GstSegment structure.
6358 Make calculation of stream_time and running_time more correct
6359 wrt rate/applied_rate.
6361 API: GstSegment::applied_rate field
6362 API: gst_segment_set_newsegment_full();
6364 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6365 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
6366 * libs/gst/base/gstbasetransform.c:
6367 (gst_base_transform_sink_eventfunc),
6368 (gst_base_transform_handle_buffer):
6369 Parse and use applied_rate in the GstSegment field.
6371 * tests/check/gst/gstevent.c: (GST_START_TEST):
6372 Add check for applied_rate field.
6374 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6375 (gstsegments_suite):
6376 Add more checks for various GstSegment operations.
6378 2006-05-08 Wim Taymans <wim@fluendo.com>
6380 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6381 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
6382 (gst_base_sink_get_position), (gst_base_sink_change_state):
6383 Store the sync time of the buffer end position separatly in a
6384 new variable eos_rtime so we can properly sync the EOS event.
6386 Fix the docs for gst_base_sink_set_qos_enabled().
6387 Don't set segment start to invalid value when we receive a
6388 non TIME newsegment.
6389 get closer to handling position reporting for negative rates
6392 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6395 Docs about how to print caps for debug purposes.
6397 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
6398 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
6400 2006-05-07 Stefan Kost <ensonic@users.sf.net>
6403 use full enum names and preprend a '%' in docs strings to make recent
6404 gtk-doc turn that into a link
6406 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6408 * docs/manual/basics-bins.xml:
6409 * docs/manual/basics-bus.xml:
6410 * docs/manual/basics-pads.xml:
6411 Some typo fixes, some additions, some clarifications.
6413 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6415 * tools/gst-inspect.c: (main):
6416 * tools/gst-launch.c: (main):
6417 * tools/gst-run.c: (main):
6418 * tools/gst-typefind.c: (main):
6419 * tools/gst-xmlinspect.c: (main):
6420 Use the string passed to g_option_context_new() for
6421 what it's intended for - the program name is already
6424 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6426 * tools/Makefile.am:
6427 * tools/gst-inspect.c: (main):
6428 * tools/gst-launch.c: (main):
6429 * tools/gst-xmlinspect.c: (main):
6431 Add back --version command line option (#340460).
6433 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
6434 Add --version option and use GOption for argument parsing; refactor a
6435 bit; accept directories as arguments and recurse into them; lastly,
6436 print a decent error message when things go wrong.
6438 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6440 * docs/manual/basics-bins.xml:
6441 Don't mention GstThread (#340611)
6442 * docs/manual/basics-elements.xml:
6443 Update link to GObject tutorial (#340607)
6445 2006-05-05 Wim Taymans <wim@fluendo.com>
6448 * gst/gstminiobject.c:
6449 Add note about refcounting and miniobject/buffer writeability
6450 to docs. Fixes #340604
6452 * gst/gstelementfactory.h:
6453 Added some explanation about @klass.
6455 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6457 * docs/manual/intro-motivation.xml:
6458 * docs/manual/manual.xml:
6459 Avoid CORBA & Bonobo references (#340598)
6461 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6463 * docs/manual/basics-bus.xml:
6464 * docs/manual/basics-pads.xml:
6465 Fix up some inaccuracies and omissions (#340609)
6467 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
6469 * gst/gstghostpad.c:
6470 Small typo in docs (#340625)
6472 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6474 * gst/parse/Makefile.am:
6475 Make 'make -j' proof (see #340698).
6477 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
6480 Require GLib-2.8 here as well.
6482 2006-05-05 Wim Taymans <wim@fluendo.com>
6484 * gst/glib-compat.c:
6485 * gst/gst.c: (init_pre):
6486 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6487 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
6488 (gst_object_dispatch_properties_changed):
6490 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
6491 * gst/gststructure.c: (gst_structure_set_valist):
6492 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6493 Remove pre glib2.8 compatibility, fixes #340508
6495 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6498 Mention type of tags in doc blurbs.
6500 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
6502 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6503 (gst_pad_configure_src), (gst_pad_push):
6504 Restore acceptcaps checking behaviour now that good plugins have
6507 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
6509 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
6520 * gst/parse/Makefile.am:
6521 * libs/gst/base/gstadapter.c:
6522 * libs/gst/base/gstbasesrc.c:
6523 * libs/gst/base/gstpushsrc.c:
6524 * libs/gst/base/gsttypefindhelper.c:
6525 * plugins/elements/gstfakesrc.c:
6526 * plugins/elements/gstidentity.c:
6527 Make sure gstprivate.h and/or config.h are
6528 always included first, otherwise some of our
6529 defines (like _FILE_OFFSET_BITS) might be
6530 redefined in the system headers. Fixes build
6531 on opensolaris (#340016).
6533 2006-05-04 Wim Taymans <wim@fluendo.com>
6535 * docs/libs/gstreamer-libs-sections.txt:
6536 API: addition: gst_adapter_take_buffer()
6538 * libs/gst/base/gstadapter.c: (gst_adapter_push),
6539 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
6540 (gst_adapter_available_fast):
6541 * libs/gst/base/gstadapter.h:
6542 Prepare for optimizing the hell out of this hugely inefficient
6544 Added gst_adapter_take_buffer() so we can at least start thinking
6545 about subbuffering and merging.
6546 Added some comments.
6548 * tests/check/Makefile.am:
6549 * tests/check/libs/adapter.c: (GST_START_TEST),
6550 (gst_adapter_suite), (main):
6551 Added GstAdapter check.
6553 2006-05-04 Wim Taymans <wim@fluendo.com>
6555 * docs/design/part-overview.txt:
6556 Fix some typos, add blurb about buffer flags.
6558 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6560 * docs/libs/gstreamer-libs-sections.txt:
6561 make sure GstBaseTransformClass shows up in the docs
6562 * libs/gst/base/gstbasetransform.c:
6563 * libs/gst/base/gstbasetransform.h:
6564 move docs so gtk-doc picks it up now
6566 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6568 * docs/libs/gstreamer-libs-sections.txt:
6569 add missing symbols to docs
6571 2006-05-02 Stefan Kost <ensonic@users.sf.net>
6573 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6574 back out the newsegment handling change, see #340060 for ongoing
6577 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
6579 * tools/gst-run.c: (get_candidates), (main):
6580 Fix wrong g_file_test() usage (see glib docs for why it doesn't
6581 work); fix typo in error message. Fixes #340079.
6583 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6585 * common/Makefile.am:
6587 * docs/faq/Makefile.am:
6588 * docs/gst/Makefile.am:
6589 * docs/libs/Makefile.am:
6590 * docs/manual/Makefile.am:
6591 * docs/plugins/Makefile.am:
6592 * docs/pwg/Makefile.am:
6593 * docs/slides/Makefile.am:
6595 * common/upload.mak:
6596 move upload.mak to common
6598 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
6600 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6601 add more asserts on refcounts
6602 do more cleanup at end of tests
6603 fix test leaks showing in FC5
6605 2006-04-29 Stefan Kost <ensonic@users.sf.net>
6607 * plugins/elements/gsttypefindelement.c:
6608 (gst_type_find_element_handle_event):
6609 reverted wrong change and reflowed code to avoid others falling into
6612 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6614 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6615 fix changelog entry about last collectpads change,
6616 add notes about proper fix
6618 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6621 * gst/gstregistry.c: (gst_registry_scan_path_level),
6622 (gst_registry_scan_path):
6623 * gst/gstregistry.h:
6624 only write out registry if it has changed, fixes #338339
6626 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6629 * gst/gstpipeline.c:
6630 * plugins/elements/gstcapsfilter.c:
6631 * plugins/elements/gstfakesink.c:
6632 * plugins/elements/gstfakesrc.c:
6633 * plugins/elements/gstfdsink.c:
6634 * plugins/elements/gstfdsrc.c:
6635 * plugins/elements/gstfilesink.c:
6636 * plugins/elements/gstfilesrc.c:
6637 * plugins/elements/gstidentity.c:
6638 * plugins/elements/gstqueue.c:
6639 * plugins/elements/gsttee.c:
6640 * plugins/elements/gsttypefindelement.c:
6641 (gst_type_find_element_handle_event):
6642 make GstElementDetails const
6644 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6646 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6647 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6648 (gst_collect_pads_is_collected), (gst_collect_pads_event):
6649 more detailed debug and formatting cleanup,
6650 forward newsegments to src-pad (so that e.g. adder not eats them)
6652 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6654 * gst/gstutils.c: (gst_element_link_pads):
6657 2006-04-28 Stefan Kost <ensonic@users.sf.net>
6659 * libs/gst/controller/gstcontroller.c:
6660 (gst_controller_sync_values):
6662 * tests/check/libs/controller.c: (GST_START_TEST),
6663 (gst_controller_suite):
6664 a new test for live value handling
6666 2006-04-28 Wim Taymans <wim@fluendo.com>
6668 * gst/gstutils.c: (push_and_ref):
6669 Added some more docs.
6670 Fix refcount issue whith gst_element_found_tags() helper
6671 function. Fixes #338335
6673 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6674 Added testsuite for gst_element_found_tags().
6676 2006-04-28 Michael Smith <msmith@fluendo.com>
6678 * gst/gstvalue.c: (gst_value_serialize_flags):
6679 Avoid NULL dereference when trying to serialize flags containing
6682 2006-04-28 Michael Smith <msmith@fluendo.com>
6684 * plugins/elements/gsttypefindelement.c:
6685 (gst_type_find_element_handle_event):
6686 If we get EOS before any data is accumulated, don't use
6687 uninitialised local variables.
6689 2006-04-28 Michael Smith <msmith@fluendo.com>
6691 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6692 (gst_dp_event_from_packet):
6693 Fixes in reading/writing events over GDP (not currently used?) -
6694 dereferencing NULL events for unknown/invalid event types, memory
6695 leak, and change g_warning to GST_WARNING.
6697 2006-04-28 Wim Taymans <wim@fluendo.com>
6699 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
6700 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6701 (gst_base_sink_get_position), (gst_base_sink_change_state):
6702 When frame dropping is enabled, we should not ignore frames
6704 Update some documentation.
6706 2006-04-28 Wim Taymans <wim@fluendo.com>
6708 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6709 (gst_base_src_send_event), (gst_base_src_change_state):
6710 Documentation updates.
6712 2006-04-28 Wim Taymans <wim@fluendo.com>
6714 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
6715 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
6716 handle EAGAIN, EINTR and short writes correctly. Also clean
6717 up some error cases, avoid a deadlock on bad file descriptors and
6718 use GST_DEBUG_OBJECT.
6721 2006-04-28 Wim Taymans <wim@fluendo.com>
6723 * gst/gstvalue.c: (gst_value_serialize_buffer),
6724 (gst_value_deserialize_buffer):
6725 Don't try to serialize a GValue with a NULL buffer.
6728 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6729 Added check for serialisation of NULL buffers.
6731 2006-04-28 Wim Taymans <wim@fluendo.com>
6733 * gst/gstminiobject.c: (gst_value_take_mini_object):
6734 Taking a NULL miniobject is valid, fix the case where
6735 we try to unref the NULL miniobject.
6737 2006-04-28 Wim Taymans <wim@fluendo.com>
6739 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
6741 * gst/gstbin.c: (gst_bin_handle_message_func):
6743 Don't leak bin refcount when a state recalc is
6744 in progress and we delay another one #339808.
6746 2006-04-28 Wim Taymans <wim@fluendo.com>
6748 * docs/design/part-TODO.txt:
6749 Mention QoS as an ongoing work item.
6751 * docs/design/part-buffering.txt:
6752 New doc about buffering that needs to be fleshed out
6755 * docs/design/part-qos.txt:
6756 More QoS policy for decoders/demuxers/transforms
6758 * docs/design/part-trickmodes.txt:
6761 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6766 === release 0.10.5 ===
6768 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
6771 releasing 0.10.5, "Fogo"
6773 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
6775 patch by: Wim Taymans
6777 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
6778 (gst_pad_configure_src), (gst_pad_push):
6779 * gst/gstpipeline.c: (gst_pipeline_init):
6780 Fix internal data flow errors. Fixes #338711.
6782 2006-04-12 Wim Taymans <wim@fluendo.com>
6784 * tests/check/gst/gstelement.c: (GST_START_TEST):
6785 Don't leak the factory.
6787 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6790 * win32/common/config.h:
6793 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
6795 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6796 (gst_controller_unset_all):
6797 Free allocated GstTimedValues when freeing list nodes.
6798 Should fix leaks 'make check-valgrind' complains about.
6800 * win32/common/libgstcontroller.def:
6801 Add gst_controller_unset_all.
6803 2006-04-11 Stefan Kost <ensonic@users.sf.net>
6805 * docs/libs/gstreamer-libs-sections.txt:
6806 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6807 (gst_controller_unset_all):
6808 * libs/gst/controller/gstcontroller.h:
6809 API: Added new method gst_controller_unset_all()
6810 fixed gst_controller_unset()
6811 * tests/check/libs/controller.c: (GST_START_TEST),
6812 (gst_controller_suite):
6813 Added two testcases for new and fixed method
6815 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
6817 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6818 MSG_DONTWAIT is not defined on Cygwin, so work
6819 around that (fixes #317048).
6821 2006-04-11 Wim Taymans <wim@fluendo.com>
6823 * gst/gstelementfactory.c: (gst_element_register),
6824 (gst_element_factory_create), (gst_element_factory_make):
6827 Updated docs (Fixes #131079)
6829 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6832 * tests/check/gst/gstelement.c: (GST_START_TEST),
6833 (gst_element_suite):
6834 Added testcase for elementfactory class field.
6836 2006-04-10 Wim Taymans <wim@fluendo.com>
6839 Added some more docs.
6841 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
6842 (gst_base_sink_reset_qos):
6843 Calculate more accurate rate values.
6845 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
6847 * gst/gst_private.h:
6848 add a new #ifdef to use __declspec(dllimport) only for
6849 other modules and not for gstreamer core
6850 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
6851 use gst_guint64_to_gdouble for conversion
6852 * win32/common/libgstreamer.def:
6853 add new exported functions
6854 * win32/vs6/gst_inspect.dsp:
6855 * win32/vs6/gst_launch.dsp:
6856 * win32/vs6/libgstbase.dsp:
6857 * win32/vs6/libgstcontroller.dsp:
6858 * win32/vs6/libgstcoreelements.dsp:
6859 * win32/vs6/libgstdataprotocol.dsp:
6860 * win32/vs6/libgstnet.dsp:
6861 update project files
6863 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6865 * gst/gstbuffer.c: (gst_subbuffer_class_init):
6866 * gst/gstclock.c: (gst_clock_class_init):
6867 * gst/gstelement.c: (gst_element_class_init):
6868 * gst/gstindex.c: (gst_index_class_init):
6869 * gst/gstindexfactory.c: (gst_index_factory_class_init):
6870 * gst/gstobject.c: (gst_object_class_init),
6871 (gst_signal_object_class_init):
6872 * gst/gstpad.c: (gst_pad_class_init):
6873 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
6874 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
6875 * gst/gstregistry.c: (gst_registry_class_init):
6876 * gst/gstsystemclock.c: (gst_system_clock_class_init):
6877 * gst/gsttask.c: (gst_task_class_init):
6878 * gst/gstxml.c: (gst_xml_class_init):
6879 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
6880 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6881 (gst_base_src_loop):
6882 * libs/gst/controller/gstcontroller.c:/
6883 (_gst_controller_class_init):
6884 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
6885 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
6886 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
6887 * tests/old/examples/plugins/example.c: (gst_example_class_init):
6888 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
6889 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
6891 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
6893 * gst/gstpad.c: (gst_pad_link):
6894 Must set peer pads before calling the link function, otherwise
6895 a task started from a link function might get a flow-not-linked
6896 result when trying to push because the other thread where the
6897 linking happens hasn't had a chance to set the peers yet. This
6898 might happen for example when a queue gets linked to a downstream
6899 element, as queue starts a streaming task when its source pad
6900 gets linked. Happens in real life when playing back flac/musepack
6901 files in playbin (#332390).
6903 2006-04-08 Stefan Kost <ensonic@users.sf.net>
6907 * libs/gst/base/gstadapter.h:
6908 * libs/gst/base/gstbasesink.h:
6909 * libs/gst/base/gstbasesrc.h:
6910 * libs/gst/base/gstbasetransform.h:
6911 * libs/gst/base/gstcollectpads.h:
6912 * libs/gst/base/gstpushsrc.h:
6913 Fix broken GObject macros
6915 2006-04-07 Wim Taymans <wim@fluendo.com>
6917 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6918 Initialize start and stop times, thanks valgrind.
6920 2006-04-07 Wim Taymans <wim@fluendo.com>
6922 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6923 Be a bit nicer to badly behaving upstream elements that expect
6924 us to deal with non TIME segments and timestamps (such as fakesrc
6927 2006-04-07 Wim Taymans <wim@fluendo.com>
6930 Small documentation clarification about the signal watch.
6932 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6933 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
6934 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
6935 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
6936 (gst_base_sink_get_position_last),
6937 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
6938 Convert and store timestamps in stream time and running time, the
6939 raw timestamps are not useful, also document this better.
6940 Use different window sizes for good and bad QoS observations so
6941 we react to badness a little quicker.
6942 Keep track of the amount of rendered and dropped buffers.
6943 Send QoS timestamps in running time.
6945 * libs/gst/base/gstbasetransform.c:
6946 (gst_base_transform_sink_eventfunc),
6947 (gst_base_transform_handle_buffer):
6948 Compare QoS timestamps against running time.
6950 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6955 2006-04-06 Michael Smith <msmith@fluendo.com>
6957 * gst/gstpad.c: (gst_pad_set_property):
6958 Use g_value_get_object() instead of g_value_dup_gst_object(),
6959 to avoid double-reffing the pad template (which we then sink,
6960 so this worked previously if (and only if) the pad template
6963 * gst/gstpadtemplate.c: (gst_pad_template_init),
6964 (gst_pad_template_pad_created):
6965 Never return floating references to pad templates, create
6966 them as initially-sunken.
6968 Document an extra function (and make this stop sinking our
6969 pad template, since that is now guaranteed to do nothing,
6970 since we created it sunken).
6972 * gst/gstghostpad.c:
6975 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
6977 * gst/gstinfo.c: (__gst_in_valgrind):
6980 * plugins/elements/gsttypefindelement.c:
6981 (gst_type_find_element_chain):
6982 Don't leak buffer caps.
6984 2006-04-06 Michael Smith <msmith@fluendo.com>
6986 * gst/parse/grammar.y:
6987 Fix a leak in parse-launch for any source-or-sink named element
6990 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6991 Unref the pipeline if it exists after we've failed parsing.
6993 2006-04-05 Michael Smith <msmith@fluendo.com>
6995 * gst/gstpipeline.c: (gst_pipeline_init):
6996 When we create a pipeline bus, initially create it in flushing mode.
6997 Fixes leaks in at least one test, and makes a new pipeline work the
6998 same as one that has gone to READY and then back to NULL.
7003 2006-04-05 Michael Smith <msmith@fluendo.com>
7005 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7006 Unref a pad we reffed.
7007 * tests/check/gst/gstutils.c: (GST_START_TEST):
7010 2006-04-05 Michael Smith <msmith@fluendo.com>
7012 * gst/gstquery.c: (gst_query_set_formats),
7013 (gst_query_set_formatsv):
7014 Fix leaking GValues in queries, as shown by valgrind/testsuite.
7016 2006-04-05 Michael Smith <msmith@fluendo.com>
7018 * tests/check/generic/sinks.c: (GST_START_TEST):
7019 Fix a variety of memleaks in sinks check, which are only sometimes
7020 shown by running the tests under valgrind (weird?).
7022 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
7024 * docs/version.entities.in:
7025 Fix the substituted entity name after thomas' changes on the
7028 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7030 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
7033 2006-04-05 Andy Wingo <wingo@pobox.com>
7035 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
7037 * libs/gst/base/gstbasetransform.c
7038 (gst_base_transform_sink_eventfunc): When resetting our segment on
7039 FLUSH_STOP, also update the flag saying we haven't seen a
7042 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7044 Patch by: Paolo Borelli <pborelli at katamail dot com>
7046 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
7047 (gst_plugin_check_license):
7048 minor clean-ups: G_DEFINE_TYPE already takes care of the
7049 parent_class stuff, no need to do it twice. Mark array of
7050 license strings as constant. (#337103)
7052 2006-04-04 Michael Smith <msmith@fluendo.com>
7054 * tools/gst-inspect.c: (print_element_list):
7055 Free the right plugin list; fixes a memory leak.
7057 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7059 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7061 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7062 Don't error out on empty buffers (#336945).
7064 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
7066 * docs/libs/gstreamer-libs-sections.txt:
7068 * libs/gst/base/gstbasesink.c:
7069 * libs/gst/base/gstbasesink.h:
7070 * libs/gst/base/gstbasesrc.c:
7071 * libs/gst/base/gstbasesrc.h:
7072 Documentation updates. Make BaseSink and BaseSrc docs contain the
7073 class structure so that people can actually see the prototypes for
7074 virtual functions they're supposed to be overriding.
7076 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
7078 * plugins/elements/gsttypefindelement.c:
7079 (gst_type_find_element_chain):
7080 More debug info; when skipping typefinding, send cached
7081 events in all cases.
7083 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
7086 use new AS_VERSION and AS_NANO macros
7087 * gst/gst-i18n-lib.h:
7090 * gst/gstversion.h.in:
7091 * win32/common/config.h:
7092 * win32/common/config.h.in:
7095 2006-03-31 Michael Smith <msmith@fluendo.com>
7097 * plugins/elements/gsttypefindelement.c:
7098 (gst_type_find_element_chain):
7099 Do not typefind content if the buffers already have caps.
7100 Neccesary for icydemux (#333657), and the right thing to do anyway.
7102 2006-03-30 Wim Taymans <wim@fluendo.com>
7104 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7105 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
7106 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
7107 (gst_base_sink_record_qos_observation),
7108 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7109 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7110 (gst_base_sink_change_state):
7111 More QoS measurements as described in the design doc.
7112 Get rid of ringbuffer with observations, running average is
7113 more simple and equally good.
7114 Calculates valid proportion now.
7115 Added beginning of flood measurement.
7117 2006-03-29 Wim Taymans <wim@fluendo.com>
7119 * docs/design/part-qos.txt:
7121 Small documentation updates and additions.
7123 2006-03-29 Wim Taymans <wim@fluendo.com>
7125 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7126 (gst_base_src_send_event), (gst_base_src_loop),
7127 (gst_base_src_change_state):
7128 Perform the EOS logic when we reach the segment stop position.
7129 Fix compilation on gcc4.1
7131 2006-03-29 Wim Taymans <wim@fluendo.com>
7133 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7135 * plugins/elements/gstqueue.c: (gst_queue_init),
7136 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7137 (gst_queue_set_property):
7138 * plugins/elements/gstqueue.h:
7139 In queue, when EOS is received, if minimum threshold > max_size -
7140 current_level, there is chance that queue blocks forever in conditional
7141 item del wait. This is because the queue is not emptied completely due
7142 to minimum threshold. Here is another approach. Instead of setting
7143 cur_levels to max in EOS, just zero all minimum threshold levels. This
7144 should make sure that queue gives out all data. When going to READY
7145 (stop) state, just reset the original minimum threshold levels.
7148 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
7150 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
7151 (gst_type_find_element_handle_event),
7152 (gst_type_find_element_send_cached_events),
7153 (gst_type_find_element_change_state):
7154 * plugins/elements/gsttypefindelement.h:
7155 When typefinding is done in push mode, we should cache
7156 events we receive during typefinding instead of just
7157 dropping them (e.g. newsegment, custom events from
7158 dvdreadsrc etc.) and then send them out once we've
7159 determined the type of the stream (and decodebin
7160 has had a chance to plug in a decoder/demuxer).
7162 2006-03-27 Wim Taymans <wim@fluendo.com>
7164 * docs/design/part-qos.txt:
7167 2006-03-27 Wim Taymans <wim@fluendo.com>
7169 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
7171 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
7172 (gst_base_src_send_event), (gst_base_src_change_state):
7173 Handle element seek correctly when we are streaming.
7176 2006-03-24 Michael Smith <msmith@fluendo.com>
7178 * docs/faq/gst-uninstalled:
7179 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
7180 allow you to correctly run intalled applications built against old
7181 core, using plugins that require updated core (e.g. running
7182 installed totem against a full uninstalled gstreamer stack)
7184 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7186 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
7189 2006-03-24 Wim Taymans <wim@fluendo.com>
7191 * docs/gst/gstreamer-sections.txt:
7192 Rearrange the order of the methods so that related methods
7193 are grouped together in sections.
7195 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7198 Little clarification in the docs
7200 2006-03-24 Stefan Kost <ensonic@users.sf.net>
7204 * plugins/elements/gstidentity.c:
7205 * plugins/elements/gstqueue.c:
7206 * plugins/elements/gsttee.c:
7207 * plugins/elements/gsttypefindelement.c:
7208 GST_ELEMENT_DETAILS formatting
7210 2006-03-24 Wim Taymans <wim@fluendo.com>
7212 * libs/gst/base/gstbasesink.h:
7213 Only add fields, not insert or we break ABI.
7215 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7217 * win32/common/libgstbase.def:
7218 * win32/common/libgstreamer.def:
7219 Update, add recently added functions.
7221 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7223 * docs/gst/gstreamer-sections.txt:
7224 * gst/gstutils.c: (gst_pad_query_peer_position),
7225 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
7227 API: add some new utility functions:
7228 - gst_pad_query_peer_position()
7229 - gst_pad_query_peer_duration()
7230 - gst_pad_query_peer_convert()
7232 2006-03-23 Wim Taymans <wim@fluendo.com>
7234 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7235 (gst_base_sink_init), (gst_base_sink_finalize),
7236 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
7237 (gst_base_sink_set_property), (gst_base_sink_get_property),
7238 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
7239 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
7240 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
7241 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
7242 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
7243 (gst_base_sink_preroll_object), (gst_base_sink_event),
7244 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
7245 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7246 (gst_base_sink_query), (gst_base_sink_change_state):
7247 Decouple max-lateness and the fact that QoS messages are generated
7248 with a new property (qos).
7249 added API: GstBaseSink::async_play()
7250 Add vmethod so subclasses can be notified of ASYNC playing
7252 Collect timestamp start and stop to report better current
7253 position in EOS/PLAYING/PAUSED/READY/NULL.
7254 Refactor QoS/frame dropping and other measurements.
7255 API: GstBaseSrc::qos
7258 * libs/gst/base/gstbasesink.h:
7259 Added Private struct.
7260 API: gst_base_sink_set_qos_enabled()
7261 API: gst_base_sink_is_qos_enabled()
7263 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
7265 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
7266 If compiling against GLib-2.8 or newer, try to read the
7267 registry file using GMappedFile first before falling back
7268 to fopen() + fread() (#332151).
7270 2006-03-22 Wim Taymans <wim@fluendo.com>
7272 * gst/gstinfo.c: (gst_debug_set_active),
7273 (gst_debug_category_set_threshold):
7274 Disable debugging unless explicitly activated.
7277 2006-03-22 Wim Taymans <wim@fluendo.com>
7279 * gst/gstelement.c: (gst_element_set_locked_state),
7280 (gst_element_dispose):
7281 Cleanup the error case.
7283 * gst/gstobject.c: (gst_object_dispose):
7284 print a critical when some object was disposed with
7285 a parent, also revive the object since it might
7288 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
7290 * tools/gst-launch.1.in:
7293 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7296 * tests/check/Makefile.am:
7297 disable some tests when we don't have a registry
7298 * tests/check/gst/gstutils.c: (gst_utils_suite):
7299 don't build the part that needs parsing
7301 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
7304 * tests/examples/Makefile.am:
7305 fix --disable-parse build
7307 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7309 * tools/gst-feedback.1.in:
7310 Fix typo: s/feeback/feedback/ (#133494).
7312 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7314 * tools/Makefile.am:
7315 * tools/gst-launch.1.in:
7316 Add FILES section and correct entry about GST_REGISTRY_PATH
7317 environment variable (#133495; #133494).
7319 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7321 * tools/Makefile.am:
7322 * tools/gst-md5sum.1.in:
7323 * tools/gst-md5sum.c:
7324 Remove gst-md5sum and man page (the md5sink element
7325 required was removed ages ago)
7327 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7329 * gst/gststructure.c: (gst_structure_id_set_value):
7330 Make sure that string fields in structures/taglists
7331 contain valid UTF-8 - we don't want to pass rubbish to
7332 applications because of a buggy plugin (cp. #334167).
7334 2006-03-21 Edward Hervey <edward@fluendo.com>
7336 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7337 (gst_bin_handle_message_func):
7338 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
7339 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
7340 (gst_element_set_bus_func):
7341 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
7342 * gst/gstminiobject.c: (gst_value_set_mini_object),
7343 (gst_value_take_mini_object):
7344 * gst/gstpad.c: (gst_pad_set_pad_template):
7345 * gst/gstpipeline.c: (gst_pipeline_dispose),
7346 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
7347 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
7348 (gst_collect_pads_chain):
7349 * libs/gst/net/gstnettimeprovider.c:
7350 (gst_net_time_provider_set_property):
7351 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
7352 It's in fact all issues with gst_*object_replace().
7354 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
7356 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
7358 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7359 * pkgconfig/gstreamer-check.pc.in:
7360 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
7362 2006-03-21 Edward Hervey <edward@fluendo.com>
7367 gst_[buffer|event|message]_ref() macros are replaced by a static
7368 inline functions because gcc-4.1 will about if the return value
7370 * tests/check/gst/gstevent.c: (event_probe):
7371 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
7373 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
7376 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
7377 the type' case. (Closes: #335195 for now). In the future, when we
7378 depend on GLib 2.10, we could also intern the type name using
7379 g_intern_static_string()
7381 2006-03-20 Wim Taymans <wim@fluendo.com>
7383 * gst/gstbin.c: (gst_bin_handle_message_func),
7384 (bin_query_max_init), (bin_query_position_fold),
7385 (bin_query_position_done), (gst_bin_query):
7386 Position query should also take max of all streams.
7388 2006-03-20 Wim Taymans <wim@fluendo.com>
7390 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7391 (gst_fake_src_finalize):
7392 Fix leaks in fakesrc.
7394 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7395 Fix leaks in the testcase.
7397 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
7399 * gst/gst_private.h:
7400 add win32 specific import decoration(__declspec(dllimport))
7401 for all extern GstDebugCategory * variables
7402 * win32/common/libgstbase.def:
7403 * win32/common/libgstcontroller.def:
7404 * win32/common/libgstreamer.def:
7405 Add some exports, remove empty lines
7406 * win32/common/libgstdataprotocol.def:
7407 * win32/common/libgstdataprotocol.dsp:
7408 * win32/common/libgstnet.def:
7409 * win32/common/libgstnet.dsp:
7410 new project files and exportation files added
7412 2006-03-19 Wim Taymans <wim@fluendo.com>
7414 * tests/check/libs/basesrc.c: (eos_event_counter):
7415 Use proper return value for probe.
7417 2006-03-17 Wim Taymans <wim@fluendo.com>
7419 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7421 Don't leak buffers, caps and pads on negotiation errors.
7423 2006-03-16 Stefan Kost <ensonic@users.sf.net>
7426 * docs/faq/dependencies.xml:
7427 * docs/faq/developing.xml:
7429 * docs/faq/general.xml:
7430 * docs/faq/getting.xml:
7431 * docs/faq/legal.xml:
7432 * docs/faq/troubleshooting.xml:
7433 * docs/faq/using.xml:
7434 Faq review and update.
7436 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
7438 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
7440 Don't pound the cpu to pieces by checking get_caps when accept_caps
7441 is called with the same caps as the pad already has.
7442 Use GST_DEBUG_OBJECT when outputting caps change information.
7444 2006-03-15 Wim Taymans <wim@fluendo.com>
7446 * gst/gstclock.c: (gst_clock_class_init):
7449 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
7454 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
7455 (gst_pad_accept_caps), (gst_pad_configure_sink),
7456 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
7457 Make the default acceptcaps behaviour be to check the requested
7458 caps against the gst_pad_get_caps output.
7460 Ensure that gst_pad_accept_caps is used to check caps when a pad
7461 doesn't have a setcaps function, so that pads automatically refuse
7462 caps that they don't allow in their pad template. (Fixes #332986)
7464 When a buffer with attached caps is pushed, ensure that the source
7465 pad receives those caps even if the element didn't call
7466 gst_pad_set_caps first.
7468 2006-03-15 Wim Taymans <wim@fluendo.com>
7470 * libs/gst/base/gstadapter.c:
7473 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
7475 * win32/common/libgstbase.def:
7476 * win32/common/libgstcontroller.def:
7477 * win32/common/libgstreamer.def:
7478 Add a whole bunch of missing functions (#334434).
7480 2006-03-14 Wim Taymans <wim@fluendo.com>
7482 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7483 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
7484 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
7485 Better debug info when we receive a segment event.
7486 Reorganize a bit so we can pass the get_times() results around.
7487 Use the segment format when calculating the running time.
7488 Don't do QoS is sync is disabled or we have no clock or the
7489 element does not want us to sync to the clock.
7490 Don't drop buffers if QoS is disabled for now.
7492 2006-03-14 Wim Taymans <wim@fluendo.com>
7494 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
7495 Marked the stats property as unimplemented so people don't get
7497 Add debug message when regression goes wrong.
7498 Added some more docs.
7500 2006-03-14 Wim Taymans <wim@fluendo.com>
7502 * gst/gstsegment.c: (gst_segment_to_stream_time):
7503 Return correct return type in case of errors.
7505 2006-03-14 Wim Taymans <wim@fluendo.com>
7507 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
7508 Don't segfault on invalid formats.
7510 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7512 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7513 Can't use gst_segment_to_running_time() when the segment
7514 is not in GST_TIME_FORMAT (like with filesink, for example).
7515 Stops flac encoding pipelines from spewing critical warnings
7518 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
7520 * gst/gstpipeline.c: (gst_pipeline_class_init):
7521 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
7523 * plugins/elements/gsttypefindelement.c:
7524 (gst_type_find_element_handle_event):
7525 Don't try to typefind empty streams.
7527 2006-03-14 Wim Taymans <wim@fluendo.com>
7529 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
7530 (gst_base_sink_do_qos):
7531 Separate QoS calculation.
7532 Only drop buffers when lateness is bigger than the
7533 duration of the buffer.
7535 2006-03-13 Wim Taymans <wim@fluendo.com>
7537 * gst/gstpipeline.c: (gst_pipeline_set_property),
7538 (gst_pipeline_get_property), (do_pipeline_seek),
7539 (gst_pipeline_change_state), (gst_pipeline_set_delay),
7540 (gst_pipeline_get_delay):
7541 Don't deadlock when reading properties.
7543 2006-03-13 Wim Taymans <wim@fluendo.com>
7545 * libs/gst/base/gstbasetransform.c:
7546 (gst_base_transform_class_init), (gst_base_transform_init),
7547 (gst_base_transform_sink_event),
7548 (gst_base_transform_sink_eventfunc),
7549 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
7550 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7551 (gst_base_transform_set_property),
7552 (gst_base_transform_get_property),
7553 (gst_base_transform_change_state), (gst_base_transform_update_qos),
7554 (gst_base_transform_set_qos_enabled),
7555 (gst_base_transform_is_qos_enabled):
7556 * libs/gst/base/gstbasetransform.h:
7557 Make basetransform virtual method for src events too.
7558 Handle QOS in basetransform.
7559 API: gst_base_transform_update_qos()
7560 API: gst_base_transform_set_qos_enabled()
7561 API: gst_base_transform_is_qos_enabled()
7563 2006-03-13 Wim Taymans <wim@fluendo.com>
7565 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7566 (gst_base_sink_do_sync):
7568 Use QOS debug category.
7570 2006-03-13 Wim Taymans <wim@fluendo.com>
7572 * plugins/elements/gstqueue.c:
7573 Very small doc update.
7575 2006-03-13 Wim Taymans <wim@fluendo.com>
7577 * gst/gst_private.h:
7578 * gst/gstinfo.c: (_gst_debug_init):
7579 Added QOS debug category
7581 2006-03-13 Wim Taymans <wim@fluendo.com>
7583 * docs/gst/gstreamer-sections.txt:
7584 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
7586 * gst/gstbus.c: (gst_bus_class_init):
7589 * gst/gstelement.c: (gst_element_set_locked_state):
7591 Documentation updates.
7593 * gst/gstpipeline.c: (gst_pipeline_get_type),
7594 (gst_pipeline_class_init), (gst_pipeline_init),
7595 (gst_pipeline_dispose), (gst_pipeline_set_property),
7596 (gst_pipeline_get_property), (do_pipeline_seek),
7597 (gst_pipeline_send_event), (gst_pipeline_change_state),
7598 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
7599 (gst_pipeline_get_delay):
7600 * gst/gstpipeline.h:
7601 Added methods for setting the delay.
7602 API: gst_pipeline_set_delay()
7603 API: gst_pipeline_get_delay()
7604 Add pipeline debug category
7607 Don't reset stream time when seek failed.
7609 2006-03-13 Wim Taymans <wim@fluendo.com>
7611 * docs/design/draft-klass.txt:
7612 * docs/design/part-clocks.txt:
7613 * docs/design/part-events.txt:
7614 * docs/design/part-gstbin.txt:
7615 * docs/design/part-gstpipeline.txt:
7616 * docs/design/part-messages.txt:
7617 * docs/design/part-negotiation.txt:
7618 * docs/design/part-overview.txt:
7619 * docs/design/part-preroll.txt:
7620 * docs/design/part-seeking.txt:
7621 * docs/design/part-states.txt:
7622 * docs/design/part-streams.txt:
7623 Documentation updates.
7625 2006-03-12 Julien MOUTTE <julien@moutte.net>
7627 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
7628 us to leak strings...
7630 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
7632 * libs/gst/net/gstnettimeprovider.c:
7634 * win32/common/config.h:
7637 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
7639 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
7642 Don't check for libgnomeui (leftover from old examples
7643 that aren't built or disted any longer) (#334303).
7645 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
7647 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
7648 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
7649 Emit RESOURCE_NO_SPACE_LEFT error here as well when
7650 there's no space left on the device.
7652 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
7655 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
7656 to cast the input to GstClockTime before comparing with
7657 another GstClockTime value.
7659 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7664 === release 0.10.4 ===
7666 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
7669 releasing 0.10.4, "Light"
7671 2006-03-10 Michael Smith <msmith@fluendo.com>
7673 * libs/gst/dataprotocol/dataprotocol.c:
7674 Fix docs for dataprocotol to not get the return types completely
7675 wrong for a few functions.
7677 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7679 * docs/gst/gstreamer-sections.txt:
7680 * gst/gstpipeline.c: (gst_pipeline_class_init),
7681 (gst_pipeline_init), (gst_pipeline_set_property),
7682 (gst_pipeline_get_property), (gst_pipeline_change_state),
7683 (gst_pipeline_set_auto_flush_bus),
7684 (gst_pipeline_get_auto_flush_bus):
7685 * gst/gstpipeline.h:
7686 Add new API: gst_pipeline_set_auto_flush_bus() and
7687 gst_pipeline_get_auto_flush_bus() to disable automatic
7688 flushing of the pipeline's GstBus when going from READY
7689 to NULL state (#332045).
7691 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7693 * docs/gst/gstreamer-sections.txt:
7694 * gst/gsturi.c: (gst_uri_has_protocol):
7696 Add new API: gst_uri_has_protocol() (#333779).
7698 2006-03-09 Wim Taymans <wim@fluendo.com>
7700 * gst/gstclock.c: (gst_clock_entry_new),
7701 (gst_clock_id_compare_func), (gst_clock_id_wait),
7702 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
7703 (gst_clock_init), (gst_clock_get_internal_time),
7704 (gst_clock_set_master), (do_linear_regression),
7705 (gst_clock_add_observation), (gst_clock_set_property):
7709 Fix a possible segfault when the window-size is made smaller.
7710 Calculate jitter before performing the clock wait. Ideally
7711 the clock implementation should calculate jitter but we need
7712 API breakage for that.
7714 * gst/gstsystemclock.c: (gst_system_clock_init):
7717 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7718 Remove leftover else
7720 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7721 (gst_systemclock_suite):
7722 Added check to test GST_CLOCK_DIFF.
7724 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
7726 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
7727 (gst_type_find_helper_get_range):
7728 If we are provided with the size, we should implement
7729 GstTypeFind::get_length, so that typefind functions who
7730 want to can actually peek at the middle of a file.
7732 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
7734 * docs/manual/advanced-dataaccess.xml:
7735 Add some very very basic error checking.
7737 * docs/pwg/appendix-checklist.xml:
7738 Some updates to the list of things to check when writing an element.
7740 2006-03-08 Wim Taymans <wim@fluendo.com>
7742 * docs/design/part-element-transform.txt:
7743 Added some docs about the design of tranform elements.
7745 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7746 (gst_base_src_loop), (gst_base_src_change_state):
7747 Mark buffers with the DISCONT flag.
7749 2006-03-08 Michael Smith <msmith@fluendo.com>
7751 * gst/gstregistry.h:
7752 * gst/gstregistryxml.c: (gst_registry_save),
7753 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
7754 (gst_registry_xml_save_pad_template),
7755 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
7756 (gst_registry_xml_write_cache):
7757 Rewrite registry-saving to avoid race conditions and check for
7760 2006-03-08 Wim Taymans <wim@fluendo.com>
7762 * libs/gst/base/gstbasetransform.c:
7763 (gst_base_transform_transform_caps),
7764 (gst_base_transform_transform_size),
7765 (gst_base_transform_prepare_output_buffer),
7766 (gst_base_transform_get_unit_size),
7767 (gst_base_transform_buffer_alloc),
7768 (gst_base_transform_handle_buffer),
7769 (gst_base_transform_change_state):
7770 Cleanups, separate normal flow from errors, add sensible
7772 Don't try to renegotiate when allocating an output buffer.
7773 Also copy DISCONT buffer flag when copying a buffer.
7774 Reset the transform after we finish streaming, not during.
7776 2006-03-08 Wim Taymans <wim@fluendo.com>
7778 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7779 Use last buffer timestamp in qos message.
7781 2006-03-07 Wim Taymans <wim@fluendo.com>
7783 Patch by: Christophe Fergeau
7785 * docs/pwg/advanced-tagging.xml:
7786 * docs/pwg/building-pads.xml:
7789 2006-03-07 Wim Taymans <wim@fluendo.com>
7791 * docs/libs/gstreamer-libs-sections.txt:
7792 Added basesink new methods.
7796 Docs updates. Flesh out the QoS docs.
7798 * libs/gst/base/gstadapter.c:
7799 Small doc clarification about ownership and flushing.
7801 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
7802 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7803 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
7804 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7805 * libs/gst/base/gstbasesink.h:
7807 Added new methods to allow subclass to control max-lateness
7809 Generate very basic QoS events based on last sync observation.
7810 Updated docs, fix typo, added some QoS blurb.
7812 * libs/gst/base/gstbasesrc.c:
7813 Remove obsolete _get_state() calls from docs.
7815 2006-03-07 Wim Taymans <wim@fluendo.com>
7817 * docs/libs/gstreamer-libs-sections.txt:
7818 * libs/gst/base/gstbasetransform.h:
7819 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
7820 Fix docs for GstBaseSrc.
7822 2006-03-07 Wim Taymans <wim@fluendo.com>
7824 * docs/gst/gstreamer-sections.txt:
7827 * libs/gst/base/gstbasetransform.h:
7828 Small documentation fixes.
7830 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7833 Document thread-unsafety of gst_value_register_foo_func()
7834 when used at the same time as gst_value_foo() (#322628).
7836 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
7838 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
7839 (gst_push_src_check_get_range):
7840 Push sources don't support pull mode by default.
7842 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7844 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7845 (gst_base_src_init), (gst_base_src_pad_check_get_range),
7846 (gst_base_src_default_check_get_range):
7847 * libs/gst/base/gstbasesrc.h:
7848 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
7849 provide default implementation, and rename
7850 gst_base_src_check_get_range() to
7851 gst_base_src_pad_check_get_range() for clarity.
7853 2006-03-06 Wim Taymans <wim@fluendo.com>
7855 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7856 Make property overridable.
7858 2006-03-06 Wim Taymans <wim@fluendo.com>
7860 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7861 (gst_base_sink_init), (gst_base_sink_set_property),
7862 (gst_base_sink_get_property), (gst_base_sink_do_sync):
7863 * libs/gst/base/gstbasesink.h:
7864 API addition: Make max-lateness a property.
7866 2006-03-06 Wim Taymans <wim@fluendo.com>
7868 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
7869 (gst_base_sink_do_sync), (gst_base_sink_render_object):
7870 Don't ever draw a frame that is >10ms late.
7872 2006-03-06 Michael Smith <msmith@fluendo.com>
7874 * gst/gstmessage.c: (_gst_message_copy):
7875 When copying a message, set the parent_refcount of the enclosed
7876 structure to point at the copy, not the original message.
7878 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
7880 Patch by: Christophe Fergeau
7883 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
7884 usable in c++ code (#333417)
7886 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
7889 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
7891 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
7893 * libs/gst/base/gstbasetransform.c:
7894 (gst_base_transform_transform_caps):
7895 Make sure caps are writable before passing them to
7898 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7901 Fix some minor docs errors.
7903 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
7905 Patch by: Ross Burton <ross at burtonini dot com>
7907 * gst/gsterror.c: (_gst_resource_errors_init):
7909 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
7911 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7914 Add a check and output a g_warning when GStreamer is built
7915 against GLib 2.6 but running against 2.8 or higher, and vice
7916 versa. (Closes: #323542)
7918 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
7920 * gst/parse/parse.l:
7921 Commit patch for parse_launch syntax from #331255. Removes
7922 support for quoted strings and mimetypes when writing filtered
7923 caps. See the bug report for more details - I'm pretty sure this
7924 obscure feature is not in use by _anyone_ anywhere.
7926 With this simple change, the size of the gstreamer.so here
7927 drops from 2193KB to 1565KB.
7929 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7931 * plugins/elements/gsttypefindelement.h:
7932 * plugins/elements/gsttypefindelement.c:
7933 (gst_type_find_element_src_event), (start_typefinding),
7934 (stop_typefinding), (gst_type_find_element_handle_event),
7935 (gst_type_find_element_chain),
7936 (gst_type_find_element_chain_do_typefinding):
7937 Use gst_type_find_helper_for_buffer() for chain-based
7940 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7942 * plugins/elements/gsttypefindelement.c:
7943 (gst_type_find_element_class_init),
7944 (gst_type_find_element_set_property),
7945 (gst_type_find_element_get_property):
7946 Deprecate "maximum" property (not only was it only taken into
7947 account for typefinding in push-mode anyway, it also was never
7948 actually possible to set it in the first place because the
7949 property was registered with the numeric property ID for the
7950 "minimum" property). Register "maximum" property correctly,
7951 for the sake of future copy'n'pasters. Remove some cruft
7952 from property get/set functions.
7954 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
7956 * plugins/elements/gsttypefindelement.c:
7957 (gst_type_find_element_activate):
7958 Use gst_type_find_helper_get_range() here, so we
7959 can honour the "minimum" property and also emit
7960 the signal with the correct probability of the found caps.
7962 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
7964 * docs/libs/gstreamer-libs-sections.txt:
7965 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7966 (helper_find_suggest), (gst_type_find_helper_get_range),
7967 (gst_type_find_helper):
7968 * libs/gst/base/gsttypefindhelper.h:
7969 New API: gst_type_find_helper_get_range() (#333042).
7971 2006-03-02 Michael Smith <msmith@fluendo.com>
7973 * gst/gstregistryxml.c: (load_feature):
7974 Asserting on a failure to read part of the registry is Not Cool.
7975 Just log a warning and return NULL (which is already handled)
7977 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
7979 * win32/common/libgstbase.def:
7980 added export of gst_type_find_helper_for_buffer
7981 * win32/common/libgstbase.def:
7982 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
7983 gst_ghost_pad_get_target
7985 2006-02-28 Wim Taymans <wim@fluendo.com>
7987 * docs/design/draft-klass.txt:
7989 Added Connector to mark elements that are only used to
7990 allow pipeline connections.
7991 Moved Debug to extra feature since most of them are
7992 functionally something else.
7994 2006-02-28 Wim Taymans <wim@fluendo.com>
7996 * docs/design/draft-klass.txt:
7997 Some updates and clarifications.
7999 2006-02-28 Wim Taymans <wim@fluendo.com>
8001 * docs/design/draft-klass.txt:
8002 Proposal for klass field values.
8004 * docs/design/part-streams.txt:
8005 Start of a doc describing stream anatomy.
8007 2006-02-28 Wim Taymans <wim@fluendo.com>
8009 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
8010 Help the compiler a bit with type registration.
8011 Use existing forward cod path instead of duplicating it when
8014 * gst/gstbus.c: (gst_bus_get_type):
8015 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
8016 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
8017 * gst/gstclock.c: (gst_clock_get_type):
8018 * gst/gstelement.c: (gst_element_get_type),
8019 * gst/gstelementfactory.c: (gst_element_factory_get_type):
8020 * gst/gstindexfactory.c: (gst_index_factory_get_type):
8021 * gst/gstminiobject.c: (gst_mini_object_get_type):
8022 * gst/gstpad.c: (gst_pad_get_type):
8023 * gst/gstsegment.c: (gst_segment_get_type):
8024 * gst/gststructure.c: (gst_structure_get_type):
8025 * gst/gstsystemclock.c: (gst_system_clock_get_type):
8026 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
8028 Help compiler with type registration.
8030 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8033 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8035 * plugins/elements/gsttypefindelement.c:
8036 (gst_type_find_element_handle_event):
8037 When we get an EOS event and have not found a type yet
8038 (most likely because we had not yet accumulated
8039 TYPE_FIND_MIN_SIZE of data yet), try to determine the
8040 type given the data we have so far. Fixes typefinding
8041 for very short streams again, most notably quicktime
8042 redirections as used on Apple's trailer site (#331701).
8044 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8046 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
8047 (gst_type_find_helper):
8048 Try typefinding factories with the highest rank first.
8050 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8052 * docs/libs/gstreamer-libs-docs.sgml:
8053 * docs/libs/gstreamer-libs-sections.txt:
8054 * libs/gst/base/gsttypefindhelper.c:
8055 Add section for typefind helper and add documentation
8056 for the old and the new function.
8058 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8060 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
8061 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
8062 (gst_type_find_helper_for_buffer):
8063 * libs/gst/base/gsttypefindhelper.h:
8064 New API: gst_type_find_helper_for_buffer() (#332723).
8066 2006-02-27 Michael Smith <msmith@fluendo.com>
8068 Patch by: Loïc Minier
8072 * docs/slides/Makefile.am:
8073 prevent CVS directories getting disted.
8075 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
8077 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
8078 Use the REFCOUNTING category for caps refcounting.
8080 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
8082 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
8083 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
8085 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
8087 * plugins/elements/gsttypefindelement.c:
8088 (gst_type_find_element_activate):
8089 Use gst_pad_check_pull_range() before _activate_pull()
8090 to avoid unnecessary open/close (see #331690).
8092 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
8095 Docs enhancement: make it crystal clear what the
8096 gst_pad_add_*_probe() callbacks should look like.
8098 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
8100 * libs/gst/base/gstbasesrc.c:
8101 Document how applications can stop recording from
8102 live sources (see #330996).
8104 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8106 * tests/check/Makefile.am:
8107 * tests/check/libs/basesrc.c: (eos_event_counter),
8108 (basesrc_eos_events_pull), (basesrc_eos_events_push),
8109 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
8110 (gst_basesrc_suite), (main):
8111 ... and add some tests for the base source EOS stuff.
8113 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8115 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
8116 Test case originally showed the problem fixed below,
8117 but was then amended. Add checks back at the place
8118 where they used to be.
8120 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8122 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8123 (gst_base_src_init), (gst_base_src_loop),
8124 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8125 (gst_base_src_change_state):
8126 * libs/gst/base/gstbasesrc.h:
8127 Don't unconditionally send EOS when going from PAUSED to
8128 READY state, esp. make sure we don't send two EOS events
8129 in some cases (e.g. one when reaching EOS and one when
8130 going from PAUSED to READY). Also, we don't want to send
8131 EOS events when operating in pull mode. However, we do
8132 want to send an EOS event when shutting down a live
8133 source explicitly, for example (fixes #330996).
8135 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
8137 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8138 Update src->read_position after a seek when not using mmap.
8139 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
8141 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
8147 Make things work with --disable-parse as they do with
8148 --disable-load-save - the symbols involved disappear, but the
8149 header is still installed and GST_DISABLE_PARSE is included via
8152 2006-02-20 Julien MOUTTE <julien@moutte.net>
8154 * libs/gst/base/gstbasetransform.c:
8155 (gst_base_transform_change_state): Fix a stupid bug. I was
8156 sure I compiled that.
8158 2006-02-20 Julien MOUTTE <julien@moutte.net>
8160 * gst/gstpad.c: (gst_pad_set_blocked_async):
8161 * gst/gstutils.c: (gst_pad_add_data_probe),
8162 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8163 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8164 (gst_pad_remove_buffer_probe): Make those function act on the
8165 ghostpad target when it's a ghostpad. (Closes #331727)
8167 2006-02-20 Julien MOUTTE <julien@moutte.net>
8169 * libs/gst/base/gstbasetransform.c:
8170 (gst_base_transform_change_state): Make basetransform reusable.
8173 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
8175 * docs/random/release:
8176 Move the current documentation of how to do a release to the top
8179 * gst/gstbin.c: (gst_bin_class_init),
8180 (gst_bin_handle_message_func):
8181 Allow multiple state-recalculation threads. (Closes #328873)
8183 2006-02-19 Julien MOUTTE <julien@moutte.net>
8185 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
8186 * gst/gstpad.c: (gst_pad_set_event_function),
8187 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8188 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
8189 2 strings. You can't use the STR_NULL macro on that.
8191 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
8193 * gst/gstpad.c: (gst_pad_set_event_function),
8194 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8195 (gst_pad_set_getcaps_function)
8196 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
8197 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
8198 So now, we can use --gst-debug-level=5 on Windows
8199 * win32/common/libgstcontroller.def:
8200 Added export of gst_controller_init
8201 * win32/vs6/libgstcontroller.dsp:
8202 Fixed Release post build configuration
8204 2006-02-17 Wim Taymans <wim@fluendo.com>
8206 * tests/check/gst/gstquery.c: (GST_START_TEST):
8207 Added another check.
8209 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
8211 * plugins/elements/gsttypefindelement.c: (find_peek):
8212 We can do peeks at non-zero offsets, as long as they
8213 fall within the buffer we have.
8215 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
8217 * tests/check/Makefile.am:
8218 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
8219 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
8220 (parse_suite), (main):
8221 Add testsuite for parse launch syntax
8223 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
8225 * plugins/elements/gsttypefindelement.c:
8226 (gst_type_find_element_chain):
8227 When typefinding is unsuccessful in the chain function, don't
8228 error out immediately. Only error out with NO_CAPS_FOUND if
8229 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
8230 otherwise simply wait for more data so we can try typefinding
8231 again with more data later. Also, don't attempt to typefind
8232 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
8233 this should improve typefinding from network sources where the
8234 size of the first buffer can be somewhat random.
8236 2006-02-14 Wim Taymans <wim@fluendo.com>
8238 * docs/gst/gstreamer-sections.txt:
8239 * gst/gstpadtemplate.c:
8240 * gst/gstpadtemplate.h:
8241 Fix padtemplate docs, fixes #328805.
8243 2006-02-14 Wim Taymans <wim@fluendo.com>
8245 * tools/gst-launch.c: (main):
8246 NO_PREROLL is not an ERROR so don't send confusing messages
8249 2006-02-14 Wim Taymans <wim@fluendo.com>
8251 Patch by: Torsten Schoenfeld
8253 * gst/gstregistry.c: (gst_registry_get_default),
8254 (_gst_registry_cleanup):
8255 Protect default registry with lock and ref/sink it.
8258 2006-02-14 Wim Taymans <wim@fluendo.com>
8261 * gst/gstquery.c: (gst_query_list_add_format),
8262 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8263 (gst_query_parse_formats_nth):
8264 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8267 2006-02-14 Wim Taymans <wim@fluendo.com>
8269 * docs/gst/gstreamer-sections.txt:
8270 Reworked query docs.
8272 * gst/gstquery.c: (gst_query_new_formats),
8273 (gst_query_list_add_format), (gst_query_set_formats),
8274 (gst_query_set_formatsv), (gst_query_parse_formats_length),
8275 (gst_query_parse_formats_nth):
8277 Flesh out formats query, added some new methods.
8278 Fix part of #324398.
8280 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
8281 Added query creation tests.
8283 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
8285 * gst/gstpad.c: (fixate_value):
8286 Add a default fixation for fraction lists.
8288 2006-02-13 Wim Taymans <wim@fluendo.com>
8290 * gst/gsttask.c: (gst_task_init), (gst_task_func),
8291 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
8294 Detect and warn for obvious deadlocks. fixes #320340
8295 Fix error case where lock was not released.
8297 * tests/check/Makefile.am:
8298 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
8299 (task_func), (gst_element_suite), (main):
8302 2006-02-13 Wim Taymans <wim@fluendo.com>
8304 * docs/gst/gstreamer-sections.txt:
8306 Add new functions to docs.
8308 2006-02-13 Wim Taymans <wim@fluendo.com>
8310 * docs/design/part-TODO.txt:
8311 Updated TODO list, basesrc supports seeking to non-bytes
8314 * docs/design/part-element-sink.txt:
8317 * gst/gstbin.c: (bin_replace_message),
8318 (gst_bin_handle_message_func):
8319 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
8320 * gst/gstevent.c: (gst_event_finalize):
8321 * gst/gstpad.c: (gst_pad_event_default_dispatch),
8322 (gst_pad_send_event):
8323 Use shiny new _TYPE_NAME macros.
8325 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8326 Move debug statement up.
8328 * gst/gstelement.c: (gst_element_set_locked_state):
8331 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
8333 * docs/gst/gstreamer-sections.txt:
8336 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
8337 macros (#330906). Also, document the already existing
8338 GST_QUERY_TYPE macro.
8340 2006-02-13 Wim Taymans <wim@fluendo.com>
8342 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
8343 (event_probe), (GST_START_TEST):
8344 Only events up to the pipeline EOS are counted, there are
8345 some more when going to NULL currently which we don't care
8348 2006-02-13 Wim Taymans <wim@fluendo.com>
8350 * gst/gstpad.c: (gst_pad_send_event):
8351 Correctly check flushing and emit probes. fixes #330125
8353 2006-02-10 Andy Wingo <wingo@pobox.com>
8355 * gst/gstbus.c (gst_bus_class_init): Declare our private data
8357 (gst_bus_init): Cache the location of the private data in the
8359 (gst_bus_enable_sync_message_emission)
8360 (gst_bus_disable_sync_message_emission): Implement new public
8362 (gst_bus_post): Emit the sync-message signal if the user asked for
8365 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
8366 location of the bus-private structure.
8367 (gst_bus_enable_sync_message_emission)
8368 (gst_bus_disable_sync_message_emission): API addition
8370 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
8372 Patch by: Vincent Torri
8374 * docs/pwg/building-boiler.xml:
8375 PWG patch from #326800
8377 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
8381 * docs/design/Makefile.am:
8384 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8389 === release 0.10.3 ===
8391 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8394 releasing 0.10.3, "Like a virgin"
8396 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
8399 2nd prerelease of 0.10.3
8400 Bump libtool versioning.
8402 2006-02-07 Andy Wingo <wingo@pobox.com>
8404 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
8405 update last_stop if we're in TIME format and the timestamp is
8408 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
8409 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
8410 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
8411 If we get a new newsegment with a different format, adapt
8414 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
8415 of 0. Not a problem, really.
8417 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
8420 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
8425 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
8428 project files updated to the default vs7 configuration
8429 * win32/common/libgstbase.def:
8430 * win32/common/libgstreamer.def:
8432 removed empty lines,
8433 sorted all exported symbols alphabetically
8434 * win32/common/dirent.c:
8435 * win32/common/dirent.h:
8436 * win32/common/gchar.h:
8437 use windows line end.
8439 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8441 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8442 Send EOS event when stopping.
8444 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
8447 Tell folks what to do if the plugin-foobar.xml file
8448 hasn't been generated for a newly-added plugin.
8450 2006-02-05 Julien MOUTTE <julien@moutte.net>
8452 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8453 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8454 (gst_collect_pads_start), (gst_collect_pads_stop),
8455 (gst_collect_pads_event): Collectpads now holds a reference
8456 to the GstPad that was added. Indeed we don't want to look
8457 at pads that might just go away with no warning...
8459 2006-02-05 Julien MOUTTE <julien@moutte.net>
8461 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8462 (gst_collect_pads_start), (gst_collect_pads_stop),
8463 (gst_collect_pads_event), (gst_collect_pads_chain):
8464 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
8465 Mark Nauwelaerts's patch on bug #328491.
8467 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8469 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
8471 Add some simple tests for gst_parse_bin_from_description() and
8472 gst_bin_find_unconnected_pad() (#329069).
8474 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
8476 * tools/gst-launch.c: (event_loop), (main):
8477 Catch errors during preroll (#320084).
8479 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
8481 * plugins/elements/gsttypefindelement.c:
8482 (gst_type_find_element_activate):
8483 Post TYPE_NOT_FOUND error message when typefinding
8484 is unsuccessful in the activate function as well.
8486 2006-02-02 Wim Taymans <wim@fluendo.com>
8488 * docs/design/part-element-sink.txt:
8491 2006-02-02 Wim Taymans <wim@fluendo.com>
8493 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
8494 (gst_base_sink_render_object),
8495 (gst_base_sink_queue_object_unlocked):
8496 Only keep track of prerollable items when we are
8498 Before rendering after preroll, always check if we
8500 Added some more debugging.
8502 2006-02-02 Wim Taymans <wim@fluendo.com>
8504 * gst/gstelement.c: (gst_element_continue_state),
8505 (gst_element_set_state_func), (gst_element_change_state):
8506 Fixed #326576, been running this for quite some time with
8507 no regressions at all.
8509 2006-02-02 Wim Taymans <wim@fluendo.com>
8512 Added more suppressions
8514 2006-02-02 Wim Taymans <wim@fluendo.com>
8516 * docs/design/part-element-sink.txt:
8519 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8520 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
8521 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
8522 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
8523 (gst_base_sink_do_sync), (gst_base_sink_render_object),
8524 (gst_base_sink_preroll_object),
8525 (gst_base_sink_queue_object_unlocked),
8526 (gst_base_sink_queue_object), (gst_base_sink_event),
8527 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
8528 (gst_base_sink_loop), (gst_base_sink_activate_pull),
8529 (gst_base_sink_get_position), (gst_base_sink_change_state):
8530 * libs/gst/base/gstbasesink.h:
8531 Totally refactored matching the design doc.
8532 Use two segments, one to clip incomming buffers and another to
8534 Handle queueing correctly, bypass the queue when playing.
8535 Make EOS cancelable.
8536 Handle errors correctly when operating in pull based mode.
8538 * tests/check/elements/fakesink.c: (GST_START_TEST),
8540 Added new check for sinks.
8542 2006-02-02 Wim Taymans <wim@fluendo.com>
8544 * gst/gstsegment.c: (gst_segment_clip):
8545 No reason to refuse to clip when start == -1
8547 2006-02-02 Stefan Kost <ensonic@users.sf.net>
8550 * docs/manual/intro-basics.xml:
8551 * docs/manual/intro-preface.xml:
8552 * docs/manual/manual.xml:
8553 * docs/pwg/advanced-dparams.xml:
8554 * docs/pwg/intro-basics.xml:
8555 * docs/pwg/intro-preface.xml:
8557 describe dparams (controller) for plugins
8558 unify docs a little more
8560 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
8562 * docs/gst/gstreamer-sections.txt:
8563 * gst/gstutils.c: (element_find_unconnected_pad),
8564 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
8566 Add new API: gst_parse_bin_from_description() and
8567 gst_bin_find_unconnected_pad() (#329069).
8569 2006-02-01 Stefan Kost <ensonic@users.sf.net>
8571 * docs/manual/README:
8572 uncover a nasty detail of the docs build
8574 2006-01-31 Wim Taymans <wim@fluendo.com>
8576 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
8577 Don't cache duration messages if we're not going to use or
8580 2006-01-31 Stefan Kost <ensonic@users.sf.net>
8582 * docs/manual/advanced-dparams.xml:
8583 * docs/pwg/advanced-dparams.xml:
8587 * libs/gst/controller/lib.c: (gst_controller_init):
8590 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
8592 * gst/gstelement.c: (gst_element_message_full):
8593 also show file/line/func if no additional debug was given
8595 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
8597 * win32/vs7/grammar.vcproj:
8598 activate copy of autogenerated files for Release mode
8600 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8602 * win32/common/libgstreamer.def:
8603 export gst_value_compare
8605 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
8607 * plugins/elements/Makefile.am:
8608 * plugins/elements/gstelements.c:
8609 * plugins/elements/gstfdsink.c: (_do_init),
8610 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
8611 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
8612 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
8613 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
8614 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
8615 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
8616 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
8617 * plugins/elements/gstfdsink.h:
8618 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
8620 2006-01-30 Stefan Kost <ensonic@users.sf.net>
8622 * docs/manual/advanced-dparams.xml:
8624 * docs/manual/advanced-position.xml:
8625 * docs/manual/basics-init.xml:
8626 * docs/manual/manual.xml:
8627 * docs/manual/titlepage.xml:
8629 * docs/pwg/titlepage.xml:
8630 cleanup xml (more to come)
8631 * libs/gst/controller/gstcontroller.c:
8634 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
8636 * win32/vs6/grammar.dsp:
8637 add autogen of gstmarshal.c,h for Release mode
8639 2006-01-30 Wim Taymans <wim@fluendo.com>
8641 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8642 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
8643 (gst_base_sink_handle_object), (gst_base_sink_event),
8644 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
8645 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8646 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
8647 (gst_base_sink_deactivate), (gst_base_sink_activate),
8648 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8649 (gst_base_sink_query), (gst_base_sink_change_state):
8650 Basesink cleanups, remove some old code.
8651 Handle the case where a subclass can preroll in the render
8652 method (mostly audiosinks).
8654 Remove some locks around variables that are now protected
8655 with the PREROLL_LOCK (clock_id, flushing, ..).
8656 Optimize position query some more, do correct locking.
8657 Remove old code to push queue in state change, this is not
8658 needed anymore since preroll blocks on all prerollable items
8660 Almost implemented as described in design doc.
8662 2006-01-30 Wim Taymans <wim@fluendo.com>
8664 * tests/check/gst/gstbin.c: (GST_START_TEST):
8665 Wait for refcount to settle down before checking.
8667 2006-01-30 Wim Taymans <wim@fluendo.com>
8669 * docs/design/part-element-sink.txt:
8670 Pseudo code overview of desired sink behaviour regarding
8673 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8674 * win32/vs6/grammar.dsp:
8675 fix some bugs in Release mode for autogenerated files
8677 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8678 * win32/common/libgstbase.def:
8679 * win32/common/libgstreamer.def:
8680 export some new symbols: gst_base_src_set_format,
8681 gst_iterator_next, gst_structure_set_valist
8683 2006-01-29 Julien MOUTTE <julien@moutte.net>
8685 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8686 Set pad functions unconditionally. Fixes #329105.
8688 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
8690 add vs8 project files created by Sergey Scobich
8692 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
8694 * gst/gstutils.c: (gst_element_unlink_pads):
8695 Don't leak pad references.
8697 * tests/check/elements/fakesink.c: (GST_START_TEST):
8698 * tests/check/generic/sinks.c: (GST_START_TEST):
8699 * tests/check/generic/states.c: (GST_START_TEST):
8700 * tests/check/gst/gstbin.c: (GST_START_TEST):
8701 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8702 * tests/check/gst/gstelement.c: (GST_START_TEST):
8703 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8704 * tests/check/gst/gstiterator.c: (GST_START_TEST):
8705 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8706 Fix a bunch of leaks. Make generic/sinks.c
8707 use a bit less cpu by slowing the buffer rate
8708 between fakesrc and fakesink.
8710 2006-01-27 Stefan Kost <ensonic@users.sf.net>
8712 * gst/gstelement.c: (gst_element_send_event):
8715 * gst/gstiterator.c:
8716 * gst/gstiterator.h:
8717 * gst/gstpad.c: (gst_pad_send_event):
8718 * gst/gststructure.c:
8722 * libs/gst/base/gstadapter.c:
8723 doc fixes, to link to function, just write gst_cool_function(), don't
8726 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8728 * plugins/elements/gsttee.c: (gst_tee_do_push),
8729 (gst_tee_handle_buffer):
8730 Always prefer an actual return value from a src
8731 pad in place of NOT_LINKED. This means we return
8732 WRONG_STATE when all src pads are WRONG_STATE
8733 instead of NOT_LINKED.
8735 Lock when replacing the last message to prevent
8736 racing with the get_property method.
8740 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8742 * tests/check/Makefile.am:
8743 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
8745 Add a very simple check that should have caught the memleak I fixed
8746 last night (if not for the slice allocator hiding it)
8748 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
8750 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8751 (gst_bin_remove_func), (gst_bin_handle_message_func),
8752 (bin_query_duration_fold), (bin_query_generic_fold):
8753 Clean up references to the clock provider when disposed or when
8754 handling a clock-lost message from it.
8756 Unref sinks when performing a query via gst_iterator_fold, as the
8757 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
8759 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
8760 (gst_clock_set_master):
8761 Drop our reference to the master clock, if any, when we are disposed.
8763 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
8764 Chain up in dispose.
8766 2006-01-26 Wim Taymans <wim@fluendo.com>
8768 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8771 2006-01-26 Julien MOUTTE <julien@moutte.net>
8773 * plugins/elements/gsttee.c: (gst_tee_do_push),
8774 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
8775 handles pad being NOT_LINKED or in WRONG_STATE.
8777 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8782 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8785 remove obsolete entry
8787 2006-01-26 Stefan Kost <ensonic@users.sf.net>
8789 * docs/gst/gstreamer-sections.txt:
8790 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
8791 (gst_bin_iterate_sources), (gst_bin_send_event):
8793 * gst/gstelement.c: (gst_element_send_event):
8795 * gst/gstpad.c: (gst_pad_send_event):
8796 added code for downstream events, reviewed docs in gstevent.c
8798 2006-01-25 Julien MOUTTE <julien@moutte.net>
8800 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8801 We only query position using the clock in the playing state.
8802 Query peer in the other cases.
8803 * win32/common/config.h: Updates.
8805 2006-01-24 Wim Taymans <wim@fluendo.com>
8807 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8808 A clock entry that is scheduled for the exact time of the
8809 clock is still in time.
8811 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8812 (gst_base_sink_do_sync):
8813 Add some more debug info.
8815 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8818 Add new vs7 project files and solution.
8820 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
8823 all files removed as they were out-dated.
8825 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8827 * docs/random/release:
8829 * gst/gstbin.c: (gst_bin_init):
8830 * gst/gstbus.c: (gst_bus_new):
8832 * gst/gstpipeline.c: (gst_pipeline_init):
8833 use gst_bus_new(), improve logging, fix docs
8834 * win32/common/config.h:
8835 update for cvs build
8837 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
8840 up required version of automake to 1.7
8842 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
8844 * win32/common/libgstreamer.def:
8845 export gst_buffer_is_metadata_writable
8847 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
8849 * docs/gst/gstreamer-sections.txt:
8851 Add gst_event_replace() (#327001)
8853 2006-01-20 Wim Taymans <wim@fluendo.com>
8855 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
8856 Make it actually compile too..
8858 2006-01-20 Wim Taymans <wim@fluendo.com>
8861 Clarify behaviour of _is_equal() when passing NULL parameters.
8863 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8865 Cleanups. Don't unref NULL caps.
8866 When setting the same caps, protect caps of the pad with
8868 Use full functionality of _is_equal() when comparing caps.
8870 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8872 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8873 Don't loop infinitely if there are no buffers to present. Partially
8874 fixes #327197, but collectpads is just broken for reusing elements
8875 to do multiple encodes atm.
8877 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
8879 * tools/gst-inspect.c: (print_element_features):
8880 * tools/gst-xmlinspect.c: (main):
8881 URL_HANDLER is not a plugin feature we can search for in
8884 2006-01-19 Edward Hervey <edward@fluendo.com>
8886 * gst/gstelement.c: (gst_element_pads_activate):
8887 When activating, do src pads first, then sink pads.
8888 When de-activating, do sink pads first, then src pads.
8890 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8892 * docs/gst/gstreamer-sections.txt:
8893 Add gst_index_add_associationv to the docs
8895 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8900 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
8901 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
8902 Do some refactoring. Doesn't actually change functionality,
8903 but makes landing the DRAIN event easier later.
8905 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
8907 * docs/pwg/advanced-scheduling.xml:
8908 Update from 0.9.x to 0.10 API and make example a bit
8911 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8913 * docs/gst/gstreamer-sections.txt:
8914 Add gst_buffer_(is|make)_metadata_writable methods.
8916 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
8918 * docs/design/part-sparsestreams.txt:
8919 Update sparse streams doc, hopefully for greater clarity
8921 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
8923 * docs/design/part-events.txt:
8924 Remove mention of FILLER events.
8927 * docs/design/part-sparsestreams.txt:
8928 Write some things about using NEWSEGMENT to keep sparse streams
8931 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8933 * gst/gstbin.c: (gst_bin_dispose):
8934 Guard gst_object_unref call against a NULL object (dispose
8935 can theoretically be called multiple times).
8937 2006-01-18 Wim Taymans <wim@fluendo.com>
8939 * gst/gstbin.c: (gst_bin_element_set_state):
8940 * gst/gstclock.c: (gst_clock_id_wait):
8941 Added some more debug info.
8943 * libs/gst/base/gstadapter.c:
8946 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8947 (gst_base_sink_do_sync), (gst_base_sink_chain):
8948 Added some comments.
8950 2006-01-18 Wim Taymans <wim@fluendo.com>
8952 * tests/check/Makefile.am:
8953 * tests/check/elements/fakesink.c: (chain_async_buffer),
8954 (chain_async), (chain_async_return), (GST_START_TEST),
8955 (fakesink_suite), (main):
8956 Added fakesink test that checks prerolling and clipping
8959 * tests/check/gst/gstutils.c: (GST_START_TEST):
8960 Make check run faster so that buildbots don't timeout.
8962 2006-01-18 Wim Taymans <wim@fluendo.com>
8964 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8965 (gst_base_sink_do_sync):
8967 When the sink finishes blocking on the preroll buffer, it can
8968 immediatly render it instead of rendering when the next buffer
8971 2006-01-18 Wim Taymans <wim@fluendo.com>
8973 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
8974 (gst_base_sink_get_property), (gst_base_sink_do_sync),
8975 (gst_base_sink_chain):
8977 GST_ELEMENT_CLOCK and sync are protected with LOCK.
8978 Don't store _last_stop if the buffer is dropped.
8980 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
8982 * plugins/elements/gsttypefindelement.c:
8983 (gst_type_find_element_class_init):
8984 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
8985 object method handler that sets the caps on the pad and we want
8986 that to happen before we emit the signal (fixes e.g. feeding a
8987 plain text file to decodebin).
8989 2006-01-18 Christian Schaller <Christian@fluendo.com>
8991 * gst/gstplugin.c: Add MPL and Proprietary as license options
8993 2006-01-18 Andy Wingo <wingo@pobox.com>
8995 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
8996 symbol was exported before, it appears this was just an oversight.
8998 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
9000 * gst/gstindex.c (gst_index_add_associationv): Changed int in
9001 prototype to gint. OK since this prototype was not in the header.
9003 2006-01-17 Andy Wingo <wingo@pobox.com>
9005 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
9006 registry while we remove plugins.
9008 * tools/gst-inspect.c (print_element_info): Don't unref the
9009 factory arg, that should be the responsibility of whatever code
9010 received the ref. Fixes a double-free when called from
9011 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
9012 (main): Unref the factory if we have one.
9013 (print_element_list): No change -- relies on the
9014 plugin_feature_list_free to free the list of features.
9016 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
9018 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9019 (gst_buffer_make_metadata_writable):
9021 * libs/gst/base/gstbasetransform.c:
9022 (gst_base_transform_prepare_output_buf):
9023 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9024 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9025 Replace gst_buffer_(make|is)_metadata_writable patch now
9026 that the release is out.
9028 2006-01-17 Andy Wingo <wingo@pobox.com>
9030 * gst/gstregistry.c: Reflow design comment. Update so as to speak
9031 in the present tense without reference to versions.
9033 * gst/gstregistry.c (gst_registry_add_plugin)
9034 (gst_registry_remove_plugin, gst_registry_remove_feature)
9035 (gst_registry_find_feature, gst_registry_get_feature_list)
9036 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
9037 (gst_registry_lookup, gst_registry_scan_path)
9038 (_gst_registry_remove_cache_plugins)
9039 (gst_registry_get_feature_list_by_plugin): Add argument
9042 === release 0.10.2 ===
9044 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
9047 releasing 0.10.2, "If man is five"
9049 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9053 * libs/gst/base/gstbasetransform.c:
9054 (gst_base_transform_prepare_output_buf):
9055 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9056 * tests/check/gst/gstbuffer.c: (gst_test_suite):
9057 Back out patch until after the release.
9059 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9061 * gst/gstminiobject.c:
9062 Spelling fix in docs.
9063 * ChangeLog - remove conflict indicator
9065 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
9067 Reviewed By: Andy Wingo
9069 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
9070 (gst_buffer_make_metadata_writable):
9072 Add gst_buffer_(is|make)_metadata_writable as analogues of
9073 gst_buffer_(is|make)_writable.
9075 * libs/gst/base/gstbasetransform.c:
9076 (gst_base_transform_prepare_output_buf):
9077 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9078 Use name gst_buffer_(is|make)_metadata_writable functions.
9080 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9081 Test gst_buffer_(is|make)_metadata_writable
9085 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
9087 * docs/manual/Makefile.am:
9088 don't do parallel make
9091 * win32/common/config.h.in:
9092 add generations for HOST_CPU and GST_MAJORMINOR
9093 * win32/common/config.h:
9094 commit generated result
9096 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
9098 * docs/manual/appendix-integration.xml:
9099 Update GNOME integration section to use gst_init_get_option_group()
9100 instead of the old popt stuff (#322911). Also, GNOME applications
9101 should now use gconf*sink and gconf*src instead of the old gconf
9104 2006-01-13 Stefan Kost <ensonic@users.sf.net>
9107 * docs/gst/gstreamer-docs.sgml:
9108 * docs/gst/gstreamer-sections.txt:
9109 * docs/libs/gstreamer-libs-sections.txt:
9110 add new API entries to the docs
9111 * libs/gst/controller/Makefile.am:
9112 * libs/gst/controller/gstcontroller.c:
9113 * libs/gst/controller/gstcontroller.h:
9114 * libs/gst/controller/gstcontrollerprivate.h:
9115 * libs/gst/controller/gsthelper.c:
9116 * libs/gst/controller/gstinterpolation.c:
9117 move private structs to private header
9119 gstreamer-0.7 -> gstreamer-0.10
9120 * tests/check/libs/struct_i386.h:
9121 remove private structs
9123 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
9125 * plugins/indexers/Makefile.am:
9126 Fixes as part of #317048
9128 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
9130 * plugins/indexers/Makefile.am:
9131 fix #316086 - compilation when mmap is missing
9133 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
9135 * libs/gst/base/gstbasesink.c:
9136 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
9137 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
9138 * win32/common/config.h:
9139 added some defines GST_MAJORMINOR and HOST_CPU
9140 * win32/common/libgstbase.def:
9141 * win32/common/libgstreamer.def:
9142 added some exported functions.
9144 2006-01-12 Stefan Kost <ensonic@users.sf.net>
9146 * libs/gst/controller/gstcontroller.c:
9147 (gst_controlled_property_set_interpolation_mode),
9148 (gst_controlled_property_new):
9149 * libs/gst/controller/gstcontroller.h:
9150 * libs/gst/controller/gstinterpolation.c:
9151 (interpolate_none_get_string_value_array):
9152 make G_TYPE_STRING controlable
9154 2006-01-12 Stefan Kost <ensonic@users.sf.net>
9157 * tools/gst-feedback.1.in:
9158 * tools/gst-inspect.1.in:
9159 * tools/gst-launch.1.in:
9160 * tools/gst-md5sum.1.in:
9161 * tools/gst-typefind.1.in:
9162 * tools/gst-xmlinspect.1.in:
9163 * tools/gst-xmllaunch.1.in:
9164 cleanup man-pages, remove reference to gst-register, document env-vars
9166 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
9168 * gst/gstbuffer.c: (gst_buffer_span):
9169 gst_buffer_span should copy the timestamp of the first buffer
9170 if they were both originally overlapping subbuffers of the
9171 same parent, using the same logic as the 'slow copy' case.
9173 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
9175 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
9176 Need to awaken ALL the pads when we pop a buffer, otherwise
9177 collectpads only works when there is 2 input streams.
9179 2006-01-11 Stefan Kost <ensonic@users.sf.net>
9181 * docs/random/ensonic/media-device-daemon.txt:
9184 fix doc example, add clarification
9185 * tools/gst-launch.1.in:
9186 add initial info about GST_PLUGIN_PATH, needs more work
9188 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
9190 * docs/manual/basics-bins.xml:
9191 * docs/manual/basics-elements.xml:
9192 * docs/manual/intro-basics.xml:
9193 Some more minor docs additions and updates.
9195 2006-01-11 Wim Taymans <wim@fluendo.com>
9197 * docs/manual/basics-bins.xml:
9198 * docs/manual/basics-elements.xml:
9199 Some small fixes as pointed out by Ser-ver on IRC.
9201 2006-01-10 Edward Hervey <edward@fluendo.com>
9203 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9204 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
9205 the single-segment mode.
9207 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
9209 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9211 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
9212 (gst_base_src_perform_seek), (gst_base_src_send_event),
9213 (gst_base_src_set_property), (gst_base_src_get_property),
9214 (gst_base_src_loop), (gst_base_src_start),
9215 (gst_base_src_activate_push):
9216 * libs/gst/base/gstbasesrc.h:
9217 Name (private) union; makes Sun's Forte compiler happy (#324900).
9219 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
9222 gst-register is gone.
9224 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
9226 * gst/gstvalue.c: (_gst_value_initialize):
9227 make the G_TYPE_DATE instantiation work if debug is disabled
9229 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
9231 * gst/gstmessage.c: (gst_message_parse_tag),
9232 (gst_message_parse_error), (gst_message_parse_warning):
9233 Don't crash when return location for error/warning debug
9234 string is NULL; add fact that return locations can be
9235 NULL to docs where appropriate.
9237 2006-01-05 Wim Taymans <wim@fluendo.com>
9239 * gst/gstplugin.c: (gst_plugin_load_file):
9240 Replace strdup by g_strdup.
9242 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9244 * docs/pwg/advanced-types.xml:
9247 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
9249 submitted by: Abel Cheung
9253 Added Chinese (traditional) translation
9255 2006-01-04 Wim Taymans <wim@fluendo.com>
9257 * docs/manual/basics-pads.xml:
9258 * docs/plugins/Makefile.am:
9259 * docs/plugins/gstreamer-plugins-docs.sgml:
9260 * docs/plugins/gstreamer-plugins-sections.txt:
9261 * docs/pwg/advanced-clock.xml:
9262 * docs/pwg/advanced-scheduling.xml:
9263 * docs/pwg/advanced-types.xml:
9264 * plugins/elements/gstfdsink.c:
9265 * plugins/elements/gstfdsrc.c:
9266 * plugins/elements/gstfdsrc.h:
9267 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9268 * plugins/elements/gstidentity.h:
9269 * plugins/elements/gstqueue.h:
9270 * plugins/elements/gsttee.c:
9271 * plugins/elements/gsttee.h:
9272 * plugins/elements/gsttypefindelement.c:
9273 (gst_type_find_element_class_init):
9274 * plugins/elements/gsttypefindelement.h:
9275 Small updates to various docs.
9276 Added core plugins to docs.
9278 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9281 add a suppression for liboil's uninitialized variable
9283 2006-01-02 James Livingston <jrl at ids dot org dot au>
9285 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9288 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
9289 macro, so that gcc doesn't complain if the -Wmissing-prototypes
9290 compiler switch is being used (#325429).
9292 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
9294 * gst/gstbin.c: (gst_bin_query):
9295 Disable duration query caching in bins until it gets
9296 fixed (see #324807).
9298 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9300 * tools/gst-inspect.c: (print_element_properties_info):
9301 Handle properties of POINTER and BOXED type.
9303 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
9305 * gst/gst.c: (init_post):
9306 Init tags stuff and some other things before loading
9307 any static plugins (there may be other static plugins
9308 than just the GStreamer ones, and they may want to
9309 register their own tags or formats or whatever, and
9310 preferably without segfaulting).
9312 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
9313 Print at least a warning in the debug logs if we drop a
9314 query just because we don't know how to adjust the value
9315 in the particular format.
9317 2005-12-24 David Schleef <ds@schleef.org>
9319 * tools/gstreamer-completion:
9320 Replacement for gst-complete written in sh and sed. Only
9321 completes names of features, but that's 90% of what I want
9322 it for. Properties are not available in registry.xml. (Maybe
9325 === release 0.10.1 ===
9327 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
9330 releasing 0.10.1, "Nollaig chridheil"
9332 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
9335 Add missing quote, should be make ERROR_CFLAGS="".
9337 2005-12-20 Wim Taymans <wim@fluendo.com>
9339 * docs/design/part-trickmodes.txt:
9340 More documentation on trickmodes.
9342 2005-12-20 Edward Hervey <edward@fluendo.com>
9344 * gst/gstcaps.c: (gst_static_caps_get_type):
9346 API addition: GST_TYPE_STATIC_CAPS
9347 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
9348 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
9349 * gst/gstpadtemplate.h:
9350 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
9351 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
9354 2005-12-18 Wim Taymans <wim@fluendo.com>
9356 * libs/gst/base/gstadapter.c:
9357 * libs/gst/base/gstadapter.h:
9358 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9359 (gst_base_sink_get_position):
9360 * libs/gst/base/gstbasesink.h:
9361 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9362 (gst_base_src_default_query), (gst_base_src_default_do_seek),
9363 (gst_base_src_do_seek), (gst_base_src_perform_seek),
9364 (gst_base_src_send_event), (gst_base_src_update_length),
9365 (gst_base_src_get_range), (gst_base_src_loop),
9366 (gst_base_src_start):
9367 * libs/gst/base/gstbasesrc.h:
9368 * libs/gst/base/gstbasetransform.h:
9369 * libs/gst/base/gstcollectpads.h:
9370 * libs/gst/base/gstpushsrc.c:
9371 * libs/gst/base/gstpushsrc.h:
9372 * libs/gst/dataprotocol/dataprotocol.c:
9373 * libs/gst/dataprotocol/dataprotocol.h:
9374 * libs/gst/net/gstnetclientclock.h:
9375 * libs/gst/net/gstnettimeprovider.h:
9376 Documentation updates.
9378 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
9380 * docs/manual/basics-helloworld.xml:
9381 Remove superfluous closing bracket in helloworld example.
9383 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
9385 * tools/gst-launch.1.in:
9386 Update gst-launch man page; add a section with useful
9387 environment variables. Fixes #323882.
9389 2005-12-16 Stefan Kost <ensonic@users.sf.net>
9392 * gst/gst_private.h:
9393 change some char* into char[]
9395 2005-12-16 Wim Taymans <wim@fluendo.com>
9397 * gst/gstregistryxml.c: (load_feature):
9399 Don't use g_object_unref on GstObjects so that we avoid
9400 leaks on unsafe glibs.
9402 2005-12-16 Wim Taymans <wim@fluendo.com>
9404 * gst/gstbin.c: (gst_bin_recalc_state):
9407 2005-12-16 Wim Taymans <wim@fluendo.com>
9410 Added make forever target for check.
9412 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
9414 * gst/gst.c: (init_post):
9415 make the registry cache file HOST_CPU-dependent
9417 2005-12-16 Andy Wingo <wingo@pobox.com>
9419 * plugins/elements/gstbufferstore.c
9420 (gst_buffer_store_cleared_func): Pay attention to g_list_append
9423 * tests/check/gst/gstobject.c
9424 (test_fake_object_name_threaded_unique): Pay attention to
9425 g_list_sort return value.
9427 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
9429 * tools/gst-feedback-m.m:
9430 Update for 0.9/0.10 (fixes #323870).
9432 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
9434 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
9435 Fix lcopy for mini objects, the mini object needs to be ref'ed.
9437 * tests/check/gst/gstminiobject.c: (my_foo_init),
9438 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
9439 (test_value_collection), (gst_mini_object_suite):
9440 Add test to ensure refcounts end up as expected when passing
9441 GstMiniObjects through g_object_get() and g_object_set().
9443 2005-12-14 Julien MOUTTE <julien@moutte.net>
9445 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9446 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
9447 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
9448 of collectpads. This version removes a lot of races without
9449 touching API/ABI. Yay !
9451 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
9453 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
9454 Don't allow activation of a srcpad in pull_range if it has no
9456 Change some debug statements to be a little clearer
9458 * plugins/elements/gsttypefindelement.c:
9459 (gst_type_find_handle_src_query):
9460 Check that we have a peer before executing queries thereupon.
9462 * tests/examples/metadata/read-metadata.c: (message_loop):
9463 Use gst_bus_pop instead of gst_bus_poll when we just want it to
9464 immediately return us any available message with 0 timeout.
9466 2005-12-12 Michael Smith <msmith@fluendo.com>
9468 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9469 Don't unref factories after calling them.
9470 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
9471 * plugins/elements/gsttypefindelement.c:
9472 (gst_type_find_element_chain):
9473 Free lists of factories after using them. Fixing typefinding memory
9476 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9478 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9479 (gst_plugin_feature_load):
9480 more meaningful debug output
9482 * tests/Makefile.am:
9483 * tests/old/examples/Makefile.am:
9484 make make distcheck happy again
9486 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9488 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9489 Catch the special case where we are operating chain-based,
9490 but the downstream peer pad has no chain function. Emit a
9491 custom error message in this case instead of letting the
9492 core generate one implying that this is some sort of core
9493 bug. It's not, it just means that whatever got plugged
9494 into the pipeline downstream when we announced the type
9495 can only operate pull-based, while our source can only
9496 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
9497 Error string has not been marked for translation yet, as
9498 it probably needs some more work first.
9500 (gst_type_find_element_get_best_possibility):
9501 Add helper function to find the best of all available
9502 found possibilities that qualify given the min. threshold.
9504 (gst_type_find_element_handle_event):
9505 Fix the case where we get an EOS while still in TYPEFIND
9506 mode (we want to chose the best of all possible types,
9507 not just the first type that happens to be in our unsorted
9508 list of possible types).
9510 (gst_type_find_element_chain):
9511 Make sure we return GST_FLOW_ERROR when we errored out
9512 in stop_typefinding(); also, don't just find the best of
9513 all found type entries and then use the last examined
9514 type entry, but actually use the best entry.
9516 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
9518 * tests/examples/typefind/typefind.c: (type_found):
9519 * tests/examples/xml/runxml.c: (xml_loaded):
9520 More gcc4 fixes and a mem leak fix.
9522 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9524 * tests/examples/xml/createxml.c: (object_saved):
9527 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9529 * tests/Makefile.am:
9530 enable the examples even more
9532 2005-12-12 Andy Wingo <wingo@pobox.com>
9534 * libs/gst/net/gstnettimeprovider.c
9535 (gst_net_time_provider_class_init, gst_net_time_provider_init)
9536 (gst_net_time_provider_set_property)
9537 (gst_net_time_provider_get_property):
9538 API addition: Export "active" as a GObject property.
9539 (gst_net_time_provider_thread): Only respond to time queries if
9540 the time provider is active.
9542 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
9543 NetTimeProvider, preserving binary compat.
9545 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9547 * tests/examples/controller/audio-example.c: (main):
9548 * tests/examples/launch/Makefile.am:
9549 convert comments again
9551 2005-12-12 Wim Taymans <wim@fluendo.com>
9553 * libs/gst/base/gstpushsrc.c:
9556 2005-12-12 Wim Taymans <wim@fluendo.com>
9558 * docs/libs/gstreamer-libs-sections.txt:
9559 Added new symbol to docs.
9561 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9562 (gst_base_src_init), (gst_base_src_set_format),
9563 (gst_base_src_default_query), (gst_base_src_query),
9564 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
9565 (gst_base_src_perform_seek), (gst_base_src_send_event),
9566 (gst_base_src_default_event), (gst_base_src_event_handler),
9567 (gst_base_src_set_property), (gst_base_src_get_property),
9568 (gst_base_src_wait), (gst_base_src_do_sync),
9569 (gst_base_src_update_length), (gst_base_src_get_range),
9570 (gst_base_src_check_get_range), (gst_base_src_loop),
9571 (gst_base_src_default_negotiate), (gst_base_src_start),
9572 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9573 (gst_base_src_change_state):
9574 * libs/gst/base/gstbasesrc.h:
9575 Implement seeking to other formats than _BYTES.
9576 Implement more seeking methods correctly.
9578 Added query vmethod.
9579 Added do_seek vmethod to make life easier for subclasses
9581 API addition: gst_base_src_set_format()
9583 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9585 * tests/examples/Makefile.am:
9588 2005-12-12 Stefan Kost <ensonic@users.sf.net>
9591 * docs/random/ensonic/media-device-daemon.txt:
9592 * tests/examples/controller/.cvsignore:
9593 * tests/examples/controller/Makefile.am:
9594 * tests/examples/controller/audio-example.c: (main):
9595 * tests/examples/helloworld/.cvsignore:
9596 * tests/examples/helloworld/Makefile.am:
9597 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
9598 * tests/examples/launch/.cvsignore:
9599 * tests/examples/launch/Makefile.am:
9600 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
9601 * tests/examples/metadata/.cvsignore:
9602 * tests/examples/metadata/Makefile.am:
9603 * tests/examples/metadata/read-metadata.c: (message_loop),
9604 (make_pipeline), (print_tag), (main):
9605 * tests/examples/queue/.cvsignore:
9606 * tests/examples/queue/Makefile.am:
9607 * tests/examples/queue/queue.c: (event_loop), (main):
9608 * tests/examples/typefind/.cvsignore:
9609 * tests/examples/typefind/Makefile.am:
9610 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
9612 * tests/examples/xml/.cvsignore:
9613 * tests/examples/xml/Makefile.am:
9614 * tests/examples/xml/createxml.c: (object_saved), (main):
9615 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
9616 * tests/old/examples/Makefile.am:
9617 * tests/old/examples/TODO:
9618 * tests/old/examples/controller/.cvsignore:
9619 * tests/old/examples/controller/Makefile.am:
9620 * tests/old/examples/controller/audio-example.c:
9621 * tests/old/examples/helloworld/.cvsignore:
9622 * tests/old/examples/helloworld/Makefile.am:
9623 * tests/old/examples/helloworld/helloworld.c:
9624 * tests/old/examples/launch/.cvsignore:
9625 * tests/old/examples/launch/Makefile.am:
9626 * tests/old/examples/launch/mp3parselaunch.c:
9627 * tests/old/examples/launch/mp3play:
9628 * tests/old/examples/manual/Makefile.am:
9629 * tests/old/examples/metadata/Makefile.am:
9630 * tests/old/examples/metadata/read-metadata.c:
9631 * tests/old/examples/queue/.cvsignore:
9632 * tests/old/examples/queue/Makefile.am:
9633 * tests/old/examples/queue/queue.c:
9634 * tests/old/examples/typefind/.cvsignore:
9635 * tests/old/examples/typefind/Makefile.am:
9636 * tests/old/examples/typefind/typefind.c:
9637 * tests/old/examples/xml/.cvsignore:
9638 * tests/old/examples/xml/Makefile.am:
9639 * tests/old/examples/xml/createxml.c:
9640 * tests/old/examples/xml/runxml.c:
9641 applied some simple fixing to some examples
9642 re-enabled the working examples
9644 2005-12-12 Wim Taymans <wim@fluendo.com>
9646 * gst/gstsegment.c: (gst_segment_init),
9647 (gst_segment_set_last_stop), (gst_segment_set_seek),
9648 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
9649 (gst_segment_to_running_time):
9650 Added more documentation.
9651 Make sure the last_pos value is updated properly.
9652 Make sure to_stream_time and to_running_time don't
9653 operate on wrong values.
9655 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9658 2005-12-12 Michael Smith <msmith@fluendo.com>
9660 * plugins/elements/gsttypefindelement.c: (free_entry),
9661 (gst_type_find_element_chain):
9662 Now that we're not leaking factories, make sure we keep references
9663 to them while we need them.
9665 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9667 * tests/check/gst/struct_i386.h:
9668 ifdef out the XML structs
9670 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
9672 * gst/gstvalue.c: (gst_value_transform_double_fraction):
9673 floor is not needed, F is always positive; this obviates the
9674 need for adding -lm when building without libxml
9676 2005-12-12 Wim Taymans <wim@fluendo.com>
9678 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9679 Take current playback rate into account when reporting
9682 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9684 * docs/manual/mime-world.fig:
9685 Let's try this again, this time with a file that is
9686 actually in XFig format.
9688 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9690 * docs/manual/mime-world.fig:
9691 Add audioconvert element to diagram so that it
9692 matches the text and the code (fixes #319526).
9694 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9696 * docs/pwg/building-chainfn.xml:
9697 * docs/pwg/building-pads.xml:
9698 * docs/pwg/building-state.xml:
9699 * docs/pwg/other-source.xml:
9700 Update state change stuff for 0.10 (fixes #322969).
9702 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9704 * docs/manual/advanced-dataaccess.xml:
9705 * docs/manual/appendix-checklist.xml:
9706 * docs/manual/appendix-programs.xml:
9707 * docs/manual/basics-pads.xml:
9708 * docs/manual/highlevel-components.xml:
9709 * docs/manual/manual.xml:
9710 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
9711 add converters in front of pipelines; remove curly
9712 brackets for threads stuff, they no longer exist; use
9713 GST_TYPE_FRACTION for framerates; update some pieces of
9714 code to 0.10, but there's plenty more to do.
9716 * docs/manual/appendix-porting.xml:
9717 Expand on asynchroneous state changes; s/0.9/0.10/;
9718 mention disappearance of gst_init_get_popt_table()
9721 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9723 * docs/faq/using.xml:
9724 Spider no longer exists, and neither does gst-launch-ext.
9725 Update examples to use decodebin and playbin and put
9726 converters in front of sinks (fixes #323726).
9728 2005-12-09 Michael Smith <msmith@fluendo.com>
9730 * plugins/elements/gsttypefindelement.c: (find_peek),
9731 (gst_type_find_element_chain):
9732 Fix leaking element factories in typefinding.
9733 Fix problem where we forgot about a probable type on non-seekable
9734 files, and thus later mis-typefound it.
9736 2005-12-09 Michael Smith <msmith@fluendo.com>
9738 * common/m4/gst-makecontext.m4:
9739 * common/m4/gst-mcsc.m4:
9741 * win32/common/config.h:
9742 * win32/common/config.h.in:
9743 Remove makecontext stuff; not used in 0.10 and causes problems on
9744 HPUX according to bug #322441
9746 2005-12-07 Wim Taymans <wim@fluendo.com>
9748 * tests/check/Makefile.am:
9749 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
9751 * tests/check/libs/struct_i386.h:
9752 Added ABI check for libs
9754 2005-12-07 Wim Taymans <wim@fluendo.com>
9756 * tests/check/Makefile.am:
9757 And add the struct_i386.h to dist.
9759 2005-12-07 Wim Taymans <wim@fluendo.com>
9761 * tests/check/Makefile.am:
9762 * tests/check/gst/.cvsignore:
9763 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
9765 * tests/check/gst/struct_i386.h:
9766 Added check for ABI compatibility.
9768 2005-12-07 Wim Taymans <wim@fluendo.com>
9770 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9771 (gst_fake_src_get_times), (gst_fake_src_create):
9772 Fix broken sync option, fixes #323259
9774 2005-12-07 Wim Taymans <wim@fluendo.com>
9779 * gst/gstcaps.c: (gst_caps_is_equal):
9780 Don't assert on NULL <--> X. Fixes #323260
9782 * gst/gstminiobject.c: (gst_mini_object_replace):
9783 If we're doing atomic operations, we might just as well use
9784 the proper way to get an atomic pointer.
9786 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9789 2005-12-07 Michael Smith <msmith@fluendo.com>
9791 * gst/parse/grammar.y:
9792 Remove handling of { } for threads.
9794 2005-12-06 David Schleef <ds@schleef.org>
9796 * libs/gst/base/gstbasetransform.c: speling fix.
9798 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
9800 * docs/libs/tmpl/gstdataprotocol.sgml:
9801 * docs/random/omega/testing/gstobject.c:
9805 * gst/gstelementfactory.c:
9808 * gst/gstghostpad.c:
9810 * gst/gstpadtemplate.c:
9811 * gst/gstregistryxml.c:
9813 * gst/gsttagsetter.c:
9814 * gst/gsttypefind.c:
9816 * libs/gst/base/gstbasesrc.c:
9817 * libs/gst/net/gstnetclientclock.c:
9818 * libs/gst/net/gstnettimeprovider.c:
9819 * plugins/elements/gstfakesrc.c:
9820 * plugins/elements/gstfdsrc.c:
9821 * plugins/elements/gstfilesrc.c:
9822 * plugins/elements/gstidentity.c:
9823 * plugins/elements/gstqueue.c:
9824 * plugins/elements/gsttypefindelement.c:
9825 * plugins/indexers/gstfileindex.c:
9826 * plugins/indexers/gstmemindex.c:
9827 * tests/check/gst/gsttag.c:
9828 * tests/old/examples/cutter/cutter.c:
9829 * tests/old/examples/mixer/mixer.c:
9830 * tests/old/examples/xml/runxml.c: (main):
9831 * tests/old/testsuite/caps/normalisation.c:
9832 * tests/old/testsuite/debug/global.c:
9833 * tests/old/testsuite/parse/parse1.c:
9834 * tools/gst-xmlinspect.c:
9835 * win32/common/dirent.c:
9838 === release 0.10.0 ===
9840 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9843 releasing 0.10.0, "Maroilles"
9845 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9847 submitted by: Funda Wang <fundawang@linux.net.cn>
9851 added Chinese (Traditional) translation
9853 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9855 * docs/gst/gstreamer-sections.txt:
9856 * docs/libs/tmpl/gstdataprotocol.sgml:
9857 * docs/random/thomasvs/TODO:
9862 2005-12-05 Andy Wingo <wingo@pobox.com>
9864 patch by: Wim Taymans <wim@fluendo.com>
9866 * libs/gst/base/gstbasetransform.c
9867 (gst_base_transform_prepare_output_buf)
9868 (gst_base_transform_buffer_alloc):
9869 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
9870 alloc_buffer_and_set_caps.
9872 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
9873 set_caps on the source pad.
9874 (gst_pad_alloc_buffer_and_set_caps): New function, does what
9875 alloc_buffer used to do. Fixes #322874.
9877 * docs/gst/gstreamer-sections.txt:
9878 * docs/design/part-negotiation.txt:
9879 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
9882 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
9884 patch by: Sebastien Moutte
9887 * win32/common/config.h.in:
9888 * win32/vs6/libgstcontroller.dsp:
9891 2005-12-05 Wim Taymans <wim@fluendo.com>
9893 * gst/gstcaps.c: (gst_caps_is_equal):
9894 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9895 (gst_fake_src_create):
9896 Back out previous code changes, leave doc updates, file bugs
9899 2005-12-05 Wim Taymans <wim@fluendo.com>
9901 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9902 (gst_fake_src_get_times), (gst_fake_src_create):
9903 * plugins/elements/gstfakesrc.h:
9904 Fix broken sync code.
9906 2005-12-05 Wim Taymans <wim@fluendo.com>
9908 * gst/gstcaps.c: (gst_caps_is_equal):
9909 Comparing NULL against !NULL yields different caps, not a
9912 2005-12-05 Wim Taymans <wim@fluendo.com>
9914 * gst/gstpipeline.c:
9915 Fix small typo in docs.
9917 2005-12-05 Andy Wingo <wingo@pobox.com>
9919 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
9921 * gst/gst.c (init_post): remove hard-coded 0.9 location for
9922 registries/plugins with a MAJORMINOR one.
9923 (plugin_desc): Rename library from gstcoreleements to
9924 staticelements. Fixes #323222.
9926 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
9928 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
9929 Change debug category to 'collectpads' from 'collect_pads'
9932 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9934 patch by: Sebastien Moutte
9936 * libs/gst/controller/gstinterpolation.c:
9937 use convert function for uint64/double
9938 * win32/vs6/libgstcontroller.dsp:
9941 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
9943 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
9944 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
9946 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9947 add tests that seem to show that the guint64/gdouble conversions
9950 2005-12-02 Wim Taymans <wim@fluendo.com>
9952 * gst/gstregistry.c: (gst_registry_add_path):
9953 * gst/gstregistry.h:
9954 * gst/gstregistryxml.c:
9957 2005-12-02 Wim Taymans <wim@fluendo.com>
9959 * gst/gstutils.c: (gst_util_uint64_scale_int64),
9960 (gst_util_uint64_scale_int):
9963 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9966 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
9969 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9972 * win32/common/config.h:
9973 * win32/vs6/gstreamer.dsw:
9974 * win32/vs6/libgstcoreelements.dsp:
9975 * win32/vs6/libgstelements.dsp:
9976 renamed core elements plugin
9978 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
9980 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
9982 do piece-wise major/minor comparison so 0.9 < 0.10
9983 also allow .exe extensions for tools
9985 2005-12-02 Michael Smith <msmith@fluendo.com>
9988 Escape a % to make gtkdoc happier; bug 322958.
9990 === release 0.9.7 ===
9992 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9995 releasing 0.9.7, "My Dog Has No Nose"
9997 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9999 * common/gst-xmlinspect.py:
10001 * docs/libs/tmpl/gstdataprotocol.sgml:
10002 * docs/random/release:
10021 * win32/common/config.h:
10022 * win32/common/config.h.in:
10023 * win32/vs6/gst_inspect.dsp:
10024 * win32/vs6/gst_launch.dsp:
10025 * win32/vs6/libgstbase.dsp:
10026 * win32/vs6/libgstelements.dsp:
10027 * win32/vs6/libgstreamer.dsp:
10028 * win32/vs7/GStreamer.vcproj:
10029 * win32/vs7/gst-inspect.vcproj:
10030 * win32/vs7/gst-launch.vcproj:
10031 * win32/vs7/libgstbase.vcproj:
10032 bump GST_MAJORMINOR to 0.10
10033 reset libtool version
10035 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10039 Added Bulgarian translation by (Alexander Shopov)
10041 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10043 * tests/check/gst/gstplugin.c:
10046 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10048 * common/gst-xmlinspect.py:
10049 * common/gtk-doc-plugins.mak:
10051 * docs/Makefile.am:
10052 * docs/gst/Makefile.am:
10053 * docs/gst/gstreamer-docs.sgml:
10054 * docs/gst/gstreamer-sections.txt:
10055 * docs/gst/gstreamer.types:
10056 * docs/gst/gstreamer.types.in:
10057 * docs/plugins/Makefile.am:
10058 * docs/plugins/gstreamer-plugins-docs.sgml:
10059 * docs/plugins/gstreamer-plugins-sections.txt:
10060 * docs/plugins/gstreamer-plugins.types:
10061 * docs/plugins/inspect.stamp:
10062 * docs/plugins/inspect/plugin-coreelements.xml:
10063 * docs/plugins/inspect/plugin-coreindexers.xml:
10064 * docs/plugins/scanobj-build.stamp:
10065 * gstreamer.spec.in:
10066 * plugins/elements/Makefile.am:
10067 * plugins/elements/gstelements.c:
10068 * plugins/elements/gstfakesink.c:
10069 * plugins/elements/gstfakesrc.c:
10070 * plugins/elements/gstfilesink.c:
10071 * plugins/elements/gstfilesrc.c:
10072 * plugins/elements/gstqueue.c:
10073 * plugins/indexers/Makefile.am:
10074 * plugins/indexers/gstindexers.c:
10075 document core plugins in a separate document just like all the
10077 rename these plugins to something starting with core
10079 2005-12-01 Andy Wingo <wingo@pobox.com>
10081 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
10082 padding here before, but it missed the commit.
10084 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10086 * libs/gst/controller/gstinterpolation.c:
10087 whitespace prices have crashed, we should feel free to use some now
10088 use gst_guint64_to_gdouble
10090 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10092 * libs/gst/controller/gstcontroller.c:
10093 * libs/gst/controller/gsthelper.c:
10094 * libs/gst/controller/gstinterpolation.c:
10095 * libs/gst/controller/lib.c:
10096 wrap config.h include
10098 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10100 * docs/gst/gstreamer-sections.txt:
10103 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
10105 * plugins/elements/gstelements.c:
10106 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
10107 (gst_fd_sink__class_init), (gst_fd_sink__init),
10108 (gst_fd_sink__chain), (gst_fd_sink__set_property),
10109 (gst_fd_sink__get_property):
10110 * plugins/elements/gstfdsink.h:
10111 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
10112 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
10113 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
10114 (gst_fd_src_unlock), (gst_fd_src_set_property),
10115 (gst_fd_src_get_property), (gst_fd_src_create),
10116 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
10117 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
10118 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
10119 (gst_fd_src_uri_handler_init):
10120 * plugins/elements/gstfdsrc.h:
10121 * plugins/elements/gstqueue.c: (gst_queue_get_type):
10124 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10126 * docs/gst/Makefile.am:
10127 * docs/gst/gstreamer.types.in:
10131 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10137 * gst/gstregistry.h:
10138 * tests/benchmarks/complexity.c:
10139 * tests/benchmarks/mass-elements.c:
10140 * tests/check/Makefile.am:
10141 * tools/Makefile.am:
10142 * tools/gst-inspect.c:
10143 * tools/gst-xmlinspect.c:
10144 various fixes to make
10145 --disable-nls --disable-registry --disable-loadsave
10146 --disable-parse --disable-gst-debug
10147 work and get the core .so down to 360444 bytes after stripping
10149 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10154 * docs/random/thomasvs/TODO:
10155 * tests/Makefile.am:
10159 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10161 * win32/GStreamer.vcproj:
10164 * win32/Makefile.inspect:
10165 * win32/Makefile.launch:
10166 * win32/Makefile.register:
10167 * win32/README.txt:
10168 * win32/gst-inspect.vcproj:
10169 * win32/gst-launch.vcproj:
10170 * win32/gst-register.vcproj:
10171 * win32/gstelements.vcproj:
10172 * win32/gstgetbits.def:
10173 * win32/gstgetbits.vcproj:
10174 * win32/gstreamer-dbg.def:
10175 * win32/gstreamer.def:
10176 * win32/libgstbase.def:
10177 * win32/libgstbase.vcproj:
10178 * win32/link_oldruntime.c:
10182 * win32/msvc71.sln:
10183 move even more stuff, win32/ is nice and clean now
10185 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10187 * libs/gst/control/.cvsignore:
10192 * win32/gstbytestream.def:
10193 * win32/gstbytestream.vcproj:
10194 * win32/gstconfig.h:
10195 * win32/gstenumtypes.c:
10196 * win32/gstenumtypes.h:
10197 * win32/gstoptimalscheduler.vcproj:
10198 * win32/gstversion.h:
10200 * win32/testsuite/bins.vcproj:
10201 * win32/testsuite/bytestream.vcproj:
10202 * win32/testsuite/caps.vcproj:
10203 * win32/testsuite/cleanup.vcproj:
10204 * win32/testsuite/clock.vcproj:
10205 * win32/testsuite/debug.vcproj:
10206 * win32/testsuite/dlopen.vcproj:
10207 * win32/testsuite/dynparams.vcproj:
10208 * win32/testsuite/elements.vcproj:
10209 * win32/testsuite/ghostpads.vcproj:
10210 * win32/testsuite/indexers.vcproj:
10211 * win32/testsuite/negotiation.vcproj:
10212 * win32/testsuite/parse.vcproj:
10213 * win32/testsuite/plugin.vcproj:
10214 * win32/testsuite/refcounting.vcproj:
10215 * win32/testsuite/schedulers.vcproj:
10216 * win32/testsuite/states.vcproj:
10217 * win32/testsuite/tags.vcproj:
10218 * win32/testsuite/threads.vcproj:
10219 remove old win32 stuff that isn't maintained and should be
10222 2005-11-30 Andy Wingo <wingo@pobox.com>
10224 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
10225 loading the gst.interfaces python module bork.
10227 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
10228 available since GLib 2.2. Fixes #318031.
10230 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10233 * check/.cvsignore:
10234 * check/Makefile.am:
10235 * check/elements/.cvsignore:
10236 * check/elements/fakesrc.c:
10237 * check/elements/fdsrc.c:
10238 * check/elements/identity.c:
10239 * check/generic/.cvsignore:
10240 * check/generic/states.c:
10241 * check/gst-libs/.cvsignore:
10242 * check/gst-libs/controller.c:
10243 * check/gst-libs/gdp.c:
10244 * check/gst/.cvsignore:
10245 * check/gst/capslist.h:
10247 * check/gst/gstbin.c:
10248 * check/gst/gstbuffer.c:
10249 * check/gst/gstbus.c:
10250 * check/gst/gstcaps.c:
10251 * check/gst/gstelement.c:
10252 * check/gst/gstevent.c:
10253 * check/gst/gstghostpad.c:
10254 * check/gst/gstiterator.c:
10255 * check/gst/gstmessage.c:
10256 * check/gst/gstminiobject.c:
10257 * check/gst/gstobject.c:
10258 * check/gst/gstpad.c:
10259 * check/gst/gstpipeline.c:
10260 * check/gst/gstplugin.c:
10261 * check/gst/gstsegment.c:
10262 * check/gst/gststructure.c:
10263 * check/gst/gstsystemclock.c:
10264 * check/gst/gsttag.c:
10265 * check/gst/gstutils.c:
10266 * check/gst/gstvalue.c:
10267 * check/net/.cvsignore:
10268 * check/net/gstnetclientclock.c:
10269 * check/net/gstnettimeprovider.c:
10270 * check/pipelines/.cvsignore:
10271 * check/pipelines/cleanup.c:
10272 * check/pipelines/simple_launch_lines.c:
10273 * check/pipelines/stress.c:
10274 * check/states/.cvsignore:
10275 * check/states/sinks.c:
10277 * examples/Makefile.am:
10278 * examples/appreader/.cvsignore:
10279 * examples/appreader/Makefile.am:
10280 * examples/appreader/appreader.c:
10281 * examples/controller/.cvsignore:
10282 * examples/controller/Makefile.am:
10283 * examples/controller/audio-example.c:
10284 * examples/cutter/.cvsignore:
10285 * examples/cutter/Makefile.am:
10286 * examples/cutter/cutter.c:
10287 * examples/cutter/cutter.h:
10288 * examples/events/Makefile.am:
10289 * examples/events/seek.c:
10290 * examples/helloworld/.cvsignore:
10291 * examples/helloworld/Makefile.am:
10292 * examples/helloworld/helloworld.c:
10293 * examples/helloworld2/.cvsignore:
10294 * examples/helloworld2/Makefile.am:
10295 * examples/helloworld2/helloworld2.c:
10296 * examples/launch/.cvsignore:
10297 * examples/launch/Makefile.am:
10298 * examples/launch/mp3parselaunch.c:
10299 * examples/launch/mp3play:
10300 * examples/manual/.cvsignore:
10301 * examples/manual/Makefile.am:
10302 * examples/manual/extract.pl:
10303 * examples/metadata/Makefile.am:
10304 * examples/metadata/read-metadata.c:
10305 * examples/mixer/.cvsignore:
10306 * examples/mixer/Makefile.am:
10307 * examples/mixer/mixer.c:
10308 * examples/mixer/mixer.h:
10309 * examples/pingpong/.cvsignore:
10310 * examples/pingpong/Makefile.am:
10311 * examples/pingpong/pingpong.c:
10312 * examples/plugins/.cvsignore:
10313 * examples/plugins/Makefile.am:
10314 * examples/plugins/example.c:
10315 * examples/plugins/example.h:
10316 * examples/pwg/.cvsignore:
10317 * examples/pwg/Makefile.am:
10318 * examples/pwg/extract.pl:
10319 * examples/queue/.cvsignore:
10320 * examples/queue/Makefile.am:
10321 * examples/queue/queue.c:
10322 * examples/queue2/.cvsignore:
10323 * examples/queue2/Makefile.am:
10324 * examples/queue2/queue2.c:
10325 * examples/queue3/.cvsignore:
10326 * examples/queue3/Makefile.am:
10327 * examples/queue3/queue3.c:
10328 * examples/queue4/.cvsignore:
10329 * examples/queue4/Makefile.am:
10330 * examples/queue4/queue4.c:
10331 * examples/retag/.cvsignore:
10332 * examples/retag/Makefile.am:
10333 * examples/retag/retag.c:
10334 * examples/retag/transcode.c:
10335 * examples/thread/.cvsignore:
10336 * examples/thread/Makefile.am:
10337 * examples/thread/thread.c:
10338 * examples/typefind/.cvsignore:
10339 * examples/typefind/Makefile.am:
10340 * examples/typefind/typefind.c:
10341 * examples/xml/.cvsignore:
10342 * examples/xml/Makefile.am:
10343 * examples/xml/createxml.c:
10344 * examples/xml/runxml.c:
10345 * tests/Makefile.am:
10346 * tests/check/Makefile.am:
10347 * testsuite/.cvsignore:
10348 * testsuite/Makefile.am:
10350 * testsuite/caps/.cvsignore:
10351 * testsuite/caps/Makefile.am:
10352 * testsuite/caps/app_fixate.c:
10353 * testsuite/caps/audioscale.c:
10354 * testsuite/caps/caps.c:
10355 * testsuite/caps/caps.h:
10356 * testsuite/caps/caps_strings:
10357 * testsuite/caps/compatibility.c:
10358 * testsuite/caps/deserialize.c:
10359 * testsuite/caps/enumcaps.c:
10360 * testsuite/caps/eratosthenes.c:
10361 * testsuite/caps/filtercaps.c:
10362 * testsuite/caps/fixed.c:
10363 * testsuite/caps/fraction-convert.c:
10364 * testsuite/caps/fraction-multiply-and-zero.c:
10365 * testsuite/caps/intersect2.c:
10366 * testsuite/caps/intersection.c:
10367 * testsuite/caps/normalisation.c:
10368 * testsuite/caps/random.c:
10369 * testsuite/caps/renegotiate.c:
10370 * testsuite/caps/sets.c:
10371 * testsuite/caps/simplify.c:
10372 * testsuite/caps/string-conversions.c:
10373 * testsuite/caps/structure.c:
10374 * testsuite/caps/subtract.c:
10375 * testsuite/caps/union.c:
10376 * testsuite/debug/.cvsignore:
10377 * testsuite/debug/Makefile.am:
10378 * testsuite/debug/category.c:
10379 * testsuite/debug/commandline.c:
10380 * testsuite/debug/global.c:
10381 * testsuite/debug/output.c:
10382 * testsuite/debug/printf_extension.c:
10383 * testsuite/dlopen/.cvsignore:
10384 * testsuite/dlopen/Makefile.am:
10385 * testsuite/dlopen/dlopen_gst.c:
10386 * testsuite/dlopen/loadgst.c:
10387 * testsuite/elements/.cvsignore:
10388 * testsuite/elements/Makefile.am:
10389 * testsuite/elements/gst-inspect-check.in:
10390 * testsuite/elements/struct_i386.h:
10391 * testsuite/elements/struct_size.c:
10392 * testsuite/indexers/.cvsignore:
10393 * testsuite/indexers/Makefile.am:
10394 * testsuite/indexers/cache1.c:
10395 * testsuite/indexers/indexdump.c:
10396 * testsuite/parse/.cvsignore:
10397 * testsuite/parse/Makefile.am:
10398 * testsuite/parse/parse1.c:
10399 * testsuite/parse/parse2.c:
10400 * testsuite/plugin/.cvsignore:
10401 * testsuite/plugin/Makefile.am:
10402 * testsuite/plugin/README:
10403 * testsuite/plugin/dynamic.c:
10404 * testsuite/plugin/linked.c:
10405 * testsuite/plugin/loading.c:
10406 * testsuite/plugin/registry.c:
10407 * testsuite/plugin/static.c:
10408 * testsuite/plugin/static2.c:
10409 * testsuite/plugin/testplugin.c:
10410 * testsuite/plugin/testplugin2.c:
10411 * testsuite/plugin/testplugin2_s.c:
10412 * testsuite/plugin/testplugin_s.c:
10413 * testsuite/refcounting/.cvsignore:
10414 * testsuite/refcounting/Makefile.am:
10415 * testsuite/refcounting/bin.c:
10416 * testsuite/refcounting/element.c:
10417 * testsuite/refcounting/element_pad.c:
10418 * testsuite/refcounting/mainloop.c:
10419 * testsuite/refcounting/mem.c:
10420 * testsuite/refcounting/mem.h:
10421 * testsuite/refcounting/object.c:
10422 * testsuite/refcounting/pad.c:
10423 * testsuite/refcounting/sched.c:
10424 * testsuite/refcounting/thread.c:
10425 * testsuite/states/.cvsignore:
10426 * testsuite/states/Makefile.am:
10427 * testsuite/states/bin.c:
10428 * testsuite/states/locked.c:
10429 * testsuite/states/parent.c:
10430 * testsuite/threads/.cvsignore:
10431 * testsuite/threads/159566.c:
10432 * testsuite/threads/159852.c:
10433 * testsuite/threads/Makefile.am:
10434 * testsuite/threads/queue.c:
10435 * testsuite/threads/signals.c:
10436 * testsuite/threads/staticrec.c:
10437 * testsuite/threads/thread.c:
10438 * testsuite/threads/threadb.c:
10439 * testsuite/threads/threadc.c:
10440 * testsuite/threads/threadd.c:
10441 * testsuite/threads/threade.c:
10442 * testsuite/threads/threadf.c:
10443 * testsuite/threads/threadg.c:
10444 * testsuite/threads/threadh.c:
10445 * testsuite/threads/threadi.c:
10446 move all of these under tests
10448 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10451 * tests/Makefile.am:
10454 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10456 * docs/gst/gstreamer-sections.txt:
10457 * tests/sched/.cvsignore:
10458 * tests/sched/Makefile.am:
10459 * tests/sched/cases/(fs-fs).xml:
10460 * tests/sched/cases/(fs-i-fs).xml:
10461 * tests/sched/cases/(fs-i-i-fs).xml:
10462 * tests/sched/cases/(fs-i-q[i-fs]).xml:
10463 * tests/sched/dynamic-pipeline.c:
10464 * tests/sched/interrupt1.c:
10465 * tests/sched/interrupt2.c:
10466 * tests/sched/interrupt3.c:
10467 * tests/sched/runtestcases:
10468 * tests/sched/runxml.c:
10469 * tests/sched/sched-stress.c:
10470 * tests/sched/sort.c:
10471 * tests/sched/testcases:
10472 * tests/sched/testcases1.tc:
10473 * tests/seeking/.cvsignore:
10474 * tests/seeking/Makefile.am:
10475 * tests/seeking/seeking1.c:
10476 * tests/threadstate/.cvsignore:
10477 * tests/threadstate/Makefile.am:
10478 * tests/threadstate/test1.c:
10479 * tests/threadstate/test2.c:
10480 * tests/threadstate/threadstate1.c:
10481 * tests/threadstate/threadstate2.c:
10482 * tests/threadstate/threadstate3.c:
10483 * tests/threadstate/threadstate4.c:
10484 * tests/threadstate/threadstate5.c:
10485 remove obsolete tests
10487 * tests/bench-complexity.scm:
10488 * tests/bench-mass_elements.scm:
10489 * tests/complexity.c:
10490 * tests/complexity.gnuplot:
10491 * tests/instantiate/.cvsignore:
10492 * tests/instantiate/Makefile.am:
10493 * tests/instantiate/caps.c:
10494 * tests/mass_elements.c:
10495 * tests/network-clock-utils.scm:
10496 * tests/network-clock.scm:
10498 First pass at cleaning up tests/ dir before moving the rest
10499 Combined with CVS surgery
10501 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10504 queue has moved, update
10506 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10508 * docs/gst/gstreamer-sections.txt:
10509 remove double entries from the docs
10510 * gst/gst_private.h:
10511 * gst/gstinfo.c: (_gst_debug_init):
10512 remove the THREAD debug category
10516 * docs/gst/gstreamer.types:
10517 * plugins/elements/gstqueue.c: (gst_queue_get_type),
10518 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
10519 completely move queue and fix up debugging categories
10521 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10523 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10524 make initialization portable, using LL is not
10526 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10528 * win32/common/gstconfig.h:
10531 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10533 * win32/common/libgstreamer.def:
10534 rename symbols; sort base section
10536 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10538 * gst/gstclock.c: (do_linear_regression):
10539 remove crack non-portable handrolled DEBUG macro
10541 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10543 * docs/random/release:
10545 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10546 (gst_object_flags_get_type), (register_gst_bin_flags),
10547 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10548 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10549 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10550 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
10551 (gst_caps_flags_get_type), (register_gst_clock_return),
10552 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10553 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10554 (gst_clock_flags_get_type), (register_gst_state),
10555 (gst_state_get_type), (register_gst_state_change_return),
10556 (gst_state_change_return_get_type), (register_gst_state_change),
10557 (gst_state_change_get_type), (register_gst_element_flags),
10558 (gst_element_flags_get_type), (register_gst_core_error),
10559 (gst_core_error_get_type), (register_gst_library_error),
10560 (gst_library_error_get_type), (register_gst_resource_error),
10561 (gst_resource_error_get_type), (register_gst_stream_error),
10562 (gst_stream_error_get_type), (register_gst_event_type_flags),
10563 (gst_event_type_flags_get_type), (register_gst_event_type),
10564 (gst_event_type_get_type), (register_gst_seek_type),
10565 (gst_seek_type_get_type), (register_gst_seek_flags),
10566 (gst_seek_flags_get_type), (register_gst_format),
10567 (gst_format_get_type), (register_gst_index_certainty),
10568 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10569 (gst_index_entry_type_get_type),
10570 (register_gst_index_lookup_method),
10571 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10572 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10573 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10574 (gst_index_flags_get_type), (register_gst_debug_level),
10575 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10576 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10577 (gst_iterator_result_get_type), (register_gst_iterator_item),
10578 (gst_iterator_item_get_type), (register_gst_message_type),
10579 (gst_message_type_get_type), (register_gst_mini_object_flags),
10580 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10581 (gst_pad_link_return_get_type), (register_gst_flow_return),
10582 (gst_flow_return_get_type), (register_gst_activate_mode),
10583 (gst_activate_mode_get_type), (register_gst_pad_direction),
10584 (gst_pad_direction_get_type), (register_gst_pad_flags),
10585 (gst_pad_flags_get_type), (register_gst_pad_presence),
10586 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10587 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10588 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10589 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10590 (gst_plugin_flags_get_type), (register_gst_rank),
10591 (gst_rank_get_type), (register_gst_query_type),
10592 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10593 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10594 (gst_tag_flag_get_type), (register_gst_task_state),
10595 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10596 (gst_alloc_trace_flags_get_type),
10597 (register_gst_type_find_probability),
10598 (gst_type_find_probability_get_type), (register_gst_uri_type),
10599 (gst_uri_type_get_type), (register_gst_parse_error),
10600 (gst_parse_error_get_type):
10601 * win32/common/gstenumtypes.h:
10602 * win32/common/gstversion.h:
10603 update visual studio generated files
10605 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10607 * win32/vs6/libgstbase.dsp:
10608 * win32/vs6/libgstelements.dsp:
10609 update project files for new locations
10611 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
10616 reinstate and update
10621 * docs/random/LICENSE:
10624 2005-11-30 Edward Hervey <edward@fluendo.com>
10626 * gst/gsttypefind.c: (gst_type_find_register):
10627 * gst/gsttypefind.h:
10628 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
10629 (gst_type_find_factory_dispose):
10630 * gst/gsttypefindfactory.h:
10631 Fix memory leak in GstTypeFindFactory.
10633 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10636 * plugins/elements/Makefile.am:
10637 * plugins/elements/gstelements.c:
10638 * plugins/elements/gstqueue.c:
10639 move queue from core to the elements plugin
10641 2005-11-29 Andy Wingo <wingo@pobox.com>
10643 * libs/gst/base/gstbasetransform.h:
10644 * libs/gst/base/gstbasesrc.h:
10645 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
10647 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
10648 of pointers by which to pad very extensible base classes (like the
10649 ones in libs/gst/base).
10651 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10653 * docs/gst/gstreamer-docs.sgml:
10654 * docs/gst/gstreamer-sections.txt:
10655 * docs/libs/gstreamer-libs-docs.sgml:
10656 * docs/libs/gstreamer-libs-sections.txt:
10657 moving documentation from core to lib
10659 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10661 * check/Makefile.am:
10663 * docs/gst/Makefile.am:
10665 * gst/base/.cvsignore:
10666 * gst/base/Makefile.am:
10668 * gst/base/gstadapter.c:
10669 * gst/base/gstadapter.h:
10670 * gst/base/gstbasesink.c:
10671 * gst/base/gstbasesink.h:
10672 * gst/base/gstbasesrc.c:
10673 * gst/base/gstbasesrc.h:
10674 * gst/base/gstbasetransform.c:
10675 * gst/base/gstbasetransform.h:
10676 * gst/base/gstcollectpads.c:
10677 * gst/base/gstcollectpads.h:
10678 * gst/base/gstpushsrc.c:
10679 * gst/base/gstpushsrc.h:
10680 * gst/base/gsttypefindhelper.c:
10681 * gst/base/gsttypefindhelper.h:
10682 * gst/check/Makefile.am:
10683 * gst/check/gstcheck.c:
10684 * gst/check/gstcheck.h:
10685 * gst/net/Makefile.am:
10686 * gst/net/gstnet.h:
10687 * gst/net/gstnetclientclock.c:
10688 * gst/net/gstnetclientclock.h:
10689 * gst/net/gstnettimepacket.c:
10690 * gst/net/gstnettimepacket.h:
10691 * gst/net/gstnettimeprovider.c:
10692 * gst/net/gstnettimeprovider.h:
10693 * libs/gst/Makefile.am:
10694 * libs/gst/base/Makefile.am:
10695 * libs/gst/base/gstbasetransform.c:
10696 * libs/gst/check/Makefile.am:
10697 * plugins/elements/Makefile.am:
10699 CVS surgery + support to move base, check, and net out of gst
10702 2005-11-29 Andy Wingo <wingo@pobox.com>
10704 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
10706 * gst/gststructure.h (struct _GstStructure): Only one pointer of
10709 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
10711 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
10713 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
10715 * gst/gstobject.h: (struct _GstObject): Only one pointer of
10716 padding; reduces object size by about 30%. We don't expect
10717 anything else to go into gstobject.
10719 * gst/gstminiobject.h (struct _GstMiniObject)
10720 (struct _GstMiniObjectClass): Only one pointer of padding; the
10721 payload is only a pointer and two ints anyway. For the class there
10722 are only two methods as well.
10724 * gst/gstelement.h (struct _GstElementClass): Removed
10725 the state_changed signal callback, it is not used.
10727 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10729 * docs/gst/gstreamer.types:
10730 fix includes, though they are a little dinky
10732 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10734 * check/Makefile.am:
10735 look in the right place for elements, a lot more chance of
10738 remove indexers and elements subdirs
10739 * plugins/Makefile.am:
10740 make indexers conditional
10742 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10746 * plugins/elements/Makefile.am:
10747 * plugins/elements/gstcapsfilter.c:
10748 * plugins/elements/gstfilesink.c:
10749 * plugins/elements/gstfilesrc.c:
10750 * plugins/elements/gstidentity.c:
10751 * plugins/indexers/Makefile.am:
10752 do CVS surgery and related build fixery to move elements
10753 and indexers in a new gstreamer/plugins directory, out of the
10756 2005-11-29 Andy Wingo <wingo@pobox.com>
10758 * check/Makefile.am:
10759 * pkgconfig/gstreamer-net-uninstalled.pc.in:
10760 * pkgconfig/gstreamer-net.pc.in:
10761 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
10764 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10766 * tools/Makefile.am:
10767 * tools/gst-complete.1.in:
10768 * tools/gst-complete.c:
10769 * tools/gst-compprep.1.in:
10770 * tools/gst-compprep.c:
10771 removing -compprep and -complete
10773 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
10775 * gst/gstevent.c: (gst_event_new_new_segment),
10776 (gst_event_parse_new_segment):
10778 fix #320529 - clean up new_segment API and structure.
10779 Let's hope everyone was using the methods, and not the structure.
10781 2005-11-29 Edward Hervey <edward@fluendo.com>
10783 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10784 (gst_base_sink_event), (gst_base_sink_do_sync),
10785 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
10786 Properly handle non GST_FORMAT_TIME segment
10787 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
10788 Properly handle non GST_FORMAT_TIME segment
10789 * gst/gstsegment.c:
10790 This function is valid if the accumulator is 0 and the format
10791 is different from the requested format.
10793 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10795 * docs/gst/gstreamer-sections.txt:
10796 Add gst_query_new_seeking and gst_query_parse_seeking to the
10799 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10801 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
10802 Treat a pad alloc with new caps the same as if we were not
10803 negotiated, in order to allow a changing upstream output
10804 to produce a new format of data.
10806 2005-11-29 Edward Hervey <edward@fluendo.com>
10808 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10809 (gst_base_transform_event), (gst_base_transform_eventfunc):
10810 The event virtual method is now properly implemented, with a default
10812 Sub classes should call the parent_class event method. They should
10813 return FALSE if they had a problem handling the given event, or don't
10814 want GstBaseTransform to send that even downstream
10815 * gst/elements/gstidentity.c: (gst_identity_class_init),
10816 (gst_identity_init), (gst_identity_event),
10817 (gst_identity_transform_ip), (gst_identity_set_property),
10818 (gst_identity_get_property):
10819 * gst/elements/gstidentity.h:
10820 Added the single-segment boolean property.
10821 If set to TRUE, it will output a single segment of data, starting from
10822 0, will eat up all incoming newsegment, and modify the timestamp of the
10823 buffers accordingly
10825 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
10827 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
10828 Don't ref NULL target pad (#322751). Improve docs.
10830 2005-11-29 Michael Smith <msmith@fluendo.com>
10832 * gst/gstregistryxml.c: (load_plugin):
10833 Don't crash if we failed to load a feature from a plugin.
10835 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10837 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10839 use more check API and less GLib API
10841 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10844 don't run checks if we don't have check
10845 * common/check.mak:
10846 remove the registry when running make torture
10847 * docs/gst/gstreamer-sections.txt:
10848 remove second multiply
10849 * gst/gstqueue.c: (gst_queue_loop):
10850 fix a compile warning when disabling debug
10852 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10855 Hey! Let's print the pad name if the pointer != NULL instead
10856 of when it == NULL :-)
10858 2005-11-28 Wim Taymans <wim@fluendo.com>
10860 * check/gst/gstutils.c: (GST_START_TEST):
10861 Updated check, add some scaling accuracy checking code.
10863 * gst/gstutils.c: (gst_util_div128_64),
10864 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
10865 (gst_util_uint64_scale_int):
10866 Fix 6 times faster division code. Optimize for common
10867 1/1 and less common X/1 cases.
10869 2005-11-28 Wim Taymans <wim@fluendo.com>
10871 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10874 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
10875 (do_linear_regression), (gst_clock_add_observation):
10877 Release lock when the clock cannot be slaved.
10878 Catch the case where the regression returned an invalid denominator.
10880 * gst/gstutils.c: (gst_util_div128_64_iterate),
10881 (gst_util_div128_64), (gst_util_uint64_scale_int64),
10882 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
10883 Add protentially more performant non-iterative 128/64 divide function
10884 that unfortunatly does not work yet.
10885 Shortcut the trivial 0/X = 0 case.
10886 Remove the warnings on overflow.
10888 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10890 * gst/gstplugin.c: (gst_plugin_register_func):
10891 everything causing a plugin not to load should be at least a WARNING
10893 2005-11-28 Stefan Kost <ensonic@users.sf.net>
10895 * docs/random/ensonic/dparams.txt:
10896 some TODOs for the next dev cycle
10897 * libs/gst/controller/gstcontroller.c:
10898 (gst_controlled_property_set_interpolation_mode),
10899 (gst_controlled_property_new):
10900 * libs/gst/controller/gstcontroller.h:
10901 use base type to assign acccessor functions
10903 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10905 * check/Makefile.am:
10906 Oops, that should have been top_srcdir
10908 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
10910 * check/Makefile.am:
10911 * check/elements/fdsrc.c: (GST_START_TEST):
10912 Use a cmdline define to specify the location of a file to use for
10913 testing, to avoid breaking distcheck.
10915 2005-11-28 Andy Wingo <wingo@pobox.com>
10917 * gst/gstpad.c (fixate_value): Use array functions for arrays.
10919 2005-11-28 Edward Hervey <edward@fluendo.com>
10921 * tools/gst-launch.c: (main):
10922 Clarify the output strings, makes it easier to translate.
10925 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
10928 don't try and build net if we don't even have <sys/socket.h>
10930 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
10932 * check/Makefile.am:
10933 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
10934 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
10935 Add tests for fdsrc seekability
10937 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10938 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
10939 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
10940 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
10941 * gst/elements/gstfdsrc.h:
10942 fdsrc should not be a 'live' source.
10943 Implement seeking on seekable fd's.
10945 * gst/gstquery.c: (gst_query_new_seeking),
10946 (gst_query_parse_seeking):
10948 Implement SEEKING query functions:
10949 *_new_seeking and *_parse_seeking
10951 2005-11-27 Stefan Kost <ensonic@users.sf.net>
10953 * gst/gstelement.c: (gst_element_dispose):
10956 * gst/gstiterator.c:
10957 * gst/gststructure.c:
10960 * libs/gst/controller/gstcontroller.c:
10961 (gst_controlled_property_set_interpolation_mode):
10962 * libs/gst/controller/gstcontroller.h:
10963 * libs/gst/controller/gstinterpolation.c:
10964 (interpolate_none_get_enum_value_array):
10965 support controlling enums
10967 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10970 Improve documentation for gst_value_union().
10973 Change return value for union, intersect and subtract functions
10974 from gint to gboolean.
10976 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
10978 * gst/gstvalue.c: (gst_value_serialize_any_list),
10979 (gst_value_transform_any_list_string),
10980 (gst_value_deserialize_list), (gst_value_deserialize_array),
10981 (gst_value_set_int_range), (gst_value_deserialize_int_range),
10982 (gst_value_set_double_range), (gst_value_deserialize_double_range),
10983 (gst_value_set_fraction_range_full),
10984 (gst_value_deserialize_fraction_range),
10985 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
10986 (gst_value_deserialize_boolean),
10987 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
10988 (gst_value_serialize_float), (gst_value_deserialize_float),
10989 (gst_string_wrap), (gst_value_deserialize_string),
10990 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
10991 (gst_value_union_int_range_int_range),
10992 (gst_value_intersect_int_range_int_range),
10993 (gst_value_intersect_double_range_double_range),
10994 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
10995 (gst_value_subtract_int_range_int_range),
10996 (gst_value_subtract_double_double_range),
10997 (gst_value_subtract_double_range_double_range),
10998 (gst_value_deserialize_fraction):
11000 Use gint, gdouble and gchar in our API instead of int, double and
11001 char (and make usage in gstvalue.c more consistent).
11003 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11005 * check/Makefile.am:
11006 * libs/gst/controller/Makefile.am:
11007 * libs/gst/dataprotocol/Makefile.am:
11008 fix up Makefile.am and remove GST_ENABLE_NEW
11010 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11014 * gst/base/Makefile.am:
11015 * gst/check/Makefile.am:
11016 * gst/elements/Makefile.am:
11017 * gst/net/Makefile.am:
11018 update LDFLAGS use some more
11020 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
11022 * common/m4/gst-doc.m4:
11025 2005-11-26 Edward Hervey <edward@fluendo.com>
11027 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11028 This shouldn't issue a g_warning since it returns NULL if it
11029 couldn't find the plugin, and all functions using this behave
11030 properly on a NULL return. Switching to a GST_WARNING.
11032 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
11034 * gst/gstbin.c: (gst_bin_handle_message_func):
11035 Don't leak clock messages.
11037 2005-11-25 Wim Taymans <wim@fluendo.com>
11039 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11040 (gst_util_uint64_scale_int):
11041 Optimisations, remove unneeded vars.
11043 2005-11-25 Wim Taymans <wim@fluendo.com>
11045 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11046 Added more checks for the high precision uint64 cases.
11048 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11049 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
11050 Implement high precision (guint64 * guint64) / guint64.
11052 2005-11-24 Wim Taymans <wim@fluendo.com>
11054 * gst/base/gstbasesrc.c: (gst_base_src_query):
11055 Fix wrong percentage query.
11057 * gst/gstutils.c: (gst_util_uint64_scale),
11058 (gst_util_uint64_scale_int):
11059 Add some more common cases that can be handled
11060 efficiently to _scale.
11062 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
11064 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
11065 (gst_mini_object_suite):
11066 don't use check calls from threads; check probably isn't
11067 threadsafe and using a lock to make it threadsafe would
11068 defeat the purpose of this check
11069 * gst/check/gstcheck.c:
11070 * gst/check/gstcheck.h:
11071 use GST_DEBUG some more
11073 2005-11-24 Wim Taymans <wim@fluendo.com>
11075 * gst/gstutils.c: (gst_util_uint64_scale),
11076 (gst_util_uint64_scale_int):
11077 Chain trivial case to _scale_int.
11079 2005-11-24 Wim Taymans <wim@fluendo.com>
11081 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11082 Added test for scaling.
11087 * gst/gstutils.c: (gst_util_uint64_scale_int):
11088 Implemented high precision scaling code.
11090 2005-11-24 Stefan Kost <ensonic@users.sf.net>
11093 do not crash on pad==NULL
11095 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
11097 Patch by: Stefan Kost
11099 * common/gtk-doc.mak:
11100 * docs/gst/Makefile.am:
11101 * docs/libs/Makefile.am:
11102 Fix distcheck issues for the libraries docs build
11105 2005-11-24 Michael Smith <msmith@fluendo.com>
11107 * docs/manual/basics-helloworld.xml:
11108 Fix bug #315027: memory leak in example code in docs.
11110 2005-11-24 Michael Smith <msmith@fluendo.com>
11112 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11113 Unlock the PREROLL_LOCK in a failure case.
11115 2005-11-24 Wim Taymans <wim@fluendo.com>
11117 * docs/gst/gstreamer-sections.txt:
11118 * gst/base/gstadapter.h:
11119 * gst/base/gstbasesink.h:
11120 * gst/base/gstbasesrc.h:
11121 * gst/base/gstbasetransform.h:
11122 * gst/base/gstpushsrc.h:
11123 * gst/elements/gstfakesink.h:
11124 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
11125 * gst/elements/gstfakesrc.h:
11126 * gst/elements/gstfilesink.h:
11127 * gst/elements/gstfilesrc.h:
11130 * gst/gstbuffer.c: (_gst_buffer_copy):
11133 * gst/gstchildproxy.c:
11135 * gst/gstelement.c:
11136 * gst/gstelementfactory.c:
11137 * gst/gstelementfactory.h:
11139 * gst/gstghostpad.h:
11141 * gst/gstinterface.h:
11142 * gst/gstminiobject.c:
11143 * gst/gstminiobject.h:
11146 * gst/gstpadtemplate.h:
11147 * gst/gstpipeline.h:
11148 * gst/gstpluginfeature.h:
11151 * gst/gsttaglist.c:
11152 * gst/gsttaglist.h:
11153 * gst/gsttagsetter.c:
11154 * gst/gsttagsetter.h:
11157 * gst/gsttypefind.h:
11160 * gst/net/gstnetclientclock.c:
11161 * gst/net/gstnetclientclock.h:
11162 * gst/net/gstnettimepacket.c:
11163 * gst/net/gstnettimeprovider.c:
11164 * gst/net/gstnettimeprovider.h:
11167 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11169 * configure.ac: back to HEAD
11171 === release 0.9.6 ===
11173 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11176 releasing 0.9.6, "Always On Time"
11178 2005-11-23 Wim Taymans <wim@fluendo.com>
11180 * docs/gst/gstreamer-sections.txt:
11181 * gst/glib-compat.c:
11182 * gst/gsttagsetter.c:
11184 * gst/net/gstnetclientclock.c:
11185 * gst/net/gstnettimepacket.h:
11188 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
11190 * docs/faq/using.xml:
11191 * docs/libs/tmpl/gstcontrol.sgml:
11192 * docs/manual/advanced-dparams.xml:
11193 * docs/manual/appendix-checklist.xml:
11194 * docs/manual/basics-elements.xml:
11195 * docs/pwg/other-source.xml:
11196 * docs/random/moving-plugins:
11198 * tools/gst-launch.1.in:
11199 remove mentions of sinesrc
11201 2005-11-23 Michael Smith <msmith@fluendo.com>
11203 * docs/gst/gstreamer-sections.txt:
11204 Update for new API and API changes.
11206 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
11208 Documentation typo fix.
11209 * gst/net/gstnettimepacket.c:
11210 Documentation fixes for arguments.
11212 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
11214 * gst/gststructure.c: (gst_structure_get_fraction),
11215 (gst_structure_parse_value),
11216 (gst_structure_fixate_field_nearest_fraction):
11217 * gst/gststructure.h:
11218 * gst/gstutils.c: (gst_util_uint64_scale_int):
11220 * scripts/update-funcnames:
11222 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
11223 Make gst_structure_fixate_field_nearest_fraction take a numerator
11224 and denominator argument instead of a GValue
11225 add gst_structure_get_fraction helper function.
11227 2005-11-23 Wim Taymans <wim@fluendo.com>
11229 * docs/design/part-TODO.txt:
11232 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11233 * gst/net/gstnetclientclock.h:
11234 Use parent fields for timeout and window_size.
11236 2005-11-23 Andy Wingo <wingo@pobox.com>
11238 * check/net/gstnetclientclock.c (test_functioning): Adjust to
11239 rate_num/rate_denom change.
11241 * gst/net/gstnetclientclock.c
11242 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
11243 OBJECT_LOCK. Don't call add_observation with the lock.
11245 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
11247 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
11249 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
11250 deal with rate as a fraction whose numerator and denominator are
11251 GstClockTime values.
11252 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
11253 master; the other fields are protected by the SLAVE_LOCK.
11254 (do_linear_regression): Note that this must be called with the
11256 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
11257 OBJECT_LOCK. Call set_calibration instead of touching the
11258 variables directly.
11259 (gst_clock_set_property, gst_clock_get_property): Protect
11260 master/slave parameters with the SLAVE_LOCK.
11262 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
11263 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
11264 note that all of the instance variables that add_observation and
11265 the set_master functions use are protected by that lock and not
11267 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
11269 * gst/gstclock.c (gst_clock_add_observation): No longer requires
11270 the caller to take the object lock.
11272 2005-11-23 Wim Taymans <wim@fluendo.com>
11274 * gst/gsterror.c: (_gst_core_errors_init):
11276 Add error for clock stuff.
11278 * gst/gstpipeline.c: (gst_pipeline_change_state),
11279 (gst_pipeline_set_clock):
11280 Post clock error when clock cannot be used in a pipeline.
11282 2005-11-23 Stefan Kost <ensonic@users.sf.net>
11284 * docs/gst/gstreamer-sections.txt:
11285 make two symbols from gstinfo private for the docs
11286 * gst/base/gstcollectpads.h:
11288 fix doc typos, update docs
11290 2005-11-22 Wim Taymans <wim@fluendo.com>
11292 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11293 (gst_base_sink_wait), (gst_base_sink_do_sync),
11294 (gst_base_sink_handle_event):
11295 * gst/base/gstbasesink.h:
11296 No need to store the clock, the parent element class already
11299 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
11300 Updates for clock_set returning a gboolean
11302 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
11303 (gst_clock_id_wait_async), (gst_clock_class_init),
11304 (gst_clock_init), (gst_clock_finalize),
11305 (gst_clock_get_internal_time), (gst_clock_get_time),
11306 (gst_clock_slave_callback), (gst_clock_set_master),
11307 (gst_clock_get_master), (do_linear_regression),
11308 (gst_clock_add_observation), (gst_clock_set_property),
11309 (gst_clock_get_property):
11311 Implement master/slave. When setting a clock as a slave, a
11312 periodic timeout is scheduled to sample master and slave times.
11313 Then the slave clock is recalibrated to match offset and rate
11314 of the master clock.
11315 Update logging a bit.
11316 Add flag so that a clock can state that is cannot be slaved to
11319 * gst/gstelement.c: (gst_element_set_clock):
11320 * gst/gstelement.h:
11321 The set clock returns a gboolean for when an element cannot
11322 deal with the selected clock in the pipeline.
11324 * gst/gstpipeline.c: (gst_pipeline_change_state),
11325 (gst_pipeline_set_clock):
11326 * gst/gstpipeline.h:
11327 Handle the case where the selected clock cannot be set on
11330 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
11331 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11332 (gst_net_client_clock_set_property),
11333 (gst_net_client_clock_get_property),
11334 (gst_net_client_clock_observe_times):
11335 * gst/net/gstnetclientclock.h:
11336 Use regression code in GstClock parent, remove duplicated
11339 2005-11-22 Michael Smith <msmith@fluendo.com>
11341 * gst/gstutils.c: (gst_util_clock_time_scale):
11343 * docs/gst/gstreamer-sections.txt:
11344 Rename method to have extra underscore.
11346 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
11348 * gst/elements/Makefile.am:
11349 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
11350 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11351 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
11352 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
11353 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
11354 * gst/elements/gstfakesrc.h:
11355 * gst/gstqueue.c: (queue_leaky_get_type):
11356 correctly fix GEnumValues so that nick is the short lowercase
11358 * tools/gst-inspect.c: (print_element_properties_info):
11359 also show the nick, since it's useful to use from parse_launch
11363 2005-11-22 Michael Smith <msmith@fluendo.com>
11365 * gst/gstutils.c: (gst_util_clocktime_scale):
11367 * docs/gst/gstreamer-sections.txt:
11368 Add util method for scaling a clocktime by a fraction. Useful
11369 implementation is left as an exercise for the reader.
11371 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11373 * gst/gstvalue.c: (gst_value_collect_fraction_range):
11374 If needed, allocate storage in the destination value during
11377 2005-11-22 Edward Hervey <edward@fluendo.com>
11379 * docs/gst/gstreamer-sections.txt:
11382 * gst/gsturitype.c:
11383 * gst/gsturitype.h:
11384 * gst/gstutils.c: (gst_util_set_object_arg):
11385 * tools/gst-compprep.c: (main):
11386 * tools/gst-inspect.c: (print_element_properties_info):
11387 Removed GstURI, closes bug #321061
11389 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11391 * check/gst/gststructure.c: (GST_START_TEST):
11392 * gst/gststructure.c: (gst_structure_parse_value):
11393 Oops, broke automatic string type parsing.
11394 Add a test to catch it in future.
11396 2005-11-22 Andy Wingo <wingo@pobox.com>
11398 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
11399 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
11400 Actually rename the function implementations. Grr.
11402 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11404 * check/gst/capslist.h:
11406 * check/gst/gststructure.c: (GST_START_TEST),
11407 (gst_structure_suite):
11408 Test automatic value type detection in gst_structure_from_string.
11409 * gst/gststructure.c: (gst_structure_parse_value):
11410 Add fraction as a type we try and guess automatically in
11411 caps/structure strings.
11413 2005-11-22 Andy Wingo <wingo@pobox.com>
11415 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
11417 * gst/gsttagsetter.h:
11418 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
11419 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
11420 (gst_tag_setter_add_tag_valist)
11421 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
11422 _add_values, _add_valist, and _add_valist_values. Since this is an
11423 interface the function suffixes should be more explicit so
11424 language binding don't end up with element.add_valist ->
11425 gst_tag_setter_add_valist, for example. Fixes #322069.
11427 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11429 * check/gst/gstcaps.c: (GST_START_TEST):
11430 Extend caps string tests to check that a caps to string
11431 conversion is reversible and produces the same caps.
11433 * gst/gststructure.c: (gst_structure_value_get_generic_type):
11434 Output "fraction" as the generic type fraction range, so caps
11435 serialisation and deserialisation works.
11436 * check/gst/capslist.h:
11437 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11438 Support 'MIN' and 'MAX' for deserialising fractions.
11440 2005-11-22 Andy Wingo <wingo@pobox.com>
11442 * gst/gstevent.h (gst_event_new_new_segment)
11443 (gst_event_parse_new_segment, gst_event_new_buffer_size)
11444 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
11445 Renamed from *_newsegment, *_buffersize, *_notarget.
11447 * scripts/update-funcnames: New script, performs the changes
11450 2005-11-22 Wim Taymans <wim@fluendo.com>
11452 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11453 Make sure the GstFlowReturn is returned.
11455 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
11456 (gst_bus_add_signal_watch):
11458 add gst_bus_add_signal_watch_full.
11460 * gst/gstplugin.c: (gst_plugin_load_file):
11461 Small style cleanup.
11463 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11465 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
11466 Block the fakesrc srcpad when we send an event, to avoid
11467 contention on the stream_lock causing random test failures.
11469 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11471 * check/gst/gstvalue.c: (GST_START_TEST):
11472 * gst/gstvalue.c: (gst_value_fraction_subtract):
11475 2005-11-22 Stefan Kost <ensonic@users.sf.net>
11478 include "gstchildproxy.h"
11479 * gst/gstchildproxy.h:
11480 * libs/gst/controller/gstcontroller.h:
11481 use G_GNUC_NULL_TERMINATED
11483 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
11485 * check/gst/capslist.h:
11486 * check/gst/gstcaps.c: (GST_START_TEST):
11487 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11488 * gst/gststructure.c: (gst_structure_parse_range),
11489 (gst_structure_fixate_field_nearest_fraction):
11490 * gst/gststructure.h:
11491 * gst/gstvalue.c: (gst_value_init_fraction_range),
11492 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
11493 (gst_value_collect_fraction_range),
11494 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
11495 (gst_value_set_fraction_range_full),
11496 (gst_value_get_fraction_range_min),
11497 (gst_value_get_fraction_range_max),
11498 (gst_value_serialize_fraction_range),
11499 (gst_value_transform_fraction_range_string),
11500 (gst_value_compare_fraction_range),
11501 (gst_value_deserialize_fraction_range),
11502 (gst_value_intersect_fraction_fraction_range),
11503 (gst_value_intersect_fraction_range_fraction_range),
11504 (gst_value_subtract_fraction_fraction_range),
11505 (gst_value_subtract_fraction_range_fraction),
11506 (gst_value_subtract_fraction_range_fraction_range),
11507 (gst_value_collect_fraction), (gst_value_fraction_multiply),
11508 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
11509 (gst_value_transform_string_fraction), (_gst_value_initialize):
11511 Implement fraction ranges and extend GstFraction to support
11512 arithmetic subtraction, as well as deserialization from integer
11513 strings such as "100"
11514 Add a testsuite as for int and double range set operations
11516 2005-11-21 Andy Wingo <wingo@pobox.com>
11518 * gst/gsttaglist.h:
11520 * gst/gststructure.h: Add glib-compat.h.
11522 2005-11-21 Wim Taymans <wim@fluendo.com>
11524 * gst/gstbin.c: (gst_bin_change_state_func):
11527 2005-11-21 Wim Taymans <wim@fluendo.com>
11529 * gst/gstsegment.h:
11530 And add a nice define too.
11532 2005-11-21 Wim Taymans <wim@fluendo.com>
11534 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
11535 (gst_segment_new), (gst_segment_free), (gst_segment_init),
11536 (gst_segment_set_duration), (gst_segment_set_last_stop),
11537 (gst_segment_set_seek), (gst_segment_set_newsegment),
11538 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11539 (gst_segment_clip):
11540 * gst/gstsegment.h:
11541 Make binding friendly.
11543 2005-11-21 Andy Wingo <wingo@pobox.com>
11545 * gst/gsttagsetter.h:
11546 * gst/gsttaglist.h:
11547 * gst/gststructure.h:
11549 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
11552 * gst/gsterror.c (_gst_core_errors_init):
11553 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
11556 * gst/Makefile.am (gst_headers): Add glib-compat.h.
11557 (noinst_HEADERS): noinst the -private.
11559 2005-11-21 Michael Smith <msmith@fluendo.com>
11562 * gst/gstregistry.h:
11563 Remove unimplemented declarations for which we can see no sensible
11566 2005-11-21 Andy Wingo <wingo@pobox.com>
11568 * gst/gst.h: Include glib-compat.h.
11570 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
11572 * gst/glib-compat.c: Include the public and the private header.
11574 * gst/glib-compat-private.h: Copied here from glib-compat.h.
11578 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
11580 * check/gst/gstevent.c (create_custom_events): Check that
11581 FLUSH_STOP is serialized.
11583 * check/elements/identity.c (event_func):
11584 * check/elements/fakesrc.c (event_func): No stream lock, the core
11587 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
11588 stream lock taking, yay.
11590 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
11591 ensure that core takes the stream lock.
11593 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
11596 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
11597 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
11598 it already. For the flush start we do take it though so we get the
11599 right preroll state change messages.
11601 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
11602 the stream lock here, the core does it for us.
11604 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
11605 GST_STREAM_GET_LOCK.
11606 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
11607 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
11608 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
11609 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
11610 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
11611 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
11613 * gst/gstpad.c: Update for stream lock name change.
11615 * gst/base/gstbasesink.c: Update for preroll lock name change.
11617 2005-11-21 Wim Taymans <wim@fluendo.com>
11619 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
11620 (gst_clock_get_master):
11622 * gst/gstsystemclock.c: (gst_system_clock_init):
11623 Convert Clock flags to object flags.
11624 Added methods to manage master/slave clocks.
11626 2005-11-21 Wim Taymans <wim@fluendo.com>
11628 * check/gst/gstsegment.c: (GST_START_TEST):
11629 * docs/design/part-TODO.txt:
11630 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11631 (gst_base_sink_event), (gst_base_sink_do_sync),
11632 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11633 (gst_base_sink_query), (gst_base_sink_change_state):
11634 * gst/base/gstbasesink.h:
11635 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
11636 (gst_base_src_default_newsegment),
11637 (gst_base_src_configure_segment), (gst_base_src_do_seek),
11638 (gst_base_src_get_range), (gst_base_src_loop),
11639 (gst_base_src_change_state):
11640 * gst/base/gstbasesrc.h:
11641 * gst/base/gstbasetransform.c:
11642 (gst_base_transform_prepare_output_buf),
11643 (gst_base_transform_event), (gst_base_transform_change_state):
11644 * gst/base/gstbasetransform.h:
11645 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11646 (gst_collect_pads_event):
11647 * gst/base/gstcollectpads.h:
11648 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
11649 (gst_fake_src_create):
11650 * gst/elements/gstfakesrc.h:
11651 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
11652 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11653 (gst_segment_set_last_stop), (gst_segment_set_seek),
11654 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11655 (gst_segment_to_running_time), (gst_segment_clip):
11656 * gst/gstsegment.h:
11657 More segment updates, replace code in plugins with segment
11660 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11662 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
11663 Don't ignore sscanf results
11665 2005-11-21 Andy Wingo <wingo@pobox.com>
11667 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
11670 * *.c: Ran scripts/update-macros. Oh yes.
11672 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
11673 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
11676 * scripts/update-macros: New script. Run it on your files to
11677 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
11680 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11682 * docs/gst/Makefile.am:
11683 * docs/gst/gstreamer-docs.sgml:
11684 * docs/gst/gstreamer-sections.txt:
11685 * docs/gst/gstreamer.types:
11687 more docs fixes, add new api to the docs
11689 2005-11-21 Andy Wingo <wingo@pobox.com>
11691 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
11692 state_broadcast call.
11694 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
11696 2005-11-21 Julien MOUTTE <julien@moutte.net>
11698 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
11699 function calls for arrays.
11701 2005-11-21 Stefan Kost <ensonic@users.sf.net>
11703 * docs/random/ensonic/media-device-daemon.txt:
11704 wild idea, can this be done?
11705 * docs/gst/gstreamer-sections.txt:
11710 * gst/gstpluginfeature.c:
11714 doc fixes and additions
11716 2005-11-21 Andy Wingo <wingo@pobox.com>
11718 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
11719 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
11720 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
11721 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
11722 private to the basesrc implementation.
11724 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
11725 behalf of event function if necessary. It should no longer be
11726 necessary to take the stream lock in pad's event functions. Fixes
11729 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11730 * docs/gst/gstreamer-sections.txt:
11731 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
11732 (gst_structure_fixate_field_nearest_double),
11733 (gst_structure_fixate_field_boolean):
11734 * gst/gststructure.h:
11735 * win32/common/libgstreamer.def:
11736 * win32/gstreamer.def:
11738 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
11741 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
11743 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
11744 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
11745 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
11746 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
11747 (gst_fdsrc_uri_handler_init):
11748 * gst/elements/gstfdsrc.h:
11749 Port fd:// URI handler from 0.8 to fdsrc
11751 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11753 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
11754 (gst_value_serialize_fourcc):
11756 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
11757 consistent with our other format defines (#320324).
11759 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11761 * gst/gstvalue.c: (gst_value_is_fixed):
11762 Revert previous commit. Value lists are by definition
11763 not fixed, as they are a list of possible values.
11765 2005-11-21 Andy Wingo <wingo@pobox.com>
11767 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
11768 during the stable series if we need it. Fixes #319178.
11770 * gst/gstevent.c (gst_event_new_filler): Removed.
11772 * check/gst/gstevent.c: Update comment about filler events.
11774 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11776 * gst/gstvalue.c: (gst_value_is_fixed):
11777 Should handle both value arrays and value lists.
11779 2005-11-21 Andy Wingo <wingo@pobox.com>
11781 patch by: Alessandro Dessina <alessandro nnva org>
11783 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
11784 functions to access arrays. Fixes #321962.
11786 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11788 * docs/gst/gstreamer.types:
11789 gst_collectpads_get_type => gst_collect_pads_get_type.
11791 * gst/base/gstbasetransform.c:
11792 Remove unused SIGNAL_HANDOFF enum.
11794 2005-11-21 Andy Wingo <wingo@pobox.com>
11796 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
11797 the event type (upstream, downstream, serialized). Renamed
11798 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
11799 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
11800 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
11802 * gst/gstevent.c: Update for new CUSTOM event names.
11804 * check/gst/gstevent.c: Update check for new CUSTOM event names.
11807 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
11810 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11812 * docs/gst/gstreamer-sections.txt:
11813 * win32/common/libgstbase.def:
11814 * win32/libgstbase.def:
11815 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11816 (gst_collect_pads_class_init), (gst_collect_pads_init),
11817 (gst_collect_pads_finalize), (gst_collect_pads_new),
11818 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
11819 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
11820 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
11821 (gst_collect_pads_start), (gst_collect_pads_stop),
11822 (gst_collect_pads_peek), (gst_collect_pads_pop),
11823 (gst_collect_pads_available), (gst_collect_pads_read),
11824 (gst_collect_pads_flush), (gst_collect_pads_event),
11825 (gst_collect_pads_chain):
11826 * gst/base/gstcollectpads.h:
11827 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
11828 unimplemented functions as unimplemented. Add padding to
11829 GstCollectData. (#320766, #320423)
11831 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
11833 * gst/gstmessage.c:
11834 Improve docs for DURATION message (usage of duration parameter)
11837 2005-11-20 Wim Taymans <wim@fluendo.com>
11839 * check/Makefile.am:
11840 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
11844 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
11845 (gst_segment_set_seek), (gst_segment_set_newsegment),
11846 (gst_segment_to_stream_time), (gst_segment_to_running_time),
11847 (gst_segment_clip):
11848 * gst/gstsegment.h:
11849 Added segment helper structure and methods. Not fully implemented
11851 Added segment check.
11853 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
11855 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11856 Add a deserialisation test for fractions
11857 * examples/metadata/read-metadata.c: (message_loop),
11858 (make_pipeline), (main):
11859 Fix up metadata reading sample.
11860 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11862 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
11863 Don't try and fixate empty caps
11864 * gst/gst_private.h:
11865 Wrap in G_BEGIN_DECLS/G_END_DECLS
11866 * gst/gstvalue.c: (gst_value_collect_fraction),
11867 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
11868 (gst_value_transform_string_fraction),
11869 (gst_value_compare_fraction):
11870 Add some extra guards to ensure that we don't end up
11871 with an invalid denominator of 0 in a gstfraction and
11872 that fractions always get reduced.
11874 2005-11-20 Wim Taymans <wim@fluendo.com>
11876 * docs/gst/gstreamer-sections.txt:
11878 * gst/gstelement.c:
11887 2005-11-20 Wim Taymans <wim@fluendo.com>
11889 * docs/design/part-TODO.txt:
11891 Make a proper enum of the flag.
11893 2005-11-19 Wim Taymans <wim@fluendo.com>
11895 * docs/design/part-TODO.txt:
11896 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
11897 (gst_format_to_quark), (gst_format_register):
11899 * gst/gstquery.c: (_gst_query_initialize),
11900 (gst_query_type_get_name), (gst_query_type_to_quark),
11901 (gst_query_type_register):
11903 Add type to quark and type to string conversions.
11905 2005-11-19 Andy Wingo <wingo@pobox.com>
11907 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
11910 2005-11-19 Wim Taymans <wim@fluendo.com>
11912 * docs/design/part-TODO.txt:
11913 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11914 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
11915 (gst_bin_handle_message_func):
11917 Make message handling overridable.
11919 2005-11-19 Andy Wingo <wingo@pobox.com>
11921 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
11924 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
11926 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
11927 is a GstClockTime. Fixes #321710.
11929 * gst/gstclock.h (GstClock): Remove offset property. Add
11930 internal_calibration and external_calibration. Fix padding. Pad
11931 also by GstClockTime so we don't run into problems.
11933 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
11934 (gst_clock_get_rate_offset): Remove.
11935 (gst_clock_set_time_adjust): Remove. Fixes #321712.
11938 * gst/gstutils.c (g_static_rec_cond_wait)
11939 (g_static_rec_cond_timed_wait): Removed, no longer needed.
11941 * gst/gstbin.c: Remove terrible continue_state prototype.
11943 * gst/gstelement.h (gst_element_continue_state): Make public.
11945 * gst/gstelement.h:
11946 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
11947 by continue_state. Fixes #319389.
11949 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
11950 Really fixes #168438. However I don't see anywhere where the
11951 filter function is called... stupid GStreamer...
11953 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
11954 don't have a dispose function, so it won't get called when the
11955 object is unreffed, but oh well!
11957 * gst/gstindex.c (gst_index_set_filter_full): New API function,
11958 allows a destroy function to be set so user_data can be freed.
11960 (gst_index_set_filter): Call gst_index_set_filter_full.
11962 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
11964 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
11965 string should produce an error, given the lack of a way to
11966 represent NULL strings. Fixes #165650.
11969 * gst/gstvalue.c (gst_value_array_append_value)
11970 (gst_value_array_prepend_value, gst_value_array_get_size)
11971 (gst_value_array_get_value): New API, copied from
11972 gst_value_list_*, only operates on arrays.
11973 (gst_value_list_append_value, gst_value_list_prepend_value)
11974 (gst_value_list_concat, gst_value_list_get_size)
11975 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
11977 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
11978 init_list, because it works on both.
11979 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
11980 (gst_value_copy_list_or_array): Renamed from copy_list.
11981 (gst_value_free_list_or_array): Renamed from free_list.
11982 (gst_value_collect_list_or_array): Renamed from collect_list.
11983 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
11984 (gst_value_list_or_array_peek_pointer): Renamed from
11986 (_gst_value_array_value_table, _gst_value_list_value_table):
11987 Update value table functions.
11988 (gst_value_compare_list_or_array): Renamed from compare_list.
11990 * gsttaglist.h: Whoops, foreach function returns void. Also fix
11993 * gst/gsttaglist.c:
11994 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
11995 GstTagList*. Fixes #143472.
11997 * gst/gststructure.h: Clarify what the foreach/map functions can
11998 or can't do to their arguments.
12000 2005-11-18 Wim Taymans <wim@fluendo.com>
12002 * gst/gstclock.c: (gst_clock_set_calibration),
12003 (gst_clock_get_calibration):
12005 Calibration can be set with internal time equal to current
12008 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
12014 2005-11-18 Andy Wingo <wingo@pobox.com>
12017 * pkgconfig/gstreamer-net.pc.in:
12018 * pkgconfig/gstreamer-net-uninstalled.pc.in:
12019 * pkgconfig/Makefile.am: Add net pkgconfig files.
12021 2005-11-18 Stefan Kost <ensonic@users.sf.net>
12024 * gst/gstghostpad.c:
12030 2005-11-18 Andy Wingo <wingo@pobox.com>
12032 * gst/net/gstnetclientclock.c: Turn off debugging.
12034 * check/net/gstnetclientclock.c (test_functioning): Assert that the
12035 times connverge somewhat. Can't make a real test.
12037 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
12038 integer arithmetic. Return the minimum of the domain, which can be
12039 set as "internal" for gst_clock_set_calibration.
12040 (gst_net_client_clock_observe_times): Call _set_calibration.
12041 (gst_net_client_clock_new): Call _set_calibration instead of
12044 * check/net/gstnetclientclock.c (test_functioning): Use the right
12048 * gst/gstclock.c (gst_clock_get_calibration)
12049 (gst_clock_set_calibration): New functions, obsolete the ones I
12050 added yesterday. Doh. Precision issues mean we have to extrapolate
12051 from a point in the more recent past than 1970.
12052 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
12054 (gst_clock_adjust_unlocked): Use the right calibration data.
12056 2005-11-18 Edward Hervey <edward@fluendo.com>
12058 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12059 Also reset the ->current_* values in READY->PAUSED
12061 2005-11-18 Andy Wingo <wingo@pobox.com>
12063 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
12064 Whoops, check the right fd. Also add some debugging.
12065 (gst_net_client_clock_observe_times): Adjust for int64 offset.
12066 (do_linear_regression): Add a crapload of debugging. Subtract off
12067 the minimum values from the input series to discard unneeded bits.
12068 Use only int arithmetic. There is still double arithmetic when
12069 calculating the intercept that needs fixing. Return boolean to
12070 indicate success; FALSE would mean the domain or range is too
12071 great. Still needs fixes.
12073 2005-11-18 Wim Taymans <wim@fluendo.com>
12075 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
12076 For the current position in stream time, we need to subtract
12079 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12080 Release lock before calling the callback function of async
12083 2005-11-18 Andy Wingo <wingo@pobox.com>
12085 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
12086 Port goes all the way to MAXUINT16.
12088 * gst/net/gstnettimeprovider.c: Make the port range the same as
12089 for the kernel: 0 assigns, otherwise ports are less than
12092 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
12095 * check/net/gstnetclientclock.c (test_functioning): Add the start
12098 2005-11-18 Wim Taymans <wim@fluendo.com>
12100 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
12101 (gst_bin_remove_func), (bin_bus_handler):
12103 Removing a clock provider from a bin, triggers a clock lost message
12104 so that a new clock will be selected.
12105 Adding a clock to a bin triggers a clock provider message.
12106 Make sure we reselect a clock when we received a clock lost message.
12107 Keep a reference to the element that provided the clock.
12109 2005-11-18 Andy Wingo <wingo@pobox.com>
12111 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
12112 the clock initially so it produces values around the base time.
12113 (gst_net_client_clock_class_init): Typo fix.
12114 (gst_net_client_clock_thread): Add note on when the socket gets
12117 2005-11-17 Wim Taymans <wim@fluendo.com>
12119 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
12120 Free remote and local time arrays.
12122 2005-11-17 Wim Taymans <wim@fluendo.com>
12124 * gst/net/gstnetclientclock.c: (do_linear_regression),
12125 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
12126 Fix compilation, uninitialized vars and a forgotten continue.
12128 2005-11-17 Andy Wingo <wingo@pobox.com>
12130 * check/Makefile.am (check_PROGRAMS):
12131 * check/net/gstnetclientclock.c: Add a most minimal test for the
12132 net client clock. More to come later.
12134 * gst/net/gstnet.h:
12135 * gst/net/Makefile.am: Add netclientclock.
12137 * gst/net/gstnetclientclock.h:
12138 * gst/net/gstnetclientclock.c: New files, implement an untested
12139 GstClock that takes its time from a network time provider.
12140 Implements the algorithm in network-clock.scm.
12142 * tests/network-clock.scm (*window-size*): Rename from
12144 * tests/network-clock.scm (network-time):
12145 * tests/network-clock-utils.scm (q-push): Update callers.
12147 2005-11-17 Wim Taymans <wim@fluendo.com>
12149 * gst/gstbin.c: (gst_bin_provide_clock_func),
12150 (gst_bin_sort_iterator_new):
12151 And unref the child too..
12153 2005-11-17 Wim Taymans <wim@fluendo.com>
12155 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12156 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
12157 Refactor the sort iterator so it can be used while holding the
12159 Make clock selection select a clock closest to the source.
12161 2005-11-17 Michael Smith <msmith@fluendo.com>
12163 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
12164 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
12166 Anonymous structs are a gcc (and some other compilers) extension, so
12167 don't use them. Since this is only for ABI-compatibility, and our
12168 API/ABI freeze is over in a few days, this whole thing will only
12169 last a few days, so don't bother trying to think up a meaningful
12170 name for the struct.
12172 2005-11-17 Andy Wingo <wingo@pobox.com>
12174 * gst/gstclock.h (GstClock): Add rate and offset properties,
12175 preserving ABI stability. Add rate/offset accessors. Will file bug
12176 for the freeze break.
12178 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
12179 and offset, trying to keep precision and avoiding
12180 underflow/overflow.
12181 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
12182 functions. Make gst_clock_set_time_adjust obsolete.
12183 (gst_clock_set_time_adjust): Note that this function is obsolete.
12184 Will file bug soon.
12186 * gst/base/gstbasetransform.h: Make the ABI-stability hack
12187 greppable by using GST_PADDING-1+1.
12189 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
12191 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12193 * gst/gstmessage.c: (gst_message_parse_clock_lost):
12194 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
12196 * gst/gstpadtemplate.h:
12197 * gst/gstpluginfeature.h:
12198 Don't use c++ style comments in headers (#321638).
12200 2005-11-16 Andy Wingo <wingo@pobox.com>
12202 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
12205 * check/net/gstnettimeprovider.c: Check to see that the time
12206 provider actually provides times. Works, yo!
12208 2005-11-16 Wim Taymans <wim@fluendo.com>
12210 * check/Makefile.am:
12213 * check/elements/fakesrc.c: (GST_START_TEST):
12214 Set element to NULL before disposing it.
12216 2005-11-16 Andy Wingo <wingo@pobox.com>
12218 * gst/net/Makefile.am:
12219 * gst/net/gstnet.h:
12220 * gst/net/gstnettimeprovider.c:
12221 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
12222 provider, include it from gstnet.h, and add it to the build.
12224 * gst/net/gstnettimepacket.h:
12225 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
12226 sending and receiving.
12228 2005-11-16 Wim Taymans <wim@fluendo.com>
12230 * check/Makefile.am:
12231 Enable valgrind check.
12233 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
12234 (gst_fake_src_alloc_buffer):
12237 2005-11-16 Wim Taymans <wim@fluendo.com>
12239 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
12240 Call parent finalize too.
12242 2005-11-16 Wim Taymans <wim@fluendo.com>
12244 * check/Makefile.am:
12245 Enable valgrind check that should work fine now.
12247 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12248 * gst/gstqueue.c: (gst_queue_init):
12249 Fix memleaks in pad allocation.
12251 2005-11-16 Andy Wingo <wingo@pobox.com>
12253 * gst/net/Makefile.am:
12254 * gst/net/gstnet.h: New part of core to hold network elements and
12255 objects. Put in core because it exposes API that applications want
12256 to use. The library is named libgstnet-tempname right now because
12257 of the existing libgstnet in gst-plugins-base. Solution is
12258 probably to rename the one in plugins-base; will file a bug for
12261 * gst/net/gstnettimeprovider.c:
12262 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
12263 get_time call over the network.
12266 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
12268 * check/Makefile.am:
12269 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
12270 get additions shortly.
12272 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12274 * gst/gstpad.c: (gst_pad_new_from_static_template):
12276 add gst_pad_new_from_static_template functions
12277 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
12278 (gst_check_setup_sink_pad):
12279 * gst/elements/gsttee.c: (gst_tee_init):
12282 2005-11-16 Wim Taymans <wim@fluendo.com>
12284 * gst/gstpad.c: (gst_pad_pause_task):
12285 Removed warning, it's not really an error either.
12287 2005-11-16 Wim Taymans <wim@fluendo.com>
12289 * gst/base/gstbasetransform.c:
12290 (gst_base_transform_prepare_output_buf),
12291 (gst_base_transform_event):
12292 Check if the caps are NULL, this can happen if the element
12293 is shutting down and the pad caps are set to NULL.
12295 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12297 * gst/elements/gsttee.c: (gst_tee_init):
12298 fix pad template leak in tee
12300 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12302 * gst/glib-compat.c: (g_value_dup_gst_object):
12303 * gst/glib-compat.h:
12304 * gst/gstpad.c: (gst_pad_set_property):
12305 use gst_object_ref when setting the pad template; this will
12306 trigger the pad template leaks on GLib 2.6 and the slaves
12308 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12310 * gst/glib-compat.c: (gst_flags_get_first_value):
12311 * gst/glib-compat.h:
12312 * gst/gstregistryxml.c:
12313 remove functions copied from GLib 2.6
12315 2005-11-16 Michael Smith <msmith@fluendo.com>
12318 Don't link against VALGRIND_LIBS. That was always the wrong thing to
12319 do, but only breaks with newer valgrind versions. We're not a
12320 valgrind tool, we have no link-time dependencies on libcoregrind.
12322 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12324 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
12326 * gst/gstmessage.h:
12329 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
12331 * gst/base/gstbasesrc.c: (gst_base_src_init):
12332 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12333 * gst/gstqueue.c: (gst_queue_init):
12334 * gst/gstregistryxml.c: (load_feature):
12335 Revert all these unrefs, they don't even pass make check !
12337 2005-11-15 Johan Dahlin <johan@gnome.org>
12339 * gst/base/gstbasesrc.c: (gst_base_src_init):
12340 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12341 * gst/gstqueue.c: (gst_queue_init):
12342 Free pad templates, fixes a couple of leaks.
12344 2005-11-15 Daniel Fischer <dan at f3c dot com>
12346 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12348 * gst/gstpad.c: (gst_pad_get_property):
12349 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
12350 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
12353 2005-11-15 Wim Taymans <wim@fluendo.com>
12358 2005-11-15 Andy Wingo <wingo@pobox.com>
12360 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
12362 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
12363 using GST_CLOCK_TIME_NONE to disable base time management.
12364 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
12365 time if it was NONE before.
12366 (gst_pipeline_change_state): Only munge the base time if
12367 stream_time != GST_CLOCK_TIME_NONE.
12369 * check/gst/gstpipeline.c (test_base_time): Punt around the
12370 problem of the probe not being called, because that's not the
12371 issue I'm looking at. Add a check that setting stream_time to NONE
12372 disables base time management.
12374 2005-11-15 Wim Taymans <wim@fluendo.com>
12376 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12377 segment_stop == -1 at startup.
12379 * gst/base/gstbasetransform.c: (gst_base_transform_event),
12380 (gst_base_transform_change_state):
12381 Init segment values at start.
12383 2005-11-15 Wim Taymans <wim@fluendo.com>
12385 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12386 0 segment values are 0 in any format.
12388 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12389 * gst/base/gstbasetransform.h:
12390 Parse newsegment correctly in basetransform
12392 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12393 Sync to clock using updated segment values.
12395 2005-11-15 Andy Wingo <wingo@pobox.com>
12397 * check/gst/gstpipeline.c (test_base_time): Add check that the
12398 base time and stream time are reset correctly.
12400 2005-11-15 Wim Taymans <wim@fluendo.com>
12402 * docs/design/part-TODO.txt:
12403 Some more TODO items.
12405 2005-11-15 Andy Wingo <wingo@pobox.com>
12407 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
12408 error if the user selected "no clock" as the clocking method.
12410 * check/gst/gstpipeline.c (test_base_time): New test for buffer
12411 timestamps with live capture.
12413 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
12414 is 0 but we are a live source, timestamp the buffers using the
12417 2005-11-14 Stefan Kost <ensonic@users.sf.net>
12419 * docs/gst/gstreamer-sections.txt:
12421 * gst/gstghostpad.c:
12426 2005-11-14 Wim Taymans <wim@fluendo.com>
12429 add suppressions from Wim's Debian machine
12431 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
12434 add suppressions from Andy's AMD64 Ubuntu machine
12436 2005-11-14 Andy Wingo <wingo@pobox.com>
12438 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
12439 STATE_LOCK not necessary. Fixes #311489.
12441 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
12444 * gst/gstindex.c (gst_index_add_object): Note in the docs that
12445 this function is not implemented.
12447 2005-11-14 Julien MOUTTE <julien@moutte.net>
12449 * gst/base/gstbasetransform.c:
12450 (gst_base_transform_prepare_output_buf):
12451 Ref the source pad caps while we need them.
12454 2005-11-11 Wim Taymans <wim@fluendo.com>
12456 * docs/gst/gstreamer-sections.txt:
12457 Added some docs for GstCollectData.
12459 * gst/base/gstadapter.c:
12460 Some small code example fix.
12462 * gst/base/gstcollectpads.c:
12463 * gst/base/gstcollectpads.h:
12464 Document some more.
12466 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12468 * configure.ac: back to HEAD
12470 === release 0.9.5 ===
12472 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
12475 releasing 0.9.5, "Bike Lunch Day"
12477 2005-11-11 Wim Taymans <wim@fluendo.com>
12479 * gst/gstbuffer.c: (_gst_buffer_copy):
12482 * gst/gstcaps.c: (gst_caps_is_equal):
12484 Make _is_equal fast in the trivial cases.
12486 * gst/gstminiobject.c:
12487 * gst/gstminiobject.h:
12488 More docs. Spifify .h file.
12493 2005-11-11 Wim Taymans <wim@fluendo.com>
12495 * gst/base/gstbasetransform.c:
12496 (gst_base_transform_prepare_output_buf),
12497 (gst_base_transform_handle_buffer):
12499 If we're processing a buffer and need to allocate an output
12500 buffer, we cannot accept a format change. If we did get a
12501 format change, we have to alloc a buffer ourselves of the
12504 2005-11-11 Wim Taymans <wim@fluendo.com>
12506 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
12507 While checking the flag for reentrancy in the gstcaps function
12508 is nice to detect recursive invocations, it also makes it
12509 impossible to call getcaps from multiple threads, which must be
12510 possible. So, checking for recursive calls has to go.
12512 2005-11-11 Michael Smith <msmith@fluendo.com>
12514 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12515 Don't sync on buffers that fall partially outside our current
12516 segment. Prevents an assertion failure/abort playing some files.
12518 2005-11-10 Andy Wingo <wingo@pobox.com>
12520 * check/gst/gstbin.c (test_message_state_changed_children): Style
12523 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
12524 gst_bus_poll with the signal watch. Ensures that poll and a signal
12525 watch see the same messages.
12527 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
12528 a poll and a watch at the same time get the same messages.
12530 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12532 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
12533 * gst/gstcaps.c: (gst_caps_intersect):
12534 Don't call gst_caps_do_simplify - it doesn't respect order of caps
12535 and it's not needed.
12537 2005-11-10 Wim Taymans <wim@fluendo.com>
12539 * docs/design/part-TODO.txt:
12542 2005-11-10 Wim Taymans <wim@fluendo.com>
12544 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12545 * gst/base/gstbasesrc.c: (gst_base_src_wait),
12546 (gst_base_src_do_sync), (gst_base_src_get_range):
12547 Implement clock sync in base class.
12549 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
12551 patch by: Tim-Philipp Müller <tim at centricular dot net>
12553 * gst/gststructure.c: (gst_structure_parse_field),
12554 (gst_structure_from_string):
12555 Forward-port a 0.8 patch to handle escaped spaces in structure string,
12556 so that gst_parse_launch() can deal with spaces in filtered link
12557 caps (fixes #164479)
12558 * check/gst/capslist.h:
12559 * check/gst/gststructure.c: (GST_START_TEST):
12560 add unit tests for this change
12562 2005-11-10 Wim Taymans <wim@fluendo.com>
12564 * docs/gst/gstreamer-sections.txt:
12565 * gst/gstelement.c:
12566 * gst/gstelement.h:
12567 Fix docs, move some STATE macros to private.
12569 2005-11-10 Wim Taymans <wim@fluendo.com>
12571 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
12572 Added check for bug #317341
12576 Some more spiffifying.
12578 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
12579 Call peer linkfunction if we are a source pad. Totally fixes
12583 Update docs, source pads should call the peer linkfunction
12584 so they can atomically perform the pad link.
12586 2005-11-09 Wim Taymans <wim@fluendo.com>
12590 Uber-spiffy-spiffify some more.
12592 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
12594 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
12595 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12596 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
12597 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
12598 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
12599 * gst/gstpad.c: (gst_pad_init):
12600 Use GST_DEBUG_FUNCPTR() more extensively.
12602 2005-11-09 Wim Taymans <wim@fluendo.com>
12604 * gst/gstobject.c: (gst_object_class_init):
12606 Documentation fixes.
12608 2005-11-09 Edward Hervey <edward@fluendo.com>
12610 * gst/gsttypefindfactory.c:
12613 2005-11-09 Edward Hervey <edward@fluendo.com>
12615 * gst/base/gsttypefindhelper.c:
12616 * gst/gsttypefind.c:
12617 * gst/gsttypefind.h:
12620 2005-11-09 Wim Taymans <wim@fluendo.com>
12622 * gst/gstiterator.c:
12629 2005-11-09 Wim Taymans <wim@fluendo.com>
12635 2005-11-09 Wim Taymans <wim@fluendo.com>
12637 * docs/gst/gstreamer-sections.txt:
12638 Moved the message async delivery private lock and cond
12639 to the private section.
12641 * gst/gstmessage.c:
12642 * gst/gstmessage.h:
12645 2005-11-09 Edward Hervey <edward@fluendo.com>
12647 * docs/gst/gstreamer-sections.txt:
12650 Document GstURIHandler
12652 2005-11-09 Wim Taymans <wim@fluendo.com>
12654 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
12655 (gst_iterator_find_custom):
12656 * gst/gstiterator.h:
12659 2005-11-09 Wim Taymans <wim@fluendo.com>
12662 Document another field.
12664 * gst/gststructure.c:
12665 * gst/gststructure.h:
12668 2005-11-09 Wim Taymans <wim@fluendo.com>
12671 Documented structs.
12673 2005-11-09 Wim Taymans <wim@fluendo.com>
12675 * docs/gst/gstreamer-sections.txt:
12676 Added some new macros.
12683 2005-11-09 Wim Taymans <wim@fluendo.com>
12685 * docs/design/part-TODO.txt:
12686 Some more items for the TODO
12692 2005-11-09 Andy Wingo <wingo@pobox.com>
12694 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
12695 to work on something else now tho...
12697 * gst/base/gstadapter.c: More adapter docs.
12699 * gst/elements/gstfilesink.c (gst_file_sink_start)
12700 (gst_file_sink_stop): New functions, replace the state change
12702 (gst_file_sink_class_init): Hook up the start and stop functions.
12703 (gst_file_sink_base_init): Don't set the state change handler any
12704 more. It was a bit ugly too, being set from here...
12705 (gst_file_sink_get_property, gst_file_sink_set_property):
12707 (gst_file_sink_set_location): More robust check that doesn't call
12708 GST_STATE. Ugggggg.
12710 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
12712 * gst/base/gstbasetransform.c: (gst_base_transform_event):
12713 Hold STREAM_LOCK while pushing newsegment or tag events as well.
12715 2005-11-08 Wim Taymans <wim@fluendo.com>
12717 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
12718 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12719 (gst_base_sink_chain), (gst_base_sink_change_state):
12720 * gst/base/gstbasesink.h:
12721 * gst/base/gstbasesrc.h:
12722 * gst/gstelement.h:
12724 Avoid excessive typechecking in macros.
12726 * gst/gstminiobject.c: (gst_mini_object_get_type),
12727 (gst_mini_object_init), (gst_mini_object_new),
12728 (gst_mini_object_free):
12729 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12730 (gst_object_finalize):
12731 Remove cruft code, optimize alloc_trace.
12733 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
12735 * docs/faq/gst-uninstalled:
12736 fix up PS1 for systems that try to reset it
12738 2005-11-07 Wim Taymans <wim@fluendo.com>
12740 * gst/base/gstbasesrc.c: (gst_base_src_init),
12741 (gst_base_src_get_range):
12742 Set the segment_end to -1 initially. Fixed typefind.
12744 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
12746 * gst/base/gstadapter.c:
12747 Debug category should be 'adapter', not 'GstAdapter'.
12749 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
12750 (gst_collectpads_class_init), (gst_collectpads_init),
12751 (gst_collectpads_peek), (gst_collectpads_pop),
12752 (gst_collectpads_event), (gst_collectpads_chain):
12753 Add debug category and some debugging output. Use boilerplate
12754 macros. Remove some extraneous words from docs.
12756 2005-11-05 Andy Wingo <wingo@pobox.com>
12758 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
12761 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12763 * docs/gst/gstreamer-sections.txt:
12766 * gst/gstminiobject.h:
12771 2005-11-04 Wim Taymans <wim@fluendo.com>
12773 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12774 Small update to stop at the configured segment_end
12777 2005-11-04 Stefan Kost <ensonic@users.sf.net>
12779 * gst/gstregistry.c:
12780 * gst/gstregistry.h:
12783 2005-11-04 Edward Hervey <edward@fluendo.com>
12785 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
12786 Check if we are doing a segment seek and have arrived at the
12787 end of that segment.
12789 2005-11-04 Wim Taymans <wim@fluendo.com>
12791 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
12792 Don't leak a mutex unlock in case of an error.
12797 2005-11-04 Wim Taymans <wim@fluendo.com>
12799 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
12801 Get the context to wake up only once.
12803 2005-11-03 Wim Taymans <wim@fluendo.com>
12805 * check/states/sinks.c: (GST_START_TEST):
12806 Uncomment fixed check.
12808 * docs/design/part-TODO.txt:
12811 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12812 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12813 (gst_base_sink_get_position):
12814 If we are going to PLAYING, post the right pending state
12815 when we post the intermediate paused message.
12817 * gst/gstelement.c: (gst_element_continue_state),
12818 (gst_element_set_state_func), (gst_element_change_state):
12819 Don't post state changes that were between the same state
12820 and were not ASYNC.
12822 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12824 * docs/gst/gstreamer-sections.txt:
12827 * gst/gstminiobject.h:
12830 more docs and doc style fixes
12832 2005-11-03 Stefan Kost <ensonic@users.sf.net>
12834 * docs/gst/gstreamer-sections.txt:
12835 * gst/gstelement.c:
12836 * gst/gstminiobject.c:
12839 2005-11-03 Andy Wingo <wingo@pobox.com>
12841 * check/states/sinks.c (test_livesrc_sink): Add checks that the
12842 state-changed messages actually have the right order and the right
12845 2005-11-03 Wim Taymans <wim@fluendo.com>
12847 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
12848 Added some more checks. Specifically the case where NO_PREROLL
12849 elements are in the pipeline.
12851 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12852 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
12853 (gst_base_sink_get_position):
12854 Post READY->PAUSED state change messages too.
12855 Fix bug where VOID was posted as pending state...
12857 * gst/gstbin.c: (gst_bin_recalc_state):
12858 use _element_continue_state() to continue the state change.
12860 * gst/gstelement.c: (gst_element_continue_state),
12861 (gst_element_commit_state), (gst_element_set_state_func),
12862 (gst_element_change_state), (gst_element_change_state_func):
12863 Lots of state change cleanups, assign the STATE_RETURN in
12864 a new continue_state() function that also propagates the
12865 last return value from a state change to the app.
12866 Update some debug statements with proper category.
12868 2005-11-03 Wim Taymans <wim@fluendo.com>
12870 * docs/design/part-events.txt:
12871 * docs/design/part-gstpipeline.txt:
12872 * docs/design/part-messages.txt:
12873 * docs/design/part-overview.txt:
12874 * docs/design/part-seeking.txt:
12875 * docs/design/part-states.txt:
12876 * docs/design/part-trickmodes.txt:
12877 * docs/manual/advanced-position.xml:
12878 Small docs updates.
12881 People think !! is ugly, this looks better.
12883 * gst/gstpad.c: (gst_pad_set_blocked_async):
12884 Remove !! since it's fixed elsewhere now.
12886 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12888 * gst/gstminiobject.h:
12890 Add !! to _FLAG_IS_SET macros to make the result boolean.
12892 2005-11-03 Edward Hervey <edward@fluendo.com>
12894 * gst/gstpad.c: (gst_pad_set_blocked_async):
12895 comparing a flag and a gboolean rarely returns coherent results...
12896 Added two characters (!!) to make that work correctly.
12898 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12900 * gst/gstbus.c: (gst_bus_class_init):
12903 * gst/gstqueue.c: (gst_queue_loop):
12904 Don't assume a miniobject that isn't a buffer is an
12905 event (it could be that there is a refcounting
12906 problem somewhere and the pointer is stale and
12907 refers to an already destroyed miniobject).
12909 2005-11-03 Julien MOUTTE <julien@moutte.net>
12911 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
12913 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
12915 * docs/manual/advanced-position.xml:
12916 Update seek example and explanations to current 0.9 API.
12918 * gst/elements/gsttypefindelement.c:
12919 (gst_type_find_element_activate):
12920 Remove FIXME comment now that the found caps
12923 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
12925 * gst/gstregistryxml.c: (load_feature):
12926 Add another GST_STR_NULL instance
12928 2005-11-02 Edward Hervey <edward@fluendo.com>
12930 * gst/gstpad.c: (handle_pad_block):
12931 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
12933 2005-11-02 Wim Taymans <wim@fluendo.com>
12938 * gst/gstelement.c: (gst_element_commit_state):
12939 Remove unused value.
12941 * gst/gstiterator.c:
12942 Mention that the returned element is reffed in the docs.
12944 2005-11-02 Wim Taymans <wim@fluendo.com>
12946 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
12947 (gst_pad_push), (gst_pad_push_event):
12948 Unlock blocked pads when they are flushed.
12950 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12953 * docs/gst/gstreamer-sections.txt:
12956 * gst/gstregistry.c: (gst_registry_scan_path_level):
12957 fix for a nasty little missed situation where an installed plug-in
12958 which was in the cache did not get overridden by an uninstalled one
12959 which was earlier in the plugin path because the newly created plugin
12960 for the uninstalled one (not in the registry) didn't get its
12961 ->registered set to TRUE
12963 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12965 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
12966 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
12967 (gst_collectpads_is_active), (gst_collectpads_collect),
12968 (gst_collectpads_collect_range), (gst_collectpads_start),
12969 (gst_collectpads_stop), (gst_collectpads_peek),
12970 (gst_collectpads_pop), (gst_collectpads_available),
12971 (gst_collectpads_read), (gst_collectpads_flush):
12972 Guard public API with assertions.
12975 Fix docs for gst_pad_set_link_function().
12977 2005-11-02 Johan Dahlin <johan@gnome.org>
12979 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
12980 Unref found_caps after we used it.
12982 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
12984 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
12985 Don't try to ref NULL.
12987 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12989 * win32/common/config.h.in:
12990 provide a GST_FUNCTION that just gives a string for now
12992 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
12994 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12995 (gst_object_flags_get_type), (register_gst_bin_flags),
12996 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12997 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12998 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12999 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
13000 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13001 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13002 (gst_clock_flags_get_type), (register_gst_state),
13003 (gst_state_get_type), (register_gst_state_change_return),
13004 (gst_state_change_return_get_type), (register_gst_state_change),
13005 (gst_state_change_get_type), (register_gst_element_flags),
13006 (gst_element_flags_get_type), (register_gst_core_error),
13007 (gst_core_error_get_type), (register_gst_library_error),
13008 (gst_library_error_get_type), (register_gst_resource_error),
13009 (gst_resource_error_get_type), (register_gst_stream_error),
13010 (gst_stream_error_get_type), (register_gst_event_type),
13011 (gst_event_type_get_type), (register_gst_seek_type),
13012 (gst_seek_type_get_type), (register_gst_seek_flags),
13013 (gst_seek_flags_get_type), (register_gst_format),
13014 (gst_format_get_type), (register_gst_index_certainty),
13015 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13016 (gst_index_entry_type_get_type),
13017 (register_gst_index_lookup_method),
13018 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13019 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13020 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13021 (gst_index_flags_get_type), (register_gst_debug_level),
13022 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13023 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13024 (gst_iterator_result_get_type), (register_gst_iterator_item),
13025 (gst_iterator_item_get_type), (register_gst_message_type),
13026 (gst_message_type_get_type), (register_gst_mini_object_flags),
13027 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13028 (gst_pad_link_return_get_type), (register_gst_flow_return),
13029 (gst_flow_return_get_type), (register_gst_activate_mode),
13030 (gst_activate_mode_get_type), (register_gst_pad_direction),
13031 (gst_pad_direction_get_type), (register_gst_pad_flags),
13032 (gst_pad_flags_get_type), (register_gst_pad_presence),
13033 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13034 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13035 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13036 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13037 (gst_plugin_flags_get_type), (register_gst_rank),
13038 (gst_rank_get_type), (register_gst_query_type),
13039 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13040 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13041 (gst_tag_flag_get_type), (register_gst_task_state),
13042 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13043 (gst_alloc_trace_flags_get_type),
13044 (register_gst_type_find_probability),
13045 (gst_type_find_probability_get_type), (register_gst_uri_type),
13046 (gst_uri_type_get_type), (register_gst_parse_error),
13047 (gst_parse_error_get_type):
13048 * win32/common/gstversion.h:
13049 update win32 copies
13051 2005-11-01 Luca Ognibene <luogni@tin.it>
13054 fix docs. popt is dead, long live GOption.
13056 2005-10-31 Wim Taymans <wim@fluendo.com>
13061 2005-10-31 Andy Wingo <wingo@pobox.com>
13065 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
13067 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
13068 need to serialize property notifications on GLib 2.8. GLib 2.6 has
13069 the possibility of deadlocks here if code calling notify() or
13070 set() has a lock that can be taken in another notify handler (ABBA
13071 with class lock and e.g. python GIL state lock).
13073 2005-10-28 Julien MOUTTE <julien@moutte.net>
13075 * gst/gstbus.c: Doc updates.
13077 2005-10-28 Wim Taymans <wim@fluendo.com>
13079 * docs/design/part-TODO.txt:
13080 * gst/gstiterator.c:
13081 * gst/gstsystemclock.c:
13082 * gst/gstsystemclock.h:
13085 2005-10-28 Edward Hervey <edward@fluendo.com>
13087 * docs/gst/gstreamer-docs.sgml:
13088 * docs/gst/gstreamer-sections.txt:
13089 the GstURIType documentation page is private, it only defines GstURIType
13090 which should be defined in the GstURIHandler page
13092 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
13094 * gst/gstbin.c: (gst_bin_class_init):
13097 Documentation updates.
13099 2005-10-28 Wim Taymans <wim@fluendo.com>
13101 * docs/gst/gstreamer-sections.txt:
13104 Documented the clocks.
13106 2005-10-28 Stefan Kost <ensonic@users.sf.net>
13108 * docs/gst/gstreamer-sections.txt:
13109 move some macros to private sections
13110 * gst/gstminiobject.c:
13111 * gst/gstminiobject.h:
13112 add descriptions provided by ds and some more
13114 mark macro as to be removed
13116 2005-10-28 Wim Taymans <wim@fluendo.com>
13118 * docs/design/part-TODO.txt:
13119 Add an item to TODO.
13121 * gst/gstiterator.c: (gst_iterator_fold),
13122 (gst_iterator_find_custom):
13123 * gst/gstiterator.h:
13126 2005-10-28 Wim Taymans <wim@fluendo.com>
13128 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13129 (gst_base_transform_init):
13132 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
13133 An EOS event marks the queue as completely filled.
13135 2005-10-27 Wim Taymans <wim@fluendo.com>
13137 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13138 (gst_base_sink_do_sync), (gst_base_sink_get_position):
13139 Some more debugging.
13141 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
13142 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
13143 (gst_base_transform_event), (gst_base_transform_getrange),
13144 (gst_base_transform_chain):
13145 * gst/base/gstbasetransform.h:
13147 Protect transform and concurrent buffer alloc with a new lock.
13148 Try not to break ABI/API.
13150 2005-10-27 Wim Taymans <wim@fluendo.com>
13152 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
13153 (gst_base_src_init), (gst_base_src_query),
13154 (gst_base_src_default_newsegment),
13155 (gst_base_src_configure_segment), (gst_base_src_do_seek),
13156 (gst_base_src_send_event), (gst_base_src_event_handler),
13157 (gst_base_src_pad_get_range), (gst_base_src_loop),
13158 (gst_base_src_unlock), (gst_base_src_default_negotiate),
13159 (gst_base_src_start), (gst_base_src_deactivate),
13160 (gst_base_src_activate_push), (gst_base_src_change_state):
13161 Move some stuff around and cleanup things.
13163 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
13165 * gst/base/gstbasesrc.c: (gst_base_src_query):
13166 Add missing break statements.
13168 2005-10-27 Wim Taymans <wim@fluendo.com>
13170 * check/gst/gstbin.c: (GST_START_TEST):
13171 An extra refcount is taken in basesrc.
13173 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13174 (gst_base_src_get_range), (gst_base_src_pad_get_range),
13175 (gst_base_src_loop):
13176 Small cleanups, check for flushing after being unlocked from the
13177 LIVE_LOCK. take refcounts correctly (not yet everywhere).
13178 Don't send out EOS when going to READY.
13180 2005-10-27 Wim Taymans <wim@fluendo.com>
13182 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13183 (gst_base_sink_get_position):
13186 * gst/gstbin.c: (message_check), (bin_replace_message),
13187 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13188 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13189 (bin_query_duration_init), (bin_query_duration_fold),
13190 (bin_query_duration_done), (bin_query_generic_fold),
13192 * tools/gst-launch.c: (main):
13195 2005-10-26 Stefan Kost <ensonic@users.sf.net>
13197 * examples/controller/audio-example.c: (main):
13198 * examples/queue/queue.c: (event_loop):
13199 * gst/base/gstbasetransform.h:
13200 * gst/gstelement.c: (gst_element_send_event):
13202 * gst/gstpad.c: (gst_pad_send_event):
13205 changing log priority in error situations
13207 2005-10-25 Wim Taymans <wim@fluendo.com>
13209 * gst/gstbin.c: (message_check), (bin_replace_message),
13210 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13211 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13212 (bin_query_duration_init), (bin_query_duration_fold),
13213 (bin_query_duration_done), (bin_query_generic_fold),
13215 Some doc and debug updates.
13216 Cache previously requested query DURATION for speed. invalidate
13217 cached duration if element posts a DURATION message.
13219 2005-10-25 Wim Taymans <wim@fluendo.com>
13221 * docs/design/part-TODO.txt:
13224 * gst/gstbin.c: (message_check), (bin_replace_message),
13225 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13226 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
13227 (bin_query_duration_init), (bin_query_duration_fold),
13228 (bin_query_duration_done), (bin_query_generic_fold),
13230 Handle SEGMENT_START/DONE messages correctly.
13231 More evolved query algorithm that handles duration queries
13234 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
13235 (gst_element_get_state_func), (gst_element_abort_state),
13236 (gst_element_commit_state), (gst_element_lost_state):
13237 Some more debugging.
13239 * gst/gstmessage.h:
13242 2005-10-25 Wim Taymans <wim@fluendo.com>
13244 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13245 Don't use invalid stream_time.
13247 * gst/gstevent.c: (gst_event_new_newsegment):
13248 stream_time in newsegment cannot be undefined.
13250 2005-10-24 Wim Taymans <wim@fluendo.com>
13255 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13257 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
13259 2005-10-24 Stefan Kost <ensonic@users.sf.net>
13261 * docs/libs/tmpl/gstdparam.sgml:
13262 * docs/libs/tmpl/gstdplinint.sgml:
13263 * docs/libs/tmpl/gstdpman.sgml:
13264 * docs/libs/tmpl/gstdpsmooth.sgml:
13265 * docs/libs/tmpl/gstunitconvert.sgml:
13268 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
13273 === release 0.9.4 ===
13275 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13278 releasing 0.9.4, "Tyrannosaurus Rex"
13280 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
13282 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
13283 (gst_file_sink_get_current_offset):
13284 Use fseeko() and ftello() if available. When falling back on
13285 lseek() to get the current offset, fflush() first to make sure
13286 everything is up-to-date and we get the right offset.
13288 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
13290 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13291 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13292 * gst/gsterror.c: (_gst_stream_errors_init):
13294 * gst/gstqueue.c: (gst_queue_loop):
13296 remove prematurely added error category and clean up the instances
13298 2005-10-21 Wim Taymans <wim@fluendo.com>
13300 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13301 (gst_base_sink_get_position), (gst_base_sink_query),
13302 (gst_base_sink_change_state):
13303 Simply set the right flag when going to playing, that's all
13304 we need to do instead of calling a function inside the object
13305 lock (that could take the lock as well and deadlock)
13307 2005-10-21 Wim Taymans <wim@fluendo.com>
13309 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
13310 (gst_base_src_loop):
13311 Don't warn, the peer element knows what to do best when
13312 the seek failed, it might try something else.
13314 2005-10-21 Wim Taymans <wim@fluendo.com>
13316 * gst/base/gstbasesrc.c: (gst_base_src_init),
13317 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13320 2005-10-21 Wim Taymans <wim@fluendo.com>
13322 * docs/design/part-segments.txt:
13325 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13326 Correctly set caps, even on the subbufer.
13328 2005-10-21 Wim Taymans <wim@fluendo.com>
13330 * docs/gst/gstreamer-docs.sgml:
13331 * docs/gst/gstreamer-sections.txt:
13332 * gst/gstelement.h:
13335 * gst/gstmessage.h:
13338 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
13342 And 2% more doc coverage.
13344 2005-10-21 Andy Wingo <wingo@pobox.com>
13346 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
13347 position reporting.
13349 2005-10-20 Wim Taymans <wim@fluendo.com>
13351 * gst/gsterror.c: (gst_error_get_message):
13354 * gst/gststructure.c:
13359 2005-10-20 Wim Taymans <wim@fluendo.com>
13364 Another 1% more coverage.
13366 2005-10-20 Wim Taymans <wim@fluendo.com>
13368 * docs/gst/gstreamer-sections.txt:
13369 * gst/gstelement.c: (gst_element_get_state_func),
13370 (gst_element_abort_state), (gst_element_commit_state),
13371 (gst_element_lost_state):
13373 * gst/gstquery.c: (gst_query_set_position),
13374 (gst_query_parse_position), (gst_query_set_duration),
13375 (gst_query_parse_duration), (gst_query_new_convert):
13377 Yay! 1% more docs coverage.
13379 2005-10-20 Wim Taymans <wim@fluendo.com>
13382 * gst/gstquery.c: (gst_query_set_position),
13383 (gst_query_parse_position), (gst_query_set_duration),
13384 (gst_query_parse_duration), (gst_query_new_convert):
13386 * gst/gstutils.c: (gst_element_query_convert):
13388 Docs and consistency fixes.
13390 2005-10-20 Wim Taymans <wim@fluendo.com>
13396 2005-10-20 Wim Taymans <wim@fluendo.com>
13398 * gst/gstbin.c: (message_check), (bin_replace_message),
13399 (bin_remove_messages), (is_eos), (gst_bin_add_func),
13400 (update_degree), (gst_bin_sort_iterator_next),
13401 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
13402 Reworked the message handling a bit, cache the messages instead of
13403 only the senders. alows us to do more in the future.
13405 2005-10-20 Wim Taymans <wim@fluendo.com>
13407 * docs/design/part-TODO.txt:
13410 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13411 (gst_base_sink_query):
13412 Don't use clock time to report position when in EOS.
13414 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
13416 * tools/gst-inspect.c: (print_interfaces),
13417 (print_element_properties_info), (print_element_info):
13418 Fix interface output with gst-inspect -a; don't print
13419 newlines after double/float properties.
13421 2005-10-20 Wim Taymans <wim@fluendo.com>
13423 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
13424 (gst_base_sink_query):
13425 Speed up current position calculation.
13427 * gst/base/gstbasesrc.c: (gst_base_src_query),
13428 (gst_base_src_default_newsegment):
13429 Correctly set stream position in newsegment.
13431 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
13432 (update_degree), (gst_bin_sort_iterator_next),
13433 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
13434 * gst/gstmessage.c: (gst_message_new_custom):
13435 Clean up debugging info
13437 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13438 (gst_queue_loop), (gst_queue_handle_src_query):
13441 2005-10-19 Wim Taymans <wim@fluendo.com>
13443 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13444 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13445 Fix query handling again.
13447 2005-10-19 Wim Taymans <wim@fluendo.com>
13449 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13450 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
13451 * gst/base/gstbasesrc.c: (gst_base_src_query):
13452 * gst/elements/gstfilesink.c: (gst_file_sink_query):
13453 * gst/elements/gsttypefindelement.c:
13454 (gst_type_find_handle_src_query), (find_element_get_length),
13455 (gst_type_find_element_activate):
13458 * gst/gstquery.c: (gst_query_new_position),
13459 (gst_query_set_position), (gst_query_parse_position),
13460 (gst_query_new_duration), (gst_query_set_duration),
13461 (gst_query_parse_duration), (gst_query_set_segment),
13462 (gst_query_parse_segment):
13464 Bundling query position/duration is not a good idea since duration
13465 does not change much and we don't want to recalculate it for every
13466 position query, so they are separated again..
13467 Base value in segment query is not needed.
13469 * gst/gstqueue.c: (gst_queue_handle_src_query):
13470 * gst/gstutils.c: (gst_element_query_position),
13471 (gst_element_query_duration), (gst_pad_query_position),
13472 (gst_pad_query_duration):
13474 Updates for query API change.
13475 Added some docs here and there.
13477 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
13479 * check/gst/gstbin.c: (GST_START_TEST):
13480 * check/gst/gstghostpad.c: (GST_START_TEST):
13481 * check/pipelines/cleanup.c: (GST_START_TEST):
13482 wait on thread to die so we can check refcount correctly
13484 2005-10-18 Wim Taymans <wim@fluendo.com>
13486 * check/pipelines/stress.c: (GST_START_TEST):
13487 Make check a little more time consuming.
13489 2005-10-18 Wim Taymans <wim@fluendo.com>
13491 * check/Makefile.am:
13492 * check/pipelines/stress.c: (GST_START_TEST),
13493 (simple_launch_lines_suite), (main):
13494 Small state change torture test.
13496 * docs/design/part-states.txt:
13497 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
13498 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
13499 (gst_base_sink_change_state):
13500 Never take state lock from streaming thread, clean up ugly
13501 hacks. Unfortunatly core does not yet support nice ways to
13502 async commit state.
13504 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
13506 Start state recalc if a STATE_DIRTY message is posted, but only
13507 on the toplevel bin.
13509 * gst/gstelement.c: (gst_element_sync_state_with_parent),
13510 (gst_element_get_state_func), (gst_element_abort_state),
13511 (gst_element_commit_state), (gst_element_lost_state),
13512 (gst_element_set_state_func), (gst_element_change_state):
13513 * gst/gstelement.h:
13514 State variables are now protected with the LOCK, the state
13515 lock is only used to serialize _set_state().
13517 2005-10-18 Wim Taymans <wim@fluendo.com>
13519 * check/gst/gstbin.c: (GST_START_TEST):
13520 * check/gst/gstmessage.c: (GST_START_TEST):
13521 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13522 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
13524 * gst/gstelement.c: (gst_element_abort_state),
13525 (gst_element_commit_state), (gst_element_lost_state):
13526 * gst/gstmessage.c: (gst_message_new_state_changed),
13527 (gst_message_new_state_dirty), (gst_message_new_segment_start),
13528 (gst_message_new_segment_done), (gst_message_new_duration),
13529 (gst_message_parse_state_changed),
13530 (gst_message_parse_segment_start),
13531 (gst_message_parse_segment_done), (gst_message_parse_duration):
13532 * gst/gstmessage.h:
13533 * tools/gst-launch.c: (event_loop):
13534 Seriously, this is better than a previous commit as we only need
13535 to notify the fact that an element changed state in a streaming
13536 thread, marking the state of the parents dirty, hence the
13537 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
13540 2005-10-18 Wim Taymans <wim@fluendo.com>
13542 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
13543 (gst_bin_recalc_func):
13544 * gst/gstelement.c: (gst_element_set_clock),
13545 (gst_element_abort_state), (gst_element_lost_state):
13546 Cleanups, prepare for state change fixes.
13548 2005-10-18 Wim Taymans <wim@fluendo.com>
13551 * gst/gstelement.c: (gst_element_class_init),
13552 (gst_element_set_state), (gst_element_set_state_func):
13553 * gst/gstelement.h:
13554 Pending ABI changes.
13555 GThreadPool in GstBinClass to monitor async state changes.
13556 state_cookie in GstElement to detect concurrent gst/set state.
13557 set_state is now virtual too in case a very complicated element
13558 has to be constructed.
13560 2005-10-18 Wim Taymans <wim@fluendo.com>
13562 * check/gst/gstbin.c: (GST_START_TEST):
13563 * check/gst/gstmessage.c: (GST_START_TEST):
13564 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
13565 * gst/gstbin.c: (bin_bus_handler):
13566 * gst/gstelement.c: (gst_element_commit_state),
13567 (gst_element_lost_state):
13568 * gst/gstmessage.c: (gst_message_new_state_changed),
13569 (gst_message_new_segment_start), (gst_message_new_segment_done),
13570 (gst_message_new_duration), (gst_message_parse_state_changed),
13571 (gst_message_parse_segment_start),
13572 (gst_message_parse_segment_done), (gst_message_parse_duration):
13573 * gst/gstmessage.h:
13574 * tools/gst-launch.c: (event_loop):
13575 Make messages future proof.
13576 state-change gets a flag if it was a message comming from the
13578 segment-start/stop can also be specified in other formats.
13579 A message to notify an app that a pipeline changed playback
13581 Also fix a GstMessage leak in -launch
13583 2005-10-18 Andy Wingo <wingo@pobox.com>
13585 * gst/gstelement.c (gst_element_dispose): More helpful message.
13587 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13589 reviewed by: <delete if not using a buddy>
13591 * common/gtk-doc.mak:
13593 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
13595 * gst/gstregistry.c: (gst_registry_scan_path_level):
13596 unref a plug-in we get that was already initialized
13598 2005-10-18 Stefan Kost <ensonic@users.sf.net>
13600 * docs/gst/gstreamer-sections.txt:
13601 * docs/libs/gstreamer-libs-sections.txt:
13602 * gst/gstelement.h:
13603 add new api entries
13604 hide internal macro
13606 2005-10-17 Andy Wingo <wingo@pobox.com>
13608 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
13611 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
13613 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
13615 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
13616 (gst_element_get_state_func): Better debug message.
13617 (gst_element_commit_state): s/INFO/DEBUG/.
13618 (gst_element_lost_state, gst_element_change_state):
13620 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
13621 (gst_message_new_custom): s/INFO/LOG/.
13623 2005-10-17 Michael Smith <msmith@fluendo.com>
13625 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13626 Check if end time is valid using end time, not start time.
13628 2005-10-17 Stefan Kost <ensonic@users.sf.net>
13630 * check/gst-libs/controller.c: (GST_START_TEST),
13631 (gst_controller_suite):
13632 * libs/gst/controller/gstcontroller.c:
13633 (gst_controlled_property_set_interpolation_mode):
13634 * libs/gst/controller/gstcontroller.h:
13635 * libs/gst/controller/gstinterpolation.c:
13636 * testsuite/controller/.cvsignore:
13637 * testsuite/controller/Makefile.am:
13638 * testsuite/controller/interpolator.c:
13639 merge controller testsuites
13641 remove mem-chunk from docs
13643 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13645 * gst/gstmemchunk.c:
13646 * gst/gstmemchunk.h:
13647 * gst/gsttrashstack.c:
13648 * gst/gsttrashstack.h:
13649 out. get out. you're fired. to the Attic !
13651 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
13653 * gst/gstcaps.c: (gst_caps_intersect):
13654 fix signedness issues in a (hopefully) correct way
13655 * gst/gstelement.c: (gst_element_pads_activate):
13657 * gst/gstobject.c: (gst_object_set_parent):
13660 2005-10-17 Julien MOUTTE <julien@moutte.net>
13662 * gst/gstvalue.h: Fix prototypes.
13664 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13666 * docs/gst/gstreamer-sections.txt:
13667 * gst/gst.c: (gst_version_string):
13669 * gst/gstversion.h.in:
13670 * win32/common/libgstreamer.def:
13671 add gst_version_string ()
13673 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13677 * gst/gst.c: (init_post):
13678 * win32/common/config.h.in:
13680 * gst/gstcaps.c: (gst_caps_intersect):
13681 use gint64, the range could be bigger than a guint
13683 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13686 document potential problem in 2038
13688 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13690 * gst/gstcaps.c: (gst_caps_intersect):
13691 Fix guint j diving under 0
13693 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13696 * win32/common/config.h:
13697 * win32/common/config.h.in:
13698 check for process.h, declares getpid() on Windows
13700 include process.h if we have it
13701 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
13702 * gst/gstmemchunk.h:
13703 fix signedness issues
13704 * win32/common/libgstreamer.def:
13707 2005-10-16 Julien MOUTTE <julien@moutte.net>
13709 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
13710 fix. Because of unsigned ints, caps intersection was going nuts and
13711 trying to access structures with G_MAXUINT index. That fixes
13712 videotestsrc ! ffmpegcolorspace ! fakesink
13713 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
13716 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13719 use the gettext macro
13720 * gst/elements/gstelements.c:
13722 * gst/indexers/gstindexers.c:
13723 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
13724 * win32/common/config.h:
13726 * win32/common/config.h.in:
13727 add the template to generate config.h
13728 * win32/common/gstenumtypes.c:
13729 * win32/common/gstversion.h:
13732 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
13734 * gst/gst.c: (gst_version):
13735 * gst/gstversion.h.in:
13738 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13741 Oops, add missing closing bracket.
13743 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13746 use common m4's for argument checking
13748 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
13750 * docs/gst/gstreamer-sections.txt:
13752 Add GST_EVENT_TYPE_NAME() macro.
13754 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13757 * gst/gstpluginfeature.c:
13759 privatize more symbols
13761 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13764 add srcdir, builddir includes to GST_ALL_CFLAGS, since
13765 everything that uses GStreamer API should have the includes
13767 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13769 * docs/gst/gstreamer-sections.txt:
13770 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13772 give each value a _get_type, removes the DATA exports
13774 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13778 remove _gst_registry_auto_load, not used anymore
13779 * gst/gstbin.c: (gst_bin_get_type):
13781 * gst/gstelement.c: (gst_element_get_type):
13782 * gst/gstelement.h:
13783 * gst/gstobject.c: (gst_object_get_type):
13785 * gst/gstpad.c: (gst_pad_get_type):
13787 make _get_type functions similar, fixes data export from library
13789 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13792 correctly make conditionals
13793 * gst/elements/Makefile.am:
13794 * gst/elements/gstelements.c:
13795 fix typo causing fdsrc not to build
13797 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13799 * testsuite/Makefile.am:
13800 * testsuite/bytestream/.cvsignore:
13801 * testsuite/bytestream/Makefile.am:
13802 * testsuite/bytestream/filepadsink.c:
13803 * testsuite/bytestream/gstbstest.c:
13804 * testsuite/bytestream/test1.c:
13805 * testsuite/bytestream/testfile1:
13806 * testsuite/caps/normalisation.c:
13807 * testsuite/caps/random.c: (main):
13808 * testsuite/cleanup/.cvsignore:
13809 * testsuite/cleanup/Makefile.am:
13810 * testsuite/cleanup/cleanup1.c:
13811 * testsuite/cleanup/cleanup2.c:
13812 * testsuite/cleanup/cleanup3.c:
13813 * testsuite/cleanup/cleanup4.c:
13814 * testsuite/cleanup/cleanup5.c:
13815 * testsuite/controller/interpolator.c:
13816 * testsuite/debug/printf_extension.c: (main):
13817 * testsuite/elements/tee.c:
13818 * testsuite/negotiation/.cvsignore:
13819 * testsuite/negotiation/Makefile.am:
13820 * testsuite/negotiation/pad_link.c:
13821 * testsuite/pad/Makefile.am:
13822 * testsuite/pad/chainnopull.c:
13823 * testsuite/pad/getnopush.c:
13824 * testsuite/pad/link.c:
13825 * testsuite/refcounting/sched.c: (create_pipeline):
13826 * testsuite/registry/Makefile.am:
13827 * testsuite/registry/gst-print-formats.c:
13828 * testsuite/schedulers/.cvsignore:
13829 * testsuite/schedulers/142183-2.c:
13830 * testsuite/schedulers/142183.c:
13831 * testsuite/schedulers/143777-2.c:
13832 * testsuite/schedulers/143777.c:
13833 * testsuite/schedulers/147713.c:
13834 * testsuite/schedulers/147819.c:
13835 * testsuite/schedulers/147894-2.c:
13836 * testsuite/schedulers/147894.c:
13837 * testsuite/schedulers/Makefile.am:
13838 * testsuite/schedulers/group_link.c:
13839 * testsuite/schedulers/queue_link.c:
13840 * testsuite/schedulers/relink.c:
13841 * testsuite/schedulers/unlink.c:
13842 * testsuite/schedulers/unref.c:
13843 * testsuite/schedulers/useless_iteration.c:
13844 * testsuite/states/bin.c:
13845 clean out/remove some stuff from the testsuite directories
13847 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13850 check for some headers
13851 * gst/elements/Makefile.am:
13852 * gst/elements/gstelements.c:
13853 don't compile fdsrc without sys/socket.h
13854 * gst/indexers/Makefile.am:
13855 * gst/indexers/gstindexers.c: (plugin_init):
13856 don't compile fileindex without mmap
13858 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
13865 * check/Makefile.am:
13866 * docs/gst/Makefile.am:
13867 * examples/helloworld/Makefile.am:
13869 * gst/base/Makefile.am:
13870 * gst/check/Makefile.am:
13871 * gst/elements/Makefile.am:
13872 * gst/indexers/Makefile.am:
13873 * gst/parse/Makefile.am:
13874 * libs/gst/controller/Makefile.am:
13875 * libs/gst/dataprotocol/Makefile.am:
13876 * examples/helloworld/helloworld.c: (event_loop):
13877 compile fixes, though it's not being compiled currently
13879 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13881 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
13882 Add some simple tests for the new taglist date API.
13884 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13886 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
13887 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
13888 Beautify 'last-message' output: print 'none' for buffer timestamps
13889 and durations if none is set; improve alignment with next messages.
13891 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
13893 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
13894 * gst/gstpluginfeature.h:
13895 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
13896 * gst/gstregistry.h:
13897 * docs/gst/gstreamer-sections.txt:
13898 Add new API to check plugin feature version requirements.
13900 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
13901 Some basic tests for the above.
13903 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13905 * gst/gststructure.c: (gst_structure_to_string):
13906 guard against NULL printf - happens when for example
13907 a message structure with GstClock gets serialized
13909 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13911 * gst/base/gstcollectpads.c: (gst_collectpads_event):
13912 Fix presumable copy'n'pasto.
13914 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13916 * gst/elements/gstfakesrc.h:
13917 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
13918 * gst/elements/gsttypefindelement.c:
13919 fix some signedness
13920 * gst/elements/gstfilesink.c: (gst_file_sink_render):
13921 I wonder if this could actually write +2GB files before
13923 2005-10-13 Andy Wingo <wingo@pobox.com>
13925 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13926 Fix Timmeke Waymans bug.
13927 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
13928 string of the proper length to gst_caps_from_string. There's a
13929 potential for, before this fix, that this could cause someone
13930 connecting over the network to cause a segfault if the payload is
13931 not NUL-terminated.
13933 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13935 * docs/design/draft-push-pull.txt:
13936 * docs/design/part-overview.txt:
13937 * docs/random/TODO-pre-0.9:
13938 * docs/random/old/ChangeLog.gstreamer:
13939 * gst/base/gstpushsrc.c:
13943 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13945 * gst/glib-compat.c: (gst_flags_get_first_value):
13946 * gst/glib-compat.h:
13947 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
13948 (gst_value_compare_double), (gst_value_serialize_flags):
13949 GLib 2.6 g_flags_get_first_value has a bug that triggers an
13952 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13954 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13955 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13957 * tools/gst-launch.c: (event_loop):
13958 print out clock nicely
13960 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
13962 * docs/gst/gstreamer-sections.txt:
13963 * gst/gsttaglist.h:
13964 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
13965 (gst_tag_list_get_date_index):
13966 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
13967 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
13969 2005-10-13 Julien MOUTTE <julien@moutte.net>
13971 * gst/base/gstcollectpads.c: (gst_collectpads_event),
13972 (gst_collectpads_chain):
13973 * gst/base/gstcollectpads.h: Handle newsegment and store informations
13976 2005-10-13 Stefan Kost <ensonic@users.sf.net>
13978 * docs/gst/gstreamer-sections.txt:
13981 * tools/gst-inspect.c: (main):
13982 * tools/gst-launch.c: (main):
13983 * tools/gst-run.c: (main):
13984 * tools/gst-xmlinspect.c: (main):
13985 fix GOption context leaks
13988 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
13992 * win32/common/config.h:
13994 * win32/vs6/grammar.dsp:
13995 * win32/vs6/libgstelements.dsp:
13996 * win32/vs6/libgstreamer.dsp:
13999 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14001 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14002 * gst/base/gstbasesrc.c: (gst_base_src_query):
14003 fix more guint64<->gdouble conversions
14005 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14008 add win32-update target
14009 * win32/common/gstconfig.h:
14010 * win32/common/gstenumtypes.c:
14011 * win32/common/gstenumtypes.h:
14012 * win32/common/gstversion.h:
14013 add files that visual studio can't generate
14015 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
14018 add a win32-update target
14021 2005-10-12 Wim Taymans <wim@fluendo.com>
14023 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14024 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
14025 * gst/gstelement.c: (gst_element_commit_state),
14026 (gst_element_set_state):
14027 Protect flags with proper lock.
14028 unref provided cached clock in dispose.
14030 2005-10-12 Stefan Kost <ensonic@users.sf.net>
14033 * gst/gstminiobject.h:
14035 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
14036 removed unused flags from miniobject
14039 2005-10-12 Wim Taymans <wim@fluendo.com>
14041 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14042 (gst_file_sink_event), (gst_file_sink_render):
14043 Flush before seeking.
14045 2005-10-12 Andy Wingo <wingo@pobox.com>
14047 * gst/gst.c (gst_init_check): Ignore unknown options, as has
14048 always been the case.
14050 2005-10-12 Stefan Kost <ensonic@users.sf.net>
14052 * check/gst/gstbin.c: (GST_START_TEST):
14053 * docs/gst/gstreamer-sections.txt:
14054 * gst/base/gstbasesink.c: (gst_base_sink_init):
14055 * gst/base/gstbasesrc.c: (gst_base_src_init),
14056 (gst_base_src_get_range), (gst_base_src_check_get_range),
14057 (gst_base_src_start), (gst_base_src_stop):
14058 * gst/base/gstbasesrc.h:
14059 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
14060 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
14061 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
14065 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
14067 * gst/gstelement.c: (gst_element_is_locked_state),
14068 (gst_element_set_locked_state), (gst_element_commit_state),
14069 (gst_element_set_state):
14070 * gst/gstelement.h:
14071 * gst/gstindex.c: (gst_index_init):
14073 * gst/gstminiobject.h:
14074 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
14075 (gst_object_set_parent):
14077 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
14078 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
14080 * gst/gstpadtemplate.h:
14081 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
14082 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14083 * gst/gstpipeline.h:
14084 * gst/indexers/gstfileindex.c: (gst_file_index_load),
14085 (gst_file_index_commit):
14086 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
14087 * testsuite/pad/link.c: (gst_test_src_init),
14088 (gst_test_filter_init), (gst_test_sink_init):
14089 * testsuite/states/locked.c: (main):
14090 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
14091 moved bitshift from macro to enum definition
14093 2005-10-12 Wim Taymans <wim@fluendo.com>
14095 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
14096 * gst/elements/gstfilesink.c: (gst_file_sink_event),
14097 (gst_file_sink_render):
14098 Some more debugging info.
14100 2005-10-12 Wim Taymans <wim@fluendo.com>
14102 * docs/design/part-states.txt:
14103 * tools/gst-launch.c: (main):
14105 Revert non-intentional change.
14107 2005-10-12 Wim Taymans <wim@fluendo.com>
14109 * check/gst/gstbin.c: (GST_START_TEST):
14110 * check/gst/gstelement.c: (GST_START_TEST):
14111 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
14112 * check/gst/gstghostpad.c: (GST_START_TEST):
14113 * check/gst/gstpipeline.c: (GST_START_TEST):
14114 * check/pipelines/simple_launch_lines.c: (run_pipeline):
14115 * check/states/sinks.c: (GST_START_TEST):
14116 * gst/elements/gsttypefindelement.c: (stop_typefinding):
14117 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14118 (gst_bin_remove_func), (gst_bin_get_state_func),
14119 (gst_bin_recalc_state), (gst_bin_change_state_func),
14121 * gst/gstelement.c: (gst_element_get_state_func),
14122 (gst_element_get_state), (gst_element_abort_state),
14123 (gst_element_commit_state), (gst_element_set_state),
14124 (gst_element_change_state), (gst_element_change_state_func):
14125 * gst/gstelement.h:
14126 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
14127 (gst_pipeline_provide_clock_func):
14128 * gst/gstutils.c: (gst_element_link_pads_filtered):
14129 * tools/gst-launch.c: (main):
14130 * tools/gst-typefind.c: (main):
14131 Use GstClockTime in _get_state() instead of GTimeVal.
14132 Remove old code in gstutils.c
14134 2005-10-12 Andy Wingo <wingo@pobox.com>
14136 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
14139 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
14140 there is no task. Shouldn't affect any code, as nothing in our
14141 plugins checks this return value.
14142 (gst_pad_stop_task): Also take the stream lock if the pad has no
14143 task. Docs updated.
14145 2005-10-12 Wim Taymans <wim@fluendo.com>
14147 * gst/gstpad.c: (pre_activate), (post_activate),
14148 (gst_pad_activate_pull), (gst_pad_activate_push):
14149 Cleanup activation code. Reset old state if
14152 2005-10-12 Wim Taymans <wim@fluendo.com>
14154 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14155 (gst_base_sink_change_state):
14156 No need to prerol after receiving EOS.
14158 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14159 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
14160 * gst/elements/gstidentity.c: (gst_identity_event):
14161 Print events more verbosely.
14163 2005-10-12 Wim Taymans <wim@fluendo.com>
14165 * check/Makefile.am:
14166 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14167 * check/states/sinks2.c:
14168 Moved sinks2 testcode in sinks check.
14170 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14171 (gst_bin_remove_func), (gst_bin_recalc_state),
14172 (gst_bin_change_state_func), (bin_bus_handler):
14173 Fix potential race condition when _get_state() iterated over an
14174 ASYNC element right before it posted a state completion.
14177 Do proper cast here.
14179 * gst/gstevent.c: (gst_event_new_newsegment),
14180 (gst_event_parse_newsegment):
14181 A playback rate of 0.0 is not allowed.
14183 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14185 * win32/common/config.h:
14186 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
14187 (_trewinddir), (_ttelldir), (_tseekdir):
14188 * win32/common/dirent.h:
14189 * win32/common/gtchar.h:
14190 * win32/common/libgstbase.def:
14191 * win32/common/libgstreamer.def:
14192 * win32/vs6/grammar.dsp:
14193 * win32/vs6/gst_inspect.dsp:
14194 * win32/vs6/gst_launch.dsp:
14195 * win32/vs6/gstreamer.dsw:
14196 * win32/vs6/libgstbase.dsp:
14197 * win32/vs6/libgstelements.dsp:
14198 * win32/vs6/libgstreamer.dsp:
14199 Visual Studio 6 project files, and a new common directory.
14202 2005-10-11 Wim Taymans <wim@fluendo.com>
14204 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14205 (gst_base_sink_do_sync), (gst_base_sink_query),
14206 (gst_base_sink_change_state):
14207 * gst/base/gstbasesink.h:
14208 Correctly parse newsegment info.
14210 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14212 * gst/gst.c: (init_post):
14213 split plugin paths correctly
14215 2005-10-11 Wim Taymans <wim@fluendo.com>
14217 * check/gst/gstevent.c: (GST_START_TEST):
14218 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14219 (gst_base_sink_change_state):
14220 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
14221 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14222 * gst/elements/gstfilesink.c: (gst_file_sink_event):
14223 * gst/gstevent.c: (gst_event_new_newsegment),
14224 (gst_event_parse_newsegment):
14226 Added extra flag to newsegment for future API freeze.
14227 Updated check and base elements.
14229 2005-10-11 Julien MOUTTE <julien@moutte.net>
14231 * gst/base/gstcollectpads.c: (gst_collectpads_init),
14232 (gst_collectpads_add_pad), (gst_collectpads_pop),
14233 (gst_collectpads_event), (gst_collectpads_chain):
14234 * gst/base/gstcollectpads.h: Handle EOS correctly.
14236 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14238 * tools/gst-launch.c: (main):
14239 more null protecting
14241 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14243 * gst/gst-i18n-lib.h:
14244 check for ENABLE_NLS, not GETTEXT_PACKAGE
14245 * gst/gstregistry.c: (gst_registry_add_plugin),
14246 (gst_registry_scan_path_level),
14247 (_gst_registry_remove_cache_plugins):
14248 protect possibly NULL strings
14249 * gst/parse/types.h:
14250 config.h already included before
14251 * tools/gst-inspect.c: (main):
14252 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
14253 check for ENABLE_NLS, not GETTEXT_PACKAGE
14254 * tools/gst-launch.c: (main):
14255 check for ENABLE_NLS, not GETTEXT_PACKAGE
14257 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14260 if we don't have glib, fail before testing 2.8
14261 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
14262 fix a leak, should fix plugins-base testsuite
14264 2005-10-11 Andy Wingo <wingo@pobox.com>
14266 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
14267 take the mode we're going to as an arg. Go head and set the mode
14268 and flushing flags now, so that if the activate function starts a
14269 thread all the flags will be in the right state.
14270 (post_activate): Renamed also. Just handle making sure streaming
14271 finishes for the deactivation case, and setting the deactivated
14273 (gst_pad_set_active): Complain loudly if deactivation fails.
14274 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
14275 (gst_pad_activate_push): Adapt to pre/post_activate changes,
14276 remove the terrible hack.
14278 2005-10-11 Wim Taymans <wim@fluendo.com>
14280 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14281 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
14282 (gst_bin_recalc_state), (gst_bin_change_state_func),
14283 (gst_bin_dispose), (bin_bus_handler):
14285 Prepare to make current EOS message queue more generic.
14288 * gst/gstevent.c: (gst_event_new_newsegment),
14289 (gst_event_parse_newsegment):
14291 Rename base to stream_time.
14293 * gst/gstmessage.h:
14296 2005-10-11 Wim Taymans <wim@fluendo.com>
14298 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
14299 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
14300 (gst_bin_change_state_func), (bin_bus_handler):
14302 Work on proper clock selection.
14304 2005-10-11 Edward Hervey <edward@fluendo.com>
14306 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
14307 * libs/gst/controller/gstcontroller.h:
14308 Added GList* version of _remove_properties() in order to be able to wrap
14311 2005-10-11 Wim Taymans <wim@fluendo.com>
14313 * docs/design/part-states.txt:
14316 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
14317 (gst_bin_change_state_func), (bin_bus_handler):
14318 Doc updates. Don't distribute the same clock over and over again.
14324 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
14325 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
14326 (gst_pad_send_event):
14328 Make probe emission threadsafe again.
14329 Register quarks and move _get_name() from utils.
14332 * gst/gstpipeline.c: (gst_pipeline_class_init),
14333 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14334 Only redistribute the clock of it changed.
14336 * gst/gstsystemclock.h:
14341 Moved the _flow_get_name() to GstPad.
14343 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14345 * check/gst-libs/gdp.c: (GST_START_TEST):
14346 * check/gst/gstcaps.c: (GST_START_TEST):
14347 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
14348 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
14349 (gst_dp_packet_from_caps):
14350 fix more valgrind warnings before turning up the heat
14352 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
14354 * gst/parse/grammar.y:
14355 some cleanup before the hacking
14357 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14359 * gst/base/gstbasesrc.c: (gst_base_src_query):
14361 * gst/gstutils.c: (gst_guint64_to_gdouble),
14362 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
14364 externalize, basesrc uses it
14365 obviously the implementation needs testing
14367 2005-10-10 Wim Taymans <wim@fluendo.com>
14369 * tests/sched/Makefile.am:
14370 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
14371 (make_pipeline3), (make_pipeline4), (print_elem), (main):
14373 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14375 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
14376 apparently converting from guint64 to double is not implemented
14379 2005-10-10 Wim Taymans <wim@fluendo.com>
14381 * check/Makefile.am:
14382 * check/generic/states.c: (GST_START_TEST):
14383 * check/gst/gstbin.c: (GST_START_TEST):
14384 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
14385 * check/states/sinks.c: (GST_START_TEST):
14386 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
14388 Check fixes, use API as stated in design docs, remove hacks.
14390 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14391 (gst_base_sink_change_state):
14392 Catch stopping our task while we're shutting down.
14394 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
14395 (gst_bin_remove_func), (gst_bin_get_state_func),
14396 (gst_bin_recalc_state), (gst_bin_change_state_func),
14399 * gst/gstelement.c: (gst_element_init),
14400 (gst_element_get_state_func), (gst_element_abort_state),
14401 (gst_element_commit_state), (gst_element_lost_state),
14402 (gst_element_set_state), (gst_element_change_state),
14403 (gst_element_change_state_func):
14404 * gst/gstelement.h:
14405 New state change algorithm (see #318116)
14407 * gst/gstpipeline.c: (gst_pipeline_class_init),
14408 (gst_pipeline_init), (gst_pipeline_set_property),
14409 (gst_pipeline_get_property), (do_pipeline_seek),
14410 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
14411 * gst/gstpipeline.h:
14412 Remove crude state change hacks.
14415 Remove crude hacks.
14417 * tools/gst-launch.c: (main):
14418 Fixes for state change. Needs some more work to fully use the
14421 2005-10-10 Andy Wingo <wingo@pobox.com>
14423 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
14425 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
14426 this flag, but it's not even in GLib 2.6. Odd. Hack around the
14429 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14431 * gst/gstiterator.c: (gst_iterator_new):
14432 Fix my previous commit: GTypes passed to gst_iterator_new()
14433 can be fundamental types.
14435 2005-10-10 Wim Taymans <wim@fluendo.com>
14437 * gst/gstelement.c: (gst_element_iterate_pad_list),
14438 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
14439 (gst_element_iterate_sink_pads):
14440 Use src/sink pads lists for the respective iterators instead
14443 2005-10-10 Andy Wingo <wingo@pobox.com>
14445 Merged in popt removal + GOption addition patch from Ronald, bug
14448 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
14449 GstElement macros around, remove popt-related symbols, add goption
14452 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
14454 * docs/gst/Makefile.am:
14455 * docs/libs/Makefile.am: No POPT_CFLAGS.
14457 * examples/manual/Makefile.am:
14458 * docs/manual/basics-init.xml: Doc updates with an example.
14460 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
14461 (gst_init), (parse_one_option), (parse_goption_arg):
14462 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
14463 bit of hand merging and debugging to get the GOption stuff working
14466 * tests/Makefile.am:
14467 * tools/Makefile.am:
14468 * tools/gst-inspect.c: (main):
14469 * tools/gst-launch.c: (main):
14470 * tools/gst-run.c: (main):
14471 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
14473 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14475 * gst/gstiterator.c: (gst_iterator_new):
14476 Add assertions to make sure passed GType is likely to really
14477 be a GType (as the compiler won't catch it if the size and
14478 GType arguments get mixed up, see #318447).
14480 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
14482 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14484 * gst/gstbin.c: (gst_bin_iterate_sorted):
14485 Pass GType and size arguments to gst_iterator_new() in the right
14486 order (maybe we should make _new() take the GType as first argument
14487 just like _new_list()?) (#318447).
14490 2005-10-10 Wim Taymans <wim@fluendo.com>
14492 * gst/gstelement.c: (gst_element_finalize):
14493 And free the GStaticRecMutex too
14495 2005-10-10 Andy Wingo <wingo@pobox.com>
14497 * gst/gstelement.c (gst_element_init, gst_element_finalize):
14498 Allocate and free the mutex properly.
14500 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
14502 (GstElement): The state_lock is now recursive. Rebuild your
14503 plugins, suckers. Old macros adapted.
14505 * docs/gst/gstreamer-sections.txt: Doc updates.
14508 * gst/gstutils.c (g_static_rec_cond_timed_wait)
14509 (g_static_rec_cond_wait): Ported from state changes patch, while
14510 we wait on bug #317802 to be solved in a well-distributed GLib.
14512 * gst/gstelement.c (gst_element_change_state_func): Renamed from
14513 gst_element_change_state, variable name changes.
14514 (gst_element_change_state): Split out of gst_element_set_state in
14515 preparation for the state change merge. Doesn't pay attention to
14516 the 'transition' argument.
14517 (gst_element_set_state): Updates, hopefully purely cosmetic.
14518 (gst_element_sync_state_with_parent): MT-safety. Ported from the
14519 state change patch.
14520 (gst_element_get_state_func): Renamed from get_state, cosmetic
14523 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14525 * gst/elements/gstelements.c:
14526 * win32/GStreamer.vcproj:
14528 * win32/dirent.c: (_tseekdir):
14529 * win32/gst-inspect.vcproj:
14530 * win32/gst-launch.vcproj:
14531 * win32/gstconfig.h:
14532 * win32/gstelements.vcproj:
14533 * win32/gstenumtypes.c: (gst_object_flags_get_type):
14534 * win32/gstreamer.def:
14535 * win32/msvc71.sln:
14536 updates for the win32 build (patch from Sebastien Moutte)
14538 2005-10-10 Andy Wingo <wingo@pobox.com>
14540 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
14541 gst_bin_get_state, cleaned up (but no logic changes).
14542 (bin_element_is_sink): Comment updates.
14543 (sink_iterator_filter): Remove needless cast.
14544 (gst_bin_iterate_sinks): Doc update.
14545 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
14546 cleaned up (but no logic changes).
14548 * check/states/sinks.c (test_src_sink): Cleanups from the state
14550 (test_livesrc_sink): Sync on the state.
14552 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
14553 the state change patch.
14555 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
14558 * check/gst/gstbin.c: Merge in some style fixes and additional
14559 checks from Wim's state change patch.
14561 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
14563 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14564 (gst_type_find_helper):
14565 Check whether we have the requested data already in our list of
14566 cached buffers before pulling a new buffer; also make the buffer
14567 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
14569 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
14574 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
14575 don't use long long, it's not portable. Replacing with
14576 gint64 seems to work; let's hope no skeletons fall out of the closet.
14578 2005-10-10 Andy Wingo <wingo@pobox.com>
14580 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
14582 2005-10-09 Stefan Kost <ensonic@users.sf.net>
14584 * docs/gst/gstreamer-sections.txt:
14589 * gst/gstmessage.c: (gst_message_parse_state_changed):
14592 more docs, fix compilation
14594 2005-10-09 Philippe Khalaf <burger@speedy.org>
14595 * gst/gstmessage.c:
14596 Fixed a few forgotten variables on previous commit
14598 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
14600 * gst/base/gsttypefindhelper.c: (helper_find_peek):
14601 Fix evil typefind crasher: getrange() might return a short
14602 buffer at the end of a file, but gst_type_find_peek() must
14603 either return the full data as requested or NULL, but
14604 never a short buffer.
14606 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
14608 * gst/gstmessage.c: (gst_message_new_state_changed),
14609 (gst_message_parse_state_changed):
14610 * gst/gstmessage.h:
14611 don't use "new", it's a C++ keyword
14613 2005-10-08 Wim Taymans <wim@fluendo.com>
14615 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
14616 * gst/gstelement.c: (gst_element_post_message):
14617 * gst/gstpipeline.c: (gst_pipeline_change_state):
14618 Small docs and debug updates.
14620 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14622 * docs/gst/gstreamer-sections.txt:
14623 * gst/gstelementfactory.c:
14625 * gst/gsttaglist.c:
14628 2005-10-08 Wim Taymans <wim@fluendo.com>
14630 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
14631 (gst_bin_dispose), (bin_bus_handler):
14632 Fix typos, add comments.
14633 Clear EOS list when going to PAUSED from any direction and do it
14634 in a threadsafe way.
14635 Get base time in a threadsafe way too.
14636 Fix confusing debug in the change_state function.
14637 Various other small cleanups.
14639 * gst/gstelement.c: (gst_element_post_message):
14640 Fix very verbose bus posting code.
14642 * gst/gstpipeline.c: (gst_pipeline_class_init),
14643 (gst_pipeline_set_property), (gst_pipeline_get_property),
14644 (gst_pipeline_change_state):
14645 Small ARG_ -> PROP_ cleanup
14647 2005-10-08 Wim Taymans <wim@fluendo.com>
14649 * gst/gstbin.c: (is_eos), (bin_bus_handler):
14650 Do a less CPU demanding EOS check because we can.
14652 2005-10-08 Wim Taymans <wim@fluendo.com>
14654 * libs/gst/dataprotocol/dataprotocol.c:
14655 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14656 (gst_dp_packet_from_event):
14657 * libs/gst/dataprotocol/dataprotocol.h:
14658 * libs/gst/dataprotocol/dp-private.h:
14659 It's about time we bump the version number.
14660 Since event types don't fit in the guint8 anymore describing
14661 the payload type, make payload type 16 bits wide.
14663 2005-10-08 Wim Taymans <wim@fluendo.com>
14665 * docs/design/part-TODO.txt:
14666 * docs/design/part-clocks.txt:
14667 * docs/design/part-events.txt:
14668 * docs/design/part-gstbin.txt:
14669 * docs/design/part-gstelement.txt:
14670 * docs/design/part-gstpipeline.txt:
14671 * docs/design/part-live-source.txt:
14672 * docs/design/part-messages.txt:
14673 * docs/design/part-overview.txt:
14674 * docs/design/part-states.txt:
14677 2005-10-08 Wim Taymans <wim@fluendo.com>
14681 Fix event quark registration.
14682 Add some space between events so we can insert them in the
14685 2005-10-08 Wim Taymans <wim@fluendo.com>
14687 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14688 (gst_base_sink_handle_buffer):
14689 Better log message.
14692 * gst/gstelement.h:
14695 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
14696 (gst_queue_set_property), (gst_queue_get_property):
14698 Remove old unused properties.
14700 2005-10-08 Stefan Kost <ensonic@users.sf.net>
14701 * docs/gst/gstreamer-sections.txt:
14702 * gst/gstmessage.c:
14703 * gst/gstmessage.h:
14704 * gst/gstminiobject.c:
14705 * gst/gstminiobject.h:
14709 lots of new docs and doc fixes
14711 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14713 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
14715 * gst/gstregistry.c: (gst_registry_lookup_locked),
14716 (gst_registry_scan_path_level):
14717 * gst/gstregistryxml.c: (load_plugin):
14718 Only ever load one plugin for a given plugin basename.
14719 This ensures correct overriding of GST_PLUGIN_PATH over
14720 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
14721 system installed plugins.
14723 2005-10-08 Wim Taymans <wim@fluendo.com>
14725 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14726 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
14727 Prepare for doing QOS.
14729 2005-10-08 Wim Taymans <wim@fluendo.com>
14731 * check/gst/gstbin.c: (GST_START_TEST):
14732 * check/pipelines/cleanup.c: (GST_START_TEST):
14733 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14734 Allow new clock message too.
14736 2005-10-08 Wim Taymans <wim@fluendo.com>
14738 * gst/gstmessage.c: (gst_message_new_error),
14739 (gst_message_new_warning), (gst_message_new_tag),
14740 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14741 (gst_message_new_clock_lost), (gst_message_new_new_clock),
14742 (gst_message_new_segment_start), (gst_message_new_segment_done),
14743 (gst_message_parse_state_changed),
14744 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
14745 (gst_message_parse_new_clock):
14746 * gst/gstmessage.h:
14747 Also carry the clock in question.
14749 2005-10-08 Wim Taymans <wim@fluendo.com>
14751 * gst/gstmessage.c: (gst_message_new_custom),
14752 (gst_message_new_eos), (gst_message_new_error),
14753 (gst_message_new_warning), (gst_message_new_tag),
14754 (gst_message_new_state_changed), (gst_message_new_clock_provide),
14755 (gst_message_new_new_clock), (gst_message_new_segment_start),
14756 (gst_message_new_segment_done), (gst_message_parse_state_changed),
14757 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
14758 * gst/gstmessage.h:
14760 Added clock related messages.
14762 * gst/gstpipeline.c: (gst_pipeline_change_state):
14763 Post message when the clock changed.
14765 * tools/gst-launch.c: (event_loop):
14768 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
14770 * tools/gst-inspect.c: (print_element_properties_info):
14771 Can't pass NULL strings to g_print() on windows.
14773 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14775 * docs/Makefile.am:
14776 * docs/gst/Makefile.am:
14777 * docs/gst/gstreamer-docs.sgml:
14778 * docs/gst/running.xml:
14779 * docs/version.entities.in:
14780 add a chapter on running GStreamer.
14781 document GST_DEBUG and GST_PLUGIN* env vars
14783 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14788 remove PLUGINS_BUILDDIR stuff
14789 * gst/gst.c: (init_post):
14790 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
14792 remove, it was condescending and not needed
14794 2005-10-08 Wim Taymans <wim@fluendo.com>
14796 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
14797 (gst_base_sink_handle_object), (gst_base_sink_event),
14798 (gst_base_sink_wait), (gst_base_sink_handle_event),
14799 (gst_base_sink_change_state):
14800 * gst/base/gstbasesink.h:
14801 Repost EOS message while going to PLAYING if still EOS.
14802 Make sure that when receiving a FLUSH_START we don't attempt
14803 to sync on the clock anymore.
14805 2005-10-08 Wim Taymans <wim@fluendo.com>
14807 * tools/gst-launch.c: (event_loop):
14808 Better message printout.
14810 2005-10-08 Wim Taymans <wim@fluendo.com>
14812 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
14813 (gst_bin_child_proxy_get_children_count):
14814 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14815 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
14816 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
14817 (gst_child_proxy_set_valist):
14818 * gst/parse/grammar.y:
14819 Make ChildProxy threadsafe and fix mem leaks.
14821 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14823 * gst/gst.c: (init_post):
14824 debug the GST_PLUGIN_ env vars
14826 2005-10-08 Wim Taymans <wim@fluendo.com>
14828 * check/gst/gstbin.c: (GST_START_TEST):
14829 * check/gst/gstmessage.c: (GST_START_TEST):
14830 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
14831 * gst/gstelement.c: (gst_element_commit_state),
14832 (gst_element_lost_state):
14833 * gst/gstmessage.c: (gst_message_new_state_changed),
14834 (gst_message_parse_state_changed):
14835 * gst/gstmessage.h:
14836 * tools/gst-launch.c: (event_loop):
14837 Added extra field to STATE_CHANGE message with the pending
14838 state, which will be different from the new state soon.
14840 2005-10-08 Wim Taymans <wim@fluendo.com>
14842 * gst/gstbus.c: (gst_bus_pop):
14844 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14845 Small cleanups and doc updates.
14847 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
14849 * gst/gst.c: (init_pre):
14850 * gst/gstbin.c: (gst_bin_add_func):
14851 log distributing clocks and base time
14852 * gst/gstregistry.c: (gst_registry_add_plugin),
14853 (gst_registry_scan_path_level), (gst_registry_scan_path):
14854 clean up the debugging output a little
14855 * gst/gstutils.c: (gst_element_state_get_name):
14856 warn about a memleak (I've actually seen this be used, though
14857 it was probably a bug)
14859 2005-10-07 Wim Taymans <wim@fluendo.com>
14861 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14862 (gst_base_src_init), (gst_base_src_default_newsegment),
14863 (gst_base_src_newsegment), (gst_base_src_do_seek),
14864 (gst_base_src_loop), (gst_base_src_start):
14865 * gst/base/gstbasesrc.h:
14866 Make the newsegment event customizable by subclasses.
14868 2005-10-07 Wim Taymans <wim@fluendo.com>
14870 * gst/gstevent.c: (gst_event_new_buffersize),
14871 (gst_event_parse_buffersize):
14873 New event for future idea.
14875 2005-10-07 Andy Wingo <wingo@pobox.com>
14877 * gst/gstelement.c (gst_element_post_message): Doc update.
14879 * docs/gst/gstreamer-sections.txt: Update.
14881 * gst/gstmessage.c (gst_message_new_application): Made into a
14882 function like honest API calls.
14883 (gst_message_new_element): New message type.
14885 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
14887 * check/elements/fakesrc.c (test_no_preroll): New check, checks
14888 that setting a live fakesrc to PAUSED returns NO_PREROLL both
14891 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
14892 NO_PREROLL from gst_element_change_state to fall through.
14894 2005-10-07 Wim Taymans <wim@fluendo.com>
14896 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
14897 (gst_ghost_pad_do_activate_push):
14898 Activating a ghostpad with no internal pad in push mode
14901 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
14904 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
14905 Fixes compilation on Windows.
14907 2005-10-07 Michael Smith <msmith@fluendo.com>
14909 * tools/gst-inspect.c:
14910 Print out feature and plugin count at the end when printing out
14913 2005-10-04 Michael Smith <msmith@fluendo.com>
14915 * gst/gsterror.c: (_gst_stream_errors_init):
14916 Add another error string used in a few existing plugins.
14919 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14920 * tools/gst-inspect.c: (print_element_info):
14921 When a feature disappears from a plugin (and the feature exists in
14922 the cached registry file), things went horribly wrong. This isn't a
14923 complete fix, we should actually be removing the 'missing' features
14924 from the features list when we load the actual plugin. That's not
14927 2005-10-04 Johan Dahlin <johan@gnome.org>
14929 * check/gst/gstiterator.c: (GST_START_TEST):
14930 * gst/gstbin.c: (gst_bin_iterate_elements),
14931 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
14932 * gst/gstelement.c: (gst_element_iterate_pads):
14933 * gst/gstformat.c: (gst_format_iterate_definitions):
14934 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
14935 (gst_iterator_new_list), (gst_iterator_filter):
14936 * gst/gstiterator.h:
14937 * gst/gstquery.c: (gst_query_type_iterate_definitions):
14938 Add a GType to GstIterator, update callsites and tests.
14940 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14942 * gst/gstpad.c: (gst_pad_event_default_dispatch):
14943 give events a chance to be handled by event probes when the pad
14946 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14948 * gst/gstevent.c: (gst_event_type_get_name),
14949 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
14951 add string representations for event types
14953 2005-10-06 Wim Taymans <wim@fluendo.com>
14955 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
14956 Don't use NULL pointers.
14958 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14960 * gst/gst_private.h:
14962 * gst/gstelement.c:
14964 * gst/gstpluginfeature.c:
14965 widen the debug category in output to fit the biggest one we have
14966 add a bus category and use it
14967 play with the colors
14968 fix up some categories
14970 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
14972 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
14973 add push activation of sink ghost pads.
14974 Andye, please verify
14976 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14978 * gst/gstutils.c: (gst_element_link_pads):
14979 fix a bug in the case where neither element has a pad
14980 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14981 add a test for that case
14983 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
14985 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
14986 emit have-data before checking for peers. This allows
14987 for probe handlers to connect elements. This helps autopluggers.
14988 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
14990 add six checks, linked/unlinked with no/true/false probe
14992 2005-10-04 Wim Taymans <wim@fluendo.com>
14994 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
14995 (gst_fake_sink_event), (gst_fake_sink_preroll),
14996 (gst_fake_sink_render), (gst_fake_sink_change_state):
14997 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
14998 (gst_fake_src_get_property), (gst_fake_src_create),
14999 (gst_fake_src_stop):
15000 * gst/elements/gstidentity.c: (gst_identity_stop):
15001 Protect last_message with lock.
15003 2005-10-04 Edward Hervey <edward@fluendo.com>
15006 Added precision in the comments for GST_FORMAT_DEFAULT
15008 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
15010 * tools/gst-launch.c: (main):
15011 Don't try to run erroneous pipelines.
15013 2005-10-04 Julien MOUTTE <julien@moutte.net>
15015 * gst/gstbus.c: We don't need this header.
15017 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
15020 back to development
15022 === release 0.9.3 ===
15024 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
15028 Releasing 0.9.3, "Unregistered"
15030 2005-10-03 Andy Wingo <wingo@pobox.com>
15032 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
15033 whereby calling a pad's activatepush() function can start a thread
15034 that starts to push or pull before the pad gets the FLUSHING flag
15035 unset. Hack around it by holding the stream lock until the flag is
15036 set. Need to replace this with a proper solution. Together with
15037 the ghost pad fixes, this fixes mp3 playing/tagreading.
15039 * docs/design/part-gstghostpad.txt: Add a note about activation of
15040 proxy pads outside of ghost pads.
15042 * gst/gstghostpad.c: Implement the ghost pad activation design.
15044 2005-10-02 Andy Wingo <wingo@pobox.com>
15046 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
15047 It is volatile, after all.
15049 * docs/design/part-gstghostpad.txt: Flesh out activation with
15052 * gst/base/gstbasesrc.c (gst_base_src_init): Use
15055 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
15058 Fix (unused) AM_CONDITIONAL tests.
15060 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
15062 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15064 * gst/gstutils.c: (gst_pad_query_convert):
15065 Add assertion that makes sure src_val is >=0, just like
15066 gst_query_new_convert() has. (#315895)
15068 2005-09-30 Edward Hervey <edward@fluendo.com>
15070 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
15071 Let's not iterate pads we're not interested in, it avoids getting
15072 sky-high refcounts on sinkpad.
15074 2005-09-30 Wim Taymans <wim@fluendo.com>
15076 * gst/gstelement.c: (gst_element_set_state),
15077 (gst_element_change_state):
15078 Small tweak, element in ASYNC remains ASYNC.
15080 2005-09-30 Wim Taymans <wim@fluendo.com>
15082 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15083 Only error is an error.
15085 * gst/gstbin.c: (gst_bin_change_state):
15088 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
15089 Also call pad_block in pad alloc.
15091 * gst/gstutils.c: (gst_flow_get_name):
15094 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15096 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15097 (gst_base_src_get_range):
15098 Fix documentation typos. Add some more debug info.
15100 2005-09-29 David Schleef <ds@schleef.org>
15102 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
15103 more end-user friendly.
15104 * tools/gst-inspect.c: (main): Check if command-line argument is
15105 a file and attempt to load that file as a plugin.
15107 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15109 * check/gst/gstbin.c:
15110 * check/states/sinks.c:
15111 fix tests for the new warning
15112 * check/gst/gstpipeline.c:
15113 add a test for pipeline and bus interaction
15114 * gst/gstelement.c:
15115 elements should be NULL if they get disposed; add a warning if not
15117 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15120 for 2.6 refcounting, make debug log more correct by printing
15121 the actual refcounts at the time of swap (Wim)
15123 2005-09-29 Andy Wingo <wingo@pobox.com>
15125 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
15126 removes signal watches previously added via
15127 gst_bus_add_signal_watch.
15128 (gst_bus_add_signal_watch): Don't return the source id, just store
15129 it on the bus if there wasn't an id already.
15131 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
15132 add_signal_watch and remove_signal_watch.
15134 2005-09-29 Edward Hervey <edward@fluendo.com>
15136 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
15137 Better if we actually iterate the list :)
15139 2005-09-29 Wim Taymans <wim@fluendo.com>
15141 * check/gst/gstbin.c: (GST_START_TEST):
15142 Change for new bus API.
15144 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
15145 (send_messages), (GST_START_TEST), (gstbus_suite):
15146 Change for new bus signal API.
15148 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
15149 (gst_bus_source_prepare), (gst_bus_source_check),
15150 (gst_bus_create_watch), (gst_bus_add_watch_full),
15151 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
15152 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
15154 Remove support for multiple GSources operating on different
15155 message types as it is too complex and unneeded when using
15157 Added support for receiving signals from the bus.
15159 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
15161 * docs/libs/tmpl/gstdataprotocol.sgml:
15162 * docs/manual/advanced-dataaccess.xml:
15163 * gst/elements/gstcapsfilter.c:
15165 rename filter-caps to caps property
15167 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15169 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15170 More robust fraction string parsing.
15172 * docs/pwg/appendix-porting.xml:
15173 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
15175 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
15177 * gst/gstcaps.c: (gst_caps_do_simplify):
15178 Thou shalt not free a structure and then continue using it
15179 in the next loop iteration.
15181 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
15183 Add test case for caps simplification.
15185 2005-09-29 Wim Taymans <wim@fluendo.com>
15187 * check/gst/gstbin.c: (GST_START_TEST):
15190 2005-09-29 Wim Taymans <wim@fluendo.com>
15192 * check/gst/gstbin.c: (GST_START_TEST):
15195 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
15196 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15197 (find_element), (gst_bin_sort_iterator_next),
15198 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15199 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15200 (gst_bin_change_state), (gst_bin_dispose):
15201 A bin does not have a bus, it gets the bus from the parent.
15203 * gst/gstelement.c: (gst_element_requires_clock),
15204 (gst_element_provides_clock), (gst_element_is_indexable),
15205 (gst_element_is_locked_state), (gst_element_change_state),
15206 (gst_element_set_bus_func):
15209 * gst/gstpipeline.c: (gst_pipeline_class_init),
15210 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
15211 The pipeline provides a bus.
15213 2005-09-28 Johan Dahlin <johan@gnome.org>
15215 * gst/gstmessage.c (gst_message_parse_state_changed): Use
15216 gst_structure_get_enum instead of gst_structure_get_int
15218 * gst/gststructure.c (gst_structure_get_enum): Impl.
15220 * gst/gststructure.h (gst_structure_get_enum): Add
15222 * docs/gst/gstreamer-sections.txt: Ditto
15224 * gst/gstmessage.c (gst_message_new_state_changed): Use
15225 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
15226 which does introspection.
15227 Reviewed by Christian Schaller
15229 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15231 * gst/gstinfo.c: (gst_debug_log_default):
15232 don't do dummy g_strdup()s
15233 * libs/gst/controller/gstcontroller.c:
15234 (on_object_controlled_property_changed),
15235 (gst_controlled_property_new), (gst_controller_new_valist),
15236 (gst_controller_new_list),
15237 (gst_controller_remove_properties_valist), (gst_controller_set),
15238 (gst_controller_get), (gst_controller_sync_values),
15239 (gst_controller_get_value_array), (_gst_controller_class_init),
15240 (gst_controller_get_type):
15241 * libs/gst/controller/gstcontroller.h:
15242 * libs/gst/controller/gstinterpolation.c:
15243 (gst_controlled_property_find_timed_value_node):
15244 convert // to /**/ comments
15246 2005-09-28 Wim Taymans <wim@fluendo.com>
15248 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
15249 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
15250 (gst_bus_sync_signal_handler):
15252 Added async-message and sync-message signals to the bus.
15253 Added helper BusFunc to emit signals for all posted messages.
15255 * gst/gstmessage.c: (gst_message_type_get_name),
15256 (gst_message_type_to_quark), (gst_message_get_type):
15257 * gst/gstmessage.h:
15258 Register quarks for message names.
15260 2005-09-28 Stefan Kost <ensonic@users.sf.net>
15262 * docs/libs/gstreamer-libs-sections.txt:
15263 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
15264 (gst_controller_new_list):
15265 * libs/gst/controller/gstcontroller.h:
15266 added another constructor for language bindings
15268 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
15270 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15274 * gst/gstinfo.c: (_gst_debug_init):
15275 slightly more readable color for refcount debugging
15277 2005-09-28 Wim Taymans <wim@fluendo.com>
15279 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15280 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
15281 (find_element), (gst_bin_sort_iterator_next),
15282 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15283 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15284 (gst_bin_change_state), (gst_bin_dispose):
15285 Small doc fixes. get_clock -> provide_clock.
15287 * gst/gstelement.c: (gst_element_class_init),
15288 (gst_element_provides_clock), (gst_element_provide_clock),
15289 (gst_element_get_clock), (gst_element_commit_state),
15290 (gst_element_lost_state):
15291 * gst/gstelement.h:
15292 Make get/set_clock() symetric. Add provide_clock vmethod since
15293 that is actually what this function does.
15295 * gst/gstpipeline.c: (gst_pipeline_class_init),
15296 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
15297 (gst_pipeline_get_clock):
15298 get_clock -> provide_clock.
15300 2005-09-28 Andy Wingo <wingo@pobox.com>
15302 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
15303 lieu of real docs...
15305 * gst/elements/gstfdsrc.c: Cleaned up a bit.
15307 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
15309 * gst/elements/gstcapsfilter.c:
15310 * gst/elements/gstfakesink.c:
15311 * gst/elements/gstfakesrc.c:
15312 * gst/elements/gstfdsink.c:
15313 * gst/elements/gstfdsrc.c:
15314 * gst/elements/gstfilesink.c:
15315 * gst/elements/gstfilesrc.c:
15316 * gst/elements/gstidentity.c:
15317 * gst/elements/gsttee.c:
15318 * gst/elements/gsttypefindelement.c:
15319 Make element details static.
15321 2005-09-28 Wim Taymans <wim@fluendo.com>
15323 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15324 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15325 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15326 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15327 (gst_bin_change_state), (gst_bin_dispose):
15328 Some documentation updates.
15329 Clean up dispose handlers.
15331 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
15332 * gst/gstpad.c: (gst_pad_dispose):
15333 Clean up dispose handler.
15335 * gst/gstpipeline.c: (gst_pipeline_change_state):
15336 Removed spurious UNLOCK.
15338 2005-09-27 Stefan Kost <ensonic@users.sf.net>
15340 * docs/gst/gstreamer-sections.txt:
15341 * gst/base/gstbasesrc.h:
15342 * gst/gstelement.h:
15346 * gst/gstpipeline.c:
15347 * gst/gstpipeline.h:
15350 added two new functions to the docs
15351 documents all undocumented GstXXXFlags
15352 completed some incomplete docs
15354 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
15356 * gst/gstbin.c: (gst_bin_dispose):
15357 * gst/gstelement.c: (gst_element_dispose):
15358 remove now useless and leaky resurrection code in dispose
15359 * gst/base/gstbasesrc.c: (gst_base_src_init):
15360 * gst/gstelementfactory.c: (gst_element_factory_create):
15361 * gst/gstobject.c: (gst_object_set_parent):
15364 2005-09-27 Wim Taymans <wim@fluendo.com>
15366 * docs/design/part-TODO.txt:
15369 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15370 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15371 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15372 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15373 (gst_bin_change_state):
15374 * gst/gstelement.h:
15375 Remove element variable, we keep element info in the iterator now.
15377 2005-09-27 Andy Wingo <wingo@pobox.com>
15379 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
15382 2005-09-27 Wim Taymans <wim@fluendo.com>
15384 * check/gst/gstbin.c: (GST_START_TEST):
15385 Enable check that works now.
15387 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
15388 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
15389 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
15390 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
15391 (gst_bin_change_state):
15393 Redid the state change algorithm using a topological sort algo.
15394 Handles all cases correctly.
15395 Exposed iterator for state change order.
15397 * gst/gstelement.h:
15398 Temp storage for state changes. Need to get rid of this soon.
15400 2005-09-27 Wim Taymans <wim@fluendo.com>
15402 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
15403 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
15404 (link_fold_func), (gst_pad_proxy_setcaps):
15405 Leak fixes, the fold functions need to unref the passed object and
15406 _get_parent_*() returns ref to parent.
15408 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15410 * check/gst/gstbuffer.c: (test_make_writable):
15411 Plug leak in test case and fix 'make check-valgrind'
15413 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15415 * gst/gstbuffer.c: (gst_subbuffer_init):
15416 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
15417 works correctly in all circumstances (we could have just copied
15418 the parent buffer's readonly flag, but conceptually it seems
15419 cleaner to mark all subbuffers as read-only). (based on patch
15420 by Alessandro Decina, #314710).
15422 * check/gst/gstbuffer.c: (create_read_only_buffer),
15423 (test_make_writable), (test_subbuffer_make_writable),
15425 Add some tests for gst_buffer_make_writable().
15427 2005-09-27 Wim Taymans <wim@fluendo.com>
15429 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
15430 use gst_object_has_ancestor().
15432 * gst/gstobject.c: (gst_object_has_ancestor):
15434 gst_object_has_ancestor() copied from gstbin.c as it is a
15437 * tests/instantiate/create.c: (create_all_elements):
15438 * tests/lat.c: (handoff_src), (handoff_sink):
15439 * tests/sched/runxml.c: (main):
15440 * tests/seeking/seeking1.c: (main):
15441 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15443 Fix compilation of some tests.
15445 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
15448 Remove comment. GST_TYPE_G_ERROR is here to stay,
15449 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
15450 (#316961, #300610).
15452 2005-09-26 Wim Taymans <wim@fluendo.com>
15454 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15455 Added check that shows error in state change order.
15457 2005-09-26 Wim Taymans <wim@fluendo.com>
15459 * gst/gstbin.c: (gst_bin_change_state):
15460 Make state change function use 3 queues again, we were
15461 adding elements in the wrong order.
15463 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
15466 * gst/gstpad.c: (gst_pad_dispose):
15467 Added some debug info first.
15469 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
15471 * docs/design/draft-push-pull.txt:
15472 * docs/design/part-events.txt:
15473 * docs/design/part-overview.txt:
15474 * docs/design/part-scheduling.txt:
15475 Replace all _pull_region() with _pull_range()
15477 2005-09-26 Andy Wingo <wingo@pobox.com>
15479 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
15481 * check/gst-libs/controller.c: Update for controller api change.
15484 * tests/Makefile.am:
15485 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
15486 over by GLib bug 118439.
15488 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
15489 routines to a function.
15491 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
15493 * libs/gst/controller/gsthelper.c:
15494 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
15495 (gst_object_sync_values): Renamed from sink_values. Ugh.
15497 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
15499 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
15500 Renamed from controller_key, as it is exported.
15502 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
15504 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
15509 * gst/gstpadtemplate.h:
15512 * gst/gstqueryutils.c:
15513 * gst/gstqueryutils.h:
15514 remove queryutils headers after moving the two used functions
15515 to gstquery. also fixes build problem for gstsiddec
15517 2005-09-26 Michael Smith <msmith@fluendo.com>
15519 * tools/gst-launch.1.in:
15520 Correct documentation in manpage of debug syntax
15522 2005-09-26 Wim Taymans <wim@fluendo.com>
15524 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15525 (gst_base_src_is_seekable), (gst_base_src_change_state):
15526 Some more debugging info.
15528 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15530 * docs/gst/gstreamer-sections.txt:
15531 * gst/base/gstbasetransform.h:
15535 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15537 * docs/gst/.cvsignore:
15538 * docs/gst/tmpl/.cvsignore:
15539 * docs/gst/tmpl/gstpipeline.sgml:
15540 * docs/gst/tmpl/gstplugin.sgml:
15541 * gst/gstpipeline.c:
15544 inlined the last two docs files
15545 removed the tmpl directory from cvs (no more conflicts here!)
15547 2005-09-25 Stefan Kost <ensonic@users.sf.net>
15549 * docs/gst/gstreamer-sections.txt:
15550 * docs/gst/tmpl/.cvsignore:
15551 * docs/gst/tmpl/gstpad.sgml:
15552 * docs/gst/tmpl/gstpadtemplate.sgml:
15554 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
15555 (gst_pad_finalize), (gst_pad_set_pad_template):
15557 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
15558 (gst_pad_template_class_init), (gst_pad_template_init),
15559 (gst_pad_template_dispose), (name_is_valid),
15560 (gst_static_pad_template_get), (gst_pad_template_new),
15561 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
15562 (gst_pad_template_pad_created):
15563 * gst/gstpadtemplate.h:
15564 inlined two more docs
15565 factored gstpadtemplate out of gstpad
15567 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
15569 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15570 (test_children_state_change_order_semi_sink):
15571 Fix test case: we can't rely on a fixed state change order when
15572 going from READY => PAUSED because the sink might commit its
15573 new state first when the first buffer created by the source
15574 reaches the sink before the source has finished its change state.
15575 (Test case still fails at times, see #316856, comment 5 onwards)
15577 2005-09-24 Wim Taymans <wim@fluendo.com>
15579 * docs/design/part-events.txt:
15580 * docs/design/part-gstbus.txt:
15581 * docs/design/part-gstpipeline.txt:
15582 * docs/design/part-messages.txt:
15583 * docs/design/part-overview.txt:
15584 * docs/design/part-segments.txt:
15588 * gst/gstelement.c:
15591 * gst/gstiterator.c:
15592 Various documentation updates.
15594 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
15597 Well, that's embarassing. Luckily we weren't using
15598 GST_CLOCK_DIFF anywhere.
15600 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15602 * common/gtk-doc.mak:
15603 don't fail on building XML, FC4 slave shows a bunch of doc
15604 missing bits that I don't get
15606 * gst/gstpipeline.c:
15607 * gst/gststructure.c:
15610 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15612 * docs/design/part-gstbin.txt:
15613 * docs/design/part-gstbus.txt:
15615 Add blurb about how the bus goes into flushing mode and
15616 drops all messages when its bin goes from READY into NULL
15619 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15621 * docs/gst/gstreamer-sections.txt:
15622 * gst/gststructure.c: (gst_structure_get_clock_time):
15623 * gst/gststructure.h:
15624 add a method to get a GstClockTime out of a structure
15626 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
15628 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
15629 (test_children_state_change_order_semi_sink), (gst_bin_suite):
15630 Added test to check state change order in bins (can still be made
15631 to fail here under heavy disk load; bails out with 'Push on pad
15632 fakesink:sink0, but it was not activated in push mode').
15634 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
15635 Fix state change order when there is only a semi sink (#316856)
15637 * gst/gstbus.c: (gst_bus_class_init):
15638 Use _class_peek_parent(), not _class_ref(); fix docs to say
15639 'default main context' instead of 'mainloop' where that is
15642 * gst/gstelement.c: (gst_element_commit_state),
15643 (gst_element_set_state):
15644 Fix typos in debug messages
15646 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15649 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
15650 * gst/gstpluginfeature.c:
15652 various doc updates
15653 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15654 change an assert into an error until it gets fixed properly
15656 2005-09-23 Stefan Kost <ensonic@users.sf.net>
15658 * docs/gst/gstreamer-sections.txt:
15659 * docs/gst/tmpl/.cvsignore:
15660 * docs/gst/tmpl/gstelement.sgml:
15661 * docs/gst/tmpl/gstinfo.sgml:
15662 * docs/gst/tmpl/gstobject.sgml:
15663 * gst/gstelement.c:
15664 * gst/gstelement.h:
15667 * gst/gstobject.c: (gst_object_class_init):
15669 inlined 3 more biiiig doc files and added some missing docs on the fly
15671 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
15673 * check/gst/.cvsignore:
15674 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
15675 * gst/gstregistryxml.c: (load_plugin),
15676 (gst_registry_xml_save_plugin):
15677 put back source in registry. add checks for find_plugin.
15678 * testsuite/states/bin.c: (assert_state), (empty_bin),
15679 (test_adding_one_element), (main):
15680 * testsuite/states/locked.c: (main):
15681 some compile/run fixes
15683 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
15685 * check/gst/gstvalue.c: (GST_START_TEST):
15686 fix leaks in the test itself
15688 2005-09-22 Wim Taymans <wim@fluendo.com>
15690 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15691 (gst_base_sink_send_event), (gst_base_sink_peer_query),
15692 (gst_base_sink_query):
15693 Prepare for more accurate position reporting and query
15696 * gst/gstelement.c: (gst_element_send_event),
15697 (gst_element_set_state):
15700 2005-09-22 Wim Taymans <wim@fluendo.com>
15702 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
15703 (gst_query_parse_segment):
15705 More documentation.
15706 Add segment query for future use.
15708 2005-09-22 Wim Taymans <wim@fluendo.com>
15710 * gst/gstbin.c: (gst_bin_add_func):
15711 Some more debug info.
15713 * gst/gstelement.c: (gst_element_send_event):
15714 Simplify send_event
15716 * gst/gstelement.h:
15717 Don't know how flags got broken.
15722 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15724 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
15725 Add simplistic test suite for GST_TYPE_DATE serialisation and
15728 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
15730 * docs/gst/gstreamer-sections.txt:
15731 * gst/gststructure.c: (gst_structure_set_valist),
15732 (gst_structure_get_date):
15733 * gst/gststructure.h:
15734 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
15735 (gst_date_copy), (gst_value_compare_date),
15736 (gst_value_serialize_date), (gst_value_deserialize_date),
15737 (gst_value_transform_date_string),
15738 (gst_value_transform_string_date), (_gst_value_initialize):
15740 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
15741 bunch of utility functions along with a hack that checks that
15742 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
15743 is required. Part of the grand scheme in #170777.
15745 2005-09-22 Andy Wingo <wingo@pobox.com>
15747 * gst/gstconfig.h.in: Psych out gtk-doc.
15749 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
15751 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
15753 * tools/gst-inspect.c (print_element_list): Plug some
15754 inconsequential leaks.
15756 * gst/gstregistry.c (gst_registry_get_default): Doc.
15758 * check/gst/gstplugin.c:
15759 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
15760 * gst/gstelementfactory.c (gst_element_factory_create):
15761 * gst/gstindexfactory.c (gst_index_factory_create): Update for
15764 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
15765 (gst_plugin_feature_load): Doc, don't eat refs.
15767 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
15768 (gst_plugin_list_free): Doc.
15769 (gst_plugin_load_file): Doc updates.
15771 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
15772 accessors returning refcounted objects, return a ref.
15774 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
15775 accessor for caps. IDEMPOTENCE. Oh yes.
15777 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
15779 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15781 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15782 (_gst_debug_register_funcptr):
15783 Add mutex to serialise access to the hash table with
15784 the function pointer => function name string mapping;
15785 make that hash table static scope (#316809).
15787 * gst/registries/.cvsignore:
15788 Remove left-over file.
15790 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15792 * docs/pwg/appendix-porting.xml:
15793 And something about newsegment events and caps-on-buffers to
15794 the porting guide (feel free to improve).
15796 2005-09-21 Andy Wingo <wingo@pobox.com>
15798 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
15799 data and event probes on the same pad.
15800 (test_buffer_probe_once): Test that removing probes from within
15801 the probe functions works.
15803 2005-09-21 Andy Wingo <wingo@pobox.com>
15805 * check/gst/gstutils.c: New file.
15806 (test_buffer_probe_n_times): A simple buffer probe test. More to
15809 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15810 have-data::buffer, not have-data.
15811 (gst_pad_add_event_probe): Likewise for have-data::event.
15812 (gst_pad_add_data_probe): More docs. The part about 'resolving the
15813 peer' isn't quite right yet though.
15814 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
15815 (gst_pad_remove_data_probe): Change to take the guint handler_id
15816 as their arg, not the function+data, which is more glib-like.
15818 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
15819 the signal emission to indicate if the data is a buffer or an
15821 (gst_pad_get_type): Initialize buffer and event quarks.
15822 (gst_pad_class_init): have-data is now a detailed signal, yes it
15825 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
15827 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
15828 * gst/gstutils.c: (gst_util_set_value_from_string),
15829 (gst_util_set_object_arg):
15830 Don't put functional code in g_return_if_fail() or
15831 g_return_val_if_fail() statements, otherwise things will
15832 break when G_DISABLE_CHECKS is defined during compilation.
15834 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15836 * docs/gst/tmpl/.cvsignore:
15837 * docs/gst/tmpl/gstvalue.sgml:
15840 inlied another one and added some obvious docs
15842 2005-09-21 Wim Taymans <wim@fluendo.com>
15844 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15845 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
15846 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
15847 (gst_fdsrc_get_property), (gst_fdsrc_create):
15848 * gst/elements/gstfdsrc.h:
15849 Properly implement fdsrc. Removed signal and timeout,
15850 better implemented somewhere else.
15852 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15854 * docs/gst/tmpl/.cvsignore:
15855 * docs/gst/tmpl/gstimplementsinterface.sgml:
15856 * gst/gstinterface.c:
15859 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15861 * docs/gst/gstreamer-sections.txt:
15862 * docs/gst/tmpl/.cvsignore:
15863 * docs/gst/tmpl/gstenumtypes.sgml:
15864 remove obsolete doc file
15866 2005-09-21 David Schleef <ds@schleef.org>
15868 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
15869 little beer, fix a little leak.
15871 2005-09-21 Stefan Kost <ensonic@users.sf.net>
15873 * docs/gst/gstreamer-docs.sgml:
15874 * docs/gst/gstreamer-sections.txt:
15875 * docs/gst/tmpl/.cvsignore:
15879 * gst/gstelement.h:
15880 * gst/gstindex.c: (gst_index_class_init):
15882 * gst/gstindexfactory.c: (gst_index_factory_get_type),
15883 (gst_index_factory_class_init), (gst_index_factory_init),
15884 (gst_index_factory_finalize), (gst_index_factory_new),
15885 (gst_index_factory_destroy), (gst_index_factory_find),
15886 (gst_index_factory_create), (gst_index_factory_make):
15887 * gst/gstindexfactory.h:
15888 * gst/gstpluginfeature.c:
15889 * gst/gstpluginfeature.h:
15890 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15891 more docs inlined, splitted gstindex.{c,h}
15893 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15895 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15898 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15900 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15901 Set sync to FALSE by default.
15903 2005-09-20 Wim Taymans <wim@fluendo.com>
15905 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15906 (gst_base_sink_init):
15907 Make sync property settable from subclass.
15909 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
15910 (gst_fake_sink_change_state):
15911 Set sync to FALSE by default.
15913 2005-09-20 Wim Taymans <wim@fluendo.com>
15915 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
15916 * tools/gst-launch.c: (main):
15917 The timeout handler should have lower priority than the source
15918 so we don't timeout before popping a message with 0 timeout.
15919 Dump error messages after failed state change.
15921 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
15923 * tools/gst-inspect.c: (print_element_properties_info):
15926 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15928 * check/gst/gstevent.c:
15929 * gst/elements/gstfakesink.c:
15930 * gst/elements/gstfakesink.h:
15931 remove the sync property from fakesink.
15932 has the side effect of setting sync TRUE
15933 for fakesink, which is a change. Anyone who knows how
15934 to fix this nicely in a GObject-y way, feel free.
15936 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15938 * docs/gst/gstreamer-docs.sgml:
15939 remove probe refsection
15941 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15943 * check/Makefile.am:
15944 disable valgrinding the controller test again
15945 * docs/gst/gstreamer-sections.txt:
15946 update for api-changes
15948 2005-09-20 Wim Taymans <wim@fluendo.com>
15950 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15951 (gst_base_sink_set_property), (gst_base_sink_get_property),
15952 (gst_base_sink_do_sync):
15953 * gst/base/gstbasesink.h:
15954 Added sync property to basesink to disable clock sync.
15956 2005-09-20 Andy Wingo <wingo@pobox.com>
15958 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
15959 eating the caller's refcount.
15961 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
15962 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
15965 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
15966 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
15967 of GLib 2.8 public, so we can know which refcount to check in
15970 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
15971 (gst_object_init): Only set the gst refcount if we're going ahead
15972 with the refcount hack.
15974 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15976 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
15977 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
15978 more leaks plumbed, added more debug-logging
15982 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15984 * gst/gstmessage.c:
15985 remove include of gstmemchunk.h
15987 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
15989 * gst/gstclock.c: (_gst_clock_id_free):
15990 Commit from the Political Party For More Atomic CVS Commits,
15991 so that people don't waste too much of their day fishing
15992 out obvious leaks out of massive commits.
15993 Oh, and fix a pretty damn obvious leak in the memchunk
15996 2005-09-20 Stefan Kost <ensonic@users.sf.net>
15998 * check/Makefile.am:
15999 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
16000 plug mem-leak, re-add to valgrindable tests
16002 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
16005 unbreak the build for those who have chronic arthritis
16006 and typing "make check" is just too taxing on the hands
16008 2005-09-20 Andy Wingo <wingo@pobox.com>
16010 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
16011 really want it out, you should fix plugins at the same time.
16013 2005-09-19 Stefan Kost <ensonic@users.sf.net>
16016 * docs/gst/gstreamer-sections.txt:
16018 added missing symbols to api docs
16019 disable ref-count hack if we have glib >= 2.8
16021 2005-09-19 David Schleef <ds@schleef.org>
16023 * docs/gst/Makefile.am: Ignore a few more internal headers
16024 * docs/gst/gstreamer-docs.sgml: Remove old sections
16025 * docs/gst/gstreamer-sections.txt: Remove old sections
16026 * docs/gst/tmpl/gstobject.sgml: update
16027 * docs/gst/tmpl/gstplugin.sgml: update
16028 * docs/gst/tmpl/gstpluginfeature.sgml: update
16029 * docs/random/ds/0.9-suggested-changes: update.
16030 * gst/Makefile.am: remove memchunk and trashstack, since they're
16032 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
16033 * gst/gst.h: don't include some headers
16034 * gst/gstchildproxy.c: add gstmarshal.h
16035 * gst/gstclock.c: Don't use memchunks
16036 * gst/gstminiobject.c: Add some docs
16037 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
16038 * gst/gstobject.h: same
16039 * gst/gstplugin.c: include gstmacros.h
16040 * gst/gstplugin.h: don't include gstmacros.h, since it's private
16041 * gst/gstquery.c: don't use memchunks
16042 * gst/gstregistry.c: rename gst_registry_deinit()
16043 * gst/gstregistry.h: same
16045 2005-09-19 David Schleef <ds@schleef.org>
16047 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
16048 * docs/libs/gstreamer-libs-sections.txt:
16049 * docs/libs/tmpl/gstgetbits.sgml:
16050 * docs/libs/tmpl/gstputbits.sgml:
16052 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
16054 * win32/gstenumtypes.c:
16055 * win32/gstenumtypes.h:
16058 2005-09-19 Wim Taymans <wim@fluendo.com>
16060 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
16061 Automatically PAUSE and RESUME a pipeline when a flushing seek
16064 2005-09-19 Andy Wingo <wingo@pobox.com>
16066 * gst/gstregistry.h: Spacing fixen.
16068 2005-09-19 Wim Taymans <wim@fluendo.com>
16070 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
16071 Handle state change failure more correctly.
16073 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16075 * check/Makefile.am:
16076 * check/pipelines/cleanup.c: (run_pipeline):
16077 * check/pipelines/simple_launch_lines.c: (run_pipeline),
16079 enable cleanup again after fixing the leak
16081 some more info on docs
16083 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16085 * check/Makefile.am:
16086 re-enable tests now that leaks are plugged
16088 * check/gst/gstbin.c:
16089 * check/gst/gstpipeline.c:
16090 add some more tests while fixing leaks
16091 * common/check.mak:
16092 make sure binaries are uptodate when valgrinding/gdbing
16094 * gst/gstelementfactory.c:
16095 remove a ref too many, and add a FIXME for when we get
16096 round to disposing of classes
16098 fix the refcounting when loading a plugin from a file and
16099 the code pretends that the pointer is the same even though
16100 of course it can change
16101 * gst/gstpluginfeature.c:
16102 unref plugins marked cached (a bit confusing as a name)
16103 as the docs state should be done
16104 various doc additions to explain refcounting
16105 * gst/gstregistry.c:
16106 * gst/gstregistryxml.c:
16109 2005-09-19 Wim Taymans <wim@fluendo.com>
16111 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16112 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16113 (send_messages), (GST_START_TEST), (gstbus_suite):
16114 * check/gst/gstpipeline.c: (GST_START_TEST):
16115 * check/pipelines/cleanup.c: (run_pipeline):
16116 * check/pipelines/simple_launch_lines.c: (run_pipeline),
16118 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
16119 (gst_bus_source_check), (gst_bus_source_dispatch),
16120 (gst_bus_create_watch), (gst_bus_add_watch_full),
16121 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
16123 * tools/gst-launch.c: (event_loop):
16124 * tools/gst-md5sum.c: (event_loop):
16125 GstBusHandler -> GstBusFunc, return value has the same meaning as
16126 any other GSource (FALSE == remove source).
16127 _add_watch() and _add_watch_full() now take a MessageType mask to
16128 only handle specific types of messages.
16129 _poll() returns the GstMessage instead of the message type to avoid
16131 _have_pending() takes a MessageType mask now too.
16132 Added testsuite for multiple bus watches.
16133 Fix testsuites and applications for new bus API.
16135 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
16137 * check/Makefile.am:
16138 mark a bunch of the tests as to fix until we fix them
16140 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16142 * common/check.mak:
16143 use GST_PLUGIN settings for valgrind tests as well, so we're
16144 valgrinding the correct thing
16145 * gst/gst.c: (init_post):
16148 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16150 * gst/gst.c: (init_post), (gst_deinit):
16151 * gst/gstelementfactory.c: (gst_element_factory_class_init),
16152 (gst_element_factory_finalize), (gst_element_factory_cleanup):
16153 * gst/gstindex.c: (gst_index_factory_class_init),
16154 (gst_index_factory_finalize):
16155 * gst/gstobject.c: (gst_object_dispose):
16156 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16157 (gst_plugin_load_file), (gst_plugin_desc_free):
16158 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
16159 (gst_plugin_feature_finalize):
16160 * gst/gstregistry.c: (gst_registry_class_init),
16161 (gst_registry_init), (gst_registry_finalize),
16162 (gst_registry_get_default), (gst_registry_deinit):
16163 * gst/gstregistry.h:
16164 * gst/gstregistryxml.c: (load_feature), (load_plugin):
16165 various cleanups and memleak plugging. make valgrind is happy now.
16167 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
16169 * common/check.mak:
16170 add a check-valgrind target
16172 2005-09-18 David Schleef <ds@schleef.org>
16174 * tools/gst-inspect.c: Revert the GOption code.
16176 2005-09-17 David Schleef <ds@schleef.org>
16178 * check/Makefile.am: Fix environment variables.
16179 * check/gst/gstplugin.c: Fix for API changes.
16180 * tools/gst-inspect.c: Fix for API changes.
16181 * tools/gst-xmlinspect.c: Fix for API changes.
16182 * gst/gstelementfactory.c:
16185 * gst/gstpluginfeature.c:
16186 * gst/gstpluginfeature.h:
16187 * gst/gstregistry.c:
16188 * gst/gstregistry.h:
16189 * gst/gstregistryxml.c:
16190 * gst/gsttypefind.c:
16191 * gst/gsttypefindfactory.c:
16192 * gst/indexers/gstfileindex.c:
16193 * gst/indexers/gstmemindex.c:
16194 * gst/schedulers/Makefile.am:
16195 Change registry to keep track of both plugins and features,
16196 removing the feature tracking from plugins themselves.
16198 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
16200 * check/Makefile.am:
16201 * tools/gst-register.1.in:
16202 remove gst-register
16204 2005-09-15 David Schleef <ds@schleef.org>
16206 * check/gst/gstplugin.c:
16207 * gst/gstelementfactory.c:
16209 * gst/gstpluginfeature.c:
16210 * gst/gstregistry.c:
16211 Getting tired of debugging. Disabled all the unreffing of
16212 plugins and features, which fixes the segfaults, but of
16213 course leaks like crazy. At least playbin works.
16215 2005-09-15 David Schleef <ds@schleef.org>
16217 * check/gst/gstplugin.c: (register_check_elements),
16218 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
16220 * gst/elements/gsttypefindelement.c: Fix refcounting.
16221 * gst/gsttypefind.c:
16222 * gst/gsttypefindfactory.c:
16223 * gst/gsttypefindfactory.h:
16225 2005-09-15 David Schleef <ds@schleef.org>
16227 * gst/gstindex.c: get refcounting correct.
16228 * gst/gstregistry.c: Handle the case where a feature/plugin is
16231 2005-09-15 David Schleef <ds@schleef.org>
16233 * check/Makefile.am:
16234 * check/gst/gstplugin.c: Add test
16235 * gst/gstplugin.c: Fix problems noticed by testsuite
16237 * gst/gstregistry.c:
16238 * gst/gstregistry.h:
16240 2005-09-15 David Schleef <ds@schleef.org>
16242 * gst/gstplugin.c: Implement semi-decent recounting and locking
16243 in plugins and plugin features.
16245 * gst/gstpluginfeature.c:
16246 * gst/gstpluginfeature.h:
16247 * gst/gstregistry.c:
16249 2005-09-15 Michael Smith <msmith@fluendo.com>
16251 * gst/gstregistry.c: (gst_registry_get_feature_list):
16252 Implement this. Makes oggdemux work; decodebin still broken.
16254 2005-09-14 David Schleef <ds@schleef.org>
16256 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
16258 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
16259 * gst/check/Makefile.am:
16260 * libs/gst/controller/Makefile.am:
16261 * libs/gst/dataprotocol/Makefile.am:
16263 2005-09-14 David Schleef <ds@schleef.org>
16265 * configure.ac: Remove getbits library. Nothing uses it, and
16266 it should be in something like liboil if someone did want
16268 * libs/gst/Makefile.am:
16269 * libs/gst/getbits/Makefile.am:
16270 * libs/gst/getbits/gbtest.c:
16271 * libs/gst/getbits/getbits.c:
16272 * libs/gst/getbits/getbits.h:
16273 * libs/gst/getbits/gstgetbits_generic.c:
16274 * libs/gst/getbits/gstgetbits_i386.s:
16275 * libs/gst/getbits/gstgetbits_inl.h:
16277 2005-09-14 David Schleef <ds@schleef.org>
16279 * gst/Makefile.am: Dist glib-compat.h
16281 2005-09-14 David Schleef <ds@schleef.org>
16283 * configure.ac: Remove gst/registries, since it's no longer used.
16284 * gst/registries/Makefile.am:
16285 * gst/registries/gstlibxmlregistry.c:
16286 * gst/registries/gstlibxmlregistry.h:
16287 * gst/registries/gstxmlregistry.c:
16288 * gst/registries/gstxmlregistry.h:
16289 * gst/registries/registrytest.c:
16291 2005-09-14 David Schleef <ds@schleef.org>
16293 * gst/glib-compat.h:
16294 * gst/gstregistryxml.c:
16295 Convergence is near. Seriously.
16297 2005-09-14 David Schleef <ds@schleef.org>
16299 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16300 * gst/glib-compat.h:
16301 Attempt #4 to appease the buildbots.
16303 2005-09-14 David Schleef <ds@schleef.org>
16305 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16308 2005-09-14 David Schleef <ds@schleef.org>
16310 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16313 2005-09-14 David Schleef <ds@schleef.org>
16315 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16318 2005-09-14 David Schleef <ds@schleef.org>
16320 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
16321 * gst/glib-compat.h: Add some functions that are in newer versions
16322 of glib than we care to require.
16323 * gst/gstregistryxml.c: Use them.
16325 2005-09-14 David Schleef <ds@schleef.org>
16327 * po/POTFILES.in: remove gst-register.c
16329 2005-09-14 David Schleef <ds@schleef.org>
16331 * docs/gst/gstreamer-docs.sgml:
16332 * docs/gst/gstreamer-sections.txt:
16333 * docs/gst/gstreamer.types:
16334 * docs/gst/tmpl/gstelement.sgml:
16335 * docs/gst/tmpl/gstplugin.sgml:
16336 * docs/gst/tmpl/gstpluginfeature.sgml:
16337 Documentation updates for registry changes.
16339 2005-09-14 David Schleef <ds@schleef.org>
16341 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
16342 because we don't require glib-2.8.
16344 2005-09-14 David Schleef <ds@schleef.org>
16346 * gst/gstregistryxml.c: Added. Essentially moved out of the
16347 registries directory.
16349 2005-09-14 David Schleef <ds@schleef.org>
16351 * check/Makefile.am:
16352 * check/generic/states.c:
16356 * gst/gst_private.h:
16357 * gst/gstelementfactory.c:
16362 * gst/gstpluginfeature.c:
16363 * gst/gstpluginfeature.h:
16364 * gst/gstregistry.c:
16365 * gst/gstregistry.h:
16366 * gst/gstregistrypool.c: remove
16367 * gst/gstregistrypool.h: remove
16368 * gst/gsttypefind.c:
16369 * gst/gsttypefindfactory.c:
16371 * tools/Makefile.am:
16372 * tools/gst-compprep.c:
16373 * tools/gst-inspect.c:
16374 * tools/gst-register.c: remove
16375 * tools/gst-xmlinspect.c:
16376 Registry rewrite. Changes registry from being a file created
16377 by a tool into a simple cache file created automatically by
16378 libgstreamer. Removed gst-register (because it's no longer
16379 needed). Remove registry pools, because we only have one
16380 registry implementation (XML). Fix up other subsystems as
16383 2005-09-13 Michael Smith <msmith@fluendo.com>
16385 * gst/gstconfig.h.in:
16386 Don't Use windows linking attributes for MinGW. Fixes #316157
16388 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
16390 * gst/gstutils.c: (set_state_async_thread_func),
16391 (gst_element_set_state_async):
16392 Apparently people think it's better if this function doesn't
16393 try to set the state to whatever state was asked for on the first
16394 call to this function for any object. Seriously.
16396 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16398 * check/gst/gstpipeline.c: (GST_START_TEST):
16399 * docs/gst/gstreamer-sections.txt:
16400 * gst/gstutils.c: (set_state_async_thread_func),
16401 (gst_element_set_state_async):
16403 add a "gst_element_set_state_async" method that
16404 sets the state and starts a thread to make sure the state
16405 change completes as best as it can
16407 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16409 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16410 codify design+behaviour in testsuite after discussion
16412 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
16414 * docs/gst/tmpl/gstelement.sgml:
16415 * docs/manual/appendix-quotes.xml:
16417 * gst/gstelement.c: (gst_element_set_state):
16420 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
16422 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16423 (gst_base_transform_prepare_output_buf),
16424 (gst_base_transform_handle_buffer):
16425 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
16426 (gst_capsfilter_prepare_buf):
16427 Remove the requirement for sub-classes to call the parent
16428 implementation of prepare_output_buffer with a wrapper function.
16430 * gst/gsttaglist.h:
16431 * gst/gsttagsetter.h:
16432 Fix #define wrapper
16434 2005-09-11 Stefan Kost <ensonic@users.sf.net>
16436 * docs/gst/gstreamer-sections.txt:
16439 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16441 * docs/gst/gstreamer-sections.txt:
16442 * docs/gst/tmpl/gstelement.sgml:
16443 * docs/gst/tmpl/gstplugin.sgml:
16444 * gst/gstminiobject.c:
16446 docs now stop throwing warnings
16448 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16450 * docs/gst/gstreamer-sections.txt:
16451 * docs/gst/gstreamer.types:
16452 * docs/gst/tmpl/gstpad.sgml:
16453 * docs/gst/tmpl/gsttypes.sgml:
16454 * gst/base/gstadapter.h:
16455 * gst/base/gstbasesink.h:
16456 * gst/base/gstbasesrc.h:
16462 * gst/gstelement.h:
16464 * gst/gstmessage.h:
16466 * gst/gststructure.c:
16467 * gst/registries/gstlibxmlregistry.h:
16468 various documentation fixes
16470 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
16472 * docs/gst/gstreamer-sections.txt:
16473 * docs/gst/tmpl/gstvalue.sgml:
16474 rearrange gstvalue section
16475 * gst/gstutils.c: (gst_element_state_get_name):
16477 * gst/gstvalue.c: (_gst_value_initialize):
16481 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
16483 * check/gst-libs/controller.c:
16484 Header include fix.
16485 * gst/base/gstbasetransform.c:
16486 (gst_base_transform_default_prepare_buf),
16487 (gst_base_transform_handle_buffer):
16488 * gst/base/gstbasetransform.h:
16489 Some more basetransform changes and fixes to enable sub-classes
16490 that modify buffer metadata only.
16491 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16492 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
16493 (gst_capsfilter_prepare_buf):
16494 If the output pad has fixed allowed caps and input buffers
16495 don't have any, set the fixed caps on outgoing buffers.
16497 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
16498 * check/elements/identity.c: (GST_START_TEST):
16499 Make the error a little clearer when the test fails because
16500 identity made a copy of the buffer.
16501 * docs/gst/gstreamer-sections.txt:
16502 New symbols in gstbasetransform.h
16503 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16504 (gst_base_transform_init), (gst_base_transform_transform_size),
16505 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16506 (gst_base_transform_default_prepare_buf),
16507 (gst_base_transform_get_unit_size),
16508 (gst_base_transform_buffer_alloc),
16509 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16510 (gst_base_transform_change_state),
16511 (gst_base_transform_set_passthrough),
16512 (gst_base_transform_set_in_place),
16513 (gst_base_transform_is_in_place):
16514 * gst/base/gstbasetransform.h:
16515 Change BaseTransform to separate in_place operate from same_caps
16516 output. in_place implies that the element can perform the transform
16517 on incoming buffers in-place, even if the caps on the output are
16519 Sub-class elements can now implement special buffer allocation
16520 methods for outgoing buffers if they wish to.
16521 Big documentation addition.
16522 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
16523 * gst/elements/gstelements.c:
16524 Changes for basetransform modifications.
16525 * gst/elements/Makefile.am:
16526 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
16527 Compile fix. Extra debug output.
16529 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16531 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
16533 add tests for valid pad naming
16534 * gst/check/gstcheck.c: (gst_check_log_message_func),
16535 (gst_check_log_critical_func):
16537 remove printing of code, it is fragile when the code contains
16538 % and the line number is enough info
16539 * gst/check/gstcheck.h:
16540 * gst/gstpad.c: (gst_pad_template_new):
16543 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16546 say what CHECK flags we use
16547 * docs/libs/gstreamer-libs.types:
16548 * libs/gst/controller/Makefile.am:
16549 * libs/gst/controller/gst-controller.c:
16550 * libs/gst/controller/gst-controller.h:
16551 * libs/gst/controller/gst-helper.c:
16552 * libs/gst/controller/gst-interpolation.c:
16553 * libs/gst/controller/gstcontroller.c:
16554 * libs/gst/controller/gsthelper.c:
16555 * libs/gst/controller/gstinterpolation.c:
16556 * tools/gst-inspect.c: (print_plugin_info):
16557 we don't use dashes in header names
16559 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
16561 * check/Makefile.am:
16562 * check/gst/.cvsignore:
16563 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
16564 (gst_pipeline_suite), (main):
16565 adding a test for pipelines and state changes
16566 * gst/gstutils.c: (get_state_func):
16568 * gstreamer.spec.in:
16571 2005-09-08 Michael Smith <msmith@fluendo.com>
16573 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
16574 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
16575 (gst_file_src_is_seekable), (gst_file_src_get_size),
16576 (gst_file_src_start):
16577 * gst/elements/gstfilesrc.h:
16578 Various fixes for unseekable, unmmapable, and non-normal files, so
16579 that fallback to read() rather than mmap() works.
16580 * gst/gstevent.c: (gst_event_new_newsegment):
16581 Allow newsegment events with segment_start == segment_end, as will
16582 correctly happen if you use filesrc on a zero-size file, for
16585 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16587 * gst/gstplugin.c: (gst_plugin_load_file):
16588 Call g_module_close when we don't load the module
16590 * gst/registries/gstlibxmlregistry.c:
16591 (gst_xml_registry_get_property):
16592 Port leak fix from 0.8
16594 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16596 * docs/gst/gstreamer-docs.sgml:
16597 * docs/gst/tmpl/.cvsignore:
16598 * docs/gst/tmpl/gsttrace.sgml:
16599 * docs/gst/tmpl/gsttrashstack.sgml:
16602 * gst/gstelement.h:
16604 * gst/gstmessage.c:
16605 * gst/gstmessage.h:
16608 * gst/gsttaginterface.c:
16609 * gst/gsttaginterface.h:
16610 * gst/gsttaglist.c:
16611 * gst/gsttaglist.h:
16612 * gst/gsttagsetter.c:
16613 * gst/gsttagsetter.h:
16616 * gst/gsttrashstack.c:
16617 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
16618 inlined docs for gsttrace, gsttrashstack
16620 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16623 * gst/elements/gstbufferstore.h:
16624 * gst/elements/gsttypefindelement.c:
16625 * gst/elements/gsttypefindelement.h:
16627 * gst/gsttypefind.c:
16628 * gst/gsttypefind.h:
16629 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
16630 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
16631 (gst_type_find_factory_dispose),
16632 (gst_type_find_factory_unload_thyself),
16633 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
16634 (gst_type_find_factory_get_caps),
16635 (gst_type_find_factory_get_extensions),
16636 (gst_type_find_factory_call_function):
16637 * gst/gsttypefindfactory.h:
16638 * gst/registries/gstlibxmlregistry.c:
16639 * gst/registries/gstxmlregistry.c:
16640 splitted gsttypefind into gsttypefind, gsttypefindfactory
16642 2005-09-07 Andy Wingo <wingo@pobox.com>
16644 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
16645 condition whereby the pad's task function is entered before the
16646 pad_mode variable was set.
16648 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
16650 * gst/gstpad.c: (gst_pad_alloc_buffer):
16651 Catch misbehaving pad_alloc functions that don't
16652 set up caps and do it for them.
16654 2005-09-07 Stefan Kost <ensonic@users.sf.net>
16656 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16657 test for pipe!=NULL
16658 * docs/gst/tmpl/.cvsignore:
16659 * docs/gst/tmpl/gstmemchunk.sgml:
16660 * docs/gst/tmpl/gstparse.sgml:
16661 * docs/gst/tmpl/gsttaglist.sgml:
16662 * docs/gst/tmpl/gsttagsetter.sgml:
16663 * docs/gst/tmpl/gsttypefind.sgml:
16664 * docs/gst/tmpl/gsttypefindfactory.sgml:
16665 * gst/gstmemchunk.c:
16668 * gst/gsttaginterface.c:
16669 * gst/gsttypefind.c:
16670 * gst/gsttypefind.h:
16673 === release 0.9.2 ===
16675 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
16680 releasing 0.9.2, "South"
16682 2005-09-05 Andy Wingo <wingo@pobox.com>
16684 * gst/registries/gstxmlregistry.h:
16685 * gst/registries/gstxmlregistry.c: Um... resurrect...
16687 * gst/registries/gstxmlregistry.h:
16688 * gst/registries/gstxmlregistry.c: and update to newer API.
16689 Incidentally they should be a bit faster now that they don't have
16692 2005-09-05 Andy Wingo <wingo@pobox.com>
16694 * gst/registries/gstxmlregistry.h:
16695 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
16696 replaced by the libxml registry a while back
16698 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16700 * docs/gst/tmpl/gstplugin.sgml:
16701 * gst/elements/gstelements.c:
16703 * gst/gstplugin.c: (gst_plugin_register_func),
16704 (gst_plugin_desc_copy), (gst_plugin_desc_free),
16705 (gst_plugin_get_source):
16707 * gst/registries/gstlibxmlregistry.c: (load_plugin),
16708 (gst_xml_registry_save_plugin):
16709 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
16710 (gst_xml_registry_save_plugin):
16711 * tools/gst-inspect.c: (print_plugin_info):
16712 add a "source" plugin description field, to represent the source
16713 module this plugin is a part of. By default GST_PLUGIN_DEFINE
16714 will set it to PACKAGE, which is automake's idea of the name of
16715 the source project.
16717 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
16722 * docs/Makefile.am:
16723 * docs/faq/Makefile.am:
16724 * docs/gst/tmpl/gstelement.sgml:
16725 * docs/gst/tmpl/gsttypes.sgml:
16726 * docs/htmlinstall.mak:
16727 * docs/manual/Makefile.am:
16728 * docs/pwg/Makefile.am:
16729 reorganize doc build a little
16730 split out docbook and gtk-doc stuff
16731 have two separate --enable's and enable them through autogen
16732 but disable by default in configure (to be similar to other
16734 * gstreamer.spec.in:
16735 clean up docs install
16753 translation updates
16755 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
16757 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
16760 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
16761 (gst_fake_sink_change_state):
16762 Make state change function thread-safe.
16764 * gst/gstpad.c: (gst_pad_alloc_buffer):
16765 Set offset on generic buffer allocated by fallback.
16767 2005-09-03 Stefan Kost <ensonic@users.sf.net>
16769 * docs/gst/gstreamer-sections.txt:
16770 * docs/gst/tmpl/gstelement.sgml:
16772 * libs/gst/controller/gst-controller.c:
16773 (gst_controlled_property_set_interpolation_mode),
16774 (gst_controlled_property_new),
16775 (gst_controller_find_controlled_property):
16776 run the wingo-magic script against the docs
16778 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16780 * docs/gst/gstreamer-docs.sgml:
16781 * docs/gst/gstreamer-sections.txt:
16782 * docs/gst/tmpl/.cvsignore:
16783 * docs/gst/tmpl/gstelementdetails.sgml:
16784 * docs/gst/tmpl/gstelementfactory.sgml:
16787 * gst/gstelementfactory.c:
16788 * gst/gstelementfactory.h:
16789 merged elementdetails docs into elementfactory docs
16792 2005-09-02 Andy Wingo <wingo@pobox.com>
16794 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
16795 consider this enum an enum and not a flags.
16797 2005-09-02 Stefan Kost <ensonic@users.sf.net>
16799 * docs/gst/gstreamer-docs.sgml:
16800 * docs/gst/tmpl/.cvsignore:
16801 * docs/gst/tmpl/gstghostpad.sgml:
16802 * docs/gst/tmpl/gstiterator.sgml:
16803 * docs/gst/tmpl/gstmacros.sgml:
16804 * docs/gst/tmpl/gstrealpad.sgml:
16805 * docs/gst/tmpl/gstregistry.sgml:
16806 * docs/gst/tmpl/gstregistrypool.sgml:
16807 * docs/gst/tmpl/gststructure.sgml:
16808 * docs/gst/tmpl/gstsystemclock.sgml:
16809 * docs/gst/tmpl/gsttrace.sgml:
16810 * gst/gstghostpad.c:
16812 * gst/gstmemchunk.c:
16813 * gst/gstmemchunk.h:
16815 * gst/gstregistry.c:
16816 * gst/gstregistrypool.c:
16817 * gst/gststructure.c:
16818 * gst/gstsystemclock.c:
16821 2005-09-02 Andy Wingo <wingo@pobox.com>
16823 * gst/gstelement.h (GstState): Renamed from GstElementState,
16824 changed to be a normal enum instead of flags.
16825 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
16826 munged to be GST_STATE_CHANGE_*.
16827 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
16828 work with the new state representation.
16829 (GstStateChange): New enumeration of possible state transitions.
16830 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
16831 (GstElementClass::change_state): Pass the GstStateChange along as
16832 an argument. Helps language bindings, so they don't have to use
16833 tricky lock-needing macros like GST_STATE_CHANGE ().
16835 * scripts/update-states (file): New script. Run it on a file to
16836 update it for state naming and API changes. Updates files in
16839 * All files updated for the new API.
16841 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
16843 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
16844 * gst/gstutils.c: (gst_util_set_value_from_string),
16845 (gst_util_set_object_arg):
16846 fix a bunch of unchecked return values
16847 * tools/gst-complete.c: (main):
16848 * gstreamer.spec.in:
16851 2005-09-01 Wim Taymans <wim@fluendo.com>
16853 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16854 (gst_base_sink_event), (gst_base_sink_do_sync),
16855 (gst_base_sink_handle_event):
16856 * gst/base/gstbasesink.h:
16857 Handle newsegments more correctly.
16862 * gst/gstevent.c: (gst_event_new_newsegment):
16863 A newsegment cannot have a start_time of -1
16865 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
16867 * win32/gstenumtypes.c:
16868 * win32/gstenumtypes.h:
16871 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16873 * libs/gst/controller/gst-controller.c:
16874 (gst_controlled_property_set_interpolation_mode),
16875 (gst_controlled_property_new):
16876 fixed boolean again
16878 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
16880 * docs/faq/gst-uninstalled:
16885 * gst/gstutils.c: (gst_element_link_filtered):
16887 add gst_element_link_filtered
16889 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16891 * docs/gst/gstreamer-docs.sgml:
16892 * docs/gst/gstreamer-sections.txt:
16893 * docs/gst/tmpl/.cvsignore:
16894 * docs/gst/tmpl/gsterror.sgml:
16895 * docs/gst/tmpl/gstfilter.sgml:
16896 * docs/gst/tmpl/gsturihandler.sgml:
16897 * docs/gst/tmpl/gsturitype.sgml:
16898 * docs/gst/tmpl/gstutils.sgml:
16899 * docs/gst/tmpl/gstxml.sgml:
16904 * gst/gsturitype.c:
16907 inlined more docs, fixed double id-ref
16909 2005-08-31 Wim Taymans <wim@fluendo.com>
16911 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16912 (gst_base_transform_handle_buffer):
16913 Passthrough elements don't need the caps as they don't care.
16915 2005-08-31 Wim Taymans <wim@fluendo.com>
16917 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
16918 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
16919 Don't leak refcounts on buffers.
16921 2005-08-31 Wim Taymans <wim@fluendo.com>
16923 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
16924 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16925 (gst_base_transform_chain), (gst_base_transform_change_state):
16926 * gst/base/gstbasetransform.h:
16927 Handle the case where we are not negotiated more gracefully.
16929 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
16931 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
16932 (gst_file_src_map_region):
16933 Set READONLY flag on mmap'ed buffers, otherwise
16934 gst_buffer_make_writable() won't work properly (#314708).
16936 2005-08-31 Wim Taymans <wim@fluendo.com>
16938 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
16939 passthrough elements can even do inplace on non writable
16940 buffers (as they don't touch them).
16942 2005-08-31 Stefan Kost <ensonic@users.sf.net>
16944 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
16945 (gst_test_mono_source_set_property),
16946 (gst_test_mono_source_class_init), (GST_START_TEST),
16947 (gst_controller_suite):
16948 more tests (hehe I have the most)
16950 describe popping messages whenusing mulltiple sources
16951 * libs/gst/controller/gst-controller.c:
16952 (gst_controlled_property_set_interpolation_mode),
16953 (gst_controlled_property_new):
16954 * libs/gst/controller/gst-controller.h:
16955 * libs/gst/controller/gst-interpolation.c:
16956 implement boolean properties
16958 2005-08-31 Wim Taymans <wim@fluendo.com>
16960 * gst/gstminiobject.c: (gst_mini_object_ref):
16961 Cannot assert that the refcount has to be positive
16962 since a disposed object can be resurrected.
16964 2005-08-31 Wim Taymans <wim@fluendo.com>
16966 * gst/gstpad.c: (gst_pad_init):
16967 Revert change, need to first fix badly behaving
16970 2005-08-30 Wim Taymans <wim@fluendo.com>
16972 * check/elements/fakesrc.c: (setup_fakesrc):
16973 * check/elements/identity.c: (setup_identity):
16974 Activate pads before using them.
16976 2005-08-30 Wim Taymans <wim@fluendo.com>
16978 * gst/base/gstadapter.c: (gst_adapter_flush):
16979 Flushing out 0 bytes is ok for this function.
16981 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16982 no newsegment gives a warning and sets the start/stop to
16985 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
16986 (gst_base_transform_set_passthrough):
16989 * gst/gstminiobject.c: (gst_mini_object_ref):
16990 Check refcount here too.
16992 * gst/gstpad.c: (gst_pad_init):
16993 Pads are initially flushing and refusing data.
16995 * gst/gstutils.c: (gst_element_link_pads_filtered):
16996 When adding a capsfilter element make sure it has the
16997 same state as the parent bin.
16999 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17001 * docs/gst/tmpl/.cvsignore:
17002 * docs/gst/tmpl/gstformat.sgml:
17003 * docs/gst/tmpl/gstversion.sgml:
17007 * gst/gstversion.h.in:
17008 more docs and two more inlined
17010 2005-08-30 Wim Taymans <wim@fluendo.com>
17012 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
17013 Don't sync to clock.
17015 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17017 * docs/gst/gstreamer-sections.txt:
17018 ultral33t func10ns deserve to appear in the docs actually
17019 * docs/gst/tmpl/.cvsignore:
17020 * docs/gst/tmpl/gstcompat.sgml:
17021 * docs/gst/tmpl/gstconfig.sgml:
17022 * gst/check/gstcheck.c:
17024 * gst/gstconfig.h.in:
17027 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17029 * docs/gst/tmpl/.cvsignore:
17030 * docs/gst/tmpl/gstquery.sgml:
17031 * docs/gst/tmpl/gstutils.sgml:
17034 inlined and extended docs
17036 2005-08-30 Stefan Kost <ensonic@users.sf.net>
17038 * check/gst-libs/controller.c: (GST_START_TEST),
17039 (gst_controller_suite):
17041 * docs/gst/tmpl/gstutils.sgml:
17042 * docs/libs/gstreamer-libs-sections.txt:
17043 * docs/libs/tmpl/gstdataprotocol.sgml:
17045 * examples/controller/audio-example.c: (main):
17046 controller example works now
17049 * tools/gst-inspect.c: (print_element_properties_info):
17050 show param spec flags
17052 2005-08-29 Andy Wingo <wingo@pobox.com>
17054 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
17056 2005-08-28 Andy Wingo <wingo@pobox.com>
17058 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
17059 as having two arguments instead of just one. Allows superclasses
17060 to access information on subclasses -- see the terrible for() loop
17061 in gtype.c:g_type_create_instance for the reason why. All callers
17064 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17066 * docs/design/part-messages.txt:
17068 * docs/gst/tmpl/.cvsignore:
17069 * docs/gst/tmpl/gstcaps.sgml:
17070 * docs/gst/tmpl/gstclock.sgml:
17076 * gst/gstmessage.c:
17077 added descriptions for bus and message
17078 inline caps and clock docs
17080 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17082 * gst/gstmessage.c:
17083 * gst/gstmessage.h:
17086 2005-08-27 Stefan Kost <ensonic@users.sf.net>
17088 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17091 2005-08-26 Andy Wingo <wingo@pobox.com>
17093 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
17094 element_set_state's return val.
17095 (test_2_elements): Add test that's been disabled for months.
17097 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
17098 can-activate-pull properties.
17100 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
17101 can-activate-pull properties. Implement is_seekable so fakesrc can
17102 operate in pull mode.
17104 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
17106 (gst_base_sink_activate, gst_base_sink_activate_pull)
17107 (gst_base_sink_activate_push): Make activation mode choosing work.
17109 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
17110 is right. Make pull mode work. Post an eos before pausing in pull
17112 (gst_base_sink_change_state): Pay attention to the core's
17113 change_state() return val.
17115 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
17116 has-getrange properties. Cleanups.
17118 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
17119 has_getrange and replace with can_activate_pull and
17122 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
17123 locking comments. Remove has_loop, has_chain and replace with
17124 can_activate_pull and can_activate_push.
17126 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
17129 * examples/Makefile.am:
17130 * examples/metadata/Makefile.am:
17131 * examples/metadata/read-metadata.c: (message_loop),
17132 (have_pad_handler), (make_pipeline), (print_tag), (main):
17133 Add metadata reading example that loops over a list of filenames,
17134 dumping any tags found.
17136 * gst/gstbus.c: (gst_bus_dispose):
17137 * gst/gstelement.c: (gst_element_dispose):
17138 Release a few potentially-held references in dispose.
17140 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17142 * docs/gst/tmpl/gstminiobject.sgml:
17143 do *not* add tmpl/*.sgml files to CVS!
17145 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17147 * libs/gst/bytestream/.cvsignore:
17148 * libs/gst/bytestream/Makefile.am:
17149 * libs/gst/bytestream/adapter.c:
17150 * libs/gst/bytestream/adapter.h:
17151 * libs/gst/bytestream/bytestream.c:
17152 * libs/gst/bytestream/bytestream.h:
17153 * libs/gst/bytestream/filepad.c:
17154 * libs/gst/bytestream/filepad.h:
17155 removing obsolete files
17157 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17159 * docs/gst/gstreamer-docs.sgml:
17160 * docs/libs/gstreamer-libs-docs.sgml:
17161 disabed additional index entries again, as this makes docs-gen just
17162 slow and they aren't useful yet
17163 * docs/libs/gstreamer-libs-sections.txt:
17164 little -section.txt cleanup for libs
17166 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
17168 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17169 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
17170 fix up some debugging
17171 (gst_base_transform_get_unit_size),
17172 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
17173 (gst_base_transform_handle_buffer):
17174 * gst/base/gstbasetransform.h:
17175 handle and store timed NEWSEGMENT events so that subclasses that
17176 calculate time by counting samples have a segment_start time they
17177 need to add to their timestamps - see audioresample
17179 2005-08-26 Stefan Kost <ensonic@users.sf.net>
17182 removed ';' from the end of macro defs
17183 * docs/gst/gstreamer-docs.sgml:
17184 * docs/gst/gstreamer-sections.txt:
17185 * docs/gst/tmpl/.cvsignore:
17187 * gst/gstelement.c: (gst_element_class_init),
17188 (gst_element_set_state), (activate_pads),
17189 (gst_element_save_thyself):
17190 * gst/gstevent.c: (gst_event_new_newsegment):
17192 * gst/gstiterator.c:
17193 * gst/gstiterator.h:
17196 * gst/gstutils.c: (gst_pad_query_convert):
17198 fixed parameter name mismatches between source, header and docs
17199 added some more docs, resolved the last batch of unused elements in
17200 docs (now someone needs to doc them)
17202 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17204 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
17205 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
17206 don't walk through the plugins backwards. Where is all this
17207 reversed logic coming from ?
17209 2005-08-25 Wim Taymans <wim@fluendo.com>
17211 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17212 (gst_base_transform_transform_size),
17213 (gst_base_transform_configure_caps),
17214 (gst_base_transform_get_unit_size),
17215 (gst_base_transform_buffer_alloc),
17216 (gst_base_transform_change_state):
17217 * gst/base/gstbasetransform.h:
17218 Cache caps unit_size.
17219 Make sure we cannot negotiate up and downstream at the
17222 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17224 * gst/gst.c: (init_pre), (init_post):
17225 register the installed plugin path after the env var
17226 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
17227 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
17228 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
17229 directories, so the tests can prefer uninstalled over installed
17231 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
17233 * gst/base/gstbasetransform.h:
17238 2005-08-25 Wim Taymans <wim@fluendo.com>
17240 * gst/gstbin.c: (bin_bus_handler):
17241 Be a bit more conservative about the posted message.
17243 * gst/gstbus.c: (gst_bus_post):
17244 Some cleanups, warn wrong return values.
17246 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
17248 * check/gst/gstbin.c: (GST_START_TEST):
17249 * gst/gstbin.c: (bin_bus_handler):
17250 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17251 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17252 (gst_message_new_warning), (gst_message_new_tag),
17253 (gst_message_new_state_changed), (gst_message_new_segment_start),
17254 (gst_message_new_segment_done), (gst_message_new_custom):
17255 * gst/gstmessage.h:
17256 * tools/gst-launch.c: (event_loop):
17257 * tools/gst-md5sum.c: (event_loop):
17258 Revert unpopular change for GST_MESSAGE_SRC to GObject.
17260 2005-08-25 Wim Taymans <wim@fluendo.com>
17262 * check/generic/states.c: (GST_START_TEST):
17263 Cleanup can be done at the end.
17265 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
17266 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17267 (gst_task_get_state), (gst_task_start), (gst_task_pause):
17268 Oh boy.. Thanks for finding this, Thomas.
17270 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17272 * docs/gst/gstreamer.types:
17273 added missing types
17275 2005-08-25 Stefan Kost <ensonic@users.sf.net>
17277 * docs/gst/gstreamer-docs.sgml:
17278 * docs/gst/gstreamer-sections.txt:
17279 * docs/gst/tmpl/.cvsignore:
17281 * gst/gstiterator.c:
17283 * gst/registries/gstxmlregistry.h:
17284 added missing classes and symbols (123 more to go)
17285 removed removed symbols from section file
17286 fixed many doc-comments
17288 2005-08-24 Wim Taymans <wim@fluendo.com>
17290 * check/generic/states.c: (GST_START_TEST):
17291 Make sure all tasks are stopped.
17293 * check/gst/gstbin.c: (GST_START_TEST):
17294 Unref after usage for proper valgrinding.
17296 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
17297 Really wait for the task to stop before destroying the
17300 * gst/gstqueue.c: (gst_queue_sink_activate_push),
17301 (gst_queue_src_activate_push):
17302 Small cleanups. Don't stop the task when we did not start
17305 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
17306 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
17307 (gst_task_get_state), (gst_task_start), (gst_task_pause),
17310 Protect the stream lock with the object lock.
17311 Disallow setting the stream lock when running.
17312 Add cleanup_all to wait for the threadpool to finish.
17313 Remove code to autoallocate a mutex if none was provided.
17314 Add _join() to wait for a task to stop.
17315 Protect the thread pool with a global lock.
17317 2005-08-24 Wim Taymans <wim@fluendo.com>
17319 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17320 (gst_base_sink_get_times), (gst_base_sink_do_sync),
17321 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
17322 * gst/base/gstbasesink.h:
17323 Handle newsegment events correctly.
17324 Drop buffers out of the segment range.
17326 2005-08-22 Andy Wingo <wingo@pobox.com>
17328 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
17329 macro, implements an interface and gstimplementsinterface for a
17332 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17334 * check/Makefile.am:
17335 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
17336 add a test that does a bunch of state changes on elements
17337 needs some fixing for valgrind
17338 * check/states/sinks.c: (gst_object_suite):
17341 add prototype for gst_caps_is_equal_fixed
17343 * gst/gstregistrypool.c:
17346 2005-08-24 Andy Wingo <wingo@pobox.com>
17348 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
17349 convert a negative value. Doesn't make much sense. Mostly this is
17350 here to force callers to ensure -1 maps to -1.
17352 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17354 * docs/pwg/advanced-types.xml:
17355 Well done to Michael for catching my deliberate introduction
17356 of this spelling mistake.
17357 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
17358 * gst/gstelement.h:
17359 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
17360 unlink pads before removing the element from the bin.
17362 2005-08-24 Andy Wingo <wingo@pobox.com>
17364 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
17365 the same thing as GST_DEBUG=*:4.
17366 (parse_debug_level, parse_debug_category): New helper parsers.
17368 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
17370 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17371 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
17372 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
17373 (gst_base_transform_buffer_alloc),
17374 (gst_base_transform_handle_buffer):
17375 use gboolean return values and pointers to size so we can use the
17376 full GST_BUFFER_SIZE range (guint) for buffer sizes
17377 use GstPadDirection for transform_caps
17378 * gst/base/gstbasetransform.h:
17379 rename get_size to get_unit_size since that's what it is
17380 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
17381 use GstPadDirection for transform_caps
17382 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17384 cleanup and debugging
17386 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17388 * gst/gstelement.c: (gst_element_class_init),
17389 (gst_element_set_state), (activate_pads),
17390 (gst_element_save_thyself):
17391 * tools/gst-compprep.c: (main):
17392 * tools/gst-inspect.c: (print_element_properties_info):
17393 * tools/gst-xmlinspect.c: (print_element_properties):
17394 Fixed long standing mem-leak
17396 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
17398 * check/gst/gstbin.c: (GST_START_TEST):
17399 * gst/gstbin.c: (bin_bus_handler):
17400 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
17401 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
17402 (gst_message_new_warning), (gst_message_new_tag),
17403 (gst_message_new_state_changed), (gst_message_new_segment_start),
17404 (gst_message_new_segment_done), (gst_message_new_custom):
17405 * gst/gstmessage.h:
17406 * tools/gst-launch.c: (event_loop):
17407 * tools/gst-md5sum.c: (event_loop):
17408 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
17409 that applications can sensibly post custom messages with references
17410 to their own objects.
17412 2005-08-24 Andy Wingo <wingo@pobox.com>
17414 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
17417 2005-08-24 Wim Taymans <wim@fluendo.com>
17419 * gst/base/gstbasetransform.c: (gst_base_transform_init),
17420 (gst_base_transform_transform_caps),
17421 (gst_base_transform_transform_size),
17422 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
17423 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
17424 (gst_base_transform_handle_buffer):
17425 * gst/base/gstbasetransform.h:
17426 Many fixes and new features added by Thomas. Can now also do
17427 transforms with variable sizes and a custom fixate_caps function.
17429 2005-08-24 Wim Taymans <wim@fluendo.com>
17431 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17435 Cast to ClockTime before formatting to time.
17440 2005-08-24 Stefan Kost <ensonic@users.sf.net>
17442 * check/gst-libs/controller.c: (GST_START_TEST),
17443 (gst_controller_suite):
17444 * docs/gst/tmpl/gstcaps.sgml:
17445 * docs/gst/tmpl/gstghostpad.sgml:
17446 * docs/gst/tmpl/gstquery.sgml:
17447 * docs/gst/tmpl/gstutils.sgml:
17448 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
17449 (gst_object_sink_values), (gst_object_get_value_arrays),
17450 (gst_object_get_value_array):
17451 gracefully handle helper method calls to objects that are not beeing
17452 controlled, added test case for that
17454 2005-08-23 Wim Taymans <wim@fluendo.com>
17456 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
17457 (gst_event_new_newsegment), (gst_event_parse_newsegment),
17458 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
17459 (gst_event_parse_qos), (gst_event_new_seek),
17460 (gst_event_parse_seek):
17462 Some more debugging output and doc cleanups.
17464 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17465 Fix possible deadlock.
17467 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17469 * docs/gst/gstreamer-docs.sgml:
17470 * docs/gst/gstreamer-sections.txt:
17471 * docs/gst/gstreamer.types:
17472 * docs/gst/tmpl/.cvsignore:
17475 * gst/gstelement.c:
17477 added 100 symbols from gstreamer-unused.txt to the right sections
17478 fixed more broken comments
17479 added GstBus to docs
17481 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17483 * docs/gst/gstreamer-sections.txt:
17484 * docs/gst/tmpl/.cvsignore:
17485 * docs/gst/tmpl/gstbin.sgml:
17486 * docs/gst/tmpl/gstbuffer.sgml:
17487 * gst/base/gstbasesrc.c:
17488 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
17491 * tools/gst-launch.1.in:
17492 inlined more doc comments, added missing comments and fixed comments
17495 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
17497 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
17501 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
17503 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
17504 * gst/gststructure.h:
17505 add a fixate function for booleans; add a FIXME that these func
17506 names should probably be gst_structure_fixate_*
17508 2005-08-23 Stefan Kost <ensonic@users.sf.net>
17510 * docs/gst/gstreamer-docs.sgml:
17511 * docs/gst/gstreamer-sections.txt:
17513 * gst/gstbin.c: (gst_bin_get_type),
17514 (gst_bin_child_proxy_get_child_by_index),
17515 (gst_bin_child_proxy_get_children_count),
17516 (gst_bin_child_proxy_init):
17517 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17518 (gst_child_proxy_get_child_by_index),
17519 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
17520 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
17521 (gst_child_proxy_get), (gst_child_proxy_set_property),
17522 (gst_child_proxy_set_valist), (gst_child_proxy_set),
17523 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
17524 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
17525 * gst/gstchildproxy.h:
17526 * gst/parse/grammar.y:
17527 * tools/gst-inspect.c: (print_interfaces),
17528 (print_element_properties_info), (print_element_info):
17529 ported gstchildproxy over from 0.8
17530 ported gst-inspect fixes and enhancements over from 0.8
17532 2005-08-22 Wim Taymans <wim@fluendo.com>
17534 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
17535 (gst_base_transform_handle_buffer):
17536 Also call the transform function if we have ANY caps.
17538 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
17541 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17543 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
17544 Don't pretend to handle seek events if the source is not seekable
17546 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
17548 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17549 Remove extra parameter to debug output
17551 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17552 (gst_base_src_do_seek), (gst_base_src_activate_push):
17553 Fix seek event handling.
17555 * gst/gstpipeline.c: (gst_pipeline_change_state):
17556 * gst/gstqueue.c: (gst_queue_handle_sink_event),
17557 (gst_queue_src_activate_push):
17558 Don't start the src pad task on FLUSH_STOP if the pad
17562 2005-08-22 Wim Taymans <wim@fluendo.com>
17564 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
17565 Added check for gst_static_caps_get() refcounting.
17567 2005-08-22 Wim Taymans <wim@fluendo.com>
17569 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
17570 Make _static_caps_get() refcounting sane.
17572 * gst/gstelement.c: (gst_element_set_state):
17573 Add g_return_val_if_fail() to protect against segfaults.
17575 2005-08-22 Stefan Kost <ensonic@users.sf.net>
17577 * docs/gst/tmpl/gstevent.sgml:
17580 inlined remaining docs, added missing doc comments
17582 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
17584 * check/gst/gstbin.c: (GST_START_TEST):
17585 since we don't know when preroll is done, use refcount range
17587 * gst/check/gstcheck.h:
17588 add macro for checking refcount range
17590 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17592 * check/Makefile.am:
17593 clean up environment for when registry gets built versus
17594 when actual tests are run; valgrind seems to not report
17595 leaks if GST_PLUGIN_PATH is set to some specific values
17596 * check/gst/gstbin.c: (GST_START_TEST):
17597 add more refcounting checks; maybe this exposes a
17599 * common/check.mak:
17600 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17601 * gst/check/gstcheck.h:
17602 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
17603 (gst_bin_change_state):
17604 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
17605 add/fix debugging/whitespace
17607 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17609 * check/gst/gstevent.c: (event_probe), (test_event),
17611 Er, don't call gst_bin_watch_for_state_change you idiot.
17613 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
17615 * check/Makefile.am:
17616 Use CHECK_CFLAGS and CHECK_LIBS
17617 * check/gst/gstevent.c: (event_probe), (test_event),
17620 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
17621 (gst_base_src_start), (gst_base_src_stop),
17622 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17623 (gst_base_src_change_state):
17624 Sprinkle gst_base_src_stop liberally around error paths to fix
17625 problems reusing a source after failed state changes.
17626 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17627 (helper_find_suggest), (gst_type_find_helper):
17628 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
17630 * docs/gst/tmpl/gstevent.sgml:
17631 Migrate part of the docs from the SGML file. Wait for ensonic to
17632 tell me how I did it wrong ;)
17633 * tools/gst-typefind.c: (main):
17634 Extra robustness to state changes between files.
17636 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
17638 * check/Makefile.am:
17639 don't valgrind the controller test - it's leaking - Stefan, HELP
17640 * gst/check/gstcheck.c: (gst_check_message_error),
17641 (gst_check_chain_func), (gst_check_setup_element),
17642 (gst_check_teardown_element), (gst_check_setup_src_pad),
17643 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
17644 (gst_check_teardown_sink_pad):
17645 * gst/check/gstcheck.h:
17646 add a bunch of methods to set up elements, and src and sink pads
17647 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
17648 * check/elements/identity.c: (setup_identity), (cleanup_identity),
17651 * gst/gstmessage.c:
17653 whitespace/doc fixes
17655 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17657 * gst/gstelement.h:
17658 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
17659 be handled by the application and not always printed as well
17661 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17663 * check/Makefile.am:
17665 * gst/check/gstcheck.c: (gst_check_message_error):
17666 * gst/check/gstcheck.h:
17667 add a fail_unless_equals_int
17668 add fail_unless for error messages
17670 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17672 * check/Makefile.am:
17674 * common/Makefile.am:
17675 * common/check.mak:
17677 factor out some of the common stuff so we can use it
17679 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17681 * check/Makefile.am:
17682 * check/gst/gstiterator.c: (GST_START_TEST):
17683 * check/gst/gstsystemclock.c: (GST_START_TEST),
17684 (gst_systemclock_suite):
17685 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
17687 valgrind more tests
17689 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
17691 * check/elements/.cvsignore:
17692 * check/elements/gstfakesrc.c:
17693 rename to name of element
17694 * check/elements/identity.c: (chain_func), (event_func),
17695 (setup_identity), (cleanup_identity), (GST_START_TEST),
17696 (identity_suite), (main):
17697 add a test for identity
17698 * check/Makefile.am:
17699 * pkgconfig/Makefile.am:
17700 * pkgconfig/gstreamer-check.pc.in:
17701 * pkgconfig/gstreamer-check-uninstalled.pc.in:
17705 move the check stuff to a library that gets installed
17706 * check/gst-libs/controller.c: (GST_START_TEST):
17707 * check/gst-libs/gdp.c:
17708 * check/gst/gst.c: (GST_START_TEST):
17709 * check/gst/gstbin.c:
17710 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17711 * check/gst/gstbus.c:
17712 * check/gst/gstcaps.c: (GST_START_TEST):
17713 * check/gst/gstelement.c:
17714 * check/gst/gstghostpad.c:
17715 * check/gst/gstiterator.c:
17716 * check/gst/gstmessage.c:
17717 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
17718 * check/gst/gstobject.c:
17719 * check/gst/gstpad.c: (GST_START_TEST):
17720 * check/gst/gststructure.c: (GST_START_TEST):
17721 * check/gst/gstsystemclock.c: (GST_START_TEST),
17722 (gst_systemclock_suite):
17723 * check/gst/gsttag.c: (gst_tag_suite):
17724 * check/gst/gstvalue.c:
17725 * check/pipelines/cleanup.c:
17726 * check/pipelines/simple_launch_lines.c:
17727 * check/states/sinks.c:
17728 change include statement
17730 * docs/gst/gstreamer-sections.txt:
17731 * docs/gst/tmpl/gstpad.sgml:
17732 document more pad stuff
17733 * gst/gstminiobject.c: (gst_mini_object_ref),
17734 (gst_mini_object_unref):
17737 2005-08-19 Stefan Kost <ensonic@users.sf.net>
17739 * docs/gst/tmpl/gst.sgml:
17741 eliminate another tmpl file, fix spelling in the long-description
17743 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17745 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17746 (test_event), (timediff), (gstevents_suite):
17747 Should fix build on 64-bit arch's
17749 2005-08-18 Andy Wingo <wingo@pobox.com>
17751 Make sure that when a pipeline goes to PLAYING, that data has
17752 actually hit the sink.
17754 * check/states/sinks.c (test_sink): A sink that doesn't get any
17755 data shouldn't return SUCCESS for going to either PLAYING or
17756 PAUSED. Test also the return values on the way back down.
17758 * gst/gstelement.c (gst_element_set_state): When changing the
17759 state of an element currently changing state asynchronously, go to
17760 lost-state after commiting the pending state. Makes future calls
17761 to get_state continue to return ASYNC.
17763 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
17764 ASYNC when going to PLAYING if we still don't have preroll, as can
17765 happen with live sources.
17767 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17769 * docs/pwg/advanced-types.xml:
17770 Hack long paragraph into 2 chunks as a workaround for buggy
17771 jadetex version in sid and breezy that loops infinitely and
17774 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17776 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17777 (test_event), (timediff), (gstevents_suite):
17778 Provide more error margin in clock measurements to allow for
17779 g_get_current_time inaccuracies.
17781 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17783 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17784 (test_event), (timediff), (gstevents_suite):
17785 Fix error message output so I might be able to tell why the
17786 test works here but fails on the build farm.
17788 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
17790 * check/Makefile.am:
17791 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
17792 (test_event), (timediff), (gstevents_suite), (main):
17795 * docs/design/part-seeking.txt:
17796 Spelling correction
17798 * docs/gst/tmpl/gstevent.sgml:
17799 * docs/gst/tmpl/gstfakesrc.sgml:
17802 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17803 Treat a buffer-without-newsegment the same as a receiving
17804 a newsegment not in time format, and disable syncing to the clock
17807 * gst/gstbus.c: (gst_bus_set_sync_handler):
17808 Assert if anyone tries to replace the existing sync_handler for bus,
17809 as only the owner should be setting it.
17812 Have a fixed set of custom event enums with events identified by
17813 their structure name (as in 0.8), rather than a free-for-all
17814 allowing collisions between enum values from different plugins.
17816 * gst/gstpad.c: (gst_pad_class_init):
17819 * gst/gstqueue.c: (gst_queue_handle_sink_event):
17820 Handle out-of-band downstream events from the sending thread.
17822 2005-08-17 Andy Wingo <wingo@pobox.com>
17824 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
17825 play-timeout==0 to mean no timeout at all. In that case, don't
17826 bother with a get_state or a warning, just return directly, even
17829 * gst/base/gstbasetransform.c: Debug changes.
17832 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
17833 ensure bins post state change messages. A bit of a hack but I can't
17834 think of a way to avoid it.
17836 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17838 2005-08-16 Andy Wingo <wingo@pobox.com>
17840 * gst/base/gstadapter.h:
17841 * gst/base/gstadapter.c (gst_adapter_take): New function, like
17842 peek() but you own the data. Not terribly efficient atm.
17844 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17846 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
17847 (gst_element_found_tags):
17849 Add two utility functions for tag handling.
17851 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17853 * docs/manual/advanced-dataaccess.xml:
17854 * docs/manual/basics-helloworld.xml:
17855 Fix docs to use _bin_add() before _link(), which fixes the examples
17856 with recent core versions (reported by Madhan Raj M
17857 <raj_madan@rediffmail.com>, #313199).
17859 2005-08-16 Wim Taymans <wim@fluendo.com>
17861 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17862 Added subtract checks.
17864 * docs/design/part-events.txt:
17865 Some more docs about newsegment
17867 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
17870 * gst/gstcaps.c: (gst_caps_to_string):
17871 Add comments, cleanups.
17873 * gst/gstelement.c: (gst_element_save_thyself):
17876 * gst/gstvalue.c: (gst_value_collect_int_range),
17877 (gst_string_unwrap), (gst_value_union_int_int_range),
17878 (gst_value_union_int_range_int_range),
17879 (gst_value_intersect_int_int_range),
17880 (gst_value_intersect_int_range_int_range),
17881 (gst_value_intersect_double_double_range),
17882 (gst_value_intersect_double_range_double_range),
17883 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
17884 (gst_value_subtract_int_range_int),
17885 (gst_value_subtract_double_range_double),
17886 (gst_value_subtract_double_range_double_range),
17887 (gst_value_subtract_from_list), (gst_value_subtract_list),
17888 (gst_value_can_compare), (gst_value_compare_fraction):
17889 Cleanups, add comments, remove unneeded asserts.
17891 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17893 * tools/gst-launch.c: (event_loop):
17894 don't convert NULL structures to strings
17896 2005-08-15 Stefan Kost <ensonic@users.sf.net>
17898 * docs/gst/gstreamer-sections.txt:
17899 made some defines private
17900 * docs/gst/tmpl/gstconfig.sgml:
17901 * docs/gst/tmpl/gstqueue.sgml:
17902 * docs/gst/tmpl/gsttaglist.sgml:
17903 * docs/gst/tmpl/gsttypes.sgml:
17904 * docs/gst/tmpl/gstutils.sgml:
17905 * docs/pwg/appendix-porting.xml:
17906 * gst/base/gstbasesink.h:
17907 * gst/base/gstbasesrc.c:
17908 * gst/base/gstbasesrc.h:
17909 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
17910 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
17911 * gst/gstelement.c: (gst_element_class_init):
17912 * gst/gstpad.c: (gst_pad_class_init):
17913 * gst/gstqueue.c: (gst_queue_class_init):
17914 * gst/gstxml.c: (gst_xml_class_init):
17915 documented all undocumented signal inline
17916 * libs/gst/controller/gst-controller.h:
17919 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17921 * docs/pwg/appendix-porting.xml:
17922 Document _set_link_function -> _set_setcaps_function.
17924 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
17926 * check/Makefile.am:
17927 add a .check target for running the check
17928 * check/gst-libs/controller.c: (GST_START_TEST):
17930 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17931 complete checks for gstbuffer; would be nice if I could get the
17932 gcov stuff to work so I can see if I actually completed gstbuffer.c
17933 * check/gstcheck.h:
17934 add ASSERT_BUFFER_REFCOUNT
17936 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
17938 * docs/gst/gstreamer-sections.txt:
17939 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
17941 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
17942 spew out a warning if a tag that is already registered
17943 is re-registered, unless it is re-registered with a
17944 different type (#308438).
17946 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
17948 * docs/pwg/appendix-porting.xml:
17949 * docs/pwg/building-state.xml:
17950 Add some paragraphs about state changes in 0.9 to the PWG
17951 and the porting guide, in particular about the new meaning
17952 of GST_STATE_PAUSED and how to write state change functions
17953 with concurrent access by multiple threads in mind.
17955 2005-08-11 Stefan Kost <ensonic@users.sf.net>
17957 * docs/gst/gstreamer-docs.sgml:
17958 * docs/libs/gstreamer-libs-docs.sgml:
17959 added deprecation and since indexes
17960 * libs/gst/controller/gst-controller.c:
17961 * libs/gst/controller/gst-helper.c:
17965 2005-08-11 Wim Taymans <wim@fluendo.com>
17967 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
17968 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
17969 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
17970 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
17971 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
17972 (gst_ghost_pad_set_target):
17973 Actually implement (re)setting the target on a ghostpad
17974 as described in the docs.
17976 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17978 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
17979 Check whether GST_DEBUG_NO_COLOR environment variable is
17980 set and disable coloured debug output if that is the case.
17982 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
17984 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17985 (gst_type_find_helper):
17986 The memory returned by gst_type_find_peek() needs to
17987 stay valid until the end of a typefind function, and
17988 typefind functions may keep results from different
17989 offsets around, so we can't just unref the buffer from
17990 the previous _peek(), but have to save all buffers
17991 returned by _peek() until typefinding is done and only
17994 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
17996 * docs/gst/gstreamer-sections.txt:
17998 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
18000 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18002 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18003 Fix a pretty good memleak.
18005 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
18007 * gst/gstiterator.h:
18008 Fix wrong include and 'make distcheck'.
18010 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18012 * gst/gstbin.c: (bin_bus_handler):
18013 Use gst_element_post_message() instead.
18015 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
18017 * gst/base/gstadapter.h:
18018 * gst/base/gstbasesink.h:
18019 * gst/base/gstbasesrc.h:
18020 * gst/base/gstbasetransform.h:
18021 * gst/base/gstcollectpads.h:
18022 * gst/base/gstpushsrc.h:
18023 * gst/gstiterator.h:
18024 Add padding to our base elements' class and instance structs and
18025 to GstIterator (you will need to rebuild all plugins and apps!)
18027 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18029 * gst/gstbin.c: (bin_bus_handler):
18030 Make default message forwarding from child->bus to bin->bus
18031 threadsafe and make it not emit warnings if the parent has no bus.
18033 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18035 * gst/gstelement.c: (activate_pads):
18036 On paused->ready, set pad->caps to NULL, as is the documented
18037 behaviour in this state change. Fixes playback of series of
18038 media files when visualization is enabled in Totem.
18040 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18042 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18043 Allow NULL as filter-caps (which means "any").
18045 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18047 * docs/libs/gstreamer-libs-sections.txt:
18048 * libs/gst/controller/gst-controller.c:
18049 * libs/gst/controller/gst-controller.h:
18050 * libs/gst/controller/gst-helper.c:
18051 adding more entries to the docs and fix small doc-bugs
18053 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18055 * docs/gst/gstreamer-docs.sgml:
18056 * docs/gst/gstreamer-sections.txt:
18057 * docs/gst/gstreamer.types:
18058 * docs/gst/tmpl/gstbasesink.sgml:
18059 * docs/gst/tmpl/gstbasesrc.sgml:
18060 * docs/gst/tmpl/gstbasetransform.sgml:
18061 * docs/gst/tmpl/gstfakesrc.sgml:
18062 * gst/base/gstcollectpads.c:
18063 * gst/base/gstcollectpads.h:
18064 * libs/gst/controller/gst-controller.c:
18065 * libs/gst/controller/gst-controller.h:
18066 * libs/gst/controller/gst-helper.c:
18067 * libs/gst/controller/gst-interpolation.c:
18068 * libs/gst/controller/lib.c:
18069 added long/short desc for controller docs
18070 added collectpads base class docs
18071 added correct includes to base-class docs
18073 2005-08-05 Stefan Kost <ensonic@users.sf.net>
18075 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18076 (gst_test_mono_source_set_property),
18077 (gst_test_mono_source_class_init), (GST_START_TEST),
18078 (gst_controller_suite):
18079 * docs/gst/gstreamer-docs.sgml:
18080 * docs/gst/gstreamer-sections.txt:
18081 * docs/gst/gstreamer.types:
18082 * docs/libs/gstreamer-libs-docs.sgml:
18083 * docs/libs/gstreamer-libs-sections.txt:
18084 * gst/base/gstadapter.c:
18085 * libs/gst/controller/gst-controller.c:
18086 (gst_controlled_property_new), (gst_controlled_property_free),
18087 (gst_controller_new_valist),
18088 (gst_controller_remove_properties_valist),
18089 (gst_controller_sink_values), (_gst_controller_finalize):
18090 * libs/gst/controller/gst-controller.h:
18091 * libs/gst/controller/gst-helper.c:
18092 (gst_object_control_properties), (gst_object_uncontrol_properties),
18093 (gst_object_get_controller), (gst_object_set_controller),
18094 (gst_object_sink_values), (gst_object_get_value_arrays),
18095 (gst_object_get_value_array):
18096 more tests (and fixes) for the controller
18097 more docs for the controller
18098 integrated companies docs for the adapter
18100 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
18102 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
18103 (GST_START_TEST), (fakesrc_suite):
18104 add tests for sizetype
18106 2005-08-04 Andy Wingo <wingo@pobox.com>
18108 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
18109 fixes buffer_alloc proxying among other things.
18111 * gst/base/gstbasetransform.c:
18112 * gst/base/gstbasetransform.h:
18113 Revert patch to gstbasetransform from 7-28 removing
18116 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
18117 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
18118 Semantics changed, should return not the size of the output buffer
18119 but the byte size of a buffer with a given caps.
18121 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
18123 (gst_base_transform_configure_caps): Don't set out_size here: (in,
18124 out) are not the pad caps until setcaps finishes.
18125 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
18126 not-in-place case as well. Deal with changing from in-place to
18127 not-in-place within calling pad_alloc_buffer. Still a bit
18128 concerned about the overhead here...
18130 2005-08-03 Andy Wingo <wingo@pobox.com>
18132 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
18133 fixating is an error.
18135 2005-08-04 Edward Hervey <edward@fluendo.com>
18137 * gst/base/gstadapter.h:
18138 Added gst_adapter_get_type() to the header
18140 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18142 * check/Makefile.am:
18143 * check/gst-libs/controller.c:
18144 * libs/gst/controller/gst-controller.c:
18145 (gst_controller_new_valist):
18146 added check test suite for the controller
18147 * gst/base/gstpushsrc.c:
18150 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18152 * docs/gst/Makefile.am:
18153 * docs/gst/gstreamer-docs.sgml:
18154 * docs/gst/gstreamer-sections.txt:
18155 * docs/gst/gstreamer.types:
18156 * docs/gst/tmpl/gstfakesrc.sgml:
18158 * gst/base/gstbasesink.c:
18159 * gst/base/gstbasesink.h:
18160 * gst/base/gstbasesrc.c:
18161 * gst/base/gstbasesrc.h:
18162 * gst/base/gstbasetransform.c:
18163 * gst/base/gstpushsrc.c:
18164 * gst/base/gstpushsrc.h:
18165 add short/long description docs to base classes
18166 add pushsrc to the docs
18167 remove consolidated doc fragments
18169 2005-08-03 Stefan Kost <ensonic@users.sf.net>
18172 * docs/libs/Makefile.am:
18173 * docs/libs/gstreamer-libs-docs.sgml:
18174 * docs/libs/gstreamer-libs-sections.txt:
18175 * docs/libs/gstreamer-libs.types:
18176 * examples/Makefile.am:
18177 * examples/controller/.cvsignore:
18178 * examples/controller/Makefile.am:
18179 * examples/controller/audio-example.c: (main):
18180 * libs/gst/Makefile.am:
18181 * libs/gst/controller/.cvsignore:
18182 * libs/gst/controller/Makefile.am:
18183 * libs/gst/controller/gst-controller.c:
18184 (on_object_controlled_property_changed), (gst_timed_value_compare),
18185 (gst_timed_value_find),
18186 (gst_controlled_property_set_interpolation_mode),
18187 (gst_controlled_property_new), (gst_controlled_property_free),
18188 (gst_controller_find_controlled_property),
18189 (gst_controller_new_valist), (gst_controller_new),
18190 (gst_controller_remove_properties_valist),
18191 (gst_controller_remove_properties), (gst_controller_set),
18192 (gst_controller_set_from_list), (gst_controller_unset),
18193 (gst_controller_get), (gst_controller_get_all),
18194 (gst_controller_sink_values), (gst_controller_get_value_arrays),
18195 (gst_controller_get_value_array),
18196 (gst_controller_set_interpolation_mode),
18197 (_gst_controller_finalize), (_gst_controller_init),
18198 (_gst_controller_class_init), (gst_controller_get_type):
18199 * libs/gst/controller/gst-controller.h:
18200 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
18201 (g_object_uncontrol_properties), (g_object_get_controller),
18202 (g_object_set_controller), (g_object_sink_values),
18203 (g_object_get_value_arrays), (g_object_get_value_array):
18204 * libs/gst/controller/gst-interpolation.c:
18205 (gst_controlled_property_find_timed_value_node),
18206 (interpolate_none_get), (interpolate_trigger_get),
18207 (interpolate_trigger_get_value_array):
18208 * libs/gst/controller/lib.c: (gst_controller_init):
18209 * pkgconfig/Makefile.am:
18210 * pkgconfig/gstreamer-control-uninstalled.pc.in:
18211 * pkgconfig/gstreamer-control.pc.in:
18212 * testsuite/Makefile.am:
18213 * testsuite/controller/.cvsignore:
18214 * testsuite/controller/Makefile.am:
18215 * testsuite/controller/interpolator.c: (main):
18216 added controller code
18217 removed dparam pc files
18219 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18220 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
18221 (gst_collectpads_stop):
18222 Broadcast the condition when shutting down, to make sure we wake all
18223 threads up. Shut down pads on finalize, for safety.
18225 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
18226 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18227 (gst_base_transform_handle_buffer),
18228 (gst_base_transform_change_state):
18229 Handle PAUSED->READY->PAUSED transition after negotiation
18231 * gst/gstmessage.c: (gst_message_init):
18232 Extra piece of debug for new messages.
18234 2005-08-01 Stefan Kost <ensonic@users.sf.net>
18237 * docs/gst/tmpl/gstbasesrc.sgml:
18238 * docs/gst/tmpl/gstelement.sgml:
18239 * docs/gst/tmpl/gstevent.sgml:
18240 * docs/gst/tmpl/gstfakesrc.sgml:
18241 * docs/gst/tmpl/gstformat.sgml:
18242 * docs/gst/tmpl/gstghostpad.sgml:
18243 * docs/gst/tmpl/gstpad.sgml:
18244 * docs/gst/tmpl/gstquery.sgml:
18245 * docs/gst/tmpl/gststructure.sgml:
18246 * docs/gst/tmpl/gsttaglist.sgml:
18247 * docs/gst/tmpl/gstvalue.sgml:
18248 * docs/libs/gstreamer-libs-docs.sgml:
18249 * docs/libs/gstreamer-libs-sections.txt:
18250 * docs/libs/gstreamer-libs.types:
18251 * libs/gst/Makefile.am:
18252 * libs/gst/control/.cvsignore:
18253 * libs/gst/control/Makefile.am:
18254 * libs/gst/control/control.c:
18255 * libs/gst/control/control.h:
18256 * libs/gst/control/dparam.c:
18257 * libs/gst/control/dparam.h:
18258 * libs/gst/control/dparam_smooth.c:
18259 * libs/gst/control/dparam_smooth.h:
18260 * libs/gst/control/dparamcommon.h:
18261 * libs/gst/control/dparammanager.c:
18262 * libs/gst/control/dparammanager.h:
18263 * libs/gst/control/dplinearinterp.c:
18264 * libs/gst/control/dplinearinterp.h:
18265 * libs/gst/control/unitconvert.c:
18266 * libs/gst/control/unitconvert.h:
18267 * testsuite/Makefile.am:
18268 * testsuite/dynparams/.cvsignore:
18269 * testsuite/dynparams/Makefile.am:
18270 * testsuite/dynparams/dparamstest.c:
18271 * tools/Makefile.am:
18272 * tools/gst-inspect.c: (print_element_info), (main):
18273 * tools/gst-xmlinspect.c: (print_element_info), (main):
18274 deactivate and remove dparams (libgstcontrol)
18276 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18278 * gst/elements/gsttypefindelement.c:
18279 (gst_type_find_element_have_type), (gst_type_find_element_init),
18280 (stop_typefinding), (gst_type_find_element_handle_event),
18281 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18282 * gst/elements/gsttypefindelement.h:
18283 Set caps on all outgoing buffers, not just the first one.
18285 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18287 * gst/elements/gsttypefindelement.c:
18288 (gst_type_find_element_have_type),
18289 (gst_type_find_element_check_set_buffer_caps),
18290 (gst_type_find_element_init), (stop_typefinding),
18291 (gst_type_find_element_handle_event),
18292 (gst_type_find_element_chain), (gst_type_find_element_getrange):
18293 * gst/elements/gsttypefindelement.h:
18294 Set caps on first outgoing buffer when we've found the type.
18296 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
18298 * docs/gst/gstreamer-docs.sgml:
18299 * docs/gst/gstreamer-sections.txt:
18300 * docs/gst/tmpl/gstscheduler.sgml:
18301 * docs/gst/tmpl/gstschedulerfactory.sgml:
18302 Remove some old cruft from docs.
18304 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
18307 Fix inline docs for GstPadLinkReturn.
18309 * gst/gststructure.c: (gst_structure_has_name):
18310 * gst/gststructure.h:
18311 * docs/gst/gstreamer-sections.txt:
18312 New API: gst_structure_has_name().
18314 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
18317 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
18318 and _LARGEFILE_SOURCE in config.h as required. Do not
18319 export those flags in our .pc files any longer (#142209).
18321 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
18323 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
18324 (gst_file_sink_do_seek), (gst_file_sink_event),
18325 (gst_file_sink_get_current_offset), (gst_file_sink_render):
18326 Redo seek/tell calls with large file support in mind; add some
18327 debugging messages; add log message that tells us when large
18328 file support is unavailable or not enabled for some reason.
18330 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
18331 Add log message that tells us when large file support
18332 is unavailable or not enabled for some reason.
18334 2005-07-29 Wim Taymans <wim@fluendo.com>
18336 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18337 Added test for removing an element with ghostpad from a bin.
18338 Fixed test as current implementation does the right thing.
18340 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
18341 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
18342 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
18343 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
18344 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
18345 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
18346 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
18347 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
18348 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
18349 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
18350 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
18351 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
18352 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
18353 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
18354 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
18355 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
18356 * gst/gstghostpad.h:
18357 Clean up ghostpads, remove properties for internal stuff.
18360 Prepare for switching targets, not all use cases work yet.
18362 2005-07-29 Wim Taymans <wim@fluendo.com>
18364 * docs/design/part-gstghostpad.txt:
18367 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18368 (gst_bin_remove_func):
18369 Unlinking pads while holding the bin LOCK is not a good
18372 * gst/gstpad.c: (gst_pad_class_init),
18373 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
18374 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
18375 No prob setting template after creating the pad.
18377 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
18379 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
18380 (gst_bus_peek), (gst_bus_source_dispatch),
18381 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
18382 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
18383 gst_bus_poll may be called from other threads. Handle
18384 this nicely by not making poll_data disappear off the
18385 stack once gst_bus_poll returns.
18386 gst_bus_peek now increments the refcount on the returned
18389 2005-07-29 Wim Taymans <wim@fluendo.com>
18391 * docs/design/part-gstghostpad.txt:
18392 Overview of current GhostPad datastructures and use
18393 cases for changing the target.
18395 2005-07-28 Wim Taymans <wim@fluendo.com>
18397 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18398 Added checks for hierarchy consistency whan adding linked
18401 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18402 Added check to test element scheduling without bin/pipeline.
18404 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18405 First add elements to bin, then link.
18407 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
18408 (gst_bin_remove_func):
18409 Unlink pads from elements added/removed from bin to maintain
18410 hierarchy consistency.
18412 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18414 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18415 (gst_base_transform_handle_buffer):
18416 * gst/base/gstbasetransform.h:
18417 Remove broken delay_configure (fixes renegotiation of software
18418 scaling pipelines); remove some leftover printf()s.
18420 2005-07-28 Wim Taymans <wim@fluendo.com>
18422 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18423 Added some more tests for wrong hierarchy
18425 * docs/design/part-overview.txt:
18428 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
18431 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
18432 (gst_element_dispose):
18433 Some more cleanups.
18435 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18436 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
18437 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18438 (gst_pad_set_caps), (gst_pad_send_event):
18439 Check for correct hierarchy when linking pads. Moving to
18440 strict requirement for ghostpads when linking elements in
18444 Clean ups. Added WRONG_HIERARCHY return value.
18446 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18448 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
18449 Better debug if no transform is possible.
18451 2005-07-27 Wim Taymans <wim@fluendo.com>
18453 * docs/random/wtay/network-transp:
18454 Some old doc I had.
18456 2005-07-27 Wim Taymans <wim@fluendo.com>
18458 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18459 (gst_dp_event_from_packet):
18460 Fix serialization of seek events.
18462 2005-07-27 Wim Taymans <wim@fluendo.com>
18464 * check/gst-libs/gdp.c: (GST_START_TEST):
18465 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18466 Fix compilation and fix event serialization.
18468 2005-07-27 Wim Taymans <wim@fluendo.com>
18471 * docs/design/part-TODO.txt:
18472 * docs/design/part-events.txt:
18475 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18476 (gst_base_sink_event), (gst_base_sink_do_sync),
18477 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18478 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18479 (gst_base_src_do_seek), (gst_base_src_event_handler),
18480 (gst_base_src_loop):
18481 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18482 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18483 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
18484 (gst_base_transform_event), (gst_base_transform_handle_buffer),
18485 (gst_base_transform_set_passthrough),
18486 (gst_base_transform_is_passthrough):
18487 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18488 * gst/elements/gstfilesink.c: (gst_file_sink_event):
18494 * gst/gstelement.c: (gst_element_seek):
18495 * gst/gstelement.h:
18496 Update gst_element_seek.
18498 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
18499 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
18500 (gst_event_new_flush_start), (gst_event_new_flush_stop),
18501 (gst_event_new_eos), (gst_event_new_newsegment),
18502 (gst_event_parse_newsegment), (gst_event_new_tag),
18503 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
18504 (gst_event_parse_qos), (gst_event_new_seek),
18505 (gst_event_parse_seek), (gst_event_new_navigation):
18507 Make GstEvent use GstStructure. Add parsing code, make sure the
18508 API is sufficiently generic.
18509 Mark possible directions of events and serialization.
18511 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
18512 (_gst_message_copy), (gst_message_new_segment_start),
18513 (gst_message_new_segment_done), (gst_message_new_custom),
18514 (gst_message_parse_segment_start),
18515 (gst_message_parse_segment_done):
18518 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18519 (gst_pad_set_caps), (gst_pad_send_event):
18520 Update for new events.
18521 Catch events sent in wrong directions.
18523 * gst/gstqueue.c: (gst_queue_link_src),
18524 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18525 (gst_queue_handle_src_query):
18530 Remove event code from this file.
18532 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18533 (gst_dp_event_from_packet):
18536 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18538 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
18539 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18540 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
18541 Make debugging actually useful.
18543 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18545 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
18546 (gst_pad_fixate_caps):
18547 Implement default fixation once again, so that gst_pad_fixate()
18548 actually does anything at all. This probably needs to be some
18549 sort of a last resort, and use profile-based fixation first, but
18550 since that doesn't exist yet, this is the best we have. Fixes
18551 visualization in Totem.
18553 2005-07-22 Wim Taymans <wim@fluendo.com>
18555 * docs/design/part-events.txt:
18558 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18559 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
18560 (gst_base_sink_activate_pull):
18561 Some more comments.
18563 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
18564 (gst_fake_src_create):
18565 Fix handoff marshall.
18567 * gst/elements/gstidentity.c: (gst_identity_class_init),
18568 (gst_identity_transform_ip):
18569 We're a real inplace element.
18571 * gst/gstbus.c: (gst_bus_post):
18572 Added some comments.
18574 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
18575 * tests/muxing/case1.c: (main):
18576 * tests/sched/dynamic-pipeline.c: (main):
18577 * tests/sched/interrupt1.c: (main):
18578 * tests/sched/interrupt2.c: (main):
18579 * tests/sched/interrupt3.c: (main):
18580 * tests/sched/runxml.c: (main):
18581 * tests/sched/sched-stress.c: (main):
18582 * tests/seeking/seeking1.c: (event_received), (main):
18583 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18585 * tests/threadstate/threadstate3.c: (main):
18586 * tests/threadstate/threadstate4.c: (main):
18587 * tests/threadstate/threadstate5.c: (main):
18590 2005-07-21 Wim Taymans <wim@fluendo.com>
18592 * docs/design/part-seeking.txt:
18593 Some small additions.
18595 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18596 (gst_base_sink_get_times), (gst_base_sink_do_sync),
18597 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
18598 * gst/base/gstbasesink.h:
18599 discont values are gint64, handle the math correctly.
18601 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18602 Make the basesrc report error if the source pad is not linked.
18604 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18605 (gst_queue_loop), (gst_queue_handle_src_query),
18606 (gst_queue_src_activate_push):
18607 Make queue collect data even if the srcpad is not linked.
18608 Start pushing out data as soon as it is linked.
18610 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
18612 Added gst_flow_get_name() to ease error reporting.
18614 2005-07-20 Wim Taymans <wim@fluendo.com>
18616 * gst/gstmessage.c: (gst_message_new_segment_start),
18617 (gst_message_new_segment_done), (gst_message_parse_segment_start),
18618 (gst_message_parse_segment_done):
18619 * gst/gstmessage.h:
18620 Added a bunch of messages for advanced seeking.
18622 * gst/parse/grammar.y:
18623 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
18624 (gst_dpman_state_changed):
18625 Fix some new-pad -> pad-added signals
18627 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18629 * docs/manual/appendix-porting.xml:
18630 * docs/pwg/appendix-porting.xml:
18631 Document new-pad/state-change signal renames and the FixedList
18634 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18636 * docs/manual/advanced-autoplugging.xml:
18637 * docs/manual/basics-helloworld.xml:
18638 * docs/manual/basics-pads.xml:
18639 * docs/random/ds/0.9-suggested-changes:
18640 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
18641 * gst/gstelement.h:
18645 * gst/gststructure.c: (gst_structure_value_get_generic_type),
18646 (gst_structure_parse_array), (gst_structure_parse_value):
18647 * gst/gstvalue.c: (gst_type_is_fixed),
18648 (gst_value_list_prepend_value), (gst_value_list_append_value),
18649 (gst_value_list_get_size), (gst_value_list_get_value),
18650 (gst_value_transform_array_string), (gst_value_serialize_array),
18651 (gst_value_deserialize_array), (gst_value_intersect_array),
18652 (gst_value_is_fixed), (_gst_value_initialize):
18654 GstElement::new-pad -> pad-added, GstElement::state-change ->
18655 state-changed, GstValueFixedList -> GstValueArray, add format and
18656 flags as their own arguments in gst_element_seek() (should improve
18657 "bindeability"), remove function generators since they don't work
18658 under a whole bunch of compilers (they were deprecated already
18661 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18663 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18664 (_gst_debug_register_funcptr):
18666 Fix illegal cast on some platforms (#309253).
18668 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18670 * gst/gstmessage.c: (gst_message_new_custom):
18671 * gst/gstmessage.h:
18672 Add _new_custom, make _new_application a macro to _new_custom.
18674 2005-07-20 Wim Taymans <wim@fluendo.com>
18676 * gst/base/gstbasesrc.c: (gst_base_src_init),
18677 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18678 * gst/base/gstbasesrc.h:
18679 Add a gboolean to decide when to push out a discont.
18681 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18682 (gst_queue_loop), (gst_queue_handle_src_query),
18683 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
18684 (gst_queue_set_property), (gst_queue_get_property):
18687 * tests/threadstate/threadstate1.c: (main):
18688 Make a thread test compile and run... very silly..
18691 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18693 * docs/manual/appendix-porting.xml:
18694 Mention removal of libgstgconf-0.9.la and existence of gconf
18697 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18699 * docs/pwg/advanced-clock.xml:
18700 * docs/pwg/appendix-porting.xml:
18701 * docs/pwg/intro-preface.xml:
18702 * docs/pwg/other-base.xml:
18703 * docs/pwg/other-manager.xml:
18704 * docs/pwg/other-nton.xml:
18705 * docs/pwg/other-ntoone.xml:
18706 * docs/pwg/other-oneton.xml:
18707 * docs/pwg/pwg.xml:
18708 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
18709 demuxer), remove n-to-n (was never written), fix some code examples
18710 and links and update the porting section to include all this.
18712 2005-07-19 Wim Taymans <wim@fluendo.com>
18714 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
18715 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
18716 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
18717 (gst_queue_src_activate_push), (gst_queue_change_state),
18718 (gst_queue_get_property):
18720 Propagate GstFlowReturn more intelligently upstream and output
18721 an ERROR/EOS when streaming stopped due to fatal error.
18723 2005-07-19 Wim Taymans <wim@fluendo.com>
18725 * tools/gst-launch.c: (check_intr), (event_loop), (main):
18726 Don't block forever for the state change to complete, the
18727 pipeline already did with a sensible timeout.
18729 2005-07-19 Wim Taymans <wim@fluendo.com>
18731 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18732 Make sure we never call the create function is we
18735 2005-07-19 Andy Wingo <wingo@pobox.com>
18737 * gst/parse/parse.l: Attempt to solve bug #172815.
18739 2005-07-19 Wim Taymans <wim@fluendo.com>
18741 * docs/design/part-clocks.txt:
18742 * docs/design/part-events.txt:
18743 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
18744 Small docs updates.
18745 Only update the seeking values when we are not
18748 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18750 * gst/base/gstbasesrc.c: (gst_base_src_loop):
18751 Oops, ignore the result of gst_pad_push_event here.
18753 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
18755 * gst/base/gstbasesrc.c: (gst_base_src_loop),
18756 (gst_base_src_activate_push):
18757 Send discont event from the loop function, as pads
18758 aren't activated yet in the activate_push handler.
18760 * gst/gstbin.c: (bin_bus_handler):
18761 Don't leak element name.
18763 2005-07-18 Andy Wingo <wingo@pobox.com>
18765 * configure.ac: Use AS_LIBTOOL_TAGS.
18767 2005-07-18 Wim Taymans <wim@fluendo.com>
18769 * docs/gst/gstreamer.types:
18770 Remove deleted types.
18772 2005-07-18 Wim Taymans <wim@fluendo.com>
18774 * check/elements/gstfakesrc.c: (GST_START_TEST):
18777 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
18778 (init_popt_callback):
18780 * gst/gst_private.h:
18781 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
18782 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
18785 * gst/gstconfig.h.in:
18786 * gst/gstelement.c: (gst_element_class_init),
18787 (gst_element_set_base_time), (gst_element_get_base_time),
18788 (iterator_fold_with_resync), (gst_element_change_state),
18789 (gst_element_dispose), (gst_element_get_bus):
18790 * gst/gstelement.h:
18791 * gst/gstelementfactory.h:
18792 * gst/gsterror.c: (_gst_core_errors_init):
18795 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18797 * gst/gstinfo.c: (_gst_debug_init):
18798 * gst/gstmessage.c: (_gst_message_copy):
18799 * gst/gstmessage.h:
18800 * gst/gstminiobject.h:
18803 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
18804 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
18807 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
18808 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18809 (gst_pipeline_get_last_stream_time):
18810 * gst/gstpipeline.h:
18811 * gst/gstpluginfeature.h:
18813 * gst/gstscheduler.c:
18814 * gst/gstscheduler.h:
18815 * gst/gststructure.h:
18816 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18817 (gst_task_finalize), (gst_task_func), (gst_task_create),
18818 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
18819 (gst_task_stop), (gst_task_pause):
18821 * gst/gsttypefind.h:
18823 * gst/registries/gstlibxmlregistry.c: (load_feature),
18824 (gst_xml_registry_load), (gst_xml_registry_save_feature):
18825 * gst/registries/gstxmlregistry.c:
18826 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
18827 * gst/schedulers/threadscheduler.c:
18828 * libs/gst/control/dparammanager.h:
18829 * tools/gst-inspect.c: (print_element_list),
18830 (print_plugin_features), (print_element_features):
18831 * tools/gst-xmlinspect.c: (print_element_list),
18832 (print_plugin_info), (main):
18833 Removed plugable schedulers.
18834 Removed Scheduler/Manager from elements.
18835 Removed gsttypes.h, rearranged includes.
18836 Removed dependency pad<->element, element<>pipeline, and
18837 various others, fix includes.
18838 implement gst_pad_get_parent() with gst_object_get_parent()
18839 Make GstTask sefcontained.
18840 Fix _get_state() on GstBin, it did not return ASYNC with a 0
18842 Fix endless loop in iterator_fold_with_resync.
18845 2005-07-18 Wim Taymans <wim@fluendo.com>
18851 2005-07-18 Wim Taymans <wim@fluendo.com>
18854 No more cothreads.h
18856 2005-07-18 Wim Taymans <wim@fluendo.com>
18860 Let's remove these.
18862 2005-07-18 Wim Taymans <wim@fluendo.com>
18864 * docs/design/part-dynamic.txt:
18865 * docs/design/part-events.txt:
18866 * docs/design/part-seeking.txt:
18867 Some more docs in the works.
18869 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
18870 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
18871 (gst_base_transform_setcaps), (gst_base_transform_get_size),
18872 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18873 (gst_base_transform_handle_buffer),
18874 (gst_base_transform_sink_activate_push),
18875 (gst_base_transform_src_activate_pull),
18876 (gst_base_transform_set_passthrough),
18877 (gst_base_transform_is_passthrough):
18880 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
18883 * gst/gstevent.c: (gst_event_finalize):
18886 * gst/gstutils.c: (gst_element_unlink),
18887 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
18888 (gst_pad_proxy_setcaps):
18890 Add _get_parent_element() to get a pads parent as an element.
18892 2005-07-18 Wim Taymans <wim@fluendo.com>
18894 * check/gst/gstbin.c: (GST_START_TEST):
18897 2005-07-18 Wim Taymans <wim@fluendo.com>
18899 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
18900 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
18901 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
18902 (gst_base_sink_event), (gst_base_sink_do_sync),
18903 (gst_base_sink_chain), (gst_base_sink_loop),
18904 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
18905 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18907 Fix logic for returning ASYNC when not prerolled.
18909 2005-07-18 Wim Taymans <wim@fluendo.com>
18911 * gst/gstqueue.c: (gst_queue_handle_sink_event):
18912 Fix nasty refcount bug.
18914 2005-07-16 Philippe Khalaf <burger@speedy.org>
18916 * gst/elements/gstfdsrc.c:
18917 * gst/elements/gstfdsrc.h:
18918 * gst/elements/gstelements.c:
18919 * gst/elements/Makefile.am:
18920 Ported fdsrc to 0.9.
18922 2005-07-16 Wim Taymans <wim@fluendo.com>
18924 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18925 (gst_base_sink_do_sync):
18928 2005-07-16 Wim Taymans <wim@fluendo.com>
18930 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18931 (gst_base_sink_event), (gst_base_sink_get_times),
18932 (gst_base_sink_do_sync), (gst_base_sink_change_state):
18933 * gst/base/gstbasesink.h:
18934 Store and use discont values when syncing buffers as described
18937 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
18938 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
18939 (gst_base_src_activate_push):
18940 Push discont event when starting.
18942 * gst/elements/gstidentity.c: (gst_identity_transform):
18945 * gst/gstbin.c: (gst_bin_change_state):
18946 Small cleanups in base_time distribution.
18948 * gst/gstelement.c: (gst_element_set_base_time),
18949 (gst_element_get_base_time), (gst_element_change_state):
18950 * gst/gstelement.h:
18951 Added methods for the base_time of the element.
18954 * gst/gstpipeline.c: (gst_pipeline_send_event),
18955 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
18956 (gst_pipeline_get_last_stream_time):
18957 * gst/gstpipeline.h:
18959 Handle seeking as described in design doc, remove stream_time
18961 Cleanups clock and stream_time selection code. Added accessors
18962 for the stream_time.
18965 2005-07-16 Andy Wingo <wingo@pobox.com>
18967 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
18970 2005-07-16 Wim Taymans <wim@fluendo.com>
18972 * check/gst/gstbin.c: (GST_START_TEST):
18973 Make elements silent as the deep_notify refs the
18974 parent, which might make the test fail.
18976 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
18977 Don't hold the lock for too long.
18979 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
18981 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18982 Don't unref the caps we passed to gst_caps_make_writable() after
18983 passing them. gst_caps_make_writable() will do that for us.
18985 2005-07-15 Andy Wingo <wingo@pobox.com>
18987 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
18990 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
18991 own marshalling function for the handoff signal. Properly type the
18992 buffer as a buffer. Fixes some warnings. Should do a more general
18994 (gst_identity_class_init): Plug into the right marshaller.
18996 2005-07-15 Wim Taymans <wim@fluendo.com>
18998 * docs/design/part-TODO.txt:
18999 * docs/design/part-clocks.txt:
19000 * docs/design/part-element-sink.txt:
19001 * docs/design/part-events.txt:
19002 * docs/design/part-gstpipeline.txt:
19003 Updated docs, mostly DISCONT related.
19005 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
19007 * docs/pwg/building-pads.xml:
19008 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
19010 2005-07-15 Andy Wingo <wingo@pobox.com>
19012 * tools/gst-typefind.c: Update, add copyright block.
19014 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
19015 Normalize and truncate caps before fixation.
19018 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
19019 discards all but the first structure from its argument.
19021 2005-07-15 Wim Taymans <wim@fluendo.com>
19023 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19024 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
19025 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19026 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19027 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
19028 (gst_base_transform_chain), (gst_base_transform_change_state),
19029 (gst_base_transform_set_passthrough),
19030 (gst_base_transform_is_passthrough):
19031 * gst/base/gstbasetransform.h:
19032 Make passthrough work using the bufferpools.
19033 Changed API a bit, subclasses have to write into a buffer
19034 provided by the base class.
19035 More debug info in nego functions.
19037 * gst/elements/gstidentity.c: (gst_identity_init),
19038 (gst_identity_transform):
19039 Port to new base class.
19041 2005-07-15 Wim Taymans <wim@fluendo.com>
19043 * gst/gstmessage.c: (gst_message_new_state_changed):
19044 * tools/gst-launch.c: (event_loop), (main):
19045 Totally dump messages in -launch with the -m option.
19046 Fix message name for State messages,
19048 2005-07-14 Wim Taymans <wim@fluendo.com>
19050 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19051 Post error messages on errors.
19053 2005-07-14 Wim Taymans <wim@fluendo.com>
19055 * gst/gstcaps.c: (gst_caps_do_simplify):
19059 Define error for stream stopped.
19061 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
19062 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
19063 Do proper return values.
19065 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
19066 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
19067 (gst_pad_get_range):
19068 Better return values.
19071 Reorganise return values, add macro to check for fatal errors.
19073 * gst/gstqueue.c: (gst_queue_chain):
19074 Return proper GstFlowReturn values,
19076 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
19078 * docs/gst/gstreamer-sections.txt:
19079 * docs/gst/gstreamer.types:
19080 * docs/gst/tmpl/gst.sgml:
19081 * docs/gst/tmpl/gstbasesink.sgml:
19082 * docs/gst/tmpl/gstbasesrc.sgml:
19083 * docs/gst/tmpl/gstbasetransform.sgml:
19084 * docs/gst/tmpl/gstbin.sgml:
19085 * docs/gst/tmpl/gstbuffer.sgml:
19086 * docs/gst/tmpl/gstcaps.sgml:
19087 * docs/gst/tmpl/gstclock.sgml:
19088 * docs/gst/tmpl/gstcompat.sgml:
19089 * docs/gst/tmpl/gstconfig.sgml:
19090 * docs/gst/tmpl/gstelement.sgml:
19091 * docs/gst/tmpl/gstelementdetails.sgml:
19092 * docs/gst/tmpl/gstelementfactory.sgml:
19093 * docs/gst/tmpl/gstenumtypes.sgml:
19094 * docs/gst/tmpl/gsterror.sgml:
19095 * docs/gst/tmpl/gstevent.sgml:
19096 * docs/gst/tmpl/gstfakesink.sgml:
19097 * docs/gst/tmpl/gstfakesrc.sgml:
19098 * docs/gst/tmpl/gstfilesink.sgml:
19099 * docs/gst/tmpl/gstfilesrc.sgml:
19100 * docs/gst/tmpl/gstfilter.sgml:
19101 * docs/gst/tmpl/gstformat.sgml:
19102 * docs/gst/tmpl/gstghostpad.sgml:
19103 * docs/gst/tmpl/gstimplementsinterface.sgml:
19104 * docs/gst/tmpl/gstindex.sgml:
19105 * docs/gst/tmpl/gstindexfactory.sgml:
19106 * docs/gst/tmpl/gstinfo.sgml:
19107 * docs/gst/tmpl/gstiterator.sgml:
19108 * docs/gst/tmpl/gstmacros.sgml:
19109 * docs/gst/tmpl/gstmemchunk.sgml:
19110 * docs/gst/tmpl/gstminiobject.sgml:
19111 * docs/gst/tmpl/gstobject.sgml:
19112 * docs/gst/tmpl/gstpad.sgml:
19113 * docs/gst/tmpl/gstpadtemplate.sgml:
19114 * docs/gst/tmpl/gstparse.sgml:
19115 * docs/gst/tmpl/gstpipeline.sgml:
19116 * docs/gst/tmpl/gstplugin.sgml:
19117 * docs/gst/tmpl/gstpluginfeature.sgml:
19118 * docs/gst/tmpl/gstquery.sgml:
19119 * docs/gst/tmpl/gstqueue.sgml:
19120 * docs/gst/tmpl/gstregistry.sgml:
19121 * docs/gst/tmpl/gstregistrypool.sgml:
19122 * docs/gst/tmpl/gstscheduler.sgml:
19123 * docs/gst/tmpl/gstschedulerfactory.sgml:
19124 * docs/gst/tmpl/gststructure.sgml:
19125 * docs/gst/tmpl/gstsystemclock.sgml:
19126 * docs/gst/tmpl/gsttaglist.sgml:
19127 * docs/gst/tmpl/gsttagsetter.sgml:
19128 * docs/gst/tmpl/gsttrace.sgml:
19129 * docs/gst/tmpl/gsttrashstack.sgml:
19130 * docs/gst/tmpl/gsttypefind.sgml:
19131 * docs/gst/tmpl/gsttypefindfactory.sgml:
19132 * docs/gst/tmpl/gsttypes.sgml:
19133 * docs/gst/tmpl/gsturihandler.sgml:
19134 * docs/gst/tmpl/gsturitype.sgml:
19135 * docs/gst/tmpl/gstutils.sgml:
19136 * docs/gst/tmpl/gstvalue.sgml:
19137 * docs/gst/tmpl/gstversion.sgml:
19138 * docs/gst/tmpl/gstxml.sgml:
19139 * docs/libs/tmpl/gstcontrol.sgml:
19140 * docs/libs/tmpl/gstdataprotocol.sgml:
19141 * docs/libs/tmpl/gstdparam.sgml:
19142 * docs/libs/tmpl/gstdplinint.sgml:
19143 * docs/libs/tmpl/gstdpman.sgml:
19144 * docs/libs/tmpl/gstdpsmooth.sgml:
19145 * docs/libs/tmpl/gstgetbits.sgml:
19146 * docs/libs/tmpl/gstunitconvert.sgml:
19147 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
19148 (gst_push_src_base_init), (gst_push_src_class_init),
19149 (gst_push_src_init), (gst_push_src_create):
19150 * gst/base/gstpushsrc.h:
19151 * gst/elements/gstelements.c:
19152 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
19153 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
19154 (gst_fake_sink_init), (gst_fake_sink_set_property),
19155 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
19156 (gst_fake_sink_event), (gst_fake_sink_preroll),
19157 (gst_fake_sink_render), (gst_fake_sink_change_state):
19158 * gst/elements/gstfakesink.h:
19159 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19160 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19161 (gst_fake_src_base_init), (gst_fake_src_class_init),
19162 (gst_fake_src_init), (gst_fake_src_event_handler),
19163 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
19164 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
19165 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
19166 (gst_fake_src_create_buffer), (gst_fake_src_create),
19167 (gst_fake_src_start), (gst_fake_src_stop):
19168 * gst/elements/gstfakesrc.h:
19169 * gst/elements/gstfilesink.c: (_do_init),
19170 (gst_file_sink_base_init), (gst_file_sink_class_init),
19171 (gst_file_sink_init), (gst_file_sink_dispose),
19172 (gst_file_sink_set_location), (gst_file_sink_set_property),
19173 (gst_file_sink_get_property), (gst_file_sink_open_file),
19174 (gst_file_sink_close_file), (gst_file_sink_query),
19175 (gst_file_sink_event), (gst_file_sink_render),
19176 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
19177 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
19178 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
19179 * gst/elements/gstfilesink.h:
19180 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
19181 (gst_file_src_class_init), (gst_file_src_init),
19182 (gst_file_src_finalize), (gst_file_src_set_location),
19183 (gst_file_src_set_property), (gst_file_src_get_property),
19184 (gst_file_src_map_region), (gst_file_src_map_small_region),
19185 (gst_file_src_create_mmap), (gst_file_src_create_read),
19186 (gst_file_src_create), (gst_file_src_is_seekable),
19187 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
19188 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
19189 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
19190 (gst_file_src_uri_handler_init):
19191 * gst/elements/gstfilesrc.h:
19192 more autistic cleanliness in functions/names/defines
19194 2005-07-13 Andy Wingo <wingo@pobox.com>
19196 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
19197 source couldn't negotiate.
19199 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
19203 * gst/gstutils.c (gst_element_link_pads_filtered): New old
19204 function. I am channeling Hades. Put your boots on suckers!!!
19206 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
19208 * testsuite/caps/Makefile.am:
19209 * testsuite/caps/value_compare.c:
19210 * testsuite/caps/value_intersect.c:
19211 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19212 move two testsuite apps over to the check dir
19214 2005-07-12 Wim Taymans <wim@fluendo.com>
19216 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
19217 Added more debug info in the negotiate process.
19219 * gst/gstmessage.h:
19220 Prepare for segment playback.
19222 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
19228 * tools/gst-launch.c: (main):
19229 NULL pipeline on errors.
19231 2005-07-12 Andy Wingo <wingo@pobox.com>
19233 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
19234 not it comes from a malloc region. Make sure our copy gets freed.
19236 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19238 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19239 * check/gst/gstmessage.c: (GST_START_TEST):
19240 * check/gst/gststructure.c: (GST_START_TEST),
19241 (gst_structure_suite), (main):
19243 * gst/gstelement.c: (gst_element_message_full):
19244 clean up GError and debug string now that they get copied
19245 * gst/gstmessage.c: (gst_message_new_error),
19246 (gst_message_new_warning), (gst_message_parse_error),
19247 (gst_message_parse_warning):
19248 use GST_TYPE_G_ERROR for structure_new, and take copies of
19249 arguments, so that we don't mess up refcounting
19251 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19253 * check/Makefile.am:
19254 add per-test valgrind targets
19255 * check/gst-libs/gdp.c: (GST_START_TEST),
19256 (gst_data_protocol_suite), (main):
19259 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
19261 * check/Makefile.am:
19262 instate more valgrindable tests
19263 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19264 (GST_START_TEST), (fakesrc_suite):
19265 * check/gst/gstpad.c: (GST_START_TEST):
19266 * check/gst/gststructure.c: (GST_START_TEST):
19268 * docs/gst/tmpl/gstminiobject.sgml:
19269 * gst/gstpad.c: (gst_pad_finalize):
19270 fix the static mutex leak
19272 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19274 * check/Makefile.am:
19275 add two more tests for valgrinding
19276 * check/gst/gstvalue.c: (GST_START_TEST):
19277 test refcount of deserialized buffer, found a leak
19278 * docs/gst/gstreamer-docs.sgml:
19279 * docs/gst/gstreamer-sections.txt:
19280 * docs/gst/gstreamer.types:
19281 * docs/gst/tmpl/gstminiobject.sgml:
19282 add miniobject to docs
19283 * gst/gstminiobject.c:
19285 * gst/gstvalue.c: (gst_value_deserialize_buffer),
19286 (gst_string_unwrap):
19287 fix a hard-to-find invalid write for one of the tests
19288 fix a leak for deserialized buffers
19290 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19292 * docs/pwg/advanced-events.xml:
19293 * docs/pwg/advanced-request.xml:
19294 * docs/pwg/advanced-scheduling.xml:
19295 * docs/pwg/appendix-porting.xml:
19296 * docs/pwg/building-boiler.xml:
19297 * docs/pwg/intro-preface.xml:
19298 * docs/pwg/other-ntoone.xml:
19299 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
19300 of example code and explanation for pad activation, loop() and
19301 getrange() functions and a bit more. Remove old comments pointing
19303 * examples/pwg/Makefile.am:
19304 Add loop/getrange examples.
19306 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19309 check for valgrind binary + some fixes
19311 valgrind suppressions for the tests
19312 * check/Makefile.am:
19313 add a valgrind: target that valgrinds the unit tests
19314 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
19315 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19316 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19317 * check/gst/gstghostpad.c:
19319 * check/gst/gstdata.c:
19321 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
19322 (thread_unref), (gst_mini_object_suite), (main):
19324 * gst/gst.c: (gst_deinit):
19326 add a method to clean up.
19327 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19328 (gst_system_clock_obtain):
19329 allow for disposing the system clock.
19330 * tools/gst-launch.c: (main):
19333 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
19335 * docs/gst/tmpl/gstbasesrc.sgml:
19336 * docs/gst/tmpl/gstfakesrc.sgml:
19337 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19338 (gst_base_src_init), (gst_base_src_set_property),
19339 (gst_base_src_get_property), (gst_base_src_get_range),
19340 (gst_base_src_start):
19341 * gst/base/gstbasesrc.h:
19342 add num-buffers property
19343 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19344 (gst_fakesrc_init), (gst_fakesrc_set_property),
19345 (gst_fakesrc_get_property), (gst_fakesrc_create),
19346 (gst_fakesrc_start):
19347 remove num-buffers property
19349 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19351 * docs/gst/gstreamer-sections.txt:
19352 * docs/gst/tmpl/gstbasesink.sgml:
19353 * docs/gst/tmpl/gstbasesrc.sgml:
19354 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
19355 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
19356 (gst_base_sink_finalize), (gst_base_sink_set_clock),
19357 (gst_base_sink_set_property), (gst_base_sink_get_property),
19358 (gst_base_sink_handle_object), (gst_base_sink_event),
19359 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19360 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
19361 (gst_base_sink_loop), (gst_base_sink_deactivate),
19362 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
19363 (gst_base_sink_change_state):
19364 * gst/base/gstbasesink.h:
19365 * gst/base/gstbasesrc.h:
19366 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
19367 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
19368 (gst_filesink_init):
19369 more macro splitting
19371 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19373 * gst/gstelement.c: (gst_element_get_bus):
19375 * tools/gst-launch.c: (check_intr), (event_loop):
19378 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19380 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
19383 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
19385 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19386 (gst_base_src_finalize):
19387 add finalize method and clean up properly
19388 * gst/gstpipeline.c: (gst_pipeline_dispose):
19391 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19393 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
19395 add more things to check
19396 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19397 * gst/gstelement.c:
19400 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19402 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19403 (GST_START_TEST), (fakesrc_suite):
19404 * check/gst-libs/gdp.c: (GST_START_TEST):
19405 * check/gst/gst.c: (GST_START_TEST):
19406 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19407 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19408 * check/gst/gstbus.c: (GST_START_TEST):
19409 * check/gst/gstcaps.c: (GST_START_TEST):
19410 * check/gst/gstdata.c: (GST_START_TEST):
19411 * check/gst/gstelement.c: (GST_START_TEST):
19412 * check/gst/gstghostpad.c: (GST_START_TEST):
19413 * check/gst/gstiterator.c: (GST_START_TEST):
19414 * check/gst/gstmessage.c: (GST_START_TEST):
19415 * check/gst/gstobject.c: (GST_START_TEST):
19416 * check/gst/gstpad.c: (GST_START_TEST):
19417 * check/gst/gststructure.c: (GST_START_TEST):
19418 * check/gst/gstsystemclock.c: (GST_START_TEST),
19419 (gst_systemclock_suite):
19420 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19421 * check/gst/gstvalue.c: (GST_START_TEST):
19422 * check/pipelines/cleanup.c: (GST_START_TEST):
19423 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19424 * check/states/sinks.c: (GST_START_TEST):
19425 * check/gstcheck.c: (gst_check_init):
19426 * check/gstcheck.h:
19427 add debugging category
19428 use GST_START_TEST now, so we add a debug line
19430 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
19432 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
19433 add test for state change message on a bin
19434 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
19436 * gst/gstbin.c: (gst_bin_init):
19437 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
19438 * gst/gstelement.c: (gst_element_post_message),
19439 (gst_element_set_state):
19440 * gst/gstelementfactory.c: (gst_element_factory_create):
19441 * gst/gstmessage.c: (gst_message_new):
19442 * gst/gstscheduler.c:
19443 various debugging additions and cleanups
19445 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19447 * check/Makefile.am:
19448 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
19450 adding tests for elements
19451 * gst/gstelement.c: (gst_element_dispose):
19453 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19455 * gst/registries/gstlibxmlregistry.c: (load_feature):
19456 plug more leaks. A simple gst_init() now is leakfree, yay.
19458 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19460 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
19461 (gst_xml_registry_load):
19462 plug another memleak
19464 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19467 use GST_SET_ERROR_CFLAGS
19468 * docs/faq/cvs.xml:
19469 change to ERROR_CFLAGS
19471 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
19474 make GST_ERROR_CFLAGS overridable and re-enable Werror
19475 * docs/faq/cvs.xml:
19476 add a note about error CFLAGS
19477 * docs/gst/tmpl/gstfakesrc.sgml:
19478 * gst/elements/gstfakesrc.c:
19479 comment out some unused code
19480 * gst/gst.c: (split_and_iterate):
19481 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
19485 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19487 * common/Makefile.am:
19488 * common/gtk-doc.mak:
19489 * docs/gst/Makefile.am:
19490 factor out gtk-doc.mak
19492 2005-07-07 Wim Taymans <wim@fluendo.com>
19494 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
19495 (gst_thread_scheduler_dispose):
19496 Unlock the STREAM_LOCK completely.
19498 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
19500 * check/Makefile.am:
19501 * check/elements/.cvsignore:
19502 * check/elements/gstfakesrc.c: (chain_func), (event_func),
19503 (START_TEST), (fakesrc_suite), (main):
19504 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19505 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19506 (gst_fakesrc_create), (gst_fakesrc_start):
19507 * gst/elements/gstfakesrc.h:
19508 adding a first element test
19510 2005-07-07 Andy Wingo <wingo@pobox.com>
19512 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
19515 2005-07-07 Wim Taymans <wim@fluendo.com>
19521 2005-07-07 Wim Taymans <wim@fluendo.com>
19523 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19524 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
19525 Allow subclasses to implement their own negotiation.
19527 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19529 * docs/design/part-gstbin.txt:
19530 * docs/design/part-gstpipeline.txt:
19531 Update design notes to reflect the movement of
19532 responsibility for bus handling from GstPipeline to
19535 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19538 Remove unnecessary queue2/3/4 examples.
19540 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
19542 * examples/Makefile.am:
19543 * examples/helloworld/helloworld.c: (event_loop), (main):
19544 * examples/queue/queue.c: (event_loop), (main):
19545 * examples/queue2/queue2.c: (main):
19546 Update a couple of the examples to work again.
19548 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19549 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
19550 Spelling corrections and extra debug.
19552 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
19553 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
19554 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
19556 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
19557 (gst_pipeline_change_state):
19558 * gst/gstpipeline.h:
19559 Move the bus handler for children to the GstBin, and create a
19560 separate bus for receiving messages from children to the one the
19561 bus sends 'upwards' on.
19563 2005-07-06 Wim Taymans <wim@fluendo.com>
19566 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19567 (gst_base_sink_handle_object), (gst_base_sink_loop),
19568 (gst_base_sink_change_state):
19569 * gst/base/gstbasesink.h:
19570 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19571 (gst_base_src_init), (gst_base_src_setcaps),
19572 (gst_base_src_getcaps), (gst_base_src_loop),
19573 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
19574 (gst_base_src_start), (gst_base_src_change_state):
19575 * gst/base/gstbasesrc.h:
19576 Make basesrc negotiate.
19577 Handle the case where preroll fails in basesink.
19580 2005-07-06 Wim Taymans <wim@fluendo.com>
19582 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
19583 Implement the fixate function.
19584 Clean up acceptcaps.
19586 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19588 * docs/pwg/building-filterfactory.xml:
19589 * docs/pwg/pwg.xml:
19590 Remove never-written filter-factory chapter; I'll add the various
19591 base classes to part 4 ("other element types") later on.
19593 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19595 * docs/pwg/advanced-negotiation.xml:
19596 * docs/pwg/building-boiler.xml:
19597 * docs/pwg/building-pads.xml:
19598 * docs/pwg/pwg.xml:
19599 * examples/pwg/Makefile.am:
19600 Add a chapter on caps negotiation, simplify the original code
19601 samples a bit w.r.t. caps negotiation, add link to the advanced
19602 section. Add a bunch of examples showing different use cases of
19603 different types of caps negotiation. Upstream renegotiation isn't
19604 fully documented yet since nobody knows how that works.
19606 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
19608 * check/gst/gstpad.c:
19609 * check/gstcheck.c:
19610 * gst/gstpad.c: (gst_pad_get_internal_links_default):
19611 if pad has no parent, return NULL as list of internal links
19613 2005-07-05 Andy Wingo <wingo@pobox.com>
19615 * gst/elements/gstfilesrc.c:
19616 * gst/elements/gstfakesrc.c:
19617 * gst/base/gstpushsrc.c:
19618 * gst/base/gstbasesrc.h:
19619 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
19621 2005-07-05 Stefan Kost <ensonic@users.sf.net>
19624 better report generation target (lcov needs a patch)
19626 2005-07-05 Andy Wingo <wingo@pobox.com>
19628 * gst/elements, testsuite: Null if we got it...
19630 2005-07-05 Wim Taymans <wim@fluendo.com>
19633 * libs/gst/dataprotocol/Makefile.am:
19634 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
19635 * libs/gst/dataprotocol/dataprotocol.h:
19636 * pkgconfig/Makefile.am:
19637 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
19638 * pkgconfig/gstreamer-dataprotocol.pc.in:
19639 Ported dataprotol to 0.9.
19640 Added pkgconfig files.
19642 2005-07-05 Andy Wingo <wingo@pobox.com>
19644 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
19645 Default to returning TRUE for the case when tranform_caps returns
19646 a fixed caps, like for identity or volume.
19648 * check/gst/gstbus.c (pound_bus_with_messages):
19649 * check/gst/gstmessage.c (START_TEST):
19650 * check/pipelines/simple_launch_lines.c (got_handoff): Application
19651 message API change.
19653 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
19654 logic weaks here: always run transform_caps, trying passthrough
19655 operation only if the original caps intersects with the transform.
19657 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
19658 source and sink caps.
19660 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
19661 Intersect the peer caps with the pad template before going into
19663 (gst_base_transform_transform_caps): More debugging.
19665 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
19668 2005-07-04 Edward Hervey <edward@fluendo.com>
19672 (gst_pad_add_*_probe): now returns the signal id for better wrapping
19675 2005-07-04 Andy Wingo <wingo@pobox.com>
19677 * check/gst/gstpad.c: Only set explicit caps on pads.
19679 2005-07-01 Andy Wingo <wingo@pobox.com>
19681 * tests/network-clock.scm: Commentary update.
19683 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
19684 Didn't really make sense, not implementable with basetransform,
19686 (gst_identity_transform): Unref inbuf via make_writable. Feeble
19687 attempt at implementing the sync property, needs an unlock method.
19689 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
19690 New func, by default returns the same caps (the identity
19692 (gst_base_transform_getcaps): Uses transform_caps to return
19693 something sensible.
19694 (gst_base_transform_setcaps): Complicated logic to get caps on
19695 both pads, even if they are different, and to call set_caps once
19696 for every time both pads get their caps set.
19697 (gst_base_transform_handle_buffer): Give the ref to the transform
19698 function. Allows in-place modification of the buffer.
19700 * gst/base/gstbasetransform.h (transform_caps): New class method.
19701 Given caps on one side, what can I do on the other.
19702 (set_caps): Take two caps, one for each side of the element.
19705 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
19706 caps in place. This is safe because we can check the mutability of
19707 the caps, and a good idea because fixate functions are just called
19708 as a matter of last resort. (Not actually implemented.)
19709 (gst_pad_set_caps): If the caps we're setting is actually the same
19710 as the existing pad caps, just update the pointer without calling
19711 setcaps. Assert that caps is either NULL or fixed, as per the
19714 * gst/gstghostpad.c: Update for fixate changes.
19716 2005-07-02 Andy Wingo <wingo@pobox.com>
19719 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
19720 two refcounts makes it immutable, which is enough. Doc more.
19722 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
19724 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
19725 Put the mini_object into GValue as a mini_object,
19726 not a gpointer, since that's how we declared
19729 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19731 * examples/pwg/Makefile.am:
19732 Fix buildbot again.
19734 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19736 * docs/pwg/building-testapp.xml:
19738 * examples/pwg/Makefile.am:
19741 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19744 * examples/Makefile.am:
19745 * examples/pwg/Makefile.am:
19746 * examples/pwg/extract.pl:
19747 Enable building the PWG examples.
19748 * docs/pwg/advanced-interfaces.xml:
19749 Add URI interface stub.
19750 * docs/pwg/advanced-types.xml:
19751 * docs/pwg/other-autoplugger.xml:
19752 * docs/pwg/appendix-porting.xml:
19753 * docs/pwg/pwg.xml:
19754 Add porting guide (mostly stubs), remove autoplugging (see ADM).
19755 * docs/pwg/building-boiler.xml:
19756 * docs/pwg/building-chainfn.xml:
19757 * docs/pwg/building-pads.xml:
19758 * docs/pwg/building-props.xml:
19759 * docs/pwg/building-state.xml:
19760 * docs/pwg/building-testapp.xml:
19761 Update the building-*.xml parts for 0.9 changes. All examples
19762 code blocks compile in examples/pwg/*.
19764 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19766 * docs/manual/advanced-autoplugging.xml:
19767 * docs/manual/appendix-checklist.xml:
19768 * docs/manual/appendix-integration.xml:
19769 * docs/manual/highlevel-components.xml:
19770 Fix playbin/decodebin examples, update docs a bit, mention bus
19771 instead of signals in various places, mention kmplayer and
19772 kaffeine since they have a working GStreamer backend in the KDE
19775 2005-06-30 Wim Taymans <wim@fluendo.com>
19778 * docs/design/draft-ghostpads.txt:
19779 * docs/design/draft-push-pull.txt:
19780 * docs/design/draft-query.txt:
19781 * docs/design/part-TODO.txt:
19782 * docs/design/part-query.txt:
19783 Added CHANGES-0.9 doc, updated status of other docs.
19788 2005-06-30 Wim Taymans <wim@fluendo.com>
19790 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19791 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
19792 (gst_base_sink_change_state):
19793 * gst/base/gstbasesink.h:
19794 Some tweaks, only EOS and a buffer complete a preroll.
19796 2005-06-30 Andy Wingo <wingo@pobox.com>
19798 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
19799 activate_push down to the internal pad as well.
19801 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
19803 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19805 * gst/gsttaginterface.c:
19806 Some documentation fixes (#307394 and #307397).
19808 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
19810 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19812 * gst/gstvalue.c: (gst_value_intersect_list):
19813 Fix memleak (#309125).
19815 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19817 * docs/manual/advanced-dataaccess.xml:
19818 Fix fakesrc example to compile; doesn't work, bug somewhere...?
19819 * docs/manual/basics-pads.xml:
19820 Add reference for filtered caps to above chapter.
19822 2005-06-30 Wim Taymans <wim@fluendo.com>
19824 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
19825 (gst_bin_change_state):
19827 Lame attempt at making the state change function a bit
19830 2005-06-30 Wim Taymans <wim@fluendo.com>
19832 * docs/design/part-clocks.txt:
19833 * docs/design/part-element-sink.txt:
19834 * docs/design/part-events.txt:
19835 * docs/design/part-preroll.txt:
19836 * docs/design/part-states.txt:
19837 Some more tweeks and additions to the docs.
19839 2005-06-30 Wim Taymans <wim@fluendo.com>
19841 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19842 (default_have_data), (gst_pad_class_init), (gst_pad_init),
19843 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19844 (gst_pad_check_pull_range), (gst_pad_get_range),
19845 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
19847 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
19848 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19849 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19850 (gst_pad_remove_buffer_probe):
19851 Removed atomic operations, use existing LOCK.
19852 Move exception handling out of main code path.
19854 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19856 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19857 (silly_return_true_function), (gst_pad_class_init),
19858 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
19859 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
19860 (gst_pad_send_event):
19861 Fix accumulator, add default value by using _emitv() instead
19862 of _emit() for signal emission.
19864 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19866 * docs/manual/advanced-dataaccess.xml:
19867 * examples/manual/Makefile.am:
19869 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
19872 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
19874 * gst/elements/gstfilesink.c: (gst_filesink_render):
19875 Simplify code so that we don't have to handle short
19876 writes and return GST_FLOW_ERROR if an error occured.
19878 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19880 * docs/gst/gstreamer-docs.sgml:
19881 Remove probes more.
19883 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19885 * docs/gst/gstreamer-sections.txt:
19886 * docs/gst/tmpl/gstpad.sgml:
19887 * docs/gst/tmpl/gstprobe.sgml:
19889 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
19890 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
19891 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
19892 (gst_pad_push_event), (gst_pad_send_event):
19894 * gst/gstutils.c: (gst_pad_add_data_probe),
19895 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
19896 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
19897 (gst_pad_remove_buffer_probe):
19899 Remove old probes, add new g-signal-based probes and some utility
19902 2005-06-29 Edward Hervey <edward@fluendo.com>
19904 * gst/gstelementfactory.c:
19907 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
19908 the definition to the header file.
19910 2005-06-29 Andy Wingo <wingo@pobox.com>
19912 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
19913 plugins from the source directory.
19915 2005-06-29 Wim Taymans <wim@fluendo.com>
19917 * docs/gst/tmpl/gstbuffer.sgml:
19918 * docs/gst/tmpl/gstclock.sgml:
19919 Some fixings for blantently wrong text.
19921 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19923 * check/Makefile.am:
19924 * gst/gst.c: (add_path_func), (init_pre):
19925 * gst/gstregistry.c: (gst_registry_add_path):
19926 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
19927 only scan the GST_PLUGIN_PATH locations, and not add
19930 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
19932 * docs/gst/gstreamer-sections.txt:
19933 * docs/gst/tmpl/gstbasesrc.sgml:
19934 * gst/gstelement.c:
19935 * gst/gstelement.h:
19940 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19942 * docs/manual/advanced-autoplugging.xml:
19943 Fix autoplugging example.
19945 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19947 * docs/manual/advanced-autoplugging.xml:
19948 * docs/manual/mime-world.fig:
19949 Try to get autoplugging working, fix type detection. Fix text
19950 in hello-world image.
19952 2005-06-29 Wim Taymans <wim@fluendo.com>
19954 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19955 (gst_base_sink_change_state):
19959 map SIGNAL and BROADCAST to the right function.
19962 Remove redundant braces.
19964 * gst/gstpad.c: (gst_pad_set_caps):
19965 Don't call setcaps function when reseting caps to NULL.
19967 * gst/gstsystemclock.c: (gst_system_clock_dispose),
19968 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
19969 (gst_system_clock_id_unschedule):
19970 Use BROADCAST as this is what we do.
19972 2005-06-29 Wim Taymans <wim@fluendo.com>
19974 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19975 We are actually prerolling before commiting the state
19978 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19980 * docs/manual/advanced-clocks.xml:
19981 * docs/manual/advanced-interfaces.xml:
19982 * docs/manual/advanced-metadata.xml:
19983 * docs/manual/advanced-position.xml:
19984 * docs/manual/advanced-schedulers.xml:
19985 * docs/manual/advanced-threads.xml:
19986 * docs/manual/appendix-porting.xml:
19987 * docs/manual/basics-bins.xml:
19988 * docs/manual/basics-bus.xml:
19989 * docs/manual/basics-elements.xml:
19990 * docs/manual/basics-helloworld.xml:
19991 * docs/manual/basics-pads.xml:
19992 * docs/manual/highlevel-components.xml:
19993 * docs/manual/manual.xml:
19994 * docs/manual/thread.fig:
19995 Update (until threads/scheduling) Application Development Manual;
19996 remove GstThread, add GstBus, add simple porting checklist, add
19997 documentation for tag writing, clocks, make all examples until this
19998 part compile and run.
19999 * examples/manual/Makefile.am:
20000 Update from changes to Application Development Manual; add bus
20001 example, remove thread example.
20003 2005-06-28 Wim Taymans <wim@fluendo.com>
20005 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
20006 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
20007 (gst_bus_source_dispatch):
20008 Add debugging messages.
20009 Make internal methods static.
20010 Handle the case where the bus is flushed in the handler.
20012 * gst/gstelement.c: (gst_element_get_bus):
20013 Fix refcount in _get_bus();
20015 * gst/gstpipeline.c: (gst_pipeline_change_state),
20016 (gst_pipeline_get_clock_func):
20017 Clock refcounting fixes.
20018 Handle the case where preroll timed out more gracefully.
20020 * gst/gstsystemclock.c: (gst_system_clock_dispose):
20021 Clean up the internal thread in dispose. This is needed
20022 for subclasses that actually get disposed.
20024 * gst/schedulers/threadscheduler.c:
20025 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
20026 (gst_thread_scheduler_dispose):
20027 Free thread pool in dispose.
20029 2005-06-28 Andy Wingo <wingo@pobox.com>
20031 * tests/network-clock-utils.scm (debug, print-event): New utils.
20033 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
20034 (*packet-loss*): Unified loss probability.
20035 (network-time): Report out-of-band events.
20037 * tests/plot-data: Add support for out-of-band events. Hack it
20038 into this script instead of passing it down the pipe; should fix
20041 2005-06-28 Wim Taymans <wim@fluendo.com>
20043 * docs/gst/gstreamer.types:
20044 * docs/gst/tmpl/gstbasesrc.sgml:
20045 * docs/gst/tmpl/gstpad.sgml:
20048 2005-06-28 Wim Taymans <wim@fluendo.com>
20050 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20051 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
20052 (gst_proxy_pad_do_fixatecaps):
20053 Correctly proxy the check_pull_range function.
20055 2005-06-28 Andy Wingo <wingo@pobox.com>
20057 * tests/network-clock.scm: Removed need for slib.
20059 2005-06-28 Wim Taymans <wim@fluendo.com>
20061 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
20062 (gst_basesink_preroll_queue_flush):
20063 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
20064 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
20065 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20066 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20067 (gst_proxy_pad_set_property):
20070 * gst/gstqueue.c: (gst_queue_init):
20071 The deprecated pad loop function is removed now.
20073 2005-06-28 Andy Wingo <wingo@pobox.com>
20075 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
20076 New parameters, simulate network packet loss.
20078 * tests/network-clock-utils.scm: Initialize the RNG.
20080 2005-06-28 Wim Taymans <wim@fluendo.com>
20082 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
20083 (gst_basesink_event), (gst_basesink_deactivate):
20084 Flushing the preroll queue always needs to unlock the waiters.
20086 2005-06-28 Edward Hervey <edward@fluendo.com>
20088 * gst/gstpipeline.c: (gst_pipeline_send_event):
20089 Wheen a seek was successful on a pipeline, set the stream_time to the
20090 seek offset in order to have a synchronized stream_time.
20092 2005-06-28 Wim Taymans <wim@fluendo.com>
20094 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20095 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
20096 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
20097 (gst_proxy_pad_do_fixatecaps):
20098 Call wrapper function instead of just calling the function
20099 pointers. This takes care of any locking and whatmore.
20101 2005-06-28 Wim Taymans <wim@fluendo.com>
20103 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
20104 (gst_pad_pull_range):
20106 CONNECTED -> LINKED.
20108 2005-06-28 Andy Wingo <wingo@pobox.com>
20110 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
20111 source-munging commit!!!
20113 * gst/gstobject.c (gst_object_unref, gst_object_ref)
20114 (gst_object_sink): Take gpointer arguments, not GstObject --
20115 avoids casts. Like GLib.
20117 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
20120 2005-06-27 Andy Wingo <wingo@pobox.com>
20122 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
20125 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
20126 returns a sorted copy of the trace list.
20127 (gst_alloc_trace_print_live): New API, only prints traces with
20128 live objects. Sort the list.
20129 (gst_alloc_trace_print_all): Sort the list.
20130 (gst_alloc_trace_print): Align columns.
20132 * gst/elements/gstttypefindelement.c:
20133 * gst/elements/gsttee.c:
20134 * gst/base/gstbasesrc.c:
20135 * gst/base/gstbasesink.c:
20136 * gst/base/gstbasetransform.c:
20137 * gst/gstqueue.c: Adapt for pad activation changes.
20139 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
20141 (gst_pipeline_dispose): Drop ref on sched.
20143 * gst/gstpad.c (gst_pad_init): Set the default activate func.
20144 (gst_pad_activate_default): Push mode by default.
20145 (pre_activate_switch, post_activate_switch): New stubs, things to
20146 do before and after switching activation modes on pads.
20147 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
20148 the pad's activate function to choose which mode to activate.
20149 Shortcut on deactivation and call the right function directly.
20150 (gst_pad_activate_pull): New API, (de)activates a pad in pull
20152 (gst_pad_activate_push): New API, same for push mode.
20153 (gst_pad_set_activate_function)
20154 (gst_pad_set_activatepull_function)
20155 (gst_pad_set_activatepush_function): Setters for new API.
20157 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
20158 Trace all miniobjects.
20159 (gst_mini_object_make_writable): Unref the arg if we copy, like
20160 gst_caps_make_writable.
20162 * gst/gstmessage.c (_gst_message_initialize): No trace init.
20164 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
20165 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
20166 Adapt for new pad API.
20168 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
20170 * gst/gstelement.h:
20171 * gst/gstelement.c (gst_element_iterate_src_pads)
20172 (gst_element_iterate_sink_pads): New API functions.
20174 * gst/gstelement.c (iterator_fold_with_resync): New utility,
20175 should fold into gstiterator.c in some form.
20176 (gst_element_pads_activate): Simplified via use of fold and
20177 delegation of decisions to gstpad->activate.
20179 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
20182 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
20183 class once in init, like gstmessage. Didn't run into this issue
20184 but it seems correct. Don't initialize a trace, gstminiobject does
20187 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
20188 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
20190 (assert_live_count): New util function, uses alloc traces to check
20193 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
20194 To be modified when unlink drops the internal pad.
20196 2005-06-27 Wim Taymans <wim@fluendo.com>
20198 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
20199 (gst_bin_change_state):
20200 Cleanup the get_state() function a little, make sure it
20201 iterates the same set of elements.
20202 Added stub iterate_state_order().
20204 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
20206 * docs/gst/gstreamer-docs.sgml:
20207 * docs/gst/gstreamer-sections.txt:
20208 * docs/gst/gstreamer.types:
20209 * docs/gst/tmpl/gstbasesink.sgml:
20210 * docs/gst/tmpl/gstbasesrc.sgml:
20211 * docs/gst/tmpl/gstbasetransform.sgml:
20212 * docs/gst/tmpl/gstelement.sgml:
20213 * docs/gst/tmpl/gstiterator.sgml:
20214 * gst/base/gstbasesrc.c:
20215 * gst/base/gstbasesrc.h:
20216 * gst/base/gstbasetransform.h:
20217 * gst/gstelement.c:
20218 * gst/gstiterator.h:
20219 adding basetransform and iterator docs
20221 2005-06-27 Andy Wingo <wingo@pobox.com>
20223 * docs/design/part-activation.txt: Notes on how activation should
20224 work -- not quite implemented yet.
20226 2005-06-25 Wim Taymans <wim@fluendo.com>
20228 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
20229 At least get the chain function correct, needs more
20232 2005-06-25 Wim Taymans <wim@fluendo.com>
20234 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20235 (gst_basesink_handle_object), (gst_basesink_event),
20236 (gst_basesink_do_sync), (gst_basesink_handle_event),
20237 (gst_basesink_change_state):
20239 Right, two problems here: ghostpads don't take locks and
20240 glib _rec_mutex_lock_full() with depth==0 still locks.
20241 Catch illegal locking and g_warn them.
20243 2005-06-25 Wim Taymans <wim@fluendo.com>
20245 * check/states/sinks.c: (START_TEST), (gst_object_suite):
20246 Have to check for completion now...
20248 2005-06-25 Wim Taymans <wim@fluendo.com>
20250 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
20251 (gst_basesink_handle_object), (gst_basesink_event),
20252 (gst_basesink_do_sync), (gst_basesink_handle_event),
20253 (gst_basesink_change_state):
20255 Unlock STREAM_LOCK whatever the recursion was.
20257 2005-06-25 Wim Taymans <wim@fluendo.com>
20259 * gst/base/gstbasesink.c: (gst_basesink_set_property),
20260 (gst_basesink_preroll_queue_empty),
20261 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
20262 (gst_basesink_event), (gst_basesink_do_sync),
20263 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
20264 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
20265 (gst_basesink_change_state):
20266 Reworked the base sink, handle event and buffer serialisation
20267 correctly and removed possible deadlock.
20268 Handle EOS correctly.
20270 2005-06-25 Wim Taymans <wim@fluendo.com>
20272 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
20273 (gst_pipeline_change_state):
20274 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20275 Allow elements to post EOS in the state change function.
20276 Fix up -launch, make it exit the poll loop when the
20277 pipeline actually changed state.
20278 Fix up warning parsing in -launch.
20280 2005-06-25 Wim Taymans <wim@fluendo.com>
20282 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
20283 (gst_tee_sink_activate):
20284 Core takes STREAM_LOCK for us now.
20286 2005-06-25 Wim Taymans <wim@fluendo.com>
20288 * gst/gstelement.c: (gst_element_get_state_func),
20289 (gst_element_set_state):
20290 * gst/gstelement.h:
20291 * gst/gstmessage.c: (gst_message_parse_error),
20292 (gst_message_parse_warning):
20293 Keep track of current target state while performing a state
20294 change so that subclasses can do something interesting.
20295 Fix parsing of warning/error messages when GError is NULL.
20297 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
20299 * docs/gst/Makefile.am:
20300 * docs/gst/gstreamer-docs.sgml:
20301 * docs/gst/gstreamer-sections.txt:
20302 * docs/gst/gstreamer.types:
20303 * docs/gst/tmpl/gstbasesink.sgml:
20304 * docs/gst/tmpl/gstbasesrc.sgml:
20305 * docs/gst/tmpl/gstbin.sgml:
20306 * docs/gst/tmpl/gstcompat.sgml:
20307 * docs/gst/tmpl/gstfakesink.sgml:
20308 * docs/gst/tmpl/gstfakesrc.sgml:
20309 * docs/gst/tmpl/gstfilesink.sgml:
20310 * docs/gst/tmpl/gstfilesrc.sgml:
20311 * docs/gst/tmpl/gstindex.sgml:
20312 * docs/manual/appendix-quotes.xml:
20313 * gst/base/gstbasesrc.h:
20314 * gst/elements/gstfakesrc.h:
20315 * gst/gstmessage.h:
20316 start pulling in base classes and elements in our docs
20318 2005-06-24 Stefan Kost <ensonic@users.sf.net>
20320 * docs/gst/Makefile.am:
20321 * docs/libs/Makefile.am:
20322 fixed make distcheck with gtk-doc 1.3
20324 2005-06-23 Wim Taymans <wim@fluendo.com>
20326 * gst/gstelement.c: (gst_element_get_state_func),
20327 (gst_element_set_state), (gst_element_change_state):
20328 When the state did not change, also report NO_PREROLL
20331 2005-06-23 Wim Taymans <wim@fluendo.com>
20333 * gst/gstpad.c: (gst_pad_event_default):
20334 * gst/gstqueue.c: (gst_queue_loop):
20335 No unsafe task pausing please.
20337 2005-06-23 Wim Taymans <wim@fluendo.com>
20339 * gst/schedulers/threadscheduler.c:
20340 (gst_thread_scheduler_task_start),
20341 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
20342 Ref the task before pushing it on the threadpool. This
20343 makes sure that we have a ref when the threadfunction is
20346 2005-06-23 Andy Wingo <wingo@pobox.com>
20348 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
20349 offset is greater than the file's size.
20351 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
20352 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
20353 * gst/gstobject.c (gst_object_class_init): Make the class lock
20354 recursive. Wim won't let me drop deep_notify. Decodebin works
20355 again, whoopdy doo.
20357 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
20358 internal pad, and hacks accordingly. Doesn't do it on the target
20359 pad because we change its caps. Probably catches all cases of
20361 (gst_ghost_pad_set_property): Connect to notify::caps as
20364 * tests/network-clock.scm (plot-simulation): Pipe data to the
20365 elite python skript.
20367 * tests/network-clock-utils.scm (define-parameter): New macro,
20368 defines a parameter that can be set via the command line.
20369 (set-parameter!, parse-parameter-arguments): Command line args
20372 * tests/plot-data: Simple matplotlib-based plotter, takes input on
20375 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
20377 * gst/elements/gsttypefindelement.c:
20378 (gst_type_find_element_handle_event):
20379 Don't restart typefinding on a discont.
20380 * gst/gstelement.c: (gst_element_set_state):
20381 Debug spelling fix.
20382 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
20383 Allow changing mode of an active pad.
20384 Debug output fixes.
20385 * gst/registries/gstlibxmlregistry.c: (load_feature):
20386 Don't cast a static pad template to a normal pad template.
20388 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
20390 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20391 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20392 remove gst_strtoll completely, since it didn't actually do
20393 anything more than what g_ascii_strtoull already does.
20394 check for range errors when deserializing
20395 do a cast for the unsigned cases; but further fixing needs
20396 a decision on what the interpretation of "(int)" and
20397 deserialization should be for values that fall outside the
20398 type's boundaries (ie, refuse, or interpret as casting)
20400 2005-06-23 Wim Taymans <wim@fluendo.com>
20402 * check/Makefile.am:
20403 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
20404 * docs/design/part-live-source.txt:
20405 * docs/design/part-states.txt:
20406 * gst/base/gstbasesrc.c: (gst_basesrc_init),
20407 (gst_basesrc_set_live), (gst_basesrc_is_live),
20408 (gst_basesrc_get_range), (gst_basesrc_activate),
20409 (gst_basesrc_change_state):
20410 * gst/base/gstbasesrc.h:
20411 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
20412 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
20413 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
20414 * gst/gstelement.c: (gst_element_get_state_func),
20415 (gst_element_set_state):
20416 * gst/gstelement.h:
20418 * tools/gst-launch.c: (event_loop), (main):
20419 Added support for live sources and other elements that
20421 Updated design docs, added live-source design doc.
20422 Implemented live source functionality in basesrc
20423 Fix error condition in _bin_get_state()
20424 Implement live source handling in -launch.
20425 Added check for live sources.
20426 Fixed case in GstBin where elements were changed state
20430 2005-06-23 Andy Wingo <wingo@pobox.com>
20432 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
20433 borken refcounting.
20435 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
20436 gst_caps_replace takes care of this for us.
20438 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
20439 gst_pad_set_caps on the target, not just its setcaps() function.
20441 * tests/network-clock.scm:
20442 * tests/network-clock-utils.scm: A network clock simulator.
20443 Something of an algorithmic testbed before doing something in C.
20445 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20447 * check/Makefile.am:
20448 * check/gst/capslist.h:
20449 copy over from 0.8, and add two with bitmasks specified with
20451 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20452 add test to parse everything from capslist.h
20453 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
20455 add test for structure deserialization
20456 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20457 add tests for deserialization of strings to int types
20458 * gst/gststructure.c: (gst_structure_nth_field_name):
20459 * gst/gststructure.h:
20460 add a way to get the name of a field referenced by index
20461 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20462 instead of checking if the resulting long long lies between
20463 min and max, we check if the long long would fit into
20464 a number of bytes for the final type.
20465 This fixes cases where a string represents 2^32 - 1, which
20466 when cast to int would be the (valid) -1, but is bigger than
20469 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20471 * gst/parse/grammar.y:
20472 add a log line for type deserialization
20474 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
20476 * check/gst/gstvalue.c: (START_TEST):
20477 * gst/gstvalue.c: (gst_value_deserialize):
20478 return long long, not int, so gint64 deserialization actually
20479 works. Is there any flag that makes the compiler check this ?
20482 2005-06-22 Wim Taymans <wim@fluendo.com>
20485 Added convenience macros for setting buffers in GValue.
20487 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20489 * check/gst/.cvsignore:
20490 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
20491 add a test deserializing int64, and comment part out because
20494 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
20496 * check/Makefile.am:
20497 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
20498 * testsuite/Makefile.am:
20499 * testsuite/caps/Makefile.am:
20500 * testsuite/caps/value_serialize.c:
20501 * testsuite/test_gst_init.c:
20502 move a value_serialize test over
20504 2005-06-20 Wim Taymans <wim@fluendo.com>
20509 * gst/gstvalue.c: (gst_value_compare_buffer),
20510 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
20511 (gst_value_compare_flags), (gst_value_serialize_flags),
20512 (gst_value_deserialize_flags), (_gst_value_initialize):
20513 Fix serialisation of buffers, they are not boxed types anymore
20515 2005-06-20 Wim Taymans <wim@fluendo.com>
20517 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
20518 Testcase to show error in buffer-on-caps serialisation.
20520 2005-06-20 Andy Wingo <wingo@pobox.com>
20522 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
20523 will be adding to later.
20525 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
20526 if its socks fill with rocks.
20527 (gst_system_clock_obtain): Set the name on object construction.
20528 Avoid double-checked locking.
20530 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
20532 * gst/gsturi.c: (gst_element_make_from_uri):
20533 Fix potential endless loop.
20535 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20537 * check/Makefile.am:
20539 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
20541 move over from testsuite dir and clean up
20544 * testsuite/Makefile.am:
20545 * testsuite/tags/.cvsignore:
20546 * testsuite/tags/Makefile.am:
20547 * testsuite/tags/merge.c:
20548 remove testsuite/tags
20550 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20552 * docs/gst/gstreamer-sections.txt:
20553 * docs/gst/tmpl/gstenumtypes.sgml:
20554 * win32/gstenumtypes.c:
20555 clean up documentation build a little
20557 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20559 * check/gstcheck.h:
20560 add macros for checking refcounts on objects and caps
20561 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
20562 add some more unit tests
20563 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20564 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
20565 fix leaked refcounts (I hope :)) so unittest works
20569 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
20571 * configure.ac: back to HEAD
20573 === release 0.9.1 ===
20575 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
20581 2005-06-17 Andy Wingo <wingo@pobox.com>
20583 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
20584 assert; it's always possible that the pad gets deactivated in
20585 between the checks in gstpad.c and the implementation. Rely on
20586 finish_preroll() to return a FLUSHING or similar instead of on the
20589 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
20590 clock and post an EOS message if we come out of finish_preroll in
20593 2005-06-16 David Schleef <ds@schleef.org>
20595 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20596 (gst_capsfilter_set_property): Allow NULL as possible value
20597 for filter_caps property, indicating GST_CAPS_ANY.
20599 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20601 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
20603 * gst/schedulers/Makefile.am:
20605 * gstreamer.spec.in:
20608 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
20610 * gstreamer.spec.in:
20613 2005-06-08 Andy Wingo <wingo@pobox.com>
20615 * gst/gstutils.c: RPAD fixes all around.
20616 (gst_element_link_pads): Refcounting fixes.
20618 * tools/gst-inspect.c:
20619 * tools/gst-xmlinspect.c:
20621 * gst/base/gsttypefindhelper.c:
20622 * gst/base/gstbasesink.c:
20623 * gst/gstqueue.c: RPAD fixes.
20625 * gst/gstghostpad.h:
20626 * gst/gstghostpad.c: New ghost pad implementation as full proxy
20627 pads. The tricky thing is they provide both source and sink
20628 interfaces, since they proxy the internal pad for the external
20629 pad, and vice versa. Implement with lower-level ProxyPad objects,
20630 with the interior proxy pad as a child of the exterior ghost pad.
20631 Should write a doc on this.
20633 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
20634 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
20637 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
20638 pads are real pads. No ghost pads in this file. Not documenting
20639 the myriad s/RPAD/PAD/ and REALIZE fixes.
20640 (gst_pad_class_init): Add properties for "direction" and
20641 "template". Both are construct-only, so they can't change during
20642 the life of the pad. Fixes properly deriving from GstPad.
20643 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
20644 derived objects, just set properties when creating the objects via
20646 (gst_pad_get_parent): Implement as a function, return NULL if the
20647 parent is not an element.
20648 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
20649 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
20651 * gst/gstobject.c (gst_object_class_init): Make name a construct
20652 property. Don't set it in the object init.
20654 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
20655 with UNKNOWN direction.
20656 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
20657 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
20658 (gst_element_remove_pad): Remove ghost-pad special cases.
20659 (gst_element_pads_activate): Remove rpad cruft.
20661 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
20662 catch the pad's-parent-not-an-element case.
20664 * gst/gst.h: Include gstghostpad.h.
20666 * gst/gst.c (init_post): No more real, ghost pads.
20668 * gst/Makefile.am: Add gstghostpad.[ch].
20670 * check/Makefile.am:
20671 * check/gst/gstbin.c:
20672 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
20673 into a bin creates ghost pads, and that the refcounts are right.
20674 Partly moved from gstbin.c.
20676 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20678 * check/gst-libs/.cvsignore:
20679 * check/gst/.cvsignore:
20680 * check/pipelines/.cvsignore:
20682 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
20683 (START_TEST), (cleanup_suite), (main):
20684 add some tests related to cleanup after running pipelines
20686 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20688 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
20689 add a testsuite for GstBuffer
20691 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
20693 * gst/gstminiobject.h:
20694 add defines for accessing the refcount
20696 2005-06-03 Stefan Kost <ensonic@users.sf.net>
20698 * Makefile.am: added support for html unit test coverage reports
20700 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
20702 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
20703 Free existing caps if the capsfilter changes. Add a FIXME about
20704 setting those caps on the pads.
20706 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
20707 Before adding a ghost pad to a parent bin, check that there isn't
20708 already one for the element on the bin. Prevents infinite recursion
20709 when using decodebin in parse pipelines. Andy says he'll rewrite the
20710 way this works anyway, so ignore the hack.
20712 2005-06-02 Andy Wingo <wingo@pobox.com>
20714 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
20715 file size, pass it on to the type find helper.
20717 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
20718 segment_start and segment_end properly according to the seek
20719 method. Segment_end is still a bit flaky because offset can be
20720 negative for CUR and END cases, but it takes -1 as an "unset"
20723 2005-06-02 Wim Taymans <wim@fluendo.com>
20725 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
20726 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
20727 (gst_basesink_activate):
20728 * gst/base/gstbasesink.h:
20729 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20730 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20731 (gst_pad_query), (gst_pad_start_task):
20733 * gst/gstqueue.c: (gst_queue_bufferalloc),
20734 (gst_queue_handle_sink_event), (gst_queue_chain):
20735 Bufferalloc: return GstFlowReturn to more accuratly report
20736 why allocation failed.
20738 2005-06-02 Wim Taymans <wim@fluendo.com>
20740 * gst/gstpipeline.c: (gst_pipeline_send_event):
20741 Take snapshot of state without blocking.
20743 2005-06-02 Wim Taymans <wim@fluendo.com>
20745 * docs/design/part-TODO.txt:
20746 * docs/design/part-caps.txt:
20747 * docs/design/part-clocks.txt:
20748 * docs/design/part-negotiation.txt:
20749 * docs/design/part-preroll.txt:
20752 2005-05-30 Wim Taymans <wim@fluendo.com>
20754 * gst/elements/gstidentity.c: (gst_identity_event),
20755 (gst_identity_transform), (gst_identity_get_property):
20756 Protect last_message property as it is accessed from
20759 2005-05-30 Wim Taymans <wim@fluendo.com>
20761 * gst/gstelement.c: (gst_element_init),
20762 (gst_element_pads_activate), (gst_element_change_state):
20763 Slicker pad activation code.
20765 2005-05-30 Wim Taymans <wim@fluendo.com>
20768 * gst/gstelement.h:
20769 * gst/gstelementfactory.h:
20771 Move elementfactory methods to separate .h file.
20773 2005-05-30 Wim Taymans <wim@fluendo.com>
20775 * docs/design/part-overview.txt:
20776 * gst/gstsystemclock.h:
20777 Small typo fixes, doc updates.
20779 2005-05-30 Wim Taymans <wim@fluendo.com>
20781 * gst/gst.c: (gst_init_get_popt_table), (init_post),
20782 (init_popt_callback):
20783 Remove cpu-opt flag.
20785 2005-05-30 Wim Taymans <wim@fluendo.com>
20787 * gst/gstbuffer.c: (gst_subbuffer_finalize),
20788 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
20790 Avoid typechecking in places where not needed.
20791 Added accessor for malloc_data.
20793 2005-05-30 Wim Taymans <wim@fluendo.com>
20795 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
20796 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
20797 (gst_pad_configure_sink), (gst_pad_configure_src),
20798 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
20799 (gst_pad_start_task):
20800 Propagate errors from _set_caps() in configure_src/sink
20801 functions instead of returning TRUE.
20802 FLUSH events can travel up and downstream
20805 2005-05-30 Wim Taymans <wim@fluendo.com>
20807 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20808 (gst_basesink_activate):
20809 Handle EOS in preroll.
20811 2005-05-30 Wim Taymans <wim@fluendo.com>
20813 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20814 (gst_queue_loop), (gst_queue_handle_src_event):
20815 Remove old pieces of code
20816 Flushing the queue in an upstream event is a very bad idea.
20818 2005-05-26 Andy Wingo <wingo@pobox.com>
20820 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
20821 gst_value_set_mini_object so as to add a ref on the object (which
20822 will be removed when the value is unset).
20824 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
20825 arg type in ::handoff.
20827 * gst/gstelement.c (gst_element_change_state): Also deactivate
20828 pads in READY->NULL, just in case the element didn't make it to
20829 PAUSED. Wingo tested, Wim approved.
20831 2005-05-26 Wim Taymans <wim@fluendo.com>
20833 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20834 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
20835 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
20836 A flushing pad cannot be used to alloc_buffer from.
20838 2005-05-26 Wim Taymans <wim@fluendo.com>
20840 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
20841 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
20842 (gst_bus_source_dispatch), (gst_bus_source_finalize),
20843 (gst_bus_create_watch), (gst_bus_add_watch_full):
20845 Implement a real GSource and use g_main_context_wakeup() to
20846 signal new messages instead of the socketpair.
20848 2005-05-25 Wim Taymans <wim@fluendo.com>
20850 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
20851 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
20852 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20853 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20854 (gst_pad_send_event), (gst_pad_start_task):
20855 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
20856 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20857 (gst_queue_sink_activate), (gst_queue_src_activate),
20858 (gst_queue_change_state):
20860 Fix state changes for non sinks. We now change sinks, then elements
20861 with unconnected srcpads, then the rest.
20862 More efficient queue unlocking in flush and state changes.
20863 Set the pad activate mode even if it does not have an activate
20866 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20868 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
20869 Don't go in pull mode for non-seekable sources.
20870 * gst/elements/gsttypefindelement.h:
20871 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
20872 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
20873 (free_entry), (stop_typefinding),
20874 (gst_type_find_element_handle_event), (find_peek),
20875 (gst_type_find_element_chain), (do_pull_typefind),
20876 (gst_type_find_element_change_state):
20877 Allow typefinding (w/o seeking) in push-mode, simplified version
20878 of what was in 0.8.
20879 * gst/gstutils.c: (gst_buffer_join):
20881 gst_buffer_join() from 0.8.
20883 2005-05-25 Wim Taymans <wim@fluendo.com>
20885 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
20886 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
20887 (gst_pad_send_event), (gst_pad_start_task):
20888 Disable attempt at mode switching until it is figured out.
20890 2005-05-25 Wim Taymans <wim@fluendo.com>
20892 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
20893 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
20894 (gst_basesink_finish_preroll), (gst_basesink_chain),
20895 (gst_basesink_loop), (gst_basesink_activate),
20896 (gst_basesink_change_state):
20897 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
20898 (gst_basesrc_get_range), (gst_basesrc_loop),
20899 (gst_basesrc_activate):
20900 * gst/elements/gsttee.c: (gst_tee_sink_activate):
20901 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20902 (gst_real_pad_init), (gst_real_pad_set_property),
20903 (gst_real_pad_get_property), (gst_pad_set_active),
20904 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
20905 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
20906 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
20907 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
20908 (gst_pad_event_default_dispatch), (gst_pad_event_default),
20909 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
20910 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
20911 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
20912 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
20913 (gst_pad_stop_task):
20915 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20916 (gst_queue_loop), (gst_queue_src_activate):
20917 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
20918 (gst_task_get_state):
20920 * gst/schedulers/threadscheduler.c:
20921 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
20922 Implement gst_pad_pause/start/stop_task(), take STREAM lock
20924 Remove ACTIVE pad flag, use FLUSHING everywhere
20925 Added _pad_chain(), _pad_get_range() to call chain/getrange
20927 Add locks around IS_FLUSHING when reading.
20928 Take STREAM lock in chain(), get_range() functions so plugins
20929 don't need to take it anymore.
20933 2005-05-25 Wim Taymans <wim@fluendo.com>
20935 * tools/gst-launch.c: (event_loop):
20936 Unref message after using its contents instead of
20939 2005-05-24 Wim Taymans <wim@fluendo.com>
20941 * docs/design/draft-ghostpads.txt:
20942 * docs/design/draft-push-pull.txt:
20943 * docs/design/draft-query.txt:
20944 * docs/design/part-overview.txt:
20945 Docs updates, added general overview doc.
20947 2005-05-21 David Schleef <ds@schleef.org>
20949 * docs/gst/tmpl/old/GstBin.sgml:
20950 * docs/gst/tmpl/old/GstBuffer.sgml:
20951 * docs/gst/tmpl/old/GstCaps.sgml:
20952 * docs/gst/tmpl/old/GstClock.sgml:
20953 * docs/gst/tmpl/old/GstCompat.sgml:
20954 * docs/gst/tmpl/old/GstData.sgml:
20955 * docs/gst/tmpl/old/GstElement.sgml:
20956 * docs/gst/tmpl/old/GstEvent.sgml:
20957 * docs/gst/tmpl/old/GstIndex.sgml:
20958 * docs/gst/tmpl/old/GstStructure.sgml:
20959 * docs/gst/tmpl/old/GstTag.sgml:
20960 * docs/gst/tmpl/old/cothreads.sgml:
20961 * docs/gst/tmpl/old/cothreads_compat.sgml:
20962 * docs/gst/tmpl/old/gettext.sgml:
20963 * docs/gst/tmpl/old/gobject2gtk.sgml:
20964 * docs/gst/tmpl/old/grammar.tab.sgml:
20965 * docs/gst/tmpl/old/gst-i18n-app.sgml:
20966 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
20967 * docs/gst/tmpl/old/gst_private.sgml:
20968 * docs/gst/tmpl/old/gstaggregator.sgml:
20969 * docs/gst/tmpl/old/gstarch.sgml:
20970 * docs/gst/tmpl/old/gstatomic_impl.sgml:
20971 * docs/gst/tmpl/old/gstbufferstore.sgml:
20972 * docs/gst/tmpl/old/gstdata_private.sgml:
20973 * docs/gst/tmpl/old/gstdisksink.sgml:
20974 * docs/gst/tmpl/old/gstdisksrc.sgml:
20975 * docs/gst/tmpl/old/gstelementfactory.sgml:
20976 * docs/gst/tmpl/old/gstextratypes.sgml:
20977 * docs/gst/tmpl/old/gstfakesink.sgml:
20978 * docs/gst/tmpl/old/gstfakesrc.sgml:
20979 * docs/gst/tmpl/old/gstfdsink.sgml:
20980 * docs/gst/tmpl/old/gstfdsrc.sgml:
20981 * docs/gst/tmpl/old/gstfilesink.sgml:
20982 * docs/gst/tmpl/old/gstfilesrc.sgml:
20983 * docs/gst/tmpl/old/gsthttpsrc.sgml:
20984 * docs/gst/tmpl/old/gstidentity.sgml:
20985 * docs/gst/tmpl/old/gstindexfactory.sgml:
20986 * docs/gst/tmpl/old/gstmarshal.sgml:
20987 * docs/gst/tmpl/old/gstmd5sink.sgml:
20988 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
20989 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
20990 * docs/gst/tmpl/old/gstpadtemplate.sgml:
20991 * docs/gst/tmpl/old/gstpipefilter.sgml:
20992 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
20993 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
20994 * docs/gst/tmpl/old/gstshaper.sgml:
20995 * docs/gst/tmpl/old/gstspider.sgml:
20996 * docs/gst/tmpl/old/gstspideridentity.sgml:
20997 * docs/gst/tmpl/old/gststatistics.sgml:
20998 * docs/gst/tmpl/old/gsttee.sgml:
20999 * docs/gst/tmpl/old/gsttimecache.sgml:
21000 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
21001 * docs/gst/tmpl/old/gstxmlregistry.sgml:
21002 * docs/gst/tmpl/old/gthread-cothreads.sgml:
21003 * docs/gst/tmpl/old/types.sgml:
21004 I didn't intend to add these or check them in.
21006 2005-05-19 David Schleef <ds@schleef.org>
21008 * configure.ac: Use -no-common everywhere. In a sane world, it
21009 would be the default in libtool, because without it, you can't
21010 build DLLs on Windows.
21011 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
21012 * docs/gst/gstreamer-sections.txt:
21013 * docs/gst/tmpl/gstcpu.sgml:
21014 * docs/gst/tmpl/gstdata.sgml:
21015 * docs/gst/tmpl/gstthread.sgml:
21017 2005-05-19 David Schleef <ds@schleef.org>
21019 * gst/gstminiobject.c: (gst_value_set_mini_object),
21020 (gst_value_take_mini_object), (gst_value_get_mini_object):
21021 * gst/gstminiobject.h: Add GValue set/get functions.
21023 2005-05-19 Wim Taymans <wim@fluendo.com>
21025 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
21026 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
21027 (gst_subbuffer_init), (gst_buffer_is_span_fast):
21029 * gst/gstbus.c: (gst_bus_post):
21030 * gst/gstelement.c: (gst_element_get_random_pad):
21031 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
21032 Make subbufer unref the parent in finalize.
21033 some more debugging info.
21036 2005-05-19 Wim Taymans <wim@fluendo.com>
21038 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21039 (gst_basesink_init), (gst_basesink_finalize),
21040 (gst_basesink_activate), (gst_basesink_change_state):
21041 Don't free preroll queue too early.
21043 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21047 Hi, I'm outdated. Please shoot me.
21049 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21051 * gst/gstpipeline.c: (gst_pipeline_send_event):
21052 Do not access variables after they have been deleted.
21054 2005-05-19 Wim Taymans <wim@fluendo.com>
21056 * tools/gst-inspect.c: (print_plugin_features):
21057 A plugin feature does unfortunatly not use the
21060 2005-05-18 Wim Taymans <wim@fluendo.com>
21062 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
21063 Port _span() functions to new subbuffers.
21065 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21067 * gst/gstbin.c: (gst_bin_add_func):
21068 Fix clock settery in bins when adding kids after the clock has
21071 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21073 * gst/elements/gstidentity.c: (gst_identity_class_init):
21074 Workaround until signals support GstMiniObject.
21076 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
21079 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
21081 2005-05-18 Wim Taymans <wim@fluendo.com>
21083 * gst/base/Makefile.am:
21084 * gst/base/gstadapter.c: (gst_adapter_base_init),
21085 (gst_adapter_class_init), (gst_adapter_init),
21086 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
21087 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
21088 (gst_adapter_flush), (gst_adapter_available),
21089 (gst_adapter_available_fast):
21090 * gst/base/gstadapter.h:
21091 Ported and added adapter to the base classes.
21093 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21096 * gst/gstmessage.c:
21097 Make sure the class is reffed/unreffed once before threads can be
21098 used. Fixes #304551.
21100 2005-05-17 Wim Taymans <wim@fluendo.com>
21102 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
21103 (gst_basesink_chain_unlocked), (gst_basesink_activate):
21104 * gst/gstminiobject.c: (gst_mini_object_get_type),
21105 (gst_mini_object_free):
21106 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
21107 (gst_pad_push), (gst_pad_push_event):
21108 * gst/gstqueue.c: (gst_queue_change_state):
21109 Don't queue buffers in basesink when we are flushing.
21110 Unref buffer when flushing in basesink.
21111 Flush queue when going to READY
21112 Unref buffer when _push() returns an error.
21113 Don't free MiniObject instance when refcount is incremented
21114 in _finalize() so that we can recover objects.
21116 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
21118 * docs/manual/advanced-schedulers.xml:
21119 * docs/manual/appendix-checklist.xml:
21120 * docs/pwg/advanced-clock.xml:
21121 * docs/pwg/advanced-interfaces.xml:
21122 * docs/pwg/advanced-request.xml:
21123 * docs/pwg/advanced-types.xml:
21124 * docs/pwg/intro-preface.xml:
21125 * examples/plugins/example.c: (gst_example_get_type),
21126 (gst_example_class_init), (gst_example_chain),
21127 (gst_example_set_property), (gst_example_get_property),
21128 (gst_example_change_state), (plugin_init):
21129 * examples/plugins/example.h:
21132 2005-05-17 Wim Taymans <wim@fluendo.com>
21134 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
21135 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
21136 * gst/gstqueue.c: (gst_queue_change_state):
21137 Clear queue when going to READY.
21138 Remove IN_SETCAPS flag too.
21140 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
21142 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
21143 Remove implicit cast from gboolean to GstElementStateReturn;
21144 make sure we still return failure in paused => ready case if
21145 the parent class fails to change state and our own stop
21148 2005-05-17 Wim Taymans <wim@fluendo.com>
21150 * tools/gst-launch.c: (event_loop):
21151 Message was unreffed too soon.
21153 2005-05-16 Andy Wingo <wingo@pobox.com>
21155 * gst/gstbin.c (sink_iterator_filter): Err... um...
21157 * check/gst/gstbin.c (test_ghost_pads): New test for the
21158 ghosting-if-elements-not-in-same-bin behavior.
21160 2005-05-16 David Schleef <ds@schleef.org>
21162 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
21163 accessing refcount directly.
21165 2005-05-15 David Schleef <ds@schleef.org>
21167 * check/Makefile.am: remove GstData checks
21168 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
21169 * gst/Makefile.am: add miniobject, remove data
21170 * gst/gst.h: add miniobject, remove data
21171 * gst/gstdata.c: remove
21172 * gst/gstdata.h: remove
21173 * gst/gstdata_private.h: remove
21174 * gst/gsttypes.h: remove GstEvent and GstMessage
21175 * gst/gstelement.c: (gst_element_post_message): fix for API changes
21176 * gst/gstmarshal.list: change BOXED -> OBJECT
21178 Implement GstMiniObject.
21179 * gst/gstminiobject.c:
21180 * gst/gstminiobject.h:
21182 Modify to be subclasses of GstMiniObject.
21183 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
21184 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
21185 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
21186 (gst_subbuffer_get_type), (gst_subbuffer_init),
21187 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
21190 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
21191 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
21192 (_gst_event_copy), (gst_event_new):
21194 * gst/gstmessage.c: (_gst_message_initialize),
21195 (gst_message_get_type), (gst_message_class_init),
21196 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
21197 (gst_message_new), (gst_message_new_error),
21198 (gst_message_new_warning), (gst_message_new_tag),
21199 (gst_message_new_state_changed), (gst_message_new_application):
21200 * gst/gstmessage.h:
21201 * gst/gstprobe.c: (gst_probe_perform),
21202 (gst_probe_dispatcher_dispatch):
21204 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
21205 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
21206 (_gst_query_copy), (gst_query_new):
21208 Update elements for GstData -> GstMiniObject changes
21210 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
21211 (gst_queue_chain), (gst_queue_loop):
21212 * gst/elements/gstbufferstore.c:
21213 (gst_buffer_store_add_buffer_func),
21214 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
21215 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21216 (gst_fakesink_render):
21217 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
21218 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
21219 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
21220 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
21221 (gst_filesrc_create_read):
21222 * gst/elements/gstidentity.c: (gst_identity_class_init):
21223 * gst/elements/gsttypefindelement.c:
21224 (gst_type_find_element_src_event), (free_entry_buffers),
21225 (gst_type_find_element_handle_event):
21226 * libs/gst/dataprotocol/dataprotocol.c:
21227 (gst_dp_header_from_buffer):
21228 * libs/gst/dataprotocol/dataprotocol.h:
21229 * libs/gst/dataprotocol/dp-private.h:
21231 2005-05-15 David Schleef <ds@schleef.org>
21233 * gst/elements/gstelements.c: Don't include headers that were
21236 2005-05-15 David Schleef <ds@schleef.org>
21238 * gst/elements/Makefile.am: Remove some elements that don't
21239 need to be in the core (or even exist at all).
21240 * gst/elements/gstaggregator.c:
21241 * gst/elements/gstaggregator.h:
21242 * gst/elements/gstmd5sink.c:
21243 * gst/elements/gstmd5sink.h:
21244 * gst/elements/gstmultifilesrc.c:
21245 * gst/elements/gstmultifilesrc.h:
21246 * gst/elements/gstpipefilter.c:
21247 * gst/elements/gstpipefilter.h:
21248 * gst/elements/gstshaper.c:
21249 * gst/elements/gstshaper.h:
21250 * gst/elements/gststatistics.c:
21251 * gst/elements/gststatistics.h:
21252 * po/POTFILES.in: Remove above files.
21254 2005-05-14 Andy Wingo <wingo@pobox.com>
21256 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
21257 so as to get the refs right.
21258 (sink_iterator_filter): New function, wraps bin_element_is_sink,
21259 unreffing objects that don't pass the filter.
21261 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
21262 gst_element_set_bus.
21263 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
21264 normal cases, this will destroy the bus.
21266 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
21269 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
21272 2005-05-13 Andy Wingo <wingo@pobox.com>
21274 * gst/gstutils.c (gst_element_link_pads): Instead of calling
21275 gst_pad_link, call pad_link_maybe_ghosting,
21276 (pad_link_maybe_ghosting): Links pads, making sure that the
21277 elements being linked are in the same bin.
21278 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
21279 Helpers for pad_link_maybe_ghosting.
21281 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21284 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
21286 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
21288 * docs/design/part-element-source.txt:
21291 2005-05-12 Wim Taymans <wim@fluendo.com>
21293 * gst/base/gstbasesink.c: (gst_basesink_init),
21294 (gst_basesink_activate):
21295 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
21296 (gst_basesrc_is_seekable):
21297 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21298 (bin_element_is_sink), (gst_bin_change_state):
21299 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21300 * gst/gstelement.h:
21301 Identify sinks by their flag to avoid overly complicated
21303 Do state changes even for elements not reachable from the
21305 BaseSink is a sink now :)
21306 Some more debugging info in the basesrc.
21309 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21311 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
21312 Implement _query on a bin, similar to _send_event.
21314 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
21316 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
21317 Discont event offset format should be GST_FORMAT_BYTES,
21318 not GST_FORMAT_TIME.
21320 2005-05-12 Wim Taymans <wim@fluendo.com>
21322 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
21323 Same fix as Ronald's but without the signal.
21325 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21327 * gst/gstutils.c: (gst_element_query_position):
21328 No, an element is not a pad.
21330 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21332 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
21333 (gst_bin_get_state):
21334 If a child is removed from a bin while we remove the child from
21335 the bin and while we're retrieving its state, signal this to the
21336 get_state function so we abort the wait (instead of waiting for
21337 a timeout) and can immediately re-iterate over all other elements.
21339 2005-05-12 Wim Taymans <wim@fluendo.com>
21341 * gst/base/Makefile.am:
21342 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
21343 (gst_basesrc_start):
21344 * gst/base/gstbasesrc.h:
21345 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
21346 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
21347 (gst_pushsrc_init), (gst_pushsrc_create):
21348 * gst/base/gstpushsrc.h:
21349 Added is_seekable to BaseSrc
21350 Added simple PushSrc.
21352 2005-05-11 Wim Taymans <wim@fluendo.com>
21354 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
21355 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21356 (gst_element_link_pads), (gst_element_query_position),
21357 (gst_element_query_convert), (intersect_caps_func),
21358 (gst_pad_query_position), (gst_pad_query_convert):
21359 Fix refcounting in utils function.
21360 No point in trying to activate a pad when it's added, it could
21361 be added from the state change function and then we deadlock, the
21362 element has to decide what to do.
21364 2005-05-10 Andy Wingo <wingo@pobox.com>
21366 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
21367 *all* the arguments.
21369 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
21370 stream lock if it's a FLUSH_DONE; normal flushes don't get the
21371 lock (according to the docs -- if this is wrong change the docs).
21373 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
21374 flush messages in the NULL state.
21376 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
21377 message immediately and return.
21378 (gst_bus_set_flushing): New function. If a bus is flushing, it
21379 flushes out any queued messages and immediately unrefs new
21380 messages. This is so when an element goes to NULL, all of the
21381 unhandled messages coming from it can be freed, and their
21382 references to the element dropped. In other words: message source
21383 ref considered harmful :P
21385 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
21386 we're finished with it.
21388 * gst/gstmessage.c (gst_message_new_state_changed):
21390 2005-05-10 Wim Taymans <wim@fluendo.com>
21392 * gst/gstvalue.c: (gst_value_compare_flags),
21393 (gst_value_serialize_flags), (gst_value_deserialize_flags),
21394 (_gst_value_initialize):
21395 Added flags serialize/deserialize/compare code.
21397 2005-05-09 Andy Wingo <wingo@pobox.com>
21399 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
21400 Intersect the peer's caps with our caps.
21402 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21404 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21405 * gst/elements/gsttypefindelement.c: (find_peek):
21406 Handle negative offsets better. Fixes decodebin.
21408 2005-05-09 Wim Taymans <wim@fluendo.com>
21410 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
21411 (gst_base_transform_event):
21412 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
21413 Implement accept_caps.
21414 Fix silly lock/unlock mismatch in base class.
21416 2005-05-09 Wim Taymans <wim@fluendo.com>
21418 * docs/design/draft-push-pull.txt:
21419 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
21420 * gst/elements/gstfilesink.c: (gst_filesink_init),
21421 (gst_filesink_query):
21422 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
21423 (gst_type_find_handle_src_query), (find_element_get_length):
21424 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
21425 * gst/gstelement.h:
21426 * gst/gstmessage.c:
21427 * gst/gstmessage.h:
21428 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
21429 (gst_real_pad_get_caps_unlocked),
21430 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
21431 (gst_pad_event_default_dispatch), (gst_pad_event_default),
21432 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
21433 (gst_real_pad_dispose), (gst_real_pad_finalize),
21434 (gst_pad_load_and_link), (gst_pad_save_thyself),
21435 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
21436 (gst_pad_check_pull_range), (gst_pad_pull_range),
21437 (gst_pad_template_get_type), (gst_pad_template_class_init),
21438 (gst_pad_template_init), (gst_pad_template_dispose),
21439 (name_is_valid), (gst_static_pad_template_get),
21440 (gst_pad_template_new), (gst_static_pad_template_get_caps),
21441 (gst_pad_template_get_caps), (gst_pad_set_element_private),
21442 (gst_pad_get_element_private), (gst_pad_start_task),
21443 (gst_pad_pause_task), (gst_pad_stop_task),
21444 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
21445 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
21446 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
21447 (gst_ghost_pad_new):
21449 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
21450 (gst_query_new_position), (gst_query_set_position),
21451 (gst_query_parse_position), (gst_query_new_convert),
21452 (gst_query_set_convert), (gst_query_parse_convert):
21454 * gst/gstqueryutils.c:
21455 * gst/gstqueryutils.h:
21456 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21457 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21458 (gst_queue_handle_src_query):
21459 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21460 (gst_element_query_position), (gst_element_query_convert),
21461 (intersect_caps_func), (gst_pad_query_position),
21462 (gst_pad_query_convert):
21464 * tools/gst-inspect.c: (print_pad_info):
21465 * tools/gst-xmlinspect.c: (print_element_info):
21466 Remove old query functions. Ported old code.
21467 Added position/convert helper functions to gstutils.
21468 Reordered gstpad.c code, grouping relevant things.
21469 Remove gst_message_new(), always need to speficy a specific
21473 2005-05-09 Andy Wingo <wingo@pobox.com>
21475 * gst/gstiterator.h: Add some includes.
21477 * gst/gstqueryutils.h: Include more headers.
21480 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
21481 some uses of gst_pad_query.
21483 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
21484 NULL out parameters.
21485 (gst_query_new_position): New proc, allocates a new position
21488 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
21489 gstqueryutils.c to the build.
21491 * gst/gststructure.c (gst_structure_set_valist): Implement with
21492 the generic G_VALUE_COLLECT.
21494 2005-05-08 Edward Hervey <bilboed@bilboed.com>
21496 * gst/Makefile.am: (gst_headers):
21497 Added gstqueryutils.h to the list of headers to install, that was
21498 a 'nachty' move wingo :)
21500 2005-05-06 Andy Wingo <wingo@pobox.com>
21503 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
21504 GstData, init a memchunk.
21505 (standard_definitions): Add a few query types, deprecate a few.
21506 (gst_query_get_type): New proc.
21507 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
21509 (gst_query_new_application, gst_query_get_structure): New public
21512 * docs/design/draft-query.txt: Removed LINKS from the query types,
21513 because all the rest can be dispatched to other pads -- seemed
21514 ugly to have a query that couldn't be dispatched. internal_links
21515 is fine as a pad method.
21517 * gst/gstpad.h: Add query2 as a pad method, add the new functions
21518 in gstpad.c, but maintain binary compatibility for the moment.
21519 Will fix before 0.9 is out.
21521 * gst/gstqueryutils.c:
21522 * gst/gstqueryutils.h: New files, implement 3 methods for each
21523 query type: parse_query, parse_response, and set. Probably need an
21526 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
21528 * gst/elements/gstfilesink.c (gst_filesink_query2):
21529 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
21530 query_types, and formats methods.
21532 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
21533 (gst_pad_set_query2_function): New functions.
21534 (gst_real_pad_init): Set query2_default as the default query2
21535 function. Basically just dispatches to internally linked pads.
21539 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
21540 without using the atomic operations. Only one thread can possibly
21541 be accessing the data at this point. Changed so as to avoid
21542 gst_atomic operations.
21544 2005-05-06 Wim Taymans <wim@fluendo.com>
21546 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
21547 Also set caps if we use the fallback buffer alloc.
21549 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
21551 * docs/gst/Makefile.am:
21552 * docs/gst/gstreamer-docs.sgml:
21553 * docs/gst/gstreamer-sections.txt:
21554 * docs/gst/tmpl/gstatomic.sgml:
21555 * docs/gst/tmpl/gstmemchunk.sgml:
21556 * testsuite/elements/struct_i386.h:
21557 * win32/GStreamer.vcproj:
21559 Purge GstAtomic stuff from docs and win32 makefiles as well
21561 2005-05-06 Wim Taymans <wim@fluendo.com>
21563 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
21564 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
21565 * gst/gstpad.c: (gst_pad_peer_get_caps):
21566 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
21567 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
21568 (gst_queue_src_activate), (gst_queue_change_state):
21570 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21571 (intersect_caps_func):
21572 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
21573 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
21574 Some fixes for the peer_get_caps() change.
21576 2005-05-06 Wim Taymans <wim@fluendo.com>
21578 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21579 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
21580 (gst_basesink_activate):
21581 Actually do something with error codes returned from the push
21584 2005-05-06 Wim Taymans <wim@fluendo.com>
21586 * docs/design/part-element-sink.txt:
21587 * docs/design/part-element-source.txt:
21588 * gst/base/gstbasesink.c: (gst_basesink_class_init),
21589 (gst_basesink_event), (gst_basesink_activate):
21590 * gst/base/gstbasesink.h:
21591 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
21592 (gst_basesrc_activate):
21593 * gst/base/gstbasesrc.h:
21594 * gst/gstelement.c: (gst_element_pads_activate):
21595 Some more documentation.
21596 Fixed scheduling decision in _pads_activate().
21598 2005-05-05 Andy Wingo <wingo@pobox.com>
21600 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
21603 2005-05-05 Wim Taymans <wim@fluendo.com>
21605 * gst/base/Makefile.am:
21606 * gst/base/gstbasesink.h:
21607 * gst/base/gstbasesrc.c: (gst_basesrc_init),
21608 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
21609 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
21610 (gst_collectpads_class_init), (gst_collectpads_init),
21611 (gst_collectpads_finalize), (gst_collectpads_new),
21612 (gst_collectpads_set_function), (gst_collectpads_add_pad),
21613 (find_pad), (gst_collectpads_remove_pad),
21614 (gst_collectpads_is_active), (gst_collectpads_collect),
21615 (gst_collectpads_collect_range), (gst_collectpads_start),
21616 (gst_collectpads_stop), (gst_collectpads_peek),
21617 (gst_collectpads_pop), (gst_collectpads_available),
21618 (gst_collectpads_read), (gst_collectpads_flush),
21619 (gst_collectpads_chain):
21620 * gst/base/gstcollectpads.h:
21621 * gst/elements/Makefile.am:
21622 * gst/elements/gstelements.c:
21623 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
21624 (gst_fakesink_get_times), (gst_fakesink_event),
21625 (gst_fakesink_preroll), (gst_fakesink_render):
21626 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21627 (gst_filesink_init), (gst_filesink_set_location),
21628 (gst_filesink_open_file), (gst_filesink_close_file),
21629 (gst_filesink_pad_query), (gst_filesink_event),
21630 (gst_filesink_render), (gst_filesink_change_state):
21631 * gst/elements/gstfilesink.h:
21632 Added object to help in making collect pad based elements.
21634 Make event function in sink baseclass return gboolean.
21636 2005-05-05 Wim Taymans <wim@fluendo.com>
21638 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
21639 (gst_bin_get_by_name):
21641 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
21642 (gst_clock_finalize):
21643 * gst/gstdata.c: (gst_data_replace):
21645 * gst/gstelement.c: (gst_element_request_pad),
21646 (gst_element_pads_activate):
21647 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
21648 (gst_object_unref):
21649 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21650 (gst_pad_set_checkgetrange_function),
21651 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
21652 (gst_pad_check_pull_range), (gst_pad_pull_range),
21653 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21654 (gst_pad_pause_task), (gst_pad_stop_task):
21655 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
21656 (gst_element_request_pad), (gst_pad_proxy_getcaps):
21657 Fix name lookup in GstBin.
21658 Added _data_replace() function and _buffer_replace()
21659 Use finalize method to clean up clock.
21660 Fix refcounting on request pads.
21661 Fix pad schedule mode error.
21662 Some more object refcounting debug info,
21665 2005-05-04 Andy Wingo <wingo@pobox.com>
21667 * check/Makefile.am:
21668 * docs/gst/tmpl/gstatomic.sgml:
21669 * docs/gst/tmpl/gstplugin.sgml:
21670 * gst/base/gstbasesink.c: (gst_basesink_activate):
21671 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
21672 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
21673 (gst_basesrc_query), (gst_basesrc_set_property),
21674 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
21675 (gst_basesrc_activate):
21676 * gst/base/gstbasesrc.h:
21677 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
21678 (gst_base_transform_src_activate):
21679 * gst/elements/gstelements.c:
21680 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21681 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
21682 * gst/elements/gsttee.c: (gst_tee_sink_activate):
21683 * gst/elements/gsttypefindelement.c: (find_element_get_length),
21684 (gst_type_find_element_checkgetrange),
21685 (gst_type_find_element_activate):
21686 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
21687 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
21688 (gst_caps_load_thyself):
21689 * gst/gstelement.c: (gst_element_pads_activate),
21690 (gst_element_save_thyself), (gst_element_restore_thyself):
21691 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
21692 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
21694 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
21695 (gst_xml_parse_file), (gst_xml_parse_memory),
21696 (gst_xml_get_element), (gst_xml_make_element):
21697 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21698 (_file_index_id_save_xml), (gst_file_index_commit):
21699 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
21700 (read_enum), (load_pad_template), (load_feature), (load_plugin),
21702 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
21703 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
21704 * tools/gst-complete.c: (main):
21705 * tools/gst-compprep.c: (main):
21706 * tools/gst-inspect.c: (print_element_properties_info):
21707 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
21708 * tools/gst-xmlinspect.c: (print_element_properties):
21711 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
21713 * gst/gstplugin.c: (gst_plugin_check_module),
21714 (gst_plugin_check_file), (gst_plugin_load_file):
21715 apply patch from #172526 to make register work on MacOSX
21717 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21719 * docs/gst/tmpl/gstconfig.sgml:
21720 * gst/gstconfig.h.in:
21721 move documentation for some symbols. Add doc for GST_PTR_FORMAT
21722 * testsuite/debug/printf_extension.c: (main):
21723 Do not use GST_PTR_FORMAT on pointers to types with
21724 sizeof < sizeof(gpointer). Fixes test on 64-bit
21725 * testsuite/elements/property.h:
21726 use correct printf format
21728 2005-05-02 Wim Taymans <wim@fluendo.com>
21730 * docs/design/draft-push-pull.txt:
21731 * docs/design/draft-query.txt:
21732 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
21733 (gst_basesrc_start):
21734 Added draft for new query API.
21735 Added draft for better selecting scheduling methods.
21736 Make basesrc ignore length if the subclass does not support
21739 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21742 possible fixes for automake-1.5 - _LIBADD is reserved
21744 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
21746 * docs/faq/Makefile.am:
21747 * docs/manual/Makefile.am:
21748 * docs/manuals.mak:
21749 * docs/pwg/Makefile.am:
21751 possible fixes for automake-1.5
21753 2005-04-28 Wim Taymans <wim@fluendo.com>
21755 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21756 (gst_basesink_pad_getcaps), (gst_basesink_init),
21757 (gst_basesink_do_sync):
21758 * gst/gstclock.c: (gst_clock_entry_new):
21759 * gst/gstevent.c: (gst_event_discont_get_value):
21760 * gst/gstpipeline.c: (pipeline_bus_handler),
21761 (gst_pipeline_change_state):
21762 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
21763 Better debugging of clocking info.
21764 Allow NULL values when getting discont values.
21766 2005-04-27 Wim Taymans <wim@fluendo.com>
21768 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
21769 * check/gst/gstpad.c: (gst_pad_suite):
21770 Increase timeout for checks.
21772 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
21774 * check/Makefile.am:
21775 fix the broken rule for cleanup. Apparently this rule is
21776 only needed on FC2, so maybe this warrants further autotool
21779 2005-04-26 Wim Taymans <wim@fluendo.com>
21781 * gst/gsttrashstack.h:
21782 Ooohh. a nasty one! After having a failed pop() from the stack,
21783 it's possible that the stack is empty. In that case, don't
21784 follow the NULL pointer.
21786 2005-04-25 Wim Taymans <wim@fluendo.com>
21788 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21789 (gst_pad_set_checkgetrange_function),
21790 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
21791 (gst_pad_check_pull_range), (gst_pad_pull_range),
21792 (gst_static_pad_template_get_caps), (gst_pad_start_task),
21793 (gst_pad_pause_task), (gst_pad_stop_task):
21794 * gst/gstplugin.c: (gst_plugin_load):
21796 Remove gst_library_load as it does more harm than good with
21797 the new g_module flags.
21798 Revert bogus caps template check in pad linking, pad caps
21799 are important when linking not the template, which is more
21800 general than the current caps.
21802 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21804 * gst/autoplug/.cvsignore:
21805 * gst/autoplug/Makefile.am:
21806 * gst/autoplug/gstsearchfuncs.c:
21807 * gst/autoplug/gstsearchfuncs.h:
21808 * gst/autoplug/gstspider.c:
21809 * gst/autoplug/gstspider.h:
21810 * gst/autoplug/gstspideridentity.c:
21811 * gst/autoplug/gstspideridentity.h:
21812 * gst/autoplug/spidertest.c:
21815 2005-04-25 Wim Taymans <wim@fluendo.com>
21817 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21818 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
21819 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
21820 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
21822 Added stubs for unimplemented functions.
21824 2005-04-24 David Schleef <ds@schleef.org>
21826 * gst/gstpad.h: Disable some unimplemented functions. Wim,
21829 2005-04-24 David Schleef <ds@schleef.org>
21831 Convert everything from GstAtomicInt to g_atomic_int_*, and
21836 * gst/gstatomic_impl.h:
21844 * gst/gstdata_private.h:
21848 * gst/gstmessage.c:
21851 * gst/gststructure.c:
21852 * gst/gststructure.h:
21853 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
21856 2005-04-24 David Schleef <ds@schleef.org>
21858 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
21859 make the regressions tests work. Remove some code that is no
21861 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
21862 Disable warning for pads without templates.
21864 2005-04-24 David Schleef <ds@schleef.org>
21866 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
21867 functions that handle filtered links.
21868 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
21870 * gst/gstutils.c: Fix/remove utility functions that handle
21873 * gst/gstvalue.c: Add serialization/deserialization of caps
21874 * gst/parse/grammar.y: Ignore filtered caps when linking. This
21875 requires fixing so that the filter caps notation creates
21876 a capsfilter element and sets the filter_caps property. I
21877 think everyone probably wants to keep the shorthand notation.
21878 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
21879 * docs/gst/tmpl/gstpad.sgml:
21881 * gst/elements/gstelements.c: Register capsfilter element.
21882 * gst/Makefile.am: fix spacing
21883 * docs/random/ds/0.9-suggested-changes: random
21885 2005-04-23 David Schleef <ds@schleef.org>
21887 * gst/elements/Makefile.am:
21888 * gst/elements/gstcapsfilter.c: New element that acts like an
21889 identity, but filters caps. Will eventually replace filtered
21890 caps in pad linking.
21891 * gst/gstutils.c: (gst_element_create_all_pads): New function
21892 to create all the ALWAYS pads that are registered with an
21893 element class. This functionality should eventually be
21894 merged in with GstElement initialization.
21896 * testsuite/trigger/README: part of trigger test code that should
21897 have been checked in a long time ago.
21899 2005-04-23 David Schleef <ds@schleef.org>
21901 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
21902 needed with new versions of libtool (nobody will confirm this),
21903 and hard to carry around.
21904 * gst/autoplug/Makefile.am:
21905 * gst/base/Makefile.am:
21906 * gst/elements/Makefile.am:
21907 * gst/indexers/Makefile.am:
21908 * gst/schedulers/Makefile.am:
21909 * libs/gst/bytestream/Makefile.am:
21910 * libs/gst/control/Makefile.am:
21911 * libs/gst/dataprotocol/Makefile.am:
21912 * libs/gst/getbits/Makefile.am:
21914 2005-04-21 Wim Taymans <wim@fluendo.com>
21916 * docs/design/draft-push-pull.txt:
21917 * docs/design/part-MT-refcounting.txt:
21918 * docs/design/part-TODO.txt:
21919 * docs/design/part-caps.txt:
21920 * docs/design/part-events.txt:
21921 * docs/design/part-gstbus.txt:
21922 * docs/design/part-gstpipeline.txt:
21923 * docs/design/part-messages.txt:
21924 * docs/design/part-push-pull.txt:
21925 * docs/design/part-query.txt:
21928 2005-04-21 Wim Taymans <wim@fluendo.com>
21930 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
21931 (gst_message_new), (gst_message_new_error),
21932 (gst_message_new_warning), (gst_message_new_tag),
21933 (gst_message_new_state_changed), (gst_message_new_application),
21934 (gst_message_get_structure):
21935 * gst/gstmessage.h:
21936 * gst/gststructure.c: (gst_structure_set_parent_refcount),
21937 (gst_structure_copy_conditional):
21938 Use parent refcount in GstMessage to ensure GstStructure
21940 Cleaned up headers a bit.
21943 2005-04-20 Wim Taymans <wim@fluendo.com>
21945 * gst/base/gstbasesink.c: (gst_basesink_base_init),
21946 (gst_basesink_pad_getcaps), (gst_basesink_init),
21947 (gst_basesink_chain_unlocked):
21948 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
21949 (gst_type_find_helper):
21950 * gst/elements/gsttypefindelement.c:
21951 (gst_type_find_element_have_type), (gst_type_find_element_init),
21952 (stop_typefinding), (gst_type_find_element_handle_event),
21953 (find_suggest), (gst_type_find_element_chain),
21954 (gst_type_find_element_checkgetrange),
21955 (gst_type_find_element_getrange), (do_typefind),
21956 (gst_type_find_element_activate):
21957 * gst/gstbuffer.c: (_gst_buffer_sub_free),
21958 (gst_buffer_default_free), (gst_buffer_default_copy),
21959 (gst_buffer_set_caps):
21960 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
21961 (gst_caps_replace):
21962 * gst/gstmessage.c: (gst_message_new),
21963 (gst_message_new_state_changed):
21964 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
21965 (gst_pad_set_checkgetrange_function),
21966 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
21967 (gst_pad_set_caps), (gst_pad_check_pull_range),
21968 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
21970 * gst/gsttypefind.c: (gst_type_find_register):
21971 Make gst_caps_replace() work like other _replace() functions.
21972 Use _caps_replace() where possible.
21973 Make sure _message_new() initialises its field.
21974 Add gst_static_pad_template_get_caps()
21977 2005-04-18 Andy Wingo <wingo@pobox.com>
21979 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
21980 on the peer, not the pad. I think that was a typo. Pass an extra
21981 arg to see if random access is possible. Activate the pads as
21982 PULL_RANGE if possible.
21984 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
21986 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
21987 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
21990 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21992 * docs/faq/using.xml:
21993 Add note on gstreamer-properties (#154996).
21995 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21997 * docs/random/bbb/optional-properties:
21998 Some analysis on optional properties.
22000 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22002 * docs/gst/tmpl/gstelementfactory.sgml:
22003 * gst/gstelement.h:
22004 * gst/gstelementfactory.c: (gst_element_factory_init),
22005 (gst_element_factory_cleanup), (gst_element_register),
22006 (__gst_element_factory_add_static_pad_template),
22007 (gst_element_factory_get_static_pad_templates),
22008 (gst_element_factory_can_src_caps),
22009 (gst_element_factory_can_sink_caps):
22010 * gst/registries/Makefile.am:
22011 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
22012 (gst_xml_registry_class_init), (gst_xml_registry_init),
22013 (gst_xml_registry_new), (gst_xml_registry_set_property),
22014 (gst_xml_registry_get_property), (get_time), (make_dir),
22015 (gst_xml_registry_get_perms_func),
22016 (plugin_times_older_than_recurse), (plugin_times_older_than),
22017 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
22018 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
22019 (add_to_char_array), (read_string), (read_uint), (read_enum),
22020 (load_pad_template), (load_feature), (load_plugin), (load_paths),
22021 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
22022 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
22023 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
22024 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
22025 (gst_xml_registry_rebuild):
22026 * gst/registries/gstlibxmlregistry.h:
22027 * tools/gst-compprep.c: (main):
22028 * tools/gst-inspect.c: (print_pad_templates_info):
22029 * tools/gst-xmlinspect.c: (print_element_info):
22030 Use libxml2 for registry parsing, use staticpadtemplates in
22031 elementfactories. Makes gst_init() +/- 10x faster.
22033 2005-04-12 Wim Taymans <wim@fluendo.com>
22035 * gst/base/Makefile.am:
22036 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22037 (gst_basesink_pad_getcaps), (gst_basesink_init),
22038 (gst_basesink_event), (gst_basesink_change_state):
22039 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22040 (gst_basesrc_init), (gst_basesrc_query),
22041 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22042 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22043 (gst_basesrc_check_get_range), (gst_basesrc_loop),
22044 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22045 (gst_basesrc_stop), (gst_basesrc_activate),
22046 (gst_basesrc_change_state):
22047 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22048 (helper_find_suggest), (gst_type_find_helper):
22049 * gst/base/gsttypefindhelper.h:
22050 * gst/elements/Makefile.am:
22051 * gst/elements/gstelements.c:
22052 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22053 (gst_fakesink_get_times), (gst_fakesink_event),
22054 (gst_fakesink_preroll), (gst_fakesink_render):
22055 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22056 (gst_fakesrc_init), (gst_fakesrc_event_handler),
22057 (gst_fakesrc_get_property), (gst_fakesrc_create),
22058 (gst_fakesrc_start), (gst_fakesrc_stop):
22059 * gst/elements/gstfakesrc.h:
22060 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
22061 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22062 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22063 (gst_filesrc_create_read), (gst_filesrc_create),
22064 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
22065 (gst_filesrc_start):
22066 * gst/elements/gsttypefindelement.c:
22067 (gst_type_find_element_have_type), (gst_type_find_element_init),
22068 (start_typefinding), (stop_typefinding), (push_buffer_store),
22069 (gst_type_find_element_handle_event),
22070 (gst_type_find_element_chain),
22071 (gst_type_find_element_checkgetrange),
22072 (gst_type_find_element_getrange), (do_typefind),
22073 (gst_type_find_element_activate),
22074 (gst_type_find_element_change_state):
22075 * gst/elements/gsttypefindelement.h:
22076 * gst/gstpipeline.c: (pipeline_bus_handler):
22077 Added typefind helper.
22078 Small preroll fix in the base sink.
22079 Disable typefind code in basesrc.
22080 Crude port of typefindelement.
22084 2005-04-11 Wim Taymans <wim@fluendo.com>
22086 * check/gst/gstbus.c: (gstbus_suite):
22087 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
22088 * check/gstcheck.h:
22089 Fix up the timeout so that the test does not fail.
22091 2005-04-06 Wim Taymans <wim@fluendo.com>
22094 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22095 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
22096 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
22097 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
22098 (gst_basesrc_check_get_range), (gst_basesrc_loop),
22099 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
22100 (gst_basesrc_stop), (gst_basesrc_activate),
22101 (gst_basesrc_change_state), (basesrc_find_peek),
22102 (basesrc_find_suggest), (gst_basesrc_type_find):
22103 * gst/base/gstbasesrc.h:
22104 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
22105 (gst_filesrc_class_init), (gst_filesrc_init),
22106 (gst_filesrc_finalize), (gst_filesrc_set_location),
22107 (gst_filesrc_set_property), (gst_filesrc_get_property),
22108 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
22109 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
22110 (gst_filesrc_create_read), (gst_filesrc_create),
22111 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
22112 * gst/elements/gstfilesrc.h:
22113 * gst/gstelement.c: (gst_element_get_state_func),
22114 (gst_element_lost_state), (gst_element_pads_activate):
22115 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22116 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
22117 (gst_pad_pull_range):
22119 More work on the generic source base class, implement seeking,
22121 Make filesrc extend the base source class.
22122 Added gst_pad_set_checkgetrange_function to GstPad.
22124 2005-04-06 Andy Wingo <wingo@pobox.com>
22126 * pkgconfig/gstreamer-base.pc.in:
22127 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
22129 * pkgconfig/Makefile.am:
22130 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
22132 2005-04-04 Wim Taymans <wim@fluendo.com>
22134 * gst/base/Makefile.am:
22136 * gst/base/gstbasesink.c: (gst_basesink_base_init),
22137 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22138 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22139 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
22140 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
22141 (gst_basesrc_base_init), (gst_basesrc_class_init),
22142 (gst_basesrc_init), (gst_basesrc_get_formats),
22143 (gst_basesrc_get_query_types), (gst_basesrc_query),
22144 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
22145 (gst_basesrc_set_property), (gst_basesrc_get_property),
22146 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
22147 (gst_basesrc_loop), (gst_basesrc_activate),
22148 (gst_basesrc_change_state):
22149 * gst/base/gstbasesrc.h:
22150 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
22151 (gst_fakesrc_class_init), (gst_fakesrc_init),
22152 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
22153 (gst_fakesrc_get_property), (gst_fakesrc_create):
22154 * gst/elements/gstfakesrc.h:
22155 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
22156 (gst_filesrc_open_file), (gst_filesrc_loop),
22157 (gst_filesrc_activate), (filesrc_find_peek),
22158 (gst_filesrc_type_find):
22159 Made base source class, make fakesrc extend it.
22160 Add comments to basesink class.
22161 Some filesrc cleanup.
22163 2005-03-31 David Schleef <ds@schleef.org>
22165 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
22166 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
22167 expected to link against libgstreamer.
22168 * gst/base/Makefile.am: link against libgstreamer
22169 * gst/elements/Makefile.am: same
22171 2005-03-31 Andy Wingo <wingo@pobox.com>
22173 * tests/instantiate/Makefile.am:
22174 * tests/instantiate/caps.c: Add test to test speed of caps copy
22177 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
22178 GMemChunk to be fair.
22180 * gst/gsttrashstack.h: Remove warning about using the fallback
22181 trash stack implementation, it's still faster than malloc.
22183 2005-03-30 Andy Wingo <wingo@pobox.com>
22185 * tests/complexity.c: Add a copyright.
22187 2005-03-31 Wim Taymans <wim@fluendo.com>
22189 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
22190 (gst_base_transform_class_init), (gst_base_transform_init),
22191 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22192 (gst_base_transform_get_property),
22193 (gst_base_transform_sink_activate),
22194 (gst_base_transform_src_activate),
22195 (gst_base_transform_change_state):
22196 * gst/base/gstbasetransform.h:
22197 * gst/elements/gstidentity.c: (gst_identity_class_init),
22198 (gst_identity_event), (gst_identity_check_perfect),
22199 (gst_identity_transform), (gst_identity_start),
22200 (gst_identity_stop):
22201 Added start/stop methods to transform base class so subclasses
22202 don't need to deal with state changes even.
22204 2005-03-31 Wim Taymans <wim@fluendo.com>
22206 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
22207 (gst_event_new_discontinuous), (gst_event_discont_get_value):
22209 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22210 (gst_pad_pull_range):
22211 Added rate to the discont event to prepare for variable speed
22212 and reverse playback.
22214 2005-03-29 David Schleef <ds@schleef.org>
22217 * testsuite/trigger/Makefile.am:
22218 * testsuite/trigger/trigger.c: A little example program to show
22219 how trigger-based elements can work.
22221 2005-03-29 Wim Taymans <wim@fluendo.com>
22223 * gst/base/Makefile.am:
22225 * gst/base/gstbasesink.c: (gst_basesink_get_type),
22226 (gst_basesink_base_init), (gst_basesink_class_init),
22227 (gst_basesink_pad_getcaps), (gst_basesink_init),
22228 (gst_basesink_activate), (gst_basesink_change_state):
22229 * gst/base/gstbasesink.h:
22230 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
22231 (gst_base_transform_base_init), (gst_base_transform_finalize),
22232 (gst_base_transform_class_init), (gst_base_transform_init),
22233 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
22234 (gst_base_transform_event), (gst_base_transform_getrange),
22235 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
22236 (gst_base_transform_set_property),
22237 (gst_base_transform_get_property),
22238 (gst_base_transform_sink_activate),
22239 (gst_base_transform_src_activate),
22240 (gst_base_transform_change_state):
22241 * gst/base/gstbasetransform.h:
22242 * gst/elements/gstidentity.c: (gst_identity_finalize),
22243 (gst_identity_class_init), (gst_identity_init),
22244 (gst_identity_event), (gst_identity_check_perfect),
22245 (gst_identity_transform), (gst_identity_set_property),
22246 (gst_identity_get_property), (gst_identity_change_state):
22247 * gst/elements/gstidentity.h:
22248 * gst/gstelement.c: (gst_element_get_state_func),
22249 (gst_element_lost_state), (gst_element_pads_activate):
22250 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
22251 (gst_pad_check_pull_range), (gst_pad_pull_range):
22253 Simplify pad activation.
22254 Added function to check if pull_range can be performed.
22255 Error out when pulling inactive or flushing pads.
22256 Removed const from refcounted types as it does not make sense.
22257 Simplify pad templates in basesink
22258 Added base class for simple 1-to-1 transforms.
22259 Make identity subclass the base transform.
22261 2005-03-29 Andy Wingo <wingo@pobox.com>
22263 * docs/libs/gstreamer-libs-overrides.txt:
22264 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
22265 really don't understand what's going on, but like whatever. I want
22268 * docs/gst/Makefile.am:
22269 * docs/libs/Makefile.am: Dist the overrides files.
22271 * check/Makefile.am (clean-local): Remove .libs directories.
22273 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
22274 elements to EXTRA_DIST, so po/ files are happy.
22276 * po/POTFILES.in: Er, remove it here.
22278 * po/POTFILES: Remove gstspider.c.
22280 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
22282 * docs/libs/gstreamer-libs-docs.sgml:
22283 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
22286 * tests/complexity.c (main): Set the length of the preroll queue
22287 on the sinks to prevent a lockup.
22289 * libs/gst/dataprotocol/Makefile.am:
22290 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
22291 the same as the one in check/gst-libs/gdp.c.
22293 * po/, docs/gst/: Commit automatic changes to docs and po files.
22295 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
22296 the versioned libgstbase.
22298 * check/Makefile.am: Depend on an unversioned gst-register, seems
22299 to make autoconf happier.
22301 * gst/base/Makefile.am: Make libgstbase a versioned lib.
22303 2005-03-28 Wim Taymans <wim@fluendo.com>
22306 * docs/design/part-gstelement.txt:
22307 * docs/design/part-negotiation.txt:
22308 * docs/design/part-preroll.txt:
22309 * docs/design/part-scheduling.txt:
22310 * docs/design/part-states.txt:
22312 * gst/base/Makefile.am:
22314 * gst/base/gstbasesink.c: (gst_basesink_get_template),
22315 (gst_basesink_base_init), (gst_basesink_class_init),
22316 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
22317 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
22318 (gst_basesink_set_pad_functions),
22319 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
22320 (gst_basesink_set_property), (gst_basesink_get_property),
22321 (gst_base_sink_get_template), (gst_base_sink_get_caps),
22322 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
22323 (gst_basesink_preroll_queue_push),
22324 (gst_basesink_preroll_queue_empty),
22325 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
22326 (gst_basesink_event), (gst_basesink_get_times),
22327 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
22328 (gst_basesink_chain_unlocked), (gst_basesink_chain),
22329 (gst_basesink_loop), (gst_basesink_activate),
22330 (gst_basesink_change_state):
22331 * gst/base/gstbasesink.h:
22332 * gst/elements/Makefile.am:
22333 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
22334 (gst_fakesink_class_init), (gst_fakesink_init),
22335 (gst_fakesink_set_property), (gst_fakesink_get_property),
22336 (gst_fakesink_get_times), (gst_fakesink_event),
22337 (gst_fakesink_preroll), (gst_fakesink_render),
22338 (gst_fakesink_change_state):
22339 * gst/elements/gstfakesink.h:
22340 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22341 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
22342 * gst/gstelement.c: (gst_element_add_pad),
22343 (gst_element_get_state_func), (gst_element_abort_state),
22344 (gst_element_commit_state), (gst_element_lost_state),
22345 (gst_element_set_state), (gst_element_pads_activate):
22346 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
22347 * gst/gstpipeline.c: (gst_pipeline_send_event),
22348 (gst_pipeline_change_state):
22349 Added state change code.
22350 Added/updated docs.
22351 Added sink base class, make fakesink extend the base class.
22352 Small cleanups in GstPipeline.
22354 2005-03-26 David Schleef <ds@schleef.org>
22356 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
22357 is broken and should be implemented in a different library.
22358 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
22359 * gst/gst.h: remove gstcpu.h
22360 * gst/gstcpu.c: remove
22361 * gst/gstcpu.h: remove
22362 * gst/Makefile.am.future: Remove this file. It's ancient.
22364 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22366 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
22367 (gst_bin_send_event):
22368 Add default event/set_manager handlers. The set_manager handler
22369 takes care that the manager is distributed over kids that were
22370 already in the bin before the manager was set. The event handler
22371 is a utility virtual function that sends the event over all sinks,
22372 so that gst_element_send_event (bin, event); has the expected
22374 * gst/gstpad.c: (gst_pad_event_default):
22375 Re-install default event handling for discontinuities, so that
22376 seeking works without requiring hacks in applications or extra
22378 * gst/gstpipeline.c: (gst_pipeline_class_init),
22379 (gst_pipeline_send_event):
22380 Half hack, half utility: set a pipeline to PAUSED for seek events,
22381 since that is the only way we can guarantee a/v sync. Means that
22382 you can do gst_element_seek (pipeline, method, pos); on a pipeline
22383 and it "just works".
22385 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22387 * gst/gstpipeline.c: (gst_pipeline_use_clock):
22388 Lock/unlock mismatch.
22390 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
22392 * docs/faq/gst-uninstalled:
22393 add gst-plugins-base
22394 * docs/gst/Makefile.am:
22395 don't error out until docs are fixed
22396 * docs/gst/gstreamer.types:
22399 2005-03-22 Wim Taymans <wim@fluendo.com>
22401 * check/Makefile.am:
22402 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
22403 * gst/gststructure.c: (gst_structure_set_valist),
22404 (gst_structure_copy_conditional):
22405 Activated more tests.
22406 Added message test.
22407 Added G_TYPE_POINTER to GstStructure.
22410 2005-03-22 Wim Taymans <wim@fluendo.com>
22412 * docs/design/part-TODO.txt:
22413 * docs/design/part-events.txt:
22414 * docs/design/part-gstbin.txt:
22415 * docs/design/part-gstbus.txt:
22416 * docs/design/part-gstpipeline.txt:
22417 * docs/design/part-messages.txt:
22419 * gst/gstmessage.c:
22422 2005-03-21 Wim Taymans <wim@fluendo.com>
22424 * gst/gstbus.c: (gst_bus_post):
22425 Fix copy-and-paste error.
22427 2005-03-21 Wim Taymans <wim@fluendo.com>
22429 * check/Makefile.am:
22431 * gst/elements/Makefile.am:
22432 * gst/elements/gstelements.c:
22433 * gst/elements/gstfakesink.c: (gst_fakesink_init),
22434 (gst_fakesink_event), (gst_fakesink_chain):
22435 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22436 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
22437 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
22438 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
22439 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22440 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
22441 (gst_fakesrc_loop), (gst_fakesrc_activate),
22442 (gst_fakesrc_change_state):
22443 * gst/elements/gstfakesrc.h:
22444 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
22445 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
22446 (gst_filesrc_open_file), (gst_filesrc_loop),
22447 (gst_filesrc_activate), (gst_filesrc_change_state),
22448 (filesrc_find_peek), (filesrc_find_suggest),
22449 (gst_filesrc_type_find):
22450 * gst/elements/gstidentity.c: (gst_identity_finalize),
22451 (gst_identity_class_init), (gst_identity_init),
22452 (gst_identity_proxy_getcaps), (identity_queue_push),
22453 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
22454 (gst_identity_getrange), (gst_identity_chain),
22455 (gst_identity_sink_loop), (gst_identity_src_loop),
22456 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
22457 (gst_identity_set_property), (gst_identity_get_property),
22458 (gst_identity_change_state):
22459 * gst/elements/gstidentity.h:
22460 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
22461 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
22462 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
22463 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
22464 (gst_tee_sink_activate):
22465 * gst/elements/gsttee.h:
22466 * gst/gst.c: (gst_register_core_elements), (init_post):
22468 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
22469 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
22470 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
22471 (gst_bin_change_state):
22473 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
22474 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
22475 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
22476 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
22477 (gst_bus_set_sync_handler), (gst_bus_create_watch),
22478 (bus_watch_callback), (bus_watch_destroy),
22479 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
22480 (poll_timeout), (gst_bus_poll):
22484 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22485 (gst_element_post_message), (gst_element_message_full),
22486 (gst_element_get_state_func), (gst_element_get_state),
22487 (gst_element_abort_state), (gst_element_commit_state),
22488 (gst_element_lost_state), (gst_element_set_state),
22489 (gst_element_pads_activate), (gst_element_change_state),
22490 (gst_element_dispose), (gst_element_set_manager_func),
22491 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
22492 (gst_element_set_manager), (gst_element_get_manager),
22493 (gst_element_set_bus), (gst_element_get_bus),
22494 (gst_element_set_scheduler), (gst_element_get_scheduler):
22495 * gst/gstelement.h:
22496 * gst/gstevent.c: (gst_event_new_segment_seek),
22497 (gst_event_new_flush):
22499 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
22500 (_gst_message_free), (gst_message_get_type), (gst_message_new),
22501 (gst_message_new_eos), (gst_message_new_error),
22502 (gst_message_new_warning), (gst_message_new_tag),
22503 (gst_message_new_state_changed), (gst_message_new_application),
22504 (gst_message_get_structure), (gst_message_parse_tag),
22505 (gst_message_parse_state_changed), (gst_message_parse_error),
22506 (gst_message_parse_warning):
22507 * gst/gstmessage.h:
22508 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
22509 (gst_real_pad_set_property), (gst_pad_set_active),
22510 (gst_pad_is_active), (gst_pad_set_blocked_async),
22511 (gst_pad_set_blocked), (gst_pad_is_blocked),
22512 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
22513 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
22514 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
22515 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
22516 (gst_pad_link_filtered), (gst_pad_relink_filtered),
22517 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
22518 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
22519 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
22520 (gst_pad_set_caps), (gst_pad_configure_sink),
22521 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
22522 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
22523 (gst_real_pad_dispose), (gst_real_pad_finalize),
22524 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
22525 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22526 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
22528 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
22529 (pipeline_bus_handler), (gst_pipeline_change_state),
22530 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
22531 * gst/gstpipeline.h:
22533 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22534 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
22535 (gst_queue_link_src), (gst_queue_bufferalloc),
22536 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
22537 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
22538 (gst_queue_loop), (gst_queue_handle_src_event),
22539 (gst_queue_handle_src_query), (gst_queue_src_activate),
22540 (gst_queue_change_state):
22542 * gst/gstscheduler.c: (gst_scheduler_init),
22543 (gst_scheduler_dispose), (gst_scheduler_create_task),
22544 (gst_scheduler_factory_create):
22545 * gst/gstscheduler.h:
22546 * gst/gststructure.c: (gst_structure_get_type),
22547 (gst_structure_copy_conditional):
22548 * gst/gststructure.h:
22549 * gst/gsttaginterface.h:
22550 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22551 (gst_task_init), (gst_task_dispose), (gst_task_create),
22552 (gst_task_get_state), (gst_task_start), (gst_task_stop),
22558 * gst/schedulers/Makefile.am:
22559 * gst/schedulers/cothreads_compat.h:
22560 * gst/schedulers/entryscheduler.c:
22561 * gst/schedulers/faircothreads.c:
22562 * gst/schedulers/faircothreads.h:
22563 * gst/schedulers/fairscheduler.c:
22564 * gst/schedulers/gstbasicscheduler.c:
22565 * gst/schedulers/gstoptimalscheduler.c:
22566 * gst/schedulers/gthread-cothreads.h:
22567 * gst/schedulers/threadscheduler.c:
22568 (gst_thread_scheduler_task_get_type),
22569 (gst_thread_scheduler_task_class_init),
22570 (gst_thread_scheduler_task_init),
22571 (gst_thread_scheduler_task_start),
22572 (gst_thread_scheduler_task_stop),
22573 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
22574 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
22575 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
22576 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
22578 * libs/gst/Makefile.am:
22579 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
22580 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
22581 (gst_file_pad_parent_set):
22582 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22583 (gst_dp_event_from_packet):
22584 * tests/complexity.c: (main):
22585 * tests/mass_elements.c: (main):
22586 * testsuite/states/locked.c: (message_received), (main):
22587 * testsuite/states/parent.c: (main):
22588 * tools/gst-inspect.c: (print_element_flag_info),
22589 (print_implementation_info), (print_pad_info):
22590 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
22592 * tools/gst-md5sum.c: (event_loop), (main):
22593 * tools/gst-typefind.c: (main):
22594 * tools/gst-xmlinspect.c: (print_element_info):
22596 Added GstBus for mainloop integration.
22597 Added GstMessage for sending notifications on the bus.
22598 Added GstTask as an abstraction for pipeline entry points.
22600 Removed Schedulers.
22601 Simplified GstQueue for multithreaded core.
22602 Made _link threadsafe, removed old capsnego.
22603 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
22604 Added pad blocking functions.
22605 Reworked scheduling functions in GstPad to prepare for
22606 scheduling updates soon.
22607 Moved events out of data stream.
22608 Simplified GstEvent types.
22609 Added return values to push/pull.
22610 Removed clocking from GstElement.
22611 Added prototypes for state change function for next merge.
22612 Removed iterate from bins and state change management.
22613 Fixed some elements, disabled others for now.
22614 Fixed -inspect and -launch.
22615 Added check for GstBus.
22617 2005-03-10 Wim Taymans <wim@fluendo.com>
22619 * docs/design/part-MT-refcounting.txt:
22620 * docs/design/part-clocks.txt:
22621 * docs/design/part-gstelement.txt:
22622 * docs/design/part-gstobject.txt:
22623 * docs/design/part-standards.txt:
22624 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22625 (gst_bin_remove_func), (gst_bin_remove):
22629 * testsuite/clock/clock1.c: (main):
22630 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
22632 * testsuite/dlopen/loadgst.c: (do_test):
22633 * testsuite/refcounting/bin.c: (add_remove_test1),
22634 (add_remove_test2), (main):
22635 * testsuite/refcounting/element.c: (main):
22636 * testsuite/refcounting/element_pad.c: (main):
22637 * testsuite/refcounting/pad.c: (main):
22638 * tools/gst-launch.c: (sigint_handler_sighandler):
22639 * tools/gst-typefind.c: (main):
22641 Added doc about clock.
22642 removed gst_bin_iterate_recurse_up(), marked methods
22644 Fix more testsuites.
22646 2005-03-09 Wim Taymans <wim@fluendo.com>
22648 * gst/gstpad.c: (gst_pad_get_direction),
22649 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
22650 (gst_pad_collect_valist):
22651 * testsuite/bins/interface.c: (main):
22652 * testsuite/caps/audioscale.c: (test_caps):
22653 * testsuite/caps/caps.c: (test1), (test2), (test3):
22654 * testsuite/caps/deserialize.c: (main):
22655 * testsuite/caps/enumcaps.c: (main):
22656 * testsuite/caps/filtercaps.c: (main):
22657 * testsuite/caps/intersect2.c: (main):
22658 * testsuite/caps/random.c: (main):
22659 * testsuite/caps/renegotiate.c: (my_fixate), (main):
22660 * testsuite/caps/sets.c: (check_caps):
22661 * testsuite/caps/simplify.c: (check_caps), (main):
22662 * testsuite/caps/subtract.c: (check_caps):
22663 Fix _pad_get_direction wrt ghostpads.
22664 Fix caps testsuite.
22666 2005-03-09 Wim Taymans <wim@fluendo.com>
22668 * check/Makefile.am:
22669 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
22670 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
22671 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
22672 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
22673 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
22674 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
22675 (gst_bin_remove), (gst_bin_iterate_recurse_up),
22676 (bin_element_is_sink), (gst_bin_iterate_sinks),
22677 (gst_bin_iterate_all_by_interface):
22679 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
22680 (gst_element_change_state), (gst_element_dispose),
22681 (gst_element_finalize), (gst_element_set_loop_function):
22682 * gst/gstelement.h:
22683 * gst/gstiterator.c: (find_custom_fold_func):
22684 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22685 (gst_pad_collectv), (gst_pad_collect_valist),
22686 (gst_pad_template_new):
22687 * gst/gstpipeline.c: (gst_pipeline_class_init),
22688 (gst_pipeline_dispose), (gst_pipeline_set_property),
22689 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
22690 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
22691 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
22693 * gst/schedulers/entryscheduler.c:
22694 * gst/schedulers/gstbasicscheduler.c:
22695 (gst_basic_scheduler_cothreaded_chain),
22696 (gst_basic_scheduler_chain_add_element):
22697 * testsuite/bins/interface.c: (main):
22699 Added GstSystemClock test.
22700 Implemented clock distribution code in GstBin.
22701 Implemented iterate sinks method for future use.
22702 Rearranged gstelement.h
22703 Fix GstIterator comparison bug.
22704 Moved some code to GstPipeline, mostly clocking related.
22706 2005-03-09 Wim Taymans <wim@fluendo.com>
22709 * gst/gst_private.h:
22710 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22711 (gst_bin_remove_func), (gst_bin_remove),
22712 (gst_bin_get_by_name_recurse_up):
22713 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
22714 (gst_clock_id_compare_func), (gst_clock_id_wait),
22715 (gst_clock_id_wait_async), (gst_clock_init),
22716 (gst_clock_adjust_unlocked), (gst_clock_get_time):
22717 * gst/gstelement.h:
22718 * gst/gstinfo.c: (_gst_debug_init):
22720 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
22721 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
22723 Bump version number, we're now 0.9.0
22724 Add future debugging category.
22725 Fix NULL _unref() in _get_by_name_recurse_up
22726 Rearrange gstpad.h.
22729 2005-03-08 Wim Taymans <wim@fluendo.com>
22731 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
22732 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
22733 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22734 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
22735 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
22736 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
22737 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
22738 * gst/elements/gstidentity.c: (gst_identity_class_init):
22739 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
22740 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
22741 * gst/elements/gstshaper.c: (gst_shaper_class_init):
22742 * gst/elements/gststatistics.c: (gst_statistics_class_init):
22743 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
22745 * gst/gstelement.c: (gst_element_class_init),
22746 (gst_element_base_class_init), (gst_element_init),
22747 (gst_element_get_random_pad), (gst_element_wait_state_change),
22748 (gst_element_change_state), (gst_element_dispose),
22749 (gst_element_finalize), (gst_element_set_loop_function):
22750 * gst/gstelement.h:
22751 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
22752 * gst/gstthread.c: (gst_thread_class_init),
22753 (gst_thread_release_children_locks), (gst_thread_change_state):
22754 * gst/schedulers/gstbasicscheduler.c:
22755 (gst_basic_scheduler_loopfunc_wrapper),
22756 (gst_basic_scheduler_chain_wrapper),
22757 (gst_basic_scheduler_src_wrapper),
22758 (gst_basic_scheduler_remove_element):
22759 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
22760 Remove threadsafe properties. Fix elements because GObject
22761 complains when installing a property before declaring a
22762 set/get_property handler.
22763 Rearrange gstelement.h file, use STATE macros for state locks.
22764 Free mutexes in the finalize method instead of dispose.
22766 2005-03-08 Wim Taymans <wim@fluendo.com>
22768 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
22769 * gst/gstthread.c: (gst_thread_release_children_locks):
22770 Added parentage check.
22771 Fix build og GstThread again.
22773 2005-03-08 Wim Taymans <wim@fluendo.com>
22775 * docs/design/part-MT-refcounting.txt:
22776 * docs/design/part-conventions.txt:
22777 * docs/design/part-gstobject.txt:
22778 * docs/design/part-relations.txt:
22779 * docs/design/part-standards.txt:
22780 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
22781 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
22782 (gst_bin_get_by_name), (gst_bin_get_by_interface),
22783 (gst_bin_iterate_all_by_interface):
22786 * gst/gstelement.c: (gst_element_class_init),
22787 (gst_element_change_state), (gst_element_set_loop_function):
22788 * gst/gstelement.h:
22789 * gst/gstiterator.c:
22790 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
22791 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
22792 (gst_object_dispatch_properties_changed), (gst_object_set_name),
22793 (gst_object_set_parent), (gst_object_unparent),
22794 (gst_object_check_uniqueness):
22796 Docs updates, clean up some headers.
22798 2005-03-07 Wim Taymans <wim@fluendo.com>
22800 * check/.cvsignore:
22801 * check/Makefile.am:
22802 * check/gst-libs/.cvsignore:
22803 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
22804 * check/gst/.cvsignore:
22805 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
22806 (START_TEST), (gstbus_suite), (main):
22807 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
22808 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
22809 (gst_data_suite), (main):
22810 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
22811 (add_fold_func), (gstiterator_suite), (main):
22812 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
22813 (thread_name_object), (thread_name_object_default),
22814 (gst_object_name_compare), (gst_object_suite), (main):
22815 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
22816 (gst_pad_suite), (main):
22817 * check/gstcheck.c: (gst_check_log_message_func),
22818 (gst_check_log_critical_func), (gst_check_init):
22819 * check/gstcheck.h:
22820 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
22821 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
22824 2005-03-07 Wim Taymans <wim@fluendo.com>
22826 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22827 (gst_list_iterator_next), (gst_list_iterator_resync),
22828 (gst_list_iterator_free), (gst_iterator_new_list),
22829 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
22830 (gst_iterator_free), (gst_iterator_push), (filter_next),
22831 (filter_resync), (filter_uninit), (filter_free),
22832 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
22833 (gst_iterator_foreach), (find_custom_fold_func),
22834 (gst_iterator_find_custom):
22835 * gst/gstiterator.h:
22836 Added missing files.
22838 2005-03-07 Wim Taymans <wim@fluendo.com>
22842 * docs/design/part-MT-refcounting.txt:
22843 * docs/design/part-conventions.txt:
22844 * docs/design/part-gstobject.txt:
22845 * docs/design/part-relations.txt:
22846 * examples/mixer/mixer.c: (main):
22847 * examples/thread/thread.c: (eos), (main):
22849 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
22850 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
22851 (gst_spider_plug_from_srcpad):
22852 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
22853 (gst_spider_identity_change_state),
22854 (gst_spider_identity_sink_loop_type_finding):
22855 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
22856 * gst/elements/gstidentity.c: (gst_identity_init):
22857 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
22858 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
22859 * gst/elements/gsttypefindelement.c: (free_entry):
22862 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
22863 (gst_bin_set_clock_func), (gst_bin_auto_clock),
22864 (gst_bin_set_index), (gst_bin_set_element_sched),
22865 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
22866 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
22867 (gst_bin_iterate_elements), (iterate_child_recurse),
22868 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
22869 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
22870 (compare_interface), (gst_bin_get_by_interface),
22871 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
22873 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
22874 (gst_buffer_default_free), (gst_buffer_default_copy),
22875 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
22876 (gst_buffer_create_sub):
22878 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
22879 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
22880 (gst_caps_unref), (gst_static_caps_get),
22881 (gst_caps_remove_and_get_structure), (gst_caps_append),
22882 (gst_caps_append_structure), (gst_caps_remove_structure),
22883 (gst_caps_copy_nth), (gst_caps_set_simple),
22884 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
22885 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
22886 (gst_caps_structure_intersect_field), (gst_caps_intersect),
22887 (gst_caps_structure_subtract_field), (gst_caps_subtract),
22888 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
22889 (gst_caps_structure_figure_out_union),
22890 (gst_caps_switch_structures), (gst_caps_do_simplify),
22891 (gst_caps_replace), (gst_caps_from_string),
22892 (gst_caps_copy_conditional):
22894 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
22895 (_gst_clock_id_free), (gst_clock_id_unref),
22896 (gst_clock_id_compare_func), (gst_clock_id_wait),
22897 (gst_clock_id_wait_async), (gst_clock_class_init),
22898 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
22899 (gst_clock_get_time), (gst_clock_set_time_adjust),
22900 (gst_clock_set_property), (gst_clock_get_property):
22903 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
22904 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
22906 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
22907 (gst_element_requires_clock), (gst_element_provides_clock),
22908 (gst_element_set_clock), (gst_element_clock_wait),
22909 (gst_element_wait), (gst_element_set_time_delay),
22910 (gst_element_is_indexable), (gst_element_add_pad),
22911 (gst_element_add_ghost_pad), (gst_element_remove_pad),
22912 (pad_compare_name), (gst_element_get_static_pad),
22913 (gst_element_request_pad), (gst_element_get_request_pad),
22914 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
22915 (gst_element_class_get_pad_template_list),
22916 (gst_element_class_get_pad_template), (gst_element_error_func),
22917 (gst_element_get_random_pad), (gst_element_get_event_masks),
22918 (gst_element_send_event), (gst_element_seek),
22919 (gst_element_get_query_types), (gst_element_query),
22920 (gst_element_get_formats), (gst_element_convert),
22921 (gst_element_is_locked_state), (gst_element_set_locked_state),
22922 (gst_element_sync_state_with_parent), (gst_element_change_state),
22923 (gst_element_finalize), (gst_element_yield),
22924 (gst_element_interrupt), (gst_element_set_scheduler),
22925 (gst_element_get_scheduler), (gst_element_set_loop_function):
22926 * gst/gstelement.h:
22928 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
22929 (gst_format_get_by_nick), (gst_format_get_details),
22930 (gst_format_iterate_definitions):
22932 * gst/gstindex.c: (gst_index_gtype_resolver):
22935 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
22936 (gst_mem_chunk_free):
22937 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
22938 (gst_object_ref), (gst_object_unref), (gst_object_sink),
22939 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
22940 (gst_object_dispatch_properties_changed),
22941 (gst_object_set_name_default), (gst_object_set_name),
22942 (gst_object_get_name), (gst_object_set_name_prefix),
22943 (gst_object_get_name_prefix), (gst_object_set_parent),
22944 (gst_object_get_parent), (gst_object_unparent),
22945 (gst_object_check_uniqueness), (gst_object_save_thyself),
22946 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
22947 (gst_object_set_property), (gst_object_get_property),
22948 (gst_object_get_path_string):
22950 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22951 (gst_real_pad_init), (gst_real_pad_get_property),
22952 (gst_pad_custom_new), (gst_pad_get_direction),
22953 (gst_pad_set_active), (gst_pad_is_active),
22954 (gst_pad_set_event_function), (gst_pad_is_linked),
22955 (gst_pad_link_free), (gst_pad_link_intersect),
22956 (gst_pad_link_fixate), (gst_pad_set_caps),
22957 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
22958 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
22959 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
22960 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
22961 (gst_pad_get_caps), (gst_pad_peer_get_caps),
22962 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
22963 (gst_pad_realize), (gst_pad_get_allowed_caps),
22964 (gst_real_pad_dispose), (gst_real_pad_finalize),
22965 (gst_pad_collectv), (gst_pad_collect_valist),
22966 (gst_pad_template_dispose), (gst_pad_template_new),
22967 (gst_pad_get_internal_links):
22969 * gst/gstpipeline.c: (gst_pipeline_dispose),
22970 (gst_pipeline_change_state):
22971 * gst/gstpipeline.h:
22973 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
22974 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
22975 * gst/gstpluginfeature.h:
22976 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
22977 * gst/gstquery.c: (_gst_query_type_initialize),
22978 (gst_query_type_register), (gst_query_type_get_by_nick),
22979 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
22981 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
22982 * gst/gstscheduler.c: (gst_scheduler_add_element),
22983 (gst_scheduler_factory_create):
22984 * gst/gststructure.c: (gst_structure_set_parent_refcount),
22985 (gst_structure_free), (gst_structure_set_name),
22986 (gst_structure_id_set_value), (gst_structure_set_value),
22987 (gst_structure_set_valist), (gst_structure_remove_field),
22988 (gst_structure_remove_fields),
22989 (gst_structure_remove_fields_valist),
22990 (gst_structure_remove_all_fields), (gst_structure_foreach),
22991 (gst_structure_map_in_place),
22992 (gst_caps_structure_fixate_field_nearest_int),
22993 (gst_caps_structure_fixate_field_nearest_double):
22994 * gst/gststructure.h:
22995 * gst/gstsystemclock.c: (gst_system_clock_class_init),
22996 (gst_system_clock_init), (gst_system_clock_dispose),
22997 (gst_system_clock_async_thread),
22998 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
22999 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
23000 * gst/gstsystemclock.h:
23001 * gst/gsttag.c: (gst_tag_list_add_value_internal),
23002 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
23003 * gst/gsttaginterface.c:
23004 * gst/gstthread.c: (gst_thread_dispose),
23005 (gst_thread_release_children_locks), (gst_thread_change_state),
23006 (gst_thread_main_loop):
23007 * gst/gsttrashstack.h:
23008 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
23010 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23011 (gst_element_request_pad), (gst_element_get_pad_from_template),
23012 (gst_element_request_compatible_pad),
23013 (gst_element_get_compatible_pad_filtered),
23014 (gst_element_get_compatible_pad), (gst_element_state_get_name),
23015 (gst_element_link_pads_filtered), (gst_element_link_filtered),
23016 (gst_element_link_many), (gst_element_link),
23017 (gst_element_link_pads), (gst_element_unlink_pads),
23018 (gst_element_unlink_many), (gst_element_unlink),
23019 (gst_pad_can_link_filtered), (gst_pad_can_link),
23020 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
23021 (gst_object_default_error), (gst_bin_add_many),
23022 (gst_bin_remove_many), (gst_element_populate_std_props),
23023 (gst_element_class_install_std_props), (gst_buffer_merge),
23024 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
23025 (link_fold_func), (gst_pad_proxy_setcaps):
23027 * gst/gstvalue.c: (gst_value_deserialize_string):
23028 * gst/parse/grammar.y:
23029 * gst/schedulers/gstbasicscheduler.c:
23030 (gst_basic_scheduler_cothreaded_chain),
23031 (gst_basic_scheduler_chain_recursive_add),
23032 (gst_basic_scheduler_pad_link):
23033 * gst/schedulers/gstoptimalscheduler.c:
23034 (get_group_schedule_function),
23035 (gst_opt_scheduler_state_transition),
23036 (gst_opt_scheduler_add_element), (element_get_reachables_func):
23037 * libs/gst/bytestream/bytestream.c:
23038 * libs/gst/dataprotocol/dataprotocol.c:
23039 (gst_dp_header_from_buffer):
23042 * tests/threadstate/threadstate2.c: (eos):
23043 * tools/gst-compprep.c: (main):
23044 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
23045 (print_pad_info), (print_children_info):
23046 * tools/gst-launch.c: (idle_func), (main):
23047 * tools/gst-md5sum.c: (idle_func), (main):
23048 * tools/gst-xmlinspect.c: (print_element_info):
23049 First THREADED backport attempt, focusing on adding locks and
23050 making sure the API is threadsafe. Needs more work. More docs
23053 2005-02-24 Andy Wingo <wingo@pobox.com>
23055 * tests/bench-complexity.scm:
23056 * tests/complexity.gnuplot: New files, good for running complexity
23059 * tests/Makefile.am:
23060 * tests/complexity.c: New test, sets up N elements, at each level
23061 teeing into M streams per element. Eeeenteresting.
23063 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
23064 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
23065 running bench-mass_elements.scm.
23067 * tests/bench-mass_elements.scm: New script, runs mass_elements
23068 for various numbers of identities, outputting the results to a
23069 file. Requires guile 1.6. Just for testing.
23071 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
23073 * gst/schedulers/fairscheduler.c:
23074 compile with debug disabled
23076 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
23079 hunting season on 0.9 is now OPEN